@kvdbil/components 3.3.5-4 → 3.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/ColorCard.js +10 -31
- package/cjs/ElevationCard.js +5 -21
- package/cjs/Interfaces.js +1 -2
- package/cjs/Types.js +1 -2
- package/cjs/components/Accordion/index.js +20 -64
- package/cjs/components/Badge/index.js +9 -43
- package/cjs/components/Button/index.js +60 -125
- package/cjs/components/Card/index.js +6 -25
- package/cjs/components/CheckBox/index.js +24 -53
- package/cjs/components/Chip/index.js +10 -65
- package/cjs/components/DayPicker/DayPickerNavBar.js +9 -32
- package/cjs/components/DayPicker/index.js +10 -40
- package/cjs/components/DayPicker/localeUtils.js +1 -60
- package/cjs/components/DayPicker/style.js +226 -0
- package/cjs/components/Dialog/index.js +9 -42
- package/cjs/components/ErrorMessage/index.js +6 -21
- package/cjs/components/FieldLabel.js +22 -49
- package/cjs/components/Header/Hamburger.js +7 -22
- package/cjs/components/Header/Link.js +9 -26
- package/cjs/components/Header/index.js +16 -45
- package/cjs/components/Hero/index.js +7 -32
- package/cjs/components/Icon/index.js +11 -76
- package/cjs/components/IconButton.js +15 -54
- package/cjs/components/Icons/Arrow.js +1 -9
- package/cjs/components/Icons/CheckCircle.js +1 -9
- package/cjs/components/Icons/CheckIcon.js +1 -9
- package/cjs/components/Icons/Close.js +1 -9
- package/cjs/components/Icons/ErrorCircle.js +1 -9
- package/cjs/components/Icons/InfoCircle.js +1 -9
- package/cjs/components/InlineStepper/Step.js +16 -53
- package/cjs/components/InlineStepper/StepCircle.js +11 -46
- package/cjs/components/InlineStepper/index.js +4 -39
- package/cjs/components/ListItem/Bacon.js +1 -9
- package/cjs/components/ListItem/index.js +7 -28
- package/cjs/components/Logo/LogoEn.js +1 -9
- package/cjs/components/Logo/LogoSv.js +1 -9
- package/cjs/components/Logo/index.js +3 -30
- package/cjs/components/MenuItem/index.js +23 -68
- package/cjs/components/Modal/index.js +11 -54
- package/cjs/components/NotificationButton/index.js +4 -28
- package/cjs/components/OffCanvas/Overlay.js +2 -33
- package/cjs/components/OffCanvas/index.js +21 -62
- package/cjs/components/OffCanvas/useClickOutside.js +1 -21
- package/cjs/components/RadioButton/index.js +28 -58
- package/cjs/components/Range/index.js +10 -35
- package/cjs/components/Select/components/test-icon.js +1 -9
- package/cjs/components/Select/index.js +18 -147
- package/cjs/components/Snackbar/index.js +24 -76
- package/cjs/components/Spinner/index.js +10 -46
- package/cjs/components/Stepper/index.js +11 -35
- package/cjs/components/StepperAccordion/index.js +26 -76
- package/cjs/components/Tabs/index.js +7 -47
- package/cjs/components/TextArea/index.js +30 -61
- package/cjs/components/Textfield/index.js +29 -69
- package/cjs/components/TimePicker/index.js +2 -29
- package/cjs/components/TimePicker/testHelper.js +1 -17
- package/cjs/components/Toggle/index.js +12 -45
- package/cjs/icons/components/AccountCreateIcon.js +1 -11
- package/cjs/icons/components/AccountIcon.js +1 -11
- package/cjs/icons/components/AccountLoginIcon.js +1 -11
- package/cjs/icons/components/ArrowDownIcon.js +1 -11
- package/cjs/icons/components/ArrowLeftIcon.js +1 -11
- package/cjs/icons/components/ArrowLeftSharpIcon.js +1 -11
- package/cjs/icons/components/ArrowLeftSmallIcon.js +1 -11
- package/cjs/icons/components/ArrowLong.js +1 -11
- package/cjs/icons/components/ArrowRestartIcon.js +1 -11
- package/cjs/icons/components/ArrowRightIcon.js +1 -11
- package/cjs/icons/components/ArrowRightSharpIcon.js +1 -11
- package/cjs/icons/components/ArrowUpIcon.js +1 -11
- package/cjs/icons/components/AuctionIcon.js +1 -11
- package/cjs/icons/components/BackArrowIcon.js +1 -11
- package/cjs/icons/components/Baseline360Icon.js +1 -11
- package/cjs/icons/components/BellIcon.js +1 -11
- package/cjs/icons/components/BidIcon.js +1 -11
- package/cjs/icons/components/BidKrIcon.js +1 -11
- package/cjs/icons/components/BreaksIcon.js +1 -11
- package/cjs/icons/components/BuyCarIcon.js +1 -11
- package/cjs/icons/components/CabIcon.js +1 -11
- package/cjs/icons/components/CalendarIcon.js +1 -11
- package/cjs/icons/components/CameraIcon.js +1 -11
- package/cjs/icons/components/Car360Icon.js +1 -11
- package/cjs/icons/components/CarFrontIcon.js +1 -11
- package/cjs/icons/components/CarSearchIcon.js +1 -11
- package/cjs/icons/components/CarSideIcon.js +1 -11
- package/cjs/icons/components/CarTiresIcon.js +1 -11
- package/cjs/icons/components/CaravanIcon.js +1 -11
- package/cjs/icons/components/CardViewIcon.js +1 -11
- package/cjs/icons/components/CarloanIcon.js +1 -11
- package/cjs/icons/components/CertifiedIcon.js +1 -11
- package/cjs/icons/components/ChatIcon.js +1 -11
- package/cjs/icons/components/CheckIcon.js +1 -11
- package/cjs/icons/components/CheckThinIcon.js +1 -11
- package/cjs/icons/components/CheckmarkFilledIcon.js +1 -11
- package/cjs/icons/components/CheckmarkIcon.js +1 -11
- package/cjs/icons/components/ClipboardFilledIcon.js +1 -11
- package/cjs/icons/components/ClipboardIcon.js +1 -11
- package/cjs/icons/components/ClockFilledIcon.js +1 -11
- package/cjs/icons/components/ClockIcon.js +1 -11
- package/cjs/icons/components/CloseIcon.js +1 -11
- package/cjs/icons/components/CloseThinIcon.js +1 -11
- package/cjs/icons/components/CoffeeIcon.js +1 -11
- package/cjs/icons/components/CombiIcon.js +1 -11
- package/cjs/icons/components/CommentCircleFilledIcon.js +1 -11
- package/cjs/icons/components/CommentCircleIconIcon.js +1 -11
- package/cjs/icons/components/CommentIcon.js +1 -11
- package/cjs/icons/components/ContactIcon.js +1 -11
- package/cjs/icons/components/CoupeIcon.js +1 -11
- package/cjs/icons/components/CreditCardIcon.js +1 -11
- package/cjs/icons/components/CrossCircleIcon.js +1 -11
- package/cjs/icons/components/CrownIcon.js +1 -11
- package/cjs/icons/components/DealmakerIcon.js +1 -11
- package/cjs/icons/components/DeliveryIcon.js +1 -11
- package/cjs/icons/components/DetailedSearchIcon.js +1 -11
- package/cjs/icons/components/EcoFriendlyIcon.js +1 -11
- package/cjs/icons/components/EditIcon.js +1 -11
- package/cjs/icons/components/EngineIcon.js +1 -11
- package/cjs/icons/components/EnglandFlagIcon.js +1 -11
- package/cjs/icons/components/EvaluationIcon.js +1 -11
- package/cjs/icons/components/ExaminationMarkFilledIcon.js +1 -11
- package/cjs/icons/components/ExaminationMarkIcon.js +1 -11
- package/cjs/icons/components/ExteriorIcon.js +1 -11
- package/cjs/icons/components/EyeIcon.js +1 -11
- package/cjs/icons/components/FacebookBtnIcon.js +1 -11
- package/cjs/icons/components/FacebookIcon.js +1 -11
- package/cjs/icons/components/FatalIcon.js +1 -11
- package/cjs/icons/components/FavouriteIcon.js +1 -11
- package/cjs/icons/components/FavouriteSolidIcon.js +1 -11
- package/cjs/icons/components/FilterIcon.js +1 -11
- package/cjs/icons/components/FinanceIcon.js +1 -11
- package/cjs/icons/components/FindCarIcon.js +1 -11
- package/cjs/icons/components/FixedMonthlyCostIcon.js +1 -11
- package/cjs/icons/components/FlagIcon.js +1 -11
- package/cjs/icons/components/FlexibilityIcon.js +1 -11
- package/cjs/icons/components/ForumLargeIcon.js +1 -11
- package/cjs/icons/components/ForumSmallIcon.js +1 -11
- package/cjs/icons/components/GavelIcon.js +1 -11
- package/cjs/icons/components/GearboxIcon.js +1 -11
- package/cjs/icons/components/GiftIcon.js +1 -11
- package/cjs/icons/components/GridViewIcon.js +1 -11
- package/cjs/icons/components/GroupIcon.js +1 -11
- package/cjs/icons/components/GuaranteeIcon.js +1 -11
- package/cjs/icons/components/GuaranteeLargeIcon.js +1 -11
- package/cjs/icons/components/GuaranteeSmallIcon.js +1 -11
- package/cjs/icons/components/HalfCombiIcon.js +1 -11
- package/cjs/icons/components/HamburgerIcon.js +1 -11
- package/cjs/icons/components/HandshakeIcon.js +1 -11
- package/cjs/icons/components/HelpingHandIcon.js +1 -11
- package/cjs/icons/components/IdIcon.js +1 -11
- package/cjs/icons/components/InformationIcon.js +1 -11
- package/cjs/icons/components/InstagramIcon.js +1 -11
- package/cjs/icons/components/InsuranceIcon.js +1 -11
- package/cjs/icons/components/InteriorIcon.js +1 -11
- package/cjs/icons/components/InteriorThinIcon.js +1 -11
- package/cjs/icons/components/InternationalIcon.js +1 -11
- package/cjs/icons/components/KvdTestIcon.js +1 -11
- package/cjs/icons/components/KvdVenueIcon.js +1 -11
- package/cjs/icons/components/LifebuoyIcon.js +1 -11
- package/cjs/icons/components/LiftTruckIcon.js +1 -11
- package/cjs/icons/components/LinkedInIcon.js +1 -11
- package/cjs/icons/components/ListViewIcon.js +1 -11
- package/cjs/icons/components/MailIcon.js +1 -11
- package/cjs/icons/components/MinibusIcon.js +1 -11
- package/cjs/icons/components/MinivanIcon.js +1 -11
- package/cjs/icons/components/MobileIcon.js +1 -11
- package/cjs/icons/components/MotorcycleIcon.js +1 -11
- package/cjs/icons/components/MrfLogoIcon.js +1 -11
- package/cjs/icons/components/NotFoundIcon.js +1 -11
- package/cjs/icons/components/OverbidIcon.js +1 -11
- package/cjs/icons/components/PdfIconIcon.js +1 -11
- package/cjs/icons/components/PhoneIcon.js +1 -11
- package/cjs/icons/components/PickUpIcon.js +1 -11
- package/cjs/icons/components/PinIcon.js +1 -11
- package/cjs/icons/components/PlayIcon.js +1 -11
- package/cjs/icons/components/Pricetag.js +1 -11
- package/cjs/icons/components/PricetagFilledKronaIcon.js +1 -11
- package/cjs/icons/components/PrivateCarIcon.js +1 -11
- package/cjs/icons/components/ProfileCircleIcon.js +1 -11
- package/cjs/icons/components/ProfileIcon.js +1 -11
- package/cjs/icons/components/RadioIcon.js +1 -11
- package/cjs/icons/components/ReclamationIcon.js +1 -11
- package/cjs/icons/components/ReleasingIcon.js +1 -11
- package/cjs/icons/components/RemoveFilterIcon.js +1 -11
- package/cjs/icons/components/ReservedPriceIcon.js +1 -11
- package/cjs/icons/components/ResultIcon.js +1 -11
- package/cjs/icons/components/SafePaymentIcon.js +1 -11
- package/cjs/icons/components/SaleTagIcon.js +1 -11
- package/cjs/icons/components/SearchCheckIcon.js +1 -11
- package/cjs/icons/components/SearchIcon.js +1 -11
- package/cjs/icons/components/SedanIcon.js +1 -11
- package/cjs/icons/components/SellCarIcon.js +1 -11
- package/cjs/icons/components/SellCarsIcon.js +1 -11
- package/cjs/icons/components/ServiceIcon.js +1 -11
- package/cjs/icons/components/ShareIcon.js +1 -11
- package/cjs/icons/components/ShieldIcon.js +1 -11
- package/cjs/icons/components/SignInIcon.js +1 -11
- package/cjs/icons/components/SignOutIcon.js +1 -11
- package/cjs/icons/components/SpeedMeterIcon.js +1 -11
- package/cjs/icons/components/StarCircleIcon.js +1 -11
- package/cjs/icons/components/StartIcon.js +1 -11
- package/cjs/icons/components/StoreIcon.js +1 -11
- package/cjs/icons/components/SuvIcon.js +1 -11
- package/cjs/icons/components/SwedenFlag.js +1 -11
- package/cjs/icons/components/TankIcon.js +1 -11
- package/cjs/icons/components/TireIcon.js +1 -11
- package/cjs/icons/components/TransportIcon.js +1 -11
- package/cjs/icons/components/TrashcanIcon.js +1 -11
- package/cjs/icons/components/TrophyIcon.js +1 -11
- package/cjs/icons/components/TruckIcon.js +1 -11
- package/cjs/icons/components/UmbrellaIcon.js +1 -11
- package/cjs/icons/components/ValuationIcon.js +1 -11
- package/cjs/icons/components/ValueIcon.js +1 -11
- package/cjs/icons/components/WarningIcon.js +1 -11
- package/cjs/icons/components/YoutubeIcon.js +1 -11
- package/cjs/icons/components/index.js +1 -320
- package/cjs/index.js +1 -439
- package/cjs/shared/constants.js +1 -7
- package/cjs/shared/helpers.js +1 -28
- package/cjs/shared/helpers.spec.js +1 -42
- package/cjs/shared/media-queries.js +1 -41
- package/cjs/theme.js +1 -125
- package/cjs/typography/BodyText/index.js +20 -53
- package/cjs/typography/ButtonText/index.js +15 -43
- package/cjs/typography/Heading/index.js +22 -54
- package/cjs/utils/utils.js +2 -30
- package/esm/ColorCard.js +10 -23
- package/esm/ElevationCard.js +5 -13
- package/esm/components/Accordion/index.js +20 -55
- package/esm/components/Badge/index.js +9 -34
- package/esm/components/Button/index.js +50 -106
- package/esm/components/Card/index.js +6 -16
- package/esm/components/CheckBox/index.js +17 -37
- package/esm/components/Chip/index.js +10 -56
- package/esm/components/DayPicker/DayPickerNavBar.js +9 -24
- package/esm/components/DayPicker/index.js +10 -30
- package/esm/components/DayPicker/localeUtils.js +1 -52
- package/esm/components/DayPicker/style.js +226 -0
- package/esm/components/Dialog/index.js +9 -33
- package/esm/components/ErrorMessage/index.js +6 -12
- package/esm/components/FieldLabel.js +21 -40
- package/esm/components/Header/Hamburger.js +7 -14
- package/esm/components/Header/Link.js +9 -18
- package/esm/components/Header/index.js +16 -36
- package/esm/components/Hero/index.js +7 -23
- package/esm/components/Icon/index.js +11 -68
- package/esm/components/IconButton.js +15 -46
- package/esm/components/Icons/Arrow.js +1 -5
- package/esm/components/Icons/CheckCircle.js +1 -5
- package/esm/components/Icons/CheckIcon.js +1 -5
- package/esm/components/Icons/Close.js +1 -5
- package/esm/components/Icons/ErrorCircle.js +1 -5
- package/esm/components/Icons/InfoCircle.js +1 -5
- package/esm/components/InlineStepper/Step.js +16 -44
- package/esm/components/InlineStepper/StepCircle.js +11 -38
- package/esm/components/InlineStepper/index.js +4 -31
- package/esm/components/ListItem/Bacon.js +1 -5
- package/esm/components/ListItem/index.js +7 -20
- package/esm/components/Logo/LogoEn.js +1 -5
- package/esm/components/Logo/LogoSv.js +1 -5
- package/esm/components/Logo/index.js +3 -21
- package/esm/components/MenuItem/index.js +22 -58
- package/esm/components/Modal/index.js +11 -45
- package/esm/components/NotificationButton/index.js +4 -20
- package/esm/components/OffCanvas/Overlay.js +2 -25
- package/esm/components/OffCanvas/index.js +21 -53
- package/esm/components/OffCanvas/useClickOutside.js +1 -17
- package/esm/components/RadioButton/index.js +21 -42
- package/esm/components/Range/index.js +10 -26
- package/esm/components/Select/components/test-icon.js +1 -5
- package/esm/components/Select/index.js +18 -137
- package/esm/components/Snackbar/index.js +24 -67
- package/esm/components/Spinner/index.js +10 -38
- package/esm/components/Stepper/index.js +11 -27
- package/esm/components/StepperAccordion/index.js +23 -64
- package/esm/components/Tabs/index.js +7 -37
- package/esm/components/TextArea/index.js +30 -52
- package/esm/components/Textfield/index.js +29 -60
- package/esm/components/TimePicker/index.js +2 -20
- package/esm/components/TimePicker/testHelper.js +1 -13
- package/esm/components/Toggle/index.js +12 -37
- package/esm/icons/components/AccountCreateIcon.js +1 -7
- package/esm/icons/components/AccountIcon.js +1 -7
- package/esm/icons/components/AccountLoginIcon.js +1 -7
- package/esm/icons/components/ArrowDownIcon.js +1 -7
- package/esm/icons/components/ArrowLeftIcon.js +1 -7
- package/esm/icons/components/ArrowLeftSharpIcon.js +1 -7
- package/esm/icons/components/ArrowLeftSmallIcon.js +1 -7
- package/esm/icons/components/ArrowLong.js +1 -7
- package/esm/icons/components/ArrowRestartIcon.js +1 -7
- package/esm/icons/components/ArrowRightIcon.js +1 -7
- package/esm/icons/components/ArrowRightSharpIcon.js +1 -7
- package/esm/icons/components/ArrowUpIcon.js +1 -7
- package/esm/icons/components/AuctionIcon.js +1 -7
- package/esm/icons/components/BackArrowIcon.js +1 -7
- package/esm/icons/components/Baseline360Icon.js +1 -7
- package/esm/icons/components/BellIcon.js +1 -7
- package/esm/icons/components/BidIcon.js +1 -7
- package/esm/icons/components/BidKrIcon.js +1 -7
- package/esm/icons/components/BreaksIcon.js +1 -7
- package/esm/icons/components/BuyCarIcon.js +1 -7
- package/esm/icons/components/CabIcon.js +1 -7
- package/esm/icons/components/CalendarIcon.js +1 -7
- package/esm/icons/components/CameraIcon.js +1 -7
- package/esm/icons/components/Car360Icon.js +1 -7
- package/esm/icons/components/CarFrontIcon.js +1 -7
- package/esm/icons/components/CarSearchIcon.js +1 -7
- package/esm/icons/components/CarSideIcon.js +1 -7
- package/esm/icons/components/CarTiresIcon.js +1 -7
- package/esm/icons/components/CaravanIcon.js +1 -7
- package/esm/icons/components/CardViewIcon.js +1 -7
- package/esm/icons/components/CarloanIcon.js +1 -7
- package/esm/icons/components/CertifiedIcon.js +1 -7
- package/esm/icons/components/ChatIcon.js +1 -7
- package/esm/icons/components/CheckIcon.js +1 -7
- package/esm/icons/components/CheckThinIcon.js +1 -7
- package/esm/icons/components/CheckmarkFilledIcon.js +1 -7
- package/esm/icons/components/CheckmarkIcon.js +1 -7
- package/esm/icons/components/ClipboardFilledIcon.js +1 -7
- package/esm/icons/components/ClipboardIcon.js +1 -7
- package/esm/icons/components/ClockFilledIcon.js +1 -7
- package/esm/icons/components/ClockIcon.js +1 -7
- package/esm/icons/components/CloseIcon.js +1 -7
- package/esm/icons/components/CloseThinIcon.js +1 -7
- package/esm/icons/components/CoffeeIcon.js +1 -7
- package/esm/icons/components/CombiIcon.js +1 -7
- package/esm/icons/components/CommentCircleFilledIcon.js +1 -7
- package/esm/icons/components/CommentCircleIconIcon.js +1 -7
- package/esm/icons/components/CommentIcon.js +1 -7
- package/esm/icons/components/ContactIcon.js +1 -7
- package/esm/icons/components/CoupeIcon.js +1 -7
- package/esm/icons/components/CreditCardIcon.js +1 -7
- package/esm/icons/components/CrossCircleIcon.js +1 -7
- package/esm/icons/components/CrownIcon.js +1 -7
- package/esm/icons/components/DealmakerIcon.js +1 -7
- package/esm/icons/components/DeliveryIcon.js +1 -7
- package/esm/icons/components/DetailedSearchIcon.js +1 -7
- package/esm/icons/components/EcoFriendlyIcon.js +1 -7
- package/esm/icons/components/EditIcon.js +1 -7
- package/esm/icons/components/EngineIcon.js +1 -7
- package/esm/icons/components/EnglandFlagIcon.js +1 -7
- package/esm/icons/components/EvaluationIcon.js +1 -7
- package/esm/icons/components/ExaminationMarkFilledIcon.js +1 -7
- package/esm/icons/components/ExaminationMarkIcon.js +1 -7
- package/esm/icons/components/ExteriorIcon.js +1 -7
- package/esm/icons/components/EyeIcon.js +1 -7
- package/esm/icons/components/FacebookBtnIcon.js +1 -7
- package/esm/icons/components/FacebookIcon.js +1 -7
- package/esm/icons/components/FatalIcon.js +1 -7
- package/esm/icons/components/FavouriteIcon.js +1 -7
- package/esm/icons/components/FavouriteSolidIcon.js +1 -7
- package/esm/icons/components/FilterIcon.js +1 -7
- package/esm/icons/components/FinanceIcon.js +1 -7
- package/esm/icons/components/FindCarIcon.js +1 -7
- package/esm/icons/components/FixedMonthlyCostIcon.js +1 -7
- package/esm/icons/components/FlagIcon.js +1 -7
- package/esm/icons/components/FlexibilityIcon.js +1 -7
- package/esm/icons/components/ForumLargeIcon.js +1 -7
- package/esm/icons/components/ForumSmallIcon.js +1 -7
- package/esm/icons/components/GavelIcon.js +1 -7
- package/esm/icons/components/GearboxIcon.js +1 -7
- package/esm/icons/components/GiftIcon.js +1 -7
- package/esm/icons/components/GridViewIcon.js +1 -7
- package/esm/icons/components/GroupIcon.js +1 -7
- package/esm/icons/components/GuaranteeIcon.js +1 -7
- package/esm/icons/components/GuaranteeLargeIcon.js +1 -7
- package/esm/icons/components/GuaranteeSmallIcon.js +1 -7
- package/esm/icons/components/HalfCombiIcon.js +1 -7
- package/esm/icons/components/HamburgerIcon.js +1 -7
- package/esm/icons/components/HandshakeIcon.js +1 -7
- package/esm/icons/components/HelpingHandIcon.js +1 -7
- package/esm/icons/components/IdIcon.js +1 -7
- package/esm/icons/components/InformationIcon.js +1 -7
- package/esm/icons/components/InstagramIcon.js +1 -7
- package/esm/icons/components/InsuranceIcon.js +1 -7
- package/esm/icons/components/InteriorIcon.js +1 -7
- package/esm/icons/components/InteriorThinIcon.js +1 -7
- package/esm/icons/components/InternationalIcon.js +1 -7
- package/esm/icons/components/KvdTestIcon.js +1 -7
- package/esm/icons/components/KvdVenueIcon.js +1 -7
- package/esm/icons/components/LifebuoyIcon.js +1 -7
- package/esm/icons/components/LiftTruckIcon.js +1 -7
- package/esm/icons/components/LinkedInIcon.js +1 -7
- package/esm/icons/components/ListViewIcon.js +1 -7
- package/esm/icons/components/MailIcon.js +1 -7
- package/esm/icons/components/MinibusIcon.js +1 -7
- package/esm/icons/components/MinivanIcon.js +1 -7
- package/esm/icons/components/MobileIcon.js +1 -7
- package/esm/icons/components/MotorcycleIcon.js +1 -7
- package/esm/icons/components/MrfLogoIcon.js +1 -7
- package/esm/icons/components/NotFoundIcon.js +1 -7
- package/esm/icons/components/OverbidIcon.js +1 -7
- package/esm/icons/components/PdfIconIcon.js +1 -7
- package/esm/icons/components/PhoneIcon.js +1 -7
- package/esm/icons/components/PickUpIcon.js +1 -7
- package/esm/icons/components/PinIcon.js +1 -7
- package/esm/icons/components/PlayIcon.js +1 -7
- package/esm/icons/components/Pricetag.js +1 -7
- package/esm/icons/components/PricetagFilledKronaIcon.js +1 -7
- package/esm/icons/components/PrivateCarIcon.js +1 -7
- package/esm/icons/components/ProfileCircleIcon.js +1 -7
- package/esm/icons/components/ProfileIcon.js +1 -7
- package/esm/icons/components/RadioIcon.js +1 -7
- package/esm/icons/components/ReclamationIcon.js +1 -7
- package/esm/icons/components/ReleasingIcon.js +1 -7
- package/esm/icons/components/RemoveFilterIcon.js +1 -7
- package/esm/icons/components/ReservedPriceIcon.js +1 -7
- package/esm/icons/components/ResultIcon.js +1 -7
- package/esm/icons/components/SafePaymentIcon.js +1 -7
- package/esm/icons/components/SaleTagIcon.js +1 -7
- package/esm/icons/components/SearchCheckIcon.js +1 -7
- package/esm/icons/components/SearchIcon.js +1 -7
- package/esm/icons/components/SedanIcon.js +1 -7
- package/esm/icons/components/SellCarIcon.js +1 -7
- package/esm/icons/components/SellCarsIcon.js +1 -7
- package/esm/icons/components/ServiceIcon.js +1 -7
- package/esm/icons/components/ShareIcon.js +1 -7
- package/esm/icons/components/ShieldIcon.js +1 -7
- package/esm/icons/components/SignInIcon.js +1 -7
- package/esm/icons/components/SignOutIcon.js +1 -7
- package/esm/icons/components/SpeedMeterIcon.js +1 -7
- package/esm/icons/components/StarCircleIcon.js +1 -7
- package/esm/icons/components/StartIcon.js +1 -7
- package/esm/icons/components/StoreIcon.js +1 -7
- package/esm/icons/components/SuvIcon.js +1 -7
- package/esm/icons/components/SwedenFlag.js +1 -7
- package/esm/icons/components/TankIcon.js +1 -7
- package/esm/icons/components/TireIcon.js +1 -7
- package/esm/icons/components/TransportIcon.js +1 -7
- package/esm/icons/components/TrashcanIcon.js +1 -7
- package/esm/icons/components/TrophyIcon.js +1 -7
- package/esm/icons/components/TruckIcon.js +1 -7
- package/esm/icons/components/UmbrellaIcon.js +1 -7
- package/esm/icons/components/ValuationIcon.js +1 -7
- package/esm/icons/components/ValueIcon.js +1 -7
- package/esm/icons/components/WarningIcon.js +1 -7
- package/esm/icons/components/YoutubeIcon.js +1 -7
- package/esm/icons/components/index.js +1 -157
- package/esm/index.js +1 -221
- package/esm/shared/constants.js +1 -3
- package/esm/shared/helpers.js +1 -23
- package/esm/shared/helpers.spec.js +1 -40
- package/esm/shared/media-queries.js +1 -35
- package/esm/theme.js +1 -121
- package/esm/typography/BodyText/index.js +20 -35
- package/esm/typography/ButtonText/index.js +15 -28
- package/esm/typography/Heading/index.js +22 -38
- package/esm/utils/utils.js +2 -25
- package/package.json +11 -8
- package/types/components/DayPicker/index.d.ts +0 -1
- package/types/components/DayPicker/style.d.ts +2 -0
- package/types/components/FieldLabel.d.ts +1 -1
- package/types/components/Header/Link.d.ts +1 -1
- package/types/components/MenuItem/index.d.ts +1 -1
- package/types/components/Select/index.d.ts +9 -8
- package/cjs/react-app-env.d.js +0 -2
- package/cjs/styled.d.js +0 -4
- package/esm/react-app-env.d.js +0 -1
- package/esm/styled.d.js +0 -1
|
@@ -1,51 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
6
|
-
var react = require('react');
|
|
7
|
-
var styled = require('styled-components');
|
|
8
|
-
|
|
9
|
-
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
10
|
-
|
|
11
|
-
var styled__default = /*#__PURE__*/_interopDefaultLegacy(styled);
|
|
12
|
-
|
|
13
|
-
const TabsContainer = styled__default['default'].div `
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("styled-components");function o(c){return c&&typeof c=="object"&&"default"in c?c:{default:c}}var r=o(e),i=o(t);const l=i.default.div`
|
|
14
2
|
display: inline-flex;
|
|
15
|
-
border-bottom: 1px solid ${({
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
font-
|
|
19
|
-
font-weight: ${({ theme }) => theme.typography.fontAlternativeRegularWeight};
|
|
3
|
+
border-bottom: 1px solid ${({theme:c})=>c.colors.gray.light4};
|
|
4
|
+
`,a=i.default.div`
|
|
5
|
+
font-family: ${({theme:c})=>c.typography.fontAlternativeFamily};
|
|
6
|
+
font-weight: ${({theme:c})=>c.typography.fontAlternativeRegularWeight};
|
|
20
7
|
padding: 1em;
|
|
21
|
-
border-bottom: ${({
|
|
22
|
-
? `3px solid ${theme.colors[activeColor].main}`
|
|
23
|
-
: '3px solid transparent'};
|
|
8
|
+
border-bottom: ${({theme:c,isActive:d,activeColor:s})=>d?`3px solid ${c.colors[s].main}`:"3px solid transparent"};
|
|
24
9
|
transition: color 0.3s ease, border 0.3s ease;
|
|
25
10
|
cursor: pointer;
|
|
26
|
-
|
|
27
|
-
const Tab = ({ children, isActive = false, onClick, activeColor = 'primary', }) => {
|
|
28
|
-
return (jsxRuntime.jsx(TabWrapper, Object.assign({ isActive: isActive, onClick: onClick, activeColor: activeColor }, { children: children }), void 0));
|
|
29
|
-
};
|
|
30
|
-
const Tabs = ({ activeIndex, activeColor = 'primary', children, onTabClick, className, }) => {
|
|
31
|
-
if (react.Children.count(children) <= 1) {
|
|
32
|
-
console.error('<Tabs /> component has too few children!');
|
|
33
|
-
return null;
|
|
34
|
-
}
|
|
35
|
-
return (jsxRuntime.jsx(TabsContainer, Object.assign({ className: className }, { children: react.Children.map(children, (child, index) => {
|
|
36
|
-
if (!child) {
|
|
37
|
-
return null;
|
|
38
|
-
}
|
|
39
|
-
const onClick = child.props.onClick;
|
|
40
|
-
return (jsxRuntime.jsx(TabWrapper, Object.assign({}, child.props, { isActive: activeIndex === index, activeColor: activeColor, onClick: event => {
|
|
41
|
-
onTabClick(index);
|
|
42
|
-
if (typeof onClick === 'function') {
|
|
43
|
-
onClick(event);
|
|
44
|
-
}
|
|
45
|
-
}, as: child.type || 'div' }, { children: child.props.children }), void 0));
|
|
46
|
-
}) }), void 0));
|
|
47
|
-
};
|
|
48
|
-
|
|
49
|
-
exports.Tab = Tab;
|
|
50
|
-
exports.Tabs = Tabs;
|
|
51
|
-
exports['default'] = Tabs;
|
|
11
|
+
`,n=({activeIndex:c,activeColor:d="primary",children:s,onTabClick:u,className:v})=>e.Children.count(s)<=1?(console.error("<Tabs /> component has too few children!"),null):r.default.createElement(l,{className:v},e.Children.map(s,(p,f)=>{if(!p)return null;const m=p.props.onClick;return r.default.createElement(a,{...p.props,isActive:c===f,activeColor:d,onClick:h=>{u(f),typeof m=="function"&&m(h)},as:p.type||"div"},p.props.children)}));exports.Tab=({children:c,isActive:d=!1,onClick:s,activeColor:u="primary"})=>r.default.createElement(a,{isActive:d,onClick:s,activeColor:u},c),exports.Tabs=n,exports.default=n;
|
|
@@ -1,56 +1,36 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
13
|
-
|
|
14
|
-
var styled__default = /*#__PURE__*/_interopDefaultLegacy(styled);
|
|
15
|
-
|
|
16
|
-
const disabledStyles = styled.css `
|
|
17
|
-
border: 1px solid ${theme['default'].colors.gray.light1};
|
|
18
|
-
color: ${theme['default'].colors.gray.dark1};
|
|
19
|
-
fill: ${theme['default'].colors.gray.light1};
|
|
20
|
-
`;
|
|
21
|
-
const errorStyles = styled.css `
|
|
22
|
-
border: 1px solid ${theme['default'].colors.error.main};
|
|
23
|
-
`;
|
|
24
|
-
const focusStyles = styled.css `
|
|
25
|
-
color: ${theme['default'].colors.text.dark};
|
|
26
|
-
border: 1px solid ${theme['default'].colors.text.dark};
|
|
27
|
-
fill: ${theme['default'].colors.text.dark};
|
|
28
|
-
`;
|
|
29
|
-
const TextAreaWrapper = styled__default['default'].div `
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),r=require("styled-components"),l=require("../../theme.js"),t=require("../FieldLabel.js"),a=require("../../typography/BodyText/index.js");function o(b){return b&&typeof b=="object"&&"default"in b?b:{default:b}}var d=o(e),s=o(r);const i=r.css`
|
|
2
|
+
border: 1px solid ${l.default.colors.gray.light1};
|
|
3
|
+
color: ${l.default.colors.gray.dark1};
|
|
4
|
+
fill: ${l.default.colors.gray.light1};
|
|
5
|
+
`,n=r.css`
|
|
6
|
+
border: 1px solid ${l.default.colors.error.main};
|
|
7
|
+
`,c=r.css`
|
|
8
|
+
color: ${l.default.colors.text.dark};
|
|
9
|
+
border: 1px solid ${l.default.colors.text.dark};
|
|
10
|
+
fill: ${l.default.colors.text.dark};
|
|
11
|
+
`,u=s.default.div`
|
|
30
12
|
position: relative;
|
|
31
13
|
padding: 0;
|
|
32
14
|
display: inline-block;
|
|
33
|
-
|
|
34
|
-
const InputWrapper = styled__default['default'].div `
|
|
15
|
+
`,f=s.default.div`
|
|
35
16
|
display: inline-black;
|
|
36
17
|
|
|
37
|
-
color: ${
|
|
38
|
-
fill: ${
|
|
39
|
-
background-color: ${
|
|
18
|
+
color: ${l.default.colors.gray.light1};
|
|
19
|
+
fill: ${l.default.colors.gray.light1};
|
|
20
|
+
background-color: ${l.default.colors.background.light};
|
|
40
21
|
|
|
41
|
-
border: 1px solid ${
|
|
22
|
+
border: 1px solid ${l.default.colors.gray.light1};
|
|
42
23
|
border-radius: 0.25em;
|
|
43
24
|
transition: all 150ms;
|
|
44
25
|
|
|
45
26
|
padding: 0.7rem 0.75rem;
|
|
46
27
|
|
|
47
|
-
${({
|
|
48
|
-
${({
|
|
49
|
-
${({
|
|
50
|
-
${({
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
${typography_BodyText_index.BodyTextStyle}
|
|
28
|
+
${({hasError:b,isFocused:x})=>!b&&x&&c}
|
|
29
|
+
${({disabled:b})=>b&&i}
|
|
30
|
+
${({hasError:b})=>b&&n}
|
|
31
|
+
${({centered:b})=>b&&"text-align: center;"}
|
|
32
|
+
`,h=s.default.textarea`
|
|
33
|
+
${a.BodyTextStyle}
|
|
54
34
|
|
|
55
35
|
width: 100%;
|
|
56
36
|
cursor: text;
|
|
@@ -58,29 +38,18 @@ const TextAreaInput = styled__default['default'].textarea `
|
|
|
58
38
|
border: none;
|
|
59
39
|
background-color: transparent;
|
|
60
40
|
|
|
61
|
-
${({
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
`;
|
|
66
|
-
const HelperText = styled__default['default'].span `
|
|
41
|
+
${({resize:b})=>!b&&"resize: none;"}
|
|
42
|
+
`,m=s.default.div`
|
|
43
|
+
font-family: ${({theme:b})=>b.typography.fontBaseFamily};
|
|
44
|
+
`,p=s.default.span`
|
|
67
45
|
display: block;
|
|
68
|
-
font-family: ${({
|
|
46
|
+
font-family: ${({theme:b})=>b.typography.fontBaseFamily};
|
|
69
47
|
font-size: 0.81rem;
|
|
70
48
|
|
|
71
49
|
margin-top: 0.25rem;
|
|
72
50
|
margin-left: 0.85rem;
|
|
73
51
|
|
|
74
|
-
color: ${({
|
|
75
|
-
|
|
76
|
-
${({ centered }) => centered && `width: 100%; text-align: center; display: block;`}
|
|
77
|
-
`;
|
|
78
|
-
/** The main text field used */
|
|
79
|
-
const TextArea = ({ placeholder = '', isDisabled = false, centered = false, hasError = false, className, helperText, label = '', resize = true, ...props }) => {
|
|
80
|
-
const [isFocused, setIsFocused] = react.useState(false);
|
|
81
|
-
const hasValue = Boolean(props.value);
|
|
82
|
-
return (jsxRuntime.jsxs(TextAreaWrapper, Object.assign({ className: className }, { children: [jsxRuntime.jsxs(InputWrapper, Object.assign({ isFocused: isFocused, disabled: isDisabled, centered: centered, hasError: hasError, hasPlaceholder: !!placeholder }, { children: [jsxRuntime.jsx(TextAreaInput, Object.assign({}, props, { resize: resize, onFocus: () => setIsFocused(true), onBlur: () => setIsFocused(false), disabled: isDisabled, theme: theme['default'], placeholder: label && !isFocused ? '' : placeholder }), void 0), props.suffix && jsxRuntime.jsx(Suffix, { children: props.suffix }, void 0)] }), void 0), label && (jsxRuntime.jsx(components_FieldLabel.Label, Object.assign({ isFocused: isFocused, centered: centered, hasError: hasError, hasValue: hasValue, disabled: isDisabled, theme: theme['default'] }, { children: label }), void 0)), helperText && (jsxRuntime.jsx(HelperText, Object.assign({ centered: centered, hasError: hasError }, { children: helperText }), void 0))] }), void 0));
|
|
83
|
-
};
|
|
52
|
+
color: ${({hasError:b})=>b?l.default.colors.error.main:l.default.colors.text.dark};
|
|
84
53
|
|
|
85
|
-
|
|
86
|
-
|
|
54
|
+
${({centered:b})=>b&&"width: 100%; text-align: center; display: block;"}
|
|
55
|
+
`,y=({placeholder:b="",isDisabled:x=!1,centered:g=!1,hasError:E=!1,className:j,helperText:F,label:k="",resize:q=!0,...$})=>{const[v,B]=e.useState(!1),z=Boolean($.value);return d.default.createElement(u,{className:j},d.default.createElement(f,{isFocused:v,disabled:x,centered:g,hasError:E,hasPlaceholder:!!b},d.default.createElement(h,{...$,resize:q,onFocus:()=>B(!0),onBlur:()=>B(!1),disabled:x,theme:l.default,placeholder:k&&!v?"":b}),$.suffix&&d.default.createElement(m,null,$.suffix)),k&&d.default.createElement(t.Label,{isFocused:v,centered:g,hasError:E,hasValue:z,disabled:x,theme:l.default},k),F&&d.default.createElement(p,{centered:g,hasError:E},F))};exports.TextArea=y,exports.default=y;
|
|
@@ -1,95 +1,55 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
13
|
-
|
|
14
|
-
var styled__default = /*#__PURE__*/_interopDefaultLegacy(styled);
|
|
15
|
-
|
|
16
|
-
const disabledStyles = styled.css `
|
|
17
|
-
border: 1px solid ${theme['default'].colors.gray.light1};
|
|
18
|
-
color: ${theme['default'].colors.gray.dark1};
|
|
19
|
-
fill: ${theme['default'].colors.gray.light1};
|
|
20
|
-
`;
|
|
21
|
-
const errorStyles = styled.css `
|
|
22
|
-
border: 1px solid ${theme['default'].colors.error.main};
|
|
23
|
-
`;
|
|
24
|
-
const focusStyles = styled.css `
|
|
25
|
-
color: ${theme['default'].colors.text.dark};
|
|
26
|
-
border: 1px solid ${theme['default'].colors.text.dark};
|
|
27
|
-
fill: ${theme['default'].colors.text.dark};
|
|
28
|
-
`;
|
|
29
|
-
const TextFieldWrapper = styled__default['default'].div `
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),r=require("styled-components"),l=require("../../theme.js"),t=require("../FieldLabel.js"),a=require("../../typography/BodyText/index.js");function o(x){return x&&typeof x=="object"&&"default"in x?x:{default:x}}var d=o(e),s=o(r);const i=r.css`
|
|
2
|
+
border: 1px solid ${l.default.colors.gray.light1};
|
|
3
|
+
color: ${l.default.colors.gray.dark1};
|
|
4
|
+
fill: ${l.default.colors.gray.light1};
|
|
5
|
+
`,n=r.css`
|
|
6
|
+
border: 1px solid ${l.default.colors.error.main};
|
|
7
|
+
`,c=r.css`
|
|
8
|
+
color: ${l.default.colors.text.dark};
|
|
9
|
+
border: 1px solid ${l.default.colors.text.dark};
|
|
10
|
+
fill: ${l.default.colors.text.dark};
|
|
11
|
+
`,u=s.default.div`
|
|
30
12
|
position: relative;
|
|
31
13
|
padding: 0;
|
|
32
14
|
display: block;
|
|
33
|
-
|
|
34
|
-
// eslint-disable-next-line prettier/prettier
|
|
35
|
-
const InputWrapper = styled__default['default'].div `
|
|
15
|
+
`,f=s.default.div`
|
|
36
16
|
display: flex;
|
|
37
17
|
text-align: center;
|
|
38
18
|
align-items: center;
|
|
39
19
|
|
|
40
|
-
color: ${
|
|
41
|
-
fill: ${
|
|
42
|
-
background-color: ${
|
|
20
|
+
color: ${l.default.colors.gray.light1};
|
|
21
|
+
fill: ${l.default.colors.gray.light1};
|
|
22
|
+
background-color: ${l.default.colors.background.light};
|
|
43
23
|
|
|
44
|
-
border: 1px solid ${
|
|
24
|
+
border: 1px solid ${l.default.colors.gray.light1};
|
|
45
25
|
border-radius: 0.25em;
|
|
46
26
|
transition: all 150ms;
|
|
47
27
|
|
|
48
28
|
padding: 0.7rem 0.75rem 0.6rem;
|
|
49
29
|
|
|
50
|
-
${({
|
|
51
|
-
${({
|
|
52
|
-
${({
|
|
53
|
-
${({
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
${typography_BodyText_index.BodyTextStyle}
|
|
30
|
+
${({hasError:x,isFocused:y})=>!x&&y&&c}
|
|
31
|
+
${({disabled:x})=>x&&i}
|
|
32
|
+
${({hasError:x})=>x&&n}
|
|
33
|
+
${({centered:x})=>x&&"text-align: center;"}
|
|
34
|
+
`,p=s.default.input`
|
|
35
|
+
${a.BodyTextStyle}
|
|
57
36
|
width: 100%;
|
|
58
37
|
cursor: text;
|
|
59
38
|
outline: none;
|
|
60
39
|
border: none;
|
|
61
40
|
background-color: transparent;
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
font-family: ${({ theme }) => theme.typography.fontBaseFamily};
|
|
41
|
+
`,h=s.default.div`
|
|
42
|
+
font-family: ${({theme:x})=>x.typography.fontBaseFamily};
|
|
65
43
|
line-height: 0px;
|
|
66
44
|
margin-top: 2px;
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
${typography_BodyText_index.CaptionStyle}
|
|
45
|
+
`,m=s.default.span`
|
|
46
|
+
${a.CaptionStyle}
|
|
70
47
|
line-height: normal;
|
|
71
48
|
display: block;
|
|
72
49
|
margin-top: 0.25rem;
|
|
73
50
|
margin-left: 0.85rem;
|
|
74
51
|
|
|
75
|
-
color: ${({
|
|
76
|
-
|
|
77
|
-
${({ centered }) => centered && `width: 100%; text-align: center; display: block;`}
|
|
78
|
-
`;
|
|
79
|
-
/** The main text field used */
|
|
80
|
-
const TextField = ({ placeholder = '', isDisabled = false, centered = false, hasError = false, className, helperText, label = '', onBlur = () => null, onFocus = () => null, forwardRef, ...props }) => {
|
|
81
|
-
const [isFocused, setIsFocused] = react.useState(false);
|
|
82
|
-
const hasValue = Boolean(props.value);
|
|
83
|
-
const handleFocus = (event) => {
|
|
84
|
-
setIsFocused(true);
|
|
85
|
-
onFocus(event);
|
|
86
|
-
};
|
|
87
|
-
const handleBlur = (event) => {
|
|
88
|
-
setIsFocused(false);
|
|
89
|
-
onBlur(event);
|
|
90
|
-
};
|
|
91
|
-
return (jsxRuntime.jsxs(TextFieldWrapper, Object.assign({ className: className }, { children: [jsxRuntime.jsxs(InputWrapper, Object.assign({ isFocused: isFocused, disabled: isDisabled, centered: centered, hasError: hasError, hasPlaceholder: !!placeholder }, { children: [jsxRuntime.jsx(Input, Object.assign({}, props, { ref: forwardRef, onFocus: handleFocus, onBlur: handleBlur, disabled: isDisabled, theme: theme['default'], placeholder: label && !isFocused ? '' : placeholder }), void 0), props.suffix && jsxRuntime.jsx(Suffix, { children: props.suffix }, void 0)] }), void 0), label && (jsxRuntime.jsx(components_FieldLabel.Label, Object.assign({ isFocused: isFocused, centered: centered, hasError: hasError, hasValue: hasValue, disabled: isDisabled, theme: theme['default'] }, { children: label }), void 0)), helperText && (jsxRuntime.jsx(HelperText, Object.assign({ centered: centered, hasError: hasError }, { children: helperText }), void 0))] }), void 0));
|
|
92
|
-
};
|
|
52
|
+
color: ${({hasError:x})=>x?l.default.colors.error.main:l.default.colors.text.dark};
|
|
93
53
|
|
|
94
|
-
|
|
95
|
-
|
|
54
|
+
${({centered:x})=>x&&"width: 100%; text-align: center; display: block;"}
|
|
55
|
+
`,g=({placeholder:x="",isDisabled:y=!1,centered:b=!1,hasError:E=!1,className:q,helperText:B,label:k="",onBlur:T=()=>null,onFocus:w=()=>null,forwardRef:S,...$})=>{const[v,j]=e.useState(!1),L=Boolean($.value);return d.default.createElement(u,{className:q},d.default.createElement(f,{isFocused:v,disabled:y,centered:b,hasError:E,hasPlaceholder:!!x},d.default.createElement(p,{...$,ref:S,onFocus:F=>{j(!0),w(F)},onBlur:F=>{j(!1),T(F)},disabled:y,theme:l.default,placeholder:k&&!v?"":x}),$.suffix&&d.default.createElement(h,null,$.suffix)),k&&d.default.createElement(t.Label,{isFocused:v,centered:b,hasError:E,hasValue:L,disabled:y,theme:l.default},k),B&&d.default.createElement(m,{centered:b,hasError:E},B))};exports.TextField=g,exports.default=g;
|
|
@@ -1,18 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
6
|
-
var styled = require('styled-components');
|
|
7
|
-
var components_Chip_index = require('../Chip/index.js');
|
|
8
|
-
require('../../shared/helpers.js');
|
|
9
|
-
require('../../theme.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 TimeSlots = styled__default['default'].ul `
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("styled-components"),r=require("../Chip/index.js");function i(m){return m&&typeof m=="object"&&"default"in m?m:{default:m}}require("../../shared/helpers.js"),require("../../theme.js");var a=i(e);const l=i(t).default.ul`
|
|
16
2
|
max-width: 20rem;
|
|
17
3
|
display: grid;
|
|
18
4
|
grid-template-columns: repeat(4, 1fr);
|
|
@@ -20,17 +6,4 @@ const TimeSlots = styled__default['default'].ul `
|
|
|
20
6
|
flex-wrap: wrap;
|
|
21
7
|
margin: 0;
|
|
22
8
|
padding: 0;
|
|
23
|
-
|
|
24
|
-
const isCurrentTime = (currentItem, selectedTimes) => {
|
|
25
|
-
return Array.isArray(selectedTimes)
|
|
26
|
-
? Boolean(selectedTimes.find(t => t.getTime() === currentItem.getTime()))
|
|
27
|
-
: (selectedTimes === null || selectedTimes === void 0 ? void 0 : selectedTimes.getTime()) === currentItem.getTime();
|
|
28
|
-
};
|
|
29
|
-
const TimePicker = ({ timeSlots, onTimeSlotClick, selectedTimes, disabledTimes, ...props }) => (jsxRuntime.jsx(TimeSlots, Object.assign({}, props, { children: timeSlots.map(({ text, date }) => {
|
|
30
|
-
const isSelected = isCurrentTime(date, selectedTimes);
|
|
31
|
-
const isDisabled = isCurrentTime(date, disabledTimes);
|
|
32
|
-
return (jsxRuntime.jsx(components_Chip_index.Chip, Object.assign({ component: "li", "data-selected": isSelected, "data-disabled": isDisabled, isDisabled: isDisabled, isActive: isSelected, onClick: () => !isSelected && !isDisabled && onTimeSlotClick(date) }, { children: text }), date.getTime()));
|
|
33
|
-
}) }), void 0));
|
|
34
|
-
|
|
35
|
-
exports.TimePicker = TimePicker;
|
|
36
|
-
exports['default'] = TimePicker;
|
|
9
|
+
`,d=(m,n)=>Array.isArray(n)?Boolean(n.find(u=>u.getTime()===m.getTime())):(n==null?void 0:n.getTime())===m.getTime(),s=({timeSlots:m,onTimeSlotClick:n,selectedTimes:u,disabledTimes:f,...g})=>a.default.createElement(l,{...g},m.map(({text:T,date:o})=>{const c=d(o,u),p=d(o,f);return a.default.createElement(r.Chip,{component:"li","data-selected":c,"data-disabled":p,isDisabled:p,isActive:c,key:o.getTime(),onClick:()=>!c&&!p&&n(o)},T)}));exports.TimePicker=s,exports.default=s;
|
|
@@ -1,17 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const generateTimeSlots = (x) => {
|
|
6
|
-
const addHour = (h) => h * 60 * 60 * 1000;
|
|
7
|
-
const startDate = new Date('2020/02/02');
|
|
8
|
-
const t = new Date(startDate);
|
|
9
|
-
// eslint-disable-next-line no-unused-vars
|
|
10
|
-
return Array.from({ length: x }, (_, i) => {
|
|
11
|
-
const date = new Date(t.setTime(t.getDate() + addHour(i)));
|
|
12
|
-
const text = i < 10 ? `0${i + 1}:00` : `${i + 1}:00`;
|
|
13
|
-
return { date, text };
|
|
14
|
-
});
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
exports.generateTimeSlots = generateTimeSlots;
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.generateTimeSlots=r=>{const a=new Date("2020/02/02"),t=new Date(a);return Array.from({length:r},(n,e)=>({date:new Date(t.setTime(t.getDate()+60*e*60*1e3)),text:e<10?`0${e+1}:00`:`${e+1}:00`}))};
|
|
@@ -1,26 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
6
|
-
var react = require('react');
|
|
7
|
-
var styled = require('styled-components');
|
|
8
|
-
var theme = require('../../theme.js');
|
|
9
|
-
|
|
10
|
-
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
11
|
-
|
|
12
|
-
var styled__default = /*#__PURE__*/_interopDefaultLegacy(styled);
|
|
13
|
-
|
|
14
|
-
const Container = styled__default['default'].div `
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("styled-components"),o=require("../../theme.js");function i(s){return s&&typeof s=="object"&&"default"in s?s:{default:s}}var l=i(e),r=i(t);const a=r.default.div`
|
|
15
2
|
display: flex;
|
|
16
3
|
position: relative;
|
|
17
|
-
border-top: ${({
|
|
18
|
-
border-bottom: ${({
|
|
4
|
+
border-top: ${({theme:s})=>`1px solid ${s.colors.gray.light6}`};
|
|
5
|
+
border-bottom: ${({theme:s})=>`1px solid ${s.colors.gray.light6}`};
|
|
19
6
|
padding: 4px;
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
font-
|
|
23
|
-
font-weight: ${({ theme }) => theme.typography.fontBaseRegularWeight};
|
|
7
|
+
`,c=r.default.div`
|
|
8
|
+
font-family: ${({theme:s})=>s.typography.fontBaseFamily};
|
|
9
|
+
font-weight: ${({theme:s})=>s.typography.fontBaseRegularWeight};
|
|
24
10
|
display: flex;
|
|
25
11
|
min-height: 4rem;
|
|
26
12
|
align-items: center;
|
|
@@ -30,11 +16,10 @@ const Box = styled__default['default'].div `
|
|
|
30
16
|
position: relative;
|
|
31
17
|
cursor: pointer;
|
|
32
18
|
|
|
33
|
-
color: ${
|
|
34
|
-
|
|
35
|
-
const Background = styled__default['default'].div `
|
|
19
|
+
color: ${s=>s.isActive?o.default.colors.text.light:o.default.colors.text.dark};
|
|
20
|
+
`,n=r.default.div`
|
|
36
21
|
z-index: 0;
|
|
37
|
-
background-color: ${
|
|
22
|
+
background-color: ${s=>o.default.colors[s.color].main};
|
|
38
23
|
position: absolute;
|
|
39
24
|
|
|
40
25
|
border-radius: 0.25rem;
|
|
@@ -46,27 +31,9 @@ const Background = styled__default['default'].div `
|
|
|
46
31
|
|
|
47
32
|
transition: left 250ms ease-in-out;
|
|
48
33
|
|
|
49
|
-
${
|
|
50
|
-
`
|
|
34
|
+
${s=>s.active==="RIGHT"&&`
|
|
51
35
|
left: calc(50%);
|
|
52
36
|
`}
|
|
53
37
|
|
|
54
|
-
${
|
|
55
|
-
`;
|
|
56
|
-
const Toggle = ({ onChange, ...props }) => {
|
|
57
|
-
const [active, setActive] = react.useState(props.active);
|
|
58
|
-
react.useEffect(() => {
|
|
59
|
-
setActive(props.active);
|
|
60
|
-
}, [props.active]);
|
|
61
|
-
const handleLeftClick = () => {
|
|
62
|
-
setActive('LEFT');
|
|
63
|
-
onChange('LEFT');
|
|
64
|
-
};
|
|
65
|
-
const handleRightClick = () => {
|
|
66
|
-
setActive('RIGHT');
|
|
67
|
-
onChange('RIGHT');
|
|
68
|
-
};
|
|
69
|
-
return (jsxRuntime.jsxs(Container, Object.assign({}, props, { children: [jsxRuntime.jsx(Background, { color: props.color, active: active }, void 0), jsxRuntime.jsx(Box, Object.assign({ onClick: handleLeftClick, isActive: active === 'LEFT', color: props.color }, { children: props.left }), void 0), jsxRuntime.jsx(Box, Object.assign({ onClick: handleRightClick, isActive: active === 'RIGHT', color: props.color }, { children: props.right }), void 0)] }), void 0));
|
|
70
|
-
};
|
|
71
|
-
|
|
72
|
-
exports.Toggle = Toggle;
|
|
38
|
+
${s=>!s.active&&"display: none;"}
|
|
39
|
+
`;exports.Toggle=({onChange:s,...d})=>{const[f,u]=e.useState(d.active);return e.useEffect(()=>{u(d.active)},[d.active]),l.default.createElement(a,{...d},l.default.createElement(n,{color:d.color,active:f}),l.default.createElement(c,{onClick:()=>{u("LEFT"),s("LEFT")},isActive:f==="LEFT",color:d.color},d.left),l.default.createElement(c,{onClick:()=>{u("RIGHT"),s("RIGHT")},isActive:f==="RIGHT",color:d.color},d.right))};
|
|
@@ -1,11 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
6
|
-
|
|
7
|
-
function AccountCreateIcon(props) {
|
|
8
|
-
return (jsxRuntime.jsxs("svg", Object.assign({ width: "1em", height: "1em", viewBox: "0 0 26 20", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg" }, props, { children: [jsxRuntime.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M2.949 11.997V4.696h1.565v7.3H2.949z" }, void 0), jsxRuntime.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M.08 7.563h7.302V9.13H.08V7.563zM13.391 1.565a3.13 3.13 0 100 6.261 3.13 3.13 0 000-6.26zm-4.695 3.13a4.696 4.696 0 119.391.001 4.696 4.696 0 01-9.391 0zm-1.91 8.035c1.436-1.62 3.628-2.556 6.605-2.556 2.978 0 5.17.935 6.605 2.556C21.416 14.333 22 16.499 22 18.783v.782H4.783v-.782c0-2.284.583-4.45 2.004-6.053zM6.376 18h14.033c-.12-1.703-.637-3.164-1.584-4.232-1.074-1.213-2.795-2.029-5.433-2.029-2.637 0-4.359.816-5.433 2.029-.946 1.068-1.464 2.529-1.583 4.232z" }, void 0)] }), void 0));
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
exports['default'] = AccountCreateIcon;
|
|
1
|
+
"use strict";function e(r){if(r&&r.__esModule)return r;var l=Object.create(null);return r&&Object.keys(r).forEach(function(n){if(n!=="default"){var c=Object.getOwnPropertyDescriptor(r,n);Object.defineProperty(l,n,c.get?c:{enumerable:!0,get:function(){return r[n]}})}}),l.default=r,Object.freeze(l)}Object.defineProperty(exports,"__esModule",{value:!0});var t=e(require("react"));exports.default=function(r){return t.createElement("svg",{width:"1em",height:"1em",viewBox:"0 0 26 20",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...r},t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.949 11.997V4.696h1.565v7.3H2.949z"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.08 7.563h7.302V9.13H.08V7.563zM13.391 1.565a3.13 3.13 0 100 6.261 3.13 3.13 0 000-6.26zm-4.695 3.13a4.696 4.696 0 119.391.001 4.696 4.696 0 01-9.391 0zm-1.91 8.035c1.436-1.62 3.628-2.556 6.605-2.556 2.978 0 5.17.935 6.605 2.556C21.416 14.333 22 16.499 22 18.783v.782H4.783v-.782c0-2.284.583-4.45 2.004-6.053zM6.376 18h14.033c-.12-1.703-.637-3.164-1.584-4.232-1.074-1.213-2.795-2.029-5.433-2.029-2.637 0-4.359.816-5.433 2.029-.946 1.068-1.464 2.529-1.583 4.232z"}))};
|
|
@@ -1,11 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
6
|
-
|
|
7
|
-
function AccountIcon(props) {
|
|
8
|
-
return (jsxRuntime.jsx("svg", Object.assign({ width: "1em", height: "1em", viewBox: "0 0 18 20", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg" }, props, { children: jsxRuntime.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M8.826 1.783a3.13 3.13 0 100 6.26 3.13 3.13 0 000-6.26zM4.13 4.913a4.696 4.696 0 119.392 0 4.696 4.696 0 01-9.392 0zm-1.908 8.034c1.435-1.62 3.626-2.556 6.604-2.556s5.17.936 6.605 2.556c1.42 1.604 2.004 3.77 2.004 6.053v.783H.217V19c0-2.284.584-4.45 2.005-6.053zm-.413 5.27h14.034c-.12-1.703-.637-3.163-1.584-4.232-1.074-1.212-2.796-2.028-5.433-2.028s-4.359.816-5.433 2.028c-.946 1.069-1.465 2.53-1.584 4.232z" }, void 0) }), void 0));
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
exports['default'] = AccountIcon;
|
|
1
|
+
"use strict";function e(r){if(r&&r.__esModule)return r;var n=Object.create(null);return r&&Object.keys(r).forEach(function(c){if(c!=="default"){var u=Object.getOwnPropertyDescriptor(r,c);Object.defineProperty(n,c,u.get?u:{enumerable:!0,get:function(){return r[c]}})}}),n.default=r,Object.freeze(n)}Object.defineProperty(exports,"__esModule",{value:!0});var t=e(require("react"));exports.default=function(r){return t.createElement("svg",{width:"1em",height:"1em",viewBox:"0 0 18 20",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...r},t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.826 1.783a3.13 3.13 0 100 6.26 3.13 3.13 0 000-6.26zM4.13 4.913a4.696 4.696 0 119.392 0 4.696 4.696 0 01-9.392 0zm-1.908 8.034c1.435-1.62 3.626-2.556 6.604-2.556s5.17.936 6.605 2.556c1.42 1.604 2.004 3.77 2.004 6.053v.783H.217V19c0-2.284.584-4.45 2.005-6.053zm-.413 5.27h14.034c-.12-1.703-.637-3.163-1.584-4.232-1.074-1.212-2.796-2.028-5.433-2.028s-4.359.816-5.433 2.028c-.946 1.069-1.465 2.53-1.584 4.232z"}))};
|
|
@@ -1,11 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
6
|
-
|
|
7
|
-
function AccountLoginIcon(props) {
|
|
8
|
-
return (jsxRuntime.jsxs("svg", Object.assign({ width: "1em", height: "1em", viewBox: "0 0 22 19", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg" }, props, { children: [jsxRuntime.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M13.4 1.52a3.04 3.04 0 100 6.08 3.04 3.04 0 000-6.08zM8.84 4.56a4.56 4.56 0 119.12 0 4.56 4.56 0 01-9.12 0zm-1.854 7.802C8.38 10.789 10.508 9.88 13.4 9.88s5.02.909 6.414 2.482c1.38 1.557 1.946 3.66 1.946 5.878V19H5.04v-.76c0-2.218.567-4.32 1.946-5.878zm-.4 5.118h13.628c-.116-1.654-.619-3.072-1.538-4.11-1.043-1.177-2.715-1.97-5.276-1.97s-4.233.793-5.276 1.97c-.92 1.038-1.422 2.456-1.538 4.11z" }, void 0), jsxRuntime.jsx("path", { d: "M.48 7.868h5.477v1.403H.48V7.868z" }, void 0), jsxRuntime.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M4.39 11.844l1.751-2.09c.56-.639.56-1.694-.01-2.345L4.392 5.32l-1.078.898 1.75 2.102c.118.135.118.4.012.522l-1.76 2.1 1.075.902z" }, void 0)] }), void 0));
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
exports['default'] = AccountLoginIcon;
|
|
1
|
+
"use strict";function e(r){if(r&&r.__esModule)return r;var c=Object.create(null);return r&&Object.keys(r).forEach(function(l){if(l!=="default"){var n=Object.getOwnPropertyDescriptor(r,l);Object.defineProperty(c,l,n.get?n:{enumerable:!0,get:function(){return r[l]}})}}),c.default=r,Object.freeze(c)}Object.defineProperty(exports,"__esModule",{value:!0});var t=e(require("react"));exports.default=function(r){return t.createElement("svg",{width:"1em",height:"1em",viewBox:"0 0 22 19",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...r},t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.4 1.52a3.04 3.04 0 100 6.08 3.04 3.04 0 000-6.08zM8.84 4.56a4.56 4.56 0 119.12 0 4.56 4.56 0 01-9.12 0zm-1.854 7.802C8.38 10.789 10.508 9.88 13.4 9.88s5.02.909 6.414 2.482c1.38 1.557 1.946 3.66 1.946 5.878V19H5.04v-.76c0-2.218.567-4.32 1.946-5.878zm-.4 5.118h13.628c-.116-1.654-.619-3.072-1.538-4.11-1.043-1.177-2.715-1.97-5.276-1.97s-4.233.793-5.276 1.97c-.92 1.038-1.422 2.456-1.538 4.11z"}),t.createElement("path",{d:"M.48 7.868h5.477v1.403H.48V7.868z"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.39 11.844l1.751-2.09c.56-.639.56-1.694-.01-2.345L4.392 5.32l-1.078.898 1.75 2.102c.118.135.118.4.012.522l-1.76 2.1 1.075.902z"}))};
|
|
@@ -1,11 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
6
|
-
|
|
7
|
-
function ArrowDownIcon(props) {
|
|
8
|
-
return (jsxRuntime.jsx("svg", Object.assign({ width: "1em", height: "1em", viewBox: "0 0 13 7", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg" }, props, { children: jsxRuntime.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M1.71.97l4.546 4.242a.282.282 0 00.38 0L11.18.97l1.136 1.06-4.545 4.243a1.971 1.971 0 01-2.652 0L.574 2.03 1.711.97z" }, void 0) }), void 0));
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
exports['default'] = ArrowDownIcon;
|
|
1
|
+
"use strict";function e(r){if(r&&r.__esModule)return r;var n=Object.create(null);return r&&Object.keys(r).forEach(function(l){if(l!=="default"){var u=Object.getOwnPropertyDescriptor(r,l);Object.defineProperty(n,l,u.get?u:{enumerable:!0,get:function(){return r[l]}})}}),n.default=r,Object.freeze(n)}Object.defineProperty(exports,"__esModule",{value:!0});var t=e(require("react"));exports.default=function(r){return t.createElement("svg",{width:"1em",height:"1em",viewBox:"0 0 13 7",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...r},t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.71.97l4.546 4.242a.282.282 0 00.38 0L11.18.97l1.136 1.06-4.545 4.243a1.971 1.971 0 01-2.652 0L.574 2.03 1.711.97z"}))};
|
|
@@ -1,11 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
6
|
-
|
|
7
|
-
function ArrowLeftIcon(props) {
|
|
8
|
-
return (jsxRuntime.jsx("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: "1em", height: "1em", viewBox: "0 0 12 24", fill: "currentColor" }, props, { children: jsxRuntime.jsx("path", { d: "M9.23 0L12 3l-6.462 7c-.915.993-.915 3.008 0 4L12 21l-2.77 3-3.834-4.2C1.59 15.7 0 14 0 12s1.96-4.1 5.396-7.8L9.231 0z" }, void 0) }), void 0));
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
exports['default'] = ArrowLeftIcon;
|
|
1
|
+
"use strict";function e(r){if(r&&r.__esModule)return r;var c=Object.create(null);return r&&Object.keys(r).forEach(function(n){if(n!=="default"){var u=Object.getOwnPropertyDescriptor(r,n);Object.defineProperty(c,n,u.get?u:{enumerable:!0,get:function(){return r[n]}})}}),c.default=r,Object.freeze(c)}Object.defineProperty(exports,"__esModule",{value:!0});var t=e(require("react"));exports.default=function(r){return t.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 12 24",fill:"currentColor",...r},t.createElement("path",{d:"M9.23 0L12 3l-6.462 7c-.915.993-.915 3.008 0 4L12 21l-2.77 3-3.834-4.2C1.59 15.7 0 14 0 12s1.96-4.1 5.396-7.8L9.231 0z"}))};
|
|
@@ -1,11 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
6
|
-
|
|
7
|
-
function ArrowLeftSharpIcon(props) {
|
|
8
|
-
return (jsxRuntime.jsx("svg", Object.assign({ width: "1em", height: "1em", viewBox: "0 0 19 19", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg" }, props, { children: jsxRuntime.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M11.045 16.97L3.267 9.193a.25.25 0 010-.353l7.778-7.778L9.985 0 2.205 7.778a1.75 1.75 0 000 2.475l7.778 7.778 1.061-1.06z" }, void 0) }), void 0));
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
exports['default'] = ArrowLeftSharpIcon;
|
|
1
|
+
"use strict";function e(r){if(r&&r.__esModule)return r;var n=Object.create(null);return r&&Object.keys(r).forEach(function(l){if(l!=="default"){var u=Object.getOwnPropertyDescriptor(r,l);Object.defineProperty(n,l,u.get?u:{enumerable:!0,get:function(){return r[l]}})}}),n.default=r,Object.freeze(n)}Object.defineProperty(exports,"__esModule",{value:!0});var t=e(require("react"));exports.default=function(r){return t.createElement("svg",{width:"1em",height:"1em",viewBox:"0 0 19 19",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...r},t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.045 16.97L3.267 9.193a.25.25 0 010-.353l7.778-7.778L9.985 0 2.205 7.778a1.75 1.75 0 000 2.475l7.778 7.778 1.061-1.06z"}))};
|
|
@@ -1,11 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
6
|
-
|
|
7
|
-
function ArrowLeftSmallIcon(props) {
|
|
8
|
-
return (jsxRuntime.jsx("svg", Object.assign({ width: "1em", height: "1em", viewBox: "0 0 12 13", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg" }, props, { children: jsxRuntime.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M8.999 2.321l-4.244 4.26a.251.251 0 000 .354L9 11.195 7.94 12.256l-4.244-4.26a1.758 1.758 0 010-2.479l4.244-4.26L9 2.322z" }, void 0) }), void 0));
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
exports['default'] = ArrowLeftSmallIcon;
|
|
1
|
+
"use strict";function e(r){if(r&&r.__esModule)return r;var l=Object.create(null);return r&&Object.keys(r).forEach(function(n){if(n!=="default"){var u=Object.getOwnPropertyDescriptor(r,n);Object.defineProperty(l,n,u.get?u:{enumerable:!0,get:function(){return r[n]}})}}),l.default=r,Object.freeze(l)}Object.defineProperty(exports,"__esModule",{value:!0});var t=e(require("react"));exports.default=function(r){return t.createElement("svg",{width:"1em",height:"1em",viewBox:"0 0 12 13",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...r},t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.999 2.321l-4.244 4.26a.251.251 0 000 .354L9 11.195 7.94 12.256l-4.244-4.26a1.758 1.758 0 010-2.479l4.244-4.26L9 2.322z"}))};
|
|
@@ -1,11 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
6
|
-
|
|
7
|
-
function ArrowLong(props) {
|
|
8
|
-
return (jsxRuntime.jsxs("svg", Object.assign({ width: "1em", height: "1em", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, props, { children: [jsxRuntime.jsx("path", { fill: "currentColor", d: "M1 10.215h20.532v3.422H1z" }, void 0), jsxRuntime.jsx("path", { d: "M17.71 19.91l4.269-5.095c1.366-1.559 1.366-4.133-.025-5.72L17.713 4l-2.63 2.19 4.27 5.126c.287.33.287.976.027 1.273l-4.294 5.124 2.623 2.198z", fill: "currentColor" }, void 0)] }), void 0));
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
exports['default'] = ArrowLong;
|
|
1
|
+
"use strict";function e(r){if(r&&r.__esModule)return r;var l=Object.create(null);return r&&Object.keys(r).forEach(function(c){if(c!=="default"){var n=Object.getOwnPropertyDescriptor(r,c);Object.defineProperty(l,c,n.get?n:{enumerable:!0,get:function(){return r[c]}})}}),l.default=r,Object.freeze(l)}Object.defineProperty(exports,"__esModule",{value:!0});var t=e(require("react"));exports.default=function(r){return t.createElement("svg",{width:"1em",height:"1em",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",...r},t.createElement("path",{fill:"currentColor",d:"M1 10.215h20.532v3.422H1z"}),t.createElement("path",{d:"M17.71 19.91l4.269-5.095c1.366-1.559 1.366-4.133-.025-5.72L17.713 4l-2.63 2.19 4.27 5.126c.287.33.287.976.027 1.273l-4.294 5.124 2.623 2.198z",fill:"currentColor"}))};
|
|
@@ -1,11 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
6
|
-
|
|
7
|
-
function ArrowRestartIcon(props) {
|
|
8
|
-
return (jsxRuntime.jsx("svg", Object.assign({ width: "1em", height: "1em", viewBox: "0 0 20 17", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg" }, props, { children: jsxRuntime.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M15.513 11.458c-.365-4.238-2.567-6.062-4.716-6.27-1.978-.191-4.193.944-5.416 3.35l2.072-.55.391 1.448-3.266.869a1.255 1.255 0 01-1.534-.886l-.88-3.263 1.45-.385.518 1.922c1.49-2.783 4.19-4.252 6.81-3.998 3.054.296 5.656 2.878 6.065 7.634l-1.494.129z" }, void 0) }), void 0));
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
exports['default'] = ArrowRestartIcon;
|
|
1
|
+
"use strict";function e(r){if(r&&r.__esModule)return r;var l=Object.create(null);return r&&Object.keys(r).forEach(function(n){if(n!=="default"){var c=Object.getOwnPropertyDescriptor(r,n);Object.defineProperty(l,n,c.get?c:{enumerable:!0,get:function(){return r[n]}})}}),l.default=r,Object.freeze(l)}Object.defineProperty(exports,"__esModule",{value:!0});var t=e(require("react"));exports.default=function(r){return t.createElement("svg",{width:"1em",height:"1em",viewBox:"0 0 20 17",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...r},t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.513 11.458c-.365-4.238-2.567-6.062-4.716-6.27-1.978-.191-4.193.944-5.416 3.35l2.072-.55.391 1.448-3.266.869a1.255 1.255 0 01-1.534-.886l-.88-3.263 1.45-.385.518 1.922c1.49-2.783 4.19-4.252 6.81-3.998 3.054.296 5.656 2.878 6.065 7.634l-1.494.129z"}))};
|
|
@@ -1,11 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
6
|
-
|
|
7
|
-
function ArrowRightIcon(props) {
|
|
8
|
-
return (jsxRuntime.jsx("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", fill: "currentColor", width: "1em", height: "1em", viewBox: "0 0 12 24" }, props, { children: jsxRuntime.jsx("path", { d: "M2.8 24L0 21l6.5-7c.9-1 .9-3 0-4L0 3l2.8-3 3.8 4.2C10.4 8.3 12 10 12 12s-2 4.1-5.4 7.8L2.8 24z" }, void 0) }), void 0));
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
exports['default'] = ArrowRightIcon;
|
|
1
|
+
"use strict";function e(r){if(r&&r.__esModule)return r;var c=Object.create(null);return r&&Object.keys(r).forEach(function(n){if(n!=="default"){var u=Object.getOwnPropertyDescriptor(r,n);Object.defineProperty(c,n,u.get?u:{enumerable:!0,get:function(){return r[n]}})}}),c.default=r,Object.freeze(c)}Object.defineProperty(exports,"__esModule",{value:!0});var t=e(require("react"));exports.default=function(r){return t.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",width:"1em",height:"1em",viewBox:"0 0 12 24",...r},t.createElement("path",{d:"M2.8 24L0 21l6.5-7c.9-1 .9-3 0-4L0 3l2.8-3 3.8 4.2C10.4 8.3 12 10 12 12s-2 4.1-5.4 7.8L2.8 24z"}))};
|
|
@@ -1,11 +1 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
var jsxRuntime = require('react/jsx-runtime');
|
|
6
|
-
|
|
7
|
-
function ArrowRightSharpIcon(props) {
|
|
8
|
-
return (jsxRuntime.jsx("svg", Object.assign({ width: "1em", height: "1em", viewBox: "0 0 19 19", fill: "currentColor", xmlns: "http://www.w3.org/2000/svg" }, props, { children: jsxRuntime.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M7.955 16.97l7.778-7.778a.25.25 0 000-.353L7.955 1.06 9.015 0l7.779 7.778a1.75 1.75 0 010 2.475l-7.778 7.778-1.061-1.06z" }, void 0) }), void 0));
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
exports['default'] = ArrowRightSharpIcon;
|
|
1
|
+
"use strict";function e(r){if(r&&r.__esModule)return r;var l=Object.create(null);return r&&Object.keys(r).forEach(function(n){if(n!=="default"){var u=Object.getOwnPropertyDescriptor(r,n);Object.defineProperty(l,n,u.get?u:{enumerable:!0,get:function(){return r[n]}})}}),l.default=r,Object.freeze(l)}Object.defineProperty(exports,"__esModule",{value:!0});var t=e(require("react"));exports.default=function(r){return t.createElement("svg",{width:"1em",height:"1em",viewBox:"0 0 19 19",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",...r},t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.955 16.97l7.778-7.778a.25.25 0 000-.353L7.955 1.06 9.015 0l7.779 7.778a1.75 1.75 0 010 2.475l-7.778 7.778-1.061-1.06z"}))};
|