From 1239f0c662bc85b72e1e3694711f03e457a46e0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matilda=20Landstr=C3=B6m?= Date: Mon, 7 Apr 2025 07:25:25 +0000 Subject: [PATCH] Merged in feat/SW-1711-SW-2077-icons (pull request #1709) Fix(SW-1711)/(SW-2077): Export icons individually * fix(SW-1711): export icons individually Approved-by: Michael Zetterberg Approved-by: Erik Tiekstra --- .../components/AlreadyLinkedError.tsx | 2 +- .../components/DateOfBirthError.tsx | 2 +- .../sas-x-scandic/components/GenericError.tsx | 2 +- .../sas-x-scandic/link/LinkAccountForm.tsx | 2 +- .../sas-x-scandic/link/success/page.tsx | 2 +- .../sas-x-scandic/otp/OneTimePasswordForm.tsx | 2 +- .../sas-x-scandic/transfer/success/page.tsx | 2 +- .../sas-x-scandic/unlink/success/page.tsx | 2 +- .../JobylonFeed/JobylonCard/index.tsx | 2 +- .../DynamicContent/LoyaltyLevels/index.tsx | 2 +- .../Overview/Buttons/CopyButton.tsx | 2 +- .../OverviewTable/RewardValue/index.tsx | 2 +- .../Rewards/Redeem/ActiveRedeemedBadge.tsx | 2 +- .../Rewards/Redeem/Flows/Campaign.tsx | 2 +- .../Rewards/Redeem/TimedRedeemedBadge.tsx | 2 +- .../DynamicContent/Rewards/Redeem/index.tsx | 2 +- .../DynamicContent/Rewards/RewardIcon/data.ts | 3 +- .../SAS/LinkedAccounts/UnlinkSAS.tsx | 2 +- .../SAS/LinkedAccounts/index.tsx | 6 +- .../SAS/TransferPoints/TransferPointsForm.tsx | 2 +- .../TransferPointsFormClient.tsx | 2 +- .../Stays/ShowMoreButton/index.tsx | 2 +- .../Soonest/EmptyUpcomingStays/index.tsx | 2 +- .../DynamicContent/Stays/StayCard/index.tsx | 2 +- .../Upcoming/EmptyUpcomingStays/index.tsx | 2 +- .../HotelListing/HotelListingItem/index.tsx | 4 +- .../Blocks/JoinScandicFriends/index.tsx | 2 +- .../ShortcutsListItems/index.tsx | 2 +- .../components/BookingWidget/Client.tsx | 2 +- .../MobileToggleButton/index.tsx | 2 +- .../Carousel/CarouselNavigation.tsx | 2 +- .../CityMap/HotelListItem/index.tsx | 5 +- .../DestinationsList/Destination/index.tsx | 2 +- .../DestinationPage/ExperienceList/utils.tsx | 2 +- .../HotelListing/HotelListingItem/index.tsx | 10 +-- .../DestinationPage/HotelListing/index.tsx | 2 +- .../HotelMapCard/DialogImage/index.tsx | 2 +- .../DestinationPage/HotelMapCard/index.tsx | 2 +- .../DestinationPage/Map/DynamicMap/index.tsx | 2 +- .../ContentType/DestinationPage/Map/index.tsx | 2 +- .../DestinationPage/Sidepeek/index.tsx | 2 +- .../StaticMap/MapButton/index.tsx | 2 +- .../HotelPage/AmenitiesList/index.tsx | 2 +- .../HotelPage/IntroSection/index.tsx | 6 +- .../HotelPage/Map/DynamicMap/index.tsx | 2 +- .../HotelPage/Map/MobileMapToggle/index.tsx | 2 +- .../HotelPage/Rooms/RoomCard/index.tsx | 2 +- .../ContactInformation/index.tsx | 6 +- .../Accessibility/index.tsx | 2 +- .../Amenities/FilteredAmenities/index.tsx | 2 +- .../RestaurantBar/RestaurantBarItem/index.tsx | 2 +- .../HotelPage/SidePeeks/Room/index.tsx | 2 +- .../components/ContentType/HotelPage/data.tsx | 2 +- .../Sidebar/RestaurantSidebar.tsx | 2 +- .../components/DatePicker/Range/Desktop.tsx | 2 +- .../components/DatePicker/Range/Mobile.tsx | 2 +- .../components/DatePicker/Single/Desktop.tsx | 2 +- .../Filter/Checkbox/index.tsx | 2 +- .../DestinationFilterAndSort/index.tsx | 2 +- .../Footer/Navigation/MainNav/index.tsx | 2 +- .../FormContent/BookingCode/index.tsx | 2 +- .../FormContent/RewardNight/index.tsx | 2 +- .../SearchList/ClearSearchButton/index.tsx | 2 +- .../FormContent/Search/SearchList/index.tsx | 2 +- .../Forms/BookingWidget/FormContent/index.tsx | 2 +- .../ChildSelector/ChildInfoSelector.tsx | 2 +- .../GuestsRoomsPicker/Counter/index.tsx | 2 +- .../components/GuestsRoomsPicker/Form.tsx | 2 +- .../GuestsRoomsPicker/GuestsRoom/index.tsx | 2 +- .../Header/MainMenu/Avatar/index.tsx | 2 +- .../Header/MainMenu/LogoLink/index.tsx | 2 +- .../Header/MainMenu/MyPagesMenu/index.tsx | 2 +- .../MainMenu/MyPagesMenuContent/index.tsx | 2 +- .../NavigationMenu/MegaMenu/index.tsx | 2 +- .../NavigationMenuItem/index.tsx | 2 +- .../Header/Actions/AddToCalendarButton.tsx | 2 +- .../Header/Actions/DownloadInvoice.tsx | 2 +- .../Header/Actions/ManageBooking.tsx | 2 +- .../PriceDetailsModal/index.tsx | 2 +- .../Receipt/Room/index.tsx | 2 +- .../BookingConfirmation/Rooms/Room/index.tsx | 2 +- .../HotelReservation/Contact/index.tsx | 6 +- .../EnterDetails/Breakfast/index.tsx | 6 +- .../EnterDetails/Confirm/index.tsx | 2 +- .../JoinScandicFriendsCard/index.tsx | 2 +- .../RoomOne/JoinScandicFriendsCard/index.tsx | 2 +- .../RoomOne/MemberPriceModal/index.tsx | 2 +- .../Details/SpecialRequests/index.tsx | 2 +- .../EnterDetails/Header/ToggleSidePeek.tsx | 2 +- .../Payment/GuaranteeDetails/index.tsx | 2 +- .../PriceChangeSummary/index.tsx | 2 +- .../EnterDetails/PriceChangeDialog/index.tsx | 2 +- .../SelectedRoom/ToggleSidePeek.tsx | 2 +- .../EnterDetails/SelectedRoom/index.tsx | 2 +- .../Summary/UI/PriceDetailsTable/index.tsx | 2 +- .../EnterDetails/Summary/UI/index.tsx | 2 +- .../HotelCard/NoPriceAvailableCard/index.tsx | 2 +- .../HotelReservation/HotelCard/index.tsx | 8 +- .../HotelCardDialogImage/index.tsx | 2 +- .../HotelCardDialog/index.tsx | 2 +- .../ActionButtons/index.tsx | 2 +- .../Steps/SelectQuantityStep/index.tsx | 2 +- .../AddedAncillaries/RemoveButton.tsx | 2 +- .../Ancillaries/AddedAncillaries/index.tsx | 2 +- .../Ancillaries/ViewAllAncillaries/index.tsx | 2 +- .../MyStay/BookingSummary/index.tsx | 2 +- .../MyStay/GuestDetails/index.tsx | 2 +- .../Actions/AddToCalendarButton.tsx | 2 +- .../NewDates/CalendarButton/index.tsx | 2 +- .../MyStay/ManageStay/ActionPanel/index.tsx | 2 +- .../MyStay/ManageStay/index.tsx | 2 +- .../MyStay/MultiRoom/ToggleSidePeek.tsx | 2 +- .../MyStay/MultiRoom/index.tsx | 2 +- .../PriceDetails/PriceDetailsTable/index.tsx | 2 +- .../HotelReservation/MyStay/Receipt/index.tsx | 2 +- .../MyStay/ReferenceCard/index.tsx | 8 +- .../MyStay/SingleRoom/ToggleSidePeek.tsx | 2 +- .../MyStay/SingleRoom/index.tsx | 8 +- .../HotelReservation/PriceDetailsModal.tsx | 2 +- .../HotelReservation/ReadMore/index.tsx | 2 +- .../SelectHotel/BookingCodeFilter/index.tsx | 2 +- .../SelectHotel/FilterAndSortModal/index.tsx | 2 +- .../HotelFilter/FilterCheckbox/index.tsx | 2 +- .../MobileMapButtonContainer/index.tsx | 2 +- .../SelectHotelMapContent/index.tsx | 2 +- .../HotelReservation/SelectHotel/index.tsx | 2 +- .../MobileSummary/PriceDetailsTable/index.tsx | 2 +- .../RateSummary/MobileSummary/Summary.tsx | 2 +- .../SelectedRoomPanel/index.tsx | 2 +- .../Rooms/MultiRoomWrapper/index.tsx | 2 +- .../RoomPackageFilter/Checkbox/index.tsx | 2 +- .../Rooms/RoomPackageFilter/index.tsx | 2 +- .../RoomListItem/Details/ToggleSidePeek.tsx | 2 +- .../RoomListItem/RoomNotAvailable/index.tsx | 2 +- .../TripAdvisorChip/index.tsx | 2 +- .../components/HotelReservation/utils.tsx | 2 +- .../components/Icons/IconByIconName.tsx | 71 +++++++-------- .../Icons/IllustrationByIconName.ts | 28 +++--- .../components/ImageGallery/index.tsx | 2 +- .../components/JsonToHtml/renderOptions.tsx | 2 +- .../LanguageSwitcherContainer/index.tsx | 2 +- .../LanguageSwitcherContent/index.tsx | 2 +- .../components/LanguageSwitcher/index.tsx | 2 +- .../components/Lightbox/FullView.tsx | 2 +- .../components/Lightbox/Gallery.tsx | 2 +- .../components/Maps/InteractiveMap/index.tsx | 2 +- .../Modal/ModalContentWithActions/index.tsx | 2 +- apps/scandic-web/components/Modal/index.tsx | 2 +- .../components/MyPages/Pagination/index.tsx | 2 +- .../components/MyPages/Surprises/Header.tsx | 2 +- .../MyPages/Surprises/Navigation.tsx | 2 +- .../membershipCards/membershipcards.tsx | 2 +- .../MyPages/myprofile/profile/profile.tsx | 2 +- .../components/ParkingInformation/index.tsx | 2 +- .../Profile/AddCreditCardButton/index.tsx | 2 +- .../Profile/CreditCardRow/index.tsx | 2 +- .../Profile/DeleteCreditCardButton/index.tsx | 2 +- .../Profile/DeleteCreditCardConfirmation.tsx | 2 +- .../Profile/ManagePreferencesButton/index.tsx | 2 +- .../components/SasTierComparison/index.tsx | 2 +- .../components/Section/Link/index.tsx | 2 +- .../BookedRoomSidePeek/RoomDetails.tsx | 2 +- .../SidePeeks/BookedRoomSidePeek/index.tsx | 8 +- .../HotelSidePeek/Accordions/Parking.tsx | 2 +- .../SidePeeks/RoomSidePeek/facilityIcon.tsx | 86 ++++++++++--------- .../SidePeeks/RoomSidePeek/index.tsx | 2 +- .../JoinLoyalty/Contact/ContactRow/index.tsx | 2 +- .../Sidebar/JoinLoyalty/ReadMore/index.tsx | 2 +- .../components/Sidebar/JoinLoyalty/index.tsx | 2 +- .../TabFilters/FilterIcon/index.tsx | 12 +-- .../Accordion/AccordionItem/index.tsx | 2 +- .../TempDesignSystem/Alert/Sidepeek/index.tsx | 2 +- .../TempDesignSystem/Alert/index.tsx | 7 +- .../TempDesignSystem/Alert/utils.tsx | 51 +++++------ .../BackToTopButton/index.tsx | 2 +- .../Breadcrumbs/Breadcrumb.tsx | 2 +- .../Breadcrumbs/BreadcrumbsSkeleton/index.tsx | 2 +- .../TempDesignSystem/Breadcrumbs/index.tsx | 2 +- .../TempDesignSystem/Form/Checkbox/index.tsx | 2 +- .../Form/ErrorMessage/Error.tsx | 2 +- .../Form/FilterChip/_Chip/index.tsx | 2 +- .../TempDesignSystem/Form/Input/index.tsx | 2 +- .../Form/PasswordInput/index.tsx | 2 +- .../TempDesignSystem/Form/Phone/index.tsx | 2 +- .../TempDesignSystem/Form/RadioCard/index.tsx | 2 +- .../Form/SelectChevron/index.tsx | 6 +- .../TempDesignSystem/Form/Switch/index.tsx | 2 +- .../TempDesignSystem/Form/TextArea/index.tsx | 2 +- .../TempDesignSystem/LinkChips/Chip/index.tsx | 2 +- .../TempDesignSystem/LoyaltyCard/index.tsx | 2 +- .../MeetingRoomCard/index.tsx | 2 +- .../TempDesignSystem/Popover/index.tsx | 2 +- .../TempDesignSystem/ShowMoreButton/index.tsx | 2 +- .../TempDesignSystem/SidePeek/index.tsx | 2 +- .../TeaserCard/Sidepeek/index.tsx | 2 +- .../TempDesignSystem/Toasts/index.tsx | 2 +- .../constants/{booking.tsx => booking.ts} | 23 +++-- .../BedHotel.tsx | 0 .../Cooling.tsx | 0 .../CouchTable.tsx | 0 .../FootStool.tsx | 0 .../Hairdryer.tsx | 0 .../HandSoap.tsx | 0 .../IceMachine.tsx | 0 .../Massage.tsx | 0 .../MdiBunkBedOutline.tsx | 0 .../Mirror.tsx | 0 .../MovingBeds.tsx | 0 .../Road.tsx | 0 .../Rug.tsx | 0 .../SafetyBox.tsx | 0 .../Slippers.tsx | 0 .../Towel.tsx | 0 .../View.tsx | 0 .../Ward.tsx | 0 .../WindowNotAvailable.tsx | 0 .../WoodFloor.tsx | 0 .../lib/components/Icons/Logos/index.tsx | 18 ++-- .../bathroom-cabinet-2.tsx | 0 .../conference-room.tsx | 0 .../door-2.tsx | 0 .../hairdresser-1.tsx | 0 .../record-player-3.tsx | 0 .../toilet-2.tsx | 0 .../user-police-2.tsx | 0 .../lib/components/Icons/index.ts | 6 ++ .../lib/components/Icons/index.tsx | 85 ------------------ .../components/RateCard/Campaign/index.tsx | 2 +- .../lib/components/RateCard/Code/index.tsx | 2 +- .../lib/components/RateCard/Modal/index.tsx | 2 +- .../RateCard/NoRateAvailable/index.tsx | 2 +- .../lib/components/RateCard/Points/index.tsx | 2 +- .../lib/components/RateCard/Regular/index.tsx | 2 +- packages/design-system/package.json | 77 ++++++++++++++++- 234 files changed, 446 insertions(+), 472 deletions(-) rename apps/scandic-web/constants/{booking.tsx => booking.ts} (85%) rename packages/design-system/lib/components/Icons/Customised/{Amenities&Facilities => Amenities_Facilities}/BedHotel.tsx (100%) rename packages/design-system/lib/components/Icons/Customised/{Amenities&Facilities => Amenities_Facilities}/Cooling.tsx (100%) rename packages/design-system/lib/components/Icons/Customised/{Amenities&Facilities => Amenities_Facilities}/CouchTable.tsx (100%) rename packages/design-system/lib/components/Icons/Customised/{Amenities&Facilities => Amenities_Facilities}/FootStool.tsx (100%) rename packages/design-system/lib/components/Icons/Customised/{Amenities&Facilities => Amenities_Facilities}/Hairdryer.tsx (100%) rename packages/design-system/lib/components/Icons/Customised/{Amenities&Facilities => Amenities_Facilities}/HandSoap.tsx (100%) rename packages/design-system/lib/components/Icons/Customised/{Amenities&Facilities => Amenities_Facilities}/IceMachine.tsx (100%) rename packages/design-system/lib/components/Icons/Customised/{Amenities&Facilities => Amenities_Facilities}/Massage.tsx (100%) rename packages/design-system/lib/components/Icons/Customised/{Amenities&Facilities => Amenities_Facilities}/MdiBunkBedOutline.tsx (100%) rename packages/design-system/lib/components/Icons/Customised/{Amenities&Facilities => Amenities_Facilities}/Mirror.tsx (100%) rename packages/design-system/lib/components/Icons/Customised/{Amenities&Facilities => Amenities_Facilities}/MovingBeds.tsx (100%) rename packages/design-system/lib/components/Icons/Customised/{Amenities&Facilities => Amenities_Facilities}/Road.tsx (100%) rename packages/design-system/lib/components/Icons/Customised/{Amenities&Facilities => Amenities_Facilities}/Rug.tsx (100%) rename packages/design-system/lib/components/Icons/Customised/{Amenities&Facilities => Amenities_Facilities}/SafetyBox.tsx (100%) rename packages/design-system/lib/components/Icons/Customised/{Amenities&Facilities => Amenities_Facilities}/Slippers.tsx (100%) rename packages/design-system/lib/components/Icons/Customised/{Amenities&Facilities => Amenities_Facilities}/Towel.tsx (100%) rename packages/design-system/lib/components/Icons/Customised/{Amenities&Facilities => Amenities_Facilities}/View.tsx (100%) rename packages/design-system/lib/components/Icons/Customised/{Amenities&Facilities => Amenities_Facilities}/Ward.tsx (100%) rename packages/design-system/lib/components/Icons/Customised/{Amenities&Facilities => Amenities_Facilities}/WindowNotAvailable.tsx (100%) rename packages/design-system/lib/components/Icons/Customised/{Amenities&Facilities => Amenities_Facilities}/WoodFloor.tsx (100%) rename packages/design-system/lib/components/Icons/Nucleo/{Amenities&Facilities => Amenities_Facilities}/bathroom-cabinet-2.tsx (100%) rename packages/design-system/lib/components/Icons/Nucleo/{Amenities&Facilities => Amenities_Facilities}/conference-room.tsx (100%) rename packages/design-system/lib/components/Icons/Nucleo/{Amenities&Facilities => Amenities_Facilities}/door-2.tsx (100%) rename packages/design-system/lib/components/Icons/Nucleo/{Amenities&Facilities => Amenities_Facilities}/hairdresser-1.tsx (100%) rename packages/design-system/lib/components/Icons/Nucleo/{Amenities&Facilities => Amenities_Facilities}/record-player-3.tsx (100%) rename packages/design-system/lib/components/Icons/Nucleo/{Amenities&Facilities => Amenities_Facilities}/toilet-2.tsx (100%) rename packages/design-system/lib/components/Icons/Nucleo/{Amenities&Facilities => Amenities_Facilities}/user-police-2.tsx (100%) create mode 100644 packages/design-system/lib/components/Icons/index.ts delete mode 100644 packages/design-system/lib/components/Icons/index.tsx diff --git a/apps/scandic-web/app/[lang]/(partner)/(sas)/(protected)/sas-x-scandic/components/AlreadyLinkedError.tsx b/apps/scandic-web/app/[lang]/(partner)/(sas)/(protected)/sas-x-scandic/components/AlreadyLinkedError.tsx index 8c04e9469..b3598acfc 100644 --- a/apps/scandic-web/app/[lang]/(partner)/(sas)/(protected)/sas-x-scandic/components/AlreadyLinkedError.tsx +++ b/apps/scandic-web/app/[lang]/(partner)/(sas)/(protected)/sas-x-scandic/components/AlreadyLinkedError.tsx @@ -2,7 +2,7 @@ import Link from "next/link" import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { Typography } from "@scandic-hotels/design-system/Typography" import { partnerSas } from "@/constants/routes/myPages" diff --git a/apps/scandic-web/app/[lang]/(partner)/(sas)/(protected)/sas-x-scandic/components/DateOfBirthError.tsx b/apps/scandic-web/app/[lang]/(partner)/(sas)/(protected)/sas-x-scandic/components/DateOfBirthError.tsx index 307d33447..300159074 100644 --- a/apps/scandic-web/app/[lang]/(partner)/(sas)/(protected)/sas-x-scandic/components/DateOfBirthError.tsx +++ b/apps/scandic-web/app/[lang]/(partner)/(sas)/(protected)/sas-x-scandic/components/DateOfBirthError.tsx @@ -2,7 +2,7 @@ import { Link } from "react-aria-components" import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { Typography } from "@scandic-hotels/design-system/Typography" import { profile } from "@/constants/routes/myPages" diff --git a/apps/scandic-web/app/[lang]/(partner)/(sas)/(protected)/sas-x-scandic/components/GenericError.tsx b/apps/scandic-web/app/[lang]/(partner)/(sas)/(protected)/sas-x-scandic/components/GenericError.tsx index 0e2c49b4d..89eecee0e 100644 --- a/apps/scandic-web/app/[lang]/(partner)/(sas)/(protected)/sas-x-scandic/components/GenericError.tsx +++ b/apps/scandic-web/app/[lang]/(partner)/(sas)/(protected)/sas-x-scandic/components/GenericError.tsx @@ -1,7 +1,7 @@ "use client" import Image from "next/image" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { Typography } from "@scandic-hotels/design-system/Typography" import { SASModal } from "./SASModal" diff --git a/apps/scandic-web/app/[lang]/(partner)/(sas)/(protected)/sas-x-scandic/link/LinkAccountForm.tsx b/apps/scandic-web/app/[lang]/(partner)/(sas)/(protected)/sas-x-scandic/link/LinkAccountForm.tsx index 34d0bea83..a11d2d479 100644 --- a/apps/scandic-web/app/[lang]/(partner)/(sas)/(protected)/sas-x-scandic/link/LinkAccountForm.tsx +++ b/apps/scandic-web/app/[lang]/(partner)/(sas)/(protected)/sas-x-scandic/link/LinkAccountForm.tsx @@ -5,7 +5,7 @@ import { useTransition } from "react" import { FormProvider, useForm } from "react-hook-form" import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { Typography } from "@scandic-hotels/design-system/Typography" import { profileEdit } from "@/constants/routes/myPages" diff --git a/apps/scandic-web/app/[lang]/(partner)/(sas)/(protected)/sas-x-scandic/link/success/page.tsx b/apps/scandic-web/app/[lang]/(partner)/(sas)/(protected)/sas-x-scandic/link/success/page.tsx index 02a19ba0c..0a181ba8d 100644 --- a/apps/scandic-web/app/[lang]/(partner)/(sas)/(protected)/sas-x-scandic/link/success/page.tsx +++ b/apps/scandic-web/app/[lang]/(partner)/(sas)/(protected)/sas-x-scandic/link/success/page.tsx @@ -1,6 +1,6 @@ import React from "react" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { Typography } from "@scandic-hotels/design-system/Typography" import { partnerSas } from "@/constants/routes/myPages" diff --git a/apps/scandic-web/app/[lang]/(partner)/(sas)/(protected)/sas-x-scandic/otp/OneTimePasswordForm.tsx b/apps/scandic-web/app/[lang]/(partner)/(sas)/(protected)/sas-x-scandic/otp/OneTimePasswordForm.tsx index ca1dfe410..c2564b2b9 100644 --- a/apps/scandic-web/app/[lang]/(partner)/(sas)/(protected)/sas-x-scandic/otp/OneTimePasswordForm.tsx +++ b/apps/scandic-web/app/[lang]/(partner)/(sas)/(protected)/sas-x-scandic/otp/OneTimePasswordForm.tsx @@ -6,7 +6,7 @@ import { useParams, useRouter } from "next/navigation" import { type ReactNode, useState, useTransition } from "react" import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { Typography } from "@scandic-hotels/design-system/Typography" import { trpc } from "@/lib/trpc/client" diff --git a/apps/scandic-web/app/[lang]/(partner)/(sas)/(protected)/sas-x-scandic/transfer/success/page.tsx b/apps/scandic-web/app/[lang]/(partner)/(sas)/(protected)/sas-x-scandic/transfer/success/page.tsx index 18ef971b2..1ce060301 100644 --- a/apps/scandic-web/app/[lang]/(partner)/(sas)/(protected)/sas-x-scandic/transfer/success/page.tsx +++ b/apps/scandic-web/app/[lang]/(partner)/(sas)/(protected)/sas-x-scandic/transfer/success/page.tsx @@ -1,7 +1,7 @@ import Link from "next/link" import React, { Suspense } from "react" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { Typography } from "@scandic-hotels/design-system/Typography" import { hotelreservation } from "@/constants/routes/hotelReservation" diff --git a/apps/scandic-web/app/[lang]/(partner)/(sas)/(protected)/sas-x-scandic/unlink/success/page.tsx b/apps/scandic-web/app/[lang]/(partner)/(sas)/(protected)/sas-x-scandic/unlink/success/page.tsx index 086bda89e..8c7060e55 100644 --- a/apps/scandic-web/app/[lang]/(partner)/(sas)/(protected)/sas-x-scandic/unlink/success/page.tsx +++ b/apps/scandic-web/app/[lang]/(partner)/(sas)/(protected)/sas-x-scandic/unlink/success/page.tsx @@ -1,6 +1,6 @@ import React from "react" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { Typography } from "@scandic-hotels/design-system/Typography" import { overview } from "@/constants/routes/myPages" diff --git a/apps/scandic-web/components/Blocks/DynamicContent/JobylonFeed/JobylonCard/index.tsx b/apps/scandic-web/components/Blocks/DynamicContent/JobylonFeed/JobylonCard/index.tsx index 1476cbfd3..d96a1cb58 100644 --- a/apps/scandic-web/components/Blocks/DynamicContent/JobylonFeed/JobylonCard/index.tsx +++ b/apps/scandic-web/components/Blocks/DynamicContent/JobylonFeed/JobylonCard/index.tsx @@ -2,7 +2,7 @@ import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { dt } from "@/lib/dt" diff --git a/apps/scandic-web/components/Blocks/DynamicContent/LoyaltyLevels/index.tsx b/apps/scandic-web/components/Blocks/DynamicContent/LoyaltyLevels/index.tsx index 923482cfa..8d43e9090 100644 --- a/apps/scandic-web/components/Blocks/DynamicContent/LoyaltyLevels/index.tsx +++ b/apps/scandic-web/components/Blocks/DynamicContent/LoyaltyLevels/index.tsx @@ -1,4 +1,4 @@ -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { serverClient } from "@/lib/trpc/server" diff --git a/apps/scandic-web/components/Blocks/DynamicContent/Overview/Buttons/CopyButton.tsx b/apps/scandic-web/components/Blocks/DynamicContent/Overview/Buttons/CopyButton.tsx index 046268cd9..e41b13e93 100644 --- a/apps/scandic-web/components/Blocks/DynamicContent/Overview/Buttons/CopyButton.tsx +++ b/apps/scandic-web/components/Blocks/DynamicContent/Overview/Buttons/CopyButton.tsx @@ -2,7 +2,7 @@ import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import Button from "@/components/TempDesignSystem/Button" import { toast } from "@/components/TempDesignSystem/Toasts" diff --git a/apps/scandic-web/components/Blocks/DynamicContent/OverviewTable/RewardValue/index.tsx b/apps/scandic-web/components/Blocks/DynamicContent/OverviewTable/RewardValue/index.tsx index d858b9113..eec445e29 100644 --- a/apps/scandic-web/components/Blocks/DynamicContent/OverviewTable/RewardValue/index.tsx +++ b/apps/scandic-web/components/Blocks/DynamicContent/OverviewTable/RewardValue/index.tsx @@ -1,6 +1,6 @@ import { Minus } from "react-feather" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import styles from "./rewardValue.module.css" diff --git a/apps/scandic-web/components/Blocks/DynamicContent/Rewards/Redeem/ActiveRedeemedBadge.tsx b/apps/scandic-web/components/Blocks/DynamicContent/Rewards/Redeem/ActiveRedeemedBadge.tsx index 6eb2740fd..1f52ea604 100644 --- a/apps/scandic-web/components/Blocks/DynamicContent/Rewards/Redeem/ActiveRedeemedBadge.tsx +++ b/apps/scandic-web/components/Blocks/DynamicContent/Rewards/Redeem/ActiveRedeemedBadge.tsx @@ -3,7 +3,7 @@ import { motion } from "framer-motion" import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import Caption from "@/components/TempDesignSystem/Text/Caption" diff --git a/apps/scandic-web/components/Blocks/DynamicContent/Rewards/Redeem/Flows/Campaign.tsx b/apps/scandic-web/components/Blocks/DynamicContent/Rewards/Redeem/Flows/Campaign.tsx index 2eb555cfd..abfa8b5e8 100644 --- a/apps/scandic-web/components/Blocks/DynamicContent/Rewards/Redeem/Flows/Campaign.tsx +++ b/apps/scandic-web/components/Blocks/DynamicContent/Rewards/Redeem/Flows/Campaign.tsx @@ -2,7 +2,7 @@ import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import Button from "@/components/TempDesignSystem/Button" import Body from "@/components/TempDesignSystem/Text/Body" diff --git a/apps/scandic-web/components/Blocks/DynamicContent/Rewards/Redeem/TimedRedeemedBadge.tsx b/apps/scandic-web/components/Blocks/DynamicContent/Rewards/Redeem/TimedRedeemedBadge.tsx index 142eb7c7b..181f03711 100644 --- a/apps/scandic-web/components/Blocks/DynamicContent/Rewards/Redeem/TimedRedeemedBadge.tsx +++ b/apps/scandic-web/components/Blocks/DynamicContent/Rewards/Redeem/TimedRedeemedBadge.tsx @@ -2,7 +2,7 @@ import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { dt } from "@/lib/dt" diff --git a/apps/scandic-web/components/Blocks/DynamicContent/Rewards/Redeem/index.tsx b/apps/scandic-web/components/Blocks/DynamicContent/Rewards/Redeem/index.tsx index fd2cd6e4f..ab2b6fb36 100644 --- a/apps/scandic-web/components/Blocks/DynamicContent/Rewards/Redeem/index.tsx +++ b/apps/scandic-web/components/Blocks/DynamicContent/Rewards/Redeem/index.tsx @@ -10,7 +10,7 @@ import { } from "react-aria-components" import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { trpc } from "@/lib/trpc/client" diff --git a/apps/scandic-web/components/Blocks/DynamicContent/Rewards/RewardIcon/data.ts b/apps/scandic-web/components/Blocks/DynamicContent/Rewards/RewardIcon/data.ts index a4dd753f8..a00dffc93 100644 --- a/apps/scandic-web/components/Blocks/DynamicContent/Rewards/RewardIcon/data.ts +++ b/apps/scandic-web/components/Blocks/DynamicContent/Rewards/RewardIcon/data.ts @@ -1,11 +1,10 @@ -import { type IconProps } from "@scandic-hotels/design-system/Icons" - import { REWARD_IDS } from "@/constants/rewards" import { IconName } from "@/components/Icons/iconName" import { IllustrationByIconName } from "@/components/Icons/IllustrationByIconName" import { isValidRewardId } from "@/utils/rewards" +import type { IconProps } from "@scandic-hotels/design-system/Icons" import type { FC } from "react" import type { RewardId } from "@/types/components/myPages/rewards" diff --git a/apps/scandic-web/components/Blocks/DynamicContent/SAS/LinkedAccounts/UnlinkSAS.tsx b/apps/scandic-web/components/Blocks/DynamicContent/SAS/LinkedAccounts/UnlinkSAS.tsx index bfdf9d013..f3f48e8a1 100644 --- a/apps/scandic-web/components/Blocks/DynamicContent/SAS/LinkedAccounts/UnlinkSAS.tsx +++ b/apps/scandic-web/components/Blocks/DynamicContent/SAS/LinkedAccounts/UnlinkSAS.tsx @@ -3,7 +3,7 @@ import { useParams } from "next/navigation" import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import Dialog from "@/components/Dialog" import Button from "@/components/TempDesignSystem/Button" diff --git a/apps/scandic-web/components/Blocks/DynamicContent/SAS/LinkedAccounts/index.tsx b/apps/scandic-web/components/Blocks/DynamicContent/SAS/LinkedAccounts/index.tsx index bef97ee1b..2912e34dd 100644 --- a/apps/scandic-web/components/Blocks/DynamicContent/SAS/LinkedAccounts/index.tsx +++ b/apps/scandic-web/components/Blocks/DynamicContent/SAS/LinkedAccounts/index.tsx @@ -1,10 +1,8 @@ import { cx } from "class-variance-authority" import { type ReactNode, Suspense } from "react" -import { - DiamondAddIcon, - MaterialIcon, -} from "@scandic-hotels/design-system/Icons" +import DiamondAddIcon from "@scandic-hotels/design-system/Icons/DiamondAddIcon" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { Typography } from "@scandic-hotels/design-system/Typography" import { TIER_TO_FRIEND_MAP } from "@/constants/membershipLevels" diff --git a/apps/scandic-web/components/Blocks/DynamicContent/SAS/TransferPoints/TransferPointsForm.tsx b/apps/scandic-web/components/Blocks/DynamicContent/SAS/TransferPoints/TransferPointsForm.tsx index ea5ef8cdc..2f4e2f797 100644 --- a/apps/scandic-web/components/Blocks/DynamicContent/SAS/TransferPoints/TransferPointsForm.tsx +++ b/apps/scandic-web/components/Blocks/DynamicContent/SAS/TransferPoints/TransferPointsForm.tsx @@ -1,4 +1,4 @@ -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { Typography } from "@scandic-hotels/design-system/Typography" import { getProfileSafely } from "@/lib/trpc/memoizedRequests" diff --git a/apps/scandic-web/components/Blocks/DynamicContent/SAS/TransferPoints/TransferPointsFormClient.tsx b/apps/scandic-web/components/Blocks/DynamicContent/SAS/TransferPoints/TransferPointsFormClient.tsx index c756b6e13..66d6621f1 100644 --- a/apps/scandic-web/components/Blocks/DynamicContent/SAS/TransferPoints/TransferPointsFormClient.tsx +++ b/apps/scandic-web/components/Blocks/DynamicContent/SAS/TransferPoints/TransferPointsFormClient.tsx @@ -15,7 +15,7 @@ import { import { FormProvider, useForm } from "react-hook-form" import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { Typography } from "@scandic-hotels/design-system/Typography" import { SAS_TRANSFER_POINT_KEY } from "@/app/[lang]/(partner)/(sas)/(protected)/sas-x-scandic/sasUtils" diff --git a/apps/scandic-web/components/Blocks/DynamicContent/Stays/ShowMoreButton/index.tsx b/apps/scandic-web/components/Blocks/DynamicContent/Stays/ShowMoreButton/index.tsx index 2e87a8cea..f9eed94ff 100644 --- a/apps/scandic-web/components/Blocks/DynamicContent/Stays/ShowMoreButton/index.tsx +++ b/apps/scandic-web/components/Blocks/DynamicContent/Stays/ShowMoreButton/index.tsx @@ -2,7 +2,7 @@ import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import Button from "@/components/TempDesignSystem/Button" diff --git a/apps/scandic-web/components/Blocks/DynamicContent/Stays/Soonest/EmptyUpcomingStays/index.tsx b/apps/scandic-web/components/Blocks/DynamicContent/Stays/Soonest/EmptyUpcomingStays/index.tsx index 3056ba8b8..4cbcbe9f5 100644 --- a/apps/scandic-web/components/Blocks/DynamicContent/Stays/Soonest/EmptyUpcomingStays/index.tsx +++ b/apps/scandic-web/components/Blocks/DynamicContent/Stays/Soonest/EmptyUpcomingStays/index.tsx @@ -1,4 +1,4 @@ -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { env } from "@/env/server" diff --git a/apps/scandic-web/components/Blocks/DynamicContent/Stays/StayCard/index.tsx b/apps/scandic-web/components/Blocks/DynamicContent/Stays/StayCard/index.tsx index 13ff1ad67..52620bb42 100644 --- a/apps/scandic-web/components/Blocks/DynamicContent/Stays/StayCard/index.tsx +++ b/apps/scandic-web/components/Blocks/DynamicContent/Stays/StayCard/index.tsx @@ -2,7 +2,7 @@ import { useState } from "react" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { dt } from "@/lib/dt" diff --git a/apps/scandic-web/components/Blocks/DynamicContent/Stays/Upcoming/EmptyUpcomingStays/index.tsx b/apps/scandic-web/components/Blocks/DynamicContent/Stays/Upcoming/EmptyUpcomingStays/index.tsx index 3056ba8b8..4cbcbe9f5 100644 --- a/apps/scandic-web/components/Blocks/DynamicContent/Stays/Upcoming/EmptyUpcomingStays/index.tsx +++ b/apps/scandic-web/components/Blocks/DynamicContent/Stays/Upcoming/EmptyUpcomingStays/index.tsx @@ -1,4 +1,4 @@ -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { env } from "@/env/server" diff --git a/apps/scandic-web/components/Blocks/HotelListing/HotelListingItem/index.tsx b/apps/scandic-web/components/Blocks/HotelListing/HotelListingItem/index.tsx index 98ed4f074..273d2da61 100644 --- a/apps/scandic-web/components/Blocks/HotelListing/HotelListingItem/index.tsx +++ b/apps/scandic-web/components/Blocks/HotelListing/HotelListingItem/index.tsx @@ -1,4 +1,4 @@ -import { HotelLogo } from "@scandic-hotels/design-system/Icons" +import HotelLogoIcon from "@scandic-hotels/design-system/Icons/HotelLogoIcon" import Image from "@/components/Image" import Button from "@/components/TempDesignSystem/Button" @@ -43,7 +43,7 @@ export default async function HotelListingItem({ />
- + {hotel.name} diff --git a/apps/scandic-web/components/Blocks/JoinScandicFriends/index.tsx b/apps/scandic-web/components/Blocks/JoinScandicFriends/index.tsx index 1135c0566..1c62dd2b4 100644 --- a/apps/scandic-web/components/Blocks/JoinScandicFriends/index.tsx +++ b/apps/scandic-web/components/Blocks/JoinScandicFriends/index.tsx @@ -1,4 +1,4 @@ -import { SurpriseIcon } from "@scandic-hotels/design-system/Icons" +import SurpriseIcon from "@scandic-hotels/design-system/Icons/SurpriseIcon" import { auth } from "@/auth" import Image from "@/components/Image" diff --git a/apps/scandic-web/components/Blocks/ShortcutsList/ShortcutsListItems/index.tsx b/apps/scandic-web/components/Blocks/ShortcutsList/ShortcutsListItems/index.tsx index 4bdc5fbe9..7aeaaa391 100644 --- a/apps/scandic-web/components/Blocks/ShortcutsList/ShortcutsListItems/index.tsx +++ b/apps/scandic-web/components/Blocks/ShortcutsList/ShortcutsListItems/index.tsx @@ -1,4 +1,4 @@ -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import Link from "@/components/TempDesignSystem/Link" import Body from "@/components/TempDesignSystem/Text/Body" diff --git a/apps/scandic-web/components/BookingWidget/Client.tsx b/apps/scandic-web/components/BookingWidget/Client.tsx index 132d429cb..48d7aa5df 100644 --- a/apps/scandic-web/components/BookingWidget/Client.tsx +++ b/apps/scandic-web/components/BookingWidget/Client.tsx @@ -5,7 +5,7 @@ import { cva } from "class-variance-authority" import { use, useEffect, useRef, useState } from "react" import { FormProvider, useForm } from "react-hook-form" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { REDEMPTION } from "@/constants/booking" import { dt } from "@/lib/dt" diff --git a/apps/scandic-web/components/BookingWidget/MobileToggleButton/index.tsx b/apps/scandic-web/components/BookingWidget/MobileToggleButton/index.tsx index 33619c475..d7ce61e26 100644 --- a/apps/scandic-web/components/BookingWidget/MobileToggleButton/index.tsx +++ b/apps/scandic-web/components/BookingWidget/MobileToggleButton/index.tsx @@ -3,7 +3,7 @@ import { useWatch } from "react-hook-form" import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { dt } from "@/lib/dt" diff --git a/apps/scandic-web/components/Carousel/CarouselNavigation.tsx b/apps/scandic-web/components/Carousel/CarouselNavigation.tsx index 125f36162..bd489ee5a 100644 --- a/apps/scandic-web/components/Carousel/CarouselNavigation.tsx +++ b/apps/scandic-web/components/Carousel/CarouselNavigation.tsx @@ -3,7 +3,7 @@ import { cx } from "class-variance-authority" import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { useCarousel } from "./CarouselContext" diff --git a/apps/scandic-web/components/ContentType/DestinationPage/DestinationCityPage/CityMap/HotelListItem/index.tsx b/apps/scandic-web/components/ContentType/DestinationPage/DestinationCityPage/CityMap/HotelListItem/index.tsx index c77c3ec75..0913ff9bf 100644 --- a/apps/scandic-web/components/ContentType/DestinationPage/DestinationCityPage/CityMap/HotelListItem/index.tsx +++ b/apps/scandic-web/components/ContentType/DestinationPage/DestinationCityPage/CityMap/HotelListItem/index.tsx @@ -4,7 +4,8 @@ import Link from "next/link" import { useCallback, useEffect, useRef } from "react" import { useIntl } from "react-intl" -import { HotelLogo, TripadvisorIcon } from "@scandic-hotels/design-system/Icons" +import HotelLogoIcon from "@scandic-hotels/design-system/Icons/HotelLogoIcon" +import TripadvisorIcon from "@scandic-hotels/design-system/Icons/TripadvisorIcon" import { useDestinationPageHotelsMapStore } from "@/stores/destination-page-hotels-map" @@ -80,7 +81,7 @@ export default function HotelListItem(data: DestinationPagesHotelData) {
- +

{hotel.name}

diff --git a/apps/scandic-web/components/ContentType/DestinationPage/DestinationOverviewPage/HotelsSection/DestinationsList/Destination/index.tsx b/apps/scandic-web/components/ContentType/DestinationPage/DestinationOverviewPage/HotelsSection/DestinationsList/Destination/index.tsx index 82c4e0fe8..19c8db202 100644 --- a/apps/scandic-web/components/ContentType/DestinationPage/DestinationOverviewPage/HotelsSection/DestinationsList/Destination/index.tsx +++ b/apps/scandic-web/components/ContentType/DestinationPage/DestinationOverviewPage/HotelsSection/DestinationsList/Destination/index.tsx @@ -1,4 +1,4 @@ -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import AccordionItem from "@/components/TempDesignSystem/Accordion/AccordionItem" import Link from "@/components/TempDesignSystem/Link" diff --git a/apps/scandic-web/components/ContentType/DestinationPage/ExperienceList/utils.tsx b/apps/scandic-web/components/ContentType/DestinationPage/ExperienceList/utils.tsx index b8a32c291..967bd9bf3 100644 --- a/apps/scandic-web/components/ContentType/DestinationPage/ExperienceList/utils.tsx +++ b/apps/scandic-web/components/ContentType/DestinationPage/ExperienceList/utils.tsx @@ -1,7 +1,7 @@ import { MaterialIcon, type MaterialIconSetIconProps, -} from "@scandic-hotels/design-system/Icons" +} from "@scandic-hotels/design-system/Icons/MaterialIcon" import type { FC } from "react" import type { IntlShape } from "react-intl" diff --git a/apps/scandic-web/components/ContentType/DestinationPage/HotelListing/HotelListingItem/index.tsx b/apps/scandic-web/components/ContentType/DestinationPage/HotelListing/HotelListingItem/index.tsx index 0cf9fbe8d..dc4ce233a 100644 --- a/apps/scandic-web/components/ContentType/DestinationPage/HotelListing/HotelListingItem/index.tsx +++ b/apps/scandic-web/components/ContentType/DestinationPage/HotelListing/HotelListingItem/index.tsx @@ -5,11 +5,9 @@ import { useParams } from "next/navigation" import { useEffect, useState } from "react" import { useIntl } from "react-intl" -import { - HotelLogo, - MaterialIcon, - TripadvisorIcon, -} from "@scandic-hotels/design-system/Icons" +import HotelLogoIcon from "@scandic-hotels/design-system/Icons/HotelLogoIcon" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" +import TripadvisorIcon from "@scandic-hotels/design-system/Icons/TripadvisorIcon" import { Typography } from "@scandic-hotels/design-system/Typography" import { useDestinationPageHotelsMapStore } from "@/stores/destination-page-hotels-map" @@ -63,7 +61,7 @@ export default function HotelListingItem(data: DestinationPagesHotelData) {
- +

{hotel.name}

diff --git a/apps/scandic-web/components/ContentType/DestinationPage/HotelListing/index.tsx b/apps/scandic-web/components/ContentType/DestinationPage/HotelListing/index.tsx index 73110edd1..3a6d2af6b 100644 --- a/apps/scandic-web/components/ContentType/DestinationPage/HotelListing/index.tsx +++ b/apps/scandic-web/components/ContentType/DestinationPage/HotelListing/index.tsx @@ -5,7 +5,7 @@ import { useParams } from "next/navigation" import { useEffect, useRef, useState } from "react" import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { useDestinationDataStore } from "@/stores/destination-data" diff --git a/apps/scandic-web/components/ContentType/DestinationPage/HotelMapCard/DialogImage/index.tsx b/apps/scandic-web/components/ContentType/DestinationPage/HotelMapCard/DialogImage/index.tsx index 5047315b8..d1e1b2bfd 100644 --- a/apps/scandic-web/components/ContentType/DestinationPage/HotelMapCard/DialogImage/index.tsx +++ b/apps/scandic-web/components/ContentType/DestinationPage/HotelMapCard/DialogImage/index.tsx @@ -1,4 +1,4 @@ -import { TripadvisorIcon } from "@scandic-hotels/design-system/Icons" +import TripadvisorIcon from "@scandic-hotels/design-system/Icons/TripadvisorIcon" import Image from "@/components/Image" import Chip from "@/components/TempDesignSystem/Chip" diff --git a/apps/scandic-web/components/ContentType/DestinationPage/HotelMapCard/index.tsx b/apps/scandic-web/components/ContentType/DestinationPage/HotelMapCard/index.tsx index a6f9e9149..6ffbb721c 100644 --- a/apps/scandic-web/components/ContentType/DestinationPage/HotelMapCard/index.tsx +++ b/apps/scandic-web/components/ContentType/DestinationPage/HotelMapCard/index.tsx @@ -3,7 +3,7 @@ import Link from "next/link" import { useState } from "react" import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { useDestinationPageHotelsMapStore } from "@/stores/destination-page-hotels-map" diff --git a/apps/scandic-web/components/ContentType/DestinationPage/Map/DynamicMap/index.tsx b/apps/scandic-web/components/ContentType/DestinationPage/Map/DynamicMap/index.tsx index 7aa5cb07a..441021181 100644 --- a/apps/scandic-web/components/ContentType/DestinationPage/Map/DynamicMap/index.tsx +++ b/apps/scandic-web/components/ContentType/DestinationPage/Map/DynamicMap/index.tsx @@ -7,7 +7,7 @@ import { cx } from "class-variance-authority" import { type PropsWithChildren, useEffect, useRef, useState } from "react" import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { useDestinationPageHotelsMapStore } from "@/stores/destination-page-hotels-map" diff --git a/apps/scandic-web/components/ContentType/DestinationPage/Map/index.tsx b/apps/scandic-web/components/ContentType/DestinationPage/Map/index.tsx index 37bb98f3a..d14640285 100644 --- a/apps/scandic-web/components/ContentType/DestinationPage/Map/index.tsx +++ b/apps/scandic-web/components/ContentType/DestinationPage/Map/index.tsx @@ -12,7 +12,7 @@ import { import { Dialog, Modal } from "react-aria-components" import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { useDestinationDataStore } from "@/stores/destination-data" import { useDestinationPageHotelsMapStore } from "@/stores/destination-page-hotels-map" diff --git a/apps/scandic-web/components/ContentType/DestinationPage/Sidepeek/index.tsx b/apps/scandic-web/components/ContentType/DestinationPage/Sidepeek/index.tsx index 0ac80dbc1..96f277b35 100644 --- a/apps/scandic-web/components/ContentType/DestinationPage/Sidepeek/index.tsx +++ b/apps/scandic-web/components/ContentType/DestinationPage/Sidepeek/index.tsx @@ -3,7 +3,7 @@ import { useState } from "react" import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import JsonToHtml from "@/components/JsonToHtml" import Button from "@/components/TempDesignSystem/Button" diff --git a/apps/scandic-web/components/ContentType/DestinationPage/StaticMap/MapButton/index.tsx b/apps/scandic-web/components/ContentType/DestinationPage/StaticMap/MapButton/index.tsx index f85c4e34d..b87c524bf 100644 --- a/apps/scandic-web/components/ContentType/DestinationPage/StaticMap/MapButton/index.tsx +++ b/apps/scandic-web/components/ContentType/DestinationPage/StaticMap/MapButton/index.tsx @@ -5,7 +5,7 @@ import { useParams } from "next/navigation" import { useEffect, useState } from "react" import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import Button from "@/components/TempDesignSystem/Button" diff --git a/apps/scandic-web/components/ContentType/HotelPage/AmenitiesList/index.tsx b/apps/scandic-web/components/ContentType/HotelPage/AmenitiesList/index.tsx index 7d5196168..fae02db17 100644 --- a/apps/scandic-web/components/ContentType/HotelPage/AmenitiesList/index.tsx +++ b/apps/scandic-web/components/ContentType/HotelPage/AmenitiesList/index.tsx @@ -1,4 +1,4 @@ -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { Typography } from "@scandic-hotels/design-system/Typography" import { FacilityToIcon } from "@/components/ContentType/HotelPage/data" diff --git a/apps/scandic-web/components/ContentType/HotelPage/IntroSection/index.tsx b/apps/scandic-web/components/ContentType/HotelPage/IntroSection/index.tsx index 83068d431..79357c565 100644 --- a/apps/scandic-web/components/ContentType/HotelPage/IntroSection/index.tsx +++ b/apps/scandic-web/components/ContentType/HotelPage/IntroSection/index.tsx @@ -1,7 +1,5 @@ -import { - MaterialIcon, - TripadvisorIcon, -} from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" +import TripadvisorIcon from "@scandic-hotels/design-system/Icons/TripadvisorIcon" import { Typography } from "@scandic-hotels/design-system/Typography" import Link from "@/components/TempDesignSystem/Link" diff --git a/apps/scandic-web/components/ContentType/HotelPage/Map/DynamicMap/index.tsx b/apps/scandic-web/components/ContentType/HotelPage/Map/DynamicMap/index.tsx index 55d5e7a35..d82ec8ba0 100644 --- a/apps/scandic-web/components/ContentType/HotelPage/Map/DynamicMap/index.tsx +++ b/apps/scandic-web/components/ContentType/HotelPage/Map/DynamicMap/index.tsx @@ -5,7 +5,7 @@ import { useCallback, useEffect, useMemo, useRef, useState } from "react" import { Dialog, Modal } from "react-aria-components" import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import InteractiveMap from "@/components/Maps/InteractiveMap" import Button from "@/components/TempDesignSystem/Button" diff --git a/apps/scandic-web/components/ContentType/HotelPage/Map/MobileMapToggle/index.tsx b/apps/scandic-web/components/ContentType/HotelPage/Map/MobileMapToggle/index.tsx index 05d0ddadf..a15e7c830 100644 --- a/apps/scandic-web/components/ContentType/HotelPage/Map/MobileMapToggle/index.tsx +++ b/apps/scandic-web/components/ContentType/HotelPage/Map/MobileMapToggle/index.tsx @@ -4,7 +4,7 @@ import { useParams, useSearchParams } from "next/navigation" import { useEffect, useMemo, useState } from "react" import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { Typography } from "@scandic-hotels/design-system/Typography" import { trackHotelMapClick } from "@/utils/tracking" diff --git a/apps/scandic-web/components/ContentType/HotelPage/Rooms/RoomCard/index.tsx b/apps/scandic-web/components/ContentType/HotelPage/Rooms/RoomCard/index.tsx index 281afa006..464b1ec53 100644 --- a/apps/scandic-web/components/ContentType/HotelPage/Rooms/RoomCard/index.tsx +++ b/apps/scandic-web/components/ContentType/HotelPage/Rooms/RoomCard/index.tsx @@ -3,7 +3,7 @@ import Link from "next/link" import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import ImageGallery from "@/components/ImageGallery" import Button from "@/components/TempDesignSystem/Button" diff --git a/apps/scandic-web/components/ContentType/HotelPage/SidePeeks/AboutTheHotel/ContactInformation/index.tsx b/apps/scandic-web/components/ContentType/HotelPage/SidePeeks/AboutTheHotel/ContactInformation/index.tsx index 65f76202a..ab004c021 100644 --- a/apps/scandic-web/components/ContentType/HotelPage/SidePeeks/AboutTheHotel/ContactInformation/index.tsx +++ b/apps/scandic-web/components/ContentType/HotelPage/SidePeeks/AboutTheHotel/ContactInformation/index.tsx @@ -1,7 +1,5 @@ -import { - FacebookIcon, - InstagramIcon, -} from "@scandic-hotels/design-system/Icons" +import FacebookIcon from "@scandic-hotels/design-system/Icons/FacebookIcon" +import InstagramIcon from "@scandic-hotels/design-system/Icons/InstagramIcon" import Image from "@/components/Image" import Link from "@/components/TempDesignSystem/Link" diff --git a/apps/scandic-web/components/ContentType/HotelPage/SidePeeks/Amenities/AccordionAmenities/Accessibility/index.tsx b/apps/scandic-web/components/ContentType/HotelPage/SidePeeks/Amenities/AccordionAmenities/Accessibility/index.tsx index 12be9ff2b..0667c30e1 100644 --- a/apps/scandic-web/components/ContentType/HotelPage/SidePeeks/Amenities/AccordionAmenities/Accessibility/index.tsx +++ b/apps/scandic-web/components/ContentType/HotelPage/SidePeeks/Amenities/AccordionAmenities/Accessibility/index.tsx @@ -1,4 +1,4 @@ -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import ButtonLink from "@/components/ButtonLink" import { IconName } from "@/components/Icons/iconName" diff --git a/apps/scandic-web/components/ContentType/HotelPage/SidePeeks/Amenities/FilteredAmenities/index.tsx b/apps/scandic-web/components/ContentType/HotelPage/SidePeeks/Amenities/FilteredAmenities/index.tsx index d8a8b82c4..d83066d67 100644 --- a/apps/scandic-web/components/ContentType/HotelPage/SidePeeks/Amenities/FilteredAmenities/index.tsx +++ b/apps/scandic-web/components/ContentType/HotelPage/SidePeeks/Amenities/FilteredAmenities/index.tsx @@ -1,4 +1,4 @@ -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import Subtitle from "@/components/TempDesignSystem/Text/Subtitle" diff --git a/apps/scandic-web/components/ContentType/HotelPage/SidePeeks/RestaurantBar/RestaurantBarItem/index.tsx b/apps/scandic-web/components/ContentType/HotelPage/SidePeeks/RestaurantBar/RestaurantBarItem/index.tsx index 7a8be3f56..80c725413 100644 --- a/apps/scandic-web/components/ContentType/HotelPage/SidePeeks/RestaurantBar/RestaurantBarItem/index.tsx +++ b/apps/scandic-web/components/ContentType/HotelPage/SidePeeks/RestaurantBar/RestaurantBarItem/index.tsx @@ -1,4 +1,4 @@ -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { Typography } from "@scandic-hotels/design-system/Typography" import ButtonLink from "@/components/ButtonLink" diff --git a/apps/scandic-web/components/ContentType/HotelPage/SidePeeks/Room/index.tsx b/apps/scandic-web/components/ContentType/HotelPage/SidePeeks/Room/index.tsx index 8387a1a64..67f9b0bc2 100644 --- a/apps/scandic-web/components/ContentType/HotelPage/SidePeeks/Room/index.tsx +++ b/apps/scandic-web/components/ContentType/HotelPage/SidePeeks/Room/index.tsx @@ -1,7 +1,7 @@ import { cx } from "class-variance-authority" import Link from "next/link" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { Typography } from "@scandic-hotels/design-system/Typography" import { selectRateWithParams } from "@/constants/routes/hotelReservation" diff --git a/apps/scandic-web/components/ContentType/HotelPage/data.tsx b/apps/scandic-web/components/ContentType/HotelPage/data.tsx index 61b56dfa0..0216b2c83 100644 --- a/apps/scandic-web/components/ContentType/HotelPage/data.tsx +++ b/apps/scandic-web/components/ContentType/HotelPage/data.tsx @@ -3,9 +3,9 @@ import { IconName } from "@/components/Icons/iconName" import type { IconProps, - MaterialIconSetIconProps, NucleoIconProps, } from "@scandic-hotels/design-system/Icons" +import type { MaterialIconSetIconProps } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { FacilityEnum } from "@/types/enums/facilities" diff --git a/apps/scandic-web/components/ContentType/HotelSubpage/Sidebar/RestaurantSidebar.tsx b/apps/scandic-web/components/ContentType/HotelSubpage/Sidebar/RestaurantSidebar.tsx index 407842b71..d507bb8b8 100644 --- a/apps/scandic-web/components/ContentType/HotelSubpage/Sidebar/RestaurantSidebar.tsx +++ b/apps/scandic-web/components/ContentType/HotelSubpage/Sidebar/RestaurantSidebar.tsx @@ -1,4 +1,4 @@ -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { Typography } from "@scandic-hotels/design-system/Typography" import OpeningHours from "@/components/OpeningHours" diff --git a/apps/scandic-web/components/DatePicker/Range/Desktop.tsx b/apps/scandic-web/components/DatePicker/Range/Desktop.tsx index f90ead47b..3452eecf5 100644 --- a/apps/scandic-web/components/DatePicker/Range/Desktop.tsx +++ b/apps/scandic-web/components/DatePicker/Range/Desktop.tsx @@ -4,7 +4,7 @@ import { useState } from "react" import { DayPicker } from "react-day-picker" import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { Lang } from "@/constants/languages" import { dt } from "@/lib/dt" diff --git a/apps/scandic-web/components/DatePicker/Range/Mobile.tsx b/apps/scandic-web/components/DatePicker/Range/Mobile.tsx index 8da35a856..f81659b36 100644 --- a/apps/scandic-web/components/DatePicker/Range/Mobile.tsx +++ b/apps/scandic-web/components/DatePicker/Range/Mobile.tsx @@ -2,7 +2,7 @@ import { DayPicker } from "react-day-picker" import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { Lang } from "@/constants/languages" import { dt } from "@/lib/dt" diff --git a/apps/scandic-web/components/DatePicker/Single/Desktop.tsx b/apps/scandic-web/components/DatePicker/Single/Desktop.tsx index 34e0bf665..232c8bd8d 100644 --- a/apps/scandic-web/components/DatePicker/Single/Desktop.tsx +++ b/apps/scandic-web/components/DatePicker/Single/Desktop.tsx @@ -4,7 +4,7 @@ import { useState } from "react" import { DayPicker } from "react-day-picker" import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { Lang } from "@/constants/languages" import { dt } from "@/lib/dt" diff --git a/apps/scandic-web/components/DestinationFilterAndSort/Filter/Checkbox/index.tsx b/apps/scandic-web/components/DestinationFilterAndSort/Filter/Checkbox/index.tsx index 33cc233a9..27a928e79 100644 --- a/apps/scandic-web/components/DestinationFilterAndSort/Filter/Checkbox/index.tsx +++ b/apps/scandic-web/components/DestinationFilterAndSort/Filter/Checkbox/index.tsx @@ -2,7 +2,7 @@ import { Checkbox as AriaCheckbox } from "react-aria-components" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import Body from "@/components/TempDesignSystem/Text/Body" diff --git a/apps/scandic-web/components/DestinationFilterAndSort/index.tsx b/apps/scandic-web/components/DestinationFilterAndSort/index.tsx index 65902042d..f4510c684 100644 --- a/apps/scandic-web/components/DestinationFilterAndSort/index.tsx +++ b/apps/scandic-web/components/DestinationFilterAndSort/index.tsx @@ -10,7 +10,7 @@ import { } from "react-aria-components" import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { useDestinationDataStore } from "@/stores/destination-data" diff --git a/apps/scandic-web/components/Footer/Navigation/MainNav/index.tsx b/apps/scandic-web/components/Footer/Navigation/MainNav/index.tsx index 73884bb2f..69d99dcca 100644 --- a/apps/scandic-web/components/Footer/Navigation/MainNav/index.tsx +++ b/apps/scandic-web/components/Footer/Navigation/MainNav/index.tsx @@ -1,6 +1,6 @@ "use client" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import SkeletonShimmer from "@/components/SkeletonShimmer" import Link from "@/components/TempDesignSystem/Link" diff --git a/apps/scandic-web/components/Forms/BookingWidget/FormContent/BookingCode/index.tsx b/apps/scandic-web/components/Forms/BookingWidget/FormContent/BookingCode/index.tsx index d4dd7f3ab..46503e9a5 100644 --- a/apps/scandic-web/components/Forms/BookingWidget/FormContent/BookingCode/index.tsx +++ b/apps/scandic-web/components/Forms/BookingWidget/FormContent/BookingCode/index.tsx @@ -4,7 +4,7 @@ import { type FieldError, useFormContext } from "react-hook-form" import { useIntl } from "react-intl" import { useMediaQuery } from "usehooks-ts" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { REDEMPTION } from "@/constants/booking" diff --git a/apps/scandic-web/components/Forms/BookingWidget/FormContent/RewardNight/index.tsx b/apps/scandic-web/components/Forms/BookingWidget/FormContent/RewardNight/index.tsx index ec28ddcf7..e4a592c8d 100644 --- a/apps/scandic-web/components/Forms/BookingWidget/FormContent/RewardNight/index.tsx +++ b/apps/scandic-web/components/Forms/BookingWidget/FormContent/RewardNight/index.tsx @@ -4,7 +4,7 @@ import { useCallback, useEffect, useRef } from "react" import { useFormContext } from "react-hook-form" import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { Typography } from "@scandic-hotels/design-system/Typography" import { REDEMPTION } from "@/constants/booking" diff --git a/apps/scandic-web/components/Forms/BookingWidget/FormContent/Search/SearchList/ClearSearchButton/index.tsx b/apps/scandic-web/components/Forms/BookingWidget/FormContent/Search/SearchList/ClearSearchButton/index.tsx index 0c3c1ca19..7f58ec5dc 100644 --- a/apps/scandic-web/components/Forms/BookingWidget/FormContent/Search/SearchList/ClearSearchButton/index.tsx +++ b/apps/scandic-web/components/Forms/BookingWidget/FormContent/Search/SearchList/ClearSearchButton/index.tsx @@ -1,7 +1,7 @@ "use client" import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import Caption from "@/components/TempDesignSystem/Text/Caption" diff --git a/apps/scandic-web/components/Forms/BookingWidget/FormContent/Search/SearchList/index.tsx b/apps/scandic-web/components/Forms/BookingWidget/FormContent/Search/SearchList/index.tsx index 43ed506ab..b49aa0b06 100644 --- a/apps/scandic-web/components/Forms/BookingWidget/FormContent/Search/SearchList/index.tsx +++ b/apps/scandic-web/components/Forms/BookingWidget/FormContent/Search/SearchList/index.tsx @@ -3,7 +3,7 @@ import { useEffect, useState } from "react" import { useFormContext } from "react-hook-form" import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import Divider from "@/components/TempDesignSystem/Divider" import Body from "@/components/TempDesignSystem/Text/Body" diff --git a/apps/scandic-web/components/Forms/BookingWidget/FormContent/index.tsx b/apps/scandic-web/components/Forms/BookingWidget/FormContent/index.tsx index 6fa09df86..593cdb48e 100644 --- a/apps/scandic-web/components/Forms/BookingWidget/FormContent/index.tsx +++ b/apps/scandic-web/components/Forms/BookingWidget/FormContent/index.tsx @@ -2,7 +2,7 @@ import { useFormContext, useWatch } from "react-hook-form" import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { dt } from "@/lib/dt" diff --git a/apps/scandic-web/components/GuestsRoomsPicker/ChildSelector/ChildInfoSelector.tsx b/apps/scandic-web/components/GuestsRoomsPicker/ChildSelector/ChildInfoSelector.tsx index e74b21643..fbedbd796 100644 --- a/apps/scandic-web/components/GuestsRoomsPicker/ChildSelector/ChildInfoSelector.tsx +++ b/apps/scandic-web/components/GuestsRoomsPicker/ChildSelector/ChildInfoSelector.tsx @@ -3,7 +3,7 @@ import { useFormContext } from "react-hook-form" import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import Select from "@/components/TempDesignSystem/Select" import Caption from "@/components/TempDesignSystem/Text/Caption" diff --git a/apps/scandic-web/components/GuestsRoomsPicker/Counter/index.tsx b/apps/scandic-web/components/GuestsRoomsPicker/Counter/index.tsx index 84e89742f..4e170c5f6 100644 --- a/apps/scandic-web/components/GuestsRoomsPicker/Counter/index.tsx +++ b/apps/scandic-web/components/GuestsRoomsPicker/Counter/index.tsx @@ -1,6 +1,6 @@ "use client" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import Button from "@/components/TempDesignSystem/Button" import Body from "@/components/TempDesignSystem/Text/Body" diff --git a/apps/scandic-web/components/GuestsRoomsPicker/Form.tsx b/apps/scandic-web/components/GuestsRoomsPicker/Form.tsx index 77d5519d9..b9b391191 100644 --- a/apps/scandic-web/components/GuestsRoomsPicker/Form.tsx +++ b/apps/scandic-web/components/GuestsRoomsPicker/Form.tsx @@ -4,7 +4,7 @@ import { useCallback, useEffect } from "react" import { useFormContext, useWatch } from "react-hook-form" import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { REDEMPTION } from "@/constants/booking" diff --git a/apps/scandic-web/components/GuestsRoomsPicker/GuestsRoom/index.tsx b/apps/scandic-web/components/GuestsRoomsPicker/GuestsRoom/index.tsx index b8d06c42c..0ee57b6ac 100644 --- a/apps/scandic-web/components/GuestsRoomsPicker/GuestsRoom/index.tsx +++ b/apps/scandic-web/components/GuestsRoomsPicker/GuestsRoom/index.tsx @@ -1,6 +1,6 @@ import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import Button from "@/components/TempDesignSystem/Button" import Divider from "@/components/TempDesignSystem/Divider" diff --git a/apps/scandic-web/components/Header/MainMenu/Avatar/index.tsx b/apps/scandic-web/components/Header/MainMenu/Avatar/index.tsx index 5b8d8754e..82e5e8d41 100644 --- a/apps/scandic-web/components/Header/MainMenu/Avatar/index.tsx +++ b/apps/scandic-web/components/Header/MainMenu/Avatar/index.tsx @@ -1,4 +1,4 @@ -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import Image from "@/components/Image" import Footnote from "@/components/TempDesignSystem/Text/Footnote" diff --git a/apps/scandic-web/components/Header/MainMenu/LogoLink/index.tsx b/apps/scandic-web/components/Header/MainMenu/LogoLink/index.tsx index fe3a13b6d..651169f07 100644 --- a/apps/scandic-web/components/Header/MainMenu/LogoLink/index.tsx +++ b/apps/scandic-web/components/Header/MainMenu/LogoLink/index.tsx @@ -2,7 +2,7 @@ import NextLink from "next/link" import { useIntl } from "react-intl" -import { ScandicLogoIcon } from "@scandic-hotels/design-system/Icons" +import ScandicLogoIcon from "@scandic-hotels/design-system/Icons/ScandicLogoIcon" import useDropdownStore from "@/stores/main-menu" diff --git a/apps/scandic-web/components/Header/MainMenu/MyPagesMenu/index.tsx b/apps/scandic-web/components/Header/MainMenu/MyPagesMenu/index.tsx index d004a69dd..f6f2d8704 100644 --- a/apps/scandic-web/components/Header/MainMenu/MyPagesMenu/index.tsx +++ b/apps/scandic-web/components/Header/MainMenu/MyPagesMenu/index.tsx @@ -3,7 +3,7 @@ import { useRef } from "react" import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import useDropdownStore from "@/stores/main-menu" diff --git a/apps/scandic-web/components/Header/MainMenu/MyPagesMenuContent/index.tsx b/apps/scandic-web/components/Header/MainMenu/MyPagesMenuContent/index.tsx index d5a05d624..67e84c957 100644 --- a/apps/scandic-web/components/Header/MainMenu/MyPagesMenuContent/index.tsx +++ b/apps/scandic-web/components/Header/MainMenu/MyPagesMenuContent/index.tsx @@ -3,7 +3,7 @@ import FocusLock from "react-focus-lock" import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { logout } from "@/constants/routes/handleAuth" import { trpc } from "@/lib/trpc/client" diff --git a/apps/scandic-web/components/Header/MainMenu/NavigationMenu/MegaMenu/index.tsx b/apps/scandic-web/components/Header/MainMenu/NavigationMenu/MegaMenu/index.tsx index 542a84562..d276071e4 100644 --- a/apps/scandic-web/components/Header/MainMenu/NavigationMenu/MegaMenu/index.tsx +++ b/apps/scandic-web/components/Header/MainMenu/NavigationMenu/MegaMenu/index.tsx @@ -2,7 +2,7 @@ import FocusLock from "react-focus-lock" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import useDropdownStore from "@/stores/main-menu" diff --git a/apps/scandic-web/components/Header/MainMenu/NavigationMenu/NavigationMenuItem/index.tsx b/apps/scandic-web/components/Header/MainMenu/NavigationMenu/NavigationMenuItem/index.tsx index e9ed245ea..d579da9e9 100644 --- a/apps/scandic-web/components/Header/MainMenu/NavigationMenu/NavigationMenuItem/index.tsx +++ b/apps/scandic-web/components/Header/MainMenu/NavigationMenu/NavigationMenuItem/index.tsx @@ -2,7 +2,7 @@ import { useRef } from "react" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import useDropdownStore from "@/stores/main-menu" diff --git a/apps/scandic-web/components/HotelReservation/BookingConfirmation/Header/Actions/AddToCalendarButton.tsx b/apps/scandic-web/components/HotelReservation/BookingConfirmation/Header/Actions/AddToCalendarButton.tsx index 6da52999b..d0edbe334 100644 --- a/apps/scandic-web/components/HotelReservation/BookingConfirmation/Header/Actions/AddToCalendarButton.tsx +++ b/apps/scandic-web/components/HotelReservation/BookingConfirmation/Header/Actions/AddToCalendarButton.tsx @@ -1,7 +1,7 @@ "use client" import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import Button from "@/components/TempDesignSystem/Button" diff --git a/apps/scandic-web/components/HotelReservation/BookingConfirmation/Header/Actions/DownloadInvoice.tsx b/apps/scandic-web/components/HotelReservation/BookingConfirmation/Header/Actions/DownloadInvoice.tsx index 94931b918..2ee92e4ee 100644 --- a/apps/scandic-web/components/HotelReservation/BookingConfirmation/Header/Actions/DownloadInvoice.tsx +++ b/apps/scandic-web/components/HotelReservation/BookingConfirmation/Header/Actions/DownloadInvoice.tsx @@ -2,7 +2,7 @@ import { useIntl } from "react-intl" import { useReactToPrint } from "react-to-print" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import Button from "@/components/TempDesignSystem/Button" diff --git a/apps/scandic-web/components/HotelReservation/BookingConfirmation/Header/Actions/ManageBooking.tsx b/apps/scandic-web/components/HotelReservation/BookingConfirmation/Header/Actions/ManageBooking.tsx index e9d3231e8..7a3e8bb82 100644 --- a/apps/scandic-web/components/HotelReservation/BookingConfirmation/Header/Actions/ManageBooking.tsx +++ b/apps/scandic-web/components/HotelReservation/BookingConfirmation/Header/Actions/ManageBooking.tsx @@ -1,7 +1,7 @@ "use client" import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import Button from "@/components/TempDesignSystem/Button" import Link from "@/components/TempDesignSystem/Link" diff --git a/apps/scandic-web/components/HotelReservation/BookingConfirmation/PriceDetailsModal/index.tsx b/apps/scandic-web/components/HotelReservation/BookingConfirmation/PriceDetailsModal/index.tsx index 1ef8a394f..bc2768c36 100644 --- a/apps/scandic-web/components/HotelReservation/BookingConfirmation/PriceDetailsModal/index.tsx +++ b/apps/scandic-web/components/HotelReservation/BookingConfirmation/PriceDetailsModal/index.tsx @@ -2,7 +2,7 @@ import React from "react" import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { Typography } from "@scandic-hotels/design-system/Typography" import { dt } from "@/lib/dt" diff --git a/apps/scandic-web/components/HotelReservation/BookingConfirmation/Receipt/Room/index.tsx b/apps/scandic-web/components/HotelReservation/BookingConfirmation/Receipt/Room/index.tsx index 8a942007b..1a39d8eb9 100644 --- a/apps/scandic-web/components/HotelReservation/BookingConfirmation/Receipt/Room/index.tsx +++ b/apps/scandic-web/components/HotelReservation/BookingConfirmation/Receipt/Room/index.tsx @@ -2,7 +2,7 @@ import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { Typography } from "@scandic-hotels/design-system/Typography" import { CancellationRuleEnum, ChildBedTypeEnum } from "@/constants/booking" diff --git a/apps/scandic-web/components/HotelReservation/BookingConfirmation/Rooms/Room/index.tsx b/apps/scandic-web/components/HotelReservation/BookingConfirmation/Rooms/Room/index.tsx index 054d56da9..1c3aecfc1 100644 --- a/apps/scandic-web/components/HotelReservation/BookingConfirmation/Rooms/Room/index.tsx +++ b/apps/scandic-web/components/HotelReservation/BookingConfirmation/Rooms/Room/index.tsx @@ -2,7 +2,7 @@ import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { Typography } from "@scandic-hotels/design-system/Typography" import { CancellationRuleEnum } from "@/constants/booking" diff --git a/apps/scandic-web/components/HotelReservation/Contact/index.tsx b/apps/scandic-web/components/HotelReservation/Contact/index.tsx index 64f405782..6fc7d03c2 100644 --- a/apps/scandic-web/components/HotelReservation/Contact/index.tsx +++ b/apps/scandic-web/components/HotelReservation/Contact/index.tsx @@ -2,10 +2,8 @@ import { useIntl } from "react-intl" -import { - FacebookIcon, - InstagramIcon, -} from "@scandic-hotels/design-system/Icons" +import FacebookIcon from "@scandic-hotels/design-system/Icons/FacebookIcon" +import InstagramIcon from "@scandic-hotels/design-system/Icons/InstagramIcon" import Image from "@/components/Image" import Link from "@/components/TempDesignSystem/Link" diff --git a/apps/scandic-web/components/HotelReservation/EnterDetails/Breakfast/index.tsx b/apps/scandic-web/components/HotelReservation/EnterDetails/Breakfast/index.tsx index 22c3a89f7..b85dd6e1c 100644 --- a/apps/scandic-web/components/HotelReservation/EnterDetails/Breakfast/index.tsx +++ b/apps/scandic-web/components/HotelReservation/EnterDetails/Breakfast/index.tsx @@ -5,10 +5,8 @@ import { useCallback, useEffect } from "react" import { FormProvider, useForm } from "react-hook-form" import { useIntl } from "react-intl" -import { - BreakfastBuffetIcon, - NoBreakfastBuffetIcon, -} from "@scandic-hotels/design-system/Icons" +import BreakfastBuffetIcon from "@scandic-hotels/design-system/Icons/BreakfastBuffetIcon" +import NoBreakfastBuffetIcon from "@scandic-hotels/design-system/Icons/NoBreakfastBuffetIcon" import { useEnterDetailsStore } from "@/stores/enter-details" diff --git a/apps/scandic-web/components/HotelReservation/EnterDetails/Confirm/index.tsx b/apps/scandic-web/components/HotelReservation/EnterDetails/Confirm/index.tsx index 7fd850256..a069cf534 100644 --- a/apps/scandic-web/components/HotelReservation/EnterDetails/Confirm/index.tsx +++ b/apps/scandic-web/components/HotelReservation/EnterDetails/Confirm/index.tsx @@ -5,7 +5,7 @@ import { useFormContext } from "react-hook-form" import { useIntl } from "react-intl" import { Button } from "@scandic-hotels/design-system/Button" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { Typography } from "@scandic-hotels/design-system/Typography" import { PaymentMethodEnum } from "@/constants/booking" diff --git a/apps/scandic-web/components/HotelReservation/EnterDetails/Details/Multiroom/JoinScandicFriendsCard/index.tsx b/apps/scandic-web/components/HotelReservation/EnterDetails/Details/Multiroom/JoinScandicFriendsCard/index.tsx index 558a06de1..75911724f 100644 --- a/apps/scandic-web/components/HotelReservation/EnterDetails/Details/Multiroom/JoinScandicFriendsCard/index.tsx +++ b/apps/scandic-web/components/HotelReservation/EnterDetails/Details/Multiroom/JoinScandicFriendsCard/index.tsx @@ -2,7 +2,7 @@ import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import Checkbox from "@/components/TempDesignSystem/Form/Checkbox" import Caption from "@/components/TempDesignSystem/Text/Caption" diff --git a/apps/scandic-web/components/HotelReservation/EnterDetails/Details/RoomOne/JoinScandicFriendsCard/index.tsx b/apps/scandic-web/components/HotelReservation/EnterDetails/Details/RoomOne/JoinScandicFriendsCard/index.tsx index 84838dea3..86e64c526 100644 --- a/apps/scandic-web/components/HotelReservation/EnterDetails/Details/RoomOne/JoinScandicFriendsCard/index.tsx +++ b/apps/scandic-web/components/HotelReservation/EnterDetails/Details/RoomOne/JoinScandicFriendsCard/index.tsx @@ -2,7 +2,7 @@ import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { privacyPolicy } from "@/constants/currentWebHrefs" diff --git a/apps/scandic-web/components/HotelReservation/EnterDetails/Details/RoomOne/MemberPriceModal/index.tsx b/apps/scandic-web/components/HotelReservation/EnterDetails/Details/RoomOne/MemberPriceModal/index.tsx index 50c47fbd3..0155c5232 100644 --- a/apps/scandic-web/components/HotelReservation/EnterDetails/Details/RoomOne/MemberPriceModal/index.tsx +++ b/apps/scandic-web/components/HotelReservation/EnterDetails/Details/RoomOne/MemberPriceModal/index.tsx @@ -2,7 +2,7 @@ import { useIntl } from "react-intl" -import { MagicWandIcon } from "@scandic-hotels/design-system/Icons" +import MagicWandIcon from "@scandic-hotels/design-system/Icons/MagicWandIcon" import Modal from "@/components/Modal" import Button from "@/components/TempDesignSystem/Button" diff --git a/apps/scandic-web/components/HotelReservation/EnterDetails/Details/SpecialRequests/index.tsx b/apps/scandic-web/components/HotelReservation/EnterDetails/Details/SpecialRequests/index.tsx index 5aeb8467e..33768f4b9 100644 --- a/apps/scandic-web/components/HotelReservation/EnterDetails/Details/SpecialRequests/index.tsx +++ b/apps/scandic-web/components/HotelReservation/EnterDetails/Details/SpecialRequests/index.tsx @@ -1,7 +1,7 @@ import { useState } from "react" import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import Divider from "@/components/TempDesignSystem/Divider" import TextArea from "@/components/TempDesignSystem/Form/TextArea" diff --git a/apps/scandic-web/components/HotelReservation/EnterDetails/Header/ToggleSidePeek.tsx b/apps/scandic-web/components/HotelReservation/EnterDetails/Header/ToggleSidePeek.tsx index 3792be5dc..a262a0176 100644 --- a/apps/scandic-web/components/HotelReservation/EnterDetails/Header/ToggleSidePeek.tsx +++ b/apps/scandic-web/components/HotelReservation/EnterDetails/Header/ToggleSidePeek.tsx @@ -1,7 +1,7 @@ "use client" import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import useSidePeekStore from "@/stores/sidepeek" diff --git a/apps/scandic-web/components/HotelReservation/EnterDetails/Payment/GuaranteeDetails/index.tsx b/apps/scandic-web/components/HotelReservation/EnterDetails/Payment/GuaranteeDetails/index.tsx index aca6f976e..63fd37375 100644 --- a/apps/scandic-web/components/HotelReservation/EnterDetails/Payment/GuaranteeDetails/index.tsx +++ b/apps/scandic-web/components/HotelReservation/EnterDetails/Payment/GuaranteeDetails/index.tsx @@ -1,6 +1,6 @@ import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import Body from "@/components/TempDesignSystem/Text/Body" import Caption from "@/components/TempDesignSystem/Text/Caption" diff --git a/apps/scandic-web/components/HotelReservation/EnterDetails/PriceChangeDialog/PriceChangeSummary/index.tsx b/apps/scandic-web/components/HotelReservation/EnterDetails/PriceChangeDialog/PriceChangeSummary/index.tsx index 239a4dccb..d7d1aba27 100644 --- a/apps/scandic-web/components/HotelReservation/EnterDetails/PriceChangeDialog/PriceChangeSummary/index.tsx +++ b/apps/scandic-web/components/HotelReservation/EnterDetails/PriceChangeDialog/PriceChangeSummary/index.tsx @@ -9,7 +9,7 @@ import { } from "react-aria-components" import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import Button from "@/components/TempDesignSystem/Button" import Divider from "@/components/TempDesignSystem/Divider" diff --git a/apps/scandic-web/components/HotelReservation/EnterDetails/PriceChangeDialog/index.tsx b/apps/scandic-web/components/HotelReservation/EnterDetails/PriceChangeDialog/index.tsx index 7f5aaa1fa..167fff74c 100644 --- a/apps/scandic-web/components/HotelReservation/EnterDetails/PriceChangeDialog/index.tsx +++ b/apps/scandic-web/components/HotelReservation/EnterDetails/PriceChangeDialog/index.tsx @@ -1,7 +1,7 @@ import { Dialog, Modal, ModalOverlay } from "react-aria-components" import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { useEnterDetailsStore } from "@/stores/enter-details" diff --git a/apps/scandic-web/components/HotelReservation/EnterDetails/SelectedRoom/ToggleSidePeek.tsx b/apps/scandic-web/components/HotelReservation/EnterDetails/SelectedRoom/ToggleSidePeek.tsx index b42eb8d49..50964feb9 100644 --- a/apps/scandic-web/components/HotelReservation/EnterDetails/SelectedRoom/ToggleSidePeek.tsx +++ b/apps/scandic-web/components/HotelReservation/EnterDetails/SelectedRoom/ToggleSidePeek.tsx @@ -2,7 +2,7 @@ import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import useSidePeekStore from "@/stores/sidepeek" diff --git a/apps/scandic-web/components/HotelReservation/EnterDetails/SelectedRoom/index.tsx b/apps/scandic-web/components/HotelReservation/EnterDetails/SelectedRoom/index.tsx index 922383465..bb3cd9e0c 100644 --- a/apps/scandic-web/components/HotelReservation/EnterDetails/SelectedRoom/index.tsx +++ b/apps/scandic-web/components/HotelReservation/EnterDetails/SelectedRoom/index.tsx @@ -4,7 +4,7 @@ import { useRouter } from "next/navigation" import { useTransition } from "react" import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { selectRate } from "@/constants/routes/hotelReservation" import { useEnterDetailsStore } from "@/stores/enter-details" diff --git a/apps/scandic-web/components/HotelReservation/EnterDetails/Summary/UI/PriceDetailsTable/index.tsx b/apps/scandic-web/components/HotelReservation/EnterDetails/Summary/UI/PriceDetailsTable/index.tsx index ce6fd5fcc..d9bcdc7da 100644 --- a/apps/scandic-web/components/HotelReservation/EnterDetails/Summary/UI/PriceDetailsTable/index.tsx +++ b/apps/scandic-web/components/HotelReservation/EnterDetails/Summary/UI/PriceDetailsTable/index.tsx @@ -3,7 +3,7 @@ import { Fragment } from "react" import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { dt } from "@/lib/dt" diff --git a/apps/scandic-web/components/HotelReservation/EnterDetails/Summary/UI/index.tsx b/apps/scandic-web/components/HotelReservation/EnterDetails/Summary/UI/index.tsx index 38561b256..e6aee14d8 100644 --- a/apps/scandic-web/components/HotelReservation/EnterDetails/Summary/UI/index.tsx +++ b/apps/scandic-web/components/HotelReservation/EnterDetails/Summary/UI/index.tsx @@ -3,7 +3,7 @@ import { Fragment } from "react" import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { dt } from "@/lib/dt" diff --git a/apps/scandic-web/components/HotelReservation/HotelCard/NoPriceAvailableCard/index.tsx b/apps/scandic-web/components/HotelReservation/HotelCard/NoPriceAvailableCard/index.tsx index 2bb5ce667..cd2669c50 100644 --- a/apps/scandic-web/components/HotelReservation/HotelCard/NoPriceAvailableCard/index.tsx +++ b/apps/scandic-web/components/HotelReservation/HotelCard/NoPriceAvailableCard/index.tsx @@ -1,6 +1,6 @@ import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import Caption from "@/components/TempDesignSystem/Text/Caption" diff --git a/apps/scandic-web/components/HotelReservation/HotelCard/index.tsx b/apps/scandic-web/components/HotelReservation/HotelCard/index.tsx index da4922df1..a714face9 100644 --- a/apps/scandic-web/components/HotelReservation/HotelCard/index.tsx +++ b/apps/scandic-web/components/HotelReservation/HotelCard/index.tsx @@ -5,7 +5,8 @@ import { useRouter, useSearchParams } from "next/navigation" import { memo, useCallback } from "react" import { useIntl } from "react-intl" -import { HotelLogo, MaterialIcon } from "@scandic-hotels/design-system/Icons" +import HotelLogoIcon from "@scandic-hotels/design-system/Icons/HotelLogoIcon" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { Typography } from "@scandic-hotels/design-system/Typography" import { selectHotelMap, selectRate } from "@/constants/routes/hotelReservation" @@ -106,7 +107,10 @@ function HotelCard({
- + {hotel.name} diff --git a/apps/scandic-web/components/HotelReservation/HotelCardDialog/HotelCardDialogImage/index.tsx b/apps/scandic-web/components/HotelReservation/HotelCardDialog/HotelCardDialogImage/index.tsx index ff4f3db6e..6891039a4 100644 --- a/apps/scandic-web/components/HotelReservation/HotelCardDialog/HotelCardDialogImage/index.tsx +++ b/apps/scandic-web/components/HotelReservation/HotelCardDialog/HotelCardDialogImage/index.tsx @@ -1,4 +1,4 @@ -import { TripadvisorIcon } from "@scandic-hotels/design-system/Icons" +import TripadvisorIcon from "@scandic-hotels/design-system/Icons/TripadvisorIcon" import Image from "@/components/Image" import Chip from "@/components/TempDesignSystem/Chip" diff --git a/apps/scandic-web/components/HotelReservation/HotelCardDialog/index.tsx b/apps/scandic-web/components/HotelReservation/HotelCardDialog/index.tsx index e43f0e88e..d14349638 100644 --- a/apps/scandic-web/components/HotelReservation/HotelCardDialog/index.tsx +++ b/apps/scandic-web/components/HotelReservation/HotelCardDialog/index.tsx @@ -3,7 +3,7 @@ import { useParams } from "next/navigation" import { useState } from "react" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import ListingHotelCardDialog from "./ListingHotelCardDialog" import StandaloneHotelCardDialog from "./StandaloneHotelCardDialog" diff --git a/apps/scandic-web/components/HotelReservation/MyStay/Ancillaries/AddAncillaryFlow/AddAncillaryFlowModal/ActionButtons/index.tsx b/apps/scandic-web/components/HotelReservation/MyStay/Ancillaries/AddAncillaryFlow/AddAncillaryFlowModal/ActionButtons/index.tsx index 471862295..360f63d3a 100644 --- a/apps/scandic-web/components/HotelReservation/MyStay/Ancillaries/AddAncillaryFlow/AddAncillaryFlowModal/ActionButtons/index.tsx +++ b/apps/scandic-web/components/HotelReservation/MyStay/Ancillaries/AddAncillaryFlow/AddAncillaryFlowModal/ActionButtons/index.tsx @@ -3,7 +3,7 @@ import { useIntl } from "react-intl" import { useMediaQuery } from "usehooks-ts" import { Button } from "@scandic-hotels/design-system/Button" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { AncillaryStepEnum, diff --git a/apps/scandic-web/components/HotelReservation/MyStay/Ancillaries/AddAncillaryFlow/AddAncillaryFlowModal/Steps/SelectQuantityStep/index.tsx b/apps/scandic-web/components/HotelReservation/MyStay/Ancillaries/AddAncillaryFlow/AddAncillaryFlowModal/Steps/SelectQuantityStep/index.tsx index a7c489a3f..4a2ca4b0a 100644 --- a/apps/scandic-web/components/HotelReservation/MyStay/Ancillaries/AddAncillaryFlow/AddAncillaryFlowModal/Steps/SelectQuantityStep/index.tsx +++ b/apps/scandic-web/components/HotelReservation/MyStay/Ancillaries/AddAncillaryFlow/AddAncillaryFlowModal/Steps/SelectQuantityStep/index.tsx @@ -1,7 +1,7 @@ import { useFormContext } from "react-hook-form" import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { Typography } from "@scandic-hotels/design-system/Typography" import { useAddAncillaryStore } from "@/stores/my-stay/add-ancillary-flow" diff --git a/apps/scandic-web/components/HotelReservation/MyStay/Ancillaries/AddedAncillaries/RemoveButton.tsx b/apps/scandic-web/components/HotelReservation/MyStay/Ancillaries/AddedAncillaries/RemoveButton.tsx index 57474186d..f1e24c8de 100644 --- a/apps/scandic-web/components/HotelReservation/MyStay/Ancillaries/AddedAncillaries/RemoveButton.tsx +++ b/apps/scandic-web/components/HotelReservation/MyStay/Ancillaries/AddedAncillaries/RemoveButton.tsx @@ -1,6 +1,6 @@ import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { trpc } from "@/lib/trpc/client" diff --git a/apps/scandic-web/components/HotelReservation/MyStay/Ancillaries/AddedAncillaries/index.tsx b/apps/scandic-web/components/HotelReservation/MyStay/Ancillaries/AddedAncillaries/index.tsx index bba3acf29..e78e96817 100644 --- a/apps/scandic-web/components/HotelReservation/MyStay/Ancillaries/AddedAncillaries/index.tsx +++ b/apps/scandic-web/components/HotelReservation/MyStay/Ancillaries/AddedAncillaries/index.tsx @@ -1,7 +1,7 @@ import { useRouter } from "next/navigation" import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import Accordion from "@/components/TempDesignSystem/Accordion" import AccordionItem from "@/components/TempDesignSystem/Accordion/AccordionItem" diff --git a/apps/scandic-web/components/HotelReservation/MyStay/Ancillaries/ViewAllAncillaries/index.tsx b/apps/scandic-web/components/HotelReservation/MyStay/Ancillaries/ViewAllAncillaries/index.tsx index 2e5ea7672..b5c8f3d3b 100644 --- a/apps/scandic-web/components/HotelReservation/MyStay/Ancillaries/ViewAllAncillaries/index.tsx +++ b/apps/scandic-web/components/HotelReservation/MyStay/Ancillaries/ViewAllAncillaries/index.tsx @@ -1,6 +1,6 @@ import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { useAddAncillaryStore } from "@/stores/my-stay/add-ancillary-flow" diff --git a/apps/scandic-web/components/HotelReservation/MyStay/BookingSummary/index.tsx b/apps/scandic-web/components/HotelReservation/MyStay/BookingSummary/index.tsx index 6588320f7..7348814de 100644 --- a/apps/scandic-web/components/HotelReservation/MyStay/BookingSummary/index.tsx +++ b/apps/scandic-web/components/HotelReservation/MyStay/BookingSummary/index.tsx @@ -2,7 +2,7 @@ import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { Typography } from "@scandic-hotels/design-system/Typography" import { dt } from "@/lib/dt" diff --git a/apps/scandic-web/components/HotelReservation/MyStay/GuestDetails/index.tsx b/apps/scandic-web/components/HotelReservation/MyStay/GuestDetails/index.tsx index bbfc8dc76..10a005943 100644 --- a/apps/scandic-web/components/HotelReservation/MyStay/GuestDetails/index.tsx +++ b/apps/scandic-web/components/HotelReservation/MyStay/GuestDetails/index.tsx @@ -6,7 +6,7 @@ import { Dialog } from "react-aria-components" import { FormProvider, useForm } from "react-hook-form" import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { Typography } from "@scandic-hotels/design-system/Typography" import { trpc } from "@/lib/trpc/client" diff --git a/apps/scandic-web/components/HotelReservation/MyStay/ManageStay/ActionPanel/Actions/AddToCalendarButton.tsx b/apps/scandic-web/components/HotelReservation/MyStay/ManageStay/ActionPanel/Actions/AddToCalendarButton.tsx index 2d8ff432f..2904469e2 100644 --- a/apps/scandic-web/components/HotelReservation/MyStay/ManageStay/ActionPanel/Actions/AddToCalendarButton.tsx +++ b/apps/scandic-web/components/HotelReservation/MyStay/ManageStay/ActionPanel/Actions/AddToCalendarButton.tsx @@ -2,7 +2,7 @@ import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import Button from "@/components/TempDesignSystem/Button" import { trackMyStayPageLink } from "@/utils/tracking" diff --git a/apps/scandic-web/components/HotelReservation/MyStay/ManageStay/ActionPanel/Actions/ModifyStay/NewDates/CalendarButton/index.tsx b/apps/scandic-web/components/HotelReservation/MyStay/ManageStay/ActionPanel/Actions/ModifyStay/NewDates/CalendarButton/index.tsx index e49bd27a1..81b19f19c 100644 --- a/apps/scandic-web/components/HotelReservation/MyStay/ManageStay/ActionPanel/Actions/ModifyStay/NewDates/CalendarButton/index.tsx +++ b/apps/scandic-web/components/HotelReservation/MyStay/ManageStay/ActionPanel/Actions/ModifyStay/NewDates/CalendarButton/index.tsx @@ -2,7 +2,7 @@ import { Button as ButtonRAC } from "react-aria-components" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { Typography } from "@scandic-hotels/design-system/Typography" import styles from "./calendarButton.module.css" diff --git a/apps/scandic-web/components/HotelReservation/MyStay/ManageStay/ActionPanel/index.tsx b/apps/scandic-web/components/HotelReservation/MyStay/ManageStay/ActionPanel/index.tsx index 9f1ec62a7..6a82837e0 100644 --- a/apps/scandic-web/components/HotelReservation/MyStay/ManageStay/ActionPanel/index.tsx +++ b/apps/scandic-web/components/HotelReservation/MyStay/ManageStay/ActionPanel/index.tsx @@ -1,7 +1,7 @@ "use client" import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { Typography } from "@scandic-hotels/design-system/Typography" import { customerService } from "@/constants/currentWebHrefs" diff --git a/apps/scandic-web/components/HotelReservation/MyStay/ManageStay/index.tsx b/apps/scandic-web/components/HotelReservation/MyStay/ManageStay/index.tsx index ae19902fd..abe76272d 100644 --- a/apps/scandic-web/components/HotelReservation/MyStay/ManageStay/index.tsx +++ b/apps/scandic-web/components/HotelReservation/MyStay/ManageStay/index.tsx @@ -2,7 +2,7 @@ import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { useManageStayStore } from "@/stores/my-stay/manageStayStore" import { useMyStayRoomDetailsStore } from "@/stores/my-stay/myStayRoomDetailsStore" diff --git a/apps/scandic-web/components/HotelReservation/MyStay/MultiRoom/ToggleSidePeek.tsx b/apps/scandic-web/components/HotelReservation/MyStay/MultiRoom/ToggleSidePeek.tsx index d4a1ea320..ea4591696 100644 --- a/apps/scandic-web/components/HotelReservation/MyStay/MultiRoom/ToggleSidePeek.tsx +++ b/apps/scandic-web/components/HotelReservation/MyStay/MultiRoom/ToggleSidePeek.tsx @@ -1,6 +1,6 @@ "use client" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import useSidePeekStore from "@/stores/sidepeek" diff --git a/apps/scandic-web/components/HotelReservation/MyStay/MultiRoom/index.tsx b/apps/scandic-web/components/HotelReservation/MyStay/MultiRoom/index.tsx index 79b774dbb..85258b19a 100644 --- a/apps/scandic-web/components/HotelReservation/MyStay/MultiRoom/index.tsx +++ b/apps/scandic-web/components/HotelReservation/MyStay/MultiRoom/index.tsx @@ -2,7 +2,7 @@ import { use, useEffect } from "react" import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { Typography } from "@scandic-hotels/design-system/Typography" import { BookingStatusEnum } from "@/constants/booking" diff --git a/apps/scandic-web/components/HotelReservation/MyStay/PriceDetails/PriceDetailsTable/index.tsx b/apps/scandic-web/components/HotelReservation/MyStay/PriceDetails/PriceDetailsTable/index.tsx index 572d4d8b3..141477b99 100644 --- a/apps/scandic-web/components/HotelReservation/MyStay/PriceDetails/PriceDetailsTable/index.tsx +++ b/apps/scandic-web/components/HotelReservation/MyStay/PriceDetails/PriceDetailsTable/index.tsx @@ -3,7 +3,7 @@ import { Fragment } from "react" import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { Typography } from "@scandic-hotels/design-system/Typography" import { dt } from "@/lib/dt" diff --git a/apps/scandic-web/components/HotelReservation/MyStay/Receipt/index.tsx b/apps/scandic-web/components/HotelReservation/MyStay/Receipt/index.tsx index 47f28cd6c..69b1933ba 100644 --- a/apps/scandic-web/components/HotelReservation/MyStay/Receipt/index.tsx +++ b/apps/scandic-web/components/HotelReservation/MyStay/Receipt/index.tsx @@ -1,7 +1,7 @@ import { cookies } from "next/headers" import { notFound } from "next/navigation" -import { ScandicLogoIcon } from "@scandic-hotels/design-system/Icons" +import ScandicLogoIcon from "@scandic-hotels/design-system/Icons/ScandicLogoIcon" import { Typography } from "@scandic-hotels/design-system/Typography" import { dt } from "@/lib/dt" diff --git a/apps/scandic-web/components/HotelReservation/MyStay/ReferenceCard/index.tsx b/apps/scandic-web/components/HotelReservation/MyStay/ReferenceCard/index.tsx index 7a781e977..0d375c3ff 100644 --- a/apps/scandic-web/components/HotelReservation/MyStay/ReferenceCard/index.tsx +++ b/apps/scandic-web/components/HotelReservation/MyStay/ReferenceCard/index.tsx @@ -3,10 +3,8 @@ import { useEffect } from "react" import { useIntl } from "react-intl" -import { - Discount22Icon, - MaterialIcon, -} from "@scandic-hotels/design-system/Icons" +import DiscountIcon from "@scandic-hotels/design-system/Icons/DiscountIcon" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { Typography } from "@scandic-hotels/design-system/Typography" import { BookingStatusEnum } from "@/constants/booking" @@ -277,7 +275,7 @@ export function ReferenceCard({ } + icon={} >

diff --git a/apps/scandic-web/components/HotelReservation/MyStay/SingleRoom/ToggleSidePeek.tsx b/apps/scandic-web/components/HotelReservation/MyStay/SingleRoom/ToggleSidePeek.tsx index d2cce4511..aa2f55a2f 100644 --- a/apps/scandic-web/components/HotelReservation/MyStay/SingleRoom/ToggleSidePeek.tsx +++ b/apps/scandic-web/components/HotelReservation/MyStay/SingleRoom/ToggleSidePeek.tsx @@ -2,7 +2,7 @@ import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import useSidePeekStore from "@/stores/sidepeek" diff --git a/apps/scandic-web/components/HotelReservation/MyStay/SingleRoom/index.tsx b/apps/scandic-web/components/HotelReservation/MyStay/SingleRoom/index.tsx index 27f7265f8..396197768 100644 --- a/apps/scandic-web/components/HotelReservation/MyStay/SingleRoom/index.tsx +++ b/apps/scandic-web/components/HotelReservation/MyStay/SingleRoom/index.tsx @@ -2,10 +2,8 @@ import { useIntl } from "react-intl" -import { - Discount22Icon, - MaterialIcon, -} from "@scandic-hotels/design-system/Icons" +import DiscountIcon from "@scandic-hotels/design-system/Icons/DiscountIcon" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { Typography } from "@scandic-hotels/design-system/Typography" import { dt } from "@/lib/dt" @@ -347,7 +345,7 @@ export function SingleRoom({ bedType, image, hotel, user }: RoomProps) { {bookingCode && ( } + icon={} >

diff --git a/apps/scandic-web/components/HotelReservation/PriceDetailsModal.tsx b/apps/scandic-web/components/HotelReservation/PriceDetailsModal.tsx index 98684e192..f5181062a 100644 --- a/apps/scandic-web/components/HotelReservation/PriceDetailsModal.tsx +++ b/apps/scandic-web/components/HotelReservation/PriceDetailsModal.tsx @@ -1,7 +1,7 @@ "use client" import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import Modal from "@/components/Modal" import Button from "@/components/TempDesignSystem/Button" diff --git a/apps/scandic-web/components/HotelReservation/ReadMore/index.tsx b/apps/scandic-web/components/HotelReservation/ReadMore/index.tsx index 2f9116ba7..865636fa1 100644 --- a/apps/scandic-web/components/HotelReservation/ReadMore/index.tsx +++ b/apps/scandic-web/components/HotelReservation/ReadMore/index.tsx @@ -1,6 +1,6 @@ "use client" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import useSidePeekStore from "@/stores/sidepeek" diff --git a/apps/scandic-web/components/HotelReservation/SelectHotel/BookingCodeFilter/index.tsx b/apps/scandic-web/components/HotelReservation/SelectHotel/BookingCodeFilter/index.tsx index 1dbfbd6d0..5a758f7b3 100644 --- a/apps/scandic-web/components/HotelReservation/SelectHotel/BookingCodeFilter/index.tsx +++ b/apps/scandic-web/components/HotelReservation/SelectHotel/BookingCodeFilter/index.tsx @@ -2,7 +2,7 @@ import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { useBookingCodeFilterStore } from "@/stores/bookingCode-filter" diff --git a/apps/scandic-web/components/HotelReservation/SelectHotel/FilterAndSortModal/index.tsx b/apps/scandic-web/components/HotelReservation/SelectHotel/FilterAndSortModal/index.tsx index de9b900c4..8b35b7e7b 100644 --- a/apps/scandic-web/components/HotelReservation/SelectHotel/FilterAndSortModal/index.tsx +++ b/apps/scandic-web/components/HotelReservation/SelectHotel/FilterAndSortModal/index.tsx @@ -13,7 +13,7 @@ import { } from "react-aria-components" import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { useHotelFilterStore } from "@/stores/hotel-filters" diff --git a/apps/scandic-web/components/HotelReservation/SelectHotel/HotelFilter/FilterCheckbox/index.tsx b/apps/scandic-web/components/HotelReservation/SelectHotel/HotelFilter/FilterCheckbox/index.tsx index b7a35043a..e46f69c5b 100644 --- a/apps/scandic-web/components/HotelReservation/SelectHotel/HotelFilter/FilterCheckbox/index.tsx +++ b/apps/scandic-web/components/HotelReservation/SelectHotel/HotelFilter/FilterCheckbox/index.tsx @@ -2,7 +2,7 @@ import { Checkbox as AriaCheckbox } from "react-aria-components" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import styles from "./filterCheckbox.module.css" diff --git a/apps/scandic-web/components/HotelReservation/SelectHotel/MobileMapButtonContainer/index.tsx b/apps/scandic-web/components/HotelReservation/SelectHotel/MobileMapButtonContainer/index.tsx index e6593f96e..6d0ad4282 100644 --- a/apps/scandic-web/components/HotelReservation/SelectHotel/MobileMapButtonContainer/index.tsx +++ b/apps/scandic-web/components/HotelReservation/SelectHotel/MobileMapButtonContainer/index.tsx @@ -2,7 +2,7 @@ import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { alternativeHotelsMap, diff --git a/apps/scandic-web/components/HotelReservation/SelectHotel/SelectHotelMap/SelectHotelMapContent/index.tsx b/apps/scandic-web/components/HotelReservation/SelectHotel/SelectHotelMap/SelectHotelMapContent/index.tsx index 86b3fed0c..e26ed78ea 100644 --- a/apps/scandic-web/components/HotelReservation/SelectHotel/SelectHotelMap/SelectHotelMapContent/index.tsx +++ b/apps/scandic-web/components/HotelReservation/SelectHotel/SelectHotelMap/SelectHotelMapContent/index.tsx @@ -4,7 +4,7 @@ import { useCallback, useMemo, useRef, useState } from "react" import { useIntl } from "react-intl" import { useMediaQuery } from "usehooks-ts" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { selectHotel } from "@/constants/routes/hotelReservation" import { useBookingCodeFilterStore } from "@/stores/bookingCode-filter" diff --git a/apps/scandic-web/components/HotelReservation/SelectHotel/index.tsx b/apps/scandic-web/components/HotelReservation/SelectHotel/index.tsx index af8528438..578ba9d7e 100644 --- a/apps/scandic-web/components/HotelReservation/SelectHotel/index.tsx +++ b/apps/scandic-web/components/HotelReservation/SelectHotel/index.tsx @@ -2,7 +2,7 @@ import stringify from "json-stable-stringify-without-jsonify" import { notFound } from "next/navigation" import { Suspense } from "react" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { alternativeHotels, diff --git a/apps/scandic-web/components/HotelReservation/SelectRate/RoomsContainer/RateSummary/MobileSummary/PriceDetailsTable/index.tsx b/apps/scandic-web/components/HotelReservation/SelectRate/RoomsContainer/RateSummary/MobileSummary/PriceDetailsTable/index.tsx index cfbc3da2f..8c1dbd1aa 100644 --- a/apps/scandic-web/components/HotelReservation/SelectRate/RoomsContainer/RateSummary/MobileSummary/PriceDetailsTable/index.tsx +++ b/apps/scandic-web/components/HotelReservation/SelectRate/RoomsContainer/RateSummary/MobileSummary/PriceDetailsTable/index.tsx @@ -3,7 +3,7 @@ import { Fragment } from "react" import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { dt } from "@/lib/dt" diff --git a/apps/scandic-web/components/HotelReservation/SelectRate/RoomsContainer/RateSummary/MobileSummary/Summary.tsx b/apps/scandic-web/components/HotelReservation/SelectRate/RoomsContainer/RateSummary/MobileSummary/Summary.tsx index 18d028c59..a7e76f14d 100644 --- a/apps/scandic-web/components/HotelReservation/SelectRate/RoomsContainer/RateSummary/MobileSummary/Summary.tsx +++ b/apps/scandic-web/components/HotelReservation/SelectRate/RoomsContainer/RateSummary/MobileSummary/Summary.tsx @@ -2,7 +2,7 @@ import { Fragment } from "react" import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { dt } from "@/lib/dt" diff --git a/apps/scandic-web/components/HotelReservation/SelectRate/RoomsContainer/Rooms/MultiRoomWrapper/SelectedRoomPanel/index.tsx b/apps/scandic-web/components/HotelReservation/SelectRate/RoomsContainer/Rooms/MultiRoomWrapper/SelectedRoomPanel/index.tsx index 4cb01a735..d2fc810f4 100644 --- a/apps/scandic-web/components/HotelReservation/SelectRate/RoomsContainer/Rooms/MultiRoomWrapper/SelectedRoomPanel/index.tsx +++ b/apps/scandic-web/components/HotelReservation/SelectRate/RoomsContainer/Rooms/MultiRoomWrapper/SelectedRoomPanel/index.tsx @@ -1,7 +1,7 @@ "use client" import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { useRatesStore } from "@/stores/select-rate" diff --git a/apps/scandic-web/components/HotelReservation/SelectRate/RoomsContainer/Rooms/MultiRoomWrapper/index.tsx b/apps/scandic-web/components/HotelReservation/SelectRate/RoomsContainer/Rooms/MultiRoomWrapper/index.tsx index 2686aac0e..c15cde509 100644 --- a/apps/scandic-web/components/HotelReservation/SelectRate/RoomsContainer/Rooms/MultiRoomWrapper/index.tsx +++ b/apps/scandic-web/components/HotelReservation/SelectRate/RoomsContainer/Rooms/MultiRoomWrapper/index.tsx @@ -1,7 +1,7 @@ import { useEffect } from "react" import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { useRatesStore } from "@/stores/select-rate" diff --git a/apps/scandic-web/components/HotelReservation/SelectRate/RoomsContainer/Rooms/RoomPackageFilter/Checkbox/index.tsx b/apps/scandic-web/components/HotelReservation/SelectRate/RoomsContainer/Rooms/RoomPackageFilter/Checkbox/index.tsx index 9a0389cf8..4ea6a91e8 100644 --- a/apps/scandic-web/components/HotelReservation/SelectRate/RoomsContainer/Rooms/RoomPackageFilter/Checkbox/index.tsx +++ b/apps/scandic-web/components/HotelReservation/SelectRate/RoomsContainer/Rooms/RoomPackageFilter/Checkbox/index.tsx @@ -2,7 +2,7 @@ import { Checkbox as AriaCheckbox } from "react-aria-components" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { Typography } from "@scandic-hotels/design-system/Typography" import styles from "./checkbox.module.css" diff --git a/apps/scandic-web/components/HotelReservation/SelectRate/RoomsContainer/Rooms/RoomPackageFilter/index.tsx b/apps/scandic-web/components/HotelReservation/SelectRate/RoomsContainer/Rooms/RoomPackageFilter/index.tsx index 3cab3c07b..8efa5f200 100644 --- a/apps/scandic-web/components/HotelReservation/SelectRate/RoomsContainer/Rooms/RoomPackageFilter/index.tsx +++ b/apps/scandic-web/components/HotelReservation/SelectRate/RoomsContainer/Rooms/RoomPackageFilter/index.tsx @@ -3,7 +3,7 @@ import { Button, Dialog, DialogTrigger, Popover } from "react-aria-components" import { useIntl } from "react-intl" import { ChipButton } from "@scandic-hotels/design-system/ChipButton" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { Typography } from "@scandic-hotels/design-system/Typography" import { useRatesStore } from "@/stores/select-rate" diff --git a/apps/scandic-web/components/HotelReservation/SelectRate/RoomsContainer/Rooms/RoomsList/RoomListItem/Details/ToggleSidePeek.tsx b/apps/scandic-web/components/HotelReservation/SelectRate/RoomsContainer/Rooms/RoomsList/RoomListItem/Details/ToggleSidePeek.tsx index e6259694d..0e2ff0b1f 100644 --- a/apps/scandic-web/components/HotelReservation/SelectRate/RoomsContainer/Rooms/RoomsList/RoomListItem/Details/ToggleSidePeek.tsx +++ b/apps/scandic-web/components/HotelReservation/SelectRate/RoomsContainer/Rooms/RoomsList/RoomListItem/Details/ToggleSidePeek.tsx @@ -1,7 +1,7 @@ "use client" import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import useSidePeekStore from "@/stores/sidepeek" diff --git a/apps/scandic-web/components/HotelReservation/SelectRate/RoomsContainer/Rooms/RoomsList/RoomListItem/RoomNotAvailable/index.tsx b/apps/scandic-web/components/HotelReservation/SelectRate/RoomsContainer/Rooms/RoomsList/RoomListItem/RoomNotAvailable/index.tsx index 2b3f80c33..ea623eb61 100644 --- a/apps/scandic-web/components/HotelReservation/SelectRate/RoomsContainer/Rooms/RoomsList/RoomListItem/RoomNotAvailable/index.tsx +++ b/apps/scandic-web/components/HotelReservation/SelectRate/RoomsContainer/Rooms/RoomsList/RoomListItem/RoomNotAvailable/index.tsx @@ -1,7 +1,7 @@ "use client" import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import Caption from "@/components/TempDesignSystem/Text/Caption" diff --git a/apps/scandic-web/components/HotelReservation/TripAdvisorChip/index.tsx b/apps/scandic-web/components/HotelReservation/TripAdvisorChip/index.tsx index e0b5128ee..fc5db8603 100644 --- a/apps/scandic-web/components/HotelReservation/TripAdvisorChip/index.tsx +++ b/apps/scandic-web/components/HotelReservation/TripAdvisorChip/index.tsx @@ -1,4 +1,4 @@ -import { TripadvisorIcon } from "@scandic-hotels/design-system/Icons" +import TripadvisorIcon from "@scandic-hotels/design-system/Icons/TripadvisorIcon" import Caption from "@/components/TempDesignSystem/Text/Caption" diff --git a/apps/scandic-web/components/HotelReservation/utils.tsx b/apps/scandic-web/components/HotelReservation/utils.tsx index f21cba4c7..6b8b7ac84 100644 --- a/apps/scandic-web/components/HotelReservation/utils.tsx +++ b/apps/scandic-web/components/HotelReservation/utils.tsx @@ -1,7 +1,7 @@ import { MaterialIcon, type MaterialIconSetIconProps, -} from "@scandic-hotels/design-system/Icons" +} from "@scandic-hotels/design-system/Icons/MaterialIcon" import { ChildBedTypeEnum } from "@/constants/booking" diff --git a/apps/scandic-web/components/Icons/IconByIconName.tsx b/apps/scandic-web/components/Icons/IconByIconName.tsx index e03b0eba6..0e849784b 100644 --- a/apps/scandic-web/components/Icons/IconByIconName.tsx +++ b/apps/scandic-web/components/Icons/IconByIconName.tsx @@ -1,33 +1,36 @@ +import BathroomCabinetIcon from "@scandic-hotels/design-system/Icons/BathroomCabinetIcon" +import BouquetIcon from "@scandic-hotels/design-system/Icons/BouquetIcon" +import BowlingPinsIcon from "@scandic-hotels/design-system/Icons/BowlingPinsIcon" +import ChipsIcon from "@scandic-hotels/design-system/Icons/ChipsIcon" +import ConferenceRoomIcon from "@scandic-hotels/design-system/Icons/ConferenceRoomIcon" +import DoorIcon from "@scandic-hotels/design-system/Icons/DoorIcon" +import FacebookIcon from "@scandic-hotels/design-system/Icons/FacebookIcon" +import FootStoolIcon from "@scandic-hotels/design-system/Icons/FootStoolIcon" +import HairdresserIcon from "@scandic-hotels/design-system/Icons/HairdresserIcon" +import HairdryerIcon from "@scandic-hotels/design-system/Icons/HairdryerIcon" +import IceMachineIcon from "@scandic-hotels/design-system/Icons/IceMachineIcon" +import InstagramIcon from "@scandic-hotels/design-system/Icons/InstagramIcon" +import MassageIcon from "@scandic-hotels/design-system/Icons/MassageIcon" import { - BathroomCabinet2Icon, - BouquetIcon, - BowlingPinsIcon, - Chips3Icon, - ConferenceRoomIcon, - Door2Icon, - FacebookIcon, - FootStoolIcon, - Hairdresser1Icon, - HairDryerIcon, - IceMachineIcon, - type IconProps, - InstagramIcon, - MassageIcon, MaterialIcon, type MaterialIconSetIconProps, - type NucleoIconProps, - PalmTree2Icon, - Popcorn2Icon, - RecordPlayer3Icon, - RoadIcon, - SafetyBoxIcon, - Toilet2Icon, - TripadvisorIcon, - UserPolice2Icon, -} from "@scandic-hotels/design-system/Icons" +} from "@scandic-hotels/design-system/Icons/MaterialIcon" +import PalmTreeIcon from "@scandic-hotels/design-system/Icons/PalmTreeIcon" +import PopcornIcon from "@scandic-hotels/design-system/Icons/PopcornIcon" +import RecordPlayerIcon from "@scandic-hotels/design-system/Icons/RecordPlayerIcon" +import RoadIcon from "@scandic-hotels/design-system/Icons/RoadIcon" +import SafetyBoxIcon from "@scandic-hotels/design-system/Icons/SafetyBoxIcon" +import ToiletIcon from "@scandic-hotels/design-system/Icons/ToiletIcon" +import TripadvisorIcon from "@scandic-hotels/design-system/Icons/TripadvisorIcon" +import UserPoliceIcon from "@scandic-hotels/design-system/Icons/UserPoliceIcon" import { IconName } from "./iconName" +import type { + IconProps, + NucleoIconProps, +} from "@scandic-hotels/design-system/Icons" + interface IconByIconNameProps { iconName: IconName | null } @@ -54,9 +57,9 @@ export function IconByIconName({ case IconName.ConferenceRoom: return case IconName.BathroomCabinet: - return + return case IconName.Chips: - return + return case IconName.Bouquet: return case IconName.CashFree: @@ -64,13 +67,13 @@ export function IconByIconName({ case IconName.SafetyBox: return case IconName.Toilet: - return + return case IconName.Popcorn: - return + return case IconName.RecordPlayer: - return + return case IconName.PalmTree: - return + return case IconName.Bowling: return case IconName.Skiing: @@ -106,7 +109,7 @@ export function IconByIconName({ case IconName.Bed: return case IconName.LuggageLockers: - return + return case IconName.NonSmoking: return case IconName.TVRemote: @@ -127,7 +130,7 @@ export function IconByIconName({ case IconName.Kitchen: return case IconName.Guard: - return + return case IconName.Fax: return case IconName.Calendar: @@ -138,7 +141,7 @@ export function IconByIconName({ case IconName.Phone: return case IconName.HairdryerInRoomAllScandic: - return + return case IconName.ComplimentaryColdRefreshments: return case IconName.Check: @@ -148,7 +151,7 @@ export function IconByIconName({ case IconName.Wheelchair: return case IconName.Hairdresser: - return + return case IconName.FoodDrinks247: return case IconName.ExtraFamilyFriendly: diff --git a/apps/scandic-web/components/Icons/IllustrationByIconName.ts b/apps/scandic-web/components/Icons/IllustrationByIconName.ts index 8a9ec804d..fea7f623a 100644 --- a/apps/scandic-web/components/Icons/IllustrationByIconName.ts +++ b/apps/scandic-web/components/Icons/IllustrationByIconName.ts @@ -1,18 +1,16 @@ -import { - BedIcon, - CoinIcon, - CroissantCoffeeEggIcon, - CutleryOneIcon, - CutleryTwoIcon, - GiftOpenIcon, - HandKeyIcon, - HotelNightIcon, - KidsIcon, - KidsMocktailIcon, - MagicWandIcon, - MoneyHandIcon, - VoucherIcon, -} from "@scandic-hotels/design-system/Icons" +import BedIcon from "@scandic-hotels/design-system/Icons/BedIcon" +import CoinIcon from "@scandic-hotels/design-system/Icons/CoinIcon" +import CroissantCoffeeEggIcon from "@scandic-hotels/design-system/Icons/CroissantCoffeeEggIcon" +import CutleryOneIcon from "@scandic-hotels/design-system/Icons/CutleryOneIcon" +import CutleryTwoIcon from "@scandic-hotels/design-system/Icons/CutleryTwoIcon" +import GiftOpenIcon from "@scandic-hotels/design-system/Icons/GiftOpenIcon" +import HandKeyIcon from "@scandic-hotels/design-system/Icons/HandKeyIcon" +import HotelNightIcon from "@scandic-hotels/design-system/Icons/HotelNightIcon" +import KidsIcon from "@scandic-hotels/design-system/Icons/KidsIcon" +import KidsMocktailIcon from "@scandic-hotels/design-system/Icons/KidsMocktailIcon" +import MagicWandIcon from "@scandic-hotels/design-system/Icons/MagicWandIcon" +import MoneyHandIcon from "@scandic-hotels/design-system/Icons/MoneyHandIcon" +import VoucherIcon from "@scandic-hotels/design-system/Icons/VoucherIcon" import { IconName } from "./iconName" diff --git a/apps/scandic-web/components/ImageGallery/index.tsx b/apps/scandic-web/components/ImageGallery/index.tsx index edd607c1d..ac3872e1f 100644 --- a/apps/scandic-web/components/ImageGallery/index.tsx +++ b/apps/scandic-web/components/ImageGallery/index.tsx @@ -3,7 +3,7 @@ import { memo, useState } from "react" import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import Image from "@/components/Image" import Lightbox from "@/components/Lightbox" diff --git a/apps/scandic-web/components/JsonToHtml/renderOptions.tsx b/apps/scandic-web/components/JsonToHtml/renderOptions.tsx index 3b14155bc..05abad946 100644 --- a/apps/scandic-web/components/JsonToHtml/renderOptions.tsx +++ b/apps/scandic-web/components/JsonToHtml/renderOptions.tsx @@ -1,4 +1,4 @@ -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import Image from "@/components/Image" import Link from "@/components/TempDesignSystem/Link" diff --git a/apps/scandic-web/components/LanguageSwitcher/LanguageSwitcherContainer/index.tsx b/apps/scandic-web/components/LanguageSwitcher/LanguageSwitcherContainer/index.tsx index c27de5a2d..a53be143b 100644 --- a/apps/scandic-web/components/LanguageSwitcher/LanguageSwitcherContainer/index.tsx +++ b/apps/scandic-web/components/LanguageSwitcher/LanguageSwitcherContainer/index.tsx @@ -1,6 +1,6 @@ import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import useDropdownStore from "@/stores/main-menu" diff --git a/apps/scandic-web/components/LanguageSwitcher/LanguageSwitcherContent/index.tsx b/apps/scandic-web/components/LanguageSwitcher/LanguageSwitcherContent/index.tsx index b85cb0724..2a78e5af3 100644 --- a/apps/scandic-web/components/LanguageSwitcher/LanguageSwitcherContent/index.tsx +++ b/apps/scandic-web/components/LanguageSwitcher/LanguageSwitcherContent/index.tsx @@ -3,7 +3,7 @@ import { usePathname } from "next/navigation" import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { type Lang, languages } from "@/constants/languages" diff --git a/apps/scandic-web/components/LanguageSwitcher/index.tsx b/apps/scandic-web/components/LanguageSwitcher/index.tsx index 4cb051eb7..87b04d570 100644 --- a/apps/scandic-web/components/LanguageSwitcher/index.tsx +++ b/apps/scandic-web/components/LanguageSwitcher/index.tsx @@ -5,7 +5,7 @@ import { useRef } from "react" import FocusLock from "react-focus-lock" import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { Typography } from "@scandic-hotels/design-system/Typography" import { languages } from "@/constants/languages" diff --git a/apps/scandic-web/components/Lightbox/FullView.tsx b/apps/scandic-web/components/Lightbox/FullView.tsx index cf14c7356..8531d2c5b 100644 --- a/apps/scandic-web/components/Lightbox/FullView.tsx +++ b/apps/scandic-web/components/Lightbox/FullView.tsx @@ -3,7 +3,7 @@ import { AnimatePresence, motion } from "framer-motion" import { useState } from "react" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import Image from "@/components/Image" import Button from "@/components/TempDesignSystem/Button" diff --git a/apps/scandic-web/components/Lightbox/Gallery.tsx b/apps/scandic-web/components/Lightbox/Gallery.tsx index 7a95b6198..7b09f34b9 100644 --- a/apps/scandic-web/components/Lightbox/Gallery.tsx +++ b/apps/scandic-web/components/Lightbox/Gallery.tsx @@ -3,7 +3,7 @@ import { AnimatePresence, motion } from "framer-motion" import { useState } from "react" import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import Image from "@/components/Image" import Button from "@/components/TempDesignSystem/Button" diff --git a/apps/scandic-web/components/Maps/InteractiveMap/index.tsx b/apps/scandic-web/components/Maps/InteractiveMap/index.tsx index 8e4bd2a45..4047fa32b 100644 --- a/apps/scandic-web/components/Maps/InteractiveMap/index.tsx +++ b/apps/scandic-web/components/Maps/InteractiveMap/index.tsx @@ -2,7 +2,7 @@ import { Map, type MapProps, useMap } from "@vis.gl/react-google-maps" import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import Button from "@/components/TempDesignSystem/Button" diff --git a/apps/scandic-web/components/Modal/ModalContentWithActions/index.tsx b/apps/scandic-web/components/Modal/ModalContentWithActions/index.tsx index b6d0ebfd0..2ea42c333 100644 --- a/apps/scandic-web/components/Modal/ModalContentWithActions/index.tsx +++ b/apps/scandic-web/components/Modal/ModalContentWithActions/index.tsx @@ -1,4 +1,4 @@ -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import Button from "@/components/TempDesignSystem/Button" import Subtitle from "@/components/TempDesignSystem/Text/Subtitle" diff --git a/apps/scandic-web/components/Modal/index.tsx b/apps/scandic-web/components/Modal/index.tsx index 67096460f..8e653f0f7 100644 --- a/apps/scandic-web/components/Modal/index.tsx +++ b/apps/scandic-web/components/Modal/index.tsx @@ -10,7 +10,7 @@ import { } from "react-aria-components" import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import Preamble from "@/components/TempDesignSystem/Text/Preamble" import Subtitle from "@/components/TempDesignSystem/Text/Subtitle" diff --git a/apps/scandic-web/components/MyPages/Pagination/index.tsx b/apps/scandic-web/components/MyPages/Pagination/index.tsx index 3da5f74c5..4a72c2d59 100644 --- a/apps/scandic-web/components/MyPages/Pagination/index.tsx +++ b/apps/scandic-web/components/MyPages/Pagination/index.tsx @@ -1,4 +1,4 @@ -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import styles from "./pagination.module.css" diff --git a/apps/scandic-web/components/MyPages/Surprises/Header.tsx b/apps/scandic-web/components/MyPages/Surprises/Header.tsx index 10869f26a..c97e06dae 100644 --- a/apps/scandic-web/components/MyPages/Surprises/Header.tsx +++ b/apps/scandic-web/components/MyPages/Surprises/Header.tsx @@ -1,4 +1,4 @@ -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import styles from "./surprises.module.css" diff --git a/apps/scandic-web/components/MyPages/Surprises/Navigation.tsx b/apps/scandic-web/components/MyPages/Surprises/Navigation.tsx index 1c0afe353..2c6a967e0 100644 --- a/apps/scandic-web/components/MyPages/Surprises/Navigation.tsx +++ b/apps/scandic-web/components/MyPages/Surprises/Navigation.tsx @@ -1,6 +1,6 @@ import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import Button from "@/components/TempDesignSystem/Button" diff --git a/apps/scandic-web/components/MyPages/myprofile/membershipCards/membershipcards.tsx b/apps/scandic-web/components/MyPages/myprofile/membershipCards/membershipcards.tsx index 28191f491..016310259 100644 --- a/apps/scandic-web/components/MyPages/myprofile/membershipCards/membershipcards.tsx +++ b/apps/scandic-web/components/MyPages/myprofile/membershipCards/membershipcards.tsx @@ -1,4 +1,4 @@ -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { getMembershipCards } from "@/lib/trpc/memoizedRequests" diff --git a/apps/scandic-web/components/MyPages/myprofile/profile/profile.tsx b/apps/scandic-web/components/MyPages/myprofile/profile/profile.tsx index 0f2353612..47286eb44 100644 --- a/apps/scandic-web/components/MyPages/myprofile/profile/profile.tsx +++ b/apps/scandic-web/components/MyPages/myprofile/profile/profile.tsx @@ -1,4 +1,4 @@ -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { countriesMap } from "@/constants/countries" import { Lang, languages } from "@/constants/languages" diff --git a/apps/scandic-web/components/ParkingInformation/index.tsx b/apps/scandic-web/components/ParkingInformation/index.tsx index 2c118b56f..8d7c19c65 100644 --- a/apps/scandic-web/components/ParkingInformation/index.tsx +++ b/apps/scandic-web/components/ParkingInformation/index.tsx @@ -1,6 +1,6 @@ import Link from "next/link" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { getIntl } from "@/i18n" diff --git a/apps/scandic-web/components/Profile/AddCreditCardButton/index.tsx b/apps/scandic-web/components/Profile/AddCreditCardButton/index.tsx index 61aaf51ea..64228a467 100644 --- a/apps/scandic-web/components/Profile/AddCreditCardButton/index.tsx +++ b/apps/scandic-web/components/Profile/AddCreditCardButton/index.tsx @@ -4,7 +4,7 @@ import { usePathname, useRouter, useSearchParams } from "next/navigation" import { useEffect, useRef } from "react" import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { trpc } from "@/lib/trpc/client" diff --git a/apps/scandic-web/components/Profile/CreditCardRow/index.tsx b/apps/scandic-web/components/Profile/CreditCardRow/index.tsx index d9b7c1752..558956059 100644 --- a/apps/scandic-web/components/Profile/CreditCardRow/index.tsx +++ b/apps/scandic-web/components/Profile/CreditCardRow/index.tsx @@ -1,4 +1,4 @@ -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import Body from "@/components/TempDesignSystem/Text/Body" import Caption from "@/components/TempDesignSystem/Text/Caption" diff --git a/apps/scandic-web/components/Profile/DeleteCreditCardButton/index.tsx b/apps/scandic-web/components/Profile/DeleteCreditCardButton/index.tsx index 800ce4c58..5109655c0 100644 --- a/apps/scandic-web/components/Profile/DeleteCreditCardButton/index.tsx +++ b/apps/scandic-web/components/Profile/DeleteCreditCardButton/index.tsx @@ -1,7 +1,7 @@ "use client" import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { trpc } from "@/lib/trpc/client" diff --git a/apps/scandic-web/components/Profile/DeleteCreditCardConfirmation.tsx b/apps/scandic-web/components/Profile/DeleteCreditCardConfirmation.tsx index 427b0de72..b950f5bf5 100644 --- a/apps/scandic-web/components/Profile/DeleteCreditCardConfirmation.tsx +++ b/apps/scandic-web/components/Profile/DeleteCreditCardConfirmation.tsx @@ -1,7 +1,7 @@ "use client" import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { trpc } from "@/lib/trpc/client" diff --git a/apps/scandic-web/components/Profile/ManagePreferencesButton/index.tsx b/apps/scandic-web/components/Profile/ManagePreferencesButton/index.tsx index f6ee8b655..2e3e06b07 100644 --- a/apps/scandic-web/components/Profile/ManagePreferencesButton/index.tsx +++ b/apps/scandic-web/components/Profile/ManagePreferencesButton/index.tsx @@ -2,7 +2,7 @@ import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { trpc } from "@/lib/trpc/client" diff --git a/apps/scandic-web/components/SasTierComparison/index.tsx b/apps/scandic-web/components/SasTierComparison/index.tsx index 7721f25de..328fdf18d 100644 --- a/apps/scandic-web/components/SasTierComparison/index.tsx +++ b/apps/scandic-web/components/SasTierComparison/index.tsx @@ -1,7 +1,7 @@ "use client" import Image from "next/image" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import JsonToHtml from "@/components/JsonToHtml" import Link from "@/components/TempDesignSystem/Link" diff --git a/apps/scandic-web/components/Section/Link/index.tsx b/apps/scandic-web/components/Section/Link/index.tsx index 4fd2185bd..a269b2891 100644 --- a/apps/scandic-web/components/Section/Link/index.tsx +++ b/apps/scandic-web/components/Section/Link/index.tsx @@ -1,4 +1,4 @@ -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import Link from "@/components/TempDesignSystem/Link" diff --git a/apps/scandic-web/components/SidePeeks/BookedRoomSidePeek/RoomDetails.tsx b/apps/scandic-web/components/SidePeeks/BookedRoomSidePeek/RoomDetails.tsx index 24a9a35b0..352192c13 100644 --- a/apps/scandic-web/components/SidePeeks/BookedRoomSidePeek/RoomDetails.tsx +++ b/apps/scandic-web/components/SidePeeks/BookedRoomSidePeek/RoomDetails.tsx @@ -2,7 +2,7 @@ import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { Typography } from "@scandic-hotels/design-system/Typography" import { getBedIconName } from "../RoomSidePeek/bedIcon" diff --git a/apps/scandic-web/components/SidePeeks/BookedRoomSidePeek/index.tsx b/apps/scandic-web/components/SidePeeks/BookedRoomSidePeek/index.tsx index 899a23443..04bf10de5 100644 --- a/apps/scandic-web/components/SidePeeks/BookedRoomSidePeek/index.tsx +++ b/apps/scandic-web/components/SidePeeks/BookedRoomSidePeek/index.tsx @@ -1,9 +1,7 @@ import { useIntl } from "react-intl" -import { - Discount22Icon, - MaterialIcon, -} from "@scandic-hotels/design-system/Icons" +import DiscountIcon from "@scandic-hotels/design-system/Icons/DiscountIcon" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { Typography } from "@scandic-hotels/design-system/Typography" import { dt } from "@/lib/dt" @@ -295,7 +293,7 @@ export default function BookedRoomSidePeek({ {bookingCode && ( } + icon={} >

diff --git a/apps/scandic-web/components/SidePeeks/HotelSidePeek/Accordions/Parking.tsx b/apps/scandic-web/components/SidePeeks/HotelSidePeek/Accordions/Parking.tsx index ca364821a..80ca2263e 100644 --- a/apps/scandic-web/components/SidePeeks/HotelSidePeek/Accordions/Parking.tsx +++ b/apps/scandic-web/components/SidePeeks/HotelSidePeek/Accordions/Parking.tsx @@ -1,6 +1,6 @@ import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { IconName } from "@/components/Icons/iconName" import AccordionItem from "@/components/TempDesignSystem/Accordion/AccordionItem" diff --git a/apps/scandic-web/components/SidePeeks/RoomSidePeek/facilityIcon.tsx b/apps/scandic-web/components/SidePeeks/RoomSidePeek/facilityIcon.tsx index 1dd84fbd6..048556600 100644 --- a/apps/scandic-web/components/SidePeeks/RoomSidePeek/facilityIcon.tsx +++ b/apps/scandic-web/components/SidePeeks/RoomSidePeek/facilityIcon.tsx @@ -1,38 +1,40 @@ +import BathroomCabinetIcon from "@scandic-hotels/design-system/Icons/BathroomCabinetIcon" +import BedHotelIcon from "@scandic-hotels/design-system/Icons/BedHotelIcon" +import BowlingPinsIcon from "@scandic-hotels/design-system/Icons/BowlingPinsIcon" +import BunkBedIcon from "@scandic-hotels/design-system/Icons/BunkBedIcon" +import ConferenceRoomIcon from "@scandic-hotels/design-system/Icons/ConferenceRoomIcon" +import CoolingIcon from "@scandic-hotels/design-system/Icons/CoolingIcon" +import CouchTableIcon from "@scandic-hotels/design-system/Icons/CouchTableIcon" +import DoorIcon from "@scandic-hotels/design-system/Icons/DoorIcon" +import FootStoolIcon from "@scandic-hotels/design-system/Icons/FootStoolIcon" +import HairdresserIcon from "@scandic-hotels/design-system/Icons/HairdresserIcon" +import HairdryerIcon from "@scandic-hotels/design-system/Icons/HairdryerIcon" +import HandSoapIcon from "@scandic-hotels/design-system/Icons/HandSoapIcon" +import IceMachineIcon from "@scandic-hotels/design-system/Icons/IceMachineIcon" +import MassageIcon from "@scandic-hotels/design-system/Icons/MassageIcon" import { - BathroomCabinet2Icon, - BedHotelIcon, - BowlingPinsIcon, - ConferenceRoomIcon, - CoolingIcon, - CouchTableIcon, - Door2Icon, - FootStoolIcon, - Hairdresser1Icon, - HairDryerIcon, - HandSoapIcon, - IceMachineIcon, - type IconProps, - MassageIcon, MaterialIcon, type MaterialIconSetIconProps, - MdiBunkBedIcon, - MirrorIcon, - MovingBedsIcon, - type NucleoIconProps, - RecordPlayer3Icon, - RoadIcon, - RugIcon, - SafetyBoxIcon, - SlippersIcon, - Toilet2Icon, - TowelIcon, - UserPolice2Icon, - ViewIcon, - WardIcon, - WindowNotAvailableIcon, - WoodFloorIcon, -} from "@scandic-hotels/design-system/Icons" +} from "@scandic-hotels/design-system/Icons/MaterialIcon" +import MirrorIcon from "@scandic-hotels/design-system/Icons/MirrorIcon" +import MovingBedsIcon from "@scandic-hotels/design-system/Icons/MovingBedsIcon" +import RecordPlayerIcon from "@scandic-hotels/design-system/Icons/RecordPlayerIcon" +import RoadIcon from "@scandic-hotels/design-system/Icons/RoadIcon" +import RugIcon from "@scandic-hotels/design-system/Icons/RugIcon" +import SafetyBoxIcon from "@scandic-hotels/design-system/Icons/SafetyBoxIcon" +import SlippersIcon from "@scandic-hotels/design-system/Icons/SlippersIcon" +import ToiletIcon from "@scandic-hotels/design-system/Icons/ToiletIcon" +import TowelIcon from "@scandic-hotels/design-system/Icons/TowelIcon" +import UserPoliceIcon from "@scandic-hotels/design-system/Icons/UserPoliceIcon" +import ViewIcon from "@scandic-hotels/design-system/Icons/ViewIcon" +import WardIcon from "@scandic-hotels/design-system/Icons/WardIcon" +import WindowNotAvailableIcon from "@scandic-hotels/design-system/Icons/WindowNotAvailableIcon" +import WoodFloorIcon from "@scandic-hotels/design-system/Icons/WoodFloorIcon" +import type { + IconProps, + NucleoIconProps, +} from "@scandic-hotels/design-system/Icons" import type { MaterialSymbolProps } from "react-material-symbols" interface FacilityIconProps { @@ -194,38 +196,38 @@ const MaterialIconMappings: { ] const CustomIconMappings = [ - { icon: BathroomCabinet2Icon, name: "bathroomwithshowerorbathtub" }, + { icon: BathroomCabinetIcon, name: "bathroomwithshowerorbathtub" }, { icon: MovingBedsIcon, name: "adjustablebeds" }, { icon: MovingBedsIcon, name: "pulloutbed" }, { icon: BedHotelIcon, name: "extrabed" }, { icon: CoolingIcon, name: "coolingcabinet" }, { icon: FootStoolIcon, name: "footstool" }, - { icon: HairDryerIcon, name: "hairdryer" }, - { icon: Hairdresser1Icon, name: "hairdresser" }, + { icon: HairdryerIcon, name: "hairdryer" }, + { icon: HairdresserIcon, name: "hairdresser" }, { icon: HandSoapIcon, name: "toiletries" }, { icon: TowelIcon, name: "bathrobes" }, { icon: HandSoapIcon, name: "bodycareproducts" }, { icon: HandSoapIcon, name: "bodylotion" }, { icon: BowlingPinsIcon, name: "bowling" }, - { icon: MdiBunkBedIcon, name: "bunkbed" }, - { icon: MdiBunkBedIcon, name: "bunkbed80x188cm" }, + { icon: BunkBedIcon, name: "bunkbed" }, + { icon: BunkBedIcon, name: "bunkbed80x188cm" }, { icon: IceMachineIcon, name: "icemachine" }, { icon: IceMachineIcon, name: "icemachinereception" }, { icon: MassageIcon, name: "massage" }, { icon: ConferenceRoomIcon, name: "meetingarea" }, - { icon: UserPolice2Icon, name: "overnightsecurity" }, - { icon: UserPolice2Icon, name: "security24hoours" }, - { icon: UserPolice2Icon, name: "servicesecurity24h" }, + { icon: UserPoliceIcon, name: "overnightsecurity" }, + { icon: UserPoliceIcon, name: "security24hoours" }, + { icon: UserPoliceIcon, name: "servicesecurity24h" }, { icon: FootStoolIcon, name: "footstool" }, { icon: WindowNotAvailableIcon, name: "nowindow" }, - { icon: Door2Icon, name: "luggagelockers" }, + { icon: DoorIcon, name: "luggagelockers" }, { icon: MirrorIcon, name: "cosmeticmirror" }, { icon: WardIcon, name: "wallbed" }, { icon: CouchTableIcon, name: "sofawithtable" }, { icon: SafetyBoxIcon, name: "safetybox" }, - { icon: RecordPlayer3Icon, name: "modernvinylplayer" }, + { icon: RecordPlayerIcon, name: "modernvinylplayer" }, { icon: RugIcon, name: "carpetingwalltowallcarpet" }, - { icon: Toilet2Icon, name: "separatetoilet" }, + { icon: ToiletIcon, name: "separatetoilet" }, { icon: WoodFloorIcon, name: "woodenfloor" }, { icon: ViewIcon, name: "view" }, { icon: HandSoapIcon, name: "shampoo" }, diff --git a/apps/scandic-web/components/SidePeeks/RoomSidePeek/index.tsx b/apps/scandic-web/components/SidePeeks/RoomSidePeek/index.tsx index 6be6ea70b..3e83d3184 100644 --- a/apps/scandic-web/components/SidePeeks/RoomSidePeek/index.tsx +++ b/apps/scandic-web/components/SidePeeks/RoomSidePeek/index.tsx @@ -1,6 +1,6 @@ import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import ImageGallery from "@/components/ImageGallery" import SidePeek from "@/components/TempDesignSystem/SidePeek" diff --git a/apps/scandic-web/components/Sidebar/JoinLoyalty/Contact/ContactRow/index.tsx b/apps/scandic-web/components/Sidebar/JoinLoyalty/Contact/ContactRow/index.tsx index 90e7787ae..dfcc86609 100644 --- a/apps/scandic-web/components/Sidebar/JoinLoyalty/Contact/ContactRow/index.tsx +++ b/apps/scandic-web/components/Sidebar/JoinLoyalty/Contact/ContactRow/index.tsx @@ -1,7 +1,7 @@ import { MaterialIcon, type MaterialIconSetIconProps, -} from "@scandic-hotels/design-system/Icons" +} from "@scandic-hotels/design-system/Icons/MaterialIcon" import { serverClient } from "@/lib/trpc/server" diff --git a/apps/scandic-web/components/Sidebar/JoinLoyalty/ReadMore/index.tsx b/apps/scandic-web/components/Sidebar/JoinLoyalty/ReadMore/index.tsx index 3fc9ed133..e4e5a2029 100644 --- a/apps/scandic-web/components/Sidebar/JoinLoyalty/ReadMore/index.tsx +++ b/apps/scandic-web/components/Sidebar/JoinLoyalty/ReadMore/index.tsx @@ -1,4 +1,4 @@ -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { faq, membershipTermsAndConditions } from "@/constants/currentWebHrefs" diff --git a/apps/scandic-web/components/Sidebar/JoinLoyalty/index.tsx b/apps/scandic-web/components/Sidebar/JoinLoyalty/index.tsx index 9f981bf33..6db94c83e 100644 --- a/apps/scandic-web/components/Sidebar/JoinLoyalty/index.tsx +++ b/apps/scandic-web/components/Sidebar/JoinLoyalty/index.tsx @@ -1,4 +1,4 @@ -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { auth } from "@/auth" import { ScandicFriends } from "@/components/Levels" diff --git a/apps/scandic-web/components/TabFilters/FilterIcon/index.tsx b/apps/scandic-web/components/TabFilters/FilterIcon/index.tsx index 874018a54..97575bb74 100644 --- a/apps/scandic-web/components/TabFilters/FilterIcon/index.tsx +++ b/apps/scandic-web/components/TabFilters/FilterIcon/index.tsx @@ -1,10 +1,10 @@ +import BouquetIcon from "@scandic-hotels/design-system/Icons/BouquetIcon" +import DiscountIcon from "@scandic-hotels/design-system/Icons/DiscountIcon" import { - BouquetIcon, - Discount22Icon, MaterialIcon, type MaterialIconProps, - PalmTree2Icon, -} from "@scandic-hotels/design-system/Icons" +} from "@scandic-hotels/design-system/Icons/MaterialIcon" +import PalmTreeIcon from "@scandic-hotels/design-system/Icons/PalmTreeIcon" interface FilterIconProps { identifier: string @@ -14,11 +14,11 @@ export default function FilterIcon({ identifier }: FilterIconProps) { switch (identifier) { // These are custom icons case "discount-2-2": - return + return case "bouquet": return case "palm_tree": - return + return // These are all Material Icons case "electric_car": diff --git a/apps/scandic-web/components/TempDesignSystem/Accordion/AccordionItem/index.tsx b/apps/scandic-web/components/TempDesignSystem/Accordion/AccordionItem/index.tsx index 307766567..2b24b3ae6 100644 --- a/apps/scandic-web/components/TempDesignSystem/Accordion/AccordionItem/index.tsx +++ b/apps/scandic-web/components/TempDesignSystem/Accordion/AccordionItem/index.tsx @@ -2,7 +2,7 @@ import { useRef } from "react" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { IconByIconName } from "@/components/Icons/IconByIconName" import { trackAccordionClick } from "@/utils/tracking" diff --git a/apps/scandic-web/components/TempDesignSystem/Alert/Sidepeek/index.tsx b/apps/scandic-web/components/TempDesignSystem/Alert/Sidepeek/index.tsx index 59276e451..60b018db6 100644 --- a/apps/scandic-web/components/TempDesignSystem/Alert/Sidepeek/index.tsx +++ b/apps/scandic-web/components/TempDesignSystem/Alert/Sidepeek/index.tsx @@ -2,7 +2,7 @@ import { useState } from "react" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import JsonToHtml from "@/components/JsonToHtml" import Button from "@/components/TempDesignSystem/Button" diff --git a/apps/scandic-web/components/TempDesignSystem/Alert/index.tsx b/apps/scandic-web/components/TempDesignSystem/Alert/index.tsx index 75f96d919..e7834460e 100644 --- a/apps/scandic-web/components/TempDesignSystem/Alert/index.tsx +++ b/apps/scandic-web/components/TempDesignSystem/Alert/index.tsx @@ -1,13 +1,13 @@ "use client" import { Button } from "@scandic-hotels/design-system/Button" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import Body from "@/components/TempDesignSystem/Text/Body" import Link from "../Link" import AlertSidepeek from "./Sidepeek" -import { getIconByAlertType } from "./utils" +import { IconByAlertType } from "./utils" import { alertVariants } from "./variants" import styles from "./alert.module.css" @@ -33,7 +33,6 @@ export default function Alert({ variant, type, }) - const Icon = getIconByAlertType(type) if (!text && !heading) { return null @@ -42,7 +41,7 @@ export default function Alert({

- +
diff --git a/apps/scandic-web/components/TempDesignSystem/Alert/utils.tsx b/apps/scandic-web/components/TempDesignSystem/Alert/utils.tsx index 06df3d339..c58aa5f6c 100644 --- a/apps/scandic-web/components/TempDesignSystem/Alert/utils.tsx +++ b/apps/scandic-web/components/TempDesignSystem/Alert/utils.tsx @@ -1,41 +1,36 @@ -/* eslint-disable react/display-name */ import { MaterialIcon, type MaterialIconSetIconProps, -} from "@scandic-hotels/design-system/Icons" +} from "@scandic-hotels/design-system/Icons/MaterialIcon" import { AlertTypeEnum } from "@/types/enums/alert" -export function getIconByAlertType(alertType: AlertTypeEnum) { +interface IconByAlertProps { + alertType: AlertTypeEnum +} + +export function IconByAlertType({ + alertType, + ...props +}: IconByAlertProps & MaterialIconSetIconProps): JSX.Element { switch (alertType) { case AlertTypeEnum.Alarm: - return function (props: MaterialIconSetIconProps) { - return ( - - ) - } + return ( + + ) case AlertTypeEnum.Warning: - return function (props: MaterialIconSetIconProps) { - return ( - - ) - } + return ( + + ) case AlertTypeEnum.Info: default: - return function (props: MaterialIconSetIconProps) { - return ( - - ) - } + return ( + + ) } } diff --git a/apps/scandic-web/components/TempDesignSystem/BackToTopButton/index.tsx b/apps/scandic-web/components/TempDesignSystem/BackToTopButton/index.tsx index 36a94fd2b..f02f7e38f 100644 --- a/apps/scandic-web/components/TempDesignSystem/BackToTopButton/index.tsx +++ b/apps/scandic-web/components/TempDesignSystem/BackToTopButton/index.tsx @@ -3,7 +3,7 @@ import { Button as ButtonRAC } from "react-aria-components" import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { backToTopButtonVariants } from "./variants" diff --git a/apps/scandic-web/components/TempDesignSystem/Breadcrumbs/Breadcrumb.tsx b/apps/scandic-web/components/TempDesignSystem/Breadcrumbs/Breadcrumb.tsx index 0c4cf8800..b3e18461d 100644 --- a/apps/scandic-web/components/TempDesignSystem/Breadcrumbs/Breadcrumb.tsx +++ b/apps/scandic-web/components/TempDesignSystem/Breadcrumbs/Breadcrumb.tsx @@ -1,7 +1,7 @@ import { cx } from "class-variance-authority" import { Breadcrumb as AriaBreadcrumb } from "react-aria-components" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import Link from "@/components/TempDesignSystem/Link" diff --git a/apps/scandic-web/components/TempDesignSystem/Breadcrumbs/BreadcrumbsSkeleton/index.tsx b/apps/scandic-web/components/TempDesignSystem/Breadcrumbs/BreadcrumbsSkeleton/index.tsx index aba532db7..a08cd4671 100644 --- a/apps/scandic-web/components/TempDesignSystem/Breadcrumbs/BreadcrumbsSkeleton/index.tsx +++ b/apps/scandic-web/components/TempDesignSystem/Breadcrumbs/BreadcrumbsSkeleton/index.tsx @@ -1,4 +1,4 @@ -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import SkeletonShimmer from "@/components/SkeletonShimmer" import styles from "@/components/TempDesignSystem/Breadcrumbs/breadcrumbs.module.css" diff --git a/apps/scandic-web/components/TempDesignSystem/Breadcrumbs/index.tsx b/apps/scandic-web/components/TempDesignSystem/Breadcrumbs/index.tsx index 057d3abf3..583cdfbef 100644 --- a/apps/scandic-web/components/TempDesignSystem/Breadcrumbs/index.tsx +++ b/apps/scandic-web/components/TempDesignSystem/Breadcrumbs/index.tsx @@ -11,7 +11,7 @@ import { Popover, } from "react-aria-components" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { Typography } from "@scandic-hotels/design-system/Typography" import { debounce } from "@/utils/debounce" diff --git a/apps/scandic-web/components/TempDesignSystem/Form/Checkbox/index.tsx b/apps/scandic-web/components/TempDesignSystem/Form/Checkbox/index.tsx index 82a5a18fb..749e68e55 100644 --- a/apps/scandic-web/components/TempDesignSystem/Form/Checkbox/index.tsx +++ b/apps/scandic-web/components/TempDesignSystem/Form/Checkbox/index.tsx @@ -3,7 +3,7 @@ import { Checkbox as AriaCheckbox } from "react-aria-components" import { useController, useFormContext } from "react-hook-form" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import Caption from "@/components/TempDesignSystem/Text/Caption" diff --git a/apps/scandic-web/components/TempDesignSystem/Form/ErrorMessage/Error.tsx b/apps/scandic-web/components/TempDesignSystem/Form/ErrorMessage/Error.tsx index aec1727a4..0a55ab94f 100644 --- a/apps/scandic-web/components/TempDesignSystem/Form/ErrorMessage/Error.tsx +++ b/apps/scandic-web/components/TempDesignSystem/Form/ErrorMessage/Error.tsx @@ -1,4 +1,4 @@ -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import Caption from "@/components/TempDesignSystem/Text/Caption" diff --git a/apps/scandic-web/components/TempDesignSystem/Form/FilterChip/_Chip/index.tsx b/apps/scandic-web/components/TempDesignSystem/Form/FilterChip/_Chip/index.tsx index 7b101a308..d0ff244b6 100644 --- a/apps/scandic-web/components/TempDesignSystem/Form/FilterChip/_Chip/index.tsx +++ b/apps/scandic-web/components/TempDesignSystem/Form/FilterChip/_Chip/index.tsx @@ -1,7 +1,7 @@ import { useMemo } from "react" import { useFormContext } from "react-hook-form" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import Caption from "@/components/TempDesignSystem/Text/Caption" diff --git a/apps/scandic-web/components/TempDesignSystem/Form/Input/index.tsx b/apps/scandic-web/components/TempDesignSystem/Form/Input/index.tsx index 2808dddaf..3bea52700 100644 --- a/apps/scandic-web/components/TempDesignSystem/Form/Input/index.tsx +++ b/apps/scandic-web/components/TempDesignSystem/Form/Input/index.tsx @@ -3,7 +3,7 @@ import { Text, TextField } from "react-aria-components" import { Controller, useFormContext } from "react-hook-form" import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import AriaInputWithLabel from "@/components/TempDesignSystem/Form/Input/AriaInputWithLabel" import Caption from "@/components/TempDesignSystem/Text/Caption" diff --git a/apps/scandic-web/components/TempDesignSystem/Form/PasswordInput/index.tsx b/apps/scandic-web/components/TempDesignSystem/Form/PasswordInput/index.tsx index 28780fcfa..12fc1463c 100644 --- a/apps/scandic-web/components/TempDesignSystem/Form/PasswordInput/index.tsx +++ b/apps/scandic-web/components/TempDesignSystem/Form/PasswordInput/index.tsx @@ -5,7 +5,7 @@ import { Text, TextField } from "react-aria-components" import { Controller, useFormContext } from "react-hook-form" import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import Button from "@/components/TempDesignSystem/Button" import AriaInputWithLabel from "@/components/TempDesignSystem/Form/Input/AriaInputWithLabel" diff --git a/apps/scandic-web/components/TempDesignSystem/Form/Phone/index.tsx b/apps/scandic-web/components/TempDesignSystem/Form/Phone/index.tsx index da6931a21..0e0a7525b 100644 --- a/apps/scandic-web/components/TempDesignSystem/Form/Phone/index.tsx +++ b/apps/scandic-web/components/TempDesignSystem/Form/Phone/index.tsx @@ -12,7 +12,7 @@ import { } from "react-international-phone" import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import ErrorMessage from "@/components/TempDesignSystem/Form/ErrorMessage" import AriaInputWithLabel from "@/components/TempDesignSystem/Form/Input/AriaInputWithLabel" diff --git a/apps/scandic-web/components/TempDesignSystem/Form/RadioCard/index.tsx b/apps/scandic-web/components/TempDesignSystem/Form/RadioCard/index.tsx index 08e2bb957..3b04e07f3 100644 --- a/apps/scandic-web/components/TempDesignSystem/Form/RadioCard/index.tsx +++ b/apps/scandic-web/components/TempDesignSystem/Form/RadioCard/index.tsx @@ -3,7 +3,7 @@ import { cx } from "class-variance-authority" import { useFormContext } from "react-hook-form" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { Typography } from "@scandic-hotels/design-system/Typography" import Divider from "@/components/TempDesignSystem/Divider" diff --git a/apps/scandic-web/components/TempDesignSystem/Form/SelectChevron/index.tsx b/apps/scandic-web/components/TempDesignSystem/Form/SelectChevron/index.tsx index 411dd15bd..a7567c2bf 100644 --- a/apps/scandic-web/components/TempDesignSystem/Form/SelectChevron/index.tsx +++ b/apps/scandic-web/components/TempDesignSystem/Form/SelectChevron/index.tsx @@ -1,7 +1,5 @@ -import { - type IconProps, - MaterialIcon, -} from "@scandic-hotels/design-system/Icons" +import { type IconProps } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import styles from "./chevron.module.css" diff --git a/apps/scandic-web/components/TempDesignSystem/Form/Switch/index.tsx b/apps/scandic-web/components/TempDesignSystem/Form/Switch/index.tsx index 471f897a1..41f13c376 100644 --- a/apps/scandic-web/components/TempDesignSystem/Form/Switch/index.tsx +++ b/apps/scandic-web/components/TempDesignSystem/Form/Switch/index.tsx @@ -3,7 +3,7 @@ import { Switch as AriaSwitch } from "react-aria-components" import { useController, useFormContext } from "react-hook-form" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import Caption from "@/components/TempDesignSystem/Text/Caption" diff --git a/apps/scandic-web/components/TempDesignSystem/Form/TextArea/index.tsx b/apps/scandic-web/components/TempDesignSystem/Form/TextArea/index.tsx index 997233b80..0de8851b2 100644 --- a/apps/scandic-web/components/TempDesignSystem/Form/TextArea/index.tsx +++ b/apps/scandic-web/components/TempDesignSystem/Form/TextArea/index.tsx @@ -8,7 +8,7 @@ import { } from "react-aria-components" import { Controller, useFormContext } from "react-hook-form" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import Label from "@/components/TempDesignSystem/Form/Label" import Caption from "@/components/TempDesignSystem/Text/Caption" diff --git a/apps/scandic-web/components/TempDesignSystem/LinkChips/Chip/index.tsx b/apps/scandic-web/components/TempDesignSystem/LinkChips/Chip/index.tsx index 14a9b3b7a..82a5df3e7 100644 --- a/apps/scandic-web/components/TempDesignSystem/LinkChips/Chip/index.tsx +++ b/apps/scandic-web/components/TempDesignSystem/LinkChips/Chip/index.tsx @@ -1,6 +1,6 @@ import Link from "next/link" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import Caption from "@/components/TempDesignSystem/Text/Caption" diff --git a/apps/scandic-web/components/TempDesignSystem/LoyaltyCard/index.tsx b/apps/scandic-web/components/TempDesignSystem/LoyaltyCard/index.tsx index b71e9e058..be600673e 100644 --- a/apps/scandic-web/components/TempDesignSystem/LoyaltyCard/index.tsx +++ b/apps/scandic-web/components/TempDesignSystem/LoyaltyCard/index.tsx @@ -1,4 +1,4 @@ -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import Image from "@/components/Image" import Link from "@/components/TempDesignSystem/Link" diff --git a/apps/scandic-web/components/TempDesignSystem/MeetingRoomCard/index.tsx b/apps/scandic-web/components/TempDesignSystem/MeetingRoomCard/index.tsx index e6ead4041..7278f13d2 100644 --- a/apps/scandic-web/components/TempDesignSystem/MeetingRoomCard/index.tsx +++ b/apps/scandic-web/components/TempDesignSystem/MeetingRoomCard/index.tsx @@ -2,7 +2,7 @@ import { useState } from "react" import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import Image from "@/components/Image" diff --git a/apps/scandic-web/components/TempDesignSystem/Popover/index.tsx b/apps/scandic-web/components/TempDesignSystem/Popover/index.tsx index 8ddb2fce5..1abc34424 100644 --- a/apps/scandic-web/components/TempDesignSystem/Popover/index.tsx +++ b/apps/scandic-web/components/TempDesignSystem/Popover/index.tsx @@ -6,7 +6,7 @@ import { Popover as RAPopover, } from "react-aria-components" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import useSetOverFlowVisibleOnRA from "@/hooks/useSetOverflowVisibleOnRA" diff --git a/apps/scandic-web/components/TempDesignSystem/ShowMoreButton/index.tsx b/apps/scandic-web/components/TempDesignSystem/ShowMoreButton/index.tsx index 6284f3835..efbc462d5 100644 --- a/apps/scandic-web/components/TempDesignSystem/ShowMoreButton/index.tsx +++ b/apps/scandic-web/components/TempDesignSystem/ShowMoreButton/index.tsx @@ -2,7 +2,7 @@ import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import Button from "@/components/TempDesignSystem/Button" diff --git a/apps/scandic-web/components/TempDesignSystem/SidePeek/index.tsx b/apps/scandic-web/components/TempDesignSystem/SidePeek/index.tsx index f4ffa01e0..028a6db52 100644 --- a/apps/scandic-web/components/TempDesignSystem/SidePeek/index.tsx +++ b/apps/scandic-web/components/TempDesignSystem/SidePeek/index.tsx @@ -4,7 +4,7 @@ import { useContext, useRef } from "react" import { Dialog, Modal, ModalOverlay } from "react-aria-components" import { useIntl } from "react-intl" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import { Typography } from "@scandic-hotels/design-system/Typography" import { SidePeekContext } from "@/components/SidePeeks/SidePeekProvider" diff --git a/apps/scandic-web/components/TempDesignSystem/TeaserCard/Sidepeek/index.tsx b/apps/scandic-web/components/TempDesignSystem/TeaserCard/Sidepeek/index.tsx index 7d2dc9a4c..034a3540d 100644 --- a/apps/scandic-web/components/TempDesignSystem/TeaserCard/Sidepeek/index.tsx +++ b/apps/scandic-web/components/TempDesignSystem/TeaserCard/Sidepeek/index.tsx @@ -3,7 +3,7 @@ import { useState } from "react" import { Button } from "@scandic-hotels/design-system/Button" -import { MaterialIcon } from "@scandic-hotels/design-system/Icons" +import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon" import ButtonLink from "@/components/ButtonLink" import JsonToHtml from "@/components/JsonToHtml" diff --git a/apps/scandic-web/components/TempDesignSystem/Toasts/index.tsx b/apps/scandic-web/components/TempDesignSystem/Toasts/index.tsx index 115c76052..2998c59d9 100644 --- a/apps/scandic-web/components/TempDesignSystem/Toasts/index.tsx +++ b/apps/scandic-web/components/TempDesignSystem/Toasts/index.tsx @@ -3,7 +3,7 @@ import { type ExternalToast, toast as sonnerToast, Toaster } from "sonner" import { MaterialIcon, type MaterialIconSetIconProps, -} from "@scandic-hotels/design-system/Icons" +} from "@scandic-hotels/design-system/Icons/MaterialIcon" import Button from "../Button" import Body from "../Text/Body" diff --git a/apps/scandic-web/constants/booking.tsx b/apps/scandic-web/constants/booking.ts similarity index 85% rename from apps/scandic-web/constants/booking.tsx rename to apps/scandic-web/constants/booking.ts index e1992dca9..8f365fad8 100644 --- a/apps/scandic-web/constants/booking.tsx +++ b/apps/scandic-web/constants/booking.ts @@ -1,15 +1,14 @@ -import { - BedBunkExtraIcon, - BedGenericIcon, - BedKingIcon, - BedPullOutExtraIcon, - BedQueenIcon, - BedSingleIcon, - BedSofaExtraIcon, - BedTwinIcon, - BedWallExtraIcon, - type IconProps, -} from "@scandic-hotels/design-system/Icons" +import BedBunkExtraIcon from "@scandic-hotels/design-system/Icons/BedBunkExtraIcon" +import BedGenericIcon from "@scandic-hotels/design-system/Icons/BedGenericIcon" +import BedKingIcon from "@scandic-hotels/design-system/Icons/BedKingIcon" +import BedPullOutExtraIcon from "@scandic-hotels/design-system/Icons/BedPullOutExtraIcon" +import BedQueenIcon from "@scandic-hotels/design-system/Icons/BedQueenIcon" +import BedSingleIcon from "@scandic-hotels/design-system/Icons/BedSingleIcon" +import BedSofaExtraIcon from "@scandic-hotels/design-system/Icons/BedSofaExtraIcon" +import BedTwinIcon from "@scandic-hotels/design-system/Icons/BedTwinIcon" +import BedWallExtraIcon from "@scandic-hotels/design-system/Icons/BedWallExtraIcon" + +import type { IconProps } from "@scandic-hotels/design-system/Icons" export enum BookingStatusEnum { BookingCompleted = "BookingCompleted", diff --git a/packages/design-system/lib/components/Icons/Customised/Amenities&Facilities/BedHotel.tsx b/packages/design-system/lib/components/Icons/Customised/Amenities_Facilities/BedHotel.tsx similarity index 100% rename from packages/design-system/lib/components/Icons/Customised/Amenities&Facilities/BedHotel.tsx rename to packages/design-system/lib/components/Icons/Customised/Amenities_Facilities/BedHotel.tsx diff --git a/packages/design-system/lib/components/Icons/Customised/Amenities&Facilities/Cooling.tsx b/packages/design-system/lib/components/Icons/Customised/Amenities_Facilities/Cooling.tsx similarity index 100% rename from packages/design-system/lib/components/Icons/Customised/Amenities&Facilities/Cooling.tsx rename to packages/design-system/lib/components/Icons/Customised/Amenities_Facilities/Cooling.tsx diff --git a/packages/design-system/lib/components/Icons/Customised/Amenities&Facilities/CouchTable.tsx b/packages/design-system/lib/components/Icons/Customised/Amenities_Facilities/CouchTable.tsx similarity index 100% rename from packages/design-system/lib/components/Icons/Customised/Amenities&Facilities/CouchTable.tsx rename to packages/design-system/lib/components/Icons/Customised/Amenities_Facilities/CouchTable.tsx diff --git a/packages/design-system/lib/components/Icons/Customised/Amenities&Facilities/FootStool.tsx b/packages/design-system/lib/components/Icons/Customised/Amenities_Facilities/FootStool.tsx similarity index 100% rename from packages/design-system/lib/components/Icons/Customised/Amenities&Facilities/FootStool.tsx rename to packages/design-system/lib/components/Icons/Customised/Amenities_Facilities/FootStool.tsx diff --git a/packages/design-system/lib/components/Icons/Customised/Amenities&Facilities/Hairdryer.tsx b/packages/design-system/lib/components/Icons/Customised/Amenities_Facilities/Hairdryer.tsx similarity index 100% rename from packages/design-system/lib/components/Icons/Customised/Amenities&Facilities/Hairdryer.tsx rename to packages/design-system/lib/components/Icons/Customised/Amenities_Facilities/Hairdryer.tsx diff --git a/packages/design-system/lib/components/Icons/Customised/Amenities&Facilities/HandSoap.tsx b/packages/design-system/lib/components/Icons/Customised/Amenities_Facilities/HandSoap.tsx similarity index 100% rename from packages/design-system/lib/components/Icons/Customised/Amenities&Facilities/HandSoap.tsx rename to packages/design-system/lib/components/Icons/Customised/Amenities_Facilities/HandSoap.tsx diff --git a/packages/design-system/lib/components/Icons/Customised/Amenities&Facilities/IceMachine.tsx b/packages/design-system/lib/components/Icons/Customised/Amenities_Facilities/IceMachine.tsx similarity index 100% rename from packages/design-system/lib/components/Icons/Customised/Amenities&Facilities/IceMachine.tsx rename to packages/design-system/lib/components/Icons/Customised/Amenities_Facilities/IceMachine.tsx diff --git a/packages/design-system/lib/components/Icons/Customised/Amenities&Facilities/Massage.tsx b/packages/design-system/lib/components/Icons/Customised/Amenities_Facilities/Massage.tsx similarity index 100% rename from packages/design-system/lib/components/Icons/Customised/Amenities&Facilities/Massage.tsx rename to packages/design-system/lib/components/Icons/Customised/Amenities_Facilities/Massage.tsx diff --git a/packages/design-system/lib/components/Icons/Customised/Amenities&Facilities/MdiBunkBedOutline.tsx b/packages/design-system/lib/components/Icons/Customised/Amenities_Facilities/MdiBunkBedOutline.tsx similarity index 100% rename from packages/design-system/lib/components/Icons/Customised/Amenities&Facilities/MdiBunkBedOutline.tsx rename to packages/design-system/lib/components/Icons/Customised/Amenities_Facilities/MdiBunkBedOutline.tsx diff --git a/packages/design-system/lib/components/Icons/Customised/Amenities&Facilities/Mirror.tsx b/packages/design-system/lib/components/Icons/Customised/Amenities_Facilities/Mirror.tsx similarity index 100% rename from packages/design-system/lib/components/Icons/Customised/Amenities&Facilities/Mirror.tsx rename to packages/design-system/lib/components/Icons/Customised/Amenities_Facilities/Mirror.tsx diff --git a/packages/design-system/lib/components/Icons/Customised/Amenities&Facilities/MovingBeds.tsx b/packages/design-system/lib/components/Icons/Customised/Amenities_Facilities/MovingBeds.tsx similarity index 100% rename from packages/design-system/lib/components/Icons/Customised/Amenities&Facilities/MovingBeds.tsx rename to packages/design-system/lib/components/Icons/Customised/Amenities_Facilities/MovingBeds.tsx diff --git a/packages/design-system/lib/components/Icons/Customised/Amenities&Facilities/Road.tsx b/packages/design-system/lib/components/Icons/Customised/Amenities_Facilities/Road.tsx similarity index 100% rename from packages/design-system/lib/components/Icons/Customised/Amenities&Facilities/Road.tsx rename to packages/design-system/lib/components/Icons/Customised/Amenities_Facilities/Road.tsx diff --git a/packages/design-system/lib/components/Icons/Customised/Amenities&Facilities/Rug.tsx b/packages/design-system/lib/components/Icons/Customised/Amenities_Facilities/Rug.tsx similarity index 100% rename from packages/design-system/lib/components/Icons/Customised/Amenities&Facilities/Rug.tsx rename to packages/design-system/lib/components/Icons/Customised/Amenities_Facilities/Rug.tsx diff --git a/packages/design-system/lib/components/Icons/Customised/Amenities&Facilities/SafetyBox.tsx b/packages/design-system/lib/components/Icons/Customised/Amenities_Facilities/SafetyBox.tsx similarity index 100% rename from packages/design-system/lib/components/Icons/Customised/Amenities&Facilities/SafetyBox.tsx rename to packages/design-system/lib/components/Icons/Customised/Amenities_Facilities/SafetyBox.tsx diff --git a/packages/design-system/lib/components/Icons/Customised/Amenities&Facilities/Slippers.tsx b/packages/design-system/lib/components/Icons/Customised/Amenities_Facilities/Slippers.tsx similarity index 100% rename from packages/design-system/lib/components/Icons/Customised/Amenities&Facilities/Slippers.tsx rename to packages/design-system/lib/components/Icons/Customised/Amenities_Facilities/Slippers.tsx diff --git a/packages/design-system/lib/components/Icons/Customised/Amenities&Facilities/Towel.tsx b/packages/design-system/lib/components/Icons/Customised/Amenities_Facilities/Towel.tsx similarity index 100% rename from packages/design-system/lib/components/Icons/Customised/Amenities&Facilities/Towel.tsx rename to packages/design-system/lib/components/Icons/Customised/Amenities_Facilities/Towel.tsx diff --git a/packages/design-system/lib/components/Icons/Customised/Amenities&Facilities/View.tsx b/packages/design-system/lib/components/Icons/Customised/Amenities_Facilities/View.tsx similarity index 100% rename from packages/design-system/lib/components/Icons/Customised/Amenities&Facilities/View.tsx rename to packages/design-system/lib/components/Icons/Customised/Amenities_Facilities/View.tsx diff --git a/packages/design-system/lib/components/Icons/Customised/Amenities&Facilities/Ward.tsx b/packages/design-system/lib/components/Icons/Customised/Amenities_Facilities/Ward.tsx similarity index 100% rename from packages/design-system/lib/components/Icons/Customised/Amenities&Facilities/Ward.tsx rename to packages/design-system/lib/components/Icons/Customised/Amenities_Facilities/Ward.tsx diff --git a/packages/design-system/lib/components/Icons/Customised/Amenities&Facilities/WindowNotAvailable.tsx b/packages/design-system/lib/components/Icons/Customised/Amenities_Facilities/WindowNotAvailable.tsx similarity index 100% rename from packages/design-system/lib/components/Icons/Customised/Amenities&Facilities/WindowNotAvailable.tsx rename to packages/design-system/lib/components/Icons/Customised/Amenities_Facilities/WindowNotAvailable.tsx diff --git a/packages/design-system/lib/components/Icons/Customised/Amenities&Facilities/WoodFloor.tsx b/packages/design-system/lib/components/Icons/Customised/Amenities_Facilities/WoodFloor.tsx similarity index 100% rename from packages/design-system/lib/components/Icons/Customised/Amenities&Facilities/WoodFloor.tsx rename to packages/design-system/lib/components/Icons/Customised/Amenities_Facilities/WoodFloor.tsx diff --git a/packages/design-system/lib/components/Icons/Logos/index.tsx b/packages/design-system/lib/components/Icons/Logos/index.tsx index f4c09e451..d15019782 100644 --- a/packages/design-system/lib/components/Icons/Logos/index.tsx +++ b/packages/design-system/lib/components/Icons/Logos/index.tsx @@ -1,12 +1,10 @@ -import { - DowntownCamperIcon, - GrandHotelOsloLogoIcon, - HaymarketIcon, - HotelNorgeIcon, - MarskiLogoIcon, - ScandicGoLogoIcon, - ScandicLogoIcon, -} from '..' +import DowntownCamperIcon from './DowntownCamper' +import GrandHotelOsloLogoIcon from './GrandHotelOslo' +import HaymarketIcon from './Haymarket' +import HotelNorgeIcon from './HotelNorge' +import MarskiLogoIcon from './Marski' +import ScandicGoLogoIcon from './ScandicGoLogo' +import ScandicLogoIcon from './ScandicLogo' type HotelLogoProps = { hotelId: string @@ -27,7 +25,7 @@ enum SignatureHotelEnum { Marski = '605', } -export default function HotelLogo({ hotelId, hotelType }: HotelLogoProps) { +export default function HotelLogoIcon({ hotelId, hotelType }: HotelLogoProps) { if (hotelType === HotelTypeEnum.ScandicGo) { return } diff --git a/packages/design-system/lib/components/Icons/Nucleo/Amenities&Facilities/bathroom-cabinet-2.tsx b/packages/design-system/lib/components/Icons/Nucleo/Amenities_Facilities/bathroom-cabinet-2.tsx similarity index 100% rename from packages/design-system/lib/components/Icons/Nucleo/Amenities&Facilities/bathroom-cabinet-2.tsx rename to packages/design-system/lib/components/Icons/Nucleo/Amenities_Facilities/bathroom-cabinet-2.tsx diff --git a/packages/design-system/lib/components/Icons/Nucleo/Amenities&Facilities/conference-room.tsx b/packages/design-system/lib/components/Icons/Nucleo/Amenities_Facilities/conference-room.tsx similarity index 100% rename from packages/design-system/lib/components/Icons/Nucleo/Amenities&Facilities/conference-room.tsx rename to packages/design-system/lib/components/Icons/Nucleo/Amenities_Facilities/conference-room.tsx diff --git a/packages/design-system/lib/components/Icons/Nucleo/Amenities&Facilities/door-2.tsx b/packages/design-system/lib/components/Icons/Nucleo/Amenities_Facilities/door-2.tsx similarity index 100% rename from packages/design-system/lib/components/Icons/Nucleo/Amenities&Facilities/door-2.tsx rename to packages/design-system/lib/components/Icons/Nucleo/Amenities_Facilities/door-2.tsx diff --git a/packages/design-system/lib/components/Icons/Nucleo/Amenities&Facilities/hairdresser-1.tsx b/packages/design-system/lib/components/Icons/Nucleo/Amenities_Facilities/hairdresser-1.tsx similarity index 100% rename from packages/design-system/lib/components/Icons/Nucleo/Amenities&Facilities/hairdresser-1.tsx rename to packages/design-system/lib/components/Icons/Nucleo/Amenities_Facilities/hairdresser-1.tsx diff --git a/packages/design-system/lib/components/Icons/Nucleo/Amenities&Facilities/record-player-3.tsx b/packages/design-system/lib/components/Icons/Nucleo/Amenities_Facilities/record-player-3.tsx similarity index 100% rename from packages/design-system/lib/components/Icons/Nucleo/Amenities&Facilities/record-player-3.tsx rename to packages/design-system/lib/components/Icons/Nucleo/Amenities_Facilities/record-player-3.tsx diff --git a/packages/design-system/lib/components/Icons/Nucleo/Amenities&Facilities/toilet-2.tsx b/packages/design-system/lib/components/Icons/Nucleo/Amenities_Facilities/toilet-2.tsx similarity index 100% rename from packages/design-system/lib/components/Icons/Nucleo/Amenities&Facilities/toilet-2.tsx rename to packages/design-system/lib/components/Icons/Nucleo/Amenities_Facilities/toilet-2.tsx diff --git a/packages/design-system/lib/components/Icons/Nucleo/Amenities&Facilities/user-police-2.tsx b/packages/design-system/lib/components/Icons/Nucleo/Amenities_Facilities/user-police-2.tsx similarity index 100% rename from packages/design-system/lib/components/Icons/Nucleo/Amenities&Facilities/user-police-2.tsx rename to packages/design-system/lib/components/Icons/Nucleo/Amenities_Facilities/user-police-2.tsx diff --git a/packages/design-system/lib/components/Icons/index.ts b/packages/design-system/lib/components/Icons/index.ts new file mode 100644 index 000000000..94178e362 --- /dev/null +++ b/packages/design-system/lib/components/Icons/index.ts @@ -0,0 +1,6 @@ +export type { + IconProps, + IllustrationProps as LogoAndIllustrationProps, + LogoProps, + NucleoIconProps, +} from './icon' diff --git a/packages/design-system/lib/components/Icons/index.tsx b/packages/design-system/lib/components/Icons/index.tsx deleted file mode 100644 index 839669167..000000000 --- a/packages/design-system/lib/components/Icons/index.tsx +++ /dev/null @@ -1,85 +0,0 @@ -export { default as BedHotelIcon } from './Customised/Amenities&Facilities/BedHotel' -export { default as CoolingIcon } from './Customised/Amenities&Facilities/Cooling' -export { default as CouchTableIcon } from './Customised/Amenities&Facilities/CouchTable' -export { default as FootStoolIcon } from './Customised/Amenities&Facilities/FootStool' -export { default as HairDryerIcon } from './Customised/Amenities&Facilities/Hairdryer' -export { default as HandSoapIcon } from './Customised/Amenities&Facilities/HandSoap' -export { default as IceMachineIcon } from './Customised/Amenities&Facilities/IceMachine' -export { default as MassageIcon } from './Customised/Amenities&Facilities/Massage' -export { default as MdiBunkBedIcon } from './Customised/Amenities&Facilities/MdiBunkBedOutline' -export { default as MirrorIcon } from './Customised/Amenities&Facilities/Mirror' -export { default as MovingBedsIcon } from './Customised/Amenities&Facilities/MovingBeds' -export { default as RoadIcon } from './Customised/Amenities&Facilities/Road' -export { default as RugIcon } from './Customised/Amenities&Facilities/Rug' -export { default as SafetyBoxIcon } from './Customised/Amenities&Facilities/SafetyBox' -export { default as SlippersIcon } from './Customised/Amenities&Facilities/Slippers' -export { default as TowelIcon } from './Customised/Amenities&Facilities/Towel' -export { default as ViewIcon } from './Customised/Amenities&Facilities/View' -export { default as WardIcon } from './Customised/Amenities&Facilities/Ward' -export { default as WindowNotAvailableIcon } from './Customised/Amenities&Facilities/WindowNotAvailable' -export { default as WoodFloorIcon } from './Customised/Amenities&Facilities/WoodFloor' -export { default as DiamondAddIcon } from './Customised/Benefits/DiamondAdd' -export { default as FacebookIcon } from './Customised/Socials/Facebook' -export { default as InstagramIcon } from './Customised/Socials/Instagram' -export { default as TripadvisorIcon } from './Customised/Socials/Tripadvisor' -export { default as MinimizeIcon } from './Customised/UI/Minimize' -export { default as BedIcon } from './Illustrations/Bed' -export { default as BedBunkIcon } from './Illustrations/BedBunk' -export { default as BedBunkExtraIcon } from './Illustrations/BedBunkExtra' -export { default as BedGenericIcon } from './Illustrations/BedGeneric' -export { default as BedKingIcon } from './Illustrations/BedKing' -export { default as BedPullOutIcon } from './Illustrations/BedPullOut' -export { default as BedPullOutExtraIcon } from './Illustrations/BedPullOutExtra' -export { default as BedQueenIcon } from './Illustrations/BedQueen' -export { default as BedSingleIcon } from './Illustrations/BedSingle' -export { default as BedSofaIcon } from './Illustrations/BedSofa' -export { default as BedSofaExtraIcon } from './Illustrations/BedSofaExtra' -export { default as BedTwinIcon } from './Illustrations/BedTwin' -export { default as BedWallExtraIcon } from './Illustrations/BedWallExtra' -export { default as BreakfastBuffetIcon } from './Illustrations/BreakfastBuffet' -export { default as NoBreakfastBuffetIcon } from './Illustrations/NoBreakfastBuffet' -export { default as CoinIcon } from './Illustrations/Coin' -export { default as CroissantCoffeeEggIcon } from './Illustrations/CroissantCoffeeEgg' -export { default as CutleryOneIcon } from './Illustrations/CutleryOne' -export { default as CutleryTwoIcon } from './Illustrations/CutleryTwo' -export { default as GiftOpenIcon } from './Illustrations/GiftOpen' -export { default as HandKeyIcon } from './Illustrations/HandKey' -export { default as HotelNightIcon } from './Illustrations/HotelNight' -export { default as KidsIcon } from './Illustrations/Kids' -export { default as KidsMocktailIcon } from './Illustrations/KidsMocktail' -export { default as MagicWandIcon } from './Illustrations/MagicWand' -export { default as MoneyHandIcon } from './Illustrations/MoneyHand' -export { default as SurpriseIcon } from './Illustrations/Surprise' -export { default as VoucherIcon } from './Illustrations/Voucher' -export { default as HotelLogo } from './Logos' -export { default as DowntownCamperIcon } from './Logos/DowntownCamper' -export { default as GrandHotelOsloLogoIcon } from './Logos/GrandHotelOslo' -export { default as HaymarketIcon } from './Logos/Haymarket' -export { default as HotelNorgeIcon } from './Logos/HotelNorge' -export { default as MarskiLogoIcon } from './Logos/Marski' -export { default as ScandicGoLogoIcon } from './Logos/ScandicGoLogo' -export { default as ScandicLogoIcon } from './Logos/ScandicLogo' -export { MaterialIcon } from './MaterialIcon' -export { default as BathroomCabinet2Icon } from './Nucleo/Amenities&Facilities/bathroom-cabinet-2' -export { default as ConferenceRoomIcon } from './Nucleo/Amenities&Facilities/conference-room' -export { default as Door2Icon } from './Nucleo/Amenities&Facilities/door-2' -export { default as Hairdresser1Icon } from './Nucleo/Amenities&Facilities/hairdresser-1' -export { default as RecordPlayer3Icon } from './Nucleo/Amenities&Facilities/record-player-3' -export { default as Toilet2Icon } from './Nucleo/Amenities&Facilities/toilet-2' -export { default as UserPolice2Icon } from './Nucleo/Amenities&Facilities/user-police-2' -export { default as BouquetIcon } from './Nucleo/Benefits/bouquet' -export { default as Discount22Icon } from './Nucleo/Benefits/discount-2-2' -export { default as BowlingPinsIcon } from './Nucleo/Experiences/bowling-pins' -export { default as PalmTree2Icon } from './Nucleo/Experiences/palm-tree-2' -export { default as Chips3Icon } from './Nucleo/Food/chips-3' -export { default as Popcorn2Icon } from './Nucleo/Food/popcorn-2' - -export type { - IconProps, - IllustrationProps as LogoAndIllustrationProps, - NucleoIconProps, -} from './icon' -export type { - MaterialIconProps, - MaterialIconSetIconProps, -} from './MaterialIcon' diff --git a/packages/design-system/lib/components/RateCard/Campaign/index.tsx b/packages/design-system/lib/components/RateCard/Campaign/index.tsx index 935e6b428..12743e2cd 100644 --- a/packages/design-system/lib/components/RateCard/Campaign/index.tsx +++ b/packages/design-system/lib/components/RateCard/Campaign/index.tsx @@ -4,7 +4,7 @@ import { Rate, RateTermDetails } from '../types' import styles from '../rate-card.module.css' import { Button } from '../../Button' import { variants } from '../variants' -import { MaterialIcon } from '../../Icons' +import { MaterialIcon } from '../../Icons/MaterialIcon' import Modal from '../Modal' interface CampaignRateCardProps { diff --git a/packages/design-system/lib/components/RateCard/Code/index.tsx b/packages/design-system/lib/components/RateCard/Code/index.tsx index c1c288487..db1cc3301 100644 --- a/packages/design-system/lib/components/RateCard/Code/index.tsx +++ b/packages/design-system/lib/components/RateCard/Code/index.tsx @@ -4,7 +4,7 @@ import styles from '../rate-card.module.css' import { Typography } from '../../Typography' import { Button } from '../../Button' import { variants } from '../variants' -import { MaterialIcon } from '../../Icons' +import { MaterialIcon } from '../../Icons/MaterialIcon' import Modal from '../Modal' interface CodeRateCardProps { diff --git a/packages/design-system/lib/components/RateCard/Modal/index.tsx b/packages/design-system/lib/components/RateCard/Modal/index.tsx index 4b90229d9..8dc4022c9 100644 --- a/packages/design-system/lib/components/RateCard/Modal/index.tsx +++ b/packages/design-system/lib/components/RateCard/Modal/index.tsx @@ -19,7 +19,7 @@ import { fade, slideInOut } from './motionVariants' import styles from './modal.module.css' import { Typography } from '../../Typography' -import { MaterialIcon } from '../../Icons' +import { MaterialIcon } from '../../Icons/MaterialIcon' const MotionOverlay = motion(ModalOverlay) const MotionModal = motion(AriaModal) diff --git a/packages/design-system/lib/components/RateCard/NoRateAvailable/index.tsx b/packages/design-system/lib/components/RateCard/NoRateAvailable/index.tsx index 1e0f1cded..3dddc5aac 100644 --- a/packages/design-system/lib/components/RateCard/NoRateAvailable/index.tsx +++ b/packages/design-system/lib/components/RateCard/NoRateAvailable/index.tsx @@ -2,7 +2,7 @@ import styles from '../rate-card.module.css' import { Typography } from '../../Typography' import { Button } from '../../Button' import { variants } from '../variants' -import { MaterialIcon } from '../../Icons' +import { MaterialIcon } from '../../Icons/MaterialIcon' interface NoRateAvailableCardProps { variant: 'Regular' | 'Campaign' | 'Code' | 'Points' diff --git a/packages/design-system/lib/components/RateCard/Points/index.tsx b/packages/design-system/lib/components/RateCard/Points/index.tsx index 94d334bb1..e7b5f200b 100644 --- a/packages/design-system/lib/components/RateCard/Points/index.tsx +++ b/packages/design-system/lib/components/RateCard/Points/index.tsx @@ -6,7 +6,7 @@ import { Button } from '../../Button' import { Radio } from '../../Radio' import { RadioGroup } from 'react-aria-components' import { variants } from '../variants' -import { MaterialIcon } from '../../Icons' +import { MaterialIcon } from '../../Icons/MaterialIcon' import Modal from '../Modal' interface PointsRateCardProps { diff --git a/packages/design-system/lib/components/RateCard/Regular/index.tsx b/packages/design-system/lib/components/RateCard/Regular/index.tsx index b302f4388..6d853cfa1 100644 --- a/packages/design-system/lib/components/RateCard/Regular/index.tsx +++ b/packages/design-system/lib/components/RateCard/Regular/index.tsx @@ -4,7 +4,7 @@ import styles from '../rate-card.module.css' import { Typography } from '../../Typography' import { Button } from '../../Button' import { variants } from '../variants' -import { MaterialIcon } from '../../Icons' +import { MaterialIcon } from '../../Icons/MaterialIcon' import Modal from '../Modal' interface RegularRateCardProps { diff --git a/packages/design-system/package.json b/packages/design-system/package.json index 70c294791..4bcb53557 100644 --- a/packages/design-system/package.json +++ b/packages/design-system/package.json @@ -9,13 +9,88 @@ "./ChipButton": "./dist/components/ChipButton/index.js", "./ChipLink": "./dist/components/ChipLink/index.js", "./Chips": "./dist/components/Chips/index.js", - "./Icons": "./dist/components/Icons/index.js", "./Typography": "./dist/components/Typography/index.js", "./RegularRateCard": "./dist/components/RateCard/Regular/index.js", "./CampaignRateCard": "./dist/components/RateCard/Campaign/index.js", "./CodeRateCard": "./dist/components/RateCard/Code/index.js", "./PointsRateCard": "./dist/components/RateCard/Points/index.js", "./NoRateAvailableCard": "./dist/components/RateCard/NoRateAvailable/index.js", + "./Icons": "./dist/components/Icons/index.js", + "./Icons/BathroomCabinetIcon": "./dist/components/Icons/Nucleo/Amenities_Facilities/bathroom-cabinet-2.js", + "./Icons/BedHotelIcon": "./dist/components/Icons/Customised/Amenities_Facilities/BedHotel.js", + "./Icons/BedIcon": "./dist/components/Icons/Illustrations/Bed.js", + "./Icons/BouquetIcon": "./dist/components/Icons/Nucleo/Benefits/bouquet.js", + "./Icons/BowlingPinsIcon": "./dist/components/Icons/Nucleo/Experiences/bowling-pins.js", + "./Icons/BunkBedIcon": "./dist/components/Icons/Customised/Amenities_Facilities/MdiBunkBedOutline.js", + "./Icons/ChipsIcon": "./dist/components/Icons/Nucleo/Food/chips-3.js", + "./Icons/CoinIcon": "./dist/components/Icons/Illustrations/Coin.js", + "./Icons/ConferenceRoomIcon": "./dist/components/Icons/Nucleo/Amenities_Facilities/conference-room.js", + "./Icons/CoolingIcon": "./dist/components/Icons/Customised/Amenities_Facilities/Cooling.js", + "./Icons/CouchTableIcon": "./dist/components/Icons/Customised/Amenities_Facilities/CouchTable.js", + "./Icons/CroissantCoffeeEggIcon": "./dist/components/Icons/Illustrations/CroissantCoffeeEgg.js", + "./Icons/CutleryOneIcon": "./dist/components/Icons/Illustrations/CutleryOne.js", + "./Icons/CutleryTwoIcon": "./dist/components/Icons/Illustrations/CutleryTwo.js", + "./Icons/DiamondAddIcon": "./dist/components/Icons/Customised/Benefits/DiamondAdd.js", + "./Icons/DiscountIcon": "./dist/components/Icons/Nucleo/Benefits/discount-2-2.js", + "./Icons/DoorIcon": "./dist/components/Icons/Nucleo/Amenities_Facilities/door-2.js", + "./Icons/DowntownCamperIcon": "./dist/components/Icons/Logos/DowntownCamper.js", + "./Icons/FacebookIcon": "./dist/components/Icons/Customised/Socials/Facebook.js", + "./Icons/FootStoolIcon": "./dist/components/Icons/Customised/Amenities_Facilities/FootStool.js", + "./Icons/GiftOpenIcon": "./dist/components/Icons/Illustrations/GiftOpen.js", + "./Icons/GrandHotelOsloIcon": "./dist/components/Icons/Logos/GrandHotelOslo.js", + "./Icons/HairdryerIcon": "./dist/components/Icons/Customised/Amenities_Facilities/Hairdryer.js", + "./Icons/HairdresserIcon": "./dist/components/Icons/Nucleo/Amenities_Facilities/hairdresser-1.js", + "./Icons/HandKeyIcon": "./dist/components/Icons/Illustrations/HandKey.js", + "./Icons/HandSoapIcon": "./dist/components/Icons/Customised/Amenities_Facilities/HandSoap.js", + "./Icons/HaymarketIcon": "./dist/components/Icons/Logos/Haymarket.js", + "./Icons/HotelNightIcon": "./dist/components/Icons/Illustrations/HotelNight.js", + "./Icons/HotelNorgeIcon": "./dist/components/Icons/Logos/HotelNorge.js", + "./Icons/IceMachineIcon": "./dist/components/Icons/Customised/Amenities_Facilities/IceMachine.js", + "./Icons/InstagramIcon": "./dist/components/Icons/Customised/Socials/Instagram.js", + "./Icons/KidsIcon": "./dist/components/Icons/Illustrations/Kids.js", + "./Icons/KidsMocktailIcon": "./dist/components/Icons/Illustrations/KidsMocktail.js", + "./Icons/MagicWandIcon": "./dist/components/Icons/Illustrations/MagicWand.js", + "./Icons/MarskiLogoIcon": "./dist/components/Icons/Logos/MarskiLogo.js", + "./Icons/MassageIcon": "./dist/components/Icons/Customised/Amenities_Facilities/Massage.js", + "./Icons/MaterialIcon": "./dist/components/Icons/MaterialIcon/index.js", + "./Icons/MinimizeIcon": "./dist/components/Icons/Customised/UI/Minimize.js", + "./Icons/MirrorIcon": "./dist/components/Icons/Customised/Amenities_Facilities/Mirror.js", + "./Icons/MoneyHandIcon": "./dist/components/Icons/Illustrations/MoneyHand.js", + "./Icons/BedBunkExtraIcon": "./dist/components/Icons/Illustrations/BedBunkExtra.js", + "./Icons/BedGenericIcon": "./dist/components/Icons/Illustrations/BedGeneric.js", + "./Icons/BedBunkIcon": "./dist/components/Icons/Illustrations/BedBunk.js", + "./Icons/HotelLogoIcon": "./dist/components/Icons/Logos/index.js", + "./Icons/BedKingIcon": "./dist/components/Icons/Illustrations/BedKing.js", + "./Icons/BedQueenIcon": "./dist/components/Icons/Illustrations/BedQueen.js", + "./Icons/BedSofaIcon": "./dist/components/Icons/Illustrations/BedSofa.js", + "./Icons/BedSofaExtraIcon": "./dist/components/Icons/Illustrations/BedSofaExtra.js", + "./Icons/BedTwinIcon": "./dist/components/Icons/Illustrations/BedTwin.js", + "./Icons/BedWallExtraIcon": "./dist/components/Icons/Illustrations/BedWallExtra.js", + "./Icons/BreakfastBuffetIcon": "./dist/components/Icons/Illustrations/BreakfastBuffet.js", + "./Icons/NoBreakfastBuffetIcon": "./dist/components/Icons/Illustrations/NoBreakfastBuffet.js", + "./Icons/BedSingleIcon": "./dist/components/Icons/Illustrations/BedSingle.js", + "./Icons/BedPullOutIcon": "./dist/components/Icons/Illustrations/BedPullOut.js", + "./Icons/BedPullOutExtraIcon": "./dist/components/Icons/Illustrations/BedPullOutExtra.js", + "./Icons/MovingBedsIcon": "./dist/components/Icons/Customised/Amenities_Facilities/MovingBeds.js", + "./Icons/PalmTreeIcon": "./dist/components/Icons/Nucleo/Experiences/palm-tree-2.js", + "./Icons/PopcornIcon": "./dist/components/Icons/Nucleo/Food/popcorn-2.js", + "./Icons/RecordPlayerIcon": "./dist/components/Icons/Nucleo/Amenities_Facilities/record-player-3.js", + "./Icons/RoadIcon": "./dist/components/Icons/Customised/Amenities_Facilities/Road.js", + "./Icons/RugIcon": "./dist/components/Icons/Customised/Amenities_Facilities/Rug.js", + "./Icons/SafetyBoxIcon": "./dist/components/Icons/Customised/Amenities_Facilities/SafetyBox.js", + "./Icons/ScandicGoIcon": "./dist/components/Icons/Logos/ScandicGoLogo.js", + "./Icons/ScandicLogoIcon": "./dist/components/Icons/Logos/ScandicLogo.js", + "./Icons/SlippersIcon": "./dist/components/Icons/Customised/Amenities_Facilities/Slippers.js", + "./Icons/SurpriseIcon": "./dist/components/Icons/Illustrations/Surprise.js", + "./Icons/ToiletIcon": "./dist/components/Icons/Nucleo/Amenities_Facilities/toilet-2.js", + "./Icons/TowelIcon": "./dist/components/Icons/Customised/Amenities_Facilities/Towel.js", + "./Icons/TripadvisorIcon": "./dist/components/Icons/Customised/Socials/Tripadvisor.js", + "./Icons/UserPoliceIcon": "./dist/components/Icons/Nucleo/Amenities_Facilities/user-police-2.js", + "./Icons/ViewIcon": "./dist/components/Icons/Customised/Amenities_Facilities/View.js", + "./Icons/VoucherIcon": "./dist/components/Icons/Illustrations/Voucher.js", + "./Icons/WardIcon": "./dist/components/Icons/Customised/Amenities_Facilities/Ward.js", + "./Icons/WindowNotAvailableIcon": "./dist/components/Icons/Customised/Amenities_Facilities/WindowNotAvailable.js", + "./Icons/WoodFloorIcon": "./dist/components/Icons/Customised/Amenities_Facilities/WoodFloor.js", "./style.css": "./dist/style.css", "./base.css": "./dist/base.css", "./globals.css": "./dist/globals.css",