@televet/kibble-ui 1.20.0-beta.cs4 → 1.20.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/build/components/DataDisplay/NotificationCounter/index.d.ts +2 -2
- package/build/components/DataDisplay/NotificationCounter/notificationCounter.component.d.ts +2 -3
- package/build/components/DataDisplay/Tag/index.d.ts +3 -2
- package/build/components/DataDisplay/Tag/tag.component.d.ts +3 -4
- package/build/components/Disclosure/Tabs/components/Tab/tab.component.d.ts +4 -5
- package/build/components/Disclosure/Tabs/components/TabsLayout/tabsLayout.component.d.ts +1 -2
- package/build/components/Disclosure/Tabs/index.d.ts +5 -2
- package/build/components/Disclosure/Tabs/tabs.component.d.ts +2 -3
- package/build/components/Draggable/SortableList/components/DragHandle/dragHandle.component.d.ts +2 -3
- package/build/components/Draggable/SortableList/components/DragHandle/index.d.ts +1 -2
- package/build/components/Draggable/SortableList/components/SortableItem/index.d.ts +1 -2
- package/build/components/Draggable/SortableList/components/SortableItem/sortableItem.component.d.ts +2 -3
- package/build/components/Draggable/SortableList/components/SortableOverlay/index.d.ts +1 -2
- package/build/components/Draggable/SortableList/components/SortableOverlay/sortableOverlay.component.d.ts +2 -2
- package/build/components/Draggable/SortableList/components/index.d.ts +3 -0
- package/build/components/Draggable/SortableList/index.d.ts +2 -2
- package/build/components/Draggable/SortableList/sortableList.component.d.ts +1 -2
- package/build/components/Feedback/Alert/alert.component.d.ts +4 -5
- package/build/components/Feedback/Alert/components/alertBody.component.d.ts +1 -2
- package/build/components/Feedback/Alert/components/alertButton.component.d.ts +2 -3
- package/build/components/Feedback/Alert/components/alertCloseButton.component.d.ts +1 -2
- package/build/components/Feedback/Alert/components/alertDescription.component.d.ts +2 -3
- package/build/components/Feedback/Alert/components/alertHeader.component.d.ts +1 -2
- package/build/components/Feedback/Alert/components/alertIcon.component.d.ts +2 -3
- package/build/components/Feedback/Alert/components/alertTitle.component.d.ts +1 -2
- package/build/components/Feedback/Alert/index.d.ts +3 -2
- package/build/components/Feedback/Spinner/index.d.ts +2 -2
- package/build/components/Feedback/Spinner/spinner.component.d.ts +1 -2
- package/build/components/Feedback/Spinner/spinner.records.d.ts +1 -1
- package/build/components/Feedback/Toast/index.d.ts +1 -2
- package/build/components/Feedback/Toast/toast.utils.d.ts +6 -1
- package/build/components/Feedback/Toast/useToast.d.ts +12 -2
- package/build/components/Feedback/feedback.model.d.ts +1 -1
- package/build/components/Feedback/index.d.ts +2 -0
- package/build/components/Forms/Button/button.component.d.ts +7 -7
- package/build/components/Forms/Button/button.types.d.ts +0 -1
- package/build/components/Forms/Button/index.d.ts +3 -2
- package/build/components/Forms/Checkbox/checkbox.component.d.ts +1 -2
- package/build/components/Forms/Checkbox/components/CheckboxGroup/checkboxGroup.component.d.ts +2 -2
- package/build/components/Forms/Checkbox/index.d.ts +4 -2
- package/build/components/Forms/DatePicker/datepicker.component.d.ts +2 -3
- package/build/components/Forms/DatePicker/index.d.ts +2 -2
- package/build/components/Forms/FormControl/formControl.component.d.ts +1 -1
- package/build/components/Forms/FormControl/index.d.ts +1 -0
- package/build/components/Forms/Radio/components/RadioGroup/radioGroup.component.d.ts +2 -2
- package/build/components/Forms/Radio/index.d.ts +4 -2
- package/build/components/Forms/Radio/radio.component.d.ts +1 -2
- package/build/components/Forms/RatingDots/index.d.ts +2 -2
- package/build/components/Forms/RatingDots/{components/RatingDot/ratingDot.component.d.ts → ratingDot.component.d.ts} +1 -2
- package/build/components/Forms/RatingDots/ratingDots.component.d.ts +1 -2
- package/build/components/Forms/Select/components/SelectBrowserDefault/selectBrowserDefault.component.d.ts +1 -2
- package/build/components/Forms/Select/components/SelectContainer/selectContainer.component.d.ts +1 -2
- package/build/components/Forms/Select/components/SelectList/selectList.component.d.ts +1 -2
- package/build/components/Forms/Select/index.d.ts +3 -2
- package/build/components/Forms/Select/select.component.d.ts +4 -4
- package/build/components/Forms/Select/select.types.d.ts +1 -1
- package/build/components/Forms/Switch/index.d.ts +2 -2
- package/build/components/Forms/Switch/switch.component.d.ts +2 -2
- package/build/components/Forms/TextInput/components/ClearButton/clearButton.component.d.ts +1 -2
- package/build/components/Forms/TextInput/index.d.ts +2 -2
- package/build/components/Forms/TextInput/textInput.component.d.ts +2 -2
- package/build/components/Forms/Textarea/index.d.ts +2 -2
- package/build/components/Forms/Textarea/textarea.component.d.ts +2 -2
- package/build/components/Forms/TimePicker/index.d.ts +2 -0
- package/build/components/Forms/TimePicker/timePicker.component.d.ts +2 -3
- package/build/components/Forms/TimeRange/index.d.ts +1 -2
- package/build/components/Forms/TimeRange/timeRange.component.d.ts +1 -2
- package/build/components/Forms/index.d.ts +1 -0
- package/build/components/MediaAndIcons/Avatar/avatar.component.d.ts +13 -4
- package/build/components/MediaAndIcons/Avatar/avatar.types.d.ts +0 -10
- package/build/components/MediaAndIcons/Avatar/components/AvatarBadge/avatarBadge.component.d.ts +7 -2
- package/build/components/MediaAndIcons/Avatar/components/AvatarGroup/avatarGroup.component.d.ts +1 -2
- package/build/components/MediaAndIcons/Avatar/components/AvatarGroup/avatarGroup.utilities.d.ts +6 -0
- package/build/components/MediaAndIcons/Avatar/index.d.ts +5 -2
- package/build/components/MediaAndIcons/Icon/icon.component.d.ts +2 -3
- package/build/components/MediaAndIcons/Icon/icon.types.d.ts +1 -2
- package/build/components/MediaAndIcons/Icon/index.d.ts +2 -2
- package/build/components/MediaAndIcons/Logo/index.d.ts +2 -2
- package/build/components/MediaAndIcons/Logo/logo.component.d.ts +1 -2
- package/build/components/Navigation/Link/components/linkIcon.component.d.ts +2 -3
- package/build/components/Navigation/Link/index.d.ts +2 -2
- package/build/components/Navigation/Link/link.component.d.ts +2 -4
- package/build/components/Overlay/Menu/components/MenuButton/menuButton.component.d.ts +2 -2
- package/build/components/Overlay/Menu/components/MenuItem/menuItem.component.d.ts +1 -1
- package/build/components/Overlay/Menu/index.d.ts +8 -2
- package/build/components/Overlay/Menu/menu.component.d.ts +1 -2
- package/build/components/Overlay/Modal/components/ModalBody/modalBody.component.d.ts +1 -2
- package/build/components/Overlay/Modal/components/ModalCloseButton/modalCloseButton.component.d.ts +2 -3
- package/build/components/Overlay/Modal/components/ModalFooter/modalFooter.component.d.ts +3 -4
- package/build/components/Overlay/Modal/components/ModalFooterButtons/modalFooterButtons.component.d.ts +3 -4
- package/build/components/Overlay/Modal/components/ModalHeader/modalHeader.component.d.ts +4 -5
- package/build/components/Overlay/Modal/index.d.ts +8 -2
- package/build/components/Overlay/Modal/modal.component.d.ts +4 -4
- package/build/components/Overlay/Popover/components/PopoverBody/popoverBody.component.d.ts +1 -2
- package/build/components/Overlay/Popover/components/PopoverCloseButton/popoverCloseButton.component.d.ts +2 -3
- package/build/components/Overlay/Popover/components/PopoverFooter/popoverFooter.component.d.ts +1 -2
- package/build/components/Overlay/Popover/components/PopoverFooterButtons/popoverFooterButtons.component.d.ts +1 -2
- package/build/components/Overlay/Popover/components/PopoverHeader/popoverHeader.component.d.ts +2 -4
- package/build/components/Overlay/Popover/index.d.ts +8 -2
- package/build/components/Overlay/Popover/popover.component.d.ts +1 -2
- package/build/components/Overlay/Tooltip/index.d.ts +3 -2
- package/build/components/Overlay/Tooltip/tooltip.component.d.ts +1 -2
- package/build/components/Typography/Heading/heading.component.d.ts +1 -2
- package/build/components/Typography/Heading/index.d.ts +3 -2
- package/build/components/Typography/Text/index.d.ts +3 -2
- package/build/components/Typography/Text/text.component.d.ts +2 -3
- package/build/components/Typography/TruncatedText/index.d.ts +1 -2
- package/build/components/Typography/TruncatedText/truncatedText.component.d.ts +1 -2
- package/build/components/Typography/index.d.ts +1 -0
- package/build/components/hocs/index.d.ts +1 -0
- package/build/components/hocs/withDarkMode.d.ts +2 -0
- package/build/hocs/withDarkMode.d.ts +2 -0
- package/build/hocs/withTheme.d.ts +3 -0
- package/build/hooks/index.d.ts +4 -5
- package/build/hooks/useAdaptiveColor.d.ts +1 -2
- package/build/hooks/useAdaptiveColorMap.d.ts +1 -2
- package/build/hooks/useDisclosure.d.ts +1 -2
- package/build/hooks/useIconTextSizeMap.d.ts +2 -4
- package/build/hooks/useOverflowingText.d.ts +1 -2
- package/build/hooks/useTheme.d.ts +2 -3
- package/build/hooks/useWindowSize.d.ts +1 -2
- package/build/index.js +28756 -1
- package/build/index.js.map +1 -1
- package/build/theme/index.d.ts +3 -2
- package/build/theme/theme.config.d.ts +1 -2
- package/build/theme/theme.provider.d.ts +1 -2
- package/build/theme/theme.types.d.ts +1 -4
- package/build/theme/tokens/colors/color.types.d.ts +1 -2
- package/build/utils/sizes.d.ts +1 -2
- package/package.json +1 -2
- package/build/_baseGetTag-b456deca.js +0 -16
- package/build/_baseGetTag-b456deca.js.map +0 -1
- package/build/_commonjsHelpers-68cdf74f.js +0 -2
- package/build/_commonjsHelpers-68cdf74f.js.map +0 -1
- package/build/alert.component-b54156cc.js +0 -2
- package/build/alert.component-b54156cc.js.map +0 -1
- package/build/alert.types-e7d0c9e1.js +0 -2
- package/build/alert.types-e7d0c9e1.js.map +0 -1
- package/build/avatar.component-ec20cb56.js +0 -2
- package/build/avatar.component-ec20cb56.js.map +0 -1
- package/build/avatar.config-d0a447cd.js +0 -2
- package/build/avatar.config-d0a447cd.js.map +0 -1
- package/build/avatar.types-584d9ae1.js +0 -2
- package/build/avatar.types-584d9ae1.js.map +0 -1
- package/build/avatarBadge.component-aecdddfb.js +0 -2
- package/build/avatarBadge.component-aecdddfb.js.map +0 -1
- package/build/avatarBadge.types-6c09a378.js +0 -2
- package/build/avatarBadge.types-6c09a378.js.map +0 -1
- package/build/button.component-886dd40b.js +0 -2
- package/build/button.component-886dd40b.js.map +0 -1
- package/build/chakra-ui-theme-tools.esm-c737af81.js +0 -2
- package/build/chakra-ui-theme-tools.esm-c737af81.js.map +0 -1
- package/build/checkbox.component-31e2bd52.js +0 -2
- package/build/checkbox.component-31e2bd52.js.map +0 -1
- package/build/color.record-64db0308.js +0 -2
- package/build/color.record-64db0308.js.map +0 -1
- package/build/components/DataDisplay/NotificationCounter/notificationCounter.records.d.ts +0 -5
- package/build/components/DataDisplay/Tag/tag.records.d.ts +0 -2
- package/build/components/Disclosure/Tabs/components/Tab/index.d.ts +0 -2
- package/build/components/Disclosure/Tabs/components/Tab/tab.records.d.ts +0 -3
- package/build/components/Disclosure/Tabs/components/TabsLayout/index.d.ts +0 -2
- package/build/components/Feedback/Toast/toast.types.d.ts +0 -10
- package/build/components/Forms/Checkbox/components/CheckboxGroup/index.d.ts +0 -2
- package/build/components/Forms/DatePicker/context/index.d.ts +0 -1
- package/build/components/Forms/DatePicker/datepicker.records.d.ts +0 -7
- package/build/components/Forms/Radio/components/RadioGroup/index.d.ts +0 -2
- package/build/components/Forms/RatingDots/components/RatingDot/index.d.ts +0 -2
- package/build/components/Forms/TextInput/components/ClearButton/clearButton.records.d.ts +0 -2
- package/build/components/MediaAndIcons/Avatar/components/AvatarBadge/avatarBadge.types.d.ts +0 -6
- package/build/components/MediaAndIcons/Avatar/components/AvatarBadge/index.d.ts +0 -2
- package/build/components/MediaAndIcons/Avatar/components/AvatarGroup/index.d.ts +0 -2
- package/build/components/Overlay/Menu/components/MenuButton/index.d.ts +0 -2
- package/build/components/Overlay/Menu/components/MenuContainer/index.d.ts +0 -2
- package/build/components/Overlay/Menu/components/MenuItem/index.d.ts +0 -2
- package/build/components/Overlay/Menu/components/MenuList/index.d.ts +0 -2
- package/build/components/Overlay/Menu/components/MenuOptionGroup/index.d.ts +0 -2
- package/build/components/Overlay/Menu/context/index.d.ts +0 -2
- package/build/components/Overlay/Modal/components/ModalBody/index.d.ts +0 -2
- package/build/components/Overlay/Modal/components/ModalCloseButton/index.d.ts +0 -2
- package/build/components/Overlay/Modal/components/ModalFooter/index.d.ts +0 -2
- package/build/components/Overlay/Modal/components/ModalFooterButtons/index.d.ts +0 -2
- package/build/components/Overlay/Modal/components/ModalHeader/index.d.ts +0 -2
- package/build/components/Overlay/Popover/components/PopoverBody/index.d.ts +0 -2
- package/build/components/Overlay/Popover/components/PopoverCloseButton/index.d.ts +0 -2
- package/build/components/Overlay/Popover/components/PopoverFooter/index.d.ts +0 -2
- package/build/components/Overlay/Popover/components/PopoverFooterButtons/index.d.ts +0 -2
- package/build/components/Overlay/Popover/components/PopoverHeader/index.d.ts +0 -2
- package/build/core.esm-3a85aed4.js +0 -2
- package/build/core.esm-3a85aed4.js.map +0 -1
- package/build/datepicker.context-b3e212b3.js +0 -2
- package/build/datepicker.context-b3e212b3.js.map +0 -1
- package/build/formControl.component-bc88339a.js +0 -2
- package/build/formControl.component-bc88339a.js.map +0 -1
- package/build/heading.component-8f64b1a8.js +0 -2
- package/build/heading.component-8f64b1a8.js.map +0 -1
- package/build/hocs/withDarkMode/index.d.ts +0 -2
- package/build/hocs/withDarkMode/withDarkMode.d.ts +0 -3
- package/build/hocs/withTheme/index.d.ts +0 -2
- package/build/hocs/withTheme/withTheme.d.ts +0 -4
- package/build/icon.component-8f0cedca.js +0 -2
- package/build/icon.component-8f0cedca.js.map +0 -1
- package/build/index-fee8538e.js +0 -2
- package/build/index-fee8538e.js.map +0 -1
- package/build/index10.js +0 -2
- package/build/index10.js.map +0 -1
- package/build/index11.js +0 -2
- package/build/index11.js.map +0 -1
- package/build/index12.js +0 -2
- package/build/index12.js.map +0 -1
- package/build/index13.js +0 -2
- package/build/index13.js.map +0 -1
- package/build/index14.js +0 -2
- package/build/index14.js.map +0 -1
- package/build/index15.js +0 -2
- package/build/index15.js.map +0 -1
- package/build/index16.js +0 -2
- package/build/index16.js.map +0 -1
- package/build/index17.js +0 -2
- package/build/index17.js.map +0 -1
- package/build/index18.js +0 -2
- package/build/index18.js.map +0 -1
- package/build/index19.js +0 -2
- package/build/index19.js.map +0 -1
- package/build/index2.js +0 -2
- package/build/index2.js.map +0 -1
- package/build/index20.js +0 -2
- package/build/index20.js.map +0 -1
- package/build/index21.js +0 -2
- package/build/index21.js.map +0 -1
- package/build/index22.js +0 -2
- package/build/index22.js.map +0 -1
- package/build/index23.js +0 -2
- package/build/index23.js.map +0 -1
- package/build/index24.js +0 -2
- package/build/index24.js.map +0 -1
- package/build/index25.js +0 -2
- package/build/index25.js.map +0 -1
- package/build/index26.js +0 -2
- package/build/index26.js.map +0 -1
- package/build/index27.js +0 -2
- package/build/index27.js.map +0 -1
- package/build/index28.js +0 -2
- package/build/index28.js.map +0 -1
- package/build/index29.js +0 -2
- package/build/index29.js.map +0 -1
- package/build/index3.js +0 -2
- package/build/index3.js.map +0 -1
- package/build/index30.js +0 -2
- package/build/index30.js.map +0 -1
- package/build/index31.js +0 -2
- package/build/index31.js.map +0 -1
- package/build/index32.js +0 -2
- package/build/index32.js.map +0 -1
- package/build/index33.js +0 -2
- package/build/index33.js.map +0 -1
- package/build/index34.js +0 -2
- package/build/index34.js.map +0 -1
- package/build/index35.js +0 -2
- package/build/index35.js.map +0 -1
- package/build/index36.js +0 -2
- package/build/index36.js.map +0 -1
- package/build/index37.js +0 -2
- package/build/index37.js.map +0 -1
- package/build/index38.js +0 -2
- package/build/index38.js.map +0 -1
- package/build/index39.js +0 -2
- package/build/index39.js.map +0 -1
- package/build/index4.js +0 -2
- package/build/index4.js.map +0 -1
- package/build/index40.js +0 -2
- package/build/index40.js.map +0 -1
- package/build/index41.js +0 -2
- package/build/index41.js.map +0 -1
- package/build/index42.js +0 -2
- package/build/index42.js.map +0 -1
- package/build/index43.js +0 -2
- package/build/index43.js.map +0 -1
- package/build/index44.js +0 -2
- package/build/index44.js.map +0 -1
- package/build/index45.js +0 -2
- package/build/index45.js.map +0 -1
- package/build/index46.js +0 -2
- package/build/index46.js.map +0 -1
- package/build/index47.js +0 -2
- package/build/index47.js.map +0 -1
- package/build/index48.js +0 -2
- package/build/index48.js.map +0 -1
- package/build/index49.js +0 -2
- package/build/index49.js.map +0 -1
- package/build/index5.js +0 -2
- package/build/index5.js.map +0 -1
- package/build/index50.js +0 -2
- package/build/index50.js.map +0 -1
- package/build/index51.js +0 -2
- package/build/index51.js.map +0 -1
- package/build/index52.js +0 -2
- package/build/index52.js.map +0 -1
- package/build/index53.js +0 -2
- package/build/index53.js.map +0 -1
- package/build/index54.js +0 -2
- package/build/index54.js.map +0 -1
- package/build/index55.js +0 -2
- package/build/index55.js.map +0 -1
- package/build/index56.js +0 -2
- package/build/index56.js.map +0 -1
- package/build/index57.js +0 -2
- package/build/index57.js.map +0 -1
- package/build/index6.js +0 -2
- package/build/index6.js.map +0 -1
- package/build/index7.js +0 -2
- package/build/index7.js.map +0 -1
- package/build/index8.js +0 -2
- package/build/index8.js.map +0 -1
- package/build/index9.js +0 -2
- package/build/index9.js.map +0 -1
- package/build/link.component-f7e7a98b.js +0 -2
- package/build/link.component-f7e7a98b.js.map +0 -1
- package/build/logo.component-1e53641b.js +0 -2
- package/build/logo.component-1e53641b.js.map +0 -1
- package/build/menu.config-0bb35e06.js +0 -2
- package/build/menu.config-0bb35e06.js.map +0 -1
- package/build/menu.context-be7319dc.js +0 -2
- package/build/menu.context-be7319dc.js.map +0 -1
- package/build/menuButton.component-4af67844.js +0 -2
- package/build/menuButton.component-4af67844.js.map +0 -1
- package/build/menuContainer.component-60c21cb9.js +0 -2
- package/build/menuContainer.component-60c21cb9.js.map +0 -1
- package/build/menuItem.component-f3306361.js +0 -2
- package/build/menuItem.component-f3306361.js.map +0 -1
- package/build/menuList.component-851fc1b6.js +0 -2
- package/build/menuList.component-851fc1b6.js.map +0 -1
- package/build/notificationCounter.component-0f14c770.js +0 -2
- package/build/notificationCounter.component-0f14c770.js.map +0 -1
- package/build/notificationCounter.types-4352ab2c.js +0 -2
- package/build/notificationCounter.types-4352ab2c.js.map +0 -1
- package/build/popover.component-4e659039.js +0 -2
- package/build/popover.component-4e659039.js.map +0 -1
- package/build/popoverFooter.component-51ee4806.js +0 -2
- package/build/popoverFooter.component-51ee4806.js.map +0 -1
- package/build/radio.component-76b8e2f9.js +0 -2
- package/build/radio.component-76b8e2f9.js.map +0 -1
- package/build/ratingDot.component-017fa57d.js +0 -2
- package/build/ratingDot.component-017fa57d.js.map +0 -1
- package/build/select.component-b5b6891d.js +0 -2
- package/build/select.component-b5b6891d.js.map +0 -1
- package/build/sortable.esm-53c38ebd.js +0 -2
- package/build/sortable.esm-53c38ebd.js.map +0 -1
- package/build/sortableItem.context-576dd9fa.js +0 -2
- package/build/sortableItem.context-576dd9fa.js.map +0 -1
- package/build/sortableOverlay.component-e6d31b2d.js +0 -2
- package/build/sortableOverlay.component-e6d31b2d.js.map +0 -1
- package/build/spinner.component-038d96b2.js +0 -2
- package/build/spinner.component-038d96b2.js.map +0 -1
- package/build/strings-03c30366.js +0 -2
- package/build/strings-03c30366.js.map +0 -1
- package/build/switch.component-a7ea64e5.js +0 -2
- package/build/switch.component-a7ea64e5.js.map +0 -1
- package/build/tab.component-f61bcbe1.js +0 -2
- package/build/tab.component-f61bcbe1.js.map +0 -1
- package/build/tabs.component-c38561cd.js +0 -2
- package/build/tabs.component-c38561cd.js.map +0 -1
- package/build/text.component-eed5a904.js +0 -2
- package/build/text.component-eed5a904.js.map +0 -1
- package/build/textInput.component-ee159a0c.js +0 -2
- package/build/textInput.component-ee159a0c.js.map +0 -1
- package/build/textarea.component-21966487.js +0 -2
- package/build/textarea.component-21966487.js.map +0 -1
- package/build/theme.config-ee094e24.js +0 -2
- package/build/theme.config-ee094e24.js.map +0 -1
- package/build/theme.config.js +0 -2
- package/build/theme.config.js.map +0 -1
- package/build/theme.provider.js +0 -2
- package/build/theme.provider.js.map +0 -1
- package/build/timePicker.types-9db22493.js +0 -2
- package/build/timePicker.types-9db22493.js.map +0 -1
- package/build/tooltip.component-a78d9cba.js +0 -2
- package/build/tooltip.component-a78d9cba.js.map +0 -1
- package/build/truncatedText.component-be4ee0ae.js +0 -2
- package/build/truncatedText.component-be4ee0ae.js.map +0 -1
- package/build/tslib.es6-bb43a522.js +0 -16
- package/build/tslib.es6-bb43a522.js.map +0 -1
- package/build/useAdaptiveColor-65c8eb03.js +0 -2
- package/build/useAdaptiveColor-65c8eb03.js.map +0 -1
- package/build/useAdaptiveColorMap-58a2aac7.js +0 -2
- package/build/useAdaptiveColorMap-58a2aac7.js.map +0 -1
- package/build/useIconTextSizeMap-b81a72a5.js +0 -2
- package/build/useIconTextSizeMap-b81a72a5.js.map +0 -1
- package/build/useOverflowingText.js +0 -2
- package/build/useOverflowingText.js.map +0 -1
- package/build/useTheme.js +0 -2
- package/build/useTheme.js.map +0 -1
- package/build/useWindowSize.js +0 -2
- package/build/useWindowSize.js.map +0 -1
- package/build/withDarkMode-6e6bfb8e.js +0 -2
- package/build/withDarkMode-6e6bfb8e.js.map +0 -1
- /package/build/components/Disclosure/Tabs/{components/Tab/tab.types.d.ts → tabs.types.d.ts} +0 -0
- /package/build/components/Draggable/{SortableList/utilities → utilities}/createRange.d.ts +0 -0
- /package/build/components/Draggable/{SortableList/utilities → utilities}/index.d.ts +0 -0
- /package/build/components/Forms/DatePicker/{context/datepicker.context.d.ts → datepicker.context.d.ts} +0 -0
- /package/build/components/Overlay/Menu/{context/menu.context.d.ts → menu.context.d.ts} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
1
|
+
export * from './notificationCounter.component';
|
|
2
|
+
export * from './notificationCounter.types';
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { NotificationCounterSize, NotificationCounterVariant } from './notificationCounter.types';
|
|
2
1
|
import { FlexProps } from '@chakra-ui/react';
|
|
2
|
+
import { NotificationCounterSize, NotificationCounterVariant } from './notificationCounter.types';
|
|
3
3
|
export interface NotificationCounterProps extends FlexProps {
|
|
4
4
|
count?: number;
|
|
5
5
|
size?: NotificationCounterSize;
|
|
6
6
|
showCount?: boolean;
|
|
7
7
|
variant?: NotificationCounterVariant;
|
|
8
8
|
}
|
|
9
|
-
declare const NotificationCounter: ({ count, size, showCount, variant, ...rest }: NotificationCounterProps) => JSX.Element;
|
|
10
|
-
export default NotificationCounter;
|
|
9
|
+
export declare const NotificationCounter: ({ count, size, showCount, variant, ...rest }: NotificationCounterProps) => JSX.Element;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
1
|
+
export * from './tag.component';
|
|
2
|
+
export * from './tag.config';
|
|
3
|
+
export * from './tag.types';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { TagProps as
|
|
2
|
+
import { TagProps as ChakraTagProps } from '@chakra-ui/react';
|
|
3
3
|
import { TagSize } from './tag.types';
|
|
4
|
-
export interface TagProps extends
|
|
4
|
+
export interface TagProps extends ChakraTagProps {
|
|
5
5
|
leftElement?: JSX.Element;
|
|
6
6
|
rightElement?: JSX.Element;
|
|
7
7
|
label: string;
|
|
@@ -10,5 +10,4 @@ export interface TagProps extends CTagProps {
|
|
|
10
10
|
onClose?: React.MouseEventHandler<HTMLButtonElement>;
|
|
11
11
|
fontWeight?: 'regular' | 'semibold';
|
|
12
12
|
}
|
|
13
|
-
declare const Tag: ({ leftElement, rightElement, label, showCloseButton, onClose, fontWeight, size, ...rest }: TagProps) => JSX.Element;
|
|
14
|
-
export default Tag;
|
|
13
|
+
export declare const Tag: ({ leftElement, rightElement, label, showCloseButton, onClose, fontWeight, size, ...rest }: TagProps) => JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TabProps as CTabProps } from '@chakra-ui/react';
|
|
2
|
-
import { NotificationCounterVariant } from 'components/DataDisplay
|
|
3
|
-
import { TabSize } from '
|
|
4
|
-
import { IconName } from '
|
|
2
|
+
import { NotificationCounterVariant } from 'components/DataDisplay';
|
|
3
|
+
import { TabSize } from '../../tabs.types';
|
|
4
|
+
import { IconName } from '@televet/kibble-icons';
|
|
5
5
|
export interface TabProps extends CTabProps {
|
|
6
6
|
iconName?: IconName;
|
|
7
7
|
label: string;
|
|
@@ -10,5 +10,4 @@ export interface TabProps extends CTabProps {
|
|
|
10
10
|
notificationCounterVariant?: NotificationCounterVariant;
|
|
11
11
|
size?: TabSize;
|
|
12
12
|
}
|
|
13
|
-
declare const Tab: ({ iconName, label, showNotificationCounter, notificationCount, notificationCounterVariant, size, ...rest }: TabProps) => JSX.Element;
|
|
14
|
-
export default Tab;
|
|
13
|
+
export declare const Tab: ({ iconName, label, showNotificationCounter, notificationCount, notificationCounterVariant, size, ...rest }: TabProps) => JSX.Element;
|
|
@@ -3,5 +3,4 @@ import { TabsProps } from '../../tabs.component';
|
|
|
3
3
|
export interface TabsLayoutProps extends TabsProps {
|
|
4
4
|
tabPanels: JSX.Element[];
|
|
5
5
|
}
|
|
6
|
-
declare const TabsLayout: (props: TabsLayoutProps) => JSX.Element;
|
|
7
|
-
export default TabsLayout;
|
|
6
|
+
export declare const TabsLayout: (props: TabsLayoutProps) => JSX.Element;
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
-
import Tabs from './tabs.component';
|
|
2
|
-
export default Tabs;
|
|
3
1
|
export { Tabs as CTabs, TabList, TabPanel, TabPanels } from '@chakra-ui/react';
|
|
2
|
+
export * from './components/Tab/tab.component';
|
|
3
|
+
export * from './components/TabsLayout/tabsLayout.component';
|
|
4
|
+
export * from './tabs.component';
|
|
5
|
+
export * from './tabs.config';
|
|
6
|
+
export * from './tabs.types';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { StyleProps } from '@chakra-ui/react';
|
|
3
3
|
import { Alignment, Dict } from 'shared/types';
|
|
4
4
|
import { TabProps } from './components/Tab/tab.component';
|
|
5
|
-
import { TabSize } from './
|
|
5
|
+
import { TabSize } from './tabs.types';
|
|
6
6
|
export interface TabsProps extends StyleProps {
|
|
7
7
|
size?: TabSize;
|
|
8
8
|
tabList: TabProps[];
|
|
@@ -16,5 +16,4 @@ export interface TabsProps extends StyleProps {
|
|
|
16
16
|
index?: number;
|
|
17
17
|
onChange?: (index: number) => void;
|
|
18
18
|
}
|
|
19
|
-
declare const Tabs: ({ size, tabList, tabPanels, tabPanelsStyle, ...rest }: TabsProps) => JSX.Element;
|
|
20
|
-
export default Tabs;
|
|
19
|
+
export declare const Tabs: ({ size, tabList, tabPanels, tabPanelsStyle, ...rest }: TabsProps) => JSX.Element;
|
package/build/components/Draggable/SortableList/components/DragHandle/dragHandle.component.d.ts
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import { ButtonProps } from '
|
|
2
|
-
declare const DragHandle: ({ ...rest }: ButtonProps) => JSX.Element;
|
|
3
|
-
export default DragHandle;
|
|
1
|
+
import { ButtonProps } from '../../../../Forms';
|
|
2
|
+
export declare const DragHandle: ({ ...rest }: ButtonProps) => JSX.Element;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export default DragHandle;
|
|
1
|
+
export { DragHandle } from './dragHandle.component';
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export default SortableItem;
|
|
1
|
+
export { SortableItem } from './sortableItem.component';
|
package/build/components/Draggable/SortableList/components/SortableItem/sortableItem.component.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import type { CSSProperties, PropsWithChildren } from 'react';
|
|
2
|
-
import { UniqueIdentifier } from '@dnd-kit/core';
|
|
2
|
+
import type { UniqueIdentifier } from '@dnd-kit/core';
|
|
3
3
|
export interface SortableItemProps {
|
|
4
4
|
id: UniqueIdentifier;
|
|
5
5
|
style?: CSSProperties;
|
|
6
6
|
onRemove?(id: UniqueIdentifier): void;
|
|
7
7
|
}
|
|
8
|
-
declare const SortableItem: ({ children, id, style: userStyle, onRemove, }: PropsWithChildren<SortableItemProps>) => JSX.Element;
|
|
9
|
-
export default SortableItem;
|
|
8
|
+
export declare const SortableItem: ({ children, id, style: userStyle, onRemove, }: PropsWithChildren<SortableItemProps>) => JSX.Element;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export default SortableOverlay;
|
|
1
|
+
export { SortableOverlay } from './sortableOverlay.component';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PropsWithChildren } from 'react';
|
|
2
2
|
interface Props {
|
|
3
3
|
}
|
|
4
|
-
declare const SortableOverlay: ({ children }: PropsWithChildren<Props>) => JSX.Element;
|
|
5
|
-
export
|
|
4
|
+
export declare const SortableOverlay: ({ children }: PropsWithChildren<Props>) => JSX.Element;
|
|
5
|
+
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
1
|
+
export * from './sortableList.component';
|
|
2
|
+
export * from './components';
|
|
@@ -10,5 +10,4 @@ export interface SortableProps<T extends SortableItemProps> {
|
|
|
10
10
|
renderItem(item: T, index?: number): ReactNode;
|
|
11
11
|
style?: CSSProperties;
|
|
12
12
|
}
|
|
13
|
-
declare const SortableList: <T extends SortableItemProps>({ items, onChange, renderItem, style: userStyle, }: SortableProps<T>) => JSX.Element;
|
|
14
|
-
export default SortableList;
|
|
13
|
+
export declare const SortableList: <T extends SortableItemProps>({ items, onChange, renderItem, style: userStyle, }: SortableProps<T>) => JSX.Element;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
2
|
import { AlertProps as CAlertProps } from '@chakra-ui/react';
|
|
3
|
-
import { IconProps } from 'components/MediaAndIcons
|
|
3
|
+
import { IconProps } from 'components/MediaAndIcons';
|
|
4
4
|
import { AlertVariant } from './alert.types';
|
|
5
|
-
import { TextProps } from 'components/Typography/Text
|
|
5
|
+
import { TextProps } from 'components/Typography/Text';
|
|
6
6
|
import { Status } from '../feedback.types';
|
|
7
|
-
import { HeadingProps } from '../../Typography
|
|
7
|
+
import { HeadingProps } from '../../Typography';
|
|
8
8
|
import { AlertButtonProps } from './components/alertButton.component';
|
|
9
9
|
export interface AlertProps extends Omit<CAlertProps, 'title'> {
|
|
10
10
|
buttonProps?: AlertButtonProps;
|
|
@@ -19,5 +19,4 @@ export interface AlertProps extends Omit<CAlertProps, 'title'> {
|
|
|
19
19
|
title?: string | ReactNode;
|
|
20
20
|
titleProps?: HeadingProps;
|
|
21
21
|
}
|
|
22
|
-
declare const Alert: ({ buttonProps, children, description, descriptionProps, iconProps, onClose, hideCloseButton, hideIcon, status, title, titleProps, ...rest }: AlertProps) => JSX.Element;
|
|
23
|
-
export default Alert;
|
|
22
|
+
export declare const Alert: ({ buttonProps, children, description, descriptionProps, iconProps, onClose, hideCloseButton, hideIcon, status, title, titleProps, ...rest }: AlertProps) => JSX.Element;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { ButtonProps } from 'components/Forms/Button
|
|
1
|
+
import { ButtonProps } from '../../../../components/Forms/Button';
|
|
2
2
|
export interface AlertButtonProps extends ButtonProps {
|
|
3
3
|
buttonPosition?: 'topRight' | 'bottomLeft';
|
|
4
4
|
buttonText: string;
|
|
5
5
|
hasDescription?: boolean;
|
|
6
6
|
}
|
|
7
|
-
declare const AlertButton: (buttonProps: AlertButtonProps) => JSX.Element;
|
|
8
|
-
export default AlertButton;
|
|
7
|
+
export declare const AlertButton: (buttonProps: AlertButtonProps) => JSX.Element;
|
|
@@ -2,5 +2,4 @@ import React from 'react';
|
|
|
2
2
|
export interface AlertCloseButtonProps {
|
|
3
3
|
onClose?: React.MouseEventHandler<HTMLButtonElement>;
|
|
4
4
|
}
|
|
5
|
-
declare const AlertCloseButton: (props: AlertCloseButtonProps) => JSX.Element;
|
|
6
|
-
export default AlertCloseButton;
|
|
5
|
+
export declare const AlertCloseButton: (props: AlertCloseButtonProps) => JSX.Element;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import { TextProps } from 'components/Typography/Text
|
|
2
|
+
import { TextProps } from '../../../../components/Typography/Text';
|
|
3
3
|
export interface AlertDescriptionProps {
|
|
4
4
|
description?: string | ReactNode;
|
|
5
5
|
descriptionProps?: TextProps;
|
|
6
6
|
}
|
|
7
|
-
declare const AlertDescription: (props: AlertDescriptionProps) => JSX.Element;
|
|
8
|
-
export default AlertDescription;
|
|
7
|
+
export declare const AlertDescription: (props: AlertDescriptionProps) => JSX.Element;
|
|
@@ -2,5 +2,4 @@ import { ReactNode } from 'react';
|
|
|
2
2
|
export interface AlertHeaderProps {
|
|
3
3
|
children: ReactNode;
|
|
4
4
|
}
|
|
5
|
-
declare const AlertHeader: (props: AlertHeaderProps) => JSX.Element;
|
|
6
|
-
export default AlertHeader;
|
|
5
|
+
export declare const AlertHeader: (props: AlertHeaderProps) => JSX.Element;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { IconProps } from 'components/MediaAndIcons
|
|
1
|
+
import { IconProps } from '../../../../components/MediaAndIcons';
|
|
2
2
|
import { AlertVariant } from '../alert.types';
|
|
3
3
|
import { Status } from '../../feedback.types';
|
|
4
4
|
export interface AlertIconProps {
|
|
5
5
|
iconProps?: IconProps;
|
|
6
6
|
status: AlertVariant | Status;
|
|
7
7
|
}
|
|
8
|
-
declare const AlertIcon: (props: AlertIconProps) => JSX.Element;
|
|
9
|
-
export default AlertIcon;
|
|
8
|
+
export declare const AlertIcon: (props: AlertIconProps) => JSX.Element;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import { HeadingProps } from '
|
|
2
|
+
import { HeadingProps } from '../../../Typography';
|
|
3
3
|
export interface AlertTitleProps {
|
|
4
4
|
title?: string | ReactNode;
|
|
5
5
|
titleProps?: HeadingProps;
|
|
6
6
|
}
|
|
7
7
|
export declare const AlertTitle: (props: AlertTitleProps) => JSX.Element;
|
|
8
|
-
export default AlertTitle;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
1
|
+
export * from './spinner.component';
|
|
2
|
+
export * from './spinner.types';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { SpinnerSize } from './spinner.types';
|
|
2
|
-
export declare const
|
|
2
|
+
export declare const SpinnerSizMap: Record<SpinnerSize, number>;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export default useToast;
|
|
1
|
+
export * from './useToast';
|
|
@@ -1,2 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
export declare type LogicalToastPosition = 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end';
|
|
2
|
+
export declare type ToastPositionWithLogical = LogicalToastPosition | 'top' | 'top-left' | 'top-right' | 'bottom' | 'bottom-left' | 'bottom-right';
|
|
3
|
+
export declare type ToastPosition = Exclude<ToastPositionWithLogical, LogicalToastPosition>;
|
|
4
|
+
export declare type WithoutLogicalPosition<T> = Omit<T, 'position'> & {
|
|
5
|
+
position?: ToastPosition;
|
|
6
|
+
};
|
|
2
7
|
export declare function getToastPlacement(position: ToastPositionWithLogical | undefined, dir: 'ltr' | 'rtl'): ToastPosition | undefined;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import { ColorMode, useChakra } from '@chakra-ui/system';
|
|
2
3
|
import { CloseAllToastsOptions, ToastOptions, ToastPositionWithLogical } from '@chakra-ui/react';
|
|
3
4
|
import { ToastId } from '@chakra-ui/toast/dist/declarations/src/toast.types';
|
|
4
|
-
import { AlertProps } from '../Alert
|
|
5
|
+
import { AlertProps } from '../Alert';
|
|
5
6
|
interface Toaster {
|
|
6
7
|
(options?: UseToastOptions | undefined): string | number | undefined;
|
|
7
8
|
close: (id: React.ReactText) => void;
|
|
@@ -39,9 +40,18 @@ export interface UseToastOptions extends Omit<AlertProps, 'id' | 'position'> {
|
|
|
39
40
|
*/
|
|
40
41
|
containerStyle?: React.CSSProperties;
|
|
41
42
|
}
|
|
43
|
+
export declare type CreateStandAloneToastParam = Partial<ReturnType<typeof useChakra> & {
|
|
44
|
+
setColorMode: (value: ColorMode) => void;
|
|
45
|
+
defaultOptions: UseToastOptions;
|
|
46
|
+
}>;
|
|
47
|
+
export declare const defaultStandaloneParam: Required<CreateStandAloneToastParam>;
|
|
48
|
+
/**
|
|
49
|
+
* Create a toast from outside of React Components
|
|
50
|
+
*/
|
|
51
|
+
export declare const createStandaloneToast: ({ theme, defaultOptions, }?: CreateStandAloneToastParam) => Toaster;
|
|
42
52
|
/**
|
|
43
53
|
* React hook used to create a function that can be used
|
|
44
54
|
* to show toasts in an application.
|
|
45
55
|
*/
|
|
46
|
-
declare const useToast: (options?: UseToastOptions | undefined) => Toaster;
|
|
56
|
+
export declare const useToast: (options?: UseToastOptions | undefined) => Toaster;
|
|
47
57
|
export default useToast;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IconColor } from 'components/MediaAndIcons/Icon/icon.types';
|
|
2
1
|
import { Status } from './feedback.types';
|
|
2
|
+
import { IconColor } from '../MediaAndIcons';
|
|
3
3
|
export declare const LightStatusVariantMap: Record<Status, string>;
|
|
4
4
|
export declare const DarkStatusVariantMap: Record<Status, string>;
|
|
5
5
|
export declare const AlertIconColorMap: Record<Status, IconColor>;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
|
-
import { ButtonProps as
|
|
3
|
-
import { IconsSize
|
|
4
|
-
import {
|
|
5
|
-
|
|
2
|
+
import { ButtonProps as ChakraButtonProps } from '@chakra-ui/react';
|
|
3
|
+
import { IconsSize } from '../../MediaAndIcons';
|
|
4
|
+
import { ButtonSizeType, ButtonVariantType } from './button.types';
|
|
5
|
+
import { IconName } from '@televet/kibble-icons';
|
|
6
|
+
export interface ButtonProps extends ChakraButtonProps {
|
|
6
7
|
children?: ReactNode;
|
|
7
8
|
variant?: ButtonVariantType;
|
|
8
9
|
size?: ButtonSizeType;
|
|
9
10
|
iconName?: IconName;
|
|
10
11
|
iconSize?: IconsSize;
|
|
11
|
-
iconPosition?:
|
|
12
|
+
iconPosition?: 'left' | 'right' | 'top';
|
|
12
13
|
darkMode?: boolean;
|
|
13
14
|
}
|
|
14
|
-
declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
15
|
-
export default Button;
|
|
15
|
+
export declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -5,5 +5,4 @@ export interface ButtonVariantConfigType extends AdaptiveColorMap<ButtonColorOpt
|
|
|
5
5
|
export declare type ButtonVariantType = 'primary' | 'primaryDestructive' | 'secondary' | 'secondaryDestructive' | 'secondarySubtle' | 'secondarySubtleDestructive' | 'tertiary' | 'tertiaryDestructive' | 'ghost' | 'ghostNeutral' | 'ghostDestructive';
|
|
6
6
|
export declare type ButtonColorOptionsType = 'content' | 'default' | 'hover' | 'active' | 'border';
|
|
7
7
|
export declare type ButtonSizeType = 'xs' | 'sm' | 'md' | 'lg';
|
|
8
|
-
export declare type ButtonIconPosition = 'left' | 'right' | 'top';
|
|
9
8
|
export declare type ButtonStyleType = Record<ButtonVariantType, ButtonVariantConfigType>;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
1
|
+
export * from './button.component';
|
|
2
|
+
export * from './button.types';
|
|
3
|
+
export * from './button.config';
|
|
@@ -4,5 +4,4 @@ export interface CheckboxProps extends CCheckboxProps {
|
|
|
4
4
|
size?: CheckboxSize;
|
|
5
5
|
variant?: CheckboxVariant;
|
|
6
6
|
}
|
|
7
|
-
declare const Checkbox: ({ children, size, variant, m, mb, mt, mr, ml, ...rest }: CheckboxProps) => JSX.Element;
|
|
8
|
-
export default Checkbox;
|
|
7
|
+
export declare const Checkbox: ({ children, size, variant, m, mb, mt, mr, ml, ...rest }: CheckboxProps) => JSX.Element;
|
package/build/components/Forms/Checkbox/components/CheckboxGroup/checkboxGroup.component.d.ts
CHANGED
|
@@ -12,5 +12,5 @@ export interface CheckboxGroupProps extends WithFormControlProps, CCheckboxGroup
|
|
|
12
12
|
isFieldInline?: boolean;
|
|
13
13
|
variant?: CheckboxVariant;
|
|
14
14
|
}
|
|
15
|
-
declare const
|
|
16
|
-
export
|
|
15
|
+
declare const WrappedCheckboxGroup: React.FC<CheckboxGroupProps>;
|
|
16
|
+
export { WrappedCheckboxGroup as CheckboxGroup };
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
-
import Checkbox from './checkbox.component';
|
|
2
|
-
export default Checkbox;
|
|
3
1
|
export { CheckboxGroup as CCheckboxGroup, useCheckbox, useCheckboxGroup } from '@chakra-ui/react';
|
|
2
|
+
export * from './components/CheckboxGroup/checkboxGroup.component';
|
|
3
|
+
export * from './checkbox.component';
|
|
4
|
+
export * from './checkbox.config';
|
|
5
|
+
export * from './checkbox.types';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PlacementWithLogical } from '@chakra-ui/react';
|
|
2
|
-
import { TextInputProps } from '
|
|
2
|
+
import { TextInputProps } from '..';
|
|
3
3
|
import { DateFormats } from './datepicker.types';
|
|
4
4
|
export interface DatePickerProps {
|
|
5
5
|
date: Date | null;
|
|
@@ -18,5 +18,4 @@ export interface DatePickerProps {
|
|
|
18
18
|
*
|
|
19
19
|
* More dateFormat info: https://github.com/date-fns/date-fns/blob/main/docs/unicodeTokens.md
|
|
20
20
|
*/
|
|
21
|
-
declare const DatePicker: ({ date, onDateChange, inputProps, placement, dateFormat, minYear, maxYear, }: DatePickerProps) => JSX.Element;
|
|
22
|
-
export default DatePicker;
|
|
21
|
+
export declare const DatePicker: ({ date, onDateChange, inputProps, placement, dateFormat, minYear, maxYear, }: DatePickerProps) => JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
1
|
+
export * from './datepicker.component';
|
|
2
|
+
export * from './datepicker.context';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
2
|
import { Dict } from 'shared/types';
|
|
3
3
|
import { FormControlSize, HelperTextAlignment } from './formControl.types';
|
|
4
|
-
import { IconColor } from '
|
|
4
|
+
import { IconColor } from '../../MediaAndIcons';
|
|
5
5
|
export interface WithFormControlProps {
|
|
6
6
|
errorText?: string;
|
|
7
7
|
helperText?: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './formControl.types';
|
|
@@ -11,5 +11,5 @@ export interface RadioGroupProps extends WithFormControlProps, Omit<CRadioGroupP
|
|
|
11
11
|
spacing?: SystemProps['margin'];
|
|
12
12
|
isFieldInline?: boolean;
|
|
13
13
|
}
|
|
14
|
-
declare const
|
|
15
|
-
export
|
|
14
|
+
declare const WrappedRadioGroup: React.FC<RadioGroupProps>;
|
|
15
|
+
export { WrappedRadioGroup as RadioGroup };
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
-
import RadioGroup from './radio.component';
|
|
2
|
-
export default RadioGroup;
|
|
3
1
|
export { RadioGroup as CRadioGroup, useRadio, useRadioGroup } from '@chakra-ui/react';
|
|
2
|
+
export * from './components/RadioGroup/radioGroup.component';
|
|
3
|
+
export * from './radio.component';
|
|
4
|
+
export * from './radio.config';
|
|
5
|
+
export * from './radio.types';
|
|
@@ -4,5 +4,4 @@ export interface RadioProps extends CRadioProps {
|
|
|
4
4
|
size?: RadioSize;
|
|
5
5
|
isFieldInline?: boolean;
|
|
6
6
|
}
|
|
7
|
-
declare const Radio: ({ children, size, isFieldInline, ...rest }: RadioProps) => JSX.Element;
|
|
8
|
-
export default Radio;
|
|
7
|
+
export declare const Radio: ({ children, size, isFieldInline, ...rest }: RadioProps) => JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
1
|
+
export * from './ratingDot.component';
|
|
2
|
+
export * from './ratingDots.component';
|
|
@@ -5,5 +5,4 @@ export interface IRatingDotProps {
|
|
|
5
5
|
onClick?: (value: number) => void;
|
|
6
6
|
selected: boolean;
|
|
7
7
|
}
|
|
8
|
-
declare const RatingDot: ({ number, isInteractive, isDisabled, onClick, selected }: IRatingDotProps) => JSX.Element;
|
|
9
|
-
export default RatingDot;
|
|
8
|
+
export declare const RatingDot: ({ number, isInteractive, isDisabled, onClick, selected }: IRatingDotProps) => JSX.Element;
|
|
@@ -9,5 +9,4 @@ export interface IRatingDotsProps {
|
|
|
9
9
|
onClick?: (value: number) => void;
|
|
10
10
|
selected?: number;
|
|
11
11
|
}
|
|
12
|
-
declare const RatingDots: ({ minValue, maxValue, minLabel, maxLabel, centeredLabel, isDisabled, isInteractive, onClick, selected, }: IRatingDotsProps) => JSX.Element;
|
|
13
|
-
export default RatingDots;
|
|
12
|
+
export declare const RatingDots: ({ minValue, maxValue, minLabel, maxLabel, centeredLabel, isDisabled, isInteractive, onClick, selected, }: IRatingDotsProps) => JSX.Element;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
1
|
import { BrowserDefaultSelectProps } from '../../select.component';
|
|
2
|
-
declare const SelectBrowserDefault: (props: BrowserDefaultSelectProps) => JSX.Element;
|
|
3
|
-
export default SelectBrowserDefault;
|
|
2
|
+
export declare const SelectBrowserDefault: (props: BrowserDefaultSelectProps) => JSX.Element;
|
package/build/components/Forms/Select/components/SelectContainer/selectContainer.component.d.ts
CHANGED
|
@@ -5,5 +5,4 @@ export interface SelectContainerProps {
|
|
|
5
5
|
defaultLeftElement: ReactNode;
|
|
6
6
|
shouldTruncateText?: boolean;
|
|
7
7
|
}
|
|
8
|
-
declare const SelectContainer: ({ selectedOption, defaultLeftElement, shouldTruncateText, }: SelectContainerProps) => JSX.Element;
|
|
9
|
-
export default SelectContainer;
|
|
8
|
+
export declare const SelectContainer: ({ selectedOption, defaultLeftElement, shouldTruncateText, }: SelectContainerProps) => JSX.Element;
|
|
@@ -3,5 +3,4 @@ import { SelectOptionProps } from 'components/Forms/Select/select.types';
|
|
|
3
3
|
export interface SelectListProps extends Omit<MenuListProps, 'canSelectAll' | 'canSelectGroups' | 'isMultiSelect' | 'onSelectAll' | 'menuItems'> {
|
|
4
4
|
options?: SelectOptionProps[];
|
|
5
5
|
}
|
|
6
|
-
declare const SelectList: (props: SelectListProps) => JSX.Element;
|
|
7
|
-
export default SelectList;
|
|
6
|
+
export declare const SelectList: (props: SelectListProps) => JSX.Element;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
1
|
+
export * from './select.component';
|
|
2
|
+
export * from './select.config';
|
|
3
|
+
export * from './select.types';
|
|
@@ -3,8 +3,8 @@ import { SelectProps as CSelectProps } from '@chakra-ui/react';
|
|
|
3
3
|
import { WithFormControlProps } from '../FormControl/formControl.component';
|
|
4
4
|
import { SelectOptionProps } from 'components/Forms/Select/select.types';
|
|
5
5
|
import { SelectListProps } from './components/SelectList/selectList.component';
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
6
|
+
import { FormControlSize } from '../FormControl';
|
|
7
|
+
import { TextColor } from 'components/Typography';
|
|
8
8
|
export interface SelectBaseProps extends WithFormControlProps, CSelectProps {
|
|
9
9
|
options: SelectOptionProps[];
|
|
10
10
|
size?: FormControlSize;
|
|
@@ -23,5 +23,5 @@ export interface CustomSelectProps extends SelectBaseProps {
|
|
|
23
23
|
useBrowserDefaultMenu?: never;
|
|
24
24
|
}
|
|
25
25
|
export declare type SelectProps = BrowserDefaultSelectProps | CustomSelectProps;
|
|
26
|
-
declare const
|
|
27
|
-
export
|
|
26
|
+
declare const WrappedSelect: React.FC<SelectProps>;
|
|
27
|
+
export { WrappedSelect as Select };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
1
|
+
export * from './switch.component';
|
|
2
|
+
export * from './switch.config';
|
|
@@ -7,5 +7,5 @@ export interface SwitchProps extends WithFormControlProps, CSwitchProps {
|
|
|
7
7
|
isIndeterminate?: boolean;
|
|
8
8
|
size?: FormControlSize;
|
|
9
9
|
}
|
|
10
|
-
declare const
|
|
11
|
-
export
|
|
10
|
+
declare const WrappedSwitch: React.FC<SwitchProps>;
|
|
11
|
+
export { WrappedSwitch as Switch };
|
|
@@ -3,5 +3,4 @@ export interface ClearButtonProps {
|
|
|
3
3
|
handleClear?: () => void;
|
|
4
4
|
size?: FormControlSize;
|
|
5
5
|
}
|
|
6
|
-
declare const ClearButton: ({ handleClear, size }: ClearButtonProps) => JSX.Element;
|
|
7
|
-
export default ClearButton;
|
|
6
|
+
export declare const ClearButton: ({ handleClear, size }: ClearButtonProps) => JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
1
|
+
export * from './textInput.component';
|
|
2
|
+
export * from './textInput.config';
|
|
@@ -17,5 +17,5 @@ export interface ClearableTextInputProps extends TextInputBaseProps {
|
|
|
17
17
|
onClear: (val: string | number | readonly string[]) => void;
|
|
18
18
|
}
|
|
19
19
|
export declare type TextInputProps = DefaultTextInputProps | ClearableTextInputProps;
|
|
20
|
-
declare const
|
|
21
|
-
export
|
|
20
|
+
declare const WrappedTextInput: React.ForwardRefExoticComponent<TextInputProps & React.RefAttributes<HTMLInputElement>>;
|
|
21
|
+
export { WrappedTextInput as TextInput };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
1
|
+
export * from './textarea.component';
|
|
2
|
+
export * from './textarea.config';
|