@kvdbil/components 14.2.4 → 14.2.6
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,60 +1,60 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var d=require("react"),t=require("styled-components"),g=require("../../shared/media-queries.js");function o(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}var $=o(d),i=o(t);const a=t.css`
|
|
2
2
|
font-feature-settings: 'lnum' on;
|
|
3
|
-
`,
|
|
4
|
-
font-family: ${({theme:
|
|
5
|
-
${n}
|
|
6
|
-
`,l=t.css`
|
|
3
|
+
`,s=t.css`
|
|
4
|
+
font-family: ${({theme:e})=>e.typography.fontBaseFamily};
|
|
7
5
|
${a}
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
${
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
${
|
|
6
|
+
`,n=t.css`
|
|
7
|
+
${s}
|
|
8
|
+
font-weight: ${({theme:e})=>e.typography.fontBaseRegularWeight};
|
|
9
|
+
`,r=t.css`
|
|
10
|
+
${s}
|
|
11
|
+
font-weight: ${({theme:e})=>e.typography.fontBaseBoldWeight};
|
|
12
|
+
`,l=t.css`
|
|
13
|
+
${n}
|
|
14
14
|
font-size: 1rem;
|
|
15
15
|
line-height: 1.5rem;
|
|
16
|
-
`,
|
|
17
|
-
${
|
|
16
|
+
`,f=t.css`
|
|
17
|
+
${n}
|
|
18
18
|
font-size: 0.75rem;
|
|
19
19
|
line-height: 1.5rem;
|
|
20
|
-
`,
|
|
21
|
-
${
|
|
22
|
-
`,
|
|
20
|
+
`,c=i.default.p`
|
|
21
|
+
${n}
|
|
22
|
+
`,m=t.css`
|
|
23
23
|
font-family: Georgia, Cambria, Cochin, Times, 'Times New Roman', serif;
|
|
24
24
|
font-style: italic;
|
|
25
|
-
font-weight: ${({theme:
|
|
25
|
+
font-weight: ${({theme:e})=>e.typography.fontBaseRegularWeight};
|
|
26
26
|
font-size: 1rem;
|
|
27
27
|
line-height: 1.5rem;
|
|
28
|
-
${
|
|
29
|
-
`,
|
|
30
|
-
${
|
|
31
|
-
`,
|
|
32
|
-
${
|
|
33
|
-
`,
|
|
34
|
-
${
|
|
28
|
+
${a}
|
|
29
|
+
`,B=i.default.p`
|
|
30
|
+
${m}
|
|
31
|
+
`,S=i.default.p`
|
|
32
|
+
${l}
|
|
33
|
+
`,h=t.css`
|
|
34
|
+
${r}
|
|
35
35
|
font-size: 1rem;
|
|
36
36
|
line-height: 1.5rem;
|
|
37
|
-
|
|
38
|
-
${
|
|
39
|
-
`,
|
|
40
|
-
${
|
|
41
|
-
`,
|
|
42
|
-
${
|
|
37
|
+
`,z=i.default.p`
|
|
38
|
+
${h}
|
|
39
|
+
`,v=i.default.p`
|
|
40
|
+
${f}
|
|
41
|
+
`,y=t.css`
|
|
42
|
+
${r}
|
|
43
43
|
font-size: 0.75rem;
|
|
44
44
|
line-height: 1.5rem;
|
|
45
|
-
`,
|
|
46
|
-
${
|
|
47
|
-
`,
|
|
48
|
-
font-family: ${({theme:
|
|
49
|
-
font-weight: ${({theme:
|
|
45
|
+
`,x=i.default.p`
|
|
46
|
+
${y}
|
|
47
|
+
`,u=t.css`
|
|
48
|
+
font-family: ${({theme:e})=>e.typography.fontAlternativeFamily};
|
|
49
|
+
font-weight: ${({theme:e})=>e.typography.fontAlternativeBoldWeight};
|
|
50
50
|
font-size: 1rem;
|
|
51
51
|
line-height: 1.5rem;
|
|
52
52
|
text-transform: uppercase;
|
|
53
53
|
font-feature-settings: 'lnum' on;
|
|
54
54
|
|
|
55
|
-
${
|
|
55
|
+
${g.mq("laptop")} {
|
|
56
56
|
font-size: 0.75rem;
|
|
57
57
|
}
|
|
58
|
-
`,
|
|
59
|
-
${
|
|
60
|
-
`,
|
|
58
|
+
`,C=i.default.p`
|
|
59
|
+
${u}
|
|
60
|
+
`,p=()=>$.default.createElement("div",null);exports.BodyLink=z,exports.BodyLinkStyle=h,exports.BodyText=S,exports.BodyTextStyle=l,exports.BodyTexts=p,exports.Caption=v,exports.CaptionLink=x,exports.CaptionLinkStyle=y,exports.CaptionStyle=f,exports.Quote=B,exports.QuoteStyle=m,exports.Status=C,exports.StatusStyle=u,exports.StyledBodyText=c,exports.default=p;
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var
|
|
2
|
-
font-family: ${({theme:
|
|
3
|
-
font-weight: ${({theme:
|
|
4
|
-
`,
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var c=require("react"),e=require("styled-components");function o(t){return t&&typeof t=="object"&&"default"in t?t:{default:t}}var y=o(c),l=o(e);const n=e.css`
|
|
2
|
+
font-family: ${({theme:t})=>t.typography.fontAlternativeFamily};
|
|
3
|
+
font-weight: ${({theme:t})=>t.typography.fontAlternativeBoldWeight};
|
|
4
|
+
`,a=e.css`
|
|
5
5
|
font-size: 1.25rem;
|
|
6
6
|
line-height: 1.25rem;
|
|
7
|
-
`,
|
|
8
|
-
${
|
|
9
|
-
${l}
|
|
10
|
-
`,u=n.default.span`
|
|
7
|
+
`,r=e.css`
|
|
8
|
+
${n}
|
|
11
9
|
${a}
|
|
12
|
-
`,
|
|
10
|
+
`,m=l.default.span`
|
|
11
|
+
${r}
|
|
12
|
+
`,s=e.css`
|
|
13
13
|
font-size: 1rem;
|
|
14
14
|
line-height: 1rem;
|
|
15
|
-
`,
|
|
15
|
+
`,u=e.css`
|
|
16
|
+
${n}
|
|
16
17
|
${s}
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
`,c=e.css`
|
|
18
|
+
`,d=l.default.span`
|
|
19
|
+
${u}
|
|
20
|
+
`,i=e.css`
|
|
21
21
|
font-size: 0.75rem;
|
|
22
22
|
line-height: 0.75rem;
|
|
23
|
-
`,
|
|
24
|
-
${
|
|
25
|
-
${
|
|
26
|
-
`,
|
|
27
|
-
${
|
|
28
|
-
`;exports.BasicButtonFontStyle=
|
|
23
|
+
`,f=e.css`
|
|
24
|
+
${n}
|
|
25
|
+
${i}
|
|
26
|
+
`,g=l.default.span`
|
|
27
|
+
${f}
|
|
28
|
+
`;exports.BasicButtonFontStyle=n,exports.Button=d,exports.ButtonLarge=m,exports.ButtonLargeFontStyle=a,exports.ButtonLargeTextStyle=r,exports.ButtonRegularFontStyle=s,exports.ButtonRegularTextStyle=u,exports.ButtonSmall=g,exports.ButtonSmallFontStyle=i,exports.ButtonSmallTextStyle=f,exports.default=()=>y.default.createElement("div",null);
|
|
@@ -1,86 +1,86 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var
|
|
2
|
-
font-family: ${({theme:
|
|
3
|
-
font-weight: ${({theme:
|
|
4
|
-
`,
|
|
5
|
-
${
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var u=require("react"),t=require("styled-components"),l=require("../../shared/media-queries.js");function a(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}var d=a(u),i=a(t);const n=t.css`
|
|
2
|
+
font-family: ${({theme:e})=>e.typography.fontAlternativeFamily};
|
|
3
|
+
font-weight: ${({theme:e})=>e.typography.fontAlternativeBoldWeight};
|
|
4
|
+
`,o=t.css`
|
|
5
|
+
${n}
|
|
6
6
|
font-size: 2.5rem;
|
|
7
7
|
line-height: 3rem;
|
|
8
8
|
|
|
9
|
-
${
|
|
9
|
+
${l.mq("laptop")} {
|
|
10
10
|
font-size: 4rem;
|
|
11
11
|
line-height: 4.5rem;
|
|
12
12
|
}
|
|
13
|
-
`,
|
|
13
|
+
`,c=i.default.p`
|
|
14
|
+
${o}
|
|
15
|
+
`,s=t.css`
|
|
14
16
|
${n}
|
|
15
|
-
`,a=t.css`
|
|
16
|
-
${s}
|
|
17
17
|
font-size: 2rem;
|
|
18
18
|
line-height: 2.5rem;
|
|
19
19
|
|
|
20
|
-
${
|
|
20
|
+
${l.mq("laptop")} {
|
|
21
21
|
font-size: 3rem;
|
|
22
22
|
line-height: 4rem;
|
|
23
23
|
}
|
|
24
|
-
`,
|
|
25
|
-
${a}
|
|
26
|
-
`,m=t.css`
|
|
24
|
+
`,z=i.default.p`
|
|
27
25
|
${s}
|
|
26
|
+
`,h=t.css`
|
|
27
|
+
${n}
|
|
28
28
|
font-size: 1.75rem;
|
|
29
29
|
line-height: 2.5rem;
|
|
30
30
|
|
|
31
|
-
${
|
|
31
|
+
${l.mq("laptop")} {
|
|
32
32
|
font-size: 2.5rem;
|
|
33
33
|
line-height: 3.5rem;
|
|
34
34
|
}
|
|
35
|
-
`,
|
|
36
|
-
${
|
|
37
|
-
`,
|
|
38
|
-
font-family: ${({theme:
|
|
39
|
-
font-weight: ${({theme:
|
|
40
|
-
`,
|
|
41
|
-
${
|
|
35
|
+
`,v=i.default.p`
|
|
36
|
+
${h}
|
|
37
|
+
`,r=t.css`
|
|
38
|
+
font-family: ${({theme:e})=>e.typography.fontAlternativeFamily};
|
|
39
|
+
font-weight: ${({theme:e})=>e.typography.fontAlternativeRegularWeight};
|
|
40
|
+
`,m=t.css`
|
|
41
|
+
${r}
|
|
42
42
|
font-size: 1.75rem;
|
|
43
43
|
line-height: 2rem;
|
|
44
44
|
|
|
45
|
-
${
|
|
45
|
+
${l.mq("laptop")} {
|
|
46
46
|
font-size: 2rem;
|
|
47
47
|
line-height: 3rem;
|
|
48
48
|
}
|
|
49
|
-
|
|
50
|
-
${
|
|
51
|
-
`,
|
|
52
|
-
${
|
|
49
|
+
`,q=i.default.p`
|
|
50
|
+
${m}
|
|
51
|
+
`,f=t.css`
|
|
52
|
+
${r}
|
|
53
53
|
font-size: 1.5rem;
|
|
54
54
|
line-height: 2rem;
|
|
55
55
|
|
|
56
|
-
${
|
|
56
|
+
${l.mq("laptop")} {
|
|
57
57
|
font-size: 1.75rem;
|
|
58
58
|
line-height: 2.5rem;
|
|
59
59
|
}
|
|
60
|
-
`,
|
|
61
|
-
${
|
|
62
|
-
`,
|
|
63
|
-
${
|
|
60
|
+
`,S=i.default.p`
|
|
61
|
+
${f}
|
|
62
|
+
`,p=t.css`
|
|
63
|
+
${r}
|
|
64
64
|
font-size: 1.125rem;
|
|
65
65
|
line-height: 2rem;
|
|
66
66
|
|
|
67
|
-
${
|
|
67
|
+
${l.mq("laptop")} {
|
|
68
68
|
font-size: 1.25rem;
|
|
69
69
|
}
|
|
70
|
-
`,
|
|
71
|
-
${
|
|
72
|
-
`,
|
|
73
|
-
font-family: ${({theme:
|
|
70
|
+
`,T=i.default.p`
|
|
71
|
+
${p}
|
|
72
|
+
`,y=t.css`
|
|
73
|
+
font-family: ${({theme:e})=>e.typography.fontAlternativeFamily};
|
|
74
74
|
font-size: 1rem;
|
|
75
75
|
line-height: 1.5rem;
|
|
76
|
-
`,
|
|
77
|
-
${
|
|
78
|
-
font-weight: ${({theme:
|
|
79
|
-
`,
|
|
80
|
-
${
|
|
81
|
-
|
|
82
|
-
${
|
|
83
|
-
font-weight: ${({theme:
|
|
84
|
-
`,
|
|
85
|
-
${
|
|
86
|
-
`;exports.Display1=
|
|
76
|
+
`,g=t.css`
|
|
77
|
+
${y}
|
|
78
|
+
font-weight: ${({theme:e})=>e.typography.fontAlternativeRegularWeight};
|
|
79
|
+
`,A=i.default.p`
|
|
80
|
+
${g}
|
|
81
|
+
`,$=t.css`
|
|
82
|
+
${y}
|
|
83
|
+
font-weight: ${({theme:e})=>e.typography.fontAlternativeBoldWeight};
|
|
84
|
+
`,D=i.default.p`
|
|
85
|
+
${$}
|
|
86
|
+
`;exports.Display1=v,exports.Display1Style=h,exports.Display2=z,exports.Display2Style=s,exports.Display3=c,exports.Display3Style=o,exports.Headline=q,exports.HeadlineStyle=m,exports.Subtitle=T,exports.SubtitleStyle=p,exports.TinyTitleBold=D,exports.TinyTitleBoldStyle=$,exports.TinyTitleRegular=A,exports.TinyTitleRegularStyle=g,exports.Title=S,exports.TitleStyle=f,exports.default=()=>d.default.createElement("div",null);
|
package/cjs/utils/utils.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const s=require("styled-components").css`
|
|
2
2
|
appearance: none;
|
|
3
3
|
background-color: transparent;
|
|
4
4
|
border: 0;
|
|
@@ -6,4 +6,4 @@
|
|
|
6
6
|
font-family: inherit;
|
|
7
7
|
outline: none;
|
|
8
8
|
padding: 0;
|
|
9
|
-
`;exports.getLuminosity=r=>{let t=0,
|
|
9
|
+
`;exports.getLuminosity=r=>{let t=0,e=0,n=0;return r.length===4?(t=parseInt("0x"+r[1]+r[1]),e=parseInt("0x"+r[2]+r[2]),n=parseInt("0x"+r[3]+r[3])):r.length===7&&(t=parseInt("0x"+r[1]+r[2]),e=parseInt("0x"+r[3]+r[4]),n=parseInt("0x"+r[5]+r[6])),(Math.max(Number(t/255),Number(e/255),Number(n/255))+Math.min(Number(t/255),Number(e/255),Number(n/255)))/2*100},exports.hexToRGB=(r,t=1)=>`rgba(${parseInt(r.slice(1,3),16)}, ${parseInt(r.slice(3,5),16)}, ${parseInt(r.slice(5,7),16)}, ${t})`,exports.resetButtonStyle=s;
|
package/esm/ColorCard.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import e from"react";import
|
|
1
|
+
import e from"react";import r from"styled-components";import{getLuminosity as m}from"./utils/utils.js";import o from"./theme.js";const s=r.ul`
|
|
2
2
|
padding-left: 2rem;
|
|
3
|
-
`,
|
|
3
|
+
`,d=r.li`
|
|
4
4
|
list-style: none;
|
|
5
5
|
box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.03);
|
|
6
|
-
border: 1px solid ${
|
|
6
|
+
border: 1px solid ${o.colors.gray.light2};
|
|
7
7
|
border-radius: 4px;
|
|
8
8
|
font-family: 'Ralway', sans-serif;
|
|
9
9
|
margin-top: 0.75rem;
|
|
10
|
-
`,n=
|
|
10
|
+
`,n=r.span`
|
|
11
11
|
text-transform: capitalize;
|
|
12
12
|
padding: 0.5em;
|
|
13
13
|
display: block;
|
|
14
|
-
border-bottom: 1px solid ${
|
|
15
|
-
`,
|
|
14
|
+
border-bottom: 1px solid ${o.colors.gray.light2};
|
|
15
|
+
`,p=r.li`
|
|
16
16
|
display: block;
|
|
17
|
-
background: ${({hex:
|
|
18
|
-
color: ${({hex:
|
|
17
|
+
background: ${({hex:l})=>l};
|
|
18
|
+
color: ${({hex:l})=>m(l)<40?"#fff":"#000"};
|
|
19
19
|
padding: 1em;
|
|
20
|
-
`,
|
|
20
|
+
`,c=r.ul`
|
|
21
21
|
margin: 0;
|
|
22
22
|
padding: 0;
|
|
23
23
|
display: flex;
|
|
24
24
|
flex-direction: column;
|
|
25
|
-
`,
|
|
25
|
+
`,i=l=>Object.entries(l).map(([a,t])=>typeof t=="string"?e.createElement(p,{hex:t,key:t},a," (",t,")"):e.createElement(e.Fragment,null,e.createElement(n,null,a),e.createElement(s,null,i(t)))),f=({colorName:l,variants:a})=>e.createElement(d,null,e.createElement(n,null,l),e.createElement(c,null,i(a)));export{f as default};
|
package/esm/ElevationCard.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
font-family: ${({theme:
|
|
3
|
-
font-weight: ${({theme:
|
|
1
|
+
import i from"react";import n from"styled-components";const o=n.div`
|
|
2
|
+
font-family: ${({theme:e})=>e.typography.fontAlternativeFamily};
|
|
3
|
+
font-weight: ${({theme:e})=>e.typography.fontAlternativeRegularWeight};
|
|
4
4
|
font-size: 1.25rem;
|
|
5
|
-
box-shadow: ${({elevation:
|
|
5
|
+
box-shadow: ${({elevation:e})=>e};
|
|
6
6
|
width: 14rem;
|
|
7
7
|
height: 10rem;
|
|
8
8
|
margin: 1rem;
|
|
@@ -10,4 +10,4 @@ import o from"react";import i from"styled-components";const n=i.div`
|
|
|
10
10
|
display: flex;
|
|
11
11
|
align-items: center;
|
|
12
12
|
justify-content: center;
|
|
13
|
-
`,a=({children:
|
|
13
|
+
`,a=({children:e,value:t,as:r="div"})=>i.createElement(o,{as:r,elevation:t},e);export{a as ElevationCard};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import o,{useState as h}from"react";import r from"styled-components";import{UnmountClosed as y}from"react-collapse";import{mq as f}from"../../shared/media-queries.js";import g from"../../icons/components/ArrowDownIcon.js";const $=r.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
.ReactCollapse--collapse {
|
|
@@ -8,7 +8,7 @@ import n,{useState as y}from"react";import r from"styled-components";import{Unmo
|
|
|
8
8
|
margin: 0;
|
|
9
9
|
padding: 0;
|
|
10
10
|
list-style: none;
|
|
11
|
-
`,
|
|
11
|
+
`,x=r.div`
|
|
12
12
|
display: flex;
|
|
13
13
|
flex-direction: row;
|
|
14
14
|
justify-content: space-between;
|
|
@@ -29,7 +29,7 @@ import n,{useState as y}from"react";import r from"styled-components";import{Unmo
|
|
|
29
29
|
&:last-child {
|
|
30
30
|
border-bottom: ${({theme:e})=>`1px solid ${e.colors.gray.light2}`};
|
|
31
31
|
}
|
|
32
|
-
`,
|
|
32
|
+
`,w=r.span`
|
|
33
33
|
color: ${({theme:e})=>e.colors.text.dark};
|
|
34
34
|
font-family: ${({theme:e})=>e.typography.fontBaseFamily};
|
|
35
35
|
font-size: 0.9375rem;
|
|
@@ -48,4 +48,4 @@ import n,{useState as y}from"react";import r from"styled-components";import{Unmo
|
|
|
48
48
|
margin-top: 0;
|
|
49
49
|
margin-bottom: 0;
|
|
50
50
|
}
|
|
51
|
-
`,l=({items:e,...
|
|
51
|
+
`,l=({items:e,...s})=>{const[m,c]=h({}),i=n=>{c(t=>({...t,[n]:!t[n]}))},d=n=>()=>{i(n)},p=n=>t=>{t.key==="Enter"&&i(n)};return o.createElement($,{...s},o.createElement(u,{className:"accordionList"},e.map((n,t)=>{const a=Boolean(m[t]);return o.createElement(E,{key:n.title,isOpen:a,className:"accordionItem"},o.createElement(x,{onClick:d(t),onKeyPress:p(t),className:"accordionItemTitle",role:"button",tabIndex:0,"aria-expanded":a,id:`panel${t}-header`,"aria-controls":`panel${t}-content`},o.createElement(w,{as:"span"},n.title),o.createElement(b,{isOpen:a},o.createElement(g,null))),o.createElement(y,{isOpened:a,key:t},o.createElement(k,{"aria-labelledby":`panel${t}-header`,id:`panel${t}-content`,role:"region",className:"wysiwyg",dangerouslySetInnerHTML:{__html:n.text}})))})))};export{l as Accordion,l as default};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import t from"react";import r from"styled-components";import
|
|
1
|
+
import t from"react";import r from"styled-components";import n from"../../theme.js";const a=r.div`
|
|
2
2
|
border-radius: 0.75rem;
|
|
3
|
-
background: ${
|
|
3
|
+
background: ${n.colors.secondary.main};
|
|
4
4
|
display: inline-flex;
|
|
5
5
|
align-items: center;
|
|
6
6
|
justify-content: center;
|
|
@@ -9,20 +9,20 @@ import t from"react";import r from"styled-components";import a from"../../theme.
|
|
|
9
9
|
height: 1.5rem;
|
|
10
10
|
box-sizing: border-box;
|
|
11
11
|
cursor: default;
|
|
12
|
-
`,
|
|
12
|
+
`,d=r(a)`
|
|
13
13
|
width: 1rem;
|
|
14
14
|
height: 1rem;
|
|
15
15
|
border-radius: 50%;
|
|
16
16
|
min-width: 1rem;
|
|
17
17
|
position: relative;
|
|
18
|
-
`,
|
|
18
|
+
`,s=r.div`
|
|
19
19
|
display: block;
|
|
20
20
|
width: 100%;
|
|
21
21
|
height: 100%;
|
|
22
22
|
border-radius: 50%;
|
|
23
23
|
opacity: 0.1;
|
|
24
24
|
transform: scale(0.5);
|
|
25
|
-
background: ${
|
|
25
|
+
background: ${n.colors.text.dark};
|
|
26
26
|
position: absolute;
|
|
27
27
|
top: 0;
|
|
28
28
|
left: 0;
|
|
@@ -32,4 +32,4 @@ import t from"react";import r from"styled-components";import a from"../../theme.
|
|
|
32
32
|
color: white;
|
|
33
33
|
font-weight: ${({theme:e})=>e.typography.fontAlternativeBoldWeight};
|
|
34
34
|
font-family: ${({theme:e})=>e.typography.fontAlternativeFamily};
|
|
35
|
-
`,h=e=>e>=100?"99+":`${e}`,
|
|
35
|
+
`,h=e=>e>=100?"99+":`${e}`,m=({notificationAmount:e=0,withNumber:i=!0,...o})=>{if((e<=0||!e)&&i)return null;if(!i)return t.createElement(d,{...o},t.createElement(s,{"data-test":"middle-dot"}));const l=h(e);return t.createElement(a,{...o},t.createElement(c,null,l))};export{m as Badge,m as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import t from"react";import o from"styled-components";import{BodyTextStyle as
|
|
1
|
+
import t from"react";import o from"styled-components";import{BodyTextStyle as r,BodyText as i}from"../../typography/BodyText/index.js";import"../../shared/media-queries.js";const a=o.li`
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: center;
|
|
4
4
|
margin: 0;
|
|
@@ -7,25 +7,25 @@ import t from"react";import o from"styled-components";import{BodyTextStyle as l,
|
|
|
7
7
|
overflow: hidden;
|
|
8
8
|
|
|
9
9
|
a {
|
|
10
|
-
${
|
|
10
|
+
${r}
|
|
11
11
|
font-weight: ${({theme:e})=>e.typography.fontBaseBoldWeight};
|
|
12
12
|
color: ${({theme:e})=>e.colors.info.main};
|
|
13
13
|
text-decoration: none;
|
|
14
14
|
overflow: hidden;
|
|
15
15
|
text-overflow: ellipsis;
|
|
16
16
|
}
|
|
17
|
-
`,
|
|
17
|
+
`,m=o(i)`
|
|
18
18
|
color: ${({theme:e})=>e.colors.text.dark};
|
|
19
19
|
overflow: hidden;
|
|
20
20
|
text-overflow: ellipsis;
|
|
21
|
-
`,
|
|
21
|
+
`,s=o.span`
|
|
22
22
|
display: inline-flex;
|
|
23
23
|
padding-right: 0.5rem;
|
|
24
24
|
svg {
|
|
25
25
|
width: 1rem;
|
|
26
26
|
height: 1rem;
|
|
27
27
|
}
|
|
28
|
-
`,
|
|
28
|
+
`,d=o.span`
|
|
29
29
|
display: inline-flex;
|
|
30
30
|
padding: 0 0.5rem;
|
|
31
31
|
color: ${({theme:e})=>e.colors.gray.light1};
|
|
@@ -33,4 +33,4 @@ import t from"react";import o from"styled-components";import{BodyTextStyle as l,
|
|
|
33
33
|
width: 1rem;
|
|
34
34
|
height: 1rem;
|
|
35
35
|
}
|
|
36
|
-
`,
|
|
36
|
+
`,p=({link:e,separator:l,isLast:n})=>t.createElement(t.Fragment,null,t.createElement(a,null,e.prefixIcon&&t.createElement(s,null,e.prefixIcon),n?t.createElement(m,{as:"span"},e.component):t.createElement(t.Fragment,null,e.component,t.createElement(d,null,l))));export{p as default};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import e from"react";import
|
|
1
|
+
import e from"react";import a from"styled-components";import m from"./BreadcrumbsItem.js";import s from"../../icons/components/NextIcon.js";import"../../typography/BodyText/index.js";import"../../shared/media-queries.js";const i=a.ul`
|
|
2
2
|
display: flex;
|
|
3
3
|
align-items: center;
|
|
4
4
|
padding: 0;
|
|
5
5
|
white-space: nowrap;
|
|
6
6
|
overflow: hidden;
|
|
7
|
-
`,
|
|
7
|
+
`,p=({links:t,separator:o=e.createElement(s,null)})=>e.createElement(i,null,t.map((n,r)=>e.createElement(m,{key:r,link:n,separator:o,isLast:r===t.length-1})));export{p as default};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
${
|
|
1
|
+
import i,{forwardRef as v}from"react";import a,{css as g}from"styled-components";import f from"../../theme.js";import B from"../Spinner/index.js";import{BasicButtonFontStyle as I,ButtonRegularTextStyle as W}from"../../typography/ButtonText/index.js";import{fontSizes as j,smallerAndSmallSizeStyles as w,regularSizeStyles as k,largeSizeStyles as A,disabledColorStyles as D,colorStyles as F}from"./styles.js";const d=0,R=a.button`
|
|
2
|
+
${I}
|
|
3
3
|
box-sizing: border-box;
|
|
4
4
|
outline: none;
|
|
5
5
|
cursor: pointer;
|
|
@@ -10,31 +10,31 @@ import r,{forwardRef as h}from"react";import n,{css as f}from"styled-components"
|
|
|
10
10
|
width: ${({fullWidth:e})=>e&&"100%"};
|
|
11
11
|
display: flex;
|
|
12
12
|
align-items: center;
|
|
13
|
-
justify-content: ${({sufixIcon:e,prefixIcon:
|
|
13
|
+
justify-content: ${({sufixIcon:e,prefixIcon:r,isLoading:l})=>!l&&(e||r)?"space-between":"center"};
|
|
14
14
|
|
|
15
|
-
${({size:e="small"})=>
|
|
16
|
-
${({size:e})=>
|
|
17
|
-
${(e==="smaller"||e==="small")&&
|
|
18
|
-
${e==="regular"&&
|
|
19
|
-
${e==="large"&&
|
|
15
|
+
${({size:e="small"})=>j[e]||W}
|
|
16
|
+
${({size:e})=>g`
|
|
17
|
+
${(e==="smaller"||e==="small")&&w()}
|
|
18
|
+
${e==="regular"&&k()}
|
|
19
|
+
${e==="large"&&A()}
|
|
20
20
|
`}
|
|
21
21
|
background-color: transparent;
|
|
22
22
|
transition: color 0.3s ease, background-color 0.3s ease, border 0.3s ease,
|
|
23
23
|
filter 0.3s;
|
|
24
|
-
${({variant:e="solid",color:
|
|
25
|
-
${
|
|
24
|
+
${({variant:e="solid",color:r="primary",colorShade:l="main",disabled:n,theme:s})=>g`
|
|
25
|
+
${n?D(s,e):F[e](s,r,l)}
|
|
26
26
|
`}
|
|
27
27
|
&:focus-visible {
|
|
28
28
|
box-shadow: 0px 0px 0px 1px ${({theme:e})=>e.colors.gray.light5};
|
|
29
29
|
}
|
|
30
|
-
`,
|
|
30
|
+
`,T={smaller:"1rem",small:"1rem",regular:"1.5rem",large:"1.5rem"},y={smaller:"0.5rem",small:"0.5rem",regular:"1rem",large:"1rem"},x=a.span`
|
|
31
31
|
display: flex;
|
|
32
|
-
margin-right: ${({type:e,size:
|
|
33
|
-
margin-left: ${({type:e,size:
|
|
34
|
-
font-size: ${({size:e})=>
|
|
35
|
-
opacity: ${({isLoading:e})=>e?
|
|
36
|
-
`,
|
|
32
|
+
margin-right: ${({type:e,size:r})=>e==="prefix"?y[r]:0};
|
|
33
|
+
margin-left: ${({type:e,size:r})=>e==="sufix"?y[r]:0};
|
|
34
|
+
font-size: ${({size:e})=>T[e]};
|
|
35
|
+
opacity: ${({isLoading:e})=>e?d:1};
|
|
36
|
+
`,V=a(B)`
|
|
37
37
|
position: absolute;
|
|
38
|
-
`,
|
|
39
|
-
opacity: ${({isLoading:e})=>e?
|
|
40
|
-
`,
|
|
38
|
+
`,_=a.span`
|
|
39
|
+
opacity: ${({isLoading:e})=>e?d:1};
|
|
40
|
+
`,C={smaller:1,small:1,regular:1.5,large:1.5},p=v(({size:e="small",color:r="primary",colorShade:l="main",variant:n="solid",fullWidth:s=!1,isDisabled:h=!1,isLoading:t=!1,children:b,sufixIcon:m,prefixIcon:c,minWidth:$,as:z="button",...S},E)=>{const L=(o,u)=>typeof o=="string"||typeof o=="number"?i.createElement(_,{isLoading:u},o):i.isValidElement(o)?i.cloneElement(o,{style:{...o.props.style,opacity:u?d:1}}):o;return i.createElement(R,{...S,as:z,minWidth:$,color:r,colorShade:l,disabled:h||t,fullWidth:s,theme:f,variant:n,size:e,isLoading:t,ref:E,prefixIcon:c,sufixIcon:m},i.createElement(i.Fragment,null,c&&i.createElement(x,{size:e,type:"prefix",isLoading:t},c),L(b,t),m&&i.createElement(x,{size:e,type:"sufix",isLoading:t},m),t&&i.createElement(V,{color:f.colors.gray.light1,size:C[e]})))});p.displayName="Button";export{p as Button,p as default};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import{ButtonSmallTextStyle as
|
|
1
|
+
import{ButtonSmallTextStyle as a,ButtonRegularTextStyle as e,ButtonLargeTextStyle as i}from"../../typography/ButtonText/index.js";import"react";import"styled-components";const n={smaller:a,small:e,regular:e,large:i},d=()=>`
|
|
2
2
|
padding: 0.25rem 0.75rem;
|
|
3
3
|
min-height: 2.5rem;
|
|
4
4
|
`,g=()=>`
|
|
5
5
|
padding: 0.25rem 1.5rem;
|
|
6
6
|
min-height: 3rem;
|
|
7
|
-
`,
|
|
7
|
+
`,m=()=>`
|
|
8
8
|
padding: 0.25rem 1.5rem;
|
|
9
9
|
min-height: 3.75rem;
|
|
10
|
-
`,
|
|
10
|
+
`,h=(o,r,c)=>`
|
|
11
11
|
color: ${o.colors.text.light};
|
|
12
|
-
background-color: ${o.colors[r][
|
|
12
|
+
background-color: ${o.colors[r][c]};
|
|
13
13
|
|
|
14
14
|
:hover {
|
|
15
15
|
border-color: ${o.colors[r].dark};
|
|
@@ -20,7 +20,7 @@ import{ButtonSmallTextStyle as e,ButtonRegularTextStyle as t,ButtonLargeTextStyl
|
|
|
20
20
|
border-color: ${o.colors[r].light};
|
|
21
21
|
filter: brightness(1.1)
|
|
22
22
|
}
|
|
23
|
-
`,
|
|
23
|
+
`,t=(o,r)=>`
|
|
24
24
|
color: ${o.colors[r].main};
|
|
25
25
|
border: 2px solid ${o.colors[r].main};
|
|
26
26
|
background-color: transparent;
|
|
@@ -34,7 +34,7 @@ import{ButtonSmallTextStyle as e,ButtonRegularTextStyle as t,ButtonLargeTextStyl
|
|
|
34
34
|
border: 2px solid ${o.colors[r].light};
|
|
35
35
|
color: ${o.colors[r].light};
|
|
36
36
|
}
|
|
37
|
-
`,
|
|
37
|
+
`,s=(o,r)=>`
|
|
38
38
|
color: ${r!=="neutral"?o.colors[r].main:o.colors.neutral.light};
|
|
39
39
|
background-color: transparent;
|
|
40
40
|
|
|
@@ -48,8 +48,8 @@ import{ButtonSmallTextStyle as e,ButtonRegularTextStyle as t,ButtonLargeTextStyl
|
|
|
48
48
|
`,l=o=>`
|
|
49
49
|
color: ${o.colors.gray.light1};
|
|
50
50
|
cursor: not-allowed;
|
|
51
|
-
|
|
51
|
+
`,$=(o,r)=>r==="solid"?`
|
|
52
52
|
${l(o)};
|
|
53
53
|
background-color: ${o.colors.gray.light4};`:r==="outline"?`
|
|
54
54
|
${l(o)};
|
|
55
|
-
border: 2px solid ${o.colors.gray.light1};`:l(o)
|
|
55
|
+
border: 2px solid ${o.colors.gray.light1};`:l(o),u={solid:h,outline:t,flat:s};export{u as colorStyles,$ as disabledColorStyles,s as flatColorStyles,n as fontSizes,m as largeSizeStyles,t as outlineColorStyles,g as regularSizeStyles,d as smallerAndSmallSizeStyles};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import
|
|
2
|
-
background: ${({topBorder:
|
|
1
|
+
import d from"react";import l from"styled-components";import n from"../../theme.js";const m=l.div``,s=l.div`
|
|
2
|
+
background: ${({topBorder:r})=>r};
|
|
3
3
|
height: 0.25rem;
|
|
4
|
-
`,
|
|
5
|
-
background: ${
|
|
4
|
+
`,c=l.div`
|
|
5
|
+
background: ${n.colors.background.light};
|
|
6
6
|
|
|
7
|
-
${({noFrame:
|
|
7
|
+
${({noFrame:r,topBorder:o,lineBorder:e,theme:t})=>!o&&(!r||e)&&`border-top: 1px solid ${t.colors.gray.light5};`}
|
|
8
8
|
|
|
9
|
-
${({noFrame:
|
|
9
|
+
${({noFrame:r,lineBorder:o,theme:e})=>(!r||o)&&`border-bottom: 1px solid ${e.colors.gray.light5};
|
|
10
10
|
`}
|
|
11
11
|
|
|
12
|
-
${({noFrame:
|
|
13
|
-
border-left: 1px solid ${
|
|
14
|
-
`,
|
|
12
|
+
${({noFrame:r,lineBorder:o,theme:e})=>!r&&!o&&`border-right: 1px solid ${e.colors.gray.light5};
|
|
13
|
+
border-left: 1px solid ${e.colors.gray.light5};`}
|
|
14
|
+
`,i=({children:r,topBorder:o,noFrame:e=!1,lineBorder:t=!1,as:a="div"})=>d.createElement(m,{as:a},o&&d.createElement(s,{topBorder:o}),d.createElement(c,{topBorder:o,noFrame:e,lineBorder:t},r));export{i as Card,i as default};
|