@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
|
@@ -1,1264 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license MIT
|
|
3
|
-
* author: Cube Dev Team
|
|
4
|
-
* @cube-dev/ui-kit v0.114.0
|
|
5
|
-
* Released under the MIT license.
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* CSS Materialization
|
|
10
|
-
*
|
|
11
|
-
* Converts condition trees into CSS selectors and at-rules.
|
|
12
|
-
* This is the final stage that produces actual CSS output.
|
|
13
|
-
*/
|
|
14
|
-
import { Lru } from '../parser/lru.js';
|
|
15
|
-
// ============================================================================
|
|
16
|
-
// Caching
|
|
17
|
-
// ============================================================================
|
|
18
|
-
const conditionCache = new Lru(3000);
|
|
19
|
-
// ============================================================================
|
|
20
|
-
// Main Functions
|
|
21
|
-
// ============================================================================
|
|
22
|
-
/**
|
|
23
|
-
* Convert a condition tree to CSS components
|
|
24
|
-
*/
|
|
25
|
-
export function conditionToCSS(node) {
|
|
26
|
-
// Check cache
|
|
27
|
-
const key = getConditionKey(node);
|
|
28
|
-
const cached = conditionCache.get(key);
|
|
29
|
-
if (cached) {
|
|
30
|
-
return cached;
|
|
31
|
-
}
|
|
32
|
-
const result = conditionToCSSInner(node);
|
|
33
|
-
// Cache result
|
|
34
|
-
conditionCache.set(key, result);
|
|
35
|
-
return result;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Clear the condition cache (for testing)
|
|
39
|
-
*/
|
|
40
|
-
export function clearConditionCache() {
|
|
41
|
-
conditionCache.clear();
|
|
42
|
-
}
|
|
43
|
-
// ============================================================================
|
|
44
|
-
// Inner Implementation
|
|
45
|
-
// ============================================================================
|
|
46
|
-
/**
|
|
47
|
-
* Create an empty selector variant
|
|
48
|
-
*/
|
|
49
|
-
function emptyVariant() {
|
|
50
|
-
return {
|
|
51
|
-
modifierConditions: [],
|
|
52
|
-
pseudoConditions: [],
|
|
53
|
-
ownConditions: [],
|
|
54
|
-
mediaConditions: [],
|
|
55
|
-
containerConditions: [],
|
|
56
|
-
supportsConditions: [],
|
|
57
|
-
rootConditions: [],
|
|
58
|
-
startingStyle: false,
|
|
59
|
-
};
|
|
60
|
-
}
|
|
61
|
-
function conditionToCSSInner(node) {
|
|
62
|
-
// Base case: TRUE condition - single empty variant (matches everything)
|
|
63
|
-
if (node.kind === 'true') {
|
|
64
|
-
return {
|
|
65
|
-
variants: [emptyVariant()],
|
|
66
|
-
isImpossible: false,
|
|
67
|
-
};
|
|
68
|
-
}
|
|
69
|
-
// Base case: FALSE condition - no variants (matches nothing)
|
|
70
|
-
if (node.kind === 'false') {
|
|
71
|
-
return {
|
|
72
|
-
variants: [],
|
|
73
|
-
isImpossible: true,
|
|
74
|
-
};
|
|
75
|
-
}
|
|
76
|
-
// State condition
|
|
77
|
-
if (node.kind === 'state') {
|
|
78
|
-
return stateToCSS(node);
|
|
79
|
-
}
|
|
80
|
-
// Compound condition
|
|
81
|
-
if (node.kind === 'compound') {
|
|
82
|
-
if (node.operator === 'AND') {
|
|
83
|
-
return andToCSS(node.children);
|
|
84
|
-
}
|
|
85
|
-
else {
|
|
86
|
-
return orToCSS(node.children);
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
// Fallback - single empty variant
|
|
90
|
-
return {
|
|
91
|
-
variants: [emptyVariant()],
|
|
92
|
-
isImpossible: false,
|
|
93
|
-
};
|
|
94
|
-
}
|
|
95
|
-
/**
|
|
96
|
-
* Convert a state condition to CSS
|
|
97
|
-
*/
|
|
98
|
-
function stateToCSS(state) {
|
|
99
|
-
switch (state.type) {
|
|
100
|
-
case 'media': {
|
|
101
|
-
// Media conditions can return multiple variants for negated ranges (OR branches)
|
|
102
|
-
const mediaResults = mediaToParsed(state);
|
|
103
|
-
const variants = mediaResults.map((mediaCond) => {
|
|
104
|
-
const v = emptyVariant();
|
|
105
|
-
v.mediaConditions.push(mediaCond);
|
|
106
|
-
return v;
|
|
107
|
-
});
|
|
108
|
-
return { variants, isImpossible: false };
|
|
109
|
-
}
|
|
110
|
-
default: {
|
|
111
|
-
const variant = emptyVariant();
|
|
112
|
-
switch (state.type) {
|
|
113
|
-
case 'modifier':
|
|
114
|
-
variant.modifierConditions.push(modifierToParsed(state));
|
|
115
|
-
break;
|
|
116
|
-
case 'pseudo':
|
|
117
|
-
variant.pseudoConditions.push(pseudoToParsed(state));
|
|
118
|
-
break;
|
|
119
|
-
case 'container':
|
|
120
|
-
variant.containerConditions.push(containerToParsed(state));
|
|
121
|
-
break;
|
|
122
|
-
case 'supports':
|
|
123
|
-
variant.supportsConditions.push(supportsToParsed(state));
|
|
124
|
-
break;
|
|
125
|
-
case 'root':
|
|
126
|
-
variant.rootConditions.push(rootToParsed(state));
|
|
127
|
-
break;
|
|
128
|
-
case 'own':
|
|
129
|
-
variant.ownConditions.push(...ownToParsed(state));
|
|
130
|
-
break;
|
|
131
|
-
case 'starting':
|
|
132
|
-
variant.startingStyle = !state.negated;
|
|
133
|
-
break;
|
|
134
|
-
}
|
|
135
|
-
return {
|
|
136
|
-
variants: [variant],
|
|
137
|
-
isImpossible: false,
|
|
138
|
-
};
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
/**
|
|
143
|
-
* Convert modifier condition to parsed structure
|
|
144
|
-
*/
|
|
145
|
-
function modifierToParsed(state) {
|
|
146
|
-
return {
|
|
147
|
-
attribute: state.attribute,
|
|
148
|
-
value: state.value,
|
|
149
|
-
operator: state.operator,
|
|
150
|
-
negated: state.negated ?? false,
|
|
151
|
-
};
|
|
152
|
-
}
|
|
153
|
-
/**
|
|
154
|
-
* Convert parsed modifier to CSS selector string (for final output)
|
|
155
|
-
*/
|
|
156
|
-
export function modifierToCSS(mod) {
|
|
157
|
-
let selector;
|
|
158
|
-
if (mod.value !== undefined) {
|
|
159
|
-
// Value attribute: [data-attr="value"]
|
|
160
|
-
const op = mod.operator || '=';
|
|
161
|
-
selector = `[${mod.attribute}${op}"${mod.value}"]`;
|
|
162
|
-
}
|
|
163
|
-
else {
|
|
164
|
-
// Boolean attribute: [data-attr]
|
|
165
|
-
selector = `[${mod.attribute}]`;
|
|
166
|
-
}
|
|
167
|
-
if (mod.negated) {
|
|
168
|
-
return `:not(${selector})`;
|
|
169
|
-
}
|
|
170
|
-
return selector;
|
|
171
|
-
}
|
|
172
|
-
/**
|
|
173
|
-
* Convert pseudo condition to parsed structure
|
|
174
|
-
*/
|
|
175
|
-
function pseudoToParsed(state) {
|
|
176
|
-
return {
|
|
177
|
-
pseudo: state.pseudo,
|
|
178
|
-
negated: state.negated ?? false,
|
|
179
|
-
};
|
|
180
|
-
}
|
|
181
|
-
/**
|
|
182
|
-
* Convert parsed pseudo to CSS selector string (for final output)
|
|
183
|
-
*/
|
|
184
|
-
export function pseudoToCSS(pseudo) {
|
|
185
|
-
if (pseudo.negated) {
|
|
186
|
-
// Wrap in :not() if not already
|
|
187
|
-
if (pseudo.pseudo.startsWith(':not(')) {
|
|
188
|
-
// Double negation - remove :not()
|
|
189
|
-
return pseudo.pseudo.slice(5, -1);
|
|
190
|
-
}
|
|
191
|
-
return `:not(${pseudo.pseudo})`;
|
|
192
|
-
}
|
|
193
|
-
return pseudo.pseudo;
|
|
194
|
-
}
|
|
195
|
-
/**
|
|
196
|
-
* Convert media condition to parsed structure(s)
|
|
197
|
-
* Returns an array because negated ranges produce OR branches (two separate conditions)
|
|
198
|
-
*/
|
|
199
|
-
function mediaToParsed(state) {
|
|
200
|
-
if (state.subtype === 'type') {
|
|
201
|
-
// @media:print → @media print (or @media not print)
|
|
202
|
-
const mediaType = state.mediaType || 'all';
|
|
203
|
-
return [
|
|
204
|
-
{
|
|
205
|
-
subtype: 'type',
|
|
206
|
-
negated: state.negated ?? false,
|
|
207
|
-
condition: mediaType,
|
|
208
|
-
mediaType: state.mediaType,
|
|
209
|
-
},
|
|
210
|
-
];
|
|
211
|
-
}
|
|
212
|
-
else if (state.subtype === 'feature') {
|
|
213
|
-
// @media(prefers-contrast: high) → @media (prefers-contrast: high)
|
|
214
|
-
let condition;
|
|
215
|
-
if (state.featureValue) {
|
|
216
|
-
condition = `(${state.feature}: ${state.featureValue})`;
|
|
217
|
-
}
|
|
218
|
-
else {
|
|
219
|
-
condition = `(${state.feature})`;
|
|
220
|
-
}
|
|
221
|
-
return [
|
|
222
|
-
{
|
|
223
|
-
subtype: 'feature',
|
|
224
|
-
negated: state.negated ?? false,
|
|
225
|
-
condition,
|
|
226
|
-
feature: state.feature,
|
|
227
|
-
featureValue: state.featureValue,
|
|
228
|
-
},
|
|
229
|
-
];
|
|
230
|
-
}
|
|
231
|
-
else {
|
|
232
|
-
// Dimension query - negation is handled by inverting the condition
|
|
233
|
-
// because "not (width < x)" doesn't work reliably in browsers
|
|
234
|
-
return dimensionToMediaParsed(state.dimension || 'width', state.lowerBound, state.upperBound, state.negated ?? false);
|
|
235
|
-
}
|
|
236
|
-
}
|
|
237
|
-
/**
|
|
238
|
-
* Convert dimension bounds to parsed media condition(s)
|
|
239
|
-
* Uses CSS Media Queries Level 4 `not (condition)` syntax for negation.
|
|
240
|
-
*/
|
|
241
|
-
function dimensionToMediaParsed(dimension, lowerBound, upperBound, negated) {
|
|
242
|
-
// Build the condition string
|
|
243
|
-
let condition;
|
|
244
|
-
if (lowerBound && upperBound) {
|
|
245
|
-
const lowerOp = lowerBound.inclusive ? '<=' : '<';
|
|
246
|
-
const upperOp = upperBound.inclusive ? '<=' : '<';
|
|
247
|
-
condition = `(${lowerBound.value} ${lowerOp} ${dimension} ${upperOp} ${upperBound.value})`;
|
|
248
|
-
}
|
|
249
|
-
else if (upperBound) {
|
|
250
|
-
const op = upperBound.inclusive ? '<=' : '<';
|
|
251
|
-
condition = `(${dimension} ${op} ${upperBound.value})`;
|
|
252
|
-
}
|
|
253
|
-
else if (lowerBound) {
|
|
254
|
-
const op = lowerBound.inclusive ? '>=' : '>';
|
|
255
|
-
condition = `(${dimension} ${op} ${lowerBound.value})`;
|
|
256
|
-
}
|
|
257
|
-
else {
|
|
258
|
-
condition = `(${dimension})`;
|
|
259
|
-
}
|
|
260
|
-
// For negation, we use CSS `not (condition)` syntax in buildAtRulesFromVariant
|
|
261
|
-
return [
|
|
262
|
-
{
|
|
263
|
-
subtype: 'dimension',
|
|
264
|
-
negated: negated ?? false,
|
|
265
|
-
condition,
|
|
266
|
-
dimension,
|
|
267
|
-
lowerBound,
|
|
268
|
-
upperBound,
|
|
269
|
-
},
|
|
270
|
-
];
|
|
271
|
-
}
|
|
272
|
-
/**
|
|
273
|
-
* Convert container condition to parsed structure
|
|
274
|
-
* This enables structured analysis for contradiction detection and condition combining
|
|
275
|
-
*/
|
|
276
|
-
function containerToParsed(state) {
|
|
277
|
-
let condition;
|
|
278
|
-
if (state.subtype === 'style') {
|
|
279
|
-
// Style query: style(--prop: value)
|
|
280
|
-
if (state.propertyValue) {
|
|
281
|
-
condition = `style(--${state.property}: ${state.propertyValue})`;
|
|
282
|
-
}
|
|
283
|
-
else {
|
|
284
|
-
condition = `style(--${state.property})`;
|
|
285
|
-
}
|
|
286
|
-
}
|
|
287
|
-
else if (state.subtype === 'raw') {
|
|
288
|
-
// Raw function query: passed through verbatim (e.g., scroll-state(stuck: top))
|
|
289
|
-
condition = state.rawCondition;
|
|
290
|
-
}
|
|
291
|
-
else {
|
|
292
|
-
// Dimension query
|
|
293
|
-
condition = dimensionToContainerCondition(state.dimension || 'width', state.lowerBound, state.upperBound);
|
|
294
|
-
}
|
|
295
|
-
return {
|
|
296
|
-
name: state.containerName,
|
|
297
|
-
condition,
|
|
298
|
-
negated: state.negated ?? false,
|
|
299
|
-
subtype: state.subtype,
|
|
300
|
-
property: state.property,
|
|
301
|
-
propertyValue: state.propertyValue,
|
|
302
|
-
};
|
|
303
|
-
}
|
|
304
|
-
/**
|
|
305
|
-
* Convert dimension bounds to container query condition (single string)
|
|
306
|
-
* Container queries support "not (condition)", so no need to invert manually
|
|
307
|
-
*/
|
|
308
|
-
function dimensionToContainerCondition(dimension, lowerBound, upperBound) {
|
|
309
|
-
if (lowerBound && upperBound) {
|
|
310
|
-
const lowerOp = lowerBound.inclusive ? '<=' : '<';
|
|
311
|
-
const upperOp = upperBound.inclusive ? '<=' : '<';
|
|
312
|
-
return `(${lowerBound.value} ${lowerOp} ${dimension} ${upperOp} ${upperBound.value})`;
|
|
313
|
-
}
|
|
314
|
-
else if (upperBound) {
|
|
315
|
-
const op = upperBound.inclusive ? '<=' : '<';
|
|
316
|
-
return `(${dimension} ${op} ${upperBound.value})`;
|
|
317
|
-
}
|
|
318
|
-
else if (lowerBound) {
|
|
319
|
-
const op = lowerBound.inclusive ? '>=' : '>';
|
|
320
|
-
return `(${dimension} ${op} ${lowerBound.value})`;
|
|
321
|
-
}
|
|
322
|
-
return '(width)'; // Fallback
|
|
323
|
-
}
|
|
324
|
-
/**
|
|
325
|
-
* Convert supports condition to parsed structure
|
|
326
|
-
*/
|
|
327
|
-
function supportsToParsed(state) {
|
|
328
|
-
return {
|
|
329
|
-
subtype: state.subtype,
|
|
330
|
-
condition: state.condition,
|
|
331
|
-
negated: state.negated ?? false,
|
|
332
|
-
};
|
|
333
|
-
}
|
|
334
|
-
/**
|
|
335
|
-
* Convert root condition to parsed structure
|
|
336
|
-
*/
|
|
337
|
-
function rootToParsed(state) {
|
|
338
|
-
return {
|
|
339
|
-
selector: state.selector,
|
|
340
|
-
negated: state.negated ?? false,
|
|
341
|
-
};
|
|
342
|
-
}
|
|
343
|
-
/**
|
|
344
|
-
* Convert parsed root conditions to CSS selector prefix (for final output)
|
|
345
|
-
*/
|
|
346
|
-
export function rootConditionsToCSS(roots) {
|
|
347
|
-
if (roots.length === 0)
|
|
348
|
-
return undefined;
|
|
349
|
-
// Combine all root conditions into a single :root prefix
|
|
350
|
-
// e.g., :root[data-theme="dark"]:not([data-mode="light"])
|
|
351
|
-
let prefix = ':root';
|
|
352
|
-
for (const root of roots) {
|
|
353
|
-
if (root.negated) {
|
|
354
|
-
prefix += `:not(${root.selector})`;
|
|
355
|
-
}
|
|
356
|
-
else {
|
|
357
|
-
prefix += root.selector;
|
|
358
|
-
}
|
|
359
|
-
}
|
|
360
|
-
return prefix;
|
|
361
|
-
}
|
|
362
|
-
/**
|
|
363
|
-
* Convert own condition to parsed structures for sub-element
|
|
364
|
-
*/
|
|
365
|
-
function ownToParsed(state) {
|
|
366
|
-
const innerCSS = conditionToCSS(state.innerCondition);
|
|
367
|
-
if (innerCSS.isImpossible || innerCSS.variants.length === 0) {
|
|
368
|
-
return [];
|
|
369
|
-
}
|
|
370
|
-
// Collect all modifier/pseudo conditions from all variants
|
|
371
|
-
const allConditions = [];
|
|
372
|
-
for (const variant of innerCSS.variants) {
|
|
373
|
-
for (const mod of variant.modifierConditions) {
|
|
374
|
-
// Apply outer negation
|
|
375
|
-
allConditions.push({
|
|
376
|
-
...mod,
|
|
377
|
-
negated: state.negated ? !mod.negated : mod.negated,
|
|
378
|
-
});
|
|
379
|
-
}
|
|
380
|
-
for (const pseudo of variant.pseudoConditions) {
|
|
381
|
-
// Apply outer negation
|
|
382
|
-
allConditions.push({
|
|
383
|
-
...pseudo,
|
|
384
|
-
negated: state.negated ? !pseudo.negated : pseudo.negated,
|
|
385
|
-
});
|
|
386
|
-
}
|
|
387
|
-
}
|
|
388
|
-
return allConditions;
|
|
389
|
-
}
|
|
390
|
-
/**
|
|
391
|
-
* Get unique key for a modifier condition
|
|
392
|
-
*/
|
|
393
|
-
function getModifierKey(mod) {
|
|
394
|
-
const base = mod.value
|
|
395
|
-
? `${mod.attribute}${mod.operator || '='}${mod.value}`
|
|
396
|
-
: mod.attribute;
|
|
397
|
-
return mod.negated ? `!${base}` : base;
|
|
398
|
-
}
|
|
399
|
-
/**
|
|
400
|
-
* Get unique key for a pseudo condition
|
|
401
|
-
*/
|
|
402
|
-
function getPseudoKey(pseudo) {
|
|
403
|
-
return pseudo.negated ? `!${pseudo.pseudo}` : pseudo.pseudo;
|
|
404
|
-
}
|
|
405
|
-
/**
|
|
406
|
-
* Get unique key for a root condition
|
|
407
|
-
*/
|
|
408
|
-
function getRootKey(root) {
|
|
409
|
-
return root.negated ? `!${root.selector}` : root.selector;
|
|
410
|
-
}
|
|
411
|
-
/**
|
|
412
|
-
* Deduplicate modifier conditions
|
|
413
|
-
*/
|
|
414
|
-
function dedupeModifierConditions(conditions) {
|
|
415
|
-
const seen = new Set();
|
|
416
|
-
const result = [];
|
|
417
|
-
for (const c of conditions) {
|
|
418
|
-
const key = getModifierKey(c);
|
|
419
|
-
if (!seen.has(key)) {
|
|
420
|
-
seen.add(key);
|
|
421
|
-
result.push(c);
|
|
422
|
-
}
|
|
423
|
-
}
|
|
424
|
-
return result;
|
|
425
|
-
}
|
|
426
|
-
/**
|
|
427
|
-
* Deduplicate pseudo conditions
|
|
428
|
-
*/
|
|
429
|
-
function dedupePseudoConditions(conditions) {
|
|
430
|
-
const seen = new Set();
|
|
431
|
-
const result = [];
|
|
432
|
-
for (const c of conditions) {
|
|
433
|
-
const key = getPseudoKey(c);
|
|
434
|
-
if (!seen.has(key)) {
|
|
435
|
-
seen.add(key);
|
|
436
|
-
result.push(c);
|
|
437
|
-
}
|
|
438
|
-
}
|
|
439
|
-
return result;
|
|
440
|
-
}
|
|
441
|
-
/**
|
|
442
|
-
* Deduplicate root conditions
|
|
443
|
-
*/
|
|
444
|
-
function dedupeRootConditions(conditions) {
|
|
445
|
-
const seen = new Set();
|
|
446
|
-
const result = [];
|
|
447
|
-
for (const c of conditions) {
|
|
448
|
-
const key = getRootKey(c);
|
|
449
|
-
if (!seen.has(key)) {
|
|
450
|
-
seen.add(key);
|
|
451
|
-
result.push(c);
|
|
452
|
-
}
|
|
453
|
-
}
|
|
454
|
-
return result;
|
|
455
|
-
}
|
|
456
|
-
/**
|
|
457
|
-
* Deduplicate own conditions (modifiers or pseudos)
|
|
458
|
-
*/
|
|
459
|
-
function dedupeOwnConditions(conditions) {
|
|
460
|
-
const seen = new Set();
|
|
461
|
-
const result = [];
|
|
462
|
-
for (const c of conditions) {
|
|
463
|
-
const key = 'attribute' in c
|
|
464
|
-
? `mod:${getModifierKey(c)}`
|
|
465
|
-
: `pseudo:${getPseudoKey(c)}`;
|
|
466
|
-
if (!seen.has(key)) {
|
|
467
|
-
seen.add(key);
|
|
468
|
-
result.push(c);
|
|
469
|
-
}
|
|
470
|
-
}
|
|
471
|
-
return result;
|
|
472
|
-
}
|
|
473
|
-
/**
|
|
474
|
-
* Check for modifier contradiction: same attribute with opposite negation
|
|
475
|
-
*/
|
|
476
|
-
function hasModifierContradiction(conditions) {
|
|
477
|
-
const byKey = new Map(); // base key -> isPositive
|
|
478
|
-
for (const mod of conditions) {
|
|
479
|
-
const baseKey = mod.value
|
|
480
|
-
? `${mod.attribute}${mod.operator || '='}${mod.value}`
|
|
481
|
-
: mod.attribute;
|
|
482
|
-
const existing = byKey.get(baseKey);
|
|
483
|
-
if (existing !== undefined && existing !== !mod.negated) {
|
|
484
|
-
return true; // Same attribute with opposite negation
|
|
485
|
-
}
|
|
486
|
-
byKey.set(baseKey, !mod.negated);
|
|
487
|
-
}
|
|
488
|
-
return false;
|
|
489
|
-
}
|
|
490
|
-
/**
|
|
491
|
-
* Check for pseudo contradiction: same pseudo with opposite negation
|
|
492
|
-
*/
|
|
493
|
-
function hasPseudoContradiction(conditions) {
|
|
494
|
-
const byKey = new Map(); // pseudo -> isPositive
|
|
495
|
-
for (const pseudo of conditions) {
|
|
496
|
-
const existing = byKey.get(pseudo.pseudo);
|
|
497
|
-
if (existing !== undefined && existing !== !pseudo.negated) {
|
|
498
|
-
return true; // Same pseudo with opposite negation
|
|
499
|
-
}
|
|
500
|
-
byKey.set(pseudo.pseudo, !pseudo.negated);
|
|
501
|
-
}
|
|
502
|
-
return false;
|
|
503
|
-
}
|
|
504
|
-
/**
|
|
505
|
-
* Check for root condition contradiction: same selector with opposite negation
|
|
506
|
-
*/
|
|
507
|
-
function hasRootContradiction(conditions) {
|
|
508
|
-
const byKey = new Map(); // selector -> isPositive
|
|
509
|
-
for (const root of conditions) {
|
|
510
|
-
const existing = byKey.get(root.selector);
|
|
511
|
-
if (existing !== undefined && existing !== !root.negated) {
|
|
512
|
-
return true; // Same selector with opposite negation
|
|
513
|
-
}
|
|
514
|
-
byKey.set(root.selector, !root.negated);
|
|
515
|
-
}
|
|
516
|
-
return false;
|
|
517
|
-
}
|
|
518
|
-
/**
|
|
519
|
-
* Check for own condition contradiction
|
|
520
|
-
*/
|
|
521
|
-
function hasOwnConditionContradiction(conditions) {
|
|
522
|
-
const modifiers = [];
|
|
523
|
-
const pseudos = [];
|
|
524
|
-
for (const c of conditions) {
|
|
525
|
-
if ('attribute' in c) {
|
|
526
|
-
modifiers.push(c);
|
|
527
|
-
}
|
|
528
|
-
else {
|
|
529
|
-
pseudos.push(c);
|
|
530
|
-
}
|
|
531
|
-
}
|
|
532
|
-
return hasModifierContradiction(modifiers) || hasPseudoContradiction(pseudos);
|
|
533
|
-
}
|
|
534
|
-
/**
|
|
535
|
-
* Merge two selector variants (AND operation)
|
|
536
|
-
* Deduplicates conditions and checks for contradictions
|
|
537
|
-
*/
|
|
538
|
-
function mergeVariants(a, b) {
|
|
539
|
-
// Merge media conditions and check for contradictions
|
|
540
|
-
const mergedMedia = dedupeMediaConditions([
|
|
541
|
-
...a.mediaConditions,
|
|
542
|
-
...b.mediaConditions,
|
|
543
|
-
]);
|
|
544
|
-
if (hasMediaContradiction(mergedMedia)) {
|
|
545
|
-
return null; // Impossible variant
|
|
546
|
-
}
|
|
547
|
-
// Merge root conditions and check for contradictions
|
|
548
|
-
const mergedRoots = dedupeRootConditions([
|
|
549
|
-
...a.rootConditions,
|
|
550
|
-
...b.rootConditions,
|
|
551
|
-
]);
|
|
552
|
-
if (hasRootContradiction(mergedRoots)) {
|
|
553
|
-
return null; // Impossible variant
|
|
554
|
-
}
|
|
555
|
-
// Merge modifier conditions and check for contradictions
|
|
556
|
-
const mergedModifiers = dedupeModifierConditions([
|
|
557
|
-
...a.modifierConditions,
|
|
558
|
-
...b.modifierConditions,
|
|
559
|
-
]);
|
|
560
|
-
if (hasModifierContradiction(mergedModifiers)) {
|
|
561
|
-
return null; // Impossible variant
|
|
562
|
-
}
|
|
563
|
-
// Merge pseudo conditions and check for contradictions
|
|
564
|
-
const mergedPseudos = dedupePseudoConditions([
|
|
565
|
-
...a.pseudoConditions,
|
|
566
|
-
...b.pseudoConditions,
|
|
567
|
-
]);
|
|
568
|
-
if (hasPseudoContradiction(mergedPseudos)) {
|
|
569
|
-
return null; // Impossible variant
|
|
570
|
-
}
|
|
571
|
-
// Merge own conditions and check for contradictions
|
|
572
|
-
const mergedOwn = dedupeOwnConditions([
|
|
573
|
-
...a.ownConditions,
|
|
574
|
-
...b.ownConditions,
|
|
575
|
-
]);
|
|
576
|
-
if (hasOwnConditionContradiction(mergedOwn)) {
|
|
577
|
-
return null; // Impossible variant
|
|
578
|
-
}
|
|
579
|
-
// Merge container conditions and check for contradictions
|
|
580
|
-
const mergedContainers = dedupeContainerConditions([
|
|
581
|
-
...a.containerConditions,
|
|
582
|
-
...b.containerConditions,
|
|
583
|
-
]);
|
|
584
|
-
if (hasContainerStyleContradiction(mergedContainers)) {
|
|
585
|
-
return null; // Impossible variant
|
|
586
|
-
}
|
|
587
|
-
// Merge supports conditions and check for contradictions
|
|
588
|
-
const mergedSupports = dedupeSupportsConditions([
|
|
589
|
-
...a.supportsConditions,
|
|
590
|
-
...b.supportsConditions,
|
|
591
|
-
]);
|
|
592
|
-
if (hasSupportsContradiction(mergedSupports)) {
|
|
593
|
-
return null; // Impossible variant
|
|
594
|
-
}
|
|
595
|
-
return {
|
|
596
|
-
modifierConditions: mergedModifiers,
|
|
597
|
-
pseudoConditions: mergedPseudos,
|
|
598
|
-
ownConditions: mergedOwn,
|
|
599
|
-
mediaConditions: mergedMedia,
|
|
600
|
-
containerConditions: mergedContainers,
|
|
601
|
-
supportsConditions: mergedSupports,
|
|
602
|
-
rootConditions: mergedRoots,
|
|
603
|
-
startingStyle: a.startingStyle || b.startingStyle,
|
|
604
|
-
};
|
|
605
|
-
}
|
|
606
|
-
/**
|
|
607
|
-
* Deduplicate media conditions by their key (subtype + condition + negated)
|
|
608
|
-
*/
|
|
609
|
-
function dedupeMediaConditions(conditions) {
|
|
610
|
-
const seen = new Set();
|
|
611
|
-
const result = [];
|
|
612
|
-
for (const c of conditions) {
|
|
613
|
-
const key = `${c.subtype}|${c.condition}|${c.negated}`;
|
|
614
|
-
if (!seen.has(key)) {
|
|
615
|
-
seen.add(key);
|
|
616
|
-
result.push(c);
|
|
617
|
-
}
|
|
618
|
-
}
|
|
619
|
-
return result;
|
|
620
|
-
}
|
|
621
|
-
/**
|
|
622
|
-
* Deduplicate container conditions by their key (name + condition + negated)
|
|
623
|
-
*/
|
|
624
|
-
function dedupeContainerConditions(conditions) {
|
|
625
|
-
const seen = new Set();
|
|
626
|
-
const result = [];
|
|
627
|
-
for (const c of conditions) {
|
|
628
|
-
const key = `${c.name ?? ''}|${c.condition}|${c.negated}`;
|
|
629
|
-
if (!seen.has(key)) {
|
|
630
|
-
seen.add(key);
|
|
631
|
-
result.push(c);
|
|
632
|
-
}
|
|
633
|
-
}
|
|
634
|
-
return result;
|
|
635
|
-
}
|
|
636
|
-
/**
|
|
637
|
-
* Deduplicate supports conditions by their key (subtype + condition + negated)
|
|
638
|
-
*/
|
|
639
|
-
function dedupeSupportsConditions(conditions) {
|
|
640
|
-
const seen = new Set();
|
|
641
|
-
const result = [];
|
|
642
|
-
for (const c of conditions) {
|
|
643
|
-
const key = `${c.subtype}|${c.condition}|${c.negated}`;
|
|
644
|
-
if (!seen.has(key)) {
|
|
645
|
-
seen.add(key);
|
|
646
|
-
result.push(c);
|
|
647
|
-
}
|
|
648
|
-
}
|
|
649
|
-
return result;
|
|
650
|
-
}
|
|
651
|
-
/**
|
|
652
|
-
* Check if supports conditions contain contradictions
|
|
653
|
-
* e.g., @supports(display: grid) AND NOT @supports(display: grid)
|
|
654
|
-
*/
|
|
655
|
-
function hasSupportsContradiction(conditions) {
|
|
656
|
-
const conditionMap = new Map(); // key -> isPositive
|
|
657
|
-
for (const cond of conditions) {
|
|
658
|
-
const key = `${cond.subtype}|${cond.condition}`;
|
|
659
|
-
const existing = conditionMap.get(key);
|
|
660
|
-
if (existing !== undefined && existing !== !cond.negated) {
|
|
661
|
-
return true; // Contradiction: positive AND negated
|
|
662
|
-
}
|
|
663
|
-
conditionMap.set(key, !cond.negated);
|
|
664
|
-
}
|
|
665
|
-
return false;
|
|
666
|
-
}
|
|
667
|
-
/**
|
|
668
|
-
* Check if a set of media conditions contains contradictions
|
|
669
|
-
* e.g., (prefers-color-scheme: light) AND NOT (prefers-color-scheme: light)
|
|
670
|
-
* or (width >= 900px) AND (width < 600px)
|
|
671
|
-
*
|
|
672
|
-
* Uses parsed media conditions for efficient analysis without regex parsing.
|
|
673
|
-
*/
|
|
674
|
-
function hasMediaContradiction(conditions) {
|
|
675
|
-
// Track conditions by their key (condition string) to detect A and NOT A
|
|
676
|
-
const featureConditions = new Map(); // key -> isPositive
|
|
677
|
-
const typeConditions = new Map(); // mediaType -> isPositive
|
|
678
|
-
const dimensionConditions = new Map(); // condition -> isPositive
|
|
679
|
-
// Track dimension conditions for range contradiction detection (non-negated only)
|
|
680
|
-
const dimensionsByDim = new Map();
|
|
681
|
-
for (const cond of conditions) {
|
|
682
|
-
if (cond.subtype === 'type') {
|
|
683
|
-
// Type query: check for direct contradiction (print AND NOT print)
|
|
684
|
-
const key = cond.mediaType || 'all';
|
|
685
|
-
const existing = typeConditions.get(key);
|
|
686
|
-
if (existing !== undefined && existing !== !cond.negated) {
|
|
687
|
-
return true; // Contradiction: positive AND negated
|
|
688
|
-
}
|
|
689
|
-
typeConditions.set(key, !cond.negated);
|
|
690
|
-
}
|
|
691
|
-
else if (cond.subtype === 'feature') {
|
|
692
|
-
// Feature query: check for direct contradiction
|
|
693
|
-
const key = cond.condition;
|
|
694
|
-
const existing = featureConditions.get(key);
|
|
695
|
-
if (existing !== undefined && existing !== !cond.negated) {
|
|
696
|
-
return true; // Contradiction: positive AND negated
|
|
697
|
-
}
|
|
698
|
-
featureConditions.set(key, !cond.negated);
|
|
699
|
-
}
|
|
700
|
-
else if (cond.subtype === 'dimension') {
|
|
701
|
-
// First, check for direct contradiction: (width < 600px) AND NOT (width < 600px)
|
|
702
|
-
const condKey = cond.condition;
|
|
703
|
-
const existing = dimensionConditions.get(condKey);
|
|
704
|
-
if (existing !== undefined && existing !== !cond.negated) {
|
|
705
|
-
return true; // Contradiction: positive AND negated
|
|
706
|
-
}
|
|
707
|
-
dimensionConditions.set(condKey, !cond.negated);
|
|
708
|
-
// For range analysis, only consider non-negated conditions
|
|
709
|
-
// Negated conditions are handled via the direct contradiction check above
|
|
710
|
-
if (!cond.negated) {
|
|
711
|
-
const dim = cond.dimension || 'width';
|
|
712
|
-
let bounds = dimensionsByDim.get(dim);
|
|
713
|
-
if (!bounds) {
|
|
714
|
-
bounds = { lowerBound: null, upperBound: null };
|
|
715
|
-
dimensionsByDim.set(dim, bounds);
|
|
716
|
-
}
|
|
717
|
-
// Track the effective bounds
|
|
718
|
-
if (cond.lowerBound?.valueNumeric != null) {
|
|
719
|
-
const value = cond.lowerBound.valueNumeric;
|
|
720
|
-
if (bounds.lowerBound === null || value > bounds.lowerBound) {
|
|
721
|
-
bounds.lowerBound = value;
|
|
722
|
-
}
|
|
723
|
-
}
|
|
724
|
-
if (cond.upperBound?.valueNumeric != null) {
|
|
725
|
-
const value = cond.upperBound.valueNumeric;
|
|
726
|
-
if (bounds.upperBound === null || value < bounds.upperBound) {
|
|
727
|
-
bounds.upperBound = value;
|
|
728
|
-
}
|
|
729
|
-
}
|
|
730
|
-
// Check for impossible range
|
|
731
|
-
if (bounds.lowerBound !== null &&
|
|
732
|
-
bounds.upperBound !== null &&
|
|
733
|
-
bounds.lowerBound >= bounds.upperBound) {
|
|
734
|
-
return true;
|
|
735
|
-
}
|
|
736
|
-
}
|
|
737
|
-
}
|
|
738
|
-
}
|
|
739
|
-
return false;
|
|
740
|
-
}
|
|
741
|
-
/**
|
|
742
|
-
* Check if container conditions contain contradictions in style queries
|
|
743
|
-
* e.g., style(--variant: danger) and style(--variant: success) together
|
|
744
|
-
* Same property with different values = always false
|
|
745
|
-
*
|
|
746
|
-
* Uses parsed container conditions for efficient analysis without regex parsing.
|
|
747
|
-
*/
|
|
748
|
-
function hasContainerStyleContradiction(conditions) {
|
|
749
|
-
// Track style queries by property name
|
|
750
|
-
// key: property name, value: { hasExistence: boolean, values: Set<string>, hasNegatedExistence: boolean }
|
|
751
|
-
const styleQueries = new Map();
|
|
752
|
-
for (const cond of conditions) {
|
|
753
|
-
// Only analyze style queries
|
|
754
|
-
if (cond.subtype !== 'style' || !cond.property) {
|
|
755
|
-
continue;
|
|
756
|
-
}
|
|
757
|
-
const property = cond.property;
|
|
758
|
-
const value = cond.propertyValue;
|
|
759
|
-
if (!styleQueries.has(property)) {
|
|
760
|
-
styleQueries.set(property, {
|
|
761
|
-
hasExistence: false,
|
|
762
|
-
values: new Set(),
|
|
763
|
-
hasNegatedExistence: false,
|
|
764
|
-
});
|
|
765
|
-
}
|
|
766
|
-
const entry = styleQueries.get(property);
|
|
767
|
-
if (cond.negated) {
|
|
768
|
-
if (value === undefined) {
|
|
769
|
-
// not style(--prop) - negated existence check
|
|
770
|
-
entry.hasNegatedExistence = true;
|
|
771
|
-
}
|
|
772
|
-
// Negated value checks don't contradict positive value checks directly
|
|
773
|
-
// They just mean "not this value"
|
|
774
|
-
}
|
|
775
|
-
else {
|
|
776
|
-
if (value === undefined) {
|
|
777
|
-
// style(--prop) - existence check
|
|
778
|
-
entry.hasExistence = true;
|
|
779
|
-
}
|
|
780
|
-
else {
|
|
781
|
-
// style(--prop: value) - value check
|
|
782
|
-
entry.values.add(value);
|
|
783
|
-
}
|
|
784
|
-
}
|
|
785
|
-
}
|
|
786
|
-
// Check for contradictions
|
|
787
|
-
for (const [, entry] of styleQueries) {
|
|
788
|
-
// Contradiction: existence check + negated existence check
|
|
789
|
-
if (entry.hasExistence && entry.hasNegatedExistence) {
|
|
790
|
-
return true;
|
|
791
|
-
}
|
|
792
|
-
// Contradiction: multiple different values for same property
|
|
793
|
-
// style(--variant: danger) AND style(--variant: success) is impossible
|
|
794
|
-
if (entry.values.size > 1) {
|
|
795
|
-
return true;
|
|
796
|
-
}
|
|
797
|
-
// Contradiction: negated existence + value check
|
|
798
|
-
// not style(--variant) AND style(--variant: danger) is impossible
|
|
799
|
-
if (entry.hasNegatedExistence && entry.values.size > 0) {
|
|
800
|
-
return true;
|
|
801
|
-
}
|
|
802
|
-
}
|
|
803
|
-
return false;
|
|
804
|
-
}
|
|
805
|
-
/**
|
|
806
|
-
* Get a unique key for a variant (for deduplication)
|
|
807
|
-
*/
|
|
808
|
-
function getVariantKey(v) {
|
|
809
|
-
const modifierKey = v.modifierConditions.map(getModifierKey).sort().join('|');
|
|
810
|
-
const pseudoKey = v.pseudoConditions.map(getPseudoKey).sort().join('|');
|
|
811
|
-
const ownKey = v.ownConditions
|
|
812
|
-
.map((c) => 'attribute' in c
|
|
813
|
-
? `mod:${getModifierKey(c)}`
|
|
814
|
-
: `pseudo:${getPseudoKey(c)}`)
|
|
815
|
-
.sort()
|
|
816
|
-
.join('|');
|
|
817
|
-
const containerKey = v.containerConditions
|
|
818
|
-
.map((c) => `${c.name ?? ''}:${c.negated ? '!' : ''}${c.condition}`)
|
|
819
|
-
.sort()
|
|
820
|
-
.join('|');
|
|
821
|
-
const mediaKey = v.mediaConditions
|
|
822
|
-
.map((c) => `${c.subtype}:${c.negated ? '!' : ''}${c.condition}`)
|
|
823
|
-
.sort()
|
|
824
|
-
.join('|');
|
|
825
|
-
const supportsKey = v.supportsConditions
|
|
826
|
-
.map((c) => `${c.subtype}:${c.negated ? '!' : ''}${c.condition}`)
|
|
827
|
-
.sort()
|
|
828
|
-
.join('|');
|
|
829
|
-
const rootKey = v.rootConditions.map(getRootKey).sort().join('|');
|
|
830
|
-
return [
|
|
831
|
-
modifierKey,
|
|
832
|
-
pseudoKey,
|
|
833
|
-
ownKey,
|
|
834
|
-
mediaKey,
|
|
835
|
-
containerKey,
|
|
836
|
-
supportsKey,
|
|
837
|
-
rootKey,
|
|
838
|
-
v.startingStyle ? '1' : '0',
|
|
839
|
-
].join('###');
|
|
840
|
-
}
|
|
841
|
-
/**
|
|
842
|
-
* Check if variant A is a superset of variant B (A is more restrictive)
|
|
843
|
-
*
|
|
844
|
-
* If A has all of B's conditions plus more, then A is redundant
|
|
845
|
-
* because B already covers the same cases (and more).
|
|
846
|
-
*
|
|
847
|
-
* Example:
|
|
848
|
-
* A: :not([size=large]):not([size=medium]):not([size=small])
|
|
849
|
-
* B: :not([size=large])
|
|
850
|
-
* A is a superset of B, so A is redundant when B exists.
|
|
851
|
-
*/
|
|
852
|
-
function isVariantSuperset(a, b) {
|
|
853
|
-
// Must have same context
|
|
854
|
-
if (a.startingStyle !== b.startingStyle)
|
|
855
|
-
return false;
|
|
856
|
-
// Check if a.rootConditions is superset of b.rootConditions
|
|
857
|
-
if (!isRootConditionsSuperset(a.rootConditions, b.rootConditions))
|
|
858
|
-
return false;
|
|
859
|
-
// Check if a.mediaConditions is superset of b.mediaConditions
|
|
860
|
-
if (!isMediaConditionsSuperset(a.mediaConditions, b.mediaConditions))
|
|
861
|
-
return false;
|
|
862
|
-
// Check if a.containerConditions is superset of b.containerConditions
|
|
863
|
-
if (!isContainerConditionsSuperset(a.containerConditions, b.containerConditions))
|
|
864
|
-
return false;
|
|
865
|
-
// Check if a.supportsConditions is superset of b.supportsConditions
|
|
866
|
-
if (!isSupportsConditionsSuperset(a.supportsConditions, b.supportsConditions))
|
|
867
|
-
return false;
|
|
868
|
-
// Check if a.modifierConditions is superset of b.modifierConditions
|
|
869
|
-
if (!isModifierConditionsSuperset(a.modifierConditions, b.modifierConditions))
|
|
870
|
-
return false;
|
|
871
|
-
// Check if a.pseudoConditions is superset of b.pseudoConditions
|
|
872
|
-
if (!isPseudoConditionsSuperset(a.pseudoConditions, b.pseudoConditions))
|
|
873
|
-
return false;
|
|
874
|
-
// Check if a.ownConditions is superset of b.ownConditions
|
|
875
|
-
if (!isOwnConditionsSuperset(a.ownConditions, b.ownConditions))
|
|
876
|
-
return false;
|
|
877
|
-
// A is a superset if it has all of B's items (possibly more)
|
|
878
|
-
// and at least one category has strictly more items
|
|
879
|
-
const aTotal = a.mediaConditions.length +
|
|
880
|
-
a.containerConditions.length +
|
|
881
|
-
a.supportsConditions.length +
|
|
882
|
-
a.modifierConditions.length +
|
|
883
|
-
a.pseudoConditions.length +
|
|
884
|
-
a.rootConditions.length +
|
|
885
|
-
a.ownConditions.length;
|
|
886
|
-
const bTotal = b.mediaConditions.length +
|
|
887
|
-
b.containerConditions.length +
|
|
888
|
-
b.supportsConditions.length +
|
|
889
|
-
b.modifierConditions.length +
|
|
890
|
-
b.pseudoConditions.length +
|
|
891
|
-
b.rootConditions.length +
|
|
892
|
-
b.ownConditions.length;
|
|
893
|
-
return aTotal > bTotal;
|
|
894
|
-
}
|
|
895
|
-
/**
|
|
896
|
-
* Check if media conditions A is a superset of B
|
|
897
|
-
*/
|
|
898
|
-
function isMediaConditionsSuperset(a, b) {
|
|
899
|
-
const aKeys = new Set(a.map((c) => `${c.subtype}|${c.condition}|${c.negated}`));
|
|
900
|
-
for (const c of b) {
|
|
901
|
-
const key = `${c.subtype}|${c.condition}|${c.negated}`;
|
|
902
|
-
if (!aKeys.has(key))
|
|
903
|
-
return false;
|
|
904
|
-
}
|
|
905
|
-
return true;
|
|
906
|
-
}
|
|
907
|
-
/**
|
|
908
|
-
* Check if container conditions A is a superset of B
|
|
909
|
-
*/
|
|
910
|
-
function isContainerConditionsSuperset(a, b) {
|
|
911
|
-
const aKeys = new Set(a.map((c) => `${c.name ?? ''}|${c.condition}|${c.negated}`));
|
|
912
|
-
for (const c of b) {
|
|
913
|
-
const key = `${c.name ?? ''}|${c.condition}|${c.negated}`;
|
|
914
|
-
if (!aKeys.has(key))
|
|
915
|
-
return false;
|
|
916
|
-
}
|
|
917
|
-
return true;
|
|
918
|
-
}
|
|
919
|
-
/**
|
|
920
|
-
* Check if supports conditions A is a superset of B
|
|
921
|
-
*/
|
|
922
|
-
function isSupportsConditionsSuperset(a, b) {
|
|
923
|
-
const aKeys = new Set(a.map((c) => `${c.subtype}|${c.condition}|${c.negated}`));
|
|
924
|
-
for (const c of b) {
|
|
925
|
-
const key = `${c.subtype}|${c.condition}|${c.negated}`;
|
|
926
|
-
if (!aKeys.has(key))
|
|
927
|
-
return false;
|
|
928
|
-
}
|
|
929
|
-
return true;
|
|
930
|
-
}
|
|
931
|
-
/**
|
|
932
|
-
* Check if modifier conditions A is a superset of B
|
|
933
|
-
*/
|
|
934
|
-
function isModifierConditionsSuperset(a, b) {
|
|
935
|
-
const aKeys = new Set(a.map(getModifierKey));
|
|
936
|
-
for (const c of b) {
|
|
937
|
-
if (!aKeys.has(getModifierKey(c)))
|
|
938
|
-
return false;
|
|
939
|
-
}
|
|
940
|
-
return true;
|
|
941
|
-
}
|
|
942
|
-
/**
|
|
943
|
-
* Check if pseudo conditions A is a superset of B
|
|
944
|
-
*/
|
|
945
|
-
function isPseudoConditionsSuperset(a, b) {
|
|
946
|
-
const aKeys = new Set(a.map(getPseudoKey));
|
|
947
|
-
for (const c of b) {
|
|
948
|
-
if (!aKeys.has(getPseudoKey(c)))
|
|
949
|
-
return false;
|
|
950
|
-
}
|
|
951
|
-
return true;
|
|
952
|
-
}
|
|
953
|
-
/**
|
|
954
|
-
* Check if root conditions A is a superset of B
|
|
955
|
-
*/
|
|
956
|
-
function isRootConditionsSuperset(a, b) {
|
|
957
|
-
const aKeys = new Set(a.map(getRootKey));
|
|
958
|
-
for (const c of b) {
|
|
959
|
-
if (!aKeys.has(getRootKey(c)))
|
|
960
|
-
return false;
|
|
961
|
-
}
|
|
962
|
-
return true;
|
|
963
|
-
}
|
|
964
|
-
/**
|
|
965
|
-
* Check if own conditions A is a superset of B
|
|
966
|
-
*/
|
|
967
|
-
function isOwnConditionsSuperset(a, b) {
|
|
968
|
-
const aKeys = new Set(a.map((c) => 'attribute' in c
|
|
969
|
-
? `mod:${getModifierKey(c)}`
|
|
970
|
-
: `pseudo:${getPseudoKey(c)}`));
|
|
971
|
-
for (const c of b) {
|
|
972
|
-
const key = 'attribute' in c
|
|
973
|
-
? `mod:${getModifierKey(c)}`
|
|
974
|
-
: `pseudo:${getPseudoKey(c)}`;
|
|
975
|
-
if (!aKeys.has(key))
|
|
976
|
-
return false;
|
|
977
|
-
}
|
|
978
|
-
return true;
|
|
979
|
-
}
|
|
980
|
-
/**
|
|
981
|
-
* Deduplicate variants
|
|
982
|
-
*
|
|
983
|
-
* Removes:
|
|
984
|
-
* 1. Exact duplicates (same key)
|
|
985
|
-
* 2. Superset variants (more restrictive selectors that are redundant)
|
|
986
|
-
*/
|
|
987
|
-
function dedupeVariants(variants) {
|
|
988
|
-
// First pass: exact deduplication
|
|
989
|
-
const seen = new Set();
|
|
990
|
-
let result = [];
|
|
991
|
-
for (const v of variants) {
|
|
992
|
-
const key = getVariantKey(v);
|
|
993
|
-
if (!seen.has(key)) {
|
|
994
|
-
seen.add(key);
|
|
995
|
-
result.push(v);
|
|
996
|
-
}
|
|
997
|
-
}
|
|
998
|
-
// Second pass: remove supersets (more restrictive variants)
|
|
999
|
-
// Sort by total condition count (fewer conditions = less restrictive = keep)
|
|
1000
|
-
result.sort((a, b) => {
|
|
1001
|
-
const aCount = a.modifierConditions.length +
|
|
1002
|
-
a.pseudoConditions.length +
|
|
1003
|
-
a.ownConditions.length +
|
|
1004
|
-
a.mediaConditions.length +
|
|
1005
|
-
a.containerConditions.length +
|
|
1006
|
-
a.supportsConditions.length +
|
|
1007
|
-
a.rootConditions.length;
|
|
1008
|
-
const bCount = b.modifierConditions.length +
|
|
1009
|
-
b.pseudoConditions.length +
|
|
1010
|
-
b.ownConditions.length +
|
|
1011
|
-
b.mediaConditions.length +
|
|
1012
|
-
b.containerConditions.length +
|
|
1013
|
-
b.supportsConditions.length +
|
|
1014
|
-
b.rootConditions.length;
|
|
1015
|
-
return aCount - bCount;
|
|
1016
|
-
});
|
|
1017
|
-
// Remove variants that are supersets of earlier (less restrictive) variants
|
|
1018
|
-
const filtered = [];
|
|
1019
|
-
for (const candidate of result) {
|
|
1020
|
-
let isRedundant = false;
|
|
1021
|
-
for (const kept of filtered) {
|
|
1022
|
-
if (isVariantSuperset(candidate, kept)) {
|
|
1023
|
-
isRedundant = true;
|
|
1024
|
-
break;
|
|
1025
|
-
}
|
|
1026
|
-
}
|
|
1027
|
-
if (!isRedundant) {
|
|
1028
|
-
filtered.push(candidate);
|
|
1029
|
-
}
|
|
1030
|
-
}
|
|
1031
|
-
return filtered;
|
|
1032
|
-
}
|
|
1033
|
-
/**
|
|
1034
|
-
* Combine AND conditions into CSS
|
|
1035
|
-
*
|
|
1036
|
-
* AND of conditions means cartesian product of variants:
|
|
1037
|
-
* (A1 | A2) & (B1 | B2) = A1&B1 | A1&B2 | A2&B1 | A2&B2
|
|
1038
|
-
*
|
|
1039
|
-
* Variants that result in contradictions (e.g., conflicting media rules)
|
|
1040
|
-
* are filtered out.
|
|
1041
|
-
*/
|
|
1042
|
-
function andToCSS(children) {
|
|
1043
|
-
// Start with a single empty variant
|
|
1044
|
-
let currentVariants = [emptyVariant()];
|
|
1045
|
-
for (const child of children) {
|
|
1046
|
-
const childCSS = conditionToCSSInner(child);
|
|
1047
|
-
if (childCSS.isImpossible || childCSS.variants.length === 0) {
|
|
1048
|
-
return { variants: [], isImpossible: true };
|
|
1049
|
-
}
|
|
1050
|
-
// Cartesian product: each current variant × each child variant
|
|
1051
|
-
const newVariants = [];
|
|
1052
|
-
for (const current of currentVariants) {
|
|
1053
|
-
for (const childVariant of childCSS.variants) {
|
|
1054
|
-
const merged = mergeVariants(current, childVariant);
|
|
1055
|
-
// Skip impossible variants (contradictions detected during merge)
|
|
1056
|
-
if (merged !== null) {
|
|
1057
|
-
newVariants.push(merged);
|
|
1058
|
-
}
|
|
1059
|
-
}
|
|
1060
|
-
}
|
|
1061
|
-
if (newVariants.length === 0) {
|
|
1062
|
-
return { variants: [], isImpossible: true };
|
|
1063
|
-
}
|
|
1064
|
-
// Deduplicate after each step to prevent exponential blowup
|
|
1065
|
-
currentVariants = dedupeVariants(newVariants);
|
|
1066
|
-
}
|
|
1067
|
-
return {
|
|
1068
|
-
variants: currentVariants,
|
|
1069
|
-
isImpossible: false,
|
|
1070
|
-
};
|
|
1071
|
-
}
|
|
1072
|
-
/**
|
|
1073
|
-
* Combine OR conditions into CSS
|
|
1074
|
-
*
|
|
1075
|
-
* OR in CSS means multiple selector variants (DNF).
|
|
1076
|
-
* Each variant becomes a separate selector in the comma-separated list,
|
|
1077
|
-
* or multiple CSS rules if they have different at-rules.
|
|
1078
|
-
*
|
|
1079
|
-
* Note: OR exclusivity is handled at the pipeline level (expandOrConditions),
|
|
1080
|
-
* so here we just collect all variants. Any remaining ORs in the condition
|
|
1081
|
-
* tree (e.g., from De Morgan expansion) are handled as simple alternatives.
|
|
1082
|
-
*/
|
|
1083
|
-
function orToCSS(children) {
|
|
1084
|
-
const allVariants = [];
|
|
1085
|
-
for (const child of children) {
|
|
1086
|
-
const childCSS = conditionToCSSInner(child);
|
|
1087
|
-
if (childCSS.isImpossible)
|
|
1088
|
-
continue;
|
|
1089
|
-
allVariants.push(...childCSS.variants);
|
|
1090
|
-
}
|
|
1091
|
-
if (allVariants.length === 0) {
|
|
1092
|
-
return { variants: [], isImpossible: true };
|
|
1093
|
-
}
|
|
1094
|
-
// Deduplicate variants
|
|
1095
|
-
return {
|
|
1096
|
-
variants: dedupeVariants(allVariants),
|
|
1097
|
-
isImpossible: false,
|
|
1098
|
-
};
|
|
1099
|
-
}
|
|
1100
|
-
// ============================================================================
|
|
1101
|
-
// Utility Functions
|
|
1102
|
-
// ============================================================================
|
|
1103
|
-
/**
|
|
1104
|
-
* Get a cache key for a condition
|
|
1105
|
-
*/
|
|
1106
|
-
function getConditionKey(node) {
|
|
1107
|
-
if (node.kind === 'true')
|
|
1108
|
-
return 'TRUE';
|
|
1109
|
-
if (node.kind === 'false')
|
|
1110
|
-
return 'FALSE';
|
|
1111
|
-
if (node.kind === 'state')
|
|
1112
|
-
return node.uniqueId;
|
|
1113
|
-
if (node.kind === 'compound') {
|
|
1114
|
-
const childKeys = node.children.map(getConditionKey).sort();
|
|
1115
|
-
return `${node.operator}(${childKeys.join(',')})`;
|
|
1116
|
-
}
|
|
1117
|
-
return 'UNKNOWN';
|
|
1118
|
-
}
|
|
1119
|
-
/**
|
|
1120
|
-
* Build a complete CSS selector from a single variant
|
|
1121
|
-
*/
|
|
1122
|
-
function buildCSSSelectorFromVariant(className, variant, selectorSuffix = '') {
|
|
1123
|
-
// Start with base class (doubled for specificity)
|
|
1124
|
-
let selector = `.${className}.${className}`;
|
|
1125
|
-
// Add modifier selectors
|
|
1126
|
-
for (const mod of variant.modifierConditions) {
|
|
1127
|
-
selector += modifierToCSS(mod);
|
|
1128
|
-
}
|
|
1129
|
-
// Add pseudo selectors
|
|
1130
|
-
for (const pseudo of variant.pseudoConditions) {
|
|
1131
|
-
selector += pseudoToCSS(pseudo);
|
|
1132
|
-
}
|
|
1133
|
-
// Add selector suffix (e.g., ' [data-element="Label"]')
|
|
1134
|
-
selector += selectorSuffix;
|
|
1135
|
-
// Add own selectors (after sub-element)
|
|
1136
|
-
for (const own of variant.ownConditions) {
|
|
1137
|
-
if ('attribute' in own) {
|
|
1138
|
-
selector += modifierToCSS(own);
|
|
1139
|
-
}
|
|
1140
|
-
else {
|
|
1141
|
-
selector += pseudoToCSS(own);
|
|
1142
|
-
}
|
|
1143
|
-
}
|
|
1144
|
-
// Add root prefix if present
|
|
1145
|
-
const rootPrefix = rootConditionsToCSS(variant.rootConditions);
|
|
1146
|
-
if (rootPrefix) {
|
|
1147
|
-
selector = `${rootPrefix} ${selector}`;
|
|
1148
|
-
}
|
|
1149
|
-
return selector;
|
|
1150
|
-
}
|
|
1151
|
-
/**
|
|
1152
|
-
* Build at-rules array from a variant
|
|
1153
|
-
*/
|
|
1154
|
-
export function buildAtRulesFromVariant(variant) {
|
|
1155
|
-
const atRules = [];
|
|
1156
|
-
// Add media rules - combine all conditions with "and"
|
|
1157
|
-
if (variant.mediaConditions.length > 0) {
|
|
1158
|
-
const conditionParts = variant.mediaConditions.map((c) => {
|
|
1159
|
-
if (c.subtype === 'type') {
|
|
1160
|
-
// Media type: print, screen, etc.
|
|
1161
|
-
return c.negated ? `not ${c.condition}` : c.condition;
|
|
1162
|
-
}
|
|
1163
|
-
else {
|
|
1164
|
-
// Feature or dimension: use not (condition) syntax for negation
|
|
1165
|
-
// MQ Level 4 requires parentheses around the condition for negation
|
|
1166
|
-
return c.negated ? `(not ${c.condition})` : c.condition;
|
|
1167
|
-
}
|
|
1168
|
-
});
|
|
1169
|
-
atRules.push(`@media ${conditionParts.join(' and ')}`);
|
|
1170
|
-
}
|
|
1171
|
-
// Add container rules - group by container name and combine with "and"
|
|
1172
|
-
if (variant.containerConditions.length > 0) {
|
|
1173
|
-
// Group conditions by container name (undefined = unnamed/nearest)
|
|
1174
|
-
const byName = new Map();
|
|
1175
|
-
for (const cond of variant.containerConditions) {
|
|
1176
|
-
const group = byName.get(cond.name) || [];
|
|
1177
|
-
group.push(cond);
|
|
1178
|
-
byName.set(cond.name, group);
|
|
1179
|
-
}
|
|
1180
|
-
// Build one @container rule per container name
|
|
1181
|
-
for (const [name, conditions] of byName) {
|
|
1182
|
-
// CSS Container Query syntax requires parentheses around negated conditions:
|
|
1183
|
-
// @container (not style(--x)) and style(--y) - NOT @container not style(--x) and style(--y)
|
|
1184
|
-
const conditionParts = conditions.map((c) => c.negated ? `(not ${c.condition})` : c.condition);
|
|
1185
|
-
const namePrefix = name ? `${name} ` : '';
|
|
1186
|
-
atRules.push(`@container ${namePrefix}${conditionParts.join(' and ')}`);
|
|
1187
|
-
}
|
|
1188
|
-
}
|
|
1189
|
-
// Add supports rules - combine all conditions with "and"
|
|
1190
|
-
if (variant.supportsConditions.length > 0) {
|
|
1191
|
-
const conditionParts = variant.supportsConditions.map((c) => {
|
|
1192
|
-
// Build the condition based on subtype
|
|
1193
|
-
// feature: (display: grid) or (not (display: grid))
|
|
1194
|
-
// selector: selector(:has(*)) or (not selector(:has(*)))
|
|
1195
|
-
if (c.subtype === 'selector') {
|
|
1196
|
-
const selectorCond = `selector(${c.condition})`;
|
|
1197
|
-
return c.negated ? `(not ${selectorCond})` : selectorCond;
|
|
1198
|
-
}
|
|
1199
|
-
else {
|
|
1200
|
-
const featureCond = `(${c.condition})`;
|
|
1201
|
-
return c.negated ? `(not ${featureCond})` : featureCond;
|
|
1202
|
-
}
|
|
1203
|
-
});
|
|
1204
|
-
atRules.push(`@supports ${conditionParts.join(' and ')}`);
|
|
1205
|
-
}
|
|
1206
|
-
// Add starting-style
|
|
1207
|
-
if (variant.startingStyle) {
|
|
1208
|
-
atRules.push('@starting-style');
|
|
1209
|
-
}
|
|
1210
|
-
return atRules;
|
|
1211
|
-
}
|
|
1212
|
-
/**
|
|
1213
|
-
* Get a string key for a variant's at-rules (for grouping)
|
|
1214
|
-
*/
|
|
1215
|
-
function getAtRulesKey(variant) {
|
|
1216
|
-
const atRules = buildAtRulesFromVariant(variant);
|
|
1217
|
-
return atRules.sort().join('|||');
|
|
1218
|
-
}
|
|
1219
|
-
/**
|
|
1220
|
-
* Materialize a computed rule into final CSS format
|
|
1221
|
-
*
|
|
1222
|
-
* Returns an array of CSSRules because OR conditions may require multiple rules
|
|
1223
|
-
* (when different branches have different at-rules)
|
|
1224
|
-
*/
|
|
1225
|
-
function materializeRule(condition, declarations, selectorSuffix, className) {
|
|
1226
|
-
const components = conditionToCSS(condition);
|
|
1227
|
-
if (components.isImpossible || components.variants.length === 0) {
|
|
1228
|
-
return [];
|
|
1229
|
-
}
|
|
1230
|
-
const declarationsStr = Object.entries(declarations)
|
|
1231
|
-
.map(([prop, value]) => `${prop}: ${value};`)
|
|
1232
|
-
.join(' ');
|
|
1233
|
-
// Group variants by their at-rules (variants with same at-rules can be combined with commas)
|
|
1234
|
-
const byAtRules = new Map();
|
|
1235
|
-
for (const variant of components.variants) {
|
|
1236
|
-
const key = getAtRulesKey(variant);
|
|
1237
|
-
const group = byAtRules.get(key) || [];
|
|
1238
|
-
group.push(variant);
|
|
1239
|
-
byAtRules.set(key, group);
|
|
1240
|
-
}
|
|
1241
|
-
// Generate one CSSRule per at-rules group
|
|
1242
|
-
const rules = [];
|
|
1243
|
-
for (const [, variants] of byAtRules) {
|
|
1244
|
-
// All variants in this group have the same at-rules, so combine selectors with commas
|
|
1245
|
-
const selectors = variants.map((v) => buildCSSSelectorFromVariant(className, v, selectorSuffix));
|
|
1246
|
-
const selector = selectors.join(', ');
|
|
1247
|
-
const atRules = buildAtRulesFromVariant(variants[0]);
|
|
1248
|
-
const rule = {
|
|
1249
|
-
selector,
|
|
1250
|
-
declarations: declarationsStr,
|
|
1251
|
-
};
|
|
1252
|
-
if (atRules.length > 0) {
|
|
1253
|
-
rule.atRules = atRules;
|
|
1254
|
-
}
|
|
1255
|
-
const rootPrefix = rootConditionsToCSS(variants[0].rootConditions);
|
|
1256
|
-
if (rootPrefix) {
|
|
1257
|
-
rule.rootPrefix = rootPrefix;
|
|
1258
|
-
}
|
|
1259
|
-
rules.push(rule);
|
|
1260
|
-
}
|
|
1261
|
-
return rules;
|
|
1262
|
-
}
|
|
1263
|
-
|
|
1264
|
-
|