@cube-dev/ui-kit 0.113.1 → 0.115.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/LICENSE +21 -0
- package/dist/CHANGELOG.md +3315 -0
- package/dist/README.md +32 -0
- package/dist/_internal/hooks/use-chained-callback.js +15 -0
- package/dist/_internal/hooks/use-chained-callback.js.map +1 -0
- package/dist/_internal/hooks/use-debounced-value.js +46 -0
- package/dist/_internal/hooks/use-debounced-value.js.map +1 -0
- package/dist/_internal/hooks/use-deprecation-warning.js +17 -0
- package/dist/_internal/hooks/use-deprecation-warning.js.map +1 -0
- package/dist/_internal/hooks/use-event.js +19 -0
- package/dist/_internal/hooks/use-event.js.map +1 -0
- package/dist/_internal/hooks/use-is-first-render.js +16 -0
- package/dist/_internal/hooks/use-is-first-render.js.map +1 -0
- package/dist/_internal/hooks/use-sync-ref.js +16 -0
- package/dist/_internal/hooks/use-sync-ref.js.map +1 -0
- package/dist/_internal/hooks/use-timer/timer.js +52 -0
- package/dist/_internal/hooks/use-timer/timer.js.map +1 -0
- package/dist/_internal/hooks/use-timer/use-timer.js +32 -0
- package/dist/_internal/hooks/use-timer/use-timer.js.map +1 -0
- package/dist/_internal/hooks/use-warn.js +35 -0
- package/dist/_internal/hooks/use-warn.js.map +1 -0
- package/dist/_virtual/_rolldown/runtime.js +8 -0
- package/dist/chunks/cacheKey.js +71 -0
- package/dist/chunks/cacheKey.js.map +1 -0
- package/dist/chunks/definitions.js +261 -0
- package/dist/chunks/definitions.js.map +1 -0
- package/dist/chunks/renderChunk.js +68 -0
- package/dist/chunks/renderChunk.js.map +1 -0
- package/dist/components/Block.d.ts +11 -0
- package/dist/components/Block.js +22 -0
- package/dist/components/Block.js.map +1 -0
- package/dist/components/CollectionItem.d.ts +24 -0
- package/dist/components/CollectionItem.js +50 -0
- package/dist/components/CollectionItem.js.map +1 -0
- package/dist/components/GlobalStyles.js +310 -0
- package/dist/components/GlobalStyles.js.map +1 -0
- package/dist/components/GridProvider.d.ts +18 -0
- package/dist/components/GridProvider.js +56 -0
- package/dist/components/GridProvider.js.map +1 -0
- package/dist/components/HiddenInput.js +32 -0
- package/dist/components/HiddenInput.js.map +1 -0
- package/dist/components/Root.d.ts +30 -0
- package/dist/components/Root.js +131 -0
- package/dist/components/Root.js.map +1 -0
- package/dist/components/actions/Action/Action.d.ts +20 -0
- package/dist/components/actions/Action/Action.js +41 -0
- package/dist/components/actions/Action/Action.js.map +1 -0
- package/dist/components/actions/Banner/Banner.d.ts +49 -0
- package/dist/components/actions/Banner/Banner.js +83 -0
- package/dist/components/actions/Banner/Banner.js.map +1 -0
- package/dist/components/actions/Banner/index.d.ts +2 -0
- package/dist/components/actions/Button/Button.d.ts +1815 -0
- package/dist/components/actions/Button/Button.js +337 -0
- package/dist/components/actions/Button/Button.js.map +1 -0
- package/dist/components/actions/Button/index.d.ts +2 -0
- package/dist/components/actions/ButtonGroup/ButtonGroup.d.ts +9 -0
- package/dist/components/actions/ButtonGroup/ButtonGroup.js +22 -0
- package/dist/components/actions/ButtonGroup/ButtonGroup.js.map +1 -0
- package/dist/components/actions/CommandMenu/CommandMenu.d.ts +45 -0
- package/dist/components/actions/CommandMenu/CommandMenu.js +364 -0
- package/dist/components/actions/CommandMenu/CommandMenu.js.map +1 -0
- package/dist/components/actions/CommandMenu/index.d.ts +2 -0
- package/dist/components/actions/CommandMenu/styled.js +103 -0
- package/dist/components/actions/CommandMenu/styled.js.map +1 -0
- package/dist/components/actions/ItemAction/ItemAction.d.ts +28 -0
- package/dist/components/actions/ItemAction/ItemAction.js +158 -0
- package/dist/components/actions/ItemAction/ItemAction.js.map +1 -0
- package/dist/components/actions/ItemAction/index.d.ts +2 -0
- package/dist/components/actions/ItemActionContext.d.ts +30 -0
- package/dist/components/actions/ItemActionContext.js +24 -0
- package/dist/components/actions/ItemActionContext.js.map +1 -0
- package/dist/components/actions/ItemButton/ItemButton.d.ts +27 -0
- package/dist/components/actions/ItemButton/ItemButton.js +178 -0
- package/dist/components/actions/ItemButton/ItemButton.js.map +1 -0
- package/dist/components/actions/ItemButton/index.d.ts +3 -0
- package/dist/components/actions/Link/Link.d.ts +10 -0
- package/dist/components/actions/Link/Link.js +18 -0
- package/dist/components/actions/Link/Link.js.map +1 -0
- package/dist/components/actions/Menu/Menu.d.ts +68 -0
- package/dist/components/actions/Menu/Menu.js +136 -0
- package/dist/components/actions/Menu/Menu.js.map +1 -0
- package/dist/components/actions/Menu/MenuItem.d.ts +23 -0
- package/dist/components/actions/Menu/MenuItem.js +79 -0
- package/dist/components/actions/Menu/MenuItem.js.map +1 -0
- package/dist/components/actions/Menu/MenuSection.d.ts +17 -0
- package/dist/components/actions/Menu/MenuSection.js +51 -0
- package/dist/components/actions/Menu/MenuSection.js.map +1 -0
- package/dist/components/actions/Menu/MenuTrigger.d.ts +21 -0
- package/dist/components/actions/Menu/MenuTrigger.js +141 -0
- package/dist/components/actions/Menu/MenuTrigger.js.map +1 -0
- package/dist/components/actions/Menu/SubMenuTrigger.d.ts +50 -0
- package/dist/components/actions/Menu/SubMenuTrigger.js +243 -0
- package/dist/components/actions/Menu/SubMenuTrigger.js.map +1 -0
- package/dist/components/actions/Menu/SubmenuTriggerContext.js +9 -0
- package/dist/components/actions/Menu/SubmenuTriggerContext.js.map +1 -0
- package/dist/components/actions/Menu/context.d.ts +22 -0
- package/dist/components/actions/Menu/context.js +12 -0
- package/dist/components/actions/Menu/context.js.map +1 -0
- package/dist/components/actions/Menu/index.d.ts +7 -0
- package/dist/components/actions/Menu/styled.js +212 -0
- package/dist/components/actions/Menu/styled.js.map +1 -0
- package/dist/components/actions/index.d.ts +39 -0
- package/dist/components/actions/index.js +25 -0
- package/dist/components/actions/index.js.map +1 -0
- package/dist/components/actions/use-action.d.ts +75 -0
- package/dist/components/actions/use-action.js +230 -0
- package/dist/components/actions/use-action.js.map +1 -0
- package/dist/components/actions/use-anchored-menu.d.ts +42 -0
- package/dist/components/actions/use-anchored-menu.js +109 -0
- package/dist/components/actions/use-anchored-menu.js.map +1 -0
- package/dist/components/actions/use-context-menu.d.ts +48 -0
- package/dist/components/actions/use-context-menu.js +184 -0
- package/dist/components/actions/use-context-menu.js.map +1 -0
- package/dist/components/content/ActiveZone/ActiveZone.d.ts +16 -0
- package/dist/components/content/ActiveZone/ActiveZone.js +48 -0
- package/dist/components/content/ActiveZone/ActiveZone.js.map +1 -0
- package/dist/components/content/Alert/Alert.d.ts +9 -0
- package/dist/components/content/Alert/Alert.js +55 -0
- package/dist/components/content/Alert/Alert.js.map +1 -0
- package/dist/components/content/Alert/index.d.ts +3 -0
- package/dist/components/content/Alert/types.d.ts +31 -0
- package/dist/components/content/Alert/use-alert.js +30 -0
- package/dist/components/content/Alert/use-alert.js.map +1 -0
- package/dist/components/content/Avatar/Avatar.d.ts +16 -0
- package/dist/components/content/Avatar/Avatar.js +40 -0
- package/dist/components/content/Avatar/Avatar.js.map +1 -0
- package/dist/components/content/Badge/Badge.d.ts +15 -0
- package/dist/components/content/Badge/Badge.js +57 -0
- package/dist/components/content/Badge/Badge.js.map +1 -0
- package/dist/components/content/Card/Card.d.ts +11 -0
- package/dist/components/content/Card/Card.js +34 -0
- package/dist/components/content/Card/Card.js.map +1 -0
- package/dist/components/content/Content.d.ts +11 -0
- package/dist/components/content/Content.js +38 -0
- package/dist/components/content/Content.js.map +1 -0
- package/dist/components/content/CopyPasteBlock/CopyPasteBlock.d.ts +24 -0
- package/dist/components/content/CopyPasteBlock/CopyPasteBlock.js +167 -0
- package/dist/components/content/CopyPasteBlock/CopyPasteBlock.js.map +1 -0
- package/dist/components/content/CopyPasteBlock/index.d.ts +2 -0
- package/dist/components/content/CopySnippet/CopySnippet.d.ts +44 -0
- package/dist/components/content/CopySnippet/CopySnippet.js +198 -0
- package/dist/components/content/CopySnippet/CopySnippet.js.map +1 -0
- package/dist/components/content/CopySnippet/index.d.ts +2 -0
- package/dist/components/content/Disclosure/Disclosure.d.ts +82 -0
- package/dist/components/content/Disclosure/Disclosure.js +332 -0
- package/dist/components/content/Disclosure/Disclosure.js.map +1 -0
- package/dist/components/content/Disclosure/index.d.ts +2 -0
- package/dist/components/content/Divider.d.ts +11 -0
- package/dist/components/content/Divider.js +69 -0
- package/dist/components/content/Divider.js.map +1 -0
- package/dist/components/content/Footer.d.ts +11 -0
- package/dist/components/content/Footer.js +33 -0
- package/dist/components/content/Footer.js.map +1 -0
- package/dist/components/content/Header.d.ts +11 -0
- package/dist/components/content/Header.js +34 -0
- package/dist/components/content/Header.js.map +1 -0
- package/dist/components/content/HotKeys/HotKeys.d.ts +14 -0
- package/dist/components/content/HotKeys/HotKeys.js +92 -0
- package/dist/components/content/HotKeys/HotKeys.js.map +1 -0
- package/dist/components/content/HotKeys/index.d.ts +2 -0
- package/dist/components/content/Item/Item.d.ts +171 -0
- package/dist/components/content/Item/Item.js +575 -0
- package/dist/components/content/Item/Item.js.map +1 -0
- package/dist/components/content/Item/index.d.ts +4 -0
- package/dist/components/content/ItemBadge/ItemBadge.d.ts +23 -0
- package/dist/components/content/ItemBadge/ItemBadge.js +108 -0
- package/dist/components/content/ItemBadge/ItemBadge.js.map +1 -0
- package/dist/components/content/ItemBadge/index.d.ts +2 -0
- package/dist/components/content/Layout/GridLayout.d.ts +42 -0
- package/dist/components/content/Layout/GridLayout.js +50 -0
- package/dist/components/content/Layout/GridLayout.js.map +1 -0
- package/dist/components/content/Layout/Layout.d.ts +40 -0
- package/dist/components/content/Layout/Layout.js +218 -0
- package/dist/components/content/Layout/Layout.js.map +1 -0
- package/dist/components/content/Layout/LayoutBlock.d.ts +10 -0
- package/dist/components/content/Layout/LayoutBlock.js +31 -0
- package/dist/components/content/Layout/LayoutBlock.js.map +1 -0
- package/dist/components/content/Layout/LayoutCenter.d.ts +10 -0
- package/dist/components/content/Layout/LayoutCenter.js +33 -0
- package/dist/components/content/Layout/LayoutCenter.js.map +1 -0
- package/dist/components/content/Layout/LayoutContainer.d.ts +23 -0
- package/dist/components/content/Layout/LayoutContainer.js +72 -0
- package/dist/components/content/Layout/LayoutContainer.js.map +1 -0
- package/dist/components/content/Layout/LayoutContent.d.ts +23 -0
- package/dist/components/content/Layout/LayoutContent.js +149 -0
- package/dist/components/content/Layout/LayoutContent.js.map +1 -0
- package/dist/components/content/Layout/LayoutContext.d.ts +9 -0
- package/dist/components/content/Layout/LayoutContext.js +134 -0
- package/dist/components/content/Layout/LayoutContext.js.map +1 -0
- package/dist/components/content/Layout/LayoutFlex.d.ts +10 -0
- package/dist/components/content/Layout/LayoutFlex.js +35 -0
- package/dist/components/content/Layout/LayoutFlex.js.map +1 -0
- package/dist/components/content/Layout/LayoutFooter.d.ts +13 -0
- package/dist/components/content/Layout/LayoutFooter.js +53 -0
- package/dist/components/content/Layout/LayoutFooter.js.map +1 -0
- package/dist/components/content/Layout/LayoutGrid.d.ts +19 -0
- package/dist/components/content/Layout/LayoutGrid.js +38 -0
- package/dist/components/content/Layout/LayoutGrid.js.map +1 -0
- package/dist/components/content/Layout/LayoutHeader.d.ts +27 -0
- package/dist/components/content/Layout/LayoutHeader.js +145 -0
- package/dist/components/content/Layout/LayoutHeader.js.map +1 -0
- package/dist/components/content/Layout/LayoutPane.d.ts +39 -0
- package/dist/components/content/Layout/LayoutPane.js +359 -0
- package/dist/components/content/Layout/LayoutPane.js.map +1 -0
- package/dist/components/content/Layout/LayoutPanel.d.ts +74 -0
- package/dist/components/content/Layout/LayoutPanel.js +484 -0
- package/dist/components/content/Layout/LayoutPanel.js.map +1 -0
- package/dist/components/content/Layout/LayoutPanelHeader.d.ts +22 -0
- package/dist/components/content/Layout/LayoutPanelHeader.js +57 -0
- package/dist/components/content/Layout/LayoutPanelHeader.js.map +1 -0
- package/dist/components/content/Layout/LayoutToolbar.d.ts +10 -0
- package/dist/components/content/Layout/LayoutToolbar.js +40 -0
- package/dist/components/content/Layout/LayoutToolbar.js.map +1 -0
- package/dist/components/content/Layout/hooks/useTinyScrollbar.js +143 -0
- package/dist/components/content/Layout/hooks/useTinyScrollbar.js.map +1 -0
- package/dist/components/content/Layout/index.d.ts +37 -0
- package/dist/components/content/Layout/index.js +36 -0
- package/dist/components/content/Layout/index.js.map +1 -0
- package/dist/components/content/Layout/utils.js +16 -0
- package/dist/components/content/Layout/utils.js.map +1 -0
- package/dist/components/content/Paragraph.d.ts +12 -0
- package/dist/components/content/Paragraph.js +28 -0
- package/dist/components/content/Paragraph.js.map +1 -0
- package/dist/components/content/Placeholder/Placeholder.d.ts +16 -0
- package/dist/components/content/Placeholder/Placeholder.js +76 -0
- package/dist/components/content/Placeholder/Placeholder.js.map +1 -0
- package/dist/components/content/PrismCode/PrismCode.d.ts +27 -0
- package/dist/components/content/PrismCode/PrismCode.js +99 -0
- package/dist/components/content/PrismCode/PrismCode.js.map +1 -0
- package/dist/components/content/PrismCode/prismSetup.js +148 -0
- package/dist/components/content/PrismCode/prismSetup.js.map +1 -0
- package/dist/components/content/PrismDiffCode/PrismDiffCode.d.ts +25 -0
- package/dist/components/content/PrismDiffCode/PrismDiffCode.js +27 -0
- package/dist/components/content/PrismDiffCode/PrismDiffCode.js.map +1 -0
- package/dist/components/content/Result/Result.d.ts +36 -0
- package/dist/components/content/Result/Result.js +146 -0
- package/dist/components/content/Result/Result.js.map +1 -0
- package/dist/components/content/Skeleton/Skeleton.d.ts +89 -0
- package/dist/components/content/Skeleton/Skeleton.js +169 -0
- package/dist/components/content/Skeleton/Skeleton.js.map +1 -0
- package/dist/components/content/Tag/Tag.d.ts +18 -0
- package/dist/components/content/Tag/Tag.js +58 -0
- package/dist/components/content/Tag/Tag.js.map +1 -0
- package/dist/components/content/Text.d.ts +2935 -0
- package/dist/components/content/Text.js +101 -0
- package/dist/components/content/Text.js.map +1 -0
- package/dist/components/content/TextItem/TextItem.d.ts +42 -0
- package/dist/components/content/TextItem/TextItem.js +66 -0
- package/dist/components/content/TextItem/TextItem.js.map +1 -0
- package/dist/components/content/TextItem/index.d.ts +2 -0
- package/dist/components/content/Title.d.ts +18 -0
- package/dist/components/content/Title.js +86 -0
- package/dist/components/content/Title.js.map +1 -0
- package/dist/components/content/highlightText.js +26 -0
- package/dist/components/content/highlightText.js.map +1 -0
- package/dist/components/content/use-auto-tooltip.d.ts +14 -0
- package/dist/components/content/use-auto-tooltip.js +116 -0
- package/dist/components/content/use-auto-tooltip.js.map +1 -0
- package/dist/components/fields/Checkbox/Checkbox.d.ts +29 -0
- package/dist/components/fields/Checkbox/Checkbox.js +190 -0
- package/dist/components/fields/Checkbox/Checkbox.js.map +1 -0
- package/dist/components/fields/Checkbox/CheckboxGroup.d.ts +23 -0
- package/dist/components/fields/Checkbox/CheckboxGroup.js +82 -0
- package/dist/components/fields/Checkbox/CheckboxGroup.js.map +1 -0
- package/dist/components/fields/Checkbox/context.js +9 -0
- package/dist/components/fields/Checkbox/context.js.map +1 -0
- package/dist/components/fields/Checkbox/index.d.ts +3 -0
- package/dist/components/fields/ComboBox/ComboBox.d.ts +133 -0
- package/dist/components/fields/ComboBox/ComboBox.js +897 -0
- package/dist/components/fields/ComboBox/ComboBox.js.map +1 -0
- package/dist/components/fields/ComboBox/index.d.ts +2 -0
- package/dist/components/fields/DatePicker/DateInput.d.ts +28 -0
- package/dist/components/fields/DatePicker/DateInput.js +76 -0
- package/dist/components/fields/DatePicker/DateInput.js.map +1 -0
- package/dist/components/fields/DatePicker/DateInputBase.js +85 -0
- package/dist/components/fields/DatePicker/DateInputBase.js.map +1 -0
- package/dist/components/fields/DatePicker/DatePicker.d.ts +27 -0
- package/dist/components/fields/DatePicker/DatePicker.js +111 -0
- package/dist/components/fields/DatePicker/DatePicker.js.map +1 -0
- package/dist/components/fields/DatePicker/DatePickerButton.js +12 -0
- package/dist/components/fields/DatePicker/DatePickerButton.js.map +1 -0
- package/dist/components/fields/DatePicker/DatePickerElement.js +17 -0
- package/dist/components/fields/DatePicker/DatePickerElement.js.map +1 -0
- package/dist/components/fields/DatePicker/DatePickerInput.js +51 -0
- package/dist/components/fields/DatePicker/DatePickerInput.js.map +1 -0
- package/dist/components/fields/DatePicker/DatePickerSegment.js +76 -0
- package/dist/components/fields/DatePicker/DatePickerSegment.js.map +1 -0
- package/dist/components/fields/DatePicker/DateRangePicker.d.ts +27 -0
- package/dist/components/fields/DatePicker/DateRangePicker.js +137 -0
- package/dist/components/fields/DatePicker/DateRangePicker.js.map +1 -0
- package/dist/components/fields/DatePicker/DateRangeSeparatedPicker.d.ts +28 -0
- package/dist/components/fields/DatePicker/DateRangeSeparatedPicker.js +220 -0
- package/dist/components/fields/DatePicker/DateRangeSeparatedPicker.js.map +1 -0
- package/dist/components/fields/DatePicker/TimeInput.d.ts +46 -0
- package/dist/components/fields/DatePicker/TimeInput.js +65 -0
- package/dist/components/fields/DatePicker/TimeInput.js.map +1 -0
- package/dist/components/fields/DatePicker/index.d.ts +8 -0
- package/dist/components/fields/DatePicker/intl.js +11 -0
- package/dist/components/fields/DatePicker/intl.js.map +1 -0
- package/dist/components/fields/DatePicker/parseDate.d.ts +8 -0
- package/dist/components/fields/DatePicker/parseDate.js +21 -0
- package/dist/components/fields/DatePicker/parseDate.js.map +1 -0
- package/dist/components/fields/DatePicker/props.js +17 -0
- package/dist/components/fields/DatePicker/props.js.map +1 -0
- package/dist/components/fields/DatePicker/types.d.ts +35 -0
- package/dist/components/fields/DatePicker/utils.js +45 -0
- package/dist/components/fields/DatePicker/utils.js.map +1 -0
- package/dist/components/fields/FileInput/FileInput.d.ts +42 -0
- package/dist/components/fields/FileInput/FileInput.js +182 -0
- package/dist/components/fields/FileInput/FileInput.js.map +1 -0
- package/dist/components/fields/FilterListBox/FilterListBox.d.ts +87 -0
- package/dist/components/fields/FilterListBox/FilterListBox.js +487 -0
- package/dist/components/fields/FilterListBox/FilterListBox.js.map +1 -0
- package/dist/components/fields/FilterListBox/index.d.ts +2 -0
- package/dist/components/fields/FilterPicker/FilterPicker.d.ts +86 -0
- package/dist/components/fields/FilterPicker/FilterPicker.js +451 -0
- package/dist/components/fields/FilterPicker/FilterPicker.js.map +1 -0
- package/dist/components/fields/FilterPicker/index.d.ts +2 -0
- package/dist/components/fields/Input/Input.d.ts +20 -0
- package/dist/components/fields/Input/Input.js +19 -0
- package/dist/components/fields/Input/Input.js.map +1 -0
- package/dist/components/fields/Input/index.d.ts +2 -0
- package/dist/components/fields/ListBox/ListBox.d.ts +133 -0
- package/dist/components/fields/ListBox/ListBox.js +709 -0
- package/dist/components/fields/ListBox/ListBox.js.map +1 -0
- package/dist/components/fields/ListBox/index.d.ts +2 -0
- package/dist/components/fields/NumberInput/NumberInput.d.ts +19 -0
- package/dist/components/fields/NumberInput/NumberInput.js +73 -0
- package/dist/components/fields/NumberInput/NumberInput.js.map +1 -0
- package/dist/components/fields/NumberInput/StepButton.js +45 -0
- package/dist/components/fields/NumberInput/StepButton.js.map +1 -0
- package/dist/components/fields/PasswordInput/PasswordInput.d.ts +17 -0
- package/dist/components/fields/PasswordInput/PasswordInput.js +70 -0
- package/dist/components/fields/PasswordInput/PasswordInput.js.map +1 -0
- package/dist/components/fields/Picker/Picker.d.ts +84 -0
- package/dist/components/fields/Picker/Picker.js +372 -0
- package/dist/components/fields/Picker/Picker.js.map +1 -0
- package/dist/components/fields/Picker/index.d.ts +2 -0
- package/dist/components/fields/RadioGroup/Radio.d.ts +63 -0
- package/dist/components/fields/RadioGroup/Radio.js +242 -0
- package/dist/components/fields/RadioGroup/Radio.js.map +1 -0
- package/dist/components/fields/RadioGroup/RadioGroup.d.ts +31 -0
- package/dist/components/fields/RadioGroup/RadioGroup.js +109 -0
- package/dist/components/fields/RadioGroup/RadioGroup.js.map +1 -0
- package/dist/components/fields/RadioGroup/context.js +12 -0
- package/dist/components/fields/RadioGroup/context.js.map +1 -0
- package/dist/components/fields/RadioGroup/index.d.ts +3 -0
- package/dist/components/fields/SearchInput/SearchInput.d.ts +19 -0
- package/dist/components/fields/SearchInput/SearchInput.js +53 -0
- package/dist/components/fields/SearchInput/SearchInput.js.map +1 -0
- package/dist/components/fields/SearchInput/index.d.ts +2 -0
- package/dist/components/fields/Select/Select.d.ts +967 -0
- package/dist/components/fields/Select/Select.js +440 -0
- package/dist/components/fields/Select/Select.js.map +1 -0
- package/dist/components/fields/Select/index.d.ts +2 -0
- package/dist/components/fields/Slider/Gradation.js +21 -0
- package/dist/components/fields/Slider/Gradation.js.map +1 -0
- package/dist/components/fields/Slider/HueSlider.d.ts +19 -0
- package/dist/components/fields/Slider/HueSlider.js +72 -0
- package/dist/components/fields/Slider/HueSlider.js.map +1 -0
- package/dist/components/fields/Slider/RangeSlider.d.ts +17 -0
- package/dist/components/fields/Slider/RangeSlider.js +61 -0
- package/dist/components/fields/Slider/RangeSlider.js.map +1 -0
- package/dist/components/fields/Slider/Slider.d.ts +25 -0
- package/dist/components/fields/Slider/Slider.js +67 -0
- package/dist/components/fields/Slider/Slider.js.map +1 -0
- package/dist/components/fields/Slider/SliderBase.js +119 -0
- package/dist/components/fields/Slider/SliderBase.js.map +1 -0
- package/dist/components/fields/Slider/SliderThumb.js +51 -0
- package/dist/components/fields/Slider/SliderThumb.js.map +1 -0
- package/dist/components/fields/Slider/SliderTrack.js +27 -0
- package/dist/components/fields/Slider/SliderTrack.js.map +1 -0
- package/dist/components/fields/Slider/elements.js +152 -0
- package/dist/components/fields/Slider/elements.js.map +1 -0
- package/dist/components/fields/Slider/index.d.ts +7 -0
- package/dist/components/fields/Slider/index.js +7 -0
- package/dist/components/fields/Slider/types.d.ts +25 -0
- package/dist/components/fields/Switch/Switch.d.ts +26 -0
- package/dist/components/fields/Switch/Switch.js +195 -0
- package/dist/components/fields/Switch/Switch.js.map +1 -0
- package/dist/components/fields/TextArea/TextArea.d.ts +25 -0
- package/dist/components/fields/TextArea/TextArea.js +92 -0
- package/dist/components/fields/TextArea/TextArea.js.map +1 -0
- package/dist/components/fields/TextArea/index.d.ts +2 -0
- package/dist/components/fields/TextInput/TextInput.d.ts +12 -0
- package/dist/components/fields/TextInput/TextInput.js +44 -0
- package/dist/components/fields/TextInput/TextInput.js.map +1 -0
- package/dist/components/fields/TextInput/TextInputBase.d.ts +53 -0
- package/dist/components/fields/TextInput/TextInputBase.js +274 -0
- package/dist/components/fields/TextInput/TextInputBase.js.map +1 -0
- package/dist/components/fields/TextInput/index.d.ts +3 -0
- package/dist/components/fields/TextInputMapper/TextInputMapper.d.ts +38 -0
- package/dist/components/fields/TextInputMapper/TextInputMapper.js +237 -0
- package/dist/components/fields/TextInputMapper/TextInputMapper.js.map +1 -0
- package/dist/components/fields/TextInputMapper/index.d.ts +2 -0
- package/dist/components/fields/index.d.ts +47 -0
- package/dist/components/form/FieldWrapper/FieldWrapper.d.ts +13 -0
- package/dist/components/form/FieldWrapper/FieldWrapper.js +170 -0
- package/dist/components/form/FieldWrapper/FieldWrapper.js.map +1 -0
- package/dist/components/form/FieldWrapper/extract-field-wrapper-props.d.ts +12 -0
- package/dist/components/form/FieldWrapper/extract-field-wrapper-props.js +41 -0
- package/dist/components/form/FieldWrapper/extract-field-wrapper-props.js.map +1 -0
- package/dist/components/form/FieldWrapper/index.d.ts +4 -0
- package/dist/components/form/FieldWrapper/types.d.ts +42 -0
- package/dist/components/form/Form/Field.d.ts +23 -0
- package/dist/components/form/Form/Field.js +139 -0
- package/dist/components/form/Form/Field.js.map +1 -0
- package/dist/components/form/Form/Form.d.ts +35 -0
- package/dist/components/form/Form/Form.js +151 -0
- package/dist/components/form/Form/Form.js.map +1 -0
- package/dist/components/form/Form/ResetButton/ResetButton.d.ts +16 -0
- package/dist/components/form/Form/ResetButton/ResetButton.js +38 -0
- package/dist/components/form/Form/ResetButton/ResetButton.js.map +1 -0
- package/dist/components/form/Form/ResetButton/index.d.ts +2 -0
- package/dist/components/form/Form/SubmitButton/SubmitButton.d.ts +16 -0
- package/dist/components/form/Form/SubmitButton/SubmitButton.js +30 -0
- package/dist/components/form/Form/SubmitButton/SubmitButton.js.map +1 -0
- package/dist/components/form/Form/SubmitButton/index.d.ts +2 -0
- package/dist/components/form/Form/SubmitError.d.ts +13 -0
- package/dist/components/form/Form/SubmitError.js +27 -0
- package/dist/components/form/Form/SubmitError.js.map +1 -0
- package/dist/components/form/Form/index.d.ts +38 -0
- package/dist/components/form/Form/index.js +22 -0
- package/dist/components/form/Form/index.js.map +1 -0
- package/dist/components/form/Form/types.d.ts +23 -0
- package/dist/components/form/Form/use-field/index.d.ts +4 -0
- package/dist/components/form/Form/use-field/types.d.ts +43 -0
- package/dist/components/form/Form/use-field/use-field-props.d.ts +29 -0
- package/dist/components/form/Form/use-field/use-field-props.js +71 -0
- package/dist/components/form/Form/use-field/use-field-props.js.map +1 -0
- package/dist/components/form/Form/use-field/use-field.d.ts +14 -0
- package/dist/components/form/Form/use-field/use-field.js +134 -0
- package/dist/components/form/Form/use-field/use-field.js.map +1 -0
- package/dist/components/form/Form/use-form.d.ts +77 -0
- package/dist/components/form/Form/use-form.js +322 -0
- package/dist/components/form/Form/use-form.js.map +1 -0
- package/dist/components/form/Form/validation.js +133 -0
- package/dist/components/form/Form/validation.js.map +1 -0
- package/dist/components/form/Label.d.ts +25 -0
- package/dist/components/form/Label.js +100 -0
- package/dist/components/form/Label.js.map +1 -0
- package/dist/components/form/index.d.ts +19 -0
- package/dist/components/form/wrapper.d.ts +15 -0
- package/dist/components/form/wrapper.js +38 -0
- package/dist/components/form/wrapper.js.map +1 -0
- package/dist/components/helpers/DisplayTransition/DisplayTransition.d.ts +36 -0
- package/dist/components/helpers/DisplayTransition/DisplayTransition.js +218 -0
- package/dist/components/helpers/DisplayTransition/DisplayTransition.js.map +1 -0
- package/dist/components/helpers/IconSwitch/IconSwitch.js +124 -0
- package/dist/components/helpers/IconSwitch/IconSwitch.js.map +1 -0
- package/dist/components/layout/Flex.d.ts +11 -0
- package/dist/components/layout/Flex.js +25 -0
- package/dist/components/layout/Flex.js.map +1 -0
- package/dist/components/layout/Flow.d.ts +11 -0
- package/dist/components/layout/Flow.js +26 -0
- package/dist/components/layout/Flow.js.map +1 -0
- package/dist/components/layout/Grid.d.ts +11 -0
- package/dist/components/layout/Grid.js +31 -0
- package/dist/components/layout/Grid.js.map +1 -0
- package/dist/components/layout/Panel.d.ts +28 -0
- package/dist/components/layout/Panel.js +133 -0
- package/dist/components/layout/Panel.js.map +1 -0
- package/dist/components/layout/Prefix.d.ts +15 -0
- package/dist/components/layout/Prefix.js +50 -0
- package/dist/components/layout/Prefix.js.map +1 -0
- package/dist/components/layout/ResizablePanel.d.ts +21 -0
- package/dist/components/layout/ResizablePanel.js +278 -0
- package/dist/components/layout/ResizablePanel.js.map +1 -0
- package/dist/components/layout/Space.d.ts +13 -0
- package/dist/components/layout/Space.js +38 -0
- package/dist/components/layout/Space.js.map +1 -0
- package/dist/components/layout/Suffix.d.ts +15 -0
- package/dist/components/layout/Suffix.js +49 -0
- package/dist/components/layout/Suffix.js.map +1 -0
- package/dist/components/navigation/Tabs/DraggableTabList.js +73 -0
- package/dist/components/navigation/Tabs/DraggableTabList.js.map +1 -0
- package/dist/components/navigation/Tabs/EditableTitle.js +100 -0
- package/dist/components/navigation/Tabs/EditableTitle.js.map +1 -0
- package/dist/components/navigation/Tabs/TabButton.js +321 -0
- package/dist/components/navigation/Tabs/TabButton.js.map +1 -0
- package/dist/components/navigation/Tabs/TabDropIndicator.js +54 -0
- package/dist/components/navigation/Tabs/TabDropIndicator.js.map +1 -0
- package/dist/components/navigation/Tabs/TabPanel.js +109 -0
- package/dist/components/navigation/Tabs/TabPanel.js.map +1 -0
- package/dist/components/navigation/Tabs/TabPicker.js +53 -0
- package/dist/components/navigation/Tabs/TabPicker.js.map +1 -0
- package/dist/components/navigation/Tabs/Tabs.d.ts +60 -0
- package/dist/components/navigation/Tabs/Tabs.js +419 -0
- package/dist/components/navigation/Tabs/Tabs.js.map +1 -0
- package/dist/components/navigation/Tabs/TabsAction.d.ts +46 -0
- package/dist/components/navigation/Tabs/TabsAction.js +63 -0
- package/dist/components/navigation/Tabs/TabsAction.js.map +1 -0
- package/dist/components/navigation/Tabs/TabsContext.js +29 -0
- package/dist/components/navigation/Tabs/TabsContext.js.map +1 -0
- package/dist/components/navigation/Tabs/index.d.ts +4 -0
- package/dist/components/navigation/Tabs/styled.js +318 -0
- package/dist/components/navigation/Tabs/styled.js.map +1 -0
- package/dist/components/navigation/Tabs/types.d.ts +257 -0
- package/dist/components/navigation/Tabs/types.js +14 -0
- package/dist/components/navigation/Tabs/types.js.map +1 -0
- package/dist/components/navigation/Tabs/use-tab-editing.js +46 -0
- package/dist/components/navigation/Tabs/use-tab-editing.js.map +1 -0
- package/dist/components/navigation/Tabs/use-tab-indicator.js +64 -0
- package/dist/components/navigation/Tabs/use-tab-indicator.js.map +1 -0
- package/dist/components/navigation/index.d.ts +5 -0
- package/dist/components/organisms/FileTabs/FileTabs.d.ts +55 -0
- package/dist/components/organisms/FileTabs/FileTabs.js +282 -0
- package/dist/components/organisms/FileTabs/FileTabs.js.map +1 -0
- package/dist/components/organisms/StatsCard/StatsCard.d.ts +20 -0
- package/dist/components/organisms/StatsCard/StatsCard.js +36 -0
- package/dist/components/organisms/StatsCard/StatsCard.js.map +1 -0
- package/dist/components/other/Calendar/Calendar.js +72 -0
- package/dist/components/other/Calendar/Calendar.js.map +1 -0
- package/dist/components/other/Calendar/CalendarCell.js +68 -0
- package/dist/components/other/Calendar/CalendarCell.js.map +1 -0
- package/dist/components/other/Calendar/CalendarGrid.js +45 -0
- package/dist/components/other/Calendar/CalendarGrid.js.map +1 -0
- package/dist/components/other/Calendar/RangeCalendar.js +70 -0
- package/dist/components/other/Calendar/RangeCalendar.js.map +1 -0
- package/dist/components/other/CloudLogo/CloudLogo.d.ts +11 -0
- package/dist/components/other/CloudLogo/CloudLogo.js +110 -0
- package/dist/components/other/CloudLogo/CloudLogo.js.map +1 -0
- package/dist/components/overlays/AlertDialog/AlertDialog.d.ts +28 -0
- package/dist/components/overlays/AlertDialog/AlertDialog.js +71 -0
- package/dist/components/overlays/AlertDialog/AlertDialog.js.map +1 -0
- package/dist/components/overlays/AlertDialog/AlertDialogApiProvider.d.ts +72 -0
- package/dist/components/overlays/AlertDialog/AlertDialogApiProvider.js +135 -0
- package/dist/components/overlays/AlertDialog/AlertDialogApiProvider.js.map +1 -0
- package/dist/components/overlays/AlertDialog/AlertDialogZone.d.ts +3 -0
- package/dist/components/overlays/AlertDialog/AlertDialogZone.js +63 -0
- package/dist/components/overlays/AlertDialog/AlertDialogZone.js.map +1 -0
- package/dist/components/overlays/AlertDialog/index.d.ts +4 -0
- package/dist/components/overlays/AlertDialog/types.d.ts +22 -0
- package/dist/components/overlays/Dialog/Dialog.d.ts +30 -0
- package/dist/components/overlays/Dialog/Dialog.js +228 -0
- package/dist/components/overlays/Dialog/Dialog.js.map +1 -0
- package/dist/components/overlays/Dialog/DialogContainer.d.ts +36 -0
- package/dist/components/overlays/Dialog/DialogContainer.js +44 -0
- package/dist/components/overlays/Dialog/DialogContainer.js.map +1 -0
- package/dist/components/overlays/Dialog/DialogForm.d.ts +37 -0
- package/dist/components/overlays/Dialog/DialogForm.js +76 -0
- package/dist/components/overlays/Dialog/DialogForm.js.map +1 -0
- package/dist/components/overlays/Dialog/DialogTrigger.d.ts +56 -0
- package/dist/components/overlays/Dialog/DialogTrigger.js +176 -0
- package/dist/components/overlays/Dialog/DialogTrigger.js.map +1 -0
- package/dist/components/overlays/Dialog/context.js +15 -0
- package/dist/components/overlays/Dialog/context.js.map +1 -0
- package/dist/components/overlays/Dialog/index.d.ts +6 -0
- package/dist/components/overlays/Dialog/use-dialog-container.d.ts +22 -0
- package/dist/components/overlays/Dialog/use-dialog-container.js +65 -0
- package/dist/components/overlays/Dialog/use-dialog-container.js.map +1 -0
- package/dist/components/overlays/Modal/Modal.d.ts +3 -0
- package/dist/components/overlays/Modal/Modal.js +113 -0
- package/dist/components/overlays/Modal/Modal.js.map +1 -0
- package/dist/components/overlays/Modal/OpenTransition.js +39 -0
- package/dist/components/overlays/Modal/OpenTransition.js.map +1 -0
- package/dist/components/overlays/Modal/Overlay.d.ts +3 -0
- package/dist/components/overlays/Modal/Overlay.js +44 -0
- package/dist/components/overlays/Modal/Overlay.js.map +1 -0
- package/dist/components/overlays/Modal/Popover.d.ts +6 -0
- package/dist/components/overlays/Modal/Popover.js +90 -0
- package/dist/components/overlays/Modal/Popover.js.map +1 -0
- package/dist/components/overlays/Modal/Tray.d.ts +5 -0
- package/dist/components/overlays/Modal/Tray.js +89 -0
- package/dist/components/overlays/Modal/Tray.js.map +1 -0
- package/dist/components/overlays/Modal/Underlay.d.ts +3 -0
- package/dist/components/overlays/Modal/Underlay.js +43 -0
- package/dist/components/overlays/Modal/Underlay.js.map +1 -0
- package/dist/components/overlays/Modal/index.d.ts +7 -0
- package/dist/components/overlays/Modal/types.d.ts +12 -0
- package/dist/components/overlays/Notifications/Notification.d.ts +38 -0
- package/dist/components/overlays/Notifications/Notification.js +78 -0
- package/dist/components/overlays/Notifications/Notification.js.map +1 -0
- package/dist/components/overlays/Notifications/NotificationAction.d.ts +26 -0
- package/dist/components/overlays/Notifications/NotificationAction.js +55 -0
- package/dist/components/overlays/Notifications/NotificationAction.js.map +1 -0
- package/dist/components/overlays/Notifications/NotificationCard.d.ts +56 -0
- package/dist/components/overlays/Notifications/NotificationCard.js +116 -0
- package/dist/components/overlays/Notifications/NotificationCard.js.map +1 -0
- package/dist/components/overlays/Notifications/NotificationContext.d.ts +8 -0
- package/dist/components/overlays/Notifications/NotificationContext.js +34 -0
- package/dist/components/overlays/Notifications/NotificationContext.js.map +1 -0
- package/dist/components/overlays/Notifications/NotificationItem.d.ts +17 -0
- package/dist/components/overlays/Notifications/NotificationItem.js +66 -0
- package/dist/components/overlays/Notifications/NotificationItem.js.map +1 -0
- package/dist/components/overlays/Notifications/OverlayContainer.js +305 -0
- package/dist/components/overlays/Notifications/OverlayContainer.js.map +1 -0
- package/dist/components/overlays/Notifications/OverlayProvider.d.ts +13 -0
- package/dist/components/overlays/Notifications/OverlayProvider.js +68 -0
- package/dist/components/overlays/Notifications/OverlayProvider.js.map +1 -0
- package/dist/components/overlays/Notifications/PersistentNotificationsList.d.ts +30 -0
- package/dist/components/overlays/Notifications/PersistentNotificationsList.js +120 -0
- package/dist/components/overlays/Notifications/PersistentNotificationsList.js.map +1 -0
- package/dist/components/overlays/Notifications/format-relative-time.d.ts +19 -0
- package/dist/components/overlays/Notifications/format-relative-time.js +36 -0
- package/dist/components/overlays/Notifications/format-relative-time.js.map +1 -0
- package/dist/components/overlays/Notifications/index.d.ts +43 -0
- package/dist/components/overlays/Notifications/index.js +40 -0
- package/dist/components/overlays/Notifications/index.js.map +1 -0
- package/dist/components/overlays/Notifications/types.d.ts +135 -0
- package/dist/components/overlays/Notifications/use-notification-state.js +176 -0
- package/dist/components/overlays/Notifications/use-notification-state.js.map +1 -0
- package/dist/components/overlays/Notifications/use-notifications.d.ts +42 -0
- package/dist/components/overlays/Notifications/use-notifications.js +146 -0
- package/dist/components/overlays/Notifications/use-notifications.js.map +1 -0
- package/dist/components/overlays/Notifications/use-overlay-timers.js +128 -0
- package/dist/components/overlays/Notifications/use-overlay-timers.js.map +1 -0
- package/dist/components/overlays/Notifications/use-persistent-notifications.d.ts +54 -0
- package/dist/components/overlays/Notifications/use-persistent-notifications.js +61 -0
- package/dist/components/overlays/Notifications/use-persistent-notifications.js.map +1 -0
- package/dist/components/overlays/Notifications/use-persistent-state.js +64 -0
- package/dist/components/overlays/Notifications/use-persistent-state.js.map +1 -0
- package/dist/components/overlays/Notifications/use-toast-state.js +108 -0
- package/dist/components/overlays/Notifications/use-toast-state.js.map +1 -0
- package/dist/components/overlays/Toast/ToastItem.d.ts +23 -0
- package/dist/components/overlays/Toast/ToastItem.js +34 -0
- package/dist/components/overlays/Toast/ToastItem.js.map +1 -0
- package/dist/components/overlays/Toast/ToastProvider.d.ts +2 -0
- package/dist/components/overlays/Toast/index.d.ts +54 -0
- package/dist/components/overlays/Toast/index.js +80 -0
- package/dist/components/overlays/Toast/index.js.map +1 -0
- package/dist/components/overlays/Toast/types.d.ts +74 -0
- package/dist/components/overlays/Toast/useProgressToast.d.ts +32 -0
- package/dist/components/overlays/Toast/useProgressToast.js +156 -0
- package/dist/components/overlays/Toast/useProgressToast.js.map +1 -0
- package/dist/components/overlays/Toast/useToast.d.ts +36 -0
- package/dist/components/overlays/Toast/useToast.js +89 -0
- package/dist/components/overlays/Toast/useToast.js.map +1 -0
- package/dist/components/overlays/Tooltip/Tooltip.d.ts +28 -0
- package/dist/components/overlays/Tooltip/Tooltip.js +160 -0
- package/dist/components/overlays/Tooltip/Tooltip.js.map +1 -0
- package/dist/components/overlays/Tooltip/TooltipProvider.d.ts +18 -0
- package/dist/components/overlays/Tooltip/TooltipProvider.js +30 -0
- package/dist/components/overlays/Tooltip/TooltipProvider.js.map +1 -0
- package/dist/components/overlays/Tooltip/TooltipTrigger.d.ts +60 -0
- package/dist/components/overlays/Tooltip/TooltipTrigger.js +117 -0
- package/dist/components/overlays/Tooltip/TooltipTrigger.js.map +1 -0
- package/dist/components/overlays/Tooltip/context.js +9 -0
- package/dist/components/overlays/Tooltip/context.js.map +1 -0
- package/dist/components/portal/Portal.d.ts +32 -0
- package/dist/components/portal/Portal.js +39 -0
- package/dist/components/portal/Portal.js.map +1 -0
- package/dist/components/portal/PortalProvider.js +21 -0
- package/dist/components/portal/PortalProvider.js.map +1 -0
- package/dist/components/portal/index.d.ts +3 -0
- package/dist/components/portal/types.d.ts +27 -0
- package/dist/components/portal/usePortal.js +41 -0
- package/dist/components/portal/usePortal.js.map +1 -0
- package/dist/components/shared/InvalidIcon.js +13 -0
- package/dist/components/shared/InvalidIcon.js.map +1 -0
- package/dist/components/shared/ValidIcon.js +13 -0
- package/dist/components/shared/ValidIcon.js.map +1 -0
- package/dist/components/status/LoadingAnimation/LoadingAnimation.d.ts +15 -0
- package/dist/components/status/LoadingAnimation/LoadingAnimation.js +119 -0
- package/dist/components/status/LoadingAnimation/LoadingAnimation.js.map +1 -0
- package/dist/components/status/LoadingAnimation/index.d.ts +2 -0
- package/dist/components/status/Spin/Cube.js +104 -0
- package/dist/components/status/Spin/Cube.js.map +1 -0
- package/dist/components/status/Spin/InternalSpinner.js +32 -0
- package/dist/components/status/Spin/InternalSpinner.js.map +1 -0
- package/dist/components/status/Spin/Spin.d.ts +9 -0
- package/dist/components/status/Spin/Spin.js +20 -0
- package/dist/components/status/Spin/Spin.js.map +1 -0
- package/dist/components/status/Spin/SpinsContainer.js +32 -0
- package/dist/components/status/Spin/SpinsContainer.js.map +1 -0
- package/dist/components/status/Spin/index.d.ts +3 -0
- package/dist/components/status/Spin/types.d.ts +24 -0
- package/dist/components/status/index.d.ts +6 -0
- package/dist/config.js +232 -0
- package/dist/config.js.map +1 -0
- package/dist/css-writer.d.ts +46 -0
- package/dist/css-writer.js +75 -0
- package/dist/css-writer.js.map +1 -0
- package/dist/data/item-themes.d.ts +8 -0
- package/dist/data/item-themes.js +816 -0
- package/dist/data/item-themes.js.map +1 -0
- package/dist/data/themes.d.ts +37 -0
- package/dist/data/themes.js +38 -0
- package/dist/data/themes.js.map +1 -0
- package/dist/extractor.d.ts +25 -0
- package/dist/extractor.js +151 -0
- package/dist/extractor.js.map +1 -0
- package/dist/icons/AdjustmentsHorizontalIcon.d.ts +12 -0
- package/dist/icons/AdjustmentsHorizontalIcon.js +23 -0
- package/dist/icons/AdjustmentsHorizontalIcon.js.map +1 -0
- package/dist/icons/AdjustmentsIcon.d.ts +12 -0
- package/dist/icons/AdjustmentsIcon.js +23 -0
- package/dist/icons/AdjustmentsIcon.js.map +1 -0
- package/dist/icons/AiIcon.d.ts +12 -0
- package/dist/icons/AiIcon.js +11 -0
- package/dist/icons/AiIcon.js.map +1 -0
- package/dist/icons/AreaChartIcon.d.ts +12 -0
- package/dist/icons/AreaChartIcon.js +11 -0
- package/dist/icons/AreaChartIcon.js.map +1 -0
- package/dist/icons/BackwardIcon.d.ts +12 -0
- package/dist/icons/BackwardIcon.js +11 -0
- package/dist/icons/BackwardIcon.js.map +1 -0
- package/dist/icons/BarChartIcon.d.ts +12 -0
- package/dist/icons/BarChartIcon.js +11 -0
- package/dist/icons/BarChartIcon.js.map +1 -0
- package/dist/icons/BellFilledIcon.d.ts +12 -0
- package/dist/icons/BellFilledIcon.js +11 -0
- package/dist/icons/BellFilledIcon.js.map +1 -0
- package/dist/icons/BellIcon.d.ts +12 -0
- package/dist/icons/BellIcon.js +11 -0
- package/dist/icons/BellIcon.js.map +1 -0
- package/dist/icons/BooleanIcon.d.ts +12 -0
- package/dist/icons/BooleanIcon.js +23 -0
- package/dist/icons/BooleanIcon.js.map +1 -0
- package/dist/icons/CalendarEditIcon.d.ts +12 -0
- package/dist/icons/CalendarEditIcon.js +23 -0
- package/dist/icons/CalendarEditIcon.js.map +1 -0
- package/dist/icons/CalendarIcon.d.ts +12 -0
- package/dist/icons/CalendarIcon.js +23 -0
- package/dist/icons/CalendarIcon.js.map +1 -0
- package/dist/icons/CaretDownIcon.d.ts +12 -0
- package/dist/icons/CaretDownIcon.js +11 -0
- package/dist/icons/CaretDownIcon.js.map +1 -0
- package/dist/icons/CaretUpIcon.d.ts +12 -0
- package/dist/icons/CaretUpIcon.js +11 -0
- package/dist/icons/CaretUpIcon.js.map +1 -0
- package/dist/icons/ChartAreaStackedIcon.d.ts +12 -0
- package/dist/icons/ChartAreaStackedIcon.js +23 -0
- package/dist/icons/ChartAreaStackedIcon.js.map +1 -0
- package/dist/icons/ChartAreaStackedPercentageIcon.d.ts +12 -0
- package/dist/icons/ChartAreaStackedPercentageIcon.js +23 -0
- package/dist/icons/ChartAreaStackedPercentageIcon.js.map +1 -0
- package/dist/icons/ChartBarGroupedHorizontalIcon.d.ts +12 -0
- package/dist/icons/ChartBarGroupedHorizontalIcon.js +23 -0
- package/dist/icons/ChartBarGroupedHorizontalIcon.js.map +1 -0
- package/dist/icons/ChartBarGroupedIcon.d.ts +12 -0
- package/dist/icons/ChartBarGroupedIcon.js +23 -0
- package/dist/icons/ChartBarGroupedIcon.js.map +1 -0
- package/dist/icons/ChartBarHorizontalIcon.d.ts +12 -0
- package/dist/icons/ChartBarHorizontalIcon.js +23 -0
- package/dist/icons/ChartBarHorizontalIcon.js.map +1 -0
- package/dist/icons/ChartBarLineIcon.d.ts +12 -0
- package/dist/icons/ChartBarLineIcon.js +23 -0
- package/dist/icons/ChartBarLineIcon.js.map +1 -0
- package/dist/icons/ChartBarStackedHorizontalIcon.d.ts +12 -0
- package/dist/icons/ChartBarStackedHorizontalIcon.js +23 -0
- package/dist/icons/ChartBarStackedHorizontalIcon.js.map +1 -0
- package/dist/icons/ChartBarStackedIcon.d.ts +12 -0
- package/dist/icons/ChartBarStackedIcon.js +23 -0
- package/dist/icons/ChartBarStackedIcon.js.map +1 -0
- package/dist/icons/ChartBarStackedPercentageHorizontalIcon.d.ts +12 -0
- package/dist/icons/ChartBarStackedPercentageHorizontalIcon.js +23 -0
- package/dist/icons/ChartBarStackedPercentageHorizontalIcon.js.map +1 -0
- package/dist/icons/ChartBarStackedPercentageIcon.d.ts +12 -0
- package/dist/icons/ChartBarStackedPercentageIcon.js +23 -0
- package/dist/icons/ChartBarStackedPercentageIcon.js.map +1 -0
- package/dist/icons/ChartBoxPlot2Icon.d.ts +12 -0
- package/dist/icons/ChartBoxPlot2Icon.js +23 -0
- package/dist/icons/ChartBoxPlot2Icon.js.map +1 -0
- package/dist/icons/ChartBoxPlotIcon.d.ts +12 -0
- package/dist/icons/ChartBoxPlotIcon.js +23 -0
- package/dist/icons/ChartBoxPlotIcon.js.map +1 -0
- package/dist/icons/ChartBubbleIcon.d.ts +12 -0
- package/dist/icons/ChartBubbleIcon.js +23 -0
- package/dist/icons/ChartBubbleIcon.js.map +1 -0
- package/dist/icons/ChartDonut2Icon.d.ts +12 -0
- package/dist/icons/ChartDonut2Icon.js +23 -0
- package/dist/icons/ChartDonut2Icon.js.map +1 -0
- package/dist/icons/ChartFunnelIcon.d.ts +12 -0
- package/dist/icons/ChartFunnelIcon.js +23 -0
- package/dist/icons/ChartFunnelIcon.js.map +1 -0
- package/dist/icons/ChartHeatmapIcon.d.ts +12 -0
- package/dist/icons/ChartHeatmapIcon.js +69 -0
- package/dist/icons/ChartHeatmapIcon.js.map +1 -0
- package/dist/icons/ChartKPIIcon.d.ts +12 -0
- package/dist/icons/ChartKPIIcon.js +23 -0
- package/dist/icons/ChartKPIIcon.js.map +1 -0
- package/dist/icons/ChartPie2Icon.d.ts +12 -0
- package/dist/icons/ChartPie2Icon.js +23 -0
- package/dist/icons/ChartPie2Icon.js.map +1 -0
- package/dist/icons/ChartScatterIcon.d.ts +12 -0
- package/dist/icons/ChartScatterIcon.js +23 -0
- package/dist/icons/ChartScatterIcon.js.map +1 -0
- package/dist/icons/CheckCircleFilledIcon.d.ts +12 -0
- package/dist/icons/CheckCircleFilledIcon.js +11 -0
- package/dist/icons/CheckCircleFilledIcon.js.map +1 -0
- package/dist/icons/CheckCircleIcon.d.ts +12 -0
- package/dist/icons/CheckCircleIcon.js +11 -0
- package/dist/icons/CheckCircleIcon.js.map +1 -0
- package/dist/icons/CheckIcon.d.ts +12 -0
- package/dist/icons/CheckIcon.js +11 -0
- package/dist/icons/CheckIcon.js.map +1 -0
- package/dist/icons/CircleFilledIcon.d.ts +12 -0
- package/dist/icons/CircleFilledIcon.js +11 -0
- package/dist/icons/CircleFilledIcon.js.map +1 -0
- package/dist/icons/ClearIcon.d.ts +12 -0
- package/dist/icons/ClearIcon.js +23 -0
- package/dist/icons/ClearIcon.js.map +1 -0
- package/dist/icons/CloseCircleFilledIcon.d.ts +12 -0
- package/dist/icons/CloseCircleFilledIcon.js +11 -0
- package/dist/icons/CloseCircleFilledIcon.js.map +1 -0
- package/dist/icons/CloseCircleIcon.d.ts +12 -0
- package/dist/icons/CloseCircleIcon.js +11 -0
- package/dist/icons/CloseCircleIcon.js.map +1 -0
- package/dist/icons/CloseIcon.d.ts +12 -0
- package/dist/icons/CloseIcon.js +11 -0
- package/dist/icons/CloseIcon.js.map +1 -0
- package/dist/icons/CodeIcon.d.ts +12 -0
- package/dist/icons/CodeIcon.js +11 -0
- package/dist/icons/CodeIcon.js.map +1 -0
- package/dist/icons/ColumnTotalIcon.d.ts +12 -0
- package/dist/icons/ColumnTotalIcon.js +27 -0
- package/dist/icons/ColumnTotalIcon.js.map +1 -0
- package/dist/icons/CopyIcon.d.ts +12 -0
- package/dist/icons/CopyIcon.js +11 -0
- package/dist/icons/CopyIcon.js.map +1 -0
- package/dist/icons/CountIcon.d.ts +12 -0
- package/dist/icons/CountIcon.js +23 -0
- package/dist/icons/CountIcon.js.map +1 -0
- package/dist/icons/CubeIcon.d.ts +12 -0
- package/dist/icons/CubeIcon.js +23 -0
- package/dist/icons/CubeIcon.js.map +1 -0
- package/dist/icons/CubePauseIcon.d.ts +12 -0
- package/dist/icons/CubePauseIcon.js +23 -0
- package/dist/icons/CubePauseIcon.js.map +1 -0
- package/dist/icons/CubePlayIcon.d.ts +12 -0
- package/dist/icons/CubePlayIcon.js +23 -0
- package/dist/icons/CubePlayIcon.js.map +1 -0
- package/dist/icons/CurrencyDollarIcon.d.ts +12 -0
- package/dist/icons/CurrencyDollarIcon.js +23 -0
- package/dist/icons/CurrencyDollarIcon.js.map +1 -0
- package/dist/icons/DangerIcon.d.ts +12 -0
- package/dist/icons/DangerIcon.js +11 -0
- package/dist/icons/DangerIcon.js.map +1 -0
- package/dist/icons/DashboardIcon.d.ts +12 -0
- package/dist/icons/DashboardIcon.js +11 -0
- package/dist/icons/DashboardIcon.js.map +1 -0
- package/dist/icons/DatabaseIcon.d.ts +12 -0
- package/dist/icons/DatabaseIcon.js +11 -0
- package/dist/icons/DatabaseIcon.js.map +1 -0
- package/dist/icons/DecimalDecreaseIcon.d.ts +12 -0
- package/dist/icons/DecimalDecreaseIcon.js +23 -0
- package/dist/icons/DecimalDecreaseIcon.js.map +1 -0
- package/dist/icons/DecimalIncreaseIcon.d.ts +12 -0
- package/dist/icons/DecimalIncreaseIcon.js +23 -0
- package/dist/icons/DecimalIncreaseIcon.js.map +1 -0
- package/dist/icons/DirectionIcon.d.ts +17 -0
- package/dist/icons/DirectionIcon.js +58 -0
- package/dist/icons/DirectionIcon.js.map +1 -0
- package/dist/icons/DonutIcon.d.ts +12 -0
- package/dist/icons/DonutIcon.js +11 -0
- package/dist/icons/DonutIcon.js.map +1 -0
- package/dist/icons/DownIcon.d.ts +12 -0
- package/dist/icons/DownIcon.js +11 -0
- package/dist/icons/DownIcon.js.map +1 -0
- package/dist/icons/EditIcon.d.ts +12 -0
- package/dist/icons/EditIcon.js +11 -0
- package/dist/icons/EditIcon.js.map +1 -0
- package/dist/icons/ExclamationCircleFilledIcon.d.ts +12 -0
- package/dist/icons/ExclamationCircleFilledIcon.js +11 -0
- package/dist/icons/ExclamationCircleFilledIcon.js.map +1 -0
- package/dist/icons/ExclamationCircleIcon.d.ts +12 -0
- package/dist/icons/ExclamationCircleIcon.js +11 -0
- package/dist/icons/ExclamationCircleIcon.js.map +1 -0
- package/dist/icons/ExclamationIcon.d.ts +12 -0
- package/dist/icons/ExclamationIcon.js +11 -0
- package/dist/icons/ExclamationIcon.js.map +1 -0
- package/dist/icons/EyeIcon.d.ts +12 -0
- package/dist/icons/EyeIcon.js +11 -0
- package/dist/icons/EyeIcon.js.map +1 -0
- package/dist/icons/EyeInvisibleIcon.d.ts +12 -0
- package/dist/icons/EyeInvisibleIcon.js +11 -0
- package/dist/icons/EyeInvisibleIcon.js.map +1 -0
- package/dist/icons/FilterIcon.d.ts +12 -0
- package/dist/icons/FilterIcon.js +11 -0
- package/dist/icons/FilterIcon.js.map +1 -0
- package/dist/icons/FolderFilledIcon.d.ts +12 -0
- package/dist/icons/FolderFilledIcon.js +20 -0
- package/dist/icons/FolderFilledIcon.js.map +1 -0
- package/dist/icons/FolderIcon.d.ts +12 -0
- package/dist/icons/FolderIcon.js +32 -0
- package/dist/icons/FolderIcon.js.map +1 -0
- package/dist/icons/FolderOpenFilledIcon.d.ts +12 -0
- package/dist/icons/FolderOpenFilledIcon.js +20 -0
- package/dist/icons/FolderOpenFilledIcon.js.map +1 -0
- package/dist/icons/FolderOpenIcon.d.ts +12 -0
- package/dist/icons/FolderOpenIcon.js +23 -0
- package/dist/icons/FolderOpenIcon.js.map +1 -0
- package/dist/icons/ForwardIcon.d.ts +12 -0
- package/dist/icons/ForwardIcon.js +11 -0
- package/dist/icons/ForwardIcon.js.map +1 -0
- package/dist/icons/HierarchyIcon.d.ts +12 -0
- package/dist/icons/HierarchyIcon.js +23 -0
- package/dist/icons/HierarchyIcon.js.map +1 -0
- package/dist/icons/HierarchyOpenIcon.d.ts +12 -0
- package/dist/icons/HierarchyOpenIcon.js +20 -0
- package/dist/icons/HierarchyOpenIcon.js.map +1 -0
- package/dist/icons/Icon.d.ts +18 -0
- package/dist/icons/Icon.js +56 -0
- package/dist/icons/Icon.js.map +1 -0
- package/dist/icons/InfoCircleIcon.d.ts +12 -0
- package/dist/icons/InfoCircleIcon.js +11 -0
- package/dist/icons/InfoCircleIcon.js.map +1 -0
- package/dist/icons/InfoIcon.d.ts +12 -0
- package/dist/icons/InfoIcon.js +11 -0
- package/dist/icons/InfoIcon.js.map +1 -0
- package/dist/icons/KeyIcon.d.ts +12 -0
- package/dist/icons/KeyIcon.js +11 -0
- package/dist/icons/KeyIcon.js.map +1 -0
- package/dist/icons/LeftIcon.d.ts +12 -0
- package/dist/icons/LeftIcon.js +11 -0
- package/dist/icons/LeftIcon.js.map +1 -0
- package/dist/icons/LineChartIcon.d.ts +12 -0
- package/dist/icons/LineChartIcon.js +11 -0
- package/dist/icons/LineChartIcon.js.map +1 -0
- package/dist/icons/LoadingIcon.d.ts +12 -0
- package/dist/icons/LoadingIcon.js +33 -0
- package/dist/icons/LoadingIcon.js.map +1 -0
- package/dist/icons/LockFilledIcon.d.ts +12 -0
- package/dist/icons/LockFilledIcon.js +11 -0
- package/dist/icons/LockFilledIcon.js.map +1 -0
- package/dist/icons/LockIcon.d.ts +12 -0
- package/dist/icons/LockIcon.js +11 -0
- package/dist/icons/LockIcon.js.map +1 -0
- package/dist/icons/MoreIcon.d.ts +12 -0
- package/dist/icons/MoreIcon.js +11 -0
- package/dist/icons/MoreIcon.js.map +1 -0
- package/dist/icons/NotAllowedIcon.d.ts +12 -0
- package/dist/icons/NotAllowedIcon.js +11 -0
- package/dist/icons/NotAllowedIcon.js.map +1 -0
- package/dist/icons/Number123Icon.d.ts +12 -0
- package/dist/icons/Number123Icon.js +23 -0
- package/dist/icons/Number123Icon.js.map +1 -0
- package/dist/icons/NumberIcon.d.ts +12 -0
- package/dist/icons/NumberIcon.js +11 -0
- package/dist/icons/NumberIcon.js.map +1 -0
- package/dist/icons/PauseCircleFilledIcon.d.ts +12 -0
- package/dist/icons/PauseCircleFilledIcon.js +20 -0
- package/dist/icons/PauseCircleFilledIcon.js.map +1 -0
- package/dist/icons/PauseCircleIcon.d.ts +12 -0
- package/dist/icons/PauseCircleIcon.js +23 -0
- package/dist/icons/PauseCircleIcon.js.map +1 -0
- package/dist/icons/PauseIcon.d.ts +12 -0
- package/dist/icons/PauseIcon.js +11 -0
- package/dist/icons/PauseIcon.js.map +1 -0
- package/dist/icons/PercentageIcon.d.ts +12 -0
- package/dist/icons/PercentageIcon.js +23 -0
- package/dist/icons/PercentageIcon.js.map +1 -0
- package/dist/icons/PieChartIcon.d.ts +12 -0
- package/dist/icons/PieChartIcon.js +11 -0
- package/dist/icons/PieChartIcon.js.map +1 -0
- package/dist/icons/PlayCircleIcon.d.ts +12 -0
- package/dist/icons/PlayCircleIcon.js +11 -0
- package/dist/icons/PlayCircleIcon.js.map +1 -0
- package/dist/icons/PlayIcon.d.ts +12 -0
- package/dist/icons/PlayIcon.js +11 -0
- package/dist/icons/PlayIcon.js.map +1 -0
- package/dist/icons/PlusIcon.d.ts +12 -0
- package/dist/icons/PlusIcon.js +11 -0
- package/dist/icons/PlusIcon.js.map +1 -0
- package/dist/icons/ProgressBarIcon.d.ts +12 -0
- package/dist/icons/ProgressBarIcon.js +23 -0
- package/dist/icons/ProgressBarIcon.js.map +1 -0
- package/dist/icons/ReloadIcon.d.ts +12 -0
- package/dist/icons/ReloadIcon.js +11 -0
- package/dist/icons/ReloadIcon.js.map +1 -0
- package/dist/icons/ReportIcon.d.ts +12 -0
- package/dist/icons/ReportIcon.js +11 -0
- package/dist/icons/ReportIcon.js.map +1 -0
- package/dist/icons/ReturnIcon.d.ts +12 -0
- package/dist/icons/ReturnIcon.js +11 -0
- package/dist/icons/ReturnIcon.js.map +1 -0
- package/dist/icons/RightIcon.d.ts +12 -0
- package/dist/icons/RightIcon.js +11 -0
- package/dist/icons/RightIcon.js.map +1 -0
- package/dist/icons/RowTotalsIcon.d.ts +12 -0
- package/dist/icons/RowTotalsIcon.js +27 -0
- package/dist/icons/RowTotalsIcon.js.map +1 -0
- package/dist/icons/SchemeIcon.d.ts +12 -0
- package/dist/icons/SchemeIcon.js +11 -0
- package/dist/icons/SchemeIcon.js.map +1 -0
- package/dist/icons/SearchIcon.d.ts +12 -0
- package/dist/icons/SearchIcon.js +11 -0
- package/dist/icons/SearchIcon.js.map +1 -0
- package/dist/icons/SemanticQueryIcon.d.ts +12 -0
- package/dist/icons/SemanticQueryIcon.js +32 -0
- package/dist/icons/SemanticQueryIcon.js.map +1 -0
- package/dist/icons/SettingsIcon.d.ts +12 -0
- package/dist/icons/SettingsIcon.js +11 -0
- package/dist/icons/SettingsIcon.js.map +1 -0
- package/dist/icons/ShieldFilledIcon.d.ts +12 -0
- package/dist/icons/ShieldFilledIcon.js +11 -0
- package/dist/icons/ShieldFilledIcon.js.map +1 -0
- package/dist/icons/ShieldIcon.d.ts +12 -0
- package/dist/icons/ShieldIcon.js +11 -0
- package/dist/icons/ShieldIcon.js.map +1 -0
- package/dist/icons/SlashIcon.d.ts +12 -0
- package/dist/icons/SlashIcon.js +11 -0
- package/dist/icons/SlashIcon.js.map +1 -0
- package/dist/icons/SparklesIcon.d.ts +12 -0
- package/dist/icons/SparklesIcon.js +11 -0
- package/dist/icons/SparklesIcon.js.map +1 -0
- package/dist/icons/SqlIcon.d.ts +12 -0
- package/dist/icons/SqlIcon.js +11 -0
- package/dist/icons/SqlIcon.js.map +1 -0
- package/dist/icons/StatsIcon.d.ts +12 -0
- package/dist/icons/StatsIcon.js +23 -0
- package/dist/icons/StatsIcon.js.map +1 -0
- package/dist/icons/StopIcon.d.ts +12 -0
- package/dist/icons/StopIcon.js +11 -0
- package/dist/icons/StopIcon.js.map +1 -0
- package/dist/icons/StringIcon.d.ts +12 -0
- package/dist/icons/StringIcon.js +30 -0
- package/dist/icons/StringIcon.js.map +1 -0
- package/dist/icons/SubtotalsIcon.d.ts +12 -0
- package/dist/icons/SubtotalsIcon.js +27 -0
- package/dist/icons/SubtotalsIcon.js.map +1 -0
- package/dist/icons/SwitchIcon.d.ts +12 -0
- package/dist/icons/SwitchIcon.js +11 -0
- package/dist/icons/SwitchIcon.js.map +1 -0
- package/dist/icons/TableIcon.d.ts +12 -0
- package/dist/icons/TableIcon.js +11 -0
- package/dist/icons/TableIcon.js.map +1 -0
- package/dist/icons/ThumbsDownIcon.d.ts +12 -0
- package/dist/icons/ThumbsDownIcon.js +11 -0
- package/dist/icons/ThumbsDownIcon.js.map +1 -0
- package/dist/icons/ThumbsUpIcon.d.ts +12 -0
- package/dist/icons/ThumbsUpIcon.js +11 -0
- package/dist/icons/ThumbsUpIcon.js.map +1 -0
- package/dist/icons/ThunderboltCrossedIcon.d.ts +12 -0
- package/dist/icons/ThunderboltCrossedIcon.js +11 -0
- package/dist/icons/ThunderboltCrossedIcon.js.map +1 -0
- package/dist/icons/ThunderboltFilledIcon.d.ts +12 -0
- package/dist/icons/ThunderboltFilledIcon.js +11 -0
- package/dist/icons/ThunderboltFilledIcon.js.map +1 -0
- package/dist/icons/ThunderboltIcon.d.ts +12 -0
- package/dist/icons/ThunderboltIcon.js +11 -0
- package/dist/icons/ThunderboltIcon.js.map +1 -0
- package/dist/icons/TimeIcon.d.ts +12 -0
- package/dist/icons/TimeIcon.js +11 -0
- package/dist/icons/TimeIcon.js.map +1 -0
- package/dist/icons/TrashIcon.d.ts +12 -0
- package/dist/icons/TrashIcon.js +11 -0
- package/dist/icons/TrashIcon.js.map +1 -0
- package/dist/icons/UnlockIcon.d.ts +12 -0
- package/dist/icons/UnlockIcon.js +11 -0
- package/dist/icons/UnlockIcon.js.map +1 -0
- package/dist/icons/UpIcon.d.ts +12 -0
- package/dist/icons/UpIcon.js +11 -0
- package/dist/icons/UpIcon.js.map +1 -0
- package/dist/icons/UserGroupIcon.d.ts +12 -0
- package/dist/icons/UserGroupIcon.js +30 -0
- package/dist/icons/UserGroupIcon.js.map +1 -0
- package/dist/icons/UserIcon.d.ts +12 -0
- package/dist/icons/UserIcon.js +30 -0
- package/dist/icons/UserIcon.js.map +1 -0
- package/dist/icons/UserLockIcon.d.ts +12 -0
- package/dist/icons/UserLockIcon.js +23 -0
- package/dist/icons/UserLockIcon.js.map +1 -0
- package/dist/icons/ViewIcon.d.ts +12 -0
- package/dist/icons/ViewIcon.js +23 -0
- package/dist/icons/ViewIcon.js.map +1 -0
- package/dist/icons/WarningFilledIcon.d.ts +12 -0
- package/dist/icons/WarningFilledIcon.js +11 -0
- package/dist/icons/WarningFilledIcon.js.map +1 -0
- package/dist/icons/WarningIcon.d.ts +12 -0
- package/dist/icons/WarningIcon.js +11 -0
- package/dist/icons/WarningIcon.js.map +1 -0
- package/dist/icons/index.d.ts +129 -0
- package/dist/icons/wrap-icon.d.ts +13 -0
- package/dist/icons/wrap-icon.js +21 -0
- package/dist/icons/wrap-icon.js.map +1 -0
- package/dist/index.d.ts +388 -0
- package/dist/index.js +342 -0
- package/dist/index.js.map +1 -0
- package/dist/injector/injector.js +401 -0
- package/dist/injector/injector.js.map +1 -0
- package/dist/injector/sheet-manager.js +715 -0
- package/dist/injector/sheet-manager.js.map +1 -0
- package/dist/injector/types.d.ts +19 -0
- package/dist/keyframes/index.js +157 -0
- package/dist/keyframes/index.js.map +1 -0
- package/dist/node_modules/.pnpm/csstype@3.1.2/node_modules/csstype/index.d.ts +629 -0
- package/dist/parser/classify.js +325 -0
- package/dist/parser/classify.js.map +1 -0
- package/dist/parser/const.js +34 -0
- package/dist/parser/const.js.map +1 -0
- package/dist/parser/lru.js +110 -0
- package/dist/parser/lru.js.map +1 -0
- package/dist/parser/parser.js +117 -0
- package/dist/parser/parser.js.map +1 -0
- package/dist/parser/tokenizer.js +70 -0
- package/dist/parser/tokenizer.js.map +1 -0
- package/dist/parser/types.d.ts +38 -0
- package/dist/parser/types.js +47 -0
- package/dist/parser/types.js.map +1 -0
- package/dist/pipeline/conditions.js +378 -0
- package/dist/pipeline/conditions.js.map +1 -0
- package/dist/pipeline/exclusive.js +232 -0
- package/dist/pipeline/exclusive.js.map +1 -0
- package/dist/pipeline/index.js +633 -0
- package/dist/pipeline/index.js.map +1 -0
- package/dist/pipeline/materialize.js +822 -0
- package/dist/pipeline/materialize.js.map +1 -0
- package/dist/pipeline/parseStateKey.js +422 -0
- package/dist/pipeline/parseStateKey.js.map +1 -0
- package/dist/pipeline/simplify.js +558 -0
- package/dist/pipeline/simplify.js.map +1 -0
- package/dist/plugins/okhsl-plugin.js +344 -0
- package/dist/plugins/okhsl-plugin.js.map +1 -0
- package/dist/plugins/types.d.ts +52 -0
- package/dist/properties/index.js +142 -0
- package/dist/properties/index.js.map +1 -0
- package/dist/provider.d.ts +23 -0
- package/dist/provider.js +53 -0
- package/dist/provider.js.map +1 -0
- package/dist/providers/TrackingProvider.d.ts +11 -0
- package/dist/providers/TrackingProvider.js +21 -0
- package/dist/providers/TrackingProvider.js.map +1 -0
- package/dist/providers/navigation.types.d.ts +29 -0
- package/dist/providers/navigationAdapter.default.d.ts +12 -0
- package/dist/providers/navigationAdapter.default.js +38 -0
- package/dist/providers/navigationAdapter.default.js.map +1 -0
- package/dist/shared/form.d.ts +114 -0
- package/dist/shared/index.d.ts +10 -0
- package/dist/states/index.js +162 -0
- package/dist/states/index.js.map +1 -0
- package/dist/styles/align.js +15 -0
- package/dist/styles/align.js.map +1 -0
- package/dist/styles/border.js +115 -0
- package/dist/styles/border.js.map +1 -0
- package/dist/styles/color.js +24 -0
- package/dist/styles/color.js.map +1 -0
- package/dist/styles/createStyle.js +78 -0
- package/dist/styles/createStyle.js.map +1 -0
- package/dist/styles/dimension.js +100 -0
- package/dist/styles/dimension.js.map +1 -0
- package/dist/styles/display.js +68 -0
- package/dist/styles/display.js.map +1 -0
- package/dist/styles/fade.js +58 -0
- package/dist/styles/fade.js.map +1 -0
- package/dist/styles/fill.js +52 -0
- package/dist/styles/fill.js.map +1 -0
- package/dist/styles/flow.js +13 -0
- package/dist/styles/flow.js.map +1 -0
- package/dist/styles/gap.js +37 -0
- package/dist/styles/gap.js.map +1 -0
- package/dist/styles/height.js +21 -0
- package/dist/styles/height.js.map +1 -0
- package/dist/styles/index.js +10 -0
- package/dist/styles/index.js.map +1 -0
- package/dist/styles/inset.js +143 -0
- package/dist/styles/inset.js.map +1 -0
- package/dist/styles/justify.js +15 -0
- package/dist/styles/justify.js.map +1 -0
- package/dist/styles/margin.js +97 -0
- package/dist/styles/margin.js.map +1 -0
- package/dist/styles/outline.js +66 -0
- package/dist/styles/outline.js.map +1 -0
- package/dist/styles/padding.js +97 -0
- package/dist/styles/padding.js.map +1 -0
- package/dist/styles/predefined.js +233 -0
- package/dist/styles/predefined.js.map +1 -0
- package/dist/styles/preset.js +126 -0
- package/dist/styles/preset.js.map +1 -0
- package/dist/styles/radius.js +52 -0
- package/dist/styles/radius.js.map +1 -0
- package/dist/styles/scrollbar.js +109 -0
- package/dist/styles/scrollbar.js.map +1 -0
- package/dist/styles/shadow.js +28 -0
- package/dist/styles/shadow.js.map +1 -0
- package/dist/styles/styledScrollbar.js +39 -0
- package/dist/styles/styledScrollbar.js.map +1 -0
- package/dist/styles/transition.js +139 -0
- package/dist/styles/transition.js.map +1 -0
- package/dist/styles/types.d.ts +495 -0
- package/dist/styles/width.js +21 -0
- package/dist/styles/width.js.map +1 -0
- package/dist/tasty/chunks/cacheKey.js +71 -0
- package/dist/tasty/chunks/cacheKey.js.map +1 -0
- package/dist/tasty/chunks/definitions.d.ts +38 -0
- package/dist/tasty/chunks/definitions.js +261 -0
- package/dist/tasty/chunks/definitions.js.map +1 -0
- package/dist/tasty/chunks/renderChunk.js +68 -0
- package/dist/tasty/chunks/renderChunk.js.map +1 -0
- package/dist/tasty/config.d.ts +283 -0
- package/dist/tasty/config.js +401 -0
- package/dist/tasty/config.js.map +1 -0
- package/dist/tasty/debug.d.ts +200 -0
- package/dist/tasty/debug.js +734 -0
- package/dist/tasty/debug.js.map +1 -0
- package/dist/tasty/hooks/useGlobalStyles.d.ts +28 -0
- package/dist/tasty/hooks/useGlobalStyles.js +57 -0
- package/dist/tasty/hooks/useGlobalStyles.js.map +1 -0
- package/dist/tasty/hooks/useKeyframes.d.ts +57 -0
- package/dist/tasty/hooks/useKeyframes.js +55 -0
- package/dist/tasty/hooks/useKeyframes.js.map +1 -0
- package/dist/tasty/hooks/useProperty.d.ts +80 -0
- package/dist/tasty/hooks/useProperty.js +92 -0
- package/dist/tasty/hooks/useProperty.js.map +1 -0
- package/dist/tasty/hooks/useRawCSS.d.ts +54 -0
- package/dist/tasty/hooks/useRawCSS.js +29 -0
- package/dist/tasty/hooks/useRawCSS.js.map +1 -0
- package/dist/tasty/hooks/useStyles.d.ts +41 -0
- package/dist/tasty/hooks/useStyles.js +170 -0
- package/dist/tasty/hooks/useStyles.js.map +1 -0
- package/dist/tasty/index.d.ts +35 -0
- package/dist/tasty/injector/index.d.ts +158 -0
- package/dist/tasty/injector/index.js +155 -0
- package/dist/tasty/injector/index.js.map +1 -0
- package/dist/tasty/injector/injector.d.ts +137 -0
- package/dist/tasty/injector/injector.js +401 -0
- package/dist/tasty/injector/injector.js.map +1 -0
- package/dist/tasty/injector/sheet-manager.d.ts +128 -0
- package/dist/tasty/injector/sheet-manager.js +715 -0
- package/dist/tasty/injector/sheet-manager.js.map +1 -0
- package/dist/tasty/injector/types.d.ts +136 -0
- package/dist/tasty/keyframes/index.js +207 -0
- package/dist/tasty/keyframes/index.js.map +1 -0
- package/dist/tasty/parser/classify.js +325 -0
- package/dist/tasty/parser/classify.js.map +1 -0
- package/dist/tasty/parser/const.js +34 -0
- package/dist/tasty/parser/const.js.map +1 -0
- package/dist/tasty/parser/lru.js +110 -0
- package/dist/tasty/parser/lru.js.map +1 -0
- package/dist/tasty/parser/parser.d.ts +26 -0
- package/dist/tasty/parser/parser.js +117 -0
- package/dist/tasty/parser/parser.js.map +1 -0
- package/dist/tasty/parser/tokenizer.js +70 -0
- package/dist/tasty/parser/tokenizer.js.map +1 -0
- package/dist/tasty/parser/types.d.ts +47 -0
- package/dist/tasty/parser/types.js +47 -0
- package/dist/tasty/parser/types.js.map +1 -0
- package/dist/tasty/pipeline/conditions.js +378 -0
- package/dist/tasty/pipeline/conditions.js.map +1 -0
- package/dist/tasty/pipeline/exclusive.js +232 -0
- package/dist/tasty/pipeline/exclusive.js.map +1 -0
- package/dist/tasty/pipeline/index.d.ts +52 -0
- package/dist/tasty/pipeline/index.js +639 -0
- package/dist/tasty/pipeline/index.js.map +1 -0
- package/dist/tasty/pipeline/materialize.js +822 -0
- package/dist/tasty/pipeline/materialize.js.map +1 -0
- package/dist/tasty/pipeline/parseStateKey.js +422 -0
- package/dist/tasty/pipeline/parseStateKey.js.map +1 -0
- package/dist/tasty/pipeline/simplify.js +558 -0
- package/dist/tasty/pipeline/simplify.js.map +1 -0
- package/dist/tasty/plugins/okhsl-plugin.d.ts +36 -0
- package/dist/tasty/plugins/okhsl-plugin.js +370 -0
- package/dist/tasty/plugins/okhsl-plugin.js.map +1 -0
- package/dist/tasty/plugins/types.d.ts +72 -0
- package/dist/tasty/properties/index.js +159 -0
- package/dist/tasty/properties/index.js.map +1 -0
- package/dist/tasty/states/index.d.ts +44 -0
- package/dist/tasty/states/index.js +390 -0
- package/dist/tasty/states/index.js.map +1 -0
- package/dist/tasty/static/index.d.ts +6 -0
- package/dist/tasty/static/index.js +6 -0
- package/dist/tasty/static/tastyStatic.d.ts +47 -0
- package/dist/tasty/static/tastyStatic.js +32 -0
- package/dist/tasty/static/tastyStatic.js.map +1 -0
- package/dist/tasty/static/types.d.ts +50 -0
- package/dist/tasty/static/types.js +25 -0
- package/dist/tasty/static/types.js.map +1 -0
- package/dist/tasty/styles/align.d.ts +16 -0
- package/dist/tasty/styles/align.js +15 -0
- package/dist/tasty/styles/align.js.map +1 -0
- package/dist/tasty/styles/border.d.ts +26 -0
- package/dist/tasty/styles/border.js +115 -0
- package/dist/tasty/styles/border.js.map +1 -0
- package/dist/tasty/styles/color.d.ts +15 -0
- package/dist/tasty/styles/color.js +24 -0
- package/dist/tasty/styles/color.js.map +1 -0
- package/dist/tasty/styles/createStyle.js +78 -0
- package/dist/tasty/styles/createStyle.js.map +1 -0
- package/dist/tasty/styles/dimension.js +100 -0
- package/dist/tasty/styles/dimension.js.map +1 -0
- package/dist/tasty/styles/display.d.ts +38 -0
- package/dist/tasty/styles/display.js +68 -0
- package/dist/tasty/styles/display.js.map +1 -0
- package/dist/tasty/styles/fade.d.ts +16 -0
- package/dist/tasty/styles/fade.js +58 -0
- package/dist/tasty/styles/fade.js.map +1 -0
- package/dist/tasty/styles/fill.d.ts +45 -0
- package/dist/tasty/styles/fill.js +52 -0
- package/dist/tasty/styles/fill.js.map +1 -0
- package/dist/tasty/styles/flow.d.ts +17 -0
- package/dist/tasty/styles/flow.js +13 -0
- package/dist/tasty/styles/flow.js.map +1 -0
- package/dist/tasty/styles/gap.d.ts +32 -0
- package/dist/tasty/styles/gap.js +37 -0
- package/dist/tasty/styles/gap.js.map +1 -0
- package/dist/tasty/styles/height.d.ts +18 -0
- package/dist/tasty/styles/height.js +21 -0
- package/dist/tasty/styles/height.js.map +1 -0
- package/dist/tasty/styles/index.d.ts +3 -0
- package/dist/tasty/styles/index.js +10 -0
- package/dist/tasty/styles/index.js.map +1 -0
- package/dist/tasty/styles/inset.d.ts +51 -0
- package/dist/tasty/styles/inset.js +143 -0
- package/dist/tasty/styles/inset.js.map +1 -0
- package/dist/tasty/styles/justify.d.ts +16 -0
- package/dist/tasty/styles/justify.js +15 -0
- package/dist/tasty/styles/justify.js.map +1 -0
- package/dist/tasty/styles/list.d.ts +17 -0
- package/dist/tasty/styles/list.js +99 -0
- package/dist/tasty/styles/list.js.map +1 -0
- package/dist/tasty/styles/margin.d.ts +29 -0
- package/dist/tasty/styles/margin.js +97 -0
- package/dist/tasty/styles/margin.js.map +1 -0
- package/dist/tasty/styles/outline.d.ts +30 -0
- package/dist/tasty/styles/outline.js +66 -0
- package/dist/tasty/styles/outline.js.map +1 -0
- package/dist/tasty/styles/padding.d.ts +29 -0
- package/dist/tasty/styles/padding.js +97 -0
- package/dist/tasty/styles/padding.js.map +1 -0
- package/dist/tasty/styles/predefined.d.ts +74 -0
- package/dist/tasty/styles/predefined.js +242 -0
- package/dist/tasty/styles/predefined.js.map +1 -0
- package/dist/tasty/styles/preset.d.ts +48 -0
- package/dist/tasty/styles/preset.js +126 -0
- package/dist/tasty/styles/preset.js.map +1 -0
- package/dist/tasty/styles/radius.d.ts +15 -0
- package/dist/tasty/styles/radius.js +52 -0
- package/dist/tasty/styles/radius.js.map +1 -0
- package/dist/tasty/styles/scrollbar.d.ts +22 -0
- package/dist/tasty/styles/scrollbar.js +109 -0
- package/dist/tasty/styles/scrollbar.js.map +1 -0
- package/dist/tasty/styles/shadow.d.ts +15 -0
- package/dist/tasty/styles/shadow.js +28 -0
- package/dist/tasty/styles/shadow.js.map +1 -0
- package/dist/tasty/styles/styledScrollbar.d.ts +48 -0
- package/dist/tasty/styles/styledScrollbar.js +39 -0
- package/dist/tasty/styles/styledScrollbar.js.map +1 -0
- package/dist/tasty/styles/transition.d.ts +15 -0
- package/dist/tasty/styles/transition.js +139 -0
- package/dist/tasty/styles/transition.js.map +1 -0
- package/dist/tasty/styles/types.d.ts +499 -0
- package/dist/tasty/styles/width.d.ts +18 -0
- package/dist/tasty/styles/width.js +21 -0
- package/dist/tasty/styles/width.js.map +1 -0
- package/dist/tasty/tasty.d.ts +936 -0
- package/dist/tasty/tasty.js +191 -0
- package/dist/tasty/tasty.js.map +1 -0
- package/dist/tasty/types.d.ts +192 -0
- package/dist/tasty/utils/cache-wrapper.js +25 -0
- package/dist/tasty/utils/cache-wrapper.js.map +1 -0
- package/dist/tasty/utils/case-converter.js +9 -0
- package/dist/tasty/utils/case-converter.js.map +1 -0
- package/dist/tasty/utils/colors.d.ts +6 -0
- package/dist/tasty/utils/colors.js +10 -0
- package/dist/tasty/utils/colors.js.map +1 -0
- package/dist/tasty/utils/dotize.d.ts +27 -0
- package/dist/tasty/utils/dotize.js +123 -0
- package/dist/tasty/utils/dotize.js.map +1 -0
- package/dist/tasty/utils/filter-base-props.d.ts +16 -0
- package/dist/tasty/utils/filter-base-props.js +46 -0
- package/dist/tasty/utils/filter-base-props.js.map +1 -0
- package/dist/tasty/utils/get-display-name.d.ts +8 -0
- package/dist/tasty/utils/get-display-name.js +11 -0
- package/dist/tasty/utils/get-display-name.js.map +1 -0
- package/dist/tasty/utils/hsl-to-rgb.js +39 -0
- package/dist/tasty/utils/hsl-to-rgb.js.map +1 -0
- package/dist/tasty/utils/is-dev-env.js +20 -0
- package/dist/tasty/utils/is-dev-env.js.map +1 -0
- package/dist/tasty/utils/merge-styles.d.ts +8 -0
- package/dist/tasty/utils/merge-styles.js +147 -0
- package/dist/tasty/utils/merge-styles.js.map +1 -0
- package/dist/tasty/utils/mod-attrs.d.ts +9 -0
- package/dist/tasty/utils/mod-attrs.js +22 -0
- package/dist/tasty/utils/mod-attrs.js.map +1 -0
- package/dist/tasty/utils/okhsl-to-rgb.js +297 -0
- package/dist/tasty/utils/okhsl-to-rgb.js.map +1 -0
- package/dist/tasty/utils/process-tokens.d.ts +32 -0
- package/dist/tasty/utils/process-tokens.js +172 -0
- package/dist/tasty/utils/process-tokens.js.map +1 -0
- package/dist/tasty/utils/resolve-recipes.d.ts +18 -0
- package/dist/tasty/utils/resolve-recipes.js +144 -0
- package/dist/tasty/utils/resolve-recipes.js.map +1 -0
- package/dist/tasty/utils/string.js +9 -0
- package/dist/tasty/utils/string.js.map +1 -0
- package/dist/tasty/utils/styles.d.ts +204 -0
- package/dist/tasty/utils/styles.js +577 -0
- package/dist/tasty/utils/styles.js.map +1 -0
- package/dist/tasty/utils/typography.d.ts +37 -0
- package/dist/tasty/utils/typography.js +54 -0
- package/dist/tasty/utils/typography.js.map +1 -0
- package/dist/tasty/utils/warnings.d.ts +17 -0
- package/dist/tasty/utils/warnings.js +17 -0
- package/dist/tasty/utils/warnings.js.map +1 -0
- package/dist/tasty/zero/babel.d.ts +111 -0
- package/dist/tasty/zero/babel.js +283 -0
- package/dist/tasty/zero/babel.js.map +1 -0
- package/dist/tasty/zero/index.d.ts +4 -0
- package/dist/tasty/zero/index.js +5 -0
- package/dist/tasty/zero/next.d.ts +61 -0
- package/dist/tasty/zero/next.js +79 -0
- package/dist/tasty/zero/next.js.map +1 -0
- package/dist/tokens/base.d.ts +14 -0
- package/dist/tokens/base.js +40 -0
- package/dist/tokens/base.js.map +1 -0
- package/dist/tokens/colors.d.ts +13 -0
- package/dist/tokens/colors.js +90 -0
- package/dist/tokens/colors.js.map +1 -0
- package/dist/tokens/index.d.ts +30 -0
- package/dist/tokens/index.js +54 -0
- package/dist/tokens/index.js.map +1 -0
- package/dist/tokens/layout.d.ts +13 -0
- package/dist/tokens/layout.js +18 -0
- package/dist/tokens/layout.js.map +1 -0
- package/dist/tokens/shadows.d.ts +18 -0
- package/dist/tokens/shadows.js +22 -0
- package/dist/tokens/shadows.js.map +1 -0
- package/dist/tokens/sizes.d.ts +31 -0
- package/dist/tokens/sizes.js +39 -0
- package/dist/tokens/sizes.js.map +1 -0
- package/dist/tokens/spacing.d.ts +14 -0
- package/dist/tokens/spacing.js +19 -0
- package/dist/tokens/spacing.js.map +1 -0
- package/dist/tokens/typography.d.ts +35 -0
- package/dist/tokens/typography.js +238 -0
- package/dist/tokens/typography.js.map +1 -0
- package/dist/utils/ResizeSensor.d.ts +14 -0
- package/dist/utils/ResizeSensor.js +241 -0
- package/dist/utils/ResizeSensor.js.map +1 -0
- package/dist/utils/cache-wrapper.js +25 -0
- package/dist/utils/cache-wrapper.js.map +1 -0
- package/dist/utils/case-converter.js +9 -0
- package/dist/utils/case-converter.js.map +1 -0
- package/dist/utils/hsl-to-rgb.js +39 -0
- package/dist/utils/hsl-to-rgb.js.map +1 -0
- package/dist/utils/index.d.ts +27 -0
- package/dist/utils/is-dev-env.js +20 -0
- package/dist/utils/is-dev-env.js.map +1 -0
- package/dist/utils/merge-styles.js +147 -0
- package/dist/utils/merge-styles.js.map +1 -0
- package/dist/utils/modules.d.ts +6 -0
- package/dist/utils/modules.js +9 -0
- package/dist/utils/modules.js.map +1 -0
- package/dist/utils/okhsl-to-rgb.js +297 -0
- package/dist/utils/okhsl-to-rgb.js.map +1 -0
- package/dist/utils/process-tokens.js +29 -0
- package/dist/utils/process-tokens.js.map +1 -0
- package/dist/utils/promise.d.ts +6 -0
- package/dist/utils/promise.js +11 -0
- package/dist/utils/promise.js.map +1 -0
- package/dist/utils/raf.d.ts +22 -0
- package/dist/utils/raf.js +41 -0
- package/dist/utils/raf.js.map +1 -0
- package/dist/utils/random.d.ts +10 -0
- package/dist/utils/random.js +17 -0
- package/dist/utils/random.js.map +1 -0
- package/dist/utils/range.d.ts +6 -0
- package/dist/utils/range.js +9 -0
- package/dist/utils/range.js.map +1 -0
- package/dist/utils/react/RenderCache.d.ts +23 -0
- package/dist/utils/react/RenderCache.js +30 -0
- package/dist/utils/react/RenderCache.js.map +1 -0
- package/dist/utils/react/Slots.d.ts +10 -0
- package/dist/utils/react/Slots.js +40 -0
- package/dist/utils/react/Slots.js.map +1 -0
- package/dist/utils/react/chain.d.ts +9 -0
- package/dist/utils/react/chain.js +14 -0
- package/dist/utils/react/chain.js.map +1 -0
- package/dist/utils/react/forwardRefWithGenerics.d.ts +33 -0
- package/dist/utils/react/forwardRefWithGenerics.js +33 -0
- package/dist/utils/react/forwardRefWithGenerics.js.map +1 -0
- package/dist/utils/react/index.d.ts +19 -0
- package/dist/utils/react/interactions.js +24 -0
- package/dist/utils/react/interactions.js.map +1 -0
- package/dist/utils/react/isTextOnly.d.ts +6 -0
- package/dist/utils/react/isTextOnly.js +11 -0
- package/dist/utils/react/isTextOnly.js.map +1 -0
- package/dist/utils/react/mapProps.js +14 -0
- package/dist/utils/react/mapProps.js.map +1 -0
- package/dist/utils/react/mergeProps.d.ts +17 -0
- package/dist/utils/react/mergeProps.js +34 -0
- package/dist/utils/react/mergeProps.js.map +1 -0
- package/dist/utils/react/nullableValue.d.ts +12 -0
- package/dist/utils/react/nullableValue.js +29 -0
- package/dist/utils/react/nullableValue.js.map +1 -0
- package/dist/utils/react/resolveIcon.d.ts +30 -0
- package/dist/utils/react/resolveIcon.js +41 -0
- package/dist/utils/react/resolveIcon.js.map +1 -0
- package/dist/utils/react/sharedStore.js +38 -0
- package/dist/utils/react/sharedStore.js.map +1 -0
- package/dist/utils/react/useCombinedRefs.d.ts +9 -0
- package/dist/utils/react/useCombinedRefs.js +24 -0
- package/dist/utils/react/useCombinedRefs.js.map +1 -0
- package/dist/utils/react/useControlledFocusVisible.d.ts +15 -0
- package/dist/utils/react/useControlledFocusVisible.js +34 -0
- package/dist/utils/react/useControlledFocusVisible.js.map +1 -0
- package/dist/utils/react/useEventBus.d.ts +92 -0
- package/dist/utils/react/useEventBus.js +125 -0
- package/dist/utils/react/useEventBus.js.map +1 -0
- package/dist/utils/react/useId.js +56 -0
- package/dist/utils/react/useId.js.map +1 -0
- package/dist/utils/react/useIsDarwin.js +36 -0
- package/dist/utils/react/useIsDarwin.js.map +1 -0
- package/dist/utils/react/useKeySymbols.js +68 -0
- package/dist/utils/react/useKeySymbols.js.map +1 -0
- package/dist/utils/react/useLayoutEffect.d.ts +8 -0
- package/dist/utils/react/useLayoutEffect.js +9 -0
- package/dist/utils/react/useLayoutEffect.js.map +1 -0
- package/dist/utils/react/useLocalStorage.d.ts +37 -0
- package/dist/utils/react/useLocalStorage.js +100 -0
- package/dist/utils/react/useLocalStorage.js.map +1 -0
- package/dist/utils/react/useMergeStyles.d.ts +32 -0
- package/dist/utils/react/useMergeStyles.js +39 -0
- package/dist/utils/react/useMergeStyles.js.map +1 -0
- package/dist/utils/react/useQaProps.d.ts +23 -0
- package/dist/utils/react/useQaProps.js +31 -0
- package/dist/utils/react/useQaProps.js.map +1 -0
- package/dist/utils/react/useViewportSize.d.ts +13 -0
- package/dist/utils/react/useViewportSize.js +36 -0
- package/dist/utils/react/useViewportSize.js.map +1 -0
- package/dist/utils/react/wrapNodeIfPlain.d.ts +8 -0
- package/dist/utils/react/wrapNodeIfPlain.js +14 -0
- package/dist/utils/react/wrapNodeIfPlain.js.map +1 -0
- package/dist/utils/resolve-recipes.js +144 -0
- package/dist/utils/resolve-recipes.js.map +1 -0
- package/dist/utils/string.js +9 -0
- package/dist/utils/string.js.map +1 -0
- package/dist/utils/styles.d.ts +23 -0
- package/dist/utils/styles.js +338 -0
- package/dist/utils/styles.js.map +1 -0
- package/dist/utils/tree.d.ts +6 -0
- package/dist/utils/tree.js +17 -0
- package/dist/utils/tree.js.map +1 -0
- package/dist/utils/warnings.d.ts +6 -0
- package/dist/utils/warnings.js +30 -0
- package/dist/utils/warnings.js.map +1 -0
- package/dist/version.d.ts +12 -0
- package/dist/version.js +13 -0
- package/dist/version.js.map +1 -0
- package/package.json +146 -38
- package/CHANGELOG.md +0 -3255
- package/es/_internal/hooks/index.js +0 -18
- package/es/_internal/hooks/use-chained-callback.js +0 -19
- package/es/_internal/hooks/use-debounced-value.js +0 -53
- package/es/_internal/hooks/use-deprecation-warning.js +0 -20
- package/es/_internal/hooks/use-effect-once.js +0 -13
- package/es/_internal/hooks/use-event.js +0 -21
- package/es/_internal/hooks/use-is-first-render.js +0 -18
- package/es/_internal/hooks/use-sync-ref.js +0 -18
- package/es/_internal/hooks/use-timer/index.js +0 -11
- package/es/_internal/hooks/use-timer/timer.js +0 -60
- package/es/_internal/hooks/use-timer/use-timer.js +0 -45
- package/es/_internal/hooks/use-update-effect.js +0 -19
- package/es/_internal/hooks/use-warn.js +0 -39
- package/es/_internal/index.js +0 -10
- package/es/components/Block.js +0 -21
- package/es/components/CollectionItem.js +0 -62
- package/es/components/GlobalStyles.js +0 -324
- package/es/components/GridProvider.js +0 -63
- package/es/components/HiddenInput.js +0 -34
- package/es/components/OpenTrasition.js +0 -32
- package/es/components/Root.js +0 -50
- package/es/components/actions/Action/Action.js +0 -37
- package/es/components/actions/Banner/Banner.js +0 -77
- package/es/components/actions/Banner/index.js +0 -10
- package/es/components/actions/Button/Button.js +0 -343
- package/es/components/actions/Button/index.js +0 -10
- package/es/components/actions/ButtonGroup/ButtonGroup.js +0 -23
- package/es/components/actions/CommandMenu/CommandMenu.js +0 -461
- package/es/components/actions/CommandMenu/index.js +0 -11
- package/es/components/actions/CommandMenu/styled.js +0 -104
- package/es/components/actions/ItemAction/ItemAction.js +0 -180
- package/es/components/actions/ItemAction/index.js +0 -10
- package/es/components/actions/ItemActionContext.js +0 -30
- package/es/components/actions/ItemButton/ItemButton.js +0 -158
- package/es/components/actions/ItemButton/index.js +0 -10
- package/es/components/actions/Link/Link.js +0 -15
- package/es/components/actions/Menu/Menu.js +0 -136
- package/es/components/actions/Menu/MenuItem.js +0 -82
- package/es/components/actions/Menu/MenuSection.js +0 -37
- package/es/components/actions/Menu/MenuTrigger.js +0 -137
- package/es/components/actions/Menu/SubMenuTrigger.js +0 -288
- package/es/components/actions/Menu/SubmenuTriggerContext.js +0 -18
- package/es/components/actions/Menu/context.js +0 -14
- package/es/components/actions/Menu/index.js +0 -19
- package/es/components/actions/Menu/styled.js +0 -223
- package/es/components/actions/index.js +0 -24
- package/es/components/actions/use-action.js +0 -258
- package/es/components/actions/use-anchored-menu.js +0 -107
- package/es/components/actions/use-context-menu.js +0 -206
- package/es/components/content/ActiveZone/ActiveZone.js +0 -38
- package/es/components/content/Alert/Alert.js +0 -52
- package/es/components/content/Alert/index.js +0 -10
- package/es/components/content/Alert/types.js +0 -10
- package/es/components/content/Alert/use-alert.js +0 -31
- package/es/components/content/Avatar/Avatar.js +0 -33
- package/es/components/content/Badge/Badge.js +0 -54
- package/es/components/content/Card/Card.js +0 -29
- package/es/components/content/Content.js +0 -33
- package/es/components/content/CopyPasteBlock/CopyPasteBlock.js +0 -160
- package/es/components/content/CopyPasteBlock/index.js +0 -10
- package/es/components/content/CopySnippet/CopySnippet.js +0 -190
- package/es/components/content/CopySnippet/index.js +0 -10
- package/es/components/content/Disclosure/Disclosure.js +0 -301
- package/es/components/content/Disclosure/index.js +0 -10
- package/es/components/content/Divider.js +0 -54
- package/es/components/content/Footer.js +0 -28
- package/es/components/content/Header.js +0 -29
- package/es/components/content/HotKeys/HotKeys.js +0 -66
- package/es/components/content/HotKeys/index.js +0 -10
- package/es/components/content/Item/Item.js +0 -586
- package/es/components/content/Item/index.js +0 -11
- package/es/components/content/ItemBadge/ItemBadge.js +0 -119
- package/es/components/content/ItemBadge/index.js +0 -10
- package/es/components/content/Layout/GridLayout.js +0 -50
- package/es/components/content/Layout/Layout.js +0 -227
- package/es/components/content/Layout/LayoutBlock.js +0 -31
- package/es/components/content/Layout/LayoutCenter.js +0 -32
- package/es/components/content/Layout/LayoutContainer.js +0 -57
- package/es/components/content/Layout/LayoutContent.js +0 -121
- package/es/components/content/Layout/LayoutContext.js +0 -145
- package/es/components/content/Layout/LayoutFlex.js +0 -33
- package/es/components/content/Layout/LayoutFooter.js +0 -52
- package/es/components/content/Layout/LayoutGrid.js +0 -33
- package/es/components/content/Layout/LayoutHeader.js +0 -113
- package/es/components/content/Layout/LayoutPane.js +0 -336
- package/es/components/content/Layout/LayoutPanel.js +0 -486
- package/es/components/content/Layout/LayoutPanelHeader.js +0 -51
- package/es/components/content/Layout/LayoutToolbar.js +0 -38
- package/es/components/content/Layout/hooks/useTinyScrollbar.js +0 -177
- package/es/components/content/Layout/index.js +0 -39
- package/es/components/content/Layout/utils.js +0 -23
- package/es/components/content/List/SectionHeading.js +0 -23
- package/es/components/content/List/index.js +0 -10
- package/es/components/content/Paragraph.js +0 -23
- package/es/components/content/Placeholder/Placeholder.js +0 -73
- package/es/components/content/PrismCode/PrismCode.js +0 -102
- package/es/components/content/PrismCode/prismSetup.js +0 -211
- package/es/components/content/PrismDiffCode/PrismDiffCode.js +0 -44
- package/es/components/content/Result/Result.js +0 -129
- package/es/components/content/Skeleton/Skeleton.js +0 -83
- package/es/components/content/Tag/Tag.js +0 -44
- package/es/components/content/Text.js +0 -104
- package/es/components/content/TextItem/TextItem.js +0 -64
- package/es/components/content/TextItem/index.js +0 -10
- package/es/components/content/Title.js +0 -69
- package/es/components/content/highlightText.js +0 -33
- package/es/components/content/use-auto-tooltip.js +0 -148
- package/es/components/fields/Checkbox/Checkbox.js +0 -167
- package/es/components/fields/Checkbox/CheckboxGroup.js +0 -73
- package/es/components/fields/Checkbox/context.js +0 -11
- package/es/components/fields/Checkbox/index.js +0 -11
- package/es/components/fields/ComboBox/ComboBox.js +0 -1031
- package/es/components/fields/ComboBox/index.js +0 -10
- package/es/components/fields/DatePicker/DateInput.js +0 -61
- package/es/components/fields/DatePicker/DateInputBase.js +0 -62
- package/es/components/fields/DatePicker/DatePicker.js +0 -73
- package/es/components/fields/DatePicker/DatePickerButton.js +0 -16
- package/es/components/fields/DatePicker/DatePickerElement.js +0 -21
- package/es/components/fields/DatePicker/DatePickerInput.js +0 -51
- package/es/components/fields/DatePicker/DatePickerSegment.js +0 -68
- package/es/components/fields/DatePicker/DateRangePicker.js +0 -82
- package/es/components/fields/DatePicker/DateRangeSeparatedPicker.js +0 -133
- package/es/components/fields/DatePicker/TimeInput.js +0 -51
- package/es/components/fields/DatePicker/index.js +0 -16
- package/es/components/fields/DatePicker/intl.js +0 -14
- package/es/components/fields/DatePicker/parseDate.js +0 -30
- package/es/components/fields/DatePicker/props.js +0 -20
- package/es/components/fields/DatePicker/types.js +0 -10
- package/es/components/fields/DatePicker/utils.js +0 -104
- package/es/components/fields/FileInput/FileInput.js +0 -162
- package/es/components/fields/FilterListBox/FilterListBox.js +0 -655
- package/es/components/fields/FilterListBox/index.js +0 -10
- package/es/components/fields/FilterPicker/FilterPicker.js +0 -551
- package/es/components/fields/FilterPicker/index.js +0 -10
- package/es/components/fields/Input/Input.js +0 -21
- package/es/components/fields/Input/index.js +0 -10
- package/es/components/fields/ListBox/ListBox.js +0 -712
- package/es/components/fields/ListBox/index.js +0 -10
- package/es/components/fields/NumberInput/NumberInput.js +0 -58
- package/es/components/fields/NumberInput/StepButton.js +0 -40
- package/es/components/fields/PasswordInput/PasswordInput.js +0 -54
- package/es/components/fields/Picker/Picker.js +0 -420
- package/es/components/fields/Picker/index.js +0 -10
- package/es/components/fields/RadioGroup/Radio.js +0 -226
- package/es/components/fields/RadioGroup/RadioGroup.js +0 -99
- package/es/components/fields/RadioGroup/context.js +0 -14
- package/es/components/fields/RadioGroup/index.js +0 -11
- package/es/components/fields/SearchInput/SearchInput.js +0 -38
- package/es/components/fields/SearchInput/index.js +0 -10
- package/es/components/fields/Select/Select.js +0 -347
- package/es/components/fields/Select/index.js +0 -10
- package/es/components/fields/Slider/Gradation.js +0 -24
- package/es/components/fields/Slider/Header.js +0 -12
- package/es/components/fields/Slider/HueSlider.js +0 -65
- package/es/components/fields/Slider/RangeSlider.js +0 -34
- package/es/components/fields/Slider/Slider.js +0 -43
- package/es/components/fields/Slider/SliderBase.js +0 -126
- package/es/components/fields/Slider/SliderInput.js +0 -34
- package/es/components/fields/Slider/SliderThumb.js +0 -38
- package/es/components/fields/Slider/SliderTrack.js +0 -30
- package/es/components/fields/Slider/elements.js +0 -154
- package/es/components/fields/Slider/index.js +0 -14
- package/es/components/fields/Slider/types.js +0 -10
- package/es/components/fields/Switch/Switch.js +0 -169
- package/es/components/fields/Switch/index.js +0 -10
- package/es/components/fields/TextArea/TextArea.js +0 -99
- package/es/components/fields/TextArea/index.js +0 -10
- package/es/components/fields/TextInput/TextInput.js +0 -42
- package/es/components/fields/TextInput/TextInputBase.js +0 -244
- package/es/components/fields/TextInput/index.js +0 -11
- package/es/components/fields/TextInputMapper/TextInputMapper.js +0 -188
- package/es/components/fields/TextInputMapper/index.js +0 -10
- package/es/components/fields/index.js +0 -28
- package/es/components/form/FieldWrapper/FieldWrapper.js +0 -130
- package/es/components/form/FieldWrapper/extract-field-wrapper-props.js +0 -47
- package/es/components/form/FieldWrapper/index.js +0 -12
- package/es/components/form/FieldWrapper/types.js +0 -10
- package/es/components/form/Form/Field.js +0 -179
- package/es/components/form/Form/Form.js +0 -155
- package/es/components/form/Form/ResetButton/ResetButton.js +0 -38
- package/es/components/form/Form/ResetButton/index.js +0 -10
- package/es/components/form/Form/SubmitButton/SubmitButton.js +0 -26
- package/es/components/form/Form/SubmitButton/index.js +0 -10
- package/es/components/form/Form/SubmitError.js +0 -30
- package/es/components/form/Form/index.js +0 -27
- package/es/components/form/Form/types.js +0 -10
- package/es/components/form/Form/use-field/index.js +0 -12
- package/es/components/form/Form/use-field/types.js +0 -10
- package/es/components/form/Form/use-field/use-field-props.js +0 -106
- package/es/components/form/Form/use-field/use-field.js +0 -184
- package/es/components/form/Form/use-form.js +0 -395
- package/es/components/form/Form/validation.js +0 -164
- package/es/components/form/Label.js +0 -79
- package/es/components/form/index.js +0 -13
- package/es/components/form/wrapper.js +0 -47
- package/es/components/helpers/DisplayTransition/DisplayTransition.js +0 -301
- package/es/components/helpers/DisplayTransition/index.js +0 -10
- package/es/components/helpers/IconSwitch/IconSwitch.js +0 -138
- package/es/components/helpers/index.js +0 -11
- package/es/components/layout/Flex.js +0 -22
- package/es/components/layout/Flow.js +0 -23
- package/es/components/layout/Grid.js +0 -28
- package/es/components/layout/Panel.js +0 -109
- package/es/components/layout/Prefix.js +0 -43
- package/es/components/layout/ResizablePanel.js +0 -291
- package/es/components/layout/Space.js +0 -36
- package/es/components/layout/Suffix.js +0 -42
- package/es/components/navigation/Tabs/DraggableTabList.js +0 -103
- package/es/components/navigation/Tabs/EditableTitle.js +0 -116
- package/es/components/navigation/Tabs/TabButton.js +0 -318
- package/es/components/navigation/Tabs/TabDropIndicator.js +0 -34
- package/es/components/navigation/Tabs/TabPanel.js +0 -126
- package/es/components/navigation/Tabs/TabPicker.js +0 -46
- package/es/components/navigation/Tabs/Tabs.js +0 -436
- package/es/components/navigation/Tabs/TabsAction.js +0 -70
- package/es/components/navigation/Tabs/TabsContext.js +0 -36
- package/es/components/navigation/Tabs/index.js +0 -10
- package/es/components/navigation/Tabs/styled.js +0 -367
- package/es/components/navigation/Tabs/types.js +0 -17
- package/es/components/navigation/Tabs/use-tab-editing.js +0 -61
- package/es/components/navigation/Tabs/use-tab-indicator.js +0 -77
- package/es/components/navigation/index.js +0 -10
- package/es/components/organisms/FileTabs/FileTabs.js +0 -255
- package/es/components/organisms/StatsCard/StatsCard.js +0 -16
- package/es/components/other/Calendar/Calendar.js +0 -57
- package/es/components/other/Calendar/CalendarCell.js +0 -66
- package/es/components/other/Calendar/CalendarGrid.js +0 -32
- package/es/components/other/Calendar/RangeCalendar.js +0 -57
- package/es/components/other/CloudLogo/CloudLogo.js +0 -33
- package/es/components/overlays/AlertDialog/AlertDialog.js +0 -58
- package/es/components/overlays/AlertDialog/AlertDialogApiProvider.js +0 -134
- package/es/components/overlays/AlertDialog/AlertDialogZone.js +0 -66
- package/es/components/overlays/AlertDialog/index.js +0 -12
- package/es/components/overlays/AlertDialog/types.js +0 -10
- package/es/components/overlays/Dialog/Dialog.js +0 -240
- package/es/components/overlays/Dialog/DialogContainer.js +0 -39
- package/es/components/overlays/Dialog/DialogForm.js +0 -45
- package/es/components/overlays/Dialog/DialogTrigger.js +0 -132
- package/es/components/overlays/Dialog/context.js +0 -17
- package/es/components/overlays/Dialog/index.js +0 -14
- package/es/components/overlays/Dialog/use-dialog-container.js +0 -62
- package/es/components/overlays/Modal/Modal.js +0 -94
- package/es/components/overlays/Modal/OpenTransition.js +0 -28
- package/es/components/overlays/Modal/Overlay.js +0 -40
- package/es/components/overlays/Modal/Popover.js +0 -69
- package/es/components/overlays/Modal/Tray.js +0 -72
- package/es/components/overlays/Modal/Underlay.js +0 -44
- package/es/components/overlays/Modal/index.js +0 -15
- package/es/components/overlays/Modal/types.js +0 -10
- package/es/components/overlays/NewNotifications/Bar/FloatingNotification.js +0 -54
- package/es/components/overlays/NewNotifications/Bar/NotificationsBar.js +0 -95
- package/es/components/overlays/NewNotifications/Bar/TransitionComponent.js +0 -56
- package/es/components/overlays/NewNotifications/Bar/index.js +0 -10
- package/es/components/overlays/NewNotifications/Dialog/NotificationsDialogContext.js +0 -19
- package/es/components/overlays/NewNotifications/Dialog/NotificationsDialogTrigger.js +0 -38
- package/es/components/overlays/NewNotifications/Dialog/index.js +0 -10
- package/es/components/overlays/NewNotifications/Notification.js +0 -41
- package/es/components/overlays/NewNotifications/NotificationView/NotificationAction.js +0 -41
- package/es/components/overlays/NewNotifications/NotificationView/NotificationCloseButton.js +0 -25
- package/es/components/overlays/NewNotifications/NotificationView/NotificationDescription.js +0 -36
- package/es/components/overlays/NewNotifications/NotificationView/NotificationFooter.js +0 -60
- package/es/components/overlays/NewNotifications/NotificationView/NotificationHeader.js +0 -31
- package/es/components/overlays/NewNotifications/NotificationView/NotificationIcon.js +0 -69
- package/es/components/overlays/NewNotifications/NotificationView/NotificationProvider.js +0 -25
- package/es/components/overlays/NewNotifications/NotificationView/NotificationView.js +0 -86
- package/es/components/overlays/NewNotifications/NotificationView/index.js +0 -11
- package/es/components/overlays/NewNotifications/NotificationView/types.js +0 -10
- package/es/components/overlays/NewNotifications/NotificationsContext/NotificationsContext.js +0 -11
- package/es/components/overlays/NewNotifications/NotificationsContext/NotificationsProvider.js +0 -21
- package/es/components/overlays/NewNotifications/NotificationsContext/index.js +0 -11
- package/es/components/overlays/NewNotifications/NotificationsContext/use-notifications.js +0 -91
- package/es/components/overlays/NewNotifications/NotificationsList/NotificationsList.js +0 -45
- package/es/components/overlays/NewNotifications/NotificationsList/NotificationsListItem.js +0 -29
- package/es/components/overlays/NewNotifications/NotificationsList/index.js +0 -10
- package/es/components/overlays/NewNotifications/NotificationsList/types.js +0 -10
- package/es/components/overlays/NewNotifications/hooks/index.js +0 -14
- package/es/components/overlays/NewNotifications/hooks/types.js +0 -10
- package/es/components/overlays/NewNotifications/hooks/use-notification-list-item.js +0 -15
- package/es/components/overlays/NewNotifications/hooks/use-notifications-api.js +0 -17
- package/es/components/overlays/NewNotifications/hooks/use-notifications-list.js +0 -29
- package/es/components/overlays/NewNotifications/hooks/use-notifications-observer.js +0 -17
- package/es/components/overlays/NewNotifications/index.js +0 -15
- package/es/components/overlays/NewNotifications/types.js +0 -10
- package/es/components/overlays/Notification/Notification.js +0 -80
- package/es/components/overlays/OverlayWrapper.js +0 -19
- package/es/components/overlays/Toast/ToastItem.js +0 -29
- package/es/components/overlays/Toast/ToastProvider.js +0 -360
- package/es/components/overlays/Toast/index.js +0 -98
- package/es/components/overlays/Toast/types.js +0 -10
- package/es/components/overlays/Toast/useProgressToast.js +0 -206
- package/es/components/overlays/Toast/useToast.js +0 -113
- package/es/components/overlays/Tooltip/Tooltip.js +0 -146
- package/es/components/overlays/Tooltip/TooltipProvider.js +0 -32
- package/es/components/overlays/Tooltip/TooltipTrigger.js +0 -119
- package/es/components/overlays/Tooltip/context.js +0 -11
- package/es/components/overlays/Tooltip/index.js +0 -12
- package/es/components/portal/Portal.js +0 -44
- package/es/components/portal/PortalProvider.js +0 -24
- package/es/components/portal/index.js +0 -11
- package/es/components/portal/types.js +0 -10
- package/es/components/portal/usePortal.js +0 -41
- package/es/components/shared/InvalidIcon.js +0 -12
- package/es/components/shared/ValidIcon.js +0 -12
- package/es/components/status/LoadingAnimation/LoadingAnimation.js +0 -76
- package/es/components/status/LoadingAnimation/index.js +0 -10
- package/es/components/status/Spin/Cube.js +0 -106
- package/es/components/status/Spin/InternalSpinner.js +0 -26
- package/es/components/status/Spin/Spin.js +0 -21
- package/es/components/status/Spin/SpinsContainer.js +0 -37
- package/es/components/status/Spin/index.js +0 -10
- package/es/components/status/Spin/types.js +0 -10
- package/es/components/status/index.js +0 -11
- package/es/data/item-themes.js +0 -847
- package/es/data/themes.js +0 -41
- package/es/icons/AdjustmentsHorizontalIcon.js +0 -12
- package/es/icons/AdjustmentsIcon.js +0 -12
- package/es/icons/AiIcon.js +0 -13
- package/es/icons/AreaChartIcon.js +0 -13
- package/es/icons/BackwardIcon.js +0 -13
- package/es/icons/BarChartIcon.js +0 -13
- package/es/icons/BellFilledIcon.js +0 -13
- package/es/icons/BellIcon.js +0 -13
- package/es/icons/BooleanIcon.js +0 -12
- package/es/icons/CalendarEditIcon.js +0 -12
- package/es/icons/CalendarIcon.js +0 -12
- package/es/icons/CaretDownIcon.js +0 -13
- package/es/icons/CaretUpIcon.js +0 -13
- package/es/icons/ChartAreaStackedIcon.js +0 -12
- package/es/icons/ChartAreaStackedPercentageIcon.js +0 -12
- package/es/icons/ChartBarGroupedHorizontalIcon.js +0 -12
- package/es/icons/ChartBarGroupedIcon.js +0 -12
- package/es/icons/ChartBarHorizontalIcon.js +0 -12
- package/es/icons/ChartBarLineIcon.js +0 -12
- package/es/icons/ChartBarStackedHorizontalIcon.js +0 -12
- package/es/icons/ChartBarStackedIcon.js +0 -12
- package/es/icons/ChartBarStackedPercentageHorizontalIcon.js +0 -12
- package/es/icons/ChartBarStackedPercentageIcon.js +0 -12
- package/es/icons/ChartBoxPlot2Icon.js +0 -12
- package/es/icons/ChartBoxPlotIcon.js +0 -12
- package/es/icons/ChartBubbleIcon.js +0 -12
- package/es/icons/ChartDonut2Icon.js +0 -12
- package/es/icons/ChartFunnelIcon.js +0 -12
- package/es/icons/ChartHeatmapIcon.js +0 -12
- package/es/icons/ChartKPIIcon.js +0 -12
- package/es/icons/ChartPie2Icon.js +0 -12
- package/es/icons/ChartScatterIcon.js +0 -12
- package/es/icons/CheckCircleFilledIcon.js +0 -13
- package/es/icons/CheckCircleIcon.js +0 -13
- package/es/icons/CheckIcon.js +0 -13
- package/es/icons/CircleFilledIcon.js +0 -13
- package/es/icons/ClearIcon.js +0 -12
- package/es/icons/CloseCircleFilledIcon.js +0 -13
- package/es/icons/CloseCircleIcon.js +0 -13
- package/es/icons/CloseIcon.js +0 -13
- package/es/icons/CodeIcon.js +0 -13
- package/es/icons/ColumnTotalIcon.js +0 -12
- package/es/icons/CopyIcon.js +0 -13
- package/es/icons/CountIcon.js +0 -12
- package/es/icons/CubeIcon.js +0 -12
- package/es/icons/CubePauseIcon.js +0 -12
- package/es/icons/CubePlayIcon.js +0 -12
- package/es/icons/CurrencyDollarIcon.js +0 -12
- package/es/icons/DangerIcon.js +0 -13
- package/es/icons/DashboardIcon.js +0 -13
- package/es/icons/DatabaseIcon.js +0 -13
- package/es/icons/DecimalDecreaseIcon.js +0 -12
- package/es/icons/DecimalIncreaseIcon.js +0 -12
- package/es/icons/DirectionIcon.js +0 -63
- package/es/icons/DonutIcon.js +0 -13
- package/es/icons/DownIcon.js +0 -13
- package/es/icons/EditIcon.js +0 -13
- package/es/icons/ExclamationCircleFilledIcon.js +0 -13
- package/es/icons/ExclamationCircleIcon.js +0 -13
- package/es/icons/ExclamationIcon.js +0 -13
- package/es/icons/EyeIcon.js +0 -13
- package/es/icons/EyeInvisibleIcon.js +0 -13
- package/es/icons/FilterIcon.js +0 -13
- package/es/icons/FolderFilledIcon.js +0 -12
- package/es/icons/FolderIcon.js +0 -12
- package/es/icons/FolderOpenFilledIcon.js +0 -12
- package/es/icons/FolderOpenIcon.js +0 -12
- package/es/icons/ForwardIcon.js +0 -13
- package/es/icons/HierarchyIcon.js +0 -12
- package/es/icons/HierarchyOpenIcon.js +0 -12
- package/es/icons/Icon.js +0 -52
- package/es/icons/InfoCircleIcon.js +0 -13
- package/es/icons/InfoIcon.js +0 -13
- package/es/icons/KeyIcon.js +0 -13
- package/es/icons/LeftIcon.js +0 -13
- package/es/icons/LineChartIcon.js +0 -13
- package/es/icons/LoadingIcon.js +0 -12
- package/es/icons/LockFilledIcon.js +0 -13
- package/es/icons/LockIcon.js +0 -13
- package/es/icons/MoreIcon.js +0 -13
- package/es/icons/NotAllowedIcon.js +0 -13
- package/es/icons/Number123Icon.js +0 -12
- package/es/icons/NumberIcon.js +0 -13
- package/es/icons/PauseCircleFilledIcon.js +0 -12
- package/es/icons/PauseCircleIcon.js +0 -12
- package/es/icons/PauseIcon.js +0 -13
- package/es/icons/PercentageIcon.js +0 -12
- package/es/icons/PieChartIcon.js +0 -13
- package/es/icons/PlayCircleIcon.js +0 -13
- package/es/icons/PlayIcon.js +0 -13
- package/es/icons/PlusIcon.js +0 -13
- package/es/icons/ProgressBarIcon.js +0 -12
- package/es/icons/ReloadIcon.js +0 -13
- package/es/icons/ReportIcon.js +0 -13
- package/es/icons/ReturnIcon.js +0 -13
- package/es/icons/RightIcon.js +0 -13
- package/es/icons/RowTotalsIcon.js +0 -12
- package/es/icons/SchemeIcon.js +0 -13
- package/es/icons/SearchIcon.js +0 -13
- package/es/icons/SemanticQueryIcon.js +0 -12
- package/es/icons/SettingsIcon.js +0 -13
- package/es/icons/ShieldFilledIcon.js +0 -13
- package/es/icons/ShieldIcon.js +0 -13
- package/es/icons/SlashIcon.js +0 -13
- package/es/icons/SparklesIcon.js +0 -13
- package/es/icons/SqlIcon.js +0 -13
- package/es/icons/StatsIcon.js +0 -12
- package/es/icons/StopIcon.js +0 -13
- package/es/icons/StringIcon.js +0 -12
- package/es/icons/SubtotalsIcon.js +0 -12
- package/es/icons/SwitchIcon.js +0 -13
- package/es/icons/TableIcon.js +0 -13
- package/es/icons/ThumbsDownIcon.js +0 -13
- package/es/icons/ThumbsUpIcon.js +0 -13
- package/es/icons/ThunderboltCrossedIcon.js +0 -13
- package/es/icons/ThunderboltFilledIcon.js +0 -13
- package/es/icons/ThunderboltIcon.js +0 -13
- package/es/icons/TimeIcon.js +0 -13
- package/es/icons/TrashIcon.js +0 -13
- package/es/icons/UnlockIcon.js +0 -13
- package/es/icons/UpIcon.js +0 -13
- package/es/icons/UserGroupIcon.js +0 -12
- package/es/icons/UserIcon.js +0 -12
- package/es/icons/UserLockIcon.js +0 -12
- package/es/icons/ViewIcon.js +0 -12
- package/es/icons/WarningFilledIcon.js +0 -13
- package/es/icons/WarningIcon.js +0 -13
- package/es/icons/index.js +0 -137
- package/es/icons/wrap-icon.js +0 -20
- package/es/index.js +0 -110
- package/es/provider.js +0 -55
- package/es/providers/TrackingProvider.js +0 -26
- package/es/providers/navigation.types.js +0 -10
- package/es/providers/navigationAdapter.default.js +0 -58
- package/es/services/notification.js +0 -71
- package/es/shared/form.js +0 -10
- package/es/shared/index.js +0 -10
- package/es/stories/Form.legacy-stories.js +0 -89
- package/es/stories/FormFieldArgs.js +0 -357
- package/es/stories/SimpleLayout.stories.js +0 -26
- package/es/stories/Tasty.stories.js +0 -20
- package/es/stories/components/ConfirmDeletionDialogForm.js +0 -32
- package/es/stories/components/DialogFormApp.js +0 -15
- package/es/stories/components/StyledButton.js +0 -37
- package/es/stories/lists/baseProps.js +0 -38
- package/es/stories/playground/PlaygroundEditor.js +0 -89
- package/es/stories/playground/PlaygroundLayout.js +0 -16
- package/es/stories/playground/PlaygroundOutput.js +0 -92
- package/es/stories/playground/PlaygroundPreview.js +0 -91
- package/es/stories/playground/components/Button.js +0 -45
- package/es/stories/playground/components/Card.js +0 -20
- package/es/stories/playground/components/ScrollProgress.js +0 -17
- package/es/stories/playground/examples.js +0 -158
- package/es/tasty/chunks/cacheKey.js +0 -98
- package/es/tasty/chunks/definitions.js +0 -337
- package/es/tasty/chunks/index.js +0 -12
- package/es/tasty/chunks/renderChunk.js +0 -97
- package/es/tasty/config.js +0 -469
- package/es/tasty/debug.js +0 -961
- package/es/tasty/hooks/index.js +0 -14
- package/es/tasty/hooks/useGlobalStyles.js +0 -74
- package/es/tasty/hooks/useKeyframes.js +0 -82
- package/es/tasty/hooks/useProperty.js +0 -100
- package/es/tasty/hooks/useRawCSS.js +0 -40
- package/es/tasty/hooks/useStyles.js +0 -241
- package/es/tasty/index.js +0 -35
- package/es/tasty/injector/index.js +0 -175
- package/es/tasty/injector/injector.js +0 -549
- package/es/tasty/injector/sheet-manager.js +0 -1046
- package/es/tasty/injector/types.js +0 -10
- package/es/tasty/keyframes/index.js +0 -301
- package/es/tasty/parser/classify.js +0 -419
- package/es/tasty/parser/const.js +0 -38
- package/es/tasty/parser/lru.js +0 -140
- package/es/tasty/parser/parser.js +0 -146
- package/es/tasty/parser/tokenizer.js +0 -92
- package/es/tasty/parser/types.js +0 -53
- package/es/tasty/pipeline/conditions.js +0 -445
- package/es/tasty/pipeline/exclusive.js +0 -311
- package/es/tasty/pipeline/index.js +0 -951
- package/es/tasty/pipeline/materialize.js +0 -1264
- package/es/tasty/pipeline/parseStateKey.js +0 -599
- package/es/tasty/pipeline/simplify.js +0 -898
- package/es/tasty/plugins/index.js +0 -26
- package/es/tasty/plugins/okhsl-plugin.js +0 -400
- package/es/tasty/plugins/types.js +0 -10
- package/es/tasty/properties/index.js +0 -239
- package/es/tasty/states/index.js +0 -548
- package/es/tasty/static/index.js +0 -47
- package/es/tasty/static/tastyStatic.js +0 -55
- package/es/tasty/static/types.js +0 -34
- package/es/tasty/styles/align.js +0 -20
- package/es/tasty/styles/border.js +0 -150
- package/es/tasty/styles/boxShadow.combinator.js +0 -23
- package/es/tasty/styles/color.js +0 -40
- package/es/tasty/styles/createStyle.js +0 -125
- package/es/tasty/styles/dimension.js +0 -132
- package/es/tasty/styles/display.js +0 -95
- package/es/tasty/styles/fade.js +0 -72
- package/es/tasty/styles/fill.js +0 -84
- package/es/tasty/styles/flow.js +0 -20
- package/es/tasty/styles/gap.js +0 -53
- package/es/tasty/styles/height.js +0 -15
- package/es/tasty/styles/index.js +0 -14
- package/es/tasty/styles/inset.js +0 -184
- package/es/tasty/styles/justify.js +0 -20
- package/es/tasty/styles/list.js +0 -101
- package/es/tasty/styles/margin.js +0 -130
- package/es/tasty/styles/outline.js +0 -75
- package/es/tasty/styles/padding.js +0 -130
- package/es/tasty/styles/place.js +0 -20
- package/es/tasty/styles/predefined.js +0 -368
- package/es/tasty/styles/preset.js +0 -192
- package/es/tasty/styles/radius.js +0 -66
- package/es/tasty/styles/reset.js +0 -77
- package/es/tasty/styles/scrollbar.js +0 -151
- package/es/tasty/styles/shadow.js +0 -27
- package/es/tasty/styles/styledScrollbar.js +0 -56
- package/es/tasty/styles/transition.js +0 -135
- package/es/tasty/styles/types.js +0 -10
- package/es/tasty/styles/width.js +0 -15
- package/es/tasty/tasty.js +0 -256
- package/es/tasty/types.js +0 -10
- package/es/tasty/utils/cache-wrapper.js +0 -31
- package/es/tasty/utils/case-converter.js +0 -12
- package/es/tasty/utils/colors.js +0 -15
- package/es/tasty/utils/dotize.js +0 -196
- package/es/tasty/utils/filter-base-props.js +0 -62
- package/es/tasty/utils/get-display-name.js +0 -16
- package/es/tasty/utils/hsl-to-rgb.js +0 -53
- package/es/tasty/utils/is-dev-env.js +0 -36
- package/es/tasty/utils/merge-styles.js +0 -40
- package/es/tasty/utils/mod-attrs.js +0 -44
- package/es/tasty/utils/okhsl-to-rgb.js +0 -298
- package/es/tasty/utils/process-tokens.js +0 -240
- package/es/tasty/utils/resolve-recipes.js +0 -123
- package/es/tasty/utils/rgb-to-okhsl.js +0 -448
- package/es/tasty/utils/string.js +0 -12
- package/es/tasty/utils/styles.js +0 -833
- package/es/tasty/utils/typography.js +0 -67
- package/es/tasty/utils/warnings.js +0 -30
- package/es/tasty/zero/babel.js +0 -441
- package/es/tasty/zero/css-writer.js +0 -92
- package/es/tasty/zero/extractor.js +0 -222
- package/es/tasty/zero/index.js +0 -28
- package/es/tasty/zero/next.js +0 -102
- package/es/tokens/base.js +0 -68
- package/es/tokens/colors.js +0 -123
- package/es/tokens/index.js +0 -63
- package/es/tokens/layout.js +0 -26
- package/es/tokens/shadows.js +0 -27
- package/es/tokens/sizes.js +0 -42
- package/es/tokens/spacing.js +0 -22
- package/es/tokens/typography.js +0 -250
- package/es/utils/ResizeSensor.js +0 -318
- package/es/utils/index.js +0 -27
- package/es/utils/modules.js +0 -12
- package/es/utils/promise.js +0 -14
- package/es/utils/raf.js +0 -47
- package/es/utils/random.js +0 -20
- package/es/utils/range.js +0 -12
- package/es/utils/react/RenderCache.js +0 -38
- package/es/utils/react/Slots.js +0 -43
- package/es/utils/react/chain.js +0 -21
- package/es/utils/react/forwardRefWithGenerics.js +0 -36
- package/es/utils/react/index.js +0 -26
- package/es/utils/react/interactions.js +0 -27
- package/es/utils/react/isTextOnly.js +0 -13
- package/es/utils/react/mapProps.js +0 -25
- package/es/utils/react/mergeProps.js +0 -65
- package/es/utils/react/nullableValue.js +0 -37
- package/es/utils/react/resolveIcon.js +0 -34
- package/es/utils/react/sharedStore.js +0 -51
- package/es/utils/react/useCombinedRefs.js +0 -31
- package/es/utils/react/useControlledFocusVisible.js +0 -42
- package/es/utils/react/useEventBus.js +0 -137
- package/es/utils/react/useId.js +0 -81
- package/es/utils/react/useIsDarwin.js +0 -42
- package/es/utils/react/useKeySymbols.js +0 -81
- package/es/utils/react/useLayoutEffect.js +0 -14
- package/es/utils/react/useLocalStorage.js +0 -130
- package/es/utils/react/useMergeStyles.js +0 -49
- package/es/utils/react/useQaProps.js +0 -44
- package/es/utils/react/useViewportSize.js +0 -53
- package/es/utils/react/wrapNodeIfPlain.js +0 -18
- package/es/utils/tree.js +0 -24
- package/es/utils/warnings.js +0 -44
- package/es/version.js +0 -25
- package/types/_internal/hooks/index.d.ts +0 -9
- package/types/_internal/hooks/use-chained-callback.d.ts +0 -1
- package/types/_internal/hooks/use-debounced-value.d.ts +0 -1
- package/types/_internal/hooks/use-deprecation-warning.d.ts +0 -2
- package/types/_internal/hooks/use-effect-once.d.ts +0 -2
- package/types/_internal/hooks/use-event.d.ts +0 -7
- package/types/_internal/hooks/use-is-first-render.d.ts +0 -1
- package/types/_internal/hooks/use-sync-ref.d.ts +0 -2
- package/types/_internal/hooks/use-timer/index.d.ts +0 -2
- package/types/_internal/hooks/use-timer/timer.d.ts +0 -15
- package/types/_internal/hooks/use-timer/use-timer.d.ts +0 -10
- package/types/_internal/hooks/use-update-effect.d.ts +0 -2
- package/types/_internal/hooks/use-warn.d.ts +0 -15
- package/types/_internal/index.d.ts +0 -1
- package/types/components/Block.d.ts +0 -4
- package/types/components/CollectionItem.d.ts +0 -30
- package/types/components/GlobalStyles.d.ts +0 -14
- package/types/components/GridProvider.d.ts +0 -10
- package/types/components/HiddenInput.d.ts +0 -831
- package/types/components/OpenTrasition.d.ts +0 -13
- package/types/components/Root.d.ts +0 -22
- package/types/components/actions/Action/Action.d.ts +0 -10
- package/types/components/actions/Banner/Banner.d.ts +0 -42
- package/types/components/actions/Banner/index.d.ts +0 -2
- package/types/components/actions/Button/Button.d.ts +0 -1818
- package/types/components/actions/Button/index.d.ts +0 -1
- package/types/components/actions/ButtonGroup/ButtonGroup.d.ts +0 -2
- package/types/components/actions/CommandMenu/CommandMenu.d.ts +0 -38
- package/types/components/actions/CommandMenu/index.d.ts +0 -2
- package/types/components/actions/CommandMenu/styled.d.ts +0 -4155
- package/types/components/actions/ItemAction/ItemAction.d.ts +0 -19
- package/types/components/actions/ItemAction/index.d.ts +0 -2
- package/types/components/actions/ItemActionContext.d.ts +0 -18
- package/types/components/actions/ItemButton/ItemButton.d.ts +0 -16
- package/types/components/actions/ItemButton/index.d.ts +0 -1
- package/types/components/actions/Link/Link.d.ts +0 -2
- package/types/components/actions/Menu/Menu.d.ts +0 -56
- package/types/components/actions/Menu/MenuItem.d.ts +0 -15
- package/types/components/actions/Menu/MenuSection.d.ts +0 -9
- package/types/components/actions/Menu/MenuTrigger.d.ts +0 -19
- package/types/components/actions/Menu/SubMenuTrigger.d.ts +0 -44
- package/types/components/actions/Menu/SubmenuTriggerContext.d.ts +0 -13
- package/types/components/actions/Menu/context.d.ts +0 -16
- package/types/components/actions/Menu/index.d.ts +0 -9
- package/types/components/actions/Menu/styled.d.ts +0 -5502
- package/types/components/actions/index.d.ts +0 -18
- package/types/components/actions/use-action.d.ts +0 -51
- package/types/components/actions/use-anchored-menu.d.ts +0 -35
- package/types/components/actions/use-context-menu.d.ts +0 -42
- package/types/components/content/ActiveZone/ActiveZone.d.ts +0 -9
- package/types/components/content/Alert/Alert.d.ts +0 -2
- package/types/components/content/Alert/index.d.ts +0 -2
- package/types/components/content/Alert/types.d.ts +0 -24
- package/types/components/content/Alert/use-alert.d.ts +0 -9
- package/types/components/content/Avatar/Avatar.d.ts +0 -7
- package/types/components/content/Badge/Badge.d.ts +0 -8
- package/types/components/content/Card/Card.d.ts +0 -4
- package/types/components/content/Content.d.ts +0 -4
- package/types/components/content/CopyPasteBlock/CopyPasteBlock.d.ts +0 -16
- package/types/components/content/CopyPasteBlock/index.d.ts +0 -1
- package/types/components/content/CopySnippet/CopySnippet.d.ts +0 -37
- package/types/components/content/CopySnippet/index.d.ts +0 -1
- package/types/components/content/Disclosure/Disclosure.d.ts +0 -74
- package/types/components/content/Disclosure/index.d.ts +0 -1
- package/types/components/content/Divider.d.ts +0 -4
- package/types/components/content/Footer.d.ts +0 -4
- package/types/components/content/Header.d.ts +0 -4
- package/types/components/content/HotKeys/HotKeys.d.ts +0 -7
- package/types/components/content/HotKeys/index.d.ts +0 -2
- package/types/components/content/Item/Item.d.ts +0 -162
- package/types/components/content/Item/index.d.ts +0 -2
- package/types/components/content/ItemBadge/ItemBadge.d.ts +0 -16
- package/types/components/content/ItemBadge/index.d.ts +0 -2
- package/types/components/content/Layout/GridLayout.d.ts +0 -36
- package/types/components/content/Layout/Layout.d.ts +0 -34
- package/types/components/content/Layout/LayoutBlock.d.ts +0 -5
- package/types/components/content/Layout/LayoutCenter.d.ts +0 -5
- package/types/components/content/Layout/LayoutContainer.d.ts +0 -15
- package/types/components/content/Layout/LayoutContent.d.ts +0 -16
- package/types/components/content/Layout/LayoutContext.d.ts +0 -81
- package/types/components/content/Layout/LayoutFlex.d.ts +0 -5
- package/types/components/content/Layout/LayoutFooter.d.ts +0 -7
- package/types/components/content/Layout/LayoutGrid.d.ts +0 -12
- package/types/components/content/Layout/LayoutHeader.d.ts +0 -21
- package/types/components/content/Layout/LayoutPane.d.ts +0 -31
- package/types/components/content/Layout/LayoutPanel.d.ts +0 -66
- package/types/components/content/Layout/LayoutPanelHeader.d.ts +0 -15
- package/types/components/content/Layout/LayoutToolbar.d.ts +0 -5
- package/types/components/content/Layout/hooks/useTinyScrollbar.d.ts +0 -25
- package/types/components/content/Layout/index.d.ts +0 -47
- package/types/components/content/Layout/utils.d.ts +0 -5
- package/types/components/content/List/SectionHeading.d.ts +0 -449
- package/types/components/content/List/index.d.ts +0 -1
- package/types/components/content/Paragraph.d.ts +0 -5
- package/types/components/content/Placeholder/Placeholder.d.ts +0 -7
- package/types/components/content/PrismCode/PrismCode.d.ts +0 -19
- package/types/components/content/PrismCode/prismSetup.d.ts +0 -4
- package/types/components/content/PrismDiffCode/PrismDiffCode.d.ts +0 -12
- package/types/components/content/Result/Result.d.ts +0 -29
- package/types/components/content/Skeleton/Skeleton.d.ts +0 -38
- package/types/components/content/Tag/Tag.d.ts +0 -10
- package/types/components/content/Text.d.ts +0 -2929
- package/types/components/content/TextItem/TextItem.d.ts +0 -34
- package/types/components/content/TextItem/index.d.ts +0 -2
- package/types/components/content/Title.d.ts +0 -11
- package/types/components/content/highlightText.d.ts +0 -7
- package/types/components/content/use-auto-tooltip.d.ts +0 -23
- package/types/components/fields/Checkbox/Checkbox.d.ts +0 -20
- package/types/components/fields/Checkbox/CheckboxGroup.d.ts +0 -14
- package/types/components/fields/Checkbox/context.d.ts +0 -1
- package/types/components/fields/Checkbox/index.d.ts +0 -2
- package/types/components/fields/ComboBox/ComboBox.d.ts +0 -125
- package/types/components/fields/ComboBox/index.d.ts +0 -2
- package/types/components/fields/DatePicker/DateInput.d.ts +0 -19
- package/types/components/fields/DatePicker/DateInputBase.d.ts +0 -21
- package/types/components/fields/DatePicker/DatePicker.d.ts +0 -17
- package/types/components/fields/DatePicker/DatePickerButton.d.ts +0 -5
- package/types/components/fields/DatePicker/DatePickerElement.d.ts +0 -449
- package/types/components/fields/DatePicker/DatePickerInput.d.ts +0 -11
- package/types/components/fields/DatePicker/DatePickerSegment.d.ts +0 -9
- package/types/components/fields/DatePicker/DateRangePicker.d.ts +0 -18
- package/types/components/fields/DatePicker/DateRangeSeparatedPicker.d.ts +0 -20
- package/types/components/fields/DatePicker/TimeInput.d.ts +0 -36
- package/types/components/fields/DatePicker/index.d.ts +0 -7
- package/types/components/fields/DatePicker/intl.d.ts +0 -5
- package/types/components/fields/DatePicker/parseDate.d.ts +0 -1
- package/types/components/fields/DatePicker/props.d.ts +0 -3
- package/types/components/fields/DatePicker/types.d.ts +0 -29
- package/types/components/fields/DatePicker/utils.d.ts +0 -4
- package/types/components/fields/FileInput/FileInput.d.ts +0 -33
- package/types/components/fields/FilterListBox/FilterListBox.d.ts +0 -81
- package/types/components/fields/FilterListBox/index.d.ts +0 -1
- package/types/components/fields/FilterPicker/FilterPicker.d.ts +0 -74
- package/types/components/fields/FilterPicker/index.d.ts +0 -1
- package/types/components/fields/Input/Input.d.ts +0 -14
- package/types/components/fields/Input/index.d.ts +0 -1
- package/types/components/fields/ListBox/ListBox.d.ts +0 -124
- package/types/components/fields/ListBox/index.d.ts +0 -2
- package/types/components/fields/NumberInput/NumberInput.d.ts +0 -13
- package/types/components/fields/NumberInput/StepButton.d.ts +0 -4
- package/types/components/fields/PasswordInput/PasswordInput.d.ts +0 -11
- package/types/components/fields/Picker/Picker.d.ts +0 -73
- package/types/components/fields/Picker/index.d.ts +0 -2
- package/types/components/fields/RadioGroup/Radio.d.ts +0 -57
- package/types/components/fields/RadioGroup/RadioGroup.d.ts +0 -22
- package/types/components/fields/RadioGroup/context.d.ts +0 -13
- package/types/components/fields/RadioGroup/index.d.ts +0 -2
- package/types/components/fields/SearchInput/SearchInput.d.ts +0 -13
- package/types/components/fields/SearchInput/index.d.ts +0 -1
- package/types/components/fields/Select/Select.d.ts +0 -936
- package/types/components/fields/Select/index.d.ts +0 -1
- package/types/components/fields/Slider/Gradation.d.ts +0 -7
- package/types/components/fields/Slider/Header.d.ts +0 -1
- package/types/components/fields/Slider/HueSlider.d.ts +0 -12
- package/types/components/fields/Slider/RangeSlider.d.ts +0 -10
- package/types/components/fields/Slider/Slider.d.ts +0 -16
- package/types/components/fields/Slider/SliderBase.d.ts +0 -18
- package/types/components/fields/Slider/SliderInput.d.ts +0 -10
- package/types/components/fields/Slider/SliderThumb.d.ts +0 -14
- package/types/components/fields/Slider/SliderTrack.d.ts +0 -9
- package/types/components/fields/Slider/elements.d.ts +0 -4986
- package/types/components/fields/Slider/index.d.ts +0 -6
- package/types/components/fields/Slider/types.d.ts +0 -17
- package/types/components/fields/Switch/Switch.d.ts +0 -19
- package/types/components/fields/Switch/index.d.ts +0 -1
- package/types/components/fields/TextArea/TextArea.d.ts +0 -18
- package/types/components/fields/TextArea/index.d.ts +0 -1
- package/types/components/fields/TextInput/TextInput.d.ts +0 -6
- package/types/components/fields/TextInput/TextInputBase.d.ts +0 -45
- package/types/components/fields/TextInput/index.d.ts +0 -2
- package/types/components/fields/TextInputMapper/TextInputMapper.d.ts +0 -31
- package/types/components/fields/TextInputMapper/index.d.ts +0 -1
- package/types/components/fields/index.d.ts +0 -19
- package/types/components/form/FieldWrapper/FieldWrapper.d.ts +0 -6
- package/types/components/form/FieldWrapper/extract-field-wrapper-props.d.ts +0 -9
- package/types/components/form/FieldWrapper/index.d.ts +0 -3
- package/types/components/form/FieldWrapper/types.d.ts +0 -39
- package/types/components/form/Form/Field.d.ts +0 -15
- package/types/components/form/Form/Form.d.ts +0 -32
- package/types/components/form/Form/ResetButton/ResetButton.d.ts +0 -8
- package/types/components/form/Form/ResetButton/index.d.ts +0 -1
- package/types/components/form/Form/SubmitButton/SubmitButton.d.ts +0 -8
- package/types/components/form/Form/SubmitButton/index.d.ts +0 -1
- package/types/components/form/Form/SubmitError.d.ts +0 -6
- package/types/components/form/Form/index.d.ts +0 -31
- package/types/components/form/Form/types.d.ts +0 -17
- package/types/components/form/Form/use-field/index.d.ts +0 -3
- package/types/components/form/Form/use-field/types.d.ts +0 -38
- package/types/components/form/Form/use-field/use-field-props.d.ts +0 -19
- package/types/components/form/Form/use-field/use-field.d.ts +0 -7
- package/types/components/form/Form/use-form.d.ts +0 -76
- package/types/components/form/Form/validation.d.ts +0 -5
- package/types/components/form/Label.d.ts +0 -16
- package/types/components/form/index.d.ts +0 -4
- package/types/components/form/wrapper.d.ts +0 -8
- package/types/components/helpers/DisplayTransition/DisplayTransition.d.ts +0 -30
- package/types/components/helpers/DisplayTransition/index.d.ts +0 -2
- package/types/components/helpers/IconSwitch/IconSwitch.d.ts +0 -20
- package/types/components/helpers/index.d.ts +0 -2
- package/types/components/layout/Flex.d.ts +0 -4
- package/types/components/layout/Flow.d.ts +0 -4
- package/types/components/layout/Grid.d.ts +0 -4
- package/types/components/layout/Panel.d.ts +0 -20
- package/types/components/layout/Prefix.d.ts +0 -7
- package/types/components/layout/ResizablePanel.d.ts +0 -14
- package/types/components/layout/Space.d.ts +0 -5
- package/types/components/layout/Suffix.d.ts +0 -7
- package/types/components/navigation/Tabs/DraggableTabList.d.ts +0 -22
- package/types/components/navigation/Tabs/EditableTitle.d.ts +0 -24
- package/types/components/navigation/Tabs/TabButton.d.ts +0 -22
- package/types/components/navigation/Tabs/TabDropIndicator.d.ts +0 -17
- package/types/components/navigation/Tabs/TabPanel.d.ts +0 -48
- package/types/components/navigation/Tabs/TabPicker.d.ts +0 -22
- package/types/components/navigation/Tabs/Tabs.d.ts +0 -53
- package/types/components/navigation/Tabs/TabsAction.d.ts +0 -38
- package/types/components/navigation/Tabs/TabsContext.d.ts +0 -56
- package/types/components/navigation/Tabs/index.d.ts +0 -3
- package/types/components/navigation/Tabs/styled.d.ts +0 -5936
- package/types/components/navigation/Tabs/types.d.ts +0 -271
- package/types/components/navigation/Tabs/use-tab-editing.d.ts +0 -29
- package/types/components/navigation/Tabs/use-tab-indicator.d.ts +0 -20
- package/types/components/navigation/index.d.ts +0 -2
- package/types/components/organisms/FileTabs/FileTabs.d.ts +0 -37
- package/types/components/organisms/StatsCard/StatsCard.d.ts +0 -8
- package/types/components/other/Calendar/Calendar.d.ts +0 -9
- package/types/components/other/Calendar/CalendarCell.d.ts +0 -5
- package/types/components/other/Calendar/CalendarGrid.d.ts +0 -4
- package/types/components/other/Calendar/RangeCalendar.d.ts +0 -4
- package/types/components/other/CloudLogo/CloudLogo.d.ts +0 -3
- package/types/components/overlays/AlertDialog/AlertDialog.d.ts +0 -21
- package/types/components/overlays/AlertDialog/AlertDialogApiProvider.d.ts +0 -67
- package/types/components/overlays/AlertDialog/AlertDialogZone.d.ts +0 -8
- package/types/components/overlays/AlertDialog/index.d.ts +0 -3
- package/types/components/overlays/AlertDialog/types.d.ts +0 -39
- package/types/components/overlays/Dialog/Dialog.d.ts +0 -20
- package/types/components/overlays/Dialog/DialogContainer.d.ts +0 -28
- package/types/components/overlays/Dialog/DialogForm.d.ts +0 -27
- package/types/components/overlays/Dialog/DialogTrigger.d.ts +0 -50
- package/types/components/overlays/Dialog/context.d.ts +0 -9
- package/types/components/overlays/Dialog/index.d.ts +0 -5
- package/types/components/overlays/Dialog/use-dialog-container.d.ts +0 -15
- package/types/components/overlays/Modal/Modal.d.ts +0 -13
- package/types/components/overlays/Modal/OpenTransition.d.ts +0 -7
- package/types/components/overlays/Modal/Overlay.d.ts +0 -7
- package/types/components/overlays/Modal/Popover.d.ts +0 -20
- package/types/components/overlays/Modal/Tray.d.ts +0 -19
- package/types/components/overlays/Modal/Underlay.d.ts +0 -8
- package/types/components/overlays/Modal/index.d.ts +0 -6
- package/types/components/overlays/Modal/types.d.ts +0 -18
- package/types/components/overlays/NewNotifications/Bar/FloatingNotification.d.ts +0 -15
- package/types/components/overlays/NewNotifications/Bar/NotificationsBar.d.ts +0 -21
- package/types/components/overlays/NewNotifications/Bar/TransitionComponent.d.ts +0 -4
- package/types/components/overlays/NewNotifications/Bar/index.d.ts +0 -1
- package/types/components/overlays/NewNotifications/Dialog/NotificationsDialogContext.d.ts +0 -9
- package/types/components/overlays/NewNotifications/Dialog/NotificationsDialogTrigger.d.ts +0 -11
- package/types/components/overlays/NewNotifications/Dialog/index.d.ts +0 -1
- package/types/components/overlays/NewNotifications/Notification.d.ts +0 -18
- package/types/components/overlays/NewNotifications/NotificationView/NotificationAction.d.ts +0 -13
- package/types/components/overlays/NewNotifications/NotificationView/NotificationCloseButton.d.ts +0 -4
- package/types/components/overlays/NewNotifications/NotificationView/NotificationDescription.d.ts +0 -9
- package/types/components/overlays/NewNotifications/NotificationView/NotificationFooter.d.ts +0 -13
- package/types/components/overlays/NewNotifications/NotificationView/NotificationHeader.d.ts +0 -9
- package/types/components/overlays/NewNotifications/NotificationView/NotificationIcon.d.ts +0 -9
- package/types/components/overlays/NewNotifications/NotificationView/NotificationProvider.d.ts +0 -10
- package/types/components/overlays/NewNotifications/NotificationView/NotificationView.d.ts +0 -10
- package/types/components/overlays/NewNotifications/NotificationView/index.d.ts +0 -2
- package/types/components/overlays/NewNotifications/NotificationView/types.d.ts +0 -16
- package/types/components/overlays/NewNotifications/NotificationsContext/NotificationsContext.d.ts +0 -5
- package/types/components/overlays/NewNotifications/NotificationsContext/NotificationsProvider.d.ts +0 -4
- package/types/components/overlays/NewNotifications/NotificationsContext/index.d.ts +0 -2
- package/types/components/overlays/NewNotifications/NotificationsContext/use-notifications.d.ts +0 -8
- package/types/components/overlays/NewNotifications/NotificationsList/NotificationsList.d.ts +0 -21
- package/types/components/overlays/NewNotifications/NotificationsList/NotificationsListItem.d.ts +0 -5
- package/types/components/overlays/NewNotifications/NotificationsList/index.d.ts +0 -2
- package/types/components/overlays/NewNotifications/NotificationsList/types.d.ts +0 -22
- package/types/components/overlays/NewNotifications/hooks/index.d.ts +0 -5
- package/types/components/overlays/NewNotifications/hooks/types.d.ts +0 -10
- package/types/components/overlays/NewNotifications/hooks/use-notification-list-item.d.ts +0 -9
- package/types/components/overlays/NewNotifications/hooks/use-notifications-api.d.ts +0 -1
- package/types/components/overlays/NewNotifications/hooks/use-notifications-list.d.ts +0 -12
- package/types/components/overlays/NewNotifications/hooks/use-notifications-observer.d.ts +0 -2
- package/types/components/overlays/NewNotifications/index.d.ts +0 -8
- package/types/components/overlays/NewNotifications/types.d.ts +0 -76
- package/types/components/overlays/Notification/Notification.d.ts +0 -6
- package/types/components/overlays/OverlayWrapper.d.ts +0 -11
- package/types/components/overlays/Toast/ToastItem.d.ts +0 -14
- package/types/components/overlays/Toast/ToastProvider.d.ts +0 -8
- package/types/components/overlays/Toast/index.d.ts +0 -49
- package/types/components/overlays/Toast/types.d.ts +0 -66
- package/types/components/overlays/Toast/useProgressToast.d.ts +0 -26
- package/types/components/overlays/Toast/useToast.d.ts +0 -30
- package/types/components/overlays/Tooltip/Tooltip.d.ts +0 -21
- package/types/components/overlays/Tooltip/TooltipProvider.d.ts +0 -11
- package/types/components/overlays/Tooltip/TooltipTrigger.d.ts +0 -53
- package/types/components/overlays/Tooltip/context.d.ts +0 -22
- package/types/components/overlays/Tooltip/index.d.ts +0 -3
- package/types/components/portal/Portal.d.ts +0 -25
- package/types/components/portal/PortalProvider.d.ts +0 -13
- package/types/components/portal/index.d.ts +0 -3
- package/types/components/portal/types.d.ts +0 -21
- package/types/components/portal/usePortal.d.ts +0 -9
- package/types/components/shared/InvalidIcon.d.ts +0 -1
- package/types/components/shared/ValidIcon.d.ts +0 -1
- package/types/components/status/LoadingAnimation/LoadingAnimation.d.ts +0 -5
- package/types/components/status/LoadingAnimation/index.d.ts +0 -2
- package/types/components/status/Spin/Cube.d.ts +0 -2
- package/types/components/status/Spin/InternalSpinner.d.ts +0 -2
- package/types/components/status/Spin/Spin.d.ts +0 -2
- package/types/components/status/Spin/SpinsContainer.d.ts +0 -6
- package/types/components/status/Spin/index.d.ts +0 -2
- package/types/components/status/Spin/types.d.ts +0 -23
- package/types/components/status/index.d.ts +0 -2
- package/types/data/item-themes.d.ts +0 -51
- package/types/data/themes.d.ts +0 -33
- package/types/icons/AdjustmentsHorizontalIcon.d.ts +0 -4
- package/types/icons/AdjustmentsIcon.d.ts +0 -4
- package/types/icons/AiIcon.d.ts +0 -4
- package/types/icons/AreaChartIcon.d.ts +0 -4
- package/types/icons/BackwardIcon.d.ts +0 -4
- package/types/icons/BarChartIcon.d.ts +0 -4
- package/types/icons/BellFilledIcon.d.ts +0 -4
- package/types/icons/BellIcon.d.ts +0 -4
- package/types/icons/BooleanIcon.d.ts +0 -4
- package/types/icons/CalendarEditIcon.d.ts +0 -4
- package/types/icons/CalendarIcon.d.ts +0 -4
- package/types/icons/CaretDownIcon.d.ts +0 -4
- package/types/icons/CaretUpIcon.d.ts +0 -4
- package/types/icons/ChartAreaStackedIcon.d.ts +0 -4
- package/types/icons/ChartAreaStackedPercentageIcon.d.ts +0 -4
- package/types/icons/ChartBarGroupedHorizontalIcon.d.ts +0 -4
- package/types/icons/ChartBarGroupedIcon.d.ts +0 -4
- package/types/icons/ChartBarHorizontalIcon.d.ts +0 -4
- package/types/icons/ChartBarLineIcon.d.ts +0 -4
- package/types/icons/ChartBarStackedHorizontalIcon.d.ts +0 -4
- package/types/icons/ChartBarStackedIcon.d.ts +0 -4
- package/types/icons/ChartBarStackedPercentageHorizontalIcon.d.ts +0 -4
- package/types/icons/ChartBarStackedPercentageIcon.d.ts +0 -4
- package/types/icons/ChartBoxPlot2Icon.d.ts +0 -4
- package/types/icons/ChartBoxPlotIcon.d.ts +0 -4
- package/types/icons/ChartBubbleIcon.d.ts +0 -4
- package/types/icons/ChartDonut2Icon.d.ts +0 -4
- package/types/icons/ChartFunnelIcon.d.ts +0 -4
- package/types/icons/ChartHeatmapIcon.d.ts +0 -4
- package/types/icons/ChartKPIIcon.d.ts +0 -4
- package/types/icons/ChartPie2Icon.d.ts +0 -4
- package/types/icons/ChartScatterIcon.d.ts +0 -4
- package/types/icons/CheckCircleFilledIcon.d.ts +0 -4
- package/types/icons/CheckCircleIcon.d.ts +0 -4
- package/types/icons/CheckIcon.d.ts +0 -4
- package/types/icons/CircleFilledIcon.d.ts +0 -4
- package/types/icons/ClearIcon.d.ts +0 -4
- package/types/icons/CloseCircleFilledIcon.d.ts +0 -4
- package/types/icons/CloseCircleIcon.d.ts +0 -4
- package/types/icons/CloseIcon.d.ts +0 -4
- package/types/icons/CodeIcon.d.ts +0 -4
- package/types/icons/ColumnTotalIcon.d.ts +0 -4
- package/types/icons/CopyIcon.d.ts +0 -4
- package/types/icons/CountIcon.d.ts +0 -4
- package/types/icons/CubeIcon.d.ts +0 -4
- package/types/icons/CubePauseIcon.d.ts +0 -4
- package/types/icons/CubePlayIcon.d.ts +0 -4
- package/types/icons/CurrencyDollarIcon.d.ts +0 -4
- package/types/icons/DangerIcon.d.ts +0 -4
- package/types/icons/DashboardIcon.d.ts +0 -4
- package/types/icons/DatabaseIcon.d.ts +0 -4
- package/types/icons/DecimalDecreaseIcon.d.ts +0 -4
- package/types/icons/DecimalIncreaseIcon.d.ts +0 -4
- package/types/icons/DirectionIcon.d.ts +0 -11
- package/types/icons/DonutIcon.d.ts +0 -4
- package/types/icons/DownIcon.d.ts +0 -4
- package/types/icons/EditIcon.d.ts +0 -4
- package/types/icons/ExclamationCircleFilledIcon.d.ts +0 -4
- package/types/icons/ExclamationCircleIcon.d.ts +0 -4
- package/types/icons/ExclamationIcon.d.ts +0 -4
- package/types/icons/EyeIcon.d.ts +0 -4
- package/types/icons/EyeInvisibleIcon.d.ts +0 -4
- package/types/icons/FilterIcon.d.ts +0 -4
- package/types/icons/FolderFilledIcon.d.ts +0 -4
- package/types/icons/FolderIcon.d.ts +0 -4
- package/types/icons/FolderOpenFilledIcon.d.ts +0 -4
- package/types/icons/FolderOpenIcon.d.ts +0 -4
- package/types/icons/ForwardIcon.d.ts +0 -4
- package/types/icons/HierarchyIcon.d.ts +0 -4
- package/types/icons/HierarchyOpenIcon.d.ts +0 -4
- package/types/icons/Icon.d.ts +0 -9
- package/types/icons/InfoCircleIcon.d.ts +0 -4
- package/types/icons/InfoIcon.d.ts +0 -4
- package/types/icons/KeyIcon.d.ts +0 -4
- package/types/icons/LeftIcon.d.ts +0 -4
- package/types/icons/LineChartIcon.d.ts +0 -4
- package/types/icons/LoadingIcon.d.ts +0 -4
- package/types/icons/LockFilledIcon.d.ts +0 -4
- package/types/icons/LockIcon.d.ts +0 -4
- package/types/icons/MoreIcon.d.ts +0 -4
- package/types/icons/NotAllowedIcon.d.ts +0 -4
- package/types/icons/Number123Icon.d.ts +0 -4
- package/types/icons/NumberIcon.d.ts +0 -4
- package/types/icons/PauseCircleFilledIcon.d.ts +0 -4
- package/types/icons/PauseCircleIcon.d.ts +0 -4
- package/types/icons/PauseIcon.d.ts +0 -4
- package/types/icons/PercentageIcon.d.ts +0 -4
- package/types/icons/PieChartIcon.d.ts +0 -4
- package/types/icons/PlayCircleIcon.d.ts +0 -4
- package/types/icons/PlayIcon.d.ts +0 -4
- package/types/icons/PlusIcon.d.ts +0 -4
- package/types/icons/ProgressBarIcon.d.ts +0 -4
- package/types/icons/ReloadIcon.d.ts +0 -4
- package/types/icons/ReportIcon.d.ts +0 -4
- package/types/icons/ReturnIcon.d.ts +0 -4
- package/types/icons/RightIcon.d.ts +0 -4
- package/types/icons/RowTotalsIcon.d.ts +0 -4
- package/types/icons/SchemeIcon.d.ts +0 -4
- package/types/icons/SearchIcon.d.ts +0 -4
- package/types/icons/SemanticQueryIcon.d.ts +0 -4
- package/types/icons/SettingsIcon.d.ts +0 -4
- package/types/icons/ShieldFilledIcon.d.ts +0 -4
- package/types/icons/ShieldIcon.d.ts +0 -4
- package/types/icons/SlashIcon.d.ts +0 -4
- package/types/icons/SparklesIcon.d.ts +0 -4
- package/types/icons/SqlIcon.d.ts +0 -4
- package/types/icons/StatsIcon.d.ts +0 -4
- package/types/icons/StopIcon.d.ts +0 -4
- package/types/icons/StringIcon.d.ts +0 -4
- package/types/icons/SubtotalsIcon.d.ts +0 -4
- package/types/icons/SwitchIcon.d.ts +0 -4
- package/types/icons/TableIcon.d.ts +0 -4
- package/types/icons/ThumbsDownIcon.d.ts +0 -4
- package/types/icons/ThumbsUpIcon.d.ts +0 -4
- package/types/icons/ThunderboltCrossedIcon.d.ts +0 -4
- package/types/icons/ThunderboltFilledIcon.d.ts +0 -4
- package/types/icons/ThunderboltIcon.d.ts +0 -4
- package/types/icons/TimeIcon.d.ts +0 -4
- package/types/icons/TrashIcon.d.ts +0 -4
- package/types/icons/UnlockIcon.d.ts +0 -4
- package/types/icons/UpIcon.d.ts +0 -4
- package/types/icons/UserGroupIcon.d.ts +0 -4
- package/types/icons/UserIcon.d.ts +0 -4
- package/types/icons/UserLockIcon.d.ts +0 -4
- package/types/icons/ViewIcon.d.ts +0 -4
- package/types/icons/WarningFilledIcon.d.ts +0 -4
- package/types/icons/WarningIcon.d.ts +0 -4
- package/types/icons/index.d.ts +0 -130
- package/types/icons/wrap-icon.d.ts +0 -6
- package/types/index.d.ts +0 -136
- package/types/provider.d.ts +0 -17
- package/types/providers/TrackingProvider.d.ts +0 -10
- package/types/providers/navigation.types.d.ts +0 -24
- package/types/providers/navigationAdapter.default.d.ts +0 -6
- package/types/services/notification.d.ts +0 -28
- package/types/shared/form.d.ts +0 -106
- package/types/shared/index.d.ts +0 -4
- package/types/stories/Form.legacy-stories.d.ts +0 -27
- package/types/stories/FormFieldArgs.d.ts +0 -413
- package/types/stories/SimpleLayout.stories.d.ts +0 -19
- package/types/stories/Tasty.stories.d.ts +0 -11
- package/types/stories/components/ConfirmDeletionDialogForm.d.ts +0 -6
- package/types/stories/components/DialogFormApp.d.ts +0 -1
- package/types/stories/components/StyledButton.d.ts +0 -7
- package/types/stories/lists/baseProps.d.ts +0 -1
- package/types/stories/playground/PlaygroundEditor.d.ts +0 -6
- package/types/stories/playground/PlaygroundLayout.d.ts +0 -8
- package/types/stories/playground/PlaygroundOutput.d.ts +0 -5
- package/types/stories/playground/PlaygroundPreview.d.ts +0 -6
- package/types/stories/playground/components/Button.d.ts +0 -11
- package/types/stories/playground/components/Card.d.ts +0 -7
- package/types/stories/playground/components/ScrollProgress.d.ts +0 -5
- package/types/stories/playground/examples.d.ts +0 -7
- package/types/tasty/chunks/cacheKey.d.ts +0 -26
- package/types/tasty/chunks/definitions.d.ts +0 -120
- package/types/tasty/chunks/index.d.ts +0 -4
- package/types/tasty/chunks/renderChunk.d.ts +0 -25
- package/types/tasty/config.d.ts +0 -320
- package/types/tasty/debug.d.ts +0 -196
- package/types/tasty/hooks/index.d.ts +0 -7
- package/types/tasty/hooks/useGlobalStyles.d.ts +0 -22
- package/types/tasty/hooks/useKeyframes.d.ts +0 -52
- package/types/tasty/hooks/useProperty.d.ts +0 -75
- package/types/tasty/hooks/useRawCSS.d.ts +0 -50
- package/types/tasty/hooks/useStyles.d.ts +0 -35
- package/types/tasty/index.d.ts +0 -31
- package/types/tasty/injector/index.d.ts +0 -154
- package/types/tasty/injector/injector.d.ts +0 -135
- package/types/tasty/injector/sheet-manager.d.ts +0 -122
- package/types/tasty/injector/types.d.ts +0 -139
- package/types/tasty/keyframes/index.d.ts +0 -49
- package/types/tasty/parser/classify.d.ts +0 -5
- package/types/tasty/parser/const.d.ts +0 -6
- package/types/tasty/parser/lru.d.ts +0 -16
- package/types/tasty/parser/parser.d.ts +0 -21
- package/types/tasty/parser/tokenizer.d.ts +0 -2
- package/types/tasty/parser/types.d.ts +0 -55
- package/types/tasty/pipeline/conditions.d.ts +0 -250
- package/types/tasty/pipeline/exclusive.d.ts +0 -103
- package/types/tasty/pipeline/index.d.ts +0 -83
- package/types/tasty/pipeline/materialize.d.ts +0 -162
- package/types/tasty/pipeline/parseStateKey.d.ts +0 -20
- package/types/tasty/pipeline/simplify.d.ts +0 -28
- package/types/tasty/plugins/index.d.ts +0 -17
- package/types/tasty/plugins/okhsl-plugin.d.ts +0 -45
- package/types/tasty/plugins/types.d.ts +0 -66
- package/types/tasty/properties/index.d.ts +0 -100
- package/types/tasty/states/index.d.ts +0 -107
- package/types/tasty/static/index.d.ts +0 -39
- package/types/tasty/static/tastyStatic.d.ts +0 -41
- package/types/tasty/static/types.d.ts +0 -44
- package/types/tasty/styles/align.d.ts +0 -9
- package/types/tasty/styles/border.d.ts +0 -19
- package/types/tasty/styles/boxShadow.combinator.d.ts +0 -6
- package/types/tasty/styles/color.d.ts +0 -8
- package/types/tasty/styles/createStyle.d.ts +0 -6
- package/types/tasty/styles/dimension.d.ts +0 -16
- package/types/tasty/styles/display.d.ts +0 -28
- package/types/tasty/styles/fade.d.ts +0 -9
- package/types/tasty/styles/fill.d.ts +0 -26
- package/types/tasty/styles/flow.d.ts +0 -9
- package/types/tasty/styles/gap.d.ts +0 -23
- package/types/tasty/styles/height.d.ts +0 -10
- package/types/tasty/styles/index.d.ts +0 -7
- package/types/tasty/styles/inset.d.ts +0 -38
- package/types/tasty/styles/justify.d.ts +0 -9
- package/types/tasty/styles/list.d.ts +0 -12
- package/types/tasty/styles/margin.d.ts +0 -16
- package/types/tasty/styles/outline.d.ts +0 -23
- package/types/tasty/styles/padding.d.ts +0 -16
- package/types/tasty/styles/place.d.ts +0 -9
- package/types/tasty/styles/predefined.d.ts +0 -109
- package/types/tasty/styles/preset.d.ts +0 -33
- package/types/tasty/styles/radius.d.ts +0 -8
- package/types/tasty/styles/reset.d.ts +0 -6
- package/types/tasty/styles/scrollbar.d.ts +0 -15
- package/types/tasty/styles/shadow.d.ts +0 -8
- package/types/tasty/styles/styledScrollbar.d.ts +0 -41
- package/types/tasty/styles/transition.d.ts +0 -9
- package/types/tasty/styles/types.d.ts +0 -462
- package/types/tasty/styles/width.d.ts +0 -10
- package/types/tasty/tasty.d.ts +0 -946
- package/types/tasty/types.d.ts +0 -173
- package/types/tasty/utils/cache-wrapper.d.ts +0 -4
- package/types/tasty/utils/case-converter.d.ts +0 -1
- package/types/tasty/utils/colors.d.ts +0 -1
- package/types/tasty/utils/dotize.d.ts +0 -22
- package/types/tasty/utils/filter-base-props.d.ts +0 -12
- package/types/tasty/utils/get-display-name.d.ts +0 -2
- package/types/tasty/utils/hsl-to-rgb.d.ts +0 -7
- package/types/tasty/utils/is-dev-env.d.ts +0 -6
- package/types/tasty/utils/merge-styles.d.ts +0 -2
- package/types/tasty/utils/mod-attrs.d.ts +0 -7
- package/types/tasty/utils/okhsl-to-rgb.d.ts +0 -5
- package/types/tasty/utils/process-tokens.d.ts +0 -26
- package/types/tasty/utils/resolve-recipes.d.ts +0 -23
- package/types/tasty/utils/rgb-to-okhsl.d.ts +0 -38
- package/types/tasty/utils/string.d.ts +0 -1
- package/types/tasty/utils/styles.d.ts +0 -199
- package/types/tasty/utils/typography.d.ts +0 -32
- package/types/tasty/utils/warnings.d.ts +0 -7
- package/types/tasty/zero/babel.d.ts +0 -123
- package/types/tasty/zero/css-writer.d.ts +0 -41
- package/types/tasty/zero/extractor.d.ts +0 -40
- package/types/tasty/zero/index.d.ts +0 -18
- package/types/tasty/zero/next.d.ts +0 -57
- package/types/tokens/base.d.ts +0 -8
- package/types/tokens/colors.d.ts +0 -22
- package/types/tokens/index.d.ts +0 -41
- package/types/tokens/layout.d.ts +0 -7
- package/types/tokens/shadows.d.ts +0 -12
- package/types/tokens/sizes.d.ts +0 -25
- package/types/tokens/spacing.d.ts +0 -8
- package/types/tokens/typography.d.ts +0 -30
- package/types/utils/ResizeSensor.d.ts +0 -9
- package/types/utils/index.d.ts +0 -9
- package/types/utils/modules.d.ts +0 -1
- package/types/utils/promise.d.ts +0 -1
- package/types/utils/raf.d.ts +0 -17
- package/types/utils/random.d.ts +0 -5
- package/types/utils/range.d.ts +0 -1
- package/types/utils/react/RenderCache.d.ts +0 -12
- package/types/utils/react/Slots.d.ts +0 -3
- package/types/utils/react/chain.d.ts +0 -4
- package/types/utils/react/forwardRefWithGenerics.d.ts +0 -26
- package/types/utils/react/index.d.ts +0 -21
- package/types/utils/react/interactions.d.ts +0 -6
- package/types/utils/react/isTextOnly.d.ts +0 -1
- package/types/utils/react/mapProps.d.ts +0 -6
- package/types/utils/react/mergeProps.d.ts +0 -11
- package/types/utils/react/nullableValue.d.ts +0 -19
- package/types/utils/react/resolveIcon.d.ts +0 -23
- package/types/utils/react/sharedStore.d.ts +0 -11
- package/types/utils/react/useCombinedRefs.d.ts +0 -3
- package/types/utils/react/useControlledFocusVisible.d.ts +0 -10
- package/types/utils/react/useEventBus.d.ts +0 -84
- package/types/utils/react/useId.d.ts +0 -15
- package/types/utils/react/useIsDarwin.d.ts +0 -12
- package/types/utils/react/useKeySymbols.d.ts +0 -9
- package/types/utils/react/useLayoutEffect.d.ts +0 -2
- package/types/utils/react/useLocalStorage.d.ts +0 -33
- package/types/utils/react/useMergeStyles.d.ts +0 -25
- package/types/utils/react/useQaProps.d.ts +0 -19
- package/types/utils/react/useViewportSize.d.ts +0 -9
- package/types/utils/react/wrapNodeIfPlain.d.ts +0 -2
- package/types/utils/tree.d.ts +0 -1
- package/types/utils/warnings.d.ts +0 -8
- package/types/version.d.ts +0 -8
- /package/{tasty.config.ts → dist/tasty.config.ts} +0 -0
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.115.0 | Cube Dev Team */
|
|
2
|
+
import { usePersistentNotificationsContext } from "./NotificationContext.js";
|
|
3
|
+
import { useMemo } from "react";
|
|
4
|
+
|
|
5
|
+
//#region src/components/overlays/Notifications/use-persistent-notifications.ts
|
|
6
|
+
/**
|
|
7
|
+
* Hook to access the persistent notifications list.
|
|
8
|
+
*
|
|
9
|
+
* Items are ordered newest first (by `createdAt`, descending).
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```tsx
|
|
13
|
+
* const { items, count, remove, clear } = usePersistentNotifications();
|
|
14
|
+
*
|
|
15
|
+
* return (
|
|
16
|
+
* <div>
|
|
17
|
+
* <span>Notifications ({count})</span>
|
|
18
|
+
* {items.map(item => (
|
|
19
|
+
* <div key={item.id}>
|
|
20
|
+
* {item.title}
|
|
21
|
+
* <button onClick={() => remove(item.id)}>Remove</button>
|
|
22
|
+
* </div>
|
|
23
|
+
* ))}
|
|
24
|
+
* <button onClick={clear}>Clear all</button>
|
|
25
|
+
* </div>
|
|
26
|
+
* );
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
function usePersistentNotifications() {
|
|
30
|
+
const { persistentItems, removePersistentItem, clearPersistentItems, markAllAsRead } = usePersistentNotificationsContext();
|
|
31
|
+
return useMemo(() => ({
|
|
32
|
+
items: persistentItems,
|
|
33
|
+
count: persistentItems.length,
|
|
34
|
+
remove: removePersistentItem,
|
|
35
|
+
clear: clearPersistentItems,
|
|
36
|
+
markAllAsRead
|
|
37
|
+
}), [persistentItems]);
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Hook to get total and unread counts for persistent notifications.
|
|
41
|
+
*
|
|
42
|
+
* - `total` — number of items in the persistent list.
|
|
43
|
+
* - `unread` — items that haven't been seen in `PersistentNotificationsList` yet.
|
|
44
|
+
*
|
|
45
|
+
* @example
|
|
46
|
+
* ```tsx
|
|
47
|
+
* const { total, unread } = useNotificationsCount();
|
|
48
|
+
* return <Badge count={unread} />;
|
|
49
|
+
* ```
|
|
50
|
+
*/
|
|
51
|
+
function useNotificationsCount() {
|
|
52
|
+
const { persistentItems } = usePersistentNotificationsContext();
|
|
53
|
+
return useMemo(() => ({
|
|
54
|
+
total: persistentItems.length,
|
|
55
|
+
unread: persistentItems.filter((i) => !i.isRead).length
|
|
56
|
+
}), [persistentItems]);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
//#endregion
|
|
60
|
+
export { useNotificationsCount, usePersistentNotifications };
|
|
61
|
+
//# sourceMappingURL=use-persistent-notifications.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-persistent-notifications.js","names":[],"sources":["../../../../src/components/overlays/Notifications/use-persistent-notifications.ts"],"sourcesContent":["import { Key, useMemo } from 'react';\n\nimport { usePersistentNotificationsContext } from './NotificationContext';\n\nimport type { PersistentNotificationItem } from './types';\n\n/**\n * Hook to access the persistent notifications list.\n *\n * Items are ordered newest first (by `createdAt`, descending).\n *\n * @example\n * ```tsx\n * const { items, count, remove, clear } = usePersistentNotifications();\n *\n * return (\n * <div>\n * <span>Notifications ({count})</span>\n * {items.map(item => (\n * <div key={item.id}>\n * {item.title}\n * <button onClick={() => remove(item.id)}>Remove</button>\n * </div>\n * ))}\n * <button onClick={clear}>Clear all</button>\n * </div>\n * );\n * ```\n */\nexport function usePersistentNotifications(): {\n items: PersistentNotificationItem[];\n count: number;\n remove: (id: Key) => void;\n clear: () => void;\n markAllAsRead: () => void;\n} {\n const {\n persistentItems,\n removePersistentItem,\n clearPersistentItems,\n markAllAsRead,\n } = usePersistentNotificationsContext();\n\n return useMemo(\n () => ({\n items: persistentItems,\n count: persistentItems.length,\n remove: removePersistentItem,\n clear: clearPersistentItems,\n markAllAsRead,\n }),\n [persistentItems],\n );\n}\n\n/**\n * Hook to get total and unread counts for persistent notifications.\n *\n * - `total` — number of items in the persistent list.\n * - `unread` — items that haven't been seen in `PersistentNotificationsList` yet.\n *\n * @example\n * ```tsx\n * const { total, unread } = useNotificationsCount();\n * return <Badge count={unread} />;\n * ```\n */\nexport function useNotificationsCount(): { total: number; unread: number } {\n const { persistentItems } = usePersistentNotificationsContext();\n\n return useMemo(\n () => ({\n total: persistentItems.length,\n unread: persistentItems.filter((i) => !i.isRead).length,\n }),\n [persistentItems],\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6BA,SAAgB,6BAMd;CACA,MAAM,EACJ,iBACA,sBACA,sBACA,kBACE,mCAAmC;AAEvC,QAAO,eACE;EACL,OAAO;EACP,OAAO,gBAAgB;EACvB,QAAQ;EACR,OAAO;EACP;EACD,GACD,CAAC,gBAAgB,CAClB;;;;;;;;;;;;;;AAeH,SAAgB,wBAA2D;CACzE,MAAM,EAAE,oBAAoB,mCAAmC;AAE/D,QAAO,eACE;EACL,OAAO,gBAAgB;EACvB,QAAQ,gBAAgB,QAAQ,MAAM,CAAC,EAAE,OAAO,CAAC;EAClD,GACD,CAAC,gBAAgB,CAClB"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.115.0 | Cube Dev Team */
|
|
2
|
+
import { useEvent } from "../../../_internal/hooks/use-event.js";
|
|
3
|
+
import { useRef, useState } from "react";
|
|
4
|
+
|
|
5
|
+
//#region src/components/overlays/Notifications/use-persistent-state.ts
|
|
6
|
+
function usePersistentState(maxItems) {
|
|
7
|
+
const [persistentItems, setPersistentItems] = useState([]);
|
|
8
|
+
const dismissedPersistentIdsRef = useRef(/* @__PURE__ */ new Set());
|
|
9
|
+
const fullyDismissedIdsRef = useRef(/* @__PURE__ */ new Set());
|
|
10
|
+
return {
|
|
11
|
+
persistentItems,
|
|
12
|
+
addPersistentItem: useEvent((item) => {
|
|
13
|
+
if (fullyDismissedIdsRef.current.has(item.id)) return;
|
|
14
|
+
dismissedPersistentIdsRef.current.add(item.id);
|
|
15
|
+
setPersistentItems((prev) => {
|
|
16
|
+
const existingIndex = prev.findIndex((i) => i.id === item.id);
|
|
17
|
+
let newItems;
|
|
18
|
+
if (existingIndex !== -1) {
|
|
19
|
+
newItems = [...prev];
|
|
20
|
+
newItems[existingIndex] = {
|
|
21
|
+
...newItems[existingIndex],
|
|
22
|
+
...item,
|
|
23
|
+
isRead: false
|
|
24
|
+
};
|
|
25
|
+
} else newItems = [{
|
|
26
|
+
...item,
|
|
27
|
+
isRead: item.isRead ?? false
|
|
28
|
+
}, ...prev];
|
|
29
|
+
if (newItems.length > maxItems) newItems = newItems.slice(0, maxItems);
|
|
30
|
+
newItems.sort((a, b) => b.createdAt - a.createdAt);
|
|
31
|
+
return newItems;
|
|
32
|
+
});
|
|
33
|
+
}),
|
|
34
|
+
removePersistentItem: useEvent((id) => {
|
|
35
|
+
fullyDismissedIdsRef.current.add(id);
|
|
36
|
+
setPersistentItems((prev) => prev.filter((i) => i.id !== id));
|
|
37
|
+
}),
|
|
38
|
+
removePersistentItemsByOwner: useEvent((ownerId) => {
|
|
39
|
+
setPersistentItems((prev) => prev.filter((i) => i.ownerId !== ownerId));
|
|
40
|
+
}),
|
|
41
|
+
clearPersistentItems: useEvent(() => {
|
|
42
|
+
setPersistentItems([]);
|
|
43
|
+
}),
|
|
44
|
+
markAllAsRead: useEvent(() => {
|
|
45
|
+
setPersistentItems((prev) => {
|
|
46
|
+
if (!prev.some((i) => !i.isRead)) return prev;
|
|
47
|
+
return prev.map((i) => i.isRead ? i : {
|
|
48
|
+
...i,
|
|
49
|
+
isRead: true
|
|
50
|
+
});
|
|
51
|
+
});
|
|
52
|
+
}),
|
|
53
|
+
hasDismissedPersistentId: useEvent((id) => {
|
|
54
|
+
return dismissedPersistentIdsRef.current.has(id);
|
|
55
|
+
}),
|
|
56
|
+
isFullyDismissedId: useEvent((id) => {
|
|
57
|
+
return fullyDismissedIdsRef.current.has(id);
|
|
58
|
+
})
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
//#endregion
|
|
63
|
+
export { usePersistentState };
|
|
64
|
+
//# sourceMappingURL=use-persistent-state.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-persistent-state.js","names":[],"sources":["../../../../src/components/overlays/Notifications/use-persistent-state.ts"],"sourcesContent":["import { Key, useRef, useState } from 'react';\n\nimport { useEvent } from '../../../_internal';\n\nimport type { PersistentNotificationItem } from './types';\n\n// ─── Types ───────────────────────────────────────────────────────────\n\nexport interface PersistentState {\n persistentItems: PersistentNotificationItem[];\n addPersistentItem: (item: PersistentNotificationItem) => void;\n removePersistentItem: (id: Key) => void;\n removePersistentItemsByOwner: (ownerId: string) => void;\n clearPersistentItems: () => void;\n markAllAsRead: () => void;\n /**\n * Returns true if the given id was previously moved to the persistent list\n * and has NOT been explicitly removed from it (i.e. still archived, or was\n * auto-dismissed but not yet user-dismissed from the persistent list).\n */\n hasDismissedPersistentId: (id: Key) => boolean;\n /**\n * Returns true if the given id was explicitly removed from the persistent\n * list by the user. Such notifications should be completely ignored on\n * subsequent triggers (no overlay, no persistent storage).\n */\n isFullyDismissedId: (id: Key) => boolean;\n}\n\n// ─── Hook ────────────────────────────────────────────────────────────\n\nexport function usePersistentState(maxItems: number): PersistentState {\n const [persistentItems, setPersistentItems] = useState<\n PersistentNotificationItem[]\n >([]);\n\n // Tracks IDs that have been moved to the persistent list at least once.\n // Used to skip the overlay when the same id reappears.\n const dismissedPersistentIdsRef = useRef<Set<Key>>(new Set());\n\n // Tracks IDs that were explicitly removed from the persistent list by the\n // user. These should be completely ignored on subsequent triggers.\n const fullyDismissedIdsRef = useRef<Set<Key>>(new Set());\n\n const addPersistentItem = useEvent((item: PersistentNotificationItem) => {\n // If the user already dismissed this item from the persistent list, don't re-add it.\n if (fullyDismissedIdsRef.current.has(item.id)) return;\n\n dismissedPersistentIdsRef.current.add(item.id);\n\n setPersistentItems((prev) => {\n // Upsert by id\n const existingIndex = prev.findIndex((i) => i.id === item.id);\n let newItems: PersistentNotificationItem[];\n\n if (existingIndex !== -1) {\n newItems = [...prev];\n // Updated items are marked unread again\n newItems[existingIndex] = {\n ...newItems[existingIndex],\n ...item,\n isRead: false,\n };\n } else {\n newItems = [{ ...item, isRead: item.isRead ?? false }, ...prev];\n }\n\n // Enforce max cap\n if (newItems.length > maxItems) {\n newItems = newItems.slice(0, maxItems);\n }\n\n // Sort newest first\n newItems.sort((a, b) => b.createdAt - a.createdAt);\n\n return newItems;\n });\n });\n\n const removePersistentItem = useEvent((id: Key) => {\n fullyDismissedIdsRef.current.add(id);\n setPersistentItems((prev) => prev.filter((i) => i.id !== id));\n });\n\n const removePersistentItemsByOwner = useEvent((ownerId: string) => {\n setPersistentItems((prev) => prev.filter((i) => i.ownerId !== ownerId));\n });\n\n const clearPersistentItems = useEvent(() => {\n setPersistentItems([]);\n });\n\n const markAllAsRead = useEvent(() => {\n setPersistentItems((prev) => {\n const hasUnread = prev.some((i) => !i.isRead);\n\n if (!hasUnread) return prev;\n\n return prev.map((i) => (i.isRead ? i : { ...i, isRead: true }));\n });\n });\n\n const hasDismissedPersistentId = useEvent((id: Key): boolean => {\n return dismissedPersistentIdsRef.current.has(id);\n });\n\n const isFullyDismissedId = useEvent((id: Key): boolean => {\n return fullyDismissedIdsRef.current.has(id);\n });\n\n return {\n persistentItems,\n addPersistentItem,\n removePersistentItem,\n removePersistentItemsByOwner,\n clearPersistentItems,\n markAllAsRead,\n hasDismissedPersistentId,\n isFullyDismissedId,\n };\n}\n"],"mappings":";;;;;AA+BA,SAAgB,mBAAmB,UAAmC;CACpE,MAAM,CAAC,iBAAiB,sBAAsB,SAE5C,EAAE,CAAC;CAIL,MAAM,4BAA4B,uBAAiB,IAAI,KAAK,CAAC;CAI7D,MAAM,uBAAuB,uBAAiB,IAAI,KAAK,CAAC;AAoExD,QAAO;EACL;EACA,mBApEwB,UAAU,SAAqC;AAEvE,OAAI,qBAAqB,QAAQ,IAAI,KAAK,GAAG,CAAE;AAE/C,6BAA0B,QAAQ,IAAI,KAAK,GAAG;AAE9C,uBAAoB,SAAS;IAE3B,MAAM,gBAAgB,KAAK,WAAW,MAAM,EAAE,OAAO,KAAK,GAAG;IAC7D,IAAI;AAEJ,QAAI,kBAAkB,IAAI;AACxB,gBAAW,CAAC,GAAG,KAAK;AAEpB,cAAS,iBAAiB;MACxB,GAAG,SAAS;MACZ,GAAG;MACH,QAAQ;MACT;UAED,YAAW,CAAC;KAAE,GAAG;KAAM,QAAQ,KAAK,UAAU;KAAO,EAAE,GAAG,KAAK;AAIjE,QAAI,SAAS,SAAS,SACpB,YAAW,SAAS,MAAM,GAAG,SAAS;AAIxC,aAAS,MAAM,GAAG,MAAM,EAAE,YAAY,EAAE,UAAU;AAElD,WAAO;KACP;IACF;EAoCA,sBAlC2B,UAAU,OAAY;AACjD,wBAAqB,QAAQ,IAAI,GAAG;AACpC,uBAAoB,SAAS,KAAK,QAAQ,MAAM,EAAE,OAAO,GAAG,CAAC;IAC7D;EAgCA,8BA9BmC,UAAU,YAAoB;AACjE,uBAAoB,SAAS,KAAK,QAAQ,MAAM,EAAE,YAAY,QAAQ,CAAC;IACvE;EA6BA,sBA3B2B,eAAe;AAC1C,sBAAmB,EAAE,CAAC;IACtB;EA0BA,eAxBoB,eAAe;AACnC,uBAAoB,SAAS;AAG3B,QAAI,CAFc,KAAK,MAAM,MAAM,CAAC,EAAE,OAAO,CAE7B,QAAO;AAEvB,WAAO,KAAK,KAAK,MAAO,EAAE,SAAS,IAAI;KAAE,GAAG;KAAG,QAAQ;KAAM,CAAE;KAC/D;IACF;EAiBA,0BAf+B,UAAU,OAAqB;AAC9D,UAAO,0BAA0B,QAAQ,IAAI,GAAG;IAChD;EAcA,oBAZyB,UAAU,OAAqB;AACxD,UAAO,qBAAqB,QAAQ,IAAI,GAAG;IAC3C;EAWD"}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.115.0 | Cube Dev Team */
|
|
2
|
+
import { useEvent } from "../../../_internal/hooks/use-event.js";
|
|
3
|
+
import { useRef, useState } from "react";
|
|
4
|
+
|
|
5
|
+
//#region src/components/overlays/Notifications/use-toast-state.ts
|
|
6
|
+
const DEFAULT_TOAST_DURATION = 5e3;
|
|
7
|
+
const MAX_TOASTS = 3;
|
|
8
|
+
/**
|
|
9
|
+
* Generate a deduplication key for a toast.
|
|
10
|
+
* Uses JSON.stringify with alphabetically ordered keys to prevent false
|
|
11
|
+
* collisions when title/description contains separator characters.
|
|
12
|
+
*/
|
|
13
|
+
function generateToastDedupeKey(data) {
|
|
14
|
+
if (data.id != null) return String(data.id);
|
|
15
|
+
return JSON.stringify({
|
|
16
|
+
description: typeof data.description === "string" ? data.description : "",
|
|
17
|
+
theme: data.theme ?? "default",
|
|
18
|
+
title: typeof data.title === "string" ? data.title : ""
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
function matchesToastId(item, id) {
|
|
22
|
+
return item.id === id || item.internalId === String(id);
|
|
23
|
+
}
|
|
24
|
+
function findToast(list, id) {
|
|
25
|
+
return list.find((t) => matchesToastId(t, id));
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* @param timersRef - Ref to the shared OverlayTimers instance. Accessed only
|
|
29
|
+
* inside callbacks (never during render), so it is guaranteed to be populated.
|
|
30
|
+
*/
|
|
31
|
+
function useToastState(timersRef) {
|
|
32
|
+
const [toasts, setToasts] = useState([]);
|
|
33
|
+
const toastsRef = useRef(toasts);
|
|
34
|
+
toastsRef.current = toasts;
|
|
35
|
+
const idCounter = useRef(0);
|
|
36
|
+
const removeToast = useEvent((id) => {
|
|
37
|
+
const toast = findToast(toastsRef.current, id);
|
|
38
|
+
if (toast) timersRef.current?.clearToastTimer(toast.internalId);
|
|
39
|
+
setToasts((prev) => prev.map((t) => matchesToastId(t, id) ? {
|
|
40
|
+
...t,
|
|
41
|
+
isExiting: true
|
|
42
|
+
} : t));
|
|
43
|
+
});
|
|
44
|
+
const finalizeToastRemoval = useEvent((internalId) => {
|
|
45
|
+
setToasts((prev) => prev.filter((t) => t.internalId !== internalId));
|
|
46
|
+
});
|
|
47
|
+
return {
|
|
48
|
+
toasts,
|
|
49
|
+
toastsRef,
|
|
50
|
+
addToast: useEvent((data, isProgress = false) => {
|
|
51
|
+
idCounter.current += 1;
|
|
52
|
+
const internalId = `toast-${idCounter.current}-${Date.now()}`;
|
|
53
|
+
const dedupeKey = generateToastDedupeKey(data);
|
|
54
|
+
const duration = isProgress ? null : data.duration ?? DEFAULT_TOAST_DURATION;
|
|
55
|
+
const newToast = {
|
|
56
|
+
...data,
|
|
57
|
+
internalId,
|
|
58
|
+
isProgress,
|
|
59
|
+
dedupeKey,
|
|
60
|
+
createdAt: Date.now()
|
|
61
|
+
};
|
|
62
|
+
const existingToast = toastsRef.current.find((t) => t.dedupeKey === dedupeKey && !t.isExiting);
|
|
63
|
+
if (existingToast) timersRef.current?.clearToastTimer(existingToast.internalId);
|
|
64
|
+
let wasEvicted = false;
|
|
65
|
+
const evictedIds = [];
|
|
66
|
+
setToasts((prev) => {
|
|
67
|
+
let newToasts = prev;
|
|
68
|
+
if (existingToast) newToasts = newToasts.map((t) => t.internalId === existingToast.internalId ? {
|
|
69
|
+
...t,
|
|
70
|
+
isExiting: true
|
|
71
|
+
} : t);
|
|
72
|
+
newToasts = [...newToasts, newToast];
|
|
73
|
+
const activeToasts = newToasts.filter((t) => !t.isExiting);
|
|
74
|
+
const progressToasts = activeToasts.filter((t) => t.isProgress);
|
|
75
|
+
const temporalToasts = activeToasts.filter((t) => !t.isProgress);
|
|
76
|
+
while (activeToasts.length > MAX_TOASTS) if (temporalToasts.length > 1 || progressToasts.length < MAX_TOASTS) {
|
|
77
|
+
const oldestTemporal = temporalToasts.shift();
|
|
78
|
+
if (oldestTemporal) {
|
|
79
|
+
evictedIds.push(oldestTemporal.internalId);
|
|
80
|
+
newToasts = newToasts.map((t) => t.internalId === oldestTemporal.internalId ? {
|
|
81
|
+
...t,
|
|
82
|
+
isExiting: true
|
|
83
|
+
} : t);
|
|
84
|
+
const idx = activeToasts.findIndex((t) => t.internalId === oldestTemporal.internalId);
|
|
85
|
+
if (idx !== -1) activeToasts.splice(idx, 1);
|
|
86
|
+
if (oldestTemporal.internalId === internalId) wasEvicted = true;
|
|
87
|
+
} else break;
|
|
88
|
+
} else break;
|
|
89
|
+
return newToasts;
|
|
90
|
+
});
|
|
91
|
+
for (const evictedId of evictedIds) timersRef.current?.clearToastTimer(evictedId);
|
|
92
|
+
if (!wasEvicted && duration != null && duration > 0) timersRef.current?.startToastTimer(internalId, data.id ?? internalId, duration);
|
|
93
|
+
return data.id ?? internalId;
|
|
94
|
+
}),
|
|
95
|
+
removeToast,
|
|
96
|
+
updateToast: useEvent((id, data) => {
|
|
97
|
+
setToasts((prev) => prev.map((t) => matchesToastId(t, id) ? {
|
|
98
|
+
...t,
|
|
99
|
+
...data
|
|
100
|
+
} : t));
|
|
101
|
+
}),
|
|
102
|
+
finalizeToastRemoval
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
//#endregion
|
|
107
|
+
export { useToastState };
|
|
108
|
+
//# sourceMappingURL=use-toast-state.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-toast-state.js","names":[],"sources":["../../../../src/components/overlays/Notifications/use-toast-state.ts"],"sourcesContent":["import { Key, useRef, useState } from 'react';\n\nimport { useEvent } from '../../../_internal';\n\nimport type { InternalToast, ToastData } from '../Toast/types';\nimport type { OverlayTimers } from './use-overlay-timers';\n\n// ─── Constants ───────────────────────────────────────────────────────\n\nconst DEFAULT_TOAST_DURATION = 5000;\nconst MAX_TOASTS = 3;\n\n// ─── Dedupe Key ──────────────────────────────────────────────────────\n\n/**\n * Generate a deduplication key for a toast.\n * Uses JSON.stringify with alphabetically ordered keys to prevent false\n * collisions when title/description contains separator characters.\n */\nfunction generateToastDedupeKey(data: ToastData): string {\n if (data.id != null) return String(data.id);\n\n return JSON.stringify({\n description: typeof data.description === 'string' ? data.description : '',\n theme: data.theme ?? 'default',\n title: typeof data.title === 'string' ? data.title : '',\n });\n}\n\n// ─── Helpers ─────────────────────────────────────────────────────────\n\nfunction matchesToastId(item: InternalToast, id: Key): boolean {\n return item.id === id || item.internalId === String(id);\n}\n\nfunction findToast(list: InternalToast[], id: Key): InternalToast | undefined {\n return list.find((t) => matchesToastId(t, id));\n}\n\n// ─── Types ───────────────────────────────────────────────────────────\n\nexport interface ToastState {\n toasts: InternalToast[];\n toastsRef: ReturnType<typeof useRef<InternalToast[]>>;\n addToast: (data: ToastData, isProgress?: boolean) => Key;\n removeToast: (id: Key) => void;\n updateToast: (id: Key, data: Partial<ToastData>) => void;\n finalizeToastRemoval: (internalId: string) => void;\n}\n\n// ─── Hook ────────────────────────────────────────────────────────────\n\n/**\n * @param timersRef - Ref to the shared OverlayTimers instance. Accessed only\n * inside callbacks (never during render), so it is guaranteed to be populated.\n */\nexport function useToastState(\n timersRef: ReturnType<typeof useRef<OverlayTimers>>,\n): ToastState {\n const [toasts, setToasts] = useState<InternalToast[]>([]);\n const toastsRef = useRef(toasts);\n toastsRef.current = toasts;\n\n const idCounter = useRef(0);\n\n const removeToast = useEvent((id: Key) => {\n // Perform side effects outside the updater (StrictMode-safe).\n const toast = findToast(toastsRef.current, id);\n\n if (toast) {\n timersRef.current?.clearToastTimer(toast.internalId);\n }\n\n setToasts((prev) =>\n prev.map((t) => (matchesToastId(t, id) ? { ...t, isExiting: true } : t)),\n );\n });\n\n const finalizeToastRemoval = useEvent((internalId: string) => {\n setToasts((prev) => prev.filter((t) => t.internalId !== internalId));\n });\n\n const addToast = useEvent((data: ToastData, isProgress = false): Key => {\n idCounter.current += 1;\n const internalId = `toast-${idCounter.current}-${Date.now()}`;\n const dedupeKey = generateToastDedupeKey(data);\n const duration = isProgress\n ? null\n : data.duration ?? DEFAULT_TOAST_DURATION;\n\n const newToast: InternalToast = {\n ...data,\n internalId,\n isProgress,\n dedupeKey,\n createdAt: Date.now(),\n };\n\n // Perform dedupe side effects outside the updater (StrictMode-safe).\n const existingToast = toastsRef.current.find(\n (t) => t.dedupeKey === dedupeKey && !t.isExiting,\n );\n\n if (existingToast) {\n timersRef.current?.clearToastTimer(existingToast.internalId);\n }\n\n // Single setState call: mark duplicate as exiting, append new toast,\n // and evict oldest temporal toasts if we exceed MAX_TOASTS.\n // Track evicted IDs so we can clear timers outside the updater (StrictMode-safe).\n let wasEvicted = false;\n const evictedIds: string[] = [];\n\n setToasts((prev) => {\n let newToasts = prev;\n\n // Mark existing toast with same dedupe key as exiting\n if (existingToast) {\n newToasts = newToasts.map((t) =>\n t.internalId === existingToast.internalId\n ? { ...t, isExiting: true }\n : t,\n );\n }\n\n // Append the new toast\n newToasts = [...newToasts, newToast];\n\n // Evict oldest temporal toasts if over the cap\n const activeToasts = newToasts.filter((t) => !t.isExiting);\n const progressToasts = activeToasts.filter((t) => t.isProgress);\n const temporalToasts = activeToasts.filter((t) => !t.isProgress);\n\n while (activeToasts.length > MAX_TOASTS) {\n if (temporalToasts.length > 1 || progressToasts.length < MAX_TOASTS) {\n const oldestTemporal = temporalToasts.shift();\n\n if (oldestTemporal) {\n evictedIds.push(oldestTemporal.internalId);\n newToasts = newToasts.map((t) =>\n t.internalId === oldestTemporal.internalId\n ? { ...t, isExiting: true }\n : t,\n );\n const idx = activeToasts.findIndex(\n (t) => t.internalId === oldestTemporal.internalId,\n );\n\n if (idx !== -1) activeToasts.splice(idx, 1);\n\n // Check if the newly added toast was evicted\n if (oldestTemporal.internalId === internalId) {\n wasEvicted = true;\n }\n } else {\n break;\n }\n } else {\n break;\n }\n }\n\n return newToasts;\n });\n\n // Clear timers for evicted toasts outside the updater (StrictMode-safe)\n for (const evictedId of evictedIds) {\n timersRef.current?.clearToastTimer(evictedId);\n }\n\n // Start timer only if the toast wasn't immediately evicted\n if (!wasEvicted && duration != null && duration > 0) {\n timersRef.current?.startToastTimer(\n internalId,\n data.id ?? internalId,\n duration,\n );\n }\n\n return data.id ?? internalId;\n });\n\n const updateToast = useEvent((id: Key, data: Partial<ToastData>) => {\n setToasts((prev) =>\n prev.map((t) => (matchesToastId(t, id) ? { ...t, ...data } : t)),\n );\n });\n\n return {\n toasts,\n toastsRef,\n addToast,\n removeToast,\n updateToast,\n finalizeToastRemoval,\n };\n}\n"],"mappings":";;;;;AASA,MAAM,yBAAyB;AAC/B,MAAM,aAAa;;;;;;AASnB,SAAS,uBAAuB,MAAyB;AACvD,KAAI,KAAK,MAAM,KAAM,QAAO,OAAO,KAAK,GAAG;AAE3C,QAAO,KAAK,UAAU;EACpB,aAAa,OAAO,KAAK,gBAAgB,WAAW,KAAK,cAAc;EACvE,OAAO,KAAK,SAAS;EACrB,OAAO,OAAO,KAAK,UAAU,WAAW,KAAK,QAAQ;EACtD,CAAC;;AAKJ,SAAS,eAAe,MAAqB,IAAkB;AAC7D,QAAO,KAAK,OAAO,MAAM,KAAK,eAAe,OAAO,GAAG;;AAGzD,SAAS,UAAU,MAAuB,IAAoC;AAC5E,QAAO,KAAK,MAAM,MAAM,eAAe,GAAG,GAAG,CAAC;;;;;;AAoBhD,SAAgB,cACd,WACY;CACZ,MAAM,CAAC,QAAQ,aAAa,SAA0B,EAAE,CAAC;CACzD,MAAM,YAAY,OAAO,OAAO;AAChC,WAAU,UAAU;CAEpB,MAAM,YAAY,OAAO,EAAE;CAE3B,MAAM,cAAc,UAAU,OAAY;EAExC,MAAM,QAAQ,UAAU,UAAU,SAAS,GAAG;AAE9C,MAAI,MACF,WAAU,SAAS,gBAAgB,MAAM,WAAW;AAGtD,aAAW,SACT,KAAK,KAAK,MAAO,eAAe,GAAG,GAAG,GAAG;GAAE,GAAG;GAAG,WAAW;GAAM,GAAG,EAAG,CACzE;GACD;CAEF,MAAM,uBAAuB,UAAU,eAAuB;AAC5D,aAAW,SAAS,KAAK,QAAQ,MAAM,EAAE,eAAe,WAAW,CAAC;GACpE;AA4GF,QAAO;EACL;EACA;EACA,UA7Ge,UAAU,MAAiB,aAAa,UAAe;AACtE,aAAU,WAAW;GACrB,MAAM,aAAa,SAAS,UAAU,QAAQ,GAAG,KAAK,KAAK;GAC3D,MAAM,YAAY,uBAAuB,KAAK;GAC9C,MAAM,WAAW,aACb,OACA,KAAK,YAAY;GAErB,MAAM,WAA0B;IAC9B,GAAG;IACH;IACA;IACA;IACA,WAAW,KAAK,KAAK;IACtB;GAGD,MAAM,gBAAgB,UAAU,QAAQ,MACrC,MAAM,EAAE,cAAc,aAAa,CAAC,EAAE,UACxC;AAED,OAAI,cACF,WAAU,SAAS,gBAAgB,cAAc,WAAW;GAM9D,IAAI,aAAa;GACjB,MAAM,aAAuB,EAAE;AAE/B,cAAW,SAAS;IAClB,IAAI,YAAY;AAGhB,QAAI,cACF,aAAY,UAAU,KAAK,MACzB,EAAE,eAAe,cAAc,aAC3B;KAAE,GAAG;KAAG,WAAW;KAAM,GACzB,EACL;AAIH,gBAAY,CAAC,GAAG,WAAW,SAAS;IAGpC,MAAM,eAAe,UAAU,QAAQ,MAAM,CAAC,EAAE,UAAU;IAC1D,MAAM,iBAAiB,aAAa,QAAQ,MAAM,EAAE,WAAW;IAC/D,MAAM,iBAAiB,aAAa,QAAQ,MAAM,CAAC,EAAE,WAAW;AAEhE,WAAO,aAAa,SAAS,WAC3B,KAAI,eAAe,SAAS,KAAK,eAAe,SAAS,YAAY;KACnE,MAAM,iBAAiB,eAAe,OAAO;AAE7C,SAAI,gBAAgB;AAClB,iBAAW,KAAK,eAAe,WAAW;AAC1C,kBAAY,UAAU,KAAK,MACzB,EAAE,eAAe,eAAe,aAC5B;OAAE,GAAG;OAAG,WAAW;OAAM,GACzB,EACL;MACD,MAAM,MAAM,aAAa,WACtB,MAAM,EAAE,eAAe,eAAe,WACxC;AAED,UAAI,QAAQ,GAAI,cAAa,OAAO,KAAK,EAAE;AAG3C,UAAI,eAAe,eAAe,WAChC,cAAa;WAGf;UAGF;AAIJ,WAAO;KACP;AAGF,QAAK,MAAM,aAAa,WACtB,WAAU,SAAS,gBAAgB,UAAU;AAI/C,OAAI,CAAC,cAAc,YAAY,QAAQ,WAAW,EAChD,WAAU,SAAS,gBACjB,YACA,KAAK,MAAM,YACX,SACD;AAGH,UAAO,KAAK,MAAM;IAClB;EAYA;EACA,aAXkB,UAAU,IAAS,SAA6B;AAClE,cAAW,SACT,KAAK,KAAK,MAAO,eAAe,GAAG,GAAG,GAAG;IAAE,GAAG;IAAG,GAAG;IAAM,GAAG,EAAG,CACjE;IACD;EAQA;EACD"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
|
|
2
|
+
import { CubeItemProps } from "../../content/Item/Item.js";
|
|
3
|
+
import { ToastType } from "./types.js";
|
|
4
|
+
import * as react from "react";
|
|
5
|
+
import { ReactNode } from "react";
|
|
6
|
+
|
|
7
|
+
//#region src/components/overlays/Toast/ToastItem.d.ts
|
|
8
|
+
interface ToastItemProps extends Partial<Omit<CubeItemProps, 'type' | 'icon'>> {
|
|
9
|
+
/** Primary content (→ Item children). Also supports description-only for migration. */
|
|
10
|
+
title?: ReactNode;
|
|
11
|
+
/** Secondary content (or primary if no title/children) */
|
|
12
|
+
description?: ReactNode;
|
|
13
|
+
/** Visual theme */
|
|
14
|
+
theme?: ToastType;
|
|
15
|
+
/** Whether the toast is in loading state */
|
|
16
|
+
isLoading?: boolean;
|
|
17
|
+
/** Icon to display (resolved ReactNode, not a dynamic icon function) */
|
|
18
|
+
icon?: ReactNode;
|
|
19
|
+
}
|
|
20
|
+
declare const ToastItem: react.ForwardRefExoticComponent<ToastItemProps & react.RefAttributes<HTMLElement>>;
|
|
21
|
+
//#endregion
|
|
22
|
+
export { ToastItem, ToastItemProps };
|
|
23
|
+
//# sourceMappingURL=ToastItem.d.ts.map
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.115.0 | Cube Dev Team */
|
|
2
|
+
import { tasty } from "../../../tasty/tasty.js";
|
|
3
|
+
import { _Item } from "../../content/Item/Item.js";
|
|
4
|
+
import { getThemeIcon } from "./useToast.js";
|
|
5
|
+
import { forwardRef } from "react";
|
|
6
|
+
import { jsx } from "react/jsx-runtime";
|
|
7
|
+
|
|
8
|
+
//#region src/components/overlays/Toast/ToastItem.tsx
|
|
9
|
+
const StyledItem = tasty(_Item, { styles: {
|
|
10
|
+
shadow: "$shadow",
|
|
11
|
+
transition: "theme, inset",
|
|
12
|
+
pointerEvents: "none",
|
|
13
|
+
Description: { preset: "t4" }
|
|
14
|
+
} });
|
|
15
|
+
const ToastItem = forwardRef(function ToastItem(props, ref) {
|
|
16
|
+
const { title, description, theme, isLoading, icon: providedIcon, children, qa, ...itemProps } = props;
|
|
17
|
+
const icon = getThemeIcon(theme, providedIcon, isLoading);
|
|
18
|
+
const primaryContent = children ?? title ?? description;
|
|
19
|
+
return /* @__PURE__ */ jsx(StyledItem, {
|
|
20
|
+
ref,
|
|
21
|
+
qa: qa ?? "Toast",
|
|
22
|
+
type: "card",
|
|
23
|
+
theme,
|
|
24
|
+
icon,
|
|
25
|
+
isLoading,
|
|
26
|
+
description: children || title ? description : void 0,
|
|
27
|
+
...itemProps,
|
|
28
|
+
children: primaryContent
|
|
29
|
+
});
|
|
30
|
+
});
|
|
31
|
+
|
|
32
|
+
//#endregion
|
|
33
|
+
export { ToastItem };
|
|
34
|
+
//# sourceMappingURL=ToastItem.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ToastItem.js","names":["Item"],"sources":["../../../../src/components/overlays/Toast/ToastItem.tsx"],"sourcesContent":["import { forwardRef, ReactNode } from 'react';\n\nimport { tasty } from '../../../tasty';\nimport { CubeItemProps, Item } from '../../content/Item/Item';\n\nimport { getThemeIcon } from './useToast';\n\nimport type { ToastType } from './types';\n\nexport interface ToastItemProps\n extends Partial<Omit<CubeItemProps, 'type' | 'icon'>> {\n /** Primary content (→ Item children). Also supports description-only for migration. */\n title?: ReactNode;\n /** Secondary content (or primary if no title/children) */\n description?: ReactNode;\n /** Visual theme */\n theme?: ToastType;\n /** Whether the toast is in loading state */\n isLoading?: boolean;\n /** Icon to display (resolved ReactNode, not a dynamic icon function) */\n icon?: ReactNode;\n}\n\nconst StyledItem = tasty(Item, {\n styles: {\n shadow: '$shadow',\n transition: 'theme, inset',\n pointerEvents: 'none',\n\n Description: {\n preset: 't4',\n },\n },\n});\n\nexport const ToastItem = forwardRef<HTMLElement, ToastItemProps>(\n function ToastItem(props, ref) {\n const {\n title,\n description,\n theme,\n isLoading,\n icon: providedIcon,\n children,\n qa,\n ...itemProps\n } = props;\n\n const icon = getThemeIcon(theme, providedIcon, isLoading);\n\n // If only description provided (no title/children), use description as primary content\n const primaryContent = children ?? title ?? description;\n const secondaryContent = children || title ? description : undefined;\n\n return (\n <StyledItem\n ref={ref}\n qa={qa ?? 'Toast'}\n type=\"card\"\n theme={theme}\n icon={icon}\n isLoading={isLoading}\n description={secondaryContent}\n {...itemProps}\n >\n {primaryContent}\n </StyledItem>\n );\n },\n);\n"],"mappings":";;;;;;;;AAuBA,MAAM,aAAa,MAAMA,OAAM,EAC7B,QAAQ;CACN,QAAQ;CACR,YAAY;CACZ,eAAe;CAEf,aAAa,EACX,QAAQ,MACT;CACF,EACF,CAAC;AAEF,MAAa,YAAY,WACvB,SAAS,UAAU,OAAO,KAAK;CAC7B,MAAM,EACJ,OACA,aACA,OACA,WACA,MAAM,cACN,UACA,IACA,GAAG,cACD;CAEJ,MAAM,OAAO,aAAa,OAAO,cAAc,UAAU;CAGzD,MAAM,iBAAiB,YAAY,SAAS;AAG5C,QACE,oBAAC;EACM;EACL,IAAI,MAAM;EACV,MAAK;EACE;EACD;EACK;EACX,aAVqB,YAAY,QAAQ,cAAc;EAWvD,GAAI;YAEH;GACU;EAGlB"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
|
|
2
|
+
import { ProgressToastEmpty, ProgressToastOptions, ToastApi, ToastData, ToastType } from "./types.js";
|
|
3
|
+
import { useToastContext } from "../Notifications/NotificationContext.js";
|
|
4
|
+
import "./ToastProvider.js";
|
|
5
|
+
import { ToastItem, ToastItemProps } from "./ToastItem.js";
|
|
6
|
+
import { getThemeIcon, useToast } from "./useToast.js";
|
|
7
|
+
import { useProgressToast } from "./useProgressToast.js";
|
|
8
|
+
import { ReactNode } from "react";
|
|
9
|
+
|
|
10
|
+
//#region src/components/overlays/Toast/index.d.ts
|
|
11
|
+
interface ToastProps extends Omit<ToastData, 'duration'> {
|
|
12
|
+
/** Primary content */
|
|
13
|
+
children?: ReactNode;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Declarative Toast component that shows a toast while mounted.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* ```tsx
|
|
20
|
+
* // Simple toast (visible while mounted)
|
|
21
|
+
* <Toast theme="success">Saved successfully</Toast>
|
|
22
|
+
*
|
|
23
|
+
* // With description
|
|
24
|
+
* <Toast title="Success" description="Changes saved" theme="success" />
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
declare function Toast(props: ToastProps): null;
|
|
28
|
+
declare namespace Toast {
|
|
29
|
+
var Progress: typeof ToastProgress;
|
|
30
|
+
}
|
|
31
|
+
interface ToastProgressProps extends ProgressToastOptions {
|
|
32
|
+
/** Primary content (alternative to title) */
|
|
33
|
+
children?: ReactNode;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Declarative Progress Toast component.
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* ```tsx
|
|
40
|
+
* <Toast.Progress
|
|
41
|
+
* {...(isLoading
|
|
42
|
+
* ? { isLoading: true, title: 'Saving...' }
|
|
43
|
+
* : { isLoading: false, title: 'Saved!', theme: 'success' }
|
|
44
|
+
* )}
|
|
45
|
+
* />
|
|
46
|
+
* ```
|
|
47
|
+
*/
|
|
48
|
+
declare function ToastProgress(props: ToastProgressProps): null;
|
|
49
|
+
type ToastComponent = typeof Toast & {
|
|
50
|
+
Progress: typeof ToastProgress;
|
|
51
|
+
};
|
|
52
|
+
//#endregion
|
|
53
|
+
export { Toast, ToastComponent, ToastProgressProps, ToastProps };
|
|
54
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.115.0 | Cube Dev Team */
|
|
2
|
+
import { useToastContext } from "../Notifications/NotificationContext.js";
|
|
3
|
+
import { useProgressToast } from "./useProgressToast.js";
|
|
4
|
+
import { getThemeIcon, useToast } from "./useToast.js";
|
|
5
|
+
import { ToastItem } from "./ToastItem.js";
|
|
6
|
+
import { useEffect, useRef } from "react";
|
|
7
|
+
|
|
8
|
+
//#region src/components/overlays/Toast/index.ts
|
|
9
|
+
/**
|
|
10
|
+
* Declarative Toast component that shows a toast while mounted.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```tsx
|
|
14
|
+
* // Simple toast (visible while mounted)
|
|
15
|
+
* <Toast theme="success">Saved successfully</Toast>
|
|
16
|
+
*
|
|
17
|
+
* // With description
|
|
18
|
+
* <Toast title="Success" description="Changes saved" theme="success" />
|
|
19
|
+
* ```
|
|
20
|
+
*/
|
|
21
|
+
function Toast(props) {
|
|
22
|
+
const { children, ...toastData } = props;
|
|
23
|
+
const { addToast, removeToast, updateToast } = useToastContext();
|
|
24
|
+
const toastIdRef = useRef(null);
|
|
25
|
+
useEffect(() => {
|
|
26
|
+
toastIdRef.current = addToast({
|
|
27
|
+
...toastData,
|
|
28
|
+
title: toastData.title ?? children,
|
|
29
|
+
duration: null
|
|
30
|
+
}, true);
|
|
31
|
+
return () => {
|
|
32
|
+
if (toastIdRef.current != null) {
|
|
33
|
+
removeToast(toastIdRef.current);
|
|
34
|
+
toastIdRef.current = null;
|
|
35
|
+
}
|
|
36
|
+
};
|
|
37
|
+
}, []);
|
|
38
|
+
useEffect(() => {
|
|
39
|
+
if (toastIdRef.current != null) updateToast(toastIdRef.current, {
|
|
40
|
+
...toastData,
|
|
41
|
+
title: toastData.title ?? children
|
|
42
|
+
});
|
|
43
|
+
}, [
|
|
44
|
+
children,
|
|
45
|
+
toastData.title,
|
|
46
|
+
toastData.description,
|
|
47
|
+
toastData.theme,
|
|
48
|
+
toastData.icon,
|
|
49
|
+
toastData.isLoading,
|
|
50
|
+
toastData.id,
|
|
51
|
+
updateToast
|
|
52
|
+
]);
|
|
53
|
+
return null;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Declarative Progress Toast component.
|
|
57
|
+
*
|
|
58
|
+
* @example
|
|
59
|
+
* ```tsx
|
|
60
|
+
* <Toast.Progress
|
|
61
|
+
* {...(isLoading
|
|
62
|
+
* ? { isLoading: true, title: 'Saving...' }
|
|
63
|
+
* : { isLoading: false, title: 'Saved!', theme: 'success' }
|
|
64
|
+
* )}
|
|
65
|
+
* />
|
|
66
|
+
* ```
|
|
67
|
+
*/
|
|
68
|
+
function ToastProgress(props) {
|
|
69
|
+
const { children, ...progressOptions } = props;
|
|
70
|
+
useProgressToast({
|
|
71
|
+
...progressOptions,
|
|
72
|
+
title: progressOptions.title ?? children
|
|
73
|
+
});
|
|
74
|
+
return null;
|
|
75
|
+
}
|
|
76
|
+
Toast.Progress = ToastProgress;
|
|
77
|
+
|
|
78
|
+
//#endregion
|
|
79
|
+
export { Toast };
|
|
80
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../../../src/components/overlays/Toast/index.ts"],"sourcesContent":["// Declarative Toast component\nimport { Key, ReactNode, useEffect, useRef } from 'react';\n\nimport { useToastContext } from './ToastProvider';\nimport { ProgressToastOptions, ToastData } from './types';\nimport { useProgressToast } from './useProgressToast';\n\nexport { useToastContext } from './ToastProvider';\nexport { ToastItem } from './ToastItem';\nexport type { ToastItemProps } from './ToastItem';\nexport { useToast, getThemeIcon } from './useToast';\nexport { useProgressToast } from './useProgressToast';\nexport type {\n ToastData,\n ToastType,\n ToastApi,\n ProgressToastOptions,\n ProgressToastEmpty,\n} from './types';\n\nexport interface ToastProps extends Omit<ToastData, 'duration'> {\n /** Primary content */\n children?: ReactNode;\n /** Duration is ignored for declarative toasts - they stay visible while mounted */\n}\n\n/**\n * Declarative Toast component that shows a toast while mounted.\n *\n * @example\n * ```tsx\n * // Simple toast (visible while mounted)\n * <Toast theme=\"success\">Saved successfully</Toast>\n *\n * // With description\n * <Toast title=\"Success\" description=\"Changes saved\" theme=\"success\" />\n * ```\n */\nexport function Toast(props: ToastProps): null {\n const { children, ...toastData } = props;\n const { addToast, removeToast, updateToast } = useToastContext();\n const toastIdRef = useRef<Key | null>(null);\n\n useEffect(() => {\n // Add toast on mount\n // Icon is auto-resolved by ToastItem based on theme/isLoading\n toastIdRef.current = addToast(\n {\n ...toastData,\n title: toastData.title ?? children,\n duration: null, // Persistent while mounted\n },\n true, // isProgress = true (persistent)\n );\n\n return () => {\n // Remove toast on unmount\n if (toastIdRef.current != null) {\n removeToast(toastIdRef.current);\n toastIdRef.current = null;\n }\n };\n }, []);\n\n // Update toast when props change\n useEffect(() => {\n if (toastIdRef.current != null) {\n updateToast(toastIdRef.current, {\n ...toastData,\n title: toastData.title ?? children,\n });\n }\n }, [\n children,\n toastData.title,\n toastData.description,\n toastData.theme,\n toastData.icon,\n toastData.isLoading,\n toastData.id,\n // Note: itemProps is intentionally excluded - it's an object that would cause\n // unnecessary re-runs. Users needing dynamic itemProps should remount the component.\n updateToast,\n ]);\n\n return null;\n}\n\nexport interface ToastProgressProps extends ProgressToastOptions {\n /** Primary content (alternative to title) */\n children?: ReactNode;\n}\n\n/**\n * Declarative Progress Toast component.\n *\n * @example\n * ```tsx\n * <Toast.Progress\n * {...(isLoading\n * ? { isLoading: true, title: 'Saving...' }\n * : { isLoading: false, title: 'Saved!', theme: 'success' }\n * )}\n * />\n * ```\n */\nfunction ToastProgress(props: ToastProgressProps): null {\n const { children, ...progressOptions } = props;\n\n useProgressToast({\n ...progressOptions,\n title: progressOptions.title ?? children,\n });\n\n return null;\n}\n\nToast.Progress = ToastProgress;\n\n// Type for compound component\nexport type ToastComponent = typeof Toast & {\n Progress: typeof ToastProgress;\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAsCA,SAAgB,MAAM,OAAyB;CAC7C,MAAM,EAAE,UAAU,GAAG,cAAc;CACnC,MAAM,EAAE,UAAU,aAAa,gBAAgB,iBAAiB;CAChE,MAAM,aAAa,OAAmB,KAAK;AAE3C,iBAAgB;AAGd,aAAW,UAAU,SACnB;GACE,GAAG;GACH,OAAO,UAAU,SAAS;GAC1B,UAAU;GACX,EACD,KACD;AAED,eAAa;AAEX,OAAI,WAAW,WAAW,MAAM;AAC9B,gBAAY,WAAW,QAAQ;AAC/B,eAAW,UAAU;;;IAGxB,EAAE,CAAC;AAGN,iBAAgB;AACd,MAAI,WAAW,WAAW,KACxB,aAAY,WAAW,SAAS;GAC9B,GAAG;GACH,OAAO,UAAU,SAAS;GAC3B,CAAC;IAEH;EACD;EACA,UAAU;EACV,UAAU;EACV,UAAU;EACV,UAAU;EACV,UAAU;EACV,UAAU;EAGV;EACD,CAAC;AAEF,QAAO;;;;;;;;;;;;;;;AAqBT,SAAS,cAAc,OAAiC;CACtD,MAAM,EAAE,UAAU,GAAG,oBAAoB;AAEzC,kBAAiB;EACf,GAAG;EACH,OAAO,gBAAgB,SAAS;EACjC,CAAC;AAEF,QAAO;;AAGT,MAAM,WAAW"}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
|
|
2
|
+
import { CubeItemProps } from "../../content/Item/Item.js";
|
|
3
|
+
import { NotificationType } from "../Notifications/types.js";
|
|
4
|
+
import { Key, ReactNode } from "react";
|
|
5
|
+
|
|
6
|
+
//#region src/components/overlays/Toast/types.d.ts
|
|
7
|
+
/** @deprecated Use `NotificationType` instead. Kept as alias for backward compatibility. */
|
|
8
|
+
type ToastType = NotificationType;
|
|
9
|
+
interface ToastData {
|
|
10
|
+
/** Unique identifier for deduplication (auto-generated if not provided) */
|
|
11
|
+
id?: Key;
|
|
12
|
+
/** Primary content (→ Item children) */
|
|
13
|
+
title?: ReactNode;
|
|
14
|
+
/** Secondary content (or primary if no title) */
|
|
15
|
+
description?: ReactNode;
|
|
16
|
+
/** Visual theme */
|
|
17
|
+
theme?: ToastType;
|
|
18
|
+
/** Icon to display */
|
|
19
|
+
icon?: ReactNode;
|
|
20
|
+
/** Whether the toast is in loading state (shows loading indicator) */
|
|
21
|
+
isLoading?: boolean;
|
|
22
|
+
/** Duration in ms before auto-dismiss. null = persistent */
|
|
23
|
+
duration?: number | null;
|
|
24
|
+
/** Additional Item props to pass through */
|
|
25
|
+
itemProps?: Partial<CubeItemProps>;
|
|
26
|
+
}
|
|
27
|
+
interface ProgressToastOptions extends Omit<ToastData, 'duration'> {
|
|
28
|
+
/** Whether the toast is in loading state */
|
|
29
|
+
isLoading: boolean;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Empty value that indicates no toast should be shown.
|
|
33
|
+
* When passed to useProgressToast, any existing toast is immediately removed.
|
|
34
|
+
*/
|
|
35
|
+
type ProgressToastEmpty = null | undefined | false | Record<string, never>;
|
|
36
|
+
interface ToastApi {
|
|
37
|
+
/** Show a toast with default theme */
|
|
38
|
+
(data: ToastData | ReactNode): Key;
|
|
39
|
+
/** Show a success toast */
|
|
40
|
+
success: (data: ToastData | ReactNode) => Key;
|
|
41
|
+
/** Show a danger toast */
|
|
42
|
+
danger: (data: ToastData | ReactNode) => Key;
|
|
43
|
+
/** Show a warning toast */
|
|
44
|
+
warning: (data: ToastData | ReactNode) => Key;
|
|
45
|
+
/** Show a note toast */
|
|
46
|
+
note: (data: ToastData | ReactNode) => Key;
|
|
47
|
+
/** Remove a toast by id */
|
|
48
|
+
remove: (id: Key) => void;
|
|
49
|
+
}
|
|
50
|
+
interface InternalToast extends ToastData {
|
|
51
|
+
/** Internal unique identifier */
|
|
52
|
+
internalId: string;
|
|
53
|
+
/** Whether this is a progress toast (persistent) */
|
|
54
|
+
isProgress: boolean;
|
|
55
|
+
/** Deduplication key */
|
|
56
|
+
dedupeKey: string;
|
|
57
|
+
/** Timestamp when toast was created */
|
|
58
|
+
createdAt: number;
|
|
59
|
+
/** Whether the toast is exiting (used for exit transition) */
|
|
60
|
+
isExiting?: boolean;
|
|
61
|
+
}
|
|
62
|
+
interface ToastContextValue {
|
|
63
|
+
/** Add a toast */
|
|
64
|
+
addToast: (data: ToastData, isProgress?: boolean) => Key;
|
|
65
|
+
/** Remove a toast by id */
|
|
66
|
+
removeToast: (id: Key) => void;
|
|
67
|
+
/** Update a toast */
|
|
68
|
+
updateToast: (id: Key, data: Partial<ToastData>) => void;
|
|
69
|
+
/** Current toasts */
|
|
70
|
+
toasts: InternalToast[];
|
|
71
|
+
}
|
|
72
|
+
//#endregion
|
|
73
|
+
export { ProgressToastEmpty, ProgressToastOptions, ToastApi, ToastContextValue, ToastData, ToastType };
|
|
74
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
|
|
2
|
+
import { ProgressToastEmpty, ProgressToastOptions } from "./types.js";
|
|
3
|
+
|
|
4
|
+
//#region src/components/overlays/Toast/useProgressToast.d.ts
|
|
5
|
+
/**
|
|
6
|
+
* Hook to display a progress toast that persists while loading.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```tsx
|
|
10
|
+
* useProgressToast(
|
|
11
|
+
* isLoading
|
|
12
|
+
* ? { isLoading: true, title: 'Saving...', icon: <Spinner /> }
|
|
13
|
+
* : { isLoading: false, title: 'Saved!', icon: <IconCheck />, theme: 'success' }
|
|
14
|
+
* );
|
|
15
|
+
*
|
|
16
|
+
* // Or with error handling:
|
|
17
|
+
* useProgressToast(
|
|
18
|
+
* isLoading
|
|
19
|
+
* ? { isLoading: true, title: 'Saving...', icon: <Spinner /> }
|
|
20
|
+
* : isError
|
|
21
|
+
* ? { isLoading: false, title: 'Error', description: errorMessage, theme: 'danger' }
|
|
22
|
+
* : { isLoading: false, title: 'Saved!', theme: 'success' }
|
|
23
|
+
* );
|
|
24
|
+
*
|
|
25
|
+
* // Pass empty value to immediately remove any existing toast:
|
|
26
|
+
* useProgressToast(shouldShow ? { isLoading: true, title: 'Loading...' } : null);
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
declare function useProgressToast(options: ProgressToastOptions | ProgressToastEmpty): void;
|
|
30
|
+
//#endregion
|
|
31
|
+
export { useProgressToast };
|
|
32
|
+
//# sourceMappingURL=useProgressToast.d.ts.map
|