@drivy/cobalt 0.21.0 → 0.23.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/components/Alerter/Alert.js.map +1 -1
- package/components/Alerter/index.js.map +1 -1
- package/components/BulletList/index.js.map +1 -1
- package/components/Buttons/ButtonComponent.js +1 -2
- package/components/Buttons/ButtonComponent.js.map +1 -1
- package/components/Buttons/ButtonsGroup.js +1 -5
- package/components/Buttons/ButtonsGroup.js.map +1 -1
- package/components/Buttons/helpers.js.map +1 -1
- package/components/Card/index.js.map +1 -1
- package/components/Cell/index.js.map +1 -1
- package/components/EmptyState/index.js +5 -4
- package/components/EmptyState/index.js.map +1 -1
- package/components/Form/CheckablePill.js.map +1 -1
- package/components/Form/Checkmark.js.map +1 -1
- package/components/Form/Stepper.js +3 -3
- package/components/Form/Stepper.js.map +1 -1
- package/components/Helper/index.js.map +1 -1
- package/components/HorizontalList/index.js.map +1 -1
- package/components/Modal/ModalBody.js +1 -1
- package/components/Modal/ModalBody.js.map +1 -1
- package/components/Modal/ModalFooter.js.map +1 -1
- package/components/Popover/index.js.map +1 -1
- package/components/Rating/RatingCompact.js +4 -2
- package/components/Rating/RatingCompact.js.map +1 -1
- package/components/Rating/RatingLabel.js.map +1 -1
- package/components/Rating/index.js +1 -4
- package/components/Rating/index.js.map +1 -1
- package/components/Tabs/index.js +1 -1
- package/components/Tabs/index.js.map +1 -1
- package/index.js +3 -3
- package/package.json +23 -25
- package/styles/components.scss +1 -1
- package/types/__tests__/AsyncComponent.d.ts +5 -4
- package/types/components/Accordion/ToggleIcon.d.ts +1 -1
- package/types/components/Accordion/index.d.ts +6 -6
- package/types/components/Alerter/Alert.d.ts +5 -4
- package/types/components/Alerter/index.d.ts +4 -4
- package/types/components/BulletList/index.d.ts +1 -1
- package/types/components/Buttons/ButtonComponent.d.ts +2 -2
- package/types/components/Buttons/DefaultButton/index.d.ts +5 -27
- package/types/components/Buttons/GhostButton/index.d.ts +5 -27
- package/types/components/Buttons/InversedButton/index.d.ts +3 -3
- package/types/components/Buttons/helpers.d.ts +5 -4
- package/types/components/Buttons/index.d.ts +1 -1
- package/types/components/Calendar/CalendarRangePicker/CalendarRangePicker.d.ts +1 -1
- package/types/components/Calendar/CalendarRangePicker/CalendarRangePickerDay.d.ts +1 -1
- package/types/components/Calendar/CalendarRangePicker/CalendarRangePickerMonth.d.ts +1 -1
- package/types/components/Calendar/CalendarView/CalendarViewMonth.d.ts +1 -1
- package/types/components/Calendar/CalendarView/index.d.ts +1 -1
- package/types/components/Calendar/CalendarView/types.d.ts +7 -7
- package/types/components/Card/index.d.ts +6 -5
- package/types/components/Cell/index.d.ts +9 -7
- package/types/components/EmptyState/index.d.ts +3 -3
- package/types/components/Flash/index.d.ts +1 -1
- package/types/components/Form/Autocomplete/index.d.ts +20 -18
- package/types/components/Form/CheckablePill.d.ts +2 -2
- package/types/components/Form/Checkmark.d.ts +3 -3
- package/types/components/Form/ComposedField.d.ts +5 -4
- package/types/components/Form/Fieldset.d.ts +1 -1
- package/types/components/Form/RadioWithDetails.d.ts +1 -1
- package/types/components/Form/Select.d.ts +5 -4
- package/types/components/Form/Slider.d.ts +4 -41
- package/types/components/Form/Stepper.d.ts +2 -2
- package/types/components/Form/TextArea.d.ts +1 -1
- package/types/components/Form/TextInput.d.ts +7 -6
- package/types/components/Form/ToggleSwitch.d.ts +2 -2
- package/types/components/Form/field.d.ts +1 -1
- package/types/components/Form/form.d.ts +1 -1
- package/types/components/Helper/index.d.ts +4 -3
- package/types/components/HorizontalList/index.d.ts +5 -4
- package/types/components/Icon/__generated__/AccountDetailsIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/AddPictureIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/AirConditioningIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/AirportIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/AndroidIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/AntiqueIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/ArrowLeftCircleFilledIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/ArrowLeftIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/ArrowRightCircleFilledIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/ArrowRightCircleIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/ArrowRightIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/AudioInputIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/BabySeatIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/BatteryIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/BellIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/BikeRackIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/BinIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/BluetoothIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/BriefcaseIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/BulbIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/CableIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/CabrioletIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/CalendarCheckIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/CalendarClockIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/CalendarEndIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/CalendarIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/CalendarStartIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/CameraAddIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/CameraIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/CampervanIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/CarAddIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/CarCheckIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/CarDamagesIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/CarDrivyOpenIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/CarGroupIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/CarIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/CarLockIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/CarPlayIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/CarReturnIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/CarSearchIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/CarTypeAntiqueIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/CarTypeCabrioletIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/CarTypeCampervanIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/CarTypeCityIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/CarTypeConvertibleIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/CarTypeCoupeIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/CarTypeFamilyIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/CarTypeFourFourIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/CarTypeMinibusIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/CarTypeSedanIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/CarTypeUtilityIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/CardIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/CdPlayerIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/CertificateIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/ChainsIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/CheckCircleFilledIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/CheckCircleIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/CheckIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/ChecklistIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/ChevronDownIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/ChevronLeftIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/ChevronRightIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/ChevronUpIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/CircledArrowRightIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/CityIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/CleaningIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/ClockAlertIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/ClockBackwardsIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/ClockForwardsIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/ClockIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/CloseCircleFilledIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/CloseIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/ConnectCarIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/ContactMailIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/ContactPhoneIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/ContextualPaperclipIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/ContextualQuestionIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/ContextualWarningCircleFilledIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/ContextualWarningCircleIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/ConvertibleIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/CopyIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/CoupeIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/CreditCardAddIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/CreditCardErrorIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/CreditCardIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/CruiseControlIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/DashcamIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/DirectionsIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/DocumentIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/DotHorizontalIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/DotVerticalIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/DotsHorizontalIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/DotsVerticalIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/DownloadIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/EarningIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/EarthIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/EditIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/ElectricIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/EvBatteryIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/EvCableIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/EvChargerIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/ExternalLinkIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/EyeClosedIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/EyeIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/EyeOpenedIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/FaceRecognitionIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/FacebookIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/FamilyIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/FileFilledIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/FilterIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/FiltersIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/FlagIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/FourByFourIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/FuelTankIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/GeolocationIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/GiftIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/GpsIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/GraphUpIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/HealingIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/HeartIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/HitchIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/HomeIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/IdCardIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/IncidentIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/InfoCircleFilledIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/InfoCircleIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/InfoFilledIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/InfoIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/InstantIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/InvoiceIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/KeyConnectIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/KeyIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/LicenceCheckIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/LicenceIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/LicencePaperIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/LifeBuoyIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/LinkedinIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/LoadingIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/LocalityIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/LocationIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/LocationMapIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/LocationParkingIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/LocationPinIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/LockCheckIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/LockedIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/LoginIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/LogoutIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/MailCheckIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/MailIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/MapAltIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/MapIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/MeetDriverIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/MeetOwnerIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/MenuListIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/MessagesIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/MileageIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/MinibusIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/MinusCircleFilledIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/MinusIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/MiscGiftIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/NearbyDeviceIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/NotificationIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/Number1CircleIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/Number2CircleIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/Number3CircleIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/Number4CircleIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/Number5CircleIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/OkHandIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/OptionAirConditioningIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/OptionAndroidAutoIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/OptionAppleCarplayIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/OptionAudioInputIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/OptionBabySeatIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/OptionBikeRackIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/OptionBluetoothAudioIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/OptionCdPlayerIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/OptionChainsIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/OptionCruiseControlIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/OptionDashcamIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/OptionGpsIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/OptionHasTrailerIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/OptionHitchIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/OptionRoofBoxIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/OptionSkiRackIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/OptionSnowTireIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/OptionWheelchairAccessibleIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/PaperclipIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/ParkingIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/PassportIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/PaymentsIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/PencilIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/PeopleUserIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/PerformanceIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/PhoneIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/PhoneLinkIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/PhotosIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/PigIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/PinIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/PlugIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/PlusCircleFilledIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/PlusIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/PositionIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/PricingFlatIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/PricingVariableIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/ProfilePictureIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/QuestionCircleFilledIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/QuestionCircleIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/QuestionIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/RaceFlagIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/RefreshIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/ReorderIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/ReplacementCarIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/ReplyIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/ResetIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/RideIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/RoofBoxIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/SealCheckIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/SearchCarIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/SearchIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/SearchPeopleIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/SedanIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/ServiceBatteryIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/ServiceCleaningIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/ServiceFuelIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/ServiceHealingIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/ServiceLockedIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/ServiceTollsIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/ServiceUnlockedIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/SettingsIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/ShareAndroidIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/ShareIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/ShareIosIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/ShieldCheckIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/ShieldIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/ShopIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/SkiRackIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/SliderIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/SmartphoneIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/SnowTireIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/SocialFacebookIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/SocialLinkedinIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/SocialTwitterIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/SocialWhatsappIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/StarHalfIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/StarIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/StarsIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/SubwayIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/SuitcaseIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/SupportIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/SuvIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/SynchIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/TagIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/TimeAlertIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/TimeBackwardsIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/TimeCalendarIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/TimeForwardIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/TollsIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/TrailerIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/TrainIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/TriangleDownIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/TriangleRightIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/TriangleUpIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/TwitterIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/TwoPeopleIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/UnfoldIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/UnlockedIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/UserCheckIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/UserIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/UserQuestionIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/UserShieldIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/UserSwitchIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/UtilityVanLargeIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/UtilityVanMediumIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/UtilityVanSmallIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/VerifiedSealIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/WalkIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/WalletIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/WarningCircleFilledIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/WarningCircleIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/WhatsappIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/WheelIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/WheelchairIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/WrenchIcon.d.ts +1 -1
- package/types/components/Icon/__generated__/YingyangIcon.d.ts +1 -1
- package/types/components/Icon/index.d.ts +2 -2
- package/types/components/Modal/ModalBody.d.ts +5 -4
- package/types/components/Modal/ModalFooter.d.ts +4 -3
- package/types/components/Modal/index.d.ts +1 -1
- package/types/components/PhotoDropzone/index.d.ts +1 -1
- package/types/components/Popover/index.d.ts +4 -3
- package/types/components/Rating/RatingCompact.d.ts +2 -1
- package/types/components/Rating/RatingIcons.d.ts +2 -2
- package/types/components/Rating/RatingInput.d.ts +1 -1
- package/types/components/Rating/RatingLabel.d.ts +3 -1
- package/types/components/Rating/index.d.ts +3 -3
- package/types/components/Tabs/index.d.ts +16 -6
- package/types/components/utils/index.d.ts +0 -1
- package/types/hooks/useBreakpoint.d.ts +1 -1
- package/types/index.d.ts +1 -1
- package/components/Button/Button.js +0 -33
- package/components/Button/Button.js.map +0 -1
- package/components/Button/Link.js +0 -33
- package/components/Button/Link.js.map +0 -1
- package/components/Button/index.js +0 -9
- package/components/Button/index.js.map +0 -1
- package/styles/components/Button/index.scss +0 -2
- package/styles/components/Button/legacy.scss +0 -348
- package/types/components/Button/Button.d.ts +0 -28
- package/types/components/Button/Link.d.ts +0 -28
- package/types/components/Button/index.d.ts +0 -141
- package/types/components/utils/isExpectedReactComponent.d.ts +0 -3
- package/types/components/utils/isExpectedReactComponent.spec.d.ts +0 -1
package/index.js
CHANGED
|
@@ -2,10 +2,10 @@ export { default as Accordion } from './components/Accordion/index.js';
|
|
|
2
2
|
export { default as Alerter, useAlerts } from './components/Alerter/index.js';
|
|
3
3
|
export { BasicCell } from './components/BasicCell/index.js';
|
|
4
4
|
export { BulletList, BulletListItem } from './components/BulletList/index.js';
|
|
5
|
-
export { Button, ButtonGroup } from './components/Button/index.js';
|
|
6
5
|
export { default as GhostButton } from './components/Buttons/GhostButton/index.js';
|
|
7
6
|
export { default as InversedButton } from './components/Buttons/InversedButton/index.js';
|
|
8
7
|
export { default as DefaultButton } from './components/Buttons/DefaultButton/index.js';
|
|
8
|
+
export { default as ButtonsGroup } from './components/Buttons/ButtonsGroup.js';
|
|
9
9
|
export { Callout } from './components/Callout/index.js';
|
|
10
10
|
export { default as Cell, Cells } from './components/Cell/index.js';
|
|
11
11
|
export { EmptyState } from './components/EmptyState/index.js';
|
|
@@ -32,7 +32,7 @@ export { ComposedField } from './components/Form/ComposedField.js';
|
|
|
32
32
|
export { withFieldLabelAndHint } from './components/Form/field.js';
|
|
33
33
|
export { Fieldset } from './components/Form/Fieldset.js';
|
|
34
34
|
export { Hint } from './components/Form/Hint.js';
|
|
35
|
-
export { Rating
|
|
35
|
+
export { Rating } from './components/Rating/index.js';
|
|
36
36
|
export { Select } from './components/Form/Select.js';
|
|
37
37
|
export { default as Slider, SliderValueMeta } from './components/Form/Slider.js';
|
|
38
38
|
export { Stepper, StepperMeta } from './components/Form/Stepper.js';
|
|
@@ -330,6 +330,6 @@ export { useAccordionItemContext } from '@reach/accordion';
|
|
|
330
330
|
export { default as LoadingIcon } from './components/Icon/__generated__/LoadingIcon.js';
|
|
331
331
|
export { default as StarIcon } from './components/Icon/__generated__/StarIcon.js';
|
|
332
332
|
export { RatingInput } from './components/Rating/RatingInput.js';
|
|
333
|
-
export { RatingCompact } from './components/Rating/RatingCompact.js';
|
|
333
|
+
export { RatingCompact, formatRatingValue } from './components/Rating/RatingCompact.js';
|
|
334
334
|
export { RatingIcons } from './components/Rating/RatingIcons.js';
|
|
335
335
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@drivy/cobalt",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.23.0",
|
|
4
4
|
"description": "Opinionated design system for Drivy's projects.",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"types": "types/index.d.ts",
|
|
@@ -32,19 +32,19 @@
|
|
|
32
32
|
"lodash.throttle": "4.1.1",
|
|
33
33
|
"media-typer": "1.1.0",
|
|
34
34
|
"nanoid": "4.0.0",
|
|
35
|
-
"postcss": "8.4.
|
|
35
|
+
"postcss": "8.4.19",
|
|
36
36
|
"tailwindcss": "2.2.19",
|
|
37
37
|
"tippy.js": "6.3.7"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
|
-
"react": "^
|
|
41
|
-
"react-dom": "^
|
|
40
|
+
"react": "^18.2.0",
|
|
41
|
+
"react-dom": "^18.2.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@getaround-eu/babel-preset-app": "1.
|
|
45
|
-
"@getaround-eu/eslint-config": "2.0.
|
|
44
|
+
"@getaround-eu/babel-preset-app": "1.1.0",
|
|
45
|
+
"@getaround-eu/eslint-config": "2.0.1",
|
|
46
46
|
"@getaround-eu/prettier-config": "1.2.0",
|
|
47
|
-
"@getaround-eu/stylelint-config": "1.2.
|
|
47
|
+
"@getaround-eu/stylelint-config": "1.2.5",
|
|
48
48
|
"@getaround-eu/ts-config": "2.2.0",
|
|
49
49
|
"@percy/storybook": "3.3.1",
|
|
50
50
|
"@rollup/plugin-json": "5.0.1",
|
|
@@ -56,18 +56,18 @@
|
|
|
56
56
|
"@storybook/react": "6.5.13",
|
|
57
57
|
"@svgr/cli": "6.5.1",
|
|
58
58
|
"@testing-library/jest-dom": "5.16.5",
|
|
59
|
-
"@testing-library/react": "
|
|
59
|
+
"@testing-library/react": "13.4.0",
|
|
60
60
|
"@testing-library/react-hooks": "8.0.1",
|
|
61
61
|
"@types/classnames": "2.3.0",
|
|
62
|
-
"@types/jest": "29.2.
|
|
62
|
+
"@types/jest": "29.2.3",
|
|
63
63
|
"@types/lodash.throttle": "4.1.7",
|
|
64
64
|
"@types/media-typer": "1.1.1",
|
|
65
|
-
"@types/react": "
|
|
66
|
-
"@whitespace/storybook-addon-html": "^5.0.
|
|
65
|
+
"@types/react": "18.0.25",
|
|
66
|
+
"@whitespace/storybook-addon-html": "^5.0.3",
|
|
67
67
|
"autoprefixer": "10.4.13",
|
|
68
|
-
"core-js": "3.26.
|
|
69
|
-
"css-loader": "6.7.
|
|
70
|
-
"eslint": "8.
|
|
68
|
+
"core-js": "3.26.1",
|
|
69
|
+
"css-loader": "6.7.2",
|
|
70
|
+
"eslint": "8.28.0",
|
|
71
71
|
"jest": "29.3.1",
|
|
72
72
|
"jest-environment-jsdom": "29.3.1",
|
|
73
73
|
"nested-object-access": "^0.2.5",
|
|
@@ -76,26 +76,27 @@
|
|
|
76
76
|
"postcss-loader": "7.0.1",
|
|
77
77
|
"prettier": "2.7.1",
|
|
78
78
|
"raw-loader": "4.0.2",
|
|
79
|
-
"react": "
|
|
80
|
-
"react-dom": "
|
|
81
|
-
"react-
|
|
82
|
-
"
|
|
79
|
+
"react": "18.2.0",
|
|
80
|
+
"react-dom": "18.2.0",
|
|
81
|
+
"react-syntax-highlighter": "15.5.0",
|
|
82
|
+
"react-test-renderer": "18.2.0",
|
|
83
|
+
"regenerator-runtime": "0.13.11",
|
|
83
84
|
"rollup": "2.79.1",
|
|
84
85
|
"rollup-plugin-copy": "3.4.0",
|
|
85
86
|
"rollup-plugin-postcss": "4.0.2",
|
|
86
87
|
"rollup-plugin-svgo": "2.0.0",
|
|
87
88
|
"rollup-plugin-typescript2": "0.34.1",
|
|
88
89
|
"sass": "1.56.1",
|
|
89
|
-
"sass-loader": "13.
|
|
90
|
+
"sass-loader": "13.2.0",
|
|
90
91
|
"sharp": "0.31.2",
|
|
91
92
|
"sharp-cli": "3.0.0",
|
|
92
93
|
"style-loader": "3.3.1",
|
|
93
|
-
"stylelint": "14.
|
|
94
|
+
"stylelint": "14.15.0",
|
|
94
95
|
"svg2vectordrawable": "2.9.1",
|
|
95
|
-
"svgo": "3.0.
|
|
96
|
+
"svgo": "3.0.2",
|
|
96
97
|
"ts-jest": "29.0.3",
|
|
97
98
|
"ts-node": "10.9.1",
|
|
98
|
-
"typescript": "4.
|
|
99
|
+
"typescript": "4.9.3"
|
|
99
100
|
},
|
|
100
101
|
"scripts": {
|
|
101
102
|
"build": "./scripts/build.sh",
|
|
@@ -138,8 +139,5 @@
|
|
|
138
139
|
"publishConfig": {
|
|
139
140
|
"registry": "https://registry.npmjs.org",
|
|
140
141
|
"access": "public"
|
|
141
|
-
},
|
|
142
|
-
"resolutions": {
|
|
143
|
-
"@types/react": "17.0.52"
|
|
144
142
|
}
|
|
145
143
|
}
|
package/styles/components.scss
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@import "./components/Alerter/index";
|
|
2
2
|
@import "./components/BasicCell/index";
|
|
3
3
|
@import "./components/BulletList/index";
|
|
4
|
-
@import "./components/
|
|
4
|
+
@import "./components/Buttons/index";
|
|
5
5
|
@import "./components/Calendar/CalendarRangePicker/index";
|
|
6
6
|
@import "./components/Callout/index";
|
|
7
7
|
@import "./components/Card/index";
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
declare const AsyncComponent:
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import React from "react";
|
|
2
|
+
declare const AsyncComponent: ({ children, timeout, }: {
|
|
3
|
+
children?: React.ReactNode;
|
|
4
|
+
timeout?: number | undefined;
|
|
5
|
+
}) => JSX.Element;
|
|
5
6
|
export default AsyncComponent;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { AccordionProps as ReachAccordionProps, AccordionItemProps as ReachAccordionItemProps, AccordionButtonProps as ReachAccordionButtonProps, AccordionPanelProps as ReachAccordionPanelProps } from "@reach/accordion";
|
|
3
3
|
export { useAccordionItemContext } from "@reach/accordion";
|
|
4
|
-
|
|
4
|
+
type HeadingLevelMapType = {
|
|
5
5
|
h2: 2;
|
|
6
6
|
h3: 3;
|
|
7
7
|
h4: 4;
|
|
8
8
|
h5: 5;
|
|
9
9
|
h6: 6;
|
|
10
10
|
};
|
|
11
|
-
|
|
12
|
-
export
|
|
11
|
+
type HeadingTag = keyof HeadingLevelMapType;
|
|
12
|
+
export type AccordionItemHeaderPropsType = {
|
|
13
13
|
/**
|
|
14
14
|
* To improve the semantics of the markup further, the ARIA guidelines dictate
|
|
15
15
|
* that each accordion item's button should be wrapped in an element with
|
|
@@ -20,13 +20,13 @@ export declare type AccordionItemHeaderPropsType = {
|
|
|
20
20
|
className?: string;
|
|
21
21
|
leftToggleIcon?: boolean;
|
|
22
22
|
} & ReachAccordionButtonProps;
|
|
23
|
-
export
|
|
23
|
+
export type AccordionItemPanelPropsType = {
|
|
24
24
|
className?: string;
|
|
25
25
|
} & ReachAccordionPanelProps;
|
|
26
|
-
export
|
|
26
|
+
export type AccordionItemPropsType = {
|
|
27
27
|
className?: string;
|
|
28
28
|
} & ReachAccordionItemProps;
|
|
29
|
-
export
|
|
29
|
+
export type AccordionPropsType = {
|
|
30
30
|
className?: string;
|
|
31
31
|
collapsible?: ReachAccordionProps["collapsible"];
|
|
32
32
|
defaultIndex?: ReachAccordionProps["defaultIndex"];
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import
|
|
2
|
-
export
|
|
3
|
-
export
|
|
1
|
+
import React from "react";
|
|
2
|
+
export type AlertStatus = "info" | "success" | "error";
|
|
3
|
+
export type AlertType = (props: {
|
|
4
|
+
children?: React.ReactNode;
|
|
4
5
|
status?: AlertStatus;
|
|
5
6
|
dismiss: () => void;
|
|
6
|
-
}
|
|
7
|
+
}) => React.ReactElement;
|
|
7
8
|
declare const Alert: AlertType;
|
|
8
9
|
export default Alert;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { AlertType } from "./Alert";
|
|
3
|
-
|
|
4
|
-
export
|
|
3
|
+
type AlertPropsType = Parameters<AlertType>[0];
|
|
4
|
+
export type AlertReducerActionData = {
|
|
5
5
|
id: string;
|
|
6
6
|
status: AlertPropsType["status"];
|
|
7
7
|
message: AlertPropsType["children"];
|
|
8
8
|
dismiss?: AlertPropsType["dismiss"];
|
|
9
9
|
};
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
type SendAlertParameters = Omit<AlertReducerActionData, "dismiss" | "id">;
|
|
11
|
+
type AlertsQueue = (Omit<AlertReducerActionData, "dismiss"> & {
|
|
12
12
|
dismiss: NonNullable<AlertReducerActionData["dismiss"]>;
|
|
13
13
|
})[];
|
|
14
14
|
export declare const useAlerts: () => {
|
|
@@ -7,7 +7,7 @@ interface BulletListProps {
|
|
|
7
7
|
export declare const BulletList: ({ children, iconPosition, }: BulletListProps) => JSX.Element;
|
|
8
8
|
interface BulletListItemProps {
|
|
9
9
|
children: React.ReactNode;
|
|
10
|
-
icon: typeof Icon
|
|
10
|
+
icon: ReturnType<typeof Icon>;
|
|
11
11
|
}
|
|
12
12
|
export declare const BulletListItem: ({ children, icon }: BulletListItemProps) => JSX.Element;
|
|
13
13
|
export {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
export
|
|
2
|
+
export type ButtonProps = React.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
3
3
|
loading?: boolean;
|
|
4
4
|
href?: undefined;
|
|
5
5
|
};
|
|
6
|
-
export
|
|
6
|
+
export type LinkProps = React.AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
7
7
|
loading?: boolean;
|
|
8
8
|
disabled?: boolean;
|
|
9
9
|
href?: string;
|
|
@@ -1,29 +1,18 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { ButtonTemplatePropsType } from "../helpers";
|
|
3
3
|
import { ButtonProps, LinkProps } from "../ButtonComponent";
|
|
4
|
-
|
|
4
|
+
type DefaultCommonPropsType = ButtonTemplatePropsType<{
|
|
5
5
|
primary?: boolean;
|
|
6
6
|
destructive?: boolean;
|
|
7
7
|
selected?: boolean;
|
|
8
8
|
}>;
|
|
9
|
-
export
|
|
10
|
-
export
|
|
9
|
+
export type DefaultButtonPropsType = DefaultCommonPropsType & ButtonProps;
|
|
10
|
+
export type DefaultLinkPropsType = DefaultCommonPropsType & LinkProps;
|
|
11
11
|
declare const DefaultButton: React.ForwardRefExoticComponent<{
|
|
12
12
|
primary?: boolean | undefined;
|
|
13
13
|
destructive?: boolean | undefined;
|
|
14
14
|
selected?: boolean | undefined;
|
|
15
|
-
} & {
|
|
16
|
-
className?: string | undefined;
|
|
17
|
-
disabled?: boolean | undefined;
|
|
18
|
-
fullWidth?: boolean | undefined;
|
|
19
|
-
loading?: boolean | undefined;
|
|
20
|
-
rounded?: boolean | undefined;
|
|
21
|
-
size?: "large" | undefined;
|
|
22
|
-
iconPosition?: "left" | "right" | undefined;
|
|
23
|
-
icon?: "loading" | "reset" | "document" | "search" | "slider" | "download" | "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" | "dotHorizontal" | "dotVertical" | "dotsHorizontal" | "dotsVertical" | "earning" | "earth" | "edit" | "electric" | "evBattery" | "evCable" | "evCharger" | "externalLink" | "eyeClosed" | "eyeOpened" | "eye" | "faceRecognition" | "facebook" | "family" | "fileFilled" | "filter" | "filters" | "flag" | "fourByFour" | "fuelTank" | "geolocation" | "gift" | "gps" | "graphUp" | "healing" | "heart" | "hitch" | "home" | "idCard" | "incident" | "infoCircleFilled" | "infoCircle" | "infoFilled" | "info" | "instant" | "invoice" | "keyConnect" | "key" | "licenceCheck" | "licencePaper" | "licence" | "lifeBuoy" | "linkedin" | "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" | "pig" | "pin" | "plug" | "plusCircleFilled" | "plus" | "position" | "pricingFlat" | "pricingVariable" | "profilePicture" | "questionCircleFilled" | "questionCircle" | "question" | "raceFlag" | "refresh" | "reorder" | "replacementCar" | "reply" | "ride" | "roofBox" | "sealCheck" | "searchCar" | "searchPeople" | "sedan" | "serviceBattery" | "serviceCleaning" | "serviceFuel" | "serviceHealing" | "serviceLocked" | "serviceTolls" | "serviceUnlocked" | "settings" | "shareAndroid" | "shareIos" | "share" | "shieldCheck" | "shield" | "shop" | "skiRack" | "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;
|
|
24
|
-
} & {
|
|
25
|
-
children?: React.ReactNode;
|
|
26
|
-
} & React.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
15
|
+
} & import("../helpers").ButtonCommonPropsType & React.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
27
16
|
loading?: boolean | undefined;
|
|
28
17
|
href?: undefined;
|
|
29
18
|
} & React.RefAttributes<HTMLButtonElement>> & {
|
|
@@ -31,18 +20,7 @@ declare const DefaultButton: React.ForwardRefExoticComponent<{
|
|
|
31
20
|
primary?: boolean | undefined;
|
|
32
21
|
destructive?: boolean | undefined;
|
|
33
22
|
selected?: boolean | undefined;
|
|
34
|
-
} & {
|
|
35
|
-
className?: string | undefined;
|
|
36
|
-
disabled?: boolean | undefined;
|
|
37
|
-
fullWidth?: boolean | undefined;
|
|
38
|
-
loading?: boolean | undefined;
|
|
39
|
-
rounded?: boolean | undefined;
|
|
40
|
-
size?: "large" | undefined;
|
|
41
|
-
iconPosition?: "left" | "right" | undefined;
|
|
42
|
-
icon?: "loading" | "reset" | "document" | "search" | "slider" | "download" | "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" | "dotHorizontal" | "dotVertical" | "dotsHorizontal" | "dotsVertical" | "earning" | "earth" | "edit" | "electric" | "evBattery" | "evCable" | "evCharger" | "externalLink" | "eyeClosed" | "eyeOpened" | "eye" | "faceRecognition" | "facebook" | "family" | "fileFilled" | "filter" | "filters" | "flag" | "fourByFour" | "fuelTank" | "geolocation" | "gift" | "gps" | "graphUp" | "healing" | "heart" | "hitch" | "home" | "idCard" | "incident" | "infoCircleFilled" | "infoCircle" | "infoFilled" | "info" | "instant" | "invoice" | "keyConnect" | "key" | "licenceCheck" | "licencePaper" | "licence" | "lifeBuoy" | "linkedin" | "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" | "pig" | "pin" | "plug" | "plusCircleFilled" | "plus" | "position" | "pricingFlat" | "pricingVariable" | "profilePicture" | "questionCircleFilled" | "questionCircle" | "question" | "raceFlag" | "refresh" | "reorder" | "replacementCar" | "reply" | "ride" | "roofBox" | "sealCheck" | "searchCar" | "searchPeople" | "sedan" | "serviceBattery" | "serviceCleaning" | "serviceFuel" | "serviceHealing" | "serviceLocked" | "serviceTolls" | "serviceUnlocked" | "settings" | "shareAndroid" | "shareIos" | "share" | "shieldCheck" | "shield" | "shop" | "skiRack" | "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;
|
|
43
|
-
} & {
|
|
44
|
-
children?: React.ReactNode;
|
|
45
|
-
} & React.AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
23
|
+
} & import("../helpers").ButtonCommonPropsType & React.AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
46
24
|
loading?: boolean | undefined;
|
|
47
25
|
disabled?: boolean | undefined;
|
|
48
26
|
href?: string | undefined;
|
|
@@ -1,45 +1,23 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { ButtonTemplatePropsType } from "../helpers";
|
|
3
3
|
import { ButtonProps, LinkProps } from "../ButtonComponent";
|
|
4
|
-
|
|
4
|
+
type GhostCommonPropsType = ButtonTemplatePropsType<{
|
|
5
5
|
standalone?: boolean;
|
|
6
6
|
destructive?: boolean;
|
|
7
7
|
}>;
|
|
8
|
-
export
|
|
9
|
-
export
|
|
8
|
+
export type GhostButtonPropsType = GhostCommonPropsType & ButtonProps;
|
|
9
|
+
export type GhostLinkPropsType = GhostCommonPropsType & LinkProps;
|
|
10
10
|
declare const GhostButton: React.ForwardRefExoticComponent<{
|
|
11
11
|
standalone?: boolean | undefined;
|
|
12
12
|
destructive?: boolean | undefined;
|
|
13
|
-
} & {
|
|
14
|
-
className?: string | undefined;
|
|
15
|
-
disabled?: boolean | undefined;
|
|
16
|
-
fullWidth?: boolean | undefined;
|
|
17
|
-
loading?: boolean | undefined;
|
|
18
|
-
rounded?: boolean | undefined;
|
|
19
|
-
size?: "large" | undefined;
|
|
20
|
-
iconPosition?: "left" | "right" | undefined;
|
|
21
|
-
icon?: "loading" | "reset" | "document" | "search" | "slider" | "download" | "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" | "dotHorizontal" | "dotVertical" | "dotsHorizontal" | "dotsVertical" | "earning" | "earth" | "edit" | "electric" | "evBattery" | "evCable" | "evCharger" | "externalLink" | "eyeClosed" | "eyeOpened" | "eye" | "faceRecognition" | "facebook" | "family" | "fileFilled" | "filter" | "filters" | "flag" | "fourByFour" | "fuelTank" | "geolocation" | "gift" | "gps" | "graphUp" | "healing" | "heart" | "hitch" | "home" | "idCard" | "incident" | "infoCircleFilled" | "infoCircle" | "infoFilled" | "info" | "instant" | "invoice" | "keyConnect" | "key" | "licenceCheck" | "licencePaper" | "licence" | "lifeBuoy" | "linkedin" | "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" | "pig" | "pin" | "plug" | "plusCircleFilled" | "plus" | "position" | "pricingFlat" | "pricingVariable" | "profilePicture" | "questionCircleFilled" | "questionCircle" | "question" | "raceFlag" | "refresh" | "reorder" | "replacementCar" | "reply" | "ride" | "roofBox" | "sealCheck" | "searchCar" | "searchPeople" | "sedan" | "serviceBattery" | "serviceCleaning" | "serviceFuel" | "serviceHealing" | "serviceLocked" | "serviceTolls" | "serviceUnlocked" | "settings" | "shareAndroid" | "shareIos" | "share" | "shieldCheck" | "shield" | "shop" | "skiRack" | "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;
|
|
22
|
-
} & {
|
|
23
|
-
children?: React.ReactNode;
|
|
24
|
-
} & React.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
13
|
+
} & import("../helpers").ButtonCommonPropsType & React.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
25
14
|
loading?: boolean | undefined;
|
|
26
15
|
href?: undefined;
|
|
27
16
|
} & React.RefAttributes<HTMLButtonElement>> & {
|
|
28
17
|
Link: React.ForwardRefExoticComponent<{
|
|
29
18
|
standalone?: boolean | undefined;
|
|
30
19
|
destructive?: boolean | undefined;
|
|
31
|
-
} & {
|
|
32
|
-
className?: string | undefined;
|
|
33
|
-
disabled?: boolean | undefined;
|
|
34
|
-
fullWidth?: boolean | undefined;
|
|
35
|
-
loading?: boolean | undefined;
|
|
36
|
-
rounded?: boolean | undefined;
|
|
37
|
-
size?: "large" | undefined;
|
|
38
|
-
iconPosition?: "left" | "right" | undefined;
|
|
39
|
-
icon?: "loading" | "reset" | "document" | "search" | "slider" | "download" | "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" | "dotHorizontal" | "dotVertical" | "dotsHorizontal" | "dotsVertical" | "earning" | "earth" | "edit" | "electric" | "evBattery" | "evCable" | "evCharger" | "externalLink" | "eyeClosed" | "eyeOpened" | "eye" | "faceRecognition" | "facebook" | "family" | "fileFilled" | "filter" | "filters" | "flag" | "fourByFour" | "fuelTank" | "geolocation" | "gift" | "gps" | "graphUp" | "healing" | "heart" | "hitch" | "home" | "idCard" | "incident" | "infoCircleFilled" | "infoCircle" | "infoFilled" | "info" | "instant" | "invoice" | "keyConnect" | "key" | "licenceCheck" | "licencePaper" | "licence" | "lifeBuoy" | "linkedin" | "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" | "pig" | "pin" | "plug" | "plusCircleFilled" | "plus" | "position" | "pricingFlat" | "pricingVariable" | "profilePicture" | "questionCircleFilled" | "questionCircle" | "question" | "raceFlag" | "refresh" | "reorder" | "replacementCar" | "reply" | "ride" | "roofBox" | "sealCheck" | "searchCar" | "searchPeople" | "sedan" | "serviceBattery" | "serviceCleaning" | "serviceFuel" | "serviceHealing" | "serviceLocked" | "serviceTolls" | "serviceUnlocked" | "settings" | "shareAndroid" | "shareIos" | "share" | "shieldCheck" | "shield" | "shop" | "skiRack" | "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;
|
|
40
|
-
} & {
|
|
41
|
-
children?: React.ReactNode;
|
|
42
|
-
} & React.AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
20
|
+
} & import("../helpers").ButtonCommonPropsType & React.AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
43
21
|
loading?: boolean | undefined;
|
|
44
22
|
disabled?: boolean | undefined;
|
|
45
23
|
href?: string | undefined;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { ButtonTemplatePropsType } from "../helpers";
|
|
3
3
|
import { ButtonProps, LinkProps } from "../ButtonComponent";
|
|
4
|
-
|
|
5
|
-
export
|
|
6
|
-
export
|
|
4
|
+
type InversedCommonPropsType = ButtonTemplatePropsType<Record<string, unknown>>;
|
|
5
|
+
export type InversedButtonPropsType = InversedCommonPropsType & ButtonProps;
|
|
6
|
+
export type InversedLinkPropsType = InversedCommonPropsType & LinkProps;
|
|
7
7
|
declare const InversedButton: React.ForwardRefExoticComponent<Pick<InversedButtonPropsType, string> & React.RefAttributes<HTMLButtonElement>> & {
|
|
8
8
|
Link: React.ForwardRefExoticComponent<Pick<InversedLinkPropsType, string> & React.RefAttributes<HTMLAnchorElement>>;
|
|
9
9
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from "react";
|
|
2
2
|
import { IconSources } from "../Icon";
|
|
3
|
-
export
|
|
3
|
+
export type ButtonCommonPropsType = {
|
|
4
|
+
children?: React.ReactNode;
|
|
4
5
|
className?: string;
|
|
5
6
|
disabled?: boolean;
|
|
6
7
|
fullWidth?: boolean;
|
|
@@ -9,7 +10,7 @@ export declare type ButtonCommonPropsType = PropsWithChildren<{
|
|
|
9
10
|
size?: "large";
|
|
10
11
|
iconPosition?: "left" | "right";
|
|
11
12
|
icon?: IconSources;
|
|
12
|
-
}
|
|
13
|
-
export
|
|
13
|
+
};
|
|
14
|
+
export type ButtonTemplatePropsType<SpecificButtonProps> = SpecificButtonProps & ButtonCommonPropsType;
|
|
14
15
|
export declare const getButtonContent: ({ children, icon, iconPosition, }: Pick<ButtonCommonPropsType, "children" | "icon" | "iconPosition">) => JSX.Element;
|
|
15
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 { GhostButtonPropsType, GhostLinkPropsType } from "./GhostButton";
|
|
2
2
|
import { InversedButtonPropsType, InversedLinkPropsType } from "./InversedButton";
|
|
3
3
|
import { DefaultButtonPropsType, DefaultLinkPropsType } from "./DefaultButton";
|
|
4
|
-
export
|
|
4
|
+
export type AllButtonsPropsType = GhostButtonPropsType & GhostLinkPropsType & InversedButtonPropsType & InversedLinkPropsType & DefaultButtonPropsType & DefaultLinkPropsType;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
1
|
+
export type DateStatusType = "highlighted" | "semi-highlighted" | "enabled" | "disabled" | "past";
|
|
2
|
+
export type StatusByDateType = {
|
|
3
3
|
[key: string]: DateStatusType;
|
|
4
4
|
};
|
|
5
|
-
export
|
|
5
|
+
export type MonthType = {
|
|
6
6
|
monthName: string;
|
|
7
7
|
monthStart: number;
|
|
8
8
|
statusByDate?: StatusByDateType;
|
|
9
9
|
};
|
|
10
|
-
export
|
|
11
|
-
export
|
|
10
|
+
export type DateType = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31;
|
|
11
|
+
export type CalendarViewDateType = {
|
|
12
12
|
date: DateType | null;
|
|
13
13
|
status?: string | null;
|
|
14
14
|
};
|
|
15
|
-
export
|
|
16
|
-
export
|
|
15
|
+
export type CalendarViewWeekType = CalendarViewDateType[];
|
|
16
|
+
export type CalendarViewMonthType = CalendarViewWeekType[];
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import React, { PureComponent
|
|
2
|
-
export
|
|
1
|
+
import React, { PureComponent } from "react";
|
|
2
|
+
export type CardProps = {
|
|
3
|
+
children?: React.ReactNode;
|
|
3
4
|
className?: string;
|
|
4
5
|
flattened?: boolean;
|
|
5
|
-
}
|
|
6
|
+
};
|
|
6
7
|
export declare const Card: {
|
|
7
8
|
({ children, className, flattened }: CardProps): JSX.Element;
|
|
8
9
|
Section: typeof CardSection;
|
|
9
10
|
};
|
|
10
|
-
export
|
|
11
|
+
export type CardSectionProps = {
|
|
11
12
|
children: React.ReactNode;
|
|
12
13
|
className?: string;
|
|
13
14
|
tabBar?: boolean;
|
|
@@ -19,7 +20,7 @@ export declare type CardSectionProps = {
|
|
|
19
20
|
*/
|
|
20
21
|
divided?: boolean | string;
|
|
21
22
|
};
|
|
22
|
-
export
|
|
23
|
+
export type CardSectionLinkProps = CardSectionProps & {
|
|
23
24
|
href: React.AnchorHTMLAttributes<HTMLAnchorElement>["href"];
|
|
24
25
|
target?: React.AnchorHTMLAttributes<HTMLAnchorElement>["target"];
|
|
25
26
|
rel?: React.AnchorHTMLAttributes<HTMLAnchorElement>["rel"];
|
|
@@ -1,16 +1,18 @@
|
|
|
1
|
-
import
|
|
2
|
-
export
|
|
1
|
+
import React from "react";
|
|
2
|
+
export type CellPropsType = {
|
|
3
|
+
children?: React.ReactNode;
|
|
3
4
|
divided?: boolean;
|
|
4
5
|
className?: string;
|
|
5
|
-
}
|
|
6
|
-
export
|
|
6
|
+
};
|
|
7
|
+
export type CellSoftPropsType = {
|
|
8
|
+
children?: React.ReactNode;
|
|
7
9
|
softDivided?: boolean;
|
|
8
10
|
className?: string;
|
|
9
|
-
}
|
|
10
|
-
export
|
|
11
|
+
};
|
|
12
|
+
export type CellsPropsType = {
|
|
11
13
|
content: CellPropsType["children"][];
|
|
12
14
|
} & Omit<CellPropsType, "children">;
|
|
13
|
-
export
|
|
15
|
+
export type CellsSoftPropsType = {
|
|
14
16
|
content: CellSoftPropsType["children"][];
|
|
15
17
|
} & Omit<CellSoftPropsType, "children">;
|
|
16
18
|
declare function Cell(props: CellPropsType): JSX.Element;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import
|
|
2
|
+
import DefaultButton from "../Buttons/DefaultButton";
|
|
3
3
|
export interface EmptyStateProps {
|
|
4
4
|
children?: React.ReactNode;
|
|
5
5
|
title: string;
|
|
6
|
-
action?: typeof
|
|
7
|
-
secondaryAction?: typeof
|
|
6
|
+
action?: typeof DefaultButton;
|
|
7
|
+
secondaryAction?: typeof DefaultButton;
|
|
8
8
|
image: string;
|
|
9
9
|
}
|
|
10
10
|
export declare const EmptyState: ({ title, children, action, secondaryAction, image, }: EmptyStateProps) => JSX.Element;
|