feat(SW-1988): Replaced current bed component with new design

Approved-by: Chuma Mcphoy (We Ahead)
This commit is contained in:
Erik Tiekstra
2025-03-27 14:47:50 +00:00
parent a28fa67195
commit a6cd7e6111
36 changed files with 687 additions and 329 deletions

View File

@@ -1,9 +1,14 @@
import {
BedBunkExtraIcon,
BedGenericIcon,
BedKingIcon,
BedPullOutExtraIcon,
BedQueenIcon,
BedSingleIcon,
BedSofaExtraIcon,
BedTwinIcon,
BedWallExtraIcon,
type IconProps,
MaterialIcon,
MdiBunkBedIcon,
MovingBedsIcon,
WardIcon,
} from "@scandic-hotels/design-system/Icons"
export enum BookingStatusEnum {
@@ -142,15 +147,16 @@ export const BED_TYPE_ICONS: Record<
BedTypes,
(props: IconProps) => JSX.Element
> = {
King: () => <MaterialIcon icon="king_bed" />,
Queen: () => <MaterialIcon icon="bed" />,
Single: () => <MaterialIcon icon="single_bed" />,
Twin: () => <MaterialIcon icon="bed" />,
SofaBed: () => <MaterialIcon icon="chair" />,
WallBed: WardIcon,
BunkBed: MdiBunkBedIcon,
PullOutBed: MovingBedsIcon,
Other: () => <MaterialIcon icon="single_bed" />,
King: BedKingIcon,
Queen: BedQueenIcon,
Single: BedSingleIcon,
Twin: BedTwinIcon,
SofaBed: BedSofaExtraIcon,
WallBed: BedWallExtraIcon,
BunkBed: BedBunkExtraIcon,
PullOutBed: BedPullOutExtraIcon,
Other: BedGenericIcon,
}
export enum CancellationRuleEnum {