@kvdbil/components 14.2.4 → 14.2.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 +10 -10
- package/cjs/ElevationCard.js +5 -5
- package/cjs/components/Accordion/index.js +20 -20
- package/cjs/components/Badge/index.js +9 -9
- package/cjs/components/Breadcrumbs/BreadcrumbsItem.js +10 -10
- package/cjs/components/Breadcrumbs/index.js +2 -2
- package/cjs/components/Button/index.js +22 -22
- package/cjs/components/Button/styles.js +23 -23
- package/cjs/components/Card/index.js +9 -9
- package/cjs/components/CheckBox/index.js +24 -24
- package/cjs/components/Chip/index.js +23 -23
- package/cjs/components/Chip/styles.js +1 -1
- package/cjs/components/DayPicker/DayPickerNavBar.js +7 -7
- package/cjs/components/DayPicker/index.js +4 -4
- package/cjs/components/DayPicker/localeUtils.js +1 -1
- package/cjs/components/DayPicker/style.js +23 -23
- package/cjs/components/Dialog/index.js +4 -4
- package/cjs/components/EditRow/index.js +14 -14
- package/cjs/components/ErrorMessage/index.js +6 -6
- package/cjs/components/FieldLabel.js +21 -21
- package/cjs/components/Flex/index.js +11 -11
- package/cjs/components/Hero/index.js +36 -36
- package/cjs/components/Icon/index.js +11 -11
- package/cjs/components/IconButton.js +13 -13
- 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 +7 -7
- package/cjs/components/Logo/LogoEn.js +1 -1
- package/cjs/components/Logo/LogoSv.js +1 -1
- package/cjs/components/Logo/index.js +3 -3
- package/cjs/components/MenuItem/index.js +22 -22
- package/cjs/components/Message/index.js +16 -16
- package/cjs/components/Modal/index.js +10 -10
- package/cjs/components/NotificationButton/index.js +4 -4
- package/cjs/components/OffCanvas/Overlay.js +2 -2
- package/cjs/components/OffCanvas/index.js +20 -20
- package/cjs/components/OffCanvas/useClickOutside.js +1 -1
- package/cjs/components/RadioButton/index.js +25 -25
- package/cjs/components/RegistrationPlate/EuFlagIcon.js +1 -1
- package/cjs/components/RegistrationPlate/index.js +14 -14
- package/cjs/components/Select/components/test-icon.js +1 -1
- package/cjs/components/Select/index.js +16 -16
- package/cjs/components/Snackbar/index.js +22 -22
- package/cjs/components/Spacer/index.js +7 -7
- package/cjs/components/Spinner/index.js +10 -10
- package/cjs/components/SpinnerThin/index.js +16 -16
- package/cjs/components/Stack/index.js +1 -1
- package/cjs/components/Stamp/index.js +1 -1
- package/cjs/components/Stepper/index.js +32 -32
- package/cjs/components/StepperAccordion/index.js +23 -23
- package/cjs/components/Table/index.js +11 -11
- package/cjs/components/Tabs/Tab.js +5 -5
- package/cjs/components/Tabs/Tabs.js +11 -11
- package/cjs/components/TextArea/index.js +33 -33
- package/cjs/components/Textfield/index.js +32 -32
- package/cjs/components/TimePicker/index.js +2 -2
- package/cjs/components/TimePicker/testHelper.js +1 -1
- package/cjs/components/Toggle/index.js +12 -12
- package/cjs/components/ToggleArrow/index.js +3 -3
- package/cjs/components/ValuationRange/index.js +17 -17
- 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/helpers.js +1 -1
- package/cjs/shared/media-queries.js +1 -1
- package/cjs/typography/BodyText/index.js +39 -39
- package/cjs/typography/ButtonText/index.js +20 -20
- package/cjs/typography/Heading/index.js +47 -47
- package/cjs/utils/utils.js +2 -2
- package/esm/ColorCard.js +10 -10
- package/esm/ElevationCard.js +5 -5
- package/esm/components/Accordion/index.js +4 -4
- 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 +8 -8
- package/esm/components/Card/index.js +9 -9
- package/esm/components/CheckBox/index.js +18 -18
- package/esm/components/Chip/index.js +14 -14
- package/esm/components/Chip/styles.js +1 -1
- package/esm/components/DayPicker/DayPickerNavBar.js +8 -8
- package/esm/components/DayPicker/index.js +2 -2
- package/esm/components/DayPicker/localeUtils.js +1 -1
- package/esm/components/Dialog/index.js +3 -3
- package/esm/components/EditRow/index.js +12 -12
- package/esm/components/ErrorMessage/index.js +6 -6
- package/esm/components/FieldLabel.js +20 -20
- package/esm/components/Flex/index.js +11 -11
- package/esm/components/Hero/index.js +17 -17
- package/esm/components/Icon/index.js +7 -7
- package/esm/components/IconButton.js +10 -10
- package/esm/components/Icons/Arrow.js +1 -1
- package/esm/components/Icons/CheckCircle.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/index.js +5 -5
- package/esm/components/Logo/index.js +2 -2
- package/esm/components/MenuItem/index.js +8 -8
- package/esm/components/Message/index.js +11 -11
- package/esm/components/Modal/index.js +4 -4
- package/esm/components/NotificationButton/index.js +3 -3
- package/esm/components/OffCanvas/Overlay.js +2 -2
- package/esm/components/OffCanvas/index.js +6 -6
- package/esm/components/OffCanvas/useClickOutside.js +1 -1
- package/esm/components/RadioButton/index.js +21 -21
- package/esm/components/RegistrationPlate/index.js +13 -13
- package/esm/components/Select/index.js +6 -6
- package/esm/components/Snackbar/index.js +13 -13
- package/esm/components/Spacer/index.js +5 -5
- package/esm/components/Spinner/index.js +9 -9
- package/esm/components/SpinnerThin/index.js +7 -7
- package/esm/components/Stack/index.js +1 -1
- package/esm/components/Stamp/index.js +1 -1
- package/esm/components/Stepper/index.js +23 -23
- package/esm/components/StepperAccordion/index.js +18 -18
- package/esm/components/Table/index.js +5 -5
- 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 +26 -26
- package/esm/components/Textfield/index.js +16 -16
- package/esm/components/TimePicker/index.js +2 -2
- package/esm/components/TimePicker/testHelper.js +1 -1
- package/esm/components/Toggle/index.js +4 -4
- package/esm/components/ToggleArrow/index.js +2 -2
- package/esm/components/ValuationRange/index.js +15 -15
- package/esm/hooks/useDynamicScript.js +1 -1
- 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/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/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/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/FacebookIcon.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/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/NotificationIcon.js +1 -1
- package/esm/icons/components/OpenInNewIcon.js +1 -1
- package/esm/icons/components/PayementIcon.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/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/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/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/index.js +1 -1
- package/esm/index.js +1 -1
- package/esm/shared/helpers.js +1 -1
- package/esm/shared/media-queries.js +1 -1
- package/esm/typography/BodyText/index.js +35 -35
- package/esm/typography/ButtonText/index.js +13 -13
- package/esm/typography/Heading/index.js +27 -27
- package/esm/utils/utils.js +2 -2
- package/package.json +34 -13
- package/types/testUtils.d.ts +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.getActiveBackgroundColor=({color:
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.getActiveBackgroundColor=({color:l,variant:r,isDisabled:o,theme:t})=>o?"transparent":l==="neutralLight"?t.colors.background.light:r==="solid"?t.colors[l].light:"transparent",exports.getActiveBorderColor=({variant:l,color:r,theme:o})=>r==="neutralLight"?{solid:o.colors.background.light,flat:"transparent",outline:o.colors.background.light}[l]:{solid:o.colors[r].light,flat:"transparent",outline:o.colors[r].light}[l],exports.getActiveColor=({variant:l,color:r,theme:o})=>r==="neutralLight"?o.colors.text.dark:l==="solid"?o.colors.text.light:o.colors[r].light,exports.getBackgroundColor=({isDisabled:l,variant:r,color:o,theme:t})=>l?t.colors.gray.light5:o==="neutralLight"?{solid:t.colors.background.gray,flat:t.colors.background.light,outline:"transparent"}[r]:{solid:t.colors[o].main,flat:t.colors.background.light,outline:"transparent"}[r],exports.getBorderColor=({color:l,isDisabled:r,variant:o,theme:t})=>r?t.colors.gray.light5:l==="neutralLight"?{solid:"transparent",flat:"transparent",outline:t.colors.text.disabled}[o]:{solid:t.colors[l].main,flat:"transparent",outline:t.colors[l].main}[o],exports.getColor=({isDisabled:l,variant:r,color:o,theme:t})=>l?t.colors.text.disabled:o==="neutralLight"?r==="outline"?t.colors.text.disabled:t.colors.text.dark:{solid:t.colors.text.light,flat:t.colors[o].main,outline:t.colors[o].main}[r],exports.getCursorType=({isDisabled:l,isClickable:r,isDeletable:o})=>l?"not-allowed":r||o?"pointer":"auto",exports.getFontSize=(l="smaller")=>({smaller:"0.625rem",small:"0.75rem",regular:"1rem",large:"1rem"})[l],exports.getHoverBackgroundColor=({variant:l,color:r,theme:o})=>r==="neutralLight"?{solid:o.colors.gray.light4,flat:o.colors.background.light,outline:"transparent"}[l]:{solid:o.colors[r].dark,flat:o.colors.background.light,outline:"transparent"}[l],exports.getHoverBorderColor=({variant:l,color:r,theme:o})=>r==="neutralLight"?{solid:o.colors.gray.light4,flat:"transparent",outline:o.colors.text.dark}[l]:{solid:o.colors[r].dark,flat:"transparent",outline:o.colors[r].dark}[l],exports.getHoverColor=({variant:l,color:r,theme:o})=>r==="neutralLight"?o.colors.text.dark:{solid:o.colors.text.light,flat:o.colors[r].dark,outline:o.colors[r].dark}[l],exports.getSufixHoverBackgroundColor=({variant:l,color:r,isClickable:o,isDisabled:t,theme:a})=>t?a.colors.gray.light5:r==="neutralLight"?{solid:a.colors.gray.light2,flat:a.colors.gray.light4,outline:a.colors.gray.light4}[l]:l==="solid"?o?a.colors[r].darker:a.colors[r].dark:a.colors.background.gray;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var f=require("react"),c=require("styled-components"),s=require("../Icons/Arrow.js"),a=require("../../theme.js"),m=require("../../typography/BodyText/index.js"),p=require("./localeUtils.js");function l(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}require("../../shared/media-queries.js");var t=l(f),r=l(c);const h=r.default.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
justify-content: space-between;
|
|
4
4
|
padding: 0 2em;
|
|
5
|
-
`,
|
|
5
|
+
`,y=r.default(m.BodyText)`
|
|
6
6
|
font-size: 1.5em;
|
|
7
7
|
color: ${a.default.colors.text.dark};
|
|
8
|
-
`,
|
|
8
|
+
`,n=r.default.button`
|
|
9
9
|
appearance: none;
|
|
10
10
|
background-color: transparent;
|
|
11
11
|
border: 0;
|
|
@@ -14,12 +14,12 @@
|
|
|
14
14
|
outline: none;
|
|
15
15
|
display: flex;
|
|
16
16
|
align-items: center;
|
|
17
|
-
`,
|
|
17
|
+
`,o=r.default(s.default)`
|
|
18
18
|
width: 16px;
|
|
19
19
|
height: 16px;
|
|
20
20
|
fill: ${a.default.colors.gray.dark3};
|
|
21
|
-
`,
|
|
21
|
+
`,x=r.default(o)`
|
|
22
22
|
transform: rotate(90deg);
|
|
23
|
-
`,
|
|
23
|
+
`,g=r.default(o)`
|
|
24
24
|
transform: rotate(-90deg);
|
|
25
|
-
`;exports.default=({month:
|
|
25
|
+
`;exports.default=({month:e,onPreviousClick:i,onNextClick:d,locale:u})=>t.default.createElement(h,null,t.default.createElement(n,{onClick:()=>i()},t.default.createElement(x,{title:"prev-month"})),t.default.createElement(y,{as:"h3"},p.formatMonthTitle(e,u)),t.default.createElement(n,{onClick:()=>d()},t.default.createElement(g,{title:"next-month"})));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var
|
|
2
|
-
${
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var d=require("react"),s=require("react-day-picker"),n=require("styled-components"),a=require("../../theme.js"),f=require("./DayPickerNavBar.js"),t=require("./localeUtils.js"),y=require("./style.js");function l(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}require("../Icons/Arrow.js"),require("../../typography/BodyText/index.js"),require("../../shared/media-queries.js");var r=l(d),m=l(s);const E=l(n).default.div`
|
|
2
|
+
${y.default}
|
|
3
3
|
|
|
4
|
-
font-family: ${({theme:
|
|
5
|
-
`,
|
|
4
|
+
font-family: ${({theme:e})=>e.typography.fontAlternativeFamily};
|
|
5
|
+
`,q=e=>({selected:{color:a.default.colors.text.light,background:a.default.colors[e].main},today:{color:a.default.colors[e].main}}),i=({locale:e="sv",color:o="primary",...u})=>r.default.createElement(E,{color:o},r.default.createElement(m.default,{...u,locale:e,months:t.MONTHS[e],weekdaysLong:t.WEEKDAYS_LONG[e],weekdaysShort:t.WEEKDAYS_SHORT[e],firstDayOfWeek:t.FIRST_DAY_OF_THE_WEEK[e],navbarElement:c=>r.default.createElement(f.default,{...c,locale:e}),captionElement:r.default.createElement("div",null),modifiersStyles:q(o)}));exports.DayPicker=i,exports.default=i;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const r={sv:["Januari","Februari","Mars","April","Maj","Juni","Juli","Augusti","September","Oktober","November","December"],en:["January","February","March","April","May","June","July","August","September","October","November","December"]};exports.FIRST_DAY_OF_THE_WEEK={sv:1,en:1},exports.MONTHS=r,exports.WEEKDAYS_LONG={sv:["S\xF6ndag","M\xE5ndag","Tisdag","Onsdag","Torsdag","Fredag","L\xF6rdag"],en:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},exports.WEEKDAYS_SHORT={sv:["S\xF6","M\xE5","Ti","On","To","Fr","L\xF6"],en:["Su","Mo","Tu","We","Th","Fr","Sa"]},exports.formatMonthTitle=(e,a="sv")=>`${r[a][e.getMonth()]} ${e.getFullYear()}`;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var o=require("styled-components").css`
|
|
2
2
|
/* DayPicker styles */
|
|
3
3
|
|
|
4
4
|
abbr {
|
|
5
5
|
font-weight: 500;
|
|
6
|
-
color: ${({theme:
|
|
6
|
+
color: ${({theme:e})=>e.colors.text.dark};
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
.DayPicker {
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
background-position: center;
|
|
56
56
|
background-size: 50%;
|
|
57
57
|
background-repeat: no-repeat;
|
|
58
|
-
color: ${({theme:
|
|
58
|
+
color: ${({theme:e})=>e.colors.gray.light1};
|
|
59
59
|
cursor: pointer;
|
|
60
60
|
}
|
|
61
61
|
|
|
@@ -100,11 +100,11 @@
|
|
|
100
100
|
}
|
|
101
101
|
|
|
102
102
|
.DayPicker-Weekday {
|
|
103
|
-
color: ${({theme:
|
|
103
|
+
color: ${({theme:e})=>e.colors.gray.light1};
|
|
104
104
|
width: 35px;
|
|
105
105
|
display: table-cell;
|
|
106
106
|
padding: 0.5em;
|
|
107
|
-
color: ${({theme:
|
|
107
|
+
color: ${({theme:e})=>e.colors.gray.light1};
|
|
108
108
|
text-align: center;
|
|
109
109
|
font-size: 0.875em;
|
|
110
110
|
}
|
|
@@ -132,11 +132,11 @@
|
|
|
132
132
|
padding: 0;
|
|
133
133
|
border: 0px solid transparent;
|
|
134
134
|
font-size: 12px;
|
|
135
|
-
font-weight: ${({theme:
|
|
136
|
-
color: ${({theme:
|
|
135
|
+
font-weight: ${({theme:e})=>e.typography.fontAlternativeBoldWeight};
|
|
136
|
+
color: ${({theme:e})=>e.colors.text.dark};
|
|
137
137
|
|
|
138
138
|
:hover {
|
|
139
|
-
background-color: ${({theme:
|
|
139
|
+
background-color: ${({theme:e})=>e.colors.info.lighter2};
|
|
140
140
|
}
|
|
141
141
|
|
|
142
142
|
:focus {
|
|
@@ -150,8 +150,8 @@
|
|
|
150
150
|
display: table-cell;
|
|
151
151
|
padding: 0.5em;
|
|
152
152
|
min-width: 1em;
|
|
153
|
-
border-right: 1px solid ${({theme:
|
|
154
|
-
color: ${({theme:
|
|
153
|
+
border-right: 1px solid ${({theme:e})=>e.colors.gray.light5};
|
|
154
|
+
color: ${({theme:e})=>e.colors.gray.light5};
|
|
155
155
|
vertical-align: middle;
|
|
156
156
|
text-align: right;
|
|
157
157
|
font-size: 0.75em;
|
|
@@ -171,7 +171,7 @@
|
|
|
171
171
|
background-color: transparent;
|
|
172
172
|
background-image: none;
|
|
173
173
|
box-shadow: none;
|
|
174
|
-
color: ${({theme:
|
|
174
|
+
color: ${({theme:e})=>e.colors.info.main};
|
|
175
175
|
font-size: 0.875em;
|
|
176
176
|
cursor: pointer;
|
|
177
177
|
}
|
|
@@ -179,12 +179,12 @@
|
|
|
179
179
|
/* Default modifiers */
|
|
180
180
|
|
|
181
181
|
.DayPicker-Day--outside {
|
|
182
|
-
color: ${({theme:
|
|
182
|
+
color: ${({theme:e})=>e.colors.gray.light2} !important;
|
|
183
183
|
cursor: default;
|
|
184
184
|
}
|
|
185
185
|
|
|
186
186
|
.DayPicker-Day--disabled {
|
|
187
|
-
color: ${({theme:
|
|
187
|
+
color: ${({theme:e})=>e.colors.text.disabled} !important;
|
|
188
188
|
cursor: default;
|
|
189
189
|
|
|
190
190
|
:hover {
|
|
@@ -193,37 +193,37 @@
|
|
|
193
193
|
}
|
|
194
194
|
|
|
195
195
|
.DayPicker-Day--selected {
|
|
196
|
-
color: ${({theme:
|
|
196
|
+
color: ${({theme:e})=>e.colors.text.light};
|
|
197
197
|
}
|
|
198
198
|
|
|
199
199
|
/* Example modifiers */
|
|
200
200
|
|
|
201
201
|
.DayPicker-Day--sunday {
|
|
202
|
-
background-color: ${({theme:
|
|
202
|
+
background-color: ${({theme:e})=>e.colors.gray.light6};
|
|
203
203
|
}
|
|
204
204
|
|
|
205
205
|
.DayPicker-Day--selected.DayPicker-Day--today {
|
|
206
|
-
color: ${({theme:
|
|
206
|
+
color: ${({theme:e})=>e.colors.text.light} !important;
|
|
207
207
|
}
|
|
208
208
|
|
|
209
209
|
.DayPicker-Day--sunday:not(.DayPicker-Day--today) {
|
|
210
|
-
color: ${({theme:
|
|
210
|
+
color: ${({theme:e})=>e.colors.gray.light5};
|
|
211
211
|
}
|
|
212
212
|
|
|
213
213
|
.DayPicker-Day--selected:not(.DayPicker-Day--disabled):not(.DayPicker-Day--outside) {
|
|
214
214
|
position: relative;
|
|
215
215
|
|
|
216
|
-
background-color: ${({theme:
|
|
217
|
-
color: ${({theme:
|
|
216
|
+
background-color: ${({theme:e})=>e.colors.info.main};
|
|
217
|
+
color: ${({theme:e})=>e.colors.gray.light6};
|
|
218
218
|
}
|
|
219
219
|
|
|
220
220
|
.DayPicker-Day--selected:not(.DayPicker-Day--disabled):not(.DayPicker-Day--outside):hover {
|
|
221
|
-
background-color: ${({theme:
|
|
221
|
+
background-color: ${({theme:e})=>e.colors.info.main};
|
|
222
222
|
}
|
|
223
223
|
|
|
224
224
|
.DayPicker:not(.DayPicker--interactionDisabled)
|
|
225
225
|
.DayPicker-Day:not(.DayPicker-Day--disabled):not(.DayPicker-Day--selected):not(.DayPicker-Day--outside):hover {
|
|
226
|
-
background-color: ${({theme:
|
|
226
|
+
background-color: ${({theme:e})=>e.colors.info.lighter2};
|
|
227
227
|
}
|
|
228
228
|
|
|
229
229
|
/* DayPickerInput */
|
|
@@ -240,7 +240,7 @@
|
|
|
240
240
|
position: absolute;
|
|
241
241
|
left: 0;
|
|
242
242
|
z-index: 1;
|
|
243
|
-
background: ${({theme:
|
|
243
|
+
background: ${({theme:e})=>e.colors.background.light};
|
|
244
244
|
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
|
|
245
245
|
}
|
|
246
|
-
`;exports.default=
|
|
246
|
+
`;exports.default=o;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var
|
|
2
|
-
font-weight: ${
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var c=require("react"),p=require("styled-components"),h=require("../Modal/index.js"),g=require("../../theme.js"),y=require("../../typography/Heading/index.js");function i(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}require("react-dom"),require("react-transition-group"),require("../Icons/Close.js"),require("../../shared/media-queries.js");var t=i(c),n=i(p);const m=n.default(y.TinyTitleBold)`
|
|
2
|
+
font-weight: ${g.default.typography.fontAlternativeRegularWeight};
|
|
3
3
|
margin: 0;
|
|
4
|
-
`,
|
|
4
|
+
`,q=n.default.div`
|
|
5
5
|
display: flex;
|
|
6
6
|
justify-content: flex-end;
|
|
7
7
|
gap: 1rem;
|
|
8
8
|
overflow-x: hidden;
|
|
9
|
-
`,
|
|
9
|
+
`,a=({isOpen:e,title:r,children:o,actions:l,onClose:u,withPortal:d,withCloseIcon:s=!0,...f})=>t.default.createElement(h.Modal,{onClose:u,withPortal:d,isOpen:e,withCloseIcon:s,...f},typeof r=="string"?t.default.createElement(m,null,r):r,t.default.createElement("div",null,o),l&&t.default.createElement(q,null,l));exports.Dialog=a,exports.default=a;
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var o=require("react"),z=require("styled-components"),j=require("../../theme.js"),E=require("../../typography/BodyText/index.js"),x=require("../Button/index.js"),A=require("../Chip/index.js"),G=require("../Textfield/index.js");function b(n){return n&&typeof n=="object"&&"default"in n?n:{default:n}}require("../../shared/media-queries.js"),require("../Spinner/index.js"),require("../../typography/ButtonText/index.js"),require("../Button/styles.js"),require("../../icons/components/CloseIcon.js"),require("../Chip/styles.js"),require("../FieldLabel.js"),require("../../shared/helpers.js");var e=b(o),l=b(z);const H=l.default.div`
|
|
2
2
|
display: flex;
|
|
3
|
-
border-bottom: 1px solid ${
|
|
4
|
-
`,
|
|
3
|
+
border-bottom: 1px solid ${j.default.colors.gray.light5};
|
|
4
|
+
`,J=l.default.form`
|
|
5
5
|
flex: 1;
|
|
6
6
|
flex-direction: column;
|
|
7
7
|
margin-bottom: 1rem;
|
|
8
|
-
`,
|
|
8
|
+
`,K=l.default(G.TextField)`
|
|
9
9
|
max-width: 20rem;
|
|
10
|
-
`,
|
|
10
|
+
`,N=l.default.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=l.default(x.Button)`
|
|
17
17
|
min-width: 5rem;
|
|
18
|
-
`,
|
|
18
|
+
`,R=l.default(x.Button)`
|
|
19
19
|
min-width: 5rem;
|
|
20
20
|
margin-right: 1rem;
|
|
21
|
-
`,
|
|
21
|
+
`,q=l.default(E.BodyLink)`
|
|
22
22
|
flex: 1;
|
|
23
23
|
margin-right: 1rem;
|
|
24
|
-
`,
|
|
24
|
+
`,C=l.default(E.BodyText)`
|
|
25
25
|
flex: 1rem;
|
|
26
26
|
flex: 4;
|
|
27
|
-
`,
|
|
28
|
-
color: ${
|
|
29
|
-
`,
|
|
27
|
+
`,U=l.default(C)`
|
|
28
|
+
color: ${j.default.colors.text.disabled};
|
|
29
|
+
`,W=l.default.div`
|
|
30
30
|
display: flex;
|
|
31
31
|
flex-wrap: wrap;
|
|
32
|
-
`,
|
|
32
|
+
`,X=l.default(A.Chip)`
|
|
33
33
|
margin: 0.5rem;
|
|
34
|
-
`;exports.default=({value:
|
|
34
|
+
`;exports.default=({value:n,label:s,onChange:y,onEdit:f,options:B=[],inputProps:w={},isClearable:T=!1,isEditionDisabled:k=!1,editText:F,saveText:D,cancelText:S,noValueText:L,formatterFunc:c,isSingleSelect:P,color:m="secondary"})=>{const[t,a]=o.useState(n),[_,$]=o.useState(n),[i,h]=o.useState(!1),d=typeof t=="string",I=c&&d?c==null?void 0:c(t):t,M=d?I:t.join(", "),g=t.length>0;o.useEffect(()=>f==null?void 0:f(i),[f,i]);const v=()=>{i?a(_):$(t),h(r=>!r)};return e.default.createElement(H,null,!i&&e.default.createElement(e.default.Fragment,null,e.default.createElement(q,null,s),g&&e.default.createElement(C,null,M),!g&&e.default.createElement(U,null,L),e.default.createElement(x.Button,{variant:"flat",color:m,onClick:v,isDisabled:k},F)),i&&e.default.createElement(J,{onSubmit:r=>{r.preventDefault(),y==null||y(t),h(!1)}},e.default.createElement(q,null,s),d&&e.default.createElement(K,{...w,autoFocus:!0,value:t,label:s,onChange:r=>a(r.target.value)}),!d&&e.default.createElement(W,null,B.map(r=>e.default.createElement(X,{color:m,onClick:O=>{O.preventDefault(),(u=>{if(typeof t!="object")throw new Error("Cannot toggle chip on other than array");if(P)return t.includes(u)&&T?void a([]):void a([u]);if(t.includes(u)){const p=t.filter(V=>V!==u);a(p)}else a(p=>[...p,u])})(r)},key:r,variant:t.includes(r)?"solid":"outline"},r))),e.default.createElement(N,null,e.default.createElement(R,{type:"button",variant:"flat",color:"neutral",onClick:v},S),e.default.createElement(Q,{type:"submit",color:m},D))))};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var
|
|
2
|
-
font-family: ${({theme:
|
|
3
|
-
font-weight: ${({theme:
|
|
4
|
-
background: ${({theme:
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var o=require("react"),i=require("styled-components");function t(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}var d=t(o);const l=t(i).default.div`
|
|
2
|
+
font-family: ${({theme:e})=>e.typography.fontAlternativeFamily};
|
|
3
|
+
font-weight: ${({theme:e})=>e.typography.fontAlternativeRegularWeight};
|
|
4
|
+
background: ${({theme:e})=>e.colors.error.main};
|
|
5
5
|
color: white;
|
|
6
6
|
border-radius: 0.25rem;
|
|
7
7
|
font-size: 13px;
|
|
8
8
|
padding: 10px;
|
|
9
|
-
${({centered:
|
|
10
|
-
`,
|
|
9
|
+
${({centered:e})=>e&&"text-align: center;"}
|
|
10
|
+
`,r=({children:e,centered:n,...a})=>d.default.createElement(l,{centered:n,...a},e);exports.ErrorMessage=r,exports.default=r;
|
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var
|
|
2
|
-
color: ${({theme:
|
|
3
|
-
`,
|
|
4
|
-
color: ${({theme:
|
|
5
|
-
background-color: ${({theme:
|
|
6
|
-
`,
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var o=require("styled-components"),n=require("../typography/BodyText/index.js");function d(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}require("react"),require("../shared/media-queries.js");var h=d(o);const a="0.5rem",u=o.css`
|
|
2
|
+
color: ${({theme:e,hasError:r})=>r?e.colors.error.dark:e.colors.text.dark};
|
|
3
|
+
`,m=o.css`
|
|
4
|
+
color: ${({theme:e})=>e.colors.gray.light1};
|
|
5
|
+
background-color: ${({theme:e})=>e.colors.background.light};
|
|
6
|
+
`,g=o.css`
|
|
7
7
|
width: max-content;
|
|
8
8
|
left: 0;
|
|
9
9
|
right: 0;
|
|
10
10
|
margin-right: auto;
|
|
11
11
|
margin-left: auto;
|
|
12
|
-
|
|
13
|
-
${
|
|
12
|
+
`,$=h.default.label`
|
|
13
|
+
${n.BodyTextStyle}
|
|
14
14
|
pointer-events: none;
|
|
15
15
|
position: absolute;
|
|
16
16
|
max-width: calc(100% - 2rem);
|
|
17
17
|
z-index: 1;
|
|
18
|
-
top: ${({height:
|
|
18
|
+
top: ${({height:e})=>e?`${e}rem`:"0.75rem"};
|
|
19
19
|
left: calc(0.75rem + 2px);
|
|
20
20
|
transition: 150ms;
|
|
21
|
-
color: ${({theme:
|
|
21
|
+
color: ${({theme:e})=>e.colors.gray.dark5};
|
|
22
22
|
overflow: hidden;
|
|
23
23
|
white-space: nowrap;
|
|
24
24
|
text-overflow: ellipsis;
|
|
25
25
|
|
|
26
|
-
${({hasValue:
|
|
27
|
-
background-color: ${({theme:
|
|
28
|
-
transform: translateY(${
|
|
26
|
+
${({hasValue:e,isFocused:r,height:s=.7,hasError:l})=>(e||r)&&((i,c)=>o.css`
|
|
27
|
+
background-color: ${({theme:t})=>t.colors.background.light};
|
|
28
|
+
transform: translateY(${i});
|
|
29
29
|
line-height: 0.875rem;
|
|
30
30
|
font-size: 0.75rem;
|
|
31
31
|
transform-origin: 0 0;
|
|
32
|
-
padding: 0 ${
|
|
33
|
-
left: ${
|
|
34
|
-
color: ${({theme:
|
|
35
|
-
`)(`-${
|
|
36
|
-
${({centered:
|
|
37
|
-
${({isFocused:
|
|
38
|
-
${({disabled:
|
|
39
|
-
`;exports.Label
|
|
32
|
+
padding: 0 ${a};
|
|
33
|
+
left: ${a};
|
|
34
|
+
color: ${({theme:t})=>c?t.colors.error.dark:t.colors.text.dark};
|
|
35
|
+
`)(`-${s+.4}rem`,l)}
|
|
36
|
+
${({centered:e,hasValue:r,isFocused:s})=>(r||s)&&e&&g}
|
|
37
|
+
${({isFocused:e})=>e&&u}
|
|
38
|
+
${({disabled:e})=>e&&m}
|
|
39
|
+
`;exports.Label=$;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var h=require("react"),n=require("styled-components"),j=require("../../shared/media-queries.js");function g(r){return r&&typeof r=="object"&&"default"in r?r:{default:r}}var x=g(h);const w="center",f=(r,e)=>e!=="gap"&&e!=="row-gap"||typeof r!="number"?r:`${r}rem`,q=g(n).default.div(({$direction:r,$justify:e,$align:i,$gap:a,$rowGap:o,$wrap:l,$basis:u,$grow:$,$shrink:c})=>n.css`
|
|
2
2
|
display: flex;
|
|
3
3
|
|
|
4
|
-
${
|
|
4
|
+
${r&&["column","column-reverse"].includes(String(r))&&n.css`
|
|
5
5
|
& > * {
|
|
6
6
|
width: 100%;
|
|
7
7
|
}
|
|
8
8
|
`}
|
|
9
9
|
|
|
10
|
-
${[[
|
|
11
|
-
${
|
|
12
|
-
`;if(typeof
|
|
13
|
-
${
|
|
14
|
-
`),Object.entries(
|
|
15
|
-
${
|
|
16
|
-
${
|
|
10
|
+
${[[r,"flex-direction"],[e,"justify-content"],[i,"align-items"],[a,"gap"],[o,"row-gap"],[o,"row-gap"],[l,"flex-wrap"],[u,"flex-basis"],[$,"flex-grow"],[c,"flex-shrink"]].map(([s,t])=>{if(typeof s=="string"||typeof s=="number")return n.css`
|
|
11
|
+
${t}: ${f(s,t)};
|
|
12
|
+
`;if(typeof s=="object"){const p=[],{initial:d,...m}=s;return d&&p.push(n.css`
|
|
13
|
+
${t}: ${f(d,t)};
|
|
14
|
+
`),Object.entries(m).forEach(([y,b])=>{p.push(n.css`
|
|
15
|
+
${j.mq(y)} {
|
|
16
|
+
${t}: ${f(b,t)};
|
|
17
17
|
}
|
|
18
|
-
`)}),
|
|
19
|
-
`);exports.default=({direction:
|
|
18
|
+
`)}),p}return""})}
|
|
19
|
+
`);exports.default=({direction:r,justify:e,align:i,gap:a,rowGap:o,wrap:l,basis:u,grow:$,shrink:c,...s})=>x.default.createElement(q,{$direction:r??"row",$justify:e??w,$align:i??w,$gap:a??"1rem",$rowGap:o,$wrap:l,$basis:u,$grow:$,$shrink:c,...s});
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var M=require("react"),f=require("styled-components"),p=require("../../typography/Heading/index.js"),s=require("../../shared/media-queries.js");function g(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}var a=g(M),r=g(f);const G=r.default.div`
|
|
2
2
|
position: relative;
|
|
3
3
|
min-height: 440px;
|
|
4
4
|
display: flex;
|
|
5
5
|
flex-direction: column;
|
|
6
|
-
`,
|
|
6
|
+
`,h=f.keyframes`
|
|
7
7
|
0% {
|
|
8
8
|
background-color:#f5f5f5;
|
|
9
9
|
}
|
|
@@ -14,86 +14,86 @@
|
|
|
14
14
|
|
|
15
15
|
100% {
|
|
16
16
|
background-color:#f5f5f5;
|
|
17
|
-
}`,
|
|
17
|
+
}`,X=r.default.div`
|
|
18
18
|
width: 100%;
|
|
19
19
|
height: 440px;
|
|
20
|
-
animation: ${
|
|
21
|
-
`,
|
|
22
|
-
pointer-events: ${({$pointerEvents:
|
|
20
|
+
animation: ${h} 2s linear infinite;
|
|
21
|
+
`,Y=r.default.div`
|
|
22
|
+
pointer-events: ${({$pointerEvents:e})=>e};
|
|
23
23
|
display: flex;
|
|
24
|
-
flex-direction: ${({$direction:
|
|
25
|
-
align-items: ${({$align:
|
|
26
|
-
justify-content: ${({$justify:
|
|
24
|
+
flex-direction: ${({$direction:e})=>e};
|
|
25
|
+
align-items: ${({$align:e})=>e};
|
|
26
|
+
justify-content: ${({$justify:e})=>e};
|
|
27
27
|
padding: 3rem 1.5rem;
|
|
28
28
|
z-index: 1;
|
|
29
29
|
flex: 1;
|
|
30
|
-
`,
|
|
30
|
+
`,_=r.default.iframe`
|
|
31
31
|
position: absolute;
|
|
32
32
|
width: 100%;
|
|
33
33
|
height: 100%;
|
|
34
34
|
top: 0;
|
|
35
35
|
left: 0;
|
|
36
|
-
|
|
36
|
+
`,o=e=>typeof e=="number",x=e=>typeof e=="string",A=r.default.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:
|
|
44
|
-
background: url('${
|
|
43
|
+
${({$url:e,...t})=>e&&`
|
|
44
|
+
background: url('${e}');
|
|
45
45
|
background-repeat: no-repeat;
|
|
46
46
|
background-size: cover;
|
|
47
|
-
background-position: ${(({$positionX:
|
|
47
|
+
background-position: ${(({$positionX:n,$positionY:i})=>o(n)&&o(i)?`${n}% ${i}%`:x(n)&&x(i)?`${n} ${i}`:n||i?`${(o(n)?`${n}%`:n)||"50%"} ${(o(i)?`${i}%`:i)||"50%"}`:"50% 50%")(t)};
|
|
48
48
|
`}
|
|
49
|
-
`,
|
|
49
|
+
`,B=r.default.div`
|
|
50
50
|
padding-left: 1rem;
|
|
51
51
|
padding-right: 1rem;
|
|
52
52
|
z-index: 2;
|
|
53
53
|
|
|
54
|
-
${
|
|
54
|
+
${s.mq("tablet")} {
|
|
55
55
|
padding-left: 1.5rem;
|
|
56
56
|
padding-right: 1.5rem;
|
|
57
57
|
}
|
|
58
|
-
`,
|
|
59
|
-
${({$centered:
|
|
58
|
+
`,D=r.default.div`
|
|
59
|
+
${({$centered:e})=>e&&`
|
|
60
60
|
display: flex;
|
|
61
61
|
flex-direction: column;
|
|
62
62
|
align-items: center;
|
|
63
63
|
text-align: center;
|
|
64
64
|
`}
|
|
65
65
|
|
|
66
|
-
${({$maxWidth:
|
|
66
|
+
${({$maxWidth:e,$dynamicGutter:t})=>!t&&`
|
|
67
67
|
width: 100%;
|
|
68
68
|
margin-left: auto;
|
|
69
69
|
margin-right: auto;
|
|
70
|
-
max-width: ${
|
|
70
|
+
max-width: ${e}rem;
|
|
71
71
|
`}
|
|
72
72
|
|
|
73
|
-
${({$dynamicGutter:
|
|
74
|
-
${
|
|
75
|
-
margin-left: ${
|
|
76
|
-
margin-right: ${
|
|
73
|
+
${({$dynamicGutter:e})=>e&&`
|
|
74
|
+
${s.mq("tablet")} {
|
|
75
|
+
margin-left: ${e.tabletVw}vw;
|
|
76
|
+
margin-right: ${e.tabletVw}vw;
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
-
${
|
|
80
|
-
margin-left: ${
|
|
81
|
-
margin-right: ${
|
|
79
|
+
${s.mq("laptop")} {
|
|
80
|
+
margin-left: ${e.laptopVw}vw;
|
|
81
|
+
margin-right: ${e.laptopVw}vw;
|
|
82
82
|
}
|
|
83
83
|
`}
|
|
84
|
-
`,
|
|
84
|
+
`,F=r.default(p.Display3)`
|
|
85
85
|
margin: 0;
|
|
86
|
-
color: ${({$color:
|
|
86
|
+
color: ${({$color:e,theme:t})=>t.colors.text[e]};
|
|
87
87
|
|
|
88
|
-
${({$shadow:
|
|
89
|
-
`,
|
|
88
|
+
${({$shadow:e})=>e&&"text-shadow: 4px 4px 6px rgba(0, 0, 0, 0.2);"}
|
|
89
|
+
`,H=r.default(p.Title)`
|
|
90
90
|
margin: 0.25rem 0;
|
|
91
|
-
color: ${({$color:
|
|
91
|
+
color: ${({$color:e,theme:t})=>t.colors.text[e]};
|
|
92
92
|
|
|
93
|
-
${({$shadow:
|
|
94
|
-
`,
|
|
93
|
+
${({$shadow:e})=>e&&"text-shadow: 4px 4px 6px rgba(0, 0, 0, 0.2);"}
|
|
94
|
+
`,L=r.default.div`
|
|
95
95
|
display: inline-block;
|
|
96
96
|
margin-top: 3rem;
|
|
97
97
|
|
|
98
|
-
${({$shadow:
|
|
99
|
-
`;exports.colorAnimation=
|
|
98
|
+
${({$shadow:e,theme:t})=>e&&`box-shadow: ${t.elevations.elevation8};`}
|
|
99
|
+
`;exports.colorAnimation=h,exports.default=({imageProps:e,imageElement:t,videoProps:n,children:i,align:y,direction:w,justify:b,contentMaxWidth:v=64,heading:l,headingColor:$="dark",subheading:d,button:u,dynamicGutter:E,isLoading:k=!1,contentCentered:j=!1,containerStyle:q,elementShadow:c=!1})=>{const{autoplay:V=0,controls:z=0,disablekb:C=0,end:m,loop:P=0,modestbranding:S=1,start:W=0,showInfo:I=0}=(n==null?void 0:n.ytConfig)||{};return k?a.default.createElement(X,{"data-testid":"loader"}):a.default.createElement(G,{style:q},n?a.default.createElement(_,{"data-testid":"hero-video",title:"video-frame",src:`${n.src}?disabledkb=${C}&autoplay=${V}&controls=${z}&loop=${P}&modestbranding=${S}&start=${W}&showInfo=${I}${m?`&end=${m}`:""}`,width:"100%",height:"100%",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0}):a.default.createElement(A,{"data-testid":"hero-image",$positionX:t||e==null?void 0:e.x,$positionY:t||e==null?void 0:e.y,$url:t||e==null?void 0:e.src},t,a.default.createElement(B,null,(l||d||u)&&a.default.createElement(D,{$maxWidth:v,$dynamicGutter:E,$centered:j},l&&a.default.createElement(F,{as:"h1",$color:$,$shadow:c},l),d&&a.default.createElement(H,{$color:$,$shadow:c},d),u&&a.default.createElement(L,{$shadow:c},u)),i&&a.default.createElement(Y,{$pointerEvents:n?"none":"auto",$align:y||"flex-start",$direction:w||"column",$justify:b||"flex-start"},i))))};
|