Merged in feat/sw-3241-move-readme-to-booking-flow (pull request #2660)

feat(SW-3241): Move ReadMe to booking-flow and rename to OpenSidePeekButton

* Move ReadMe to booking-flow

* Rename ReadMore to OpenSidePeekButton

* Fix self-referencing import


Approved-by: Joakim Jäderberg
This commit is contained in:
Anton Gunnarsson
2025-08-19 07:20:44 +00:00
committed by Joakim Jäderberg
parent 67a7a0d571
commit deaba8b5c4
10 changed files with 38 additions and 21 deletions

View File

@@ -4,11 +4,11 @@ import { useState } from "react"
import { Button as ButtonRAC } from "react-aria-components"
import { useIntl } from "react-intl"
import OpenSidePeekButton from "@scandic-hotels/booking-flow/components/OpenSidePeekButton"
import { SidePeekEnum } from "@scandic-hotels/booking-flow/stores/sidepeek"
import { Typography } from "@scandic-hotels/design-system/Typography"
import { FacilityToIcon } from "@/components/ContentType/HotelPage/data"
import ReadMore from "@/components/HotelReservation/ReadMore"
import Alert from "@/components/TempDesignSystem/Alert"
import styles from "./hotelDescription.module.css"
@@ -69,7 +69,7 @@ export default function HotelDescription({
{expanded && (
<div className={styles.expandedContent}>
<ReadMore
<OpenSidePeekButton
label={intl.formatMessage({
defaultMessage: "See all amenities",
})}