@cube-dev/ui-kit 0.114.0 → 0.115.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/dist/CHANGELOG.md +3315 -0
- package/dist/README.md +32 -0
- package/dist/_internal/hooks/use-chained-callback.js +15 -0
- package/dist/_internal/hooks/use-chained-callback.js.map +1 -0
- package/dist/_internal/hooks/use-debounced-value.js +46 -0
- package/dist/_internal/hooks/use-debounced-value.js.map +1 -0
- package/dist/_internal/hooks/use-deprecation-warning.js +17 -0
- package/dist/_internal/hooks/use-deprecation-warning.js.map +1 -0
- package/dist/_internal/hooks/use-event.js +19 -0
- package/dist/_internal/hooks/use-event.js.map +1 -0
- package/dist/_internal/hooks/use-is-first-render.js +16 -0
- package/dist/_internal/hooks/use-is-first-render.js.map +1 -0
- package/dist/_internal/hooks/use-sync-ref.js +16 -0
- package/dist/_internal/hooks/use-sync-ref.js.map +1 -0
- package/dist/_internal/hooks/use-timer/timer.js +52 -0
- package/dist/_internal/hooks/use-timer/timer.js.map +1 -0
- package/dist/_internal/hooks/use-timer/use-timer.js +32 -0
- package/dist/_internal/hooks/use-timer/use-timer.js.map +1 -0
- package/dist/_internal/hooks/use-warn.js +35 -0
- package/dist/_internal/hooks/use-warn.js.map +1 -0
- package/dist/_virtual/_rolldown/runtime.js +8 -0
- package/dist/chunks/cacheKey.js +71 -0
- package/dist/chunks/cacheKey.js.map +1 -0
- package/dist/chunks/definitions.js +261 -0
- package/dist/chunks/definitions.js.map +1 -0
- package/dist/chunks/renderChunk.js +68 -0
- package/dist/chunks/renderChunk.js.map +1 -0
- package/dist/components/Block.d.ts +11 -0
- package/dist/components/Block.js +22 -0
- package/dist/components/Block.js.map +1 -0
- package/dist/components/CollectionItem.d.ts +24 -0
- package/dist/components/CollectionItem.js +50 -0
- package/dist/components/CollectionItem.js.map +1 -0
- package/dist/components/GlobalStyles.js +310 -0
- package/dist/components/GlobalStyles.js.map +1 -0
- package/dist/components/GridProvider.d.ts +18 -0
- package/dist/components/GridProvider.js +56 -0
- package/dist/components/GridProvider.js.map +1 -0
- package/dist/components/HiddenInput.js +32 -0
- package/dist/components/HiddenInput.js.map +1 -0
- package/dist/components/Root.d.ts +30 -0
- package/dist/components/Root.js +131 -0
- package/dist/components/Root.js.map +1 -0
- package/dist/components/actions/Action/Action.d.ts +20 -0
- package/dist/components/actions/Action/Action.js +41 -0
- package/dist/components/actions/Action/Action.js.map +1 -0
- package/dist/components/actions/Banner/Banner.d.ts +49 -0
- package/dist/components/actions/Banner/Banner.js +83 -0
- package/dist/components/actions/Banner/Banner.js.map +1 -0
- package/dist/components/actions/Banner/index.d.ts +2 -0
- package/dist/components/actions/Button/Button.d.ts +1815 -0
- package/dist/components/actions/Button/Button.js +337 -0
- package/dist/components/actions/Button/Button.js.map +1 -0
- package/dist/components/actions/Button/index.d.ts +2 -0
- package/dist/components/actions/ButtonGroup/ButtonGroup.d.ts +9 -0
- package/dist/components/actions/ButtonGroup/ButtonGroup.js +22 -0
- package/dist/components/actions/ButtonGroup/ButtonGroup.js.map +1 -0
- package/dist/components/actions/CommandMenu/CommandMenu.d.ts +45 -0
- package/dist/components/actions/CommandMenu/CommandMenu.js +364 -0
- package/dist/components/actions/CommandMenu/CommandMenu.js.map +1 -0
- package/dist/components/actions/CommandMenu/index.d.ts +2 -0
- package/dist/components/actions/CommandMenu/styled.js +103 -0
- package/dist/components/actions/CommandMenu/styled.js.map +1 -0
- package/dist/components/actions/ItemAction/ItemAction.d.ts +28 -0
- package/dist/components/actions/ItemAction/ItemAction.js +158 -0
- package/dist/components/actions/ItemAction/ItemAction.js.map +1 -0
- package/dist/components/actions/ItemAction/index.d.ts +2 -0
- package/dist/components/actions/ItemActionContext.d.ts +30 -0
- package/dist/components/actions/ItemActionContext.js +24 -0
- package/dist/components/actions/ItemActionContext.js.map +1 -0
- package/dist/components/actions/ItemButton/ItemButton.d.ts +27 -0
- package/dist/components/actions/ItemButton/ItemButton.js +178 -0
- package/dist/components/actions/ItemButton/ItemButton.js.map +1 -0
- package/dist/components/actions/ItemButton/index.d.ts +3 -0
- package/dist/components/actions/Link/Link.d.ts +10 -0
- package/dist/components/actions/Link/Link.js +18 -0
- package/dist/components/actions/Link/Link.js.map +1 -0
- package/dist/components/actions/Menu/Menu.d.ts +68 -0
- package/dist/components/actions/Menu/Menu.js +136 -0
- package/dist/components/actions/Menu/Menu.js.map +1 -0
- package/dist/components/actions/Menu/MenuItem.d.ts +23 -0
- package/dist/components/actions/Menu/MenuItem.js +79 -0
- package/dist/components/actions/Menu/MenuItem.js.map +1 -0
- package/dist/components/actions/Menu/MenuSection.d.ts +17 -0
- package/dist/components/actions/Menu/MenuSection.js +51 -0
- package/dist/components/actions/Menu/MenuSection.js.map +1 -0
- package/dist/components/actions/Menu/MenuTrigger.d.ts +21 -0
- package/dist/components/actions/Menu/MenuTrigger.js +141 -0
- package/dist/components/actions/Menu/MenuTrigger.js.map +1 -0
- package/dist/components/actions/Menu/SubMenuTrigger.d.ts +50 -0
- package/dist/components/actions/Menu/SubMenuTrigger.js +243 -0
- package/dist/components/actions/Menu/SubMenuTrigger.js.map +1 -0
- package/dist/components/actions/Menu/SubmenuTriggerContext.js +9 -0
- package/dist/components/actions/Menu/SubmenuTriggerContext.js.map +1 -0
- package/dist/components/actions/Menu/context.d.ts +22 -0
- package/dist/components/actions/Menu/context.js +12 -0
- package/dist/components/actions/Menu/context.js.map +1 -0
- package/dist/components/actions/Menu/index.d.ts +7 -0
- package/dist/components/actions/Menu/styled.js +212 -0
- package/dist/components/actions/Menu/styled.js.map +1 -0
- package/dist/components/actions/index.d.ts +39 -0
- package/dist/components/actions/index.js +25 -0
- package/dist/components/actions/index.js.map +1 -0
- package/dist/components/actions/use-action.d.ts +75 -0
- package/dist/components/actions/use-action.js +230 -0
- package/dist/components/actions/use-action.js.map +1 -0
- package/dist/components/actions/use-anchored-menu.d.ts +42 -0
- package/dist/components/actions/use-anchored-menu.js +109 -0
- package/dist/components/actions/use-anchored-menu.js.map +1 -0
- package/dist/components/actions/use-context-menu.d.ts +48 -0
- package/dist/components/actions/use-context-menu.js +184 -0
- package/dist/components/actions/use-context-menu.js.map +1 -0
- package/dist/components/content/ActiveZone/ActiveZone.d.ts +16 -0
- package/dist/components/content/ActiveZone/ActiveZone.js +48 -0
- package/dist/components/content/ActiveZone/ActiveZone.js.map +1 -0
- package/dist/components/content/Alert/Alert.d.ts +9 -0
- package/dist/components/content/Alert/Alert.js +55 -0
- package/dist/components/content/Alert/Alert.js.map +1 -0
- package/dist/components/content/Alert/index.d.ts +3 -0
- package/dist/components/content/Alert/types.d.ts +31 -0
- package/dist/components/content/Alert/use-alert.js +30 -0
- package/dist/components/content/Alert/use-alert.js.map +1 -0
- package/dist/components/content/Avatar/Avatar.d.ts +16 -0
- package/dist/components/content/Avatar/Avatar.js +40 -0
- package/dist/components/content/Avatar/Avatar.js.map +1 -0
- package/dist/components/content/Badge/Badge.d.ts +15 -0
- package/dist/components/content/Badge/Badge.js +57 -0
- package/dist/components/content/Badge/Badge.js.map +1 -0
- package/dist/components/content/Card/Card.d.ts +11 -0
- package/dist/components/content/Card/Card.js +34 -0
- package/dist/components/content/Card/Card.js.map +1 -0
- package/dist/components/content/Content.d.ts +11 -0
- package/dist/components/content/Content.js +38 -0
- package/dist/components/content/Content.js.map +1 -0
- package/dist/components/content/CopyPasteBlock/CopyPasteBlock.d.ts +24 -0
- package/dist/components/content/CopyPasteBlock/CopyPasteBlock.js +167 -0
- package/dist/components/content/CopyPasteBlock/CopyPasteBlock.js.map +1 -0
- package/dist/components/content/CopyPasteBlock/index.d.ts +2 -0
- package/dist/components/content/CopySnippet/CopySnippet.d.ts +44 -0
- package/dist/components/content/CopySnippet/CopySnippet.js +198 -0
- package/dist/components/content/CopySnippet/CopySnippet.js.map +1 -0
- package/dist/components/content/CopySnippet/index.d.ts +2 -0
- package/dist/components/content/Disclosure/Disclosure.d.ts +82 -0
- package/dist/components/content/Disclosure/Disclosure.js +332 -0
- package/dist/components/content/Disclosure/Disclosure.js.map +1 -0
- package/dist/components/content/Disclosure/index.d.ts +2 -0
- package/dist/components/content/Divider.d.ts +11 -0
- package/dist/components/content/Divider.js +69 -0
- package/dist/components/content/Divider.js.map +1 -0
- package/dist/components/content/Footer.d.ts +11 -0
- package/dist/components/content/Footer.js +33 -0
- package/dist/components/content/Footer.js.map +1 -0
- package/dist/components/content/Header.d.ts +11 -0
- package/dist/components/content/Header.js +34 -0
- package/dist/components/content/Header.js.map +1 -0
- package/dist/components/content/HotKeys/HotKeys.d.ts +14 -0
- package/dist/components/content/HotKeys/HotKeys.js +92 -0
- package/dist/components/content/HotKeys/HotKeys.js.map +1 -0
- package/dist/components/content/HotKeys/index.d.ts +2 -0
- package/dist/components/content/Item/Item.d.ts +171 -0
- package/dist/components/content/Item/Item.js +575 -0
- package/dist/components/content/Item/Item.js.map +1 -0
- package/dist/components/content/Item/index.d.ts +4 -0
- package/dist/components/content/ItemBadge/ItemBadge.d.ts +23 -0
- package/dist/components/content/ItemBadge/ItemBadge.js +108 -0
- package/dist/components/content/ItemBadge/ItemBadge.js.map +1 -0
- package/dist/components/content/ItemBadge/index.d.ts +2 -0
- package/dist/components/content/Layout/GridLayout.d.ts +42 -0
- package/dist/components/content/Layout/GridLayout.js +50 -0
- package/dist/components/content/Layout/GridLayout.js.map +1 -0
- package/dist/components/content/Layout/Layout.d.ts +40 -0
- package/dist/components/content/Layout/Layout.js +218 -0
- package/dist/components/content/Layout/Layout.js.map +1 -0
- package/dist/components/content/Layout/LayoutBlock.d.ts +10 -0
- package/dist/components/content/Layout/LayoutBlock.js +31 -0
- package/dist/components/content/Layout/LayoutBlock.js.map +1 -0
- package/dist/components/content/Layout/LayoutCenter.d.ts +10 -0
- package/dist/components/content/Layout/LayoutCenter.js +33 -0
- package/dist/components/content/Layout/LayoutCenter.js.map +1 -0
- package/dist/components/content/Layout/LayoutContainer.d.ts +23 -0
- package/dist/components/content/Layout/LayoutContainer.js +72 -0
- package/dist/components/content/Layout/LayoutContainer.js.map +1 -0
- package/dist/components/content/Layout/LayoutContent.d.ts +23 -0
- package/dist/components/content/Layout/LayoutContent.js +149 -0
- package/dist/components/content/Layout/LayoutContent.js.map +1 -0
- package/dist/components/content/Layout/LayoutContext.d.ts +9 -0
- package/dist/components/content/Layout/LayoutContext.js +134 -0
- package/dist/components/content/Layout/LayoutContext.js.map +1 -0
- package/dist/components/content/Layout/LayoutFlex.d.ts +10 -0
- package/dist/components/content/Layout/LayoutFlex.js +35 -0
- package/dist/components/content/Layout/LayoutFlex.js.map +1 -0
- package/dist/components/content/Layout/LayoutFooter.d.ts +13 -0
- package/dist/components/content/Layout/LayoutFooter.js +53 -0
- package/dist/components/content/Layout/LayoutFooter.js.map +1 -0
- package/dist/components/content/Layout/LayoutGrid.d.ts +19 -0
- package/dist/components/content/Layout/LayoutGrid.js +38 -0
- package/dist/components/content/Layout/LayoutGrid.js.map +1 -0
- package/dist/components/content/Layout/LayoutHeader.d.ts +27 -0
- package/dist/components/content/Layout/LayoutHeader.js +145 -0
- package/dist/components/content/Layout/LayoutHeader.js.map +1 -0
- package/dist/components/content/Layout/LayoutPane.d.ts +39 -0
- package/dist/components/content/Layout/LayoutPane.js +359 -0
- package/dist/components/content/Layout/LayoutPane.js.map +1 -0
- package/dist/components/content/Layout/LayoutPanel.d.ts +74 -0
- package/dist/components/content/Layout/LayoutPanel.js +484 -0
- package/dist/components/content/Layout/LayoutPanel.js.map +1 -0
- package/dist/components/content/Layout/LayoutPanelHeader.d.ts +22 -0
- package/dist/components/content/Layout/LayoutPanelHeader.js +57 -0
- package/dist/components/content/Layout/LayoutPanelHeader.js.map +1 -0
- package/dist/components/content/Layout/LayoutToolbar.d.ts +10 -0
- package/dist/components/content/Layout/LayoutToolbar.js +40 -0
- package/dist/components/content/Layout/LayoutToolbar.js.map +1 -0
- package/dist/components/content/Layout/hooks/useTinyScrollbar.js +143 -0
- package/dist/components/content/Layout/hooks/useTinyScrollbar.js.map +1 -0
- package/dist/components/content/Layout/index.d.ts +37 -0
- package/dist/components/content/Layout/index.js +36 -0
- package/dist/components/content/Layout/index.js.map +1 -0
- package/dist/components/content/Layout/utils.js +16 -0
- package/dist/components/content/Layout/utils.js.map +1 -0
- package/dist/components/content/Paragraph.d.ts +12 -0
- package/dist/components/content/Paragraph.js +28 -0
- package/dist/components/content/Paragraph.js.map +1 -0
- package/dist/components/content/Placeholder/Placeholder.d.ts +16 -0
- package/dist/components/content/Placeholder/Placeholder.js +76 -0
- package/dist/components/content/Placeholder/Placeholder.js.map +1 -0
- package/dist/components/content/PrismCode/PrismCode.d.ts +27 -0
- package/dist/components/content/PrismCode/PrismCode.js +99 -0
- package/dist/components/content/PrismCode/PrismCode.js.map +1 -0
- package/dist/components/content/PrismCode/prismSetup.js +148 -0
- package/dist/components/content/PrismCode/prismSetup.js.map +1 -0
- package/dist/components/content/PrismDiffCode/PrismDiffCode.d.ts +25 -0
- package/dist/components/content/PrismDiffCode/PrismDiffCode.js +27 -0
- package/dist/components/content/PrismDiffCode/PrismDiffCode.js.map +1 -0
- package/dist/components/content/Result/Result.d.ts +36 -0
- package/dist/components/content/Result/Result.js +146 -0
- package/dist/components/content/Result/Result.js.map +1 -0
- package/dist/components/content/Skeleton/Skeleton.d.ts +89 -0
- package/dist/components/content/Skeleton/Skeleton.js +169 -0
- package/dist/components/content/Skeleton/Skeleton.js.map +1 -0
- package/dist/components/content/Tag/Tag.d.ts +18 -0
- package/dist/components/content/Tag/Tag.js +58 -0
- package/dist/components/content/Tag/Tag.js.map +1 -0
- package/dist/components/content/Text.d.ts +2935 -0
- package/dist/components/content/Text.js +101 -0
- package/dist/components/content/Text.js.map +1 -0
- package/dist/components/content/TextItem/TextItem.d.ts +42 -0
- package/dist/components/content/TextItem/TextItem.js +66 -0
- package/dist/components/content/TextItem/TextItem.js.map +1 -0
- package/dist/components/content/TextItem/index.d.ts +2 -0
- package/dist/components/content/Title.d.ts +18 -0
- package/dist/components/content/Title.js +86 -0
- package/dist/components/content/Title.js.map +1 -0
- package/dist/components/content/highlightText.js +26 -0
- package/dist/components/content/highlightText.js.map +1 -0
- package/dist/components/content/use-auto-tooltip.d.ts +14 -0
- package/dist/components/content/use-auto-tooltip.js +116 -0
- package/dist/components/content/use-auto-tooltip.js.map +1 -0
- package/dist/components/fields/Checkbox/Checkbox.d.ts +29 -0
- package/dist/components/fields/Checkbox/Checkbox.js +190 -0
- package/dist/components/fields/Checkbox/Checkbox.js.map +1 -0
- package/dist/components/fields/Checkbox/CheckboxGroup.d.ts +23 -0
- package/dist/components/fields/Checkbox/CheckboxGroup.js +82 -0
- package/dist/components/fields/Checkbox/CheckboxGroup.js.map +1 -0
- package/dist/components/fields/Checkbox/context.js +9 -0
- package/dist/components/fields/Checkbox/context.js.map +1 -0
- package/dist/components/fields/Checkbox/index.d.ts +3 -0
- package/dist/components/fields/ComboBox/ComboBox.d.ts +133 -0
- package/dist/components/fields/ComboBox/ComboBox.js +897 -0
- package/dist/components/fields/ComboBox/ComboBox.js.map +1 -0
- package/dist/components/fields/ComboBox/index.d.ts +2 -0
- package/dist/components/fields/DatePicker/DateInput.d.ts +28 -0
- package/dist/components/fields/DatePicker/DateInput.js +76 -0
- package/dist/components/fields/DatePicker/DateInput.js.map +1 -0
- package/dist/components/fields/DatePicker/DateInputBase.js +85 -0
- package/dist/components/fields/DatePicker/DateInputBase.js.map +1 -0
- package/dist/components/fields/DatePicker/DatePicker.d.ts +27 -0
- package/dist/components/fields/DatePicker/DatePicker.js +111 -0
- package/dist/components/fields/DatePicker/DatePicker.js.map +1 -0
- package/dist/components/fields/DatePicker/DatePickerButton.js +12 -0
- package/dist/components/fields/DatePicker/DatePickerButton.js.map +1 -0
- package/dist/components/fields/DatePicker/DatePickerElement.js +17 -0
- package/dist/components/fields/DatePicker/DatePickerElement.js.map +1 -0
- package/dist/components/fields/DatePicker/DatePickerInput.js +51 -0
- package/dist/components/fields/DatePicker/DatePickerInput.js.map +1 -0
- package/dist/components/fields/DatePicker/DatePickerSegment.js +76 -0
- package/dist/components/fields/DatePicker/DatePickerSegment.js.map +1 -0
- package/dist/components/fields/DatePicker/DateRangePicker.d.ts +27 -0
- package/dist/components/fields/DatePicker/DateRangePicker.js +137 -0
- package/dist/components/fields/DatePicker/DateRangePicker.js.map +1 -0
- package/dist/components/fields/DatePicker/DateRangeSeparatedPicker.d.ts +28 -0
- package/dist/components/fields/DatePicker/DateRangeSeparatedPicker.js +220 -0
- package/dist/components/fields/DatePicker/DateRangeSeparatedPicker.js.map +1 -0
- package/dist/components/fields/DatePicker/TimeInput.d.ts +46 -0
- package/dist/components/fields/DatePicker/TimeInput.js +65 -0
- package/dist/components/fields/DatePicker/TimeInput.js.map +1 -0
- package/dist/components/fields/DatePicker/index.d.ts +8 -0
- package/dist/components/fields/DatePicker/intl.js +11 -0
- package/dist/components/fields/DatePicker/intl.js.map +1 -0
- package/dist/components/fields/DatePicker/parseDate.d.ts +8 -0
- package/dist/components/fields/DatePicker/parseDate.js +21 -0
- package/dist/components/fields/DatePicker/parseDate.js.map +1 -0
- package/dist/components/fields/DatePicker/props.js +17 -0
- package/dist/components/fields/DatePicker/props.js.map +1 -0
- package/dist/components/fields/DatePicker/types.d.ts +35 -0
- package/dist/components/fields/DatePicker/utils.js +45 -0
- package/dist/components/fields/DatePicker/utils.js.map +1 -0
- package/dist/components/fields/FileInput/FileInput.d.ts +42 -0
- package/dist/components/fields/FileInput/FileInput.js +182 -0
- package/dist/components/fields/FileInput/FileInput.js.map +1 -0
- package/dist/components/fields/FilterListBox/FilterListBox.d.ts +87 -0
- package/dist/components/fields/FilterListBox/FilterListBox.js +487 -0
- package/dist/components/fields/FilterListBox/FilterListBox.js.map +1 -0
- package/dist/components/fields/FilterListBox/index.d.ts +2 -0
- package/dist/components/fields/FilterPicker/FilterPicker.d.ts +86 -0
- package/dist/components/fields/FilterPicker/FilterPicker.js +451 -0
- package/dist/components/fields/FilterPicker/FilterPicker.js.map +1 -0
- package/dist/components/fields/FilterPicker/index.d.ts +2 -0
- package/dist/components/fields/Input/Input.d.ts +20 -0
- package/dist/components/fields/Input/Input.js +19 -0
- package/dist/components/fields/Input/Input.js.map +1 -0
- package/dist/components/fields/Input/index.d.ts +2 -0
- package/dist/components/fields/ListBox/ListBox.d.ts +133 -0
- package/dist/components/fields/ListBox/ListBox.js +709 -0
- package/dist/components/fields/ListBox/ListBox.js.map +1 -0
- package/dist/components/fields/ListBox/index.d.ts +2 -0
- package/dist/components/fields/NumberInput/NumberInput.d.ts +19 -0
- package/dist/components/fields/NumberInput/NumberInput.js +73 -0
- package/dist/components/fields/NumberInput/NumberInput.js.map +1 -0
- package/dist/components/fields/NumberInput/StepButton.js +45 -0
- package/dist/components/fields/NumberInput/StepButton.js.map +1 -0
- package/dist/components/fields/PasswordInput/PasswordInput.d.ts +17 -0
- package/dist/components/fields/PasswordInput/PasswordInput.js +70 -0
- package/dist/components/fields/PasswordInput/PasswordInput.js.map +1 -0
- package/dist/components/fields/Picker/Picker.d.ts +84 -0
- package/dist/components/fields/Picker/Picker.js +372 -0
- package/dist/components/fields/Picker/Picker.js.map +1 -0
- package/dist/components/fields/Picker/index.d.ts +2 -0
- package/dist/components/fields/RadioGroup/Radio.d.ts +63 -0
- package/dist/components/fields/RadioGroup/Radio.js +242 -0
- package/dist/components/fields/RadioGroup/Radio.js.map +1 -0
- package/dist/components/fields/RadioGroup/RadioGroup.d.ts +31 -0
- package/dist/components/fields/RadioGroup/RadioGroup.js +109 -0
- package/dist/components/fields/RadioGroup/RadioGroup.js.map +1 -0
- package/dist/components/fields/RadioGroup/context.js +12 -0
- package/dist/components/fields/RadioGroup/context.js.map +1 -0
- package/dist/components/fields/RadioGroup/index.d.ts +3 -0
- package/dist/components/fields/SearchInput/SearchInput.d.ts +19 -0
- package/dist/components/fields/SearchInput/SearchInput.js +53 -0
- package/dist/components/fields/SearchInput/SearchInput.js.map +1 -0
- package/dist/components/fields/SearchInput/index.d.ts +2 -0
- package/dist/components/fields/Select/Select.d.ts +967 -0
- package/dist/components/fields/Select/Select.js +440 -0
- package/dist/components/fields/Select/Select.js.map +1 -0
- package/dist/components/fields/Select/index.d.ts +2 -0
- package/dist/components/fields/Slider/Gradation.js +21 -0
- package/dist/components/fields/Slider/Gradation.js.map +1 -0
- package/dist/components/fields/Slider/HueSlider.d.ts +19 -0
- package/dist/components/fields/Slider/HueSlider.js +72 -0
- package/dist/components/fields/Slider/HueSlider.js.map +1 -0
- package/dist/components/fields/Slider/RangeSlider.d.ts +17 -0
- package/dist/components/fields/Slider/RangeSlider.js +61 -0
- package/dist/components/fields/Slider/RangeSlider.js.map +1 -0
- package/dist/components/fields/Slider/Slider.d.ts +25 -0
- package/dist/components/fields/Slider/Slider.js +67 -0
- package/dist/components/fields/Slider/Slider.js.map +1 -0
- package/dist/components/fields/Slider/SliderBase.js +119 -0
- package/dist/components/fields/Slider/SliderBase.js.map +1 -0
- package/dist/components/fields/Slider/SliderThumb.js +51 -0
- package/dist/components/fields/Slider/SliderThumb.js.map +1 -0
- package/dist/components/fields/Slider/SliderTrack.js +27 -0
- package/dist/components/fields/Slider/SliderTrack.js.map +1 -0
- package/dist/components/fields/Slider/elements.js +152 -0
- package/dist/components/fields/Slider/elements.js.map +1 -0
- package/dist/components/fields/Slider/index.d.ts +7 -0
- package/dist/components/fields/Slider/index.js +7 -0
- package/dist/components/fields/Slider/types.d.ts +25 -0
- package/dist/components/fields/Switch/Switch.d.ts +26 -0
- package/dist/components/fields/Switch/Switch.js +195 -0
- package/dist/components/fields/Switch/Switch.js.map +1 -0
- package/dist/components/fields/TextArea/TextArea.d.ts +25 -0
- package/dist/components/fields/TextArea/TextArea.js +92 -0
- package/dist/components/fields/TextArea/TextArea.js.map +1 -0
- package/dist/components/fields/TextArea/index.d.ts +2 -0
- package/dist/components/fields/TextInput/TextInput.d.ts +12 -0
- package/dist/components/fields/TextInput/TextInput.js +44 -0
- package/dist/components/fields/TextInput/TextInput.js.map +1 -0
- package/dist/components/fields/TextInput/TextInputBase.d.ts +53 -0
- package/dist/components/fields/TextInput/TextInputBase.js +274 -0
- package/dist/components/fields/TextInput/TextInputBase.js.map +1 -0
- package/dist/components/fields/TextInput/index.d.ts +3 -0
- package/dist/components/fields/TextInputMapper/TextInputMapper.d.ts +38 -0
- package/dist/components/fields/TextInputMapper/TextInputMapper.js +237 -0
- package/dist/components/fields/TextInputMapper/TextInputMapper.js.map +1 -0
- package/dist/components/fields/TextInputMapper/index.d.ts +2 -0
- package/dist/components/fields/index.d.ts +47 -0
- package/dist/components/form/FieldWrapper/FieldWrapper.d.ts +13 -0
- package/dist/components/form/FieldWrapper/FieldWrapper.js +170 -0
- package/dist/components/form/FieldWrapper/FieldWrapper.js.map +1 -0
- package/dist/components/form/FieldWrapper/extract-field-wrapper-props.d.ts +12 -0
- package/dist/components/form/FieldWrapper/extract-field-wrapper-props.js +41 -0
- package/dist/components/form/FieldWrapper/extract-field-wrapper-props.js.map +1 -0
- package/dist/components/form/FieldWrapper/index.d.ts +4 -0
- package/dist/components/form/FieldWrapper/types.d.ts +42 -0
- package/dist/components/form/Form/Field.d.ts +23 -0
- package/dist/components/form/Form/Field.js +139 -0
- package/dist/components/form/Form/Field.js.map +1 -0
- package/dist/components/form/Form/Form.d.ts +35 -0
- package/dist/components/form/Form/Form.js +151 -0
- package/dist/components/form/Form/Form.js.map +1 -0
- package/dist/components/form/Form/ResetButton/ResetButton.d.ts +16 -0
- package/dist/components/form/Form/ResetButton/ResetButton.js +38 -0
- package/dist/components/form/Form/ResetButton/ResetButton.js.map +1 -0
- package/dist/components/form/Form/ResetButton/index.d.ts +2 -0
- package/dist/components/form/Form/SubmitButton/SubmitButton.d.ts +16 -0
- package/dist/components/form/Form/SubmitButton/SubmitButton.js +30 -0
- package/dist/components/form/Form/SubmitButton/SubmitButton.js.map +1 -0
- package/dist/components/form/Form/SubmitButton/index.d.ts +2 -0
- package/dist/components/form/Form/SubmitError.d.ts +13 -0
- package/dist/components/form/Form/SubmitError.js +27 -0
- package/dist/components/form/Form/SubmitError.js.map +1 -0
- package/dist/components/form/Form/index.d.ts +38 -0
- package/dist/components/form/Form/index.js +22 -0
- package/dist/components/form/Form/index.js.map +1 -0
- package/dist/components/form/Form/types.d.ts +23 -0
- package/dist/components/form/Form/use-field/index.d.ts +4 -0
- package/dist/components/form/Form/use-field/types.d.ts +43 -0
- package/dist/components/form/Form/use-field/use-field-props.d.ts +29 -0
- package/dist/components/form/Form/use-field/use-field-props.js +71 -0
- package/dist/components/form/Form/use-field/use-field-props.js.map +1 -0
- package/dist/components/form/Form/use-field/use-field.d.ts +14 -0
- package/dist/components/form/Form/use-field/use-field.js +134 -0
- package/dist/components/form/Form/use-field/use-field.js.map +1 -0
- package/dist/components/form/Form/use-form.d.ts +77 -0
- package/dist/components/form/Form/use-form.js +322 -0
- package/dist/components/form/Form/use-form.js.map +1 -0
- package/dist/components/form/Form/validation.js +133 -0
- package/dist/components/form/Form/validation.js.map +1 -0
- package/dist/components/form/Label.d.ts +25 -0
- package/dist/components/form/Label.js +100 -0
- package/dist/components/form/Label.js.map +1 -0
- package/dist/components/form/index.d.ts +19 -0
- package/dist/components/form/wrapper.d.ts +15 -0
- package/dist/components/form/wrapper.js +38 -0
- package/dist/components/form/wrapper.js.map +1 -0
- package/dist/components/helpers/DisplayTransition/DisplayTransition.d.ts +36 -0
- package/dist/components/helpers/DisplayTransition/DisplayTransition.js +218 -0
- package/dist/components/helpers/DisplayTransition/DisplayTransition.js.map +1 -0
- package/dist/components/helpers/IconSwitch/IconSwitch.js +124 -0
- package/dist/components/helpers/IconSwitch/IconSwitch.js.map +1 -0
- package/dist/components/layout/Flex.d.ts +11 -0
- package/dist/components/layout/Flex.js +25 -0
- package/dist/components/layout/Flex.js.map +1 -0
- package/dist/components/layout/Flow.d.ts +11 -0
- package/dist/components/layout/Flow.js +26 -0
- package/dist/components/layout/Flow.js.map +1 -0
- package/dist/components/layout/Grid.d.ts +11 -0
- package/dist/components/layout/Grid.js +31 -0
- package/dist/components/layout/Grid.js.map +1 -0
- package/dist/components/layout/Panel.d.ts +28 -0
- package/dist/components/layout/Panel.js +133 -0
- package/dist/components/layout/Panel.js.map +1 -0
- package/dist/components/layout/Prefix.d.ts +15 -0
- package/dist/components/layout/Prefix.js +50 -0
- package/dist/components/layout/Prefix.js.map +1 -0
- package/dist/components/layout/ResizablePanel.d.ts +21 -0
- package/dist/components/layout/ResizablePanel.js +278 -0
- package/dist/components/layout/ResizablePanel.js.map +1 -0
- package/dist/components/layout/Space.d.ts +13 -0
- package/dist/components/layout/Space.js +38 -0
- package/dist/components/layout/Space.js.map +1 -0
- package/dist/components/layout/Suffix.d.ts +15 -0
- package/dist/components/layout/Suffix.js +49 -0
- package/dist/components/layout/Suffix.js.map +1 -0
- package/dist/components/navigation/Tabs/DraggableTabList.js +73 -0
- package/dist/components/navigation/Tabs/DraggableTabList.js.map +1 -0
- package/dist/components/navigation/Tabs/EditableTitle.js +100 -0
- package/dist/components/navigation/Tabs/EditableTitle.js.map +1 -0
- package/dist/components/navigation/Tabs/TabButton.js +321 -0
- package/dist/components/navigation/Tabs/TabButton.js.map +1 -0
- package/dist/components/navigation/Tabs/TabDropIndicator.js +54 -0
- package/dist/components/navigation/Tabs/TabDropIndicator.js.map +1 -0
- package/dist/components/navigation/Tabs/TabPanel.js +109 -0
- package/dist/components/navigation/Tabs/TabPanel.js.map +1 -0
- package/dist/components/navigation/Tabs/TabPicker.js +53 -0
- package/dist/components/navigation/Tabs/TabPicker.js.map +1 -0
- package/dist/components/navigation/Tabs/Tabs.d.ts +60 -0
- package/dist/components/navigation/Tabs/Tabs.js +419 -0
- package/dist/components/navigation/Tabs/Tabs.js.map +1 -0
- package/dist/components/navigation/Tabs/TabsAction.d.ts +46 -0
- package/dist/components/navigation/Tabs/TabsAction.js +63 -0
- package/dist/components/navigation/Tabs/TabsAction.js.map +1 -0
- package/dist/components/navigation/Tabs/TabsContext.js +29 -0
- package/dist/components/navigation/Tabs/TabsContext.js.map +1 -0
- package/dist/components/navigation/Tabs/index.d.ts +4 -0
- package/dist/components/navigation/Tabs/styled.js +318 -0
- package/dist/components/navigation/Tabs/styled.js.map +1 -0
- package/dist/components/navigation/Tabs/types.d.ts +257 -0
- package/dist/components/navigation/Tabs/types.js +14 -0
- package/dist/components/navigation/Tabs/types.js.map +1 -0
- package/dist/components/navigation/Tabs/use-tab-editing.js +46 -0
- package/dist/components/navigation/Tabs/use-tab-editing.js.map +1 -0
- package/dist/components/navigation/Tabs/use-tab-indicator.js +64 -0
- package/dist/components/navigation/Tabs/use-tab-indicator.js.map +1 -0
- package/dist/components/navigation/index.d.ts +5 -0
- package/dist/components/organisms/FileTabs/FileTabs.d.ts +55 -0
- package/dist/components/organisms/FileTabs/FileTabs.js +282 -0
- package/dist/components/organisms/FileTabs/FileTabs.js.map +1 -0
- package/dist/components/organisms/StatsCard/StatsCard.d.ts +20 -0
- package/dist/components/organisms/StatsCard/StatsCard.js +36 -0
- package/dist/components/organisms/StatsCard/StatsCard.js.map +1 -0
- package/dist/components/other/Calendar/Calendar.js +72 -0
- package/dist/components/other/Calendar/Calendar.js.map +1 -0
- package/dist/components/other/Calendar/CalendarCell.js +68 -0
- package/dist/components/other/Calendar/CalendarCell.js.map +1 -0
- package/dist/components/other/Calendar/CalendarGrid.js +45 -0
- package/dist/components/other/Calendar/CalendarGrid.js.map +1 -0
- package/dist/components/other/Calendar/RangeCalendar.js +70 -0
- package/dist/components/other/Calendar/RangeCalendar.js.map +1 -0
- package/dist/components/other/CloudLogo/CloudLogo.d.ts +11 -0
- package/dist/components/other/CloudLogo/CloudLogo.js +110 -0
- package/dist/components/other/CloudLogo/CloudLogo.js.map +1 -0
- package/dist/components/overlays/AlertDialog/AlertDialog.d.ts +28 -0
- package/dist/components/overlays/AlertDialog/AlertDialog.js +71 -0
- package/dist/components/overlays/AlertDialog/AlertDialog.js.map +1 -0
- package/dist/components/overlays/AlertDialog/AlertDialogApiProvider.d.ts +72 -0
- package/dist/components/overlays/AlertDialog/AlertDialogApiProvider.js +135 -0
- package/dist/components/overlays/AlertDialog/AlertDialogApiProvider.js.map +1 -0
- package/dist/components/overlays/AlertDialog/AlertDialogZone.d.ts +3 -0
- package/dist/components/overlays/AlertDialog/AlertDialogZone.js +63 -0
- package/dist/components/overlays/AlertDialog/AlertDialogZone.js.map +1 -0
- package/dist/components/overlays/AlertDialog/index.d.ts +4 -0
- package/dist/components/overlays/AlertDialog/types.d.ts +22 -0
- package/dist/components/overlays/Dialog/Dialog.d.ts +30 -0
- package/dist/components/overlays/Dialog/Dialog.js +228 -0
- package/dist/components/overlays/Dialog/Dialog.js.map +1 -0
- package/dist/components/overlays/Dialog/DialogContainer.d.ts +36 -0
- package/dist/components/overlays/Dialog/DialogContainer.js +44 -0
- package/dist/components/overlays/Dialog/DialogContainer.js.map +1 -0
- package/dist/components/overlays/Dialog/DialogForm.d.ts +37 -0
- package/dist/components/overlays/Dialog/DialogForm.js +76 -0
- package/dist/components/overlays/Dialog/DialogForm.js.map +1 -0
- package/dist/components/overlays/Dialog/DialogTrigger.d.ts +56 -0
- package/dist/components/overlays/Dialog/DialogTrigger.js +176 -0
- package/dist/components/overlays/Dialog/DialogTrigger.js.map +1 -0
- package/dist/components/overlays/Dialog/context.js +15 -0
- package/dist/components/overlays/Dialog/context.js.map +1 -0
- package/dist/components/overlays/Dialog/index.d.ts +6 -0
- package/dist/components/overlays/Dialog/use-dialog-container.d.ts +22 -0
- package/dist/components/overlays/Dialog/use-dialog-container.js +65 -0
- package/dist/components/overlays/Dialog/use-dialog-container.js.map +1 -0
- package/dist/components/overlays/Modal/Modal.d.ts +3 -0
- package/dist/components/overlays/Modal/Modal.js +113 -0
- package/dist/components/overlays/Modal/Modal.js.map +1 -0
- package/dist/components/overlays/Modal/OpenTransition.js +39 -0
- package/dist/components/overlays/Modal/OpenTransition.js.map +1 -0
- package/dist/components/overlays/Modal/Overlay.d.ts +3 -0
- package/dist/components/overlays/Modal/Overlay.js +44 -0
- package/dist/components/overlays/Modal/Overlay.js.map +1 -0
- package/dist/components/overlays/Modal/Popover.d.ts +6 -0
- package/dist/components/overlays/Modal/Popover.js +90 -0
- package/dist/components/overlays/Modal/Popover.js.map +1 -0
- package/dist/components/overlays/Modal/Tray.d.ts +5 -0
- package/dist/components/overlays/Modal/Tray.js +89 -0
- package/dist/components/overlays/Modal/Tray.js.map +1 -0
- package/dist/components/overlays/Modal/Underlay.d.ts +3 -0
- package/dist/components/overlays/Modal/Underlay.js +43 -0
- package/dist/components/overlays/Modal/Underlay.js.map +1 -0
- package/dist/components/overlays/Modal/index.d.ts +7 -0
- package/dist/components/overlays/Modal/types.d.ts +12 -0
- package/dist/components/overlays/Notifications/Notification.d.ts +38 -0
- package/dist/components/overlays/Notifications/Notification.js +78 -0
- package/dist/components/overlays/Notifications/Notification.js.map +1 -0
- package/dist/components/overlays/Notifications/NotificationAction.d.ts +26 -0
- package/dist/components/overlays/Notifications/NotificationAction.js +55 -0
- package/dist/components/overlays/Notifications/NotificationAction.js.map +1 -0
- package/dist/components/overlays/Notifications/NotificationCard.d.ts +56 -0
- package/dist/components/overlays/Notifications/NotificationCard.js +116 -0
- package/dist/components/overlays/Notifications/NotificationCard.js.map +1 -0
- package/dist/components/overlays/Notifications/NotificationContext.d.ts +8 -0
- package/dist/components/overlays/Notifications/NotificationContext.js +34 -0
- package/dist/components/overlays/Notifications/NotificationContext.js.map +1 -0
- package/dist/components/overlays/Notifications/NotificationItem.d.ts +17 -0
- package/dist/components/overlays/Notifications/NotificationItem.js +66 -0
- package/dist/components/overlays/Notifications/NotificationItem.js.map +1 -0
- package/dist/components/overlays/Notifications/OverlayContainer.js +305 -0
- package/dist/components/overlays/Notifications/OverlayContainer.js.map +1 -0
- package/dist/components/overlays/Notifications/OverlayProvider.d.ts +13 -0
- package/dist/components/overlays/Notifications/OverlayProvider.js +68 -0
- package/dist/components/overlays/Notifications/OverlayProvider.js.map +1 -0
- package/dist/components/overlays/Notifications/PersistentNotificationsList.d.ts +30 -0
- package/dist/components/overlays/Notifications/PersistentNotificationsList.js +120 -0
- package/dist/components/overlays/Notifications/PersistentNotificationsList.js.map +1 -0
- package/dist/components/overlays/Notifications/format-relative-time.d.ts +19 -0
- package/dist/components/overlays/Notifications/format-relative-time.js +36 -0
- package/dist/components/overlays/Notifications/format-relative-time.js.map +1 -0
- package/dist/components/overlays/Notifications/index.d.ts +43 -0
- package/dist/components/overlays/Notifications/index.js +40 -0
- package/dist/components/overlays/Notifications/index.js.map +1 -0
- package/dist/components/overlays/Notifications/types.d.ts +135 -0
- package/dist/components/overlays/Notifications/use-notification-state.js +176 -0
- package/dist/components/overlays/Notifications/use-notification-state.js.map +1 -0
- package/dist/components/overlays/Notifications/use-notifications.d.ts +42 -0
- package/dist/components/overlays/Notifications/use-notifications.js +146 -0
- package/dist/components/overlays/Notifications/use-notifications.js.map +1 -0
- package/dist/components/overlays/Notifications/use-overlay-timers.js +128 -0
- package/dist/components/overlays/Notifications/use-overlay-timers.js.map +1 -0
- package/dist/components/overlays/Notifications/use-persistent-notifications.d.ts +54 -0
- package/dist/components/overlays/Notifications/use-persistent-notifications.js +61 -0
- package/dist/components/overlays/Notifications/use-persistent-notifications.js.map +1 -0
- package/dist/components/overlays/Notifications/use-persistent-state.js +64 -0
- package/dist/components/overlays/Notifications/use-persistent-state.js.map +1 -0
- package/dist/components/overlays/Notifications/use-toast-state.js +108 -0
- package/dist/components/overlays/Notifications/use-toast-state.js.map +1 -0
- package/dist/components/overlays/Toast/ToastItem.d.ts +23 -0
- package/dist/components/overlays/Toast/ToastItem.js +34 -0
- package/dist/components/overlays/Toast/ToastItem.js.map +1 -0
- package/dist/components/overlays/Toast/ToastProvider.d.ts +2 -0
- package/dist/components/overlays/Toast/index.d.ts +54 -0
- package/dist/components/overlays/Toast/index.js +80 -0
- package/dist/components/overlays/Toast/index.js.map +1 -0
- package/dist/components/overlays/Toast/types.d.ts +74 -0
- package/dist/components/overlays/Toast/useProgressToast.d.ts +32 -0
- package/dist/components/overlays/Toast/useProgressToast.js +156 -0
- package/dist/components/overlays/Toast/useProgressToast.js.map +1 -0
- package/dist/components/overlays/Toast/useToast.d.ts +36 -0
- package/dist/components/overlays/Toast/useToast.js +89 -0
- package/dist/components/overlays/Toast/useToast.js.map +1 -0
- package/dist/components/overlays/Tooltip/Tooltip.d.ts +28 -0
- package/dist/components/overlays/Tooltip/Tooltip.js +160 -0
- package/dist/components/overlays/Tooltip/Tooltip.js.map +1 -0
- package/dist/components/overlays/Tooltip/TooltipProvider.d.ts +18 -0
- package/dist/components/overlays/Tooltip/TooltipProvider.js +30 -0
- package/dist/components/overlays/Tooltip/TooltipProvider.js.map +1 -0
- package/dist/components/overlays/Tooltip/TooltipTrigger.d.ts +60 -0
- package/dist/components/overlays/Tooltip/TooltipTrigger.js +117 -0
- package/dist/components/overlays/Tooltip/TooltipTrigger.js.map +1 -0
- package/dist/components/overlays/Tooltip/context.js +9 -0
- package/dist/components/overlays/Tooltip/context.js.map +1 -0
- package/dist/components/portal/Portal.d.ts +32 -0
- package/dist/components/portal/Portal.js +39 -0
- package/dist/components/portal/Portal.js.map +1 -0
- package/dist/components/portal/PortalProvider.js +21 -0
- package/dist/components/portal/PortalProvider.js.map +1 -0
- package/dist/components/portal/index.d.ts +3 -0
- package/dist/components/portal/types.d.ts +27 -0
- package/dist/components/portal/usePortal.js +41 -0
- package/dist/components/portal/usePortal.js.map +1 -0
- package/dist/components/shared/InvalidIcon.js +13 -0
- package/dist/components/shared/InvalidIcon.js.map +1 -0
- package/dist/components/shared/ValidIcon.js +13 -0
- package/dist/components/shared/ValidIcon.js.map +1 -0
- package/dist/components/status/LoadingAnimation/LoadingAnimation.d.ts +15 -0
- package/dist/components/status/LoadingAnimation/LoadingAnimation.js +119 -0
- package/dist/components/status/LoadingAnimation/LoadingAnimation.js.map +1 -0
- package/dist/components/status/LoadingAnimation/index.d.ts +2 -0
- package/dist/components/status/Spin/Cube.js +104 -0
- package/dist/components/status/Spin/Cube.js.map +1 -0
- package/dist/components/status/Spin/InternalSpinner.js +32 -0
- package/dist/components/status/Spin/InternalSpinner.js.map +1 -0
- package/dist/components/status/Spin/Spin.d.ts +9 -0
- package/dist/components/status/Spin/Spin.js +20 -0
- package/dist/components/status/Spin/Spin.js.map +1 -0
- package/dist/components/status/Spin/SpinsContainer.js +32 -0
- package/dist/components/status/Spin/SpinsContainer.js.map +1 -0
- package/dist/components/status/Spin/index.d.ts +3 -0
- package/dist/components/status/Spin/types.d.ts +24 -0
- package/dist/components/status/index.d.ts +6 -0
- package/dist/config.js +232 -0
- package/dist/config.js.map +1 -0
- package/dist/css-writer.d.ts +46 -0
- package/dist/css-writer.js +75 -0
- package/dist/css-writer.js.map +1 -0
- package/dist/data/item-themes.d.ts +8 -0
- package/dist/data/item-themes.js +816 -0
- package/dist/data/item-themes.js.map +1 -0
- package/dist/data/themes.d.ts +37 -0
- package/dist/data/themes.js +38 -0
- package/dist/data/themes.js.map +1 -0
- package/dist/extractor.d.ts +25 -0
- package/dist/extractor.js +151 -0
- package/dist/extractor.js.map +1 -0
- package/dist/icons/AdjustmentsHorizontalIcon.d.ts +12 -0
- package/dist/icons/AdjustmentsHorizontalIcon.js +23 -0
- package/dist/icons/AdjustmentsHorizontalIcon.js.map +1 -0
- package/dist/icons/AdjustmentsIcon.d.ts +12 -0
- package/dist/icons/AdjustmentsIcon.js +23 -0
- package/dist/icons/AdjustmentsIcon.js.map +1 -0
- package/dist/icons/AiIcon.d.ts +12 -0
- package/dist/icons/AiIcon.js +11 -0
- package/dist/icons/AiIcon.js.map +1 -0
- package/dist/icons/AreaChartIcon.d.ts +12 -0
- package/dist/icons/AreaChartIcon.js +11 -0
- package/dist/icons/AreaChartIcon.js.map +1 -0
- package/dist/icons/BackwardIcon.d.ts +12 -0
- package/dist/icons/BackwardIcon.js +11 -0
- package/dist/icons/BackwardIcon.js.map +1 -0
- package/dist/icons/BarChartIcon.d.ts +12 -0
- package/dist/icons/BarChartIcon.js +11 -0
- package/dist/icons/BarChartIcon.js.map +1 -0
- package/dist/icons/BellFilledIcon.d.ts +12 -0
- package/dist/icons/BellFilledIcon.js +11 -0
- package/dist/icons/BellFilledIcon.js.map +1 -0
- package/dist/icons/BellIcon.d.ts +12 -0
- package/dist/icons/BellIcon.js +11 -0
- package/dist/icons/BellIcon.js.map +1 -0
- package/dist/icons/BooleanIcon.d.ts +12 -0
- package/dist/icons/BooleanIcon.js +23 -0
- package/dist/icons/BooleanIcon.js.map +1 -0
- package/dist/icons/CalendarEditIcon.d.ts +12 -0
- package/dist/icons/CalendarEditIcon.js +23 -0
- package/dist/icons/CalendarEditIcon.js.map +1 -0
- package/dist/icons/CalendarIcon.d.ts +12 -0
- package/dist/icons/CalendarIcon.js +23 -0
- package/dist/icons/CalendarIcon.js.map +1 -0
- package/dist/icons/CaretDownIcon.d.ts +12 -0
- package/dist/icons/CaretDownIcon.js +11 -0
- package/dist/icons/CaretDownIcon.js.map +1 -0
- package/dist/icons/CaretUpIcon.d.ts +12 -0
- package/dist/icons/CaretUpIcon.js +11 -0
- package/dist/icons/CaretUpIcon.js.map +1 -0
- package/dist/icons/ChartAreaStackedIcon.d.ts +12 -0
- package/dist/icons/ChartAreaStackedIcon.js +23 -0
- package/dist/icons/ChartAreaStackedIcon.js.map +1 -0
- package/dist/icons/ChartAreaStackedPercentageIcon.d.ts +12 -0
- package/dist/icons/ChartAreaStackedPercentageIcon.js +23 -0
- package/dist/icons/ChartAreaStackedPercentageIcon.js.map +1 -0
- package/dist/icons/ChartBarGroupedHorizontalIcon.d.ts +12 -0
- package/dist/icons/ChartBarGroupedHorizontalIcon.js +23 -0
- package/dist/icons/ChartBarGroupedHorizontalIcon.js.map +1 -0
- package/dist/icons/ChartBarGroupedIcon.d.ts +12 -0
- package/dist/icons/ChartBarGroupedIcon.js +23 -0
- package/dist/icons/ChartBarGroupedIcon.js.map +1 -0
- package/dist/icons/ChartBarHorizontalIcon.d.ts +12 -0
- package/dist/icons/ChartBarHorizontalIcon.js +23 -0
- package/dist/icons/ChartBarHorizontalIcon.js.map +1 -0
- package/dist/icons/ChartBarLineIcon.d.ts +12 -0
- package/dist/icons/ChartBarLineIcon.js +23 -0
- package/dist/icons/ChartBarLineIcon.js.map +1 -0
- package/dist/icons/ChartBarStackedHorizontalIcon.d.ts +12 -0
- package/dist/icons/ChartBarStackedHorizontalIcon.js +23 -0
- package/dist/icons/ChartBarStackedHorizontalIcon.js.map +1 -0
- package/dist/icons/ChartBarStackedIcon.d.ts +12 -0
- package/dist/icons/ChartBarStackedIcon.js +23 -0
- package/dist/icons/ChartBarStackedIcon.js.map +1 -0
- package/dist/icons/ChartBarStackedPercentageHorizontalIcon.d.ts +12 -0
- package/dist/icons/ChartBarStackedPercentageHorizontalIcon.js +23 -0
- package/dist/icons/ChartBarStackedPercentageHorizontalIcon.js.map +1 -0
- package/dist/icons/ChartBarStackedPercentageIcon.d.ts +12 -0
- package/dist/icons/ChartBarStackedPercentageIcon.js +23 -0
- package/dist/icons/ChartBarStackedPercentageIcon.js.map +1 -0
- package/dist/icons/ChartBoxPlot2Icon.d.ts +12 -0
- package/dist/icons/ChartBoxPlot2Icon.js +23 -0
- package/dist/icons/ChartBoxPlot2Icon.js.map +1 -0
- package/dist/icons/ChartBoxPlotIcon.d.ts +12 -0
- package/dist/icons/ChartBoxPlotIcon.js +23 -0
- package/dist/icons/ChartBoxPlotIcon.js.map +1 -0
- package/dist/icons/ChartBubbleIcon.d.ts +12 -0
- package/dist/icons/ChartBubbleIcon.js +23 -0
- package/dist/icons/ChartBubbleIcon.js.map +1 -0
- package/dist/icons/ChartDonut2Icon.d.ts +12 -0
- package/dist/icons/ChartDonut2Icon.js +23 -0
- package/dist/icons/ChartDonut2Icon.js.map +1 -0
- package/dist/icons/ChartFunnelIcon.d.ts +12 -0
- package/dist/icons/ChartFunnelIcon.js +23 -0
- package/dist/icons/ChartFunnelIcon.js.map +1 -0
- package/dist/icons/ChartHeatmapIcon.d.ts +12 -0
- package/dist/icons/ChartHeatmapIcon.js +69 -0
- package/dist/icons/ChartHeatmapIcon.js.map +1 -0
- package/dist/icons/ChartKPIIcon.d.ts +12 -0
- package/dist/icons/ChartKPIIcon.js +23 -0
- package/dist/icons/ChartKPIIcon.js.map +1 -0
- package/dist/icons/ChartPie2Icon.d.ts +12 -0
- package/dist/icons/ChartPie2Icon.js +23 -0
- package/dist/icons/ChartPie2Icon.js.map +1 -0
- package/dist/icons/ChartScatterIcon.d.ts +12 -0
- package/dist/icons/ChartScatterIcon.js +23 -0
- package/dist/icons/ChartScatterIcon.js.map +1 -0
- package/dist/icons/CheckCircleFilledIcon.d.ts +12 -0
- package/dist/icons/CheckCircleFilledIcon.js +11 -0
- package/dist/icons/CheckCircleFilledIcon.js.map +1 -0
- package/dist/icons/CheckCircleIcon.d.ts +12 -0
- package/dist/icons/CheckCircleIcon.js +11 -0
- package/dist/icons/CheckCircleIcon.js.map +1 -0
- package/dist/icons/CheckIcon.d.ts +12 -0
- package/dist/icons/CheckIcon.js +11 -0
- package/dist/icons/CheckIcon.js.map +1 -0
- package/dist/icons/CircleFilledIcon.d.ts +12 -0
- package/dist/icons/CircleFilledIcon.js +11 -0
- package/dist/icons/CircleFilledIcon.js.map +1 -0
- package/dist/icons/ClearIcon.d.ts +12 -0
- package/dist/icons/ClearIcon.js +23 -0
- package/dist/icons/ClearIcon.js.map +1 -0
- package/dist/icons/CloseCircleFilledIcon.d.ts +12 -0
- package/dist/icons/CloseCircleFilledIcon.js +11 -0
- package/dist/icons/CloseCircleFilledIcon.js.map +1 -0
- package/dist/icons/CloseCircleIcon.d.ts +12 -0
- package/dist/icons/CloseCircleIcon.js +11 -0
- package/dist/icons/CloseCircleIcon.js.map +1 -0
- package/dist/icons/CloseIcon.d.ts +12 -0
- package/dist/icons/CloseIcon.js +11 -0
- package/dist/icons/CloseIcon.js.map +1 -0
- package/dist/icons/CodeIcon.d.ts +12 -0
- package/dist/icons/CodeIcon.js +11 -0
- package/dist/icons/CodeIcon.js.map +1 -0
- package/dist/icons/ColumnTotalIcon.d.ts +12 -0
- package/dist/icons/ColumnTotalIcon.js +27 -0
- package/dist/icons/ColumnTotalIcon.js.map +1 -0
- package/dist/icons/CopyIcon.d.ts +12 -0
- package/dist/icons/CopyIcon.js +11 -0
- package/dist/icons/CopyIcon.js.map +1 -0
- package/dist/icons/CountIcon.d.ts +12 -0
- package/dist/icons/CountIcon.js +23 -0
- package/dist/icons/CountIcon.js.map +1 -0
- package/dist/icons/CubeIcon.d.ts +12 -0
- package/dist/icons/CubeIcon.js +23 -0
- package/dist/icons/CubeIcon.js.map +1 -0
- package/dist/icons/CubePauseIcon.d.ts +12 -0
- package/dist/icons/CubePauseIcon.js +23 -0
- package/dist/icons/CubePauseIcon.js.map +1 -0
- package/dist/icons/CubePlayIcon.d.ts +12 -0
- package/dist/icons/CubePlayIcon.js +23 -0
- package/dist/icons/CubePlayIcon.js.map +1 -0
- package/dist/icons/CurrencyDollarIcon.d.ts +12 -0
- package/dist/icons/CurrencyDollarIcon.js +23 -0
- package/dist/icons/CurrencyDollarIcon.js.map +1 -0
- package/dist/icons/DangerIcon.d.ts +12 -0
- package/dist/icons/DangerIcon.js +11 -0
- package/dist/icons/DangerIcon.js.map +1 -0
- package/dist/icons/DashboardIcon.d.ts +12 -0
- package/dist/icons/DashboardIcon.js +11 -0
- package/dist/icons/DashboardIcon.js.map +1 -0
- package/dist/icons/DatabaseIcon.d.ts +12 -0
- package/dist/icons/DatabaseIcon.js +11 -0
- package/dist/icons/DatabaseIcon.js.map +1 -0
- package/dist/icons/DecimalDecreaseIcon.d.ts +12 -0
- package/dist/icons/DecimalDecreaseIcon.js +23 -0
- package/dist/icons/DecimalDecreaseIcon.js.map +1 -0
- package/dist/icons/DecimalIncreaseIcon.d.ts +12 -0
- package/dist/icons/DecimalIncreaseIcon.js +23 -0
- package/dist/icons/DecimalIncreaseIcon.js.map +1 -0
- package/dist/icons/DirectionIcon.d.ts +17 -0
- package/dist/icons/DirectionIcon.js +58 -0
- package/dist/icons/DirectionIcon.js.map +1 -0
- package/dist/icons/DonutIcon.d.ts +12 -0
- package/dist/icons/DonutIcon.js +11 -0
- package/dist/icons/DonutIcon.js.map +1 -0
- package/dist/icons/DownIcon.d.ts +12 -0
- package/dist/icons/DownIcon.js +11 -0
- package/dist/icons/DownIcon.js.map +1 -0
- package/dist/icons/EditIcon.d.ts +12 -0
- package/dist/icons/EditIcon.js +11 -0
- package/dist/icons/EditIcon.js.map +1 -0
- package/dist/icons/ExclamationCircleFilledIcon.d.ts +12 -0
- package/dist/icons/ExclamationCircleFilledIcon.js +11 -0
- package/dist/icons/ExclamationCircleFilledIcon.js.map +1 -0
- package/dist/icons/ExclamationCircleIcon.d.ts +12 -0
- package/dist/icons/ExclamationCircleIcon.js +11 -0
- package/dist/icons/ExclamationCircleIcon.js.map +1 -0
- package/dist/icons/ExclamationIcon.d.ts +12 -0
- package/dist/icons/ExclamationIcon.js +11 -0
- package/dist/icons/ExclamationIcon.js.map +1 -0
- package/dist/icons/EyeIcon.d.ts +12 -0
- package/dist/icons/EyeIcon.js +11 -0
- package/dist/icons/EyeIcon.js.map +1 -0
- package/dist/icons/EyeInvisibleIcon.d.ts +12 -0
- package/dist/icons/EyeInvisibleIcon.js +11 -0
- package/dist/icons/EyeInvisibleIcon.js.map +1 -0
- package/dist/icons/FilterIcon.d.ts +12 -0
- package/dist/icons/FilterIcon.js +11 -0
- package/dist/icons/FilterIcon.js.map +1 -0
- package/dist/icons/FolderFilledIcon.d.ts +12 -0
- package/dist/icons/FolderFilledIcon.js +20 -0
- package/dist/icons/FolderFilledIcon.js.map +1 -0
- package/dist/icons/FolderIcon.d.ts +12 -0
- package/dist/icons/FolderIcon.js +32 -0
- package/dist/icons/FolderIcon.js.map +1 -0
- package/dist/icons/FolderOpenFilledIcon.d.ts +12 -0
- package/dist/icons/FolderOpenFilledIcon.js +20 -0
- package/dist/icons/FolderOpenFilledIcon.js.map +1 -0
- package/dist/icons/FolderOpenIcon.d.ts +12 -0
- package/dist/icons/FolderOpenIcon.js +23 -0
- package/dist/icons/FolderOpenIcon.js.map +1 -0
- package/dist/icons/ForwardIcon.d.ts +12 -0
- package/dist/icons/ForwardIcon.js +11 -0
- package/dist/icons/ForwardIcon.js.map +1 -0
- package/dist/icons/HierarchyIcon.d.ts +12 -0
- package/dist/icons/HierarchyIcon.js +23 -0
- package/dist/icons/HierarchyIcon.js.map +1 -0
- package/dist/icons/HierarchyOpenIcon.d.ts +12 -0
- package/dist/icons/HierarchyOpenIcon.js +20 -0
- package/dist/icons/HierarchyOpenIcon.js.map +1 -0
- package/dist/icons/Icon.d.ts +18 -0
- package/dist/icons/Icon.js +56 -0
- package/dist/icons/Icon.js.map +1 -0
- package/dist/icons/InfoCircleIcon.d.ts +12 -0
- package/dist/icons/InfoCircleIcon.js +11 -0
- package/dist/icons/InfoCircleIcon.js.map +1 -0
- package/dist/icons/InfoIcon.d.ts +12 -0
- package/dist/icons/InfoIcon.js +11 -0
- package/dist/icons/InfoIcon.js.map +1 -0
- package/dist/icons/KeyIcon.d.ts +12 -0
- package/dist/icons/KeyIcon.js +11 -0
- package/dist/icons/KeyIcon.js.map +1 -0
- package/dist/icons/LeftIcon.d.ts +12 -0
- package/dist/icons/LeftIcon.js +11 -0
- package/dist/icons/LeftIcon.js.map +1 -0
- package/dist/icons/LineChartIcon.d.ts +12 -0
- package/dist/icons/LineChartIcon.js +11 -0
- package/dist/icons/LineChartIcon.js.map +1 -0
- package/dist/icons/LoadingIcon.d.ts +12 -0
- package/dist/icons/LoadingIcon.js +33 -0
- package/dist/icons/LoadingIcon.js.map +1 -0
- package/dist/icons/LockFilledIcon.d.ts +12 -0
- package/dist/icons/LockFilledIcon.js +11 -0
- package/dist/icons/LockFilledIcon.js.map +1 -0
- package/dist/icons/LockIcon.d.ts +12 -0
- package/dist/icons/LockIcon.js +11 -0
- package/dist/icons/LockIcon.js.map +1 -0
- package/dist/icons/MoreIcon.d.ts +12 -0
- package/dist/icons/MoreIcon.js +11 -0
- package/dist/icons/MoreIcon.js.map +1 -0
- package/dist/icons/NotAllowedIcon.d.ts +12 -0
- package/dist/icons/NotAllowedIcon.js +11 -0
- package/dist/icons/NotAllowedIcon.js.map +1 -0
- package/dist/icons/Number123Icon.d.ts +12 -0
- package/dist/icons/Number123Icon.js +23 -0
- package/dist/icons/Number123Icon.js.map +1 -0
- package/dist/icons/NumberIcon.d.ts +12 -0
- package/dist/icons/NumberIcon.js +11 -0
- package/dist/icons/NumberIcon.js.map +1 -0
- package/dist/icons/PauseCircleFilledIcon.d.ts +12 -0
- package/dist/icons/PauseCircleFilledIcon.js +20 -0
- package/dist/icons/PauseCircleFilledIcon.js.map +1 -0
- package/dist/icons/PauseCircleIcon.d.ts +12 -0
- package/dist/icons/PauseCircleIcon.js +23 -0
- package/dist/icons/PauseCircleIcon.js.map +1 -0
- package/dist/icons/PauseIcon.d.ts +12 -0
- package/dist/icons/PauseIcon.js +11 -0
- package/dist/icons/PauseIcon.js.map +1 -0
- package/dist/icons/PercentageIcon.d.ts +12 -0
- package/dist/icons/PercentageIcon.js +23 -0
- package/dist/icons/PercentageIcon.js.map +1 -0
- package/dist/icons/PieChartIcon.d.ts +12 -0
- package/dist/icons/PieChartIcon.js +11 -0
- package/dist/icons/PieChartIcon.js.map +1 -0
- package/dist/icons/PlayCircleIcon.d.ts +12 -0
- package/dist/icons/PlayCircleIcon.js +11 -0
- package/dist/icons/PlayCircleIcon.js.map +1 -0
- package/dist/icons/PlayIcon.d.ts +12 -0
- package/dist/icons/PlayIcon.js +11 -0
- package/dist/icons/PlayIcon.js.map +1 -0
- package/dist/icons/PlusIcon.d.ts +12 -0
- package/dist/icons/PlusIcon.js +11 -0
- package/dist/icons/PlusIcon.js.map +1 -0
- package/dist/icons/ProgressBarIcon.d.ts +12 -0
- package/dist/icons/ProgressBarIcon.js +23 -0
- package/dist/icons/ProgressBarIcon.js.map +1 -0
- package/dist/icons/ReloadIcon.d.ts +12 -0
- package/dist/icons/ReloadIcon.js +11 -0
- package/dist/icons/ReloadIcon.js.map +1 -0
- package/dist/icons/ReportIcon.d.ts +12 -0
- package/dist/icons/ReportIcon.js +11 -0
- package/dist/icons/ReportIcon.js.map +1 -0
- package/dist/icons/ReturnIcon.d.ts +12 -0
- package/dist/icons/ReturnIcon.js +11 -0
- package/dist/icons/ReturnIcon.js.map +1 -0
- package/dist/icons/RightIcon.d.ts +12 -0
- package/dist/icons/RightIcon.js +11 -0
- package/dist/icons/RightIcon.js.map +1 -0
- package/dist/icons/RowTotalsIcon.d.ts +12 -0
- package/dist/icons/RowTotalsIcon.js +27 -0
- package/dist/icons/RowTotalsIcon.js.map +1 -0
- package/dist/icons/SchemeIcon.d.ts +12 -0
- package/dist/icons/SchemeIcon.js +11 -0
- package/dist/icons/SchemeIcon.js.map +1 -0
- package/dist/icons/SearchIcon.d.ts +12 -0
- package/dist/icons/SearchIcon.js +11 -0
- package/dist/icons/SearchIcon.js.map +1 -0
- package/dist/icons/SemanticQueryIcon.d.ts +12 -0
- package/dist/icons/SemanticQueryIcon.js +32 -0
- package/dist/icons/SemanticQueryIcon.js.map +1 -0
- package/dist/icons/SettingsIcon.d.ts +12 -0
- package/dist/icons/SettingsIcon.js +11 -0
- package/dist/icons/SettingsIcon.js.map +1 -0
- package/dist/icons/ShieldFilledIcon.d.ts +12 -0
- package/dist/icons/ShieldFilledIcon.js +11 -0
- package/dist/icons/ShieldFilledIcon.js.map +1 -0
- package/dist/icons/ShieldIcon.d.ts +12 -0
- package/dist/icons/ShieldIcon.js +11 -0
- package/dist/icons/ShieldIcon.js.map +1 -0
- package/dist/icons/SlashIcon.d.ts +12 -0
- package/dist/icons/SlashIcon.js +11 -0
- package/dist/icons/SlashIcon.js.map +1 -0
- package/dist/icons/SparklesIcon.d.ts +12 -0
- package/dist/icons/SparklesIcon.js +11 -0
- package/dist/icons/SparklesIcon.js.map +1 -0
- package/dist/icons/SqlIcon.d.ts +12 -0
- package/dist/icons/SqlIcon.js +11 -0
- package/dist/icons/SqlIcon.js.map +1 -0
- package/dist/icons/StatsIcon.d.ts +12 -0
- package/dist/icons/StatsIcon.js +23 -0
- package/dist/icons/StatsIcon.js.map +1 -0
- package/dist/icons/StopIcon.d.ts +12 -0
- package/dist/icons/StopIcon.js +11 -0
- package/dist/icons/StopIcon.js.map +1 -0
- package/dist/icons/StringIcon.d.ts +12 -0
- package/dist/icons/StringIcon.js +30 -0
- package/dist/icons/StringIcon.js.map +1 -0
- package/dist/icons/SubtotalsIcon.d.ts +12 -0
- package/dist/icons/SubtotalsIcon.js +27 -0
- package/dist/icons/SubtotalsIcon.js.map +1 -0
- package/dist/icons/SwitchIcon.d.ts +12 -0
- package/dist/icons/SwitchIcon.js +11 -0
- package/dist/icons/SwitchIcon.js.map +1 -0
- package/dist/icons/TableIcon.d.ts +12 -0
- package/dist/icons/TableIcon.js +11 -0
- package/dist/icons/TableIcon.js.map +1 -0
- package/dist/icons/ThumbsDownIcon.d.ts +12 -0
- package/dist/icons/ThumbsDownIcon.js +11 -0
- package/dist/icons/ThumbsDownIcon.js.map +1 -0
- package/dist/icons/ThumbsUpIcon.d.ts +12 -0
- package/dist/icons/ThumbsUpIcon.js +11 -0
- package/dist/icons/ThumbsUpIcon.js.map +1 -0
- package/dist/icons/ThunderboltCrossedIcon.d.ts +12 -0
- package/dist/icons/ThunderboltCrossedIcon.js +11 -0
- package/dist/icons/ThunderboltCrossedIcon.js.map +1 -0
- package/dist/icons/ThunderboltFilledIcon.d.ts +12 -0
- package/dist/icons/ThunderboltFilledIcon.js +11 -0
- package/dist/icons/ThunderboltFilledIcon.js.map +1 -0
- package/dist/icons/ThunderboltIcon.d.ts +12 -0
- package/dist/icons/ThunderboltIcon.js +11 -0
- package/dist/icons/ThunderboltIcon.js.map +1 -0
- package/dist/icons/TimeIcon.d.ts +12 -0
- package/dist/icons/TimeIcon.js +11 -0
- package/dist/icons/TimeIcon.js.map +1 -0
- package/dist/icons/TrashIcon.d.ts +12 -0
- package/dist/icons/TrashIcon.js +11 -0
- package/dist/icons/TrashIcon.js.map +1 -0
- package/dist/icons/UnlockIcon.d.ts +12 -0
- package/dist/icons/UnlockIcon.js +11 -0
- package/dist/icons/UnlockIcon.js.map +1 -0
- package/dist/icons/UpIcon.d.ts +12 -0
- package/dist/icons/UpIcon.js +11 -0
- package/dist/icons/UpIcon.js.map +1 -0
- package/dist/icons/UserGroupIcon.d.ts +12 -0
- package/dist/icons/UserGroupIcon.js +30 -0
- package/dist/icons/UserGroupIcon.js.map +1 -0
- package/dist/icons/UserIcon.d.ts +12 -0
- package/dist/icons/UserIcon.js +30 -0
- package/dist/icons/UserIcon.js.map +1 -0
- package/dist/icons/UserLockIcon.d.ts +12 -0
- package/dist/icons/UserLockIcon.js +23 -0
- package/dist/icons/UserLockIcon.js.map +1 -0
- package/dist/icons/ViewIcon.d.ts +12 -0
- package/dist/icons/ViewIcon.js +23 -0
- package/dist/icons/ViewIcon.js.map +1 -0
- package/dist/icons/WarningFilledIcon.d.ts +12 -0
- package/dist/icons/WarningFilledIcon.js +11 -0
- package/dist/icons/WarningFilledIcon.js.map +1 -0
- package/dist/icons/WarningIcon.d.ts +12 -0
- package/dist/icons/WarningIcon.js +11 -0
- package/dist/icons/WarningIcon.js.map +1 -0
- package/dist/icons/index.d.ts +129 -0
- package/dist/icons/wrap-icon.d.ts +13 -0
- package/dist/icons/wrap-icon.js +21 -0
- package/dist/icons/wrap-icon.js.map +1 -0
- package/dist/index.d.ts +388 -0
- package/dist/index.js +342 -0
- package/dist/index.js.map +1 -0
- package/dist/injector/injector.js +401 -0
- package/dist/injector/injector.js.map +1 -0
- package/dist/injector/sheet-manager.js +715 -0
- package/dist/injector/sheet-manager.js.map +1 -0
- package/dist/injector/types.d.ts +19 -0
- package/dist/keyframes/index.js +157 -0
- package/dist/keyframes/index.js.map +1 -0
- package/dist/node_modules/.pnpm/csstype@3.1.2/node_modules/csstype/index.d.ts +629 -0
- package/dist/parser/classify.js +325 -0
- package/dist/parser/classify.js.map +1 -0
- package/dist/parser/const.js +34 -0
- package/dist/parser/const.js.map +1 -0
- package/dist/parser/lru.js +110 -0
- package/dist/parser/lru.js.map +1 -0
- package/dist/parser/parser.js +117 -0
- package/dist/parser/parser.js.map +1 -0
- package/dist/parser/tokenizer.js +70 -0
- package/dist/parser/tokenizer.js.map +1 -0
- package/dist/parser/types.d.ts +38 -0
- package/dist/parser/types.js +47 -0
- package/dist/parser/types.js.map +1 -0
- package/dist/pipeline/conditions.js +378 -0
- package/dist/pipeline/conditions.js.map +1 -0
- package/dist/pipeline/exclusive.js +232 -0
- package/dist/pipeline/exclusive.js.map +1 -0
- package/dist/pipeline/index.js +633 -0
- package/dist/pipeline/index.js.map +1 -0
- package/dist/pipeline/materialize.js +822 -0
- package/dist/pipeline/materialize.js.map +1 -0
- package/dist/pipeline/parseStateKey.js +422 -0
- package/dist/pipeline/parseStateKey.js.map +1 -0
- package/dist/pipeline/simplify.js +558 -0
- package/dist/pipeline/simplify.js.map +1 -0
- package/dist/plugins/okhsl-plugin.js +344 -0
- package/dist/plugins/okhsl-plugin.js.map +1 -0
- package/dist/plugins/types.d.ts +52 -0
- package/dist/properties/index.js +142 -0
- package/dist/properties/index.js.map +1 -0
- package/dist/provider.d.ts +23 -0
- package/dist/provider.js +53 -0
- package/dist/provider.js.map +1 -0
- package/dist/providers/TrackingProvider.d.ts +11 -0
- package/dist/providers/TrackingProvider.js +21 -0
- package/dist/providers/TrackingProvider.js.map +1 -0
- package/dist/providers/navigation.types.d.ts +29 -0
- package/dist/providers/navigationAdapter.default.d.ts +12 -0
- package/dist/providers/navigationAdapter.default.js +38 -0
- package/dist/providers/navigationAdapter.default.js.map +1 -0
- package/dist/shared/form.d.ts +114 -0
- package/dist/shared/index.d.ts +10 -0
- package/dist/states/index.js +162 -0
- package/dist/states/index.js.map +1 -0
- package/dist/styles/align.js +15 -0
- package/dist/styles/align.js.map +1 -0
- package/dist/styles/border.js +115 -0
- package/dist/styles/border.js.map +1 -0
- package/dist/styles/color.js +24 -0
- package/dist/styles/color.js.map +1 -0
- package/dist/styles/createStyle.js +78 -0
- package/dist/styles/createStyle.js.map +1 -0
- package/dist/styles/dimension.js +100 -0
- package/dist/styles/dimension.js.map +1 -0
- package/dist/styles/display.js +68 -0
- package/dist/styles/display.js.map +1 -0
- package/dist/styles/fade.js +58 -0
- package/dist/styles/fade.js.map +1 -0
- package/dist/styles/fill.js +52 -0
- package/dist/styles/fill.js.map +1 -0
- package/dist/styles/flow.js +13 -0
- package/dist/styles/flow.js.map +1 -0
- package/dist/styles/gap.js +37 -0
- package/dist/styles/gap.js.map +1 -0
- package/dist/styles/height.js +21 -0
- package/dist/styles/height.js.map +1 -0
- package/dist/styles/index.js +10 -0
- package/dist/styles/index.js.map +1 -0
- package/dist/styles/inset.js +143 -0
- package/dist/styles/inset.js.map +1 -0
- package/dist/styles/justify.js +15 -0
- package/dist/styles/justify.js.map +1 -0
- package/dist/styles/margin.js +97 -0
- package/dist/styles/margin.js.map +1 -0
- package/dist/styles/outline.js +66 -0
- package/dist/styles/outline.js.map +1 -0
- package/dist/styles/padding.js +97 -0
- package/dist/styles/padding.js.map +1 -0
- package/dist/styles/predefined.js +233 -0
- package/dist/styles/predefined.js.map +1 -0
- package/dist/styles/preset.js +126 -0
- package/dist/styles/preset.js.map +1 -0
- package/dist/styles/radius.js +52 -0
- package/dist/styles/radius.js.map +1 -0
- package/dist/styles/scrollbar.js +109 -0
- package/dist/styles/scrollbar.js.map +1 -0
- package/dist/styles/shadow.js +28 -0
- package/dist/styles/shadow.js.map +1 -0
- package/dist/styles/styledScrollbar.js +39 -0
- package/dist/styles/styledScrollbar.js.map +1 -0
- package/dist/styles/transition.js +139 -0
- package/dist/styles/transition.js.map +1 -0
- package/dist/styles/types.d.ts +495 -0
- package/dist/styles/width.js +21 -0
- package/dist/styles/width.js.map +1 -0
- package/dist/tasty/chunks/cacheKey.js +71 -0
- package/dist/tasty/chunks/cacheKey.js.map +1 -0
- package/dist/tasty/chunks/definitions.d.ts +38 -0
- package/dist/tasty/chunks/definitions.js +261 -0
- package/dist/tasty/chunks/definitions.js.map +1 -0
- package/dist/tasty/chunks/renderChunk.js +68 -0
- package/dist/tasty/chunks/renderChunk.js.map +1 -0
- package/dist/tasty/config.d.ts +283 -0
- package/dist/tasty/config.js +401 -0
- package/dist/tasty/config.js.map +1 -0
- package/dist/tasty/debug.d.ts +200 -0
- package/dist/tasty/debug.js +734 -0
- package/dist/tasty/debug.js.map +1 -0
- package/dist/tasty/hooks/useGlobalStyles.d.ts +28 -0
- package/dist/tasty/hooks/useGlobalStyles.js +57 -0
- package/dist/tasty/hooks/useGlobalStyles.js.map +1 -0
- package/dist/tasty/hooks/useKeyframes.d.ts +57 -0
- package/dist/tasty/hooks/useKeyframes.js +55 -0
- package/dist/tasty/hooks/useKeyframes.js.map +1 -0
- package/dist/tasty/hooks/useProperty.d.ts +80 -0
- package/dist/tasty/hooks/useProperty.js +92 -0
- package/dist/tasty/hooks/useProperty.js.map +1 -0
- package/dist/tasty/hooks/useRawCSS.d.ts +54 -0
- package/dist/tasty/hooks/useRawCSS.js +29 -0
- package/dist/tasty/hooks/useRawCSS.js.map +1 -0
- package/dist/tasty/hooks/useStyles.d.ts +41 -0
- package/dist/tasty/hooks/useStyles.js +170 -0
- package/dist/tasty/hooks/useStyles.js.map +1 -0
- package/dist/tasty/index.d.ts +35 -0
- package/dist/tasty/injector/index.d.ts +158 -0
- package/dist/tasty/injector/index.js +155 -0
- package/dist/tasty/injector/index.js.map +1 -0
- package/dist/tasty/injector/injector.d.ts +137 -0
- package/dist/tasty/injector/injector.js +401 -0
- package/dist/tasty/injector/injector.js.map +1 -0
- package/dist/tasty/injector/sheet-manager.d.ts +128 -0
- package/dist/tasty/injector/sheet-manager.js +715 -0
- package/dist/tasty/injector/sheet-manager.js.map +1 -0
- package/dist/tasty/injector/types.d.ts +136 -0
- package/dist/tasty/keyframes/index.js +207 -0
- package/dist/tasty/keyframes/index.js.map +1 -0
- package/dist/tasty/parser/classify.js +325 -0
- package/dist/tasty/parser/classify.js.map +1 -0
- package/dist/tasty/parser/const.js +34 -0
- package/dist/tasty/parser/const.js.map +1 -0
- package/dist/tasty/parser/lru.js +110 -0
- package/dist/tasty/parser/lru.js.map +1 -0
- package/dist/tasty/parser/parser.d.ts +26 -0
- package/dist/tasty/parser/parser.js +117 -0
- package/dist/tasty/parser/parser.js.map +1 -0
- package/dist/tasty/parser/tokenizer.js +70 -0
- package/dist/tasty/parser/tokenizer.js.map +1 -0
- package/dist/tasty/parser/types.d.ts +47 -0
- package/dist/tasty/parser/types.js +47 -0
- package/dist/tasty/parser/types.js.map +1 -0
- package/dist/tasty/pipeline/conditions.js +378 -0
- package/dist/tasty/pipeline/conditions.js.map +1 -0
- package/dist/tasty/pipeline/exclusive.js +232 -0
- package/dist/tasty/pipeline/exclusive.js.map +1 -0
- package/dist/tasty/pipeline/index.d.ts +52 -0
- package/dist/tasty/pipeline/index.js +639 -0
- package/dist/tasty/pipeline/index.js.map +1 -0
- package/dist/tasty/pipeline/materialize.js +822 -0
- package/dist/tasty/pipeline/materialize.js.map +1 -0
- package/dist/tasty/pipeline/parseStateKey.js +422 -0
- package/dist/tasty/pipeline/parseStateKey.js.map +1 -0
- package/dist/tasty/pipeline/simplify.js +558 -0
- package/dist/tasty/pipeline/simplify.js.map +1 -0
- package/dist/tasty/plugins/okhsl-plugin.d.ts +36 -0
- package/dist/tasty/plugins/okhsl-plugin.js +370 -0
- package/dist/tasty/plugins/okhsl-plugin.js.map +1 -0
- package/dist/tasty/plugins/types.d.ts +72 -0
- package/dist/tasty/properties/index.js +159 -0
- package/dist/tasty/properties/index.js.map +1 -0
- package/dist/tasty/states/index.d.ts +44 -0
- package/dist/tasty/states/index.js +390 -0
- package/dist/tasty/states/index.js.map +1 -0
- package/dist/tasty/static/index.d.ts +6 -0
- package/dist/tasty/static/index.js +6 -0
- package/dist/tasty/static/tastyStatic.d.ts +47 -0
- package/dist/tasty/static/tastyStatic.js +32 -0
- package/dist/tasty/static/tastyStatic.js.map +1 -0
- package/dist/tasty/static/types.d.ts +50 -0
- package/dist/tasty/static/types.js +25 -0
- package/dist/tasty/static/types.js.map +1 -0
- package/dist/tasty/styles/align.d.ts +16 -0
- package/dist/tasty/styles/align.js +15 -0
- package/dist/tasty/styles/align.js.map +1 -0
- package/dist/tasty/styles/border.d.ts +26 -0
- package/dist/tasty/styles/border.js +115 -0
- package/dist/tasty/styles/border.js.map +1 -0
- package/dist/tasty/styles/color.d.ts +15 -0
- package/dist/tasty/styles/color.js +24 -0
- package/dist/tasty/styles/color.js.map +1 -0
- package/dist/tasty/styles/createStyle.js +78 -0
- package/dist/tasty/styles/createStyle.js.map +1 -0
- package/dist/tasty/styles/dimension.js +100 -0
- package/dist/tasty/styles/dimension.js.map +1 -0
- package/dist/tasty/styles/display.d.ts +38 -0
- package/dist/tasty/styles/display.js +68 -0
- package/dist/tasty/styles/display.js.map +1 -0
- package/dist/tasty/styles/fade.d.ts +16 -0
- package/dist/tasty/styles/fade.js +58 -0
- package/dist/tasty/styles/fade.js.map +1 -0
- package/dist/tasty/styles/fill.d.ts +45 -0
- package/dist/tasty/styles/fill.js +52 -0
- package/dist/tasty/styles/fill.js.map +1 -0
- package/dist/tasty/styles/flow.d.ts +17 -0
- package/dist/tasty/styles/flow.js +13 -0
- package/dist/tasty/styles/flow.js.map +1 -0
- package/dist/tasty/styles/gap.d.ts +32 -0
- package/dist/tasty/styles/gap.js +37 -0
- package/dist/tasty/styles/gap.js.map +1 -0
- package/dist/tasty/styles/height.d.ts +18 -0
- package/dist/tasty/styles/height.js +21 -0
- package/dist/tasty/styles/height.js.map +1 -0
- package/dist/tasty/styles/index.d.ts +3 -0
- package/dist/tasty/styles/index.js +10 -0
- package/dist/tasty/styles/index.js.map +1 -0
- package/dist/tasty/styles/inset.d.ts +51 -0
- package/dist/tasty/styles/inset.js +143 -0
- package/dist/tasty/styles/inset.js.map +1 -0
- package/dist/tasty/styles/justify.d.ts +16 -0
- package/dist/tasty/styles/justify.js +15 -0
- package/dist/tasty/styles/justify.js.map +1 -0
- package/dist/tasty/styles/list.d.ts +17 -0
- package/dist/tasty/styles/list.js +99 -0
- package/dist/tasty/styles/list.js.map +1 -0
- package/dist/tasty/styles/margin.d.ts +29 -0
- package/dist/tasty/styles/margin.js +97 -0
- package/dist/tasty/styles/margin.js.map +1 -0
- package/dist/tasty/styles/outline.d.ts +30 -0
- package/dist/tasty/styles/outline.js +66 -0
- package/dist/tasty/styles/outline.js.map +1 -0
- package/dist/tasty/styles/padding.d.ts +29 -0
- package/dist/tasty/styles/padding.js +97 -0
- package/dist/tasty/styles/padding.js.map +1 -0
- package/dist/tasty/styles/predefined.d.ts +74 -0
- package/dist/tasty/styles/predefined.js +242 -0
- package/dist/tasty/styles/predefined.js.map +1 -0
- package/dist/tasty/styles/preset.d.ts +48 -0
- package/dist/tasty/styles/preset.js +126 -0
- package/dist/tasty/styles/preset.js.map +1 -0
- package/dist/tasty/styles/radius.d.ts +15 -0
- package/dist/tasty/styles/radius.js +52 -0
- package/dist/tasty/styles/radius.js.map +1 -0
- package/dist/tasty/styles/scrollbar.d.ts +22 -0
- package/dist/tasty/styles/scrollbar.js +109 -0
- package/dist/tasty/styles/scrollbar.js.map +1 -0
- package/dist/tasty/styles/shadow.d.ts +15 -0
- package/dist/tasty/styles/shadow.js +28 -0
- package/dist/tasty/styles/shadow.js.map +1 -0
- package/dist/tasty/styles/styledScrollbar.d.ts +48 -0
- package/dist/tasty/styles/styledScrollbar.js +39 -0
- package/dist/tasty/styles/styledScrollbar.js.map +1 -0
- package/dist/tasty/styles/transition.d.ts +15 -0
- package/dist/tasty/styles/transition.js +139 -0
- package/dist/tasty/styles/transition.js.map +1 -0
- package/dist/tasty/styles/types.d.ts +499 -0
- package/dist/tasty/styles/width.d.ts +18 -0
- package/dist/tasty/styles/width.js +21 -0
- package/dist/tasty/styles/width.js.map +1 -0
- package/dist/tasty/tasty.d.ts +936 -0
- package/dist/tasty/tasty.js +191 -0
- package/dist/tasty/tasty.js.map +1 -0
- package/dist/tasty/types.d.ts +192 -0
- package/dist/tasty/utils/cache-wrapper.js +25 -0
- package/dist/tasty/utils/cache-wrapper.js.map +1 -0
- package/dist/tasty/utils/case-converter.js +9 -0
- package/dist/tasty/utils/case-converter.js.map +1 -0
- package/dist/tasty/utils/colors.d.ts +6 -0
- package/dist/tasty/utils/colors.js +10 -0
- package/dist/tasty/utils/colors.js.map +1 -0
- package/dist/tasty/utils/dotize.d.ts +27 -0
- package/dist/tasty/utils/dotize.js +123 -0
- package/dist/tasty/utils/dotize.js.map +1 -0
- package/dist/tasty/utils/filter-base-props.d.ts +16 -0
- package/dist/tasty/utils/filter-base-props.js +46 -0
- package/dist/tasty/utils/filter-base-props.js.map +1 -0
- package/dist/tasty/utils/get-display-name.d.ts +8 -0
- package/dist/tasty/utils/get-display-name.js +11 -0
- package/dist/tasty/utils/get-display-name.js.map +1 -0
- package/dist/tasty/utils/hsl-to-rgb.js +39 -0
- package/dist/tasty/utils/hsl-to-rgb.js.map +1 -0
- package/dist/tasty/utils/is-dev-env.js +20 -0
- package/dist/tasty/utils/is-dev-env.js.map +1 -0
- package/dist/tasty/utils/merge-styles.d.ts +8 -0
- package/dist/tasty/utils/merge-styles.js +147 -0
- package/dist/tasty/utils/merge-styles.js.map +1 -0
- package/dist/tasty/utils/mod-attrs.d.ts +9 -0
- package/dist/tasty/utils/mod-attrs.js +22 -0
- package/dist/tasty/utils/mod-attrs.js.map +1 -0
- package/dist/tasty/utils/okhsl-to-rgb.js +297 -0
- package/dist/tasty/utils/okhsl-to-rgb.js.map +1 -0
- package/dist/tasty/utils/process-tokens.d.ts +32 -0
- package/dist/tasty/utils/process-tokens.js +172 -0
- package/dist/tasty/utils/process-tokens.js.map +1 -0
- package/dist/tasty/utils/resolve-recipes.d.ts +18 -0
- package/dist/tasty/utils/resolve-recipes.js +144 -0
- package/dist/tasty/utils/resolve-recipes.js.map +1 -0
- package/dist/tasty/utils/string.js +9 -0
- package/dist/tasty/utils/string.js.map +1 -0
- package/dist/tasty/utils/styles.d.ts +204 -0
- package/dist/tasty/utils/styles.js +577 -0
- package/dist/tasty/utils/styles.js.map +1 -0
- package/dist/tasty/utils/typography.d.ts +37 -0
- package/dist/tasty/utils/typography.js +54 -0
- package/dist/tasty/utils/typography.js.map +1 -0
- package/dist/tasty/utils/warnings.d.ts +17 -0
- package/dist/tasty/utils/warnings.js +17 -0
- package/dist/tasty/utils/warnings.js.map +1 -0
- package/dist/tasty/zero/babel.d.ts +111 -0
- package/dist/tasty/zero/babel.js +283 -0
- package/dist/tasty/zero/babel.js.map +1 -0
- package/dist/tasty/zero/index.d.ts +4 -0
- package/dist/tasty/zero/index.js +5 -0
- package/dist/tasty/zero/next.d.ts +61 -0
- package/dist/tasty/zero/next.js +79 -0
- package/dist/tasty/zero/next.js.map +1 -0
- package/dist/tokens/base.d.ts +14 -0
- package/dist/tokens/base.js +40 -0
- package/dist/tokens/base.js.map +1 -0
- package/dist/tokens/colors.d.ts +13 -0
- package/dist/tokens/colors.js +90 -0
- package/dist/tokens/colors.js.map +1 -0
- package/dist/tokens/index.d.ts +30 -0
- package/dist/tokens/index.js +54 -0
- package/dist/tokens/index.js.map +1 -0
- package/dist/tokens/layout.d.ts +13 -0
- package/dist/tokens/layout.js +18 -0
- package/dist/tokens/layout.js.map +1 -0
- package/dist/tokens/shadows.d.ts +18 -0
- package/dist/tokens/shadows.js +22 -0
- package/dist/tokens/shadows.js.map +1 -0
- package/dist/tokens/sizes.d.ts +31 -0
- package/dist/tokens/sizes.js +39 -0
- package/dist/tokens/sizes.js.map +1 -0
- package/dist/tokens/spacing.d.ts +14 -0
- package/dist/tokens/spacing.js +19 -0
- package/dist/tokens/spacing.js.map +1 -0
- package/dist/tokens/typography.d.ts +35 -0
- package/dist/tokens/typography.js +238 -0
- package/dist/tokens/typography.js.map +1 -0
- package/dist/utils/ResizeSensor.d.ts +14 -0
- package/dist/utils/ResizeSensor.js +241 -0
- package/dist/utils/ResizeSensor.js.map +1 -0
- package/dist/utils/cache-wrapper.js +25 -0
- package/dist/utils/cache-wrapper.js.map +1 -0
- package/dist/utils/case-converter.js +9 -0
- package/dist/utils/case-converter.js.map +1 -0
- package/dist/utils/hsl-to-rgb.js +39 -0
- package/dist/utils/hsl-to-rgb.js.map +1 -0
- package/dist/utils/index.d.ts +27 -0
- package/dist/utils/is-dev-env.js +20 -0
- package/dist/utils/is-dev-env.js.map +1 -0
- package/dist/utils/merge-styles.js +147 -0
- package/dist/utils/merge-styles.js.map +1 -0
- package/dist/utils/modules.d.ts +6 -0
- package/dist/utils/modules.js +9 -0
- package/dist/utils/modules.js.map +1 -0
- package/dist/utils/okhsl-to-rgb.js +297 -0
- package/dist/utils/okhsl-to-rgb.js.map +1 -0
- package/dist/utils/process-tokens.js +29 -0
- package/dist/utils/process-tokens.js.map +1 -0
- package/dist/utils/promise.d.ts +6 -0
- package/dist/utils/promise.js +11 -0
- package/dist/utils/promise.js.map +1 -0
- package/dist/utils/raf.d.ts +22 -0
- package/dist/utils/raf.js +41 -0
- package/dist/utils/raf.js.map +1 -0
- package/dist/utils/random.d.ts +10 -0
- package/dist/utils/random.js +17 -0
- package/dist/utils/random.js.map +1 -0
- package/dist/utils/range.d.ts +6 -0
- package/dist/utils/range.js +9 -0
- package/dist/utils/range.js.map +1 -0
- package/dist/utils/react/RenderCache.d.ts +23 -0
- package/dist/utils/react/RenderCache.js +30 -0
- package/dist/utils/react/RenderCache.js.map +1 -0
- package/dist/utils/react/Slots.d.ts +10 -0
- package/dist/utils/react/Slots.js +40 -0
- package/dist/utils/react/Slots.js.map +1 -0
- package/dist/utils/react/chain.d.ts +9 -0
- package/dist/utils/react/chain.js +14 -0
- package/dist/utils/react/chain.js.map +1 -0
- package/dist/utils/react/forwardRefWithGenerics.d.ts +33 -0
- package/dist/utils/react/forwardRefWithGenerics.js +33 -0
- package/dist/utils/react/forwardRefWithGenerics.js.map +1 -0
- package/dist/utils/react/index.d.ts +19 -0
- package/dist/utils/react/interactions.js +24 -0
- package/dist/utils/react/interactions.js.map +1 -0
- package/dist/utils/react/isTextOnly.d.ts +6 -0
- package/dist/utils/react/isTextOnly.js +11 -0
- package/dist/utils/react/isTextOnly.js.map +1 -0
- package/dist/utils/react/mapProps.js +14 -0
- package/dist/utils/react/mapProps.js.map +1 -0
- package/dist/utils/react/mergeProps.d.ts +17 -0
- package/dist/utils/react/mergeProps.js +34 -0
- package/dist/utils/react/mergeProps.js.map +1 -0
- package/dist/utils/react/nullableValue.d.ts +12 -0
- package/dist/utils/react/nullableValue.js +29 -0
- package/dist/utils/react/nullableValue.js.map +1 -0
- package/dist/utils/react/resolveIcon.d.ts +30 -0
- package/dist/utils/react/resolveIcon.js +41 -0
- package/dist/utils/react/resolveIcon.js.map +1 -0
- package/dist/utils/react/sharedStore.js +38 -0
- package/dist/utils/react/sharedStore.js.map +1 -0
- package/dist/utils/react/useCombinedRefs.d.ts +9 -0
- package/dist/utils/react/useCombinedRefs.js +24 -0
- package/dist/utils/react/useCombinedRefs.js.map +1 -0
- package/dist/utils/react/useControlledFocusVisible.d.ts +15 -0
- package/dist/utils/react/useControlledFocusVisible.js +34 -0
- package/dist/utils/react/useControlledFocusVisible.js.map +1 -0
- package/dist/utils/react/useEventBus.d.ts +92 -0
- package/dist/utils/react/useEventBus.js +125 -0
- package/dist/utils/react/useEventBus.js.map +1 -0
- package/dist/utils/react/useId.js +56 -0
- package/dist/utils/react/useId.js.map +1 -0
- package/dist/utils/react/useIsDarwin.js +36 -0
- package/dist/utils/react/useIsDarwin.js.map +1 -0
- package/dist/utils/react/useKeySymbols.js +68 -0
- package/dist/utils/react/useKeySymbols.js.map +1 -0
- package/dist/utils/react/useLayoutEffect.d.ts +8 -0
- package/dist/utils/react/useLayoutEffect.js +9 -0
- package/dist/utils/react/useLayoutEffect.js.map +1 -0
- package/dist/utils/react/useLocalStorage.d.ts +37 -0
- package/dist/utils/react/useLocalStorage.js +100 -0
- package/dist/utils/react/useLocalStorage.js.map +1 -0
- package/dist/utils/react/useMergeStyles.d.ts +32 -0
- package/dist/utils/react/useMergeStyles.js +39 -0
- package/dist/utils/react/useMergeStyles.js.map +1 -0
- package/dist/utils/react/useQaProps.d.ts +23 -0
- package/dist/utils/react/useQaProps.js +31 -0
- package/dist/utils/react/useQaProps.js.map +1 -0
- package/dist/utils/react/useViewportSize.d.ts +13 -0
- package/dist/utils/react/useViewportSize.js +36 -0
- package/dist/utils/react/useViewportSize.js.map +1 -0
- package/dist/utils/react/wrapNodeIfPlain.d.ts +8 -0
- package/dist/utils/react/wrapNodeIfPlain.js +14 -0
- package/dist/utils/react/wrapNodeIfPlain.js.map +1 -0
- package/dist/utils/resolve-recipes.js +144 -0
- package/dist/utils/resolve-recipes.js.map +1 -0
- package/dist/utils/string.js +9 -0
- package/dist/utils/string.js.map +1 -0
- package/dist/utils/styles.d.ts +23 -0
- package/dist/utils/styles.js +338 -0
- package/dist/utils/styles.js.map +1 -0
- package/dist/utils/tree.d.ts +6 -0
- package/dist/utils/tree.js +17 -0
- package/dist/utils/tree.js.map +1 -0
- package/dist/utils/warnings.d.ts +6 -0
- package/dist/utils/warnings.js +30 -0
- package/dist/utils/warnings.js.map +1 -0
- package/dist/version.d.ts +12 -0
- package/dist/version.js +13 -0
- package/dist/version.js.map +1 -0
- package/package.json +146 -38
- package/CHANGELOG.md +0 -3265
- 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 -89
- package/es/components/overlays/Notifications/NotificationAction.js +0 -82
- 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 -346
- package/es/components/overlays/Notifications/OverlayProvider.js +0 -69
- package/es/components/overlays/Notifications/PersistentNotificationsList.js +0 -120
- 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 -239
- package/es/components/overlays/Notifications/use-notifications.js +0 -175
- package/es/components/overlays/Notifications/use-overlay-timers.js +0 -141
- package/es/components/overlays/Notifications/use-persistent-notifications.js +0 -63
- package/es/components/overlays/Notifications/use-persistent-state.js +0 -85
- 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 -32
- 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 -19
- 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 -154
- package/types/components/overlays/Notifications/use-notification-state.d.ts +0 -23
- 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 -23
- 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/{tasty.config.ts → dist/tasty.config.ts} +0 -0
|
@@ -0,0 +1,558 @@
|
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.115.0 | Cube Dev Team */
|
|
2
|
+
import { Lru } from "../parser/lru.js";
|
|
3
|
+
import { falseCondition, getConditionUniqueId, trueCondition } from "./conditions.js";
|
|
4
|
+
|
|
5
|
+
//#region src/tasty/pipeline/simplify.ts
|
|
6
|
+
/**
|
|
7
|
+
* Condition Simplification Engine
|
|
8
|
+
*
|
|
9
|
+
* Simplifies condition trees by applying boolean algebra rules,
|
|
10
|
+
* detecting contradictions, merging ranges, and deduplicating terms.
|
|
11
|
+
*
|
|
12
|
+
* This is critical for:
|
|
13
|
+
* 1. Detecting invalid combinations (A & !A → FALSE)
|
|
14
|
+
* 2. Reducing CSS output size
|
|
15
|
+
* 3. Producing cleaner selectors
|
|
16
|
+
*/
|
|
17
|
+
const simplifyCache = new Lru(5e3);
|
|
18
|
+
/**
|
|
19
|
+
* Simplify a condition tree aggressively.
|
|
20
|
+
*
|
|
21
|
+
* This applies all possible simplification rules:
|
|
22
|
+
* - Boolean algebra (identity, annihilator, idempotent, absorption)
|
|
23
|
+
* - Contradiction detection (A & !A → FALSE)
|
|
24
|
+
* - Tautology detection (A | !A → TRUE)
|
|
25
|
+
* - Range intersection for numeric queries
|
|
26
|
+
* - Attribute value conflict detection
|
|
27
|
+
* - Deduplication and sorting
|
|
28
|
+
*/
|
|
29
|
+
function simplifyCondition(node) {
|
|
30
|
+
const key = getConditionUniqueId(node);
|
|
31
|
+
const cached = simplifyCache.get(key);
|
|
32
|
+
if (cached) return cached;
|
|
33
|
+
const result = simplifyInner(node);
|
|
34
|
+
simplifyCache.set(key, result);
|
|
35
|
+
return result;
|
|
36
|
+
}
|
|
37
|
+
function simplifyInner(node) {
|
|
38
|
+
if (node.kind === "true" || node.kind === "false") return node;
|
|
39
|
+
if (node.kind === "state") return node;
|
|
40
|
+
if (node.kind === "compound") {
|
|
41
|
+
const simplifiedChildren = node.children.map((c) => simplifyInner(c));
|
|
42
|
+
if (node.operator === "AND") return simplifyAnd(simplifiedChildren);
|
|
43
|
+
else return simplifyOr(simplifiedChildren);
|
|
44
|
+
}
|
|
45
|
+
return node;
|
|
46
|
+
}
|
|
47
|
+
function simplifyAnd(children) {
|
|
48
|
+
let terms = [];
|
|
49
|
+
for (const child of children) {
|
|
50
|
+
if (child.kind === "false") return falseCondition();
|
|
51
|
+
if (child.kind === "true") continue;
|
|
52
|
+
if (child.kind === "compound" && child.operator === "AND") terms.push(...child.children);
|
|
53
|
+
else terms.push(child);
|
|
54
|
+
}
|
|
55
|
+
if (terms.length === 0) return trueCondition();
|
|
56
|
+
if (terms.length === 1) return terms[0];
|
|
57
|
+
if (hasContradiction(terms)) return falseCondition();
|
|
58
|
+
if (hasRangeContradiction(terms)) return falseCondition();
|
|
59
|
+
if (hasAttributeConflict(terms)) return falseCondition();
|
|
60
|
+
if (hasContainerStyleConflict(terms)) return falseCondition();
|
|
61
|
+
terms = removeImpliedNegations(terms);
|
|
62
|
+
terms = deduplicateTerms(terms);
|
|
63
|
+
terms = mergeRanges(terms);
|
|
64
|
+
terms = sortTerms(terms);
|
|
65
|
+
terms = applyAbsorptionAnd(terms);
|
|
66
|
+
if (terms.length === 0) return trueCondition();
|
|
67
|
+
if (terms.length === 1) return terms[0];
|
|
68
|
+
return {
|
|
69
|
+
kind: "compound",
|
|
70
|
+
operator: "AND",
|
|
71
|
+
children: terms
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
function simplifyOr(children) {
|
|
75
|
+
let terms = [];
|
|
76
|
+
for (const child of children) {
|
|
77
|
+
if (child.kind === "true") return trueCondition();
|
|
78
|
+
if (child.kind === "false") continue;
|
|
79
|
+
if (child.kind === "compound" && child.operator === "OR") terms.push(...child.children);
|
|
80
|
+
else terms.push(child);
|
|
81
|
+
}
|
|
82
|
+
if (terms.length === 0) return falseCondition();
|
|
83
|
+
if (terms.length === 1) return terms[0];
|
|
84
|
+
if (hasTautology(terms)) return trueCondition();
|
|
85
|
+
terms = deduplicateTerms(terms);
|
|
86
|
+
terms = sortTerms(terms);
|
|
87
|
+
terms = applyAbsorptionOr(terms);
|
|
88
|
+
if (terms.length === 0) return falseCondition();
|
|
89
|
+
if (terms.length === 1) return terms[0];
|
|
90
|
+
return {
|
|
91
|
+
kind: "compound",
|
|
92
|
+
operator: "OR",
|
|
93
|
+
children: terms
|
|
94
|
+
};
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* Check if any term contradicts another (A & !A)
|
|
98
|
+
*/
|
|
99
|
+
function hasContradiction(terms) {
|
|
100
|
+
const uniqueIds = /* @__PURE__ */ new Set();
|
|
101
|
+
for (const term of terms) {
|
|
102
|
+
if (term.kind !== "state") continue;
|
|
103
|
+
const id = term.uniqueId;
|
|
104
|
+
const negatedId = term.negated ? id.slice(1) : `!${id}`;
|
|
105
|
+
if (uniqueIds.has(negatedId)) return true;
|
|
106
|
+
uniqueIds.add(id);
|
|
107
|
+
}
|
|
108
|
+
return false;
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* Check for tautologies (A | !A)
|
|
112
|
+
*/
|
|
113
|
+
function hasTautology(terms) {
|
|
114
|
+
const uniqueIds = /* @__PURE__ */ new Set();
|
|
115
|
+
for (const term of terms) {
|
|
116
|
+
if (term.kind !== "state") continue;
|
|
117
|
+
const id = term.uniqueId;
|
|
118
|
+
const negatedId = term.negated ? id.slice(1) : `!${id}`;
|
|
119
|
+
if (uniqueIds.has(negatedId)) return true;
|
|
120
|
+
uniqueIds.add(id);
|
|
121
|
+
}
|
|
122
|
+
return false;
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* Check for range contradictions in media/container queries
|
|
126
|
+
* e.g., @media(w < 400px) & @media(w > 800px) → FALSE
|
|
127
|
+
*
|
|
128
|
+
* Also handles negated conditions:
|
|
129
|
+
* - Single-bound negations are inverted (not (w < 600px) → w >= 600px)
|
|
130
|
+
* - Range negations create excluded ranges that are checked against positive bounds
|
|
131
|
+
*/
|
|
132
|
+
function hasRangeContradiction(terms) {
|
|
133
|
+
const mediaByDim = /* @__PURE__ */ new Map();
|
|
134
|
+
const containerByDim = /* @__PURE__ */ new Map();
|
|
135
|
+
for (const term of terms) {
|
|
136
|
+
if (term.kind !== "state") continue;
|
|
137
|
+
if (term.type === "media" && term.subtype === "dimension") {
|
|
138
|
+
const key = term.dimension || "width";
|
|
139
|
+
if (!mediaByDim.has(key)) mediaByDim.set(key, {
|
|
140
|
+
positive: [],
|
|
141
|
+
negated: []
|
|
142
|
+
});
|
|
143
|
+
const group = mediaByDim.get(key);
|
|
144
|
+
if (term.negated) group.negated.push(term);
|
|
145
|
+
else group.positive.push(term);
|
|
146
|
+
}
|
|
147
|
+
if (term.type === "container" && term.subtype === "dimension") {
|
|
148
|
+
const key = `${term.containerName || "_"}:${term.dimension || "width"}`;
|
|
149
|
+
if (!containerByDim.has(key)) containerByDim.set(key, {
|
|
150
|
+
positive: [],
|
|
151
|
+
negated: []
|
|
152
|
+
});
|
|
153
|
+
const group = containerByDim.get(key);
|
|
154
|
+
if (term.negated) group.negated.push(term);
|
|
155
|
+
else group.positive.push(term);
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
for (const group of mediaByDim.values()) if (rangesAreImpossibleWithNegations(group.positive, group.negated)) return true;
|
|
159
|
+
for (const group of containerByDim.values()) if (rangesAreImpossibleWithNegations(group.positive, group.negated)) return true;
|
|
160
|
+
return false;
|
|
161
|
+
}
|
|
162
|
+
/**
|
|
163
|
+
* Check if conditions are impossible, including negated conditions.
|
|
164
|
+
*
|
|
165
|
+
* For negated single-bound conditions:
|
|
166
|
+
* not (w < 600px) → w >= 600px (inverted to lower bound)
|
|
167
|
+
* not (w >= 800px) → w < 800px (inverted to upper bound)
|
|
168
|
+
*
|
|
169
|
+
* For negated range conditions:
|
|
170
|
+
* not (400px <= w < 800px) → excludes [400, 800)
|
|
171
|
+
* If the effective bounds fall entirely within an excluded range, it's impossible.
|
|
172
|
+
*/
|
|
173
|
+
function rangesAreImpossibleWithNegations(positive, negated) {
|
|
174
|
+
const bounds = computeEffectiveBounds(positive);
|
|
175
|
+
const excludedRanges = [];
|
|
176
|
+
for (const cond of negated) {
|
|
177
|
+
const hasLower = cond.lowerBound?.valueNumeric != null;
|
|
178
|
+
const hasUpper = cond.upperBound?.valueNumeric != null;
|
|
179
|
+
if (hasLower && hasUpper) excludedRanges.push({
|
|
180
|
+
lower: cond.lowerBound.valueNumeric,
|
|
181
|
+
lowerInclusive: cond.lowerBound.inclusive,
|
|
182
|
+
upper: cond.upperBound.valueNumeric,
|
|
183
|
+
upperInclusive: cond.upperBound.inclusive
|
|
184
|
+
});
|
|
185
|
+
else if (hasUpper) {
|
|
186
|
+
const value = cond.upperBound.valueNumeric;
|
|
187
|
+
const inclusive = !cond.upperBound.inclusive;
|
|
188
|
+
if (bounds.lowerBound === null || value > bounds.lowerBound) {
|
|
189
|
+
bounds.lowerBound = value;
|
|
190
|
+
bounds.lowerInclusive = inclusive;
|
|
191
|
+
} else if (value === bounds.lowerBound && !inclusive) bounds.lowerInclusive = false;
|
|
192
|
+
} else if (hasLower) {
|
|
193
|
+
const value = cond.lowerBound.valueNumeric;
|
|
194
|
+
const inclusive = !cond.lowerBound.inclusive;
|
|
195
|
+
if (bounds.upperBound === null || value < bounds.upperBound) {
|
|
196
|
+
bounds.upperBound = value;
|
|
197
|
+
bounds.upperInclusive = inclusive;
|
|
198
|
+
} else if (value === bounds.upperBound && !inclusive) bounds.upperInclusive = false;
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
if (bounds.lowerBound !== null && bounds.upperBound !== null) {
|
|
202
|
+
if (bounds.lowerBound > bounds.upperBound) return true;
|
|
203
|
+
if (bounds.lowerBound === bounds.upperBound && (!bounds.lowerInclusive || !bounds.upperInclusive)) return true;
|
|
204
|
+
}
|
|
205
|
+
if (bounds.lowerBound !== null && bounds.upperBound !== null && excludedRanges.length > 0) {
|
|
206
|
+
for (const excluded of excludedRanges) if (boundsWithinExcludedRange(bounds, excluded)) return true;
|
|
207
|
+
}
|
|
208
|
+
return false;
|
|
209
|
+
}
|
|
210
|
+
/**
|
|
211
|
+
* Compute effective bounds from positive (non-negated) conditions
|
|
212
|
+
*/
|
|
213
|
+
function computeEffectiveBounds(conditions) {
|
|
214
|
+
let lowerBound = null;
|
|
215
|
+
let lowerInclusive = false;
|
|
216
|
+
let upperBound = null;
|
|
217
|
+
let upperInclusive = false;
|
|
218
|
+
for (const cond of conditions) {
|
|
219
|
+
if (cond.lowerBound?.valueNumeric != null) {
|
|
220
|
+
const value = cond.lowerBound.valueNumeric;
|
|
221
|
+
const inclusive = cond.lowerBound.inclusive;
|
|
222
|
+
if (lowerBound === null || value > lowerBound) {
|
|
223
|
+
lowerBound = value;
|
|
224
|
+
lowerInclusive = inclusive;
|
|
225
|
+
} else if (value === lowerBound && !inclusive) lowerInclusive = false;
|
|
226
|
+
}
|
|
227
|
+
if (cond.upperBound?.valueNumeric != null) {
|
|
228
|
+
const value = cond.upperBound.valueNumeric;
|
|
229
|
+
const inclusive = cond.upperBound.inclusive;
|
|
230
|
+
if (upperBound === null || value < upperBound) {
|
|
231
|
+
upperBound = value;
|
|
232
|
+
upperInclusive = inclusive;
|
|
233
|
+
} else if (value === upperBound && !inclusive) upperInclusive = false;
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
return {
|
|
237
|
+
lowerBound,
|
|
238
|
+
lowerInclusive,
|
|
239
|
+
upperBound,
|
|
240
|
+
upperInclusive
|
|
241
|
+
};
|
|
242
|
+
}
|
|
243
|
+
/**
|
|
244
|
+
* Check if effective bounds fall entirely within an excluded range.
|
|
245
|
+
*
|
|
246
|
+
* For example:
|
|
247
|
+
* Effective: [400, 800)
|
|
248
|
+
* Excluded: [400, 800)
|
|
249
|
+
* → bounds fall entirely within excluded range → impossible
|
|
250
|
+
*/
|
|
251
|
+
function boundsWithinExcludedRange(bounds, excluded) {
|
|
252
|
+
if (bounds.lowerBound === null || bounds.upperBound === null) return false;
|
|
253
|
+
let lowerOk = false;
|
|
254
|
+
if (bounds.lowerBound > excluded.lower) lowerOk = true;
|
|
255
|
+
else if (bounds.lowerBound === excluded.lower) lowerOk = excluded.lowerInclusive || !bounds.lowerInclusive;
|
|
256
|
+
let upperOk = false;
|
|
257
|
+
if (bounds.upperBound < excluded.upper) upperOk = true;
|
|
258
|
+
else if (bounds.upperBound === excluded.upper) upperOk = excluded.upperInclusive || !bounds.upperInclusive;
|
|
259
|
+
return lowerOk && upperOk;
|
|
260
|
+
}
|
|
261
|
+
/**
|
|
262
|
+
* Check for attribute value conflicts
|
|
263
|
+
* e.g., [data-theme="dark"] & [data-theme="light"] → FALSE
|
|
264
|
+
* e.g., [data-theme="dark"] & ![data-theme] → FALSE
|
|
265
|
+
*/
|
|
266
|
+
function hasAttributeConflict(terms) {
|
|
267
|
+
const modifiersByAttr = /* @__PURE__ */ new Map();
|
|
268
|
+
for (const term of terms) {
|
|
269
|
+
if (term.kind !== "state" || term.type !== "modifier") continue;
|
|
270
|
+
const attr = term.attribute;
|
|
271
|
+
if (!modifiersByAttr.has(attr)) modifiersByAttr.set(attr, {
|
|
272
|
+
positive: [],
|
|
273
|
+
negated: []
|
|
274
|
+
});
|
|
275
|
+
const group = modifiersByAttr.get(attr);
|
|
276
|
+
if (term.negated) group.negated.push(term);
|
|
277
|
+
else group.positive.push(term);
|
|
278
|
+
}
|
|
279
|
+
for (const [attr, group] of modifiersByAttr) {
|
|
280
|
+
const positiveValues = group.positive.filter((m) => m.value !== void 0).map((m) => m.value);
|
|
281
|
+
if (new Set(positiveValues).size > 1) return true;
|
|
282
|
+
const hasPositiveValue = group.positive.some((m) => m.value !== void 0);
|
|
283
|
+
const hasNegatedBoolean = group.negated.some((m) => m.value === void 0);
|
|
284
|
+
if (hasPositiveValue && hasNegatedBoolean) return true;
|
|
285
|
+
for (const pos of group.positive) if (pos.value !== void 0) {
|
|
286
|
+
for (const neg of group.negated) if (neg.value === pos.value) return true;
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
return false;
|
|
290
|
+
}
|
|
291
|
+
/**
|
|
292
|
+
* Check for container style query conflicts
|
|
293
|
+
* e.g., style(--variant: danger) & style(--variant: success) → FALSE
|
|
294
|
+
* e.g., style(--variant: danger) & not style(--variant) → FALSE
|
|
295
|
+
*/
|
|
296
|
+
function hasContainerStyleConflict(terms) {
|
|
297
|
+
const styleByProp = /* @__PURE__ */ new Map();
|
|
298
|
+
for (const term of terms) {
|
|
299
|
+
if (term.kind !== "state" || term.type !== "container" || term.subtype !== "style") continue;
|
|
300
|
+
const key = `${term.containerName || "_"}:${term.property}`;
|
|
301
|
+
if (!styleByProp.has(key)) styleByProp.set(key, {
|
|
302
|
+
positive: [],
|
|
303
|
+
negated: []
|
|
304
|
+
});
|
|
305
|
+
const group = styleByProp.get(key);
|
|
306
|
+
if (term.negated) group.negated.push(term);
|
|
307
|
+
else group.positive.push(term);
|
|
308
|
+
}
|
|
309
|
+
for (const [, group] of styleByProp) {
|
|
310
|
+
const positiveValues = group.positive.filter((c) => c.propertyValue !== void 0).map((c) => c.propertyValue);
|
|
311
|
+
if (new Set(positiveValues).size > 1) return true;
|
|
312
|
+
const hasPositiveValue = group.positive.some((c) => c.propertyValue !== void 0);
|
|
313
|
+
const hasNegatedExistence = group.negated.some((c) => c.propertyValue === void 0);
|
|
314
|
+
if (hasPositiveValue && hasNegatedExistence) return true;
|
|
315
|
+
for (const pos of group.positive) if (pos.propertyValue !== void 0) {
|
|
316
|
+
for (const neg of group.negated) if (neg.propertyValue === pos.propertyValue) return true;
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
return false;
|
|
320
|
+
}
|
|
321
|
+
/**
|
|
322
|
+
* Remove negations that are implied by positive terms.
|
|
323
|
+
*
|
|
324
|
+
* Key optimizations:
|
|
325
|
+
* 1. style(--variant: danger) implies NOT style(--variant: success)
|
|
326
|
+
* → If we have style(--variant: danger) & not style(--variant: success),
|
|
327
|
+
* the negation is redundant and can be removed.
|
|
328
|
+
*
|
|
329
|
+
* 2. [data-theme="dark"] implies NOT [data-theme="light"]
|
|
330
|
+
* → Same logic for attribute selectors.
|
|
331
|
+
*
|
|
332
|
+
* This produces cleaner CSS:
|
|
333
|
+
* Before: @container style(--variant: danger) and (not style(--variant: success))
|
|
334
|
+
* After: @container style(--variant: danger)
|
|
335
|
+
*/
|
|
336
|
+
function removeImpliedNegations(terms) {
|
|
337
|
+
const positiveContainerStyles = /* @__PURE__ */ new Map();
|
|
338
|
+
const positiveModifiers = /* @__PURE__ */ new Map();
|
|
339
|
+
for (const term of terms) {
|
|
340
|
+
if (term.kind !== "state" || term.negated) continue;
|
|
341
|
+
if (term.type === "container" && term.subtype === "style") {
|
|
342
|
+
const key = `${term.containerName || "_"}:${term.property}`;
|
|
343
|
+
if (term.propertyValue !== void 0) positiveContainerStyles.set(key, term.propertyValue);
|
|
344
|
+
}
|
|
345
|
+
if (term.type === "modifier" && term.value !== void 0) positiveModifiers.set(term.attribute, term.value);
|
|
346
|
+
}
|
|
347
|
+
return terms.filter((term) => {
|
|
348
|
+
if (term.kind !== "state" || !term.negated) return true;
|
|
349
|
+
if (term.type === "container" && term.subtype === "style") {
|
|
350
|
+
const key = `${term.containerName || "_"}:${term.property}`;
|
|
351
|
+
const positiveValue = positiveContainerStyles.get(key);
|
|
352
|
+
if (positiveValue !== void 0) {
|
|
353
|
+
if (term.propertyValue === void 0) return true;
|
|
354
|
+
if (term.propertyValue !== positiveValue) return false;
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
if (term.type === "modifier") {
|
|
358
|
+
const positiveValue = positiveModifiers.get(term.attribute);
|
|
359
|
+
if (positiveValue !== void 0 && term.value !== void 0) {
|
|
360
|
+
if (term.value !== positiveValue) return false;
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
return true;
|
|
364
|
+
});
|
|
365
|
+
}
|
|
366
|
+
function deduplicateTerms(terms) {
|
|
367
|
+
const seen = /* @__PURE__ */ new Set();
|
|
368
|
+
const result = [];
|
|
369
|
+
for (const term of terms) {
|
|
370
|
+
const id = getConditionUniqueId(term);
|
|
371
|
+
if (!seen.has(id)) {
|
|
372
|
+
seen.add(id);
|
|
373
|
+
result.push(term);
|
|
374
|
+
}
|
|
375
|
+
}
|
|
376
|
+
return result;
|
|
377
|
+
}
|
|
378
|
+
/**
|
|
379
|
+
* Merge compatible range conditions
|
|
380
|
+
* e.g., @media(w >= 400px) & @media(w <= 800px) → @media(400px <= w <= 800px)
|
|
381
|
+
*/
|
|
382
|
+
function mergeRanges(terms) {
|
|
383
|
+
const mediaByDim = /* @__PURE__ */ new Map();
|
|
384
|
+
const containerByDim = /* @__PURE__ */ new Map();
|
|
385
|
+
terms.forEach((term, index) => {
|
|
386
|
+
if (term.kind !== "state") return;
|
|
387
|
+
if (term.type === "media" && term.subtype === "dimension" && !term.negated) {
|
|
388
|
+
const key = term.dimension || "width";
|
|
389
|
+
if (!mediaByDim.has(key)) mediaByDim.set(key, {
|
|
390
|
+
conditions: [],
|
|
391
|
+
indices: []
|
|
392
|
+
});
|
|
393
|
+
const group = mediaByDim.get(key);
|
|
394
|
+
group.conditions.push(term);
|
|
395
|
+
group.indices.push(index);
|
|
396
|
+
}
|
|
397
|
+
if (term.type === "container" && term.subtype === "dimension" && !term.negated) {
|
|
398
|
+
const key = `${term.containerName || "_"}:${term.dimension || "width"}`;
|
|
399
|
+
if (!containerByDim.has(key)) containerByDim.set(key, {
|
|
400
|
+
conditions: [],
|
|
401
|
+
indices: []
|
|
402
|
+
});
|
|
403
|
+
const group = containerByDim.get(key);
|
|
404
|
+
group.conditions.push(term);
|
|
405
|
+
group.indices.push(index);
|
|
406
|
+
}
|
|
407
|
+
});
|
|
408
|
+
const indicesToRemove = /* @__PURE__ */ new Set();
|
|
409
|
+
const mergedTerms = [];
|
|
410
|
+
for (const [dim, group] of mediaByDim) if (group.conditions.length > 1) {
|
|
411
|
+
const merged = mergeMediaRanges(group.conditions);
|
|
412
|
+
if (merged) {
|
|
413
|
+
group.indices.forEach((i) => indicesToRemove.add(i));
|
|
414
|
+
mergedTerms.push(merged);
|
|
415
|
+
}
|
|
416
|
+
}
|
|
417
|
+
for (const [, group] of containerByDim) if (group.conditions.length > 1) {
|
|
418
|
+
const merged = mergeContainerRanges(group.conditions);
|
|
419
|
+
if (merged) {
|
|
420
|
+
group.indices.forEach((i) => indicesToRemove.add(i));
|
|
421
|
+
mergedTerms.push(merged);
|
|
422
|
+
}
|
|
423
|
+
}
|
|
424
|
+
const result = [];
|
|
425
|
+
terms.forEach((term, index) => {
|
|
426
|
+
if (!indicesToRemove.has(index)) result.push(term);
|
|
427
|
+
});
|
|
428
|
+
result.push(...mergedTerms);
|
|
429
|
+
return result;
|
|
430
|
+
}
|
|
431
|
+
function mergeMediaRanges(conditions) {
|
|
432
|
+
if (conditions.length === 0) return null;
|
|
433
|
+
let lowerBound;
|
|
434
|
+
let upperBound;
|
|
435
|
+
for (const cond of conditions) {
|
|
436
|
+
if (cond.lowerBound) {
|
|
437
|
+
if (!lowerBound || (cond.lowerBound.valueNumeric ?? -Infinity) > (lowerBound.valueNumeric ?? -Infinity)) lowerBound = cond.lowerBound;
|
|
438
|
+
}
|
|
439
|
+
if (cond.upperBound) {
|
|
440
|
+
if (!upperBound || (cond.upperBound.valueNumeric ?? Infinity) < (upperBound.valueNumeric ?? Infinity)) upperBound = cond.upperBound;
|
|
441
|
+
}
|
|
442
|
+
}
|
|
443
|
+
const base = conditions[0];
|
|
444
|
+
const merged = {
|
|
445
|
+
kind: "state",
|
|
446
|
+
type: "media",
|
|
447
|
+
subtype: "dimension",
|
|
448
|
+
negated: false,
|
|
449
|
+
raw: buildMergedRaw(base.dimension || "width", lowerBound, upperBound),
|
|
450
|
+
uniqueId: "",
|
|
451
|
+
dimension: base.dimension,
|
|
452
|
+
lowerBound,
|
|
453
|
+
upperBound
|
|
454
|
+
};
|
|
455
|
+
const parts = [
|
|
456
|
+
"media",
|
|
457
|
+
"dim",
|
|
458
|
+
merged.dimension
|
|
459
|
+
];
|
|
460
|
+
if (lowerBound) {
|
|
461
|
+
parts.push(lowerBound.inclusive ? ">=" : ">");
|
|
462
|
+
parts.push(lowerBound.value);
|
|
463
|
+
}
|
|
464
|
+
if (upperBound) {
|
|
465
|
+
parts.push(upperBound.inclusive ? "<=" : "<");
|
|
466
|
+
parts.push(upperBound.value);
|
|
467
|
+
}
|
|
468
|
+
merged.uniqueId = parts.join(":");
|
|
469
|
+
return merged;
|
|
470
|
+
}
|
|
471
|
+
function mergeContainerRanges(conditions) {
|
|
472
|
+
if (conditions.length === 0) return null;
|
|
473
|
+
let lowerBound;
|
|
474
|
+
let upperBound;
|
|
475
|
+
for (const cond of conditions) {
|
|
476
|
+
if (cond.lowerBound) {
|
|
477
|
+
if (!lowerBound || (cond.lowerBound.valueNumeric ?? -Infinity) > (lowerBound.valueNumeric ?? -Infinity)) lowerBound = cond.lowerBound;
|
|
478
|
+
}
|
|
479
|
+
if (cond.upperBound) {
|
|
480
|
+
if (!upperBound || (cond.upperBound.valueNumeric ?? Infinity) < (upperBound.valueNumeric ?? Infinity)) upperBound = cond.upperBound;
|
|
481
|
+
}
|
|
482
|
+
}
|
|
483
|
+
const base = conditions[0];
|
|
484
|
+
const merged = {
|
|
485
|
+
kind: "state",
|
|
486
|
+
type: "container",
|
|
487
|
+
subtype: "dimension",
|
|
488
|
+
negated: false,
|
|
489
|
+
raw: buildMergedRaw(base.dimension || "width", lowerBound, upperBound),
|
|
490
|
+
uniqueId: "",
|
|
491
|
+
containerName: base.containerName,
|
|
492
|
+
dimension: base.dimension,
|
|
493
|
+
lowerBound,
|
|
494
|
+
upperBound
|
|
495
|
+
};
|
|
496
|
+
const parts = [
|
|
497
|
+
"container",
|
|
498
|
+
"dim",
|
|
499
|
+
merged.containerName || "_",
|
|
500
|
+
merged.dimension
|
|
501
|
+
];
|
|
502
|
+
if (lowerBound) {
|
|
503
|
+
parts.push(lowerBound.inclusive ? ">=" : ">");
|
|
504
|
+
parts.push(lowerBound.value);
|
|
505
|
+
}
|
|
506
|
+
if (upperBound) {
|
|
507
|
+
parts.push(upperBound.inclusive ? "<=" : "<");
|
|
508
|
+
parts.push(upperBound.value);
|
|
509
|
+
}
|
|
510
|
+
merged.uniqueId = parts.join(":");
|
|
511
|
+
return merged;
|
|
512
|
+
}
|
|
513
|
+
function buildMergedRaw(dimension, lowerBound, upperBound) {
|
|
514
|
+
if (lowerBound && upperBound) {
|
|
515
|
+
const lowerOp = lowerBound.inclusive ? "<=" : "<";
|
|
516
|
+
const upperOp = upperBound.inclusive ? "<=" : "<";
|
|
517
|
+
return `@media(${lowerBound.value} ${lowerOp} ${dimension} ${upperOp} ${upperBound.value})`;
|
|
518
|
+
} else if (upperBound) return `@media(${dimension} ${upperBound.inclusive ? "<=" : "<"} ${upperBound.value})`;
|
|
519
|
+
else if (lowerBound) return `@media(${dimension} ${lowerBound.inclusive ? ">=" : ">"} ${lowerBound.value})`;
|
|
520
|
+
return "@media()";
|
|
521
|
+
}
|
|
522
|
+
function sortTerms(terms) {
|
|
523
|
+
return [...terms].sort((a, b) => {
|
|
524
|
+
const idA = getConditionUniqueId(a);
|
|
525
|
+
const idB = getConditionUniqueId(b);
|
|
526
|
+
return idA.localeCompare(idB);
|
|
527
|
+
});
|
|
528
|
+
}
|
|
529
|
+
/**
|
|
530
|
+
* Apply absorption law for AND: A & (A | B) → A
|
|
531
|
+
*/
|
|
532
|
+
function applyAbsorptionAnd(terms) {
|
|
533
|
+
const simpleIds = /* @__PURE__ */ new Set();
|
|
534
|
+
for (const term of terms) if (term.kind !== "compound") simpleIds.add(getConditionUniqueId(term));
|
|
535
|
+
return terms.filter((term) => {
|
|
536
|
+
if (term.kind === "compound" && term.operator === "OR") {
|
|
537
|
+
for (const child of term.children) if (simpleIds.has(getConditionUniqueId(child))) return false;
|
|
538
|
+
}
|
|
539
|
+
return true;
|
|
540
|
+
});
|
|
541
|
+
}
|
|
542
|
+
/**
|
|
543
|
+
* Apply absorption law for OR: A | (A & B) → A
|
|
544
|
+
*/
|
|
545
|
+
function applyAbsorptionOr(terms) {
|
|
546
|
+
const simpleIds = /* @__PURE__ */ new Set();
|
|
547
|
+
for (const term of terms) if (term.kind !== "compound") simpleIds.add(getConditionUniqueId(term));
|
|
548
|
+
return terms.filter((term) => {
|
|
549
|
+
if (term.kind === "compound" && term.operator === "AND") {
|
|
550
|
+
for (const child of term.children) if (simpleIds.has(getConditionUniqueId(child))) return false;
|
|
551
|
+
}
|
|
552
|
+
return true;
|
|
553
|
+
});
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
//#endregion
|
|
557
|
+
export { simplifyCondition };
|
|
558
|
+
//# sourceMappingURL=simplify.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"simplify.js","names":[],"sources":["../../src/tasty/pipeline/simplify.ts"],"sourcesContent":["/**\n * Condition Simplification Engine\n *\n * Simplifies condition trees by applying boolean algebra rules,\n * detecting contradictions, merging ranges, and deduplicating terms.\n *\n * This is critical for:\n * 1. Detecting invalid combinations (A & !A → FALSE)\n * 2. Reducing CSS output size\n * 3. Producing cleaner selectors\n */\n\nimport { Lru } from '../parser/lru';\n\nimport {\n and,\n ConditionNode,\n ContainerCondition,\n falseCondition,\n getConditionUniqueId,\n MediaCondition,\n ModifierCondition,\n not,\n NumericBound,\n or,\n StateCondition,\n trueCondition,\n} from './conditions';\n\n// ============================================================================\n// Caching\n// ============================================================================\n\nconst simplifyCache = new Lru<string, ConditionNode>(5000);\n\n// ============================================================================\n// Main Simplify Function\n// ============================================================================\n\n/**\n * Simplify a condition tree aggressively.\n *\n * This applies all possible simplification rules:\n * - Boolean algebra (identity, annihilator, idempotent, absorption)\n * - Contradiction detection (A & !A → FALSE)\n * - Tautology detection (A | !A → TRUE)\n * - Range intersection for numeric queries\n * - Attribute value conflict detection\n * - Deduplication and sorting\n */\nexport function simplifyCondition(node: ConditionNode): ConditionNode {\n // Check cache\n const key = getConditionUniqueId(node);\n const cached = simplifyCache.get(key);\n if (cached) {\n return cached;\n }\n\n const result = simplifyInner(node);\n\n // Cache result\n simplifyCache.set(key, result);\n\n return result;\n}\n\n/**\n * Clear the simplify cache (for testing)\n */\nexport function clearSimplifyCache(): void {\n simplifyCache.clear();\n}\n\n// ============================================================================\n// Inner Simplification\n// ============================================================================\n\nfunction simplifyInner(node: ConditionNode): ConditionNode {\n // Base cases\n if (node.kind === 'true' || node.kind === 'false') {\n return node;\n }\n\n // State conditions - return as-is (they're already leaf nodes)\n if (node.kind === 'state') {\n return node;\n }\n\n // Compound conditions - recursively simplify\n if (node.kind === 'compound') {\n // First, recursively simplify all children\n const simplifiedChildren = node.children.map((c) => simplifyInner(c));\n\n // Then apply compound-specific simplifications\n if (node.operator === 'AND') {\n return simplifyAnd(simplifiedChildren);\n } else {\n return simplifyOr(simplifiedChildren);\n }\n }\n\n return node;\n}\n\n// ============================================================================\n// AND Simplification\n// ============================================================================\n\nfunction simplifyAnd(children: ConditionNode[]): ConditionNode {\n let terms: ConditionNode[] = [];\n\n // Flatten nested ANDs and handle TRUE/FALSE\n for (const child of children) {\n if (child.kind === 'false') {\n // AND with FALSE → FALSE\n return falseCondition();\n }\n if (child.kind === 'true') {\n // AND with TRUE → skip (identity)\n continue;\n }\n if (child.kind === 'compound' && child.operator === 'AND') {\n // Flatten nested AND\n terms.push(...child.children);\n } else {\n terms.push(child);\n }\n }\n\n // Empty → TRUE\n if (terms.length === 0) {\n return trueCondition();\n }\n\n // Single term → return it\n if (terms.length === 1) {\n return terms[0];\n }\n\n // Check for contradictions\n if (hasContradiction(terms)) {\n return falseCondition();\n }\n\n // Check for range contradictions in media/container queries\n if (hasRangeContradiction(terms)) {\n return falseCondition();\n }\n\n // Check for attribute value conflicts\n if (hasAttributeConflict(terms)) {\n return falseCondition();\n }\n\n // Check for container style query conflicts\n if (hasContainerStyleConflict(terms)) {\n return falseCondition();\n }\n\n // Remove redundant negations implied by positive terms\n // e.g., style(--variant: danger) implies NOT style(--variant: success)\n // and style(--variant: danger) implies style(--variant) (existence)\n terms = removeImpliedNegations(terms);\n\n // Deduplicate (by uniqueId)\n terms = deduplicateTerms(terms);\n\n // Try to merge numeric ranges\n terms = mergeRanges(terms);\n\n // Sort for canonical form\n terms = sortTerms(terms);\n\n // Apply absorption: A & (A | B) → A\n terms = applyAbsorptionAnd(terms);\n\n if (terms.length === 0) {\n return trueCondition();\n }\n if (terms.length === 1) {\n return terms[0];\n }\n\n return {\n kind: 'compound',\n operator: 'AND',\n children: terms,\n };\n}\n\n// ============================================================================\n// OR Simplification\n// ============================================================================\n\nfunction simplifyOr(children: ConditionNode[]): ConditionNode {\n let terms: ConditionNode[] = [];\n\n // Flatten nested ORs and handle TRUE/FALSE\n for (const child of children) {\n if (child.kind === 'true') {\n // OR with TRUE → TRUE\n return trueCondition();\n }\n if (child.kind === 'false') {\n // OR with FALSE → skip (identity)\n continue;\n }\n if (child.kind === 'compound' && child.operator === 'OR') {\n // Flatten nested OR\n terms.push(...child.children);\n } else {\n terms.push(child);\n }\n }\n\n // Empty → FALSE\n if (terms.length === 0) {\n return falseCondition();\n }\n\n // Single term → return it\n if (terms.length === 1) {\n return terms[0];\n }\n\n // Check for tautologies (A | !A)\n if (hasTautology(terms)) {\n return trueCondition();\n }\n\n // Deduplicate\n terms = deduplicateTerms(terms);\n\n // Sort for canonical form\n terms = sortTerms(terms);\n\n // Apply absorption: A | (A & B) → A\n terms = applyAbsorptionOr(terms);\n\n if (terms.length === 0) {\n return falseCondition();\n }\n if (terms.length === 1) {\n return terms[0];\n }\n\n return {\n kind: 'compound',\n operator: 'OR',\n children: terms,\n };\n}\n\n// ============================================================================\n// Contradiction Detection\n// ============================================================================\n\n/**\n * Check if any term contradicts another (A & !A)\n */\nfunction hasContradiction(terms: ConditionNode[]): boolean {\n const uniqueIds = new Set<string>();\n\n for (const term of terms) {\n if (term.kind !== 'state') continue;\n\n const id = term.uniqueId;\n // Check if negation exists\n const negatedId = term.negated ? id.slice(1) : `!${id}`;\n\n if (uniqueIds.has(negatedId)) {\n return true;\n }\n uniqueIds.add(id);\n }\n\n return false;\n}\n\n/**\n * Check for tautologies (A | !A)\n */\nfunction hasTautology(terms: ConditionNode[]): boolean {\n const uniqueIds = new Set<string>();\n\n for (const term of terms) {\n if (term.kind !== 'state') continue;\n\n const id = term.uniqueId;\n const negatedId = term.negated ? id.slice(1) : `!${id}`;\n\n if (uniqueIds.has(negatedId)) {\n return true;\n }\n uniqueIds.add(id);\n }\n\n return false;\n}\n\n// ============================================================================\n// Range Contradiction Detection\n// ============================================================================\n\n/**\n * Effective bounds computed from conditions (including negated single-bound conditions)\n */\ninterface EffectiveBounds {\n lowerBound: number | null;\n lowerInclusive: boolean;\n upperBound: number | null;\n upperInclusive: boolean;\n}\n\n/**\n * Excluded range from a negated range condition\n */\ninterface ExcludedRange {\n lower: number;\n lowerInclusive: boolean;\n upper: number;\n upperInclusive: boolean;\n}\n\n/**\n * Check for range contradictions in media/container queries\n * e.g., @media(w < 400px) & @media(w > 800px) → FALSE\n *\n * Also handles negated conditions:\n * - Single-bound negations are inverted (not (w < 600px) → w >= 600px)\n * - Range negations create excluded ranges that are checked against positive bounds\n */\nfunction hasRangeContradiction(terms: ConditionNode[]): boolean {\n // Group by dimension, separating positive and negated conditions\n const mediaByDim = new Map<\n string,\n { positive: MediaCondition[]; negated: MediaCondition[] }\n >();\n const containerByDim = new Map<\n string,\n { positive: ContainerCondition[]; negated: ContainerCondition[] }\n >();\n\n for (const term of terms) {\n if (term.kind !== 'state') continue;\n\n if (term.type === 'media' && term.subtype === 'dimension') {\n const key = term.dimension || 'width';\n if (!mediaByDim.has(key)) {\n mediaByDim.set(key, { positive: [], negated: [] });\n }\n const group = mediaByDim.get(key)!;\n if (term.negated) {\n group.negated.push(term);\n } else {\n group.positive.push(term);\n }\n }\n\n if (term.type === 'container' && term.subtype === 'dimension') {\n const key = `${term.containerName || '_'}:${term.dimension || 'width'}`;\n if (!containerByDim.has(key)) {\n containerByDim.set(key, { positive: [], negated: [] });\n }\n const group = containerByDim.get(key)!;\n if (term.negated) {\n group.negated.push(term);\n } else {\n group.positive.push(term);\n }\n }\n }\n\n // Check each dimension group for impossible ranges\n for (const group of mediaByDim.values()) {\n if (rangesAreImpossibleWithNegations(group.positive, group.negated)) {\n return true;\n }\n }\n\n for (const group of containerByDim.values()) {\n if (rangesAreImpossibleWithNegations(group.positive, group.negated)) {\n return true;\n }\n }\n\n return false;\n}\n\n/**\n * Check if conditions are impossible, including negated conditions.\n *\n * For negated single-bound conditions:\n * not (w < 600px) → w >= 600px (inverted to lower bound)\n * not (w >= 800px) → w < 800px (inverted to upper bound)\n *\n * For negated range conditions:\n * not (400px <= w < 800px) → excludes [400, 800)\n * If the effective bounds fall entirely within an excluded range, it's impossible.\n */\nfunction rangesAreImpossibleWithNegations(\n positive: (MediaCondition | ContainerCondition)[],\n negated: (MediaCondition | ContainerCondition)[],\n): boolean {\n // Start with bounds from positive conditions\n const bounds = computeEffectiveBounds(positive);\n\n // Apply inverted bounds from single-bound negated conditions\n // and collect excluded ranges from range negated conditions\n const excludedRanges: ExcludedRange[] = [];\n\n for (const cond of negated) {\n const hasLower = cond.lowerBound?.valueNumeric != null;\n const hasUpper = cond.upperBound?.valueNumeric != null;\n\n if (hasLower && hasUpper) {\n // Range negation: not (lower <= w < upper) excludes [lower, upper)\n excludedRanges.push({\n lower: cond.lowerBound!.valueNumeric!,\n lowerInclusive: cond.lowerBound!.inclusive,\n upper: cond.upperBound!.valueNumeric!,\n upperInclusive: cond.upperBound!.inclusive,\n });\n } else if (hasUpper) {\n // not (w < upper) → w >= upper (becomes lower bound)\n // not (w <= upper) → w > upper (becomes lower bound, exclusive)\n const value = cond.upperBound!.valueNumeric!;\n const inclusive = !cond.upperBound!.inclusive; // flip inclusivity\n\n if (bounds.lowerBound === null || value > bounds.lowerBound) {\n bounds.lowerBound = value;\n bounds.lowerInclusive = inclusive;\n } else if (value === bounds.lowerBound && !inclusive) {\n bounds.lowerInclusive = false;\n }\n } else if (hasLower) {\n // not (w >= lower) → w < lower (becomes upper bound)\n // not (w > lower) → w <= lower (becomes upper bound, inclusive)\n const value = cond.lowerBound!.valueNumeric!;\n const inclusive = !cond.lowerBound!.inclusive; // flip inclusivity\n\n if (bounds.upperBound === null || value < bounds.upperBound) {\n bounds.upperBound = value;\n bounds.upperInclusive = inclusive;\n } else if (value === bounds.upperBound && !inclusive) {\n bounds.upperInclusive = false;\n }\n }\n }\n\n // Check if effective bounds are impossible on their own\n if (bounds.lowerBound !== null && bounds.upperBound !== null) {\n if (bounds.lowerBound > bounds.upperBound) {\n return true;\n }\n if (\n bounds.lowerBound === bounds.upperBound &&\n (!bounds.lowerInclusive || !bounds.upperInclusive)\n ) {\n return true;\n }\n }\n\n // Check if effective bounds fall entirely within any excluded range\n if (\n bounds.lowerBound !== null &&\n bounds.upperBound !== null &&\n excludedRanges.length > 0\n ) {\n for (const excluded of excludedRanges) {\n if (boundsWithinExcludedRange(bounds, excluded)) {\n return true;\n }\n }\n }\n\n return false;\n}\n\n/**\n * Compute effective bounds from positive (non-negated) conditions\n */\nfunction computeEffectiveBounds(\n conditions: (MediaCondition | ContainerCondition)[],\n): EffectiveBounds {\n let lowerBound: number | null = null;\n let lowerInclusive = false;\n let upperBound: number | null = null;\n let upperInclusive = false;\n\n for (const cond of conditions) {\n if (cond.lowerBound?.valueNumeric != null) {\n const value = cond.lowerBound.valueNumeric;\n const inclusive = cond.lowerBound.inclusive;\n\n if (lowerBound === null || value > lowerBound) {\n lowerBound = value;\n lowerInclusive = inclusive;\n } else if (value === lowerBound && !inclusive) {\n lowerInclusive = false;\n }\n }\n\n if (cond.upperBound?.valueNumeric != null) {\n const value = cond.upperBound.valueNumeric;\n const inclusive = cond.upperBound.inclusive;\n\n if (upperBound === null || value < upperBound) {\n upperBound = value;\n upperInclusive = inclusive;\n } else if (value === upperBound && !inclusive) {\n upperInclusive = false;\n }\n }\n }\n\n return { lowerBound, lowerInclusive, upperBound, upperInclusive };\n}\n\n/**\n * Check if effective bounds fall entirely within an excluded range.\n *\n * For example:\n * Effective: [400, 800)\n * Excluded: [400, 800)\n * → bounds fall entirely within excluded range → impossible\n */\nfunction boundsWithinExcludedRange(\n bounds: EffectiveBounds,\n excluded: ExcludedRange,\n): boolean {\n if (bounds.lowerBound === null || bounds.upperBound === null) {\n return false;\n }\n\n // Check if bounds.lower >= excluded.lower\n let lowerOk = false;\n if (bounds.lowerBound > excluded.lower) {\n lowerOk = true;\n } else if (bounds.lowerBound === excluded.lower) {\n // If excluded includes lower, and bounds includes or excludes lower, it's within\n // If excluded excludes lower, bounds must also exclude it to be within\n lowerOk = excluded.lowerInclusive || !bounds.lowerInclusive;\n }\n\n // Check if bounds.upper <= excluded.upper\n let upperOk = false;\n if (bounds.upperBound < excluded.upper) {\n upperOk = true;\n } else if (bounds.upperBound === excluded.upper) {\n // If excluded includes upper, and bounds includes or excludes upper, it's within\n // If excluded excludes upper, bounds must also exclude it to be within\n upperOk = excluded.upperInclusive || !bounds.upperInclusive;\n }\n\n return lowerOk && upperOk;\n}\n\n// ============================================================================\n// Attribute Conflict Detection\n// ============================================================================\n\n/**\n * Check for attribute value conflicts\n * e.g., [data-theme=\"dark\"] & [data-theme=\"light\"] → FALSE\n * e.g., [data-theme=\"dark\"] & ![data-theme] → FALSE\n */\nfunction hasAttributeConflict(terms: ConditionNode[]): boolean {\n // Group modifiers by attribute\n const modifiersByAttr = new Map<\n string,\n { positive: ModifierCondition[]; negated: ModifierCondition[] }\n >();\n\n for (const term of terms) {\n if (term.kind !== 'state' || term.type !== 'modifier') continue;\n\n const attr = term.attribute;\n if (!modifiersByAttr.has(attr)) {\n modifiersByAttr.set(attr, { positive: [], negated: [] });\n }\n\n const group = modifiersByAttr.get(attr)!;\n if (term.negated) {\n group.negated.push(term);\n } else {\n group.positive.push(term);\n }\n }\n\n // Check each attribute for conflicts\n for (const [attr, group] of modifiersByAttr) {\n // Multiple different values for same attribute in positive → conflict\n const positiveValues = group.positive\n .filter((m) => m.value !== undefined)\n .map((m) => m.value);\n const uniquePositiveValues = new Set(positiveValues);\n if (uniquePositiveValues.size > 1) {\n return true;\n }\n\n // Positive value + negated boolean for same attribute → conflict\n // e.g., [data-theme=\"dark\"] & ![data-theme]\n const hasPositiveValue = group.positive.some((m) => m.value !== undefined);\n const hasNegatedBoolean = group.negated.some((m) => m.value === undefined);\n if (hasPositiveValue && hasNegatedBoolean) {\n return true;\n }\n\n // Positive boolean + negated value (same value) → tautology not conflict\n // But positive value + negated same value → conflict\n for (const pos of group.positive) {\n if (pos.value !== undefined) {\n for (const neg of group.negated) {\n if (neg.value === pos.value) {\n return true; // [data-x=\"y\"] & ![data-x=\"y\"]\n }\n }\n }\n }\n }\n\n return false;\n}\n\n// ============================================================================\n// Container Style Query Conflict Detection\n// ============================================================================\n\n/**\n * Check for container style query conflicts\n * e.g., style(--variant: danger) & style(--variant: success) → FALSE\n * e.g., style(--variant: danger) & not style(--variant) → FALSE\n */\nfunction hasContainerStyleConflict(terms: ConditionNode[]): boolean {\n // Group container style queries by property (and container name)\n const styleByProp = new Map<\n string,\n { positive: ContainerCondition[]; negated: ContainerCondition[] }\n >();\n\n for (const term of terms) {\n if (\n term.kind !== 'state' ||\n term.type !== 'container' ||\n term.subtype !== 'style'\n )\n continue;\n\n const key = `${term.containerName || '_'}:${term.property}`;\n if (!styleByProp.has(key)) {\n styleByProp.set(key, { positive: [], negated: [] });\n }\n\n const group = styleByProp.get(key)!;\n if (term.negated) {\n group.negated.push(term);\n } else {\n group.positive.push(term);\n }\n }\n\n // Check each property for conflicts\n for (const [, group] of styleByProp) {\n // Multiple different values for same property in positive → conflict\n // e.g., style(--variant: danger) & style(--variant: success)\n const positiveValues = group.positive\n .filter((c) => c.propertyValue !== undefined)\n .map((c) => c.propertyValue);\n const uniquePositiveValues = new Set(positiveValues);\n if (uniquePositiveValues.size > 1) {\n return true;\n }\n\n // Positive value + negated existence → conflict\n // e.g., style(--variant: danger) & not style(--variant)\n const hasPositiveValue = group.positive.some(\n (c) => c.propertyValue !== undefined,\n );\n const hasNegatedExistence = group.negated.some(\n (c) => c.propertyValue === undefined,\n );\n if (hasPositiveValue && hasNegatedExistence) {\n return true;\n }\n\n // Positive value + negated same value → conflict\n // e.g., style(--variant: danger) & not style(--variant: danger)\n for (const pos of group.positive) {\n if (pos.propertyValue !== undefined) {\n for (const neg of group.negated) {\n if (neg.propertyValue === pos.propertyValue) {\n return true;\n }\n }\n }\n }\n }\n\n return false;\n}\n\n// ============================================================================\n// Implied Negation Removal\n// ============================================================================\n\n/**\n * Remove negations that are implied by positive terms.\n *\n * Key optimizations:\n * 1. style(--variant: danger) implies NOT style(--variant: success)\n * → If we have style(--variant: danger) & not style(--variant: success),\n * the negation is redundant and can be removed.\n *\n * 2. [data-theme=\"dark\"] implies NOT [data-theme=\"light\"]\n * → Same logic for attribute selectors.\n *\n * This produces cleaner CSS:\n * Before: @container style(--variant: danger) and (not style(--variant: success))\n * After: @container style(--variant: danger)\n */\nfunction removeImpliedNegations(terms: ConditionNode[]): ConditionNode[] {\n // Build sets of positive container style properties with specific values\n const positiveContainerStyles = new Map<string, string | undefined>();\n // key: \"containerName:property\", value: propertyValue (or undefined for existence)\n\n // Build sets of positive modifier attributes with specific values\n const positiveModifiers = new Map<string, string | undefined>();\n // key: \"attribute\", value: value (or undefined for boolean)\n\n for (const term of terms) {\n if (term.kind !== 'state' || term.negated) continue;\n\n if (term.type === 'container' && term.subtype === 'style') {\n const key = `${term.containerName || '_'}:${term.property}`;\n // Only track if we have a specific value (not just existence check)\n if (term.propertyValue !== undefined) {\n positiveContainerStyles.set(key, term.propertyValue);\n }\n }\n\n if (term.type === 'modifier' && term.value !== undefined) {\n positiveModifiers.set(term.attribute, term.value);\n }\n }\n\n // Filter out redundant negations\n return terms.filter((term) => {\n if (term.kind !== 'state' || !term.negated) return true;\n\n // Check container style negations\n if (term.type === 'container' && term.subtype === 'style') {\n const key = `${term.containerName || '_'}:${term.property}`;\n const positiveValue = positiveContainerStyles.get(key);\n\n if (positiveValue !== undefined) {\n // We have a positive style(--prop: X) for this property\n\n if (term.propertyValue === undefined) {\n // Negating existence: not style(--prop)\n // But we have style(--prop: X), which implies existence → contradiction\n // This should have been caught by hasContainerStyleConflict\n return true;\n }\n\n if (term.propertyValue !== positiveValue) {\n // Negating a different value: not style(--prop: Y)\n // We have style(--prop: X), which implies not style(--prop: Y)\n // → This negation is redundant!\n return false;\n }\n }\n }\n\n // Check modifier negations\n if (term.type === 'modifier') {\n const positiveValue = positiveModifiers.get(term.attribute);\n\n if (positiveValue !== undefined && term.value !== undefined) {\n // We have [attr=\"X\"] and this is not [attr=\"Y\"]\n if (term.value !== positiveValue) {\n // [attr=\"X\"] implies not [attr=\"Y\"] → redundant\n return false;\n }\n }\n }\n\n return true;\n });\n}\n\n// ============================================================================\n// Deduplication\n// ============================================================================\n\nfunction deduplicateTerms(terms: ConditionNode[]): ConditionNode[] {\n const seen = new Set<string>();\n const result: ConditionNode[] = [];\n\n for (const term of terms) {\n const id = getConditionUniqueId(term);\n if (!seen.has(id)) {\n seen.add(id);\n result.push(term);\n }\n }\n\n return result;\n}\n\n// ============================================================================\n// Range Merging\n// ============================================================================\n\n/**\n * Merge compatible range conditions\n * e.g., @media(w >= 400px) & @media(w <= 800px) → @media(400px <= w <= 800px)\n */\nfunction mergeRanges(terms: ConditionNode[]): ConditionNode[] {\n // Group media conditions by dimension\n const mediaByDim = new Map<\n string,\n { conditions: MediaCondition[]; indices: number[] }\n >();\n const containerByDim = new Map<\n string,\n { conditions: ContainerCondition[]; indices: number[] }\n >();\n\n terms.forEach((term, index) => {\n if (term.kind !== 'state') return;\n\n if (\n term.type === 'media' &&\n term.subtype === 'dimension' &&\n !term.negated\n ) {\n const key = term.dimension || 'width';\n if (!mediaByDim.has(key)) {\n mediaByDim.set(key, { conditions: [], indices: [] });\n }\n const group = mediaByDim.get(key)!;\n group.conditions.push(term);\n group.indices.push(index);\n }\n\n if (\n term.type === 'container' &&\n term.subtype === 'dimension' &&\n !term.negated\n ) {\n const key = `${term.containerName || '_'}:${term.dimension || 'width'}`;\n if (!containerByDim.has(key)) {\n containerByDim.set(key, { conditions: [], indices: [] });\n }\n const group = containerByDim.get(key)!;\n group.conditions.push(term);\n group.indices.push(index);\n }\n });\n\n // Track indices to remove\n const indicesToRemove = new Set<number>();\n const mergedTerms: ConditionNode[] = [];\n\n // Merge media conditions\n for (const [dim, group] of mediaByDim) {\n if (group.conditions.length > 1) {\n const merged = mergeMediaRanges(group.conditions);\n if (merged) {\n group.indices.forEach((i) => indicesToRemove.add(i));\n mergedTerms.push(merged);\n }\n }\n }\n\n // Merge container conditions\n for (const [, group] of containerByDim) {\n if (group.conditions.length > 1) {\n const merged = mergeContainerRanges(group.conditions);\n if (merged) {\n group.indices.forEach((i) => indicesToRemove.add(i));\n mergedTerms.push(merged);\n }\n }\n }\n\n // Build result\n const result: ConditionNode[] = [];\n terms.forEach((term, index) => {\n if (!indicesToRemove.has(index)) {\n result.push(term);\n }\n });\n result.push(...mergedTerms);\n\n return result;\n}\n\nfunction mergeMediaRanges(conditions: MediaCondition[]): MediaCondition | null {\n if (conditions.length === 0) return null;\n\n let lowerBound: NumericBound | undefined;\n let upperBound: NumericBound | undefined;\n\n for (const cond of conditions) {\n if (cond.lowerBound) {\n if (\n !lowerBound ||\n (cond.lowerBound.valueNumeric ?? -Infinity) >\n (lowerBound.valueNumeric ?? -Infinity)\n ) {\n lowerBound = cond.lowerBound;\n }\n }\n if (cond.upperBound) {\n if (\n !upperBound ||\n (cond.upperBound.valueNumeric ?? Infinity) <\n (upperBound.valueNumeric ?? Infinity)\n ) {\n upperBound = cond.upperBound;\n }\n }\n }\n\n const base = conditions[0];\n\n // Build a merged condition\n const merged: MediaCondition = {\n kind: 'state',\n type: 'media',\n subtype: 'dimension',\n negated: false,\n raw: buildMergedRaw(base.dimension || 'width', lowerBound, upperBound),\n uniqueId: '', // Will be recalculated\n dimension: base.dimension,\n lowerBound,\n upperBound,\n };\n\n // Recalculate uniqueId\n const parts = ['media', 'dim', merged.dimension];\n if (lowerBound) {\n parts.push(lowerBound.inclusive ? '>=' : '>');\n parts.push(lowerBound.value);\n }\n if (upperBound) {\n parts.push(upperBound.inclusive ? '<=' : '<');\n parts.push(upperBound.value);\n }\n merged.uniqueId = parts.join(':');\n\n return merged;\n}\n\nfunction mergeContainerRanges(\n conditions: ContainerCondition[],\n): ContainerCondition | null {\n if (conditions.length === 0) return null;\n\n let lowerBound: NumericBound | undefined;\n let upperBound: NumericBound | undefined;\n\n for (const cond of conditions) {\n if (cond.lowerBound) {\n if (\n !lowerBound ||\n (cond.lowerBound.valueNumeric ?? -Infinity) >\n (lowerBound.valueNumeric ?? -Infinity)\n ) {\n lowerBound = cond.lowerBound;\n }\n }\n if (cond.upperBound) {\n if (\n !upperBound ||\n (cond.upperBound.valueNumeric ?? Infinity) <\n (upperBound.valueNumeric ?? Infinity)\n ) {\n upperBound = cond.upperBound;\n }\n }\n }\n\n const base = conditions[0];\n\n const merged: ContainerCondition = {\n kind: 'state',\n type: 'container',\n subtype: 'dimension',\n negated: false,\n raw: buildMergedRaw(base.dimension || 'width', lowerBound, upperBound),\n uniqueId: '', // Will be recalculated\n containerName: base.containerName,\n dimension: base.dimension,\n lowerBound,\n upperBound,\n };\n\n // Recalculate uniqueId\n const name = merged.containerName || '_';\n const parts = ['container', 'dim', name, merged.dimension];\n if (lowerBound) {\n parts.push(lowerBound.inclusive ? '>=' : '>');\n parts.push(lowerBound.value);\n }\n if (upperBound) {\n parts.push(upperBound.inclusive ? '<=' : '<');\n parts.push(upperBound.value);\n }\n merged.uniqueId = parts.join(':');\n\n return merged;\n}\n\nfunction buildMergedRaw(\n dimension: string,\n lowerBound?: NumericBound,\n upperBound?: NumericBound,\n): string {\n if (lowerBound && upperBound) {\n const lowerOp = lowerBound.inclusive ? '<=' : '<';\n const upperOp = upperBound.inclusive ? '<=' : '<';\n return `@media(${lowerBound.value} ${lowerOp} ${dimension} ${upperOp} ${upperBound.value})`;\n } else if (upperBound) {\n const op = upperBound.inclusive ? '<=' : '<';\n return `@media(${dimension} ${op} ${upperBound.value})`;\n } else if (lowerBound) {\n const op = lowerBound.inclusive ? '>=' : '>';\n return `@media(${dimension} ${op} ${lowerBound.value})`;\n }\n return '@media()';\n}\n\n// ============================================================================\n// Sorting\n// ============================================================================\n\nfunction sortTerms(terms: ConditionNode[]): ConditionNode[] {\n return [...terms].sort((a, b) => {\n const idA = getConditionUniqueId(a);\n const idB = getConditionUniqueId(b);\n return idA.localeCompare(idB);\n });\n}\n\n// ============================================================================\n// Absorption\n// ============================================================================\n\n/**\n * Apply absorption law for AND: A & (A | B) → A\n */\nfunction applyAbsorptionAnd(terms: ConditionNode[]): ConditionNode[] {\n // Collect all unique IDs of simple terms\n const simpleIds = new Set<string>();\n for (const term of terms) {\n if (term.kind !== 'compound') {\n simpleIds.add(getConditionUniqueId(term));\n }\n }\n\n // Filter out OR terms that are absorbed\n return terms.filter((term) => {\n if (term.kind === 'compound' && term.operator === 'OR') {\n // If any child of this OR is in simpleIds, absorb the whole OR\n for (const child of term.children) {\n if (simpleIds.has(getConditionUniqueId(child))) {\n return false; // Absorb\n }\n }\n }\n return true;\n });\n}\n\n/**\n * Apply absorption law for OR: A | (A & B) → A\n */\nfunction applyAbsorptionOr(terms: ConditionNode[]): ConditionNode[] {\n // Collect all unique IDs of simple terms\n const simpleIds = new Set<string>();\n for (const term of terms) {\n if (term.kind !== 'compound') {\n simpleIds.add(getConditionUniqueId(term));\n }\n }\n\n // Filter out AND terms that are absorbed\n return terms.filter((term) => {\n if (term.kind === 'compound' && term.operator === 'AND') {\n // If any child of this AND is in simpleIds, absorb the whole AND\n for (const child of term.children) {\n if (simpleIds.has(getConditionUniqueId(child))) {\n return false; // Absorb\n }\n }\n }\n return true;\n });\n}\n"],"mappings":"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"}
|