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:
Erik Tiekstra
2025-12-19 12:32:52 +00:00
committed by Bianca Widstam
parent 2197ab2137
commit 3f632e6031
169 changed files with 665 additions and 944 deletions

View File

@@ -107,7 +107,7 @@ export default function CarouselCard({ stay }: CarouselCardProps) {
<ButtonLink
variant="Text"
color="Primary"
size="Small"
size="sm"
href={bookingUrl}
>
{intl.formatMessage({

View File

@@ -16,12 +16,7 @@ export function SeeAllCard({ onPress }: SeeAllCardProps) {
return (
<div className={styles.card}>
<Button
variant="Secondary"
size="Medium"
typography="Body/Paragraph/mdBold"
onPress={onPress}
>
<Button variant="Secondary" size="md" onPress={onPress}>
{intl.formatMessage({ id: "common.seeAll", defaultMessage: "See all" })}
<MaterialIcon icon="chevron_right" color="CurrentColor" />
</Button>

View File

@@ -65,7 +65,7 @@ export default async function EmptyUpcomingStays() {
})}
</p>
</Typography>
<ButtonLink href={href} variant="Tertiary" color="Primary" size="Small">
<ButtonLink href={href} variant="Tertiary" color="Primary" size="sm">
{intl.formatMessage({
id: "stays.findDestinationOrHotel",
defaultMessage: "Find hotel or destination",