@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
|
@@ -4,9 +4,9 @@ interface IconsMap {
|
|
|
4
4
|
[name: string]: string | undefined;
|
|
5
5
|
}
|
|
6
6
|
export declare const BUNDLED_ICONS: IconsMap;
|
|
7
|
-
export
|
|
7
|
+
export type IconSources = keyof typeof iconTokens.icons;
|
|
8
8
|
export declare const iconColors: ("info" | "amber" | "blue" | "coral" | "graphite" | "graphiteLight" | "green" | "greenDark" | "greenLight" | "grey" | "greyDark" | "greyLight" | "greyLighter" | "indigo" | "indigoDark" | "purple" | "purpleLight" | "red" | "turquoise" | "white" | "accent" | "accentInteractive" | "accentAlt" | "accentAltInteractive" | "base" | "baseInteractive" | "connect" | "driver" | "error" | "errorAlt" | "infoAlt" | "inversed" | "owner" | "subdued" | "subduedInteractive" | "success" | "successAlt" | "warning")[];
|
|
9
|
-
export
|
|
9
|
+
export type IconColorsType = typeof iconColors[number];
|
|
10
10
|
export interface IconProps {
|
|
11
11
|
source: IconSources;
|
|
12
12
|
/**
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { RatingIconsPropsType } from "./RatingIcons";
|
|
3
|
-
|
|
3
|
+
type RatingCompactPropsType = Pick<RatingIconsPropsType, "className" | "value" | "size"> & {
|
|
4
4
|
icon?: JSX.Element;
|
|
5
5
|
count?: number;
|
|
6
6
|
};
|
|
7
|
+
export declare function formatRatingValue(value: number): string | number;
|
|
7
8
|
export declare function RatingCompact({ className, value, count, size, icon, }: RatingCompactPropsType): JSX.Element;
|
|
8
9
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { IconProps } from "../Icon";
|
|
3
|
-
export
|
|
3
|
+
export type RatingIconsPropsType = {
|
|
4
4
|
className?: string;
|
|
5
5
|
max?: 5 | 10;
|
|
6
6
|
value: number;
|
|
@@ -10,7 +10,7 @@ export declare type RatingIconsPropsType = {
|
|
|
10
10
|
onChange?: (newValue: number) => void;
|
|
11
11
|
icon?: JSX.Element | JSX.Element[];
|
|
12
12
|
};
|
|
13
|
-
export
|
|
13
|
+
export type RatingIconPropsType = {
|
|
14
14
|
icon: JSX.Element;
|
|
15
15
|
status?: "full" | "half" | "empty";
|
|
16
16
|
size?: RatingIconsPropsType["size"];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { RatingIconsPropsType } from "./RatingIcons";
|
|
3
|
-
|
|
3
|
+
type RatingInputPropsType = Omit<RatingIconsPropsType, "editable">;
|
|
4
4
|
export declare const RatingInput: ({ disabled, ...props }: RatingInputPropsType) => JSX.Element;
|
|
5
5
|
export {};
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { RatingIcons, RatingIconsPropsType } from "./RatingIcons";
|
|
3
3
|
import { RatingInput } from "./RatingInput";
|
|
4
|
-
import { RatingCompact } from "./RatingCompact";
|
|
4
|
+
import { RatingCompact, formatRatingValue } from "./RatingCompact";
|
|
5
5
|
import RatingLabel from "./RatingLabel";
|
|
6
|
-
|
|
6
|
+
type RatingPropsType = RatingIconsPropsType & {
|
|
7
7
|
children?: React.ReactNode;
|
|
8
8
|
iconsClassName?: RatingIconsPropsType["className"];
|
|
9
9
|
};
|
|
10
|
-
declare function formatRatingValue(value: number): string | number;
|
|
11
10
|
declare function Rating({ className, iconsClassName, children, ...iconsProps }: RatingPropsType): JSX.Element;
|
|
12
11
|
export { Rating, RatingLabel, RatingInput, RatingCompact, RatingIcons, formatRatingValue, };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
export
|
|
2
|
+
export type TabsPropsType = {
|
|
3
3
|
children?: React.ReactNode;
|
|
4
4
|
/**
|
|
5
5
|
* Index of the initial actived tab (first tab by default)
|
|
@@ -14,7 +14,7 @@ export declare type TabsPropsType = {
|
|
|
14
14
|
*/
|
|
15
15
|
subLevel?: boolean;
|
|
16
16
|
};
|
|
17
|
-
|
|
17
|
+
type TabPropsType = {
|
|
18
18
|
children?: React.ReactNode;
|
|
19
19
|
/**
|
|
20
20
|
* Label/title of the tab
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { breakpoints } from "../tokens";
|
|
2
|
-
export
|
|
2
|
+
export type CobaltBreakpointType = keyof typeof breakpoints | "over";
|
|
3
3
|
export declare const cobaltBreakpoints: [CobaltBreakpointType, string][];
|
|
4
4
|
/**
|
|
5
5
|
* Hook to get the current Cobalt breakpoint according to the viewport size
|
package/types/index.d.ts
CHANGED
|
@@ -2,10 +2,10 @@ export { default as Accordion, useAccordionItemContext, } from "./components/Acc
|
|
|
2
2
|
export { default as Alerter, useAlerts } from "./components/Alerter";
|
|
3
3
|
export { BasicCell } from "./components/BasicCell";
|
|
4
4
|
export { BulletList, BulletListItem } from "./components/BulletList";
|
|
5
|
-
export { Button, ButtonGroup } from "./components/Button";
|
|
6
5
|
export { default as GhostButton } from "./components/Buttons/GhostButton";
|
|
7
6
|
export { default as InversedButton } from "./components/Buttons/InversedButton";
|
|
8
7
|
export { default as DefaultButton } from "./components/Buttons/DefaultButton";
|
|
8
|
+
export { default as ButtonsGroup } from "./components/Buttons/ButtonsGroup";
|
|
9
9
|
export { Callout } from "./components/Callout";
|
|
10
10
|
export { default as Cell, Cells } from "./components/Cell";
|
|
11
11
|
export { EmptyState } from "./components/EmptyState";
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import GhostButton from '../Buttons/GhostButton/index.js';
|
|
3
|
-
import InversedButton from '../Buttons/InversedButton/index.js';
|
|
4
|
-
import DefaultButton from '../Buttons/DefaultButton/index.js';
|
|
5
|
-
import { isLinkProps } from '../Buttons/ButtonComponent.js';
|
|
6
|
-
|
|
7
|
-
const isInversedButtonProps = (props) => "inversed" in props && props.inversed === true && !isLinkProps(props);
|
|
8
|
-
const isGhostButtonProps = (props) => "ghost" in props && props.ghost === true && !isLinkProps(props);
|
|
9
|
-
const isDefaultButtonProps = (props) => !isGhostButtonProps(props) && !isInversedButtonProps(props);
|
|
10
|
-
const Button = (props) => {
|
|
11
|
-
const { forwardedRef, ...restButtonProps } = props;
|
|
12
|
-
// We extract here API only props to not passed them and we pass some
|
|
13
|
-
// common props directly
|
|
14
|
-
if (isInversedButtonProps(restButtonProps)) {
|
|
15
|
-
// inversed is a props only used for API here
|
|
16
|
-
const { inversed: _inversed, ...restProps } = restButtonProps;
|
|
17
|
-
return React.createElement(InversedButton, { ...restProps, ref: forwardedRef });
|
|
18
|
-
}
|
|
19
|
-
else if (isGhostButtonProps(restButtonProps)) {
|
|
20
|
-
// ghost is a props only used for API here
|
|
21
|
-
const { ghost: _ghost, ...restProps } = restButtonProps;
|
|
22
|
-
return React.createElement(GhostButton, { ...restProps, ref: forwardedRef });
|
|
23
|
-
}
|
|
24
|
-
else if (isDefaultButtonProps(restButtonProps)) {
|
|
25
|
-
return React.createElement(DefaultButton, { ...restButtonProps, ref: forwardedRef });
|
|
26
|
-
}
|
|
27
|
-
else {
|
|
28
|
-
throw new Error("[Cobalt]: Unexpected Button Component props error");
|
|
29
|
-
}
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
export { Button as default };
|
|
33
|
-
//# sourceMappingURL=Button.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Button.js","sources":["../../../src/components/Button/Button.tsx"],"sourcesContent":["import React, { Ref } from \"react\"\n\nimport Ghost, { GhostButtonPropsType } from \"../Buttons/GhostButton\"\nimport Inversed, { InversedButtonPropsType } from \"../Buttons/InversedButton\"\nimport Default, { DefaultButtonPropsType } from \"../Buttons/DefaultButton\"\nimport { isLinkProps } from \"../Buttons/ButtonComponent\"\n\ntype withButtonRef<Props> = Props & { forwardedRef?: Ref<HTMLButtonElement> }\n\n/**\n * We add API only props here since it's not related to the Buttons subcomponents\n */\ntype InversedButtonAPIPropsType = InversedButtonPropsType & { inversed?: true }\ntype GhostButtonAPIPropsType = GhostButtonPropsType & { ghost?: true }\ntype DefaultButtonAPIPropsType = DefaultButtonPropsType\n\n/**\n * Overloads\n */\ntype ButtonOverload = {\n (props: withButtonRef<InversedButtonAPIPropsType>): JSX.Element\n (props: withButtonRef<GhostButtonAPIPropsType>): JSX.Element\n (props: withButtonRef<DefaultButtonAPIPropsType>): JSX.Element\n}\n\nexport type ButtonPropsType =\n | withButtonRef<InversedButtonAPIPropsType>\n | withButtonRef<GhostButtonAPIPropsType>\n | withButtonRef<DefaultButtonAPIPropsType>\n\nconst isInversedButtonProps = (\n props: ButtonPropsType\n): props is InversedButtonAPIPropsType =>\n \"inversed\" in props && props.inversed === true && !isLinkProps(props)\n\nconst isGhostButtonProps = (\n props: ButtonPropsType\n): props is GhostButtonAPIPropsType =>\n \"ghost\" in props && props.ghost === true && !isLinkProps(props)\n\nconst isDefaultButtonProps = (\n props: ButtonPropsType\n): props is DefaultButtonAPIPropsType =>\n !isGhostButtonProps(props) && !isInversedButtonProps(props)\n\nconst Button: ButtonOverload = (props: ButtonPropsType) => {\n const { forwardedRef, ...restButtonProps } = props\n\n // We extract here API only props to not passed them and we pass some\n // common props directly\n if (isInversedButtonProps(restButtonProps)) {\n // inversed is a props only used for API here\n const { inversed: _inversed, ...restProps } = restButtonProps\n return <Inversed {...restProps} ref={forwardedRef} />\n } else if (isGhostButtonProps(restButtonProps)) {\n // ghost is a props only used for API here\n const { ghost: _ghost, ...restProps } = restButtonProps\n return <Ghost {...restProps} ref={forwardedRef} />\n } else if (isDefaultButtonProps(restButtonProps)) {\n return <Default {...restButtonProps} ref={forwardedRef} />\n } else {\n throw new Error(\"[Cobalt]: Unexpected Button Component props error\")\n }\n}\n\nexport default Button\n"],"names":["Inversed","Ghost","Default"],"mappings":";;;;;;AA8BA,MAAM,qBAAqB,GAAG,CAC5B,KAAsB,KAEtB,UAAU,IAAI,KAAK,IAAI,KAAK,CAAC,QAAQ,KAAK,IAAI,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,CAAA;AAEvE,MAAM,kBAAkB,GAAG,CACzB,KAAsB,KAEtB,OAAO,IAAI,KAAK,IAAI,KAAK,CAAC,KAAK,KAAK,IAAI,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,CAAA;AAEjE,MAAM,oBAAoB,GAAG,CAC3B,KAAsB,KAEtB,CAAC,kBAAkB,CAAC,KAAK,CAAC,IAAI,CAAC,qBAAqB,CAAC,KAAK,CAAC,CAAA;AAE7D,MAAM,MAAM,GAAmB,CAAC,KAAsB,KAAI;IACxD,MAAM,EAAE,YAAY,EAAE,GAAG,eAAe,EAAE,GAAG,KAAK,CAAA;;;AAIlD,IAAA,IAAI,qBAAqB,CAAC,eAAe,CAAC,EAAE;;QAE1C,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,SAAS,EAAE,GAAG,eAAe,CAAA;QAC7D,OAAO,KAAA,CAAA,aAAA,CAACA,cAAQ,EAAK,EAAA,GAAA,SAAS,EAAE,GAAG,EAAE,YAAY,EAAA,CAAI,CAAA;AACtD,KAAA;AAAM,SAAA,IAAI,kBAAkB,CAAC,eAAe,CAAC,EAAE;;QAE9C,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,SAAS,EAAE,GAAG,eAAe,CAAA;QACvD,OAAO,KAAA,CAAA,aAAA,CAACC,WAAK,EAAK,EAAA,GAAA,SAAS,EAAE,GAAG,EAAE,YAAY,EAAA,CAAI,CAAA;AACnD,KAAA;AAAM,SAAA,IAAI,oBAAoB,CAAC,eAAe,CAAC,EAAE;QAChD,OAAO,KAAA,CAAA,aAAA,CAACC,aAAO,EAAK,EAAA,GAAA,eAAe,EAAE,GAAG,EAAE,YAAY,EAAA,CAAI,CAAA;AAC3D,KAAA;AAAM,SAAA;AACL,QAAA,MAAM,IAAI,KAAK,CAAC,mDAAmD,CAAC,CAAA;AACrE,KAAA;AACH;;;;"}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import GhostButton from '../Buttons/GhostButton/index.js';
|
|
3
|
-
import InversedButton from '../Buttons/InversedButton/index.js';
|
|
4
|
-
import DefaultButton from '../Buttons/DefaultButton/index.js';
|
|
5
|
-
import { isLinkProps } from '../Buttons/ButtonComponent.js';
|
|
6
|
-
|
|
7
|
-
const isInversedLinkProps = (props) => "inversed" in props && props.inversed === true && isLinkProps(props);
|
|
8
|
-
const isGhostLinkProps = (props) => "ghost" in props && props.ghost === true && isLinkProps(props);
|
|
9
|
-
const isDefaultLinkProps = (props) => !isGhostLinkProps(props) && !isInversedLinkProps(props);
|
|
10
|
-
const Link = (props) => {
|
|
11
|
-
const { forwardedRef, ...restLinkProps } = props;
|
|
12
|
-
// We extract here specific button props
|
|
13
|
-
// disabled props must be passed to provided a11y related attributes
|
|
14
|
-
if (isInversedLinkProps(restLinkProps)) {
|
|
15
|
-
// inversed is a props only used for API here
|
|
16
|
-
const { inversed: _inversed, ...restProps } = restLinkProps;
|
|
17
|
-
return React.createElement(InversedButton.Link, { ...restProps, ref: forwardedRef });
|
|
18
|
-
}
|
|
19
|
-
else if (isGhostLinkProps(restLinkProps)) {
|
|
20
|
-
// ghost is a props only used for API here
|
|
21
|
-
const { ghost: _ghost, ...restProps } = restLinkProps;
|
|
22
|
-
return React.createElement(GhostButton.Link, { ...restProps, ref: forwardedRef });
|
|
23
|
-
}
|
|
24
|
-
else if (isDefaultLinkProps(restLinkProps)) {
|
|
25
|
-
return React.createElement(DefaultButton.Link, { ...restLinkProps, ref: forwardedRef });
|
|
26
|
-
}
|
|
27
|
-
else {
|
|
28
|
-
throw new Error("[Cobalt]: Unexpected Button.Link Component props error");
|
|
29
|
-
}
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
export { Link as default };
|
|
33
|
-
//# sourceMappingURL=Link.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Link.js","sources":["../../../src/components/Button/Link.tsx"],"sourcesContent":["import React, { Ref } from \"react\"\n\nimport Ghost, { GhostLinkPropsType } from \"../Buttons/GhostButton\"\nimport Inversed, { InversedLinkPropsType } from \"../Buttons/InversedButton\"\nimport Default, { DefaultLinkPropsType } from \"../Buttons/DefaultButton\"\nimport { isLinkProps } from \"../Buttons/ButtonComponent\"\n\ntype withAnchorRef<Props> = Props & { forwardedRef?: Ref<HTMLAnchorElement> }\n\n/**\n * We add API only props here since it's not related to the Buttons subcomponents\n */\n\ntype InversedLinkAPIPropsType = InversedLinkPropsType & { inversed?: true }\ntype GhostLinkAPIPropsType = GhostLinkPropsType & { ghost?: true }\ntype DefaultLinkAPIPropsType = DefaultLinkPropsType\n\n/**\n * Overloads\n */\ntype LinkOverload = {\n (props: withAnchorRef<InversedLinkAPIPropsType>): JSX.Element\n (props: withAnchorRef<GhostLinkAPIPropsType>): JSX.Element\n (props: withAnchorRef<DefaultLinkAPIPropsType>): JSX.Element\n}\n\nexport type ButtonLinkPropsType =\n | withAnchorRef<InversedLinkAPIPropsType>\n | withAnchorRef<GhostLinkAPIPropsType>\n | withAnchorRef<DefaultLinkAPIPropsType>\n\nconst isInversedLinkProps = (\n props: ButtonLinkPropsType\n): props is InversedLinkAPIPropsType =>\n \"inversed\" in props && props.inversed === true && isLinkProps(props)\n\nconst isGhostLinkProps = (\n props: ButtonLinkPropsType\n): props is GhostLinkAPIPropsType =>\n \"ghost\" in props && props.ghost === true && isLinkProps(props)\n\nconst isDefaultLinkProps = (\n props: ButtonLinkPropsType\n): props is DefaultLinkAPIPropsType =>\n !isGhostLinkProps(props) && !isInversedLinkProps(props)\n\nconst Link: LinkOverload = (props: ButtonLinkPropsType) => {\n const { forwardedRef, ...restLinkProps } = props\n\n // We extract here specific button props\n // disabled props must be passed to provided a11y related attributes\n if (isInversedLinkProps(restLinkProps)) {\n // inversed is a props only used for API here\n const { inversed: _inversed, ...restProps } = restLinkProps\n return <Inversed.Link {...restProps} ref={forwardedRef} />\n } else if (isGhostLinkProps(restLinkProps)) {\n // ghost is a props only used for API here\n const { ghost: _ghost, ...restProps } = restLinkProps\n return <Ghost.Link {...restProps} ref={forwardedRef} />\n } else if (isDefaultLinkProps(restLinkProps)) {\n return <Default.Link {...restLinkProps} ref={forwardedRef} />\n } else {\n throw new Error(\"[Cobalt]: Unexpected Button.Link Component props error\")\n }\n}\n\nexport default Link\n"],"names":["Inversed","Ghost","Default"],"mappings":";;;;;;AA+BA,MAAM,mBAAmB,GAAG,CAC1B,KAA0B,KAE1B,UAAU,IAAI,KAAK,IAAI,KAAK,CAAC,QAAQ,KAAK,IAAI,IAAI,WAAW,CAAC,KAAK,CAAC,CAAA;AAEtE,MAAM,gBAAgB,GAAG,CACvB,KAA0B,KAE1B,OAAO,IAAI,KAAK,IAAI,KAAK,CAAC,KAAK,KAAK,IAAI,IAAI,WAAW,CAAC,KAAK,CAAC,CAAA;AAEhE,MAAM,kBAAkB,GAAG,CACzB,KAA0B,KAE1B,CAAC,gBAAgB,CAAC,KAAK,CAAC,IAAI,CAAC,mBAAmB,CAAC,KAAK,CAAC,CAAA;AAEzD,MAAM,IAAI,GAAiB,CAAC,KAA0B,KAAI;IACxD,MAAM,EAAE,YAAY,EAAE,GAAG,aAAa,EAAE,GAAG,KAAK,CAAA;;;AAIhD,IAAA,IAAI,mBAAmB,CAAC,aAAa,CAAC,EAAE;;QAEtC,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,SAAS,EAAE,GAAG,aAAa,CAAA;QAC3D,OAAO,KAAA,CAAA,aAAA,CAACA,cAAQ,CAAC,IAAI,EAAA,EAAA,GAAK,SAAS,EAAE,GAAG,EAAE,YAAY,EAAA,CAAI,CAAA;AAC3D,KAAA;AAAM,SAAA,IAAI,gBAAgB,CAAC,aAAa,CAAC,EAAE;;QAE1C,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,SAAS,EAAE,GAAG,aAAa,CAAA;QACrD,OAAO,KAAA,CAAA,aAAA,CAACC,WAAK,CAAC,IAAI,EAAA,EAAA,GAAK,SAAS,EAAE,GAAG,EAAE,YAAY,EAAA,CAAI,CAAA;AACxD,KAAA;AAAM,SAAA,IAAI,kBAAkB,CAAC,aAAa,CAAC,EAAE;QAC5C,OAAO,KAAA,CAAA,aAAA,CAACC,aAAO,CAAC,IAAI,EAAA,EAAA,GAAK,aAAa,EAAE,GAAG,EAAE,YAAY,EAAA,CAAI,CAAA;AAC9D,KAAA;AAAM,SAAA;AACL,QAAA,MAAM,IAAI,KAAK,CAAC,wDAAwD,CAAC,CAAA;AAC1E,KAAA;AACH;;;;"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import Button$1 from './Button.js';
|
|
2
|
-
import Link from './Link.js';
|
|
3
|
-
import ButtonsGroup from '../Buttons/ButtonsGroup.js';
|
|
4
|
-
|
|
5
|
-
const ButtonGroup = ButtonsGroup;
|
|
6
|
-
const Button = Object.assign(Button$1, { Link });
|
|
7
|
-
|
|
8
|
-
export { Button, ButtonGroup, Button as default };
|
|
9
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/components/Button/index.tsx"],"sourcesContent":["// We have to import react to avoid TS using reference directives here\nimport _React from \"react\"\nimport _Button from \"./Button\"\nimport Link from \"./Link\"\nimport { ButtonPropsType as _ButtonPropsType } from \"./Button\"\nimport { ButtonLinkPropsType as _ButtonLinkPropsType } from \"./Link\"\nimport _ButtonGroup, {\n ButtonsGroupProps as _ButtonGroupProps,\n} from \"../Buttons/ButtonsGroup\"\n\n// We have to export types differently from modules\n// https://github.com/babel/babel/issues/8361\n// https://github.com/babel/babel-loader/issues/603#issuecomment-601682451\nexport type ButtonPropsType = _ButtonPropsType\nexport type ButtonLinkPropsType = _ButtonLinkPropsType\nexport type ButtonGroupProps = _ButtonGroupProps\n\nexport const ButtonGroup = _ButtonGroup\n\nexport const Button = Object.assign(_Button, { Link })\n\nexport default Button\n"],"names":["_ButtonGroup","_Button"],"mappings":";;;;AAiBO,MAAM,WAAW,GAAGA,aAAY;AAEhC,MAAM,MAAM,GAAG,MAAM,CAAC,MAAM,CAACC,QAAO,EAAE,EAAE,IAAI,EAAE;;;;"}
|