Merged in fix/BOOK-293-button-variants (pull request #3371)
fix(BOOK-293): changed variants and props on IconButton component * fix(BOOK-293): changed variants and props on IconButton component * fix(BOOK-293): inherit color for icon Approved-by: Bianca Widstam Approved-by: Christel Westerberg
This commit is contained in:
committed by
Bianca Widstam
parent
2197ab2137
commit
3f632e6031
@@ -11,11 +11,7 @@ export default function CustomerSupport() {
|
||||
|
||||
return (
|
||||
<DialogTrigger>
|
||||
<Button
|
||||
variant="Secondary"
|
||||
size="Small"
|
||||
typography="Body/Supporting text (caption)/smBold"
|
||||
>
|
||||
<Button variant="Secondary" size="sm">
|
||||
{intl.formatMessage({
|
||||
id: "common.customerSupport",
|
||||
defaultMessage: "Customer support",
|
||||
|
||||
@@ -46,12 +46,7 @@ export default function NotUpcoming() {
|
||||
return (
|
||||
<>
|
||||
{!isWebview(pathname) && (
|
||||
<ButtonLink
|
||||
variant="Tertiary"
|
||||
size="Medium"
|
||||
href={url}
|
||||
typography="Body/Supporting text (caption)/smBold"
|
||||
>
|
||||
<ButtonLink variant="Tertiary" size="md" href={url}>
|
||||
{intl.formatMessage({
|
||||
defaultMessage: "Rebook",
|
||||
id: "myStay.referenceCard.actions.rebook",
|
||||
|
||||
@@ -24,7 +24,6 @@ export default function ActionsButton({
|
||||
wrapping={false}
|
||||
onPress={onPress}
|
||||
isDisabled={isDisabled}
|
||||
typography="Body/Paragraph/mdBold"
|
||||
>
|
||||
<MaterialIcon color="CurrentColor" icon={icon} className={styles.icon} />
|
||||
<span>{text}</span>
|
||||
|
||||
@@ -25,12 +25,7 @@ export default function ManageStay() {
|
||||
}
|
||||
return (
|
||||
<>
|
||||
<Button
|
||||
size="Medium"
|
||||
variant="Tertiary"
|
||||
typography="Body/Supporting text (caption)/smBold"
|
||||
onPress={() => setIsOpen(true)}
|
||||
>
|
||||
<Button size="md" variant="Tertiary" onPress={() => setIsOpen(true)}>
|
||||
<span>{manageStay}</span>
|
||||
<MaterialIcon color="CurrentColor" icon="keyboard_arrow_down" />
|
||||
</Button>
|
||||
|
||||
@@ -20,10 +20,9 @@ export default function Upcoming() {
|
||||
<ManageStay />
|
||||
<ButtonLink
|
||||
variant="Secondary"
|
||||
size="Medium"
|
||||
size="md"
|
||||
target="_blank"
|
||||
href={directionsUrl}
|
||||
typography="Body/Supporting text (caption)/smBold"
|
||||
>
|
||||
<span>
|
||||
{intl.formatMessage({
|
||||
|
||||
Reference in New Issue
Block a user