@kvdbil/components 14.3.3 → 14.3.5
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 +9 -9
- package/cjs/ElevationCard.js +3 -3
- package/cjs/components/Accordion/index.js +9 -9
- package/cjs/components/Badge/index.js +7 -7
- package/cjs/components/Breadcrumbs/BreadcrumbsItem.js +6 -6
- package/cjs/components/Breadcrumbs/index.js +2 -2
- package/cjs/components/Button/index.js +17 -17
- package/cjs/components/Button/styles.js +1 -52
- package/cjs/components/Card/index.js +7 -9
- package/cjs/components/CheckBox/index.js +23 -23
- package/cjs/components/Chip/index.js +15 -23
- package/cjs/components/Chip/styles.js +1 -1
- package/cjs/components/DayPicker/DayPickerNavBar.js +9 -9
- package/cjs/components/DayPicker/index.js +3 -3
- package/cjs/components/DayPicker/localeUtils.js +1 -1
- package/cjs/components/DayPicker/style.js +2 -2
- package/cjs/components/Dialog/index.js +4 -4
- package/cjs/components/EditRow/index.js +14 -14
- package/cjs/components/ErrorMessage/index.js +2 -2
- package/cjs/components/FieldLabel.js +16 -16
- package/cjs/components/Flex/index.js +11 -11
- package/cjs/components/Hero/index.js +18 -43
- package/cjs/components/Icon/index.js +8 -8
- package/cjs/components/IconButton.js +9 -9
- package/cjs/components/Icons/Arrow.js +1 -1
- package/cjs/components/Icons/CheckCircle.js +1 -1
- package/cjs/components/Icons/CheckIcon.js +1 -1
- package/cjs/components/Icons/Close.js +1 -1
- package/cjs/components/Icons/ErrorCircle.js +1 -1
- package/cjs/components/Icons/InfoCircle.js +1 -1
- package/cjs/components/ListItem/Bacon.js +1 -1
- package/cjs/components/ListItem/index.js +6 -6
- package/cjs/components/Logo/LogoEn.js +1 -1
- package/cjs/components/Logo/LogoSv.js +1 -1
- package/cjs/components/Logo/index.js +2 -2
- package/cjs/components/MenuItem/index.js +13 -13
- package/cjs/components/Message/index.js +11 -19
- package/cjs/components/Modal/index.js +11 -13
- package/cjs/components/NotificationButton/index.js +3 -3
- package/cjs/components/OffCanvas/Overlay.js +2 -2
- package/cjs/components/OffCanvas/index.js +4 -51
- package/cjs/components/OffCanvas/useClickOutside.js +1 -1
- package/cjs/components/RadioButton/index.js +23 -23
- package/cjs/components/RegistrationPlate/EuFlagIcon.js +1 -1
- package/cjs/components/RegistrationPlate/index.js +5 -5
- package/cjs/components/Select/components/test-icon.js +1 -1
- package/cjs/components/Select/index.js +11 -11
- package/cjs/components/Snackbar/index.js +21 -21
- package/cjs/components/Spacer/index.js +3 -3
- package/cjs/components/Spinner/index.js +10 -10
- package/cjs/components/SpinnerThin/index.js +8 -20
- package/cjs/components/Stack/index.js +1 -1
- package/cjs/components/Stamp/index.js +1 -1
- package/cjs/components/Stepper/index.js +11 -21
- package/cjs/components/StepperAccordion/index.js +18 -21
- package/cjs/components/Table/index.js +11 -11
- package/cjs/components/Tabs/Tab.js +5 -6
- package/cjs/components/Tabs/Tabs.js +10 -12
- package/cjs/components/Tabs/index.js +1 -1
- package/cjs/components/TextArea/index.js +27 -27
- package/cjs/components/Textfield/index.js +16 -16
- package/cjs/components/TimePicker/index.js +2 -2
- package/cjs/components/TimePicker/testHelper.js +1 -1
- package/cjs/components/Toggle/index.js +7 -9
- package/cjs/components/ToggleArrow/index.js +2 -2
- package/cjs/components/ValuationRange/index.js +15 -15
- package/cjs/hooks/useDynamicScript.js +1 -1
- package/cjs/icons/components/AddIcon.js +1 -1
- package/cjs/icons/components/AlertIcon.js +1 -1
- package/cjs/icons/components/ArrowDownIcon.js +1 -1
- package/cjs/icons/components/ArrowLeftIcon.js +1 -1
- package/cjs/icons/components/ArrowRightIcon.js +1 -1
- package/cjs/icons/components/ArrowUpIcon.js +1 -1
- package/cjs/icons/components/AtvIcon.js +1 -1
- package/cjs/icons/components/AuctionIcon.js +1 -1
- package/cjs/icons/components/BackIcon.js +1 -1
- package/cjs/icons/components/BankidIcon.js +1 -1
- package/cjs/icons/components/BidIcon.js +1 -1
- package/cjs/icons/components/BodyIcon.js +1 -1
- package/cjs/icons/components/BreaksIcon.js +1 -1
- package/cjs/icons/components/CabIcon.js +1 -1
- package/cjs/icons/components/CalendarIcon.js +1 -1
- package/cjs/icons/components/CameraIcon.js +1 -1
- package/cjs/icons/components/CamperIcon.js +1 -1
- package/cjs/icons/components/CancelCircleIcon.js +1 -1
- package/cjs/icons/components/CancelIcon.js +1 -1
- package/cjs/icons/components/CarIcon.js +1 -1
- package/cjs/icons/components/CarServiceIcon.js +1 -1
- package/cjs/icons/components/CaravanIcon.js +1 -1
- package/cjs/icons/components/CertifiedIcon.js +1 -1
- package/cjs/icons/components/ChatIcon.js +1 -1
- package/cjs/icons/components/CheckCircleIcon.js +1 -1
- package/cjs/icons/components/CheckFilledIcon.js +1 -1
- package/cjs/icons/components/CheckIcon.js +1 -1
- package/cjs/icons/components/CheckmarkIcon.js +1 -1
- package/cjs/icons/components/ClockIcon.js +1 -1
- package/cjs/icons/components/CloseIcon.js +1 -1
- package/cjs/icons/components/CommentFilledIcon.js +1 -1
- package/cjs/icons/components/CommentIcon.js +1 -1
- package/cjs/icons/components/ConditioningIcon.js +1 -1
- package/cjs/icons/components/ContactIcon.js +1 -1
- package/cjs/icons/components/ControlNumberIcon.js +1 -1
- package/cjs/icons/components/CopyIcon.js +1 -1
- package/cjs/icons/components/CountdownIcon.js +1 -1
- package/cjs/icons/components/CoupeIcon.js +1 -1
- package/cjs/icons/components/CraneIcon.js +1 -1
- package/cjs/icons/components/CupIcon.js +1 -1
- package/cjs/icons/components/DeleteIcon.js +1 -1
- package/cjs/icons/components/DisplayIcon.js +1 -1
- package/cjs/icons/components/DocumentIcon.js +1 -1
- package/cjs/icons/components/DownloadIcon.js +1 -1
- package/cjs/icons/components/EcoIcon.js +1 -1
- package/cjs/icons/components/EditIcon.js +1 -1
- package/cjs/icons/components/EngineIcon.js +1 -1
- package/cjs/icons/components/ErrorFilledIcon.js +1 -1
- package/cjs/icons/components/ErrorIcon.js +1 -1
- package/cjs/icons/components/EstoniaFlagIcon.js +1 -1
- package/cjs/icons/components/ExportIcon.js +1 -1
- package/cjs/icons/components/FacebookIcon.js +1 -1
- package/cjs/icons/components/FacilityIcon.js +1 -1
- package/cjs/icons/components/FavouriteFilledIcon.js +1 -1
- package/cjs/icons/components/FavouriteIcon.js +1 -1
- package/cjs/icons/components/FigmaIcon.js +1 -1
- package/cjs/icons/components/FilterIcon.js +1 -1
- package/cjs/icons/components/FinanceIcon.js +1 -1
- package/cjs/icons/components/FinlandFlagIcon.js +1 -1
- package/cjs/icons/components/FirstIcon.js +1 -1
- package/cjs/icons/components/FixedPriceIcon.js +1 -1
- package/cjs/icons/components/FuelIcon.js +1 -1
- package/cjs/icons/components/GearboxIcon.js +1 -1
- package/cjs/icons/components/GetPaidIcon.js +1 -1
- package/cjs/icons/components/GridViewIcon.js +1 -1
- package/cjs/icons/components/HatchbackIcon.js +1 -1
- package/cjs/icons/components/HelpIcon.js +1 -1
- package/cjs/icons/components/HistoryIcon.js +1 -1
- package/cjs/icons/components/HomeDeliveryIcon.js +1 -1
- package/cjs/icons/components/IdIcon.js +1 -1
- package/cjs/icons/components/ImageIcon.js +1 -1
- package/cjs/icons/components/InfoIcon.js +1 -1
- package/cjs/icons/components/InstagramIcon.js +1 -1
- package/cjs/icons/components/InsuranceIcon.js +1 -1
- package/cjs/icons/components/InteriorIcon.js +1 -1
- package/cjs/icons/components/KvdIcon.js +1 -1
- package/cjs/icons/components/KvdTestIcon.js +1 -1
- package/cjs/icons/components/KvdproIcon.js +1 -1
- package/cjs/icons/components/LastIcon.js +1 -1
- package/cjs/icons/components/LeaderIcon.js +1 -1
- package/cjs/icons/components/LinkedinIcon.js +1 -1
- package/cjs/icons/components/ListViewIcon.js +1 -1
- package/cjs/icons/components/LocationIcon.js +1 -1
- package/cjs/icons/components/MailIcon.js +1 -1
- package/cjs/icons/components/MenuIcon.js +1 -1
- package/cjs/icons/components/MileageIcon.js +1 -1
- package/cjs/icons/components/MinivanIcon.js +1 -1
- package/cjs/icons/components/ModelYearIcon.js +1 -1
- package/cjs/icons/components/MoreIcon.js +1 -1
- package/cjs/icons/components/MotorbikeIcon.js +1 -1
- package/cjs/icons/components/NavigationIcon.js +1 -1
- package/cjs/icons/components/NewIcon.js +1 -1
- package/cjs/icons/components/NextFilledIcon.js +1 -1
- package/cjs/icons/components/NextIcon.js +1 -1
- package/cjs/icons/components/NotificationIcon.js +1 -1
- package/cjs/icons/components/OpenInNewIcon.js +1 -1
- package/cjs/icons/components/PayementIcon.js +1 -1
- package/cjs/icons/components/PercentIcon.js +1 -1
- package/cjs/icons/components/PhoneIcon.js +1 -1
- package/cjs/icons/components/PickUpIcon.js +1 -1
- package/cjs/icons/components/Pickup.js +1 -1
- package/cjs/icons/components/PlayIcon.js +1 -1
- package/cjs/icons/components/PolandFlagIcon.js +1 -1
- package/cjs/icons/components/PreviousFilledIcon.js +1 -1
- package/cjs/icons/components/PreviousIcon.js +1 -1
- package/cjs/icons/components/PrintIcon.js +1 -1
- package/cjs/icons/components/QuoteIcon.js +1 -1
- package/cjs/icons/components/RatingIcon.js +1 -1
- package/cjs/icons/components/ReleasingIcon.js +1 -1
- package/cjs/icons/components/ReorderIcon.js +1 -1
- package/cjs/icons/components/RestartIcon.js +1 -1
- package/cjs/icons/components/SalesOfferIcon.js +1 -1
- package/cjs/icons/components/SavedSearchIcon.js +1 -1
- package/cjs/icons/components/ScheduleIcon.js +1 -1
- package/cjs/icons/components/SearchIcon.js +1 -1
- package/cjs/icons/components/SedanIcon.js +1 -1
- package/cjs/icons/components/SellFilledIcon.js +1 -1
- package/cjs/icons/components/SellIcon.js +1 -1
- package/cjs/icons/components/SettingsIcon.js +1 -1
- package/cjs/icons/components/ShareIcon.js +1 -1
- package/cjs/icons/components/ShowLessIcon.js +1 -1
- package/cjs/icons/components/ShowMoreIcon.js +1 -1
- package/cjs/icons/components/SignInIcon.js +1 -1
- package/cjs/icons/components/SignOutIcon.js +1 -1
- package/cjs/icons/components/SlackIcon.js +1 -1
- package/cjs/icons/components/SmartphoneIcon.js +1 -1
- package/cjs/icons/components/SmileIcon.js +1 -1
- package/cjs/icons/components/SnowmobileIcon.js +1 -1
- package/cjs/icons/components/SortColumnIcon.js +1 -1
- package/cjs/icons/components/SortIcon.js +1 -1
- package/cjs/icons/components/StorageIcon.js +1 -1
- package/cjs/icons/components/StoreIcon.js +1 -1
- package/cjs/icons/components/SuvIcon.js +1 -1
- package/cjs/icons/components/SwedishFlagIcon.js +1 -1
- package/cjs/icons/components/ThreeSixtyIcon.js +1 -1
- package/cjs/icons/components/TractorIcon.js +1 -1
- package/cjs/icons/components/TrailerIcon.js +1 -1
- package/cjs/icons/components/TransportIcon.js +1 -1
- package/cjs/icons/components/TruckIcon.js +1 -1
- package/cjs/icons/components/TwitterIcon.js +1 -1
- package/cjs/icons/components/TyresIcon.js +1 -1
- package/cjs/icons/components/UnitedKingdomFlagIcon.js +1 -1
- package/cjs/icons/components/UploadIcon.js +1 -1
- package/cjs/icons/components/UserIcon.js +1 -1
- package/cjs/icons/components/ValuationIcon.js +1 -1
- package/cjs/icons/components/VanIcon.js +1 -1
- package/cjs/icons/components/VersionIcon.js +1 -1
- package/cjs/icons/components/ViewsIcon.js +1 -1
- package/cjs/icons/components/WagonIcon.js +1 -1
- package/cjs/icons/components/WarningIcon.js +1 -1
- package/cjs/icons/components/WarrantyIcon.js +1 -1
- package/cjs/icons/components/YoutubeIcon.js +1 -1
- package/cjs/icons/components/index.js +1 -1
- package/cjs/index.js +1 -1
- package/cjs/shared/constants.js +1 -1
- package/cjs/shared/helpers.js +1 -1
- package/cjs/shared/media-queries.js +1 -1
- package/cjs/theme.js +1 -1
- package/cjs/typography/BodyText/index.js +30 -30
- package/cjs/typography/ButtonText/index.js +18 -18
- package/cjs/typography/Heading/index.js +37 -37
- package/cjs/utils/utils.js +2 -2
- package/esm/ColorCard.js +10 -10
- package/esm/ElevationCard.js +3 -3
- package/esm/components/Accordion/index.js +9 -9
- package/esm/components/Badge/index.js +6 -6
- package/esm/components/Breadcrumbs/BreadcrumbsItem.js +6 -6
- package/esm/components/Breadcrumbs/index.js +2 -2
- package/esm/components/Button/index.js +19 -19
- package/esm/components/Button/styles.js +4 -4
- package/esm/components/Card/index.js +5 -5
- package/esm/components/CheckBox/index.js +15 -15
- package/esm/components/Chip/index.js +15 -15
- package/esm/components/DayPicker/DayPickerNavBar.js +9 -9
- package/esm/components/DayPicker/index.js +4 -4
- package/esm/components/Dialog/index.js +4 -4
- package/esm/components/EditRow/index.js +14 -14
- package/esm/components/ErrorMessage/index.js +2 -2
- package/esm/components/FieldLabel.js +18 -18
- package/esm/components/Flex/index.js +10 -10
- package/esm/components/Hero/index.js +21 -21
- package/esm/components/Icon/index.js +8 -8
- package/esm/components/IconButton.js +9 -9
- package/esm/components/Icons/Arrow.js +1 -1
- package/esm/components/Icons/CheckCircle.js +1 -1
- package/esm/components/Icons/CheckIcon.js +1 -1
- package/esm/components/Icons/Close.js +1 -1
- package/esm/components/Icons/ErrorCircle.js +1 -1
- package/esm/components/Icons/InfoCircle.js +1 -1
- package/esm/components/ListItem/Bacon.js +1 -1
- package/esm/components/ListItem/index.js +7 -7
- package/esm/components/Logo/LogoEn.js +1 -1
- package/esm/components/Logo/LogoSv.js +1 -1
- package/esm/components/Logo/index.js +3 -3
- package/esm/components/MenuItem/index.js +11 -11
- package/esm/components/Message/index.js +11 -11
- package/esm/components/Modal/index.js +11 -11
- package/esm/components/NotificationButton/index.js +4 -4
- package/esm/components/OffCanvas/Overlay.js +2 -2
- package/esm/components/OffCanvas/index.js +7 -7
- package/esm/components/OffCanvas/useClickOutside.js +1 -1
- package/esm/components/RadioButton/index.js +23 -23
- package/esm/components/RegistrationPlate/EuFlagIcon.js +1 -1
- package/esm/components/RegistrationPlate/index.js +5 -5
- package/esm/components/Select/components/test-icon.js +1 -1
- package/esm/components/Select/index.js +13 -13
- package/esm/components/Snackbar/index.js +23 -23
- package/esm/components/Spacer/index.js +5 -5
- package/esm/components/Spinner/index.js +5 -5
- package/esm/components/SpinnerThin/index.js +16 -16
- package/esm/components/Stack/index.js +1 -1
- package/esm/components/Stamp/index.js +1 -1
- package/esm/components/Stepper/index.js +32 -32
- package/esm/components/StepperAccordion/index.js +20 -20
- package/esm/components/Table/index.js +11 -11
- package/esm/components/Tabs/Tab.js +5 -5
- package/esm/components/Tabs/Tabs.js +11 -11
- package/esm/components/Tabs/index.js +1 -1
- package/esm/components/TextArea/index.js +32 -32
- package/esm/components/Textfield/index.js +16 -16
- package/esm/components/TimePicker/index.js +2 -2
- package/esm/components/Toggle/index.js +11 -11
- package/esm/components/ToggleArrow/index.js +3 -3
- package/esm/components/ValuationRange/index.js +15 -15
- package/esm/icons/components/AddIcon.js +1 -1
- package/esm/icons/components/AlertIcon.js +1 -1
- package/esm/icons/components/ArrowDownIcon.js +1 -1
- package/esm/icons/components/ArrowLeftIcon.js +1 -1
- package/esm/icons/components/ArrowRightIcon.js +1 -1
- package/esm/icons/components/ArrowUpIcon.js +1 -1
- package/esm/icons/components/AtvIcon.js +1 -1
- package/esm/icons/components/AuctionIcon.js +1 -1
- package/esm/icons/components/BackIcon.js +1 -1
- package/esm/icons/components/BankidIcon.js +1 -1
- package/esm/icons/components/BidIcon.js +1 -1
- package/esm/icons/components/BodyIcon.js +1 -1
- package/esm/icons/components/BreaksIcon.js +1 -1
- package/esm/icons/components/CabIcon.js +1 -1
- package/esm/icons/components/CalendarIcon.js +1 -1
- package/esm/icons/components/CameraIcon.js +1 -1
- package/esm/icons/components/CamperIcon.js +1 -1
- package/esm/icons/components/CancelCircleIcon.js +1 -1
- package/esm/icons/components/CancelIcon.js +1 -1
- package/esm/icons/components/CarIcon.js +1 -1
- package/esm/icons/components/CarServiceIcon.js +1 -1
- package/esm/icons/components/CaravanIcon.js +1 -1
- package/esm/icons/components/CertifiedIcon.js +1 -1
- package/esm/icons/components/ChatIcon.js +1 -1
- package/esm/icons/components/CheckCircleIcon.js +1 -1
- package/esm/icons/components/CheckFilledIcon.js +1 -1
- package/esm/icons/components/CheckIcon.js +1 -1
- package/esm/icons/components/CheckmarkIcon.js +1 -1
- package/esm/icons/components/ClockIcon.js +1 -1
- package/esm/icons/components/CloseIcon.js +1 -1
- package/esm/icons/components/CommentFilledIcon.js +1 -1
- package/esm/icons/components/CommentIcon.js +1 -1
- package/esm/icons/components/ConditioningIcon.js +1 -1
- package/esm/icons/components/ContactIcon.js +1 -1
- package/esm/icons/components/ControlNumberIcon.js +1 -1
- package/esm/icons/components/CopyIcon.js +1 -1
- package/esm/icons/components/CountdownIcon.js +1 -1
- package/esm/icons/components/CoupeIcon.js +1 -1
- package/esm/icons/components/CraneIcon.js +1 -1
- package/esm/icons/components/CupIcon.js +1 -1
- package/esm/icons/components/DeleteIcon.js +1 -1
- package/esm/icons/components/DisplayIcon.js +1 -1
- package/esm/icons/components/DocumentIcon.js +1 -1
- package/esm/icons/components/DownloadIcon.js +1 -1
- package/esm/icons/components/EcoIcon.js +1 -1
- package/esm/icons/components/EditIcon.js +1 -1
- package/esm/icons/components/EngineIcon.js +1 -1
- package/esm/icons/components/ErrorFilledIcon.js +1 -1
- package/esm/icons/components/ErrorIcon.js +1 -1
- package/esm/icons/components/EstoniaFlagIcon.js +1 -1
- package/esm/icons/components/ExportIcon.js +1 -1
- package/esm/icons/components/FacebookIcon.js +1 -1
- package/esm/icons/components/FacilityIcon.js +1 -1
- package/esm/icons/components/FavouriteFilledIcon.js +1 -1
- package/esm/icons/components/FavouriteIcon.js +1 -1
- package/esm/icons/components/FigmaIcon.js +1 -1
- package/esm/icons/components/FilterIcon.js +1 -1
- package/esm/icons/components/FinanceIcon.js +1 -1
- package/esm/icons/components/FinlandFlagIcon.js +1 -1
- package/esm/icons/components/FirstIcon.js +1 -1
- package/esm/icons/components/FixedPriceIcon.js +1 -1
- package/esm/icons/components/FuelIcon.js +1 -1
- package/esm/icons/components/GearboxIcon.js +1 -1
- package/esm/icons/components/GetPaidIcon.js +1 -1
- package/esm/icons/components/GridViewIcon.js +1 -1
- package/esm/icons/components/HatchbackIcon.js +1 -1
- package/esm/icons/components/HelpIcon.js +1 -1
- package/esm/icons/components/HistoryIcon.js +1 -1
- package/esm/icons/components/HomeDeliveryIcon.js +1 -1
- package/esm/icons/components/IdIcon.js +1 -1
- package/esm/icons/components/ImageIcon.js +1 -1
- package/esm/icons/components/InfoIcon.js +1 -1
- package/esm/icons/components/InstagramIcon.js +1 -1
- package/esm/icons/components/InsuranceIcon.js +1 -1
- package/esm/icons/components/InteriorIcon.js +1 -1
- package/esm/icons/components/KvdIcon.js +1 -1
- package/esm/icons/components/KvdTestIcon.js +1 -1
- package/esm/icons/components/KvdproIcon.js +1 -1
- package/esm/icons/components/LastIcon.js +1 -1
- package/esm/icons/components/LeaderIcon.js +1 -1
- package/esm/icons/components/LinkedinIcon.js +1 -1
- package/esm/icons/components/ListViewIcon.js +1 -1
- package/esm/icons/components/LocationIcon.js +1 -1
- package/esm/icons/components/MailIcon.js +1 -1
- package/esm/icons/components/MenuIcon.js +1 -1
- package/esm/icons/components/MileageIcon.js +1 -1
- package/esm/icons/components/MinivanIcon.js +1 -1
- package/esm/icons/components/ModelYearIcon.js +1 -1
- package/esm/icons/components/MoreIcon.js +1 -1
- package/esm/icons/components/MotorbikeIcon.js +1 -1
- package/esm/icons/components/NavigationIcon.js +1 -1
- package/esm/icons/components/NewIcon.js +1 -1
- package/esm/icons/components/NextFilledIcon.js +1 -1
- package/esm/icons/components/NextIcon.js +1 -1
- package/esm/icons/components/NotificationIcon.js +1 -1
- package/esm/icons/components/OpenInNewIcon.js +1 -1
- package/esm/icons/components/PayementIcon.js +1 -1
- package/esm/icons/components/PercentIcon.js +1 -1
- package/esm/icons/components/PhoneIcon.js +1 -1
- package/esm/icons/components/PickUpIcon.js +1 -1
- package/esm/icons/components/Pickup.js +1 -1
- package/esm/icons/components/PlayIcon.js +1 -1
- package/esm/icons/components/PolandFlagIcon.js +1 -1
- package/esm/icons/components/PreviousFilledIcon.js +1 -1
- package/esm/icons/components/PreviousIcon.js +1 -1
- package/esm/icons/components/PrintIcon.js +1 -1
- package/esm/icons/components/QuoteIcon.js +1 -1
- package/esm/icons/components/RatingIcon.js +1 -1
- package/esm/icons/components/ReleasingIcon.js +1 -1
- package/esm/icons/components/ReorderIcon.js +1 -1
- package/esm/icons/components/RestartIcon.js +1 -1
- package/esm/icons/components/SalesOfferIcon.js +1 -1
- package/esm/icons/components/SavedSearchIcon.js +1 -1
- package/esm/icons/components/ScheduleIcon.js +1 -1
- package/esm/icons/components/SearchIcon.js +1 -1
- package/esm/icons/components/SedanIcon.js +1 -1
- package/esm/icons/components/SellFilledIcon.js +1 -1
- package/esm/icons/components/SellIcon.js +1 -1
- package/esm/icons/components/SettingsIcon.js +1 -1
- package/esm/icons/components/ShareIcon.js +1 -1
- package/esm/icons/components/ShowLessIcon.js +1 -1
- package/esm/icons/components/ShowMoreIcon.js +1 -1
- package/esm/icons/components/SignInIcon.js +1 -1
- package/esm/icons/components/SignOutIcon.js +1 -1
- package/esm/icons/components/SlackIcon.js +1 -1
- package/esm/icons/components/SmartphoneIcon.js +1 -1
- package/esm/icons/components/SmileIcon.js +1 -1
- package/esm/icons/components/SnowmobileIcon.js +1 -1
- package/esm/icons/components/SortColumnIcon.js +1 -1
- package/esm/icons/components/SortIcon.js +1 -1
- package/esm/icons/components/StorageIcon.js +1 -1
- package/esm/icons/components/StoreIcon.js +1 -1
- package/esm/icons/components/SuvIcon.js +1 -1
- package/esm/icons/components/SwedishFlagIcon.js +1 -1
- package/esm/icons/components/ThreeSixtyIcon.js +1 -1
- package/esm/icons/components/TractorIcon.js +1 -1
- package/esm/icons/components/TrailerIcon.js +1 -1
- package/esm/icons/components/TransportIcon.js +1 -1
- package/esm/icons/components/TruckIcon.js +1 -1
- package/esm/icons/components/TwitterIcon.js +1 -1
- package/esm/icons/components/TyresIcon.js +1 -1
- package/esm/icons/components/UnitedKingdomFlagIcon.js +1 -1
- package/esm/icons/components/UploadIcon.js +1 -1
- package/esm/icons/components/UserIcon.js +1 -1
- package/esm/icons/components/ValuationIcon.js +1 -1
- package/esm/icons/components/VanIcon.js +1 -1
- package/esm/icons/components/VersionIcon.js +1 -1
- package/esm/icons/components/ViewsIcon.js +1 -1
- package/esm/icons/components/WagonIcon.js +1 -1
- package/esm/icons/components/WarningIcon.js +1 -1
- package/esm/icons/components/WarrantyIcon.js +1 -1
- package/esm/icons/components/YoutubeIcon.js +1 -1
- package/esm/icons/components/index.js +1 -1
- package/esm/index.js +1 -1
- package/esm/typography/BodyText/index.js +25 -25
- package/esm/typography/ButtonText/index.js +10 -10
- package/esm/typography/Heading/index.js +22 -22
- package/esm/utils/utils.js +1 -1
- package/package.json +6 -13
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import
|
|
1
|
+
import{jsxs as c,jsx as t}from"react/jsx-runtime";import o from"styled-components";import d from"../Icons/Arrow.js";import r from"../../theme.js";import{BodyText as p}from"../../typography/BodyText/index.js";import{formatMonthTitle as s}from"./localeUtils.js";import"../../shared/media-queries.js";const f=o.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
justify-content: space-between;
|
|
4
4
|
padding: 0 2em;
|
|
5
|
-
`,
|
|
5
|
+
`,h=o(p)`
|
|
6
6
|
font-size: 1.5em;
|
|
7
|
-
color: ${
|
|
8
|
-
`,
|
|
7
|
+
color: ${r.colors.text.dark};
|
|
8
|
+
`,e=o.button`
|
|
9
9
|
appearance: none;
|
|
10
10
|
background-color: transparent;
|
|
11
11
|
border: 0;
|
|
@@ -14,12 +14,12 @@ import e from"react";import t from"styled-components";import s from"../Icons/Arr
|
|
|
14
14
|
outline: none;
|
|
15
15
|
display: flex;
|
|
16
16
|
align-items: center;
|
|
17
|
-
`,
|
|
17
|
+
`,i=o(d)`
|
|
18
18
|
width: 16px;
|
|
19
19
|
height: 16px;
|
|
20
|
-
fill: ${
|
|
21
|
-
`,
|
|
20
|
+
fill: ${r.colors.gray.dark3};
|
|
21
|
+
`,x=o(i)`
|
|
22
22
|
transform: rotate(90deg);
|
|
23
|
-
`,
|
|
23
|
+
`,k=o(i)`
|
|
24
24
|
transform: rotate(-90deg);
|
|
25
|
-
`,
|
|
25
|
+
`,g=({month:n,onPreviousClick:l,onNextClick:a,locale:m})=>c(f,{children:[t(e,{onClick:()=>l(),children:t(x,{title:"prev-month"})}),t(h,{as:"h3",children:s(n,m)}),t(e,{onClick:()=>a(),children:t(k,{title:"next-month"})})]});export{g as default};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
${
|
|
1
|
+
import{jsx as t}from"react/jsx-runtime";import a from"react-day-picker";import c from"styled-components";import r from"../../theme.js";import n from"./DayPickerNavBar.js";import{MONTHS as p,WEEKDAYS_LONG as s,WEEKDAYS_SHORT as f,FIRST_DAY_OF_THE_WEEK as y}from"./localeUtils.js";import d from"./style.js";import"../Icons/Arrow.js";import"../../typography/BodyText/index.js";import"../../shared/media-queries.js";const E=c.div`
|
|
2
|
+
${d}
|
|
3
3
|
|
|
4
|
-
font-family: ${({theme:
|
|
5
|
-
`,
|
|
4
|
+
font-family: ${({theme:o})=>o.typography.fontAlternativeFamily};
|
|
5
|
+
`,S=o=>({selected:{color:r.colors.text.light,background:r.colors[o].main},today:{color:r.colors[o].main}}),e=({locale:o="sv",color:m="primary",...i})=>t(E,{color:m,children:t(a,{...i,locale:o,months:p[o],weekdaysLong:s[o],weekdaysShort:f[o],firstDayOfWeek:y[o],navbarElement:l=>t(n,{...l,locale:o}),captionElement:t("div",{}),modifiersStyles:S(m)})});export{e as DayPicker,e as default};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
font-weight: ${
|
|
1
|
+
import{jsxs as d,jsx as i}from"react/jsx-runtime";import r from"styled-components";import{Modal as f}from"../Modal/index.js";import h from"../../theme.js";import{TinyTitleBold as c}from"../../typography/Heading/index.js";import"react";import"react-dom";import"react-transition-group";import"../Icons/Close.js";import"../../shared/media-queries.js";const g=r(c)`
|
|
2
|
+
font-weight: ${h.typography.fontAlternativeRegularWeight};
|
|
3
3
|
margin: 0;
|
|
4
|
-
`,
|
|
4
|
+
`,w=r.div`
|
|
5
5
|
display: flex;
|
|
6
6
|
justify-content: flex-end;
|
|
7
7
|
gap: 1rem;
|
|
8
8
|
overflow-x: hidden;
|
|
9
|
-
`,
|
|
9
|
+
`,e=({isOpen:n,title:o,children:l,actions:t,onClose:m,withPortal:p,withCloseIcon:s=!0,...a})=>d(f,{onClose:m,withPortal:p,isOpen:n,withCloseIcon:s,...a,children:[typeof o=="string"?i(g,{children:o}):o,i("div",{children:l}),t&&i(w,{children:t})]});export{e as Dialog,e as default};
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import
|
|
1
|
+
import{jsxs as m,Fragment as P,jsx as o}from"react/jsx-runtime";import{useState as s,useEffect as Q}from"react";import i from"styled-components";import y from"../../theme.js";import{BodyLink as R,BodyText as U}from"../../typography/BodyText/index.js";import{Button as f}from"../Button/index.js";import{Chip as V}from"../Chip/index.js";import{TextField as W}from"../Textfield/index.js";import"../../shared/media-queries.js";import"../Spinner/index.js";import"../../typography/ButtonText/index.js";import"../Button/styles.js";import"../../icons/components/CloseIcon.js";import"../Chip/styles.js";import"../FieldLabel.js";import"../../shared/helpers.js";const X=i.div`
|
|
2
2
|
display: flex;
|
|
3
|
-
border-bottom: 1px solid ${
|
|
4
|
-
`,
|
|
3
|
+
border-bottom: 1px solid ${y.colors.gray.light5};
|
|
4
|
+
`,Y=i.form`
|
|
5
5
|
flex: 1;
|
|
6
6
|
flex-direction: column;
|
|
7
7
|
margin-bottom: 1rem;
|
|
8
|
-
`,
|
|
8
|
+
`,Z=i(W)`
|
|
9
9
|
max-width: 20rem;
|
|
10
|
-
`,
|
|
10
|
+
`,_=i.div`
|
|
11
11
|
flex: 1;
|
|
12
12
|
display: flex;
|
|
13
13
|
align-items: flex-end;
|
|
14
14
|
justify-content: flex-end;
|
|
15
15
|
margin-top: 1rem;
|
|
16
|
-
`,
|
|
16
|
+
`,q=i(f)`
|
|
17
17
|
min-width: 5rem;
|
|
18
|
-
`,
|
|
18
|
+
`,z=i(f)`
|
|
19
19
|
min-width: 5rem;
|
|
20
20
|
margin-right: 1rem;
|
|
21
|
-
`,
|
|
21
|
+
`,v=i(R)`
|
|
22
22
|
flex: 1;
|
|
23
23
|
margin-right: 1rem;
|
|
24
|
-
`,
|
|
24
|
+
`,C=i(U)`
|
|
25
25
|
flex: 1rem;
|
|
26
26
|
flex: 4;
|
|
27
|
-
`,
|
|
28
|
-
color: ${
|
|
29
|
-
`,
|
|
27
|
+
`,A=i(C)`
|
|
28
|
+
color: ${y.colors.text.disabled};
|
|
29
|
+
`,I=i.div`
|
|
30
30
|
display: flex;
|
|
31
31
|
flex-wrap: wrap;
|
|
32
|
-
`,
|
|
32
|
+
`,M=i(V)`
|
|
33
33
|
margin: 0.5rem;
|
|
34
|
-
`,
|
|
34
|
+
`,ee=({value:p,label:c,onChange:w,onEdit:h,options:j=[],inputProps:T={},isClearable:D=!1,isEditionDisabled:k=!1,editText:E,saveText:F,cancelText:S,noValueText:B,formatterFunc:u,isSingleSelect:$,color:d="secondary"})=>{const[r,t]=s(p),[G,H]=s(p),[l,x]=s(!1),a=typeof r=="string",J=u&&a?u?.(r):r,K=a?J:r.join(", "),g=r.length>0;Q(()=>h?.(l),[h,l]);const b=()=>{l?t(G):H(r),x(e=>!e)},L=e=>{e.preventDefault(),w?.(r),x(!1)},N=e=>{if(typeof r!="object")throw new Error("Cannot toggle chip on other than array");if($){if(r.includes(e)&&D){t([]);return}t([e]);return}if(r.includes(e)){const n=r.filter(O=>O!==e);t(n);return}t(n=>[...n,e])};return m(X,{children:[!l&&m(P,{children:[o(v,{children:c}),g&&o(C,{children:K}),!g&&o(A,{children:B}),o(f,{variant:"flat",color:d,onClick:b,isDisabled:k,children:E})]}),l&&m(Y,{onSubmit:L,children:[o(v,{children:c}),a&&o(Z,{...T,autoFocus:!0,value:r,label:c,onChange:e=>t(e.target.value)}),!a&&o(I,{children:j.map(e=>o(M,{color:d,onClick:n=>{n.preventDefault(),N(e)},variant:r.includes(e)?"solid":"outline",children:e},e))}),m(_,{children:[o(z,{type:"button",variant:"flat",color:"neutral",onClick:b,children:S}),o(q,{type:"submit",color:d,children:F})]})]})]})};export{ee as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import n
|
|
1
|
+
import{jsx as n}from"react/jsx-runtime";import i from"styled-components";const a=i.div`
|
|
2
2
|
font-family: ${({theme:e})=>e.typography.fontAlternativeFamily};
|
|
3
3
|
font-weight: ${({theme:e})=>e.typography.fontAlternativeRegularWeight};
|
|
4
4
|
background: ${({theme:e})=>e.colors.error.main};
|
|
@@ -7,4 +7,4 @@ import n from"react";import a from"styled-components";const i=a.div`
|
|
|
7
7
|
font-size: 13px;
|
|
8
8
|
padding: 10px;
|
|
9
9
|
${({centered:e})=>e&&"text-align: center;"}
|
|
10
|
-
`,
|
|
10
|
+
`,r=({children:e,centered:t,...o})=>n(a,{centered:t,...o,children:e});export{r as ErrorMessage,r as default};
|
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
import i,{css as t}from"styled-components";import{BodyTextStyle as
|
|
1
|
+
import i,{css as t}from"styled-components";import{BodyTextStyle as s}from"../typography/BodyText/index.js";import"react/jsx-runtime";import"../shared/media-queries.js";const l="0.5rem",c=(o,e)=>t`
|
|
2
2
|
background-color: ${({theme:r})=>r.colors.background.light};
|
|
3
|
-
transform: translateY(${
|
|
3
|
+
transform: translateY(${o});
|
|
4
4
|
line-height: 0.875rem;
|
|
5
5
|
font-size: 0.75rem;
|
|
6
6
|
transform-origin: 0 0;
|
|
7
|
-
padding: 0 ${
|
|
8
|
-
left: ${
|
|
9
|
-
color: ${({theme:r})=>
|
|
7
|
+
padding: 0 ${l};
|
|
8
|
+
left: ${l};
|
|
9
|
+
color: ${({theme:r})=>e?r.colors.error.dark:r.colors.text.dark};
|
|
10
10
|
`,n=t`
|
|
11
|
-
color: ${({theme:
|
|
12
|
-
`,d=t`
|
|
13
|
-
color: ${({theme:e})=>e.colors.gray.light1};
|
|
14
|
-
background-color: ${({theme:e})=>e.colors.background.light};
|
|
11
|
+
color: ${({theme:o,hasError:e})=>e?o.colors.error.dark:o.colors.text.dark};
|
|
15
12
|
`,m=t`
|
|
13
|
+
color: ${({theme:o})=>o.colors.gray.light1};
|
|
14
|
+
background-color: ${({theme:o})=>o.colors.background.light};
|
|
15
|
+
`,h=t`
|
|
16
16
|
width: max-content;
|
|
17
17
|
left: 0;
|
|
18
18
|
right: 0;
|
|
19
19
|
margin-right: auto;
|
|
20
20
|
margin-left: auto;
|
|
21
|
-
`,
|
|
22
|
-
${
|
|
21
|
+
`,d=i.label`
|
|
22
|
+
${s}
|
|
23
23
|
pointer-events: none;
|
|
24
24
|
position: absolute;
|
|
25
25
|
max-width: calc(100% - 2rem);
|
|
26
26
|
z-index: 1;
|
|
27
|
-
top: ${({height:
|
|
27
|
+
top: ${({height:o})=>o?`${o}rem`:"0.75rem"};
|
|
28
28
|
left: calc(0.75rem + 2px);
|
|
29
29
|
transition: 150ms;
|
|
30
|
-
color: ${({theme:
|
|
30
|
+
color: ${({theme:o})=>o.colors.gray.dark5};
|
|
31
31
|
overflow: hidden;
|
|
32
32
|
white-space: nowrap;
|
|
33
33
|
text-overflow: ellipsis;
|
|
34
34
|
|
|
35
|
-
${({hasValue:
|
|
36
|
-
${({centered:
|
|
37
|
-
${({isFocused:
|
|
38
|
-
${({disabled:
|
|
39
|
-
`;export{
|
|
35
|
+
${({hasValue:o,isFocused:e,height:r=.7,hasError:a})=>(o||e)&&c(`-${r+.4}rem`,a)}
|
|
36
|
+
${({centered:o,hasValue:e,isFocused:r})=>(e||r)&&o&&h}
|
|
37
|
+
${({isFocused:o})=>o&&n}
|
|
38
|
+
${({disabled:o})=>o&&m}
|
|
39
|
+
`;export{d as Label};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import{jsx as x}from"react/jsx-runtime";import b,{css as a}from"styled-components";import{mq as h}from"../../shared/media-queries.js";const j="row",k="1rem",c="center",w=(r,o)=>(o==="gap"||o==="row-gap")&&typeof r=="number"?`${r}rem`:r,v=({$direction:r,$justify:o,$align:n,$gap:t,$rowGap:s,$wrap:$,$basis:p,$grow:f,$shrink:g})=>a`
|
|
2
2
|
display: flex;
|
|
3
3
|
|
|
4
4
|
${r&&["column","column-reverse"].includes(String(r))&&a`
|
|
@@ -7,13 +7,13 @@ import h from"react";import b,{css as a}from"styled-components";import{mq as x}f
|
|
|
7
7
|
}
|
|
8
8
|
`}
|
|
9
9
|
|
|
10
|
-
${[[r,"flex-direction"],[
|
|
11
|
-
${
|
|
12
|
-
`;if(typeof i=="object"){const
|
|
13
|
-
${
|
|
14
|
-
`),Object.entries(
|
|
15
|
-
${
|
|
16
|
-
${
|
|
10
|
+
${[[r,"flex-direction"],[o,"justify-content"],[n,"align-items"],[t,"gap"],[s,"row-gap"],[s,"row-gap"],[$,"flex-wrap"],[p,"flex-basis"],[f,"flex-grow"],[g,"flex-shrink"]].map(([i,e])=>{if(typeof i=="string"||typeof i=="number")return a`
|
|
11
|
+
${e}: ${w(i,e)};
|
|
12
|
+
`;if(typeof i=="object"){const l=[],{initial:u,...m}=i;return u&&l.push(a`
|
|
13
|
+
${e}: ${w(u,e)};
|
|
14
|
+
`),Object.entries(m).forEach(([d,y])=>{l.push(a`
|
|
15
|
+
${h(d)} {
|
|
16
|
+
${e}: ${w(y,e)};
|
|
17
17
|
}
|
|
18
|
-
`)}),
|
|
19
|
-
`,G=b.div(v),q=({direction:r,justify:
|
|
18
|
+
`)}),l}else return""})}
|
|
19
|
+
`,G=b.div(v),q=({direction:r,justify:o,align:n,gap:t,rowGap:s,wrap:$,basis:p,grow:f,shrink:g,...i})=>x(G,{$direction:r??j,$justify:o??c,$align:n??c,$gap:t??k,$rowGap:s,$wrap:$,$basis:p,$grow:f,$shrink:g,...i});export{q as default};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import
|
|
1
|
+
import{jsx as o,jsxs as c}from"react/jsx-runtime";import t,{keyframes as I}from"styled-components";import{Display3 as P,Title as q}from"../../typography/Heading/index.js";import{mq as m}from"../../shared/media-queries.js";const A=t.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
min-height: 440px;
|
|
4
4
|
display: flex;
|
|
5
5
|
flex-direction: column;
|
|
6
|
-
`,g=
|
|
6
|
+
`,g=I`
|
|
7
7
|
0% {
|
|
8
8
|
background-color:#f5f5f5;
|
|
9
9
|
}
|
|
@@ -14,11 +14,11 @@ import i from"react";import o,{keyframes as q}from"styled-components";import{Dis
|
|
|
14
14
|
|
|
15
15
|
100% {
|
|
16
16
|
background-color:#f5f5f5;
|
|
17
|
-
}`,
|
|
17
|
+
}`,B=t.div`
|
|
18
18
|
width: 100%;
|
|
19
19
|
height: 440px;
|
|
20
20
|
animation: ${g} 2s linear infinite;
|
|
21
|
-
`,D=
|
|
21
|
+
`,D=t.div`
|
|
22
22
|
pointer-events: ${({$pointerEvents:e})=>e};
|
|
23
23
|
display: flex;
|
|
24
24
|
flex-direction: ${({$direction:e})=>e};
|
|
@@ -27,35 +27,35 @@ import i from"react";import o,{keyframes as q}from"styled-components";import{Dis
|
|
|
27
27
|
padding: 3rem 1.5rem;
|
|
28
28
|
z-index: 1;
|
|
29
29
|
flex: 1;
|
|
30
|
-
`,F=
|
|
30
|
+
`,F=t.iframe`
|
|
31
31
|
position: absolute;
|
|
32
32
|
width: 100%;
|
|
33
33
|
height: 100%;
|
|
34
34
|
top: 0;
|
|
35
35
|
left: 0;
|
|
36
|
-
`,a=e=>typeof e=="number",f=e=>typeof e=="string",
|
|
36
|
+
`,a=e=>typeof e=="number",f=e=>typeof e=="string",T=({$positionX:e,$positionY:i})=>{if(a(e)&&a(i))return`${e}% ${i}%`;if(f(e)&&f(i))return`${e} ${i}`;if(e||i){const r=a(e)?`${e}%`:e,n=a(i)?`${i}%`:i;return`${r||"50%"} ${n||"50%"}`}return"50% 50%"},X=t.div`
|
|
37
37
|
width: 100%;
|
|
38
38
|
min-height: 440px;
|
|
39
39
|
display: flex;
|
|
40
40
|
flex-direction: column;
|
|
41
41
|
justify-content: center;
|
|
42
42
|
|
|
43
|
-
${({$url:e,...
|
|
43
|
+
${({$url:e,...i})=>e&&`
|
|
44
44
|
background: url('${e}');
|
|
45
45
|
background-repeat: no-repeat;
|
|
46
46
|
background-size: cover;
|
|
47
|
-
background-position: ${
|
|
47
|
+
background-position: ${T(i)};
|
|
48
48
|
`}
|
|
49
|
-
`,
|
|
49
|
+
`,Y=t.div`
|
|
50
50
|
padding-left: 1rem;
|
|
51
51
|
padding-right: 1rem;
|
|
52
52
|
z-index: 2;
|
|
53
53
|
|
|
54
|
-
${
|
|
54
|
+
${m("tablet")} {
|
|
55
55
|
padding-left: 1.5rem;
|
|
56
56
|
padding-right: 1.5rem;
|
|
57
57
|
}
|
|
58
|
-
`,
|
|
58
|
+
`,H=t.div`
|
|
59
59
|
${({$centered:e})=>e&&`
|
|
60
60
|
display: flex;
|
|
61
61
|
flex-direction: column;
|
|
@@ -63,7 +63,7 @@ import i from"react";import o,{keyframes as q}from"styled-components";import{Dis
|
|
|
63
63
|
text-align: center;
|
|
64
64
|
`}
|
|
65
65
|
|
|
66
|
-
${({$maxWidth:e,$dynamicGutter:
|
|
66
|
+
${({$maxWidth:e,$dynamicGutter:i})=>!i&&`
|
|
67
67
|
width: 100%;
|
|
68
68
|
margin-left: auto;
|
|
69
69
|
margin-right: auto;
|
|
@@ -71,29 +71,29 @@ import i from"react";import o,{keyframes as q}from"styled-components";import{Dis
|
|
|
71
71
|
`}
|
|
72
72
|
|
|
73
73
|
${({$dynamicGutter:e})=>e&&`
|
|
74
|
-
${
|
|
74
|
+
${m("tablet")} {
|
|
75
75
|
margin-left: ${e.tabletVw}vw;
|
|
76
76
|
margin-right: ${e.tabletVw}vw;
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
-
${
|
|
79
|
+
${m("laptop")} {
|
|
80
80
|
margin-left: ${e.laptopVw}vw;
|
|
81
81
|
margin-right: ${e.laptopVw}vw;
|
|
82
82
|
}
|
|
83
83
|
`}
|
|
84
|
-
`,
|
|
84
|
+
`,J=t(P)`
|
|
85
85
|
margin: 0;
|
|
86
|
-
color: ${({$color:e,theme:
|
|
86
|
+
color: ${({$color:e,theme:i})=>i.colors.text[e]};
|
|
87
87
|
|
|
88
88
|
${({$shadow:e})=>e&&"text-shadow: 4px 4px 6px rgba(0, 0, 0, 0.2);"}
|
|
89
|
-
`,
|
|
89
|
+
`,L=t(q)`
|
|
90
90
|
margin: 0.25rem 0;
|
|
91
|
-
color: ${({$color:e,theme:
|
|
91
|
+
color: ${({$color:e,theme:i})=>i.colors.text[e]};
|
|
92
92
|
|
|
93
93
|
${({$shadow:e})=>e&&"text-shadow: 4px 4px 6px rgba(0, 0, 0, 0.2);"}
|
|
94
|
-
`,
|
|
94
|
+
`,M=t.div`
|
|
95
95
|
display: inline-block;
|
|
96
96
|
margin-top: 3rem;
|
|
97
97
|
|
|
98
|
-
${({$shadow:e,theme:
|
|
99
|
-
`,
|
|
98
|
+
${({$shadow:e,theme:i})=>e&&`box-shadow: ${i.elevations.elevation8};`}
|
|
99
|
+
`,N=({imageProps:e,imageElement:i,videoProps:r,children:n,align:u,direction:x,justify:w,contentMaxWidth:y=64,heading:d,headingColor:p="dark",subheading:l,button:$,dynamicGutter:b,isLoading:v=!1,contentCentered:k=!1,containerStyle:j,elementShadow:s=!1})=>{const{autoplay:G=0,controls:z=0,disablekb:E=0,end:h,loop:S=0,modestbranding:V=1,start:W=0,showInfo:C=0}=r?.ytConfig||{};return v?o(B,{"data-testid":"loader"}):o(A,{style:j,children:r?o(F,{"data-testid":"hero-video",title:"video-frame",src:`${r.src}?disabledkb=${E}&autoplay=${G}&controls=${z}&loop=${S}&modestbranding=${V}&start=${W}&showInfo=${C}${h?`&end=${h}`:""}`,width:"100%",height:"100%",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0}):c(X,{"data-testid":"hero-image",$positionX:i?void 0:e?.x,$positionY:i?void 0:e?.y,$url:i?void 0:e?.src,children:[i,c(Y,{children:[(d||l||$)&&c(H,{$maxWidth:y,$dynamicGutter:b,$centered:k,children:[d&&o(J,{as:"h1",$color:p,$shadow:s,children:d}),l&&o(L,{$color:p,$shadow:s,children:l}),$&&o(M,{$shadow:s,children:$})]}),n&&o(D,{$pointerEvents:r?"none":"auto",$align:u||"flex-start",$direction:x||"column",$justify:w||"flex-start",children:n})]})]})})};export{g as colorAnimation,N as default};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import e
|
|
1
|
+
import{jsxs as s,Fragment as u,jsx as e}from"react/jsx-runtime";import{useState as x}from"react";import i from"styled-components";import{Caption as b}from"../../typography/BodyText/index.js";import{Title as h}from"../../typography/Heading/index.js";import p from"../../theme.js";import{Snackbar as k}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 w=i.div`
|
|
2
2
|
margin: 0 auto;
|
|
3
3
|
max-width: 700px;
|
|
4
|
-
`,
|
|
4
|
+
`,y=i(h)`
|
|
5
5
|
margin: 0.5rem;
|
|
6
|
-
|
|
6
|
+
`,$=i.ul`
|
|
7
7
|
display: flex;
|
|
8
8
|
list-style: none;
|
|
9
9
|
flex-wrap: wrap;
|
|
10
10
|
padding: 0;
|
|
11
|
-
`,
|
|
11
|
+
`,O=i.li`
|
|
12
12
|
background: ${({background:r})=>r};
|
|
13
13
|
display: flex;
|
|
14
14
|
justify-content: center;
|
|
@@ -16,17 +16,17 @@ import e,{useState as g}from"react";import t from"styled-components";import{Capt
|
|
|
16
16
|
align-items: center;
|
|
17
17
|
width: calc(25% - 2px - 1.5rem);
|
|
18
18
|
padding: 0 0.25rem;
|
|
19
|
-
border: 1px solid ${
|
|
19
|
+
border: 1px solid ${p.colors.gray.dark5};
|
|
20
20
|
border-radius: 3px;
|
|
21
21
|
margin: 0.5rem;
|
|
22
22
|
cursor: pointer;
|
|
23
|
-
`,C=
|
|
23
|
+
`,C=i(b)`
|
|
24
24
|
overflow-wrap: break-word;
|
|
25
25
|
word-wrap: break-word;
|
|
26
26
|
word-break: break-word;
|
|
27
27
|
hyphens: auto;
|
|
28
28
|
text-align: center;
|
|
29
|
-
`,
|
|
29
|
+
`,v=i.span`
|
|
30
30
|
font-size: ${({size:r})=>r};
|
|
31
31
|
color: ${({color:r})=>r};
|
|
32
|
-
`,
|
|
32
|
+
`,z=({background:r=p.colors.background.light,color:l=p.colors.text.dark,icons:m,size:d="2rem"})=>{const[a,n]=x({isOpen:!1,message:"",type:"info",color:"neutral"}),g=async o=>{const c=`import { ${o} } from 'kvdbil-components';`;if(navigator.clipboard)try{await navigator.clipboard.writeText(c),n(t=>({...t,isOpen:!0,message:`copied import for ${o}`,type:"success",color:"success"}))}catch(t){n(f=>({...f,isOpen:!0,message:`Could not copy text: ${t}`,type:"error",color:"error"}))}};return s(u,{children:[s(w,{children:[e(y,{as:"h2",children:"Click to copy import declaration for icon"}),e($,{children:m.map(([o,c],t)=>s(O,{background:r,onClick:()=>{g(o)},children:[e(C,{children:o}),e(v,{size:d,color:l,children:e(c,{})})]},t))})]}),e(k,{message:a.message,isOpen:a.isOpen,type:a.type,color:a.color,onClose:()=>n(o=>({...o,isOpen:!1}))})]})};export{z as default};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import
|
|
1
|
+
import{jsxs as u,jsx as d}from"react/jsx-runtime";import n,{css as a}from"styled-components";const b=a`
|
|
2
2
|
background-color: transparent;
|
|
3
|
-
`,s="400ms",m="1500ms",
|
|
4
|
-
background-color: ${({theme:
|
|
3
|
+
`,s="400ms",m="1500ms",f="750ms",c=a`
|
|
4
|
+
background-color: ${({theme:i,color:r})=>i.colors[r].main};
|
|
5
5
|
opacity: 0.1;
|
|
6
|
-
${
|
|
7
|
-
`,
|
|
8
|
-
cursor: ${
|
|
6
|
+
${i=>i.isDisabled&&b};
|
|
7
|
+
`,k=n.div`
|
|
8
|
+
cursor: ${i=>i.isDisabled?"default":"pointer"};
|
|
9
9
|
outline: none;
|
|
10
10
|
|
|
11
11
|
display: inline-block;
|
|
@@ -34,7 +34,7 @@ import n from"react";import a,{css as l}from"styled-components";const d=l`
|
|
|
34
34
|
|
|
35
35
|
:active {
|
|
36
36
|
.button-background {
|
|
37
|
-
animation: ActiveRipple ${
|
|
37
|
+
animation: ActiveRipple ${f};
|
|
38
38
|
${c}
|
|
39
39
|
}
|
|
40
40
|
}
|
|
@@ -62,7 +62,7 @@ import n from"react";import a,{css as l}from"styled-components";const d=l`
|
|
|
62
62
|
clip-path: circle(50%);
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
|
-
`,
|
|
65
|
+
`,g=n.div`
|
|
66
66
|
top: 0;
|
|
67
67
|
left: 0;
|
|
68
68
|
|
|
@@ -72,4 +72,4 @@ import n from"react";import a,{css as l}from"styled-components";const d=l`
|
|
|
72
72
|
|
|
73
73
|
position: absolute;
|
|
74
74
|
border-radius: 10rem;
|
|
75
|
-
`,
|
|
75
|
+
`,h=({children:i,isActive:r,isDisabled:e,onClick:t,noTabIndex:l=!1,color:p})=>u(k,{color:p,isActive:r,isDisabled:e,onClick:o=>{o.stopPropagation(),o.preventDefault(),o.persist(),!e&&typeof t=="function"&&t(o)},onKeyDown:o=>{o.key==="Enter"&&!e&&typeof t=="function"&&(o.persist(),t(o))},tabIndex:e||l?void 0:0,children:[d(g,{className:"button-background"}),i]});export{c as BackgroundStyles,h as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import{jsxs as r,jsx as i}from"react/jsx-runtime";const t=({title:e,...o})=>r("svg",{...o,children:[e&&i("title",{children:e}),i("symbol",{id:"icon-arrow",viewBox:"0 0 22 22",children:i("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"})}),i("use",{xlinkHref:"#icon-arrow"})]});export{t as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import{jsxs as c,jsx as C}from"react/jsx-runtime";const l=({title:e="CheckCircle",...i})=>c("svg",{...i,children:[e&&C("title",{children:e}),C("symbol",{id:"icon-checkCircle",viewBox:"0 0 24 24",children:C("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"})}),C("use",{xlinkHref:"#icon-checkCircle"})]});export{l as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import{jsxs as c,jsx as C}from"react/jsx-runtime";const s=({className:e="icon__svg"})=>c("svg",{className:e,children:[C("title",{children:"Check"}),C("symbol",{id:"icon-check",viewBox:"0 0 20 16",children:C("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"})}),C("use",{xlinkHref:"#icon-check"})]});export{s as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import{jsxs as l,jsx as L}from"react/jsx-runtime";const o=({title:e="Close",...i})=>l("svg",{...i,children:[e&&L("title",{children:e}),L("symbol",{id:"icon-close",viewBox:"0 0 24 24",children:L("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"})}),L("use",{xlinkHref:"#icon-close"})]});export{o as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import{jsxs as l,jsx as r}from"react/jsx-runtime";const C=({title:e,...i})=>l("svg",{...i,children:[e&&r("title",{children:e}),r("symbol",{id:"icon-errorCircle",viewBox:"0 0 24 24",children:r("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"})}),r("use",{xlinkHref:"#icon-errorCircle"})]});export{C as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import{jsxs as l,jsx as i}from"react/jsx-runtime";const n=({title:e,...C})=>l("svg",{...C,children:[e&&i("title",{children:e}),i("symbol",{id:"icon-infoCircle",viewBox:"0 0 24 24",children:i("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"})}),i("use",{xlinkHref:"#icon-infoCircle"})]});export{n as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import t from"react";const
|
|
1
|
+
import{jsxs as t,jsx as c}from"react/jsx-runtime";const o=({color:l="black"})=>t("svg",{xmlns:"http://www.w3.org/2000/svg",x:"0",y:"0",viewBox:"0 0 1000 1000",fill:l,children:[c("title",{children:"Bacon"}),c("path",{d:"M7204.2 5021.9c-224.4-46.1-422.8-204.4-537-430.8-32.1-66.1-98.2-226.4-144.3-358.7-128.3-368.7-210.4-521-362.7-677.3-210.4-214.4-458.9-312.6-903.8-354.7-364.7-36.1-527-90.2-659.3-222.4-104.2-104.2-150.3-246.5-188.4-585.1-16-162.3-44.1-332.6-62.1-378.7-100.2-284.5-320.6-410.8-799.5-456.9-342.7-32.1-515-98.2-637.2-242.5-100.2-116.2-132.3-224.4-164.3-569.1-38.1-424.8-88.2-545.1-268.5-667.3C2354.8-3.8 2220.6-39.9 1899.9-76c-148.3-18-328.6-50.1-402.8-72.1C1040.3-288.4 647.5-633 401-1108c-158.3-306.6-252.5-605.2-292.6-921.8-24-196.4 4-396.8 72.1-511 26-44.1 529-559.1 1116.2-1144.2 1004-1001.9 1074.1-1068 1176.3-1100.1 232.5-76.1 537 0 719.4 176.3 138.3 134.3 214.4 282.6 342.7 663.3 64.1 194.4 148.3 404.8 186.4 466.9 166.3 278.5 484.9 438.8 967.9 486.9 474.9 48.1 629.2 96.2 773.5 240.5 122.2 122.2 152.3 218.4 188.3 617.2 22.1 246.5 38.1 328.6 78.2 410.8 120.2 248.5 274.5 328.7 753.4 384.7 290.6 34.1 454.9 82.2 561.1 166.3 158.3 130.3 208.4 264.5 238.5 655.3 12 144.3 34.1 306.6 50.1 360.7 78.1 256.5 276.5 386.8 657.3 430.9 312.6 36.1 515 78.1 675.3 140.3 450.9 174.3 843.6 593.1 1066 1132.2 132.3 320.6 168.3 486.9 168.3 781.5-2 436.8 82.1 322.6-1140.2 1549-821.6 823.6-1066 1058.1-1144.2 1096.1-116.3 56.1-282.6 76.2-410.8 48.1zm356.7-527l130.3-126.3-70.1-118.2c-40.1-64.1-132.2-250.5-204.4-412.8-220.4-495-340.7-685.3-567.1-897.7-248.5-236.4-551.1-358.7-997.9-400.8-400.8-38.1-585.1-130.3-691.3-346.7-50.1-104.2-66.1-172.3-90.2-404.8-56.1-497-130.2-651.3-376.7-769.5-122.2-60.1-186.4-74.2-611.2-130.3-362.7-48.1-563.1-188.4-633.2-438.8-16-58.1-40.1-222.4-52.1-368.7-34.1-426.8-100.2-569.1-314.6-681.3-144.3-74.1-236.5-98.2-511-126.2-513-52.1-843.6-204.4-1160.2-535-172.3-180.4-288.6-348.7-400.8-583.1-90.2-188.4-188.4-472.9-208.4-611.2-8-52.1-22-98.2-30.1-104.2-8-4-72.1 50.1-140.3 122.3l-126.2 130.2 12 174.3c20 326.7 154.3 721.4 340.7 999.9 266.5 400.8 643.2 617.2 1142.2 655.3 615.2 48.1 983.9 316.6 1106.1 803.6 16 66.1 38.1 234.5 50.1 372.7 10 140.3 28.1 276.5 38.1 304.6 28.1 74.2 118.2 114.2 318.6 138.3 478.9 56.1 633.2 100.2 841.6 236.5 204.4 132.3 352.7 354.7 414.8 629.2 14 66.1 38.1 222.4 50.1 346.7 28.1 288.6 46.1 342.7 134.3 380.7 40.1 16 194.4 42.1 346.7 58.1 887.7 92.2 1300.5 422.8 1599.1 1270.4 108.2 308.6 134.3 364.7 198.4 440.9 66.1 78.1 150.3 118.2 254.5 120.2 67.9-.1 91.9-14.1 208.2-128.3zm1466.8-1563c-22-34.1-64.1-162.3-98.2-284.6-82.1-304.6-132.2-428.8-224.4-567.1-248.5-372.7-697.4-597.2-1498.9-753.5-288.5-56.1-382.7-94.2-480.9-192.4-128.3-126.2-182.4-290.5-232.5-703.3-70.1-577.1-188.4-721.4-611.2-747.5-623.2-40.1-923.8-214.4-1090.1-633.2-28.1-70.1-84.2-254.5-122.2-408.8-82.2-332.6-160.3-503-274.5-599.1-106.2-92.2-218.4-128.3-472.9-152.3-226.4-22-452.9-88.2-625.2-184.4-398.8-222.4-791.5-685.3-1076.1-1268.5-68.1-142.3-126.2-272.5-126.2-284.6 0-46.1-30.1-28-146.3 90.2L1831.9-3639l64.1 98.2c36.1 52.1 136.3 258.5 222.4 456.9 246.5 567.1 380.7 779.5 601.2 949.8 248.5 190.4 503 274.5 977.9 324.6 328.6 32.1 466.9 82.2 607.2 216.4 110.2 106.2 152.3 240.5 184.4 593.2 38.1 400.8 64.1 484.9 194.4 605.2 134.3 128.2 264.5 172.3 637.2 216.4 306.6 36.1 432.9 74.2 545.1 158.3 174.3 132.3 224.4 264.5 256.5 665.3 26 344.7 62.1 452.9 190.4 583.1 130.3 132.3 256.5 180.3 589.2 218.4 140.3 16 308.6 44.1 374.7 60.1 621.2 162.3 1120.2 755.5 1370.7 1633.2 24.1 82.2 48.1 162.3 52.1 178.3 6 20 68.1-28.1 186.4-146.3l178.3-176.3-36.4-63.9zm404.8-314.6c22-28.1 48.1-110.2 60.1-182.4 58.1-336.6-176.3-951.8-489-1288.5-242.5-260.5-505-392.8-853.6-432.8-460.9-52.1-639.2-104.2-845.6-242.5-68.1-44.1-158.3-128.2-200.4-184.4C6961.7 98.3 6913.6-58 6875.6-468.8c-16-162.3-38.1-314.6-52.1-338.7-36.1-68.1-134.3-96.2-430.8-130.3-539-60.1-835.6-218.4-1005.9-543-84.2-156.3-122.2-322.6-146.3-637.2-34.1-420.8 0-394.8-671.3-472.9-565.1-66.1-979.9-302.6-1208.3-691.3-48.1-82.1-132.3-288.6-202.4-499-68.1-196.4-138.3-384.7-160.3-420.8-88.2-142.3-244.5-230.4-358.7-202.4-54.1 14-144.3 84.2-144.3 114.2 0 8 28.1 62.1 64.1 118.2 34.1 58.1 138.3 274.5 228.4 484.9 218.4 497 318.6 663.3 529 875.7 296.6 298.6 631.2 432.8 1172.3 472.9 226.4 16 290.6 40.1 346.7 132.2 56.1 90.2 78.2 186.4 126.3 527 22 162.3 62.1 364.7 88.2 448.9C5192.3-779.3 5488.9-607 6116.1-607c228.4 0 268.5 6 346.7 46.1 96.2 48.1 168.3 138.3 200.4 252.5 12 40.1 38.1 194.4 60.1 342.7 22 148.3 58.1 330.7 82.1 402.8 82.2 264.5 270.5 428.8 557.1 488.9 561.1 116.2 761.5 184.4 1028 342.7 302.6 182.4 609.2 517 775.5 845.6 72.1 144.3 182.3 460.9 182.3 525 0 54.1 34.1 44.1 84.2-22z",transform:"matrix(.1 0 0 -.1 0 511)"})]});export{o as default};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import
|
|
1
|
+
import{jsxs as d,jsx as l}from"react/jsx-runtime";import i from"styled-components";import{BodyText as m}from"../../typography/BodyText/index.js";import{TinyTitleBold as a}from"../../typography/Heading/index.js";import"../../shared/media-queries.js";const p=i.li`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
padding-bottom: 20px;
|
|
5
5
|
&:last-child {
|
|
6
6
|
padding-bottom: 0;
|
|
7
7
|
}
|
|
8
|
-
`,
|
|
8
|
+
`,s=i.div`
|
|
9
9
|
display: flex;
|
|
10
10
|
align-items: center;
|
|
11
11
|
margin: 0;
|
|
12
|
-
`,
|
|
12
|
+
`,h=i(a)`
|
|
13
13
|
margin: 0;
|
|
14
|
-
`,
|
|
14
|
+
`,x=i.div`
|
|
15
15
|
display: flex;
|
|
16
16
|
align-items: center;
|
|
17
17
|
margin-right: 24px;
|
|
@@ -19,6 +19,6 @@ import e from"react";import t from"styled-components";import{BodyText as d}from"
|
|
|
19
19
|
width: 30px;
|
|
20
20
|
height: 100%;
|
|
21
21
|
}
|
|
22
|
-
`,
|
|
23
|
-
padding-left: ${({hasIcon:
|
|
24
|
-
`,
|
|
22
|
+
`,g=i.div`
|
|
23
|
+
padding-left: ${({hasIcon:t})=>t?"54px":0};
|
|
24
|
+
`,f=({title:t,text:n,icon:e,component:r="li",children:o,...c})=>d(p,{as:r,...c,children:[d(s,{children:[e&&l(x,{children:e}),l(h,{children:t})]}),l(g,{hasIcon:!!e,children:d(m,{children:[n,o]})})]});export{f as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import C
|
|
1
|
+
import{jsxs as H,jsx as C}from"react/jsx-runtime";import o from"../../theme.js";const i=({color:l=o.colors.neutral.main})=>H("svg",{viewBox:"0 0 622 223",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":"kvdlogo-en",children:[C("title",{id:"kvdlogo-en",children:"kvdcars.com"}),C("path",{d:"M563.63 130.23C561.82 127.17 559.53 124.57 556.81 122.52C554.18 120.54 551.29 118.87 548.23 117.57C545.36 116.35 542.64 115.15 540.14 113.99C537.8 112.9 535.83 111.71 534.29 110.44C533.08 109.44 532.52 108.24 532.52 106.67C532.52 105.1 533 103.96 534.02 103.11C535.07 102.24 536.56 101.77 538.46 101.73L561.94 109.52V87.83L560.57 87.35C556.81 86.02 553.15 84.93 549.69 84.12C546.16 83.29 542.26 82.86 538.12 82.86C533.98 82.86 530.19 83.43 526.85 84.55C523.47 85.69 520.55 87.34 518.16 89.44C515.76 91.56 513.88 94.13 512.56 97.09C511.24 100.04 510.58 103.34 510.58 106.9C510.58 111.77 511.52 115.84 513.38 118.99C515.2 122.07 517.48 124.61 520.18 126.56C522.79 128.44 525.66 130 528.73 131.18C531.61 132.3 534.3 133.42 536.71 134.52C539.01 135.57 540.96 136.75 542.49 138.01C543.7 139.01 544.26 140.31 544.26 142.11C544.26 144.1 543.67 145.47 542.4 146.43C541.05 147.45 539.09 147.99 536.59 148.04L511.34 139.22V161.63L512.59 162.16C515.97 163.59 519.84 164.8 524.09 165.77C528.38 166.75 532.95 167.24 537.67 167.24C541.8 167.24 545.64 166.67 549.08 165.55C552.56 164.42 555.62 162.77 558.18 160.64C560.78 158.48 562.82 155.81 564.26 152.7C565.69 149.6 566.42 146.03 566.42 142.1C566.44 137.37 565.49 133.38 563.63 130.23Z",fill:l}),C("path",{d:"M124.01 84.33H99.02L77.58 114.92V56.04H55.16V166.56H77.58V132.24L101.06 166.56H127.94L96.57 123.5L124.01 84.33Z",fill:l}),C("path",{d:"M235.3 144.12C224.78 144.12 216.25 135.59 216.25 125.07C216.25 114.55 224.78 106.02 235.3 106.02C245.83 106.02 254.35 114.55 254.35 125.07C254.35 135.59 245.82 144.12 235.3 144.12ZM255.53 88.9C249.48 85.46 242.49 83.5 235.04 83.5C212.11 83.5 193.52 102.09 193.52 125.02C193.52 147.95 212.11 166.54 235.04 166.54C242.49 166.54 249.49 164.58 255.53 161.14V166.56H277.95V56.04H255.53V88.9Z",fill:l}),C("path",{d:"M175.62 84.33L161.08 131.23L146.54 84.33H124.32L149.81 166.56H150.13H172.04H172.35L197.84 84.33H175.62Z",fill:l}),C("path",{d:"M411.58 144.12C401.06 144.12 392.53 135.59 392.53 125.07C392.53 114.55 401.06 106.02 411.58 106.02C422.1 106.02 430.63 114.55 430.63 125.07C430.63 135.59 422.11 144.12 411.58 144.12ZM411.31 83.5C388.38 83.5 369.79 102.08 369.79 125.01C369.79 147.94 388.38 166.53 411.31 166.53C418.86 166.53 425.94 164.52 432.04 161V166.55H454.46V84.33H432.04V89.03C425.94 85.52 418.86 83.5 411.31 83.5Z",fill:l}),C("path",{d:"M342.97 130.89C340.51 138.56 333.32 144.12 324.83 144.12C314.3 144.12 305.78 135.59 305.78 125.07C305.78 114.55 314.31 106.02 324.83 106.02C333.59 106.02 340.95 111.94 343.18 120H366.04C363.56 99.44 346.06 83.5 324.84 83.5C301.91 83.5 283.33 102.09 283.33 125.01C283.33 147.94 301.9 166.52 324.84 166.52C345.77 166.52 363.08 151.02 365.93 130.88H342.97V130.89Z",fill:l}),C("path",{d:"M505.29 83.5C498.52 83.5 492.15 85.14 486.5 88.01V84.33H464.08V166.55H486.5V161.92V125.07H486.51C486.51 114.55 495.04 106.02 505.56 106.02C505.95 106.02 506.34 106.06 506.72 106.08V83.55C506.25 83.53 505.77 83.5 505.29 83.5Z",fill:l})]});export{i as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import
|
|
1
|
+
import{jsxs as H,jsx as C}from"react/jsx-runtime";import i from"../../theme.js";const o=({color:l=i.colors.neutral.main})=>H("svg",{viewBox:"0 0 492 223",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-labelledby":"kvdlogo-sv",children:[C("title",{id:"kvdlogo-sv",children:"kvd.se"}),C("path",{d:"M124.94 84.11H99.78L78.2 114.91V55.63H55.63V166.89H78.2V132.34L101.83 166.89H128.89L97.32 123.54L124.94 84.11Z",fill:l}),C("path",{d:"M393.79 87.26C389.7 87.26 385.88 86.1 382.64 84.1H382.51V166.88H405.08V84.1H404.95C401.69 86.1 397.87 87.26 393.79 87.26Z",fill:l}),C("path",{d:"M436.21 55.59H413.64V166.89H436.21V55.59Z",fill:l}),C("path",{d:"M393.79 49.9C384.96 49.9 377.77 57.09 377.77 65.92C377.77 74.75 384.95 81.94 393.79 81.94C402.63 81.94 409.81 74.76 409.81 65.92C409.8 57.09 402.62 49.9 393.79 49.9ZM393.79 72.85C389.97 72.85 386.86 69.74 386.86 65.92C386.86 62.1 389.97 58.99 393.79 58.99C397.61 58.99 400.72 62.1 400.72 65.92C400.72 69.74 397.61 72.85 393.79 72.85Z",fill:l}),C("path",{d:"M336.08 83.27C328.48 83.27 321.36 85.3 315.22 88.84V55.63H292.65V166.89H315.22V161.3C321.36 164.84 328.49 166.87 336.08 166.87C359.16 166.87 377.88 148.16 377.88 125.07C377.87 101.98 359.16 83.27 336.08 83.27ZM335.81 144.3C325.22 144.3 316.63 135.71 316.63 125.12C316.63 114.53 325.22 105.94 335.81 105.94C346.4 105.94 354.99 114.53 354.99 125.12C354.99 135.71 346.4 144.3 335.81 144.3Z",fill:l}),C("path",{d:"M257.34 88.71C251.25 85.25 244.21 83.27 236.71 83.27C213.62 83.27 194.91 101.98 194.91 125.07C194.91 148.15 213.62 166.87 236.71 166.87C244.21 166.87 251.25 164.89 257.34 161.43V166.89H279.91V55.63H257.34V88.71ZM236.98 144.3C226.39 144.3 217.8 135.71 217.8 125.12C217.8 114.53 226.39 105.94 236.98 105.94C247.57 105.94 256.16 114.53 256.16 125.12C256.16 135.71 247.57 144.3 236.98 144.3Z",fill:l}),C("path",{d:"M176.9 84.11L162.26 131.32L147.62 84.11H125.25L150.92 166.89H151.23H173.29H173.6L199.27 84.11H176.9Z",fill:l})]});export{o as default};
|