@drivy/cobalt 0.22.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/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/EmptyState/index.js +2 -2
- package/components/EmptyState/index.js.map +1 -1
- package/components/Form/Stepper.js +3 -3
- package/components/Form/Stepper.js.map +1 -1
- package/components/Rating/RatingCompact.js +4 -2
- package/components/Rating/RatingCompact.js.map +1 -1
- package/components/Rating/index.js +1 -4
- package/components/Rating/index.js.map +1 -1
- package/index.js +3 -3
- package/package.json +15 -14
- package/styles/components.scss +1 -1
- 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 +2 -2
- package/types/components/Alerter/index.d.ts +4 -4
- package/types/components/Buttons/ButtonComponent.d.ts +2 -2
- package/types/components/Buttons/DefaultButton/index.d.ts +3 -3
- package/types/components/Buttons/GhostButton/index.d.ts +3 -3
- package/types/components/Buttons/InversedButton/index.d.ts +3 -3
- package/types/components/Buttons/helpers.d.ts +2 -2
- 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 +3 -3
- package/types/components/Cell/index.d.ts +4 -4
- 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 +1 -1
- package/types/components/Form/CheckablePill.d.ts +1 -1
- package/types/components/Form/Checkmark.d.ts +2 -2
- package/types/components/Form/ComposedField.d.ts +1 -1
- 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 +1 -1
- package/types/components/Form/Slider.d.ts +3 -3
- 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 +2 -2
- 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 +1 -1
- package/types/components/HorizontalList/index.d.ts +2 -2
- 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/ModalFooter.d.ts +1 -1
- 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 +1 -1
- 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 +1 -1
- package/types/components/Rating/index.d.ts +2 -3
- package/types/components/Tabs/index.d.ts +2 -2
- 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 -75
|
@@ -1,348 +0,0 @@
|
|
|
1
|
-
@use "sass:math";
|
|
2
|
-
|
|
3
|
-
$group-item-spacing: spacing(tight);
|
|
4
|
-
|
|
5
|
-
@mixin button-sizing(
|
|
6
|
-
$height: null,
|
|
7
|
-
$line-height: null,
|
|
8
|
-
$font-size: null,
|
|
9
|
-
$horizontal-padding: null
|
|
10
|
-
) {
|
|
11
|
-
$border-width: 2px;
|
|
12
|
-
$vertical-padding: math.div($height - $line-height, 2) - $border-width;
|
|
13
|
-
|
|
14
|
-
@if $font-size > $line-height {
|
|
15
|
-
@error "Invalid line-height";
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
min-height: $height;
|
|
19
|
-
min-width: $height;
|
|
20
|
-
padding: $vertical-padding $horizontal-padding;
|
|
21
|
-
|
|
22
|
-
border-width: $border-width;
|
|
23
|
-
|
|
24
|
-
font-size: $font-size;
|
|
25
|
-
line-height: $line-height;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
@mixin button-base {
|
|
29
|
-
@include button-sizing(
|
|
30
|
-
$height: 40px,
|
|
31
|
-
$line-height: 20px,
|
|
32
|
-
$font-size: 16px,
|
|
33
|
-
$horizontal-padding: spacing()
|
|
34
|
-
);
|
|
35
|
-
|
|
36
|
-
position: relative;
|
|
37
|
-
|
|
38
|
-
display: inline-flex;
|
|
39
|
-
margin: 0;
|
|
40
|
-
|
|
41
|
-
align-items: center;
|
|
42
|
-
justify-content: center;
|
|
43
|
-
border-style: solid;
|
|
44
|
-
border-color: color(grey);
|
|
45
|
-
|
|
46
|
-
color: color(indigo);
|
|
47
|
-
text-decoration: none;
|
|
48
|
-
font-family: font-family(brand);
|
|
49
|
-
font-weight: 600;
|
|
50
|
-
text-align: center;
|
|
51
|
-
white-space: normal;
|
|
52
|
-
|
|
53
|
-
border-radius: border-radius(large);
|
|
54
|
-
box-shadow: 0 2px 8px 0 rgba(#000, 0.08);
|
|
55
|
-
background-color: color(white);
|
|
56
|
-
|
|
57
|
-
fill: color(indigo);
|
|
58
|
-
cursor: pointer;
|
|
59
|
-
user-select: none;
|
|
60
|
-
transition-property: background-color, border, box-shadow, color, transform,
|
|
61
|
-
fill;
|
|
62
|
-
transition-duration: 0.15s;
|
|
63
|
-
transition-timing-function: ease-out;
|
|
64
|
-
appearance: none;
|
|
65
|
-
|
|
66
|
-
&:hover {
|
|
67
|
-
border-color: color(indigo);
|
|
68
|
-
|
|
69
|
-
text-decoration: none;
|
|
70
|
-
|
|
71
|
-
box-shadow: 0 4px 4px 0 rgba(#000, 0.16);
|
|
72
|
-
|
|
73
|
-
transform: translateY(-1px);
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
&:active {
|
|
77
|
-
border-color: color(indigo, dark);
|
|
78
|
-
|
|
79
|
-
color: color(indigo, dark);
|
|
80
|
-
|
|
81
|
-
fill: color(indigo, dark);
|
|
82
|
-
box-shadow: none;
|
|
83
|
-
|
|
84
|
-
transform: translateY(0);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
&.rounded {
|
|
88
|
-
border-radius: 9999px;
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
@mixin button-filled($button-color, $hover-color, $active-color) {
|
|
93
|
-
border-color: $button-color;
|
|
94
|
-
|
|
95
|
-
color: color(white);
|
|
96
|
-
|
|
97
|
-
background-color: $button-color;
|
|
98
|
-
fill: color(white);
|
|
99
|
-
|
|
100
|
-
&:hover {
|
|
101
|
-
border-color: $hover-color;
|
|
102
|
-
|
|
103
|
-
color: color(white);
|
|
104
|
-
|
|
105
|
-
background-color: $hover-color;
|
|
106
|
-
fill: color(white);
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
&:active {
|
|
110
|
-
border-color: $active-color;
|
|
111
|
-
|
|
112
|
-
color: color(white);
|
|
113
|
-
|
|
114
|
-
background-color: $active-color;
|
|
115
|
-
fill: color(white);
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
.cobalt- {
|
|
120
|
-
&Button {
|
|
121
|
-
@include button-base;
|
|
122
|
-
|
|
123
|
-
// Hacking specificity for primary and destructive buttons
|
|
124
|
-
&[disabled][disabled],
|
|
125
|
-
&[data-disabled]:not([data-disabled="false"]),
|
|
126
|
-
&.cobalt-Button--disabled {
|
|
127
|
-
border-color: color(grey);
|
|
128
|
-
|
|
129
|
-
color: color(graphite, light);
|
|
130
|
-
|
|
131
|
-
opacity: 0.7;
|
|
132
|
-
cursor: default;
|
|
133
|
-
background-color: color(grey, lighter);
|
|
134
|
-
fill: color(grey);
|
|
135
|
-
box-shadow: none;
|
|
136
|
-
pointer-events: none;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
&--fullWidth {
|
|
140
|
-
display: flex;
|
|
141
|
-
width: 100%;
|
|
142
|
-
max-width: 600px;
|
|
143
|
-
margin-left: auto;
|
|
144
|
-
margin-right: auto;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
&--large {
|
|
148
|
-
@include button-sizing(
|
|
149
|
-
$height: 56px,
|
|
150
|
-
$line-height: 24px,
|
|
151
|
-
$font-size: 18px,
|
|
152
|
-
$horizontal-padding: spacing(medium)
|
|
153
|
-
);
|
|
154
|
-
|
|
155
|
-
&.cobalt-Button--ghost.cobalt-Button--standalone {
|
|
156
|
-
margin-left: #{spacing(medium) * -1};
|
|
157
|
-
margin-right: #{spacing(medium) * -1};
|
|
158
|
-
}
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
&--inversed:not(.cobalt-Button--destructive):not(.cobalt-Button--primary):not(.cobalt-Button--ghost) {
|
|
162
|
-
$color: color(white);
|
|
163
|
-
border-color: rgba($color, 0.7);
|
|
164
|
-
|
|
165
|
-
color: $color;
|
|
166
|
-
|
|
167
|
-
background-color: transparent;
|
|
168
|
-
fill: $color;
|
|
169
|
-
box-shadow: none;
|
|
170
|
-
|
|
171
|
-
&:hover {
|
|
172
|
-
border-color: $color;
|
|
173
|
-
|
|
174
|
-
color: $color;
|
|
175
|
-
|
|
176
|
-
fill: $color;
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
&:active {
|
|
180
|
-
border-color: $color;
|
|
181
|
-
|
|
182
|
-
color: $color;
|
|
183
|
-
|
|
184
|
-
fill: $color;
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
&--destructive {
|
|
189
|
-
$color: color(red);
|
|
190
|
-
color: $color;
|
|
191
|
-
|
|
192
|
-
fill: $color;
|
|
193
|
-
|
|
194
|
-
&:hover {
|
|
195
|
-
border-color: $color;
|
|
196
|
-
|
|
197
|
-
color: $color;
|
|
198
|
-
|
|
199
|
-
fill: $color;
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
&:active {
|
|
203
|
-
$color: darken($color, 6);
|
|
204
|
-
border-color: $color;
|
|
205
|
-
|
|
206
|
-
color: $color;
|
|
207
|
-
|
|
208
|
-
fill: $color;
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
&--primary {
|
|
213
|
-
@include button-filled(color(purple), color(indigo), color(indigo, dark));
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
&--primary.cobalt-Button--destructive {
|
|
217
|
-
@include button-filled(
|
|
218
|
-
color(red),
|
|
219
|
-
darken(color(red), 3),
|
|
220
|
-
darken(color(red), 6)
|
|
221
|
-
);
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
&--ghost {
|
|
225
|
-
&,
|
|
226
|
-
&:hover,
|
|
227
|
-
&:active,
|
|
228
|
-
&[disabled][disabled],
|
|
229
|
-
&.cobalt-Button--disabled {
|
|
230
|
-
border-color: transparent;
|
|
231
|
-
|
|
232
|
-
background-color: transparent;
|
|
233
|
-
box-shadow: none;
|
|
234
|
-
|
|
235
|
-
// stylelint-disable-next-line max-nesting-depth
|
|
236
|
-
&:not(.cobalt-Button--destructive) {
|
|
237
|
-
color: color(blue);
|
|
238
|
-
|
|
239
|
-
fill: color(blue);
|
|
240
|
-
}
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
&:hover {
|
|
244
|
-
background-color: rgba(color(blue), 0.06);
|
|
245
|
-
|
|
246
|
-
transform: none;
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
&.cobalt-Button--standalone {
|
|
250
|
-
margin-left: #{spacing() * -1};
|
|
251
|
-
margin-right: #{spacing() * -1};
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
&--ghost.cobalt-Button--destructive {
|
|
256
|
-
&:hover {
|
|
257
|
-
background-color: rgba(color(red), 0.06);
|
|
258
|
-
}
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
&--gmail {
|
|
262
|
-
$brand-color: #dd4b39;
|
|
263
|
-
|
|
264
|
-
@include button-filled(
|
|
265
|
-
$brand-color,
|
|
266
|
-
darken($brand-color, 6),
|
|
267
|
-
darken($brand-color, 12)
|
|
268
|
-
);
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
&--facebook {
|
|
272
|
-
$brand-color: #3b5998;
|
|
273
|
-
|
|
274
|
-
@include button-filled(
|
|
275
|
-
$brand-color,
|
|
276
|
-
darken($brand-color, 6),
|
|
277
|
-
darken($brand-color, 12)
|
|
278
|
-
);
|
|
279
|
-
}
|
|
280
|
-
|
|
281
|
-
&--twitter {
|
|
282
|
-
$brand-color: #1da1f2;
|
|
283
|
-
|
|
284
|
-
@include button-filled(
|
|
285
|
-
$brand-color,
|
|
286
|
-
darken($brand-color, 6),
|
|
287
|
-
darken($brand-color, 12)
|
|
288
|
-
);
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
&--whatsapp {
|
|
292
|
-
$brand-color: #25d366;
|
|
293
|
-
|
|
294
|
-
@include button-filled(
|
|
295
|
-
$brand-color,
|
|
296
|
-
darken($brand-color, 6),
|
|
297
|
-
darken($brand-color, 12)
|
|
298
|
-
);
|
|
299
|
-
}
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
&Button__Icon {
|
|
303
|
-
// icons are displayed in 24x24px, the following lines prevents the icon
|
|
304
|
-
// from adding to the height of the button
|
|
305
|
-
margin-top: -2px;
|
|
306
|
-
margin-bottom: -2px;
|
|
307
|
-
|
|
308
|
-
&:first-child {
|
|
309
|
-
margin-right: spacing(extra-tight);
|
|
310
|
-
}
|
|
311
|
-
|
|
312
|
-
&:last-child {
|
|
313
|
-
margin-left: spacing(extra-tight);
|
|
314
|
-
}
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
&ButtonGroup {
|
|
318
|
-
display: flex;
|
|
319
|
-
flex-wrap: wrap;
|
|
320
|
-
align-items: center;
|
|
321
|
-
margin-top: (-1 * $group-item-spacing);
|
|
322
|
-
margin-left: (-1 * $group-item-spacing);
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
&ButtonGroup__Item {
|
|
326
|
-
margin-top: $group-item-spacing;
|
|
327
|
-
margin-left: $group-item-spacing;
|
|
328
|
-
}
|
|
329
|
-
|
|
330
|
-
&ButtonGroup--fullWidth {
|
|
331
|
-
.cobalt-ButtonGroup__Item {
|
|
332
|
-
flex: 1 1 auto;
|
|
333
|
-
|
|
334
|
-
.cobalt-Button {
|
|
335
|
-
display: flex;
|
|
336
|
-
width: 100%;
|
|
337
|
-
}
|
|
338
|
-
}
|
|
339
|
-
}
|
|
340
|
-
|
|
341
|
-
&ButtonGroup--alignRight {
|
|
342
|
-
justify-content: flex-end;
|
|
343
|
-
}
|
|
344
|
-
|
|
345
|
-
&ButtonGroup--alignCenter {
|
|
346
|
-
justify-content: center;
|
|
347
|
-
}
|
|
348
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { Ref } from "react";
|
|
2
|
-
import { GhostButtonPropsType } from "../Buttons/GhostButton";
|
|
3
|
-
import { InversedButtonPropsType } from "../Buttons/InversedButton";
|
|
4
|
-
import { DefaultButtonPropsType } from "../Buttons/DefaultButton";
|
|
5
|
-
declare type withButtonRef<Props> = Props & {
|
|
6
|
-
forwardedRef?: Ref<HTMLButtonElement>;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* We add API only props here since it's not related to the Buttons subcomponents
|
|
10
|
-
*/
|
|
11
|
-
declare type InversedButtonAPIPropsType = InversedButtonPropsType & {
|
|
12
|
-
inversed?: true;
|
|
13
|
-
};
|
|
14
|
-
declare type GhostButtonAPIPropsType = GhostButtonPropsType & {
|
|
15
|
-
ghost?: true;
|
|
16
|
-
};
|
|
17
|
-
declare type DefaultButtonAPIPropsType = DefaultButtonPropsType;
|
|
18
|
-
/**
|
|
19
|
-
* Overloads
|
|
20
|
-
*/
|
|
21
|
-
declare type ButtonOverload = {
|
|
22
|
-
(props: withButtonRef<InversedButtonAPIPropsType>): JSX.Element;
|
|
23
|
-
(props: withButtonRef<GhostButtonAPIPropsType>): JSX.Element;
|
|
24
|
-
(props: withButtonRef<DefaultButtonAPIPropsType>): JSX.Element;
|
|
25
|
-
};
|
|
26
|
-
export declare type ButtonPropsType = withButtonRef<InversedButtonAPIPropsType> | withButtonRef<GhostButtonAPIPropsType> | withButtonRef<DefaultButtonAPIPropsType>;
|
|
27
|
-
declare const Button: ButtonOverload;
|
|
28
|
-
export default Button;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { Ref } from "react";
|
|
2
|
-
import { GhostLinkPropsType } from "../Buttons/GhostButton";
|
|
3
|
-
import { InversedLinkPropsType } from "../Buttons/InversedButton";
|
|
4
|
-
import { DefaultLinkPropsType } from "../Buttons/DefaultButton";
|
|
5
|
-
declare type withAnchorRef<Props> = Props & {
|
|
6
|
-
forwardedRef?: Ref<HTMLAnchorElement>;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* We add API only props here since it's not related to the Buttons subcomponents
|
|
10
|
-
*/
|
|
11
|
-
declare type InversedLinkAPIPropsType = InversedLinkPropsType & {
|
|
12
|
-
inversed?: true;
|
|
13
|
-
};
|
|
14
|
-
declare type GhostLinkAPIPropsType = GhostLinkPropsType & {
|
|
15
|
-
ghost?: true;
|
|
16
|
-
};
|
|
17
|
-
declare type DefaultLinkAPIPropsType = DefaultLinkPropsType;
|
|
18
|
-
/**
|
|
19
|
-
* Overloads
|
|
20
|
-
*/
|
|
21
|
-
declare type LinkOverload = {
|
|
22
|
-
(props: withAnchorRef<InversedLinkAPIPropsType>): JSX.Element;
|
|
23
|
-
(props: withAnchorRef<GhostLinkAPIPropsType>): JSX.Element;
|
|
24
|
-
(props: withAnchorRef<DefaultLinkAPIPropsType>): JSX.Element;
|
|
25
|
-
};
|
|
26
|
-
export declare type ButtonLinkPropsType = withAnchorRef<InversedLinkAPIPropsType> | withAnchorRef<GhostLinkAPIPropsType> | withAnchorRef<DefaultLinkAPIPropsType>;
|
|
27
|
-
declare const Link: LinkOverload;
|
|
28
|
-
export default Link;
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import _React from "react";
|
|
2
|
-
import { ButtonPropsType as _ButtonPropsType } from "./Button";
|
|
3
|
-
import { ButtonLinkPropsType as _ButtonLinkPropsType } from "./Link";
|
|
4
|
-
import { ButtonsGroupProps as _ButtonGroupProps } from "../Buttons/ButtonsGroup";
|
|
5
|
-
export declare type ButtonPropsType = _ButtonPropsType;
|
|
6
|
-
export declare type ButtonLinkPropsType = _ButtonLinkPropsType;
|
|
7
|
-
export declare type ButtonGroupProps = _ButtonGroupProps;
|
|
8
|
-
export declare const ButtonGroup: ({ className, children, align }: _ButtonGroupProps) => JSX.Element;
|
|
9
|
-
export declare const Button: {
|
|
10
|
-
(props: Record<string, unknown> & import("../Buttons/helpers").ButtonCommonPropsType & _React.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
11
|
-
loading?: boolean | undefined;
|
|
12
|
-
href?: undefined;
|
|
13
|
-
} & {
|
|
14
|
-
inversed?: true | undefined;
|
|
15
|
-
} & {
|
|
16
|
-
forwardedRef?: _React.Ref<HTMLButtonElement> | undefined;
|
|
17
|
-
}): JSX.Element;
|
|
18
|
-
(props: {
|
|
19
|
-
standalone?: boolean | undefined;
|
|
20
|
-
destructive?: boolean | undefined;
|
|
21
|
-
} & import("../Buttons/helpers").ButtonCommonPropsType & _React.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
22
|
-
loading?: boolean | undefined;
|
|
23
|
-
href?: undefined;
|
|
24
|
-
} & {
|
|
25
|
-
ghost?: true | undefined;
|
|
26
|
-
} & {
|
|
27
|
-
forwardedRef?: _React.Ref<HTMLButtonElement> | undefined;
|
|
28
|
-
}): JSX.Element;
|
|
29
|
-
(props: {
|
|
30
|
-
primary?: boolean | undefined;
|
|
31
|
-
destructive?: boolean | undefined;
|
|
32
|
-
selected?: boolean | undefined;
|
|
33
|
-
} & import("../Buttons/helpers").ButtonCommonPropsType & _React.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
34
|
-
loading?: boolean | undefined;
|
|
35
|
-
href?: undefined;
|
|
36
|
-
} & {
|
|
37
|
-
forwardedRef?: _React.Ref<HTMLButtonElement> | undefined;
|
|
38
|
-
}): JSX.Element;
|
|
39
|
-
} & {
|
|
40
|
-
Link: {
|
|
41
|
-
(props: Record<string, unknown> & import("../Buttons/helpers").ButtonCommonPropsType & _React.AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
42
|
-
loading?: boolean | undefined;
|
|
43
|
-
disabled?: boolean | undefined;
|
|
44
|
-
href?: string | undefined;
|
|
45
|
-
} & {
|
|
46
|
-
inversed?: true | undefined;
|
|
47
|
-
} & {
|
|
48
|
-
forwardedRef?: _React.Ref<HTMLAnchorElement> | undefined;
|
|
49
|
-
}): JSX.Element;
|
|
50
|
-
(props: {
|
|
51
|
-
standalone?: boolean | undefined;
|
|
52
|
-
destructive?: boolean | undefined;
|
|
53
|
-
} & import("../Buttons/helpers").ButtonCommonPropsType & _React.AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
54
|
-
loading?: boolean | undefined;
|
|
55
|
-
disabled?: boolean | undefined;
|
|
56
|
-
href?: string | undefined;
|
|
57
|
-
} & {
|
|
58
|
-
ghost?: true | undefined;
|
|
59
|
-
} & {
|
|
60
|
-
forwardedRef?: _React.Ref<HTMLAnchorElement> | undefined;
|
|
61
|
-
}): JSX.Element;
|
|
62
|
-
(props: {
|
|
63
|
-
primary?: boolean | undefined;
|
|
64
|
-
destructive?: boolean | undefined;
|
|
65
|
-
selected?: boolean | undefined;
|
|
66
|
-
} & import("../Buttons/helpers").ButtonCommonPropsType & _React.AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
67
|
-
loading?: boolean | undefined;
|
|
68
|
-
disabled?: boolean | undefined;
|
|
69
|
-
href?: string | undefined;
|
|
70
|
-
} & {
|
|
71
|
-
forwardedRef?: _React.Ref<HTMLAnchorElement> | undefined;
|
|
72
|
-
}): JSX.Element;
|
|
73
|
-
};
|
|
74
|
-
};
|
|
75
|
-
export default Button;
|