@cube-dev/ui-kit 0.182.0 → 0.184.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/dist/CHANGELOG.md +40 -0
- package/dist/_internal/hooks/use-debounced-value.js +48 -31
- package/dist/_internal/hooks/use-debounced-value.js.map +1 -1
- package/dist/_internal/hooks/use-deprecation-warning.js +22 -7
- package/dist/_internal/hooks/use-deprecation-warning.js.map +1 -1
- package/dist/_internal/hooks/use-event.js +1 -1
- package/dist/_internal/hooks/use-event.js.map +1 -1
- package/dist/_internal/hooks/use-is-first-render.js +1 -1
- package/dist/_internal/hooks/use-is-first-render.js.map +1 -1
- package/dist/_internal/hooks/use-sync-ref.js +12 -4
- package/dist/_internal/hooks/use-sync-ref.js.map +1 -1
- package/dist/_internal/hooks/use-timer/timer.js +1 -1
- package/dist/_internal/hooks/use-timer/timer.js.map +1 -1
- package/dist/_internal/hooks/use-timer/use-timer.js +90 -20
- package/dist/_internal/hooks/use-timer/use-timer.js.map +1 -1
- package/dist/_internal/hooks/use-warn.js +4 -4
- package/dist/_internal/hooks/use-warn.js.map +1 -1
- package/dist/components/Block.js +29 -7
- package/dist/components/Block.js.map +1 -1
- package/dist/components/CollectionItem.js +1 -1
- package/dist/components/CollectionItem.js.map +1 -1
- package/dist/components/GlobalStyles.js +33 -9
- package/dist/components/GlobalStyles.js.map +1 -1
- package/dist/components/GridProvider.js +4 -4
- package/dist/components/GridProvider.js.map +1 -1
- package/dist/components/HiddenInput.js +1 -1
- package/dist/components/HiddenInput.js.map +1 -1
- package/dist/components/Root.js +137 -42
- package/dist/components/Root.js.map +1 -1
- package/dist/components/actions/Action/Action.js +20 -8
- package/dist/components/actions/Action/Action.js.map +1 -1
- package/dist/components/actions/Banner/Banner.js +91 -22
- package/dist/components/actions/Banner/Banner.js.map +1 -1
- package/dist/components/actions/Button/Button.js +5 -5
- package/dist/components/actions/Button/Button.js.map +1 -1
- package/dist/components/actions/ButtonGroup/ButtonGroup.js +15 -5
- package/dist/components/actions/ButtonGroup/ButtonGroup.js.map +1 -1
- package/dist/components/actions/ButtonSplit/ButtonSplit.js +2 -1
- package/dist/components/actions/ButtonSplit/ButtonSplit.js.map +1 -1
- package/dist/components/actions/ButtonSplit/context.js +1 -1
- package/dist/components/actions/ButtonSplit/context.js.map +1 -1
- package/dist/components/actions/CommandMenu/CommandMenu.js +73 -80
- package/dist/components/actions/CommandMenu/CommandMenu.js.map +1 -1
- package/dist/components/actions/CommandMenu/styled.js +1 -1
- package/dist/components/actions/CommandMenu/styled.js.map +1 -1
- package/dist/components/actions/ItemAction/ItemAction.js +205 -68
- package/dist/components/actions/ItemAction/ItemAction.js.map +1 -1
- package/dist/components/actions/ItemActionContext.js +26 -7
- package/dist/components/actions/ItemActionContext.js.map +1 -1
- package/dist/components/actions/ItemActionsWrapper.js +215 -84
- package/dist/components/actions/ItemActionsWrapper.js.map +1 -1
- package/dist/components/actions/ItemButton/ItemButton.js +2 -2
- package/dist/components/actions/ItemButton/ItemButton.js.map +1 -1
- package/dist/components/actions/Link/Link.js +16 -7
- package/dist/components/actions/Link/Link.js.map +1 -1
- package/dist/components/actions/Menu/Menu.js +127 -72
- package/dist/components/actions/Menu/Menu.js.map +1 -1
- package/dist/components/actions/Menu/MenuItem.js +120 -43
- package/dist/components/actions/Menu/MenuItem.js.map +1 -1
- package/dist/components/actions/Menu/MenuSection.js +79 -31
- package/dist/components/actions/Menu/MenuSection.js.map +1 -1
- package/dist/components/actions/Menu/MenuTrigger.js +316 -112
- package/dist/components/actions/Menu/MenuTrigger.js.map +1 -1
- package/dist/components/actions/Menu/SubMenuTrigger.js +6 -12
- package/dist/components/actions/Menu/SubMenuTrigger.js.map +1 -1
- package/dist/components/actions/Menu/SubmenuTriggerContext.js +1 -1
- package/dist/components/actions/Menu/SubmenuTriggerContext.js.map +1 -1
- package/dist/components/actions/Menu/context.js +1 -1
- package/dist/components/actions/Menu/context.js.map +1 -1
- package/dist/components/actions/Menu/styled.js +1 -1
- package/dist/components/actions/Menu/styled.js.map +1 -1
- package/dist/components/actions/actions-run.js +1 -1
- package/dist/components/actions/actions-run.js.map +1 -1
- package/dist/components/actions/index.js +1 -1
- package/dist/components/actions/index.js.map +1 -1
- package/dist/components/actions/use-action.js +3 -3
- package/dist/components/actions/use-action.js.map +1 -1
- package/dist/components/actions/use-anchored-menu.js +6 -6
- package/dist/components/actions/use-anchored-menu.js.map +1 -1
- package/dist/components/actions/use-context-menu.js +12 -12
- package/dist/components/actions/use-context-menu.js.map +1 -1
- package/dist/components/content/ActiveZone/ActiveZone.js +84 -18
- package/dist/components/content/ActiveZone/ActiveZone.js.map +1 -1
- package/dist/components/content/Alert/Alert.js +18 -7
- package/dist/components/content/Alert/Alert.js.map +1 -1
- package/dist/components/content/Alert/use-alert.js +53 -15
- package/dist/components/content/Alert/use-alert.js.map +1 -1
- package/dist/components/content/Avatar/Avatar.js +51 -13
- package/dist/components/content/Avatar/Avatar.js.map +1 -1
- package/dist/components/content/Badge/Badge.js +43 -10
- package/dist/components/content/Badge/Badge.js.map +1 -1
- package/dist/components/content/Card/Card.js +29 -7
- package/dist/components/content/Card/Card.js.map +1 -1
- package/dist/components/content/Content.js +30 -7
- package/dist/components/content/Content.js.map +1 -1
- package/dist/components/content/CopyPasteBlock/CopyPasteBlock.js +2 -2
- package/dist/components/content/CopyPasteBlock/CopyPasteBlock.js.map +1 -1
- package/dist/components/content/CopySnippet/CopySnippet.js +220 -60
- package/dist/components/content/CopySnippet/CopySnippet.js.map +1 -1
- package/dist/components/content/Disclosure/Disclosure.js +453 -194
- package/dist/components/content/Disclosure/Disclosure.js.map +1 -1
- package/dist/components/content/Divider.js +52 -14
- package/dist/components/content/Divider.js.map +1 -1
- package/dist/components/content/Footer.js +29 -7
- package/dist/components/content/Footer.js.map +1 -1
- package/dist/components/content/Header.js +29 -7
- package/dist/components/content/Header.js.map +1 -1
- package/dist/components/content/HotKeys/HotKeys.js +55 -27
- package/dist/components/content/HotKeys/HotKeys.js.map +1 -1
- package/dist/components/content/InfoBadge/InfoBadge.js +8 -8
- package/dist/components/content/InfoBadge/InfoBadge.js.map +1 -1
- package/dist/components/content/InlineInput/InlineInput.js +429 -188
- package/dist/components/content/InlineInput/InlineInput.js.map +1 -1
- package/dist/components/content/Item/Item.d.ts +27 -2
- package/dist/components/content/Item/Item.js +418 -152
- package/dist/components/content/Item/Item.js.map +1 -1
- package/dist/components/content/ItemBadge/ItemBadge.js +173 -59
- package/dist/components/content/ItemBadge/ItemBadge.js.map +1 -1
- package/dist/components/content/ItemCard/ItemCard.js +34 -9
- package/dist/components/content/ItemCard/ItemCard.js.map +1 -1
- package/dist/components/content/Layout/GridLayout.js +38 -10
- package/dist/components/content/Layout/GridLayout.js.map +1 -1
- package/dist/components/content/Layout/Layout.js +30 -13
- package/dist/components/content/Layout/Layout.js.map +1 -1
- package/dist/components/content/Layout/LayoutBlock.js +33 -8
- package/dist/components/content/Layout/LayoutBlock.js.map +1 -1
- package/dist/components/content/Layout/LayoutCenter.js +48 -11
- package/dist/components/content/Layout/LayoutCenter.js.map +1 -1
- package/dist/components/content/Layout/LayoutContainer.js +1 -1
- package/dist/components/content/Layout/LayoutContainer.js.map +1 -1
- package/dist/components/content/Layout/LayoutContent.js +1 -1
- package/dist/components/content/Layout/LayoutContent.js.map +1 -1
- package/dist/components/content/Layout/LayoutContext.js +30 -21
- package/dist/components/content/Layout/LayoutContext.js.map +1 -1
- package/dist/components/content/Layout/LayoutFlex.js +33 -8
- package/dist/components/content/Layout/LayoutFlex.js.map +1 -1
- package/dist/components/content/Layout/LayoutFooter.js +53 -14
- package/dist/components/content/Layout/LayoutFooter.js.map +1 -1
- package/dist/components/content/Layout/LayoutGrid.js +48 -11
- package/dist/components/content/Layout/LayoutGrid.js.map +1 -1
- package/dist/components/content/Layout/LayoutHeader.js +216 -57
- package/dist/components/content/Layout/LayoutHeader.js.map +1 -1
- package/dist/components/content/Layout/LayoutPane.js +60 -14
- package/dist/components/content/Layout/LayoutPane.js.map +1 -1
- package/dist/components/content/Layout/LayoutPanel.js +59 -17
- package/dist/components/content/Layout/LayoutPanel.js.map +1 -1
- package/dist/components/content/Layout/LayoutPanelHeader.js +89 -27
- package/dist/components/content/Layout/LayoutPanelHeader.js.map +1 -1
- package/dist/components/content/Layout/LayoutToolbar.js +33 -8
- package/dist/components/content/Layout/LayoutToolbar.js.map +1 -1
- package/dist/components/content/Layout/hooks/useTinyScrollbar.js +206 -119
- package/dist/components/content/Layout/hooks/useTinyScrollbar.js.map +1 -1
- package/dist/components/content/Layout/index.js +1 -1
- package/dist/components/content/Layout/index.js.map +1 -1
- package/dist/components/content/Layout/utils.js +1 -1
- package/dist/components/content/Layout/utils.js.map +1 -1
- package/dist/components/content/Paragraph.js +25 -9
- package/dist/components/content/Paragraph.js.map +1 -1
- package/dist/components/content/Placeholder/Placeholder.js +52 -14
- package/dist/components/content/Placeholder/Placeholder.js.map +1 -1
- package/dist/components/content/PrismCode/PrismCode.js +1 -1
- package/dist/components/content/PrismCode/PrismCode.js.map +1 -1
- package/dist/components/content/PrismCode/prismSetup.js +1 -1
- package/dist/components/content/PrismCode/prismSetup.js.map +1 -1
- package/dist/components/content/PrismDiffCode/PrismDiffCode.js +52 -17
- package/dist/components/content/PrismDiffCode/PrismDiffCode.js.map +1 -1
- package/dist/components/content/Result/Result.js +117 -38
- package/dist/components/content/Result/Result.js.map +1 -1
- package/dist/components/content/Skeleton/Skeleton.js +26 -17
- package/dist/components/content/Skeleton/Skeleton.js.map +1 -1
- package/dist/components/content/Tag/Tag.d.ts +6 -1
- package/dist/components/content/Tag/Tag.js +68 -13
- package/dist/components/content/Tag/Tag.js.map +1 -1
- package/dist/components/content/Text.js +61 -14
- package/dist/components/content/Text.js.map +1 -1
- package/dist/components/content/TextItem/TextItem.js +37 -16
- package/dist/components/content/TextItem/TextItem.js.map +1 -1
- package/dist/components/content/Title.js +98 -23
- package/dist/components/content/Title.js.map +1 -1
- package/dist/components/content/Tree/Tree.js +32 -32
- package/dist/components/content/Tree/Tree.js.map +1 -1
- package/dist/components/content/Tree/TreeNode.js +10 -10
- package/dist/components/content/Tree/TreeNode.js.map +1 -1
- package/dist/components/content/Tree/styled.js +1 -1
- package/dist/components/content/Tree/styled.js.map +1 -1
- package/dist/components/content/Tree/tree-index.js +1 -1
- package/dist/components/content/Tree/tree-index.js.map +1 -1
- package/dist/components/content/Tree/use-checkbox-tree.js +123 -89
- package/dist/components/content/Tree/use-checkbox-tree.js.map +1 -1
- package/dist/components/content/Tree/use-load-data.js +52 -21
- package/dist/components/content/Tree/use-load-data.js.map +1 -1
- package/dist/components/content/highlightText.js +1 -1
- package/dist/components/content/highlightText.js.map +1 -1
- package/dist/components/content/use-auto-tooltip.d.ts +1 -1
- package/dist/components/content/use-auto-tooltip.js +231 -125
- package/dist/components/content/use-auto-tooltip.js.map +1 -1
- package/dist/components/data/DataTable/DataTable.js +31 -31
- package/dist/components/data/DataTable/DataTable.js.map +1 -1
- package/dist/components/data/ItemTable/ItemTable.js +41 -41
- package/dist/components/data/ItemTable/ItemTable.js.map +1 -1
- package/dist/components/data/ItemTable/ItemTableBulkBar.js +11 -11
- package/dist/components/data/ItemTable/ItemTableBulkBar.js.map +1 -1
- package/dist/components/data/ItemTable/ItemTableDragPreview.js +41 -4
- package/dist/components/data/ItemTable/ItemTableDragPreview.js.map +1 -1
- package/dist/components/data/ItemTable/ItemTableFooter.js +67 -30
- package/dist/components/data/ItemTable/ItemTableFooter.js.map +1 -1
- package/dist/components/data/ItemTable/ItemTableToolbar.js +95 -28
- package/dist/components/data/ItemTable/ItemTableToolbar.js.map +1 -1
- package/dist/components/data/TableBase/ColumnResizer.js +90 -41
- package/dist/components/data/TableBase/ColumnResizer.js.map +1 -1
- package/dist/components/data/TableBase/RowCollection.js +1 -1
- package/dist/components/data/TableBase/RowCollection.js.map +1 -1
- package/dist/components/data/TableBase/TableHeaderCell.js +154 -64
- package/dist/components/data/TableBase/TableHeaderCell.js.map +1 -1
- package/dist/components/data/TableBase/TableRow.js +211 -69
- package/dist/components/data/TableBase/TableRow.js.map +1 -1
- package/dist/components/data/TableBase/TableView.js +119 -80
- package/dist/components/data/TableBase/TableView.js.map +1 -1
- package/dist/components/data/TableBase/column-menu.js +1 -1
- package/dist/components/data/TableBase/column-menu.js.map +1 -1
- package/dist/components/data/TableBase/column-tint.js +1 -1
- package/dist/components/data/TableBase/column-tint.js.map +1 -1
- package/dist/components/data/TableBase/row-menu.js +1 -1
- package/dist/components/data/TableBase/row-menu.js.map +1 -1
- package/dist/components/data/TableBase/styled.d.ts +1 -0
- package/dist/components/data/TableBase/styled.js +1 -1
- package/dist/components/data/TableBase/styled.js.map +1 -1
- package/dist/components/data/TableBase/table-tree.js +1 -1
- package/dist/components/data/TableBase/table-tree.js.map +1 -1
- package/dist/components/data/TableBase/types.js +1 -1
- package/dist/components/data/TableBase/types.js.map +1 -1
- package/dist/components/data/TableBase/use-cell-selection.js +0 -0
- package/dist/components/data/TableBase/use-cell-selection.js.map +1 -1
- package/dist/components/data/TableBase/use-column-order.js +56 -12
- package/dist/components/data/TableBase/use-column-order.js.map +1 -1
- package/dist/components/data/TableBase/use-container-width.js +24 -10
- package/dist/components/data/TableBase/use-container-width.js.map +1 -1
- package/dist/components/data/TableBase/use-row-move-animation.js +68 -49
- package/dist/components/data/TableBase/use-row-move-animation.js.map +1 -1
- package/dist/components/data/TableBase/use-scrollability.js +32 -18
- package/dist/components/data/TableBase/use-scrollability.js.map +1 -1
- package/dist/components/data/TableBase/use-table-columns.js +130 -60
- package/dist/components/data/TableBase/use-table-columns.js.map +1 -1
- package/dist/components/data/TableBase/use-table-search.js +1 -1
- package/dist/components/data/TableBase/use-table-search.js.map +1 -1
- package/dist/components/data/TableBase/use-table-selection.js +39 -39
- package/dist/components/data/TableBase/use-table-selection.js.map +1 -1
- package/dist/components/data/TableBase/use-table-sort.js +132 -68
- package/dist/components/data/TableBase/use-table-sort.js.map +1 -1
- package/dist/components/data/TableBase/use-table-sorts.js +168 -101
- package/dist/components/data/TableBase/use-table-sorts.js.map +1 -1
- package/dist/components/data/TableBase/use-table-storage.js +2 -2
- package/dist/components/data/TableBase/use-table-storage.js.map +1 -1
- package/dist/components/data/TableBase/use-table-tree-state.js +181 -86
- package/dist/components/data/TableBase/use-table-tree-state.js.map +1 -1
- package/dist/components/fields/Checkbox/Checkbox.d.ts +8 -0
- package/dist/components/fields/Checkbox/Checkbox.js +58 -39
- package/dist/components/fields/Checkbox/Checkbox.js.map +1 -1
- package/dist/components/fields/Checkbox/CheckboxGroup.js +101 -33
- package/dist/components/fields/Checkbox/CheckboxGroup.js.map +1 -1
- package/dist/components/fields/Checkbox/context.js +1 -1
- package/dist/components/fields/Checkbox/context.js.map +1 -1
- package/dist/components/fields/ColorInput/ColorInput.d.ts +17 -1
- package/dist/components/fields/ColorInput/ColorInput.js +334 -152
- package/dist/components/fields/ColorInput/ColorInput.js.map +1 -1
- package/dist/components/fields/ColorPicker/ColorPicker.d.ts +18 -2
- package/dist/components/fields/ColorPicker/ColorPicker.js +18 -17
- package/dist/components/fields/ColorPicker/ColorPicker.js.map +1 -1
- package/dist/components/fields/ColorSwatch/ColorSwatch.js +52 -13
- package/dist/components/fields/ColorSwatch/ColorSwatch.js.map +1 -1
- package/dist/components/fields/ColorSwatchGroup/ColorSwatchGroup.js +90 -28
- package/dist/components/fields/ColorSwatchGroup/ColorSwatchGroup.js.map +1 -1
- package/dist/components/fields/ComboBox/ComboBox.js +216 -134
- package/dist/components/fields/ComboBox/ComboBox.js.map +1 -1
- package/dist/components/fields/CommandTextArea/CommandTextArea.js +1 -1
- package/dist/components/fields/CommandTextArea/CommandTextArea.js.map +1 -1
- package/dist/components/fields/CommandTextArea/caretPosition.js +1 -1
- package/dist/components/fields/CommandTextArea/caretPosition.js.map +1 -1
- package/dist/components/fields/CommandTextArea/useCaretAnchor.js +88 -49
- package/dist/components/fields/CommandTextArea/useCaretAnchor.js.map +1 -1
- package/dist/components/fields/DatePicker/DateInput.js +1 -1
- package/dist/components/fields/DatePicker/DateInput.js.map +1 -1
- package/dist/components/fields/DatePicker/DateInputBase.js +129 -34
- package/dist/components/fields/DatePicker/DateInputBase.js.map +1 -1
- package/dist/components/fields/DatePicker/DatePicker.d.ts +17 -1
- package/dist/components/fields/DatePicker/DatePicker.js +200 -71
- package/dist/components/fields/DatePicker/DatePicker.js.map +1 -1
- package/dist/components/fields/DatePicker/DatePickerButton.js +39 -8
- package/dist/components/fields/DatePicker/DatePickerButton.js.map +1 -1
- package/dist/components/fields/DatePicker/DatePickerElement.js +1 -1
- package/dist/components/fields/DatePicker/DatePickerElement.js.map +1 -1
- package/dist/components/fields/DatePicker/DatePickerInput.js +1 -1
- package/dist/components/fields/DatePicker/DatePickerInput.js.map +1 -1
- package/dist/components/fields/DatePicker/DatePickerSegment.js +109 -29
- package/dist/components/fields/DatePicker/DatePickerSegment.js.map +1 -1
- package/dist/components/fields/DatePicker/DateRangePicker.d.ts +17 -2
- package/dist/components/fields/DatePicker/DateRangePicker.js +230 -90
- package/dist/components/fields/DatePicker/DateRangePicker.js.map +1 -1
- package/dist/components/fields/DatePicker/DateRangeSeparatedPicker.d.ts +17 -2
- package/dist/components/fields/DatePicker/DateRangeSeparatedPicker.js +481 -180
- package/dist/components/fields/DatePicker/DateRangeSeparatedPicker.js.map +1 -1
- package/dist/components/fields/DatePicker/MonthPicker.js +15 -6
- package/dist/components/fields/DatePicker/MonthPicker.js.map +1 -1
- package/dist/components/fields/DatePicker/PeriodPicker.d.ts +17 -1
- package/dist/components/fields/DatePicker/PeriodPicker.js +294 -93
- package/dist/components/fields/DatePicker/PeriodPicker.js.map +1 -1
- package/dist/components/fields/DatePicker/QuarterPicker.js +15 -6
- package/dist/components/fields/DatePicker/QuarterPicker.js.map +1 -1
- package/dist/components/fields/DatePicker/TimeInput.js +15 -7
- package/dist/components/fields/DatePicker/TimeInput.js.map +1 -1
- package/dist/components/fields/DatePicker/WeekPicker.js +15 -6
- package/dist/components/fields/DatePicker/WeekPicker.js.map +1 -1
- package/dist/components/fields/DatePicker/YearPicker.js +15 -6
- package/dist/components/fields/DatePicker/YearPicker.js.map +1 -1
- package/dist/components/fields/DatePicker/parseDate.js +1 -1
- package/dist/components/fields/DatePicker/parseDate.js.map +1 -1
- package/dist/components/fields/DatePicker/period.js +1 -1
- package/dist/components/fields/DatePicker/period.js.map +1 -1
- package/dist/components/fields/DatePicker/props.js +1 -1
- package/dist/components/fields/DatePicker/props.js.map +1 -1
- package/dist/components/fields/DatePicker/utils.js +15 -8
- package/dist/components/fields/DatePicker/utils.js.map +1 -1
- package/dist/components/fields/FileInput/FileInput.js +3 -3
- package/dist/components/fields/FileInput/FileInput.js.map +1 -1
- package/dist/components/fields/FilterListBox/FilterListBox.js +87 -87
- package/dist/components/fields/FilterListBox/FilterListBox.js.map +1 -1
- package/dist/components/fields/FilterPicker/FilterPicker.d.ts +11 -2
- package/dist/components/fields/FilterPicker/FilterPicker.js +24 -23
- package/dist/components/fields/FilterPicker/FilterPicker.js.map +1 -1
- package/dist/components/fields/Input/Input.js +1 -1
- package/dist/components/fields/Input/Input.js.map +1 -1
- package/dist/components/fields/ListBox/DraggableListBox.js +23 -10
- package/dist/components/fields/ListBox/DraggableListBox.js.map +1 -1
- package/dist/components/fields/ListBox/ListBox.js +138 -53
- package/dist/components/fields/ListBox/ListBox.js.map +1 -1
- package/dist/components/fields/ListBoxPopover/ListBoxPopover.js +156 -37
- package/dist/components/fields/ListBoxPopover/ListBoxPopover.js.map +1 -1
- package/dist/components/fields/ListBoxPopover/listNavigation.js +1 -1
- package/dist/components/fields/ListBoxPopover/listNavigation.js.map +1 -1
- package/dist/components/fields/ListBoxPopover/useCompositeFocus.js +61 -33
- package/dist/components/fields/ListBoxPopover/useCompositeFocus.js.map +1 -1
- package/dist/components/fields/NumberInput/NumberInput.js +123 -33
- package/dist/components/fields/NumberInput/NumberInput.js.map +1 -1
- package/dist/components/fields/NumberInput/StepButton.js +53 -15
- package/dist/components/fields/NumberInput/StepButton.js.map +1 -1
- package/dist/components/fields/PasswordInput/PasswordInput.js +149 -45
- package/dist/components/fields/PasswordInput/PasswordInput.js.map +1 -1
- package/dist/components/fields/Picker/Picker.d.ts +20 -3
- package/dist/components/fields/Picker/Picker.js +11 -10
- package/dist/components/fields/Picker/Picker.js.map +1 -1
- package/dist/components/fields/RadioGroup/Radio.d.ts +10 -2
- package/dist/components/fields/RadioGroup/Radio.js +275 -104
- package/dist/components/fields/RadioGroup/Radio.js.map +1 -1
- package/dist/components/fields/RadioGroup/RadioGroup.js +149 -48
- package/dist/components/fields/RadioGroup/RadioGroup.js.map +1 -1
- package/dist/components/fields/RadioGroup/context.js +1 -1
- package/dist/components/fields/RadioGroup/context.js.map +1 -1
- package/dist/components/fields/SearchComboBox/SearchComboBox.js +80 -65
- package/dist/components/fields/SearchComboBox/SearchComboBox.js.map +1 -1
- package/dist/components/fields/SearchInput/SearchInput.js +91 -28
- package/dist/components/fields/SearchInput/SearchInput.js.map +1 -1
- package/dist/components/fields/Select/Select.d.ts +24 -3
- package/dist/components/fields/Select/Select.js +376 -121
- package/dist/components/fields/Select/Select.js.map +1 -1
- package/dist/components/fields/Slider/Gradation.js +45 -10
- package/dist/components/fields/Slider/Gradation.js.map +1 -1
- package/dist/components/fields/Slider/HueSlider.js +121 -32
- package/dist/components/fields/Slider/HueSlider.js.map +1 -1
- package/dist/components/fields/Slider/RangeSlider.js +46 -10
- package/dist/components/fields/Slider/RangeSlider.js.map +1 -1
- package/dist/components/fields/Slider/Slider.js +108 -23
- package/dist/components/fields/Slider/Slider.js.map +1 -1
- package/dist/components/fields/Slider/SliderBase.js +2 -2
- package/dist/components/fields/Slider/SliderBase.js.map +1 -1
- package/dist/components/fields/Slider/SliderThumb.js +96 -37
- package/dist/components/fields/Slider/SliderThumb.js.map +1 -1
- package/dist/components/fields/Slider/SliderTrack.js +64 -23
- package/dist/components/fields/Slider/SliderTrack.js.map +1 -1
- package/dist/components/fields/Slider/elements.js +1 -1
- package/dist/components/fields/Slider/elements.js.map +1 -1
- package/dist/components/fields/Slider/index.js +1 -1
- package/dist/components/fields/Switch/Switch.js +190 -66
- package/dist/components/fields/Switch/Switch.js.map +1 -1
- package/dist/components/fields/TextArea/TextArea.js +137 -47
- package/dist/components/fields/TextArea/TextArea.js.map +1 -1
- package/dist/components/fields/TextInput/TextInput.js +80 -27
- package/dist/components/fields/TextInput/TextInput.js.map +1 -1
- package/dist/components/fields/TextInput/TextInputBase.js +2 -2
- package/dist/components/fields/TextInput/TextInputBase.js.map +1 -1
- package/dist/components/fields/TextInput/useAutoSizeTextArea.js +1 -1
- package/dist/components/fields/TextInput/useAutoSizeTextArea.js.map +1 -1
- package/dist/components/fields/TextInputMapper/TextInputMapper.js +156 -83
- package/dist/components/fields/TextInputMapper/TextInputMapper.js.map +1 -1
- package/dist/components/fields/TriggerActions.js +11 -2
- package/dist/components/fields/TriggerActions.js.map +1 -1
- package/dist/components/fields/color/ColorPanel.js +237 -59
- package/dist/components/fields/color/ColorPanel.js.map +1 -1
- package/dist/components/fields/color/channels.js +1 -1
- package/dist/components/fields/color/channels.js.map +1 -1
- package/dist/components/fields/color/color.js +1 -1
- package/dist/components/fields/color/color.js.map +1 -1
- package/dist/components/fields/color/context.js +1 -1
- package/dist/components/fields/color/context.js.map +1 -1
- package/dist/components/form/FieldWrapper/FieldWrapper.d.ts +1 -1
- package/dist/components/form/FieldWrapper/FieldWrapper.js +197 -72
- package/dist/components/form/FieldWrapper/FieldWrapper.js.map +1 -1
- package/dist/components/form/FieldWrapper/types.d.ts +1 -1
- package/dist/components/form/Form/Field.js +28 -12
- package/dist/components/form/Form/Field.js.map +1 -1
- package/dist/components/form/Form/Form.js +95 -34
- package/dist/components/form/Form/Form.js.map +1 -1
- package/dist/components/form/Form/ModernFormRoot.js +294 -81
- package/dist/components/form/Form/ModernFormRoot.js.map +1 -1
- package/dist/components/form/Form/ResetButton/ResetButton.js +32 -10
- package/dist/components/form/Form/ResetButton/ResetButton.js.map +1 -1
- package/dist/components/form/Form/SubmitButton/SubmitButton.js +32 -10
- package/dist/components/form/Form/SubmitButton/SubmitButton.js.map +1 -1
- package/dist/components/form/Form/SubmitError.js +130 -32
- package/dist/components/form/Form/SubmitError.js.map +1 -1
- package/dist/components/form/Form/backend.js +1 -1
- package/dist/components/form/Form/backend.js.map +1 -1
- package/dist/components/form/Form/index.js +1 -1
- package/dist/components/form/Form/index.js.map +1 -1
- package/dist/components/form/Form/modern/actions.js +140 -45
- package/dist/components/form/Form/modern/actions.js.map +1 -1
- package/dist/components/form/Form/modern/context.js +1 -1
- package/dist/components/form/Form/modern/context.js.map +1 -1
- package/dist/components/form/Form/modern/controller.js +1 -1
- package/dist/components/form/Form/modern/controller.js.map +1 -1
- package/dist/components/form/Form/modern/field-binding.js +1 -1
- package/dist/components/form/Form/modern/field-binding.js.map +1 -1
- package/dist/components/form/Form/modern/field.js +1 -1
- package/dist/components/form/Form/modern/field.js.map +1 -1
- package/dist/components/form/Form/modern/react.js +102 -19
- package/dist/components/form/Form/modern/react.js.map +1 -1
- package/dist/components/form/Form/modern/store.js +13 -3
- package/dist/components/form/Form/modern/store.js.map +1 -1
- package/dist/components/form/Form/modern/types.d.ts +3 -1
- package/dist/components/form/Form/modern/validation.js +1 -1
- package/dist/components/form/Form/modern/validation.js.map +1 -1
- package/dist/components/form/Form/modern/values.js +1 -1
- package/dist/components/form/Form/modern/values.js.map +1 -1
- package/dist/components/form/Form/use-field/use-field-binding.js +236 -63
- package/dist/components/form/Form/use-field/use-field-binding.js.map +1 -1
- package/dist/components/form/Form/use-field/use-field-props.js +106 -61
- package/dist/components/form/Form/use-field/use-field-props.js.map +1 -1
- package/dist/components/form/Form/use-field/use-field.js +5 -4
- package/dist/components/form/Form/use-field/use-field.js.map +1 -1
- package/dist/components/form/Form/use-form.js +2 -1
- package/dist/components/form/Form/use-form.js.map +1 -1
- package/dist/components/form/Form/validation.js +1 -1
- package/dist/components/form/Form/validation.js.map +1 -1
- package/dist/components/form/Label.js +127 -37
- package/dist/components/form/Label.js.map +1 -1
- package/dist/components/form/legacy-tooltip.js +28 -0
- package/dist/components/form/legacy-tooltip.js.map +1 -0
- package/dist/components/form/validation/ValidationIndicator.js +20 -5
- package/dist/components/form/validation/ValidationIndicator.js.map +1 -1
- package/dist/components/form/validation/resolve-validation-props.js +1 -1
- package/dist/components/form/validation/resolve-validation-props.js.map +1 -1
- package/dist/components/form/validation/use-validation-props.js +36 -10
- package/dist/components/form/validation/use-validation-props.js.map +1 -1
- package/dist/components/form/wrapper.js +5 -3
- package/dist/components/form/wrapper.js.map +1 -1
- package/dist/components/helpers/DisplayTransition/DisplayTransition.js +49 -29
- package/dist/components/helpers/DisplayTransition/DisplayTransition.js.map +1 -1
- package/dist/components/helpers/IconSwitch/IconSwitch.js +8 -8
- package/dist/components/helpers/IconSwitch/IconSwitch.js.map +1 -1
- package/dist/components/layout/Board/Board.js +27 -9
- package/dist/components/layout/Board/Board.js.map +1 -1
- package/dist/components/layout/Board/BoardProvider.js +1 -1
- package/dist/components/layout/Board/BoardProvider.js.map +1 -1
- package/dist/components/layout/Board/BoardResponsive.js +1 -1
- package/dist/components/layout/Board/BoardResponsive.js.map +1 -1
- package/dist/components/layout/Board/Widget.js +1 -1
- package/dist/components/layout/Board/Widget.js.map +1 -1
- package/dist/components/layout/Board/WidgetHost.js +159 -121
- package/dist/components/layout/Board/WidgetHost.js.map +1 -1
- package/dist/components/layout/Board/board-context.js +14 -5
- package/dist/components/layout/Board/board-context.js.map +1 -1
- package/dist/components/layout/Board/board-store.js +1 -1
- package/dist/components/layout/Board/board-store.js.map +1 -1
- package/dist/components/layout/Board/grid-core/calculate.js +1 -1
- package/dist/components/layout/Board/grid-core/calculate.js.map +1 -1
- package/dist/components/layout/Board/grid-core/collision-modes.js +1 -1
- package/dist/components/layout/Board/grid-core/collision-modes.js.map +1 -1
- package/dist/components/layout/Board/grid-core/collision.js +1 -1
- package/dist/components/layout/Board/grid-core/collision.js.map +1 -1
- package/dist/components/layout/Board/grid-core/compactors.js +1 -1
- package/dist/components/layout/Board/grid-core/compactors.js.map +1 -1
- package/dist/components/layout/Board/grid-core/constraints.js +1 -1
- package/dist/components/layout/Board/grid-core/constraints.js.map +1 -1
- package/dist/components/layout/Board/grid-core/group-move.js +1 -1
- package/dist/components/layout/Board/grid-core/group-move.js.map +1 -1
- package/dist/components/layout/Board/grid-core/layout.js +1 -1
- package/dist/components/layout/Board/grid-core/layout.js.map +1 -1
- package/dist/components/layout/Board/grid-core/placement.js +1 -1
- package/dist/components/layout/Board/grid-core/placement.js.map +1 -1
- package/dist/components/layout/Board/grid-core/sort.js +1 -1
- package/dist/components/layout/Board/grid-core/sort.js.map +1 -1
- package/dist/components/layout/Board/index.js +1 -1
- package/dist/components/layout/Board/index.js.map +1 -1
- package/dist/components/layout/Board/responsive-utils.js +1 -1
- package/dist/components/layout/Board/responsive-utils.js.map +1 -1
- package/dist/components/layout/Board/use-board-layout.js +8 -8
- package/dist/components/layout/Board/use-board-layout.js.map +1 -1
- package/dist/components/layout/Board/use-board-registry.js +257 -257
- package/dist/components/layout/Board/use-board-registry.js.map +1 -1
- package/dist/components/layout/Board/use-board-select-modifier-key.js +1 -1
- package/dist/components/layout/Board/use-board-select-modifier-key.js.map +1 -1
- package/dist/components/layout/Board/use-board-selection.js +16 -16
- package/dist/components/layout/Board/use-board-selection.js.map +1 -1
- package/dist/components/layout/Flex.js +29 -7
- package/dist/components/layout/Flex.js.map +1 -1
- package/dist/components/layout/Flow.js +29 -7
- package/dist/components/layout/Flow.js.map +1 -1
- package/dist/components/layout/Grid.js +30 -7
- package/dist/components/layout/Grid.js.map +1 -1
- package/dist/components/layout/Panel.js +9 -9
- package/dist/components/layout/Panel.js.map +1 -1
- package/dist/components/layout/Prefix.js +59 -16
- package/dist/components/layout/Prefix.js.map +1 -1
- package/dist/components/layout/ResizablePanel.js +62 -32
- package/dist/components/layout/ResizablePanel.js.map +1 -1
- package/dist/components/layout/Space.js +55 -11
- package/dist/components/layout/Space.js.map +1 -1
- package/dist/components/layout/Suffix.js +59 -16
- package/dist/components/layout/Suffix.js.map +1 -1
- package/dist/components/navigation/Pagination/Pagination.js +394 -164
- package/dist/components/navigation/Pagination/Pagination.js.map +1 -1
- package/dist/components/navigation/Pagination/use-pagination.js +69 -26
- package/dist/components/navigation/Pagination/use-pagination.js.map +1 -1
- package/dist/components/navigation/Tabs/DraggableTabList.js +25 -10
- package/dist/components/navigation/Tabs/DraggableTabList.js.map +1 -1
- package/dist/components/navigation/Tabs/TabButton.js +625 -235
- package/dist/components/navigation/Tabs/TabButton.js.map +1 -1
- package/dist/components/navigation/Tabs/TabDropIndicator.js +65 -23
- package/dist/components/navigation/Tabs/TabDropIndicator.js.map +1 -1
- package/dist/components/navigation/Tabs/TabPanel.js +47 -19
- package/dist/components/navigation/Tabs/TabPanel.js.map +1 -1
- package/dist/components/navigation/Tabs/TabPicker.js +106 -33
- package/dist/components/navigation/Tabs/TabPicker.js.map +1 -1
- package/dist/components/navigation/Tabs/Tabs.js +45 -45
- package/dist/components/navigation/Tabs/Tabs.js.map +1 -1
- package/dist/components/navigation/Tabs/TabsAction.js +53 -19
- package/dist/components/navigation/Tabs/TabsAction.js.map +1 -1
- package/dist/components/navigation/Tabs/TabsContext.js +16 -6
- package/dist/components/navigation/Tabs/TabsContext.js.map +1 -1
- package/dist/components/navigation/Tabs/popover-placement.js +1 -1
- package/dist/components/navigation/Tabs/popover-placement.js.map +1 -1
- package/dist/components/navigation/Tabs/styled.js +2 -2
- package/dist/components/navigation/Tabs/styled.js.map +1 -1
- package/dist/components/navigation/Tabs/types.js +1 -1
- package/dist/components/navigation/Tabs/types.js.map +1 -1
- package/dist/components/navigation/Tabs/use-tab-editing.js +50 -13
- package/dist/components/navigation/Tabs/use-tab-editing.js.map +1 -1
- package/dist/components/navigation/Tabs/use-tab-indicator.js +111 -63
- package/dist/components/navigation/Tabs/use-tab-indicator.js.map +1 -1
- package/dist/components/organisms/StatsCard/StatsCard.js +54 -14
- package/dist/components/organisms/StatsCard/StatsCard.js.map +1 -1
- package/dist/components/other/Calendar/Calendar.js +79 -31
- package/dist/components/other/Calendar/Calendar.js.map +1 -1
- package/dist/components/other/Calendar/CalendarCell.js +66 -20
- package/dist/components/other/Calendar/CalendarCell.js.map +1 -1
- package/dist/components/other/Calendar/CalendarGrid.js +90 -40
- package/dist/components/other/Calendar/CalendarGrid.js.map +1 -1
- package/dist/components/other/Calendar/CalendarHeader.js +80 -17
- package/dist/components/other/Calendar/CalendarHeader.js.map +1 -1
- package/dist/components/other/Calendar/CalendarPanel.js +568 -144
- package/dist/components/other/Calendar/CalendarPanel.js.map +1 -1
- package/dist/components/other/Calendar/PeriodCalendar.js +425 -134
- package/dist/components/other/Calendar/PeriodCalendar.js.map +1 -1
- package/dist/components/other/Calendar/PeriodGrid.js +6 -6
- package/dist/components/other/Calendar/PeriodGrid.js.map +1 -1
- package/dist/components/other/Calendar/RangeCalendar.js +50 -24
- package/dist/components/other/Calendar/RangeCalendar.js.map +1 -1
- package/dist/components/other/Calendar/styled.js +1 -1
- package/dist/components/other/Calendar/styled.js.map +1 -1
- package/dist/components/other/CubeLogo/CubeLogo.js +95 -34
- package/dist/components/other/CubeLogo/CubeLogo.js.map +1 -1
- package/dist/components/other/NoDataIcon/NoDataIcon.js +1 -1
- package/dist/components/other/NoDataIcon/NoDataIcon.js.map +1 -1
- package/dist/components/overlays/AlertDialog/AlertDialog.js +153 -42
- package/dist/components/overlays/AlertDialog/AlertDialog.js.map +1 -1
- package/dist/components/overlays/AlertDialog/AlertDialogApiProvider.js +76 -54
- package/dist/components/overlays/AlertDialog/AlertDialogApiProvider.js.map +1 -1
- package/dist/components/overlays/AlertDialog/AlertDialogZone.js +146 -39
- package/dist/components/overlays/AlertDialog/AlertDialogZone.js.map +1 -1
- package/dist/components/overlays/Dialog/Dialog.js +43 -18
- package/dist/components/overlays/Dialog/Dialog.js.map +1 -1
- package/dist/components/overlays/Dialog/DialogContainer.js +13 -13
- package/dist/components/overlays/Dialog/DialogContainer.js.map +1 -1
- package/dist/components/overlays/Dialog/DialogForm.d.ts +12 -7
- package/dist/components/overlays/Dialog/DialogForm.js +22 -10
- package/dist/components/overlays/Dialog/DialogForm.js.map +1 -1
- package/dist/components/overlays/Dialog/DialogTrigger.d.ts +1 -1
- package/dist/components/overlays/Dialog/DialogTrigger.js +214 -59
- package/dist/components/overlays/Dialog/DialogTrigger.js.map +1 -1
- package/dist/components/overlays/Dialog/ModernDialogForm.js +357 -0
- package/dist/components/overlays/Dialog/ModernDialogForm.js.map +1 -0
- package/dist/components/overlays/Dialog/context.js +1 -1
- package/dist/components/overlays/Dialog/context.js.map +1 -1
- package/dist/components/overlays/Dialog/index.d.ts +1 -1
- package/dist/components/overlays/Dialog/use-content-overflow.js +68 -0
- package/dist/components/overlays/Dialog/use-content-overflow.js.map +1 -0
- package/dist/components/overlays/Dialog/use-dialog-container.js +6 -6
- package/dist/components/overlays/Dialog/use-dialog-container.js.map +1 -1
- package/dist/components/overlays/Modal/Modal.js +140 -27
- package/dist/components/overlays/Modal/Modal.js.map +1 -1
- package/dist/components/overlays/Modal/OpenTransitionContext.js +1 -1
- package/dist/components/overlays/Modal/OpenTransitionContext.js.map +1 -1
- package/dist/components/overlays/Modal/Overlay.js +4 -4
- package/dist/components/overlays/Modal/Overlay.js.map +1 -1
- package/dist/components/overlays/Modal/Popover.js +131 -29
- package/dist/components/overlays/Modal/Popover.js.map +1 -1
- package/dist/components/overlays/Modal/Tray.js +142 -30
- package/dist/components/overlays/Modal/Tray.js.map +1 -1
- package/dist/components/overlays/Modal/Underlay.js +36 -7
- package/dist/components/overlays/Modal/Underlay.js.map +1 -1
- package/dist/components/overlays/Notifications/Notification.js +69 -32
- package/dist/components/overlays/Notifications/Notification.js.map +1 -1
- package/dist/components/overlays/Notifications/NotificationAction.js +79 -26
- package/dist/components/overlays/Notifications/NotificationAction.js.map +1 -1
- package/dist/components/overlays/Notifications/NotificationCard.js +138 -33
- package/dist/components/overlays/Notifications/NotificationCard.js.map +1 -1
- package/dist/components/overlays/Notifications/NotificationContext.js +1 -1
- package/dist/components/overlays/Notifications/NotificationContext.js.map +1 -1
- package/dist/components/overlays/Notifications/NotificationItem.js +63 -16
- package/dist/components/overlays/Notifications/NotificationItem.js.map +1 -1
- package/dist/components/overlays/Notifications/OverlayContainer.js +312 -151
- package/dist/components/overlays/Notifications/OverlayContainer.js.map +1 -1
- package/dist/components/overlays/Notifications/OverlayProvider.js +1 -1
- package/dist/components/overlays/Notifications/OverlayProvider.js.map +1 -1
- package/dist/components/overlays/Notifications/PersistentNotificationsList.js +210 -58
- package/dist/components/overlays/Notifications/PersistentNotificationsList.js.map +1 -1
- package/dist/components/overlays/Notifications/dismissed-storage.js +1 -1
- package/dist/components/overlays/Notifications/dismissed-storage.js.map +1 -1
- package/dist/components/overlays/Notifications/format-relative-time.d.ts +1 -1
- package/dist/components/overlays/Notifications/format-relative-time.js +3 -3
- package/dist/components/overlays/Notifications/format-relative-time.js.map +1 -1
- package/dist/components/overlays/Notifications/index.js +1 -1
- package/dist/components/overlays/Notifications/index.js.map +1 -1
- package/dist/components/overlays/Notifications/use-notification-state.js +51 -51
- package/dist/components/overlays/Notifications/use-notification-state.js.map +1 -1
- package/dist/components/overlays/Notifications/use-notifications.js +12 -12
- package/dist/components/overlays/Notifications/use-notifications.js.map +1 -1
- package/dist/components/overlays/Notifications/use-overlay-timers.js +10 -10
- package/dist/components/overlays/Notifications/use-overlay-timers.js.map +1 -1
- package/dist/components/overlays/Notifications/use-persistent-notifications.js +24 -5
- package/dist/components/overlays/Notifications/use-persistent-notifications.js.map +1 -1
- package/dist/components/overlays/Notifications/use-persistent-state.js +145 -43
- package/dist/components/overlays/Notifications/use-persistent-state.js.map +1 -1
- package/dist/components/overlays/Notifications/use-toast-state.js +25 -25
- package/dist/components/overlays/Notifications/use-toast-state.js.map +1 -1
- package/dist/components/overlays/Toast/ToastItem.js +68 -15
- package/dist/components/overlays/Toast/ToastItem.js.map +1 -1
- package/dist/components/overlays/Toast/index.js +100 -34
- package/dist/components/overlays/Toast/index.js.map +1 -1
- package/dist/components/overlays/Toast/useProgressToast.js +1 -1
- package/dist/components/overlays/Toast/useProgressToast.js.map +1 -1
- package/dist/components/overlays/Toast/useToast.js +9 -9
- package/dist/components/overlays/Toast/useToast.js.map +1 -1
- package/dist/components/overlays/Tooltip/Tooltip.js +88 -31
- package/dist/components/overlays/Tooltip/Tooltip.js.map +1 -1
- package/dist/components/overlays/Tooltip/TooltipProvider.js +75 -10
- package/dist/components/overlays/Tooltip/TooltipProvider.js.map +1 -1
- package/dist/components/overlays/Tooltip/TooltipTrigger.js +189 -77
- package/dist/components/overlays/Tooltip/TooltipTrigger.js.map +1 -1
- package/dist/components/overlays/Tooltip/context.js +1 -1
- package/dist/components/overlays/Tooltip/context.js.map +1 -1
- package/dist/components/overlays/Tooltip/split-trigger-props.d.ts +16 -0
- package/dist/components/overlays/Tooltip/split-trigger-props.js +54 -0
- package/dist/components/overlays/Tooltip/split-trigger-props.js.map +1 -0
- package/dist/components/portal/Portal.js +18 -3
- package/dist/components/portal/Portal.js.map +1 -1
- package/dist/components/portal/PortalProvider.js +11 -2
- package/dist/components/portal/PortalProvider.js.map +1 -1
- package/dist/components/portal/usePortal.js +1 -1
- package/dist/components/portal/usePortal.js.map +1 -1
- package/dist/components/shared/DraggableCollection.js +23 -23
- package/dist/components/shared/DraggableCollection.js.map +1 -1
- package/dist/components/shared/InvalidIcon.js +1 -1
- package/dist/components/shared/InvalidIcon.js.map +1 -1
- package/dist/components/shared/ValidIcon.js +1 -1
- package/dist/components/shared/ValidIcon.js.map +1 -1
- package/dist/components/status/LoadingAnimation/LoadingAnimation.js +156 -48
- package/dist/components/status/LoadingAnimation/LoadingAnimation.js.map +1 -1
- package/dist/components/status/Spin/Cube.js +12 -3
- package/dist/components/status/Spin/Cube.js.map +1 -1
- package/dist/components/status/Spin/InternalSpinner.js +21 -6
- package/dist/components/status/Spin/InternalSpinner.js.map +1 -1
- package/dist/components/status/Spin/Spin.js +31 -7
- package/dist/components/status/Spin/Spin.js.map +1 -1
- package/dist/components/status/Spin/SpinsContainer.js +23 -6
- package/dist/components/status/Spin/SpinsContainer.js.map +1 -1
- package/dist/data/item-themes.d.ts +1 -1
- package/dist/data/item-themes.js +7 -1
- package/dist/data/item-themes.js.map +1 -1
- package/dist/data/themes.js +1 -1
- package/dist/data/themes.js.map +1 -1
- package/dist/eslint-plugin/defaults.generated.js +15 -5
- package/dist/eslint-plugin/defaults.generated.js.map +1 -1
- package/dist/eslint-plugin/index.js +1 -1
- package/dist/eslint-plugin/index.js.map +1 -1
- package/dist/eslint-plugin/rules/no-redundant-default-prop.js +1 -1
- package/dist/eslint-plugin/rules/no-redundant-default-prop.js.map +1 -1
- package/dist/i18n/I18nProvider.js +54 -13
- package/dist/i18n/I18nProvider.js.map +1 -1
- package/dist/i18n/createFormatter.js +1 -1
- package/dist/i18n/createFormatter.js.map +1 -1
- package/dist/i18n/index.js +1 -1
- package/dist/i18n/index.js.map +1 -1
- package/dist/i18n/instance.js +1 -1
- package/dist/i18n/instance.js.map +1 -1
- package/dist/i18n/locales/de-DE/uikit.js +1 -1
- package/dist/i18n/locales/en-US/uikit.js +1 -1
- package/dist/i18n/locales/es-ES/uikit.js +1 -1
- package/dist/i18n/locales/es-MX/uikit.js +1 -1
- package/dist/i18n/locales/fr-FR/uikit.js +1 -1
- package/dist/i18n/locales/it-IT/uikit.js +1 -1
- package/dist/i18n/locales/ja-JP/uikit.js +1 -1
- package/dist/i18n/locales/nb-NO/uikit.js +1 -1
- package/dist/i18n/locales/pt-BR/uikit.js +1 -1
- package/dist/i18n/locales/pt-PT/uikit.js +1 -1
- package/dist/i18n/locales/sv-SE/uikit.js +1 -1
- package/dist/i18n/locales/vi-VN/uikit.js +1 -1
- package/dist/i18n/locales.js +1 -1
- package/dist/i18n/locales.js.map +1 -1
- package/dist/i18n/useFormatter.js +10 -3
- package/dist/i18n/useFormatter.js.map +1 -1
- package/dist/i18n/useI18n.js +1 -1
- package/dist/i18n/useI18n.js.map +1 -1
- package/dist/icons/AdjustmentsHorizontalIcon.js +1 -1
- package/dist/icons/AdjustmentsHorizontalIcon.js.map +1 -1
- package/dist/icons/AdjustmentsIcon.js +1 -1
- package/dist/icons/AdjustmentsIcon.js.map +1 -1
- package/dist/icons/AiIcon.js +1 -1
- package/dist/icons/AiIcon.js.map +1 -1
- package/dist/icons/AreaChartIcon.js +1 -1
- package/dist/icons/AreaChartIcon.js.map +1 -1
- package/dist/icons/ArrowNarrowDownIcon.js +1 -1
- package/dist/icons/ArrowNarrowDownIcon.js.map +1 -1
- package/dist/icons/ArrowNarrowUpIcon.js +1 -1
- package/dist/icons/ArrowNarrowUpIcon.js.map +1 -1
- package/dist/icons/BackwardIcon.js +1 -1
- package/dist/icons/BackwardIcon.js.map +1 -1
- package/dist/icons/BarChartIcon.js +1 -1
- package/dist/icons/BarChartIcon.js.map +1 -1
- package/dist/icons/BellFilledIcon.js +1 -1
- package/dist/icons/BellFilledIcon.js.map +1 -1
- package/dist/icons/BellIcon.js +1 -1
- package/dist/icons/BellIcon.js.map +1 -1
- package/dist/icons/BooleanIcon.js +1 -1
- package/dist/icons/BooleanIcon.js.map +1 -1
- package/dist/icons/CalendarEditIcon.js +1 -1
- package/dist/icons/CalendarEditIcon.js.map +1 -1
- package/dist/icons/CalendarIcon.js +1 -1
- package/dist/icons/CalendarIcon.js.map +1 -1
- package/dist/icons/CaretDownIcon.js +1 -1
- package/dist/icons/CaretDownIcon.js.map +1 -1
- package/dist/icons/CaretUpIcon.js +1 -1
- package/dist/icons/CaretUpIcon.js.map +1 -1
- package/dist/icons/ChartAreaStackedIcon.js +1 -1
- package/dist/icons/ChartAreaStackedIcon.js.map +1 -1
- package/dist/icons/ChartAreaStackedPercentageIcon.js +1 -1
- package/dist/icons/ChartAreaStackedPercentageIcon.js.map +1 -1
- package/dist/icons/ChartBarGroupedHorizontalIcon.js +1 -1
- package/dist/icons/ChartBarGroupedHorizontalIcon.js.map +1 -1
- package/dist/icons/ChartBarGroupedIcon.js +1 -1
- package/dist/icons/ChartBarGroupedIcon.js.map +1 -1
- package/dist/icons/ChartBarHorizontalIcon.js +1 -1
- package/dist/icons/ChartBarHorizontalIcon.js.map +1 -1
- package/dist/icons/ChartBarLineIcon.js +1 -1
- package/dist/icons/ChartBarLineIcon.js.map +1 -1
- package/dist/icons/ChartBarStackedHorizontalIcon.js +1 -1
- package/dist/icons/ChartBarStackedHorizontalIcon.js.map +1 -1
- package/dist/icons/ChartBarStackedIcon.js +1 -1
- package/dist/icons/ChartBarStackedIcon.js.map +1 -1
- package/dist/icons/ChartBarStackedPercentageHorizontalIcon.js +1 -1
- package/dist/icons/ChartBarStackedPercentageHorizontalIcon.js.map +1 -1
- package/dist/icons/ChartBarStackedPercentageIcon.js +1 -1
- package/dist/icons/ChartBarStackedPercentageIcon.js.map +1 -1
- package/dist/icons/ChartBoxPlot2Icon.js +1 -1
- package/dist/icons/ChartBoxPlot2Icon.js.map +1 -1
- package/dist/icons/ChartBoxPlotIcon.js +1 -1
- package/dist/icons/ChartBoxPlotIcon.js.map +1 -1
- package/dist/icons/ChartBubbleIcon.js +1 -1
- package/dist/icons/ChartBubbleIcon.js.map +1 -1
- package/dist/icons/ChartDonut2Icon.js +1 -1
- package/dist/icons/ChartDonut2Icon.js.map +1 -1
- package/dist/icons/ChartFunnelIcon.js +1 -1
- package/dist/icons/ChartFunnelIcon.js.map +1 -1
- package/dist/icons/ChartHeatmapIcon.js +1 -1
- package/dist/icons/ChartHeatmapIcon.js.map +1 -1
- package/dist/icons/ChartKPIIcon.js +1 -1
- package/dist/icons/ChartKPIIcon.js.map +1 -1
- package/dist/icons/ChartPie2Icon.js +1 -1
- package/dist/icons/ChartPie2Icon.js.map +1 -1
- package/dist/icons/ChartScatterIcon.js +1 -1
- package/dist/icons/ChartScatterIcon.js.map +1 -1
- package/dist/icons/CheckCircleFilledIcon.js +1 -1
- package/dist/icons/CheckCircleFilledIcon.js.map +1 -1
- package/dist/icons/CheckCircleIcon.js +1 -1
- package/dist/icons/CheckCircleIcon.js.map +1 -1
- package/dist/icons/CheckIcon.js +1 -1
- package/dist/icons/CheckIcon.js.map +1 -1
- package/dist/icons/CircleFilledIcon.js +1 -1
- package/dist/icons/CircleFilledIcon.js.map +1 -1
- package/dist/icons/ClearIcon.js +1 -1
- package/dist/icons/ClearIcon.js.map +1 -1
- package/dist/icons/CloseCircleFilledIcon.js +1 -1
- package/dist/icons/CloseCircleFilledIcon.js.map +1 -1
- package/dist/icons/CloseCircleIcon.js +1 -1
- package/dist/icons/CloseCircleIcon.js.map +1 -1
- package/dist/icons/CloseIcon.js +1 -1
- package/dist/icons/CloseIcon.js.map +1 -1
- package/dist/icons/CodeIcon.js +1 -1
- package/dist/icons/CodeIcon.js.map +1 -1
- package/dist/icons/ColumnTotalIcon.js +1 -1
- package/dist/icons/ColumnTotalIcon.js.map +1 -1
- package/dist/icons/CopyIcon.js +1 -1
- package/dist/icons/CopyIcon.js.map +1 -1
- package/dist/icons/CountIcon.js +1 -1
- package/dist/icons/CountIcon.js.map +1 -1
- package/dist/icons/CubeIcon.js +1 -1
- package/dist/icons/CubeIcon.js.map +1 -1
- package/dist/icons/CubePauseIcon.js +1 -1
- package/dist/icons/CubePauseIcon.js.map +1 -1
- package/dist/icons/CubePlayIcon.js +1 -1
- package/dist/icons/CubePlayIcon.js.map +1 -1
- package/dist/icons/CurrencyDollarIcon.js +1 -1
- package/dist/icons/CurrencyDollarIcon.js.map +1 -1
- package/dist/icons/DangerIcon.js +1 -1
- package/dist/icons/DangerIcon.js.map +1 -1
- package/dist/icons/DashboardIcon.js +1 -1
- package/dist/icons/DashboardIcon.js.map +1 -1
- package/dist/icons/DatabaseIcon.js +1 -1
- package/dist/icons/DatabaseIcon.js.map +1 -1
- package/dist/icons/DecimalDecreaseIcon.js +1 -1
- package/dist/icons/DecimalDecreaseIcon.js.map +1 -1
- package/dist/icons/DecimalIncreaseIcon.js +1 -1
- package/dist/icons/DecimalIncreaseIcon.js.map +1 -1
- package/dist/icons/DirectionIcon.js +67 -22
- package/dist/icons/DirectionIcon.js.map +1 -1
- package/dist/icons/DonutIcon.js +1 -1
- package/dist/icons/DonutIcon.js.map +1 -1
- package/dist/icons/DownIcon.js +1 -1
- package/dist/icons/DownIcon.js.map +1 -1
- package/dist/icons/EditIcon.js +1 -1
- package/dist/icons/EditIcon.js.map +1 -1
- package/dist/icons/ExclamationCircleFilledIcon.js +1 -1
- package/dist/icons/ExclamationCircleFilledIcon.js.map +1 -1
- package/dist/icons/ExclamationCircleIcon.js +1 -1
- package/dist/icons/ExclamationCircleIcon.js.map +1 -1
- package/dist/icons/ExclamationIcon.js +1 -1
- package/dist/icons/ExclamationIcon.js.map +1 -1
- package/dist/icons/EyeIcon.js +1 -1
- package/dist/icons/EyeIcon.js.map +1 -1
- package/dist/icons/EyeInvisibleIcon.js +1 -1
- package/dist/icons/EyeInvisibleIcon.js.map +1 -1
- package/dist/icons/FilterIcon.js +1 -1
- package/dist/icons/FilterIcon.js.map +1 -1
- package/dist/icons/FolderFilledIcon.js +1 -1
- package/dist/icons/FolderFilledIcon.js.map +1 -1
- package/dist/icons/FolderIcon.js +1 -1
- package/dist/icons/FolderIcon.js.map +1 -1
- package/dist/icons/FolderOpenFilledIcon.js +1 -1
- package/dist/icons/FolderOpenFilledIcon.js.map +1 -1
- package/dist/icons/FolderOpenIcon.js +1 -1
- package/dist/icons/FolderOpenIcon.js.map +1 -1
- package/dist/icons/ForwardIcon.js +1 -1
- package/dist/icons/ForwardIcon.js.map +1 -1
- package/dist/icons/GripVerticalIcon.js +1 -1
- package/dist/icons/GripVerticalIcon.js.map +1 -1
- package/dist/icons/HierarchyIcon.js +1 -1
- package/dist/icons/HierarchyIcon.js.map +1 -1
- package/dist/icons/HierarchyOpenIcon.js +1 -1
- package/dist/icons/HierarchyOpenIcon.js.map +1 -1
- package/dist/icons/Icon.js +60 -16
- package/dist/icons/Icon.js.map +1 -1
- package/dist/icons/InfoCircleIcon.js +1 -1
- package/dist/icons/InfoCircleIcon.js.map +1 -1
- package/dist/icons/InfoIcon.js +1 -1
- package/dist/icons/InfoIcon.js.map +1 -1
- package/dist/icons/KeyIcon.js +1 -1
- package/dist/icons/KeyIcon.js.map +1 -1
- package/dist/icons/LeftIcon.js +1 -1
- package/dist/icons/LeftIcon.js.map +1 -1
- package/dist/icons/LineChartIcon.js +1 -1
- package/dist/icons/LineChartIcon.js.map +1 -1
- package/dist/icons/LoadingIcon.js +1 -1
- package/dist/icons/LoadingIcon.js.map +1 -1
- package/dist/icons/LockFilledIcon.js +1 -1
- package/dist/icons/LockFilledIcon.js.map +1 -1
- package/dist/icons/LockIcon.js +1 -1
- package/dist/icons/LockIcon.js.map +1 -1
- package/dist/icons/MoreIcon.js +1 -1
- package/dist/icons/MoreIcon.js.map +1 -1
- package/dist/icons/NotAllowedIcon.js +1 -1
- package/dist/icons/NotAllowedIcon.js.map +1 -1
- package/dist/icons/Number123Icon.js +1 -1
- package/dist/icons/Number123Icon.js.map +1 -1
- package/dist/icons/NumberIcon.js +1 -1
- package/dist/icons/NumberIcon.js.map +1 -1
- package/dist/icons/PauseCircleFilledIcon.js +1 -1
- package/dist/icons/PauseCircleFilledIcon.js.map +1 -1
- package/dist/icons/PauseCircleIcon.js +1 -1
- package/dist/icons/PauseCircleIcon.js.map +1 -1
- package/dist/icons/PauseIcon.js +1 -1
- package/dist/icons/PauseIcon.js.map +1 -1
- package/dist/icons/PercentageIcon.js +1 -1
- package/dist/icons/PercentageIcon.js.map +1 -1
- package/dist/icons/PieChartIcon.js +1 -1
- package/dist/icons/PieChartIcon.js.map +1 -1
- package/dist/icons/PipetteIcon.js +1 -1
- package/dist/icons/PipetteIcon.js.map +1 -1
- package/dist/icons/PlayCircleIcon.js +1 -1
- package/dist/icons/PlayCircleIcon.js.map +1 -1
- package/dist/icons/PlayIcon.js +1 -1
- package/dist/icons/PlayIcon.js.map +1 -1
- package/dist/icons/PlusIcon.js +1 -1
- package/dist/icons/PlusIcon.js.map +1 -1
- package/dist/icons/ProgressBarIcon.js +1 -1
- package/dist/icons/ProgressBarIcon.js.map +1 -1
- package/dist/icons/ReloadIcon.js +1 -1
- package/dist/icons/ReloadIcon.js.map +1 -1
- package/dist/icons/ReportIcon.js +1 -1
- package/dist/icons/ReportIcon.js.map +1 -1
- package/dist/icons/ReturnIcon.js +1 -1
- package/dist/icons/ReturnIcon.js.map +1 -1
- package/dist/icons/RightIcon.js +1 -1
- package/dist/icons/RightIcon.js.map +1 -1
- package/dist/icons/RowTotalsIcon.js +1 -1
- package/dist/icons/RowTotalsIcon.js.map +1 -1
- package/dist/icons/SchemeIcon.js +1 -1
- package/dist/icons/SchemeIcon.js.map +1 -1
- package/dist/icons/SearchIcon.js +1 -1
- package/dist/icons/SearchIcon.js.map +1 -1
- package/dist/icons/SemanticQueryIcon.js +1 -1
- package/dist/icons/SemanticQueryIcon.js.map +1 -1
- package/dist/icons/SettingsIcon.js +1 -1
- package/dist/icons/SettingsIcon.js.map +1 -1
- package/dist/icons/ShieldFilledIcon.js +1 -1
- package/dist/icons/ShieldFilledIcon.js.map +1 -1
- package/dist/icons/ShieldIcon.js +1 -1
- package/dist/icons/ShieldIcon.js.map +1 -1
- package/dist/icons/SlashIcon.js +1 -1
- package/dist/icons/SlashIcon.js.map +1 -1
- package/dist/icons/SparklesIcon.js +1 -1
- package/dist/icons/SparklesIcon.js.map +1 -1
- package/dist/icons/SqlIcon.js +1 -1
- package/dist/icons/SqlIcon.js.map +1 -1
- package/dist/icons/StatsIcon.js +1 -1
- package/dist/icons/StatsIcon.js.map +1 -1
- package/dist/icons/StopIcon.js +1 -1
- package/dist/icons/StopIcon.js.map +1 -1
- package/dist/icons/StringIcon.js +1 -1
- package/dist/icons/StringIcon.js.map +1 -1
- package/dist/icons/SubtotalsIcon.js +1 -1
- package/dist/icons/SubtotalsIcon.js.map +1 -1
- package/dist/icons/SwitchIcon.js +1 -1
- package/dist/icons/SwitchIcon.js.map +1 -1
- package/dist/icons/TableIcon.js +1 -1
- package/dist/icons/TableIcon.js.map +1 -1
- package/dist/icons/ThumbsDownIcon.js +1 -1
- package/dist/icons/ThumbsDownIcon.js.map +1 -1
- package/dist/icons/ThumbsUpIcon.js +1 -1
- package/dist/icons/ThumbsUpIcon.js.map +1 -1
- package/dist/icons/ThunderboltCrossedIcon.js +1 -1
- package/dist/icons/ThunderboltCrossedIcon.js.map +1 -1
- package/dist/icons/ThunderboltFilledIcon.js +1 -1
- package/dist/icons/ThunderboltFilledIcon.js.map +1 -1
- package/dist/icons/ThunderboltIcon.js +1 -1
- package/dist/icons/ThunderboltIcon.js.map +1 -1
- package/dist/icons/TimeIcon.js +1 -1
- package/dist/icons/TimeIcon.js.map +1 -1
- package/dist/icons/TrashIcon.js +1 -1
- package/dist/icons/TrashIcon.js.map +1 -1
- package/dist/icons/UnlockIcon.js +1 -1
- package/dist/icons/UnlockIcon.js.map +1 -1
- package/dist/icons/UpIcon.js +1 -1
- package/dist/icons/UpIcon.js.map +1 -1
- package/dist/icons/UserGroupIcon.js +1 -1
- package/dist/icons/UserGroupIcon.js.map +1 -1
- package/dist/icons/UserIcon.js +1 -1
- package/dist/icons/UserIcon.js.map +1 -1
- package/dist/icons/UserLockIcon.js +1 -1
- package/dist/icons/UserLockIcon.js.map +1 -1
- package/dist/icons/ViewIcon.js +1 -1
- package/dist/icons/ViewIcon.js.map +1 -1
- package/dist/icons/WarningFilledIcon.js +1 -1
- package/dist/icons/WarningFilledIcon.js.map +1 -1
- package/dist/icons/WarningIcon.js +1 -1
- package/dist/icons/WarningIcon.js.map +1 -1
- package/dist/icons/wrap-icon.js +15 -7
- package/dist/icons/wrap-icon.js.map +1 -1
- package/dist/index.d.ts +22 -22
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/probe/canonicalize.js +2 -2
- package/dist/probe/canonicalize.js.map +1 -1
- package/dist/probe/css.js +1 -1
- package/dist/probe/css.js.map +1 -1
- package/dist/probe/index.js +1 -1
- package/dist/provider.js +17 -7
- package/dist/provider.js.map +1 -1
- package/dist/providers/TrackingProvider.js +33 -9
- package/dist/providers/TrackingProvider.js.map +1 -1
- package/dist/providers/navigationAdapter.default.js +1 -1
- package/dist/providers/navigationAdapter.default.js.map +1 -1
- package/dist/shared/form.d.ts +9 -2
- package/dist/tokens/all-tokens.js +1 -1
- package/dist/tokens/all-tokens.js.map +1 -1
- package/dist/tokens/base.js +1 -1
- package/dist/tokens/base.js.map +1 -1
- package/dist/tokens/color-seed.js +1 -1
- package/dist/tokens/color-seed.js.map +1 -1
- package/dist/tokens/color-theme.js +18 -3
- package/dist/tokens/color-theme.js.map +1 -1
- package/dist/tokens/colors.js +1 -1
- package/dist/tokens/colors.js.map +1 -1
- package/dist/tokens/layout.js +1 -1
- package/dist/tokens/layout.js.map +1 -1
- package/dist/tokens/lazy-styles.js +1 -1
- package/dist/tokens/lazy-styles.js.map +1 -1
- package/dist/tokens/legacy-color.js +1 -1
- package/dist/tokens/legacy-color.js.map +1 -1
- package/dist/tokens/palette-config.js +9 -2
- package/dist/tokens/palette-config.js.map +1 -1
- package/dist/tokens/palette.js +1 -1
- package/dist/tokens/palette.js.map +1 -1
- package/dist/tokens/resolve.js +85 -21
- package/dist/tokens/resolve.js.map +1 -1
- package/dist/tokens/shadows.js +1 -1
- package/dist/tokens/shadows.js.map +1 -1
- package/dist/tokens/sizes.js +1 -1
- package/dist/tokens/sizes.js.map +1 -1
- package/dist/tokens/spacing.js +1 -1
- package/dist/tokens/spacing.js.map +1 -1
- package/dist/tokens/typography.js +1 -1
- package/dist/tokens/typography.js.map +1 -1
- package/dist/utils/ResizeSensor.js +1 -1
- package/dist/utils/ResizeSensor.js.map +1 -1
- package/dist/utils/colors.js +1 -1
- package/dist/utils/colors.js.map +1 -1
- package/dist/utils/dotize.js +1 -1
- package/dist/utils/dotize.js.map +1 -1
- package/dist/utils/is-dev-env.js +1 -1
- package/dist/utils/is-dev-env.js.map +1 -1
- package/dist/utils/modules.js +1 -1
- package/dist/utils/modules.js.map +1 -1
- package/dist/utils/promise.js +1 -1
- package/dist/utils/promise.js.map +1 -1
- package/dist/utils/raf.js +1 -1
- package/dist/utils/raf.js.map +1 -1
- package/dist/utils/random.js +1 -1
- package/dist/utils/random.js.map +1 -1
- package/dist/utils/range.js +1 -1
- package/dist/utils/range.js.map +1 -1
- package/dist/utils/react/RenderCache.js +2 -2
- package/dist/utils/react/RenderCache.js.map +1 -1
- package/dist/utils/react/Slots.js +67 -24
- package/dist/utils/react/Slots.js.map +1 -1
- package/dist/utils/react/chain.js +1 -1
- package/dist/utils/react/chain.js.map +1 -1
- package/dist/utils/react/disabledProps.js +1 -1
- package/dist/utils/react/disabledProps.js.map +1 -1
- package/dist/utils/react/escapePropagation.js +1 -1
- package/dist/utils/react/escapePropagation.js.map +1 -1
- package/dist/utils/react/forwardRefWithGenerics.js +1 -1
- package/dist/utils/react/forwardRefWithGenerics.js.map +1 -1
- package/dist/utils/react/index.js +1 -1
- package/dist/utils/react/interactions.js +35 -12
- package/dist/utils/react/interactions.js.map +1 -1
- package/dist/utils/react/isTextOnly.js +1 -1
- package/dist/utils/react/isTextOnly.js.map +1 -1
- package/dist/utils/react/mapProps.js +1 -1
- package/dist/utils/react/mapProps.js.map +1 -1
- package/dist/utils/react/mergeProps.js +1 -1
- package/dist/utils/react/mergeProps.js.map +1 -1
- package/dist/utils/react/nullableValue.js +1 -1
- package/dist/utils/react/nullableValue.js.map +1 -1
- package/dist/utils/react/programmaticFocus.js +1 -1
- package/dist/utils/react/programmaticFocus.js.map +1 -1
- package/dist/utils/react/resolveIcon.js +1 -1
- package/dist/utils/react/resolveIcon.js.map +1 -1
- package/dist/utils/react/sharedStore.js +13 -2
- package/dist/utils/react/sharedStore.js.map +1 -1
- package/dist/utils/react/useBufferedValue.js +5 -5
- package/dist/utils/react/useBufferedValue.js.map +1 -1
- package/dist/utils/react/useCombinedRefs.js +20 -5
- package/dist/utils/react/useCombinedRefs.js.map +1 -1
- package/dist/utils/react/useControlledFocusVisible.js +53 -17
- package/dist/utils/react/useControlledFocusVisible.js.map +1 -1
- package/dist/utils/react/useEventBus.js +43 -18
- package/dist/utils/react/useEventBus.js.map +1 -1
- package/dist/utils/react/useId.js +2 -1
- package/dist/utils/react/useId.js.map +1 -1
- package/dist/utils/react/useIsDarwin.js +29 -16
- package/dist/utils/react/useIsDarwin.js.map +1 -1
- package/dist/utils/react/useKeySymbols.js +23 -9
- package/dist/utils/react/useKeySymbols.js.map +1 -1
- package/dist/utils/react/useLayoutEffect.js +1 -1
- package/dist/utils/react/useLayoutEffect.js.map +1 -1
- package/dist/utils/react/useLocalStorage.js +75 -30
- package/dist/utils/react/useLocalStorage.js.map +1 -1
- package/dist/utils/react/useMergeStyles.js +1 -1
- package/dist/utils/react/useMergeStyles.js.map +1 -1
- package/dist/utils/react/useOverlayEscapeGuard.js +25 -9
- package/dist/utils/react/useOverlayEscapeGuard.js.map +1 -1
- package/dist/utils/react/usePopoverSync.js +175 -73
- package/dist/utils/react/usePopoverSync.js.map +1 -1
- package/dist/utils/react/useQaProps.js +1 -1
- package/dist/utils/react/useQaProps.js.map +1 -1
- package/dist/utils/react/useScheme.js +1 -1
- package/dist/utils/react/useScheme.js.map +1 -1
- package/dist/utils/react/useViewportSize.js +43 -19
- package/dist/utils/react/useViewportSize.js.map +1 -1
- package/dist/utils/react/wrapNodeIfPlain.js +1 -1
- package/dist/utils/react/wrapNodeIfPlain.js.map +1 -1
- package/dist/utils/selection.js +1 -1
- package/dist/utils/selection.js.map +1 -1
- package/dist/utils/styles.js +1 -1
- package/dist/utils/styles.js.map +1 -1
- package/dist/utils/tree.js +1 -1
- package/dist/utils/tree.js.map +1 -1
- package/dist/utils/warnings.js +1 -1
- package/dist/utils/warnings.js.map +1 -1
- package/dist/version.js +2 -2
- package/dist/version.js.map +1 -1
- package/docs/FieldProperties.md +2 -2
- package/docs/Usage.md +9 -1
- package/docs/components/actions/ButtonSplit.md +2 -0
- package/docs/components/content/InfoBadge.md +1 -1
- package/docs/components/content/InlineInput.md +1 -1
- package/docs/components/content/Layout.md +1 -1
- package/docs/components/content/Tag.md +10 -2
- package/docs/components/fields/Checkbox.md +11 -0
- package/docs/components/fields/ColorInput.md +15 -8
- package/docs/components/fields/ColorPicker.md +16 -9
- package/docs/components/fields/ComboBox.md +16 -12
- package/docs/components/fields/DatePicker.md +2 -0
- package/docs/components/fields/FilterListBox.md +24 -19
- package/docs/components/fields/FilterPicker.md +27 -20
- package/docs/components/fields/ListBox.md +36 -26
- package/docs/components/fields/PeriodPicker.md +2 -0
- package/docs/components/fields/Picker.md +30 -22
- package/docs/components/fields/RadioGroup.md +2 -2
- package/docs/components/fields/Select.md +21 -12
- package/docs/components/form/Field.md +4 -4
- package/docs/components/form/Form.md +61 -578
- package/docs/components/form/ModernForm.md +22 -1
- package/docs/components/navigation/Tabs.md +3 -3
- package/docs/components/overlays/Dialog.md +30 -3
- package/docs/components/overlays/DialogForm.md +122 -263
- package/docs/components/overlays/DialogTrigger.md +1 -1
- package/docs/components/overlays/UseDialogContainer.md +11 -13
- package/docs/modern-form-guide.md +22 -1
- package/docs/modern-form-migration.md +1 -1
- package/package.json +7 -2
package/dist/icons/TimeIcon.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.184.0 | Cube Dev Team */
|
|
2
2
|
import { wrapIcon } from "./wrap-icon.js";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
import { IconClockHour4 } from "@tabler/icons-react";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TimeIcon.js","names":[],"sources":["../../src/icons/TimeIcon.tsx"],"sourcesContent":["import { IconClockHour4 } from '@tabler/icons-react';\n\nimport { wrapIcon } from './wrap-icon';\n\nexport const TimeIcon = wrapIcon('TimeIcon', <IconClockHour4 />);\n"],"mappings":";;;;;;AAIA,
|
|
1
|
+
{"version":3,"file":"TimeIcon.js","names":["IconClockHour4","wrapIcon","TimeIcon"],"sources":["../../src/icons/TimeIcon.tsx"],"sourcesContent":["import { IconClockHour4 } from '@tabler/icons-react';\n\nimport { wrapIcon } from './wrap-icon';\n\nexport const TimeIcon = wrapIcon('TimeIcon', <IconClockHour4 />);\n"],"mappings":";;;;;;AAIA,MAAaE,WAAWD,SAAS,YAAY,oBAAC,mBAAiB,CAAC"}
|
package/dist/icons/TrashIcon.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TrashIcon.js","names":[],"sources":["../../src/icons/TrashIcon.tsx"],"sourcesContent":["import { IconTrash } from '@tabler/icons-react';\n\nimport { wrapIcon } from './wrap-icon';\n\nexport const TrashIcon = wrapIcon('TrashIcon', <IconTrash />);\n"],"mappings":";;;;;;AAIA,
|
|
1
|
+
{"version":3,"file":"TrashIcon.js","names":["IconTrash","wrapIcon","TrashIcon"],"sources":["../../src/icons/TrashIcon.tsx"],"sourcesContent":["import { IconTrash } from '@tabler/icons-react';\n\nimport { wrapIcon } from './wrap-icon';\n\nexport const TrashIcon = wrapIcon('TrashIcon', <IconTrash />);\n"],"mappings":";;;;;;AAIA,MAAaE,YAAYD,SAAS,aAAa,oBAAC,cAAY,CAAC"}
|
package/dist/icons/UnlockIcon.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.184.0 | Cube Dev Team */
|
|
2
2
|
import { wrapIcon } from "./wrap-icon.js";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
import { IconLockOpen2 } from "@tabler/icons-react";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UnlockIcon.js","names":[],"sources":["../../src/icons/UnlockIcon.tsx"],"sourcesContent":["import { IconLockOpen2 } from '@tabler/icons-react';\n\nimport { wrapIcon } from './wrap-icon';\n\nexport const UnlockIcon = wrapIcon('UnlockIcon', <IconLockOpen2 />);\n"],"mappings":";;;;;;AAIA,
|
|
1
|
+
{"version":3,"file":"UnlockIcon.js","names":["IconLockOpen2","wrapIcon","UnlockIcon"],"sources":["../../src/icons/UnlockIcon.tsx"],"sourcesContent":["import { IconLockOpen2 } from '@tabler/icons-react';\n\nimport { wrapIcon } from './wrap-icon';\n\nexport const UnlockIcon = wrapIcon('UnlockIcon', <IconLockOpen2 />);\n"],"mappings":";;;;;;AAIA,MAAaE,aAAaD,SAAS,cAAc,oBAAC,kBAAgB,CAAC"}
|
package/dist/icons/UpIcon.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.184.0 | Cube Dev Team */
|
|
2
2
|
import { wrapIcon } from "./wrap-icon.js";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
import { IconChevronUp } from "@tabler/icons-react";
|
package/dist/icons/UpIcon.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpIcon.js","names":[],"sources":["../../src/icons/UpIcon.tsx"],"sourcesContent":["import { IconChevronUp } from '@tabler/icons-react';\n\nimport { wrapIcon } from './wrap-icon';\n\nexport const UpIcon = wrapIcon('UpIcon', <IconChevronUp />);\n"],"mappings":";;;;;;AAIA,
|
|
1
|
+
{"version":3,"file":"UpIcon.js","names":["IconChevronUp","wrapIcon","UpIcon"],"sources":["../../src/icons/UpIcon.tsx"],"sourcesContent":["import { IconChevronUp } from '@tabler/icons-react';\n\nimport { wrapIcon } from './wrap-icon';\n\nexport const UpIcon = wrapIcon('UpIcon', <IconChevronUp />);\n"],"mappings":";;;;;;AAIA,MAAaE,SAASD,SAAS,UAAU,oBAAC,kBAAgB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserGroupIcon.js","names":[],"sources":["../../src/icons/UserGroupIcon.tsx"],"sourcesContent":["import { wrapIcon } from './wrap-icon';\n\nexport const UserGroupIcon = wrapIcon(\n 'UserGroupIcon',\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n fill=\"none\"\n viewBox=\"0 0 24 24\"\n >\n <g\n stroke=\"currentColor\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n strokeWidth=\"1.5\"\n clipPath=\"url(#a)\"\n >\n <path d=\"M5 7a4 4 0 1 0 8 0 4 4 0 0 0-8 0M3 21v-2a4 4 0 0 1 4-4h4a4 4 0 0 1 4 4v2M16 3.13a4 4 0 0 1 0 7.75M21 21v-2a4 4 0 0 0-3-3.85\" />\n </g>\n <defs>\n <clipPath id=\"a\">\n <path fill=\"#fff\" d=\"M0 0h24v24H0z\" />\n </clipPath>\n </defs>\n </svg>,\n);\n"],"mappings":";;;;;AAEA,
|
|
1
|
+
{"version":3,"file":"UserGroupIcon.js","names":["wrapIcon","UserGroupIcon"],"sources":["../../src/icons/UserGroupIcon.tsx"],"sourcesContent":["import { wrapIcon } from './wrap-icon';\n\nexport const UserGroupIcon = wrapIcon(\n 'UserGroupIcon',\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n fill=\"none\"\n viewBox=\"0 0 24 24\"\n >\n <g\n stroke=\"currentColor\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n strokeWidth=\"1.5\"\n clipPath=\"url(#a)\"\n >\n <path d=\"M5 7a4 4 0 1 0 8 0 4 4 0 0 0-8 0M3 21v-2a4 4 0 0 1 4-4h4a4 4 0 0 1 4 4v2M16 3.13a4 4 0 0 1 0 7.75M21 21v-2a4 4 0 0 0-3-3.85\" />\n </g>\n <defs>\n <clipPath id=\"a\">\n <path fill=\"#fff\" d=\"M0 0h24v24H0z\" />\n </clipPath>\n </defs>\n </svg>,\n);\n"],"mappings":";;;;;AAEA,MAAaC,gBAAgBD,SAC3B,iBACA,qBAAC;CACC,OAAM;CACN,OAAM;CACN,QAAO;CACP,MAAK;CACL,SAAQ;YAER,oBAAC;EACC,QAAO;EACP,eAAc;EACd,gBAAe;EACf,aAAY;EACZ,UAAS;YAET,oBAAC,UAAK,GAAE,gIAA6H;GACpI,EACH,oBAAC,oBACC,oBAAC;EAAS,IAAG;YACX,oBAAC;GAAK,MAAK;GAAO,GAAE;IAAe;GAC3B,GACN;EAEV,CAAC"}
|
package/dist/icons/UserIcon.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserIcon.js","names":[],"sources":["../../src/icons/UserIcon.tsx"],"sourcesContent":["import { wrapIcon } from './wrap-icon';\n\nexport const UserIcon = wrapIcon(\n 'UserIcon',\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n fill=\"none\"\n viewBox=\"0 0 24 24\"\n >\n <g\n stroke=\"currentColor\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n strokeWidth=\"1.5\"\n clipPath=\"url(#a)\"\n >\n <path d=\"M8 7a4 4 0 1 0 8 0 4 4 0 0 0-8 0M6 21v-2a4 4 0 0 1 4-4h4a4 4 0 0 1 4 4v2\" />\n </g>\n <defs>\n <clipPath id=\"a\">\n <path fill=\"#fff\" d=\"M0 0h24v24H0z\" />\n </clipPath>\n </defs>\n </svg>,\n);\n"],"mappings":";;;;;AAEA,
|
|
1
|
+
{"version":3,"file":"UserIcon.js","names":["wrapIcon","UserIcon"],"sources":["../../src/icons/UserIcon.tsx"],"sourcesContent":["import { wrapIcon } from './wrap-icon';\n\nexport const UserIcon = wrapIcon(\n 'UserIcon',\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n fill=\"none\"\n viewBox=\"0 0 24 24\"\n >\n <g\n stroke=\"currentColor\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n strokeWidth=\"1.5\"\n clipPath=\"url(#a)\"\n >\n <path d=\"M8 7a4 4 0 1 0 8 0 4 4 0 0 0-8 0M6 21v-2a4 4 0 0 1 4-4h4a4 4 0 0 1 4 4v2\" />\n </g>\n <defs>\n <clipPath id=\"a\">\n <path fill=\"#fff\" d=\"M0 0h24v24H0z\" />\n </clipPath>\n </defs>\n </svg>,\n);\n"],"mappings":";;;;;AAEA,MAAaC,WAAWD,SACtB,YACA,qBAAC;CACC,OAAM;CACN,OAAM;CACN,QAAO;CACP,MAAK;CACL,SAAQ;YAER,oBAAC;EACC,QAAO;EACP,eAAc;EACd,gBAAe;EACf,aAAY;EACZ,UAAS;YAET,oBAAC,UAAK,GAAE,6EAA0E;GACjF,EACH,oBAAC,oBACC,oBAAC;EAAS,IAAG;YACX,oBAAC;GAAK,MAAK;GAAO,GAAE;IAAe;GAC3B,GACN;EAEV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserLockIcon.js","names":[],"sources":["../../src/icons/UserLockIcon.tsx"],"sourcesContent":["import { wrapIcon } from './wrap-icon';\n\nexport const UserLockIcon = wrapIcon(\n 'UserLockIcon',\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n fill=\"none\"\n viewBox=\"0 0 24 24\"\n >\n <path\n stroke=\"currentColor\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n strokeWidth=\"1.5\"\n d=\"M6 21v-2a4 4 0 0 1 4-4h2m4 2v-2a2 2 0 0 1 4 0v2M8 7a4 4 0 1 0 8 0 4 4 0 0 0-8 0m6 11a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v3a1 1 0 0 1-1 1h-6a1 1 0 0 1-1-1z\"\n />\n </svg>,\n);\n"],"mappings":";;;;;AAEA,
|
|
1
|
+
{"version":3,"file":"UserLockIcon.js","names":["wrapIcon","UserLockIcon"],"sources":["../../src/icons/UserLockIcon.tsx"],"sourcesContent":["import { wrapIcon } from './wrap-icon';\n\nexport const UserLockIcon = wrapIcon(\n 'UserLockIcon',\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n fill=\"none\"\n viewBox=\"0 0 24 24\"\n >\n <path\n stroke=\"currentColor\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n strokeWidth=\"1.5\"\n d=\"M6 21v-2a4 4 0 0 1 4-4h2m4 2v-2a2 2 0 0 1 4 0v2M8 7a4 4 0 1 0 8 0 4 4 0 0 0-8 0m6 11a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v3a1 1 0 0 1-1 1h-6a1 1 0 0 1-1-1z\"\n />\n </svg>,\n);\n"],"mappings":";;;;;AAEA,MAAaC,eAAeD,SAC1B,gBACA,oBAAC;CACC,OAAM;CACN,OAAM;CACN,QAAO;CACP,MAAK;CACL,SAAQ;WAER,oBAAC;EACC,QAAO;EACP,eAAc;EACd,gBAAe;EACf,aAAY;EACZ,GAAE;GAAsJ;EAG9J,CAAC"}
|
package/dist/icons/ViewIcon.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ViewIcon.js","names":[],"sources":["../../src/icons/ViewIcon.tsx"],"sourcesContent":["import { wrapIcon } from './wrap-icon';\n\nexport const ViewIcon = wrapIcon(\n 'ViewIcon',\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n fill=\"none\"\n viewBox=\"0 0 24 24\"\n >\n <path\n stroke=\"currentColor\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n strokeWidth=\"1.5\"\n d=\"M15.124 20 9.391 4.393A.6.6 0 0 0 8.827 4H2.86a.6.6 0 0 0-.564.807L7.59 19.214A1.2 1.2 0 0 0 8.716 20zm0 0h.044c.5 0 .948-.31 1.124-.779l5.404-14.41A.6.6 0 0 0 21.134 4h-5.693a.6.6 0 0 0-.573.421L12.5 12\"\n />\n </svg>,\n);\n"],"mappings":";;;;;AAEA,
|
|
1
|
+
{"version":3,"file":"ViewIcon.js","names":["wrapIcon","ViewIcon"],"sources":["../../src/icons/ViewIcon.tsx"],"sourcesContent":["import { wrapIcon } from './wrap-icon';\n\nexport const ViewIcon = wrapIcon(\n 'ViewIcon',\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n fill=\"none\"\n viewBox=\"0 0 24 24\"\n >\n <path\n stroke=\"currentColor\"\n strokeLinecap=\"round\"\n strokeLinejoin=\"round\"\n strokeWidth=\"1.5\"\n d=\"M15.124 20 9.391 4.393A.6.6 0 0 0 8.827 4H2.86a.6.6 0 0 0-.564.807L7.59 19.214A1.2 1.2 0 0 0 8.716 20zm0 0h.044c.5 0 .948-.31 1.124-.779l5.404-14.41A.6.6 0 0 0 21.134 4h-5.693a.6.6 0 0 0-.573.421L12.5 12\"\n />\n </svg>,\n);\n"],"mappings":";;;;;AAEA,MAAaC,WAAWD,SACtB,YACA,oBAAC;CACC,OAAM;CACN,OAAM;CACN,QAAO;CACP,MAAK;CACL,SAAQ;WAER,oBAAC;EACC,QAAO;EACP,eAAc;EACd,gBAAe;EACf,aAAY;EACZ,GAAE;GAA6M;EAGrN,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.184.0 | Cube Dev Team */
|
|
2
2
|
import { wrapIcon } from "./wrap-icon.js";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
import { IconAlertTriangleFilled } from "@tabler/icons-react";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WarningFilledIcon.js","names":[],"sources":["../../src/icons/WarningFilledIcon.tsx"],"sourcesContent":["import { IconAlertTriangleFilled } from '@tabler/icons-react';\n\nimport { wrapIcon } from './wrap-icon';\n\nexport const WarningFilledIcon = wrapIcon(\n 'WarningFilledIcon',\n <IconAlertTriangleFilled />,\n);\n"],"mappings":";;;;;;AAIA,
|
|
1
|
+
{"version":3,"file":"WarningFilledIcon.js","names":["IconAlertTriangleFilled","wrapIcon","WarningFilledIcon"],"sources":["../../src/icons/WarningFilledIcon.tsx"],"sourcesContent":["import { IconAlertTriangleFilled } from '@tabler/icons-react';\n\nimport { wrapIcon } from './wrap-icon';\n\nexport const WarningFilledIcon = wrapIcon(\n 'WarningFilledIcon',\n <IconAlertTriangleFilled />,\n);\n"],"mappings":";;;;;;AAIA,MAAaE,oBAAoBD,SAC/B,qBACA,oBAAC,4BACH,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.184.0 | Cube Dev Team */
|
|
2
2
|
import { wrapIcon } from "./wrap-icon.js";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
import { IconAlertTriangle } from "@tabler/icons-react";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WarningIcon.js","names":[],"sources":["../../src/icons/WarningIcon.tsx"],"sourcesContent":["import { IconAlertTriangle } from '@tabler/icons-react';\n\nimport { wrapIcon } from './wrap-icon';\n\nexport const WarningIcon = wrapIcon('WarningIcon', <IconAlertTriangle />);\n"],"mappings":";;;;;;AAIA,
|
|
1
|
+
{"version":3,"file":"WarningIcon.js","names":["IconAlertTriangle","wrapIcon","WarningIcon"],"sources":["../../src/icons/WarningIcon.tsx"],"sourcesContent":["import { IconAlertTriangle } from '@tabler/icons-react';\n\nimport { wrapIcon } from './wrap-icon';\n\nexport const WarningIcon = wrapIcon('WarningIcon', <IconAlertTriangle />);\n"],"mappings":";;;;;;AAIA,MAAaE,cAAcD,SAAS,eAAe,oBAAC,sBAAoB,CAAC"}
|
package/dist/icons/wrap-icon.js
CHANGED
|
@@ -1,16 +1,24 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.184.0 | Cube Dev Team */
|
|
2
2
|
import { Icon } from "./Icon.js";
|
|
3
|
+
import { c } from "react-compiler-runtime";
|
|
3
4
|
import { jsx } from "react/jsx-runtime";
|
|
4
5
|
|
|
5
6
|
//#region src/icons/wrap-icon.tsx
|
|
6
7
|
function wrapIcon(name, icon) {
|
|
7
8
|
function IconWrapper(props) {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
9
|
+
const $ = c(2);
|
|
10
|
+
let t0;
|
|
11
|
+
if ($[0] !== props) {
|
|
12
|
+
t0 = /* @__PURE__ */ jsx(Icon, {
|
|
13
|
+
qa: name,
|
|
14
|
+
"aria-hidden": "true",
|
|
15
|
+
...props,
|
|
16
|
+
children: icon
|
|
17
|
+
});
|
|
18
|
+
$[0] = props;
|
|
19
|
+
$[1] = t0;
|
|
20
|
+
} else t0 = $[1];
|
|
21
|
+
return t0;
|
|
14
22
|
}
|
|
15
23
|
IconWrapper.displayName = name;
|
|
16
24
|
return IconWrapper;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wrap-icon.js","names":[],"sources":["../../src/icons/wrap-icon.tsx"],"sourcesContent":["import { ReactElement } from 'react';\n\nimport { CubeIconProps, Icon } from './Icon';\n\nexport function wrapIcon(name: string, icon: ReactElement) {\n function IconWrapper(props: CubeIconProps) {\n return (\n // use custom size to support legacy icons\n <Icon qa={name} aria-hidden=\"true\" {...props}>\n {icon}\n </Icon>\n );\n }\n\n IconWrapper.displayName = name;\n\n return IconWrapper;\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"wrap-icon.js","names":["ReactElement","CubeIconProps","Icon","wrapIcon","name","icon","IconWrapper","props","$","_c","t0","displayName"],"sources":["../../src/icons/wrap-icon.tsx"],"sourcesContent":["import { ReactElement } from 'react';\n\nimport { CubeIconProps, Icon } from './Icon';\n\nexport function wrapIcon(name: string, icon: ReactElement) {\n function IconWrapper(props: CubeIconProps) {\n return (\n // use custom size to support legacy icons\n <Icon qa={name} aria-hidden=\"true\" {...props}>\n {icon}\n </Icon>\n );\n }\n\n IconWrapper.displayName = name;\n\n return IconWrapper;\n}\n"],"mappings":";;;;;;AAIA,SAAgBG,SAASC,MAAcC,MAAoB;CACzD,SAAAC,YAAAC,OAAA;EAAA,MAAAC,IAAAC,EAAA,EAAA;EAAA,IAAAC;AAAA,MAAAF,EAAA,OAAAD,OAAA;AAGIG,QAAA,oBAAC;IAASN,IAAAA;IAAkB,eAAA;IAAM,GAAKG;cACpCF;KACI;AAAAG,KAAA,KAAAD;AAAAC,KAAA,KAAAE;QAAAA,MAAAF,EAAA;AAAA,SAFPE;;AAMJJ,aAAYK,cAAcP;AAE1B,QAAOE"}
|
package/dist/index.d.ts
CHANGED
|
@@ -148,35 +148,19 @@ import { CubeListBoxProps, ListBox } from "./components/fields/ListBox/ListBox.j
|
|
|
148
148
|
import "./components/fields/ListBox/index.js";
|
|
149
149
|
import { AriaSelectProps, CubeSelectBaseProps, CubeSelectProps, ListBoxElement, ListBoxPopup, __Select, useSelectState } from "./components/fields/Select/Select.js";
|
|
150
150
|
import { Avatar, CubeAvatarProps } from "./components/content/Avatar/Avatar.js";
|
|
151
|
+
import { CubeDialogProps, Dialog } from "./components/overlays/Dialog/Dialog.js";
|
|
151
152
|
import { FieldTypes, Fields } from "./components/form/Form/types.js";
|
|
152
153
|
import { CubeFormInstance, useForm } from "./components/form/Form/use-form.js";
|
|
153
154
|
import { ModernFormProps } from "./components/form/Form/ModernFormRoot.js";
|
|
154
155
|
import { CubeFormProps, FormContext, FormScopeMask, useFormProps } from "./components/form/Form/Form.js";
|
|
155
156
|
import { CubeSubmitButtonProps, _SubmitButton } from "./components/form/Form/SubmitButton/SubmitButton.js";
|
|
156
|
-
import {
|
|
157
|
-
import { CubeAlertProps } from "./components/content/Alert/types.js";
|
|
158
|
-
import { Alert } from "./components/content/Alert/Alert.js";
|
|
159
|
-
import "./components/content/Alert/index.js";
|
|
160
|
-
import { CubeSubmitErrorProps, _SubmitError } from "./components/form/Form/SubmitError.js";
|
|
161
|
-
import { Field } from "./components/form/Form/Field.js";
|
|
162
|
-
import { FormSelectorOptions, FormSubscribeProps } from "./components/form/Form/modern/react.js";
|
|
163
|
-
import { FieldReturnValue, UseFieldProps } from "./components/form/Form/use-field/types.js";
|
|
164
|
-
import { UseFieldParams, useField } from "./components/form/Form/use-field/use-field.js";
|
|
165
|
-
import { UseFieldPropsParams, useFieldProps } from "./components/form/Form/use-field/use-field-props.js";
|
|
166
|
-
import { Form } from "./components/form/Form/index.js";
|
|
167
|
-
import { wrapWithField } from "./components/form/wrapper.js";
|
|
168
|
-
import { CubeLabelProps, CubeNecessityIndicatorProps, INLINE_LABEL_STYLES, LABEL_STYLES, NecessityIndicatorMark, _Label } from "./components/form/Label.js";
|
|
169
|
-
import { FieldWrapper } from "./components/form/FieldWrapper/FieldWrapper.js";
|
|
170
|
-
import { CubeFieldWrapperProps } from "./components/form/FieldWrapper/types.js";
|
|
171
|
-
import { ResolvableValidationProps, ResolvedValidationProps, getValidationMods, getValidationTheme, hasValidationState, resolveValidationProps } from "./components/form/validation/resolve-validation-props.js";
|
|
172
|
-
import { useValidationProps } from "./components/form/validation/use-validation-props.js";
|
|
173
|
-
import { ValidationIndicator, ValidationIndicatorProps, getValidationIcon, hasValidationIndicator } from "./components/form/validation/ValidationIndicator.js";
|
|
174
|
-
import "./components/form/index.js";
|
|
175
|
-
import { CubeDialogProps, Dialog } from "./components/overlays/Dialog/Dialog.js";
|
|
176
|
-
import { CubeDialogFormProps, CubeDialogFormRef, DialogForm } from "./components/overlays/Dialog/DialogForm.js";
|
|
157
|
+
import { CubeDialogFormProps, CubeDialogFormRef, DialogForm, ModernDialogFormProps } from "./components/overlays/Dialog/DialogForm.js";
|
|
177
158
|
import { CubeDialogTriggerProps, DialogTrigger } from "./components/overlays/Dialog/DialogTrigger.js";
|
|
178
159
|
import { useDialogContainer } from "./components/overlays/Dialog/use-dialog-container.js";
|
|
179
160
|
import "./components/overlays/Dialog/index.js";
|
|
161
|
+
import { CubeAlertProps } from "./components/content/Alert/types.js";
|
|
162
|
+
import { Alert } from "./components/content/Alert/Alert.js";
|
|
163
|
+
import "./components/content/Alert/index.js";
|
|
180
164
|
import { CubeTabListProps, CubeTabPanelProps, CubeTabProps, CubeTabsProps, TabContextMenu, TabSize, TabType, TabsActionPosition } from "./components/navigation/Tabs/types.js";
|
|
181
165
|
import { CubeTabsActionProps, TabsAction } from "./components/navigation/Tabs/TabsAction.js";
|
|
182
166
|
import { Tab, Tabs } from "./components/navigation/Tabs/Tabs.js";
|
|
@@ -420,6 +404,22 @@ import { WarningFilledIcon } from "./icons/WarningFilledIcon.js";
|
|
|
420
404
|
import { WarningIcon } from "./icons/WarningIcon.js";
|
|
421
405
|
import { wrapIcon } from "./icons/wrap-icon.js";
|
|
422
406
|
import "./icons/index.js";
|
|
407
|
+
import { CubeResetButtonProps, _ResetButton } from "./components/form/Form/ResetButton/ResetButton.js";
|
|
408
|
+
import { CubeSubmitErrorProps, _SubmitError } from "./components/form/Form/SubmitError.js";
|
|
409
|
+
import { Field } from "./components/form/Form/Field.js";
|
|
410
|
+
import { FormSelectorOptions, FormSubscribeProps } from "./components/form/Form/modern/react.js";
|
|
411
|
+
import { FieldReturnValue, UseFieldProps } from "./components/form/Form/use-field/types.js";
|
|
412
|
+
import { UseFieldParams, useField } from "./components/form/Form/use-field/use-field.js";
|
|
413
|
+
import { UseFieldPropsParams, useFieldProps } from "./components/form/Form/use-field/use-field-props.js";
|
|
414
|
+
import { Form } from "./components/form/Form/index.js";
|
|
415
|
+
import { wrapWithField } from "./components/form/wrapper.js";
|
|
416
|
+
import { CubeLabelProps, CubeNecessityIndicatorProps, INLINE_LABEL_STYLES, LABEL_STYLES, NecessityIndicatorMark, _Label } from "./components/form/Label.js";
|
|
417
|
+
import { FieldWrapper } from "./components/form/FieldWrapper/FieldWrapper.js";
|
|
418
|
+
import { CubeFieldWrapperProps } from "./components/form/FieldWrapper/types.js";
|
|
419
|
+
import { ResolvableValidationProps, ResolvedValidationProps, getValidationMods, getValidationTheme, hasValidationState, resolveValidationProps } from "./components/form/validation/resolve-validation-props.js";
|
|
420
|
+
import { useValidationProps } from "./components/form/validation/use-validation-props.js";
|
|
421
|
+
import { ValidationIndicator, ValidationIndicatorProps, getValidationIcon, hasValidationIndicator } from "./components/form/validation/ValidationIndicator.js";
|
|
422
|
+
import "./components/form/index.js";
|
|
423
423
|
import { AllBaseProps, BaseProps, BasePropsWithoutChildren, BaseStyleProps, BlockStyleProps, ColorStyleProps, ContainerStyleProps, DimensionStyleProps, FlowStyleProps, OuterStyleProps, PositionStyleProps, ShortGridStyles, TagName, TextStyleProps } from "@tenphi/tasty";
|
|
424
424
|
import * as react from "react";
|
|
425
425
|
import { useLocale } from "react-aria";
|
|
@@ -442,5 +442,5 @@ declare const Typography: {
|
|
|
442
442
|
Paragraph: react.ForwardRefExoticComponent<CubeParagraphProps & react.RefAttributes<HTMLElement>>;
|
|
443
443
|
};
|
|
444
444
|
//#endregion
|
|
445
|
-
export { Action, ActiveToken, _ActiveZone as ActiveZone, AdjustmentsHorizontalIcon, AdjustmentsIcon, AiIcon, Alert, _AlertDialog as AlertDialog, type AllBaseProps, AreaChartIcon, AriaCheckboxProps, AriaMenuTriggerProps, AriaNumberFieldProps, AriaRadioProps, AriaSelectProps, AriaSliderProps, AriaSwitchProps, AriaTextFieldProps, ArrowNarrowDownIcon, ArrowNarrowUpIcon, Avatar, Axis, BASE_TOKENS, BOARD_SELECTION_CANCEL, BackwardIcon, _Badge as Badge, Banner, BannerAction, BannerActionProps, BannerLink, BannerLinkProps, BannerProps, BannerTheme, BarChartIcon, type BaseProps, type BasePropsWithoutChildren, type BaseStyleProps, BellFilledIcon, BellIcon, Block, type BlockStyleProps, Board, type BreakpointCols as BoardBreakpointCols, type Breakpoints as BoardBreakpoints, type CollisionMode as BoardCollisionMode, type BoardCompactType, type Compactor as BoardCompactor, type BoardCornerPlacement, BoardDragActiveProvider, type BoardGridLines, type BoardInteractionInfo, type Layout as BoardLayout, type BoardLayoutChangeInfo, type BoardLayoutChangeReason, type LayoutConstraint as BoardLayoutConstraint, type LayoutItem as BoardLayoutItem, BoardProvider, type BoardResizeGripPlacement, type ResizeHandleAxis as BoardResizeHandleAxis, BoardResponsive, type ResponsiveLayouts as BoardResponsiveLayouts, type BoardSelectionMode, Widget as BoardWidget, type WidgetTransferInfo as BoardWidgetTransferInfo, BooleanIcon, Button, ButtonGroup, ButtonMods, ButtonSplit, ButtonSplitAction, ButtonSplitContext, ButtonSplitContextValue, ButtonVariant, type BytesOptions, COLOR_FORMATS, COLOR_SPACES, COLOR_TOKENS, COLUMN_MENU_SORT_KEYS, CalendarEditIcon, CalendarIcon, Card, CaretDownIcon, CaretUpIcon, ChartAreaStackedIcon, ChartAreaStackedPercentageIcon, ChartBarGroupedHorizontalIcon, ChartBarGroupedIcon, ChartBarHorizontalIcon, ChartBarLineIcon, ChartBarStackedHorizontalIcon, ChartBarStackedIcon, ChartBarStackedPercentageHorizontalIcon, ChartBarStackedPercentageIcon, ChartBoxPlot2Icon, ChartBoxPlotIcon, ChartBubbleIcon, ChartDonut2Icon, ChartFunnelIcon, ChartHeatmapIcon, ChartKPIIcon, ChartPie2Icon, ChartScatterIcon, CheckCircleFilledIcon, CheckCircleIcon, CheckIcon, __Checkbox as Checkbox, _CheckboxGroup as CheckboxGroup, CircleFilledIcon, ClearIcon, ClearSlots, CloseCircleFilledIcon, CloseCircleIcon, CloseIcon, CodeIcon, _CollectionItem as CollectionItem, ColorInput, ColorInputFormatMode, ColorPicker, ColorFormat as ColorPickerFormat, ColorSpace as ColorPickerSpace, ColorScheme, ColorSeed, type ColorStyleProps, ColorSwatch, ColorSwatchGroup, ColorTheme, ColorThemeConfig, ColumnTotalIcon, ComboBox, __CommandMenu as CommandMenu, type CommandMenuItem, _CommandTextArea as CommandTextArea, CommandTextAreaFilterFn, CommandTrigger, type ContainerStyleProps, Content, CopyIcon, _CopyPasteBlock as CopyPasteBlock, _CopySnippet as CopySnippet, CountIcon, CubeActionProps, type CubeActiveZoneProps, type CubeAlertDialogProps, CubeAlertProps, type CubeAvatarProps, type CubeBadgeProps, type CubeBlockProps, type CubeBoardDragActiveProviderProps, type CubeBoardProps, type CubeBoardProviderProps, type CubeBoardResponsiveProps, type CubeBoardWidgetProps, CubeBufferedValueProps, CubeButtonProps, CubeButtonSplitProps, type CubeCardProps, CubeCheckboxGroupProps, CubeCheckboxProps, CubeColorInputProps, CubeColorPickerProps, CubeColorSwatchGroupProps, CubeColorSwatchItem, CubeColorSwatchProps, CubeColumnMenuSortKey, CubeComboBoxProps, type CubeCommandMenuProps, CubeCommandTextAreaProps, type CubeContentProps, CubeCopyPasteBlockProps, CubeCopySnippetProps, CubeDataTableColumn, CubeDataTableColumnDefinition, CubeDataTableColumnGroup, CubeDataTableProps, CubeDateInputProps, CubeDatePickerProps, CubeDateRangePickerProps, CubeDateRangeSeparatedPickerProps, type CubeDialogContainerProps, type CubeDialogFormProps, type CubeDialogFormRef, type CubeDialogProps, type CubeDialogTriggerProps, type CubeDisclosureContentProps, type CubeDisclosureGroupProps, type CubeDisclosureItemProps, type CubeDisclosureProps, type CubeDisclosureTriggerProps, type CubeDividerProps, CubeFieldWrapperProps, CubeFileInputProps, CubeFilterListBoxProps, CubeFilterPickerProps, type CubeFlexProps, type CubeFlowProps, type CubeFooterProps, CubeFormInstance, CubeFormProps, CubeFullLogo, type CubeGridLayoutProps, type CubeGridProps, type CubeGridProviderProps, type CubeHeaderProps, CubeHotKeysProps, CubeHueSliderProps, CubeIcon, CubeIconProps, type CubeIconSwitchProps, type CubeInfoBadgeProps, type CubeInfoBadgeTooltipConfig, type CubeInlineInputEditTrigger, type CubeInlineInputProps, type CubeInlineInputRef, CubeItemActionProps, type CubeItemBadgeProps, type CubeItemProps as CubeItemBaseProps, CubeItemButtonProps, CubeItemButtonProps as ItemButtonProps, type CubeItemCardProps, type CubeItemProps, CubeItemTableColumn, CubeItemTableProps, CubeLabelProps, type CubeLayoutContentProps, type CubeLayoutFooterProps, type CubeLayoutHeaderProps, type CubeLayoutPaneProps, type CubeLayoutPanelHeaderProps, type CubeLayoutPanelProps, type CubeLayoutProps, type CubeLayoutToolbarProps, type CubeListBoxProps, CubeLoadingAnimationProps, CubeLogo, type CubeLogoProps, type CubeMenuProps, CubeMenuSectionProps, type CubeMenuTriggerProps, CubeMonthPickerProps, CubeNecessityIndicatorProps, CubeNumberInputProps, CubePaginationItem, CubePaginationProps, CubePaginationType, type CubePanelProps, type CubeParagraphProps, CubePasswordInputProps, CubePauseIcon, CubePeriodPickerProps, CubePickerProps, type CubePlaceholderProps, CubePlayIcon, type CubePrefixProps, type CubePrismCodeProps, type CubePrismDiffCodeProps, CubeQuarterPickerProps, CubeRadioGroupProps, CubeRadioProps, CubeRangeSliderProps, CubeResetButtonProps, type CubeResizablePanelProps, type CubeResultProps, type CubeResultStatus, type CubeRootProps, CubeSearchComboBoxProps, type CubeSearchInputProps, type CubeSelectBaseProps, type CubeSelectProps, type CubeSkeletonProps, CubeSliderBaseProps, CubeSliderProps, type CubeSpaceProps, CubeSpinProps, type CubeStatsCard, CubeSubMenuTriggerProps, CubeSubmitButtonProps, CubeSubmitErrorProps, type CubeSuffixProps, CubeSwitchProps, CubeTabListProps, CubeTabPanelProps, CubeTabProps, CubeTableAlign, CubeTableCellContext, CubeTableColumn, CubeTableColumnHeader, CubeTableHeaderContext, CubeTableLayoutProps, CubeTablePageInfo, CubeTableRowContext, CubeTableRowExpandInfo, CubeTableRowRenderProps, CubeTableRowSection, CubeTableRowSize, CubeTableSort, CubeTableSortDirection, CubeTableTreeProps, CubeTableTreeRowState, CubeTabsActionProps, CubeTabsProps, type CubeTagProps, CubeTextAreaProps, CubeTextInputBaseProps, CubeTextInputMapperInputProps, CubeTextInputMapperProps, CubeTextInputProps, type CubeTextItemProps, type CubeTextProps, CubeTimeInputProps, type CubeTitleProps, type CubeTooltipProps, type CubeTooltipProviderProps, type CubeTooltipTriggerProps, type CubeTreeNodeData, type CubeTreeProps, CubeUseActionProps, CubeWeekPickerProps, CubeYearPickerProps, CurrencyDollarIcon, type CurrencyOptions, DEFAULT_BUTTON_STYLES, DEFAULT_INPUT_STYLES, DEFAULT_PALETTE_CONFIG, DangerIcon, DashboardIcon, _DataTable as DataTable, DatabaseIcon, DateFieldBase, _DateInput as DateInput, _DatePicker as DatePicker, _DateRangePicker as DateRangePicker, _DateRangeSeparatedPicker as DateRangeSeparatedPicker, DecimalDecreaseIcon, DecimalIncreaseIcon, Dialog, DialogContainer, DialogForm, DialogTrigger, type DimensionStyleProps, DirectionIcon, DirectionIconProps, DisabledElementOptions, DisabledElementProps, _Disclosure as Disclosure, type DisclosureStateContext, DismissReason, DisplayTransition, type DisplayTransitionProps, Divider, DonutIcon, DownIcon, DynamicIcon, EditIcon, EventBusContextValue, EventBusListener, EventBusProvider, ExclamationCircleFilledIcon, ExclamationCircleIcon, ExclamationIcon, EyeIcon, EyeInvisibleIcon, Field, FieldBaseProps, FieldCoreProps, FieldReturnValue, FieldTypes, FieldValidationRule, FieldWrapper, Fields, _FileInput as FileInput, FilterIcon, FilterListBox, FilterPicker, Flex, Flow, type FlowStyleProps, FolderFilledIcon, FolderIcon, FolderOpenFilledIcon, FolderOpenIcon, Footer, Form, FormBaseProps, FormChange, FormContext, FormController, FormField, FormFieldContext, FormFieldOptions, FormPath, FormReadValue, FormScopeMask, FormSelectorOptions, FormSubscribeProps, FormValueAtPath, FormValues, type FormatDateInput, type Formatter, ForwardIcon, Granularity, Grid, GridLayout, GridProvider, GripVerticalIcon, Header, HierarchyIcon, HierarchyOpenIcon, _HotKeys as HotKeys, __HueSlider as HueSlider, type I18n, I18nProvider, type I18nProviderProps, I18nextProvider, INLINE_LABEL_STYLES, INPUT_WRAPPER_STYLES, Icon, IconRenderFn, IconSwitch, InfoBadge, InfoCircleIcon, InfoIcon, type InitOptions, InlineInput, Input, _Item as Item, ItemAction, CubeItemActionProps as ItemActionProps, ItemActionProvider, ItemActionProviderProps, ItemBadge, _Item as ItemBase, _ItemButton as ItemButton, ItemCard, _ItemTable as ItemTable, KeyIcon, LABEL_STYLES, LAYOUT_TOKENS, LOCALE_LABELS, _Label as Label, LabelPosition, Layout$1 as Layout, LeftIcon, LegacyAlphaFormat, LineChartIcon, Link, ListBox, ListBoxElement, ListBoxPopup, LoadingAnimation, LoadingIcon, LockFilledIcon, LockIcon, MAX_BASE_SATURATION, __Menu as Menu, MenuContext, MenuContextValue, MenuItem, MenuItemProps, MenuSection, MenuSelectionType, _MenuTrigger as MenuTrigger, type MenuTriggerState, ModernFieldState, ModernFieldValidationResult, ModernFormProps, ModernFormState, ModernSubmitContext, ModernSubmitFailure, ModernSubmitResult, ModernValidationContext, ModernValidationResult, ModernValidationRule, _MonthPicker as MonthPicker, MoreIcon, type NavigateArg, type NavigateLike, type NavigateOptions, type NavigationAdapter, NecessityIndicator, NecessityIndicatorMark, NoDataIcon, NotAllowedIcon, Notification, NotificationAction, NotificationActionProps, NotificationBaseOptions, NotificationCard, NotificationCardProps, NotificationComponent, NotificationHandle, NotificationItem, NotificationItemProps, NotificationOptions, NotificationProps, NotificationType, NotificationsApi, Number123Icon, NumberIcon, _NumberInput as NumberInput, type OuterStyleProps, OverlayNotificationOptions, OverlayProvider, OverlayProviderProps, PALETTE_TOKENS, _Pagination as Pagination, PaginationRangeOptions, PaletteCodeSeed, PaletteConfig, PaletteNumericSeed, PaletteSeed, PaletteThemeName, _Panel as Panel, Paragraph, _PasswordInput as PasswordInput, type Path, PauseCircleFilledIcon, PauseCircleIcon, PauseIcon, PercentageIcon, _PeriodPicker as PeriodPicker, PersistentNotificationItem, PersistentNotificationsList, PersistentNotificationsListProps, Picker, PickerType, PieChartIcon, PipetteIcon, Placeholder, PlacementAxis, PlayCircleIcon, PlayIcon, PlusIcon, Portal, type PortalProps, type PositionStyleProps, Prefix, _PrismCode as PrismCode, PrismDiffCode, ProgressBarIcon, ProgressToastEmpty, ProgressToastOptions, type Props, Provider, type ProviderProps, _QuarterPicker as QuarterPicker, __Radio as Radio, _RadioGroup as RadioGroup, __RangeSlider as RangeSlider, RangeValue, type RelativeRoutingType, type RelativeTimeOptions, ReloadIcon, RenderCache, RenderCacheProps, RenderPaletteOptions, ReportIcon, _ResetButton as ResetButton, _ResizablePanel as ResizablePanel, ResizeSensor, ResolvableValidationProps, ResolveTokenOptions, ResolvedIcon, ResolvedPaletteConfig, ResolvedPreset, ResolvedThemeSeed, ResolvedValidationProps, type Resource, type ResourceKey, type ResourceLanguage, _Result as Result, ReturnIcon, RightIcon, Root, RowTotalsIcon, SHADOW_TOKENS, SIZES, SIZE_NAME_TO_KEY, SIZE_TOKENS, SPACE_TOKENS, SUPPORTED_LOCALES, SchemeIcon, type ScrollbarType, SearchComboBox, SearchFieldProps, SearchIcon, SearchInput, Section, __Select as Select, SemanticQueryIcon, SetValueOptions, SettingsIcon, ShieldFilledIcon, ShieldIcon, type ShortGridStyles, SizeKey, SizeName, Skeleton, SlashIcon, __Slider as Slider, SliderState, SlotProvider, Space, SparklesIcon, Spin, SqlIcon, StatsCard, StatsIcon, StopIcon, StoredNotificationOptions, StringIcon, SubMenuTrigger, _SubmitButton as SubmitButton, _SubmitError as SubmitError, SubtotalsIcon, Suffix, type SupportedLocale, SurfaceMode, _Switch as Switch, SwitchIcon, type TFunction, TOKENS, TYPOGRAPHY_PRESETS, Tab, TabContextMenu, TabSize, TabType, TableIcon, Tabs, TabsAction, TabsActionPosition, _Tag as Tag, type TagName, _Text as Text, _TextArea as TextArea, TextInput, TextInputBase, _TextInputMapper as TextInputMapper, TextItem, type TextStyleProps, ThumbsDownIcon, ThumbsUpIcon, ThunderboltCrossedIcon, ThunderboltFilledIcon, ThunderboltIcon, TimeIcon, _TimeInput as TimeInput, _Title as Title, type To, ToLegacyColorOptions, Toast, ToastApi, ToastComponent, ToastData, ToastItem, ToastItemProps, ToastProgressProps, ToastProps, ToastType, ToggleSelectionProps, _Tooltip as Tooltip, TooltipProvider, TooltipTrigger, Trans, type TransProps, Translation, TrashIcon, Tree, type TreeContextMenu, type TreeLoadDataNode, type TreeNodeState, type TreeOnCheckInfo, type TreeOnExpandInfo, type TreeOnSelectInfo, type TreeSelectionMode, Typography, UIKIT_I18N_NAMESPACE, type UIKitResources, UnlockIcon, UpIcon, UseAnchoredMenuReturn, UseBufferedValueOptions, UseBufferedValueResult, UseContextMenuReturn, UseControlledFocusVisibleResult, UseFieldParams, UseFieldProps, UseFieldPropsParams, UseFormControllerOptions, UsePaginationOptions, UsePaginationResult, UsePopoverSyncOptions, type UseTranslationOptions, type UseTranslationResponse, UserGroupIcon, UserIcon, UserLockIcon, ValidateTrigger, ValidationIndicator, ValidationIndicatorProps, ValidationProps, ValidationResult, ValidationRule, ValidationRuleBase, ValidationState, ViewIcon, WarningFilledIcon, WarningIcon, _WeekPicker as WeekPicker, type WithTranslation, _YearPicker as YearPicker, addUIKitLocale, aspectRatio, boundedX, boundedY, chain, chainRaf, clampPage, colorSeed, colorThemeSeed, columnSortMenu, containerBounds, copy, createFormatter, createInstance, createUIKitI18n, defaultNavigationAdapter, distributeEvenly, extractModule, extractStyles, formatPeriod, formatRelativeTime, forwardRefWithGenerics, generateRandomId, getCodeTheme, getColorTheme, getColorTokens, getCompactor, getDisabledElementProps, getI18n, getPageInfo, getPaginationRange, getPalette, getPaletteConfig, getPaletteConfigInput, getPaletteTokens, getQuarter, getThemeIcon, getTokens, getValidationIcon, getValidationMods, getValidationTheme, getWeekNumber, gridBounds, hasValidationIndicator, hasValidationState, horizontalCompactor, i18next, initReactI18next, invalidatePaletteTokens, isSupportedLocale, isTextOnly, maxSize, mergeProps, mergeRefs, minMaxSize, minSize, modAttrs, noCompactor, omitActivationEventProps, openLink, parseAbsoluteDate, parseTo, performClickHandler, placeInFreeSlot, processSelectionArray, propDeprecationWarning, random, range, renderColorTokens, renderPaletteTokens, resetPaletteConfig, resolveHighContrast, resolveIcon, resolvePaletteConfig, resolvePresetValues, resolveScheme, resolveTokenValue, resolveTokenValues, resolveValidationProps, setPaletteConfig, snapToGrid, snapToPeriod, subscribePaletteConfig, subscribeScheme, timeout, toFlatTree, toLegacyColor, useAction, useAlertDialogAPI, useAnchoredMenu, useBufferedValue, useButtonSplitContext, useCheckbox, useColorTheme, useCombinedRefs, useContextMenu, useControlledFocusVisible, useDialogContainer, useDismissParentPopover, useEventBus, useEventListener, useField, useFieldProps, useForm, useFormProps, useFormatter, useHighContrast, useI18nSSR, useItemActionContext, useLayoutEffect, useLocalStorage, useLocale, useMenuContext, useMergeStyles, useNotifications, useNotificationsCount, usePagination, usePaletteConfig, usePaletteVersion, usePersistentNotifications, usePopoverSync, usePresetValues, useProgressToast, useProviderProps, useQaProps, useRadio, useScheme, useSearchField, useSearchFieldState, useSelectState, useSliderState, useSlotProps, useSwitch, useTextField, useToast, useToastContext, useTokenValue, useTokenValues, useTranslation, useValidationProps, useViewportSize, verticalCompactor, withTranslation, wrapIcon, wrapNodeIfPlain, wrapWithField };
|
|
445
|
+
export { Action, ActiveToken, _ActiveZone as ActiveZone, AdjustmentsHorizontalIcon, AdjustmentsIcon, AiIcon, Alert, _AlertDialog as AlertDialog, type AllBaseProps, AreaChartIcon, AriaCheckboxProps, AriaMenuTriggerProps, AriaNumberFieldProps, AriaRadioProps, AriaSelectProps, AriaSliderProps, AriaSwitchProps, AriaTextFieldProps, ArrowNarrowDownIcon, ArrowNarrowUpIcon, Avatar, Axis, BASE_TOKENS, BOARD_SELECTION_CANCEL, BackwardIcon, _Badge as Badge, Banner, BannerAction, BannerActionProps, BannerLink, BannerLinkProps, BannerProps, BannerTheme, BarChartIcon, type BaseProps, type BasePropsWithoutChildren, type BaseStyleProps, BellFilledIcon, BellIcon, Block, type BlockStyleProps, Board, type BreakpointCols as BoardBreakpointCols, type Breakpoints as BoardBreakpoints, type CollisionMode as BoardCollisionMode, type BoardCompactType, type Compactor as BoardCompactor, type BoardCornerPlacement, BoardDragActiveProvider, type BoardGridLines, type BoardInteractionInfo, type Layout as BoardLayout, type BoardLayoutChangeInfo, type BoardLayoutChangeReason, type LayoutConstraint as BoardLayoutConstraint, type LayoutItem as BoardLayoutItem, BoardProvider, type BoardResizeGripPlacement, type ResizeHandleAxis as BoardResizeHandleAxis, BoardResponsive, type ResponsiveLayouts as BoardResponsiveLayouts, type BoardSelectionMode, Widget as BoardWidget, type WidgetTransferInfo as BoardWidgetTransferInfo, BooleanIcon, Button, ButtonGroup, ButtonMods, ButtonSplit, ButtonSplitAction, ButtonSplitContext, ButtonSplitContextValue, ButtonVariant, type BytesOptions, COLOR_FORMATS, COLOR_SPACES, COLOR_TOKENS, COLUMN_MENU_SORT_KEYS, CalendarEditIcon, CalendarIcon, Card, CaretDownIcon, CaretUpIcon, ChartAreaStackedIcon, ChartAreaStackedPercentageIcon, ChartBarGroupedHorizontalIcon, ChartBarGroupedIcon, ChartBarHorizontalIcon, ChartBarLineIcon, ChartBarStackedHorizontalIcon, ChartBarStackedIcon, ChartBarStackedPercentageHorizontalIcon, ChartBarStackedPercentageIcon, ChartBoxPlot2Icon, ChartBoxPlotIcon, ChartBubbleIcon, ChartDonut2Icon, ChartFunnelIcon, ChartHeatmapIcon, ChartKPIIcon, ChartPie2Icon, ChartScatterIcon, CheckCircleFilledIcon, CheckCircleIcon, CheckIcon, __Checkbox as Checkbox, _CheckboxGroup as CheckboxGroup, CircleFilledIcon, ClearIcon, ClearSlots, CloseCircleFilledIcon, CloseCircleIcon, CloseIcon, CodeIcon, _CollectionItem as CollectionItem, ColorInput, ColorInputFormatMode, ColorPicker, ColorFormat as ColorPickerFormat, ColorSpace as ColorPickerSpace, ColorScheme, ColorSeed, type ColorStyleProps, ColorSwatch, ColorSwatchGroup, ColorTheme, ColorThemeConfig, ColumnTotalIcon, ComboBox, __CommandMenu as CommandMenu, type CommandMenuItem, _CommandTextArea as CommandTextArea, CommandTextAreaFilterFn, CommandTrigger, type ContainerStyleProps, Content, CopyIcon, _CopyPasteBlock as CopyPasteBlock, _CopySnippet as CopySnippet, CountIcon, CubeActionProps, type CubeActiveZoneProps, type CubeAlertDialogProps, CubeAlertProps, type CubeAvatarProps, type CubeBadgeProps, type CubeBlockProps, type CubeBoardDragActiveProviderProps, type CubeBoardProps, type CubeBoardProviderProps, type CubeBoardResponsiveProps, type CubeBoardWidgetProps, CubeBufferedValueProps, CubeButtonProps, CubeButtonSplitProps, type CubeCardProps, CubeCheckboxGroupProps, CubeCheckboxProps, CubeColorInputProps, CubeColorPickerProps, CubeColorSwatchGroupProps, CubeColorSwatchItem, CubeColorSwatchProps, CubeColumnMenuSortKey, CubeComboBoxProps, type CubeCommandMenuProps, CubeCommandTextAreaProps, type CubeContentProps, CubeCopyPasteBlockProps, CubeCopySnippetProps, CubeDataTableColumn, CubeDataTableColumnDefinition, CubeDataTableColumnGroup, CubeDataTableProps, CubeDateInputProps, CubeDatePickerProps, CubeDateRangePickerProps, CubeDateRangeSeparatedPickerProps, type CubeDialogContainerProps, type CubeDialogFormProps, type CubeDialogFormRef, type CubeDialogProps, type CubeDialogTriggerProps, type CubeDisclosureContentProps, type CubeDisclosureGroupProps, type CubeDisclosureItemProps, type CubeDisclosureProps, type CubeDisclosureTriggerProps, type CubeDividerProps, CubeFieldWrapperProps, CubeFileInputProps, CubeFilterListBoxProps, CubeFilterPickerProps, type CubeFlexProps, type CubeFlowProps, type CubeFooterProps, CubeFormInstance, CubeFormProps, CubeFullLogo, type CubeGridLayoutProps, type CubeGridProps, type CubeGridProviderProps, type CubeHeaderProps, CubeHotKeysProps, CubeHueSliderProps, CubeIcon, CubeIconProps, type CubeIconSwitchProps, type CubeInfoBadgeProps, type CubeInfoBadgeTooltipConfig, type CubeInlineInputEditTrigger, type CubeInlineInputProps, type CubeInlineInputRef, CubeItemActionProps, type CubeItemBadgeProps, type CubeItemProps as CubeItemBaseProps, CubeItemButtonProps, CubeItemButtonProps as ItemButtonProps, type CubeItemCardProps, type CubeItemProps, CubeItemTableColumn, CubeItemTableProps, CubeLabelProps, type CubeLayoutContentProps, type CubeLayoutFooterProps, type CubeLayoutHeaderProps, type CubeLayoutPaneProps, type CubeLayoutPanelHeaderProps, type CubeLayoutPanelProps, type CubeLayoutProps, type CubeLayoutToolbarProps, type CubeListBoxProps, CubeLoadingAnimationProps, CubeLogo, type CubeLogoProps, type CubeMenuProps, CubeMenuSectionProps, type CubeMenuTriggerProps, CubeMonthPickerProps, CubeNecessityIndicatorProps, CubeNumberInputProps, CubePaginationItem, CubePaginationProps, CubePaginationType, type CubePanelProps, type CubeParagraphProps, CubePasswordInputProps, CubePauseIcon, CubePeriodPickerProps, CubePickerProps, type CubePlaceholderProps, CubePlayIcon, type CubePrefixProps, type CubePrismCodeProps, type CubePrismDiffCodeProps, CubeQuarterPickerProps, CubeRadioGroupProps, CubeRadioProps, CubeRangeSliderProps, CubeResetButtonProps, type CubeResizablePanelProps, type CubeResultProps, type CubeResultStatus, type CubeRootProps, CubeSearchComboBoxProps, type CubeSearchInputProps, type CubeSelectBaseProps, type CubeSelectProps, type CubeSkeletonProps, CubeSliderBaseProps, CubeSliderProps, type CubeSpaceProps, CubeSpinProps, type CubeStatsCard, CubeSubMenuTriggerProps, CubeSubmitButtonProps, CubeSubmitErrorProps, type CubeSuffixProps, CubeSwitchProps, CubeTabListProps, CubeTabPanelProps, CubeTabProps, CubeTableAlign, CubeTableCellContext, CubeTableColumn, CubeTableColumnHeader, CubeTableHeaderContext, CubeTableLayoutProps, CubeTablePageInfo, CubeTableRowContext, CubeTableRowExpandInfo, CubeTableRowRenderProps, CubeTableRowSection, CubeTableRowSize, CubeTableSort, CubeTableSortDirection, CubeTableTreeProps, CubeTableTreeRowState, CubeTabsActionProps, CubeTabsProps, type CubeTagProps, CubeTextAreaProps, CubeTextInputBaseProps, CubeTextInputMapperInputProps, CubeTextInputMapperProps, CubeTextInputProps, type CubeTextItemProps, type CubeTextProps, CubeTimeInputProps, type CubeTitleProps, type CubeTooltipProps, type CubeTooltipProviderProps, type CubeTooltipTriggerProps, type CubeTreeNodeData, type CubeTreeProps, CubeUseActionProps, CubeWeekPickerProps, CubeYearPickerProps, CurrencyDollarIcon, type CurrencyOptions, DEFAULT_BUTTON_STYLES, DEFAULT_INPUT_STYLES, DEFAULT_PALETTE_CONFIG, DangerIcon, DashboardIcon, _DataTable as DataTable, DatabaseIcon, DateFieldBase, _DateInput as DateInput, _DatePicker as DatePicker, _DateRangePicker as DateRangePicker, _DateRangeSeparatedPicker as DateRangeSeparatedPicker, DecimalDecreaseIcon, DecimalIncreaseIcon, Dialog, DialogContainer, DialogForm, DialogTrigger, type DimensionStyleProps, DirectionIcon, DirectionIconProps, DisabledElementOptions, DisabledElementProps, _Disclosure as Disclosure, type DisclosureStateContext, DismissReason, DisplayTransition, type DisplayTransitionProps, Divider, DonutIcon, DownIcon, DynamicIcon, EditIcon, EventBusContextValue, EventBusListener, EventBusProvider, ExclamationCircleFilledIcon, ExclamationCircleIcon, ExclamationIcon, EyeIcon, EyeInvisibleIcon, Field, FieldBaseProps, FieldCoreProps, FieldReturnValue, FieldTypes, FieldValidationRule, FieldWrapper, Fields, _FileInput as FileInput, FilterIcon, FilterListBox, FilterPicker, Flex, Flow, type FlowStyleProps, FolderFilledIcon, FolderIcon, FolderOpenFilledIcon, FolderOpenIcon, Footer, Form, FormBaseProps, FormChange, FormContext, FormController, FormField, FormFieldContext, FormFieldOptions, FormPath, FormReadValue, FormScopeMask, FormSelectorOptions, FormSubscribeProps, FormValueAtPath, FormValues, type FormatDateInput, type Formatter, ForwardIcon, Granularity, Grid, GridLayout, GridProvider, GripVerticalIcon, Header, HierarchyIcon, HierarchyOpenIcon, _HotKeys as HotKeys, __HueSlider as HueSlider, type I18n, I18nProvider, type I18nProviderProps, I18nextProvider, INLINE_LABEL_STYLES, INPUT_WRAPPER_STYLES, Icon, IconRenderFn, IconSwitch, InfoBadge, InfoCircleIcon, InfoIcon, type InitOptions, InlineInput, Input, _Item as Item, ItemAction, CubeItemActionProps as ItemActionProps, ItemActionProvider, ItemActionProviderProps, ItemBadge, _Item as ItemBase, _ItemButton as ItemButton, ItemCard, _ItemTable as ItemTable, KeyIcon, LABEL_STYLES, LAYOUT_TOKENS, LOCALE_LABELS, _Label as Label, LabelPosition, Layout$1 as Layout, LeftIcon, LegacyAlphaFormat, LineChartIcon, Link, ListBox, ListBoxElement, ListBoxPopup, LoadingAnimation, LoadingIcon, LockFilledIcon, LockIcon, MAX_BASE_SATURATION, __Menu as Menu, MenuContext, MenuContextValue, MenuItem, MenuItemProps, MenuSection, MenuSelectionType, _MenuTrigger as MenuTrigger, type MenuTriggerState, type ModernDialogFormProps, ModernFieldState, ModernFieldValidationResult, ModernFormProps, ModernFormState, ModernSubmitContext, ModernSubmitFailure, ModernSubmitResult, ModernValidationContext, ModernValidationResult, ModernValidationRule, _MonthPicker as MonthPicker, MoreIcon, type NavigateArg, type NavigateLike, type NavigateOptions, type NavigationAdapter, NecessityIndicator, NecessityIndicatorMark, NoDataIcon, NotAllowedIcon, Notification, NotificationAction, NotificationActionProps, NotificationBaseOptions, NotificationCard, NotificationCardProps, NotificationComponent, NotificationHandle, NotificationItem, NotificationItemProps, NotificationOptions, NotificationProps, NotificationType, NotificationsApi, Number123Icon, NumberIcon, _NumberInput as NumberInput, type OuterStyleProps, OverlayNotificationOptions, OverlayProvider, OverlayProviderProps, PALETTE_TOKENS, _Pagination as Pagination, PaginationRangeOptions, PaletteCodeSeed, PaletteConfig, PaletteNumericSeed, PaletteSeed, PaletteThemeName, _Panel as Panel, Paragraph, _PasswordInput as PasswordInput, type Path, PauseCircleFilledIcon, PauseCircleIcon, PauseIcon, PercentageIcon, _PeriodPicker as PeriodPicker, PersistentNotificationItem, PersistentNotificationsList, PersistentNotificationsListProps, Picker, PickerType, PieChartIcon, PipetteIcon, Placeholder, PlacementAxis, PlayCircleIcon, PlayIcon, PlusIcon, Portal, type PortalProps, type PositionStyleProps, Prefix, _PrismCode as PrismCode, PrismDiffCode, ProgressBarIcon, ProgressToastEmpty, ProgressToastOptions, type Props, Provider, type ProviderProps, _QuarterPicker as QuarterPicker, __Radio as Radio, _RadioGroup as RadioGroup, __RangeSlider as RangeSlider, RangeValue, type RelativeRoutingType, type RelativeTimeOptions, ReloadIcon, RenderCache, RenderCacheProps, RenderPaletteOptions, ReportIcon, _ResetButton as ResetButton, _ResizablePanel as ResizablePanel, ResizeSensor, ResolvableValidationProps, ResolveTokenOptions, ResolvedIcon, ResolvedPaletteConfig, ResolvedPreset, ResolvedThemeSeed, ResolvedValidationProps, type Resource, type ResourceKey, type ResourceLanguage, _Result as Result, ReturnIcon, RightIcon, Root, RowTotalsIcon, SHADOW_TOKENS, SIZES, SIZE_NAME_TO_KEY, SIZE_TOKENS, SPACE_TOKENS, SUPPORTED_LOCALES, SchemeIcon, type ScrollbarType, SearchComboBox, SearchFieldProps, SearchIcon, SearchInput, Section, __Select as Select, SemanticQueryIcon, SetValueOptions, SettingsIcon, ShieldFilledIcon, ShieldIcon, type ShortGridStyles, SizeKey, SizeName, Skeleton, SlashIcon, __Slider as Slider, SliderState, SlotProvider, Space, SparklesIcon, Spin, SqlIcon, StatsCard, StatsIcon, StopIcon, StoredNotificationOptions, StringIcon, SubMenuTrigger, _SubmitButton as SubmitButton, _SubmitError as SubmitError, SubtotalsIcon, Suffix, type SupportedLocale, SurfaceMode, _Switch as Switch, SwitchIcon, type TFunction, TOKENS, TYPOGRAPHY_PRESETS, Tab, TabContextMenu, TabSize, TabType, TableIcon, Tabs, TabsAction, TabsActionPosition, _Tag as Tag, type TagName, _Text as Text, _TextArea as TextArea, TextInput, TextInputBase, _TextInputMapper as TextInputMapper, TextItem, type TextStyleProps, ThumbsDownIcon, ThumbsUpIcon, ThunderboltCrossedIcon, ThunderboltFilledIcon, ThunderboltIcon, TimeIcon, _TimeInput as TimeInput, _Title as Title, type To, ToLegacyColorOptions, Toast, ToastApi, ToastComponent, ToastData, ToastItem, ToastItemProps, ToastProgressProps, ToastProps, ToastType, ToggleSelectionProps, _Tooltip as Tooltip, TooltipProvider, TooltipTrigger, Trans, type TransProps, Translation, TrashIcon, Tree, type TreeContextMenu, type TreeLoadDataNode, type TreeNodeState, type TreeOnCheckInfo, type TreeOnExpandInfo, type TreeOnSelectInfo, type TreeSelectionMode, Typography, UIKIT_I18N_NAMESPACE, type UIKitResources, UnlockIcon, UpIcon, UseAnchoredMenuReturn, UseBufferedValueOptions, UseBufferedValueResult, UseContextMenuReturn, UseControlledFocusVisibleResult, UseFieldParams, UseFieldProps, UseFieldPropsParams, UseFormControllerOptions, UsePaginationOptions, UsePaginationResult, UsePopoverSyncOptions, type UseTranslationOptions, type UseTranslationResponse, UserGroupIcon, UserIcon, UserLockIcon, ValidateTrigger, ValidationIndicator, ValidationIndicatorProps, ValidationProps, ValidationResult, ValidationRule, ValidationRuleBase, ValidationState, ViewIcon, WarningFilledIcon, WarningIcon, _WeekPicker as WeekPicker, type WithTranslation, _YearPicker as YearPicker, addUIKitLocale, aspectRatio, boundedX, boundedY, chain, chainRaf, clampPage, colorSeed, colorThemeSeed, columnSortMenu, containerBounds, copy, createFormatter, createInstance, createUIKitI18n, defaultNavigationAdapter, distributeEvenly, extractModule, extractStyles, formatPeriod, formatRelativeTime, forwardRefWithGenerics, generateRandomId, getCodeTheme, getColorTheme, getColorTokens, getCompactor, getDisabledElementProps, getI18n, getPageInfo, getPaginationRange, getPalette, getPaletteConfig, getPaletteConfigInput, getPaletteTokens, getQuarter, getThemeIcon, getTokens, getValidationIcon, getValidationMods, getValidationTheme, getWeekNumber, gridBounds, hasValidationIndicator, hasValidationState, horizontalCompactor, i18next, initReactI18next, invalidatePaletteTokens, isSupportedLocale, isTextOnly, maxSize, mergeProps, mergeRefs, minMaxSize, minSize, modAttrs, noCompactor, omitActivationEventProps, openLink, parseAbsoluteDate, parseTo, performClickHandler, placeInFreeSlot, processSelectionArray, propDeprecationWarning, random, range, renderColorTokens, renderPaletteTokens, resetPaletteConfig, resolveHighContrast, resolveIcon, resolvePaletteConfig, resolvePresetValues, resolveScheme, resolveTokenValue, resolveTokenValues, resolveValidationProps, setPaletteConfig, snapToGrid, snapToPeriod, subscribePaletteConfig, subscribeScheme, timeout, toFlatTree, toLegacyColor, useAction, useAlertDialogAPI, useAnchoredMenu, useBufferedValue, useButtonSplitContext, useCheckbox, useColorTheme, useCombinedRefs, useContextMenu, useControlledFocusVisible, useDialogContainer, useDismissParentPopover, useEventBus, useEventListener, useField, useFieldProps, useForm, useFormProps, useFormatter, useHighContrast, useI18nSSR, useItemActionContext, useLayoutEffect, useLocalStorage, useLocale, useMenuContext, useMergeStyles, useNotifications, useNotificationsCount, usePagination, usePaletteConfig, usePaletteVersion, usePersistentNotifications, usePopoverSync, usePresetValues, useProgressToast, useProviderProps, useQaProps, useRadio, useScheme, useSearchField, useSearchFieldState, useSelectState, useSliderState, useSlotProps, useSwitch, useTextField, useToast, useToastContext, useTokenValue, useTokenValues, useTranslation, useValidationProps, useViewportSize, verticalCompactor, withTranslation, wrapIcon, wrapNodeIfPlain, wrapWithField };
|
|
446
446
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.184.0 | Cube Dev Team */
|
|
2
2
|
import { extractStyles } from "./utils/styles.js";
|
|
3
3
|
import { chain } from "./utils/react/chain.js";
|
|
4
4
|
import { getDisabledElementProps, omitActivationEventProps } from "./utils/react/disabledProps.js";
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":["Text"],"sources":["../src/index.ts"],"sourcesContent":["import { CubeParagraphProps, Paragraph } from './components/content/Paragraph';\nimport { CubeTextProps, Text } from './components/content/Text';\nimport { CubeTextItemProps, TextItem } from './components/content/TextItem';\nimport { CubeTitleProps, Title } from './components/content/Title';\n\nimport './version';\n\nexport { Section } from 'react-stately';\nexport type { MenuTriggerState } from 'react-stately';\n\nexport * from '@internationalized/date';\n\n// generic components\nexport { CollectionItem } from './components/CollectionItem';\nexport { Block } from './components/Block';\nexport type { CubeBlockProps } from './components/Block';\nexport { Item } from './components/content/Item/Item';\nexport type { CubeItemProps } from './components/content/Item/Item';\n// @deprecated Use `Item` instead\nexport { ItemBase } from './components/content/Item/Item';\n// @deprecated Use `CubeItemProps` instead\nexport type { CubeItemBaseProps } from './components/content/Item/Item';\nexport { ItemCard } from './components/content/ItemCard/ItemCard';\nexport type { CubeItemCardProps } from './components/content/ItemCard/ItemCard';\nexport { ItemBadge } from './components/content/ItemBadge/ItemBadge';\nexport type { CubeItemBadgeProps } from './components/content/ItemBadge/ItemBadge';\nexport { InfoBadge } from './components/content/InfoBadge/InfoBadge';\nexport type {\n CubeInfoBadgeProps,\n CubeInfoBadgeTooltipConfig,\n} from './components/content/InfoBadge/InfoBadge';\nexport { ActiveZone } from './components/content/ActiveZone/ActiveZone';\nexport type { CubeActiveZoneProps } from './components/content/ActiveZone/ActiveZone';\nexport { InlineInput } from './components/content/InlineInput';\nexport type {\n CubeInlineInputProps,\n CubeInlineInputRef,\n CubeInlineInputEditTrigger,\n} from './components/content/InlineInput';\nexport * from './components/content/CopySnippet';\nexport * from './components/content/CopyPasteBlock';\nexport { Grid } from './components/layout/Grid';\nexport type { CubeGridProps } from './components/layout/Grid';\nexport { Flex } from './components/layout/Flex';\nexport type { CubeFlexProps } from './components/layout/Flex';\nexport { Link } from './components/actions/Link/Link';\nexport { Space } from './components/layout/Space';\nexport type { CubeSpaceProps } from './components/layout/Space';\nexport { Flow } from './components/layout/Flow';\nexport type { CubeFlowProps } from './components/layout/Flow';\nexport { Panel } from './components/layout/Panel';\nexport type { CubePanelProps } from './components/layout/Panel';\nexport { ResizablePanel } from './components/layout/ResizablePanel';\nexport type { CubeResizablePanelProps } from './components/layout/ResizablePanel';\nexport {\n Board,\n BoardDragActiveProvider,\n BoardProvider,\n BoardResponsive,\n BoardWidget,\n verticalCompactor,\n horizontalCompactor,\n noCompactor,\n getCompactor,\n gridBounds,\n minMaxSize,\n containerBounds,\n boundedX,\n boundedY,\n aspectRatio,\n snapToGrid,\n minSize,\n maxSize,\n placeInFreeSlot,\n distributeEvenly,\n BOARD_SELECTION_CANCEL,\n} from './components/layout/Board';\nexport type {\n CubeBoardProps,\n BoardSelectionMode,\n CubeBoardWidgetProps,\n CubeBoardDragActiveProviderProps,\n CubeBoardProviderProps,\n CubeBoardResponsiveProps,\n BoardCompactType,\n BoardGridLines,\n BoardInteractionInfo,\n BoardBreakpoints,\n BoardBreakpointCols,\n BoardResponsiveLayouts,\n Layout as BoardLayout,\n LayoutItem as BoardLayoutItem,\n ResizeHandleAxis as BoardResizeHandleAxis,\n BoardResizeGripPlacement,\n BoardCornerPlacement,\n BoardLayoutChangeInfo,\n BoardLayoutChangeReason,\n CollisionMode as BoardCollisionMode,\n Compactor as BoardCompactor,\n LayoutConstraint as BoardLayoutConstraint,\n WidgetTransferInfo as BoardWidgetTransferInfo,\n} from './components/layout/Board';\nexport { Root } from './components/Root';\nexport type { CubeRootProps } from './components/Root';\nexport { DisplayTransition } from './components/helpers/DisplayTransition/DisplayTransition';\nexport type { DisplayTransitionProps } from './components/helpers/DisplayTransition/DisplayTransition';\nexport { IconSwitch } from './components/helpers/IconSwitch/IconSwitch';\nexport type { CubeIconSwitchProps } from './components/helpers/IconSwitch/IconSwitch';\n\n// Navigation types and helpers\nexport type {\n NavigationAdapter,\n NavigateLike,\n Path,\n To,\n NavigateArg,\n NavigateOptions,\n RelativeRoutingType,\n} from './providers/navigation.types';\nexport { defaultNavigationAdapter } from './providers/navigationAdapter.default';\nexport { PrismCode } from './components/content/PrismCode/PrismCode';\nexport type { CubePrismCodeProps } from './components/content/PrismCode/PrismCode';\nexport { PrismDiffCode } from './components/content/PrismDiffCode/PrismDiffCode';\nexport type { CubePrismDiffCodeProps } from './components/content/PrismDiffCode/PrismDiffCode';\nexport { Prefix } from './components/layout/Prefix';\nexport type { CubePrefixProps } from './components/layout/Prefix';\nexport { Suffix } from './components/layout/Suffix';\nexport type { CubeSuffixProps } from './components/layout/Suffix';\nexport { Divider } from './components/content/Divider';\nexport type { CubeDividerProps } from './components/content/Divider';\nexport { Disclosure } from './components/content/Disclosure';\nexport type {\n CubeDisclosureProps,\n CubeDisclosureTriggerProps,\n CubeDisclosureContentProps,\n CubeDisclosureGroupProps,\n CubeDisclosureItemProps,\n DisclosureStateContext,\n} from './components/content/Disclosure';\nexport { Tree } from './components/content/Tree';\nexport type {\n CubeTreeProps,\n CubeTreeNodeData,\n TreeOnCheckInfo,\n TreeOnExpandInfo,\n TreeOnSelectInfo,\n TreeLoadDataNode,\n TreeSelectionMode,\n TreeContextMenu,\n TreeNodeState,\n} from './components/content/Tree';\nexport { GridProvider } from './components/GridProvider';\nexport type { CubeGridProviderProps } from './components/GridProvider';\nexport { Content } from './components/content/Content';\nexport type { CubeContentProps } from './components/content/Content';\nexport { Header } from './components/content/Header';\nexport type { CubeHeaderProps } from './components/content/Header';\nexport { Footer } from './components/content/Footer';\nexport type { CubeFooterProps } from './components/content/Footer';\nexport { Result } from './components/content/Result/Result';\nexport type {\n CubeResultProps,\n CubeResultStatus,\n} from './components/content/Result/Result';\nexport { Layout, GridLayout } from './components/content/Layout';\nexport type {\n CubeLayoutProps,\n CubeGridLayoutProps,\n CubeLayoutToolbarProps,\n CubeLayoutHeaderProps,\n CubeLayoutFooterProps,\n CubeLayoutContentProps,\n CubeLayoutPaneProps,\n CubeLayoutPanelProps,\n CubeLayoutPanelHeaderProps,\n ScrollbarType,\n} from './components/content/Layout';\n\n// atoms\nexport * from './components/status';\nexport { Card } from './components/content/Card/Card';\nexport type { CubeCardProps } from './components/content/Card/Card';\nexport * from './components/actions';\nexport { Placeholder } from './components/content/Placeholder/Placeholder';\nexport type { CubePlaceholderProps } from './components/content/Placeholder/Placeholder';\nexport { Skeleton } from './components/content/Skeleton/Skeleton';\nexport type { CubeSkeletonProps } from './components/content/Skeleton/Skeleton';\nexport { CubeLogo, CubeFullLogo } from './components/other/CubeLogo/CubeLogo';\nexport type { CubeLogoProps } from './components/other/CubeLogo/CubeLogo';\nexport { NoDataIcon } from './components/other/NoDataIcon';\nexport { Badge } from './components/content/Badge/Badge';\nexport type { CubeBadgeProps } from './components/content/Badge/Badge';\nexport { Tag } from './components/content/Tag/Tag';\nexport type { CubeTagProps } from './components/content/Tag/Tag';\nexport * from './components/content/HotKeys';\nexport type { CubeSearchInputProps } from './components/fields/SearchInput/SearchInput';\nexport type { CubeListBoxProps } from './components/fields/ListBox';\nexport { ListBox } from './components/fields/ListBox';\nexport { Menu } from './components/actions/Menu/Menu';\nexport type { CubeMenuProps } from './components/actions/Menu/Menu';\nexport { MenuTrigger } from './components/actions/Menu/MenuTrigger';\nexport { SubMenuTrigger } from './components/actions/Menu/SubMenuTrigger';\nexport type { CubeMenuTriggerProps } from './components/actions/Menu/MenuTrigger';\nexport { CommandMenu } from './components/actions/CommandMenu';\nexport type {\n CubeCommandMenuProps,\n CommandMenuItem,\n} from './components/actions/CommandMenu';\nexport { Select, ListBoxPopup } from './components/fields/Select/Select';\nexport type {\n CubeSelectProps,\n CubeSelectBaseProps,\n} from './components/fields/Select/Select';\n\nexport { Avatar } from './components/content/Avatar/Avatar';\nexport type { CubeAvatarProps } from './components/content/Avatar/Avatar';\nexport {\n Dialog,\n DialogTrigger,\n DialogContainer,\n DialogForm,\n useDialogContainer,\n} from './components/overlays/Dialog';\nexport type {\n CubeDialogTriggerProps,\n CubeDialogContainerProps,\n CubeDialogProps,\n CubeDialogFormRef,\n CubeDialogFormProps,\n} from './components/overlays/Dialog';\nexport { Tooltip } from './components/overlays/Tooltip/Tooltip';\nexport type { CubeTooltipProps } from './components/overlays/Tooltip/Tooltip';\nexport { TooltipTrigger } from './components/overlays/Tooltip/TooltipTrigger';\nexport type { CubeTooltipTriggerProps } from './components/overlays/Tooltip/TooltipTrigger';\nexport { TooltipProvider } from './components/overlays/Tooltip/TooltipProvider';\nexport type { CubeTooltipProviderProps } from './components/overlays/Tooltip/TooltipProvider';\n\nexport * from './components/content/Alert';\n\n// navigation\nexport * from './components/navigation';\n\n// data\nexport * from './components/data';\n\n// molecules\nexport { StatsCard } from './components/organisms/StatsCard/StatsCard';\nexport type { CubeStatsCard } from './components/organisms/StatsCard/StatsCard';\nexport {\n AlertDialog,\n useAlertDialogAPI,\n} from './components/overlays/AlertDialog';\nexport type { CubeAlertDialogProps } from './components/overlays/AlertDialog';\n\nexport * from '@tenphi/tasty';\nexport * from '@tenphi/glaze';\n\nexport const Typography = {\n Text: Text,\n Title,\n Paragraph,\n};\n\nexport { Text, TextItem, Title, Paragraph };\nexport type {\n CubeTextProps,\n CubeTextItemProps,\n CubeTitleProps,\n CubeParagraphProps,\n};\n\nexport { Provider, useProviderProps } from './provider';\nexport type { ProviderProps } from './provider';\nexport { Portal } from './components/portal';\nexport type { PortalProps } from './components/portal';\nexport * from './components/fields';\n\nexport type {\n TagName,\n AllBaseProps,\n BaseProps,\n BaseStyleProps,\n DimensionStyleProps,\n ColorStyleProps,\n OuterStyleProps,\n PositionStyleProps,\n TextStyleProps,\n BlockStyleProps,\n ContainerStyleProps,\n BasePropsWithoutChildren,\n FlowStyleProps,\n ShortGridStyles,\n} from '@tenphi/tasty';\nexport type { Props } from './props';\n\n// i18n — the UI Kit owns the i18next + react-i18next libraries and the single\n// shared instance. Consumers (e.g. Cube Cloud) import ALL i18n symbols from\n// here so there is exactly one physical copy / one version / one instance.\nexport {\n useTranslation,\n Trans,\n Translation,\n I18nextProvider,\n initReactI18next,\n withTranslation,\n useSSR as useI18nSSR,\n} from 'react-i18next';\nexport type {\n TransProps,\n UseTranslationOptions,\n UseTranslationResponse,\n WithTranslation,\n} from 'react-i18next';\nexport { default as i18next, createInstance } from 'i18next';\nexport type {\n i18n as I18n,\n TFunction,\n Resource,\n ResourceKey,\n ResourceLanguage,\n InitOptions,\n} from 'i18next';\nexport {\n createUIKitI18n,\n getI18n,\n UIKIT_I18N_NAMESPACE,\n addUIKitLocale,\n I18nProvider,\n createFormatter,\n useFormatter,\n SUPPORTED_LOCALES,\n LOCALE_LABELS,\n isSupportedLocale,\n} from './i18n';\nexport type {\n SupportedLocale,\n UIKitResources,\n I18nProviderProps,\n Formatter,\n FormatDateInput,\n RelativeTimeOptions,\n CurrencyOptions,\n BytesOptions,\n} from './i18n';\n// React Aria's `useLocale`, re-exported so consumers read the same locale\n// context the UI Kit's `I18nProvider` populates from i18next.\nexport { useLocale } from 'react-aria';\n\nexport * from './utils';\nexport { default as copy } from 'clipboard-copy';\nexport * from '@react-aria/ssr';\nexport * from './components/overlays/Toast';\nexport * from './components/overlays/Notifications';\nexport * from './shared';\nexport * from './icons';\nexport * from './components/form';\nexport * from './tokens';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiQA,MAAa,aAAa;CACxB,MAAMA;CACN;CACA;CACD"}
|
|
1
|
+
{"version":3,"file":"index.js","names":["CubeParagraphProps","Paragraph","CubeTextProps","Text","CubeTextItemProps","TextItem","CubeTitleProps","Title","Section","MenuTriggerState","CollectionItem","Block","CubeBlockProps","Item","CubeItemProps","ItemBase","CubeItemBaseProps","ItemCard","CubeItemCardProps","ItemBadge","CubeItemBadgeProps","InfoBadge","CubeInfoBadgeProps","CubeInfoBadgeTooltipConfig","ActiveZone","CubeActiveZoneProps","InlineInput","CubeInlineInputProps","CubeInlineInputRef","CubeInlineInputEditTrigger","Grid","CubeGridProps","Flex","CubeFlexProps","Link","Space","CubeSpaceProps","Flow","CubeFlowProps","Panel","CubePanelProps","ResizablePanel","CubeResizablePanelProps","Board","BoardDragActiveProvider","BoardProvider","BoardResponsive","BoardWidget","verticalCompactor","horizontalCompactor","noCompactor","getCompactor","gridBounds","minMaxSize","containerBounds","boundedX","boundedY","aspectRatio","snapToGrid","minSize","maxSize","placeInFreeSlot","distributeEvenly","BOARD_SELECTION_CANCEL","CubeBoardProps","BoardSelectionMode","CubeBoardWidgetProps","CubeBoardDragActiveProviderProps","CubeBoardProviderProps","CubeBoardResponsiveProps","BoardCompactType","BoardGridLines","BoardInteractionInfo","BoardBreakpoints","BoardBreakpointCols","BoardResponsiveLayouts","Layout","BoardLayout","LayoutItem","BoardLayoutItem","ResizeHandleAxis","BoardResizeHandleAxis","BoardResizeGripPlacement","BoardCornerPlacement","BoardLayoutChangeInfo","BoardLayoutChangeReason","CollisionMode","BoardCollisionMode","Compactor","BoardCompactor","LayoutConstraint","BoardLayoutConstraint","WidgetTransferInfo","BoardWidgetTransferInfo","Root","CubeRootProps","DisplayTransition","DisplayTransitionProps","IconSwitch","CubeIconSwitchProps","NavigationAdapter","NavigateLike","Path","To","NavigateArg","NavigateOptions","RelativeRoutingType","defaultNavigationAdapter","PrismCode","CubePrismCodeProps","PrismDiffCode","CubePrismDiffCodeProps","Prefix","CubePrefixProps","Suffix","CubeSuffixProps","Divider","CubeDividerProps","Disclosure","CubeDisclosureProps","CubeDisclosureTriggerProps","CubeDisclosureContentProps","CubeDisclosureGroupProps","CubeDisclosureItemProps","DisclosureStateContext","Tree","CubeTreeProps","CubeTreeNodeData","TreeOnCheckInfo","TreeOnExpandInfo","TreeOnSelectInfo","TreeLoadDataNode","TreeSelectionMode","TreeContextMenu","TreeNodeState","GridProvider","CubeGridProviderProps","Content","CubeContentProps","Header","CubeHeaderProps","Footer","CubeFooterProps","Result","CubeResultProps","CubeResultStatus","GridLayout","CubeLayoutProps","CubeGridLayoutProps","CubeLayoutToolbarProps","CubeLayoutHeaderProps","CubeLayoutFooterProps","CubeLayoutContentProps","CubeLayoutPaneProps","CubeLayoutPanelProps","CubeLayoutPanelHeaderProps","ScrollbarType","Card","CubeCardProps","Placeholder","CubePlaceholderProps","Skeleton","CubeSkeletonProps","CubeLogo","CubeFullLogo","CubeLogoProps","NoDataIcon","Badge","CubeBadgeProps","Tag","CubeTagProps","CubeSearchInputProps","CubeListBoxProps","ListBox","Menu","CubeMenuProps","MenuTrigger","SubMenuTrigger","CubeMenuTriggerProps","CommandMenu","CubeCommandMenuProps","CommandMenuItem","Select","ListBoxPopup","CubeSelectProps","CubeSelectBaseProps","Avatar","CubeAvatarProps","Dialog","DialogTrigger","DialogContainer","DialogForm","useDialogContainer","CubeDialogTriggerProps","CubeDialogContainerProps","CubeDialogProps","CubeDialogFormRef","CubeDialogFormProps","ModernDialogFormProps","Tooltip","CubeTooltipProps","TooltipTrigger","CubeTooltipTriggerProps","TooltipProvider","CubeTooltipProviderProps","StatsCard","CubeStatsCard","AlertDialog","useAlertDialogAPI","CubeAlertDialogProps","Typography","Provider","useProviderProps","ProviderProps","Portal","PortalProps","TagName","AllBaseProps","BaseProps","BaseStyleProps","DimensionStyleProps","ColorStyleProps","OuterStyleProps","PositionStyleProps","TextStyleProps","BlockStyleProps","ContainerStyleProps","BasePropsWithoutChildren","FlowStyleProps","ShortGridStyles","Props","useTranslation","Trans","Translation","I18nextProvider","initReactI18next","withTranslation","useSSR","useI18nSSR","TransProps","UseTranslationOptions","UseTranslationResponse","WithTranslation","default","i18next","createInstance","i18n","I18n","TFunction","Resource","ResourceKey","ResourceLanguage","InitOptions","createUIKitI18n","getI18n","UIKIT_I18N_NAMESPACE","addUIKitLocale","I18nProvider","createFormatter","useFormatter","SUPPORTED_LOCALES","LOCALE_LABELS","isSupportedLocale","SupportedLocale","UIKitResources","I18nProviderProps","Formatter","FormatDateInput","RelativeTimeOptions","CurrencyOptions","BytesOptions","useLocale","copy"],"sources":["../src/index.ts"],"sourcesContent":["import { CubeParagraphProps, Paragraph } from './components/content/Paragraph';\nimport { CubeTextProps, Text } from './components/content/Text';\nimport { CubeTextItemProps, TextItem } from './components/content/TextItem';\nimport { CubeTitleProps, Title } from './components/content/Title';\n\nimport './version';\n\nexport { Section } from 'react-stately';\nexport type { MenuTriggerState } from 'react-stately';\n\nexport * from '@internationalized/date';\n\n// generic components\nexport { CollectionItem } from './components/CollectionItem';\nexport { Block } from './components/Block';\nexport type { CubeBlockProps } from './components/Block';\nexport { Item } from './components/content/Item/Item';\nexport type { CubeItemProps } from './components/content/Item/Item';\n// @deprecated Use `Item` instead\nexport { ItemBase } from './components/content/Item/Item';\n// @deprecated Use `CubeItemProps` instead\nexport type { CubeItemBaseProps } from './components/content/Item/Item';\nexport { ItemCard } from './components/content/ItemCard/ItemCard';\nexport type { CubeItemCardProps } from './components/content/ItemCard/ItemCard';\nexport { ItemBadge } from './components/content/ItemBadge/ItemBadge';\nexport type { CubeItemBadgeProps } from './components/content/ItemBadge/ItemBadge';\nexport { InfoBadge } from './components/content/InfoBadge/InfoBadge';\nexport type {\n CubeInfoBadgeProps,\n CubeInfoBadgeTooltipConfig,\n} from './components/content/InfoBadge/InfoBadge';\nexport { ActiveZone } from './components/content/ActiveZone/ActiveZone';\nexport type { CubeActiveZoneProps } from './components/content/ActiveZone/ActiveZone';\nexport { InlineInput } from './components/content/InlineInput';\nexport type {\n CubeInlineInputProps,\n CubeInlineInputRef,\n CubeInlineInputEditTrigger,\n} from './components/content/InlineInput';\nexport * from './components/content/CopySnippet';\nexport * from './components/content/CopyPasteBlock';\nexport { Grid } from './components/layout/Grid';\nexport type { CubeGridProps } from './components/layout/Grid';\nexport { Flex } from './components/layout/Flex';\nexport type { CubeFlexProps } from './components/layout/Flex';\nexport { Link } from './components/actions/Link/Link';\nexport { Space } from './components/layout/Space';\nexport type { CubeSpaceProps } from './components/layout/Space';\nexport { Flow } from './components/layout/Flow';\nexport type { CubeFlowProps } from './components/layout/Flow';\nexport { Panel } from './components/layout/Panel';\nexport type { CubePanelProps } from './components/layout/Panel';\nexport { ResizablePanel } from './components/layout/ResizablePanel';\nexport type { CubeResizablePanelProps } from './components/layout/ResizablePanel';\nexport {\n Board,\n BoardDragActiveProvider,\n BoardProvider,\n BoardResponsive,\n BoardWidget,\n verticalCompactor,\n horizontalCompactor,\n noCompactor,\n getCompactor,\n gridBounds,\n minMaxSize,\n containerBounds,\n boundedX,\n boundedY,\n aspectRatio,\n snapToGrid,\n minSize,\n maxSize,\n placeInFreeSlot,\n distributeEvenly,\n BOARD_SELECTION_CANCEL,\n} from './components/layout/Board';\nexport type {\n CubeBoardProps,\n BoardSelectionMode,\n CubeBoardWidgetProps,\n CubeBoardDragActiveProviderProps,\n CubeBoardProviderProps,\n CubeBoardResponsiveProps,\n BoardCompactType,\n BoardGridLines,\n BoardInteractionInfo,\n BoardBreakpoints,\n BoardBreakpointCols,\n BoardResponsiveLayouts,\n Layout as BoardLayout,\n LayoutItem as BoardLayoutItem,\n ResizeHandleAxis as BoardResizeHandleAxis,\n BoardResizeGripPlacement,\n BoardCornerPlacement,\n BoardLayoutChangeInfo,\n BoardLayoutChangeReason,\n CollisionMode as BoardCollisionMode,\n Compactor as BoardCompactor,\n LayoutConstraint as BoardLayoutConstraint,\n WidgetTransferInfo as BoardWidgetTransferInfo,\n} from './components/layout/Board';\nexport { Root } from './components/Root';\nexport type { CubeRootProps } from './components/Root';\nexport { DisplayTransition } from './components/helpers/DisplayTransition/DisplayTransition';\nexport type { DisplayTransitionProps } from './components/helpers/DisplayTransition/DisplayTransition';\nexport { IconSwitch } from './components/helpers/IconSwitch/IconSwitch';\nexport type { CubeIconSwitchProps } from './components/helpers/IconSwitch/IconSwitch';\n\n// Navigation types and helpers\nexport type {\n NavigationAdapter,\n NavigateLike,\n Path,\n To,\n NavigateArg,\n NavigateOptions,\n RelativeRoutingType,\n} from './providers/navigation.types';\nexport { defaultNavigationAdapter } from './providers/navigationAdapter.default';\nexport { PrismCode } from './components/content/PrismCode/PrismCode';\nexport type { CubePrismCodeProps } from './components/content/PrismCode/PrismCode';\nexport { PrismDiffCode } from './components/content/PrismDiffCode/PrismDiffCode';\nexport type { CubePrismDiffCodeProps } from './components/content/PrismDiffCode/PrismDiffCode';\nexport { Prefix } from './components/layout/Prefix';\nexport type { CubePrefixProps } from './components/layout/Prefix';\nexport { Suffix } from './components/layout/Suffix';\nexport type { CubeSuffixProps } from './components/layout/Suffix';\nexport { Divider } from './components/content/Divider';\nexport type { CubeDividerProps } from './components/content/Divider';\nexport { Disclosure } from './components/content/Disclosure';\nexport type {\n CubeDisclosureProps,\n CubeDisclosureTriggerProps,\n CubeDisclosureContentProps,\n CubeDisclosureGroupProps,\n CubeDisclosureItemProps,\n DisclosureStateContext,\n} from './components/content/Disclosure';\nexport { Tree } from './components/content/Tree';\nexport type {\n CubeTreeProps,\n CubeTreeNodeData,\n TreeOnCheckInfo,\n TreeOnExpandInfo,\n TreeOnSelectInfo,\n TreeLoadDataNode,\n TreeSelectionMode,\n TreeContextMenu,\n TreeNodeState,\n} from './components/content/Tree';\nexport { GridProvider } from './components/GridProvider';\nexport type { CubeGridProviderProps } from './components/GridProvider';\nexport { Content } from './components/content/Content';\nexport type { CubeContentProps } from './components/content/Content';\nexport { Header } from './components/content/Header';\nexport type { CubeHeaderProps } from './components/content/Header';\nexport { Footer } from './components/content/Footer';\nexport type { CubeFooterProps } from './components/content/Footer';\nexport { Result } from './components/content/Result/Result';\nexport type {\n CubeResultProps,\n CubeResultStatus,\n} from './components/content/Result/Result';\nexport { Layout, GridLayout } from './components/content/Layout';\nexport type {\n CubeLayoutProps,\n CubeGridLayoutProps,\n CubeLayoutToolbarProps,\n CubeLayoutHeaderProps,\n CubeLayoutFooterProps,\n CubeLayoutContentProps,\n CubeLayoutPaneProps,\n CubeLayoutPanelProps,\n CubeLayoutPanelHeaderProps,\n ScrollbarType,\n} from './components/content/Layout';\n\n// atoms\nexport * from './components/status';\nexport { Card } from './components/content/Card/Card';\nexport type { CubeCardProps } from './components/content/Card/Card';\nexport * from './components/actions';\nexport { Placeholder } from './components/content/Placeholder/Placeholder';\nexport type { CubePlaceholderProps } from './components/content/Placeholder/Placeholder';\nexport { Skeleton } from './components/content/Skeleton/Skeleton';\nexport type { CubeSkeletonProps } from './components/content/Skeleton/Skeleton';\nexport { CubeLogo, CubeFullLogo } from './components/other/CubeLogo/CubeLogo';\nexport type { CubeLogoProps } from './components/other/CubeLogo/CubeLogo';\nexport { NoDataIcon } from './components/other/NoDataIcon';\nexport { Badge } from './components/content/Badge/Badge';\nexport type { CubeBadgeProps } from './components/content/Badge/Badge';\nexport { Tag } from './components/content/Tag/Tag';\nexport type { CubeTagProps } from './components/content/Tag/Tag';\nexport * from './components/content/HotKeys';\nexport type { CubeSearchInputProps } from './components/fields/SearchInput/SearchInput';\nexport type { CubeListBoxProps } from './components/fields/ListBox';\nexport { ListBox } from './components/fields/ListBox';\nexport { Menu } from './components/actions/Menu/Menu';\nexport type { CubeMenuProps } from './components/actions/Menu/Menu';\nexport { MenuTrigger } from './components/actions/Menu/MenuTrigger';\nexport { SubMenuTrigger } from './components/actions/Menu/SubMenuTrigger';\nexport type { CubeMenuTriggerProps } from './components/actions/Menu/MenuTrigger';\nexport { CommandMenu } from './components/actions/CommandMenu';\nexport type {\n CubeCommandMenuProps,\n CommandMenuItem,\n} from './components/actions/CommandMenu';\nexport { Select, ListBoxPopup } from './components/fields/Select/Select';\nexport type {\n CubeSelectProps,\n CubeSelectBaseProps,\n} from './components/fields/Select/Select';\n\nexport { Avatar } from './components/content/Avatar/Avatar';\nexport type { CubeAvatarProps } from './components/content/Avatar/Avatar';\nexport {\n Dialog,\n DialogTrigger,\n DialogContainer,\n DialogForm,\n useDialogContainer,\n} from './components/overlays/Dialog';\nexport type {\n CubeDialogTriggerProps,\n CubeDialogContainerProps,\n CubeDialogProps,\n CubeDialogFormRef,\n CubeDialogFormProps,\n ModernDialogFormProps,\n} from './components/overlays/Dialog';\nexport { Tooltip } from './components/overlays/Tooltip/Tooltip';\nexport type { CubeTooltipProps } from './components/overlays/Tooltip/Tooltip';\nexport { TooltipTrigger } from './components/overlays/Tooltip/TooltipTrigger';\nexport type { CubeTooltipTriggerProps } from './components/overlays/Tooltip/TooltipTrigger';\nexport { TooltipProvider } from './components/overlays/Tooltip/TooltipProvider';\nexport type { CubeTooltipProviderProps } from './components/overlays/Tooltip/TooltipProvider';\n\nexport * from './components/content/Alert';\n\n// navigation\nexport * from './components/navigation';\n\n// data\nexport * from './components/data';\n\n// molecules\nexport { StatsCard } from './components/organisms/StatsCard/StatsCard';\nexport type { CubeStatsCard } from './components/organisms/StatsCard/StatsCard';\nexport {\n AlertDialog,\n useAlertDialogAPI,\n} from './components/overlays/AlertDialog';\nexport type { CubeAlertDialogProps } from './components/overlays/AlertDialog';\n\nexport * from '@tenphi/tasty';\nexport * from '@tenphi/glaze';\n\nexport const Typography = {\n Text: Text,\n Title,\n Paragraph,\n};\n\nexport { Text, TextItem, Title, Paragraph };\nexport type {\n CubeTextProps,\n CubeTextItemProps,\n CubeTitleProps,\n CubeParagraphProps,\n};\n\nexport { Provider, useProviderProps } from './provider';\nexport type { ProviderProps } from './provider';\nexport { Portal } from './components/portal';\nexport type { PortalProps } from './components/portal';\nexport * from './components/fields';\n\nexport type {\n TagName,\n AllBaseProps,\n BaseProps,\n BaseStyleProps,\n DimensionStyleProps,\n ColorStyleProps,\n OuterStyleProps,\n PositionStyleProps,\n TextStyleProps,\n BlockStyleProps,\n ContainerStyleProps,\n BasePropsWithoutChildren,\n FlowStyleProps,\n ShortGridStyles,\n} from '@tenphi/tasty';\nexport type { Props } from './props';\n\n// i18n — the UI Kit owns the i18next + react-i18next libraries and the single\n// shared instance. Consumers (e.g. Cube Cloud) import ALL i18n symbols from\n// here so there is exactly one physical copy / one version / one instance.\nexport {\n useTranslation,\n Trans,\n Translation,\n I18nextProvider,\n initReactI18next,\n withTranslation,\n useSSR as useI18nSSR,\n} from 'react-i18next';\nexport type {\n TransProps,\n UseTranslationOptions,\n UseTranslationResponse,\n WithTranslation,\n} from 'react-i18next';\nexport { default as i18next, createInstance } from 'i18next';\nexport type {\n i18n as I18n,\n TFunction,\n Resource,\n ResourceKey,\n ResourceLanguage,\n InitOptions,\n} from 'i18next';\nexport {\n createUIKitI18n,\n getI18n,\n UIKIT_I18N_NAMESPACE,\n addUIKitLocale,\n I18nProvider,\n createFormatter,\n useFormatter,\n SUPPORTED_LOCALES,\n LOCALE_LABELS,\n isSupportedLocale,\n} from './i18n';\nexport type {\n SupportedLocale,\n UIKitResources,\n I18nProviderProps,\n Formatter,\n FormatDateInput,\n RelativeTimeOptions,\n CurrencyOptions,\n BytesOptions,\n} from './i18n';\n// React Aria's `useLocale`, re-exported so consumers read the same locale\n// context the UI Kit's `I18nProvider` populates from i18next.\nexport { useLocale } from 'react-aria';\n\nexport * from './utils';\nexport { default as copy } from 'clipboard-copy';\nexport * from '@react-aria/ssr';\nexport * from './components/overlays/Toast';\nexport * from './components/overlays/Notifications';\nexport * from './shared';\nexport * from './icons';\nexport * from './components/form';\nexport * from './tokens';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkQA,MAAakN,aAAa;CACxB/M,MAAMA;CACNI;CACAN;CACD"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.184.0 | Cube Dev Team */
|
|
2
2
|
//#region src/probe/canonicalize.ts
|
|
3
3
|
/**
|
|
4
4
|
* Normalising generated identifiers out of rendered output.
|
|
@@ -32,7 +32,7 @@ function canonicalizeIds(text) {
|
|
|
32
32
|
}
|
|
33
33
|
return placeholder;
|
|
34
34
|
};
|
|
35
|
-
return text.replace(/«[^«»]*»/g, replace).replace(/\breact-aria[\w-]*?\d+\b/g, replace);
|
|
35
|
+
return text.replace(/«[^«»]*»/g, replace).replace(/:[rR][0-9a-v]+(?:H[0-9a-v]+)?:/g, replace).replace(/\breact-aria[\w-]*?\d+\b/g, replace);
|
|
36
36
|
}
|
|
37
37
|
/**
|
|
38
38
|
* Replace tasty's generated class names with positional placeholders.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"canonicalize.js","names":[],"sources":["../../src/probe/canonicalize.ts"],"sourcesContent":["/**\n * Normalising generated identifiers out of rendered output.\n *\n * Moved here from `src/eslint-plugin/probe.tsx` so consumers can reach them:\n * that file is not part of the `./eslint-plugin` entry, so nothing outside this\n * repo could import it. `probe.tsx` re-exports them, so its own callers and the\n * defaults registry are unaffected.\n *\n * Both functions exist for the same reason — comparing two renders byte-for-byte\n * requires dropping values that are arbitrary per render but structurally\n * meaningful in aggregate.\n */\n\n/**\n * Replace generated element IDs with positional placeholders.\n *\n * React's `useId` draws from a global counter, so the same tree rendered twice\n * yields `«r0»` then `«r2»` and a byte comparison would fail for every\n * component that labels an input. Rewriting each distinct ID to `«idN»` in\n * order of first appearance keeps the `id` <-> `aria-labelledby` / `for`\n * relationships meaningful — a structural change still shows up as a\n * difference — while dropping the counter's absolute value.\n */\nexport function canonicalizeIds(text: string): string {\n const seen = new Map<string, string>();\n\n const replace = (match: string) => {\n let placeholder = seen.get(match);\n\n if (!placeholder) {\n placeholder = `«id${seen.size}»`;\n seen.set(match, placeholder);\n }\n\n return placeholder;\n };\n\n return (\n text\n // `[^«»]`, not `[^»]`: excluding the OPENING delimiter too keeps this\n // linear. With `[^»]*` an unterminated run of `«` makes the engine scan\n // to the end of the input from every one of them — quadratic, and\n // reachable now that this is published API called on caller-supplied\n // markup rather than only on our own renders (CodeQL js/polynomial-redos).\n // It is also the tighter reading: an unterminated `«r0` should not\n // swallow the next ID.\n .replace(/«[^«»]*»/g, replace)\n // react-aria mints its own counter-based IDs in several shapes:\n // `react-aria1`, `react-aria-1`, and `react-aria-description-0`.\n .replace(/\\breact-aria[\\w-]*?\\d+\\b/g, replace)\n );\n}\n\n/**\n * Replace tasty's generated class names with positional placeholders.\n *\n * The hash is derived from the *input* style object, not the CSS it produces, so\n * two inputs that normalise to identical CSS still get different class names.\n * `<Space>` sets `gap: true` and `<Space gap=\"1x\">` resolves to the same\n * `gap: var(--gap)` — the emitted rules are byte-identical and only the hash\n * differs.\n *\n * Placeholders are assigned in order of first appearance, so this cannot hide a\n * genuine difference: an extra, missing or reordered class shifts the sequence\n * and still compares unequal. Only the arbitrary hash value is normalised away.\n *\n * The pattern requires a digit so it matches `t1iuxaru` / `tp3unhd` without\n * touching all-letter CSS keywords that happen to start with `t` (`translate`,\n * `transform`).\n */\nexport function canonicalizeClassNames(text: string): string {\n const seen = new Map<string, string>();\n\n return text.replace(\n /\\bt(?=[a-z0-9]{6,8}\\b)(?![a-z]+\\b)[a-z0-9]{6,8}\\b/g,\n (match) => {\n let placeholder = seen.get(match);\n\n if (!placeholder) {\n placeholder = `tcls${seen.size}`;\n seen.set(match, placeholder);\n }\n\n return placeholder;\n },\n );\n}\n\n/** Both normalisations, in the order a probe applies them. */\nexport function canonicalize(text: string): string {\n return canonicalizeClassNames(canonicalizeIds(text));\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAuBA,
|
|
1
|
+
{"version":3,"file":"canonicalize.js","names":["canonicalizeIds","text","seen","Map","replace","match","placeholder","get","size","set","canonicalizeClassNames","canonicalize"],"sources":["../../src/probe/canonicalize.ts"],"sourcesContent":["/**\n * Normalising generated identifiers out of rendered output.\n *\n * Moved here from `src/eslint-plugin/probe.tsx` so consumers can reach them:\n * that file is not part of the `./eslint-plugin` entry, so nothing outside this\n * repo could import it. `probe.tsx` re-exports them, so its own callers and the\n * defaults registry are unaffected.\n *\n * Both functions exist for the same reason — comparing two renders byte-for-byte\n * requires dropping values that are arbitrary per render but structurally\n * meaningful in aggregate.\n */\n\n/**\n * Replace generated element IDs with positional placeholders.\n *\n * React's `useId` draws from a global counter, so the same tree rendered twice\n * yields `«r0»` then `«r2»` and a byte comparison would fail for every\n * component that labels an input. Rewriting each distinct ID to `«idN»` in\n * order of first appearance keeps the `id` <-> `aria-labelledby` / `for`\n * relationships meaningful — a structural change still shows up as a\n * difference — while dropping the counter's absolute value.\n */\nexport function canonicalizeIds(text: string): string {\n const seen = new Map<string, string>();\n\n const replace = (match: string) => {\n let placeholder = seen.get(match);\n\n if (!placeholder) {\n placeholder = `«id${seen.size}»`;\n seen.set(match, placeholder);\n }\n\n return placeholder;\n };\n\n return (\n text\n // `[^«»]`, not `[^»]`: excluding the OPENING delimiter too keeps this\n // linear. With `[^»]*` an unterminated run of `«` makes the engine scan\n // to the end of the input from every one of them — quadratic, and\n // reachable now that this is published API called on caller-supplied\n // markup rather than only on our own renders (CodeQL js/polynomial-redos).\n // It is also the tighter reading: an unterminated `«r0` should not\n // swallow the next ID.\n .replace(/«[^«»]*»/g, replace)\n // React 18 uses colon-delimited client and server IDs, including\n // server hook suffixes such as :R1H2:. Keep the same reference mapping.\n .replace(/:[rR][0-9a-v]+(?:H[0-9a-v]+)?:/g, replace)\n // react-aria mints its own counter-based IDs in several shapes:\n // `react-aria1`, `react-aria-1`, and `react-aria-description-0`.\n .replace(/\\breact-aria[\\w-]*?\\d+\\b/g, replace)\n );\n}\n\n/**\n * Replace tasty's generated class names with positional placeholders.\n *\n * The hash is derived from the *input* style object, not the CSS it produces, so\n * two inputs that normalise to identical CSS still get different class names.\n * `<Space>` sets `gap: true` and `<Space gap=\"1x\">` resolves to the same\n * `gap: var(--gap)` — the emitted rules are byte-identical and only the hash\n * differs.\n *\n * Placeholders are assigned in order of first appearance, so this cannot hide a\n * genuine difference: an extra, missing or reordered class shifts the sequence\n * and still compares unequal. Only the arbitrary hash value is normalised away.\n *\n * The pattern requires a digit so it matches `t1iuxaru` / `tp3unhd` without\n * touching all-letter CSS keywords that happen to start with `t` (`translate`,\n * `transform`).\n */\nexport function canonicalizeClassNames(text: string): string {\n const seen = new Map<string, string>();\n\n return text.replace(\n /\\bt(?=[a-z0-9]{6,8}\\b)(?![a-z]+\\b)[a-z0-9]{6,8}\\b/g,\n (match) => {\n let placeholder = seen.get(match);\n\n if (!placeholder) {\n placeholder = `tcls${seen.size}`;\n seen.set(match, placeholder);\n }\n\n return placeholder;\n },\n );\n}\n\n/** Both normalisations, in the order a probe applies them. */\nexport function canonicalize(text: string): string {\n return canonicalizeClassNames(canonicalizeIds(text));\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAuBA,SAAgBA,gBAAgBC,MAAsB;CACpD,MAAMC,uBAAO,IAAIC,KAAqB;CAEtC,MAAMC,WAAWC,UAAkB;EACjC,IAAIC,cAAcJ,KAAKK,IAAIF,MAAM;AAEjC,MAAI,CAACC,aAAa;AAChBA,iBAAc,MAAMJ,KAAKM,KAAI;AAC7BN,QAAKO,IAAIJ,OAAOC,YAAY;;AAG9B,SAAOA;;AAGT,QACEL,KAQGG,QAAQ,aAAaA,QAAO,CAG5BA,QAAQ,mCAAmCA,QAAO,CAGlDA,QAAQ,6BAA6BA,QAAQ;;;;;;;;;;;;;;;;;;;AAqBpD,SAAgBM,uBAAuBT,MAAsB;CAC3D,MAAMC,uBAAO,IAAIC,KAAqB;AAEtC,QAAOF,KAAKG,QACV,uDACCC,UAAU;EACT,IAAIC,cAAcJ,KAAKK,IAAIF,MAAM;AAEjC,MAAI,CAACC,aAAa;AAChBA,iBAAc,OAAOJ,KAAKM;AAC1BN,QAAKO,IAAIJ,OAAOC,YAAY;;AAG9B,SAAOA;GAEV;;;AAIH,SAAgBK,aAAaV,MAAsB;AACjD,QAAOS,uBAAuBV,gBAAgBC,KAAK,CAAC"}
|
package/dist/probe/css.js
CHANGED
package/dist/probe/css.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"css.js","names":[],"sources":["../../src/probe/css.ts"],"sourcesContent":["/**\n * Extracting the CSS a rendered subtree actually caused.\n *\n * The naive approach — read `getCSSTextForNode` for the node you care about —\n * does not work under a `<Root>`, for two independent reasons:\n *\n * 1. `<Root>` declares the whole design-system token block, so the dump is\n * dominated by rules the subtree did not cause (~119KB of ~135KB in Cube\n * Cloud's console-ui).\n * 2. Scoping the query to an inner wrapper looks like the fix and is not:\n * `<Root>` is the `PortalProvider` target, so Dialog / Menu / Tooltip /\n * Select popups mount as *siblings* of that wrapper. Their CSS — and their\n * markup — silently vanish from the result.\n *\n * So measure the whole region twice and subtract: capture the empty harness,\n * mount the subject, capture again, and diff. Portals are inside the measured\n * region in both passes, so they survive.\n */\nimport { getCSSTextForNode } from '@tenphi/tasty';\n\n/** One captured pass: the raw CSS text plus any rules the engine rejected. */\nexport interface CssCapture {\n text: string;\n warnings: string[];\n}\n\n/**\n * Split a `getCSSTextForNode` dump into individual rules.\n *\n * The dump is one rule per line, including at-rules whose block is inlined onto\n * the same line, so lines are the natural unit.\n */\nexport function splitRules(text: string): string[] {\n return text\n .split('\\n')\n .map((line) => line.trim())\n .filter(Boolean);\n}\n\n/**\n * Rules present in `full` but not in `baseline`, in their original order.\n *\n * Set-based rather than positional: the injector is free to reorder or coalesce\n * chunks between passes, and a positional diff would report the whole tail as\n * new the first time that happens.\n */\nexport function diffRules(baseline: string, full: string): string[] {\n const seen = new Set(splitRules(baseline));\n\n return splitRules(full).filter((rule) => !seen.has(rule));\n}\n\n/**\n * Capture the CSS for a node, collecting the rules the CSS engine refused.\n *\n * jsdom does not merely fail to *resolve* `@container style()` and `@property`\n * rules — it discards them, so a jsdom-derived dump is incomplete rather than\n * unresolved for any component that uses them. tasty reports each rejection\n * through `console.warn`, so collect them rather than suppressing: a caller\n * needs to know when its answer is partial.\n *\n * Matched case-insensitively — tasty emits `[Tasty]` with a capital T, and this\n * repo's own jsdom setup filtered for `[tasty]` for a long time without ever\n * matching.\n */\nexport function captureCss(node: ParentNode): CssCapture {\n const warnings: string[] = [];\n const original = console.warn;\n\n console.warn = (...args: unknown[]) => {\n const first = args[0];\n\n if (\n typeof first === 'string' &&\n first.toLowerCase().includes('browser rejected css rule')\n ) {\n warnings.push(args.slice(1).map(String).join(' '));\n\n return;\n }\n\n original(...args);\n };\n\n try {\n return { text: getCSSTextForNode(node), warnings };\n } finally {\n console.warn = original;\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgCA,
|
|
1
|
+
{"version":3,"file":"css.js","names":["getCSSTextForNode","CssCapture","text","warnings","splitRules","split","map","line","trim","filter","Boolean","diffRules","baseline","full","seen","Set","rule","has","captureCss","node","ParentNode","original","console","warn","args","first","toLowerCase","includes","push","slice","String","join"],"sources":["../../src/probe/css.ts"],"sourcesContent":["/**\n * Extracting the CSS a rendered subtree actually caused.\n *\n * The naive approach — read `getCSSTextForNode` for the node you care about —\n * does not work under a `<Root>`, for two independent reasons:\n *\n * 1. `<Root>` declares the whole design-system token block, so the dump is\n * dominated by rules the subtree did not cause (~119KB of ~135KB in Cube\n * Cloud's console-ui).\n * 2. Scoping the query to an inner wrapper looks like the fix and is not:\n * `<Root>` is the `PortalProvider` target, so Dialog / Menu / Tooltip /\n * Select popups mount as *siblings* of that wrapper. Their CSS — and their\n * markup — silently vanish from the result.\n *\n * So measure the whole region twice and subtract: capture the empty harness,\n * mount the subject, capture again, and diff. Portals are inside the measured\n * region in both passes, so they survive.\n */\nimport { getCSSTextForNode } from '@tenphi/tasty';\n\n/** One captured pass: the raw CSS text plus any rules the engine rejected. */\nexport interface CssCapture {\n text: string;\n warnings: string[];\n}\n\n/**\n * Split a `getCSSTextForNode` dump into individual rules.\n *\n * The dump is one rule per line, including at-rules whose block is inlined onto\n * the same line, so lines are the natural unit.\n */\nexport function splitRules(text: string): string[] {\n return text\n .split('\\n')\n .map((line) => line.trim())\n .filter(Boolean);\n}\n\n/**\n * Rules present in `full` but not in `baseline`, in their original order.\n *\n * Set-based rather than positional: the injector is free to reorder or coalesce\n * chunks between passes, and a positional diff would report the whole tail as\n * new the first time that happens.\n */\nexport function diffRules(baseline: string, full: string): string[] {\n const seen = new Set(splitRules(baseline));\n\n return splitRules(full).filter((rule) => !seen.has(rule));\n}\n\n/**\n * Capture the CSS for a node, collecting the rules the CSS engine refused.\n *\n * jsdom does not merely fail to *resolve* `@container style()` and `@property`\n * rules — it discards them, so a jsdom-derived dump is incomplete rather than\n * unresolved for any component that uses them. tasty reports each rejection\n * through `console.warn`, so collect them rather than suppressing: a caller\n * needs to know when its answer is partial.\n *\n * Matched case-insensitively — tasty emits `[Tasty]` with a capital T, and this\n * repo's own jsdom setup filtered for `[tasty]` for a long time without ever\n * matching.\n */\nexport function captureCss(node: ParentNode): CssCapture {\n const warnings: string[] = [];\n const original = console.warn;\n\n console.warn = (...args: unknown[]) => {\n const first = args[0];\n\n if (\n typeof first === 'string' &&\n first.toLowerCase().includes('browser rejected css rule')\n ) {\n warnings.push(args.slice(1).map(String).join(' '));\n\n return;\n }\n\n original(...args);\n };\n\n try {\n return { text: getCSSTextForNode(node), warnings };\n } finally {\n console.warn = original;\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgCA,SAAgBI,WAAWF,MAAwB;AACjD,QAAOA,KACJG,MAAM,KAAK,CACXC,KAAKC,SAASA,KAAKC,MAAM,CAAC,CAC1BC,OAAOC,QAAQ;;;;;;;;;AAUpB,SAAgBC,UAAUC,UAAkBC,MAAwB;CAClE,MAAMC,OAAO,IAAIC,IAAIX,WAAWQ,SAAS,CAAC;AAE1C,QAAOR,WAAWS,KAAK,CAACJ,QAAQO,SAAS,CAACF,KAAKG,IAAID,KAAK,CAAC;;;;;;;;;;;;;;;AAgB3D,SAAgBE,WAAWC,MAA8B;CACvD,MAAMhB,WAAqB,EAAE;CAC7B,MAAMkB,WAAWC,QAAQC;AAEzBD,SAAQC,QAAQ,GAAGC,SAAoB;EACrC,MAAMC,QAAQD,KAAK;AAEnB,MACE,OAAOC,UAAU,YACjBA,MAAMC,aAAa,CAACC,SAAS,4BAA4B,EACzD;AACAxB,YAASyB,KAAKJ,KAAKK,MAAM,EAAE,CAACvB,IAAIwB,OAAO,CAACC,KAAK,IAAI,CAAC;AAElD;;AAGFV,WAAS,GAAGG,KAAK;;AAGnB,KAAI;AACF,SAAO;GAAEtB,MAAMF,kBAAkBmB,KAAK;GAAEhB;GAAU;WAC1C;AACRmB,UAAQC,OAAOF"}
|
package/dist/probe/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.184.0 | Cube Dev Team */
|
|
2
2
|
import { canonicalize, canonicalizeClassNames, canonicalizeIds } from "./canonicalize.js";
|
|
3
3
|
import { captureCss, diffRules, splitRules } from "./css.js";
|
|
4
4
|
|
package/dist/provider.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.184.0 | Cube Dev Team */
|
|
2
2
|
import { EventBusProvider } from "./utils/react/useEventBus.js";
|
|
3
3
|
import { defaultNavigationAdapter } from "./providers/navigationAdapter.default.js";
|
|
4
|
+
import { c } from "react-compiler-runtime";
|
|
4
5
|
import { createContext, useContext, useMemo } from "react";
|
|
5
6
|
import { jsx } from "react/jsx-runtime";
|
|
6
7
|
|
|
@@ -31,7 +32,7 @@ function Provider(allProps) {
|
|
|
31
32
|
navigation,
|
|
32
33
|
root
|
|
33
34
|
]);
|
|
34
|
-
const
|
|
35
|
+
const newValue_0 = useMemo(() => {
|
|
35
36
|
let newValue = Object.assign({}, parentContext);
|
|
36
37
|
Object.keys(props).forEach((key) => {
|
|
37
38
|
if (props[key] != null) newValue[key] = props[key];
|
|
@@ -39,15 +40,24 @@ function Provider(allProps) {
|
|
|
39
40
|
return newValue;
|
|
40
41
|
}, [parentContext, props]);
|
|
41
42
|
return /* @__PURE__ */ jsx(UIKitContext.Provider, {
|
|
42
|
-
value:
|
|
43
|
+
value: newValue_0,
|
|
43
44
|
children
|
|
44
45
|
});
|
|
45
46
|
}
|
|
46
47
|
function useProviderProps(props) {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
48
|
+
const $ = c(3);
|
|
49
|
+
const contextProps = useContext(UIKitContext);
|
|
50
|
+
let t0;
|
|
51
|
+
if ($[0] !== contextProps || $[1] !== props) {
|
|
52
|
+
t0 = {
|
|
53
|
+
...contextProps,
|
|
54
|
+
...props
|
|
55
|
+
};
|
|
56
|
+
$[0] = contextProps;
|
|
57
|
+
$[1] = props;
|
|
58
|
+
$[2] = t0;
|
|
59
|
+
} else t0 = $[2];
|
|
60
|
+
return t0;
|
|
51
61
|
}
|
|
52
62
|
|
|
53
63
|
//#endregion
|