feat(SW-2042): Synced sidebar ui with design

Approved-by: Christian Andolf
Approved-by: Matilda Landström
This commit is contained in:
Erik Tiekstra
2025-06-02 09:37:39 +00:00
parent 09879d2f4a
commit 5d6776c383
8 changed files with 81 additions and 70 deletions

View File

@@ -1,7 +1,7 @@
"use client"
import { memo, useState } from "react"
import { Button } from "react-aria-components"
import { Button as ButtonRAC } from "react-aria-components"
import { useIntl } from "react-intl"
import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon"
@@ -45,11 +45,11 @@ function ImageGallery({
/>
<Typography variant={"Body/Supporting text (caption)/smRegular"}>
<span className={styles.imageCount}>
<MaterialIcon icon="filter" color="Icon/Inverted" />
<MaterialIcon icon="filter" color="Icon/Inverted" size={16} />
<span>{images.length}</span>
</span>
</Typography>
<Button
<ButtonRAC
className={styles.triggerArea}
onPress={() => setIsOpen(true)}
aria-label={intl.formatMessage({