@kvdbil/components 3.3.5-2 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{types/ColorCard.d.ts → ColorCard.d.ts} +0 -0
- package/{types/ElevationCard.d.ts → ElevationCard.d.ts} +0 -0
- package/{types/Interfaces.d.ts → Interfaces.d.ts} +0 -0
- package/{types/Types.d.ts → Types.d.ts} +0 -0
- package/{types/components → components}/Accordion/index.d.ts +0 -0
- package/{types/components → components}/Badge/index.d.ts +0 -0
- package/{types/components → components}/Button/index.d.ts +0 -0
- package/{types/components → components}/Card/index.d.ts +0 -0
- package/{types/components → components}/CheckBox/index.d.ts +0 -0
- package/{types/components → components}/Chip/index.d.ts +0 -0
- package/{types/components → components}/DayPicker/DayPickerNavBar.d.ts +0 -0
- package/{types/components → components}/DayPicker/index.d.ts +0 -0
- package/{types/components → components}/DayPicker/localeUtils.d.ts +0 -0
- package/{types/components → components}/Dialog/index.d.ts +0 -0
- package/{types/components → components}/ErrorMessage/index.d.ts +0 -0
- package/{types/components → components}/FieldLabel.d.ts +1 -1
- package/{types/components → components}/Header/Hamburger.d.ts +0 -0
- package/{types/components → components}/Header/Link.d.ts +0 -0
- package/{types/components → components}/Header/index.d.ts +0 -0
- package/{types/components → components}/Hero/index.d.ts +0 -0
- package/{types/components → components}/Icon/index.d.ts +0 -0
- package/{types/components → components}/IconButton.d.ts +0 -0
- package/{types/components → components}/Icons/Arrow.d.ts +0 -0
- package/{types/components → components}/Icons/CheckCircle.d.ts +0 -0
- package/{types/components → components}/Icons/CheckIcon.d.ts +0 -0
- package/{types/components → components}/Icons/Close.d.ts +0 -0
- package/{types/components → components}/Icons/ErrorCircle.d.ts +0 -0
- package/{types/components → components}/Icons/InfoCircle.d.ts +0 -0
- package/{types/components → components}/InlineStepper/Step.d.ts +0 -0
- package/{types/components → components}/InlineStepper/StepCircle.d.ts +0 -0
- package/{types/components → components}/InlineStepper/index.d.ts +0 -0
- package/{types/components → components}/ListItem/Bacon.d.ts +0 -0
- package/{types/components → components}/ListItem/index.d.ts +0 -0
- package/{types/components → components}/Logo/LogoEn.d.ts +0 -0
- package/{types/components → components}/Logo/LogoSv.d.ts +0 -0
- package/{types/components → components}/Logo/index.d.ts +0 -0
- package/{types/components → components}/MenuItem/index.d.ts +0 -0
- package/{types/components → components}/Modal/index.d.ts +0 -0
- package/{types/components → components}/NotificationButton/index.d.ts +0 -0
- package/{types/components → components}/OffCanvas/Overlay.d.ts +0 -0
- package/{types/components → components}/OffCanvas/index.d.ts +0 -0
- package/{types/components → components}/OffCanvas/useClickOutside.d.ts +0 -0
- package/{types/components → components}/RadioButton/index.d.ts +0 -0
- package/{types/components → components}/Range/index.d.ts +0 -0
- package/{types/components → components}/Select/index.d.ts +9 -8
- package/{types/components → components}/Snackbar/index.d.ts +0 -0
- package/{types/components → components}/Spinner/index.d.ts +0 -0
- package/{types/components → components}/Stepper/index.d.ts +0 -0
- package/{types/components → components}/StepperAccordion/index.d.ts +0 -0
- package/{types/components → components}/Tabs/index.d.ts +0 -0
- package/{types/components → components}/TextArea/index.d.ts +0 -0
- package/{types/components → components}/Textfield/index.d.ts +0 -0
- package/{types/components → components}/TimePicker/index.d.ts +0 -0
- package/{types/components → components}/TimePicker/testHelper.d.ts +0 -0
- package/{types/components → components}/Toggle/index.d.ts +0 -0
- package/{types/icons → icons}/components/AccountCreateIcon.d.ts +0 -0
- package/{types/icons → icons}/components/AccountIcon.d.ts +0 -0
- package/{types/icons → icons}/components/AccountLoginIcon.d.ts +0 -0
- package/{types/icons → icons}/components/ArrowDownIcon.d.ts +0 -0
- package/{types/icons → icons}/components/ArrowLeftIcon.d.ts +0 -0
- package/{types/icons → icons}/components/ArrowLeftSharpIcon.d.ts +0 -0
- package/{types/icons → icons}/components/ArrowLeftSmallIcon.d.ts +0 -0
- package/{types/icons → icons}/components/ArrowLong.d.ts +0 -0
- package/{types/icons → icons}/components/ArrowRestartIcon.d.ts +0 -0
- package/{types/icons → icons}/components/ArrowRightIcon.d.ts +0 -0
- package/{types/icons → icons}/components/ArrowRightSharpIcon.d.ts +0 -0
- package/{types/icons → icons}/components/ArrowUpIcon.d.ts +0 -0
- package/{types/icons → icons}/components/AuctionIcon.d.ts +0 -0
- package/{types/icons → icons}/components/BackArrowIcon.d.ts +0 -0
- package/{types/icons → icons}/components/Baseline360Icon.d.ts +0 -0
- package/{types/icons → icons}/components/BellIcon.d.ts +0 -0
- package/{types/icons → icons}/components/BidIcon.d.ts +0 -0
- package/{types/icons → icons}/components/BidKrIcon.d.ts +0 -0
- package/{types/icons → icons}/components/BreaksIcon.d.ts +0 -0
- package/{types/icons → icons}/components/BuyCarIcon.d.ts +0 -0
- package/{types/icons → icons}/components/CabIcon.d.ts +0 -0
- package/{types/icons → icons}/components/CalendarIcon.d.ts +0 -0
- package/{types/icons → icons}/components/CameraIcon.d.ts +0 -0
- package/{types/icons → icons}/components/Car360Icon.d.ts +0 -0
- package/{types/icons → icons}/components/CarFrontIcon.d.ts +0 -0
- package/{types/icons → icons}/components/CarSearchIcon.d.ts +0 -0
- package/{types/icons → icons}/components/CarSideIcon.d.ts +0 -0
- package/{types/icons → icons}/components/CarTiresIcon.d.ts +0 -0
- package/{types/icons → icons}/components/CaravanIcon.d.ts +0 -0
- package/{types/icons → icons}/components/CardViewIcon.d.ts +0 -0
- package/{types/icons → icons}/components/CarloanIcon.d.ts +0 -0
- package/{types/icons → icons}/components/CertifiedIcon.d.ts +0 -0
- package/{types/icons → icons}/components/ChatIcon.d.ts +0 -0
- package/{types/icons → icons}/components/CheckIcon.d.ts +0 -0
- package/{types/icons → icons}/components/CheckThinIcon.d.ts +0 -0
- package/{types/icons → icons}/components/CheckmarkFilledIcon.d.ts +0 -0
- package/{types/icons → icons}/components/CheckmarkIcon.d.ts +0 -0
- package/{types/icons → icons}/components/ClipboardFilledIcon.d.ts +0 -0
- package/{types/icons → icons}/components/ClipboardIcon.d.ts +0 -0
- package/{types/icons → icons}/components/ClockFilledIcon.d.ts +0 -0
- package/{types/icons → icons}/components/ClockIcon.d.ts +0 -0
- package/{types/icons → icons}/components/CloseIcon.d.ts +0 -0
- package/{types/icons → icons}/components/CloseThinIcon.d.ts +0 -0
- package/{types/icons → icons}/components/CoffeeIcon.d.ts +0 -0
- package/{types/icons → icons}/components/CombiIcon.d.ts +0 -0
- package/{types/icons → icons}/components/CommentCircleFilledIcon.d.ts +0 -0
- package/{types/icons → icons}/components/CommentCircleIconIcon.d.ts +0 -0
- package/{types/icons → icons}/components/CommentIcon.d.ts +0 -0
- package/{types/icons → icons}/components/ContactIcon.d.ts +0 -0
- package/{types/icons → icons}/components/CoupeIcon.d.ts +0 -0
- package/{types/icons → icons}/components/CreditCardIcon.d.ts +0 -0
- package/{types/icons → icons}/components/CrossCircleIcon.d.ts +0 -0
- package/{types/icons → icons}/components/CrownIcon.d.ts +0 -0
- package/{types/icons → icons}/components/DealmakerIcon.d.ts +0 -0
- package/{types/icons → icons}/components/DeliveryIcon.d.ts +0 -0
- package/{types/icons → icons}/components/DetailedSearchIcon.d.ts +0 -0
- package/{types/icons → icons}/components/EcoFriendlyIcon.d.ts +0 -0
- package/{types/icons → icons}/components/EditIcon.d.ts +0 -0
- package/{types/icons → icons}/components/EngineIcon.d.ts +0 -0
- package/{types/icons → icons}/components/EnglandFlagIcon.d.ts +0 -0
- package/{types/icons → icons}/components/EvaluationIcon.d.ts +0 -0
- package/{types/icons → icons}/components/ExaminationMarkFilledIcon.d.ts +0 -0
- package/{types/icons → icons}/components/ExaminationMarkIcon.d.ts +0 -0
- package/{types/icons → icons}/components/ExteriorIcon.d.ts +0 -0
- package/{types/icons → icons}/components/EyeIcon.d.ts +0 -0
- package/{types/icons → icons}/components/FacebookBtnIcon.d.ts +0 -0
- package/{types/icons → icons}/components/FacebookIcon.d.ts +0 -0
- package/{types/icons → icons}/components/FatalIcon.d.ts +0 -0
- package/{types/icons → icons}/components/FavouriteIcon.d.ts +0 -0
- package/{types/icons → icons}/components/FavouriteSolidIcon.d.ts +0 -0
- package/{types/icons → icons}/components/FilterIcon.d.ts +0 -0
- package/{types/icons → icons}/components/FinanceIcon.d.ts +0 -0
- package/{types/icons → icons}/components/FindCarIcon.d.ts +0 -0
- package/{types/icons → icons}/components/FixedMonthlyCostIcon.d.ts +0 -0
- package/{types/icons → icons}/components/FlagIcon.d.ts +0 -0
- package/{types/icons → icons}/components/FlexibilityIcon.d.ts +0 -0
- package/{types/icons → icons}/components/ForumLargeIcon.d.ts +0 -0
- package/{types/icons → icons}/components/ForumSmallIcon.d.ts +0 -0
- package/{types/icons → icons}/components/GavelIcon.d.ts +0 -0
- package/{types/icons → icons}/components/GearboxIcon.d.ts +0 -0
- package/{types/icons → icons}/components/GiftIcon.d.ts +0 -0
- package/{types/icons → icons}/components/GridViewIcon.d.ts +0 -0
- package/{types/icons → icons}/components/GroupIcon.d.ts +0 -0
- package/{types/icons → icons}/components/GuaranteeIcon.d.ts +0 -0
- package/{types/icons → icons}/components/GuaranteeLargeIcon.d.ts +0 -0
- package/{types/icons → icons}/components/GuaranteeSmallIcon.d.ts +0 -0
- package/{types/icons → icons}/components/HalfCombiIcon.d.ts +0 -0
- package/{types/icons → icons}/components/HamburgerIcon.d.ts +0 -0
- package/{types/icons → icons}/components/HandshakeIcon.d.ts +0 -0
- package/{types/icons → icons}/components/HelpingHandIcon.d.ts +0 -0
- package/{types/icons → icons}/components/IdIcon.d.ts +0 -0
- package/{types/icons → icons}/components/InformationIcon.d.ts +0 -0
- package/{types/icons → icons}/components/InstagramIcon.d.ts +0 -0
- package/{types/icons → icons}/components/InsuranceIcon.d.ts +0 -0
- package/{types/icons → icons}/components/InteriorIcon.d.ts +0 -0
- package/{types/icons → icons}/components/InteriorThinIcon.d.ts +0 -0
- package/{types/icons → icons}/components/InternationalIcon.d.ts +0 -0
- package/{types/icons → icons}/components/KvdTestIcon.d.ts +0 -0
- package/{types/icons → icons}/components/KvdVenueIcon.d.ts +0 -0
- package/{types/icons → icons}/components/LifebuoyIcon.d.ts +0 -0
- package/{types/icons → icons}/components/LiftTruckIcon.d.ts +0 -0
- package/{types/icons → icons}/components/LinkedInIcon.d.ts +0 -0
- package/{types/icons → icons}/components/ListViewIcon.d.ts +0 -0
- package/{types/icons → icons}/components/MailIcon.d.ts +0 -0
- package/{types/icons → icons}/components/MinibusIcon.d.ts +0 -0
- package/{types/icons → icons}/components/MinivanIcon.d.ts +0 -0
- package/{types/icons → icons}/components/MobileIcon.d.ts +0 -0
- package/{types/icons → icons}/components/MotorcycleIcon.d.ts +0 -0
- package/{types/icons → icons}/components/MrfLogoIcon.d.ts +0 -0
- package/{types/icons → icons}/components/NotFoundIcon.d.ts +0 -0
- package/{types/icons → icons}/components/OverbidIcon.d.ts +0 -0
- package/{types/icons → icons}/components/PdfIconIcon.d.ts +0 -0
- package/{types/icons → icons}/components/PhoneIcon.d.ts +0 -0
- package/{types/icons → icons}/components/PickUpIcon.d.ts +0 -0
- package/{types/icons → icons}/components/PinIcon.d.ts +0 -0
- package/{types/icons → icons}/components/PlayIcon.d.ts +0 -0
- package/{types/icons → icons}/components/Pricetag.d.ts +0 -0
- package/{types/icons → icons}/components/PricetagFilledKronaIcon.d.ts +0 -0
- package/{types/icons → icons}/components/PrivateCarIcon.d.ts +0 -0
- package/{types/icons → icons}/components/ProfileCircleIcon.d.ts +0 -0
- package/{types/icons → icons}/components/ProfileIcon.d.ts +0 -0
- package/{types/icons → icons}/components/RadioIcon.d.ts +0 -0
- package/{types/icons → icons}/components/ReclamationIcon.d.ts +0 -0
- package/{types/icons → icons}/components/ReleasingIcon.d.ts +0 -0
- package/{types/icons → icons}/components/RemoveFilterIcon.d.ts +0 -0
- package/{types/icons → icons}/components/ReservedPriceIcon.d.ts +0 -0
- package/{types/icons → icons}/components/ResultIcon.d.ts +0 -0
- package/{types/icons → icons}/components/SafePaymentIcon.d.ts +0 -0
- package/{types/icons → icons}/components/SaleTagIcon.d.ts +0 -0
- package/{types/icons → icons}/components/SearchCheckIcon.d.ts +0 -0
- package/{types/icons → icons}/components/SearchIcon.d.ts +0 -0
- package/{types/icons → icons}/components/SedanIcon.d.ts +0 -0
- package/{types/icons → icons}/components/SellCarIcon.d.ts +0 -0
- package/{types/icons → icons}/components/SellCarsIcon.d.ts +0 -0
- package/{types/icons → icons}/components/ServiceIcon.d.ts +0 -0
- package/{types/icons → icons}/components/ShareIcon.d.ts +0 -0
- package/{types/icons → icons}/components/ShieldIcon.d.ts +0 -0
- package/{types/icons → icons}/components/SignInIcon.d.ts +0 -0
- package/{types/icons → icons}/components/SignOutIcon.d.ts +0 -0
- package/{types/icons → icons}/components/SpeedMeterIcon.d.ts +0 -0
- package/{types/icons → icons}/components/StarCircleIcon.d.ts +0 -0
- package/{types/icons → icons}/components/StartIcon.d.ts +0 -0
- package/{types/icons → icons}/components/StoreIcon.d.ts +0 -0
- package/{types/icons → icons}/components/SuvIcon.d.ts +0 -0
- package/{types/icons → icons}/components/SwedenFlag.d.ts +0 -0
- package/{types/icons → icons}/components/TankIcon.d.ts +0 -0
- package/{types/icons → icons}/components/TireIcon.d.ts +0 -0
- package/{types/icons → icons}/components/TransportIcon.d.ts +0 -0
- package/{types/icons → icons}/components/TrashcanIcon.d.ts +0 -0
- package/{types/icons → icons}/components/TrophyIcon.d.ts +0 -0
- package/{types/icons → icons}/components/TruckIcon.d.ts +0 -0
- package/{types/icons → icons}/components/UmbrellaIcon.d.ts +0 -0
- package/{types/icons → icons}/components/ValuationIcon.d.ts +0 -0
- package/{types/icons → icons}/components/ValueIcon.d.ts +0 -0
- package/{types/icons → icons}/components/WarningIcon.d.ts +0 -0
- package/{types/icons → icons}/components/YoutubeIcon.d.ts +0 -0
- package/{types/icons → icons}/components/index.d.ts +0 -0
- package/{types/index.d.ts → index.d.ts} +0 -0
- package/kvdbil-components.css +224 -0
- package/kvdbil-components.js +1486 -0
- package/kvdbil-components.js.map +1 -0
- package/package.json +10 -14
- package/{types/setupTests.d.ts → setupTests.d.ts} +0 -0
- package/{types/shared → shared}/constants.d.ts +0 -0
- package/{types/shared → shared}/helpers.d.ts +0 -0
- package/{types/shared → shared}/media-queries.d.ts +0 -0
- package/{types/testUtils.d.ts → testUtils.d.ts} +0 -0
- package/{types/theme.d.ts → theme.d.ts} +0 -0
- package/{types/typography → typography}/BodyText/index.d.ts +0 -0
- package/{types/typography → typography}/ButtonText/index.d.ts +0 -0
- package/{types/typography → typography}/Heading/index.d.ts +0 -0
- package/{types/utils → utils}/utils.d.ts +0 -0
- package/cjs/ColorCard.js +0 -48
- package/cjs/ElevationCard.js +0 -35
- package/cjs/Interfaces.js +0 -2
- package/cjs/Types.js +0 -2
- package/cjs/components/Accordion/index.js +0 -124
- package/cjs/components/Badge/index.js +0 -78
- package/cjs/components/Button/index.js +0 -170
- package/cjs/components/Card/index.js +0 -28
- package/cjs/components/CheckBox/index.js +0 -109
- package/cjs/components/Chip/index.js +0 -99
- package/cjs/components/DayPicker/DayPickerNavBar.js +0 -60
- package/cjs/components/DayPicker/index.js +0 -76
- package/cjs/components/DayPicker/localeUtils.js +0 -60
- package/cjs/components/Dialog/index.js +0 -88
- package/cjs/components/ErrorMessage/index.js +0 -31
- package/cjs/components/FieldLabel.js +0 -59
- package/cjs/components/Header/Hamburger.js +0 -55
- package/cjs/components/Header/Link.js +0 -53
- package/cjs/components/Header/index.js +0 -118
- package/cjs/components/Hero/index.js +0 -65
- package/cjs/components/Icon/index.js +0 -115
- package/cjs/components/IconButton.js +0 -130
- package/cjs/components/Icons/Arrow.js +0 -16
- package/cjs/components/Icons/CheckCircle.js +0 -16
- package/cjs/components/Icons/CheckIcon.js +0 -16
- package/cjs/components/Icons/Close.js +0 -16
- package/cjs/components/Icons/ErrorCircle.js +0 -16
- package/cjs/components/Icons/InfoCircle.js +0 -16
- package/cjs/components/InlineStepper/Step.js +0 -116
- package/cjs/components/InlineStepper/StepCircle.js +0 -93
- package/cjs/components/InlineStepper/index.js +0 -51
- package/cjs/components/ListItem/Bacon.js +0 -16
- package/cjs/components/ListItem/index.js +0 -56
- package/cjs/components/Logo/LogoEn.js +0 -35
- package/cjs/components/Logo/LogoSv.js +0 -35
- package/cjs/components/Logo/index.js +0 -32
- package/cjs/components/MenuItem/index.js +0 -99
- package/cjs/components/Modal/index.js +0 -137
- package/cjs/components/NotificationButton/index.js +0 -39
- package/cjs/components/OffCanvas/Overlay.js +0 -70
- package/cjs/components/OffCanvas/index.js +0 -133
- package/cjs/components/OffCanvas/useClickOutside.js +0 -21
- package/cjs/components/RadioButton/index.js +0 -148
- package/cjs/components/Range/index.js +0 -82
- package/cjs/components/Select/components/test-icon.js +0 -16
- package/cjs/components/Select/index.js +0 -225
- package/cjs/components/Snackbar/index.js +0 -155
- package/cjs/components/Spinner/index.js +0 -68
- package/cjs/components/Stepper/index.js +0 -60
- package/cjs/components/StepperAccordion/index.js +0 -133
- package/cjs/components/Tabs/index.js +0 -71
- package/cjs/components/TextArea/index.js +0 -120
- package/cjs/components/Textfield/index.js +0 -130
- package/cjs/components/TimePicker/index.js +0 -49
- package/cjs/components/TimePicker/testHelper.js +0 -16
- package/cjs/components/Toggle/index.js +0 -83
- package/cjs/icons/components/AccountCreateIcon.js +0 -48
- package/cjs/icons/components/AccountIcon.js +0 -44
- package/cjs/icons/components/AccountLoginIcon.js +0 -50
- package/cjs/icons/components/ArrowDownIcon.js +0 -44
- package/cjs/icons/components/ArrowLeftIcon.js +0 -42
- package/cjs/icons/components/ArrowLeftSharpIcon.js +0 -44
- package/cjs/icons/components/ArrowLeftSmallIcon.js +0 -44
- package/cjs/icons/components/ArrowLong.js +0 -45
- package/cjs/icons/components/ArrowRestartIcon.js +0 -44
- package/cjs/icons/components/ArrowRightIcon.js +0 -42
- package/cjs/icons/components/ArrowRightSharpIcon.js +0 -44
- package/cjs/icons/components/ArrowUpIcon.js +0 -44
- package/cjs/icons/components/AuctionIcon.js +0 -42
- package/cjs/icons/components/BackArrowIcon.js +0 -42
- package/cjs/icons/components/Baseline360Icon.js +0 -45
- package/cjs/icons/components/BellIcon.js +0 -42
- package/cjs/icons/components/BidIcon.js +0 -42
- package/cjs/icons/components/BidKrIcon.js +0 -48
- package/cjs/icons/components/BreaksIcon.js +0 -42
- package/cjs/icons/components/BuyCarIcon.js +0 -42
- package/cjs/icons/components/CabIcon.js +0 -44
- package/cjs/icons/components/CalendarIcon.js +0 -51
- package/cjs/icons/components/CameraIcon.js +0 -42
- package/cjs/icons/components/Car360Icon.js +0 -67
- package/cjs/icons/components/CarFrontIcon.js +0 -42
- package/cjs/icons/components/CarSearchIcon.js +0 -42
- package/cjs/icons/components/CarSideIcon.js +0 -42
- package/cjs/icons/components/CarTiresIcon.js +0 -42
- package/cjs/icons/components/CaravanIcon.js +0 -42
- package/cjs/icons/components/CardViewIcon.js +0 -68
- package/cjs/icons/components/CarloanIcon.js +0 -44
- package/cjs/icons/components/CertifiedIcon.js +0 -52
- package/cjs/icons/components/ChatIcon.js +0 -43
- package/cjs/icons/components/CheckIcon.js +0 -43
- package/cjs/icons/components/CheckThinIcon.js +0 -43
- package/cjs/icons/components/CheckmarkFilledIcon.js +0 -42
- package/cjs/icons/components/CheckmarkIcon.js +0 -42
- package/cjs/icons/components/ClipboardFilledIcon.js +0 -42
- package/cjs/icons/components/ClipboardIcon.js +0 -42
- package/cjs/icons/components/ClockFilledIcon.js +0 -44
- package/cjs/icons/components/ClockIcon.js +0 -43
- package/cjs/icons/components/CloseIcon.js +0 -43
- package/cjs/icons/components/CloseThinIcon.js +0 -44
- package/cjs/icons/components/CoffeeIcon.js +0 -43
- package/cjs/icons/components/CombiIcon.js +0 -44
- package/cjs/icons/components/CommentCircleFilledIcon.js +0 -48
- package/cjs/icons/components/CommentCircleIconIcon.js +0 -46
- package/cjs/icons/components/CommentIcon.js +0 -46
- package/cjs/icons/components/ContactIcon.js +0 -46
- package/cjs/icons/components/CoupeIcon.js +0 -44
- package/cjs/icons/components/CreditCardIcon.js +0 -43
- package/cjs/icons/components/CrossCircleIcon.js +0 -42
- package/cjs/icons/components/CrownIcon.js +0 -43
- package/cjs/icons/components/DealmakerIcon.js +0 -48
- package/cjs/icons/components/DeliveryIcon.js +0 -51
- package/cjs/icons/components/DetailedSearchIcon.js +0 -43
- package/cjs/icons/components/EcoFriendlyIcon.js +0 -46
- package/cjs/icons/components/EditIcon.js +0 -43
- package/cjs/icons/components/EngineIcon.js +0 -42
- package/cjs/icons/components/EnglandFlagIcon.js +0 -60
- package/cjs/icons/components/EvaluationIcon.js +0 -46
- package/cjs/icons/components/ExaminationMarkFilledIcon.js +0 -42
- package/cjs/icons/components/ExaminationMarkIcon.js +0 -42
- package/cjs/icons/components/ExteriorIcon.js +0 -42
- package/cjs/icons/components/EyeIcon.js +0 -48
- package/cjs/icons/components/FacebookBtnIcon.js +0 -42
- package/cjs/icons/components/FacebookIcon.js +0 -44
- package/cjs/icons/components/FatalIcon.js +0 -44
- package/cjs/icons/components/FavouriteIcon.js +0 -42
- package/cjs/icons/components/FavouriteSolidIcon.js +0 -42
- package/cjs/icons/components/FilterIcon.js +0 -44
- package/cjs/icons/components/FinanceIcon.js +0 -42
- package/cjs/icons/components/FindCarIcon.js +0 -42
- package/cjs/icons/components/FixedMonthlyCostIcon.js +0 -48
- package/cjs/icons/components/FlagIcon.js +0 -42
- package/cjs/icons/components/FlexibilityIcon.js +0 -48
- package/cjs/icons/components/ForumLargeIcon.js +0 -42
- package/cjs/icons/components/ForumSmallIcon.js +0 -42
- package/cjs/icons/components/GavelIcon.js +0 -44
- package/cjs/icons/components/GearboxIcon.js +0 -44
- package/cjs/icons/components/GiftIcon.js +0 -58
- package/cjs/icons/components/GridViewIcon.js +0 -42
- package/cjs/icons/components/GroupIcon.js +0 -79
- package/cjs/icons/components/GuaranteeIcon.js +0 -42
- package/cjs/icons/components/GuaranteeLargeIcon.js +0 -42
- package/cjs/icons/components/GuaranteeSmallIcon.js +0 -42
- package/cjs/icons/components/HalfCombiIcon.js +0 -44
- package/cjs/icons/components/HamburgerIcon.js +0 -42
- package/cjs/icons/components/HandshakeIcon.js +0 -42
- package/cjs/icons/components/HelpingHandIcon.js +0 -60
- package/cjs/icons/components/IdIcon.js +0 -45
- package/cjs/icons/components/InformationIcon.js +0 -42
- package/cjs/icons/components/InstagramIcon.js +0 -49
- package/cjs/icons/components/InsuranceIcon.js +0 -42
- package/cjs/icons/components/InteriorIcon.js +0 -44
- package/cjs/icons/components/InteriorThinIcon.js +0 -44
- package/cjs/icons/components/InternationalIcon.js +0 -50
- package/cjs/icons/components/KvdTestIcon.js +0 -42
- package/cjs/icons/components/KvdVenueIcon.js +0 -42
- package/cjs/icons/components/LifebuoyIcon.js +0 -42
- package/cjs/icons/components/LiftTruckIcon.js +0 -42
- package/cjs/icons/components/LinkedInIcon.js +0 -42
- package/cjs/icons/components/ListViewIcon.js +0 -64
- package/cjs/icons/components/MailIcon.js +0 -44
- package/cjs/icons/components/MinibusIcon.js +0 -44
- package/cjs/icons/components/MinivanIcon.js +0 -45
- package/cjs/icons/components/MobileIcon.js +0 -52
- package/cjs/icons/components/MotorcycleIcon.js +0 -74
- package/cjs/icons/components/MrfLogoIcon.js +0 -53
- package/cjs/icons/components/NotFoundIcon.js +0 -42
- package/cjs/icons/components/OverbidIcon.js +0 -44
- package/cjs/icons/components/PdfIconIcon.js +0 -42
- package/cjs/icons/components/PhoneIcon.js +0 -44
- package/cjs/icons/components/PickUpIcon.js +0 -42
- package/cjs/icons/components/PinIcon.js +0 -42
- package/cjs/icons/components/PlayIcon.js +0 -42
- package/cjs/icons/components/Pricetag.js +0 -51
- package/cjs/icons/components/PricetagFilledKronaIcon.js +0 -47
- package/cjs/icons/components/PrivateCarIcon.js +0 -42
- package/cjs/icons/components/ProfileCircleIcon.js +0 -42
- package/cjs/icons/components/ProfileIcon.js +0 -42
- package/cjs/icons/components/RadioIcon.js +0 -54
- package/cjs/icons/components/ReclamationIcon.js +0 -42
- package/cjs/icons/components/ReleasingIcon.js +0 -48
- package/cjs/icons/components/RemoveFilterIcon.js +0 -42
- package/cjs/icons/components/ReservedPriceIcon.js +0 -42
- package/cjs/icons/components/ResultIcon.js +0 -42
- package/cjs/icons/components/SafePaymentIcon.js +0 -42
- package/cjs/icons/components/SaleTagIcon.js +0 -42
- package/cjs/icons/components/SearchCheckIcon.js +0 -48
- package/cjs/icons/components/SearchIcon.js +0 -42
- package/cjs/icons/components/SedanIcon.js +0 -44
- package/cjs/icons/components/SellCarIcon.js +0 -42
- package/cjs/icons/components/SellCarsIcon.js +0 -42
- package/cjs/icons/components/ServiceIcon.js +0 -47
- package/cjs/icons/components/ShareIcon.js +0 -68
- package/cjs/icons/components/ShieldIcon.js +0 -42
- package/cjs/icons/components/SignInIcon.js +0 -42
- package/cjs/icons/components/SignOutIcon.js +0 -42
- package/cjs/icons/components/SpeedMeterIcon.js +0 -44
- package/cjs/icons/components/StarCircleIcon.js +0 -42
- package/cjs/icons/components/StartIcon.js +0 -50
- package/cjs/icons/components/StoreIcon.js +0 -42
- package/cjs/icons/components/SuvIcon.js +0 -44
- package/cjs/icons/components/SwedenFlag.js +0 -50
- package/cjs/icons/components/TankIcon.js +0 -52
- package/cjs/icons/components/TireIcon.js +0 -42
- package/cjs/icons/components/TransportIcon.js +0 -42
- package/cjs/icons/components/TrashcanIcon.js +0 -42
- package/cjs/icons/components/TrophyIcon.js +0 -42
- package/cjs/icons/components/TruckIcon.js +0 -42
- package/cjs/icons/components/UmbrellaIcon.js +0 -42
- package/cjs/icons/components/ValuationIcon.js +0 -42
- package/cjs/icons/components/ValueIcon.js +0 -47
- package/cjs/icons/components/WarningIcon.js +0 -42
- package/cjs/icons/components/YoutubeIcon.js +0 -42
- package/cjs/icons/components/index.js +0 -320
- package/cjs/index.js +0 -438
- package/cjs/react-app-env.d.js +0 -2
- package/cjs/shared/constants.js +0 -7
- package/cjs/shared/helpers.js +0 -28
- package/cjs/shared/helpers.spec.js +0 -36
- package/cjs/shared/media-queries.js +0 -41
- package/cjs/styled.d.js +0 -4
- package/cjs/theme.js +0 -125
- package/cjs/typography/BodyText/index.js +0 -66
- package/cjs/typography/ButtonText/index.js +0 -48
- package/cjs/typography/Heading/index.js +0 -92
- package/cjs/utils/utils.js +0 -33
- package/esm/ColorCard.js +0 -40
- package/esm/ElevationCard.js +0 -27
- package/esm/Interfaces.js +0 -1
- package/esm/Types.js +0 -1
- package/esm/components/Accordion/index.js +0 -115
- package/esm/components/Badge/index.js +0 -69
- package/esm/components/Button/index.js +0 -161
- package/esm/components/Card/index.js +0 -19
- package/esm/components/CheckBox/index.js +0 -100
- package/esm/components/Chip/index.js +0 -90
- package/esm/components/DayPicker/DayPickerNavBar.js +0 -52
- package/esm/components/DayPicker/index.js +0 -66
- package/esm/components/DayPicker/localeUtils.js +0 -52
- package/esm/components/Dialog/index.js +0 -79
- package/esm/components/ErrorMessage/index.js +0 -22
- package/esm/components/FieldLabel.js +0 -51
- package/esm/components/Header/Hamburger.js +0 -47
- package/esm/components/Header/Link.js +0 -45
- package/esm/components/Header/index.js +0 -109
- package/esm/components/Hero/index.js +0 -56
- package/esm/components/Icon/index.js +0 -107
- package/esm/components/IconButton.js +0 -122
- package/esm/components/Icons/Arrow.js +0 -12
- package/esm/components/Icons/CheckCircle.js +0 -12
- package/esm/components/Icons/CheckIcon.js +0 -12
- package/esm/components/Icons/Close.js +0 -12
- package/esm/components/Icons/ErrorCircle.js +0 -12
- package/esm/components/Icons/InfoCircle.js +0 -12
- package/esm/components/InlineStepper/Step.js +0 -107
- package/esm/components/InlineStepper/StepCircle.js +0 -85
- package/esm/components/InlineStepper/index.js +0 -43
- package/esm/components/ListItem/Bacon.js +0 -12
- package/esm/components/ListItem/index.js +0 -48
- package/esm/components/Logo/LogoEn.js +0 -31
- package/esm/components/Logo/LogoSv.js +0 -31
- package/esm/components/Logo/index.js +0 -23
- package/esm/components/MenuItem/index.js +0 -90
- package/esm/components/Modal/index.js +0 -128
- package/esm/components/NotificationButton/index.js +0 -31
- package/esm/components/OffCanvas/Overlay.js +0 -61
- package/esm/components/OffCanvas/index.js +0 -124
- package/esm/components/OffCanvas/useClickOutside.js +0 -17
- package/esm/components/RadioButton/index.js +0 -139
- package/esm/components/Range/index.js +0 -73
- package/esm/components/Select/components/test-icon.js +0 -12
- package/esm/components/Select/index.js +0 -215
- package/esm/components/Snackbar/index.js +0 -146
- package/esm/components/Spinner/index.js +0 -60
- package/esm/components/Stepper/index.js +0 -52
- package/esm/components/StepperAccordion/index.js +0 -124
- package/esm/components/Tabs/index.js +0 -61
- package/esm/components/TextArea/index.js +0 -111
- package/esm/components/Textfield/index.js +0 -121
- package/esm/components/TimePicker/index.js +0 -40
- package/esm/components/TimePicker/testHelper.js +0 -12
- package/esm/components/Toggle/index.js +0 -75
- package/esm/icons/components/AccountCreateIcon.js +0 -22
- package/esm/icons/components/AccountIcon.js +0 -18
- package/esm/icons/components/AccountLoginIcon.js +0 -24
- package/esm/icons/components/ArrowDownIcon.js +0 -18
- package/esm/icons/components/ArrowLeftIcon.js +0 -16
- package/esm/icons/components/ArrowLeftSharpIcon.js +0 -18
- package/esm/icons/components/ArrowLeftSmallIcon.js +0 -18
- package/esm/icons/components/ArrowLong.js +0 -19
- package/esm/icons/components/ArrowRestartIcon.js +0 -18
- package/esm/icons/components/ArrowRightIcon.js +0 -16
- package/esm/icons/components/ArrowRightSharpIcon.js +0 -18
- package/esm/icons/components/ArrowUpIcon.js +0 -18
- package/esm/icons/components/AuctionIcon.js +0 -16
- package/esm/icons/components/BackArrowIcon.js +0 -16
- package/esm/icons/components/Baseline360Icon.js +0 -19
- package/esm/icons/components/BellIcon.js +0 -16
- package/esm/icons/components/BidIcon.js +0 -16
- package/esm/icons/components/BidKrIcon.js +0 -22
- package/esm/icons/components/BreaksIcon.js +0 -16
- package/esm/icons/components/BuyCarIcon.js +0 -16
- package/esm/icons/components/CabIcon.js +0 -18
- package/esm/icons/components/CalendarIcon.js +0 -25
- package/esm/icons/components/CameraIcon.js +0 -16
- package/esm/icons/components/Car360Icon.js +0 -41
- package/esm/icons/components/CarFrontIcon.js +0 -16
- package/esm/icons/components/CarSearchIcon.js +0 -16
- package/esm/icons/components/CarSideIcon.js +0 -16
- package/esm/icons/components/CarTiresIcon.js +0 -16
- package/esm/icons/components/CaravanIcon.js +0 -16
- package/esm/icons/components/CardViewIcon.js +0 -42
- package/esm/icons/components/CarloanIcon.js +0 -18
- package/esm/icons/components/CertifiedIcon.js +0 -26
- package/esm/icons/components/ChatIcon.js +0 -17
- package/esm/icons/components/CheckIcon.js +0 -17
- package/esm/icons/components/CheckThinIcon.js +0 -17
- package/esm/icons/components/CheckmarkFilledIcon.js +0 -16
- package/esm/icons/components/CheckmarkIcon.js +0 -16
- package/esm/icons/components/ClipboardFilledIcon.js +0 -16
- package/esm/icons/components/ClipboardIcon.js +0 -16
- package/esm/icons/components/ClockFilledIcon.js +0 -18
- package/esm/icons/components/ClockIcon.js +0 -17
- package/esm/icons/components/CloseIcon.js +0 -17
- package/esm/icons/components/CloseThinIcon.js +0 -18
- package/esm/icons/components/CoffeeIcon.js +0 -17
- package/esm/icons/components/CombiIcon.js +0 -18
- package/esm/icons/components/CommentCircleFilledIcon.js +0 -22
- package/esm/icons/components/CommentCircleIconIcon.js +0 -20
- package/esm/icons/components/CommentIcon.js +0 -20
- package/esm/icons/components/ContactIcon.js +0 -20
- package/esm/icons/components/CoupeIcon.js +0 -18
- package/esm/icons/components/CreditCardIcon.js +0 -17
- package/esm/icons/components/CrossCircleIcon.js +0 -16
- package/esm/icons/components/CrownIcon.js +0 -17
- package/esm/icons/components/DealmakerIcon.js +0 -22
- package/esm/icons/components/DeliveryIcon.js +0 -25
- package/esm/icons/components/DetailedSearchIcon.js +0 -17
- package/esm/icons/components/EcoFriendlyIcon.js +0 -20
- package/esm/icons/components/EditIcon.js +0 -17
- package/esm/icons/components/EngineIcon.js +0 -16
- package/esm/icons/components/EnglandFlagIcon.js +0 -34
- package/esm/icons/components/EvaluationIcon.js +0 -20
- package/esm/icons/components/ExaminationMarkFilledIcon.js +0 -16
- package/esm/icons/components/ExaminationMarkIcon.js +0 -16
- package/esm/icons/components/ExteriorIcon.js +0 -16
- package/esm/icons/components/EyeIcon.js +0 -22
- package/esm/icons/components/FacebookBtnIcon.js +0 -16
- package/esm/icons/components/FacebookIcon.js +0 -18
- package/esm/icons/components/FatalIcon.js +0 -18
- package/esm/icons/components/FavouriteIcon.js +0 -16
- package/esm/icons/components/FavouriteSolidIcon.js +0 -16
- package/esm/icons/components/FilterIcon.js +0 -18
- package/esm/icons/components/FinanceIcon.js +0 -16
- package/esm/icons/components/FindCarIcon.js +0 -16
- package/esm/icons/components/FixedMonthlyCostIcon.js +0 -22
- package/esm/icons/components/FlagIcon.js +0 -16
- package/esm/icons/components/FlexibilityIcon.js +0 -22
- package/esm/icons/components/ForumLargeIcon.js +0 -16
- package/esm/icons/components/ForumSmallIcon.js +0 -16
- package/esm/icons/components/GavelIcon.js +0 -18
- package/esm/icons/components/GearboxIcon.js +0 -18
- package/esm/icons/components/GiftIcon.js +0 -32
- package/esm/icons/components/GridViewIcon.js +0 -16
- package/esm/icons/components/GroupIcon.js +0 -53
- package/esm/icons/components/GuaranteeIcon.js +0 -16
- package/esm/icons/components/GuaranteeLargeIcon.js +0 -16
- package/esm/icons/components/GuaranteeSmallIcon.js +0 -16
- package/esm/icons/components/HalfCombiIcon.js +0 -18
- package/esm/icons/components/HamburgerIcon.js +0 -16
- package/esm/icons/components/HandshakeIcon.js +0 -16
- package/esm/icons/components/HelpingHandIcon.js +0 -34
- package/esm/icons/components/IdIcon.js +0 -19
- package/esm/icons/components/InformationIcon.js +0 -16
- package/esm/icons/components/InstagramIcon.js +0 -23
- package/esm/icons/components/InsuranceIcon.js +0 -16
- package/esm/icons/components/InteriorIcon.js +0 -18
- package/esm/icons/components/InteriorThinIcon.js +0 -18
- package/esm/icons/components/InternationalIcon.js +0 -24
- package/esm/icons/components/KvdTestIcon.js +0 -16
- package/esm/icons/components/KvdVenueIcon.js +0 -16
- package/esm/icons/components/LifebuoyIcon.js +0 -16
- package/esm/icons/components/LiftTruckIcon.js +0 -16
- package/esm/icons/components/LinkedInIcon.js +0 -16
- package/esm/icons/components/ListViewIcon.js +0 -38
- package/esm/icons/components/MailIcon.js +0 -18
- package/esm/icons/components/MinibusIcon.js +0 -18
- package/esm/icons/components/MinivanIcon.js +0 -19
- package/esm/icons/components/MobileIcon.js +0 -26
- package/esm/icons/components/MotorcycleIcon.js +0 -48
- package/esm/icons/components/MrfLogoIcon.js +0 -27
- package/esm/icons/components/NotFoundIcon.js +0 -16
- package/esm/icons/components/OverbidIcon.js +0 -18
- package/esm/icons/components/PdfIconIcon.js +0 -16
- package/esm/icons/components/PhoneIcon.js +0 -18
- package/esm/icons/components/PickUpIcon.js +0 -16
- package/esm/icons/components/PinIcon.js +0 -16
- package/esm/icons/components/PlayIcon.js +0 -16
- package/esm/icons/components/Pricetag.js +0 -25
- package/esm/icons/components/PricetagFilledKronaIcon.js +0 -21
- package/esm/icons/components/PrivateCarIcon.js +0 -16
- package/esm/icons/components/ProfileCircleIcon.js +0 -16
- package/esm/icons/components/ProfileIcon.js +0 -16
- package/esm/icons/components/RadioIcon.js +0 -28
- package/esm/icons/components/ReclamationIcon.js +0 -16
- package/esm/icons/components/ReleasingIcon.js +0 -22
- package/esm/icons/components/RemoveFilterIcon.js +0 -16
- package/esm/icons/components/ReservedPriceIcon.js +0 -16
- package/esm/icons/components/ResultIcon.js +0 -16
- package/esm/icons/components/SafePaymentIcon.js +0 -16
- package/esm/icons/components/SaleTagIcon.js +0 -16
- package/esm/icons/components/SearchCheckIcon.js +0 -22
- package/esm/icons/components/SearchIcon.js +0 -16
- package/esm/icons/components/SedanIcon.js +0 -18
- package/esm/icons/components/SellCarIcon.js +0 -16
- package/esm/icons/components/SellCarsIcon.js +0 -16
- package/esm/icons/components/ServiceIcon.js +0 -21
- package/esm/icons/components/ShareIcon.js +0 -42
- package/esm/icons/components/ShieldIcon.js +0 -16
- package/esm/icons/components/SignInIcon.js +0 -16
- package/esm/icons/components/SignOutIcon.js +0 -16
- package/esm/icons/components/SpeedMeterIcon.js +0 -18
- package/esm/icons/components/StarCircleIcon.js +0 -16
- package/esm/icons/components/StartIcon.js +0 -24
- package/esm/icons/components/StoreIcon.js +0 -16
- package/esm/icons/components/SuvIcon.js +0 -18
- package/esm/icons/components/SwedenFlag.js +0 -24
- package/esm/icons/components/TankIcon.js +0 -26
- package/esm/icons/components/TireIcon.js +0 -16
- package/esm/icons/components/TransportIcon.js +0 -16
- package/esm/icons/components/TrashcanIcon.js +0 -16
- package/esm/icons/components/TrophyIcon.js +0 -16
- package/esm/icons/components/TruckIcon.js +0 -16
- package/esm/icons/components/UmbrellaIcon.js +0 -16
- package/esm/icons/components/ValuationIcon.js +0 -16
- package/esm/icons/components/ValueIcon.js +0 -21
- package/esm/icons/components/WarningIcon.js +0 -16
- package/esm/icons/components/YoutubeIcon.js +0 -16
- package/esm/icons/components/index.js +0 -157
- package/esm/index.js +0 -220
- package/esm/react-app-env.d.js +0 -1
- package/esm/shared/constants.js +0 -3
- package/esm/shared/helpers.js +0 -23
- package/esm/shared/helpers.spec.js +0 -34
- package/esm/shared/media-queries.js +0 -35
- package/esm/styled.d.js +0 -1
- package/esm/theme.js +0 -121
- package/esm/typography/BodyText/index.js +0 -48
- package/esm/typography/ButtonText/index.js +0 -33
- package/esm/typography/Heading/index.js +0 -76
- package/esm/utils/utils.js +0 -28
- package/types/components/Select/components/test-icon.d.ts +0 -1
- package/types/icons/template.d.ts +0 -10
- package/types/serviceWorker.d.ts +0 -2
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var styled = require('styled-components');
|
|
6
|
-
var shared_mediaQueries = require('../../shared/media-queries.js');
|
|
7
|
-
var theme = require('../../theme.js');
|
|
8
|
-
var components_Logo_index = require('../Logo/index.js');
|
|
9
|
-
var components_Header_Hamburger = require('./Hamburger.js');
|
|
10
|
-
var components_Header_Link = require('./Link.js');
|
|
11
|
-
require('../Logo/LogoSv.js');
|
|
12
|
-
require('../Logo/LogoEn.js');
|
|
13
|
-
|
|
14
|
-
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
15
|
-
|
|
16
|
-
var styled__default = /*#__PURE__*/_interopDefaultLegacy(styled);
|
|
17
|
-
|
|
18
|
-
const LogoWrapper = styled__default['default'].a`
|
|
19
|
-
cursor: pointer;
|
|
20
|
-
padding: 0 0.625rem;
|
|
21
|
-
width: 100%;
|
|
22
|
-
display: flex;
|
|
23
|
-
justify-content: center;
|
|
24
|
-
align-items: center;
|
|
25
|
-
background: ${theme['default'].colors.background.light};
|
|
26
|
-
|
|
27
|
-
${shared_mediaQueries.mq("tablet")} {
|
|
28
|
-
display: block;
|
|
29
|
-
width: auto;
|
|
30
|
-
padding: 0 1.5rem 0 0;
|
|
31
|
-
}
|
|
32
|
-
`;
|
|
33
|
-
const HeaderContainer = styled__default['default'].nav`
|
|
34
|
-
width: 100%;
|
|
35
|
-
z-index: 17;
|
|
36
|
-
position: fixed;
|
|
37
|
-
top: 0;
|
|
38
|
-
left: 0;
|
|
39
|
-
color: ${theme['default'].colors.text.dark};
|
|
40
|
-
background-color: ${theme['default'].colors.background.light};
|
|
41
|
-
transition: 300ms;
|
|
42
|
-
`;
|
|
43
|
-
const HeaderContent = styled__default['default'].div`
|
|
44
|
-
display: flex;
|
|
45
|
-
flex-direction: column;
|
|
46
|
-
align-items: center;
|
|
47
|
-
justify-content: space-between;
|
|
48
|
-
background-color: ${theme['default'].colors.background.gray};
|
|
49
|
-
|
|
50
|
-
${shared_mediaQueries.mq("tablet")} {
|
|
51
|
-
background-color: ${theme['default'].colors.background.light};
|
|
52
|
-
flex-direction: row;
|
|
53
|
-
padding: 0em 1.5em;
|
|
54
|
-
}
|
|
55
|
-
`;
|
|
56
|
-
const MainContent = styled__default['default'].div`
|
|
57
|
-
display: flex;
|
|
58
|
-
width: 100%;
|
|
59
|
-
`;
|
|
60
|
-
const PrimaryLinks = styled__default['default'].ul`
|
|
61
|
-
display: flex;
|
|
62
|
-
justify-content: space-around;
|
|
63
|
-
width: 100%;
|
|
64
|
-
position: relative;
|
|
65
|
-
margin: 0;
|
|
66
|
-
padding: 0;
|
|
67
|
-
flex-grow: 1;
|
|
68
|
-
|
|
69
|
-
${shared_mediaQueries.mq("tablet")} {
|
|
70
|
-
justify-content: flex-start;
|
|
71
|
-
padding: 0.5em 0;
|
|
72
|
-
display: flex;
|
|
73
|
-
padding: 0;
|
|
74
|
-
flex: 1;
|
|
75
|
-
}
|
|
76
|
-
`;
|
|
77
|
-
const SecondaryLinks = styled__default['default'].ul`
|
|
78
|
-
display: none;
|
|
79
|
-
|
|
80
|
-
${shared_mediaQueries.mq("laptop")} {
|
|
81
|
-
padding: 0.5em 0;
|
|
82
|
-
display: flex;
|
|
83
|
-
padding: 0;
|
|
84
|
-
}
|
|
85
|
-
`;
|
|
86
|
-
const Header = ({
|
|
87
|
-
locale,
|
|
88
|
-
primaryLinks,
|
|
89
|
-
secondaryLinks,
|
|
90
|
-
menuIconText,
|
|
91
|
-
onMenuClick,
|
|
92
|
-
onHeaderClick,
|
|
93
|
-
forwardRef,
|
|
94
|
-
css = "",
|
|
95
|
-
...props
|
|
96
|
-
}) => {
|
|
97
|
-
return /* @__PURE__ */ React.createElement(HeaderContainer, {
|
|
98
|
-
css,
|
|
99
|
-
...props,
|
|
100
|
-
ref: forwardRef
|
|
101
|
-
}, /* @__PURE__ */ React.createElement(HeaderContent, null, /* @__PURE__ */ React.createElement(LogoWrapper, {
|
|
102
|
-
onClick: onHeaderClick
|
|
103
|
-
}, /* @__PURE__ */ React.createElement(components_Logo_index.Logo, {
|
|
104
|
-
locale
|
|
105
|
-
})), /* @__PURE__ */ React.createElement(MainContent, null, /* @__PURE__ */ React.createElement(PrimaryLinks, null, primaryLinks.map((link, index) => /* @__PURE__ */ React.createElement(components_Header_Link['default'], {
|
|
106
|
-
key: link.text || index,
|
|
107
|
-
...link
|
|
108
|
-
}))), /* @__PURE__ */ React.createElement(components_Header_Hamburger['default'], {
|
|
109
|
-
text: menuIconText,
|
|
110
|
-
onClick: onMenuClick
|
|
111
|
-
})), /* @__PURE__ */ React.createElement(SecondaryLinks, null, secondaryLinks.map((link, index) => /* @__PURE__ */ React.createElement(components_Header_Link['default'], {
|
|
112
|
-
key: link.text || index,
|
|
113
|
-
...link
|
|
114
|
-
})))));
|
|
115
|
-
};
|
|
116
|
-
|
|
117
|
-
exports.Header = Header;
|
|
118
|
-
exports['default'] = Header;
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var styled = require('styled-components');
|
|
6
|
-
var theme = require('../../theme.js');
|
|
7
|
-
|
|
8
|
-
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
9
|
-
|
|
10
|
-
var styled__default = /*#__PURE__*/_interopDefaultLegacy(styled);
|
|
11
|
-
|
|
12
|
-
const Root = styled__default['default'].div`
|
|
13
|
-
position: relative;
|
|
14
|
-
height: 60vh;
|
|
15
|
-
max-height: 600px;
|
|
16
|
-
background-color: ${theme['default'].colors.primary.main};
|
|
17
|
-
background-size: cover;
|
|
18
|
-
`;
|
|
19
|
-
const Content = styled__default['default'].div`
|
|
20
|
-
position: relative;
|
|
21
|
-
display: flex;
|
|
22
|
-
padding: 50px;
|
|
23
|
-
z-index: 1;
|
|
24
|
-
`;
|
|
25
|
-
const Video = styled__default['default'].iframe`
|
|
26
|
-
position: absolute;
|
|
27
|
-
width: 100%;
|
|
28
|
-
height: 100%;
|
|
29
|
-
top: 0;
|
|
30
|
-
left: 0;
|
|
31
|
-
`;
|
|
32
|
-
const Image = styled__default['default'].img`
|
|
33
|
-
position: absolute;
|
|
34
|
-
top: 0;
|
|
35
|
-
left: 0;
|
|
36
|
-
height: 100%;
|
|
37
|
-
width: 100%;
|
|
38
|
-
object-fit: cover;
|
|
39
|
-
background-color: ${theme['default'].colors.primary.main};
|
|
40
|
-
`;
|
|
41
|
-
function Hero(props) {
|
|
42
|
-
const { imageProps, containerStyle, videoProps, children } = props;
|
|
43
|
-
const imageStyle = {
|
|
44
|
-
objectPosition: `${(imageProps == null ? void 0 : imageProps.x) ? imageProps.x : "50%"} ${(imageProps == null ? void 0 : imageProps.y) ? imageProps.y : "50%"}`
|
|
45
|
-
};
|
|
46
|
-
return /* @__PURE__ */ React.createElement(Root, {
|
|
47
|
-
style: containerStyle
|
|
48
|
-
}, videoProps ? /* @__PURE__ */ React.createElement(Video, {
|
|
49
|
-
"data-testid": "hero-video",
|
|
50
|
-
title: "video-frame",
|
|
51
|
-
src: videoProps.src,
|
|
52
|
-
width: "100%",
|
|
53
|
-
height: "100%",
|
|
54
|
-
frameBorder: "0",
|
|
55
|
-
allow: "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",
|
|
56
|
-
allowFullScreen: true
|
|
57
|
-
}) : /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(Image, {
|
|
58
|
-
src: imageProps == null ? void 0 : imageProps.src,
|
|
59
|
-
alt: "Hero background",
|
|
60
|
-
style: imageStyle
|
|
61
|
-
}), /* @__PURE__ */ React.createElement(Content, null, children)));
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
exports.Hero = Hero;
|
|
65
|
-
exports['default'] = Hero;
|
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var React$1 = require('react');
|
|
6
|
-
var styled = require('styled-components');
|
|
7
|
-
var typography_BodyText_index = require('../../typography/BodyText/index.js');
|
|
8
|
-
var typography_Heading_index = require('../../typography/Heading/index.js');
|
|
9
|
-
var theme = require('../../theme.js');
|
|
10
|
-
var components_Snackbar_index = require('../Snackbar/index.js');
|
|
11
|
-
require('../../shared/media-queries.js');
|
|
12
|
-
require('../Icons/CheckCircle.js');
|
|
13
|
-
require('../Icons/Close.js');
|
|
14
|
-
require('../Icons/ErrorCircle.js');
|
|
15
|
-
require('../Icons/InfoCircle.js');
|
|
16
|
-
require('react-transition-group');
|
|
17
|
-
|
|
18
|
-
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
19
|
-
|
|
20
|
-
var styled__default = /*#__PURE__*/_interopDefaultLegacy(styled);
|
|
21
|
-
|
|
22
|
-
const Wrapper = styled__default['default'].div`
|
|
23
|
-
margin: 0 auto;
|
|
24
|
-
max-width: 700px;
|
|
25
|
-
`;
|
|
26
|
-
const Title = styled__default['default'](typography_Heading_index.Title)`
|
|
27
|
-
margin: 0.5rem;
|
|
28
|
-
`;
|
|
29
|
-
const IconsList = styled__default['default'].ul`
|
|
30
|
-
display: flex;
|
|
31
|
-
list-style: none;
|
|
32
|
-
flex-wrap: wrap;
|
|
33
|
-
padding: 0;
|
|
34
|
-
`;
|
|
35
|
-
const ListItem = styled__default['default'].li`
|
|
36
|
-
background: ${({ background }) => background};
|
|
37
|
-
display: flex;
|
|
38
|
-
justify-content: center;
|
|
39
|
-
flex-direction: column;
|
|
40
|
-
align-items: center;
|
|
41
|
-
width: calc(25% - 2px - 1.5rem);
|
|
42
|
-
padding: 0 0.25rem;
|
|
43
|
-
border: 1px solid ${theme['default'].colors.gray.dark5};
|
|
44
|
-
border-radius: 3px;
|
|
45
|
-
margin: 0.5rem;
|
|
46
|
-
cursor: pointer;
|
|
47
|
-
`;
|
|
48
|
-
const Name = styled__default['default'](typography_BodyText_index.Caption)`
|
|
49
|
-
overflow-wrap: break-word;
|
|
50
|
-
word-wrap: break-word;
|
|
51
|
-
word-break: break-word;
|
|
52
|
-
hyphens: auto;
|
|
53
|
-
text-align: center;
|
|
54
|
-
`;
|
|
55
|
-
const IconContainer = styled__default['default'].span`
|
|
56
|
-
font-size: ${({ size }) => size};
|
|
57
|
-
color: ${({ color }) => color};
|
|
58
|
-
`;
|
|
59
|
-
const Icons = ({
|
|
60
|
-
background = theme['default'].colors.background.light,
|
|
61
|
-
color = theme['default'].colors.text.dark,
|
|
62
|
-
icons,
|
|
63
|
-
size = "2rem"
|
|
64
|
-
}) => {
|
|
65
|
-
const [state, setState] = React$1.useState({
|
|
66
|
-
isOpen: false,
|
|
67
|
-
message: "",
|
|
68
|
-
type: "info",
|
|
69
|
-
color: "neutral"
|
|
70
|
-
});
|
|
71
|
-
const copyImport = async (name) => {
|
|
72
|
-
const importPath = `import { ${name} } from 'kvdbil-components';`;
|
|
73
|
-
if (!navigator.clipboard) {
|
|
74
|
-
return;
|
|
75
|
-
}
|
|
76
|
-
try {
|
|
77
|
-
await navigator.clipboard.writeText(importPath);
|
|
78
|
-
setState((s) => ({
|
|
79
|
-
...s,
|
|
80
|
-
isOpen: true,
|
|
81
|
-
message: `copied import for ${name}`,
|
|
82
|
-
type: "success",
|
|
83
|
-
color: "success"
|
|
84
|
-
}));
|
|
85
|
-
} catch (error) {
|
|
86
|
-
setState((s) => ({
|
|
87
|
-
...s,
|
|
88
|
-
isOpen: true,
|
|
89
|
-
message: `Could not copy text: ${error}`,
|
|
90
|
-
type: "error",
|
|
91
|
-
color: "error"
|
|
92
|
-
}));
|
|
93
|
-
}
|
|
94
|
-
};
|
|
95
|
-
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(Wrapper, null, /* @__PURE__ */ React.createElement(Title, {
|
|
96
|
-
as: "h2"
|
|
97
|
-
}, "Click to copy import declaration for icon"), /* @__PURE__ */ React.createElement(IconsList, null, icons.map(([name, Icon], index) => /* @__PURE__ */ React.createElement(ListItem, {
|
|
98
|
-
key: index,
|
|
99
|
-
background,
|
|
100
|
-
onClick: () => {
|
|
101
|
-
copyImport(name);
|
|
102
|
-
}
|
|
103
|
-
}, /* @__PURE__ */ React.createElement(Name, null, name), /* @__PURE__ */ React.createElement(IconContainer, {
|
|
104
|
-
size,
|
|
105
|
-
color
|
|
106
|
-
}, /* @__PURE__ */ React.createElement(Icon, null)))))), /* @__PURE__ */ React.createElement(components_Snackbar_index.Snackbar, {
|
|
107
|
-
message: state.message,
|
|
108
|
-
isOpen: state.isOpen,
|
|
109
|
-
type: state.type,
|
|
110
|
-
color: state.color,
|
|
111
|
-
onClose: () => setState((s) => ({ ...s, isOpen: false }))
|
|
112
|
-
}));
|
|
113
|
-
};
|
|
114
|
-
|
|
115
|
-
exports['default'] = Icons;
|
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var styled = require('styled-components');
|
|
6
|
-
var theme = require('../theme.js');
|
|
7
|
-
|
|
8
|
-
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
9
|
-
|
|
10
|
-
var styled__default = /*#__PURE__*/_interopDefaultLegacy(styled);
|
|
11
|
-
|
|
12
|
-
const disabledBackground = styled.css`
|
|
13
|
-
background-color: transparent;
|
|
14
|
-
`;
|
|
15
|
-
const initialMS = "400ms";
|
|
16
|
-
const focusRippleMS = "1500ms";
|
|
17
|
-
const activeRippleMS = "750ms";
|
|
18
|
-
const Container = styled__default['default'].div`
|
|
19
|
-
cursor: ${(props) => props.isDisabled ? "default" : "pointer"};
|
|
20
|
-
outline: none;
|
|
21
|
-
|
|
22
|
-
display: inline-block;
|
|
23
|
-
position: relative;
|
|
24
|
-
|
|
25
|
-
.button-background {
|
|
26
|
-
:focus {
|
|
27
|
-
outline: none;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
:hover {
|
|
32
|
-
.button-background {
|
|
33
|
-
transition: background-color ${initialMS};
|
|
34
|
-
background-color: ${(props) => props.isActive ? theme['default'].colors[props.color].main : "rgb(136, 136, 136)"};
|
|
35
|
-
|
|
36
|
-
opacity: 0.06;
|
|
37
|
-
${(props) => props.isDisabled && disabledBackground};
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
:focus {
|
|
42
|
-
.button-background {
|
|
43
|
-
transition: background-color ${initialMS};
|
|
44
|
-
animation: FocusRipple ${focusRippleMS} 0ms infinite alternate-reverse;
|
|
45
|
-
background-color: ${(props) => props.isActive ? theme['default'].colors[props.color].main : "rgba(136, 136, 136)"};
|
|
46
|
-
|
|
47
|
-
opacity: 0.12;
|
|
48
|
-
${(props) => props.isDisabled && disabledBackground};
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
:active {
|
|
53
|
-
.button-background {
|
|
54
|
-
animation: ActiveRipple ${activeRippleMS};
|
|
55
|
-
background-color: ${(props) => props.isActive ? theme['default'].colors[props.color].main : "rgb(136, 136, 136)"};
|
|
56
|
-
|
|
57
|
-
opacity: 0.24;
|
|
58
|
-
${(props) => props.isDisabled && disabledBackground};
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
@keyframes ActiveRipple {
|
|
63
|
-
0% {
|
|
64
|
-
clip-path: circle(50%);
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
25% {
|
|
68
|
-
clip-path: circle(46%);
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
100% {
|
|
72
|
-
clip-path: circle(50%);
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
@keyframes FocusRipple {
|
|
77
|
-
0% {
|
|
78
|
-
clip-path: circle(46%);
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
100% {
|
|
82
|
-
clip-path: circle(50%);
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
`;
|
|
86
|
-
const Background = styled__default['default'].div`
|
|
87
|
-
top: 0;
|
|
88
|
-
left: 0;
|
|
89
|
-
|
|
90
|
-
height: calc(100% + 2rem);
|
|
91
|
-
width: calc(100% + 2rem);
|
|
92
|
-
transform: translate(-1rem, -1rem);
|
|
93
|
-
|
|
94
|
-
position: absolute;
|
|
95
|
-
border-radius: 10rem;
|
|
96
|
-
`;
|
|
97
|
-
const IconButton = ({
|
|
98
|
-
children,
|
|
99
|
-
isActive,
|
|
100
|
-
isDisabled,
|
|
101
|
-
onClick,
|
|
102
|
-
color
|
|
103
|
-
}) => {
|
|
104
|
-
const handleEnter = (event) => {
|
|
105
|
-
if (event.key === "Enter" && !isDisabled && typeof onClick === "function") {
|
|
106
|
-
event.persist();
|
|
107
|
-
onClick(event);
|
|
108
|
-
}
|
|
109
|
-
};
|
|
110
|
-
const handleClick = (event) => {
|
|
111
|
-
event.stopPropagation();
|
|
112
|
-
event.preventDefault();
|
|
113
|
-
event.persist();
|
|
114
|
-
if (!isDisabled && typeof onClick === "function") {
|
|
115
|
-
onClick(event);
|
|
116
|
-
}
|
|
117
|
-
};
|
|
118
|
-
return /* @__PURE__ */ React.createElement(Container, {
|
|
119
|
-
color,
|
|
120
|
-
isActive,
|
|
121
|
-
isDisabled,
|
|
122
|
-
onClick: handleClick,
|
|
123
|
-
onKeyDown: handleEnter,
|
|
124
|
-
tabIndex: isDisabled ? void 0 : 1
|
|
125
|
-
}, /* @__PURE__ */ React.createElement(Background, {
|
|
126
|
-
className: "button-background"
|
|
127
|
-
}), children);
|
|
128
|
-
};
|
|
129
|
-
|
|
130
|
-
exports['default'] = IconButton;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const Arrow = ({ title, ...props }) => /* @__PURE__ */ React.createElement("svg", {
|
|
6
|
-
...props
|
|
7
|
-
}, title && /* @__PURE__ */ React.createElement("title", null, title), /* @__PURE__ */ React.createElement("symbol", {
|
|
8
|
-
id: "icon-arrow",
|
|
9
|
-
viewBox: "0 0 22 22"
|
|
10
|
-
}, /* @__PURE__ */ React.createElement("path", {
|
|
11
|
-
d: "M1.29412 9.70588L10.7843 19.1961C10.9034 19.3152 11.0966 19.3152 11.2157 19.1961L20.7059 9.70588L22 11L12.5098 20.4902C11.676 21.324 10.324 21.324 9.4902 20.4902L0 11L1.29412 9.70588Z"
|
|
12
|
-
})), /* @__PURE__ */ React.createElement("use", {
|
|
13
|
-
xlinkHref: "#icon-arrow"
|
|
14
|
-
}));
|
|
15
|
-
|
|
16
|
-
exports['default'] = Arrow;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const CheckCircle = ({ title = "CheckCircle", ...props }) => /* @__PURE__ */ React.createElement("svg", {
|
|
6
|
-
...props
|
|
7
|
-
}, title && /* @__PURE__ */ React.createElement("title", null, title), /* @__PURE__ */ React.createElement("symbol", {
|
|
8
|
-
id: "icon-checkCircle",
|
|
9
|
-
viewBox: "0 0 24 24"
|
|
10
|
-
}, /* @__PURE__ */ React.createElement("path", {
|
|
11
|
-
d: "M12.5 23.0012C6.42487 23.0012 1.5 18.0764 1.5 12.0012C1.5 5.92609 6.42487 1.00122 12.5 1.00122C18.5751 1.00122 23.5 5.92609 23.5 12.0012C23.5 18.0764 18.5751 23.0012 12.5 23.0012ZM12.5 21.1679C17.5626 21.1679 21.6667 17.0638 21.6667 12.0012C21.6667 6.93861 17.5626 2.83455 12.5 2.83455C7.43739 2.83455 3.33333 6.93861 3.33333 12.0012C3.33333 17.0638 7.43739 21.1679 12.5 21.1679ZM9.10748 13.2429C9.33504 13.5121 9.55429 13.7564 9.76125 13.9695C10.1479 14.3676 10.4817 14.6294 10.6107 14.7179C10.6392 14.7003 10.6714 14.6794 10.7067 14.6551C10.9006 14.522 11.1553 14.3144 11.4591 14.0413C12.0292 13.5287 12.7476 12.8084 13.5766 11.9265C13.7427 11.7497 13.9125 11.5673 14.0856 11.3797C14.819 10.5847 15.5796 9.73162 16.3227 8.87836C16.5829 8.5796 16.8222 8.30225 17.0352 8.0535C17.1626 7.90465 17.2527 7.79871 17.2999 7.74287L18.7001 8.92624C18.6505 8.98498 18.5579 9.09389 18.4278 9.24582C18.2116 9.49837 17.9689 9.77961 17.7052 10.0824C16.9514 10.9479 16.1796 11.8136 15.4331 12.6228C15.2562 12.8145 15.0826 13.0011 14.9124 13.1821C12.7154 15.5196 11.5309 16.5846 10.6667 16.5846C9.95327 16.5846 9.28235 16.1078 8.44613 15.2468C8.20742 15.0011 7.96047 14.7259 7.70721 14.4262C7.35453 14.0089 7.00646 13.5644 6.67696 13.1203C6.47905 12.8535 6.33026 12.6446 6.24558 12.5219L7.75443 11.4805C7.82792 11.587 7.96481 11.7792 8.14939 12.028C8.4574 12.4432 8.78234 12.8581 9.10748 13.2429Z"
|
|
12
|
-
})), /* @__PURE__ */ React.createElement("use", {
|
|
13
|
-
xlinkHref: "#icon-checkCircle"
|
|
14
|
-
}));
|
|
15
|
-
|
|
16
|
-
exports['default'] = CheckCircle;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const CheckIcon = ({ className = "icon__svg" }) => /* @__PURE__ */ React.createElement("svg", {
|
|
6
|
-
className
|
|
7
|
-
}, /* @__PURE__ */ React.createElement("title", null, "Check"), /* @__PURE__ */ React.createElement("symbol", {
|
|
8
|
-
id: "icon-check",
|
|
9
|
-
viewBox: "0 0 20 16"
|
|
10
|
-
}, /* @__PURE__ */ React.createElement("path", {
|
|
11
|
-
d: "M5.64559 11.2678C5.31325 10.8822 4.96116 10.4401 4.59575 9.95286C4.07361 9.25661 3.55182 8.50577 3.0572 7.75441C2.76079 7.30414 2.54098 6.95638 2.42297 6.7637L0 8.6482C0.135982 8.87023 0.3749 9.2482 0.692726 9.73101C1.22184 10.5348 1.78078 11.3391 2.34713 12.0943C2.75382 12.6366 3.15039 13.1345 3.53372 13.5793C4.87655 15.1373 5.95393 16 7.09955 16C8.48728 16 10.3894 14.0728 13.9175 9.84286C14.1908 9.51527 14.4697 9.17762 14.7536 8.83074C15.9524 7.36638 17.1918 5.79987 18.4023 4.23366C18.8257 3.6857 19.2155 3.17676 19.5627 2.71975C19.7716 2.44481 19.9203 2.24773 20 2.14142L17.7514 0C17.6756 0.101045 17.531 0.292744 17.3263 0.562104C16.9843 1.01226 16.6 1.51416 16.1821 2.05479C14.9888 3.59885 13.7675 5.1426 12.5898 6.58116C12.3118 6.92065 12.0392 7.25078 11.7723 7.57068C10.4411 9.16669 9.28751 10.4701 8.37209 11.3976C7.8842 11.892 7.47522 12.2676 7.16387 12.5084C7.10708 12.5523 7.05542 12.5903 7.00971 12.6221C6.8025 12.4619 6.2665 11.9882 5.64559 11.2678Z"
|
|
12
|
-
})), /* @__PURE__ */ React.createElement("use", {
|
|
13
|
-
xlinkHref: "#icon-check"
|
|
14
|
-
}));
|
|
15
|
-
|
|
16
|
-
exports['default'] = CheckIcon;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const Close = ({ title = "Close", ...props }) => /* @__PURE__ */ React.createElement("svg", {
|
|
6
|
-
...props
|
|
7
|
-
}, title && /* @__PURE__ */ React.createElement("title", null, title), /* @__PURE__ */ React.createElement("symbol", {
|
|
8
|
-
id: "icon-close",
|
|
9
|
-
viewBox: "0 0 24 24"
|
|
10
|
-
}, /* @__PURE__ */ React.createElement("path", {
|
|
11
|
-
d: "M12.0001 10.5859L21.7629 0.823223L23.1771 2.23744L13.4144 12.0002L23.1771 21.7629L21.7629 23.1771L12.0001 13.4144L2.23744 23.1771L0.823223 21.7629L10.5859 12.0002L0.823223 2.23745L2.23744 0.823234L12.0001 10.5859Z"
|
|
12
|
-
})), /* @__PURE__ */ React.createElement("use", {
|
|
13
|
-
xlinkHref: "#icon-close"
|
|
14
|
-
}));
|
|
15
|
-
|
|
16
|
-
exports['default'] = Close;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const ErrorCircle = ({ title, ...props }) => /* @__PURE__ */ React.createElement("svg", {
|
|
6
|
-
...props
|
|
7
|
-
}, title && /* @__PURE__ */ React.createElement("title", null, title), /* @__PURE__ */ React.createElement("symbol", {
|
|
8
|
-
id: "icon-errorCircle",
|
|
9
|
-
viewBox: "0 0 24 24"
|
|
10
|
-
}, /* @__PURE__ */ React.createElement("path", {
|
|
11
|
-
d: "M1.5 12.0012C1.5 18.0764 6.42487 23.0012 12.5 23.0012C18.5751 23.0012 23.5 18.0764 23.5 12.0012C23.5 5.92609 18.5751 1.00122 12.5 1.00122C6.42487 1.00122 1.5 5.92609 1.5 12.0012ZM21.6667 12.0012C21.6667 17.0638 17.5626 21.1679 12.5 21.1679C7.43739 21.1679 3.33333 17.0638 3.33333 12.0012C3.33333 6.93861 7.43739 2.83455 12.5 2.83455C17.5626 2.83455 21.6667 6.93861 21.6667 12.0012ZM13.4167 13.8346V6.50122H11.5833V13.8346H13.4167ZM13.4167 15.6679V17.5012H11.5833V15.6679H13.4167Z"
|
|
12
|
-
})), /* @__PURE__ */ React.createElement("use", {
|
|
13
|
-
xlinkHref: "#icon-errorCircle"
|
|
14
|
-
}));
|
|
15
|
-
|
|
16
|
-
exports['default'] = ErrorCircle;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const InfoCircle = ({ title, ...props }) => /* @__PURE__ */ React.createElement("svg", {
|
|
6
|
-
...props
|
|
7
|
-
}, title && /* @__PURE__ */ React.createElement("title", null, title), /* @__PURE__ */ React.createElement("symbol", {
|
|
8
|
-
id: "icon-infoCircle",
|
|
9
|
-
viewBox: "0 0 24 24"
|
|
10
|
-
}, /* @__PURE__ */ React.createElement("path", {
|
|
11
|
-
d: "M1.5 12.0012C1.5 18.0764 6.42487 23.0012 12.5 23.0012C18.5751 23.0012 23.5 18.0764 23.5 12.0012C23.5 5.92609 18.5751 1.00122 12.5 1.00122C6.42487 1.00122 1.5 5.92609 1.5 12.0012ZM21.6667 12.0012C21.6667 17.0638 17.5626 21.1679 12.5 21.1679C7.43739 21.1679 3.33333 17.0638 3.33333 12.0012C3.33333 6.93861 7.43739 2.83455 12.5 2.83455C17.5626 2.83455 21.6667 6.93861 21.6667 12.0012ZM13.4167 10.1679V17.5012H11.5833V10.1679H13.4167ZM13.4167 8.33455V6.50122H11.5833V8.33455H13.4167Z"
|
|
12
|
-
})), /* @__PURE__ */ React.createElement("use", {
|
|
13
|
-
xlinkHref: "#icon-infoCircle"
|
|
14
|
-
}));
|
|
15
|
-
|
|
16
|
-
exports['default'] = InfoCircle;
|
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var styled = require('styled-components');
|
|
6
|
-
var theme = require('../../theme.js');
|
|
7
|
-
var typography_BodyText_index = require('../../typography/BodyText/index.js');
|
|
8
|
-
var components_InlineStepper_StepCircle = require('./StepCircle.js');
|
|
9
|
-
require('../Icons/CheckIcon.js');
|
|
10
|
-
|
|
11
|
-
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
12
|
-
|
|
13
|
-
var styled__default = /*#__PURE__*/_interopDefaultLegacy(styled);
|
|
14
|
-
|
|
15
|
-
const HorizontalLine = styled__default['default'].div`
|
|
16
|
-
background-color: ${theme['default'].colors.gray.dark3};
|
|
17
|
-
height: 1px;
|
|
18
|
-
right: 0;
|
|
19
|
-
left: calc(50% + 20px);
|
|
20
|
-
top: 1.25rem;
|
|
21
|
-
position: absolute;
|
|
22
|
-
width: calc(100% - 40px);
|
|
23
|
-
`;
|
|
24
|
-
const StepWrapper = styled__default['default'].div`
|
|
25
|
-
font-family: ${({ theme: theme2 }) => theme2.typography.fontBaseFamily};
|
|
26
|
-
display: flex;
|
|
27
|
-
position: relative;
|
|
28
|
-
padding: 0 0.5rem;
|
|
29
|
-
flex: 1;
|
|
30
|
-
align-items: center;
|
|
31
|
-
flex-direction: column;
|
|
32
|
-
|
|
33
|
-
&:last-child {
|
|
34
|
-
padding-bottom: 0;
|
|
35
|
-
${HorizontalLine} {
|
|
36
|
-
display: none;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
`;
|
|
40
|
-
const Content = styled__default['default'](typography_BodyText_index.CaptionLink)`
|
|
41
|
-
width: 100%;
|
|
42
|
-
margin: 0.5rem 0 0;
|
|
43
|
-
line-height: 1.2;
|
|
44
|
-
text-align: center;
|
|
45
|
-
color: ${theme['default'].colors.text.dark};
|
|
46
|
-
`;
|
|
47
|
-
const VerticalLine = styled__default['default'].div`
|
|
48
|
-
margin: 0 auto;
|
|
49
|
-
width: 1px;
|
|
50
|
-
height: 100%;
|
|
51
|
-
background-color: ${theme['default'].colors.gray.dark3};
|
|
52
|
-
`;
|
|
53
|
-
const Graphic = styled__default['default'].div`
|
|
54
|
-
margin-right: 0.75rem;
|
|
55
|
-
`;
|
|
56
|
-
const VerticalStepWrapper = styled__default['default'].div`
|
|
57
|
-
font-family: ${({ theme: theme2 }) => theme2.typography.fontBaseFamily};
|
|
58
|
-
display: flex;
|
|
59
|
-
padding-bottom: 1rem;
|
|
60
|
-
|
|
61
|
-
&:last-child {
|
|
62
|
-
${VerticalLine} {
|
|
63
|
-
display: none;
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
`;
|
|
67
|
-
const VerticalContent = styled__default['default'](typography_BodyText_index.CaptionLink)`
|
|
68
|
-
margin: 0;
|
|
69
|
-
width: 100%;
|
|
70
|
-
line-height: 1.2;
|
|
71
|
-
text-align: left;
|
|
72
|
-
color: ${theme['default'].colors.text.dark};
|
|
73
|
-
display: flex;
|
|
74
|
-
flex-direction: column;
|
|
75
|
-
justify-content: center;
|
|
76
|
-
`;
|
|
77
|
-
const getStepState = ({ active, disabled }) => {
|
|
78
|
-
if (active) {
|
|
79
|
-
return "active";
|
|
80
|
-
}
|
|
81
|
-
if (disabled) {
|
|
82
|
-
return "disabled";
|
|
83
|
-
}
|
|
84
|
-
return "completed";
|
|
85
|
-
};
|
|
86
|
-
const Step = ({
|
|
87
|
-
step = 0,
|
|
88
|
-
active = false,
|
|
89
|
-
completed = false,
|
|
90
|
-
disabled = false,
|
|
91
|
-
orientation,
|
|
92
|
-
children,
|
|
93
|
-
backgroundColor,
|
|
94
|
-
...props
|
|
95
|
-
}) => {
|
|
96
|
-
const state = getStepState({ active, disabled, completed });
|
|
97
|
-
return orientation === "horizontal" ? /* @__PURE__ */ React.createElement(StepWrapper, {
|
|
98
|
-
...props
|
|
99
|
-
}, /* @__PURE__ */ React.createElement(components_InlineStepper_StepCircle['default'], {
|
|
100
|
-
state,
|
|
101
|
-
step,
|
|
102
|
-
backgroundColor
|
|
103
|
-
}), /* @__PURE__ */ React.createElement(HorizontalLine, null), /* @__PURE__ */ React.createElement(Content, {
|
|
104
|
-
as: "div"
|
|
105
|
-
}, children)) : /* @__PURE__ */ React.createElement(VerticalStepWrapper, {
|
|
106
|
-
...props
|
|
107
|
-
}, /* @__PURE__ */ React.createElement(Graphic, null, /* @__PURE__ */ React.createElement(components_InlineStepper_StepCircle['default'], {
|
|
108
|
-
state,
|
|
109
|
-
step
|
|
110
|
-
}), /* @__PURE__ */ React.createElement(VerticalLine, null)), /* @__PURE__ */ React.createElement(VerticalContent, {
|
|
111
|
-
as: "div"
|
|
112
|
-
}, children));
|
|
113
|
-
};
|
|
114
|
-
|
|
115
|
-
exports['default'] = Step;
|
|
116
|
-
exports.getStepState = getStepState;
|