{ "name": "@scandic-hotels/design-system", "private": true, "version": "1.0.0-beta.1", "type": "module", "exports": { "./Accordion": "./lib/components/Accordion/index.tsx", "./Accordion/AccordionItem": "./lib/components/Accordion/AccordionItem/index.tsx", "./Alert": "./lib/components/Alert/index.tsx", "./Avatar": "./lib/components/Avatar/index.tsx", "./BackToTopButton": "./lib/components/BackToTopButton/index.tsx", "./Badge": "./lib/components/Badge/index.tsx", "./BookingCodeChip": "./lib/components/BookingCodeChip/index.tsx", "./Breadcrumbs": "./lib/components/Breadcrumbs/index.tsx", "./Button": "./lib/components/Button/index.tsx", "./ButtonLink": "./lib/components/ButtonLink/index.tsx", "./CampaignRateCard": "./lib/components/RateCard/Campaign/index.tsx", "./Card": "./lib/components/Card/index.tsx", "./ChipButton": "./lib/components/ChipButton/index.tsx", "./ChipLink": "./lib/components/ChipLink/index.tsx", "./Chips": "./lib/components/Chips/index.tsx", "./ChipStatic": "./lib/components/ChipStatic/index.tsx", "./CodeRateCard": "./lib/components/RateCard/Code/index.tsx", "./ContentCard": "./lib/components/ContentCard/index.tsx", "./DeprecatedSelect": "./lib/components/DeprecatedSelect/index.tsx", "./Divider": "./lib/components/Divider/index.tsx", "./FacilityToIcon": "./lib/components/FacilityToIcon/index.tsx", "./FakeButton": "./lib/components/FakeButton/index.tsx", "./Footnote": "./lib/components/Footnote/index.tsx", "./Form/Checkbox": "./lib/components/Form/Checkbox/index.tsx", "./Form/Country": "./lib/components/Form/Country/index.tsx", "./Form/Date": "./lib/components/Form/Date/index.tsx", "./Form/Select": "./lib/components/Form/FormSelect/index.tsx", "./Form/ErrorMessage": "./lib/components/Form/ErrorMessage/index.tsx", "./Form/FormInput": "./lib/components/Form/FormInput/index.tsx", "./Form/RadioButtonsGroup": "./lib/components/Form/RadioButtonsGroup/index.tsx", "./Form/PaymentOption": "./lib/components/Form/PaymentOption/PaymentOption.tsx", "./Form/PaymentOptionsGroup": "./lib/components/Form/PaymentOption/PaymentOptionsGroup.tsx", "./Form/Phone": "./lib/components/Form/Phone/index.tsx", "./Form/RadioCard": "./lib/components/Form/RadioCard/index.tsx", "./Form/SelectPaymentMethod": "./lib/components/Form/SelectPaymentMethod/index.tsx", "./Form/FormTextArea": "./lib/components/Form/FormTextArea/index.tsx", "./HotelCard": "./lib/components/HotelCard/index.tsx", "./HotelCard/HotelCardDialogImage": "./lib/components/HotelCard/HotelCardDialogImage/index.tsx", "./HotelCard/HotelCardSkeleton": "./lib/components/HotelCard/HotelCardSkeleton.tsx", "./HotelCard/HotelPointsRow": "./lib/components/HotelCard/HotelPointsRow/index.tsx", "./HotelCard/NoPriceAvailableCard": "./lib/components/HotelCard/NoPriceAvailableCard/index.tsx", "./HotelInfoCard": "./lib/components/HotelInfoCard/index.tsx", "./IconButton": "./lib/components/IconButton/index.tsx", "./IconChip": "./lib/components/IconChip/index.tsx", "./Icons": "./lib/components/Icons/index.tsx", "./Icons/BassinSevenIcon": "./lib/components/Icons/Logos/BassinSeven.tsx", "./Icons/BathroomCabinetIcon": "./lib/components/Icons/Nucleo/Amenities_Facilities/bathroom-cabinet-2.tsx", "./Icons/BedBunkExtraIcon": "./lib/components/Icons/Illustrations/BedBunkExtra.tsx", "./Icons/BedBunkIcon": "./lib/components/Icons/Illustrations/BedBunk.tsx", "./Icons/BedGenericIcon": "./lib/components/Icons/Illustrations/BedGeneric.tsx", "./Icons/BedHotelIcon": "./lib/components/Icons/Customised/Amenities_Facilities/BedHotel.tsx", "./Icons/BedIcon": "./lib/components/Icons/Illustrations/Bed.tsx", "./Icons/BedKingIcon": "./lib/components/Icons/Illustrations/BedKing.tsx", "./Icons/BedPullOutExtraIcon": "./lib/components/Icons/Illustrations/BedPullOutExtra.tsx", "./Icons/BedPullOutIcon": "./lib/components/Icons/Illustrations/BedPullOut.tsx", "./Icons/BedQueenIcon": "./lib/components/Icons/Illustrations/BedQueen.tsx", "./Icons/BedSingleIcon": "./lib/components/Icons/Illustrations/BedSingle.tsx", "./Icons/BedSofaExtraIcon": "./lib/components/Icons/Illustrations/BedSofaExtra.tsx", "./Icons/BedSofaIcon": "./lib/components/Icons/Illustrations/BedSofa.tsx", "./Icons/BedTwinIcon": "./lib/components/Icons/Illustrations/BedTwin.tsx", "./Icons/BedWallExtraIcon": "./lib/components/Icons/Illustrations/BedWallExtra.tsx", "./Icons/BouquetIcon": "./lib/components/Icons/Nucleo/Benefits/bouquet.tsx", "./Icons/BowlingPinsIcon": "./lib/components/Icons/Nucleo/Experiences/bowling-pins.tsx", "./Icons/BreakfastBuffetIcon": "./lib/components/Icons/Illustrations/BreakfastBuffet.tsx", "./Icons/BunkBedIcon": "./lib/components/Icons/Customised/Amenities_Facilities/MdiBunkBedOutline.tsx", "./Icons/ChipsIcon": "./lib/components/Icons/Nucleo/Food/chips-3.tsx", "./Icons/CoinIcon": "./lib/components/Icons/Illustrations/Coin.tsx", "./Icons/ConferenceRoomIcon": "./lib/components/Icons/Nucleo/Amenities_Facilities/conference-room.tsx", "./Icons/CoolingIcon": "./lib/components/Icons/Customised/Amenities_Facilities/Cooling.tsx", "./Icons/CouchTableIcon": "./lib/components/Icons/Customised/Amenities_Facilities/CouchTable.tsx", "./Icons/CroissantCoffeeEggIcon": "./lib/components/Icons/Illustrations/CroissantCoffeeEgg.tsx", "./Icons/CutleryOneIcon": "./lib/components/Icons/Illustrations/CutleryOne.tsx", "./Icons/CutleryTwoIcon": "./lib/components/Icons/Illustrations/CutleryTwo.tsx", "./Icons/DiamondAddIcon": "./lib/components/Icons/Customised/Benefits/DiamondAdd.tsx", "./Icons/DiscountIcon": "./lib/components/Icons/Nucleo/Benefits/discount-2-2.tsx", "./Icons/DoorIcon": "./lib/components/Icons/Nucleo/Amenities_Facilities/door-2.tsx", "./Icons/DowntownCamperIcon": "./lib/components/Icons/Logos/DowntownCamper.tsx", "./Icons/FacebookIcon": "./lib/components/Icons/Customised/Socials/Facebook.tsx", "./Icons/FacilityIcon": "./lib/components/Icons/FacilityIcon.tsx", "./Icons/FilledDiscountIcon": "./lib/components/Icons/Nucleo/Benefits/FilledDiscount.tsx", "./Icons/FootStoolIcon": "./lib/components/Icons/Customised/Amenities_Facilities/FootStool.tsx", "./Icons/GiftOpenIcon": "./lib/components/Icons/Illustrations/GiftOpen.tsx", "./Icons/GrandHotelOsloIcon": "./lib/components/Icons/Logos/GrandHotelOslo.tsx", "./Icons/HairdresserIcon": "./lib/components/Icons/Nucleo/Amenities_Facilities/hairdresser-1.tsx", "./Icons/GranolaIcon": "./lib/components/Icons/Illustrations/Granola.tsx", "./Icons/HairdryerIcon": "./lib/components/Icons/Customised/Amenities_Facilities/Hairdryer.tsx", "./Icons/HandKeyIcon": "./lib/components/Icons/Illustrations/HandKey.tsx", "./Icons/HandGiftIcon": "./lib/components/Icons/Illustrations/HandGift.tsx", "./Icons/HandSoapIcon": "./lib/components/Icons/Customised/Amenities_Facilities/HandSoap.tsx", "./Icons/HaymarketIcon": "./lib/components/Icons/Logos/Haymarket.tsx", "./Icons/HotelLogoIcon": "./lib/components/Icons/Logos/index.tsx", "./Icons/HotelNightIcon": "./lib/components/Icons/Illustrations/HotelNight.tsx", "./Icons/HotelNorgeIcon": "./lib/components/Icons/Logos/HotelNorge.tsx", "./Icons/IceMachineIcon": "./lib/components/Icons/Customised/Amenities_Facilities/IceMachine.tsx", "./Icons/IconByCSSelect": "./lib/components/Icons/IconByCSSelect.tsx", "./Icons/IconByIconName": "./lib/components/Icons/IconByIconName.tsx", "./Icons/iconName": "./lib/components/Icons/iconName.ts", "./Icons/IllustrationByIconName": "./lib/components/Icons/IllustrationByIconName.ts", "./Icons/InstagramIcon": "./lib/components/Icons/Customised/Socials/Instagram.tsx", "./Icons/KidsIcon": "./lib/components/Icons/Illustrations/Kids.tsx", "./Icons/KidsMocktailIcon": "./lib/components/Icons/Illustrations/KidsMocktail.tsx", "./Icons/MagicWandIcon": "./lib/components/Icons/Illustrations/MagicWand.tsx", "./Icons/MassageIcon": "./lib/components/Icons/Customised/Amenities_Facilities/Massage.tsx", "./Icons/MaterialIcon": "./lib/components/Icons/MaterialIcon/index.tsx", "./Icons/MinimizeIcon": "./lib/components/Icons/Customised/UI/Minimize.tsx", "./Icons/MirrorIcon": "./lib/components/Icons/Customised/Amenities_Facilities/Mirror.tsx", "./Icons/MoneyHandIcon": "./lib/components/Icons/Illustrations/MoneyHand.tsx", "./Icons/MoneyHandEllipsisIcon": "./lib/components/Icons/Illustrations/MoneyHandEllipsis.tsx", "./Icons/MovingBedsIcon": "./lib/components/Icons/Customised/Amenities_Facilities/MovingBeds.tsx", "./Icons/NoBreakfastBuffetIcon": "./lib/components/Icons/Illustrations/NoBreakfastBuffet.tsx", "./Icons/PalmTreeIcon": "./lib/components/Icons/Nucleo/Experiences/palm-tree-2.tsx", "./Icons/PopcornIcon": "./lib/components/Icons/Nucleo/Food/popcorn-2.tsx", "./Icons/RecordPlayerIcon": "./lib/components/Icons/Nucleo/Amenities_Facilities/record-player-3.tsx", "./Icons/RoadIcon": "./lib/components/Icons/Customised/Amenities_Facilities/Road.tsx", "./Icons/RugIcon": "./lib/components/Icons/Customised/Amenities_Facilities/Rug.tsx", "./Icons/SafetyBoxIcon": "./lib/components/Icons/Customised/Amenities_Facilities/SafetyBox.tsx", "./Icons/ScandicGoIcon": "./lib/components/Icons/Logos/ScandicGoLogo.tsx", "./Icons/ScandicLogoIcon": "./lib/components/Icons/Logos/ScandicLogo.tsx", "./Icons/SlippersIcon": "./lib/components/Icons/Customised/Amenities_Facilities/Slippers.tsx", "./Icons/Spa": "./lib/components/Icons/Illustrations/Spa.tsx", "./Icons/SurpriseIcon": "./lib/components/Icons/Illustrations/Surprise.tsx", "./Icons/ToiletIcon": "./lib/components/Icons/Nucleo/Amenities_Facilities/toilet-2.tsx", "./Icons/TowelIcon": "./lib/components/Icons/Customised/Amenities_Facilities/Towel.tsx", "./Icons/TripadvisorIcon": "./lib/components/Icons/Customised/Socials/Tripadvisor.tsx", "./Icons/TrophyIcon": "./lib/components/Icons/Illustrations/Trophy.tsx", "./Icons/UserPoliceIcon": "./lib/components/Icons/Nucleo/Amenities_Facilities/user-police-2.tsx", "./Icons/ViewIcon": "./lib/components/Icons/Customised/Amenities_Facilities/View.tsx", "./Icons/VoucherIcon": "./lib/components/Icons/Illustrations/Voucher.tsx", "./Icons/WardIcon": "./lib/components/Icons/Customised/Amenities_Facilities/Ward.tsx", "./Icons/WindowNotAvailableIcon": "./lib/components/Icons/Customised/Amenities_Facilities/WindowNotAvailable.tsx", "./Icons/WoodFloorIcon": "./lib/components/Icons/Customised/Amenities_Facilities/WoodFloor.tsx", "./Image": "./lib/components/Image/index.tsx", "./ImageContainer": "./lib/components/ImageContainer/index.tsx", "./ImageFallback": "./lib/components/ImageFallback/index.tsx", "./ImageGallery": "./lib/components/ImageGallery/index.tsx", "./InfoBox": "./lib/components/InfoBox/InfoBox.tsx", "./InfoCard": "./lib/components/InfoCard/index.tsx", "./Input": "./lib/components/Input/index.tsx", "./JsonToHtml": "./lib/components/JsonToHtml/JsonToHtml.tsx", "./Lightbox": "./lib/components/Lightbox/index.tsx", "./LinkList": "./lib/components/LinkList/index.tsx", "./LinkListItem": "./lib/components/LinkList/LinkListItem/index.tsx", "./LoadingSpinner": "./lib/components/LoadingSpinner/index.tsx", "./LocalCallCharges": "./lib/components/LocalCallCharges/index.tsx", "./LoginButton": "./lib/components/LoginButton/index.tsx", "./Map/InfoWindow": "./lib/components/Map/InfoWindow/index.tsx", "./Map/InteractiveMap": "./lib/components/Map/InteractiveMap/index.tsx", "./Map/mapConstants": "./lib/components/Map/mapConstants.ts", "./Map/Markers/HotelMarkerByType": "./lib/components/Map/Markers/HotelMarkerByType.tsx", "./Map/Markers/PoiMarker": "./lib/components/Map/Markers/PoiMarker/index.tsx", "./Map/types": "./lib/components/Map/types.ts", "./MessageBanner": "./lib/components/MessageBanner/index.tsx", "./Modal": "./lib/components/Modal/index.tsx", "./Modal/ModalContentWithActions": "./lib/components/Modal/ModalContentWithActions/index.tsx", "./NoRateAvailableCard": "./lib/components/RateCard/NoRateAvailable/index.tsx", "./OldDSLink": "./lib/components/OldDSLink/index.tsx", "./OpeningHours": "./lib/components/OpeningHours/index.tsx", "./ParkingInformation": "./lib/components/ParkingInformation/index.tsx", "./PasswordInput": "./lib/components/PasswordInput/index.tsx", "./Payment/PaymentMethodIcon": "./lib/components/Payment/PaymentMethodIcon.tsx", "./PointsRateCard": "./lib/components/RateCard/Points/index.tsx", "./Progress": "./lib/components/Progress/index.tsx", "./Radio": "./lib/components/Radio/index.tsx", "./RegularRateCard": "./lib/components/RateCard/Regular/index.tsx", "./Select": "./lib/components/Select/index.tsx", "./ShowMoreButton": "./lib/components/ShowMoreButton/index.tsx", "./SidePeek": "./lib/components/SidePeek/index.tsx", "./SidePeek/SidePeekProvider": "./lib/components/SidePeek/SidePeekContext/SidePeekProvider.tsx", "./SidePeekSelfControlled": "./lib/components/SidePeek/SelfControlled.tsx", "./SkeletonShimmer": "./lib/components/SkeletonShimmer/index.tsx", "./StaticMap": "./lib/components/StaticMap/index.tsx", "./Stepper": "./lib/components/Stepper/index.tsx", "./Switch": "./lib/components/Switch/index.tsx", "./Table": "./lib/components/Table/index.tsx", "./TermModal": "./lib/components/RateCard/TermModal/index.tsx", "./TeaserCard": "./lib/components/TeaserCard/index.tsx", "./TextArea": "./lib/components/TextArea/index.tsx", "./TextLink": "./lib/components/TextLink/index.tsx", "./TextLinkButton": "./lib/components/TextLinkButton/index.tsx", "./Toast": "./lib/components/Toasts/index.tsx", "./ToastHandler": "./lib/components/Toasts/ToastHandler.tsx", "./Tooltip": "./lib/components/Tooltip/index.tsx", "./TripAdvisorChip": "./lib/components/TripAdvisorChip/index.tsx", "./Typography": "./lib/components/Typography/index.tsx", "./VideoPlayer": "./lib/components/VideoPlayer/index.tsx", "./VideoWithCard": "./lib/components/VideoPlayer/VideoWithCard/index.tsx", "./design-system-new-deprecated.css": "./lib/design-system-new-deprecated.css", "./bassin-seven.css": "./lib/styles/bassin-seven.css", "./downtown-camper.css": "./lib/styles/downtown-camper.css", "./fonts.css": "./lib/fonts.css", "./grand-hotel.css": "./lib/styles/grand-hotel.css", "./haymarket.css": "./lib/styles/haymarket.css", "./hotel-norge.css": "./lib/styles/hotel-norge.css", "./marski.css": "./lib/styles/marski.css", "./normalize.css": "./lib/normalize.css", "./scandic-go.css": "./lib/styles/scandic-go.css", "./scandic.css": "./lib/styles/scandic.css", "./style.css": "./lib/style.css" }, "files": [ "dist" ], "sideEffects": [ "**/*.css" ], "scripts": { "dev": "yarn storybook", "generate": "cd generate && jiti generate.ts && yarn format", "format": "yarn dlx prettier . --write", "build": "yarn build-storybook", "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0", "lint:fix": "eslint . --ext ts,tsx --report-unused-disable-directives --fix --max-warnings 0", "storybook": "yarn run generate && storybook dev -p 6006", "build-storybook": "storybook build", "test": "vitest run --passWithNoTests", "test:s": "vitest --project=storybook", "test:watch": "vitest", "check-types": "tsgo --noEmit", "test:browser": "vitest --config=vitest.browser.config.ts", "include:shared": "jiti ../../scripts/copyFiles.ts ../../shared public/_static/shared" }, "dependencies": { "@scandic-hotels/common": "workspace:*", "class-variance-authority": "^0.7.1", "sonner": "^2.0.3" }, "peerDependencies": { "@babel/core": "^7.27.4", "@hookform/error-message": "^2.0.1", "@internationalized/date": "^3.8.0", "@radix-ui/react-slot": "^1.2.2", "@vis.gl/react-google-maps": "^1.5.2", "next": "^16", "react": "^19.1.0", "react-aria": "^3.39.0", "react-aria-components": "^1.8.0", "react-dom": "^19.1.0", "react-hook-form": "^7.56.2", "react-international-phone": "^4.5.0", "react-intl": "^7", "usehooks-ts": "3.1.1" }, "devDependencies": { "@eslint/eslintrc": "^3.3.1", "@eslint/js": "^9.26.0", "@hookform/resolvers": "^3.9.1", "@storybook/addon-a11y": "^10.0.8", "@storybook/addon-docs": "^10.0.8", "@storybook/addon-links": "^10.0.8", "@storybook/addon-themes": "^10.0.8", "@storybook/addon-vitest": "^10.0.8", "@storybook/nextjs-vite": "^10.0.8", "@testing-library/dom": "^10.4.0", "@testing-library/react": "^16.1.0", "@testing-library/user-event": "^14.5.2", "@types/node": "^20.17.17", "@types/react": "19.2.7", "@types/react-dom": "19.2.3", "@typescript-eslint/eslint-plugin": "^8.32.0", "@typescript-eslint/parser": "^8.32.0", "@vitejs/plugin-react": "^5.1.1", "@vitest/browser": "^4.0.0", "@vitest/browser-playwright": "^4.0.0", "babel-plugin-formatjs": "^10.5.10", "colord": "^2.9.3", "copy-to-clipboard": "^3.3.3", "deepmerge-ts": "^7.1.5", "eslint": "^9", "eslint-plugin-formatjs": "^5.3.1", "eslint-plugin-import": "^2.31.0", "eslint-plugin-react": "^7.37.5", "eslint-plugin-react-hooks": "^5.2.0", "eslint-plugin-react-refresh": "^0.4.20", "eslint-plugin-storybook": "^10.0.8", "glob": "^11.0.2", "globals": "^16.1.0", "jiti": "^1.21.0", "motion": "^12.10.0", "playwright": "^1.54.2", "react": "^19.1.0", "react-dom": "^19.1.0", "rollup": "^4.40.2", "rollup-preserve-directives": "^1.1.3", "storybook": "^10.0.8", "storybook-react-intl": "^10.0.1", "typescript": "^5.8.3", "vite": "^7.2.4", "vite-plugin-dts": "^4.5.4", "vite-plugin-lib-inject-css": "^2.2.2", "vitest": "^4.0.0", "zod": "^3.24.1" } }