@bloomreach/react-banana-ui 1.26.0 → 1.27.1
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/README.md +42 -45
- package/dist/bloomreach-react-banana-ui.es.js +12604 -12678
- package/dist/bloomreach-react-banana-ui.es.js.map +1 -1
- package/dist/bloomreach-react-banana-ui.umd.js +21 -20
- package/dist/bloomreach-react-banana-ui.umd.js.map +1 -1
- package/dist/components/buttons/button/button.qa.stories.d.ts +1 -1
- package/dist/components/buttons/button/button.stories.d.ts +1 -1
- package/dist/components/buttons/button/button.types.d.ts +2 -2
- package/dist/components/buttons/button-group/button-group.qa.stories.d.ts +1 -1
- package/dist/components/buttons/button-group/button-group.stories.d.ts +1 -1
- package/dist/components/buttons/toggle-button/toggle-button.d.ts +3 -3
- package/dist/components/buttons/toggle-button/toggle-button.stories.d.ts +2 -2
- package/dist/components/buttons/toggle-button/toggle-button.types.d.ts +1 -1
- package/dist/components/buttons/toggle-button-group/toggle-button-group.d.ts +3 -4
- package/dist/components/buttons/toggle-button-group/toggle-button-group.stories.d.ts +1 -1
- package/dist/components/buttons/toggle-button-group/toggle-button-group.types.d.ts +14 -14
- package/dist/components/data-display/actions-container/actions-container.qa.stories.d.ts +1 -1
- package/dist/components/data-display/actions-container/actions-container.stories.d.ts +1 -1
- package/dist/components/data-display/actions-container/actions-container.types.d.ts +4 -4
- package/dist/components/data-display/asset-tag/asset-tag.qa.stories.d.ts +1 -1
- package/dist/components/data-display/asset-tag/asset-tag.stories.d.ts +1 -1
- package/dist/components/data-display/asset-tag/asset-tag.types.d.ts +9 -9
- package/dist/components/data-display/badge/badge.qa.stories.d.ts +1 -1
- package/dist/components/data-display/badge/badge.stories.d.ts +1 -1
- package/dist/components/data-display/badge/badge.types.d.ts +1 -1
- package/dist/components/data-display/description/description.qa.stories.d.ts +1 -1
- package/dist/components/data-display/description/description.stories.d.ts +1 -1
- package/dist/components/data-display/description/description.types.d.ts +4 -4
- package/dist/components/data-display/filter-tag/filter-tag.qa.stories.d.ts +1 -1
- package/dist/components/data-display/filter-tag/filter-tag.stories.d.ts +1 -1
- package/dist/components/data-display/filter-tag/filter-tag.types.d.ts +8 -8
- package/dist/components/data-display/header/header.qa.stories.d.ts +1 -1
- package/dist/components/data-display/header/header.stories.d.ts +1 -1
- package/dist/components/data-display/header/header.types.d.ts +4 -4
- package/dist/components/data-display/index.d.ts +2 -2
- package/dist/components/data-display/input-tag/input-tag.qa.stories.d.ts +1 -1
- package/dist/components/data-display/input-tag/input-tag.stories.d.ts +1 -1
- package/dist/components/data-display/input-tag/input-tag.types.d.ts +16 -16
- package/dist/components/data-display/table/table-context.d.ts +1 -1
- package/dist/components/data-display/table/table-section-context.d.ts +1 -1
- package/dist/components/data-display/table/table.qa.stories.d.ts +1 -1
- package/dist/components/data-display/table/table.stories.d.ts +1 -1
- package/dist/components/data-display/table/table.types.d.ts +10 -10
- package/dist/components/data-display/table-body/table-body.types.d.ts +5 -5
- package/dist/components/data-display/table-cell/table-cell.types.d.ts +5 -5
- package/dist/components/data-display/table-cell-action/table-cell-action.types.d.ts +4 -4
- package/dist/components/data-display/table-foot/table-foot.d.ts +5 -5
- package/dist/components/data-display/table-foot/table-foot.types.d.ts +4 -4
- package/dist/components/data-display/table-head/table-head.types.d.ts +4 -4
- package/dist/components/data-display/table-row/table-row-context.d.ts +1 -1
- package/dist/components/data-display/table-row/table-row.types.d.ts +4 -4
- package/dist/components/data-display/table-sort-label/table-sort-label.types.d.ts +5 -5
- package/dist/components/data-display/tag/tag.types.d.ts +18 -18
- package/dist/components/data-display/tag-group/tag-group.qa.stories.d.ts +1 -1
- package/dist/components/data-display/tag-group/tag-group.stories.d.ts +1 -1
- package/dist/components/data-display/tag-group/tag-group.types.d.ts +4 -4
- package/dist/components/data-display/typography/typography.d.ts +23 -2
- package/dist/components/data-display/typography/typography.qa.stories.d.ts +1 -1
- package/dist/components/data-display/typography/typography.stories.d.ts +1 -1
- package/dist/components/data-display/typography/typography.types.d.ts +22 -23
- package/dist/components/dropdowns/menu/index.d.ts +6 -6
- package/dist/components/dropdowns/menu/menu/menu.stories.d.ts +1 -1
- package/dist/components/dropdowns/menu/menu/menu.types.d.ts +4 -4
- package/dist/components/dropdowns/menu/menu-button/menu-button.d.ts +1 -2
- package/dist/components/dropdowns/menu/menu-button/menu-button.stories.d.ts +1 -1
- package/dist/components/dropdowns/menu/menu-button/menu-button.types.d.ts +1 -2
- package/dist/components/dropdowns/menu/menu-content/menu-content.stories.d.ts +1 -1
- package/dist/components/dropdowns/menu/menu-group/menu-group.stories.d.ts +1 -1
- package/dist/components/dropdowns/menu/menu-group-label/menu-group-label.stories.d.ts +1 -1
- package/dist/components/dropdowns/menu/menu-item/menu-item.stories.d.ts +1 -1
- package/dist/components/dropdowns/menu/menu-item/menu-item.types.d.ts +4 -4
- package/dist/components/dropdowns/menu/menu-separator/menu-separator.stories.d.ts +1 -1
- package/dist/components/dropdowns/menu/menu.stories.d.ts +1 -1
- package/dist/components/feedback/alert/alert.qa.stories.d.ts +1 -1
- package/dist/components/feedback/alert/alert.stories.d.ts +1 -1
- package/dist/components/feedback/alert/alert.types.d.ts +9 -9
- package/dist/components/foundations/icon/deprecated/index.d.ts +4 -4
- package/dist/components/foundations/icon/icon.d.ts +1 -1
- package/dist/components/foundations/icon/icon.qa.stories.d.ts +1 -1
- package/dist/components/foundations/icon/icon.stories.d.ts +1 -1
- package/dist/components/foundations/icon/icon.types.d.ts +4 -4
- package/dist/components/foundations/icon/icons/index.d.ts +245 -245
- package/dist/components/foundations/icon/index.d.ts +1 -1
- package/dist/components/inputs/autocomplete/autocomplete.qa.stories.d.ts +4 -2
- package/dist/components/inputs/autocomplete/autocomplete.stories.d.ts +9 -7
- package/dist/components/inputs/autocomplete/autocomplete.types.d.ts +19 -14
- package/dist/components/inputs/base-field/base-field.d.ts +0 -1
- package/dist/components/inputs/base-field/base-field.types.d.ts +1 -1
- package/dist/components/inputs/base-input/base-input.d.ts +0 -5
- package/dist/components/inputs/base-input/base-input.types.d.ts +5 -5
- package/dist/components/inputs/calendar/calendar.qa.stories.d.ts +1 -1
- package/dist/components/inputs/calendar/calendar.stories.d.ts +2 -2
- package/dist/components/inputs/calendar/calendar.types.d.ts +3 -3
- package/dist/components/inputs/calendar-cell/calendar-cell.types.d.ts +4 -4
- package/dist/components/inputs/checkbox/checkbox.qa.stories.d.ts +1 -1
- package/dist/components/inputs/checkbox/checkbox.stories.d.ts +1 -1
- package/dist/components/inputs/checkbox/checkbox.types.d.ts +13 -13
- package/dist/components/inputs/checkbox-field/checkbox-field.qa.stories.d.ts +1 -1
- package/dist/components/inputs/checkbox-field/checkbox-field.stories.d.ts +1 -1
- package/dist/components/inputs/checkbox-group/checkbox-group-context.d.ts +2 -2
- package/dist/components/inputs/checkbox-group/checkbox-group.qa.stories.d.ts +1 -1
- package/dist/components/inputs/checkbox-group/checkbox-group.stories.d.ts +1 -1
- package/dist/components/inputs/date-input/date-input.qa.stories.d.ts +1 -1
- package/dist/components/inputs/date-input/date-input.stories.d.ts +1 -1
- package/dist/components/inputs/date-picker/date-picker.stories.d.ts +1 -1
- package/dist/components/inputs/date-picker/use-date-picker.d.ts +2 -2
- package/dist/components/inputs/date-segment/date-segment.types.d.ts +4 -4
- package/dist/components/inputs/field-label/field-label.d.ts +2 -2
- package/dist/components/inputs/field-label/field-label.types.d.ts +5 -5
- package/dist/components/inputs/index.d.ts +2 -2
- package/dist/components/inputs/input-field/input-field.qa.stories.d.ts +1 -1
- package/dist/components/inputs/input-field/input-field.stories.d.ts +1 -1
- package/dist/components/inputs/internal.d.ts +1 -1
- package/dist/components/inputs/radio/radio.qa.stories.d.ts +1 -1
- package/dist/components/inputs/radio/radio.stories.d.ts +1 -1
- package/dist/components/inputs/radio-field/radio-field.qa.stories.d.ts +1 -1
- package/dist/components/inputs/radio-field/radio-field.stories.d.ts +1 -1
- package/dist/components/inputs/radio-group/radio-group-context.d.ts +3 -3
- package/dist/components/inputs/radio-group/radio-group.qa.stories.d.ts +1 -1
- package/dist/components/inputs/radio-group/radio-group.stories.d.ts +1 -1
- package/dist/components/inputs/radio-group/radio-group.types.d.ts +2 -2
- package/dist/components/inputs/select/select.types.d.ts +9 -9
- package/dist/components/inputs/select-field/select-field.qa.stories.d.ts +1 -1
- package/dist/components/inputs/select-field/select-field.stories.d.ts +1 -1
- package/dist/components/inputs/select-field/select-field.types.d.ts +8 -8
- package/dist/components/inputs/select-option/select-option.types.d.ts +14 -14
- package/dist/components/inputs/text-field/text-field.qa.stories.d.ts +1 -1
- package/dist/components/inputs/text-field/text-field.stories.d.ts +1 -1
- package/dist/components/inputs/toggle-field/toggle-field.qa.stories.d.ts +1 -1
- package/dist/components/inputs/toggle-field/toggle-field.stories.d.ts +1 -1
- package/dist/components/inputs/toggle-field/toggle-field.types.d.ts +1 -1
- package/dist/components/layout/box/box.qa.stories.d.ts +1 -1
- package/dist/components/layout/box/box.stories.d.ts +1 -1
- package/dist/components/layout/box/box.types.d.ts +4 -4
- package/dist/components/layout/flex/flex.qa.stories.d.ts +1 -1
- package/dist/components/layout/flex/flex.stories.d.ts +1 -1
- package/dist/components/layout/flex/flex.types.d.ts +4 -4
- package/dist/components/layout/index.d.ts +1 -1
- package/dist/components/lists/internal.d.ts +2 -2
- package/dist/components/lists/listbox/listbox.types.d.ts +4 -4
- package/dist/components/lists/listbox-group/listbox-group.types.d.ts +4 -4
- package/dist/components/lists/listbox-group-label/listbox-group-label.types.d.ts +4 -4
- package/dist/components/lists/listbox-item/listbox-item.types.d.ts +8 -8
- package/dist/components/navigation/pagination/pagination-context.d.ts +1 -1
- package/dist/components/navigation/pagination/pagination-navigation-helpers.d.ts +3 -3
- package/dist/components/navigation/pagination/pagination.qa.stories.d.ts +1 -1
- package/dist/components/navigation/pagination/pagination.stories.d.ts +1 -1
- package/dist/components/navigation/pagination/pagination.types.d.ts +9 -9
- package/dist/components/navigation/tabs/tab/tab.types.d.ts +9 -9
- package/dist/components/navigation/tabs/tab-list/tab-list.types.d.ts +4 -4
- package/dist/components/navigation/tabs/tab-panel/tab-panel.types.d.ts +8 -8
- package/dist/components/navigation/tabs/tabs/tabs.types.d.ts +11 -11
- package/dist/components/navigation/tabs/tabs.qa.stories.d.ts +1 -1
- package/dist/components/navigation/tabs/tabs.stories.d.ts +1 -1
- package/dist/components/popovers/modal/index.d.ts +4 -4
- package/dist/components/popovers/modal/modal.qa.stories.d.ts +1 -1
- package/dist/components/popovers/modal/modal.types.d.ts +32 -32
- package/dist/components/popovers/popup/popup/index.d.ts +1 -1
- package/dist/components/popovers/popup/popup/popup.types.d.ts +6 -7
- package/dist/components/popovers/popup/popup/use-popup.d.ts +8 -8
- package/dist/components/popovers/popup/popup-content/popup-content.types.d.ts +10 -10
- package/dist/components/popovers/popup/popup.stories.d.ts +1 -1
- package/dist/components/popovers/tooltip/tooltip.qa.stories.d.ts +1 -1
- package/dist/components/popovers/tooltip/tooltip.stories.d.ts +1 -1
- package/dist/components/popovers/tooltip/tooltip.types.d.ts +13 -13
- package/dist/components/surfaces/accordion/accordion/accordion.types.d.ts +4 -4
- package/dist/components/surfaces/accordion/accordion-content/accordion-content.types.d.ts +4 -4
- package/dist/components/surfaces/accordion/accordion-filter-header/accordion-filter-header.types.d.ts +5 -5
- package/dist/components/surfaces/accordion/accordion-group/accordion-group.types.d.ts +29 -29
- package/dist/components/surfaces/accordion/accordion-header/accordion-header.types.d.ts +4 -4
- package/dist/components/surfaces/accordion/accordion.qa.stories.d.ts +1 -1
- package/dist/components/surfaces/accordion/accordion.stories.d.ts +1 -1
- package/dist/style.css +1 -1
- package/dist/utils/date/aria-date-conversion.d.ts +10 -10
- package/dist/utils/date/date-validation.d.ts +5 -5
- package/dist/utils/filter-style-props.d.ts +29 -29
- package/dist/utils/hooks/index.d.ts +1 -0
- package/dist/utils/hooks/use-controlled-value.d.ts +1 -1
- package/dist/utils/hooks/use-element-width.d.ts +6 -0
- package/dist/utils/hooks/use-hover.d.ts +3 -3
- package/dist/utils/types/index.d.ts +2 -2
- package/dist/utils/types/polymorphic-prop.types.d.ts +7 -7
- package/dist/utils/types/slots.types.d.ts +16 -16
- package/dist/utils/types/styles.types.d.ts +170 -170
- package/package.json +90 -67
- /package/dist/components/foundations/icon/deprecated/{NextStepIcon.d.ts → next-step-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/deprecated/{SortAscIcon.d.ts → sort-asc-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/deprecated/{SortDescIcon.d.ts → sort-desc-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/deprecated/{SortInactiveIcon.d.ts → sort-inactive-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{AbTestIcon.d.ts → ab-test-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{AggregateIcon.d.ts → aggregate-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{AnalyticsIcon.d.ts → analytics-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{AndroidIcon.d.ts → android-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{AnonymizeIcon.d.ts → anonymize-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{AppleIcon.d.ts → apple-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ArchiveAltIcon.d.ts → archive-alt-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ArchiveIcon.d.ts → archive-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ArrowCollapseIcon.d.ts → arrow-collapse-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ArrowDownIcon.d.ts → arrow-down-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ArrowExpandIcon.d.ts → arrow-expand-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ArrowKeyboardNextIcon.d.ts → arrow-keyboard-next-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ArrowKeyboardPreviousIcon.d.ts → arrow-keyboard-previous-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ArrowKeyboardUpIcon.d.ts → arrow-keyboard-up-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ArrowLeftIcon.d.ts → arrow-left-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ArrowRightIcon.d.ts → arrow-right-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ArrowUpIcon.d.ts → arrow-up-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{AttributeSlotIcon.d.ts → attribute-slot-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{AxisIcon.d.ts → axis-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{AxisLimtIcon.d.ts → axis-limt-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{BarChartIcon.d.ts → bar-chart-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{BooleanIcon.d.ts → boolean-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{BoostIcon.d.ts → boost-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{BracketsCancelIcon.d.ts → brackets-cancel-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{BracketsIcon.d.ts → brackets-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{BrowserIcon.d.ts → browser-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{BrowserPushIcon.d.ts → browser-push-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{BuryIcon.d.ts → bury-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{CalendarAltIcon.d.ts → calendar-alt-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{CalendarIcon.d.ts → calendar-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{CatalogIcon.d.ts → catalog-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ChatAddIcon.d.ts → chat-add-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ChatIcon.d.ts → chat-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ChatsIcon.d.ts → chats-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{CheckCircleIcon.d.ts → check-circle-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{CheckFilledIcon.d.ts → check-filled-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{CheckIcon.d.ts → check-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{CheckSmallIcon.d.ts → check-small-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ChevronDownFillIcon.d.ts → chevron-down-fill-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ChevronDownIcon.d.ts → chevron-down-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ChevronLeftFillIcon.d.ts → chevron-left-fill-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ChevronLeftIcon.d.ts → chevron-left-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ChevronRightFillIcon.d.ts → chevron-right-fill-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ChevronRightIcon.d.ts → chevron-right-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ChevronUpFillIcon.d.ts → chevron-up-fill-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ChevronUpIcon.d.ts → chevron-up-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ClearFillIcon.d.ts → clear-fill-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ClearIcon.d.ts → clear-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ClipboardAddIcon.d.ts → clipboard-add-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ClockCircleIcon.d.ts → clock-circle-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{CloneIcon.d.ts → clone-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{CloseIcon.d.ts → close-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{CloseSmallIcon.d.ts → close-small-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{CloudCheckIcon.d.ts → cloud-check-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{CloudDownloadIcon.d.ts → cloud-download-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{CodeIcon.d.ts → code-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ColorPickerAltIcon.d.ts → color-picker-alt-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ColorPickerIcon.d.ts → color-picker-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ColumnsIcon.d.ts → columns-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ConditionAltIcon.d.ts → condition-alt-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ConditionIcon.d.ts → condition-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ConsoleIcon.d.ts → console-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ConstantAltIcon.d.ts → constant-alt-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ConstantIcon.d.ts → constant-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ContextualPersonalizationIcon.d.ts → contextual-personalization-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{CopyIcon.d.ts → copy-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{CopyToDashboardIcon.d.ts → copy-to-dashboard-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{CsvIcon.d.ts → csv-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{CustomRowIcon.d.ts → custom-row-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{CustomerIcon.d.ts → customer-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{CustomersFilterIcon.d.ts → customers-filter-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{CustomersSegmentationIcon.d.ts → customers-segmentation-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{DateTimeIcon.d.ts → date-time-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{DescriptionIcon.d.ts → description-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{DesktopIcon.d.ts → desktop-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{DisabledIcon.d.ts → disabled-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{DivideIcon.d.ts → divide-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{DocumentationIcon.d.ts → documentation-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{DownloadIcon.d.ts → download-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{DragHorizontalIcon.d.ts → drag-horizontal-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{DragVericalIcon.d.ts → drag-verical-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{EditIcon.d.ts → edit-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{EducationHubIcon.d.ts → education-hub-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{EllipsisVerticalIcon.d.ts → ellipsis-vertical-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{EllipsissHorizontalIcon.d.ts → ellipsiss-horizontal-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{EmailIcon.d.ts → email-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{EmojiPickerIcon.d.ts → emoji-picker-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{EmptyIcon.d.ts → empty-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ErrorFillIcon.d.ts → error-fill-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{EventIcon.d.ts → event-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{EventsSegmentationIcon.d.ts → events-segmentation-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ExperimentIcon.d.ts → experiment-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ExposeIcon.d.ts → expose-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ExpressionIcon.d.ts → expression-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ExternalLinkIcon.d.ts → external-link-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{EyeCrossedIcon.d.ts → eye-crossed-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{EyeIcon.d.ts → eye-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{FastForwardIcon.d.ts → fast-forward-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{FileIcon.d.ts → file-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{FileVideoIcon.d.ts → file-video-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{FilterIcon.d.ts → filter-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{FireIcon.d.ts → fire-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{FolderEmptyIcon.d.ts → folder-empty-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{FolderFullIcon.d.ts → folder-full-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ForceAddToRecallIcon.d.ts → force-add-to-recall-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ForceAddToRecallUndoIcon.d.ts → force-add-to-recall-undo-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{FormulaExpressionIcon.d.ts → formula-expression-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{FormulaIcon.d.ts → formula-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{FromStartAltIcon.d.ts → from-start-alt-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{FullscreenIcon.d.ts → fullscreen-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{GiftIcon.d.ts → gift-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{GoToIcon.d.ts → go-to-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{GraphStatsIcon.d.ts → graph-stats-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{GridAltIcon.d.ts → grid-alt-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{GridIcon.d.ts → grid-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{HelpIcon.d.ts → help-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{HistoryIcon.d.ts → history-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{HomeIcon.d.ts → home-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{HtmlIcon.d.ts → html-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ImageSearchIcon.d.ts → image-search-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ImagesIcon.d.ts → images-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ImpactDownIcon.d.ts → impact-down-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{InfoFilledIcon.d.ts → info-filled-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{InfoIcon.d.ts → info-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{InfoSmallIcon.d.ts → info-small-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{InternetIcon.d.ts → internet-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{KeyIcon.d.ts → key-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{LayoutIcon.d.ts → layout-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{LikeIcon.d.ts → like-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{LineChartIcon.d.ts → line-chart-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{LinkIcon.d.ts → link-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ListIcon.d.ts → list-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{LoaderIcon.d.ts → loader-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{LockIcon.d.ts → lock-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{MapIcon.d.ts → map-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{MetricAltIcon.d.ts → metric-alt-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{MinusIcon.d.ts → minus-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{MobileAppInboxIcon.d.ts → mobile-app-inbox-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{MobileImageMessageIcon.d.ts → mobile-image-message-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{MobilePhoneLandscapeIcon.d.ts → mobile-phone-landscape-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{MobilePhonePortraitIcon.d.ts → mobile-phone-portrait-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{MobilePushIcon.d.ts → mobile-push-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{MobileSmsIcon.d.ts → mobile-sms-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{MobileTextMessageIcon.d.ts → mobile-text-message-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{MoveIcon.d.ts → move-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{MultiParentRejectedIcon.d.ts → multi-parent-rejected-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{MultiParentSelectedIcon.d.ts → multi-parent-selected-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{MultiParentUnassignedIcon.d.ts → multi-parent-unassigned-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{NegationIcon.d.ts → negation-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{NotificationIcon.d.ts → notification-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{NumberIcon.d.ts → number-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{OfflineFillIcon.d.ts → offline-fill-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{OfflineIcon.d.ts → offline-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{OutOfStockIcon.d.ts → out-of-stock-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{PagesIcon.d.ts → pages-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{PaintIcon.d.ts → paint-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ParagraphCenterAlignIcon.d.ts → paragraph-center-align-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ParagraphLeftAlignIcon.d.ts → paragraph-left-align-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ParagraphRightAlignIcon.d.ts → paragraph-right-align-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{PassDownIcon.d.ts → pass-down-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{PassThroughIcon.d.ts → pass-through-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{PercentageIcon.d.ts → percentage-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{PersAlt1Icon.d.ts → pers-alt-1-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{PersAlt2Icon.d.ts → pers-alt-2-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{PersAlt3Icon.d.ts → pers-alt-3-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{PersAlt4Icon.d.ts → pers-alt-4-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{PictureAltIcon.d.ts → picture-alt-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{PictureIcon.d.ts → picture-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{PinIcon.d.ts → pin-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{PlugPlayIcon.d.ts → plug-play-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{PlusCircleFillIcon.d.ts → plus-circle-fill-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{PlusCircleIcon.d.ts → plus-circle-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{PlusIcon.d.ts → plus-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{PoverButtonIcon.d.ts → pover-button-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ProductSlotsIcon.d.ts → product-slots-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ReceiveIcon.d.ts → receive-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{RefreshIcon.d.ts → refresh-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ReleaseNotesIcon.d.ts → release-notes-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{RenameAltIcon.d.ts → rename-alt-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{RenameIcon.d.ts → rename-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ReorderIcon.d.ts → reorder-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ReportIcon.d.ts → report-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{RetentionIcon.d.ts → retention-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{RewertLeftIcon.d.ts → rewert-left-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{RewertRightIcon.d.ts → rewert-right-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{RibbonIcon.d.ts → ribbon-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{RoadmapIcon.d.ts → roadmap-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{RobotIcon.d.ts → robot-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{RuleLabelIcon.d.ts → rule-label-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{RunningAggregateIcon.d.ts → running-aggregate-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{SaveIcon.d.ts → save-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ScenarioIcon.d.ts → scenario-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{SearchIcon.d.ts → search-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{SecurityShieldIcon.d.ts → security-shield-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{SendIcon.d.ts → send-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{SettingsAltIcon.d.ts → settings-alt-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{SettingsIcon.d.ts → settings-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ShareIcon.d.ts → share-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ShopIcon.d.ts → shop-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{ShrinkIcon.d.ts → shrink-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{SortIcon.d.ts → sort-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{SplitFlowIcon.d.ts → split-flow-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{SqlIcon.d.ts → sql-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{StarFillIcon.d.ts → star-fill-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{StarIcon.d.ts → star-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{StartFillIcon.d.ts → start-fill-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{StartIcon.d.ts → start-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{StatusDotIcon.d.ts → status-dot-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{StopIcon.d.ts → stop-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{StopwatchIcon.d.ts → stopwatch-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{StringComponentIcon.d.ts → string-component-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{StringIcon.d.ts → string-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{SuggestionIcon.d.ts → suggestion-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{SurveyIcon.d.ts → survey-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{SwapIcon.d.ts → swap-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{TabletLangscapeIcon.d.ts → tablet-langscape-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{TabletPortraitIcon.d.ts → tablet-portrait-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{TagAltIcon.d.ts → tag-alt-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{TagIcon.d.ts → tag-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{TemplateIcon.d.ts → template-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{TextBoldIcon.d.ts → text-bold-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{TextItalicIcon.d.ts → text-italic-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{TextStyleIcon.d.ts → text-style-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{TragetIcon.d.ts → traget-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{TransferIcon.d.ts → transfer-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{TrashIcon.d.ts → trash-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{TrendIcon.d.ts → trend-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{UnExposeIcon.d.ts → un-expose-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{UnarchiveAltIcon.d.ts → unarchive-alt-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{UndoIcon.d.ts → undo-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{UnlinkIcon.d.ts → unlink-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{UnlockIcon.d.ts → unlock-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{UntilNowAltIcon.d.ts → until-now-alt-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{UploadIcon.d.ts → upload-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{UsagesIcon.d.ts → usages-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{UsersIcon.d.ts → users-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{VariantsIcon.d.ts → variants-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{VisualIcon.d.ts → visual-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{VoucherIcon.d.ts → voucher-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{WaitIcon.d.ts → wait-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{WalkthroughsIcon.d.ts → walkthroughs-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{WarningFillIcon.d.ts → warning-fill-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{WebhookIcon.d.ts → webhook-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{WeblayerIcon.d.ts → weblayer-icon.d.ts} +0 -0
- /package/dist/components/foundations/icon/icons/{WrenchIcon.d.ts → wrench-icon.d.ts} +0 -0
- /package/dist/{setupTests.d.ts → setup-tests.d.ts} +0 -0
- /package/dist/utils/{Slot.d.ts → slot.d.ts} +0 -0
- /package/dist/utils/{SlotsContext.d.ts → slots-context.d.ts} +0 -0
|
@@ -14,7 +14,7 @@ export interface ButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement
|
|
|
14
14
|
* @default 'default'
|
|
15
15
|
*
|
|
16
16
|
*/
|
|
17
|
-
color?: '
|
|
17
|
+
color?: 'alternative' | 'danger' | 'default';
|
|
18
18
|
/**
|
|
19
19
|
* If `true`, the button will be disabled.
|
|
20
20
|
* @default false
|
|
@@ -55,5 +55,5 @@ export interface ButtonProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement
|
|
|
55
55
|
* The button type.
|
|
56
56
|
* @default 'secondary'
|
|
57
57
|
*/
|
|
58
|
-
type?: '
|
|
58
|
+
type?: 'inline' | 'primary' | 'secondary' | 'tertiary';
|
|
59
59
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ForwardedRef, ReactElement } from 'react';
|
|
2
2
|
import { ToggleButtonProps } from './toggle-button.types';
|
|
3
3
|
/**
|
|
4
4
|
* The current component is used as an argument for the `forwardRef` function to forward ref.
|
|
5
5
|
* However, to keep the generic interface of the `ToggleButton` component we have to cast type
|
|
6
6
|
* after wrapping this component with the `forwardRef` function.
|
|
7
7
|
*/
|
|
8
|
-
declare function ToggleButtonInner<T extends
|
|
8
|
+
declare function ToggleButtonInner<T extends number | string = string>(props: ToggleButtonProps<T>, forwardedRef: ForwardedRef<HTMLButtonElement>): ReactElement;
|
|
9
9
|
/**
|
|
10
10
|
* The `ToggleButton` component can be used to group related options.
|
|
11
11
|
*
|
|
@@ -41,7 +41,7 @@ declare function ToggleButtonInner<T extends string | number = string>(props: To
|
|
|
41
41
|
* ```
|
|
42
42
|
* by default `value` has a `string` type.
|
|
43
43
|
*/
|
|
44
|
-
declare const _default: <T extends
|
|
44
|
+
declare const _default: <T extends number | string = string>(props: ToggleButtonProps<T> & {
|
|
45
45
|
ref?: ForwardedRef<HTMLButtonElement>;
|
|
46
46
|
}) => ReturnType<typeof ToggleButtonInner>;
|
|
47
47
|
export default _default;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react';
|
|
2
1
|
import { ToggleButton } from '..';
|
|
2
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
3
3
|
declare const meta: Meta<typeof ToggleButton>;
|
|
4
4
|
export default meta;
|
|
5
|
-
type Story<T extends
|
|
5
|
+
type Story<T extends number | string = string> = StoryObj<typeof ToggleButton<T>>;
|
|
6
6
|
export declare const Basic: Story;
|
|
7
7
|
export declare const Selectable: Story<number>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReactNode, SyntheticEvent } from 'react';
|
|
2
2
|
import { ButtonProps } from '../button/button.types';
|
|
3
|
-
export interface ToggleButtonProps<T extends
|
|
3
|
+
export interface ToggleButtonProps<T extends number | string = string> extends Omit<ButtonProps, 'onClick'> {
|
|
4
4
|
/**
|
|
5
5
|
* The content of the component.
|
|
6
6
|
*/
|
|
@@ -5,8 +5,7 @@ import { ToggleButtonGroupMultipleProps, ToggleButtonGroupSingleProps } from './
|
|
|
5
5
|
* However, to keep the generic interface of the `ToggleButtonGroup` component we have to cast type
|
|
6
6
|
* after wrapping this component with the `forwardRef` function.
|
|
7
7
|
*/
|
|
8
|
-
declare function ToggleButtonGroupInner<T extends
|
|
9
|
-
declare function ToggleButtonGroupInner<T extends string | number = string>(props: ToggleButtonGroupMultipleProps<T>, forwardedRef: ForwardedRef<HTMLDivElement>): ReactElement;
|
|
8
|
+
declare function ToggleButtonGroupInner<T extends number | string = string>(props: ToggleButtonGroupMultipleProps<T> | ToggleButtonGroupSingleProps<T>, forwardedRef: ForwardedRef<HTMLDivElement>): ReactElement;
|
|
10
9
|
/**
|
|
11
10
|
* The `ToggleButtonGroup` controls the selected state of its child buttons when given its own `value` prop.
|
|
12
11
|
* To emphasize groups of related toggle buttons, a group should share a common container.
|
|
@@ -56,7 +55,7 @@ declare function ToggleButtonGroupInner<T extends string | number = string>(prop
|
|
|
56
55
|
* ```
|
|
57
56
|
* by default `value` has a `string` type and `string[]` for `multiple` mode.
|
|
58
57
|
*/
|
|
59
|
-
declare const _default: <T extends
|
|
58
|
+
declare const _default: <T extends number | string = string>(props: (ToggleButtonGroupMultipleProps<T> & {
|
|
60
59
|
ref?: ForwardedRef<HTMLDivElement>;
|
|
61
|
-
})) => ReturnType<typeof ToggleButtonGroupInner<T>>;
|
|
60
|
+
}) | ToggleButtonGroupSingleProps<T>) => ReturnType<typeof ToggleButtonGroupInner<T>>;
|
|
62
61
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react';
|
|
2
1
|
import { ToggleButtonGroup, ToggleButtonGroupMultipleProps, ToggleButtonGroupSingleProps } from '..';
|
|
2
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
3
3
|
declare const meta: Meta<typeof ToggleButtonGroup>;
|
|
4
4
|
export default meta;
|
|
5
5
|
type Story = StoryObj<ToggleButtonGroupSingleProps>;
|
|
@@ -1,12 +1,19 @@
|
|
|
1
1
|
import { SyntheticEvent } from 'react';
|
|
2
2
|
import { ButtonGroupProps } from '../button-group/button-group.types';
|
|
3
|
-
interface
|
|
3
|
+
export interface ToggleButtonGroupMultipleProps<T extends number | string = string> extends ToggleButtonGroupBaseProps {
|
|
4
|
+
multiple: true;
|
|
4
5
|
/**
|
|
5
|
-
*
|
|
6
|
+
* Callback fired when the component is clicked. Value is an array of selected values.
|
|
7
|
+
* If no value is selected the value is an empty array.
|
|
6
8
|
*/
|
|
7
|
-
|
|
9
|
+
onChange?: (event: SyntheticEvent<HTMLButtonElement>, value: T[]) => void;
|
|
10
|
+
/**
|
|
11
|
+
* The currently selected an array of values.
|
|
12
|
+
* The value must have reference equality with the option in order to be selected.
|
|
13
|
+
*/
|
|
14
|
+
value?: T[];
|
|
8
15
|
}
|
|
9
|
-
export interface ToggleButtonGroupSingleProps<T extends
|
|
16
|
+
export interface ToggleButtonGroupSingleProps<T extends number | string = string> extends ToggleButtonGroupBaseProps {
|
|
10
17
|
multiple?: false;
|
|
11
18
|
/**
|
|
12
19
|
* Callback fired when the component is clicked. Value is a single value of the toggle button.
|
|
@@ -19,17 +26,10 @@ export interface ToggleButtonGroupSingleProps<T extends string | number = string
|
|
|
19
26
|
*/
|
|
20
27
|
value?: T;
|
|
21
28
|
}
|
|
22
|
-
|
|
23
|
-
multiple: true;
|
|
24
|
-
/**
|
|
25
|
-
* Callback fired when the component is clicked. Value is an array of selected values.
|
|
26
|
-
* If no value is selected the value is an empty array.
|
|
27
|
-
*/
|
|
28
|
-
onChange?: (event: SyntheticEvent<HTMLButtonElement>, value: T[]) => void;
|
|
29
|
+
interface ToggleButtonGroupBaseProps extends Omit<ButtonGroupProps, 'onChange'> {
|
|
29
30
|
/**
|
|
30
|
-
*
|
|
31
|
-
* The value must have reference equality with the option in order to be selected.
|
|
31
|
+
* If `true`, allow multiple items to be selected (checkbox behavior).
|
|
32
32
|
*/
|
|
33
|
-
|
|
33
|
+
multiple?: boolean;
|
|
34
34
|
}
|
|
35
35
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react';
|
|
2
1
|
import { default as ActionsContainer } from './actions-container';
|
|
2
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
3
3
|
declare const meta: Meta<typeof ActionsContainer>;
|
|
4
4
|
export default meta;
|
|
5
5
|
export type Story = StoryObj<typeof ActionsContainer>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
export interface ActionsContainerProps {
|
|
3
|
-
/**
|
|
4
|
-
* Custom class name for the container of the component.
|
|
5
|
-
*/
|
|
6
|
-
className?: string;
|
|
7
3
|
/**
|
|
8
4
|
* The content of the component.
|
|
9
5
|
*/
|
|
10
6
|
children?: ReactNode;
|
|
7
|
+
/**
|
|
8
|
+
* Custom class name for the container of the component.
|
|
9
|
+
*/
|
|
10
|
+
className?: string;
|
|
11
11
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react';
|
|
2
1
|
import { default as AssetTag } from './asset-tag';
|
|
2
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
3
3
|
declare const meta: Meta<typeof AssetTag>;
|
|
4
4
|
export default meta;
|
|
5
5
|
export type Story = StoryObj<typeof AssetTag>;
|
|
@@ -8,24 +8,24 @@ export interface AssetTagProps {
|
|
|
8
8
|
* Custom class name for the container of the component.
|
|
9
9
|
*/
|
|
10
10
|
className?: string;
|
|
11
|
-
/**
|
|
12
|
-
* Variant of tag.
|
|
13
|
-
* @default 'default'
|
|
14
|
-
*/
|
|
15
|
-
variant?: AssetTagVariant;
|
|
16
11
|
/**
|
|
17
12
|
* If `true`, the tag can be dismissed by clicking on close icon.
|
|
18
13
|
* Removing of the tag needs to be handled by the user using `onDismiss`.
|
|
19
14
|
* @default false
|
|
20
15
|
*/
|
|
21
16
|
dismissible?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* Display an icon at the beginning of the tag.
|
|
19
|
+
*/
|
|
20
|
+
icon?: ReactElement;
|
|
22
21
|
/**
|
|
23
22
|
* Callback fired when tag is closed or dismissed.
|
|
24
23
|
*/
|
|
25
|
-
onDismiss?: (event:
|
|
24
|
+
onDismiss?: (event: KeyboardEvent<HTMLElement> | MouseEvent<HTMLElement>) => void;
|
|
26
25
|
/**
|
|
27
|
-
*
|
|
26
|
+
* Variant of tag.
|
|
27
|
+
* @default 'default'
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
variant?: AssetTagVariant;
|
|
30
30
|
}
|
|
31
|
-
export type AssetTagVariant = '
|
|
31
|
+
export type AssetTagVariant = 'accent-1' | 'accent-2' | 'accent-3' | 'accent-4' | 'accent-5' | 'accent-6' | 'accent-7' | 'accent-8' | 'accent-9' | 'default';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react';
|
|
2
1
|
import { default as Description } from './description';
|
|
2
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
3
3
|
declare const meta: Meta<typeof Description>;
|
|
4
4
|
export default meta;
|
|
5
5
|
export type Story = StoryObj<typeof Description>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
export interface DescriptionProps {
|
|
3
|
-
/**
|
|
4
|
-
* Custom class name for the container of the component.
|
|
5
|
-
*/
|
|
6
|
-
className?: string;
|
|
7
3
|
/**
|
|
8
4
|
* The content of the component.
|
|
9
5
|
*/
|
|
10
6
|
children?: ReactNode;
|
|
7
|
+
/**
|
|
8
|
+
* Custom class name for the container of the component.
|
|
9
|
+
*/
|
|
10
|
+
className?: string;
|
|
11
11
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react';
|
|
2
1
|
import { default as FilterTag } from './filter-tag';
|
|
2
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
3
3
|
declare const meta: Meta<typeof FilterTag>;
|
|
4
4
|
export default meta;
|
|
5
5
|
export type Story = StoryObj<typeof FilterTag>;
|
|
@@ -8,22 +8,22 @@ export interface FilterTagProps {
|
|
|
8
8
|
* Custom class name for the container of the component.
|
|
9
9
|
*/
|
|
10
10
|
className?: string;
|
|
11
|
-
/**
|
|
12
|
-
* Allows to control whether the tag is selected.
|
|
13
|
-
* This is a controlled counterpart of `defaultSelected`
|
|
14
|
-
*/
|
|
15
|
-
selected?: boolean;
|
|
16
11
|
/**
|
|
17
12
|
* If `true`, the tag is initially selected.
|
|
18
13
|
* @default false
|
|
19
14
|
*/
|
|
20
15
|
defaultSelected?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* Display an icon at the beginning of the tag.
|
|
18
|
+
*/
|
|
19
|
+
icon?: ReactElement;
|
|
21
20
|
/**
|
|
22
21
|
* Callback fired when tag's selection changes
|
|
23
22
|
*/
|
|
24
|
-
onChange?: (event:
|
|
23
|
+
onChange?: (event: KeyboardEvent<HTMLElement> | MouseEvent<HTMLElement>, selected: boolean) => void;
|
|
25
24
|
/**
|
|
26
|
-
*
|
|
25
|
+
* Allows to control whether the tag is selected.
|
|
26
|
+
* This is a controlled counterpart of `defaultSelected`
|
|
27
27
|
*/
|
|
28
|
-
|
|
28
|
+
selected?: boolean;
|
|
29
29
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { MouseEventHandler, ReactNode } from 'react';
|
|
2
2
|
export interface HeaderProps {
|
|
3
|
-
/**
|
|
4
|
-
* Custom class name for the container of the component.
|
|
5
|
-
*/
|
|
6
|
-
className?: string;
|
|
7
3
|
/**
|
|
8
4
|
* The title of the component.
|
|
9
5
|
*/
|
|
10
6
|
children?: ReactNode;
|
|
7
|
+
/**
|
|
8
|
+
* Custom class name for the container of the component.
|
|
9
|
+
*/
|
|
10
|
+
className?: string;
|
|
11
11
|
/**
|
|
12
12
|
* If defined, the component will display a back button and the callback will
|
|
13
13
|
* be called when the button is clicked.
|
|
@@ -5,13 +5,13 @@ export * from './description';
|
|
|
5
5
|
export * from './filter-tag';
|
|
6
6
|
export * from './header';
|
|
7
7
|
export * from './input-tag';
|
|
8
|
+
export * from './table';
|
|
8
9
|
export * from './table-body';
|
|
9
|
-
export * from './table-cell-action';
|
|
10
10
|
export * from './table-cell';
|
|
11
|
+
export * from './table-cell-action';
|
|
11
12
|
export * from './table-foot';
|
|
12
13
|
export * from './table-head';
|
|
13
14
|
export * from './table-row';
|
|
14
15
|
export * from './table-sort-label';
|
|
15
|
-
export * from './table';
|
|
16
16
|
export * from './tag-group';
|
|
17
17
|
export * from './typography';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Meta, StoryObj } from '@storybook/react';
|
|
2
1
|
import { default as InputTag } from './input-tag';
|
|
2
|
+
import { Meta, StoryObj } from '@storybook/react';
|
|
3
3
|
declare const meta: Meta<typeof InputTag>;
|
|
4
4
|
export default meta;
|
|
5
5
|
export type Story = StoryObj<typeof InputTag>;
|
|
@@ -8,20 +8,16 @@ export interface InputTagProps {
|
|
|
8
8
|
* Custom class name for the container of the component.
|
|
9
9
|
*/
|
|
10
10
|
className?: string;
|
|
11
|
-
/**
|
|
12
|
-
* Allows to control whether the tag is selected.
|
|
13
|
-
* This is a controlled counterpart of `defaultSelected`
|
|
14
|
-
*/
|
|
15
|
-
selected?: boolean;
|
|
16
11
|
/**
|
|
17
12
|
* If `true`, the tag is initially selected.
|
|
18
13
|
* @default false
|
|
19
14
|
*/
|
|
20
15
|
defaultSelected?: boolean;
|
|
21
16
|
/**
|
|
22
|
-
*
|
|
17
|
+
* If `true`, the tag is disabled.
|
|
18
|
+
* @default false
|
|
23
19
|
*/
|
|
24
|
-
|
|
20
|
+
disabled?: boolean;
|
|
25
21
|
/**
|
|
26
22
|
* If `true`, the tag can be dismissed by clicking on close icon.
|
|
27
23
|
* Removing of the tag needs to be handled by the user using `onDismiss`.
|
|
@@ -29,10 +25,17 @@ export interface InputTagProps {
|
|
|
29
25
|
*/
|
|
30
26
|
dismissible?: boolean;
|
|
31
27
|
/**
|
|
32
|
-
*
|
|
33
|
-
* @default false
|
|
28
|
+
* Display an icon at the beginning of the tag.
|
|
34
29
|
*/
|
|
35
|
-
|
|
30
|
+
icon?: ReactElement;
|
|
31
|
+
/**
|
|
32
|
+
* Callback fired when tag's selection changes.
|
|
33
|
+
*/
|
|
34
|
+
onChange?: (event: KeyboardEvent<HTMLElement> | MouseEvent<HTMLElement>, selected: boolean) => void;
|
|
35
|
+
/**
|
|
36
|
+
* Callback fired when tag is closed or dismissed.
|
|
37
|
+
*/
|
|
38
|
+
onDismiss?: (event: KeyboardEvent<HTMLElement> | MouseEvent<HTMLElement>) => void;
|
|
36
39
|
/**
|
|
37
40
|
* If `true`, the tag is not interactable but can be dismissible.
|
|
38
41
|
* The state should not change on click.
|
|
@@ -40,11 +43,8 @@ export interface InputTagProps {
|
|
|
40
43
|
*/
|
|
41
44
|
readOnly?: boolean;
|
|
42
45
|
/**
|
|
43
|
-
*
|
|
44
|
-
|
|
45
|
-
onDismiss?: (event: MouseEvent<HTMLElement> | KeyboardEvent<HTMLElement>) => void;
|
|
46
|
-
/**
|
|
47
|
-
* Display an icon at the beginning of the tag.
|
|
46
|
+
* Allows to control whether the tag is selected.
|
|
47
|
+
* This is a controlled counterpart of `defaultSelected`
|
|
48
48
|
*/
|
|
49
|
-
|
|
49
|
+
selected?: boolean;
|
|
50
50
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { TableContextProps } from './table.types';
|
|
2
2
|
declare const TableContext: import('react').Context<TableContextProps | null>;
|
|
3
|
-
export declare function useTableContext():
|
|
3
|
+
export declare function useTableContext(): null | TableContextProps;
|
|
4
4
|
export default TableContext;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { TableSectionContextProps } from './table.types';
|
|
2
2
|
declare const TableSectionContext: import('react').Context<TableSectionContextProps | null>;
|
|
3
|
-
export declare function useTableSectionContext():
|
|
3
|
+
export declare function useTableSectionContext(): null | TableSectionContextProps;
|
|
4
4
|
export default TableSectionContext;
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
type TableRowDensity = 'small' | 'medium' | 'large';
|
|
1
|
+
import { HTMLAttributes, ReactNode } from 'react';
|
|
3
2
|
export interface TableContextProps {
|
|
4
3
|
rowDensity: TableRowDensity;
|
|
5
4
|
}
|
|
6
|
-
export interface TableSectionContextProps {
|
|
7
|
-
variant: 'head' | 'body' | 'foot';
|
|
8
|
-
hasPagination?: boolean;
|
|
9
|
-
}
|
|
10
5
|
export interface TableProps extends HTMLAttributes<HTMLTableElement> {
|
|
11
|
-
/**
|
|
12
|
-
* Custom class name for the container of the component.
|
|
13
|
-
*/
|
|
14
|
-
className?: string;
|
|
15
6
|
/**
|
|
16
7
|
* The content of the component.
|
|
17
8
|
*/
|
|
18
9
|
children?: ReactNode;
|
|
10
|
+
/**
|
|
11
|
+
* Custom class name for the container of the component.
|
|
12
|
+
*/
|
|
13
|
+
className?: string;
|
|
19
14
|
rowDensity?: TableRowDensity;
|
|
20
15
|
}
|
|
16
|
+
export interface TableSectionContextProps {
|
|
17
|
+
hasPagination?: boolean;
|
|
18
|
+
variant: 'body' | 'foot' | 'head';
|
|
19
|
+
}
|
|
20
|
+
type TableRowDensity = 'large' | 'medium' | 'small';
|
|
21
21
|
export {};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { HTMLAttributes, ReactNode } from 'react';
|
|
2
2
|
export interface TableBodyProps extends HTMLAttributes<HTMLTableSectionElement> {
|
|
3
|
-
/**
|
|
4
|
-
* Custom class name for the container of the component.
|
|
5
|
-
*/
|
|
6
|
-
className?: string;
|
|
7
3
|
/**
|
|
8
4
|
* The content of the component, normally `TableRow`.
|
|
9
5
|
*/
|
|
10
6
|
children?: ReactNode;
|
|
7
|
+
/**
|
|
8
|
+
* Custom class name for the container of the component.
|
|
9
|
+
*/
|
|
10
|
+
className?: string;
|
|
11
11
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { ReactNode, TdHTMLAttributes, ThHTMLAttributes } from 'react';
|
|
2
|
-
type TableCellBaseProps = ThHTMLAttributes<HTMLTableCellElement> & TdHTMLAttributes<HTMLTableCellElement>;
|
|
3
2
|
export interface TableCellProps extends TableCellBaseProps {
|
|
4
|
-
/**
|
|
5
|
-
* Custom class name for the container of the component.
|
|
6
|
-
*/
|
|
7
|
-
className?: string;
|
|
8
3
|
/**
|
|
9
4
|
* The content of the component.
|
|
10
5
|
*/
|
|
11
6
|
children?: ReactNode;
|
|
7
|
+
/**
|
|
8
|
+
* Custom class name for the container of the component.
|
|
9
|
+
*/
|
|
10
|
+
className?: string;
|
|
12
11
|
}
|
|
12
|
+
type TableCellBaseProps = TdHTMLAttributes<HTMLTableCellElement> & ThHTMLAttributes<HTMLTableCellElement>;
|
|
13
13
|
export {};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
2
|
export interface TableCellActionProps {
|
|
3
|
-
/**
|
|
4
|
-
* Custom class name for the container of the component.
|
|
5
|
-
*/
|
|
6
|
-
className?: string;
|
|
7
3
|
/**
|
|
8
4
|
* The content of the component, usually a <Button>, <MenuButton> or <ButtonGroup>.
|
|
9
5
|
*/
|
|
10
6
|
children?: ReactNode;
|
|
7
|
+
/**
|
|
8
|
+
* Custom class name for the container of the component.
|
|
9
|
+
*/
|
|
10
|
+
className?: string;
|
|
11
11
|
/**
|
|
12
12
|
* If `true`, the component will be floating on top of the cell content.
|
|
13
13
|
* @default false
|
|
@@ -9,11 +9,11 @@ import { TableFootProps } from './table-foot.types';
|
|
|
9
9
|
*
|
|
10
10
|
* export default function MyCustomTableFooter() {
|
|
11
11
|
* return (
|
|
12
|
-
* <TableFoot className="custom-footer">
|
|
13
|
-
* <TableRow>
|
|
14
|
-
* <TableCell>This cell will be rendered as `<td>`</TableCell>
|
|
15
|
-
* </TableRow>
|
|
16
|
-
* </TableFoot>
|
|
12
|
+
* <TableFoot className="custom-footer">
|
|
13
|
+
* <TableRow>
|
|
14
|
+
* <TableCell>This cell will be rendered as `<td>`</TableCell>
|
|
15
|
+
* </TableRow>
|
|
16
|
+
* </TableFoot>
|
|
17
17
|
* );
|
|
18
18
|
* }
|
|
19
19
|
* ```
|