@cube-dev/ui-kit 0.0.0-canary-0d92c07 → 0.0.0-canary-4d9db65
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/README.md +32 -0
- package/dist/_internal/hooks/index.d.ts +3 -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-effect-once.d.ts +2 -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.d.ts +2 -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/_internal/index.d.ts +2 -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 +74 -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 +50 -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 +1830 -0
- package/dist/components/actions/Button/Button.js +349 -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 +102 -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 +181 -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 +11 -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 +579 -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 +968 -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 +4 -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 +4 -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/NewNotifications/Bar/FloatingNotification.js +63 -0
- package/dist/components/overlays/NewNotifications/Bar/FloatingNotification.js.map +1 -0
- package/dist/components/overlays/NewNotifications/Bar/NotificationsBar.js +101 -0
- package/dist/components/overlays/NewNotifications/Bar/NotificationsBar.js.map +1 -0
- package/dist/components/overlays/NewNotifications/Bar/TransitionComponent.js +64 -0
- package/dist/components/overlays/NewNotifications/Bar/TransitionComponent.js.map +1 -0
- package/dist/components/overlays/NewNotifications/Dialog/NotificationsDialogContext.js +19 -0
- package/dist/components/overlays/NewNotifications/Dialog/NotificationsDialogContext.js.map +1 -0
- package/dist/components/overlays/NewNotifications/Dialog/NotificationsDialogTrigger.d.ts +20 -0
- package/dist/components/overlays/NewNotifications/Dialog/NotificationsDialogTrigger.js +41 -0
- package/dist/components/overlays/NewNotifications/Dialog/NotificationsDialogTrigger.js.map +1 -0
- package/dist/components/overlays/NewNotifications/Dialog/index.d.ts +2 -0
- package/dist/components/overlays/NewNotifications/Notification.d.ts +25 -0
- package/dist/components/overlays/NewNotifications/Notification.js +51 -0
- package/dist/components/overlays/NewNotifications/Notification.js.map +1 -0
- package/dist/components/overlays/NewNotifications/NotificationView/NotificationAction.d.ts +21 -0
- package/dist/components/overlays/NewNotifications/NotificationView/NotificationAction.js +44 -0
- package/dist/components/overlays/NewNotifications/NotificationView/NotificationAction.js.map +1 -0
- package/dist/components/overlays/NewNotifications/NotificationView/NotificationCloseButton.js +26 -0
- package/dist/components/overlays/NewNotifications/NotificationView/NotificationCloseButton.js.map +1 -0
- package/dist/components/overlays/NewNotifications/NotificationView/NotificationDescription.js +36 -0
- package/dist/components/overlays/NewNotifications/NotificationView/NotificationDescription.js.map +1 -0
- package/dist/components/overlays/NewNotifications/NotificationView/NotificationFooter.js +49 -0
- package/dist/components/overlays/NewNotifications/NotificationView/NotificationFooter.js.map +1 -0
- package/dist/components/overlays/NewNotifications/NotificationView/NotificationHeader.js +30 -0
- package/dist/components/overlays/NewNotifications/NotificationView/NotificationHeader.js.map +1 -0
- package/dist/components/overlays/NewNotifications/NotificationView/NotificationIcon.js +72 -0
- package/dist/components/overlays/NewNotifications/NotificationView/NotificationIcon.js.map +1 -0
- package/dist/components/overlays/NewNotifications/NotificationView/NotificationProvider.js +26 -0
- package/dist/components/overlays/NewNotifications/NotificationView/NotificationProvider.js.map +1 -0
- package/dist/components/overlays/NewNotifications/NotificationView/NotificationView.d.ts +5 -0
- package/dist/components/overlays/NewNotifications/NotificationView/NotificationView.js +114 -0
- package/dist/components/overlays/NewNotifications/NotificationView/NotificationView.js.map +1 -0
- package/dist/components/overlays/NewNotifications/NotificationView/index.d.ts +3 -0
- package/dist/components/overlays/NewNotifications/NotificationsContext/NotificationsContext.d.ts +12 -0
- package/dist/components/overlays/NewNotifications/NotificationsContext/NotificationsContext.js +9 -0
- package/dist/components/overlays/NewNotifications/NotificationsContext/NotificationsContext.js.map +1 -0
- package/dist/components/overlays/NewNotifications/NotificationsContext/NotificationsProvider.d.ts +11 -0
- package/dist/components/overlays/NewNotifications/NotificationsContext/NotificationsProvider.js +30 -0
- package/dist/components/overlays/NewNotifications/NotificationsContext/NotificationsProvider.js.map +1 -0
- package/dist/components/overlays/NewNotifications/NotificationsContext/index.d.ts +3 -0
- package/dist/components/overlays/NewNotifications/NotificationsContext/use-notifications.js +95 -0
- package/dist/components/overlays/NewNotifications/NotificationsContext/use-notifications.js.map +1 -0
- package/dist/components/overlays/NewNotifications/NotificationsList/NotificationsList.d.ts +28 -0
- package/dist/components/overlays/NewNotifications/NotificationsList/NotificationsList.js +54 -0
- package/dist/components/overlays/NewNotifications/NotificationsList/NotificationsList.js.map +1 -0
- package/dist/components/overlays/NewNotifications/NotificationsList/NotificationsListItem.js +38 -0
- package/dist/components/overlays/NewNotifications/NotificationsList/NotificationsListItem.js.map +1 -0
- package/dist/components/overlays/NewNotifications/NotificationsList/index.d.ts +3 -0
- package/dist/components/overlays/NewNotifications/NotificationsList/types.d.ts +24 -0
- package/dist/components/overlays/NewNotifications/hooks/index.d.ts +6 -0
- package/dist/components/overlays/NewNotifications/hooks/types.d.ts +16 -0
- package/dist/components/overlays/NewNotifications/hooks/use-notification-list-item.d.ts +15 -0
- package/dist/components/overlays/NewNotifications/hooks/use-notification-list-item.js +16 -0
- package/dist/components/overlays/NewNotifications/hooks/use-notification-list-item.js.map +1 -0
- package/dist/components/overlays/NewNotifications/hooks/use-notifications-api.d.ts +9 -0
- package/dist/components/overlays/NewNotifications/hooks/use-notifications-api.js +15 -0
- package/dist/components/overlays/NewNotifications/hooks/use-notifications-api.js.map +1 -0
- package/dist/components/overlays/NewNotifications/hooks/use-notifications-list.d.ts +18 -0
- package/dist/components/overlays/NewNotifications/hooks/use-notifications-list.js +27 -0
- package/dist/components/overlays/NewNotifications/hooks/use-notifications-list.js.map +1 -0
- package/dist/components/overlays/NewNotifications/hooks/use-notifications-observer.d.ts +8 -0
- package/dist/components/overlays/NewNotifications/hooks/use-notifications-observer.js +15 -0
- package/dist/components/overlays/NewNotifications/hooks/use-notifications-observer.js.map +1 -0
- package/dist/components/overlays/NewNotifications/index.d.ts +19 -0
- package/dist/components/overlays/NewNotifications/types.d.ts +82 -0
- package/dist/components/overlays/Notification/Notification.d.ts +12 -0
- package/dist/components/overlays/Notification/Notification.js +96 -0
- package/dist/components/overlays/Notification/Notification.js.map +1 -0
- package/dist/components/overlays/Toast/ToastItem.d.ts +21 -0
- package/dist/components/overlays/Toast/ToastItem.js +30 -0
- package/dist/components/overlays/Toast/ToastItem.js.map +1 -0
- package/dist/components/overlays/Toast/ToastProvider.d.ts +16 -0
- package/dist/components/overlays/Toast/ToastProvider.js +315 -0
- package/dist/components/overlays/Toast/ToastProvider.js.map +1 -0
- package/dist/components/overlays/Toast/index.d.ts +53 -0
- package/dist/components/overlays/Toast/index.js +84 -0
- package/dist/components/overlays/Toast/index.js.map +1 -0
- package/dist/components/overlays/Toast/types.d.ts +72 -0
- package/dist/components/overlays/Toast/useProgressToast.d.ts +32 -0
- package/dist/components/overlays/Toast/useProgressToast.js +159 -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 +94 -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.d.ts +2 -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 +4 -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 +393 -0
- package/dist/index.js +351 -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 +627 -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/services/notification.d.ts +34 -0
- package/dist/services/notification.js +81 -0
- package/dist/services/notification.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 +161 -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 +236 -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/reset.js +65 -0
- package/dist/styles/reset.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 +461 -0
- package/dist/styles/width.js +21 -0
- package/dist/styles/width.js.map +1 -0
- package/dist/tasty/chunks/cacheKey.d.ts +2 -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/index.d.ts +4 -0
- package/dist/tasty/chunks/renderChunk.d.ts +3 -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 +343 -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/index.d.ts +6 -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 +38 -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.d.ts +2 -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 +54 -0
- package/dist/tasty/pipeline/index.js +633 -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.d.ts +2 -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/index.d.ts +3 -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 +46 -0
- package/dist/tasty/states/index.js +388 -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 +100 -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 +77 -0
- package/dist/tasty/styles/predefined.js +245 -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/reset.d.ts +13 -0
- package/dist/tasty/styles/reset.js +65 -0
- package/dist/tasty/styles/reset.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 +465 -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 +938 -0
- package/dist/tasty/tasty.js +191 -0
- package/dist/tasty/tasty.js.map +1 -0
- package/dist/tasty/types.d.ts +175 -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 +31 -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 +97 -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 +41 -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 +21 -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 +31 -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 +97 -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 +150 -40
- 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 -49
- 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 -184
- 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 -60
- 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/Notifications/Notification.js +0 -93
- package/es/components/overlays/Notifications/NotificationAction.js +0 -73
- package/es/components/overlays/Notifications/NotificationCard.js +0 -87
- package/es/components/overlays/Notifications/NotificationContext.js +0 -44
- package/es/components/overlays/Notifications/NotificationItem.js +0 -63
- package/es/components/overlays/Notifications/OverlayContainer.js +0 -339
- package/es/components/overlays/Notifications/OverlayProvider.js +0 -69
- package/es/components/overlays/Notifications/PersistentNotificationsList.js +0 -105
- package/es/components/overlays/Notifications/format-relative-time.js +0 -55
- package/es/components/overlays/Notifications/index.js +0 -51
- package/es/components/overlays/Notifications/types.js +0 -10
- package/es/components/overlays/Notifications/use-notification-state.js +0 -205
- package/es/components/overlays/Notifications/use-notifications.js +0 -175
- package/es/components/overlays/Notifications/use-overlay-timers.js +0 -138
- package/es/components/overlays/Notifications/use-persistent-notifications.js +0 -63
- package/es/components/overlays/Notifications/use-persistent-state.js +0 -66
- package/es/components/overlays/Notifications/use-toast-state.js +0 -143
- package/es/components/overlays/OverlayWrapper.js +0 -19
- package/es/components/overlays/Toast/ToastItem.js +0 -32
- package/es/components/overlays/Toast/ToastProvider.js +0 -14
- package/es/components/overlays/Toast/index.js +0 -93
- package/es/components/overlays/Toast/types.js +0 -10
- package/es/components/overlays/Toast/useProgressToast.js +0 -203
- package/es/components/overlays/Toast/useToast.js +0 -107
- 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 -108
- 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/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/Notifications/Notification.d.ts +0 -33
- package/types/components/overlays/Notifications/NotificationAction.d.ts +0 -27
- package/types/components/overlays/Notifications/NotificationCard.d.ts +0 -37
- package/types/components/overlays/Notifications/NotificationContext.d.ts +0 -16
- package/types/components/overlays/Notifications/NotificationItem.d.ts +0 -7
- package/types/components/overlays/Notifications/OverlayContainer.d.ts +0 -12
- package/types/components/overlays/Notifications/OverlayProvider.d.ts +0 -3
- package/types/components/overlays/Notifications/PersistentNotificationsList.d.ts +0 -18
- package/types/components/overlays/Notifications/format-relative-time.d.ts +0 -14
- package/types/components/overlays/Notifications/index.d.ts +0 -40
- package/types/components/overlays/Notifications/types.d.ts +0 -147
- package/types/components/overlays/Notifications/use-notification-state.d.ts +0 -20
- package/types/components/overlays/Notifications/use-notifications.d.ts +0 -36
- package/types/components/overlays/Notifications/use-overlay-timers.d.ts +0 -26
- package/types/components/overlays/Notifications/use-persistent-notifications.d.ts +0 -48
- package/types/components/overlays/Notifications/use-persistent-state.d.ts +0 -11
- package/types/components/overlays/Notifications/use-toast-state.d.ts +0 -16
- package/types/components/overlays/OverlayWrapper.d.ts +0 -11
- package/types/components/overlays/Toast/ToastItem.d.ts +0 -16
- package/types/components/overlays/Toast/ToastProvider.d.ts +0 -5
- package/types/components/overlays/Toast/index.d.ts +0 -49
- package/types/components/overlays/Toast/types.d.ts +0 -68
- 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 -134
- 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/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/{CHANGELOG.md → dist/CHANGELOG.md} +0 -0
- /package/{tasty.config.ts → dist/tasty.config.ts} +0 -0
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-4d9db65 | Cube Dev Team */
|
|
2
|
+
import { tasty } from "../../../../tasty/tasty.js";
|
|
3
|
+
import { useId as useId$2 } from "../../../../utils/react/useId.js";
|
|
4
|
+
import { mergeProps as mergeProps$1 } from "../../../../utils/react/mergeProps.js";
|
|
5
|
+
import { ClearSlots } from "../../../../utils/react/Slots.js";
|
|
6
|
+
import { useEvent } from "../../../../_internal/hooks/use-event.js";
|
|
7
|
+
import { useTimer } from "../../../../_internal/hooks/use-timer/use-timer.js";
|
|
8
|
+
import { useNotificationsDialogContext } from "../Dialog/NotificationsDialogContext.js";
|
|
9
|
+
import { NotificationCloseButton } from "./NotificationCloseButton.js";
|
|
10
|
+
import { NotificationDescription } from "./NotificationDescription.js";
|
|
11
|
+
import { NotificationFooter } from "./NotificationFooter.js";
|
|
12
|
+
import { NotificationHeader } from "./NotificationHeader.js";
|
|
13
|
+
import { NotificationIcon } from "./NotificationIcon.js";
|
|
14
|
+
import { NotificationProvider } from "./NotificationProvider.js";
|
|
15
|
+
import { forwardRef } from "react";
|
|
16
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
17
|
+
import { useFocusRing, useHover } from "react-aria";
|
|
18
|
+
|
|
19
|
+
//#region src/components/overlays/NewNotifications/NotificationView/NotificationView.tsx
|
|
20
|
+
const NotificationContainer = tasty({ styles: {
|
|
21
|
+
boxSizing: "border-box",
|
|
22
|
+
position: "relative",
|
|
23
|
+
display: "grid",
|
|
24
|
+
width: "100%",
|
|
25
|
+
padding: "0.5x 0.5x 1.5x 1.5x",
|
|
26
|
+
gridAreas: `
|
|
27
|
+
". . . . close"
|
|
28
|
+
"icon . header . close"
|
|
29
|
+
"icon . description . close"
|
|
30
|
+
". . footer footer footer"
|
|
31
|
+
`,
|
|
32
|
+
gridColumns: "min-content 1x minmax(0, auto) 1x minmax(0, min-content)",
|
|
33
|
+
gridRows: "1x minmax(0, auto) minmax(0, auto) minmax(0, auto)",
|
|
34
|
+
fill: "#white",
|
|
35
|
+
radius: "1cr",
|
|
36
|
+
boxShadow: {
|
|
37
|
+
"": "0 0 0 4bw #purple-04.0 inset",
|
|
38
|
+
focused: "0 0 0 4bw #purple-04 inset"
|
|
39
|
+
},
|
|
40
|
+
outline: 0,
|
|
41
|
+
border: {
|
|
42
|
+
"": "#border",
|
|
43
|
+
"type=success": "#success.4",
|
|
44
|
+
"type=danger": "#danger.4",
|
|
45
|
+
"type=attention": "#border",
|
|
46
|
+
"inside-dialog": false
|
|
47
|
+
}
|
|
48
|
+
} });
|
|
49
|
+
/**
|
|
50
|
+
* @internal This component is unstable and is a subject to change.
|
|
51
|
+
*/
|
|
52
|
+
const NotificationView = forwardRef(function NotificationView(props, ref) {
|
|
53
|
+
const { onClose, actions, header, icon, description, id, styles, type = "attention", isDismissible = true, duration = null, attributes = {}, qa = "notification", timer: propsTimer, onDismiss } = props;
|
|
54
|
+
const labelID = useId$2();
|
|
55
|
+
const descriptionID = useId$2();
|
|
56
|
+
const insideNotificationsDialog = useNotificationsDialogContext();
|
|
57
|
+
const onCloseEvent = useEvent(() => {
|
|
58
|
+
onClose?.();
|
|
59
|
+
});
|
|
60
|
+
const onDismissEvent = useEvent(() => {
|
|
61
|
+
if (isDismissible) onDismiss?.();
|
|
62
|
+
});
|
|
63
|
+
const { hoverProps, isHovered } = useHover({});
|
|
64
|
+
const { isFocusVisible, focusProps } = useFocusRing({ within: true });
|
|
65
|
+
useTimer({
|
|
66
|
+
timer: propsTimer,
|
|
67
|
+
delay: duration,
|
|
68
|
+
callback: onDismissEvent,
|
|
69
|
+
isDisabled: isFocusVisible || isHovered || !isDismissible
|
|
70
|
+
});
|
|
71
|
+
return /* @__PURE__ */ jsx(ClearSlots, { children: /* @__PURE__ */ jsx(NotificationProvider, {
|
|
72
|
+
onClose,
|
|
73
|
+
children: /* @__PURE__ */ jsxs(NotificationContainer, {
|
|
74
|
+
...mergeProps$1(attributes, hoverProps, focusProps),
|
|
75
|
+
ref,
|
|
76
|
+
styles,
|
|
77
|
+
"data-id": id,
|
|
78
|
+
"data-qa": qa,
|
|
79
|
+
"data-type": type,
|
|
80
|
+
"aria-labelledby": labelID,
|
|
81
|
+
"aria-describedby": descriptionID,
|
|
82
|
+
mods: {
|
|
83
|
+
focused: isFocusVisible,
|
|
84
|
+
"is-dismissible": isDismissible,
|
|
85
|
+
"inside-dialog": insideNotificationsDialog
|
|
86
|
+
},
|
|
87
|
+
children: [
|
|
88
|
+
/* @__PURE__ */ jsx(NotificationIcon, {
|
|
89
|
+
icon,
|
|
90
|
+
type
|
|
91
|
+
}),
|
|
92
|
+
/* @__PURE__ */ jsx(NotificationHeader, {
|
|
93
|
+
header,
|
|
94
|
+
id: labelID
|
|
95
|
+
}),
|
|
96
|
+
description && /* @__PURE__ */ jsx(NotificationDescription, {
|
|
97
|
+
description,
|
|
98
|
+
id: descriptionID
|
|
99
|
+
}),
|
|
100
|
+
/* @__PURE__ */ jsx(NotificationFooter, {
|
|
101
|
+
hasDescription: !!description,
|
|
102
|
+
actions,
|
|
103
|
+
onClose: onCloseEvent,
|
|
104
|
+
onDismiss: onDismissEvent
|
|
105
|
+
}),
|
|
106
|
+
isDismissible && /* @__PURE__ */ jsx(NotificationCloseButton, { onPress: onDismissEvent })
|
|
107
|
+
]
|
|
108
|
+
})
|
|
109
|
+
}) });
|
|
110
|
+
});
|
|
111
|
+
|
|
112
|
+
//#endregion
|
|
113
|
+
export { NotificationView };
|
|
114
|
+
//# sourceMappingURL=NotificationView.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NotificationView.js","names":["useId","mergeProps"],"sources":["../../../../../src/components/overlays/NewNotifications/NotificationView/NotificationView.tsx"],"sourcesContent":["import { ForwardedRef, forwardRef } from 'react';\nimport { useFocusRing, useHover } from 'react-aria';\n\nimport { useEvent, useTimer } from '../../../../_internal';\nimport { tasty } from '../../../../tasty';\nimport { ClearSlots, mergeProps } from '../../../../utils/react';\nimport { useId } from '../../../../utils/react/useId';\nimport { useNotificationsDialogContext } from '../Dialog/NotificationsDialogContext';\n\nimport { NotificationCloseButton } from './NotificationCloseButton';\nimport { NotificationDescription } from './NotificationDescription';\nimport { NotificationFooter } from './NotificationFooter';\nimport { NotificationHeader } from './NotificationHeader';\nimport { NotificationIcon } from './NotificationIcon';\nimport { NotificationProvider } from './NotificationProvider';\n\nimport type { NotificationProps } from './types';\n\nconst NotificationContainer = tasty({\n styles: {\n boxSizing: 'border-box',\n position: 'relative',\n display: 'grid',\n width: '100%',\n padding: '0.5x 0.5x 1.5x 1.5x',\n gridAreas: `\n \". . . . close\"\n \"icon . header . close\"\n \"icon . description . close\"\n \". . footer footer footer\"\n `,\n gridColumns: 'min-content 1x minmax(0, auto) 1x minmax(0, min-content)',\n gridRows: '1x minmax(0, auto) minmax(0, auto) minmax(0, auto)',\n fill: '#white',\n radius: '1cr',\n boxShadow: {\n '': '0 0 0 4bw #purple-04.0 inset',\n focused: '0 0 0 4bw #purple-04 inset',\n },\n outline: 0,\n border: {\n '': '#border',\n 'type=success': '#success.4',\n 'type=danger': '#danger.4',\n 'type=attention': '#border',\n // Clear border when inside dialog\n 'inside-dialog': false,\n },\n },\n});\n\n/**\n * @internal This component is unstable and is a subject to change.\n */\nexport const NotificationView = forwardRef(function NotificationView(\n props: NotificationProps,\n ref: ForwardedRef<HTMLDivElement>,\n) {\n const {\n onClose,\n actions,\n header,\n icon,\n description,\n id,\n styles,\n type = 'attention',\n isDismissible = true,\n duration = null,\n attributes = {},\n qa = 'notification',\n timer: propsTimer,\n onDismiss,\n } = props;\n\n const labelID = useId();\n const descriptionID = useId();\n\n // Detect if we're inside a NotificationsDialog specifically\n const insideNotificationsDialog = useNotificationsDialogContext();\n\n const onCloseEvent = useEvent(() => {\n onClose?.();\n });\n\n const onDismissEvent = useEvent(() => {\n if (isDismissible) {\n onDismiss?.();\n }\n });\n\n const { hoverProps, isHovered } = useHover({});\n const { isFocusVisible, focusProps } = useFocusRing({ within: true });\n\n useTimer({\n timer: propsTimer,\n delay: duration,\n callback: onDismissEvent,\n isDisabled: isFocusVisible || isHovered || !isDismissible,\n });\n\n return (\n <ClearSlots>\n <NotificationProvider onClose={onClose}>\n <NotificationContainer\n {...mergeProps(attributes, hoverProps, focusProps)}\n ref={ref}\n styles={styles}\n data-id={id}\n data-qa={qa}\n data-type={type}\n aria-labelledby={labelID}\n aria-describedby={descriptionID}\n mods={{\n focused: isFocusVisible,\n 'is-dismissible': isDismissible,\n 'inside-dialog': insideNotificationsDialog,\n }}\n >\n <NotificationIcon icon={icon} type={type} />\n\n <NotificationHeader header={header} id={labelID} />\n\n {description && (\n <NotificationDescription\n description={description}\n id={descriptionID}\n />\n )}\n\n <NotificationFooter\n hasDescription={!!description}\n actions={actions}\n onClose={onCloseEvent}\n onDismiss={onDismissEvent}\n />\n\n {isDismissible && (\n <NotificationCloseButton onPress={onDismissEvent} />\n )}\n </NotificationContainer>\n </NotificationProvider>\n </ClearSlots>\n );\n});\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAkBA,MAAM,wBAAwB,MAAM,EAClC,QAAQ;CACN,WAAW;CACX,UAAU;CACV,SAAS;CACT,OAAO;CACP,SAAS;CACT,WAAW;;;;;;CAMX,aAAa;CACb,UAAU;CACV,MAAM;CACN,QAAQ;CACR,WAAW;EACT,IAAI;EACJ,SAAS;EACV;CACD,SAAS;CACT,QAAQ;EACN,IAAI;EACJ,gBAAgB;EAChB,eAAe;EACf,kBAAkB;EAElB,iBAAiB;EAClB;CACF,EACF,CAAC;;;;AAKF,MAAa,mBAAmB,WAAW,SAAS,iBAClD,OACA,KACA;CACA,MAAM,EACJ,SACA,SACA,QACA,MACA,aACA,IACA,QACA,OAAO,aACP,gBAAgB,MAChB,WAAW,MACX,aAAa,EAAE,EACf,KAAK,gBACL,OAAO,YACP,cACE;CAEJ,MAAM,UAAUA,SAAO;CACvB,MAAM,gBAAgBA,SAAO;CAG7B,MAAM,4BAA4B,+BAA+B;CAEjE,MAAM,eAAe,eAAe;AAClC,aAAW;GACX;CAEF,MAAM,iBAAiB,eAAe;AACpC,MAAI,cACF,cAAa;GAEf;CAEF,MAAM,EAAE,YAAY,cAAc,SAAS,EAAE,CAAC;CAC9C,MAAM,EAAE,gBAAgB,eAAe,aAAa,EAAE,QAAQ,MAAM,CAAC;AAErE,UAAS;EACP,OAAO;EACP,OAAO;EACP,UAAU;EACV,YAAY,kBAAkB,aAAa,CAAC;EAC7C,CAAC;AAEF,QACE,oBAAC,wBACC,oBAAC;EAA8B;YAC7B,qBAAC;GACC,GAAIC,aAAW,YAAY,YAAY,WAAW;GAC7C;GACG;GACR,WAAS;GACT,WAAS;GACT,aAAW;GACX,mBAAiB;GACjB,oBAAkB;GAClB,MAAM;IACJ,SAAS;IACT,kBAAkB;IAClB,iBAAiB;IAClB;;IAED,oBAAC;KAAuB;KAAY;MAAQ;IAE5C,oBAAC;KAA2B;KAAQ,IAAI;MAAW;IAElD,eACC,oBAAC;KACc;KACb,IAAI;MACJ;IAGJ,oBAAC;KACC,gBAAgB,CAAC,CAAC;KACT;KACT,SAAS;KACT,WAAW;MACX;IAED,iBACC,oBAAC,2BAAwB,SAAS,iBAAkB;;IAEhC;GACH,GACZ;EAEf"}
|
package/dist/components/overlays/NewNotifications/NotificationsContext/NotificationsContext.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
|
|
2
|
+
import { CubeNotificationsApi, CubeNotifyApiPropsWithID } from "../types.js";
|
|
3
|
+
import * as react from "react";
|
|
4
|
+
|
|
5
|
+
//#region src/components/overlays/NewNotifications/NotificationsContext/NotificationsContext.d.ts
|
|
6
|
+
declare const NotificationsContext: react.Context<{
|
|
7
|
+
api: CubeNotificationsApi;
|
|
8
|
+
addOnDismissListener: (listener: (notification: CubeNotifyApiPropsWithID) => void) => () => void;
|
|
9
|
+
} | null>;
|
|
10
|
+
//#endregion
|
|
11
|
+
export { NotificationsContext };
|
|
12
|
+
//# sourceMappingURL=NotificationsContext.d.ts.map
|
package/dist/components/overlays/NewNotifications/NotificationsContext/NotificationsContext.js
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-4d9db65 | Cube Dev Team */
|
|
2
|
+
import { createContext } from "react";
|
|
3
|
+
|
|
4
|
+
//#region src/components/overlays/NewNotifications/NotificationsContext/NotificationsContext.ts
|
|
5
|
+
const NotificationsContext = createContext(null);
|
|
6
|
+
|
|
7
|
+
//#endregion
|
|
8
|
+
export { NotificationsContext };
|
|
9
|
+
//# sourceMappingURL=NotificationsContext.js.map
|
package/dist/components/overlays/NewNotifications/NotificationsContext/NotificationsContext.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NotificationsContext.js","names":[],"sources":["../../../../../src/components/overlays/NewNotifications/NotificationsContext/NotificationsContext.ts"],"sourcesContent":["import { createContext } from 'react';\n\nimport { CubeNotificationsApi, CubeNotifyApiPropsWithID } from '../types';\n\nexport const NotificationsContext = createContext<{\n api: CubeNotificationsApi;\n addOnDismissListener: (\n listener: (notification: CubeNotifyApiPropsWithID) => void,\n ) => () => void;\n} | null>(null);\n"],"mappings":";;;;AAIA,MAAa,uBAAuB,cAK1B,KAAK"}
|
package/dist/components/overlays/NewNotifications/NotificationsContext/NotificationsProvider.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
|
|
2
|
+
import { PropsWithChildren, RefObject } from "react";
|
|
3
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
|
+
|
|
5
|
+
//#region src/components/overlays/NewNotifications/NotificationsContext/NotificationsProvider.d.ts
|
|
6
|
+
declare function NotificationsProvider(props: PropsWithChildren<{
|
|
7
|
+
rootRef: RefObject<HTMLElement | null> | null;
|
|
8
|
+
}>): react_jsx_runtime0.JSX.Element;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { NotificationsProvider };
|
|
11
|
+
//# sourceMappingURL=NotificationsProvider.d.ts.map
|
package/dist/components/overlays/NewNotifications/NotificationsContext/NotificationsProvider.js
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-4d9db65 | Cube Dev Team */
|
|
2
|
+
import { Portal } from "../../../portal/Portal.js";
|
|
3
|
+
import { NotificationsContext } from "./NotificationsContext.js";
|
|
4
|
+
import { NotificationsBar } from "../Bar/NotificationsBar.js";
|
|
5
|
+
import { useNotifications } from "./use-notifications.js";
|
|
6
|
+
import { useMemo } from "react";
|
|
7
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
|
+
|
|
9
|
+
//#region src/components/overlays/NewNotifications/NotificationsContext/NotificationsProvider.tsx
|
|
10
|
+
function NotificationsProvider(props) {
|
|
11
|
+
const { children, rootRef } = props;
|
|
12
|
+
const { notifications, api, addOnDismissListener, onDismissNotification } = useNotifications(rootRef);
|
|
13
|
+
const providerValue = useMemo(() => ({
|
|
14
|
+
api,
|
|
15
|
+
addOnDismissListener
|
|
16
|
+
}), []);
|
|
17
|
+
return /* @__PURE__ */ jsxs(NotificationsContext.Provider, {
|
|
18
|
+
value: providerValue,
|
|
19
|
+
children: [/* @__PURE__ */ jsx(Portal, { children: /* @__PURE__ */ jsx(NotificationsBar, {
|
|
20
|
+
items: notifications,
|
|
21
|
+
onRemoveNotification: api.remove,
|
|
22
|
+
onDismissNotification,
|
|
23
|
+
children: (notification) => /* @__PURE__ */ jsx(NotificationsBar.Item, { ...notification }, notification.id)
|
|
24
|
+
}) }), children]
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
//#endregion
|
|
29
|
+
export { NotificationsProvider };
|
|
30
|
+
//# sourceMappingURL=NotificationsProvider.js.map
|
package/dist/components/overlays/NewNotifications/NotificationsContext/NotificationsProvider.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NotificationsProvider.js","names":[],"sources":["../../../../../src/components/overlays/NewNotifications/NotificationsContext/NotificationsProvider.tsx"],"sourcesContent":["import { PropsWithChildren, RefObject, useMemo } from 'react';\n\nimport { Portal } from '../../../portal';\nimport { NotificationsBar } from '../Bar';\n\nimport { NotificationsContext } from './NotificationsContext';\nimport { useNotifications } from './use-notifications';\n\nexport function NotificationsProvider(\n props: PropsWithChildren<{ rootRef: RefObject<HTMLElement | null> | null }>,\n) {\n const { children, rootRef } = props;\n\n const { notifications, api, addOnDismissListener, onDismissNotification } =\n useNotifications(rootRef);\n\n const providerValue = useMemo(() => ({ api, addOnDismissListener }), []);\n\n return (\n <NotificationsContext.Provider value={providerValue}>\n <Portal>\n <NotificationsBar\n items={notifications}\n onRemoveNotification={api.remove}\n onDismissNotification={onDismissNotification}\n >\n {(notification) => (\n <NotificationsBar.Item key={notification.id} {...notification} />\n )}\n </NotificationsBar>\n </Portal>\n\n {children}\n </NotificationsContext.Provider>\n );\n}\n"],"mappings":";;;;;;;;;AAQA,SAAgB,sBACd,OACA;CACA,MAAM,EAAE,UAAU,YAAY;CAE9B,MAAM,EAAE,eAAe,KAAK,sBAAsB,0BAChD,iBAAiB,QAAQ;CAE3B,MAAM,gBAAgB,eAAe;EAAE;EAAK;EAAsB,GAAG,EAAE,CAAC;AAExE,QACE,qBAAC,qBAAqB;EAAS,OAAO;aACpC,oBAAC,oBACC,oBAAC;GACC,OAAO;GACP,sBAAsB,IAAI;GACH;cAErB,iBACA,oBAAC,iBAAiB,QAA2B,GAAI,gBAArB,aAAa,GAAwB;IAElD,GACZ,EAER;GAC6B"}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-4d9db65 | Cube Dev Team */
|
|
2
|
+
import { useEvent } from "../../../../_internal/hooks/use-event.js";
|
|
3
|
+
import { useEffect, useMemo, useRef, useState } from "react";
|
|
4
|
+
|
|
5
|
+
//#region src/components/overlays/NewNotifications/NotificationsContext/use-notifications.ts
|
|
6
|
+
const DISMISS_EVENT_NAME = "cube:notification:dismiss";
|
|
7
|
+
function useNotifications(rootRef) {
|
|
8
|
+
const idPrefix = useMemo(() => (/* @__PURE__ */ new Date()).getTime(), []);
|
|
9
|
+
const idRef = useRef(0);
|
|
10
|
+
const listeners = useRef([]);
|
|
11
|
+
const [notifications, setNotifications] = useState(/* @__PURE__ */ new Map());
|
|
12
|
+
const addToast = Object.assign(useEvent((props) => {
|
|
13
|
+
const nextID = idRef.current++;
|
|
14
|
+
const { id = `${idPrefix}_${nextID}`, duration, isDismissible = true, ...rest } = props;
|
|
15
|
+
setNotifications((toasts) => {
|
|
16
|
+
const newToasts = new Map(toasts);
|
|
17
|
+
newToasts.set(id, {
|
|
18
|
+
id,
|
|
19
|
+
isDismissible,
|
|
20
|
+
duration: duration ?? (isDismissible ? 5e3 : null),
|
|
21
|
+
...rest
|
|
22
|
+
});
|
|
23
|
+
return newToasts;
|
|
24
|
+
});
|
|
25
|
+
return {
|
|
26
|
+
id,
|
|
27
|
+
remove: () => removeToast(id),
|
|
28
|
+
update: (props) => updateToast(id, props)
|
|
29
|
+
};
|
|
30
|
+
}), {
|
|
31
|
+
success: (props) => addToast({
|
|
32
|
+
type: "success",
|
|
33
|
+
...props
|
|
34
|
+
}),
|
|
35
|
+
danger: (props) => addToast({
|
|
36
|
+
type: "danger",
|
|
37
|
+
...props
|
|
38
|
+
}),
|
|
39
|
+
attention: (props) => addToast({
|
|
40
|
+
type: "attention",
|
|
41
|
+
...props
|
|
42
|
+
})
|
|
43
|
+
});
|
|
44
|
+
const updateToast = useEvent((id, props) => {
|
|
45
|
+
setNotifications((toasts) => {
|
|
46
|
+
const currentToast = toasts.get(id);
|
|
47
|
+
if (currentToast) {
|
|
48
|
+
const newToasts = new Map(toasts);
|
|
49
|
+
newToasts.set(id, {
|
|
50
|
+
...currentToast,
|
|
51
|
+
...props
|
|
52
|
+
});
|
|
53
|
+
return newToasts;
|
|
54
|
+
}
|
|
55
|
+
return toasts;
|
|
56
|
+
});
|
|
57
|
+
});
|
|
58
|
+
const removeToast = useEvent((id) => {
|
|
59
|
+
setNotifications((toasts) => {
|
|
60
|
+
if (toasts.has(id)) {
|
|
61
|
+
const newToasts = new Map(toasts);
|
|
62
|
+
newToasts.delete(id);
|
|
63
|
+
return newToasts;
|
|
64
|
+
}
|
|
65
|
+
return toasts;
|
|
66
|
+
});
|
|
67
|
+
});
|
|
68
|
+
const onDismissNotification = useEvent((id) => {
|
|
69
|
+
const toast = notifications.get(id);
|
|
70
|
+
if (toast == null) return;
|
|
71
|
+
if (toast?.putNotificationInDropdownOnDismiss !== false) rootRef?.current?.dispatchEvent(new CustomEvent(DISMISS_EVENT_NAME, { detail: toast }));
|
|
72
|
+
});
|
|
73
|
+
const addOnDismissListener = useEvent((listener) => {
|
|
74
|
+
const callback = (e) => listener(e.detail);
|
|
75
|
+
const unsub = () => rootRef?.current?.removeEventListener(DISMISS_EVENT_NAME, callback);
|
|
76
|
+
listeners.current.push(unsub);
|
|
77
|
+
rootRef?.current?.addEventListener(DISMISS_EVENT_NAME, callback);
|
|
78
|
+
return unsub;
|
|
79
|
+
});
|
|
80
|
+
useEffect(() => () => listeners.current.forEach((cb) => cb()), []);
|
|
81
|
+
return {
|
|
82
|
+
api: useMemo(() => ({
|
|
83
|
+
notify: addToast,
|
|
84
|
+
update: updateToast,
|
|
85
|
+
remove: removeToast
|
|
86
|
+
}), []),
|
|
87
|
+
notifications: useMemo(() => [...notifications.values()], [notifications]),
|
|
88
|
+
onDismissNotification,
|
|
89
|
+
addOnDismissListener
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
//#endregion
|
|
94
|
+
export { useNotifications };
|
|
95
|
+
//# sourceMappingURL=use-notifications.js.map
|
package/dist/components/overlays/NewNotifications/NotificationsContext/use-notifications.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-notifications.js","names":[],"sources":["../../../../../src/components/overlays/NewNotifications/NotificationsContext/use-notifications.ts"],"sourcesContent":["import { Key, RefObject, useEffect, useMemo, useRef, useState } from 'react';\n\nimport { useEvent } from '../../../../_internal';\nimport {\n CubeNotificationsApi,\n CubeNotificationsApiNotifyCallback,\n CubeNotifyApiProps,\n CubeNotifyApiPropsWithID,\n} from '../types';\n\nconst DISMISS_EVENT_NAME = 'cube:notification:dismiss';\ntype DismissEvent = CustomEvent<CubeNotifyApiPropsWithID>;\n\nexport function useNotifications(\n rootRef: RefObject<HTMLElement | null> | null,\n) {\n const idPrefix = useMemo(() => new Date().getTime(), []);\n const idRef = useRef(0);\n const listeners = useRef<(() => void)[]>([]);\n const [notifications, setNotifications] = useState<\n Map<Key, CubeNotifyApiPropsWithID>\n >(new Map());\n\n const addToast: CubeNotificationsApi['notify'] = Object.assign(\n useEvent<CubeNotificationsApiNotifyCallback>((props) => {\n const nextID = idRef.current++;\n const {\n id = `${idPrefix}_${nextID}`,\n duration,\n isDismissible = true,\n ...rest\n } = props;\n\n setNotifications((toasts) => {\n const newToasts = new Map(toasts);\n newToasts.set(id, {\n id,\n isDismissible,\n duration: duration ?? (isDismissible ? 5_000 : null),\n ...rest,\n } as CubeNotifyApiPropsWithID);\n\n return newToasts;\n });\n\n return {\n id,\n remove: () => removeToast(id),\n update: (props) => updateToast(id, props),\n };\n }),\n {\n success: (props: CubeNotifyApiProps) =>\n addToast({ type: 'success', ...props }),\n danger: (props: CubeNotifyApiProps) =>\n addToast({ type: 'danger', ...props }),\n attention: (props: CubeNotifyApiProps) =>\n addToast({ type: 'attention', ...props }),\n },\n );\n\n const updateToast = useEvent<CubeNotificationsApi['update']>((id, props) => {\n setNotifications((toasts) => {\n const currentToast = toasts.get(id);\n\n if (currentToast) {\n const newToasts = new Map(toasts);\n newToasts.set(id, {\n ...currentToast,\n ...props,\n } as CubeNotifyApiPropsWithID);\n\n return newToasts;\n }\n\n return toasts;\n });\n });\n\n const removeToast = useEvent<CubeNotificationsApi['remove']>((id) => {\n setNotifications((toasts) => {\n if (toasts.has(id)) {\n const newToasts = new Map(toasts);\n newToasts.delete(id);\n\n return newToasts;\n }\n\n return toasts;\n });\n });\n\n const onDismissNotification = useEvent((id: Key) => {\n const toast = notifications.get(id);\n\n if (toast == null) {\n return;\n }\n\n if (toast?.putNotificationInDropdownOnDismiss !== false) {\n rootRef?.current?.dispatchEvent(\n new CustomEvent(DISMISS_EVENT_NAME, { detail: toast }),\n );\n }\n });\n\n const addOnDismissListener = useEvent(\n (listener: (notification: CubeNotifyApiPropsWithID) => void) => {\n const callback = (e) => listener((e as DismissEvent).detail);\n\n const unsub = () =>\n rootRef?.current?.removeEventListener(DISMISS_EVENT_NAME, callback);\n\n listeners.current.push(unsub);\n rootRef?.current?.addEventListener(DISMISS_EVENT_NAME, callback);\n\n return unsub;\n },\n );\n\n useEffect(() => () => listeners.current.forEach((cb) => cb()), []);\n\n const api = useMemo<CubeNotificationsApi>(\n () => ({ notify: addToast, update: updateToast, remove: removeToast }),\n // All deps are stable since we use `useEvent` hook\n\n [],\n );\n\n return {\n api,\n notifications: useMemo(() => [...notifications.values()], [notifications]),\n onDismissNotification,\n addOnDismissListener,\n } as const;\n}\n"],"mappings":";;;;;AAUA,MAAM,qBAAqB;AAG3B,SAAgB,iBACd,SACA;CACA,MAAM,WAAW,+BAAc,IAAI,MAAM,EAAC,SAAS,EAAE,EAAE,CAAC;CACxD,MAAM,QAAQ,OAAO,EAAE;CACvB,MAAM,YAAY,OAAuB,EAAE,CAAC;CAC5C,MAAM,CAAC,eAAe,oBAAoB,yBAExC,IAAI,KAAK,CAAC;CAEZ,MAAM,WAA2C,OAAO,OACtD,UAA8C,UAAU;EACtD,MAAM,SAAS,MAAM;EACrB,MAAM,EACJ,KAAK,GAAG,SAAS,GAAG,UACpB,UACA,gBAAgB,MAChB,GAAG,SACD;AAEJ,oBAAkB,WAAW;GAC3B,MAAM,YAAY,IAAI,IAAI,OAAO;AACjC,aAAU,IAAI,IAAI;IAChB;IACA;IACA,UAAU,aAAa,gBAAgB,MAAQ;IAC/C,GAAG;IACJ,CAA6B;AAE9B,UAAO;IACP;AAEF,SAAO;GACL;GACA,cAAc,YAAY,GAAG;GAC7B,SAAS,UAAU,YAAY,IAAI,MAAM;GAC1C;GACD,EACF;EACE,UAAU,UACR,SAAS;GAAE,MAAM;GAAW,GAAG;GAAO,CAAC;EACzC,SAAS,UACP,SAAS;GAAE,MAAM;GAAU,GAAG;GAAO,CAAC;EACxC,YAAY,UACV,SAAS;GAAE,MAAM;GAAa,GAAG;GAAO,CAAC;EAC5C,CACF;CAED,MAAM,cAAc,UAA0C,IAAI,UAAU;AAC1E,oBAAkB,WAAW;GAC3B,MAAM,eAAe,OAAO,IAAI,GAAG;AAEnC,OAAI,cAAc;IAChB,MAAM,YAAY,IAAI,IAAI,OAAO;AACjC,cAAU,IAAI,IAAI;KAChB,GAAG;KACH,GAAG;KACJ,CAA6B;AAE9B,WAAO;;AAGT,UAAO;IACP;GACF;CAEF,MAAM,cAAc,UAA0C,OAAO;AACnE,oBAAkB,WAAW;AAC3B,OAAI,OAAO,IAAI,GAAG,EAAE;IAClB,MAAM,YAAY,IAAI,IAAI,OAAO;AACjC,cAAU,OAAO,GAAG;AAEpB,WAAO;;AAGT,UAAO;IACP;GACF;CAEF,MAAM,wBAAwB,UAAU,OAAY;EAClD,MAAM,QAAQ,cAAc,IAAI,GAAG;AAEnC,MAAI,SAAS,KACX;AAGF,MAAI,OAAO,uCAAuC,MAChD,UAAS,SAAS,cAChB,IAAI,YAAY,oBAAoB,EAAE,QAAQ,OAAO,CAAC,CACvD;GAEH;CAEF,MAAM,uBAAuB,UAC1B,aAA+D;EAC9D,MAAM,YAAY,MAAM,SAAU,EAAmB,OAAO;EAE5D,MAAM,cACJ,SAAS,SAAS,oBAAoB,oBAAoB,SAAS;AAErE,YAAU,QAAQ,KAAK,MAAM;AAC7B,WAAS,SAAS,iBAAiB,oBAAoB,SAAS;AAEhE,SAAO;GAEV;AAED,uBAAsB,UAAU,QAAQ,SAAS,OAAO,IAAI,CAAC,EAAE,EAAE,CAAC;AASlE,QAAO;EACL,KARU,eACH;GAAE,QAAQ;GAAU,QAAQ;GAAa,QAAQ;GAAa,GAGrE,EAAE,CACH;EAIC,eAAe,cAAc,CAAC,GAAG,cAAc,QAAQ,CAAC,EAAE,CAAC,cAAc,CAAC;EAC1E;EACA;EACD"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
|
|
2
|
+
import { CubeNotificationProps } from "../types.js";
|
|
3
|
+
import { NotificationsListProps } from "./types.js";
|
|
4
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
5
|
+
|
|
6
|
+
//#region src/components/overlays/NewNotifications/NotificationsList/NotificationsList.d.ts
|
|
7
|
+
/**
|
|
8
|
+
* Provides ability to show notifications as a list.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* <NotificationsList>
|
|
12
|
+
* <NotificationsList.Item key="id_1" type="success" description="Edit and test your schema without affecting the production." />
|
|
13
|
+
* <NotificationsList.Item key="id_2" type="attention" description="Edit and test your schema without affecting the production." />
|
|
14
|
+
* <NotificationsList.Item key="id_3" type="danger" description="Edit and test your schema without affecting the production." />
|
|
15
|
+
* </NotificationsList>
|
|
16
|
+
*
|
|
17
|
+
* @example Removing a notification
|
|
18
|
+
* <NotificationsList onDismiss={(id) => removeNotification(id)}>
|
|
19
|
+
* <NotificationsList.Item key="id_1" type="success" description="Edit and test your schema without affecting the production." />
|
|
20
|
+
* </NotificationsList>
|
|
21
|
+
*/
|
|
22
|
+
declare function NotificationsList<T extends object>(props: NotificationsListProps<T>): react_jsx_runtime0.JSX.Element;
|
|
23
|
+
declare namespace NotificationsList {
|
|
24
|
+
var Item: (props: Omit<CubeNotificationProps, "onDismiss">) => null;
|
|
25
|
+
}
|
|
26
|
+
//#endregion
|
|
27
|
+
export { NotificationsList };
|
|
28
|
+
//# sourceMappingURL=NotificationsList.d.ts.map
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-4d9db65 | Cube Dev Team */
|
|
2
|
+
import { tasty } from "../../../../tasty/tasty.js";
|
|
3
|
+
import { useNotificationsList } from "../hooks/use-notifications-list.js";
|
|
4
|
+
import { NotificationListItem } from "./NotificationsListItem.js";
|
|
5
|
+
import { useRef } from "react";
|
|
6
|
+
import { jsx } from "react/jsx-runtime";
|
|
7
|
+
import { Item } from "react-stately";
|
|
8
|
+
|
|
9
|
+
//#region src/components/overlays/NewNotifications/NotificationsList/NotificationsList.tsx
|
|
10
|
+
const NotificationListContainer = tasty({
|
|
11
|
+
qa: "NotificationsList",
|
|
12
|
+
styles: {
|
|
13
|
+
boxSizing: "border-box",
|
|
14
|
+
width: "100%"
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
/**
|
|
18
|
+
* Provides ability to show notifications as a list.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* <NotificationsList>
|
|
22
|
+
* <NotificationsList.Item key="id_1" type="success" description="Edit and test your schema without affecting the production." />
|
|
23
|
+
* <NotificationsList.Item key="id_2" type="attention" description="Edit and test your schema without affecting the production." />
|
|
24
|
+
* <NotificationsList.Item key="id_3" type="danger" description="Edit and test your schema without affecting the production." />
|
|
25
|
+
* </NotificationsList>
|
|
26
|
+
*
|
|
27
|
+
* @example Removing a notification
|
|
28
|
+
* <NotificationsList onDismiss={(id) => removeNotification(id)}>
|
|
29
|
+
* <NotificationsList.Item key="id_1" type="success" description="Edit and test your schema without affecting the production." />
|
|
30
|
+
* </NotificationsList>
|
|
31
|
+
*/
|
|
32
|
+
function NotificationsList(props) {
|
|
33
|
+
const { items, children, onDismiss } = props;
|
|
34
|
+
const ref = useRef(null);
|
|
35
|
+
const { state, listProps } = useNotificationsList({
|
|
36
|
+
items,
|
|
37
|
+
children,
|
|
38
|
+
ref
|
|
39
|
+
});
|
|
40
|
+
return /* @__PURE__ */ jsx(NotificationListContainer, {
|
|
41
|
+
ref,
|
|
42
|
+
...listProps,
|
|
43
|
+
children: [...state.collection].map((item) => /* @__PURE__ */ jsx(NotificationListItem, {
|
|
44
|
+
item,
|
|
45
|
+
state,
|
|
46
|
+
onDismiss
|
|
47
|
+
}, item.key))
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
NotificationsList.Item = Item;
|
|
51
|
+
|
|
52
|
+
//#endregion
|
|
53
|
+
export { NotificationsList };
|
|
54
|
+
//# sourceMappingURL=NotificationsList.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NotificationsList.js","names":[],"sources":["../../../../../src/components/overlays/NewNotifications/NotificationsList/NotificationsList.tsx"],"sourcesContent":["import { useRef } from 'react';\nimport { Item } from 'react-stately';\n\nimport { tasty } from '../../../../tasty';\nimport { useNotificationsList } from '../hooks';\n\nimport { NotificationListItem } from './NotificationsListItem';\n\nimport type { CubeNotificationProps } from '../types';\nimport type { NotificationsListProps } from './types';\n\nconst NotificationListContainer = tasty({\n qa: 'NotificationsList',\n styles: { boxSizing: 'border-box', width: '100%' },\n});\n\n/**\n * Provides ability to show notifications as a list.\n *\n * @example\n * <NotificationsList>\n * <NotificationsList.Item key=\"id_1\" type=\"success\" description=\"Edit and test your schema without affecting the production.\" />\n * <NotificationsList.Item key=\"id_2\" type=\"attention\" description=\"Edit and test your schema without affecting the production.\" />\n * <NotificationsList.Item key=\"id_3\" type=\"danger\" description=\"Edit and test your schema without affecting the production.\" />\n * </NotificationsList>\n *\n * @example Removing a notification\n * <NotificationsList onDismiss={(id) => removeNotification(id)}>\n * <NotificationsList.Item key=\"id_1\" type=\"success\" description=\"Edit and test your schema without affecting the production.\" />\n * </NotificationsList>\n */\nexport function NotificationsList<T extends object>(\n props: NotificationsListProps<T>,\n) {\n const { items, children, onDismiss } = props;\n\n const ref = useRef<HTMLDivElement | null>(null);\n\n const { state, listProps } = useNotificationsList({\n items,\n children,\n ref,\n });\n\n return (\n <NotificationListContainer ref={ref} {...listProps}>\n {[...state.collection].map((item) => (\n <NotificationListItem\n key={item.key}\n item={item}\n state={state}\n onDismiss={onDismiss}\n />\n ))}\n </NotificationListContainer>\n );\n}\n\nNotificationsList.Item = Item as unknown as (\n props: Omit<CubeNotificationProps, 'onDismiss'>,\n) => null;\n"],"mappings":";;;;;;;;;AAWA,MAAM,4BAA4B,MAAM;CACtC,IAAI;CACJ,QAAQ;EAAE,WAAW;EAAc,OAAO;EAAQ;CACnD,CAAC;;;;;;;;;;;;;;;;AAiBF,SAAgB,kBACd,OACA;CACA,MAAM,EAAE,OAAO,UAAU,cAAc;CAEvC,MAAM,MAAM,OAA8B,KAAK;CAE/C,MAAM,EAAE,OAAO,cAAc,qBAAqB;EAChD;EACA;EACA;EACD,CAAC;AAEF,QACE,oBAAC;EAA+B;EAAK,GAAI;YACtC,CAAC,GAAG,MAAM,WAAW,CAAC,KAAK,SAC1B,oBAAC;GAEO;GACC;GACI;KAHN,KAAK,IAIV,CACF;GACwB;;AAIhC,kBAAkB,OAAO"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-4d9db65 | Cube Dev Team */
|
|
2
|
+
import { tasty } from "../../../../tasty/tasty.js";
|
|
3
|
+
import { useEvent } from "../../../../_internal/hooks/use-event.js";
|
|
4
|
+
import { useNotificationListItem } from "../hooks/use-notification-list-item.js";
|
|
5
|
+
import { NotificationView } from "../NotificationView/NotificationView.js";
|
|
6
|
+
import { useRef } from "react";
|
|
7
|
+
import { jsx } from "react/jsx-runtime";
|
|
8
|
+
|
|
9
|
+
//#region src/components/overlays/NewNotifications/NotificationsList/NotificationsListItem.tsx
|
|
10
|
+
const NotificationListItemWrap = tasty({ styles: { borderBottom: {
|
|
11
|
+
"": "1bw solid #border",
|
|
12
|
+
":last-child": "none"
|
|
13
|
+
} } });
|
|
14
|
+
/**
|
|
15
|
+
* @internal This component is not intended to be used
|
|
16
|
+
*/
|
|
17
|
+
function NotificationListItem(props) {
|
|
18
|
+
const { item, state, onDismiss } = props;
|
|
19
|
+
const { key, props: notificationProps } = item;
|
|
20
|
+
const ref = useRef(null);
|
|
21
|
+
const onDismissEvent = useEvent(() => onDismiss?.(key));
|
|
22
|
+
const { itemProps } = useNotificationListItem({
|
|
23
|
+
ref,
|
|
24
|
+
key,
|
|
25
|
+
state
|
|
26
|
+
});
|
|
27
|
+
return /* @__PURE__ */ jsx(NotificationListItemWrap, { children: /* @__PURE__ */ jsx(NotificationView, {
|
|
28
|
+
ref,
|
|
29
|
+
attributes: itemProps,
|
|
30
|
+
...notificationProps,
|
|
31
|
+
isDismissible: !!onDismiss,
|
|
32
|
+
onDismiss: onDismissEvent
|
|
33
|
+
}) });
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
//#endregion
|
|
37
|
+
export { NotificationListItem };
|
|
38
|
+
//# sourceMappingURL=NotificationsListItem.js.map
|
package/dist/components/overlays/NewNotifications/NotificationsList/NotificationsListItem.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NotificationsListItem.js","names":[],"sources":["../../../../../src/components/overlays/NewNotifications/NotificationsList/NotificationsListItem.tsx"],"sourcesContent":["import { useRef } from 'react';\n\nimport { useEvent } from '../../../../_internal';\nimport { tasty } from '../../../../tasty';\nimport { useNotificationListItem } from '../hooks';\nimport { NotificationView } from '../NotificationView';\n\nimport { NotificationListItemProps } from './types';\n\nconst NotificationListItemWrap = tasty({\n styles: { borderBottom: { '': '1bw solid #border', ':last-child': 'none' } },\n});\n\n/**\n * @internal This component is not intended to be used\n */\nexport function NotificationListItem(props: NotificationListItemProps) {\n const { item, state, onDismiss } = props;\n const { key, props: notificationProps } = item;\n\n const ref = useRef<HTMLDivElement>(null);\n\n const onDismissEvent = useEvent(() => onDismiss?.(key));\n\n const { itemProps } = useNotificationListItem({ ref, key, state });\n\n return (\n <NotificationListItemWrap>\n <NotificationView\n ref={ref}\n attributes={itemProps}\n {...notificationProps}\n isDismissible={!!onDismiss}\n onDismiss={onDismissEvent}\n />\n </NotificationListItemWrap>\n );\n}\n"],"mappings":";;;;;;;;;AASA,MAAM,2BAA2B,MAAM,EACrC,QAAQ,EAAE,cAAc;CAAE,IAAI;CAAqB,eAAe;CAAQ,EAAE,EAC7E,CAAC;;;;AAKF,SAAgB,qBAAqB,OAAkC;CACrE,MAAM,EAAE,MAAM,OAAO,cAAc;CACnC,MAAM,EAAE,KAAK,OAAO,sBAAsB;CAE1C,MAAM,MAAM,OAAuB,KAAK;CAExC,MAAM,iBAAiB,eAAe,YAAY,IAAI,CAAC;CAEvD,MAAM,EAAE,cAAc,wBAAwB;EAAE;EAAK;EAAK;EAAO,CAAC;AAElE,QACE,oBAAC,sCACC,oBAAC;EACM;EACL,YAAY;EACZ,GAAI;EACJ,eAAe,CAAC,CAAC;EACjB,WAAW;GACX,GACuB"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
|
|
2
|
+
import { CubeNotificationProps } from "../types.js";
|
|
3
|
+
import { CollectionChildren } from "../hooks/types.js";
|
|
4
|
+
import "../hooks/index.js";
|
|
5
|
+
import { Key } from "react";
|
|
6
|
+
import { CollectionElement } from "@react-types/shared";
|
|
7
|
+
|
|
8
|
+
//#region src/components/overlays/NewNotifications/NotificationsList/types.d.ts
|
|
9
|
+
type NotificationsListProps<T> = {
|
|
10
|
+
onDismiss?: (id: Key) => void;
|
|
11
|
+
items?: T[] | readonly T[];
|
|
12
|
+
children: CollectionChildren<T>;
|
|
13
|
+
} & (NotificationsListFactory<T> | NotificationsListStatic);
|
|
14
|
+
type NotificationsListFactory<T> = {
|
|
15
|
+
items: T[] | readonly T[];
|
|
16
|
+
children: (item: T) => CollectionElement<CubeNotificationProps>;
|
|
17
|
+
};
|
|
18
|
+
type NotificationsListStatic = {
|
|
19
|
+
items?: 'You must either use factory or static children';
|
|
20
|
+
children: CollectionElement<CubeNotificationProps> | CollectionElement<CubeNotificationProps>[];
|
|
21
|
+
};
|
|
22
|
+
//#endregion
|
|
23
|
+
export { NotificationsListProps };
|
|
24
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
|
|
2
|
+
import { CollectionChildren, NotificationItemNode, NotificationsListState } from "./types.js";
|
|
3
|
+
import { UseNotificationsListPropsType, UseNotificationsListReturnType, useNotificationsList } from "./use-notifications-list.js";
|
|
4
|
+
import { UseNotificationListItemPropsType, useNotificationListItem } from "./use-notification-list-item.js";
|
|
5
|
+
import { useNotificationsApi } from "./use-notifications-api.js";
|
|
6
|
+
import { useNotificationsObserver } from "./use-notifications-observer.js";
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
|
|
2
|
+
import { CubeNotificationProps } from "../types.js";
|
|
3
|
+
import { ListState } from "react-stately";
|
|
4
|
+
import { Collection, CollectionElement, Node } from "@react-types/shared";
|
|
5
|
+
|
|
6
|
+
//#region src/components/overlays/NewNotifications/hooks/types.d.ts
|
|
7
|
+
type CollectionChildren<T, R = T> = CollectionElement<R> | CollectionElement<R>[] | ((item: T) => CollectionElement<R>);
|
|
8
|
+
type NotificationItemNode<T> = Omit<Node<CubeNotificationProps>, 'props'> & {
|
|
9
|
+
props: T;
|
|
10
|
+
};
|
|
11
|
+
type NotificationsListState<T> = Omit<ListState<T>, 'collection'> & {
|
|
12
|
+
collection: Collection<NotificationItemNode<T>>;
|
|
13
|
+
};
|
|
14
|
+
//#endregion
|
|
15
|
+
export { CollectionChildren, NotificationItemNode, NotificationsListState };
|
|
16
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
|
|
2
|
+
import { Key, MutableRefObject } from "react";
|
|
3
|
+
import { ListState } from "react-stately";
|
|
4
|
+
import { SelectableItemAria } from "@react-aria/selection";
|
|
5
|
+
|
|
6
|
+
//#region src/components/overlays/NewNotifications/hooks/use-notification-list-item.d.ts
|
|
7
|
+
type UseNotificationListItemPropsType<T extends object> = {
|
|
8
|
+
key: Key;
|
|
9
|
+
ref: MutableRefObject<HTMLElement | null>;
|
|
10
|
+
state: ListState<T>;
|
|
11
|
+
};
|
|
12
|
+
declare function useNotificationListItem<T extends object>(props: UseNotificationListItemPropsType<T>): SelectableItemAria;
|
|
13
|
+
//#endregion
|
|
14
|
+
export { UseNotificationListItemPropsType, useNotificationListItem };
|
|
15
|
+
//# sourceMappingURL=use-notification-list-item.d.ts.map
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-4d9db65 | Cube Dev Team */
|
|
2
|
+
import { useSelectableItem } from "@react-aria/selection";
|
|
3
|
+
|
|
4
|
+
//#region src/components/overlays/NewNotifications/hooks/use-notification-list-item.ts
|
|
5
|
+
function useNotificationListItem(props) {
|
|
6
|
+
const { ref, key, state: { selectionManager } } = props;
|
|
7
|
+
return useSelectableItem({
|
|
8
|
+
ref,
|
|
9
|
+
key,
|
|
10
|
+
selectionManager
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
//#endregion
|
|
15
|
+
export { useNotificationListItem };
|
|
16
|
+
//# sourceMappingURL=use-notification-list-item.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-notification-list-item.js","names":[],"sources":["../../../../../src/components/overlays/NewNotifications/hooks/use-notification-list-item.ts"],"sourcesContent":["import { SelectableItemAria, useSelectableItem } from '@react-aria/selection';\n\nimport type { Key, MutableRefObject } from 'react';\nimport type { ListState } from 'react-stately';\n\nexport type UseNotificationListItemPropsType<T extends object> = {\n key: Key;\n ref: MutableRefObject<HTMLElement | null>;\n state: ListState<T>;\n};\n\nexport function useNotificationListItem<T extends object>(\n props: UseNotificationListItemPropsType<T>,\n): SelectableItemAria {\n const {\n ref,\n key,\n state: { selectionManager },\n } = props;\n\n // @ts-ignore\n return useSelectableItem({ ref, key, selectionManager });\n}\n"],"mappings":";;;;AAWA,SAAgB,wBACd,OACoB;CACpB,MAAM,EACJ,KACA,KACA,OAAO,EAAE,uBACP;AAGJ,QAAO,kBAAkB;EAAE;EAAK;EAAK;EAAkB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
|
|
2
|
+
import { CubeNotificationsApi } from "../types.js";
|
|
3
|
+
import "../index.js";
|
|
4
|
+
|
|
5
|
+
//#region src/components/overlays/NewNotifications/hooks/use-notifications-api.d.ts
|
|
6
|
+
declare function useNotificationsApi(): CubeNotificationsApi;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { useNotificationsApi };
|
|
9
|
+
//# sourceMappingURL=use-notifications-api.d.ts.map
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-4d9db65 | Cube Dev Team */
|
|
2
|
+
import { NotificationsContext } from "../NotificationsContext/NotificationsContext.js";
|
|
3
|
+
import { useContext } from "react";
|
|
4
|
+
import invariant from "tiny-invariant";
|
|
5
|
+
|
|
6
|
+
//#region src/components/overlays/NewNotifications/hooks/use-notifications-api.ts
|
|
7
|
+
function useNotificationsApi() {
|
|
8
|
+
const context = useContext(NotificationsContext);
|
|
9
|
+
invariant(context !== null, "You can't use Notifications outside of the <Root /> component. Please, check if your component is descendant of <Root/> component");
|
|
10
|
+
return context.api;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
//#endregion
|
|
14
|
+
export { useNotificationsApi };
|
|
15
|
+
//# sourceMappingURL=use-notifications-api.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-notifications-api.js","names":[],"sources":["../../../../../src/components/overlays/NewNotifications/hooks/use-notifications-api.ts"],"sourcesContent":["import { useContext } from 'react';\nimport invariant from 'tiny-invariant';\n\nimport { NotificationsContext } from '../NotificationsContext';\n\nexport function useNotificationsApi() {\n const context = useContext(NotificationsContext);\n\n invariant(\n context !== null,\n \"You can't use Notifications outside of the <Root /> component. Please, check if your component is descendant of <Root/> component\",\n );\n\n return context.api;\n}\n"],"mappings":";;;;;;AAKA,SAAgB,sBAAsB;CACpC,MAAM,UAAU,WAAW,qBAAqB;AAEhD,WACE,YAAY,MACZ,oIACD;AAED,QAAO,QAAQ"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
import { CollectionChildren, NotificationsListState } from "./types.js";
|
|
3
|
+
import { HTMLAttributes, MutableRefObject } from "react";
|
|
4
|
+
|
|
5
|
+
//#region src/components/overlays/NewNotifications/hooks/use-notifications-list.d.ts
|
|
6
|
+
type UseNotificationsListPropsType<T, R> = {
|
|
7
|
+
items?: Iterable<T>;
|
|
8
|
+
children: CollectionChildren<T, R>;
|
|
9
|
+
ref: MutableRefObject<HTMLElement | null>;
|
|
10
|
+
};
|
|
11
|
+
type UseNotificationsListReturnType<R> = {
|
|
12
|
+
listProps: HTMLAttributes<HTMLElement>;
|
|
13
|
+
state: NotificationsListState<R>;
|
|
14
|
+
};
|
|
15
|
+
declare function useNotificationsList<T extends object, R>(props: UseNotificationsListPropsType<T, R>): UseNotificationsListReturnType<R>;
|
|
16
|
+
//#endregion
|
|
17
|
+
export { UseNotificationsListPropsType, UseNotificationsListReturnType, useNotificationsList };
|
|
18
|
+
//# sourceMappingURL=use-notifications-list.d.ts.map
|