@kvdbil/components 3.3.5 → 3.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/ColorCard.js +25 -0
- package/cjs/ElevationCard.js +13 -0
- package/cjs/Interfaces.js +1 -0
- package/cjs/Types.js +1 -0
- package/cjs/components/Accordion/index.js +51 -0
- package/cjs/components/Badge/index.js +35 -0
- package/cjs/components/Button/index.js +100 -0
- package/cjs/components/Card/index.js +8 -0
- package/cjs/components/CheckBox/index.js +56 -0
- package/cjs/components/Chip/index.js +23 -0
- package/cjs/components/DayPicker/DayPickerNavBar.js +23 -0
- package/cjs/components/DayPicker/index.js +34 -0
- package/cjs/components/DayPicker/localeUtils.js +1 -0
- package/cjs/components/DayPicker/style.js +226 -0
- package/cjs/components/Dialog/index.js +27 -0
- package/cjs/components/ErrorMessage/index.js +10 -0
- package/cjs/components/FieldLabel.js +34 -0
- package/cjs/components/Header/Hamburger.js +31 -0
- package/cjs/components/Header/Link.js +34 -0
- package/cjs/components/Header/index.js +63 -0
- package/cjs/components/Hero/index.js +26 -0
- package/cjs/components/Icon/index.js +32 -0
- package/cjs/components/IconButton.js +80 -0
- package/cjs/components/Icons/Arrow.js +1 -0
- package/cjs/components/Icons/CheckCircle.js +1 -0
- package/cjs/components/Icons/CheckIcon.js +1 -0
- package/cjs/components/Icons/Close.js +1 -0
- package/cjs/components/Icons/ErrorCircle.js +1 -0
- package/cjs/components/Icons/InfoCircle.js +1 -0
- package/cjs/components/InlineStepper/Step.js +56 -0
- package/cjs/components/InlineStepper/StepCircle.js +43 -0
- package/cjs/components/InlineStepper/index.js +7 -0
- package/cjs/components/ListItem/Bacon.js +1 -0
- package/cjs/components/ListItem/index.js +24 -0
- package/cjs/components/Logo/LogoEn.js +1 -0
- package/cjs/components/Logo/LogoSv.js +1 -0
- package/cjs/components/Logo/index.js +3 -0
- package/cjs/components/MenuItem/index.js +38 -0
- package/cjs/components/Modal/index.js +77 -0
- package/cjs/components/NotificationButton/index.js +11 -0
- package/cjs/components/OffCanvas/Overlay.js +27 -0
- package/cjs/components/OffCanvas/index.js +57 -0
- package/cjs/components/OffCanvas/useClickOutside.js +1 -0
- package/cjs/components/RadioButton/index.js +88 -0
- package/cjs/components/Range/index.js +44 -0
- package/cjs/components/Select/components/test-icon.js +1 -0
- package/cjs/components/Select/index.js +44 -0
- package/cjs/components/Snackbar/index.js +78 -0
- package/cjs/components/Spinner/index.js +19 -0
- package/cjs/components/Stepper/index.js +33 -0
- package/cjs/components/StepperAccordion/index.js +72 -0
- package/cjs/components/Tabs/index.js +11 -0
- package/cjs/components/TextArea/index.js +55 -0
- package/cjs/components/Textfield/index.js +55 -0
- package/cjs/components/TimePicker/index.js +9 -0
- package/cjs/components/TimePicker/testHelper.js +1 -0
- package/cjs/components/Toggle/index.js +39 -0
- package/cjs/icons/components/AccountCreateIcon.js +1 -0
- package/cjs/icons/components/AccountIcon.js +1 -0
- package/cjs/icons/components/AccountLoginIcon.js +1 -0
- package/cjs/icons/components/ArrowDownIcon.js +1 -0
- package/cjs/icons/components/ArrowLeftIcon.js +1 -0
- package/cjs/icons/components/ArrowLeftSharpIcon.js +1 -0
- package/cjs/icons/components/ArrowLeftSmallIcon.js +1 -0
- package/cjs/icons/components/ArrowLong.js +1 -0
- package/cjs/icons/components/ArrowRestartIcon.js +1 -0
- package/cjs/icons/components/ArrowRightIcon.js +1 -0
- package/cjs/icons/components/ArrowRightSharpIcon.js +1 -0
- package/cjs/icons/components/ArrowUpIcon.js +1 -0
- package/cjs/icons/components/AuctionIcon.js +1 -0
- package/cjs/icons/components/BackArrowIcon.js +1 -0
- package/cjs/icons/components/Baseline360Icon.js +1 -0
- package/cjs/icons/components/BellIcon.js +1 -0
- package/cjs/icons/components/BidIcon.js +1 -0
- package/cjs/icons/components/BidKrIcon.js +1 -0
- package/cjs/icons/components/BreaksIcon.js +1 -0
- package/cjs/icons/components/BuyCarIcon.js +1 -0
- package/cjs/icons/components/CabIcon.js +1 -0
- package/cjs/icons/components/CalendarIcon.js +1 -0
- package/cjs/icons/components/CameraIcon.js +1 -0
- package/cjs/icons/components/Car360Icon.js +1 -0
- package/cjs/icons/components/CarFrontIcon.js +1 -0
- package/cjs/icons/components/CarSearchIcon.js +1 -0
- package/cjs/icons/components/CarSideIcon.js +1 -0
- package/cjs/icons/components/CarTiresIcon.js +1 -0
- package/cjs/icons/components/CaravanIcon.js +1 -0
- package/cjs/icons/components/CardViewIcon.js +1 -0
- package/cjs/icons/components/CarloanIcon.js +1 -0
- package/cjs/icons/components/CertifiedIcon.js +1 -0
- package/cjs/icons/components/ChatIcon.js +1 -0
- package/cjs/icons/components/CheckIcon.js +1 -0
- package/cjs/icons/components/CheckThinIcon.js +1 -0
- package/cjs/icons/components/CheckmarkFilledIcon.js +1 -0
- package/cjs/icons/components/CheckmarkIcon.js +1 -0
- package/cjs/icons/components/ClipboardFilledIcon.js +1 -0
- package/cjs/icons/components/ClipboardIcon.js +1 -0
- package/cjs/icons/components/ClockFilledIcon.js +1 -0
- package/cjs/icons/components/ClockIcon.js +1 -0
- package/cjs/icons/components/CloseIcon.js +1 -0
- package/cjs/icons/components/CloseThinIcon.js +1 -0
- package/cjs/icons/components/CoffeeIcon.js +1 -0
- package/cjs/icons/components/CombiIcon.js +1 -0
- package/cjs/icons/components/CommentCircleFilledIcon.js +1 -0
- package/cjs/icons/components/CommentCircleIconIcon.js +1 -0
- package/cjs/icons/components/CommentIcon.js +1 -0
- package/cjs/icons/components/ContactIcon.js +1 -0
- package/cjs/icons/components/CoupeIcon.js +1 -0
- package/cjs/icons/components/CreditCardIcon.js +1 -0
- package/cjs/icons/components/CrossCircleIcon.js +1 -0
- package/cjs/icons/components/CrownIcon.js +1 -0
- package/cjs/icons/components/DealmakerIcon.js +1 -0
- package/cjs/icons/components/DeliveryIcon.js +1 -0
- package/cjs/icons/components/DetailedSearchIcon.js +1 -0
- package/cjs/icons/components/EcoFriendlyIcon.js +1 -0
- package/cjs/icons/components/EditIcon.js +1 -0
- package/cjs/icons/components/EngineIcon.js +1 -0
- package/cjs/icons/components/EnglandFlagIcon.js +1 -0
- package/cjs/icons/components/EvaluationIcon.js +1 -0
- package/cjs/icons/components/ExaminationMarkFilledIcon.js +1 -0
- package/cjs/icons/components/ExaminationMarkIcon.js +1 -0
- package/cjs/icons/components/ExteriorIcon.js +1 -0
- package/cjs/icons/components/EyeIcon.js +1 -0
- package/cjs/icons/components/FacebookBtnIcon.js +1 -0
- package/cjs/icons/components/FacebookIcon.js +1 -0
- package/cjs/icons/components/FatalIcon.js +1 -0
- package/cjs/icons/components/FavouriteIcon.js +1 -0
- package/cjs/icons/components/FavouriteSolidIcon.js +1 -0
- package/cjs/icons/components/FilterIcon.js +1 -0
- package/cjs/icons/components/FinanceIcon.js +1 -0
- package/cjs/icons/components/FindCarIcon.js +1 -0
- package/cjs/icons/components/FixedMonthlyCostIcon.js +1 -0
- package/cjs/icons/components/FlagIcon.js +1 -0
- package/cjs/icons/components/FlexibilityIcon.js +1 -0
- package/cjs/icons/components/ForumLargeIcon.js +1 -0
- package/cjs/icons/components/ForumSmallIcon.js +1 -0
- package/cjs/icons/components/GavelIcon.js +1 -0
- package/cjs/icons/components/GearboxIcon.js +1 -0
- package/cjs/icons/components/GiftIcon.js +1 -0
- package/cjs/icons/components/GridViewIcon.js +1 -0
- package/cjs/icons/components/GroupIcon.js +1 -0
- package/cjs/icons/components/GuaranteeIcon.js +1 -0
- package/cjs/icons/components/GuaranteeLargeIcon.js +1 -0
- package/cjs/icons/components/GuaranteeSmallIcon.js +1 -0
- package/cjs/icons/components/HalfCombiIcon.js +1 -0
- package/cjs/icons/components/HamburgerIcon.js +1 -0
- package/cjs/icons/components/HandshakeIcon.js +1 -0
- package/cjs/icons/components/HelpingHandIcon.js +1 -0
- package/cjs/icons/components/IdIcon.js +1 -0
- package/cjs/icons/components/InformationIcon.js +1 -0
- package/cjs/icons/components/InstagramIcon.js +1 -0
- package/cjs/icons/components/InsuranceIcon.js +1 -0
- package/cjs/icons/components/InteriorIcon.js +1 -0
- package/cjs/icons/components/InteriorThinIcon.js +1 -0
- package/cjs/icons/components/InternationalIcon.js +1 -0
- package/cjs/icons/components/KvdTestIcon.js +1 -0
- package/cjs/icons/components/KvdVenueIcon.js +1 -0
- package/cjs/icons/components/LifebuoyIcon.js +1 -0
- package/cjs/icons/components/LiftTruckIcon.js +1 -0
- package/cjs/icons/components/LinkedInIcon.js +1 -0
- package/cjs/icons/components/ListViewIcon.js +1 -0
- package/cjs/icons/components/MailIcon.js +1 -0
- package/cjs/icons/components/MinibusIcon.js +1 -0
- package/cjs/icons/components/MinivanIcon.js +1 -0
- package/cjs/icons/components/MobileIcon.js +1 -0
- package/cjs/icons/components/MotorcycleIcon.js +1 -0
- package/cjs/icons/components/MrfLogoIcon.js +1 -0
- package/cjs/icons/components/NotFoundIcon.js +1 -0
- package/cjs/icons/components/OverbidIcon.js +1 -0
- package/cjs/icons/components/PdfIconIcon.js +1 -0
- package/cjs/icons/components/PhoneIcon.js +1 -0
- package/cjs/icons/components/PickUpIcon.js +1 -0
- package/cjs/icons/components/PinIcon.js +1 -0
- package/cjs/icons/components/PlayIcon.js +1 -0
- package/cjs/icons/components/Pricetag.js +1 -0
- package/cjs/icons/components/PricetagFilledKronaIcon.js +1 -0
- package/cjs/icons/components/PrivateCarIcon.js +1 -0
- package/cjs/icons/components/ProfileCircleIcon.js +1 -0
- package/cjs/icons/components/ProfileIcon.js +1 -0
- package/cjs/icons/components/RadioIcon.js +1 -0
- package/cjs/icons/components/ReclamationIcon.js +1 -0
- package/cjs/icons/components/ReleasingIcon.js +1 -0
- package/cjs/icons/components/RemoveFilterIcon.js +1 -0
- package/cjs/icons/components/ReservedPriceIcon.js +1 -0
- package/cjs/icons/components/ResultIcon.js +1 -0
- package/cjs/icons/components/SafePaymentIcon.js +1 -0
- package/cjs/icons/components/SaleTagIcon.js +1 -0
- package/cjs/icons/components/SearchCheckIcon.js +1 -0
- package/cjs/icons/components/SearchIcon.js +1 -0
- package/cjs/icons/components/SedanIcon.js +1 -0
- package/cjs/icons/components/SellCarIcon.js +1 -0
- package/cjs/icons/components/SellCarsIcon.js +1 -0
- package/cjs/icons/components/ServiceIcon.js +1 -0
- package/cjs/icons/components/ShareIcon.js +1 -0
- package/cjs/icons/components/ShieldIcon.js +1 -0
- package/cjs/icons/components/SignInIcon.js +1 -0
- package/cjs/icons/components/SignOutIcon.js +1 -0
- package/cjs/icons/components/SpeedMeterIcon.js +1 -0
- package/cjs/icons/components/StarCircleIcon.js +1 -0
- package/cjs/icons/components/StartIcon.js +1 -0
- package/cjs/icons/components/StoreIcon.js +1 -0
- package/cjs/icons/components/SuvIcon.js +1 -0
- package/cjs/icons/components/SwedenFlag.js +1 -0
- package/cjs/icons/components/TankIcon.js +1 -0
- package/cjs/icons/components/TireIcon.js +1 -0
- package/cjs/icons/components/TransportIcon.js +1 -0
- package/cjs/icons/components/TrashcanIcon.js +1 -0
- package/cjs/icons/components/TrophyIcon.js +1 -0
- package/cjs/icons/components/TruckIcon.js +1 -0
- package/cjs/icons/components/UmbrellaIcon.js +1 -0
- package/cjs/icons/components/ValuationIcon.js +1 -0
- package/cjs/icons/components/ValueIcon.js +1 -0
- package/cjs/icons/components/WarningIcon.js +1 -0
- package/cjs/icons/components/YoutubeIcon.js +1 -0
- package/cjs/icons/components/index.js +1 -0
- package/cjs/index.js +1 -0
- package/cjs/shared/constants.js +1 -0
- package/cjs/shared/helpers.js +1 -0
- package/cjs/shared/helpers.spec.js +1 -0
- package/cjs/shared/media-queries.js +1 -0
- package/cjs/theme.js +1 -0
- package/cjs/typography/BodyText/index.js +34 -0
- package/cjs/typography/ButtonText/index.js +21 -0
- package/cjs/typography/Heading/index.js +61 -0
- package/cjs/utils/utils.js +9 -0
- package/esm/ColorCard.js +25 -0
- package/esm/ElevationCard.js +13 -0
- package/esm/Interfaces.js +1 -0
- package/esm/Types.js +1 -0
- package/esm/components/Accordion/index.js +51 -0
- package/esm/components/Badge/index.js +35 -0
- package/esm/components/Button/index.js +100 -0
- package/esm/components/Card/index.js +8 -0
- package/esm/components/CheckBox/index.js +56 -0
- package/esm/components/Chip/index.js +23 -0
- package/esm/components/DayPicker/DayPickerNavBar.js +23 -0
- package/esm/components/DayPicker/index.js +34 -0
- package/esm/components/DayPicker/localeUtils.js +1 -0
- package/esm/components/DayPicker/style.js +226 -0
- package/esm/components/Dialog/index.js +27 -0
- package/esm/components/ErrorMessage/index.js +10 -0
- package/esm/components/FieldLabel.js +34 -0
- package/esm/components/Header/Hamburger.js +31 -0
- package/esm/components/Header/Link.js +34 -0
- package/esm/components/Header/index.js +63 -0
- package/esm/components/Hero/index.js +26 -0
- package/esm/components/Icon/index.js +32 -0
- package/esm/components/IconButton.js +80 -0
- package/esm/components/Icons/Arrow.js +1 -0
- package/esm/components/Icons/CheckCircle.js +1 -0
- package/esm/components/Icons/CheckIcon.js +1 -0
- package/esm/components/Icons/Close.js +1 -0
- package/esm/components/Icons/ErrorCircle.js +1 -0
- package/esm/components/Icons/InfoCircle.js +1 -0
- package/esm/components/InlineStepper/Step.js +56 -0
- package/esm/components/InlineStepper/StepCircle.js +43 -0
- package/esm/components/InlineStepper/index.js +7 -0
- package/esm/components/ListItem/Bacon.js +1 -0
- package/esm/components/ListItem/index.js +24 -0
- package/esm/components/Logo/LogoEn.js +1 -0
- package/esm/components/Logo/LogoSv.js +1 -0
- package/esm/components/Logo/index.js +3 -0
- package/esm/components/MenuItem/index.js +38 -0
- package/esm/components/Modal/index.js +77 -0
- package/esm/components/NotificationButton/index.js +11 -0
- package/esm/components/OffCanvas/Overlay.js +27 -0
- package/esm/components/OffCanvas/index.js +57 -0
- package/esm/components/OffCanvas/useClickOutside.js +1 -0
- package/esm/components/RadioButton/index.js +88 -0
- package/esm/components/Range/index.js +44 -0
- package/esm/components/Select/components/test-icon.js +1 -0
- package/esm/components/Select/index.js +44 -0
- package/esm/components/Snackbar/index.js +78 -0
- package/esm/components/Spinner/index.js +19 -0
- package/esm/components/Stepper/index.js +33 -0
- package/esm/components/StepperAccordion/index.js +72 -0
- package/esm/components/Tabs/index.js +11 -0
- package/esm/components/TextArea/index.js +55 -0
- package/esm/components/Textfield/index.js +55 -0
- package/esm/components/TimePicker/index.js +9 -0
- package/esm/components/TimePicker/testHelper.js +1 -0
- package/esm/components/Toggle/index.js +39 -0
- package/esm/icons/components/AccountCreateIcon.js +1 -0
- package/esm/icons/components/AccountIcon.js +1 -0
- package/esm/icons/components/AccountLoginIcon.js +1 -0
- package/esm/icons/components/ArrowDownIcon.js +1 -0
- package/esm/icons/components/ArrowLeftIcon.js +1 -0
- package/esm/icons/components/ArrowLeftSharpIcon.js +1 -0
- package/esm/icons/components/ArrowLeftSmallIcon.js +1 -0
- package/esm/icons/components/ArrowLong.js +1 -0
- package/esm/icons/components/ArrowRestartIcon.js +1 -0
- package/esm/icons/components/ArrowRightIcon.js +1 -0
- package/esm/icons/components/ArrowRightSharpIcon.js +1 -0
- package/esm/icons/components/ArrowUpIcon.js +1 -0
- package/esm/icons/components/AuctionIcon.js +1 -0
- package/esm/icons/components/BackArrowIcon.js +1 -0
- package/esm/icons/components/Baseline360Icon.js +1 -0
- package/esm/icons/components/BellIcon.js +1 -0
- package/esm/icons/components/BidIcon.js +1 -0
- package/esm/icons/components/BidKrIcon.js +1 -0
- package/esm/icons/components/BreaksIcon.js +1 -0
- package/esm/icons/components/BuyCarIcon.js +1 -0
- package/esm/icons/components/CabIcon.js +1 -0
- package/esm/icons/components/CalendarIcon.js +1 -0
- package/esm/icons/components/CameraIcon.js +1 -0
- package/esm/icons/components/Car360Icon.js +1 -0
- package/esm/icons/components/CarFrontIcon.js +1 -0
- package/esm/icons/components/CarSearchIcon.js +1 -0
- package/esm/icons/components/CarSideIcon.js +1 -0
- package/esm/icons/components/CarTiresIcon.js +1 -0
- package/esm/icons/components/CaravanIcon.js +1 -0
- package/esm/icons/components/CardViewIcon.js +1 -0
- package/esm/icons/components/CarloanIcon.js +1 -0
- package/esm/icons/components/CertifiedIcon.js +1 -0
- package/esm/icons/components/ChatIcon.js +1 -0
- package/esm/icons/components/CheckIcon.js +1 -0
- package/esm/icons/components/CheckThinIcon.js +1 -0
- package/esm/icons/components/CheckmarkFilledIcon.js +1 -0
- package/esm/icons/components/CheckmarkIcon.js +1 -0
- package/esm/icons/components/ClipboardFilledIcon.js +1 -0
- package/esm/icons/components/ClipboardIcon.js +1 -0
- package/esm/icons/components/ClockFilledIcon.js +1 -0
- package/esm/icons/components/ClockIcon.js +1 -0
- package/esm/icons/components/CloseIcon.js +1 -0
- package/esm/icons/components/CloseThinIcon.js +1 -0
- package/esm/icons/components/CoffeeIcon.js +1 -0
- package/esm/icons/components/CombiIcon.js +1 -0
- package/esm/icons/components/CommentCircleFilledIcon.js +1 -0
- package/esm/icons/components/CommentCircleIconIcon.js +1 -0
- package/esm/icons/components/CommentIcon.js +1 -0
- package/esm/icons/components/ContactIcon.js +1 -0
- package/esm/icons/components/CoupeIcon.js +1 -0
- package/esm/icons/components/CreditCardIcon.js +1 -0
- package/esm/icons/components/CrossCircleIcon.js +1 -0
- package/esm/icons/components/CrownIcon.js +1 -0
- package/esm/icons/components/DealmakerIcon.js +1 -0
- package/esm/icons/components/DeliveryIcon.js +1 -0
- package/esm/icons/components/DetailedSearchIcon.js +1 -0
- package/esm/icons/components/EcoFriendlyIcon.js +1 -0
- package/esm/icons/components/EditIcon.js +1 -0
- package/esm/icons/components/EngineIcon.js +1 -0
- package/esm/icons/components/EnglandFlagIcon.js +1 -0
- package/esm/icons/components/EvaluationIcon.js +1 -0
- package/esm/icons/components/ExaminationMarkFilledIcon.js +1 -0
- package/esm/icons/components/ExaminationMarkIcon.js +1 -0
- package/esm/icons/components/ExteriorIcon.js +1 -0
- package/esm/icons/components/EyeIcon.js +1 -0
- package/esm/icons/components/FacebookBtnIcon.js +1 -0
- package/esm/icons/components/FacebookIcon.js +1 -0
- package/esm/icons/components/FatalIcon.js +1 -0
- package/esm/icons/components/FavouriteIcon.js +1 -0
- package/esm/icons/components/FavouriteSolidIcon.js +1 -0
- package/esm/icons/components/FilterIcon.js +1 -0
- package/esm/icons/components/FinanceIcon.js +1 -0
- package/esm/icons/components/FindCarIcon.js +1 -0
- package/esm/icons/components/FixedMonthlyCostIcon.js +1 -0
- package/esm/icons/components/FlagIcon.js +1 -0
- package/esm/icons/components/FlexibilityIcon.js +1 -0
- package/esm/icons/components/ForumLargeIcon.js +1 -0
- package/esm/icons/components/ForumSmallIcon.js +1 -0
- package/esm/icons/components/GavelIcon.js +1 -0
- package/esm/icons/components/GearboxIcon.js +1 -0
- package/esm/icons/components/GiftIcon.js +1 -0
- package/esm/icons/components/GridViewIcon.js +1 -0
- package/esm/icons/components/GroupIcon.js +1 -0
- package/esm/icons/components/GuaranteeIcon.js +1 -0
- package/esm/icons/components/GuaranteeLargeIcon.js +1 -0
- package/esm/icons/components/GuaranteeSmallIcon.js +1 -0
- package/esm/icons/components/HalfCombiIcon.js +1 -0
- package/esm/icons/components/HamburgerIcon.js +1 -0
- package/esm/icons/components/HandshakeIcon.js +1 -0
- package/esm/icons/components/HelpingHandIcon.js +1 -0
- package/esm/icons/components/IdIcon.js +1 -0
- package/esm/icons/components/InformationIcon.js +1 -0
- package/esm/icons/components/InstagramIcon.js +1 -0
- package/esm/icons/components/InsuranceIcon.js +1 -0
- package/esm/icons/components/InteriorIcon.js +1 -0
- package/esm/icons/components/InteriorThinIcon.js +1 -0
- package/esm/icons/components/InternationalIcon.js +1 -0
- package/esm/icons/components/KvdTestIcon.js +1 -0
- package/esm/icons/components/KvdVenueIcon.js +1 -0
- package/esm/icons/components/LifebuoyIcon.js +1 -0
- package/esm/icons/components/LiftTruckIcon.js +1 -0
- package/esm/icons/components/LinkedInIcon.js +1 -0
- package/esm/icons/components/ListViewIcon.js +1 -0
- package/esm/icons/components/MailIcon.js +1 -0
- package/esm/icons/components/MinibusIcon.js +1 -0
- package/esm/icons/components/MinivanIcon.js +1 -0
- package/esm/icons/components/MobileIcon.js +1 -0
- package/esm/icons/components/MotorcycleIcon.js +1 -0
- package/esm/icons/components/MrfLogoIcon.js +1 -0
- package/esm/icons/components/NotFoundIcon.js +1 -0
- package/esm/icons/components/OverbidIcon.js +1 -0
- package/esm/icons/components/PdfIconIcon.js +1 -0
- package/esm/icons/components/PhoneIcon.js +1 -0
- package/esm/icons/components/PickUpIcon.js +1 -0
- package/esm/icons/components/PinIcon.js +1 -0
- package/esm/icons/components/PlayIcon.js +1 -0
- package/esm/icons/components/Pricetag.js +1 -0
- package/esm/icons/components/PricetagFilledKronaIcon.js +1 -0
- package/esm/icons/components/PrivateCarIcon.js +1 -0
- package/esm/icons/components/ProfileCircleIcon.js +1 -0
- package/esm/icons/components/ProfileIcon.js +1 -0
- package/esm/icons/components/RadioIcon.js +1 -0
- package/esm/icons/components/ReclamationIcon.js +1 -0
- package/esm/icons/components/ReleasingIcon.js +1 -0
- package/esm/icons/components/RemoveFilterIcon.js +1 -0
- package/esm/icons/components/ReservedPriceIcon.js +1 -0
- package/esm/icons/components/ResultIcon.js +1 -0
- package/esm/icons/components/SafePaymentIcon.js +1 -0
- package/esm/icons/components/SaleTagIcon.js +1 -0
- package/esm/icons/components/SearchCheckIcon.js +1 -0
- package/esm/icons/components/SearchIcon.js +1 -0
- package/esm/icons/components/SedanIcon.js +1 -0
- package/esm/icons/components/SellCarIcon.js +1 -0
- package/esm/icons/components/SellCarsIcon.js +1 -0
- package/esm/icons/components/ServiceIcon.js +1 -0
- package/esm/icons/components/ShareIcon.js +1 -0
- package/esm/icons/components/ShieldIcon.js +1 -0
- package/esm/icons/components/SignInIcon.js +1 -0
- package/esm/icons/components/SignOutIcon.js +1 -0
- package/esm/icons/components/SpeedMeterIcon.js +1 -0
- package/esm/icons/components/StarCircleIcon.js +1 -0
- package/esm/icons/components/StartIcon.js +1 -0
- package/esm/icons/components/StoreIcon.js +1 -0
- package/esm/icons/components/SuvIcon.js +1 -0
- package/esm/icons/components/SwedenFlag.js +1 -0
- package/esm/icons/components/TankIcon.js +1 -0
- package/esm/icons/components/TireIcon.js +1 -0
- package/esm/icons/components/TransportIcon.js +1 -0
- package/esm/icons/components/TrashcanIcon.js +1 -0
- package/esm/icons/components/TrophyIcon.js +1 -0
- package/esm/icons/components/TruckIcon.js +1 -0
- package/esm/icons/components/UmbrellaIcon.js +1 -0
- package/esm/icons/components/ValuationIcon.js +1 -0
- package/esm/icons/components/ValueIcon.js +1 -0
- package/esm/icons/components/WarningIcon.js +1 -0
- package/esm/icons/components/YoutubeIcon.js +1 -0
- package/esm/icons/components/index.js +1 -0
- package/esm/index.js +1 -0
- package/esm/shared/constants.js +1 -0
- package/esm/shared/helpers.js +1 -0
- package/esm/shared/helpers.spec.js +1 -0
- package/esm/shared/media-queries.js +1 -0
- package/esm/theme.js +1 -0
- package/esm/typography/BodyText/index.js +34 -0
- package/esm/typography/ButtonText/index.js +21 -0
- package/esm/typography/Heading/index.js +61 -0
- package/esm/utils/utils.js +9 -0
- package/package.json +20 -11
- package/{ColorCard.d.ts → types/ColorCard.d.ts} +0 -0
- package/{ElevationCard.d.ts → types/ElevationCard.d.ts} +0 -0
- package/{Interfaces.d.ts → types/Interfaces.d.ts} +0 -0
- package/{Types.d.ts → types/Types.d.ts} +0 -0
- package/{components → types/components}/Accordion/index.d.ts +0 -0
- package/{components → types/components}/Badge/index.d.ts +0 -0
- package/{components → types/components}/Button/index.d.ts +0 -0
- package/{components → types/components}/Card/index.d.ts +0 -0
- package/{components → types/components}/CheckBox/index.d.ts +0 -0
- package/{components → types/components}/Chip/index.d.ts +0 -0
- package/{components → types/components}/DayPicker/DayPickerNavBar.d.ts +0 -0
- package/{components → types/components}/DayPicker/index.d.ts +0 -1
- package/{components → types/components}/DayPicker/localeUtils.d.ts +0 -0
- package/types/components/DayPicker/style.d.ts +2 -0
- package/{components → types/components}/Dialog/index.d.ts +0 -0
- package/{components → types/components}/ErrorMessage/index.d.ts +0 -0
- package/{components → types/components}/FieldLabel.d.ts +1 -1
- package/{components → types/components}/Header/Hamburger.d.ts +0 -0
- package/{components → types/components}/Header/Link.d.ts +1 -1
- package/{components → types/components}/Header/index.d.ts +0 -0
- package/{components → types/components}/Hero/index.d.ts +0 -0
- package/{components → types/components}/Icon/index.d.ts +0 -0
- package/{components → types/components}/IconButton.d.ts +0 -0
- package/{components → types/components}/Icons/Arrow.d.ts +0 -0
- package/{components → types/components}/Icons/CheckCircle.d.ts +0 -0
- package/{components → types/components}/Icons/CheckIcon.d.ts +0 -0
- package/{components → types/components}/Icons/Close.d.ts +0 -0
- package/{components → types/components}/Icons/ErrorCircle.d.ts +0 -0
- package/{components → types/components}/Icons/InfoCircle.d.ts +0 -0
- package/{components → types/components}/InlineStepper/Step.d.ts +0 -0
- package/{components → types/components}/InlineStepper/StepCircle.d.ts +0 -0
- package/{components → types/components}/InlineStepper/index.d.ts +0 -0
- package/{components → types/components}/ListItem/Bacon.d.ts +0 -0
- package/{components → types/components}/ListItem/index.d.ts +0 -0
- package/{components → types/components}/Logo/LogoEn.d.ts +0 -0
- package/{components → types/components}/Logo/LogoSv.d.ts +0 -0
- package/{components → types/components}/Logo/index.d.ts +0 -0
- package/{components → types/components}/MenuItem/index.d.ts +1 -1
- package/{components → types/components}/Modal/index.d.ts +0 -0
- package/{components → types/components}/NotificationButton/index.d.ts +0 -0
- package/{components → types/components}/OffCanvas/Overlay.d.ts +0 -0
- package/{components → types/components}/OffCanvas/index.d.ts +0 -0
- package/{components → types/components}/OffCanvas/useClickOutside.d.ts +0 -0
- package/{components → types/components}/RadioButton/index.d.ts +0 -0
- package/{components → types/components}/Range/index.d.ts +0 -0
- package/types/components/Select/components/test-icon.d.ts +1 -0
- package/{components → types/components}/Select/index.d.ts +9 -8
- package/{components → types/components}/Snackbar/index.d.ts +0 -0
- package/{components → types/components}/Spinner/index.d.ts +0 -0
- package/{components → types/components}/Stepper/index.d.ts +0 -0
- package/{components → types/components}/StepperAccordion/index.d.ts +0 -0
- package/{components → types/components}/Tabs/index.d.ts +0 -0
- package/{components → types/components}/TextArea/index.d.ts +0 -0
- package/{components → types/components}/Textfield/index.d.ts +0 -0
- package/{components → types/components}/TimePicker/index.d.ts +0 -0
- package/{components → types/components}/TimePicker/testHelper.d.ts +0 -0
- package/{components → types/components}/Toggle/index.d.ts +0 -0
- package/{icons → types/icons}/components/AccountCreateIcon.d.ts +0 -0
- package/{icons → types/icons}/components/AccountIcon.d.ts +0 -0
- package/{icons → types/icons}/components/AccountLoginIcon.d.ts +0 -0
- package/{icons → types/icons}/components/ArrowDownIcon.d.ts +0 -0
- package/{icons → types/icons}/components/ArrowLeftIcon.d.ts +0 -0
- package/{icons → types/icons}/components/ArrowLeftSharpIcon.d.ts +0 -0
- package/{icons → types/icons}/components/ArrowLeftSmallIcon.d.ts +0 -0
- package/{icons → types/icons}/components/ArrowLong.d.ts +0 -0
- package/{icons → types/icons}/components/ArrowRestartIcon.d.ts +0 -0
- package/{icons → types/icons}/components/ArrowRightIcon.d.ts +0 -0
- package/{icons → types/icons}/components/ArrowRightSharpIcon.d.ts +0 -0
- package/{icons → types/icons}/components/ArrowUpIcon.d.ts +0 -0
- package/{icons → types/icons}/components/AuctionIcon.d.ts +0 -0
- package/{icons → types/icons}/components/BackArrowIcon.d.ts +0 -0
- package/{icons → types/icons}/components/Baseline360Icon.d.ts +0 -0
- package/{icons → types/icons}/components/BellIcon.d.ts +0 -0
- package/{icons → types/icons}/components/BidIcon.d.ts +0 -0
- package/{icons → types/icons}/components/BidKrIcon.d.ts +0 -0
- package/{icons → types/icons}/components/BreaksIcon.d.ts +0 -0
- package/{icons → types/icons}/components/BuyCarIcon.d.ts +0 -0
- package/{icons → types/icons}/components/CabIcon.d.ts +0 -0
- package/{icons → types/icons}/components/CalendarIcon.d.ts +0 -0
- package/{icons → types/icons}/components/CameraIcon.d.ts +0 -0
- package/{icons → types/icons}/components/Car360Icon.d.ts +0 -0
- package/{icons → types/icons}/components/CarFrontIcon.d.ts +0 -0
- package/{icons → types/icons}/components/CarSearchIcon.d.ts +0 -0
- package/{icons → types/icons}/components/CarSideIcon.d.ts +0 -0
- package/{icons → types/icons}/components/CarTiresIcon.d.ts +0 -0
- package/{icons → types/icons}/components/CaravanIcon.d.ts +0 -0
- package/{icons → types/icons}/components/CardViewIcon.d.ts +0 -0
- package/{icons → types/icons}/components/CarloanIcon.d.ts +0 -0
- package/{icons → types/icons}/components/CertifiedIcon.d.ts +0 -0
- package/{icons → types/icons}/components/ChatIcon.d.ts +0 -0
- package/{icons → types/icons}/components/CheckIcon.d.ts +0 -0
- package/{icons → types/icons}/components/CheckThinIcon.d.ts +0 -0
- package/{icons → types/icons}/components/CheckmarkFilledIcon.d.ts +0 -0
- package/{icons → types/icons}/components/CheckmarkIcon.d.ts +0 -0
- package/{icons → types/icons}/components/ClipboardFilledIcon.d.ts +0 -0
- package/{icons → types/icons}/components/ClipboardIcon.d.ts +0 -0
- package/{icons → types/icons}/components/ClockFilledIcon.d.ts +0 -0
- package/{icons → types/icons}/components/ClockIcon.d.ts +0 -0
- package/{icons → types/icons}/components/CloseIcon.d.ts +0 -0
- package/{icons → types/icons}/components/CloseThinIcon.d.ts +0 -0
- package/{icons → types/icons}/components/CoffeeIcon.d.ts +0 -0
- package/{icons → types/icons}/components/CombiIcon.d.ts +0 -0
- package/{icons → types/icons}/components/CommentCircleFilledIcon.d.ts +0 -0
- package/{icons → types/icons}/components/CommentCircleIconIcon.d.ts +0 -0
- package/{icons → types/icons}/components/CommentIcon.d.ts +0 -0
- package/{icons → types/icons}/components/ContactIcon.d.ts +0 -0
- package/{icons → types/icons}/components/CoupeIcon.d.ts +0 -0
- package/{icons → types/icons}/components/CreditCardIcon.d.ts +0 -0
- package/{icons → types/icons}/components/CrossCircleIcon.d.ts +0 -0
- package/{icons → types/icons}/components/CrownIcon.d.ts +0 -0
- package/{icons → types/icons}/components/DealmakerIcon.d.ts +0 -0
- package/{icons → types/icons}/components/DeliveryIcon.d.ts +0 -0
- package/{icons → types/icons}/components/DetailedSearchIcon.d.ts +0 -0
- package/{icons → types/icons}/components/EcoFriendlyIcon.d.ts +0 -0
- package/{icons → types/icons}/components/EditIcon.d.ts +0 -0
- package/{icons → types/icons}/components/EngineIcon.d.ts +0 -0
- package/{icons → types/icons}/components/EnglandFlagIcon.d.ts +0 -0
- package/{icons → types/icons}/components/EvaluationIcon.d.ts +0 -0
- package/{icons → types/icons}/components/ExaminationMarkFilledIcon.d.ts +0 -0
- package/{icons → types/icons}/components/ExaminationMarkIcon.d.ts +0 -0
- package/{icons → types/icons}/components/ExteriorIcon.d.ts +0 -0
- package/{icons → types/icons}/components/EyeIcon.d.ts +0 -0
- package/{icons → types/icons}/components/FacebookBtnIcon.d.ts +0 -0
- package/{icons → types/icons}/components/FacebookIcon.d.ts +0 -0
- package/{icons → types/icons}/components/FatalIcon.d.ts +0 -0
- package/{icons → types/icons}/components/FavouriteIcon.d.ts +0 -0
- package/{icons → types/icons}/components/FavouriteSolidIcon.d.ts +0 -0
- package/{icons → types/icons}/components/FilterIcon.d.ts +0 -0
- package/{icons → types/icons}/components/FinanceIcon.d.ts +0 -0
- package/{icons → types/icons}/components/FindCarIcon.d.ts +0 -0
- package/{icons → types/icons}/components/FixedMonthlyCostIcon.d.ts +0 -0
- package/{icons → types/icons}/components/FlagIcon.d.ts +0 -0
- package/{icons → types/icons}/components/FlexibilityIcon.d.ts +0 -0
- package/{icons → types/icons}/components/ForumLargeIcon.d.ts +0 -0
- package/{icons → types/icons}/components/ForumSmallIcon.d.ts +0 -0
- package/{icons → types/icons}/components/GavelIcon.d.ts +0 -0
- package/{icons → types/icons}/components/GearboxIcon.d.ts +0 -0
- package/{icons → types/icons}/components/GiftIcon.d.ts +0 -0
- package/{icons → types/icons}/components/GridViewIcon.d.ts +0 -0
- package/{icons → types/icons}/components/GroupIcon.d.ts +0 -0
- package/{icons → types/icons}/components/GuaranteeIcon.d.ts +0 -0
- package/{icons → types/icons}/components/GuaranteeLargeIcon.d.ts +0 -0
- package/{icons → types/icons}/components/GuaranteeSmallIcon.d.ts +0 -0
- package/{icons → types/icons}/components/HalfCombiIcon.d.ts +0 -0
- package/{icons → types/icons}/components/HamburgerIcon.d.ts +0 -0
- package/{icons → types/icons}/components/HandshakeIcon.d.ts +0 -0
- package/{icons → types/icons}/components/HelpingHandIcon.d.ts +0 -0
- package/{icons → types/icons}/components/IdIcon.d.ts +0 -0
- package/{icons → types/icons}/components/InformationIcon.d.ts +0 -0
- package/{icons → types/icons}/components/InstagramIcon.d.ts +0 -0
- package/{icons → types/icons}/components/InsuranceIcon.d.ts +0 -0
- package/{icons → types/icons}/components/InteriorIcon.d.ts +0 -0
- package/{icons → types/icons}/components/InteriorThinIcon.d.ts +0 -0
- package/{icons → types/icons}/components/InternationalIcon.d.ts +0 -0
- package/{icons → types/icons}/components/KvdTestIcon.d.ts +0 -0
- package/{icons → types/icons}/components/KvdVenueIcon.d.ts +0 -0
- package/{icons → types/icons}/components/LifebuoyIcon.d.ts +0 -0
- package/{icons → types/icons}/components/LiftTruckIcon.d.ts +0 -0
- package/{icons → types/icons}/components/LinkedInIcon.d.ts +0 -0
- package/{icons → types/icons}/components/ListViewIcon.d.ts +0 -0
- package/{icons → types/icons}/components/MailIcon.d.ts +0 -0
- package/{icons → types/icons}/components/MinibusIcon.d.ts +0 -0
- package/{icons → types/icons}/components/MinivanIcon.d.ts +0 -0
- package/{icons → types/icons}/components/MobileIcon.d.ts +0 -0
- package/{icons → types/icons}/components/MotorcycleIcon.d.ts +0 -0
- package/{icons → types/icons}/components/MrfLogoIcon.d.ts +0 -0
- package/{icons → types/icons}/components/NotFoundIcon.d.ts +0 -0
- package/{icons → types/icons}/components/OverbidIcon.d.ts +0 -0
- package/{icons → types/icons}/components/PdfIconIcon.d.ts +0 -0
- package/{icons → types/icons}/components/PhoneIcon.d.ts +0 -0
- package/{icons → types/icons}/components/PickUpIcon.d.ts +0 -0
- package/{icons → types/icons}/components/PinIcon.d.ts +0 -0
- package/{icons → types/icons}/components/PlayIcon.d.ts +0 -0
- package/{icons → types/icons}/components/Pricetag.d.ts +0 -0
- package/{icons → types/icons}/components/PricetagFilledKronaIcon.d.ts +0 -0
- package/{icons → types/icons}/components/PrivateCarIcon.d.ts +0 -0
- package/{icons → types/icons}/components/ProfileCircleIcon.d.ts +0 -0
- package/{icons → types/icons}/components/ProfileIcon.d.ts +0 -0
- package/{icons → types/icons}/components/RadioIcon.d.ts +0 -0
- package/{icons → types/icons}/components/ReclamationIcon.d.ts +0 -0
- package/{icons → types/icons}/components/ReleasingIcon.d.ts +0 -0
- package/{icons → types/icons}/components/RemoveFilterIcon.d.ts +0 -0
- package/{icons → types/icons}/components/ReservedPriceIcon.d.ts +0 -0
- package/{icons → types/icons}/components/ResultIcon.d.ts +0 -0
- package/{icons → types/icons}/components/SafePaymentIcon.d.ts +0 -0
- package/{icons → types/icons}/components/SaleTagIcon.d.ts +0 -0
- package/{icons → types/icons}/components/SearchCheckIcon.d.ts +0 -0
- package/{icons → types/icons}/components/SearchIcon.d.ts +0 -0
- package/{icons → types/icons}/components/SedanIcon.d.ts +0 -0
- package/{icons → types/icons}/components/SellCarIcon.d.ts +0 -0
- package/{icons → types/icons}/components/SellCarsIcon.d.ts +0 -0
- package/{icons → types/icons}/components/ServiceIcon.d.ts +0 -0
- package/{icons → types/icons}/components/ShareIcon.d.ts +0 -0
- package/{icons → types/icons}/components/ShieldIcon.d.ts +0 -0
- package/{icons → types/icons}/components/SignInIcon.d.ts +0 -0
- package/{icons → types/icons}/components/SignOutIcon.d.ts +0 -0
- package/{icons → types/icons}/components/SpeedMeterIcon.d.ts +0 -0
- package/{icons → types/icons}/components/StarCircleIcon.d.ts +0 -0
- package/{icons → types/icons}/components/StartIcon.d.ts +0 -0
- package/{icons → types/icons}/components/StoreIcon.d.ts +0 -0
- package/{icons → types/icons}/components/SuvIcon.d.ts +0 -0
- package/{icons → types/icons}/components/SwedenFlag.d.ts +0 -0
- package/{icons → types/icons}/components/TankIcon.d.ts +0 -0
- package/{icons → types/icons}/components/TireIcon.d.ts +0 -0
- package/{icons → types/icons}/components/TransportIcon.d.ts +0 -0
- package/{icons → types/icons}/components/TrashcanIcon.d.ts +0 -0
- package/{icons → types/icons}/components/TrophyIcon.d.ts +0 -0
- package/{icons → types/icons}/components/TruckIcon.d.ts +0 -0
- package/{icons → types/icons}/components/UmbrellaIcon.d.ts +0 -0
- package/{icons → types/icons}/components/ValuationIcon.d.ts +0 -0
- package/{icons → types/icons}/components/ValueIcon.d.ts +0 -0
- package/{icons → types/icons}/components/WarningIcon.d.ts +0 -0
- package/{icons → types/icons}/components/YoutubeIcon.d.ts +0 -0
- package/{icons → types/icons}/components/index.d.ts +0 -0
- package/types/icons/template.d.ts +10 -0
- package/{index.d.ts → types/index.d.ts} +0 -0
- package/types/serviceWorker.d.ts +2 -0
- package/{setupTests.d.ts → types/setupTests.d.ts} +0 -0
- package/{shared → types/shared}/constants.d.ts +0 -0
- package/{shared → types/shared}/helpers.d.ts +0 -0
- package/{shared → types/shared}/media-queries.d.ts +0 -0
- package/{testUtils.d.ts → types/testUtils.d.ts} +0 -0
- package/{theme.d.ts → types/theme.d.ts} +0 -0
- package/{typography → types/typography}/BodyText/index.d.ts +0 -0
- package/{typography → types/typography}/ButtonText/index.d.ts +0 -0
- package/{typography → types/typography}/Heading/index.d.ts +0 -0
- package/{utils → types/utils}/utils.d.ts +0 -0
- package/kvdbil-components.css +0 -224
- package/kvdbil-components.js +0 -1495
- package/kvdbil-components.js.map +0 -1
|
@@ -0,0 +1,226 @@
|
|
|
1
|
+
import{css as e}from"styled-components";var a=e`
|
|
2
|
+
/* DayPicker styles */
|
|
3
|
+
|
|
4
|
+
.DayPicker {
|
|
5
|
+
display: inline-block;
|
|
6
|
+
font-size: 1rem;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.DayPicker-wrapper {
|
|
10
|
+
position: relative;
|
|
11
|
+
|
|
12
|
+
flex-direction: row;
|
|
13
|
+
padding-bottom: 1em;
|
|
14
|
+
|
|
15
|
+
-webkit-user-select: none;
|
|
16
|
+
|
|
17
|
+
-moz-user-select: none;
|
|
18
|
+
|
|
19
|
+
-ms-user-select: none;
|
|
20
|
+
|
|
21
|
+
user-select: none;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.DayPicker-Months {
|
|
25
|
+
display: flex;
|
|
26
|
+
flex-wrap: wrap;
|
|
27
|
+
justify-content: center;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.DayPicker-Month {
|
|
31
|
+
display: table;
|
|
32
|
+
margin: 0 1em;
|
|
33
|
+
margin-top: 1em;
|
|
34
|
+
border-spacing: 0;
|
|
35
|
+
border-collapse: collapse;
|
|
36
|
+
|
|
37
|
+
-webkit-user-select: none;
|
|
38
|
+
|
|
39
|
+
-moz-user-select: none;
|
|
40
|
+
|
|
41
|
+
-ms-user-select: none;
|
|
42
|
+
|
|
43
|
+
user-select: none;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.DayPicker-NavBar {
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.DayPicker-NavButton {
|
|
50
|
+
position: absolute;
|
|
51
|
+
top: 1em;
|
|
52
|
+
right: 1.5em;
|
|
53
|
+
left: auto;
|
|
54
|
+
|
|
55
|
+
display: inline-block;
|
|
56
|
+
margin-top: 2px;
|
|
57
|
+
width: 1.25em;
|
|
58
|
+
height: 1.25em;
|
|
59
|
+
background-position: center;
|
|
60
|
+
background-size: 50%;
|
|
61
|
+
background-repeat: no-repeat;
|
|
62
|
+
color: #8b9898;
|
|
63
|
+
cursor: pointer;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.DayPicker-NavButton:hover {
|
|
67
|
+
opacity: 0.8;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.DayPicker-NavButton--prev {
|
|
71
|
+
margin-right: 1.5em;
|
|
72
|
+
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAwCAYAAAB5R9gVAAAABGdBTUEAALGPC/xhBQAAAVVJREFUWAnN2G0KgjAYwPHpGfRkaZeqvgQaK+hY3SUHrk1YzNLay/OiEFp92I+/Mp2F2Mh2lLISWnflFjzH263RQjzMZ19wgs73ez0o1WmtW+dgA01VxrE3p6l2GLsnBy1VYQOtVSEH/atCCgqpQgKKqYIOiq2CBkqtggLKqQIKgqgCBjpJ2Y5CdJ+zrT9A7HHSTA1dxUdHgzCqJIEwq0SDsKsEg6iqBIEoq/wEcVRZBXFV+QJxV5mBtlDFB5VjYTaGZ2sf4R9PM7U9ZU+lLuaetPP/5Die3ToO1+u+MKtHs06qODB2zBnI/jBd4MPQm1VkY79Tb18gB+C62FdBFsZR6yeIo1YQiLJWMIiqVjQIu1YSCLNWFgijVjYIuhYYCKoWKAiiFgoopxYaKLUWOii2FgkophYp6F3r42W5A9s9OcgNvva8xQaysKXlFytoqdYmQH6tF3toSUo0INq9AAAAAElFTkSuQmCC');
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.DayPicker-NavButton--next {
|
|
76
|
+
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAwCAYAAAB5R9gVAAAABGdBTUEAALGPC/xhBQAAAXRJREFUWAnN119ugjAcwPHWzJ1gnmxzB/BBE0n24m4xfNkTaOL7wOtsl3AXMMb+Vjaa1BG00N8fSEibPpAP3xAKKs2yjzTPH9RAjhEo9WzPr/Vm8zgE0+gXATAxxuxtqeJ9t5tIwv5AtQAApsfT6TPdbp+kUBcgVwvO51KqVhMkXKsVJFXrOkigVhCIs1Y4iKlWZxB1rX4gwlpRIIpa8SDkWmggrFq4IIRaJKCYWnSgnrXIQV1r8YD+1Vrn+bReagysIFfLABRt31v8oBu1xEBttfRbltmfjgEcWh9snUS2kNdBK6WN1vrOWxObWsz+fjxevsxmB1GQDfINWiev83nhaoiB/CoOU438oPrhXS0WpQ9xc1ZQWxWHqUYe0I0qrKCQKjygDlXIQV2r0IF6ViEBxVTBBSFUQQNhVYkHIVeJAtkNsbQ7c1LtzP6FsObhb2rCKv7NBIGoq4SDmKoEgTirXAcJVGkFSVVpgoSrXICGUMUH/QBZNSUy5XWUhwAAAABJRU5ErkJggg==');
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.DayPicker-NavButton--interactionDisabled {
|
|
80
|
+
display: none;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.DayPicker-Caption {
|
|
84
|
+
display: table-caption;
|
|
85
|
+
margin-bottom: 0.5em;
|
|
86
|
+
padding: 0 0.5em;
|
|
87
|
+
text-align: left;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.DayPicker-Caption > div {
|
|
91
|
+
font-weight: 500;
|
|
92
|
+
font-size: 1.15em;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.DayPicker-Weekdays {
|
|
96
|
+
display: table-header-group;
|
|
97
|
+
margin-top: 1em;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.DayPicker-WeekdaysRow {
|
|
101
|
+
display: table-row;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.DayPicker-Weekday {
|
|
105
|
+
display: table-cell;
|
|
106
|
+
padding: 0.5em;
|
|
107
|
+
color: #8b9898;
|
|
108
|
+
text-align: center;
|
|
109
|
+
font-size: 0.875em;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.DayPicker-Weekday abbr[title] {
|
|
113
|
+
border-bottom: none;
|
|
114
|
+
text-decoration: none;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.DayPicker-Body {
|
|
118
|
+
display: table-row-group;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.DayPicker-Week {
|
|
122
|
+
display: table-row;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.DayPicker-Day {
|
|
126
|
+
display: table-cell;
|
|
127
|
+
padding: 0.5em;
|
|
128
|
+
border-radius: 50%;
|
|
129
|
+
vertical-align: middle;
|
|
130
|
+
text-align: center;
|
|
131
|
+
cursor: pointer;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.DayPicker-WeekNumber {
|
|
135
|
+
display: table-cell;
|
|
136
|
+
padding: 0.5em;
|
|
137
|
+
min-width: 1em;
|
|
138
|
+
border-right: 1px solid #eaecec;
|
|
139
|
+
color: #8b9898;
|
|
140
|
+
vertical-align: middle;
|
|
141
|
+
text-align: right;
|
|
142
|
+
font-size: 0.75em;
|
|
143
|
+
cursor: pointer;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.DayPicker--interactionDisabled .DayPicker-Day {
|
|
147
|
+
cursor: default;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.DayPicker-Footer {
|
|
151
|
+
padding-top: 0.5em;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.DayPicker-TodayButton {
|
|
155
|
+
border: none;
|
|
156
|
+
background-color: transparent;
|
|
157
|
+
background-image: none;
|
|
158
|
+
box-shadow: none;
|
|
159
|
+
color: #4a90e2;
|
|
160
|
+
font-size: 0.875em;
|
|
161
|
+
cursor: pointer;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
/* Default modifiers */
|
|
165
|
+
|
|
166
|
+
.DayPicker-Day--today {
|
|
167
|
+
color: #d0021b;
|
|
168
|
+
font-weight: 700;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.DayPicker-Day--outside {
|
|
172
|
+
color: #8b9898;
|
|
173
|
+
cursor: default;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.DayPicker-Day--disabled {
|
|
177
|
+
color: #dce0e0;
|
|
178
|
+
cursor: default;
|
|
179
|
+
/* background-color: #eff1f1; */
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
/* Example modifiers */
|
|
183
|
+
|
|
184
|
+
.DayPicker-Day--sunday {
|
|
185
|
+
background-color: #f7f8f8;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.DayPicker-Day--sunday:not(.DayPicker-Day--today) {
|
|
189
|
+
color: #dce0e0;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
.DayPicker-Day--selected:not(.DayPicker-Day--disabled):not(.DayPicker-Day--outside) {
|
|
193
|
+
position: relative;
|
|
194
|
+
|
|
195
|
+
background-color: #4a90e2;
|
|
196
|
+
color: #f0f8ff;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.DayPicker-Day--selected:not(.DayPicker-Day--disabled):not(.DayPicker-Day--outside):hover {
|
|
200
|
+
background-color: #51a0fa;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.DayPicker:not(.DayPicker--interactionDisabled)
|
|
204
|
+
.DayPicker-Day:not(.DayPicker-Day--disabled):not(.DayPicker-Day--selected):not(.DayPicker-Day--outside):hover {
|
|
205
|
+
background-color: #f0f8ff;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
/* DayPickerInput */
|
|
209
|
+
|
|
210
|
+
.DayPickerInput {
|
|
211
|
+
display: inline-block;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
.DayPickerInput-OverlayWrapper {
|
|
215
|
+
position: relative;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
.DayPickerInput-Overlay {
|
|
219
|
+
position: absolute;
|
|
220
|
+
left: 0;
|
|
221
|
+
z-index: 1;
|
|
222
|
+
|
|
223
|
+
background: white;
|
|
224
|
+
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
|
|
225
|
+
}
|
|
226
|
+
`;export{a as default};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import t from"react";import e from"styled-components";import{mq as x}from"../../shared/media-queries.js";import{Button as a}from"../Button/index.js";import{Modal as h}from"../Modal/index.js";import{TinyTitle as g}from"../../typography/Heading/index.js";import"../../theme.js";import"../Spinner/index.js";import"../../typography/ButtonText/index.js";import"react-dom";import"react-transition-group";import"../Icons/Close.js";const j=e.div`
|
|
2
|
+
padding-top: 1rem;
|
|
3
|
+
`,v=e.div`
|
|
4
|
+
top: 20px;
|
|
5
|
+
left: 32px;
|
|
6
|
+
position: absolute;
|
|
7
|
+
`,w=e(g)`
|
|
8
|
+
font-weight: ${({theme:o})=>o.typography.fontAlternativeRegularWeight};
|
|
9
|
+
margin: 0;
|
|
10
|
+
`,E=e.div`
|
|
11
|
+
display: flex;
|
|
12
|
+
justify-content: space-between;
|
|
13
|
+
${x("tablet")} {
|
|
14
|
+
justify-content: flex-start;
|
|
15
|
+
}
|
|
16
|
+
overflow-x: hidden;
|
|
17
|
+
`,B=e(a)`
|
|
18
|
+
overflow-x: hidden;
|
|
19
|
+
margin-right: 2rem;
|
|
20
|
+
justify-content: center;
|
|
21
|
+
width: 100%;
|
|
22
|
+
max-width: 110px;
|
|
23
|
+
`,C=e(a)`
|
|
24
|
+
justify-content: center;
|
|
25
|
+
width: 100%;
|
|
26
|
+
max-width: 245px;
|
|
27
|
+
`,l=({isOpen:o,title:n,children:s,modalStyles:m,titleStyles:c,primaryButtonText:p,primaryButtonStyles:d,secondaryButtonStyles:u,secondaryButtonText:f,primaryButtonAction:r,secondaryButtonAction:i,onClose:y})=>t.createElement(h,{contentStyles:m,isOpen:o,onClose:y},n&&t.createElement(v,null,t.createElement(w,{style:c},n)),t.createElement(j,null,s),t.createElement(E,null,i&&t.createElement(B,{style:u,onClick:i,variant:"outline",color:"neutral"},f),r&&t.createElement(C,{style:d,onClick:r,variant:"solid",color:"success"},p)));export{l as Dialog,l as default};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import a from"react";import n from"styled-components";const i=n.div`
|
|
2
|
+
font-family: ${({theme:t})=>t.typography.fontAlternativeFamily};
|
|
3
|
+
font-weight: ${({theme:t})=>t.typography.fontAlternativeRegularWeight};
|
|
4
|
+
background: ${({theme:t})=>t.colors.error.main};
|
|
5
|
+
color: white;
|
|
6
|
+
border-radius: 0.25rem;
|
|
7
|
+
font-size: 13px;
|
|
8
|
+
padding: 10px;
|
|
9
|
+
${({centered:t})=>t&&"text-align: center;"}
|
|
10
|
+
`,e=({children:t,centered:r,...o})=>a.createElement(i,{centered:r,...o},t);export{e as ErrorMessage,e as default};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import r,{css as t}from"styled-components";const l="0.5rem",s=e=>t`
|
|
2
|
+
background-color: ${o=>o.theme.colors.background.light};
|
|
3
|
+
transform: scale(0.75) translateY(${e});
|
|
4
|
+
transform-origin: 0 0;
|
|
5
|
+
padding: 0 ${l};
|
|
6
|
+
left: ${l};
|
|
7
|
+
color: ${({theme:o})=>o.colors.text.dark};
|
|
8
|
+
`,c=t`
|
|
9
|
+
color: ${e=>e.theme.colors.text.dark};
|
|
10
|
+
`,n=t`
|
|
11
|
+
color: ${e=>e.theme.colors.gray.light1};
|
|
12
|
+
background-color: ${e=>e.theme.colors.background.light};
|
|
13
|
+
`,a=t`
|
|
14
|
+
text-align: center;
|
|
15
|
+
width: 100%;
|
|
16
|
+
left: 0;
|
|
17
|
+
`,i=r.label`
|
|
18
|
+
font-family: ${({theme:e})=>e.typography.fontBaseFamily};
|
|
19
|
+
pointer-events: none;
|
|
20
|
+
position: absolute;
|
|
21
|
+
z-index: 1;
|
|
22
|
+
top: ${e=>e.height?`${e.height}rem`:"0.9rem"};
|
|
23
|
+
left: calc(0.75rem + 2px);
|
|
24
|
+
transition: 150ms;
|
|
25
|
+
height: 16px;
|
|
26
|
+
line-height: 16px;
|
|
27
|
+
font-size: 16px;
|
|
28
|
+
color: ${e=>e.theme.colors.gray.dark5};
|
|
29
|
+
|
|
30
|
+
${e=>e.centered&&a}
|
|
31
|
+
${e=>(e.hasValue||e.isFocused)&&s(e.height?`-${(e.height+.25)*1.35}rem`:"-1.75rem")}
|
|
32
|
+
${e=>e.isFocused&&c}
|
|
33
|
+
${e=>e.disabled&&n}
|
|
34
|
+
`;export{i as Label};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import t from"react";import a from"styled-components";import{mq as r}from"../../shared/media-queries.js";const o=a.button`
|
|
2
|
+
appearance: none;
|
|
3
|
+
cursor: pointer;
|
|
4
|
+
background-color: transparent;
|
|
5
|
+
border: 0;
|
|
6
|
+
outline: none;
|
|
7
|
+
display: flex;
|
|
8
|
+
align-items: center;
|
|
9
|
+
margin-right: 1.5rem;
|
|
10
|
+
margin-left: auto;
|
|
11
|
+
${r("laptop")} {
|
|
12
|
+
display: none;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
svg {
|
|
16
|
+
width: 1.5rem;
|
|
17
|
+
height: 1.5rem;
|
|
18
|
+
fill: ${({theme:e})=>e.colors.text.dark};
|
|
19
|
+
}
|
|
20
|
+
span {
|
|
21
|
+
display: none;
|
|
22
|
+
font-family: ${({theme:e})=>e.typography.fontBaseFamily};
|
|
23
|
+
font-weight: ${({theme:e})=>e.typography.fontBaseBoldWeight};
|
|
24
|
+
font-size: 1rem;
|
|
25
|
+
margin-right: 0.75rem;
|
|
26
|
+
|
|
27
|
+
${r("tablet")} {
|
|
28
|
+
display: inline;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
`,l=({onClick:e=()=>{},text:n})=>t.createElement(o,{onClick:e},t.createElement("span",null,n),t.createElement("svg",null,t.createElement("symbol",{id:"icon-hamburger",viewBox:"0 0 16 12"},t.createElement("path",{d:"M0 0h16v2H0zm0 5h16v2H0zm0 5h16v2H0z"})),t.createElement("use",{xlinkHref:"#icon-hamburger"})));export{l as default};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import r from"react";import o from"styled-components";import{mq as m}from"../../shared/media-queries.js";import t from"../../theme.js";const l=o.li`
|
|
2
|
+
font-family: ${({theme:e})=>e.typography.fontAlternativeFamily};
|
|
3
|
+
font-weight: ${({theme:e})=>e.typography.fontAlternativeRegularWeight};
|
|
4
|
+
font-size: 1rem;
|
|
5
|
+
display: flex;
|
|
6
|
+
align-items: center;
|
|
7
|
+
white-space: nowrap;
|
|
8
|
+
border-radius: 0.25rem;
|
|
9
|
+
|
|
10
|
+
&:last-child {
|
|
11
|
+
margin-right: 0;
|
|
12
|
+
}
|
|
13
|
+
&:nth-child(n + 4) {
|
|
14
|
+
display: none;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
${m("laptop")} {
|
|
18
|
+
&:nth-child(n + 4) {
|
|
19
|
+
display: inherit;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
`,s=o.a`
|
|
23
|
+
border-radius: 0.25rem;
|
|
24
|
+
padding: 0.75rem 1.5rem;
|
|
25
|
+
transition: 200ms;
|
|
26
|
+
color: ${t.colors.text.dark};
|
|
27
|
+
text-decoration: none;
|
|
28
|
+
|
|
29
|
+
&:hover,
|
|
30
|
+
&:active {
|
|
31
|
+
color: ${t.colors.primary.main};
|
|
32
|
+
background: ${t.colors.gray.light4};
|
|
33
|
+
}
|
|
34
|
+
`,c=({to:e,component:i,text:n,...a})=>r.createElement(l,null,i||r.createElement(s,{href:e,...a},n));export{c as default};
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import e from"react";import t from"styled-components";import{mq as r}from"../../shared/media-queries.js";import n from"../../theme.js";import{Logo as y}from"../Logo/index.js";import k from"./Hamburger.js";import i from"./Link.js";import"../Logo/LogoSv.js";import"../Logo/LogoEn.js";const b=t.a`
|
|
2
|
+
cursor: pointer;
|
|
3
|
+
padding: 0 0.625rem;
|
|
4
|
+
width: 100%;
|
|
5
|
+
display: flex;
|
|
6
|
+
justify-content: center;
|
|
7
|
+
align-items: center;
|
|
8
|
+
background: ${n.colors.background.light};
|
|
9
|
+
|
|
10
|
+
${r("tablet")} {
|
|
11
|
+
display: block;
|
|
12
|
+
width: auto;
|
|
13
|
+
padding: 0 1.5rem 0 0;
|
|
14
|
+
}
|
|
15
|
+
`,h=t.nav`
|
|
16
|
+
width: 100%;
|
|
17
|
+
z-index: 17;
|
|
18
|
+
position: fixed;
|
|
19
|
+
top: 0;
|
|
20
|
+
left: 0;
|
|
21
|
+
color: ${n.colors.text.dark};
|
|
22
|
+
background-color: ${n.colors.background.light};
|
|
23
|
+
transition: 300ms;
|
|
24
|
+
`,j=t.div`
|
|
25
|
+
display: flex;
|
|
26
|
+
flex-direction: column;
|
|
27
|
+
align-items: center;
|
|
28
|
+
justify-content: space-between;
|
|
29
|
+
background-color: ${n.colors.background.gray};
|
|
30
|
+
|
|
31
|
+
${r("tablet")} {
|
|
32
|
+
background-color: ${n.colors.background.light};
|
|
33
|
+
flex-direction: row;
|
|
34
|
+
padding: 0em 1.5em;
|
|
35
|
+
}
|
|
36
|
+
`,E=t.div`
|
|
37
|
+
display: flex;
|
|
38
|
+
width: 100%;
|
|
39
|
+
`,L=t.ul`
|
|
40
|
+
display: flex;
|
|
41
|
+
justify-content: space-around;
|
|
42
|
+
width: 100%;
|
|
43
|
+
position: relative;
|
|
44
|
+
margin: 0;
|
|
45
|
+
padding: 0;
|
|
46
|
+
flex-grow: 1;
|
|
47
|
+
|
|
48
|
+
${r("tablet")} {
|
|
49
|
+
justify-content: flex-start;
|
|
50
|
+
padding: 0.5em 0;
|
|
51
|
+
display: flex;
|
|
52
|
+
padding: 0;
|
|
53
|
+
flex: 1;
|
|
54
|
+
}
|
|
55
|
+
`,$=t.ul`
|
|
56
|
+
display: none;
|
|
57
|
+
|
|
58
|
+
${r("laptop")} {
|
|
59
|
+
padding: 0.5em 0;
|
|
60
|
+
display: flex;
|
|
61
|
+
padding: 0;
|
|
62
|
+
}
|
|
63
|
+
`,l=({locale:d,primaryLinks:c,secondaryLinks:s,menuIconText:m,onMenuClick:p,onHeaderClick:g,forwardRef:u,css:f="",...x})=>e.createElement(h,{css:f,...x,ref:u},e.createElement(j,null,e.createElement(b,{onClick:g},e.createElement(y,{locale:d})),e.createElement(E,null,e.createElement(L,null,c.map((o,a)=>e.createElement(i,{key:o.text||a,...o}))),e.createElement(k,{text:m,onClick:p})),e.createElement($,null,s.map((o,a)=>e.createElement(i,{key:o.text||a,...o})))));export{l as Header,l as default};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import t from"react";import o from"styled-components";import i from"../../theme.js";const d=o.div`
|
|
2
|
+
position: relative;
|
|
3
|
+
height: 60vh;
|
|
4
|
+
max-height: 600px;
|
|
5
|
+
background-color: ${i.colors.primary.main};
|
|
6
|
+
background-size: cover;
|
|
7
|
+
`,m=o.div`
|
|
8
|
+
position: relative;
|
|
9
|
+
display: flex;
|
|
10
|
+
padding: 50px;
|
|
11
|
+
z-index: 1;
|
|
12
|
+
`,p=o.iframe`
|
|
13
|
+
position: absolute;
|
|
14
|
+
width: 100%;
|
|
15
|
+
height: 100%;
|
|
16
|
+
top: 0;
|
|
17
|
+
left: 0;
|
|
18
|
+
`,u=o.img`
|
|
19
|
+
position: absolute;
|
|
20
|
+
top: 0;
|
|
21
|
+
left: 0;
|
|
22
|
+
height: 100%;
|
|
23
|
+
width: 100%;
|
|
24
|
+
object-fit: cover;
|
|
25
|
+
background-color: ${i.colors.primary.main};
|
|
26
|
+
`;function l(a){const{imageProps:e,containerStyle:n,videoProps:r,children:c}=a,s={objectPosition:`${(e==null?void 0:e.x)?e.x:"50%"} ${(e==null?void 0:e.y)?e.y:"50%"}`};return t.createElement(d,{style:n},r?t.createElement(p,{"data-testid":"hero-video",title:"video-frame",src:r.src,width:"100%",height:"100%",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0}):t.createElement(t.Fragment,null,t.createElement(u,{src:e==null?void 0:e.src,alt:"Hero background",style:s}),t.createElement(m,null,c)))}export{l as Hero,l as default};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import e,{useState as y}from"react";import o from"styled-components";import{Caption as f}from"../../typography/BodyText/index.js";import{Title as g}from"../../typography/Heading/index.js";import c from"../../theme.js";import{Snackbar as x}from"../Snackbar/index.js";import"../../shared/media-queries.js";import"../Icons/CheckCircle.js";import"../Icons/Close.js";import"../Icons/ErrorCircle.js";import"../Icons/InfoCircle.js";import"react-transition-group";const k=o.div`
|
|
2
|
+
margin: 0 auto;
|
|
3
|
+
max-width: 700px;
|
|
4
|
+
`,h=o(g)`
|
|
5
|
+
margin: 0.5rem;
|
|
6
|
+
`,w=o.ul`
|
|
7
|
+
display: flex;
|
|
8
|
+
list-style: none;
|
|
9
|
+
flex-wrap: wrap;
|
|
10
|
+
padding: 0;
|
|
11
|
+
`,b=o.li`
|
|
12
|
+
background: ${({background:r})=>r};
|
|
13
|
+
display: flex;
|
|
14
|
+
justify-content: center;
|
|
15
|
+
flex-direction: column;
|
|
16
|
+
align-items: center;
|
|
17
|
+
width: calc(25% - 2px - 1.5rem);
|
|
18
|
+
padding: 0 0.25rem;
|
|
19
|
+
border: 1px solid ${c.colors.gray.dark5};
|
|
20
|
+
border-radius: 3px;
|
|
21
|
+
margin: 0.5rem;
|
|
22
|
+
cursor: pointer;
|
|
23
|
+
`,C=o(f)`
|
|
24
|
+
overflow-wrap: break-word;
|
|
25
|
+
word-wrap: break-word;
|
|
26
|
+
word-break: break-word;
|
|
27
|
+
hyphens: auto;
|
|
28
|
+
text-align: center;
|
|
29
|
+
`,j=o.span`
|
|
30
|
+
font-size: ${({size:r})=>r};
|
|
31
|
+
color: ${({color:r})=>r};
|
|
32
|
+
`,E=({background:r=c.colors.background.light,color:l=c.colors.text.dark,icons:p,size:m="2rem"})=>{const[a,s]=y({isOpen:!1,message:"",type:"info",color:"neutral"}),d=async t=>{const i=`import { ${t} } from 'kvdbil-components';`;if(!!navigator.clipboard)try{await navigator.clipboard.writeText(i),s(n=>({...n,isOpen:!0,message:`copied import for ${t}`,type:"success",color:"success"}))}catch(n){s(u=>({...u,isOpen:!0,message:`Could not copy text: ${n}`,type:"error",color:"error"}))}};return e.createElement(e.Fragment,null,e.createElement(k,null,e.createElement(h,{as:"h2"},"Click to copy import declaration for icon"),e.createElement(w,null,p.map(([t,i],n)=>e.createElement(b,{key:n,background:r,onClick:()=>{d(t)}},e.createElement(C,null,t),e.createElement(j,{size:m,color:l},e.createElement(i,null)))))),e.createElement(x,{message:a.message,isOpen:a.isOpen,type:a.type,color:a.color,onClose:()=>s(t=>({...t,isOpen:!1}))}))};export{E as default};
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import n from"react";import a,{css as m}from"styled-components";import i from"../theme.js";const r=m`
|
|
2
|
+
background-color: transparent;
|
|
3
|
+
`,l="400ms",b="1500ms",f="750ms",g=a.div`
|
|
4
|
+
cursor: ${o=>o.isDisabled?"default":"pointer"};
|
|
5
|
+
outline: none;
|
|
6
|
+
|
|
7
|
+
display: inline-block;
|
|
8
|
+
position: relative;
|
|
9
|
+
|
|
10
|
+
.button-background {
|
|
11
|
+
:focus {
|
|
12
|
+
outline: none;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
:hover {
|
|
17
|
+
.button-background {
|
|
18
|
+
transition: background-color ${l};
|
|
19
|
+
background-color: ${o=>o.isActive?i.colors[o.color].main:"rgb(136, 136, 136)"};
|
|
20
|
+
|
|
21
|
+
opacity: 0.06;
|
|
22
|
+
${o=>o.isDisabled&&r};
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
:focus {
|
|
27
|
+
.button-background {
|
|
28
|
+
transition: background-color ${l};
|
|
29
|
+
animation: FocusRipple ${b} 0ms infinite alternate-reverse;
|
|
30
|
+
background-color: ${o=>o.isActive?i.colors[o.color].main:"rgba(136, 136, 136)"};
|
|
31
|
+
|
|
32
|
+
opacity: 0.12;
|
|
33
|
+
${o=>o.isDisabled&&r};
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
:active {
|
|
38
|
+
.button-background {
|
|
39
|
+
animation: ActiveRipple ${f};
|
|
40
|
+
background-color: ${o=>o.isActive?i.colors[o.color].main:"rgb(136, 136, 136)"};
|
|
41
|
+
|
|
42
|
+
opacity: 0.24;
|
|
43
|
+
${o=>o.isDisabled&&r};
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
@keyframes ActiveRipple {
|
|
48
|
+
0% {
|
|
49
|
+
clip-path: circle(50%);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
25% {
|
|
53
|
+
clip-path: circle(46%);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
100% {
|
|
57
|
+
clip-path: circle(50%);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
@keyframes FocusRipple {
|
|
62
|
+
0% {
|
|
63
|
+
clip-path: circle(46%);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
100% {
|
|
67
|
+
clip-path: circle(50%);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
`,k=a.div`
|
|
71
|
+
top: 0;
|
|
72
|
+
left: 0;
|
|
73
|
+
|
|
74
|
+
height: calc(100% + 2rem);
|
|
75
|
+
width: calc(100% + 2rem);
|
|
76
|
+
transform: translate(-1rem, -1rem);
|
|
77
|
+
|
|
78
|
+
position: absolute;
|
|
79
|
+
border-radius: 10rem;
|
|
80
|
+
`,h=({children:o,isActive:s,isDisabled:c,onClick:e,color:p})=>{const u=t=>{t.key==="Enter"&&!c&&typeof e=="function"&&(t.persist(),e(t))},d=t=>{t.stopPropagation(),t.preventDefault(),t.persist(),!c&&typeof e=="function"&&e(t)};return n.createElement(g,{color:p,isActive:s,isDisabled:c,onClick:d,onKeyDown:u,tabIndex:c?void 0:1},n.createElement(k,{className:"button-background"}),o)};export{h as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from"react";const a=({title:t,...r})=>e.createElement("svg",{...r},t&&e.createElement("title",null,t),e.createElement("symbol",{id:"icon-arrow",viewBox:"0 0 22 22"},e.createElement("path",{d:"M1.29412 9.70588L10.7843 19.1961C10.9034 19.3152 11.0966 19.3152 11.2157 19.1961L20.7059 9.70588L22 11L12.5098 20.4902C11.676 21.324 10.324 21.324 9.4902 20.4902L0 11L1.29412 9.70588Z"})),e.createElement("use",{xlinkHref:"#icon-arrow"}));export{a as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from"react";const t=({title:C="CheckCircle",...c})=>e.createElement("svg",{...c},C&&e.createElement("title",null,C),e.createElement("symbol",{id:"icon-checkCircle",viewBox:"0 0 24 24"},e.createElement("path",{d:"M12.5 23.0012C6.42487 23.0012 1.5 18.0764 1.5 12.0012C1.5 5.92609 6.42487 1.00122 12.5 1.00122C18.5751 1.00122 23.5 5.92609 23.5 12.0012C23.5 18.0764 18.5751 23.0012 12.5 23.0012ZM12.5 21.1679C17.5626 21.1679 21.6667 17.0638 21.6667 12.0012C21.6667 6.93861 17.5626 2.83455 12.5 2.83455C7.43739 2.83455 3.33333 6.93861 3.33333 12.0012C3.33333 17.0638 7.43739 21.1679 12.5 21.1679ZM9.10748 13.2429C9.33504 13.5121 9.55429 13.7564 9.76125 13.9695C10.1479 14.3676 10.4817 14.6294 10.6107 14.7179C10.6392 14.7003 10.6714 14.6794 10.7067 14.6551C10.9006 14.522 11.1553 14.3144 11.4591 14.0413C12.0292 13.5287 12.7476 12.8084 13.5766 11.9265C13.7427 11.7497 13.9125 11.5673 14.0856 11.3797C14.819 10.5847 15.5796 9.73162 16.3227 8.87836C16.5829 8.5796 16.8222 8.30225 17.0352 8.0535C17.1626 7.90465 17.2527 7.79871 17.2999 7.74287L18.7001 8.92624C18.6505 8.98498 18.5579 9.09389 18.4278 9.24582C18.2116 9.49837 17.9689 9.77961 17.7052 10.0824C16.9514 10.9479 16.1796 11.8136 15.4331 12.6228C15.2562 12.8145 15.0826 13.0011 14.9124 13.1821C12.7154 15.5196 11.5309 16.5846 10.6667 16.5846C9.95327 16.5846 9.28235 16.1078 8.44613 15.2468C8.20742 15.0011 7.96047 14.7259 7.70721 14.4262C7.35453 14.0089 7.00646 13.5644 6.67696 13.1203C6.47905 12.8535 6.33026 12.6446 6.24558 12.5219L7.75443 11.4805C7.82792 11.587 7.96481 11.7792 8.14939 12.028C8.4574 12.4432 8.78234 12.8581 9.10748 13.2429Z"})),e.createElement("use",{xlinkHref:"#icon-checkCircle"}));export{t as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from"react";const t=({className:C="icon__svg"})=>e.createElement("svg",{className:C},e.createElement("title",null,"Check"),e.createElement("symbol",{id:"icon-check",viewBox:"0 0 20 16"},e.createElement("path",{d:"M5.64559 11.2678C5.31325 10.8822 4.96116 10.4401 4.59575 9.95286C4.07361 9.25661 3.55182 8.50577 3.0572 7.75441C2.76079 7.30414 2.54098 6.95638 2.42297 6.7637L0 8.6482C0.135982 8.87023 0.3749 9.2482 0.692726 9.73101C1.22184 10.5348 1.78078 11.3391 2.34713 12.0943C2.75382 12.6366 3.15039 13.1345 3.53372 13.5793C4.87655 15.1373 5.95393 16 7.09955 16C8.48728 16 10.3894 14.0728 13.9175 9.84286C14.1908 9.51527 14.4697 9.17762 14.7536 8.83074C15.9524 7.36638 17.1918 5.79987 18.4023 4.23366C18.8257 3.6857 19.2155 3.17676 19.5627 2.71975C19.7716 2.44481 19.9203 2.24773 20 2.14142L17.7514 0C17.6756 0.101045 17.531 0.292744 17.3263 0.562104C16.9843 1.01226 16.6 1.51416 16.1821 2.05479C14.9888 3.59885 13.7675 5.1426 12.5898 6.58116C12.3118 6.92065 12.0392 7.25078 11.7723 7.57068C10.4411 9.16669 9.28751 10.4701 8.37209 11.3976C7.8842 11.892 7.47522 12.2676 7.16387 12.5084C7.10708 12.5523 7.05542 12.5903 7.00971 12.6221C6.8025 12.4619 6.2665 11.9882 5.64559 11.2678Z"})),e.createElement("use",{xlinkHref:"#icon-check"}));export{t as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from"react";const c=({title:t="Close",...l})=>e.createElement("svg",{...l},t&&e.createElement("title",null,t),e.createElement("symbol",{id:"icon-close",viewBox:"0 0 24 24"},e.createElement("path",{d:"M12.0001 10.5859L21.7629 0.823223L23.1771 2.23744L13.4144 12.0002L23.1771 21.7629L21.7629 23.1771L12.0001 13.4144L2.23744 23.1771L0.823223 21.7629L10.5859 12.0002L0.823223 2.23745L2.23744 0.823234L12.0001 10.5859Z"})),e.createElement("use",{xlinkHref:"#icon-close"}));export{c as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from"react";const l=({title:r,...t})=>e.createElement("svg",{...t},r&&e.createElement("title",null,r),e.createElement("symbol",{id:"icon-errorCircle",viewBox:"0 0 24 24"},e.createElement("path",{d:"M1.5 12.0012C1.5 18.0764 6.42487 23.0012 12.5 23.0012C18.5751 23.0012 23.5 18.0764 23.5 12.0012C23.5 5.92609 18.5751 1.00122 12.5 1.00122C6.42487 1.00122 1.5 5.92609 1.5 12.0012ZM21.6667 12.0012C21.6667 17.0638 17.5626 21.1679 12.5 21.1679C7.43739 21.1679 3.33333 17.0638 3.33333 12.0012C3.33333 6.93861 7.43739 2.83455 12.5 2.83455C17.5626 2.83455 21.6667 6.93861 21.6667 12.0012ZM13.4167 13.8346V6.50122H11.5833V13.8346H13.4167ZM13.4167 15.6679V17.5012H11.5833V15.6679H13.4167Z"})),e.createElement("use",{xlinkHref:"#icon-errorCircle"}));export{l as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import e from"react";const c=({title:t,...l})=>e.createElement("svg",{...l},t&&e.createElement("title",null,t),e.createElement("symbol",{id:"icon-infoCircle",viewBox:"0 0 24 24"},e.createElement("path",{d:"M1.5 12.0012C1.5 18.0764 6.42487 23.0012 12.5 23.0012C18.5751 23.0012 23.5 18.0764 23.5 12.0012C23.5 5.92609 18.5751 1.00122 12.5 1.00122C6.42487 1.00122 1.5 5.92609 1.5 12.0012ZM21.6667 12.0012C21.6667 17.0638 17.5626 21.1679 12.5 21.1679C7.43739 21.1679 3.33333 17.0638 3.33333 12.0012C3.33333 6.93861 7.43739 2.83455 12.5 2.83455C17.5626 2.83455 21.6667 6.93861 21.6667 12.0012ZM13.4167 10.1679V17.5012H11.5833V10.1679H13.4167ZM13.4167 8.33455V6.50122H11.5833V8.33455H13.4167Z"})),e.createElement("use",{xlinkHref:"#icon-infoCircle"}));export{c as default};
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import e from"react";import o from"styled-components";import r from"../../theme.js";import{CaptionLink as c}from"../../typography/BodyText/index.js";import m from"./StepCircle.js";import"../Icons/CheckIcon.js";const s=o.div`
|
|
2
|
+
background-color: ${r.colors.gray.dark3};
|
|
3
|
+
height: 1px;
|
|
4
|
+
right: 0;
|
|
5
|
+
left: calc(50% + 20px);
|
|
6
|
+
top: 1.25rem;
|
|
7
|
+
position: absolute;
|
|
8
|
+
width: calc(100% - 40px);
|
|
9
|
+
`,x=o.div`
|
|
10
|
+
font-family: ${({theme:t})=>t.typography.fontBaseFamily};
|
|
11
|
+
display: flex;
|
|
12
|
+
position: relative;
|
|
13
|
+
padding: 0 0.5rem;
|
|
14
|
+
flex: 1;
|
|
15
|
+
align-items: center;
|
|
16
|
+
flex-direction: column;
|
|
17
|
+
|
|
18
|
+
&:last-child {
|
|
19
|
+
padding-bottom: 0;
|
|
20
|
+
${s} {
|
|
21
|
+
display: none;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
`,u=o(c)`
|
|
25
|
+
width: 100%;
|
|
26
|
+
margin: 0.5rem 0 0;
|
|
27
|
+
line-height: 1.2;
|
|
28
|
+
text-align: center;
|
|
29
|
+
color: ${r.colors.text.dark};
|
|
30
|
+
`,d=o.div`
|
|
31
|
+
margin: 0 auto;
|
|
32
|
+
width: 1px;
|
|
33
|
+
height: 100%;
|
|
34
|
+
background-color: ${r.colors.gray.dark3};
|
|
35
|
+
`,v=o.div`
|
|
36
|
+
margin-right: 0.75rem;
|
|
37
|
+
`,E=o.div`
|
|
38
|
+
font-family: ${({theme:t})=>t.typography.fontBaseFamily};
|
|
39
|
+
display: flex;
|
|
40
|
+
padding-bottom: 1rem;
|
|
41
|
+
|
|
42
|
+
&:last-child {
|
|
43
|
+
${d} {
|
|
44
|
+
display: none;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
`,k=o(c)`
|
|
48
|
+
margin: 0;
|
|
49
|
+
width: 100%;
|
|
50
|
+
line-height: 1.2;
|
|
51
|
+
text-align: left;
|
|
52
|
+
color: ${r.colors.text.dark};
|
|
53
|
+
display: flex;
|
|
54
|
+
flex-direction: column;
|
|
55
|
+
justify-content: center;
|
|
56
|
+
`,p=({active:t,disabled:i})=>t?"active":i?"disabled":"completed",$=({step:t=0,active:i=!1,completed:f=!1,disabled:h=!1,orientation:g,children:n,backgroundColor:y,...a})=>{const l=p({active:i,disabled:h,completed:f});return g==="horizontal"?e.createElement(x,{...a},e.createElement(m,{state:l,step:t,backgroundColor:y}),e.createElement(s,null),e.createElement(u,{as:"div"},n)):e.createElement(E,{...a},e.createElement(v,null,e.createElement(m,{state:l,step:t}),e.createElement(d,null)),e.createElement(k,{as:"div"},n))};export{$ as default,p as getStepState};
|