@drivy/cobalt 0.34.1 → 0.34.3
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/components/Card/index.js.map +1 -1
- package/components/Popover/index.js +1 -1
- package/components/Popover/index.js.map +1 -1
- package/package.json +18 -15
- package/types/__tests__/AsyncComponent.d.ts +1 -1
- package/types/components/Accordion/ToggleIcon.d.ts +2 -2
- package/types/components/Accordion/index.d.ts +6 -6
- package/types/components/Alerter/index.d.ts +1 -1
- package/types/components/BasicCell/index.d.ts +1 -1
- package/types/components/BulletList/index.d.ts +2 -2
- package/types/components/Buttons/ButtonsGroup.d.ts +1 -1
- package/types/components/Buttons/helpers.d.ts +1 -1
- package/types/components/Calendar/CalendarRangePicker/CalendarRangePicker.d.ts +2 -2
- package/types/components/Calendar/CalendarRangePicker/CalendarRangePickerDay.d.ts +1 -1
- package/types/components/Calendar/CalendarRangePicker/CalendarRangePickerMonth.d.ts +2 -2
- package/types/components/Calendar/CalendarView/CalendarViewMonth.d.ts +2 -2
- package/types/components/Calendar/CalendarView/index.d.ts +2 -2
- package/types/components/Callout/index.d.ts +1 -1
- package/types/components/Card/index.d.ts +3 -3
- package/types/components/Chip/index.d.ts +1 -1
- package/types/components/EmptyState/index.d.ts +1 -1
- package/types/components/Flag/index.d.ts +2 -2
- package/types/components/Flash/index.d.ts +1 -1
- package/types/components/Form/CheckablePill.d.ts +2 -2
- package/types/components/Form/Checkmark.d.ts +2 -2
- package/types/components/Form/Fieldset.d.ts +1 -1
- package/types/components/Form/Hint.d.ts +1 -1
- package/types/components/Form/RadioWithDetails.d.ts +1 -1
- package/types/components/Form/Slider.d.ts +1 -1
- package/types/components/Form/Stepper.d.ts +1 -1
- package/types/components/Form/TextInput.d.ts +1 -1
- package/types/components/Form/ToggleSwitch.d.ts +1 -1
- package/types/components/Helper/index.d.ts +1 -1
- package/types/components/HorizontalList/index.d.ts +2 -2
- package/types/components/Icon/__generated__/AccountDetailsIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/AddPictureIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/AirConditioningIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/AirportIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/AndroidIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/AntiqueIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/ArrowLeftCircleFilledIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/ArrowLeftIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/ArrowRightCircleFilledIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/ArrowRightCircleIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/ArrowRightIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/AudioInputIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/BabySeatIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/BatteryIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/BellIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/BikeRackIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/BinIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/BluetoothIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/BriefcaseIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/BulbIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/CableIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/CabrioletIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/CalendarCheckIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/CalendarClockIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/CalendarEndIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/CalendarIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/CalendarStartIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/CameraAddIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/CameraIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/CampervanIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/CarAddIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/CarCheckIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/CarDamagesIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/CarDrivyOpenIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/CarGroupIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/CarIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/CarLockIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/CarPlayIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/CarReturnIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/CarSearchIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/CarTypeAntiqueIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/CarTypeCabrioletIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/CarTypeCampervanIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/CarTypeCityIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/CarTypeConvertibleIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/CarTypeCoupeIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/CarTypeFamilyIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/CarTypeFourFourIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/CarTypeMinibusIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/CarTypeSedanIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/CarTypeUtilityIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/CardIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/CdPlayerIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/CertificateIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/ChainsIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/CheckCircleFilledIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/CheckCircleIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/CheckIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/ChecklistIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/ChevronDownIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/ChevronLeftIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/ChevronRightIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/ChevronUpIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/CircledArrowRightIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/CityIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/CleaningIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/ClockAlertIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/ClockBackwardsIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/ClockForwardsIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/ClockIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/CloseCircleFilledIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/CloseIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/ConnectCarIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/ContactMailIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/ContactPhoneIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/ContextualPaperclipIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/ContextualQuestionIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/ContextualWarningCircleFilledIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/ContextualWarningCircleIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/ConvertibleIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/CopyIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/CoupeIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/CreditCardAddIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/CreditCardErrorIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/CreditCardIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/CruiseControlIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/DashcamIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/DirectionsIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/DocumentIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/DotHorizontalIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/DotVerticalIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/DotsHorizontalIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/DotsVerticalIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/DownloadIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/EarningIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/EarthIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/EditIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/ElectricIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/EvBatteryIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/EvCableIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/EvChargerIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/ExternalLinkIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/EyeClosedIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/EyeIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/EyeOpenedIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/FaceRecognitionIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/FacebookIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/FamilyIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/FileFilledIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/FilterIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/FiltersIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/FlagIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/FourByFourIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/FourWheelDriveIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/FuelTankIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/GeolocationIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/GiftIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/GpsIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/GraphUpIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/HealingIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/HeartIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/HitchIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/HomeIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/IdCardIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/IncidentIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/InfoCircleFilledIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/InfoCircleIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/InfoFilledIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/InfoIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/InstantIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/InvoiceIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/KeyConnectIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/KeyIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/LicenceCheckIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/LicenceIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/LicencePaperIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/LifeBuoyIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/LinkedinIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/LoadingIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/LocalityIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/LocationIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/LocationMapIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/LocationParkingIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/LocationPinIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/LockCheckIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/LockedIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/LoginIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/LogoutIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/MailCheckIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/MailIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/MapAltIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/MapIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/MeetDriverIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/MeetOwnerIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/MenuListIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/MessagesIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/MileageIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/MinibusIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/MinusCircleFilledIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/MinusIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/MiscGiftIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/NearbyDeviceIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/NotificationIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/Number1CircleIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/Number2CircleIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/Number3CircleIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/Number4CircleIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/Number5CircleIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/OkHandIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/OptionAirConditioningIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/OptionAndroidAutoIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/OptionAppleCarplayIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/OptionAudioInputIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/OptionBabySeatIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/OptionBikeRackIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/OptionBluetoothAudioIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/OptionCdPlayerIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/OptionChainsIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/OptionCruiseControlIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/OptionDashcamIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/OptionGpsIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/OptionHasTrailerIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/OptionHitchIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/OptionRoofBoxIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/OptionSkiRackIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/OptionSnowTireIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/OptionWheelchairAccessibleIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/PaperclipIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/ParkingIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/PassportIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/PaymentsIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/PencilIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/PeopleUserIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/PerformanceIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/PhoneIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/PhoneLinkIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/PhotosIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/PickupTruckIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/PigIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/PinIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/PlugIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/PlusCircleFilledIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/PlusIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/PositionIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/PricingFlatIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/PricingVariableIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/ProfilePictureIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/QuestionCircleFilledIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/QuestionCircleIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/QuestionIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/RaceFlagIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/RefreshIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/ReorderIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/ReplacementCarIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/ReplyIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/ResetIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/RideIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/RoofBoxIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/SealCheckIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/SearchCarIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/SearchIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/SearchPeopleIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/SedanIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/ServiceBatteryIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/ServiceCleaningIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/ServiceFuelIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/ServiceHealingIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/ServiceLockedIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/ServiceTollsIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/ServiceUnlockedIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/SettingsIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/ShareAndroidIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/ShareIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/ShareIosIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/ShieldCheckIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/ShieldIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/ShopIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/SkiRackIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/SliderIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/SmartphoneIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/SnowTireIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/SocialFacebookIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/SocialLinkedinIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/SocialTwitterIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/SocialWhatsappIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/StarHalfIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/StarIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/StarsIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/SubwayIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/SuitcaseIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/SupportIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/SuvIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/SynchIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/TagIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/TimeAlertIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/TimeBackwardsIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/TimeCalendarIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/TimeForwardIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/TollsIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/TrailerIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/TrainIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/TriangleDownIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/TriangleRightIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/TriangleUpIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/TwitterIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/TwoPeopleIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/UnfoldIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/UnlockedIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/UserCheckIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/UserIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/UserQuestionIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/UserShieldIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/UserSwitchIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/UtilityVanLargeIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/UtilityVanMediumIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/UtilityVanSmallIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/VerifiedSealIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/WalkIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/WalletIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/WarningCircleFilledIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/WarningCircleIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/WhatsappIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/WheelIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/WheelchairIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/WrenchIcon.d.ts +2 -2
- package/types/components/Icon/__generated__/YingyangIcon.d.ts +2 -2
- package/types/components/Icon/index.d.ts +4 -4
- package/types/components/Modal/ModalBody.d.ts +1 -1
- package/types/components/Modal/ModalFooter.d.ts +1 -1
- package/types/components/Modal/ModalHeader.d.ts +2 -2
- package/types/components/Note/index.d.ts +1 -1
- package/types/components/PhotoDropzone/index.d.ts +2 -2
- package/types/components/Pill/index.d.ts +2 -2
- package/types/components/Popover/LazyTippy.d.ts +2 -2
- package/types/components/Popover/index.d.ts +1 -1
- package/types/components/PriceTable/index.d.ts +3 -3
- package/types/components/ProgressBanner/index.d.ts +2 -2
- package/types/components/ProgressBar/index.d.ts +1 -1
- package/types/components/ProgressCircular/index.d.ts +1 -1
- package/types/components/Rating/RatingCompact.d.ts +2 -2
- package/types/components/Rating/RatingIcons.d.ts +4 -4
- package/types/components/Rating/RatingInput.d.ts +2 -2
- package/types/components/Rating/RatingLabel.d.ts +1 -1
- package/types/components/Rating/index.d.ts +1 -1
- package/types/components/TabBar/index.d.ts +2 -2
- package/types/components/Tabs/index.d.ts +1 -1
- package/types/components/Tag/index.d.ts +1 -1
- package/utilities.css +10265 -5479
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/components/Card/index.tsx"],"sourcesContent":["import React, { PureComponent } from \"react\"\nimport cx from \"classnames\"\n\nexport type CardProps = {\n children?: React.ReactNode\n className?: string\n legacy?: boolean\n // Not used anymore, to remove in the next release\n flattened?: boolean\n responsive?: boolean\n}\n\nexport const Card = ({\n children,\n className,\n legacy,\n responsive,\n}: CardProps) => (\n <div\n className={cx(\"cobalt-Card\", className, {\n \"cobalt-Card--legacy\": legacy,\n \"cobalt-Card--responsive\": responsive,\n })}\n >\n {children}\n </div>\n)\n\nexport type CardSectionProps = {\n children: React.ReactNode\n className?: string\n tabBar?: boolean\n tight?: boolean\n subdued?: boolean\n /**\n * true or \"soft\"\n * @default false\n */\n divided?: boolean | string\n}\n\nexport type CardSectionLinkProps = CardSectionProps & {\n href: React.AnchorHTMLAttributes<HTMLAnchorElement>[\"href\"]\n target?: React.AnchorHTMLAttributes<HTMLAnchorElement>[\"target\"]\n rel?: React.AnchorHTMLAttributes<HTMLAnchorElement>[\"rel\"]\n}\n\nconst getClasses = ({\n className = \"\",\n tabBar,\n tight,\n subdued,\n divided,\n}: CardSectionProps) => {\n return cx(className, \"cobalt-Card__Section\", {\n \"cobalt-Card__Section--tabBar\": tabBar === true,\n \"cobalt-Card__Section--tight\": tight === true,\n \"cobalt-Card__Section--subdued\": subdued === true,\n \"cobalt-Card__Section--divided\": divided === true,\n \"cobalt-Card__Section--dividedSoft\": divided === \"soft\",\n })\n}\n\nconst CardSectionLink = ({\n href,\n target,\n rel,\n ...baseProps\n}: CardSectionLinkProps) => {\n return (\n <a\n className={getClasses(baseProps)}\n href={href}\n target={target}\n rel={target && !rel ? \"noopener noreferrer\" : rel}\n >\n {baseProps.children}\n </a>\n )\n}\nCardSectionLink.displayName = \"CardSection.Link\"\n\nexport class CardSection extends PureComponent<CardSectionProps, never> {\n static Link = CardSectionLink\n render() {\n return <div className={getClasses(this.props)}>{this.props.children}</div>\n }\n}\n\nCard.Section = CardSection\n\nexport default Card\n"],"names":[],"mappings":";;;AAYa,MAAA,IAAI,GAAG,CAAC,EACnB,QAAQ,EACR,SAAS,EACT,MAAM,EACN,UAAU,GACA,MACV,KACE,CAAA,aAAA,CAAA,KAAA,EAAA,EAAA,SAAS,EAAE,EAAE,CAAC,aAAa,EAAE,SAAS,EAAE;AACtC,QAAA,qBAAqB,EAAE,MAAM;AAC7B,QAAA,yBAAyB,EAAE,UAAU;AACtC,KAAA,CAAC,EAED,EAAA,QAAQ,CACL,EACP;AAqBD,MAAM,UAAU,GAAG,CAAC,EAClB,SAAS,GAAG,EAAE,EACd,MAAM,EACN,KAAK,EACL,OAAO,EACP,OAAO,GACU,KAAI;AACrB,IAAA,OAAO,EAAE,CAAC,SAAS,EAAE,sBAAsB,EAAE;QAC3C,8BAA8B,EAAE,MAAM,KAAK,IAAI;QAC/C,6BAA6B,EAAE,KAAK,KAAK,IAAI;QAC7C,+BAA+B,EAAE,OAAO,KAAK,IAAI;QACjD,+BAA+B,EAAE,OAAO,KAAK,IAAI;QACjD,mCAAmC,EAAE,OAAO,KAAK,MAAM;AACxD,KAAA,CAAC,CAAA;AACJ,CAAC,CAAA;AAED,MAAM,eAAe,GAAG,CAAC,EACvB,IAAI,EACJ,MAAM,EACN,GAAG,EACH,GAAG,SAAS,EACS,KAAI;AACzB,IAAA,QACE,KACE,CAAA,aAAA,CAAA,GAAA,EAAA,EAAA,SAAS,EAAE,UAAU,CAAC,SAAS,CAAC,EAChC,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,MAAM,EACd,GAAG,EAAE,MAAM,IAAI,CAAC,GAAG,GAAG,qBAAqB,GAAG,GAAG,EAEhD,EAAA,SAAS,CAAC,QAAQ,CACjB,EACL;AACH,CAAC,CAAA;AACD,eAAe,CAAC,WAAW,GAAG,kBAAkB,CAAA;
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/components/Card/index.tsx"],"sourcesContent":["import React, { PureComponent } from \"react\"\nimport cx from \"classnames\"\n\nexport type CardProps = {\n children?: React.ReactNode\n className?: string\n legacy?: boolean\n // Not used anymore, to remove in the next release\n flattened?: boolean\n responsive?: boolean\n}\n\nexport const Card = ({\n children,\n className,\n legacy,\n responsive,\n}: CardProps) => (\n <div\n className={cx(\"cobalt-Card\", className, {\n \"cobalt-Card--legacy\": legacy,\n \"cobalt-Card--responsive\": responsive,\n })}\n >\n {children}\n </div>\n)\n\nexport type CardSectionProps = {\n children: React.ReactNode\n className?: string\n tabBar?: boolean\n tight?: boolean\n subdued?: boolean\n /**\n * true or \"soft\"\n * @default false\n */\n divided?: boolean | string\n}\n\nexport type CardSectionLinkProps = CardSectionProps & {\n href: React.AnchorHTMLAttributes<HTMLAnchorElement>[\"href\"]\n target?: React.AnchorHTMLAttributes<HTMLAnchorElement>[\"target\"]\n rel?: React.AnchorHTMLAttributes<HTMLAnchorElement>[\"rel\"]\n}\n\nconst getClasses = ({\n className = \"\",\n tabBar,\n tight,\n subdued,\n divided,\n}: CardSectionProps) => {\n return cx(className, \"cobalt-Card__Section\", {\n \"cobalt-Card__Section--tabBar\": tabBar === true,\n \"cobalt-Card__Section--tight\": tight === true,\n \"cobalt-Card__Section--subdued\": subdued === true,\n \"cobalt-Card__Section--divided\": divided === true,\n \"cobalt-Card__Section--dividedSoft\": divided === \"soft\",\n })\n}\n\nconst CardSectionLink = ({\n href,\n target,\n rel,\n ...baseProps\n}: CardSectionLinkProps) => {\n return (\n <a\n className={getClasses(baseProps)}\n href={href}\n target={target}\n rel={target && !rel ? \"noopener noreferrer\" : rel}\n >\n {baseProps.children}\n </a>\n )\n}\nCardSectionLink.displayName = \"CardSection.Link\"\n\nexport class CardSection extends PureComponent<CardSectionProps, never> {\n static Link = CardSectionLink\n render() {\n return <div className={getClasses(this.props)}>{this.props.children}</div>\n }\n}\n\nCard.Section = CardSection\n\nexport default Card\n"],"names":[],"mappings":";;;AAYa,MAAA,IAAI,GAAG,CAAC,EACnB,QAAQ,EACR,SAAS,EACT,MAAM,EACN,UAAU,GACA,MACV,KACE,CAAA,aAAA,CAAA,KAAA,EAAA,EAAA,SAAS,EAAE,EAAE,CAAC,aAAa,EAAE,SAAS,EAAE;AACtC,QAAA,qBAAqB,EAAE,MAAM;AAC7B,QAAA,yBAAyB,EAAE,UAAU;AACtC,KAAA,CAAC,EAED,EAAA,QAAQ,CACL,EACP;AAqBD,MAAM,UAAU,GAAG,CAAC,EAClB,SAAS,GAAG,EAAE,EACd,MAAM,EACN,KAAK,EACL,OAAO,EACP,OAAO,GACU,KAAI;AACrB,IAAA,OAAO,EAAE,CAAC,SAAS,EAAE,sBAAsB,EAAE;QAC3C,8BAA8B,EAAE,MAAM,KAAK,IAAI;QAC/C,6BAA6B,EAAE,KAAK,KAAK,IAAI;QAC7C,+BAA+B,EAAE,OAAO,KAAK,IAAI;QACjD,+BAA+B,EAAE,OAAO,KAAK,IAAI;QACjD,mCAAmC,EAAE,OAAO,KAAK,MAAM;AACxD,KAAA,CAAC,CAAA;AACJ,CAAC,CAAA;AAED,MAAM,eAAe,GAAG,CAAC,EACvB,IAAI,EACJ,MAAM,EACN,GAAG,EACH,GAAG,SAAS,EACS,KAAI;AACzB,IAAA,QACE,KACE,CAAA,aAAA,CAAA,GAAA,EAAA,EAAA,SAAS,EAAE,UAAU,CAAC,SAAS,CAAC,EAChC,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,MAAM,EACd,GAAG,EAAE,MAAM,IAAI,CAAC,GAAG,GAAG,qBAAqB,GAAG,GAAG,EAEhD,EAAA,SAAS,CAAC,QAAQ,CACjB,EACL;AACH,CAAC,CAAA;AACD,eAAe,CAAC,WAAW,GAAG,kBAAkB,CAAA;AAE1C,MAAO,WAAY,SAAQ,aAAsC,CAAA;IAErE,MAAM,GAAA;AACJ,QAAA,OAAO,6BAAK,SAAS,EAAE,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,EAAA,EAAG,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAO,CAAA;KAC3E;;AAHM,WAAI,CAAA,IAAA,GAAG,eAAe,CAAA;AAM/B,IAAI,CAAC,OAAO,GAAG,WAAW;;;;"}
|
|
@@ -44,7 +44,7 @@ arrow = false, placement = "bottom-start", theme = "", distance = 8, zIndex = zI
|
|
|
44
44
|
onShow();
|
|
45
45
|
};
|
|
46
46
|
const TippyComp = lazy ? LazyTippy : Tippy;
|
|
47
|
-
return isMobile ? (React.createElement(MobilePopover, { isOpen: isOpen, onDismiss: close, bodySpacing: bodySpacing, ariaLabel: ariaLabel, onShow: onShow, onHidden: onHidden }, children)) : (React.createElement(TippyComp, { content: bodySpacing ? (React.createElement("div", { className: "cobalt-popover--bodySpacing" }, children)) : (children), ...defaultTippyProps, visible: isOpen, reference: targetRef, theme: `${defaultTippyProps.theme} ${theme} ${arrow ? "cobalt-popover--withArrow" : ""}`, offset: [0, distance],
|
|
47
|
+
return isMobile ? (React.createElement(MobilePopover, { isOpen: isOpen, onDismiss: close, bodySpacing: bodySpacing, ariaLabel: ariaLabel, onShow: onShow, onHidden: onHidden }, children)) : (React.createElement(TippyComp, { content: bodySpacing ? (React.createElement("div", { className: "cobalt-popover--bodySpacing" }, children)) : (children), ...defaultTippyProps, visible: isOpen, reference: targetRef, theme: `${defaultTippyProps.theme} ${theme} ${arrow ? "cobalt-popover--withArrow" : ""}`, offset: [0, distance], arrow, placement, zIndex, onHidden: onTippyClose, onShow: onTippyOpen, onClickOutside: close }));
|
|
48
48
|
};
|
|
49
49
|
|
|
50
50
|
export { Popover as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/components/Popover/index.tsx"],"sourcesContent":["import React, { useEffect, useCallback } from \"react\"\nimport Tippy, { TippyProps } from \"@tippyjs/react\"\nimport { sticky } from \"tippy.js\"\n\nimport useBreakpoint from \"../../hooks/useBreakpoint\"\nimport Modal, { ModalPropsType } from \"../Modal\"\nimport LazyTippy from \"./LazyTippy\"\nimport { zIndexes } from \"../../tokens\"\n\nexport type PopoverPropsType = {\n children?: React.ReactNode\n isOpen: boolean\n close: () => void\n \"aria-label\"?: string\n bodySpacing?: boolean\n onShow?: () => void\n onHidden?: () => void\n // Desktop props\n targetRef: TippyProps[\"reference\"]\n arrow?: boolean\n placement?: TippyProps[\"placement\"]\n theme?: string\n distance?: number\n zIndex?: number\n /**\n * __Only for desktop popover__\n *\n * Allow to render the content only when the popover is mounted in the DOM\n * Useful to render async content in the popover\n */\n lazy?: boolean\n}\n\nconst ESC_KEY_CODE = 27\n\nconst defaultTippyProps: Omit<TippyProps, \"content\" | \"children\" | \"visible\"> =\n {\n animation: \"shift-away-subtle\",\n interactive: true,\n interactiveBorder: 10,\n delay: [0, 0],\n duration: [200, 150],\n maxWidth: 500,\n sticky: true,\n plugins: [sticky],\n theme: \"light cobalt-popover\",\n inertia: true,\n }\n\nconst MobilePopover = ({\n isOpen,\n children,\n ariaLabel = \"Popover mobile modal\",\n onDismiss,\n bodySpacing,\n onShow,\n onHidden,\n}: {\n children?: React.ReactNode\n ariaLabel?: ModalPropsType[\"aria-label\"]\n isOpen: ModalPropsType[\"isOpen\"]\n onDismiss?: () => void\n bodySpacing: ModalPropsType[\"bodySpacing\"]\n onShow: ModalPropsType[\"onShow\"]\n onHidden: ModalPropsType[\"onHidden\"]\n}) => {\n return (\n <Modal\n aria-label={ariaLabel}\n isOpen={isOpen}\n onDismissAttempt={onDismiss}\n bodySpacing={bodySpacing}\n onShow={onShow}\n onHidden={onHidden}\n >\n {children}\n </Modal>\n )\n}\n\nconst Popover = ({\n isOpen,\n targetRef,\n close,\n \"aria-label\": ariaLabel,\n children,\n bodySpacing = true,\n onShow,\n onHidden,\n // Desktop props\n arrow = false,\n placement = \"bottom-start\",\n theme = \"\",\n distance = 8,\n zIndex = zIndexes.dropdown,\n lazy,\n}: PopoverPropsType) => {\n const { breakpoint } = useBreakpoint()\n const isMobile = breakpoint === \"sm\" || breakpoint === \"xs\"\n\n const escListener = useCallback(\n (event: KeyboardEvent) => {\n if (event.keyCode === ESC_KEY_CODE && isOpen) close()\n },\n [isOpen, close]\n )\n\n useEffect(() => {\n window.addEventListener(\"keydown\", escListener)\n\n return () => window.removeEventListener(\"keydown\", escListener)\n }, [escListener])\n\n const onTippyClose = () => {\n if (onHidden) onHidden()\n }\n\n const onTippyOpen = () => {\n if (onShow) onShow()\n }\n\n const TippyComp = lazy ? LazyTippy : Tippy\n\n return isMobile ? (\n <MobilePopover\n isOpen={isOpen}\n onDismiss={close}\n bodySpacing={bodySpacing}\n ariaLabel={ariaLabel}\n onShow={onShow}\n onHidden={onHidden}\n >\n {children}\n </MobilePopover>\n ) : (\n <TippyComp\n content={\n bodySpacing ? (\n <div className=\"cobalt-popover--bodySpacing\">{children}</div>\n ) : (\n children\n )\n }\n {...defaultTippyProps}\n visible={isOpen}\n reference={targetRef}\n theme={`${defaultTippyProps.theme} ${theme} ${\n arrow ? \"cobalt-popover--withArrow\" : \"\"\n }`}\n offset={[0, distance]}\n {...{ arrow, placement, zIndex }}\n onHidden={onTippyClose}\n onShow={onTippyOpen}\n onClickOutside={close}\n />\n )\n}\n\nexport default Popover\n"],"names":[],"mappings":";;;;;;;;AAiCA,MAAM,YAAY,GAAG,EAAE,CAAA;AAEvB,MAAM,iBAAiB,GACrB;AACE,IAAA,SAAS,EAAE,mBAAmB;AAC9B,IAAA,WAAW,EAAE,IAAI;AACjB,IAAA,iBAAiB,EAAE,EAAE;AACrB,IAAA,KAAK,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC;AACb,IAAA,QAAQ,EAAE,CAAC,GAAG,EAAE,GAAG,CAAC;AACpB,IAAA,QAAQ,EAAE,GAAG;AACb,IAAA,MAAM,EAAE,IAAI;IACZ,OAAO,EAAE,CAAC,MAAM,CAAC;AACjB,IAAA,KAAK,EAAE,sBAAsB;AAC7B,IAAA,OAAO,EAAE,IAAI;CACd,CAAA;AAEH,MAAM,aAAa,GAAG,CAAC,EACrB,MAAM,EACN,QAAQ,EACR,SAAS,GAAG,sBAAsB,EAClC,SAAS,EACT,WAAW,EACX,MAAM,EACN,QAAQ,GAST,KAAI;AACH,IAAA,QACE,KAAA,CAAA,aAAA,CAAC,KAAK,EAAA,EAAA,YAAA,EACQ,SAAS,EACrB,MAAM,EAAE,MAAM,EACd,gBAAgB,EAAE,SAAS,EAC3B,WAAW,EAAE,WAAW,EACxB,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,QAAQ,EAAA,EAEjB,QAAQ,CACH,EACT;AACH,CAAC,CAAA;AAEK,MAAA,OAAO,GAAG,CAAC,EACf,MAAM,EACN,SAAS,EACT,KAAK,EACL,YAAY,EAAE,SAAS,EACvB,QAAQ,EACR,WAAW,GAAG,IAAI,EAClB,MAAM,EACN,QAAQ;AACR;AACA,KAAK,GAAG,KAAK,EACb,SAAS,GAAG,cAAc,EAC1B,KAAK,GAAG,EAAE,EACV,QAAQ,GAAG,CAAC,EACZ,MAAM,GAAG,QAAQ,CAAC,QAAQ,EAC1B,IAAI,GACa,KAAI;AACrB,IAAA,MAAM,EAAE,UAAU,EAAE,GAAG,aAAa,EAAE,CAAA;IACtC,MAAM,QAAQ,GAAG,UAAU,KAAK,IAAI,IAAI,UAAU,KAAK,IAAI,CAAA;AAE3D,IAAA,MAAM,WAAW,GAAG,WAAW,CAC7B,CAAC,KAAoB,KAAI;AACvB,QAAA,IAAI,KAAK,CAAC,OAAO,KAAK,YAAY,IAAI,MAAM;AAAE,YAAA,KAAK,EAAE,CAAA;AACvD,KAAC,EACD,CAAC,MAAM,EAAE,KAAK,CAAC,CAChB,CAAA;IAED,SAAS,CAAC,MAAK;AACb,QAAA,MAAM,CAAC,gBAAgB,CAAC,SAAS,EAAE,WAAW,CAAC,CAAA;QAE/C,OAAO,MAAM,MAAM,CAAC,mBAAmB,CAAC,SAAS,EAAE,WAAW,CAAC,CAAA;AACjE,KAAC,EAAE,CAAC,WAAW,CAAC,CAAC,CAAA;IAEjB,MAAM,YAAY,GAAG,MAAK;AACxB,QAAA,IAAI,QAAQ;AAAE,YAAA,QAAQ,EAAE,CAAA;AAC1B,KAAC,CAAA;IAED,MAAM,WAAW,GAAG,MAAK;AACvB,QAAA,IAAI,MAAM;AAAE,YAAA,MAAM,EAAE,CAAA;AACtB,KAAC,CAAA;IAED,MAAM,SAAS,GAAG,IAAI,GAAG,SAAS,GAAG,KAAK,CAAA;IAE1C,OAAO,QAAQ,IACb,KAAC,CAAA,aAAA,CAAA,aAAa,EACZ,EAAA,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,KAAK,EAChB,WAAW,EAAE,WAAW,EACxB,SAAS,EAAE,SAAS,EACpB,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,QAAQ,EAEjB,
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/components/Popover/index.tsx"],"sourcesContent":["import React, { useEffect, useCallback } from \"react\"\nimport Tippy, { TippyProps } from \"@tippyjs/react\"\nimport { sticky } from \"tippy.js\"\n\nimport useBreakpoint from \"../../hooks/useBreakpoint\"\nimport Modal, { ModalPropsType } from \"../Modal\"\nimport LazyTippy from \"./LazyTippy\"\nimport { zIndexes } from \"../../tokens\"\n\nexport type PopoverPropsType = {\n children?: React.ReactNode\n isOpen: boolean\n close: () => void\n \"aria-label\"?: string\n bodySpacing?: boolean\n onShow?: () => void\n onHidden?: () => void\n // Desktop props\n targetRef: TippyProps[\"reference\"]\n arrow?: boolean\n placement?: TippyProps[\"placement\"]\n theme?: string\n distance?: number\n zIndex?: number\n /**\n * __Only for desktop popover__\n *\n * Allow to render the content only when the popover is mounted in the DOM\n * Useful to render async content in the popover\n */\n lazy?: boolean\n}\n\nconst ESC_KEY_CODE = 27\n\nconst defaultTippyProps: Omit<TippyProps, \"content\" | \"children\" | \"visible\"> =\n {\n animation: \"shift-away-subtle\",\n interactive: true,\n interactiveBorder: 10,\n delay: [0, 0],\n duration: [200, 150],\n maxWidth: 500,\n sticky: true,\n plugins: [sticky],\n theme: \"light cobalt-popover\",\n inertia: true,\n }\n\nconst MobilePopover = ({\n isOpen,\n children,\n ariaLabel = \"Popover mobile modal\",\n onDismiss,\n bodySpacing,\n onShow,\n onHidden,\n}: {\n children?: React.ReactNode\n ariaLabel?: ModalPropsType[\"aria-label\"]\n isOpen: ModalPropsType[\"isOpen\"]\n onDismiss?: () => void\n bodySpacing: ModalPropsType[\"bodySpacing\"]\n onShow: ModalPropsType[\"onShow\"]\n onHidden: ModalPropsType[\"onHidden\"]\n}) => {\n return (\n <Modal\n aria-label={ariaLabel}\n isOpen={isOpen}\n onDismissAttempt={onDismiss}\n bodySpacing={bodySpacing}\n onShow={onShow}\n onHidden={onHidden}\n >\n {children}\n </Modal>\n )\n}\n\nconst Popover = ({\n isOpen,\n targetRef,\n close,\n \"aria-label\": ariaLabel,\n children,\n bodySpacing = true,\n onShow,\n onHidden,\n // Desktop props\n arrow = false,\n placement = \"bottom-start\",\n theme = \"\",\n distance = 8,\n zIndex = zIndexes.dropdown,\n lazy,\n}: PopoverPropsType) => {\n const { breakpoint } = useBreakpoint()\n const isMobile = breakpoint === \"sm\" || breakpoint === \"xs\"\n\n const escListener = useCallback(\n (event: KeyboardEvent) => {\n if (event.keyCode === ESC_KEY_CODE && isOpen) close()\n },\n [isOpen, close]\n )\n\n useEffect(() => {\n window.addEventListener(\"keydown\", escListener)\n\n return () => window.removeEventListener(\"keydown\", escListener)\n }, [escListener])\n\n const onTippyClose = () => {\n if (onHidden) onHidden()\n }\n\n const onTippyOpen = () => {\n if (onShow) onShow()\n }\n\n const TippyComp = lazy ? LazyTippy : Tippy\n\n return isMobile ? (\n <MobilePopover\n isOpen={isOpen}\n onDismiss={close}\n bodySpacing={bodySpacing}\n ariaLabel={ariaLabel}\n onShow={onShow}\n onHidden={onHidden}\n >\n {children}\n </MobilePopover>\n ) : (\n <TippyComp\n content={\n bodySpacing ? (\n <div className=\"cobalt-popover--bodySpacing\">{children}</div>\n ) : (\n children\n )\n }\n {...defaultTippyProps}\n visible={isOpen}\n reference={targetRef}\n theme={`${defaultTippyProps.theme} ${theme} ${\n arrow ? \"cobalt-popover--withArrow\" : \"\"\n }`}\n offset={[0, distance]}\n {...{ arrow, placement, zIndex }}\n onHidden={onTippyClose}\n onShow={onTippyOpen}\n onClickOutside={close}\n />\n )\n}\n\nexport default Popover\n"],"names":[],"mappings":";;;;;;;;AAiCA,MAAM,YAAY,GAAG,EAAE,CAAA;AAEvB,MAAM,iBAAiB,GACrB;AACE,IAAA,SAAS,EAAE,mBAAmB;AAC9B,IAAA,WAAW,EAAE,IAAI;AACjB,IAAA,iBAAiB,EAAE,EAAE;AACrB,IAAA,KAAK,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC;AACb,IAAA,QAAQ,EAAE,CAAC,GAAG,EAAE,GAAG,CAAC;AACpB,IAAA,QAAQ,EAAE,GAAG;AACb,IAAA,MAAM,EAAE,IAAI;IACZ,OAAO,EAAE,CAAC,MAAM,CAAC;AACjB,IAAA,KAAK,EAAE,sBAAsB;AAC7B,IAAA,OAAO,EAAE,IAAI;CACd,CAAA;AAEH,MAAM,aAAa,GAAG,CAAC,EACrB,MAAM,EACN,QAAQ,EACR,SAAS,GAAG,sBAAsB,EAClC,SAAS,EACT,WAAW,EACX,MAAM,EACN,QAAQ,GAST,KAAI;AACH,IAAA,QACE,KAAA,CAAA,aAAA,CAAC,KAAK,EAAA,EAAA,YAAA,EACQ,SAAS,EACrB,MAAM,EAAE,MAAM,EACd,gBAAgB,EAAE,SAAS,EAC3B,WAAW,EAAE,WAAW,EACxB,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,QAAQ,EAAA,EAEjB,QAAQ,CACH,EACT;AACH,CAAC,CAAA;AAEK,MAAA,OAAO,GAAG,CAAC,EACf,MAAM,EACN,SAAS,EACT,KAAK,EACL,YAAY,EAAE,SAAS,EACvB,QAAQ,EACR,WAAW,GAAG,IAAI,EAClB,MAAM,EACN,QAAQ;AACR;AACA,KAAK,GAAG,KAAK,EACb,SAAS,GAAG,cAAc,EAC1B,KAAK,GAAG,EAAE,EACV,QAAQ,GAAG,CAAC,EACZ,MAAM,GAAG,QAAQ,CAAC,QAAQ,EAC1B,IAAI,GACa,KAAI;AACrB,IAAA,MAAM,EAAE,UAAU,EAAE,GAAG,aAAa,EAAE,CAAA;IACtC,MAAM,QAAQ,GAAG,UAAU,KAAK,IAAI,IAAI,UAAU,KAAK,IAAI,CAAA;AAE3D,IAAA,MAAM,WAAW,GAAG,WAAW,CAC7B,CAAC,KAAoB,KAAI;AACvB,QAAA,IAAI,KAAK,CAAC,OAAO,KAAK,YAAY,IAAI,MAAM;AAAE,YAAA,KAAK,EAAE,CAAA;AACvD,KAAC,EACD,CAAC,MAAM,EAAE,KAAK,CAAC,CAChB,CAAA;IAED,SAAS,CAAC,MAAK;AACb,QAAA,MAAM,CAAC,gBAAgB,CAAC,SAAS,EAAE,WAAW,CAAC,CAAA;QAE/C,OAAO,MAAM,MAAM,CAAC,mBAAmB,CAAC,SAAS,EAAE,WAAW,CAAC,CAAA;AACjE,KAAC,EAAE,CAAC,WAAW,CAAC,CAAC,CAAA;IAEjB,MAAM,YAAY,GAAG,MAAK;AACxB,QAAA,IAAI,QAAQ;AAAE,YAAA,QAAQ,EAAE,CAAA;AAC1B,KAAC,CAAA;IAED,MAAM,WAAW,GAAG,MAAK;AACvB,QAAA,IAAI,MAAM;AAAE,YAAA,MAAM,EAAE,CAAA;AACtB,KAAC,CAAA;IAED,MAAM,SAAS,GAAG,IAAI,GAAG,SAAS,GAAG,KAAK,CAAA;IAE1C,OAAO,QAAQ,IACb,KAAC,CAAA,aAAA,CAAA,aAAa,EACZ,EAAA,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,KAAK,EAChB,WAAW,EAAE,WAAW,EACxB,SAAS,EAAE,SAAS,EACpB,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,QAAQ,EAAA,EAEjB,QAAQ,CACK,KAEhB,KAAA,CAAA,aAAA,CAAC,SAAS,EAAA,EACR,OAAO,EACL,WAAW,IACT,KAAA,CAAA,aAAA,CAAA,KAAA,EAAA,EAAK,SAAS,EAAC,6BAA6B,EAAA,EAAE,QAAQ,CAAO,KAE7D,QAAQ,CACT,EAEC,GAAA,iBAAiB,EACrB,OAAO,EAAE,MAAM,EACf,SAAS,EAAE,SAAS,EACpB,KAAK,EAAE,CAAA,EAAG,iBAAiB,CAAC,KAAK,CAAA,CAAA,EAAI,KAAK,CAAA,CAAA,EACxC,KAAK,GAAG,2BAA2B,GAAG,EACxC,CAAA,CAAE,EACF,MAAM,EAAE,CAAC,CAAC,EAAE,QAAQ,CAAC,EACf,KAAK,EAAE,SAAS,EAAE,MAAM,EAC9B,QAAQ,EAAE,YAAY,EACtB,MAAM,EAAE,WAAW,EACnB,cAAc,EAAE,KAAK,EACrB,CAAA,CACH,CAAA;AACH;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@drivy/cobalt",
|
|
3
|
-
"version": "0.34.
|
|
3
|
+
"version": "0.34.3",
|
|
4
4
|
"description": "Opinionated design system for Drivy's projects.",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"types": "types/index.d.ts",
|
|
@@ -8,6 +8,9 @@
|
|
|
8
8
|
"*.css",
|
|
9
9
|
"*.scss"
|
|
10
10
|
],
|
|
11
|
+
"engines": {
|
|
12
|
+
"node": "^18.15.0"
|
|
13
|
+
},
|
|
11
14
|
"module": "src/index.js",
|
|
12
15
|
"license": "MIT",
|
|
13
16
|
"author": {
|
|
@@ -32,7 +35,7 @@
|
|
|
32
35
|
"lodash.throttle": "4.1.1",
|
|
33
36
|
"media-typer": "1.1.0",
|
|
34
37
|
"nanoid": "4.0.2",
|
|
35
|
-
"postcss": "8.4.
|
|
38
|
+
"postcss": "8.4.24",
|
|
36
39
|
"tailwindcss": "2.2.19",
|
|
37
40
|
"tippy.js": "6.3.7"
|
|
38
41
|
},
|
|
@@ -41,14 +44,14 @@
|
|
|
41
44
|
"react-dom": "^18.2.0"
|
|
42
45
|
},
|
|
43
46
|
"devDependencies": {
|
|
44
|
-
"@getaround-eu/babel-preset-app": "1.
|
|
45
|
-
"@getaround-eu/eslint-config": "2.0.
|
|
47
|
+
"@getaround-eu/babel-preset-app": "1.4.2",
|
|
48
|
+
"@getaround-eu/eslint-config": "2.0.4",
|
|
46
49
|
"@getaround-eu/prettier-config": "1.2.0",
|
|
47
50
|
"@getaround-eu/stylelint-config": "2.0.1",
|
|
48
51
|
"@getaround-eu/ts-config": "2.2.0",
|
|
49
52
|
"@percy/storybook": "3.3.1",
|
|
50
53
|
"@rollup/plugin-json": "6.0.0",
|
|
51
|
-
"@rushstack/eslint-patch": "1.
|
|
54
|
+
"@rushstack/eslint-patch": "1.3.0",
|
|
52
55
|
"@storybook/addon-essentials": "6.5.16",
|
|
53
56
|
"@storybook/addons": "6.5.16",
|
|
54
57
|
"@storybook/builder-webpack5": "6.5.16",
|
|
@@ -59,22 +62,22 @@
|
|
|
59
62
|
"@testing-library/react": "14.0.0",
|
|
60
63
|
"@testing-library/react-hooks": "8.0.1",
|
|
61
64
|
"@types/classnames": "2.3.1",
|
|
62
|
-
"@types/jest": "29.5.
|
|
65
|
+
"@types/jest": "29.5.2",
|
|
63
66
|
"@types/lodash.throttle": "4.1.7",
|
|
64
67
|
"@types/media-typer": "1.1.1",
|
|
65
|
-
"@types/react": "18.2.
|
|
68
|
+
"@types/react": "18.2.8",
|
|
66
69
|
"@whitespace/storybook-addon-html": "^5.1.4",
|
|
67
70
|
"autoprefixer": "10.4.14",
|
|
68
71
|
"core-js": "3.30.2",
|
|
69
|
-
"css-loader": "6.
|
|
70
|
-
"eslint": "8.
|
|
72
|
+
"css-loader": "6.8.1",
|
|
73
|
+
"eslint": "8.42.0",
|
|
71
74
|
"file-loader": "6.2.0",
|
|
72
75
|
"jest": "29.5.0",
|
|
73
76
|
"jest-environment-jsdom": "29.5.0",
|
|
74
77
|
"nested-object-access": "^0.2.5",
|
|
75
|
-
"np": "
|
|
78
|
+
"np": "8.0.2",
|
|
76
79
|
"postcss-flexbugs-fixes": "5.0.2",
|
|
77
|
-
"postcss-loader": "7.3.
|
|
80
|
+
"postcss-loader": "7.3.2",
|
|
78
81
|
"prettier": "2.8.8",
|
|
79
82
|
"raw-loader": "4.0.2",
|
|
80
83
|
"react": "18.2.0",
|
|
@@ -88,16 +91,16 @@
|
|
|
88
91
|
"rollup-plugin-svgo": "2.0.0",
|
|
89
92
|
"rollup-plugin-typescript2": "0.34.1",
|
|
90
93
|
"sass": "1.62.1",
|
|
91
|
-
"sass-loader": "13.
|
|
94
|
+
"sass-loader": "13.3.1",
|
|
92
95
|
"sharp": "0.32.1",
|
|
93
96
|
"sharp-cli": "4.1.1",
|
|
94
|
-
"style-loader": "3.3.
|
|
95
|
-
"stylelint": "15.
|
|
97
|
+
"style-loader": "3.3.3",
|
|
98
|
+
"stylelint": "15.7.0",
|
|
96
99
|
"svg2vectordrawable": "2.9.1",
|
|
97
100
|
"svgo": "3.0.2",
|
|
98
101
|
"ts-jest": "29.1.0",
|
|
99
102
|
"ts-node": "10.9.1",
|
|
100
|
-
"typescript": "5.
|
|
103
|
+
"typescript": "5.1.3"
|
|
101
104
|
},
|
|
102
105
|
"scripts": {
|
|
103
106
|
"build": "./scripts/build.sh",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
2
|
type ToggleIconPropsType = {
|
|
3
3
|
isOpen: boolean;
|
|
4
4
|
};
|
|
5
|
-
declare const ToggleIcon: ({ isOpen }: ToggleIconPropsType) => JSX.Element;
|
|
5
|
+
declare const ToggleIcon: ({ isOpen }: ToggleIconPropsType) => React.JSX.Element;
|
|
6
6
|
export default ToggleIcon;
|
|
@@ -46,11 +46,11 @@ export declare const AccordionItemHeader: React.ForwardRefExoticComponent<{
|
|
|
46
46
|
leftToggleIcon?: boolean | undefined;
|
|
47
47
|
} & ReachAccordionButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
48
48
|
export declare const AccordionItemPanel: {
|
|
49
|
-
({ children, className, ...props }: AccordionItemPanelPropsType): JSX.Element;
|
|
49
|
+
({ children, className, ...props }: AccordionItemPanelPropsType): React.JSX.Element;
|
|
50
50
|
displayName: string;
|
|
51
51
|
};
|
|
52
52
|
export declare const AccordionItem: {
|
|
53
|
-
({ children, className, ...props }: AccordionItemPropsType): JSX.Element;
|
|
53
|
+
({ children, className, ...props }: AccordionItemPropsType): React.JSX.Element;
|
|
54
54
|
displayName: string;
|
|
55
55
|
Header: React.ForwardRefExoticComponent<{
|
|
56
56
|
/**
|
|
@@ -64,14 +64,14 @@ export declare const AccordionItem: {
|
|
|
64
64
|
leftToggleIcon?: boolean | undefined;
|
|
65
65
|
} & ReachAccordionButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
66
66
|
Panel: {
|
|
67
|
-
({ children, className, ...props }: AccordionItemPanelPropsType): JSX.Element;
|
|
67
|
+
({ children, className, ...props }: AccordionItemPanelPropsType): React.JSX.Element;
|
|
68
68
|
displayName: string;
|
|
69
69
|
};
|
|
70
70
|
};
|
|
71
71
|
declare const Accordion: {
|
|
72
|
-
({ className, children, index, collapsible, multiple, ...props }: AccordionPropsType): JSX.Element;
|
|
72
|
+
({ className, children, index, collapsible, multiple, ...props }: AccordionPropsType): React.JSX.Element;
|
|
73
73
|
Item: {
|
|
74
|
-
({ children, className, ...props }: AccordionItemPropsType): JSX.Element;
|
|
74
|
+
({ children, className, ...props }: AccordionItemPropsType): React.JSX.Element;
|
|
75
75
|
displayName: string;
|
|
76
76
|
Header: React.ForwardRefExoticComponent<{
|
|
77
77
|
/**
|
|
@@ -85,7 +85,7 @@ declare const Accordion: {
|
|
|
85
85
|
leftToggleIcon?: boolean | undefined;
|
|
86
86
|
} & ReachAccordionButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
87
87
|
Panel: {
|
|
88
|
-
({ children, className, ...props }: AccordionItemPanelPropsType): JSX.Element;
|
|
88
|
+
({ children, className, ...props }: AccordionItemPanelPropsType): React.JSX.Element;
|
|
89
89
|
displayName: string;
|
|
90
90
|
};
|
|
91
91
|
};
|
|
@@ -9,4 +9,4 @@ export interface BasicCellProps {
|
|
|
9
9
|
rightAddonIcon?: React.ReactNode;
|
|
10
10
|
large?: boolean;
|
|
11
11
|
}
|
|
12
|
-
export declare const BasicCell: ({ leftAddonIcon, leftAddonThumbUrl, leftAddonThumbAlt, leftAddonThumbSquare, title, children, rightAddonIcon, large, }: BasicCellProps) => JSX.Element;
|
|
12
|
+
export declare const BasicCell: ({ leftAddonIcon, leftAddonThumbUrl, leftAddonThumbAlt, leftAddonThumbSquare, title, children, rightAddonIcon, large, }: BasicCellProps) => React.JSX.Element;
|
|
@@ -4,10 +4,10 @@ interface BulletListProps {
|
|
|
4
4
|
children: React.ReactNode;
|
|
5
5
|
iconPosition?: "top" | "centered";
|
|
6
6
|
}
|
|
7
|
-
export declare const BulletList: ({ children, iconPosition, }: BulletListProps) => JSX.Element;
|
|
7
|
+
export declare const BulletList: ({ children, iconPosition, }: BulletListProps) => React.JSX.Element;
|
|
8
8
|
interface BulletListItemProps {
|
|
9
9
|
children: React.ReactNode;
|
|
10
10
|
icon: ReturnType<typeof Icon>;
|
|
11
11
|
}
|
|
12
|
-
export declare const BulletListItem: ({ children, icon }: BulletListItemProps) => JSX.Element;
|
|
12
|
+
export declare const BulletListItem: ({ children, icon }: BulletListItemProps) => React.JSX.Element;
|
|
13
13
|
export {};
|
|
@@ -4,5 +4,5 @@ export interface ButtonsGroupProps {
|
|
|
4
4
|
children: React.ReactNode;
|
|
5
5
|
align?: "fullWidth" | "right" | "center";
|
|
6
6
|
}
|
|
7
|
-
declare const ButtonsGroup: ({ className, children, align }: ButtonsGroupProps) => JSX.Element;
|
|
7
|
+
declare const ButtonsGroup: ({ className, children, align }: ButtonsGroupProps) => React.JSX.Element;
|
|
8
8
|
export default ButtonsGroup;
|
|
@@ -12,5 +12,5 @@ export type ButtonCommonPropsType = {
|
|
|
12
12
|
icon?: IconSources;
|
|
13
13
|
};
|
|
14
14
|
export type ButtonTemplatePropsType<SpecificButtonProps> = SpecificButtonProps & ButtonCommonPropsType;
|
|
15
|
-
export declare const getButtonContent: ({ children, icon, iconPosition, }: Pick<ButtonCommonPropsType, "children" | "icon" | "iconPosition">) => JSX.Element;
|
|
15
|
+
export declare const getButtonContent: ({ children, icon, iconPosition, }: Pick<ButtonCommonPropsType, "children" | "icon" | "iconPosition">) => React.JSX.Element;
|
|
16
16
|
export declare const getButtonCommonClassNames: ({ rounded, size, fullWidth, className, disabled, }: Pick<ButtonCommonPropsType, "rounded" | "size" | "fullWidth" | "className" | "disabled">) => string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
2
|
import { FormElementStatus } from "../../Form/form";
|
|
3
3
|
type Props = {
|
|
4
4
|
numberOfMonths?: number;
|
|
@@ -19,5 +19,5 @@ type Props = {
|
|
|
19
19
|
onSelectDate?: (date: Date, isOutOfRange: boolean) => void;
|
|
20
20
|
locale?: Record<string, unknown>;
|
|
21
21
|
};
|
|
22
|
-
export declare function CalendarRangePicker({ rangeLimit, firstMonthDate, numberOfMonths, hint, firstAvailableDate, lastAvailableDate, isEditingStartDate, isEditingEndDate, startDate, endDate, onChangeDate, onLeaveDate, onSelectDate, locale, }: Props): JSX.Element;
|
|
22
|
+
export declare function CalendarRangePicker({ rangeLimit, firstMonthDate, numberOfMonths, hint, firstAvailableDate, lastAvailableDate, isEditingStartDate, isEditingEndDate, startDate, endDate, onChangeDate, onLeaveDate, onSelectDate, locale, }: Props): React.JSX.Element;
|
|
23
23
|
export {};
|
|
@@ -17,6 +17,6 @@ type Props = {
|
|
|
17
17
|
onMouseEnter: (date: Date, disabled: boolean) => void;
|
|
18
18
|
onMouseLeave?: (date: Date) => void;
|
|
19
19
|
};
|
|
20
|
-
declare function CalendarRangePickerDay({ date, isToday, isFirstDayOfMonth, isLastDayOfMonth, isStartDay, isEndDay, isRange, selected, subdued, disabled, invalid, onSelect, onMouseEnter, onMouseLeave, }: Props): JSX.Element;
|
|
20
|
+
declare function CalendarRangePickerDay({ date, isToday, isFirstDayOfMonth, isLastDayOfMonth, isStartDay, isEndDay, isRange, selected, subdued, disabled, invalid, onSelect, onMouseEnter, onMouseLeave, }: Props): React.JSX.Element;
|
|
21
21
|
declare const MemoizedComponent: React.MemoExoticComponent<typeof CalendarRangePickerDay>;
|
|
22
22
|
export { MemoizedComponent as CalendarRangePickerDay };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
2
|
type Props = {
|
|
3
3
|
date: Date;
|
|
4
4
|
startDate?: Date;
|
|
@@ -13,5 +13,5 @@ type Props = {
|
|
|
13
13
|
lastAvailableDate?: Date;
|
|
14
14
|
locale: any;
|
|
15
15
|
};
|
|
16
|
-
export declare function CalendarRangePickerMonth({ date, onSelectDate, onChangeDate, onLeaveDate, startDate, endDate, isEditingStartDate, isEditingEndDate, rangeLimit, firstAvailableDate, lastAvailableDate, locale, }: Props): JSX.Element;
|
|
16
|
+
export declare function CalendarRangePickerMonth({ date, onSelectDate, onChangeDate, onLeaveDate, startDate, endDate, isEditingStartDate, isEditingEndDate, rangeLimit, firstAvailableDate, lastAvailableDate, locale, }: Props): React.JSX.Element;
|
|
17
17
|
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
2
|
import { MonthType } from "./types";
|
|
3
3
|
type Props = MonthType;
|
|
4
4
|
declare const CalendarViewMonth: {
|
|
5
|
-
({ monthName, monthStart, statusByDate, }: Props): JSX.Element;
|
|
5
|
+
({ monthName, monthStart, statusByDate, }: Props): React.JSX.Element;
|
|
6
6
|
displayName: string;
|
|
7
7
|
};
|
|
8
8
|
export default CalendarViewMonth;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
2
|
import { MonthType } from "./types";
|
|
3
3
|
type Props = {
|
|
4
4
|
months: MonthType[];
|
|
5
5
|
};
|
|
6
6
|
declare const CalendarView: {
|
|
7
|
-
({ months }: Props): JSX.Element;
|
|
7
|
+
({ months }: Props): React.JSX.Element;
|
|
8
8
|
displayName: string;
|
|
9
9
|
};
|
|
10
10
|
export { CalendarView };
|
|
@@ -5,5 +5,5 @@ export interface CalloutProps {
|
|
|
5
5
|
status: "info" | "error" | "success";
|
|
6
6
|
close?: () => void;
|
|
7
7
|
}
|
|
8
|
-
export declare const Callout: ({ title, children, status, close, }: CalloutProps) => JSX.Element;
|
|
8
|
+
export declare const Callout: ({ title, children, status, close, }: CalloutProps) => React.JSX.Element;
|
|
9
9
|
export default Callout;
|
|
@@ -7,7 +7,7 @@ export type CardProps = {
|
|
|
7
7
|
responsive?: boolean;
|
|
8
8
|
};
|
|
9
9
|
export declare const Card: {
|
|
10
|
-
({ children, className, legacy, responsive, }: CardProps): JSX.Element;
|
|
10
|
+
({ children, className, legacy, responsive, }: CardProps): React.JSX.Element;
|
|
11
11
|
Section: typeof CardSection;
|
|
12
12
|
};
|
|
13
13
|
export type CardSectionProps = {
|
|
@@ -29,9 +29,9 @@ export type CardSectionLinkProps = CardSectionProps & {
|
|
|
29
29
|
};
|
|
30
30
|
export declare class CardSection extends PureComponent<CardSectionProps, never> {
|
|
31
31
|
static Link: {
|
|
32
|
-
({ href, target, rel, ...baseProps }: CardSectionLinkProps): JSX.Element;
|
|
32
|
+
({ href, target, rel, ...baseProps }: CardSectionLinkProps): React.JSX.Element;
|
|
33
33
|
displayName: string;
|
|
34
34
|
};
|
|
35
|
-
render(): JSX.Element;
|
|
35
|
+
render(): React.JSX.Element;
|
|
36
36
|
}
|
|
37
37
|
export default Card;
|
|
@@ -13,4 +13,4 @@ export interface ChipWrapperProps {
|
|
|
13
13
|
disabled?: boolean;
|
|
14
14
|
className: string;
|
|
15
15
|
}
|
|
16
|
-
export declare const Chip: ({ onClick, text, image, size, disabled, active, }: ChipProps) => JSX.Element;
|
|
16
|
+
export declare const Chip: ({ onClick, text, image, size, disabled, active, }: ChipProps) => React.JSX.Element;
|
|
@@ -7,4 +7,4 @@ export interface EmptyStateProps {
|
|
|
7
7
|
secondaryAction?: typeof DefaultButton;
|
|
8
8
|
image: string;
|
|
9
9
|
}
|
|
10
|
-
export declare const EmptyState: ({ title, children, action, secondaryAction, image, }: EmptyStateProps) => JSX.Element;
|
|
10
|
+
export declare const EmptyState: ({ title, children, action, secondaryAction, image, }: EmptyStateProps) => React.JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
2
|
interface FlagsMap {
|
|
3
3
|
[name: string]: string;
|
|
4
4
|
}
|
|
@@ -11,5 +11,5 @@ export interface FlagProps {
|
|
|
11
11
|
*/
|
|
12
12
|
size?: 16 | 20 | 24 | 32;
|
|
13
13
|
}
|
|
14
|
-
export declare const Flag: ({ country, size }: FlagProps) => JSX.Element;
|
|
14
|
+
export declare const Flag: ({ country, size }: FlagProps) => React.JSX.Element;
|
|
15
15
|
export {};
|
|
@@ -10,11 +10,11 @@ type Props = {
|
|
|
10
10
|
name: string;
|
|
11
11
|
} & FormElement & React.InputHTMLAttributes<HTMLInputElement>;
|
|
12
12
|
export declare const CheckboxPill: {
|
|
13
|
-
({ ...props }: Props): JSX.Element;
|
|
13
|
+
({ ...props }: Props): React.JSX.Element;
|
|
14
14
|
displayName: string;
|
|
15
15
|
};
|
|
16
16
|
export declare const RadioPill: {
|
|
17
|
-
({ ...props }: Props): JSX.Element;
|
|
17
|
+
({ ...props }: Props): React.JSX.Element;
|
|
18
18
|
displayName: string;
|
|
19
19
|
};
|
|
20
20
|
interface CheckablePillsGroupProps {
|
|
@@ -6,11 +6,11 @@ type Props = {
|
|
|
6
6
|
hint?: string;
|
|
7
7
|
} & FormElement & React.InputHTMLAttributes<HTMLInputElement>;
|
|
8
8
|
export declare const Checkbox: {
|
|
9
|
-
({ label, ...props }: Props): JSX.Element;
|
|
9
|
+
({ label, ...props }: Props): React.JSX.Element;
|
|
10
10
|
displayName: string;
|
|
11
11
|
};
|
|
12
12
|
export declare const Radio: {
|
|
13
|
-
({ label, ...props }: Props): JSX.Element;
|
|
13
|
+
({ label, ...props }: Props): React.JSX.Element;
|
|
14
14
|
displayName: string;
|
|
15
15
|
};
|
|
16
16
|
type ChoiceListProps = {
|
|
@@ -5,4 +5,4 @@ export interface HintPropsType {
|
|
|
5
5
|
children: React.ReactNode;
|
|
6
6
|
status?: FormElementStatus;
|
|
7
7
|
}
|
|
8
|
-
export declare const Hint: ({ children, status, className }: HintPropsType) => JSX.Element;
|
|
8
|
+
export declare const Hint: ({ children, status, className }: HintPropsType) => React.JSX.Element;
|
|
@@ -6,5 +6,5 @@ export type RadioWithDetailsPropsType = {
|
|
|
6
6
|
name: string;
|
|
7
7
|
className?: string;
|
|
8
8
|
} & React.InputHTMLAttributes<HTMLInputElement>;
|
|
9
|
-
declare const RadioWithDetails: ({ icon, title, description, className, ...inputProps }: RadioWithDetailsPropsType) => JSX.Element;
|
|
9
|
+
declare const RadioWithDetails: ({ icon, title, description, className, ...inputProps }: RadioWithDetailsPropsType) => React.JSX.Element;
|
|
10
10
|
export default RadioWithDetails;
|
|
@@ -90,4 +90,4 @@ export default wrappedComponent;
|
|
|
90
90
|
type SliderValueMetaProps = {
|
|
91
91
|
children: React.ReactNode;
|
|
92
92
|
};
|
|
93
|
-
export declare const SliderValueMeta: ({ children }: SliderValueMetaProps) => JSX.Element;
|
|
93
|
+
export declare const SliderValueMeta: ({ children }: SliderValueMetaProps) => React.JSX.Element;
|
|
@@ -32,5 +32,5 @@ export { wrappedComponent as Stepper };
|
|
|
32
32
|
type StepperMetaProps = {
|
|
33
33
|
children: React.ReactNode;
|
|
34
34
|
};
|
|
35
|
-
declare const StepperMeta: ({ children }: StepperMetaProps) => JSX.Element;
|
|
35
|
+
declare const StepperMeta: ({ children }: StepperMetaProps) => React.JSX.Element;
|
|
36
36
|
export { StepperMeta };
|
|
@@ -11,7 +11,7 @@ export declare const TextInputWrapper: ({ icon, status, render, }: {
|
|
|
11
11
|
icon?: "search" | "accountDetails" | "addPicture" | "airConditioning" | "airport" | "android" | "antique" | "arrowLeftCircleFilled" | "arrowLeft" | "arrowRightCircleFilled" | "arrowRightCircle" | "arrowRight" | "audioInput" | "babySeat" | "battery" | "bell" | "bikeRack" | "bin" | "bluetooth" | "briefcase" | "bulb" | "cable" | "cabriolet" | "calendarCheck" | "calendarClock" | "calendarEnd" | "calendarStart" | "calendar" | "cameraAdd" | "camera" | "campervan" | "carAdd" | "carCheck" | "carDamages" | "carDrivyOpen" | "carGroup" | "carLock" | "carPlay" | "carReturn" | "carSearch" | "carTypeAntique" | "carTypeCabriolet" | "carTypeCampervan" | "carTypeCity" | "carTypeConvertible" | "carTypeCoupe" | "carTypeFamily" | "carTypeFourFour" | "carTypeMinibus" | "carTypeSedan" | "carTypeUtility" | "car" | "card" | "cdPlayer" | "certificate" | "chains" | "checkCircleFilled" | "checkCircle" | "check" | "checklist" | "chevronDown" | "chevronLeft" | "chevronRight" | "chevronUp" | "circledArrowRight" | "city" | "cleaning" | "clockAlert" | "clockBackwards" | "clockForwards" | "clock" | "closeCircleFilled" | "close" | "connectCar" | "contactMail" | "contactPhone" | "contextualPaperclip" | "contextualQuestion" | "contextualWarningCircleFilled" | "contextualWarningCircle" | "convertible" | "copy" | "coupe" | "creditCardAdd" | "creditCardError" | "creditCard" | "cruiseControl" | "dashcam" | "directions" | "document" | "dotHorizontal" | "dotVertical" | "dotsHorizontal" | "dotsVertical" | "download" | "earning" | "earth" | "edit" | "electric" | "evBattery" | "evCable" | "evCharger" | "externalLink" | "eyeClosed" | "eyeOpened" | "eye" | "faceRecognition" | "facebook" | "family" | "fileFilled" | "filter" | "filters" | "flag" | "fourByFour" | "fourWheelDrive" | "fuelTank" | "geolocation" | "gift" | "gps" | "graphUp" | "healing" | "heart" | "hitch" | "home" | "idCard" | "incident" | "infoCircleFilled" | "infoCircle" | "infoFilled" | "info" | "instant" | "invoice" | "keyConnect" | "key" | "licenceCheck" | "licencePaper" | "licence" | "lifeBuoy" | "linkedin" | "loading" | "locality" | "locationMap" | "locationParking" | "locationPin" | "location" | "lockCheck" | "locked" | "login" | "logout" | "mailCheck" | "mail" | "mapAlt" | "map" | "meetDriver" | "meetOwner" | "menuList" | "messages" | "mileage" | "minibus" | "minusCircleFilled" | "minus" | "miscGift" | "nearbyDevice" | "notification" | "number1Circle" | "number2Circle" | "number3Circle" | "number4Circle" | "number5Circle" | "okHand" | "optionAirConditioning" | "optionAndroidAuto" | "optionAppleCarplay" | "optionAudioInput" | "optionBabySeat" | "optionBikeRack" | "optionBluetoothAudio" | "optionCdPlayer" | "optionChains" | "optionCruiseControl" | "optionDashcam" | "optionGps" | "optionHasTrailer" | "optionHitch" | "optionRoofBox" | "optionSkiRack" | "optionSnowTire" | "optionWheelchairAccessible" | "paperclip" | "parking" | "passport" | "payments" | "pencil" | "peopleUser" | "performance" | "phoneLink" | "phone" | "photos" | "pickupTruck" | "pig" | "pin" | "plug" | "plusCircleFilled" | "plus" | "position" | "pricingFlat" | "pricingVariable" | "profilePicture" | "questionCircleFilled" | "questionCircle" | "question" | "raceFlag" | "refresh" | "reorder" | "replacementCar" | "reply" | "reset" | "ride" | "roofBox" | "sealCheck" | "searchCar" | "searchPeople" | "sedan" | "serviceBattery" | "serviceCleaning" | "serviceFuel" | "serviceHealing" | "serviceLocked" | "serviceTolls" | "serviceUnlocked" | "settings" | "shareAndroid" | "shareIos" | "share" | "shieldCheck" | "shield" | "shop" | "skiRack" | "slider" | "smartphone" | "snowTire" | "socialFacebook" | "socialLinkedin" | "socialTwitter" | "socialWhatsapp" | "starHalf" | "star" | "stars" | "subway" | "suitcase" | "support" | "suv" | "synch" | "tag" | "timeAlert" | "timeBackwards" | "timeCalendar" | "timeForward" | "tolls" | "trailer" | "train" | "triangleDown" | "triangleRight" | "triangleUp" | "twitter" | "twoPeople" | "unfold" | "unlocked" | "userCheck" | "userQuestion" | "userShield" | "userSwitch" | "user" | "utilityVanLarge" | "utilityVanMedium" | "utilityVanSmall" | "verifiedSeal" | "walk" | "wallet" | "warningCircleFilled" | "warningCircle" | "whatsapp" | "wheel" | "wheelchair" | "wrench" | "yingyang" | undefined;
|
|
12
12
|
status?: FormElement["status"];
|
|
13
13
|
render: (className: string) => React.ReactNode;
|
|
14
|
-
}) => JSX.Element;
|
|
14
|
+
}) => React.JSX.Element;
|
|
15
15
|
declare const wrappedComponent: React.ComponentClass<{
|
|
16
16
|
type?: TextInputType | undefined;
|
|
17
17
|
icon?: "search" | "accountDetails" | "addPicture" | "airConditioning" | "airport" | "android" | "antique" | "arrowLeftCircleFilled" | "arrowLeft" | "arrowRightCircleFilled" | "arrowRightCircle" | "arrowRight" | "audioInput" | "babySeat" | "battery" | "bell" | "bikeRack" | "bin" | "bluetooth" | "briefcase" | "bulb" | "cable" | "cabriolet" | "calendarCheck" | "calendarClock" | "calendarEnd" | "calendarStart" | "calendar" | "cameraAdd" | "camera" | "campervan" | "carAdd" | "carCheck" | "carDamages" | "carDrivyOpen" | "carGroup" | "carLock" | "carPlay" | "carReturn" | "carSearch" | "carTypeAntique" | "carTypeCabriolet" | "carTypeCampervan" | "carTypeCity" | "carTypeConvertible" | "carTypeCoupe" | "carTypeFamily" | "carTypeFourFour" | "carTypeMinibus" | "carTypeSedan" | "carTypeUtility" | "car" | "card" | "cdPlayer" | "certificate" | "chains" | "checkCircleFilled" | "checkCircle" | "check" | "checklist" | "chevronDown" | "chevronLeft" | "chevronRight" | "chevronUp" | "circledArrowRight" | "city" | "cleaning" | "clockAlert" | "clockBackwards" | "clockForwards" | "clock" | "closeCircleFilled" | "close" | "connectCar" | "contactMail" | "contactPhone" | "contextualPaperclip" | "contextualQuestion" | "contextualWarningCircleFilled" | "contextualWarningCircle" | "convertible" | "copy" | "coupe" | "creditCardAdd" | "creditCardError" | "creditCard" | "cruiseControl" | "dashcam" | "directions" | "document" | "dotHorizontal" | "dotVertical" | "dotsHorizontal" | "dotsVertical" | "download" | "earning" | "earth" | "edit" | "electric" | "evBattery" | "evCable" | "evCharger" | "externalLink" | "eyeClosed" | "eyeOpened" | "eye" | "faceRecognition" | "facebook" | "family" | "fileFilled" | "filter" | "filters" | "flag" | "fourByFour" | "fourWheelDrive" | "fuelTank" | "geolocation" | "gift" | "gps" | "graphUp" | "healing" | "heart" | "hitch" | "home" | "idCard" | "incident" | "infoCircleFilled" | "infoCircle" | "infoFilled" | "info" | "instant" | "invoice" | "keyConnect" | "key" | "licenceCheck" | "licencePaper" | "licence" | "lifeBuoy" | "linkedin" | "loading" | "locality" | "locationMap" | "locationParking" | "locationPin" | "location" | "lockCheck" | "locked" | "login" | "logout" | "mailCheck" | "mail" | "mapAlt" | "map" | "meetDriver" | "meetOwner" | "menuList" | "messages" | "mileage" | "minibus" | "minusCircleFilled" | "minus" | "miscGift" | "nearbyDevice" | "notification" | "number1Circle" | "number2Circle" | "number3Circle" | "number4Circle" | "number5Circle" | "okHand" | "optionAirConditioning" | "optionAndroidAuto" | "optionAppleCarplay" | "optionAudioInput" | "optionBabySeat" | "optionBikeRack" | "optionBluetoothAudio" | "optionCdPlayer" | "optionChains" | "optionCruiseControl" | "optionDashcam" | "optionGps" | "optionHasTrailer" | "optionHitch" | "optionRoofBox" | "optionSkiRack" | "optionSnowTire" | "optionWheelchairAccessible" | "paperclip" | "parking" | "passport" | "payments" | "pencil" | "peopleUser" | "performance" | "phoneLink" | "phone" | "photos" | "pickupTruck" | "pig" | "pin" | "plug" | "plusCircleFilled" | "plus" | "position" | "pricingFlat" | "pricingVariable" | "profilePicture" | "questionCircleFilled" | "questionCircle" | "question" | "raceFlag" | "refresh" | "reorder" | "replacementCar" | "reply" | "reset" | "ride" | "roofBox" | "sealCheck" | "searchCar" | "searchPeople" | "sedan" | "serviceBattery" | "serviceCleaning" | "serviceFuel" | "serviceHealing" | "serviceLocked" | "serviceTolls" | "serviceUnlocked" | "settings" | "shareAndroid" | "shareIos" | "share" | "shieldCheck" | "shield" | "shop" | "skiRack" | "slider" | "smartphone" | "snowTire" | "socialFacebook" | "socialLinkedin" | "socialTwitter" | "socialWhatsapp" | "starHalf" | "star" | "stars" | "subway" | "suitcase" | "support" | "suv" | "synch" | "tag" | "timeAlert" | "timeBackwards" | "timeCalendar" | "timeForward" | "tolls" | "trailer" | "train" | "triangleDown" | "triangleRight" | "triangleUp" | "twitter" | "twoPeople" | "unfold" | "unlocked" | "userCheck" | "userQuestion" | "userShield" | "userSwitch" | "user" | "utilityVanLarge" | "utilityVanMedium" | "utilityVanSmall" | "verifiedSeal" | "walk" | "wallet" | "warningCircleFilled" | "warningCircle" | "whatsapp" | "wheel" | "wheelchair" | "wrench" | "yingyang" | undefined;
|
|
@@ -7,5 +7,5 @@ type Props = {
|
|
|
7
7
|
position?: Position;
|
|
8
8
|
hint?: string;
|
|
9
9
|
} & FormElement & React.InputHTMLAttributes<HTMLInputElement>;
|
|
10
|
-
declare const ToggleSwitch: ({ large, status, label, position, hint, ...inputProps }: Props) => JSX.Element;
|
|
10
|
+
declare const ToggleSwitch: ({ large, status, label, position, hint, ...inputProps }: Props) => React.JSX.Element;
|
|
11
11
|
export { ToggleSwitch };
|
|
@@ -8,5 +8,5 @@ type HelperPropsType = {
|
|
|
8
8
|
contentClassName?: string;
|
|
9
9
|
cta?: ReturnType<typeof DefaultButton | typeof DefaultButton.Link>;
|
|
10
10
|
};
|
|
11
|
-
declare const Helper: ({ className, titleClassName, contentClassName, title, children, cta, }: HelperPropsType) => JSX.Element;
|
|
11
|
+
declare const Helper: ({ className, titleClassName, contentClassName, title, children, cta, }: HelperPropsType) => React.JSX.Element;
|
|
12
12
|
export default Helper;
|
|
@@ -5,9 +5,9 @@ export type HorizontalListPropsType = {
|
|
|
5
5
|
className?: string;
|
|
6
6
|
fitFrom?: Exclude<CobaltBreakpointType, "over">;
|
|
7
7
|
};
|
|
8
|
-
export default function HorizontalList({ className, fitFrom, children, }: HorizontalListPropsType): JSX.Element;
|
|
8
|
+
export default function HorizontalList({ className, fitFrom, children, }: HorizontalListPropsType): React.JSX.Element;
|
|
9
9
|
type HorizontalScrollerPaddingBlockProps = {
|
|
10
10
|
className?: string;
|
|
11
11
|
};
|
|
12
|
-
export declare function HorizontalListPaddingBlock({ className, }: HorizontalScrollerPaddingBlockProps): JSX.Element;
|
|
12
|
+
export declare function HorizontalListPaddingBlock({ className, }: HorizontalScrollerPaddingBlockProps): React.JSX.Element;
|
|
13
13
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
2
|
import { IconColorsType } from "../";
|
|
3
3
|
export type IconProps = {
|
|
4
4
|
color?: IconColorsType;
|
|
@@ -6,5 +6,5 @@ export type IconProps = {
|
|
|
6
6
|
contained?: boolean;
|
|
7
7
|
className?: string;
|
|
8
8
|
};
|
|
9
|
-
declare const AccountDetailsIcon: ({ color, size, contained, className, }: IconProps) => JSX.Element;
|
|
9
|
+
declare const AccountDetailsIcon: ({ color, size, contained, className, }: IconProps) => React.JSX.Element;
|
|
10
10
|
export default AccountDetailsIcon;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
2
|
import { IconColorsType } from "../";
|
|
3
3
|
export type IconProps = {
|
|
4
4
|
color?: IconColorsType;
|
|
@@ -6,5 +6,5 @@ export type IconProps = {
|
|
|
6
6
|
contained?: boolean;
|
|
7
7
|
className?: string;
|
|
8
8
|
};
|
|
9
|
-
declare const AddPictureIcon: ({ color, size, contained, className, }: IconProps) => JSX.Element;
|
|
9
|
+
declare const AddPictureIcon: ({ color, size, contained, className, }: IconProps) => React.JSX.Element;
|
|
10
10
|
export default AddPictureIcon;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
2
|
import { IconColorsType } from "../";
|
|
3
3
|
export type IconProps = {
|
|
4
4
|
color?: IconColorsType;
|
|
@@ -6,5 +6,5 @@ export type IconProps = {
|
|
|
6
6
|
contained?: boolean;
|
|
7
7
|
className?: string;
|
|
8
8
|
};
|
|
9
|
-
declare const AirConditioningIcon: ({ color, size, contained, className, }: IconProps) => JSX.Element;
|
|
9
|
+
declare const AirConditioningIcon: ({ color, size, contained, className, }: IconProps) => React.JSX.Element;
|
|
10
10
|
export default AirConditioningIcon;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
2
|
import { IconColorsType } from "../";
|
|
3
3
|
export type IconProps = {
|
|
4
4
|
color?: IconColorsType;
|
|
@@ -6,5 +6,5 @@ export type IconProps = {
|
|
|
6
6
|
contained?: boolean;
|
|
7
7
|
className?: string;
|
|
8
8
|
};
|
|
9
|
-
declare const AirportIcon: ({ color, size, contained, className, }: IconProps) => JSX.Element;
|
|
9
|
+
declare const AirportIcon: ({ color, size, contained, className, }: IconProps) => React.JSX.Element;
|
|
10
10
|
export default AirportIcon;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
2
|
import { IconColorsType } from "../";
|
|
3
3
|
export type IconProps = {
|
|
4
4
|
color?: IconColorsType;
|
|
@@ -6,5 +6,5 @@ export type IconProps = {
|
|
|
6
6
|
contained?: boolean;
|
|
7
7
|
className?: string;
|
|
8
8
|
};
|
|
9
|
-
declare const AndroidIcon: ({ color, size, contained, className, }: IconProps) => JSX.Element;
|
|
9
|
+
declare const AndroidIcon: ({ color, size, contained, className, }: IconProps) => React.JSX.Element;
|
|
10
10
|
export default AndroidIcon;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from "react";
|
|
2
2
|
import { IconColorsType } from "../";
|
|
3
3
|
export type IconProps = {
|
|
4
4
|
color?: IconColorsType;
|
|
@@ -6,5 +6,5 @@ export type IconProps = {
|
|
|
6
6
|
contained?: boolean;
|
|
7
7
|
className?: string;
|
|
8
8
|
};
|
|
9
|
-
declare const AntiqueIcon: ({ color, size, contained, className, }: IconProps) => JSX.Element;
|
|
9
|
+
declare const AntiqueIcon: ({ color, size, contained, className, }: IconProps) => React.JSX.Element;
|
|
10
10
|
export default AntiqueIcon;
|