@cube-dev/ui-kit 0.156.0 → 0.157.1
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 +237 -0
- package/dist/_internal/hooks/use-chained-callback.js +1 -1
- package/dist/_internal/hooks/use-debounced-value.js +1 -1
- package/dist/_internal/hooks/use-deprecation-warning.js +1 -1
- package/dist/_internal/hooks/use-event.js +1 -1
- package/dist/_internal/hooks/use-is-first-render.js +1 -1
- package/dist/_internal/hooks/use-sync-ref.js +1 -1
- package/dist/_internal/hooks/use-timer/timer.js +1 -1
- package/dist/_internal/hooks/use-timer/use-timer.js +1 -1
- package/dist/_internal/hooks/use-warn.js +1 -1
- package/dist/components/Block.js +1 -1
- package/dist/components/CollectionItem.js +1 -1
- package/dist/components/GlobalStyles.js +1 -1
- package/dist/components/GridProvider.js +1 -1
- package/dist/components/HiddenInput.js +1 -1
- package/dist/components/Root.js +1 -1
- package/dist/components/actions/Action/Action.js +1 -1
- package/dist/components/actions/Banner/Banner.js +1 -1
- package/dist/components/actions/Button/Button.js +1 -1
- package/dist/components/actions/ButtonGroup/ButtonGroup.js +1 -1
- package/dist/components/actions/ButtonSplit/ButtonSplit.js +1 -1
- package/dist/components/actions/ButtonSplit/context.js +1 -1
- package/dist/components/actions/CommandMenu/CommandMenu.js +1 -1
- package/dist/components/actions/CommandMenu/styled.js +1 -1
- package/dist/components/actions/ItemAction/ItemAction.js +1 -1
- package/dist/components/actions/ItemActionContext.js +1 -1
- package/dist/components/actions/ItemButton/ItemButton.js +1 -1
- package/dist/components/actions/Link/Link.js +1 -1
- package/dist/components/actions/Menu/Menu.js +1 -1
- package/dist/components/actions/Menu/MenuItem.js +1 -1
- package/dist/components/actions/Menu/MenuSection.js +1 -1
- package/dist/components/actions/Menu/MenuTrigger.js +1 -1
- package/dist/components/actions/Menu/SubMenuTrigger.js +1 -1
- package/dist/components/actions/Menu/SubmenuTriggerContext.js +1 -1
- package/dist/components/actions/Menu/context.js +1 -1
- package/dist/components/actions/Menu/styled.js +1 -1
- package/dist/components/actions/index.js +1 -1
- package/dist/components/actions/use-action.js +1 -1
- package/dist/components/actions/use-anchored-menu.js +1 -1
- package/dist/components/actions/use-context-menu.js +42 -44
- package/dist/components/actions/use-context-menu.js.map +1 -1
- package/dist/components/content/ActiveZone/ActiveZone.js +1 -1
- package/dist/components/content/Alert/Alert.js +1 -1
- package/dist/components/content/Alert/use-alert.js +1 -1
- package/dist/components/content/Avatar/Avatar.js +1 -1
- package/dist/components/content/Badge/Badge.js +1 -1
- package/dist/components/content/Card/Card.js +1 -1
- package/dist/components/content/Content.js +1 -1
- package/dist/components/content/CopyPasteBlock/CopyPasteBlock.js +1 -1
- package/dist/components/content/CopySnippet/CopySnippet.js +1 -1
- package/dist/components/content/Disclosure/Disclosure.js +1 -1
- package/dist/components/content/Divider.js +1 -1
- package/dist/components/content/Footer.js +1 -1
- package/dist/components/content/Header.js +1 -1
- package/dist/components/content/HotKeys/HotKeys.js +1 -1
- package/dist/components/content/InfoBadge/InfoBadge.js +1 -1
- package/dist/components/content/InlineInput/InlineInput.js +1 -1
- package/dist/components/content/Item/Item.js +1 -1
- package/dist/components/content/ItemBadge/ItemBadge.js +1 -1
- package/dist/components/content/ItemCard/ItemCard.js +1 -1
- package/dist/components/content/Layout/GridLayout.js +1 -1
- package/dist/components/content/Layout/Layout.js +1 -1
- package/dist/components/content/Layout/LayoutBlock.js +1 -1
- package/dist/components/content/Layout/LayoutCenter.js +1 -1
- package/dist/components/content/Layout/LayoutContainer.js +1 -1
- package/dist/components/content/Layout/LayoutContent.js +1 -1
- package/dist/components/content/Layout/LayoutContext.js +1 -1
- package/dist/components/content/Layout/LayoutFlex.js +1 -1
- package/dist/components/content/Layout/LayoutFooter.js +1 -1
- package/dist/components/content/Layout/LayoutGrid.js +1 -1
- package/dist/components/content/Layout/LayoutHeader.js +1 -1
- package/dist/components/content/Layout/LayoutPane.js +1 -1
- package/dist/components/content/Layout/LayoutPanel.js +1 -1
- package/dist/components/content/Layout/LayoutPanelHeader.js +1 -1
- package/dist/components/content/Layout/LayoutToolbar.js +1 -1
- package/dist/components/content/Layout/hooks/useTinyScrollbar.js +1 -1
- package/dist/components/content/Layout/index.js +1 -1
- package/dist/components/content/Layout/utils.js +1 -1
- package/dist/components/content/Paragraph.js +1 -1
- package/dist/components/content/Placeholder/Placeholder.js +1 -1
- package/dist/components/content/PrismCode/PrismCode.js +1 -1
- package/dist/components/content/PrismCode/prismSetup.js +1 -1
- package/dist/components/content/PrismDiffCode/PrismDiffCode.js +1 -1
- package/dist/components/content/Result/Result.js +1 -1
- package/dist/components/content/Skeleton/Skeleton.js +1 -1
- package/dist/components/content/Tag/Tag.js +2 -2
- package/dist/components/content/Tag/Tag.js.map +1 -1
- package/dist/components/content/Text.js +1 -1
- package/dist/components/content/TextItem/TextItem.js +1 -1
- package/dist/components/content/Title.js +1 -1
- package/dist/components/content/Tree/Tree.js +1 -1
- package/dist/components/content/Tree/TreeNode.js +1 -1
- package/dist/components/content/Tree/styled.js +1 -1
- package/dist/components/content/Tree/tree-index.js +1 -1
- package/dist/components/content/Tree/use-checkbox-tree.js +1 -1
- package/dist/components/content/Tree/use-load-data.js +1 -1
- package/dist/components/content/highlightText.js +1 -1
- package/dist/components/content/use-auto-tooltip.js +1 -1
- package/dist/components/data/DataTable/DataTable.d.ts +13 -0
- package/dist/components/data/DataTable/DataTable.js +246 -0
- package/dist/components/data/DataTable/DataTable.js.map +1 -0
- package/dist/components/data/DataTable/index.d.ts +3 -0
- package/dist/components/data/DataTable/types.d.ts +145 -0
- package/dist/components/data/ItemTable/ItemTable.d.ts +19 -0
- package/dist/components/data/ItemTable/ItemTable.js +350 -0
- package/dist/components/data/ItemTable/ItemTable.js.map +1 -0
- package/dist/components/data/ItemTable/ItemTableBulkBar.d.ts +23 -0
- package/dist/components/data/ItemTable/ItemTableBulkBar.js +131 -0
- package/dist/components/data/ItemTable/ItemTableBulkBar.js.map +1 -0
- package/dist/components/data/ItemTable/ItemTableDragPreview.js +46 -0
- package/dist/components/data/ItemTable/ItemTableDragPreview.js.map +1 -0
- package/dist/components/data/ItemTable/ItemTableFooter.js +79 -0
- package/dist/components/data/ItemTable/ItemTableFooter.js.map +1 -0
- package/dist/components/data/ItemTable/ItemTableToolbar.d.ts +34 -0
- package/dist/components/data/ItemTable/ItemTableToolbar.js +91 -0
- package/dist/components/data/ItemTable/ItemTableToolbar.js.map +1 -0
- package/dist/components/data/ItemTable/index.d.ts +4 -0
- package/dist/components/data/ItemTable/types.d.ts +327 -0
- package/dist/components/data/TableBase/ColumnResizer.js +70 -0
- package/dist/components/data/TableBase/ColumnResizer.js.map +1 -0
- package/dist/components/data/TableBase/RowCollection.js +99 -0
- package/dist/components/data/TableBase/RowCollection.js.map +1 -0
- package/dist/components/data/TableBase/TableRow.js +89 -0
- package/dist/components/data/TableBase/TableRow.js.map +1 -0
- package/dist/components/data/TableBase/TableView.d.ts +22 -0
- package/dist/components/data/TableBase/TableView.js +921 -0
- package/dist/components/data/TableBase/TableView.js.map +1 -0
- package/dist/components/data/TableBase/index.d.ts +5 -0
- package/dist/components/data/TableBase/row-menu.js +40 -0
- package/dist/components/data/TableBase/row-menu.js.map +1 -0
- package/dist/components/data/TableBase/styled.d.ts +5 -0
- package/dist/components/data/TableBase/styled.js +532 -0
- package/dist/components/data/TableBase/styled.js.map +1 -0
- package/dist/components/data/TableBase/types.d.ts +160 -0
- package/dist/components/data/TableBase/types.js +31 -0
- package/dist/components/data/TableBase/types.js.map +1 -0
- package/dist/components/data/TableBase/use-cell-selection.d.ts +3 -0
- package/dist/components/data/TableBase/use-cell-selection.js +0 -0
- package/dist/components/data/TableBase/use-cell-selection.js.map +1 -0
- package/dist/components/data/TableBase/use-container-width.js +35 -0
- package/dist/components/data/TableBase/use-container-width.js.map +1 -0
- package/dist/components/data/TableBase/use-row-move-animation.js +90 -0
- package/dist/components/data/TableBase/use-row-move-animation.js.map +1 -0
- package/dist/components/data/TableBase/use-scrollability.js +49 -0
- package/dist/components/data/TableBase/use-scrollability.js.map +1 -0
- package/dist/components/data/TableBase/use-table-columns.d.ts +2 -0
- package/dist/components/data/TableBase/use-table-columns.js +166 -0
- package/dist/components/data/TableBase/use-table-columns.js.map +1 -0
- package/dist/components/data/TableBase/use-table-search.js +64 -0
- package/dist/components/data/TableBase/use-table-search.js.map +1 -0
- package/dist/components/data/TableBase/use-table-selection.d.ts +4 -0
- package/dist/components/data/TableBase/use-table-selection.js +233 -0
- package/dist/components/data/TableBase/use-table-selection.js.map +1 -0
- package/dist/components/data/TableBase/use-table-sort.js +91 -0
- package/dist/components/data/TableBase/use-table-sort.js.map +1 -0
- package/dist/components/data/TableBase/use-table-sorts.js +97 -0
- package/dist/components/data/TableBase/use-table-sorts.js.map +1 -0
- package/dist/components/data/TableBase/use-table-storage.d.ts +8 -0
- package/dist/components/data/TableBase/use-table-storage.js +58 -0
- package/dist/components/data/TableBase/use-table-storage.js.map +1 -0
- package/dist/components/data/index.d.ts +10 -0
- package/dist/components/fields/Checkbox/Checkbox.js +1 -1
- package/dist/components/fields/Checkbox/CheckboxGroup.js +1 -1
- package/dist/components/fields/Checkbox/context.js +1 -1
- package/dist/components/fields/ColorInput/ColorInput.d.ts +67 -0
- package/dist/components/fields/ColorInput/ColorInput.js +230 -0
- package/dist/components/fields/ColorInput/ColorInput.js.map +1 -0
- package/dist/components/fields/ColorInput/index.d.ts +2 -0
- package/dist/components/fields/ColorPicker/ColorPicker.d.ts +34 -37
- package/dist/components/fields/ColorPicker/ColorPicker.js +131 -182
- package/dist/components/fields/ColorPicker/ColorPicker.js.map +1 -1
- package/dist/components/fields/ColorPicker/index.d.ts +1 -3
- package/dist/components/fields/ColorSwatchGroup/ColorSwatchGroup.d.ts +50 -0
- package/dist/components/fields/ColorSwatchGroup/ColorSwatchGroup.js +269 -0
- package/dist/components/fields/ColorSwatchGroup/ColorSwatchGroup.js.map +1 -0
- package/dist/components/fields/ColorSwatchGroup/index.d.ts +2 -0
- package/dist/components/fields/ComboBox/ComboBox.js +1 -1
- package/dist/components/fields/CommandTextArea/CommandTextArea.js +1 -1
- package/dist/components/fields/CommandTextArea/caretPosition.js +1 -1
- package/dist/components/fields/CommandTextArea/useCaretAnchor.js +1 -1
- package/dist/components/fields/DatePicker/DateInput.js +1 -1
- package/dist/components/fields/DatePicker/DateInputBase.js +1 -1
- package/dist/components/fields/DatePicker/DatePicker.js +1 -1
- package/dist/components/fields/DatePicker/DatePickerButton.js +1 -1
- package/dist/components/fields/DatePicker/DatePickerElement.js +1 -1
- package/dist/components/fields/DatePicker/DatePickerInput.js +1 -1
- package/dist/components/fields/DatePicker/DatePickerSegment.js +1 -1
- package/dist/components/fields/DatePicker/DateRangePicker.js +1 -1
- package/dist/components/fields/DatePicker/DateRangeSeparatedPicker.js +1 -1
- package/dist/components/fields/DatePicker/MonthPicker.js +1 -1
- package/dist/components/fields/DatePicker/PeriodPicker.js +1 -1
- package/dist/components/fields/DatePicker/QuarterPicker.js +1 -1
- package/dist/components/fields/DatePicker/TimeInput.js +1 -1
- package/dist/components/fields/DatePicker/WeekPicker.js +1 -1
- package/dist/components/fields/DatePicker/YearPicker.js +1 -1
- package/dist/components/fields/DatePicker/parseDate.js +1 -1
- package/dist/components/fields/DatePicker/period.js +1 -1
- package/dist/components/fields/DatePicker/props.js +1 -1
- package/dist/components/fields/DatePicker/utils.js +1 -1
- package/dist/components/fields/FileInput/FileInput.js +1 -1
- package/dist/components/fields/FilterListBox/FilterListBox.js +2 -1
- package/dist/components/fields/FilterListBox/FilterListBox.js.map +1 -1
- package/dist/components/fields/FilterPicker/FilterPicker.js +6 -1
- package/dist/components/fields/FilterPicker/FilterPicker.js.map +1 -1
- package/dist/components/fields/Input/Input.js +2 -2
- package/dist/components/fields/ListBox/DraggableListBox.js +1 -1
- package/dist/components/fields/ListBox/ListBox.d.ts +7 -0
- package/dist/components/fields/ListBox/ListBox.js +4 -3
- package/dist/components/fields/ListBox/ListBox.js.map +1 -1
- package/dist/components/fields/ListBoxPopover/ListBoxPopover.js +1 -1
- package/dist/components/fields/ListBoxPopover/listNavigation.js +1 -1
- package/dist/components/fields/ListBoxPopover/useCompositeFocus.js +1 -1
- package/dist/components/fields/NumberInput/NumberInput.js +1 -1
- package/dist/components/fields/NumberInput/StepButton.js +1 -1
- package/dist/components/fields/PasswordInput/PasswordInput.d.ts +2 -2
- package/dist/components/fields/PasswordInput/PasswordInput.js +12 -2
- package/dist/components/fields/PasswordInput/PasswordInput.js.map +1 -1
- package/dist/components/fields/Picker/Picker.js +6 -1
- package/dist/components/fields/Picker/Picker.js.map +1 -1
- package/dist/components/fields/RadioGroup/Radio.d.ts +2 -2
- package/dist/components/fields/RadioGroup/Radio.js +4 -4
- package/dist/components/fields/RadioGroup/Radio.js.map +1 -1
- package/dist/components/fields/RadioGroup/RadioGroup.js +1 -1
- package/dist/components/fields/RadioGroup/context.js +1 -1
- package/dist/components/fields/SearchComboBox/SearchComboBox.js +1 -1
- package/dist/components/fields/SearchInput/SearchInput.d.ts +2 -2
- package/dist/components/fields/SearchInput/SearchInput.js +17 -4
- package/dist/components/fields/SearchInput/SearchInput.js.map +1 -1
- package/dist/components/fields/Select/Select.js +1 -1
- package/dist/components/fields/Slider/Gradation.js +1 -1
- package/dist/components/fields/Slider/HueSlider.js +1 -1
- package/dist/components/fields/Slider/RangeSlider.js +1 -1
- package/dist/components/fields/Slider/Slider.js +1 -1
- package/dist/components/fields/Slider/SliderBase.js +1 -1
- package/dist/components/fields/Slider/SliderThumb.js +1 -1
- package/dist/components/fields/Slider/SliderTrack.js +1 -1
- package/dist/components/fields/Slider/elements.js +1 -1
- package/dist/components/fields/Slider/index.js +1 -1
- package/dist/components/fields/Switch/Switch.js +1 -1
- package/dist/components/fields/TextArea/TextArea.d.ts +2 -2
- package/dist/components/fields/TextArea/TextArea.js +12 -5
- package/dist/components/fields/TextArea/TextArea.js.map +1 -1
- package/dist/components/fields/TextInput/TextInput.d.ts +2 -2
- package/dist/components/fields/TextInput/TextInput.js +15 -3
- package/dist/components/fields/TextInput/TextInput.js.map +1 -1
- package/dist/components/fields/TextInput/TextInputBase.d.ts +17 -1
- package/dist/components/fields/TextInput/TextInputBase.js +1 -1
- package/dist/components/fields/TextInput/TextInputBase.js.map +1 -1
- package/dist/components/fields/TextInput/index.d.ts +1 -1
- package/dist/components/fields/TextInputMapper/TextInputMapper.js +1 -1
- package/dist/components/fields/{ColorPicker/ColorPickerPanel.js → color/ColorPanel.js} +14 -11
- package/dist/components/fields/color/ColorPanel.js.map +1 -0
- package/dist/components/fields/color/ColorSwatch.d.ts +22 -0
- package/dist/components/fields/color/ColorSwatch.js +58 -0
- package/dist/components/fields/color/ColorSwatch.js.map +1 -0
- package/dist/components/fields/{ColorPicker → color}/channels.d.ts +1 -1
- package/dist/components/fields/{ColorPicker → color}/channels.js +2 -2
- package/dist/components/fields/color/channels.js.map +1 -0
- package/dist/components/fields/color/color.d.ts +21 -0
- package/dist/components/fields/{ColorPicker → color}/color.js +2 -2
- package/dist/components/fields/color/color.js.map +1 -0
- package/dist/components/fields/color/context.js +20 -0
- package/dist/components/fields/color/context.js.map +1 -0
- package/dist/components/fields/color/index.d.ts +4 -0
- package/dist/components/fields/index.d.ts +10 -4
- package/dist/components/form/FieldWrapper/FieldWrapper.js +1 -1
- package/dist/components/form/Form/Field.js +1 -1
- package/dist/components/form/Form/Form.js +1 -1
- package/dist/components/form/Form/ResetButton/ResetButton.js +1 -1
- package/dist/components/form/Form/SubmitButton/SubmitButton.js +1 -1
- package/dist/components/form/Form/SubmitError.js +1 -1
- package/dist/components/form/Form/index.js +1 -1
- package/dist/components/form/Form/use-field/use-field-props.js +1 -1
- package/dist/components/form/Form/use-field/use-field.js +1 -1
- package/dist/components/form/Form/use-form.js +1 -1
- package/dist/components/form/Form/validation.js +1 -1
- package/dist/components/form/Label.js +1 -1
- package/dist/components/form/validation/ValidationIndicator.js +1 -1
- package/dist/components/form/validation/resolve-validation-props.js +1 -1
- package/dist/components/form/validation/use-validation-props.js +1 -1
- package/dist/components/form/wrapper.js +1 -1
- package/dist/components/helpers/DisplayTransition/DisplayTransition.js +1 -1
- package/dist/components/helpers/IconSwitch/IconSwitch.d.ts +26 -0
- package/dist/components/helpers/IconSwitch/IconSwitch.js +1 -1
- package/dist/components/layout/Board/Board.d.ts +8 -0
- package/dist/components/layout/Board/Board.js +6 -5
- package/dist/components/layout/Board/Board.js.map +1 -1
- package/dist/components/layout/Board/BoardProvider.js +1 -1
- package/dist/components/layout/Board/BoardResponsive.js +1 -1
- package/dist/components/layout/Board/Widget.js +1 -1
- package/dist/components/layout/Board/WidgetHost.js +1 -1
- package/dist/components/layout/Board/board-context.js +1 -1
- package/dist/components/layout/Board/board-store.js +1 -1
- package/dist/components/layout/Board/grid-core/calculate.js +1 -1
- package/dist/components/layout/Board/grid-core/collision.js +1 -1
- package/dist/components/layout/Board/grid-core/compactors.js +2 -2
- package/dist/components/layout/Board/grid-core/constraints.js +1 -1
- package/dist/components/layout/Board/grid-core/group-move.js +84 -4
- 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/sort.js +1 -1
- package/dist/components/layout/Board/index.js +1 -1
- package/dist/components/layout/Board/responsive-utils.js +1 -1
- package/dist/components/layout/Board/use-board-layout.js +1 -1
- package/dist/components/layout/Board/use-board-registry.js +1 -1
- package/dist/components/layout/Board/use-board-select-modifier-key.js +1 -1
- package/dist/components/layout/Board/use-board-selection.js +1 -1
- package/dist/components/layout/Flex.js +1 -1
- package/dist/components/layout/Flow.js +1 -1
- package/dist/components/layout/Grid.js +1 -1
- package/dist/components/layout/Panel.js +1 -1
- package/dist/components/layout/Prefix.js +1 -1
- package/dist/components/layout/ResizablePanel.js +1 -1
- package/dist/components/layout/Space.js +1 -1
- package/dist/components/layout/Suffix.js +1 -1
- package/dist/components/navigation/Pagination/Pagination.d.ts +9 -0
- package/dist/components/navigation/Pagination/Pagination.js +258 -0
- package/dist/components/navigation/Pagination/Pagination.js.map +1 -0
- package/dist/components/navigation/Pagination/index.d.ts +4 -0
- package/dist/components/navigation/Pagination/types.d.ts +81 -0
- package/dist/components/navigation/Pagination/use-pagination.d.ts +52 -0
- package/dist/components/navigation/Pagination/use-pagination.js +83 -0
- package/dist/components/navigation/Pagination/use-pagination.js.map +1 -0
- package/dist/components/navigation/Tabs/DraggableTabList.js +1 -1
- package/dist/components/navigation/Tabs/TabButton.js +1 -1
- package/dist/components/navigation/Tabs/TabDropIndicator.js +1 -1
- package/dist/components/navigation/Tabs/TabPanel.js +1 -1
- package/dist/components/navigation/Tabs/TabPicker.js +1 -1
- package/dist/components/navigation/Tabs/Tabs.js +1 -1
- package/dist/components/navigation/Tabs/TabsAction.js +1 -1
- package/dist/components/navigation/Tabs/TabsContext.js +1 -1
- package/dist/components/navigation/Tabs/popover-placement.js +1 -1
- package/dist/components/navigation/Tabs/styled.js +1 -1
- package/dist/components/navigation/Tabs/types.js +1 -1
- package/dist/components/navigation/Tabs/use-tab-editing.js +1 -1
- package/dist/components/navigation/Tabs/use-tab-indicator.js +1 -1
- package/dist/components/navigation/index.d.ts +5 -1
- package/dist/components/organisms/StatsCard/StatsCard.js +1 -1
- package/dist/components/other/Calendar/Calendar.js +1 -1
- package/dist/components/other/Calendar/CalendarCell.js +1 -1
- package/dist/components/other/Calendar/CalendarGrid.js +1 -1
- package/dist/components/other/Calendar/PeriodCalendar.js +1 -1
- package/dist/components/other/Calendar/RangeCalendar.js +1 -1
- package/dist/components/other/CubeLogo/CubeLogo.js +1 -1
- package/dist/components/overlays/AlertDialog/AlertDialog.js +1 -1
- package/dist/components/overlays/AlertDialog/AlertDialogApiProvider.js +1 -1
- package/dist/components/overlays/AlertDialog/AlertDialogZone.js +1 -1
- package/dist/components/overlays/Dialog/Dialog.js +1 -1
- package/dist/components/overlays/Dialog/DialogContainer.js +1 -1
- package/dist/components/overlays/Dialog/DialogForm.js +1 -1
- package/dist/components/overlays/Dialog/DialogTrigger.js +1 -1
- package/dist/components/overlays/Dialog/context.js +1 -1
- package/dist/components/overlays/Dialog/use-dialog-container.js +1 -1
- package/dist/components/overlays/Modal/Modal.js +1 -1
- package/dist/components/overlays/Modal/OpenTransitionContext.js +1 -1
- package/dist/components/overlays/Modal/Overlay.js +1 -1
- package/dist/components/overlays/Modal/Popover.js +1 -1
- package/dist/components/overlays/Modal/Tray.js +1 -1
- package/dist/components/overlays/Modal/Underlay.js +1 -1
- package/dist/components/overlays/Notifications/Notification.js +1 -1
- package/dist/components/overlays/Notifications/NotificationAction.js +1 -1
- package/dist/components/overlays/Notifications/NotificationCard.js +1 -1
- package/dist/components/overlays/Notifications/NotificationContext.js +1 -1
- package/dist/components/overlays/Notifications/NotificationItem.js +1 -1
- package/dist/components/overlays/Notifications/OverlayContainer.js +1 -1
- package/dist/components/overlays/Notifications/OverlayProvider.js +1 -1
- package/dist/components/overlays/Notifications/PersistentNotificationsList.js +1 -1
- package/dist/components/overlays/Notifications/dismissed-storage.js +1 -1
- package/dist/components/overlays/Notifications/format-relative-time.js +1 -1
- package/dist/components/overlays/Notifications/index.js +1 -1
- package/dist/components/overlays/Notifications/use-notification-state.js +1 -1
- package/dist/components/overlays/Notifications/use-notifications.js +1 -1
- package/dist/components/overlays/Notifications/use-overlay-timers.js +1 -1
- package/dist/components/overlays/Notifications/use-persistent-notifications.js +1 -1
- package/dist/components/overlays/Notifications/use-persistent-state.js +1 -1
- package/dist/components/overlays/Notifications/use-toast-state.js +1 -1
- package/dist/components/overlays/Toast/ToastItem.js +1 -1
- package/dist/components/overlays/Toast/index.js +1 -1
- package/dist/components/overlays/Toast/useProgressToast.js +1 -1
- package/dist/components/overlays/Toast/useToast.js +1 -1
- package/dist/components/overlays/Tooltip/Tooltip.js +1 -1
- package/dist/components/overlays/Tooltip/TooltipProvider.js +1 -1
- package/dist/components/overlays/Tooltip/TooltipTrigger.js +1 -1
- package/dist/components/overlays/Tooltip/context.js +1 -1
- package/dist/components/portal/Portal.js +1 -1
- package/dist/components/portal/PortalProvider.js +1 -1
- package/dist/components/portal/usePortal.js +1 -1
- package/dist/components/shared/DraggableCollection.js +24 -8
- package/dist/components/shared/DraggableCollection.js.map +1 -1
- package/dist/components/shared/InvalidIcon.js +1 -1
- package/dist/components/shared/ValidIcon.js +1 -1
- package/dist/components/status/LoadingAnimation/LoadingAnimation.js +1 -1
- package/dist/components/status/Spin/Cube.js +1 -1
- package/dist/components/status/Spin/InternalSpinner.js +1 -1
- package/dist/components/status/Spin/Spin.js +1 -1
- package/dist/components/status/Spin/SpinsContainer.js +1 -1
- package/dist/data/item-themes.js +1 -1
- package/dist/data/themes.js +1 -1
- package/dist/eslint-plugin/defaults.generated.js +223 -5
- package/dist/eslint-plugin/defaults.generated.js.map +1 -1
- package/dist/eslint-plugin/index.js +1 -1
- package/dist/eslint-plugin/rules/no-redundant-default-prop.js +1 -1
- package/dist/i18n/I18nProvider.js +1 -1
- package/dist/i18n/createFormatter.js +1 -1
- package/dist/i18n/index.js +1 -1
- package/dist/i18n/instance.js +1 -1
- package/dist/i18n/locales/de-DE/uikit.js +36 -1
- package/dist/i18n/locales/en-US/uikit.js +36 -1
- package/dist/i18n/locales/en-US/uikit.json.d.ts +41 -1
- package/dist/i18n/locales/es-ES/uikit.js +36 -1
- package/dist/i18n/locales/es-MX/uikit.js +36 -1
- package/dist/i18n/locales/fr-FR/uikit.js +36 -1
- package/dist/i18n/locales/it-IT/uikit.js +36 -1
- package/dist/i18n/locales/ja-JP/uikit.js +36 -1
- package/dist/i18n/locales/nb-NO/uikit.js +36 -1
- package/dist/i18n/locales/pt-BR/uikit.js +36 -1
- package/dist/i18n/locales/pt-PT/uikit.js +36 -1
- package/dist/i18n/locales/sv-SE/uikit.js +36 -1
- package/dist/i18n/locales/vi-VN/uikit.js +36 -1
- package/dist/i18n/locales.js +1 -1
- package/dist/i18n/useFormatter.js +1 -1
- package/dist/i18n/useI18n.js +1 -1
- package/dist/icons/AdjustmentsHorizontalIcon.js +1 -1
- package/dist/icons/AdjustmentsIcon.js +1 -1
- package/dist/icons/AiIcon.js +1 -1
- package/dist/icons/AreaChartIcon.js +1 -1
- package/dist/icons/BackwardIcon.js +1 -1
- package/dist/icons/BarChartIcon.js +1 -1
- package/dist/icons/BellFilledIcon.js +1 -1
- package/dist/icons/BellIcon.js +1 -1
- package/dist/icons/BooleanIcon.js +1 -1
- package/dist/icons/CalendarEditIcon.js +1 -1
- package/dist/icons/CalendarIcon.js +1 -1
- package/dist/icons/CaretDownIcon.js +1 -1
- package/dist/icons/CaretUpIcon.js +1 -1
- package/dist/icons/ChartAreaStackedIcon.js +1 -1
- package/dist/icons/ChartAreaStackedPercentageIcon.js +1 -1
- package/dist/icons/ChartBarGroupedHorizontalIcon.js +1 -1
- package/dist/icons/ChartBarGroupedIcon.js +1 -1
- package/dist/icons/ChartBarHorizontalIcon.js +1 -1
- package/dist/icons/ChartBarLineIcon.js +1 -1
- package/dist/icons/ChartBarStackedHorizontalIcon.js +1 -1
- package/dist/icons/ChartBarStackedIcon.js +1 -1
- package/dist/icons/ChartBarStackedPercentageHorizontalIcon.js +1 -1
- package/dist/icons/ChartBarStackedPercentageIcon.js +1 -1
- package/dist/icons/ChartBoxPlot2Icon.js +1 -1
- package/dist/icons/ChartBoxPlotIcon.js +1 -1
- package/dist/icons/ChartBubbleIcon.js +1 -1
- package/dist/icons/ChartDonut2Icon.js +1 -1
- package/dist/icons/ChartFunnelIcon.js +1 -1
- package/dist/icons/ChartHeatmapIcon.js +1 -1
- package/dist/icons/ChartKPIIcon.js +1 -1
- package/dist/icons/ChartPie2Icon.js +1 -1
- package/dist/icons/ChartScatterIcon.js +1 -1
- package/dist/icons/CheckCircleFilledIcon.js +1 -1
- package/dist/icons/CheckCircleIcon.js +1 -1
- package/dist/icons/CheckIcon.js +1 -1
- package/dist/icons/CircleFilledIcon.js +1 -1
- package/dist/icons/ClearIcon.js +1 -1
- package/dist/icons/CloseCircleFilledIcon.js +1 -1
- package/dist/icons/CloseCircleIcon.js +1 -1
- package/dist/icons/CloseIcon.js +1 -1
- package/dist/icons/CodeIcon.js +1 -1
- package/dist/icons/ColumnTotalIcon.js +1 -1
- package/dist/icons/CopyIcon.js +1 -1
- package/dist/icons/CountIcon.js +1 -1
- package/dist/icons/CubeIcon.js +1 -1
- package/dist/icons/CubePauseIcon.js +1 -1
- package/dist/icons/CubePlayIcon.js +1 -1
- package/dist/icons/CurrencyDollarIcon.js +1 -1
- package/dist/icons/DangerIcon.js +1 -1
- package/dist/icons/DashboardIcon.js +1 -1
- package/dist/icons/DatabaseIcon.js +1 -1
- package/dist/icons/DecimalDecreaseIcon.js +1 -1
- package/dist/icons/DecimalIncreaseIcon.js +1 -1
- package/dist/icons/DirectionIcon.js +1 -1
- package/dist/icons/DonutIcon.js +1 -1
- package/dist/icons/DownIcon.js +1 -1
- package/dist/icons/EditIcon.js +1 -1
- package/dist/icons/ExclamationCircleFilledIcon.js +1 -1
- package/dist/icons/ExclamationCircleIcon.js +1 -1
- package/dist/icons/ExclamationIcon.js +1 -1
- package/dist/icons/EyeIcon.js +1 -1
- package/dist/icons/EyeInvisibleIcon.js +1 -1
- package/dist/icons/FilterIcon.js +1 -1
- package/dist/icons/FolderFilledIcon.js +1 -1
- package/dist/icons/FolderIcon.js +1 -1
- package/dist/icons/FolderOpenFilledIcon.js +1 -1
- package/dist/icons/FolderOpenIcon.js +1 -1
- package/dist/icons/ForwardIcon.js +1 -1
- package/dist/icons/GripVerticalIcon.js +1 -1
- package/dist/icons/HierarchyIcon.js +1 -1
- package/dist/icons/HierarchyOpenIcon.js +1 -1
- package/dist/icons/Icon.js +1 -1
- package/dist/icons/InfoCircleIcon.js +1 -1
- package/dist/icons/InfoIcon.js +1 -1
- package/dist/icons/KeyIcon.js +1 -1
- package/dist/icons/LeftIcon.js +1 -1
- package/dist/icons/LineChartIcon.js +1 -1
- package/dist/icons/LoadingIcon.js +1 -1
- package/dist/icons/LockFilledIcon.js +1 -1
- package/dist/icons/LockIcon.js +1 -1
- package/dist/icons/MoreIcon.js +1 -1
- package/dist/icons/NotAllowedIcon.js +1 -1
- package/dist/icons/Number123Icon.js +1 -1
- package/dist/icons/NumberIcon.js +1 -1
- package/dist/icons/PauseCircleFilledIcon.js +1 -1
- package/dist/icons/PauseCircleIcon.js +1 -1
- package/dist/icons/PauseIcon.js +1 -1
- package/dist/icons/PercentageIcon.js +1 -1
- package/dist/icons/PieChartIcon.js +1 -1
- package/dist/icons/PipetteIcon.js +1 -1
- package/dist/icons/PlayCircleIcon.js +1 -1
- package/dist/icons/PlayIcon.js +1 -1
- package/dist/icons/PlusIcon.js +1 -1
- package/dist/icons/ProgressBarIcon.js +1 -1
- package/dist/icons/ReloadIcon.js +1 -1
- package/dist/icons/ReportIcon.js +1 -1
- package/dist/icons/ReturnIcon.js +1 -1
- package/dist/icons/RightIcon.js +1 -1
- package/dist/icons/RowTotalsIcon.js +1 -1
- package/dist/icons/SchemeIcon.js +1 -1
- package/dist/icons/SearchIcon.js +1 -1
- package/dist/icons/SemanticQueryIcon.js +1 -1
- package/dist/icons/SettingsIcon.js +1 -1
- package/dist/icons/ShieldFilledIcon.js +1 -1
- package/dist/icons/ShieldIcon.js +1 -1
- package/dist/icons/SlashIcon.js +1 -1
- package/dist/icons/SparklesIcon.js +1 -1
- package/dist/icons/SqlIcon.js +1 -1
- package/dist/icons/StatsIcon.js +1 -1
- package/dist/icons/StopIcon.js +1 -1
- package/dist/icons/StringIcon.js +1 -1
- package/dist/icons/SubtotalsIcon.js +1 -1
- package/dist/icons/SwitchIcon.js +1 -1
- package/dist/icons/TableIcon.js +1 -1
- package/dist/icons/ThumbsDownIcon.js +1 -1
- package/dist/icons/ThumbsUpIcon.js +1 -1
- package/dist/icons/ThunderboltCrossedIcon.js +1 -1
- package/dist/icons/ThunderboltFilledIcon.js +1 -1
- package/dist/icons/ThunderboltIcon.js +1 -1
- package/dist/icons/TimeIcon.js +1 -1
- package/dist/icons/TrashIcon.js +1 -1
- package/dist/icons/UnlockIcon.js +1 -1
- package/dist/icons/UpIcon.js +1 -1
- package/dist/icons/UserGroupIcon.js +1 -1
- package/dist/icons/UserIcon.js +1 -1
- package/dist/icons/UserLockIcon.js +1 -1
- package/dist/icons/ViewIcon.js +1 -1
- package/dist/icons/WarningFilledIcon.js +1 -1
- package/dist/icons/WarningIcon.js +1 -1
- package/dist/icons/wrap-icon.js +1 -1
- package/dist/index.d.ts +28 -14
- package/dist/index.js +15 -7
- package/dist/index.js.map +1 -1
- package/dist/provider.js +1 -1
- package/dist/providers/TrackingProvider.js +1 -1
- package/dist/providers/navigationAdapter.default.js +1 -1
- package/dist/tokens/base.js +1 -1
- package/dist/tokens/colors.js +1 -1
- package/dist/tokens/index.js +1 -1
- package/dist/tokens/layout.js +1 -1
- package/dist/tokens/lazy-styles.js +1 -1
- package/dist/tokens/palette-config.js +1 -1
- package/dist/tokens/palette.js +1 -1
- package/dist/tokens/shadows.js +1 -1
- package/dist/tokens/sizes.js +1 -1
- package/dist/tokens/spacing.js +1 -1
- package/dist/tokens/typography.d.ts +1 -1
- package/dist/tokens/typography.js +11 -2
- package/dist/tokens/typography.js.map +1 -1
- package/dist/utils/ResizeSensor.js +1 -1
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/is-dev-env.js +1 -1
- package/dist/utils/modules.js +1 -1
- package/dist/utils/promise.js +1 -1
- package/dist/utils/raf.js +1 -1
- package/dist/utils/random.js +1 -1
- package/dist/utils/range.js +1 -1
- package/dist/utils/react/RenderCache.js +1 -1
- package/dist/utils/react/Slots.js +1 -1
- package/dist/utils/react/chain.js +1 -1
- package/dist/utils/react/forwardRefWithGenerics.js +1 -1
- package/dist/utils/react/index.d.ts +1 -0
- package/dist/utils/react/index.js +2 -1
- package/dist/utils/react/interactions.js +1 -1
- package/dist/utils/react/isTextOnly.js +1 -1
- package/dist/utils/react/mapProps.js +1 -1
- package/dist/utils/react/mergeProps.js +1 -1
- package/dist/utils/react/nullableValue.js +1 -1
- package/dist/utils/react/resolveIcon.js +1 -1
- package/dist/utils/react/sharedStore.js +1 -1
- package/dist/utils/react/useBufferedValue.d.ts +56 -0
- package/dist/utils/react/useBufferedValue.js +86 -0
- package/dist/utils/react/useBufferedValue.js.map +1 -0
- package/dist/utils/react/useCombinedRefs.js +1 -1
- package/dist/utils/react/useControlledFocusVisible.js +1 -1
- package/dist/utils/react/useEventBus.js +1 -1
- package/dist/utils/react/useId.js +1 -1
- package/dist/utils/react/useIsDarwin.js +1 -1
- package/dist/utils/react/useKeySymbols.js +1 -1
- package/dist/utils/react/useLayoutEffect.js +1 -1
- package/dist/utils/react/useLocalStorage.js +1 -1
- package/dist/utils/react/useMergeStyles.js +1 -1
- package/dist/utils/react/usePopoverSync.js +1 -1
- package/dist/utils/react/useQaProps.js +1 -1
- package/dist/utils/react/useViewportSize.js +1 -1
- package/dist/utils/react/wrapNodeIfPlain.js +1 -1
- package/dist/utils/selection.js +1 -1
- package/dist/utils/styles.js +1 -1
- package/dist/utils/tree.js +1 -1
- package/dist/utils/warnings.js +1 -1
- package/dist/version.js +2 -2
- package/docs/components/actions/ButtonGroup.md +1 -1
- package/docs/components/data/DataTable.md +298 -0
- package/docs/components/data/ItemTable.md +984 -0
- package/docs/components/fields/ColorInput.md +284 -0
- package/docs/components/fields/ColorPicker.md +85 -144
- package/docs/components/fields/ColorSwatchGroup.md +206 -0
- package/docs/components/fields/FilterPicker.md +1 -1
- package/docs/components/fields/ListBox.md +4 -0
- package/docs/components/fields/PasswordInput.md +1 -0
- package/docs/components/fields/Picker.md +1 -1
- package/docs/components/fields/SearchInput.md +1 -0
- package/docs/components/fields/TextArea.md +1 -0
- package/docs/components/fields/TextInput.md +1 -0
- package/docs/components/layout/Board.md +2 -1
- package/docs/components/navigation/Pagination.md +245 -0
- package/package.json +8 -3
- package/dist/components/fields/ColorPicker/ColorPickerPanel.js.map +0 -1
- package/dist/components/fields/ColorPicker/channels.js.map +0 -1
- package/dist/components/fields/ColorPicker/color.d.ts +0 -15
- package/dist/components/fields/ColorPicker/color.js.map +0 -1
- package/dist/components/organisms/FileTabs/FileTabs.d.ts +0 -54
- package/dist/components/organisms/FileTabs/FileTabs.js +0 -282
- package/dist/components/organisms/FileTabs/FileTabs.js.map +0 -1
- package/docs/components/organisms/FileTabs.md +0 -51
package/dist/icons/UserIcon.js
CHANGED
package/dist/icons/ViewIcon.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.157.1 | 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,4 +1,4 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.157.1 | 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";
|
package/dist/icons/wrap-icon.js
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -28,6 +28,7 @@ import { RenderCache, RenderCacheProps } from "./utils/react/RenderCache.js";
|
|
|
28
28
|
import { useLocalStorage } from "./utils/react/useLocalStorage.js";
|
|
29
29
|
import { DynamicIcon, IconRenderFn, ResolvedIcon, resolveIcon } from "./utils/react/resolveIcon.js";
|
|
30
30
|
import { useMergeStyles } from "./utils/react/useMergeStyles.js";
|
|
31
|
+
import { UseBufferedValueOptions, UseBufferedValueResult, useBufferedValue } from "./utils/react/useBufferedValue.js";
|
|
31
32
|
import { modAttrs } from "./utils/react/index.js";
|
|
32
33
|
import { NavigateArg, NavigateLike, NavigateOptions, NavigationAdapter, Path, RelativeRoutingType, To } from "./providers/navigation.types.js";
|
|
33
34
|
import { CubeUseActionProps, openLink, parseTo, performClickHandler, useAction } from "./components/actions/use-action.js";
|
|
@@ -87,6 +88,7 @@ import { Board } from "./components/layout/Board/index.js";
|
|
|
87
88
|
import { DEFAULT_PALETTE_CONFIG, PaletteCodeSeed, PaletteConfig, PaletteThemeName, PaletteThemeSeed, ResolvedPaletteConfig, getPaletteConfig, getPaletteConfigInput, invalidatePaletteTokens, resetPaletteConfig, resolvePaletteConfig, setPaletteConfig, subscribePaletteConfig, usePaletteConfig, usePaletteVersion } from "./tokens/palette-config.js";
|
|
88
89
|
import { CubeRootProps, Root } from "./components/Root.js";
|
|
89
90
|
import { DisplayTransition, DisplayTransitionProps } from "./components/helpers/DisplayTransition/DisplayTransition.js";
|
|
91
|
+
import { CubeIconSwitchProps, IconSwitch } from "./components/helpers/IconSwitch/IconSwitch.js";
|
|
90
92
|
import { defaultNavigationAdapter } from "./providers/navigationAdapter.default.js";
|
|
91
93
|
import { CubePrismDiffCodeProps, PrismDiffCode } from "./components/content/PrismDiffCode/PrismDiffCode.js";
|
|
92
94
|
import { CubePrefixProps, Prefix } from "./components/layout/Prefix.js";
|
|
@@ -126,7 +128,7 @@ import { CubeBadgeProps, _Badge } from "./components/content/Badge/Badge.js";
|
|
|
126
128
|
import { CubeTagProps, _Tag } from "./components/content/Tag/Tag.js";
|
|
127
129
|
import { CubeHotKeysProps, _HotKeys } from "./components/content/HotKeys/HotKeys.js";
|
|
128
130
|
import "./components/content/HotKeys/index.js";
|
|
129
|
-
import { AriaTextFieldProps, CubeTextInputBaseProps, DEFAULT_INPUT_STYLES, INPUT_WRAPPER_STYLES, TextInputBase } from "./components/fields/TextInput/TextInputBase.js";
|
|
131
|
+
import { AriaTextFieldProps, CubeBufferedValueProps, CubeTextInputBaseProps, DEFAULT_INPUT_STYLES, INPUT_WRAPPER_STYLES, TextInputBase } from "./components/fields/TextInput/TextInputBase.js";
|
|
130
132
|
import { CubeTextInputProps, TextInput, useTextField } from "./components/fields/TextInput/TextInput.js";
|
|
131
133
|
import { CubeSearchInputProps, SearchFieldProps, SearchInput, useSearchField, useSearchFieldState } from "./components/fields/SearchInput/SearchInput.js";
|
|
132
134
|
import { CubeListBoxProps, ListBox } from "./components/fields/ListBox/ListBox.js";
|
|
@@ -163,8 +165,25 @@ import "./components/overlays/Dialog/index.js";
|
|
|
163
165
|
import { CubeTabListProps, CubeTabPanelProps, CubeTabProps, CubeTabsProps, TabContextMenu, TabSize, TabType, TabsActionPosition } from "./components/navigation/Tabs/types.js";
|
|
164
166
|
import { CubeTabsActionProps, TabsAction } from "./components/navigation/Tabs/TabsAction.js";
|
|
165
167
|
import { Tab, Tabs } from "./components/navigation/Tabs/Tabs.js";
|
|
168
|
+
import { CubePaginationItem, CubePaginationProps, CubePaginationType, CubeTablePageInfo } from "./components/navigation/Pagination/types.js";
|
|
169
|
+
import { _Pagination } from "./components/navigation/Pagination/Pagination.js";
|
|
170
|
+
import { PaginationRangeOptions, UsePaginationOptions, UsePaginationResult, clampPage, getPageInfo, getPaginationRange, usePagination } from "./components/navigation/Pagination/use-pagination.js";
|
|
166
171
|
import "./components/navigation/index.js";
|
|
167
|
-
import {
|
|
172
|
+
import { PALETTE_TOKENS, RenderPaletteOptions, getCodeTheme, getPalette, getPaletteTokens, renderPaletteTokens } from "./tokens/palette.js";
|
|
173
|
+
import { COLOR_TOKENS, getColorTokens, renderColorTokens } from "./tokens/colors.js";
|
|
174
|
+
import { SPACE_TOKENS } from "./tokens/spacing.js";
|
|
175
|
+
import { SHADOW_TOKENS } from "./tokens/shadows.js";
|
|
176
|
+
import { LAYOUT_TOKENS } from "./tokens/layout.js";
|
|
177
|
+
import { BASE_TOKENS } from "./tokens/base.js";
|
|
178
|
+
import { TYPOGRAPHY_PRESETS } from "./tokens/typography.js";
|
|
179
|
+
import { TOKENS, getTokens } from "./tokens/index.js";
|
|
180
|
+
import { CubeTableAlign, CubeTableCellContext, CubeTableColumn, CubeTableColumnHeader, CubeTableHeaderContext, CubeTableRowContext, CubeTableRowSection, CubeTableSort, CubeTableSortDirection } from "./components/data/TableBase/types.js";
|
|
181
|
+
import { CubeDataTableColumn, CubeDataTableProps } from "./components/data/DataTable/types.js";
|
|
182
|
+
import { _DataTable } from "./components/data/DataTable/DataTable.js";
|
|
183
|
+
import { CubeTableRowRenderProps } from "./components/data/TableBase/TableView.js";
|
|
184
|
+
import { CubeItemTableColumn, CubeItemTableProps } from "./components/data/ItemTable/types.js";
|
|
185
|
+
import { _ItemTable } from "./components/data/ItemTable/ItemTable.js";
|
|
186
|
+
import "./components/data/index.js";
|
|
168
187
|
import { CubeStatsCard, StatsCard } from "./components/organisms/StatsCard/StatsCard.js";
|
|
169
188
|
import { CubeAlertDialogProps, _AlertDialog } from "./components/overlays/AlertDialog/AlertDialog.js";
|
|
170
189
|
import { useAlertDialogAPI } from "./components/overlays/AlertDialog/AlertDialogApiProvider.js";
|
|
@@ -181,9 +200,12 @@ import { Input } from "./components/fields/Input/Input.js";
|
|
|
181
200
|
import { ActiveToken, CommandTextAreaFilterFn, CommandTrigger, CubeCommandTextAreaProps, _CommandTextArea } from "./components/fields/CommandTextArea/CommandTextArea.js";
|
|
182
201
|
import { CubeCheckboxGroupProps, _CheckboxGroup } from "./components/fields/Checkbox/CheckboxGroup.js";
|
|
183
202
|
import { AriaCheckboxProps, CubeCheckboxProps, __Checkbox, useCheckbox } from "./components/fields/Checkbox/Checkbox.js";
|
|
184
|
-
import { COLOR_FORMATS, ColorFormat } from "./components/fields/
|
|
185
|
-
import {
|
|
186
|
-
import {
|
|
203
|
+
import { COLOR_FORMATS, ColorFormat } from "./components/fields/color/color.js";
|
|
204
|
+
import { ColorSwatch, CubeColorSwatchProps } from "./components/fields/color/ColorSwatch.js";
|
|
205
|
+
import { COLOR_SPACES, ColorSpace } from "./components/fields/color/channels.js";
|
|
206
|
+
import { ColorInput, ColorInputFormatMode, CubeColorInputProps } from "./components/fields/ColorInput/ColorInput.js";
|
|
207
|
+
import { ColorSwatchGroup, CubeColorSwatchGroupProps, CubeColorSwatchItem } from "./components/fields/ColorSwatchGroup/ColorSwatchGroup.js";
|
|
208
|
+
import { ColorPicker, CubeColorPickerProps } from "./components/fields/ColorPicker/ColorPicker.js";
|
|
187
209
|
import { DateFieldBase, Granularity } from "./components/fields/DatePicker/types.js";
|
|
188
210
|
import { CubeTimeInputProps, _TimeInput } from "./components/fields/DatePicker/TimeInput.js";
|
|
189
211
|
import { CubeDateInputProps, _DateInput } from "./components/fields/DatePicker/DateInput.js";
|
|
@@ -375,14 +397,6 @@ import { WarningFilledIcon } from "./icons/WarningFilledIcon.js";
|
|
|
375
397
|
import { WarningIcon } from "./icons/WarningIcon.js";
|
|
376
398
|
import { wrapIcon } from "./icons/wrap-icon.js";
|
|
377
399
|
import "./icons/index.js";
|
|
378
|
-
import { PALETTE_TOKENS, RenderPaletteOptions, getCodeTheme, getPalette, getPaletteTokens, renderPaletteTokens } from "./tokens/palette.js";
|
|
379
|
-
import { COLOR_TOKENS, getColorTokens, renderColorTokens } from "./tokens/colors.js";
|
|
380
|
-
import { SPACE_TOKENS } from "./tokens/spacing.js";
|
|
381
|
-
import { SHADOW_TOKENS } from "./tokens/shadows.js";
|
|
382
|
-
import { LAYOUT_TOKENS } from "./tokens/layout.js";
|
|
383
|
-
import { BASE_TOKENS } from "./tokens/base.js";
|
|
384
|
-
import { TYPOGRAPHY_PRESETS } from "./tokens/typography.js";
|
|
385
|
-
import { TOKENS, getTokens } from "./tokens/index.js";
|
|
386
400
|
import { AllBaseProps, BaseProps, BasePropsWithoutChildren, BaseStyleProps, BlockStyleProps, ColorStyleProps, ContainerStyleProps, DimensionStyleProps, FlowStyleProps, OuterStyleProps, PositionStyleProps, ShortGridStyles, TagName, TextStyleProps } from "@tenphi/tasty";
|
|
387
401
|
import * as react from "react";
|
|
388
402
|
import { useLocale } from "react-aria";
|
|
@@ -405,5 +419,5 @@ declare const Typography: {
|
|
|
405
419
|
Paragraph: react.ForwardRefExoticComponent<CubeParagraphProps & react.RefAttributes<HTMLElement>>;
|
|
406
420
|
};
|
|
407
421
|
//#endregion
|
|
408
|
-
export { Action, ActiveToken, _ActiveZone as ActiveZone, AdjustmentsHorizontalIcon, AdjustmentsIcon, AiIcon, Alert, _AlertDialog as AlertDialog, type AllBaseProps, AreaChartIcon, AriaCheckboxProps, AriaMenuTriggerProps, AriaNumberFieldProps, AriaRadioProps, AriaSelectProps, AriaSliderProps, AriaSwitchProps, AriaTextFieldProps, 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 BoardCompactType, type Compactor as BoardCompactor, type BoardGridLines, type BoardInteractionInfo, type Layout as BoardLayout, type LayoutConstraint as BoardLayoutConstraint, type LayoutItem as BoardLayoutItem, BoardProvider, 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, 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, ColorPicker, ColorFormat as ColorPickerFormat, ColorPickerFormatMode, ColorSpace as ColorPickerSpace, type ColorStyleProps, 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 CubeBoardProps, type CubeBoardProviderProps, type CubeBoardResponsiveProps, type CubeBoardWidgetProps, CubeButtonProps, CubeButtonSplitProps, type CubeCardProps, CubeCheckboxGroupProps, CubeCheckboxProps, CubeColorPickerProps, CubeComboBoxProps, type CubeCommandMenuProps, CubeCommandTextAreaProps, type CubeContentProps, CubeCopyPasteBlockProps, CubeCopySnippetProps, 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, type CubeFileTabProps, CubeFilterListBoxProps, CubeFilterPickerProps, type CubeFlexProps, type CubeFlowProps, type CubeFooterProps, CubeFormInstance, CubeFormProps, CubeFullLogo, type CubeGridLayoutProps, type CubeGridProps, type CubeGridProviderProps, type CubeHeaderProps, CubeHotKeysProps, CubeHueSliderProps, CubeIcon, CubeIconProps, 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, 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, CubeNumberInputProps, 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, CubeAlertProps as CubeSubmitErrorProps, type CubeSuffixProps, CubeSwitchProps, CubeTabListProps, CubeTabPanelProps, CubeTabProps, 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, DatabaseIcon, DateFieldBase, _DateInput as DateInput, _DatePicker as DatePicker, _DateRangePicker as DateRangePicker, _DateRangeSeparatedPicker as DateRangeSeparatedPicker, DecimalDecreaseIcon, DecimalIncreaseIcon, Dialog, DialogContainer, DialogForm, DialogTrigger, type DimensionStyleProps, DirectionIcon, DirectionIconProps, _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, FieldWrapper, Fields, _FileInput as FileInput, FileTabs, FilterIcon, FilterListBox, FilterPicker, Flex, Flow, type FlowStyleProps, FolderFilledIcon, FolderIcon, FolderOpenFilledIcon, FolderOpenIcon, Footer, Form, FormBaseProps, FormContext, 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, InfoBadge, InfoCircleIcon, InfoIcon, type InitOptions, InlineInput, Input, _Item as Item, ItemAction, CubeItemActionProps as ItemActionProps, ItemActionProvider, ItemActionProviderProps, ItemBadge, _Item as ItemBase, _ItemButton as ItemButton, ItemCard, KeyIcon, LABEL_STYLES, LAYOUT_TOKENS, LOCALE_LABELS, _Label as Label, LabelPosition, Layout$1 as Layout, LeftIcon, LineChartIcon, Link, ListBox, ListBoxElement, ListBoxPopup, LoadingAnimation, LoadingIcon, LockFilledIcon, LockIcon, __Menu as Menu, MenuContext, MenuContextValue, MenuItem, MenuItemProps, MenuSection, MenuSelectionType, _MenuTrigger as MenuTrigger, type MenuTriggerState, _MonthPicker as MonthPicker, MoreIcon, type NavigateArg, type NavigateLike, type NavigateOptions, type NavigationAdapter, NecessityIndicator, 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, PaletteCodeSeed, PaletteConfig, PaletteThemeName, PaletteThemeSeed, _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, ResolvedIcon, ResolvedPaletteConfig, 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, 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, _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, 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, UseContextMenuReturn, UseControlledFocusVisibleResult, UseFieldParams, UseFieldProps, UseFieldPropsParams, 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, containerBounds, copy, createFormatter, createInstance, createUIKitI18n, defaultNavigationAdapter, extractModule, extractStyles, formatPeriod, formatRelativeTime, forwardRefWithGenerics, generateRandomId, getCodeTheme, getColorTokens, getCompactor, getI18n, 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, openLink, parseAbsoluteDate, parseTo, performClickHandler, processSelectionArray, propDeprecationWarning, random, range, renderColorTokens, renderPaletteTokens, resetPaletteConfig, resolveIcon, resolvePaletteConfig, resolveValidationProps, setPaletteConfig, snapToGrid, snapToPeriod, subscribePaletteConfig, timeout, toFlatTree, useAction, useAlertDialogAPI, useAnchoredMenu, useButtonSplitContext, useCheckbox, useCombinedRefs, useContextMenu, useControlledFocusVisible, useDialogContainer, useDismissParentPopover, useEventBus, useEventListener, useField, useFieldProps, useForm, useFormProps, useFormatter, useI18nSSR, useItemActionContext, useLayoutEffect, useLocalStorage, useLocale, useMenuContext, useMergeStyles, useNotifications, useNotificationsCount, usePaletteConfig, usePaletteVersion, usePersistentNotifications, usePopoverSync, useProgressToast, useProviderProps, useQaProps, useRadio, useSearchField, useSearchFieldState, useSelectState, useSliderState, useSlotProps, useSwitch, useTextField, useToast, useToastContext, useTranslation, useValidationProps, useViewportSize, verticalCompactor, withTranslation, wrapIcon, wrapNodeIfPlain, wrapWithField };
|
|
422
|
+
export { Action, ActiveToken, _ActiveZone as ActiveZone, AdjustmentsHorizontalIcon, AdjustmentsIcon, AiIcon, Alert, _AlertDialog as AlertDialog, type AllBaseProps, AreaChartIcon, AriaCheckboxProps, AriaMenuTriggerProps, AriaNumberFieldProps, AriaRadioProps, AriaSelectProps, AriaSliderProps, AriaSwitchProps, AriaTextFieldProps, 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 BoardCompactType, type Compactor as BoardCompactor, type BoardGridLines, type BoardInteractionInfo, type Layout as BoardLayout, type LayoutConstraint as BoardLayoutConstraint, type LayoutItem as BoardLayoutItem, BoardProvider, 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, 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, type ColorStyleProps, ColorSwatch, ColorSwatchGroup, 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 CubeBoardProps, type CubeBoardProviderProps, type CubeBoardResponsiveProps, type CubeBoardWidgetProps, CubeBufferedValueProps, CubeButtonProps, CubeButtonSplitProps, type CubeCardProps, CubeCheckboxGroupProps, CubeCheckboxProps, CubeColorInputProps, CubeColorPickerProps, CubeColorSwatchGroupProps, CubeColorSwatchItem, CubeColorSwatchProps, CubeComboBoxProps, type CubeCommandMenuProps, CubeCommandTextAreaProps, type CubeContentProps, CubeCopyPasteBlockProps, CubeCopySnippetProps, CubeDataTableColumn, 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, 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, CubeAlertProps as CubeSubmitErrorProps, type CubeSuffixProps, CubeSwitchProps, CubeTabListProps, CubeTabPanelProps, CubeTabProps, CubeTableAlign, CubeTableCellContext, CubeTableColumn, CubeTableColumnHeader, CubeTableHeaderContext, CubeTablePageInfo, CubeTableRowContext, CubeTableRowRenderProps, CubeTableRowSection, CubeTableSort, CubeTableSortDirection, 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, _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, FieldWrapper, Fields, _FileInput as FileInput, FilterIcon, FilterListBox, FilterPicker, Flex, Flow, type FlowStyleProps, FolderFilledIcon, FolderIcon, FolderOpenFilledIcon, FolderOpenIcon, Footer, Form, FormBaseProps, FormContext, 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, LineChartIcon, Link, ListBox, ListBoxElement, ListBoxPopup, LoadingAnimation, LoadingIcon, LockFilledIcon, LockIcon, __Menu as Menu, MenuContext, MenuContextValue, MenuItem, MenuItemProps, MenuSection, MenuSelectionType, _MenuTrigger as MenuTrigger, type MenuTriggerState, _MonthPicker as MonthPicker, MoreIcon, type NavigateArg, type NavigateLike, type NavigateOptions, type NavigationAdapter, NecessityIndicator, 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, PaletteThemeName, PaletteThemeSeed, _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, ResolvedIcon, ResolvedPaletteConfig, 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, 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, _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, 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, 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, containerBounds, copy, createFormatter, createInstance, createUIKitI18n, defaultNavigationAdapter, extractModule, extractStyles, formatPeriod, formatRelativeTime, forwardRefWithGenerics, generateRandomId, getCodeTheme, getColorTokens, getCompactor, 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, openLink, parseAbsoluteDate, parseTo, performClickHandler, processSelectionArray, propDeprecationWarning, random, range, renderColorTokens, renderPaletteTokens, resetPaletteConfig, resolveIcon, resolvePaletteConfig, resolveValidationProps, setPaletteConfig, snapToGrid, snapToPeriod, subscribePaletteConfig, timeout, toFlatTree, useAction, useAlertDialogAPI, useAnchoredMenu, useBufferedValue, useButtonSplitContext, useCheckbox, useCombinedRefs, useContextMenu, useControlledFocusVisible, useDialogContainer, useDismissParentPopover, useEventBus, useEventListener, useField, useFieldProps, useForm, useFormProps, useFormatter, useI18nSSR, useItemActionContext, useLayoutEffect, useLocalStorage, useLocale, useMenuContext, useMergeStyles, useNotifications, useNotificationsCount, usePagination, usePaletteConfig, usePaletteVersion, usePersistentNotifications, usePopoverSync, useProgressToast, useProviderProps, useQaProps, useRadio, useSearchField, useSearchFieldState, useSelectState, useSliderState, useSlotProps, useSwitch, useTextField, useToast, useToastContext, useTranslation, useValidationProps, useViewportSize, verticalCompactor, withTranslation, wrapIcon, wrapNodeIfPlain, wrapWithField };
|
|
409
423
|
//# 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.157.1 | Cube Dev Team */
|
|
2
2
|
import { extractStyles } from "./utils/styles.js";
|
|
3
3
|
import { chain } from "./utils/react/chain.js";
|
|
4
4
|
import { forwardRefWithGenerics } from "./utils/react/forwardRefWithGenerics.js";
|
|
@@ -17,6 +17,7 @@ import { RenderCache } from "./utils/react/RenderCache.js";
|
|
|
17
17
|
import { useLocalStorage } from "./utils/react/useLocalStorage.js";
|
|
18
18
|
import { resolveIcon } from "./utils/react/resolveIcon.js";
|
|
19
19
|
import { useMergeStyles } from "./utils/react/useMergeStyles.js";
|
|
20
|
+
import { useBufferedValue } from "./utils/react/useBufferedValue.js";
|
|
20
21
|
import { modAttrs } from "./utils/react/index.js";
|
|
21
22
|
import { _Text } from "./components/content/Text.js";
|
|
22
23
|
import { Paragraph } from "./components/content/Paragraph.js";
|
|
@@ -41,6 +42,7 @@ import { openLink, parseTo, performClickHandler, useAction } from "./components/
|
|
|
41
42
|
import { ItemAction } from "./components/actions/ItemAction/ItemAction.js";
|
|
42
43
|
import { ItemBadge } from "./components/content/ItemBadge/ItemBadge.js";
|
|
43
44
|
import { _CollectionItem } from "./components/CollectionItem.js";
|
|
45
|
+
import { IconSwitch } from "./components/helpers/IconSwitch/IconSwitch.js";
|
|
44
46
|
import { Space } from "./components/layout/Space.js";
|
|
45
47
|
import { _HotKeys } from "./components/content/HotKeys/HotKeys.js";
|
|
46
48
|
import { _Item } from "./components/content/Item/Item.js";
|
|
@@ -290,23 +292,30 @@ import { FilterPicker } from "./components/fields/FilterPicker/FilterPicker.js";
|
|
|
290
292
|
import { TabsAction } from "./components/navigation/Tabs/TabsAction.js";
|
|
291
293
|
import { chainRaf } from "./utils/raf.js";
|
|
292
294
|
import { Tab, Tabs } from "./components/navigation/Tabs/Tabs.js";
|
|
293
|
-
import {
|
|
295
|
+
import { clampPage, getPageInfo, getPaginationRange, usePagination } from "./components/navigation/Pagination/use-pagination.js";
|
|
296
|
+
import { _Pagination } from "./components/navigation/Pagination/Pagination.js";
|
|
297
|
+
import { _DataTable } from "./components/data/DataTable/DataTable.js";
|
|
298
|
+
import { TextInput, useTextField } from "./components/fields/TextInput/TextInput.js";
|
|
299
|
+
import { SearchInput, useSearchField, useSearchFieldState } from "./components/fields/SearchInput/SearchInput.js";
|
|
300
|
+
import { _ItemTable } from "./components/data/ItemTable/ItemTable.js";
|
|
294
301
|
import { StatsCard } from "./components/organisms/StatsCard/StatsCard.js";
|
|
295
302
|
import { _FileInput } from "./components/fields/FileInput/FileInput.js";
|
|
296
|
-
import { TextInput, useTextField } from "./components/fields/TextInput/TextInput.js";
|
|
297
303
|
import { _NumberInput } from "./components/fields/NumberInput/NumberInput.js";
|
|
298
304
|
import { _PasswordInput } from "./components/fields/PasswordInput/PasswordInput.js";
|
|
299
305
|
import { _TextArea } from "./components/fields/TextArea/TextArea.js";
|
|
300
306
|
import { Input } from "./components/fields/Input/Input.js";
|
|
301
307
|
import { _CommandTextArea } from "./components/fields/CommandTextArea/CommandTextArea.js";
|
|
302
|
-
import { COLOR_FORMATS } from "./components/fields/
|
|
308
|
+
import { COLOR_FORMATS } from "./components/fields/color/color.js";
|
|
309
|
+
import { ColorSwatch } from "./components/fields/color/ColorSwatch.js";
|
|
310
|
+
import { COLOR_SPACES } from "./components/fields/color/channels.js";
|
|
303
311
|
import { _RadioGroup } from "./components/fields/RadioGroup/RadioGroup.js";
|
|
304
312
|
import { __Radio, useRadio } from "./components/fields/RadioGroup/Radio.js";
|
|
305
313
|
import { __RangeSlider } from "./components/fields/Slider/RangeSlider.js";
|
|
306
314
|
import { __Slider } from "./components/fields/Slider/Slider.js";
|
|
307
315
|
import { __HueSlider } from "./components/fields/Slider/HueSlider.js";
|
|
308
316
|
import { useSliderState } from "./components/fields/Slider/index.js";
|
|
309
|
-
import {
|
|
317
|
+
import { ColorInput } from "./components/fields/ColorInput/ColorInput.js";
|
|
318
|
+
import { ColorSwatchGroup } from "./components/fields/ColorSwatchGroup/ColorSwatchGroup.js";
|
|
310
319
|
import { ColorPicker } from "./components/fields/ColorPicker/ColorPicker.js";
|
|
311
320
|
import { _TimeInput } from "./components/fields/DatePicker/TimeInput.js";
|
|
312
321
|
import { parseAbsoluteDate } from "./components/fields/DatePicker/parseDate.js";
|
|
@@ -320,7 +329,6 @@ import { _MonthPicker } from "./components/fields/DatePicker/MonthPicker.js";
|
|
|
320
329
|
import { _QuarterPicker } from "./components/fields/DatePicker/QuarterPicker.js";
|
|
321
330
|
import { _YearPicker } from "./components/fields/DatePicker/YearPicker.js";
|
|
322
331
|
import { _WeekPicker } from "./components/fields/DatePicker/WeekPicker.js";
|
|
323
|
-
import { SearchInput, useSearchField, useSearchFieldState } from "./components/fields/SearchInput/SearchInput.js";
|
|
324
332
|
import { _Switch, useSwitch } from "./components/fields/Switch/Switch.js";
|
|
325
333
|
import { ComboBox } from "./components/fields/ComboBox/ComboBox.js";
|
|
326
334
|
import { SearchComboBox } from "./components/fields/SearchComboBox/SearchComboBox.js";
|
|
@@ -357,5 +365,5 @@ const Typography = {
|
|
|
357
365
|
};
|
|
358
366
|
|
|
359
367
|
//#endregion
|
|
360
|
-
export { Action, _ActiveZone as ActiveZone, AdjustmentsHorizontalIcon, AdjustmentsIcon, AiIcon, Alert, _AlertDialog as AlertDialog, AreaChartIcon, Avatar, BASE_TOKENS, BOARD_SELECTION_CANCEL, BackwardIcon, _Badge as Badge, Banner, BannerAction, BannerLink, BarChartIcon, BellFilledIcon, BellIcon, Block, Board, BoardProvider, BoardResponsive, Widget as BoardWidget, BooleanIcon, Button, ButtonGroup, ButtonSplit, ButtonSplitContext, COLOR_FORMATS, COLOR_SPACES, COLOR_TOKENS, 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, ColorPicker, ColumnTotalIcon, ComboBox, __CommandMenu as CommandMenu, _CommandTextArea as CommandTextArea, Content, CopyIcon, _CopyPasteBlock as CopyPasteBlock, _CopySnippet as CopySnippet, CountIcon, CubeFullLogo, CubeIcon, CubeLogo, CubePauseIcon, CubePlayIcon, CurrencyDollarIcon, DEFAULT_BUTTON_STYLES, DEFAULT_INPUT_STYLES, DEFAULT_PALETTE_CONFIG, DangerIcon, DashboardIcon, DatabaseIcon, _DateInput as DateInput, _DatePicker as DatePicker, _DateRangePicker as DateRangePicker, _DateRangeSeparatedPicker as DateRangeSeparatedPicker, DecimalDecreaseIcon, DecimalIncreaseIcon, Dialog, DialogContainer, DialogForm, DialogTrigger, DirectionIcon, _Disclosure as Disclosure, DisplayTransition, Divider, DonutIcon, DownIcon, EditIcon, EventBusProvider, ExclamationCircleFilledIcon, ExclamationCircleIcon, ExclamationIcon, EyeIcon, EyeInvisibleIcon, Field, FieldWrapper, _FileInput as FileInput,
|
|
368
|
+
export { Action, _ActiveZone as ActiveZone, AdjustmentsHorizontalIcon, AdjustmentsIcon, AiIcon, Alert, _AlertDialog as AlertDialog, AreaChartIcon, Avatar, BASE_TOKENS, BOARD_SELECTION_CANCEL, BackwardIcon, _Badge as Badge, Banner, BannerAction, BannerLink, BarChartIcon, BellFilledIcon, BellIcon, Block, Board, BoardProvider, BoardResponsive, Widget as BoardWidget, BooleanIcon, Button, ButtonGroup, ButtonSplit, ButtonSplitContext, COLOR_FORMATS, COLOR_SPACES, COLOR_TOKENS, 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, ColorPicker, ColorSwatch, ColorSwatchGroup, ColumnTotalIcon, ComboBox, __CommandMenu as CommandMenu, _CommandTextArea as CommandTextArea, Content, CopyIcon, _CopyPasteBlock as CopyPasteBlock, _CopySnippet as CopySnippet, CountIcon, CubeFullLogo, CubeIcon, CubeLogo, CubePauseIcon, CubePlayIcon, CurrencyDollarIcon, DEFAULT_BUTTON_STYLES, DEFAULT_INPUT_STYLES, DEFAULT_PALETTE_CONFIG, DangerIcon, DashboardIcon, _DataTable as DataTable, DatabaseIcon, _DateInput as DateInput, _DatePicker as DatePicker, _DateRangePicker as DateRangePicker, _DateRangeSeparatedPicker as DateRangeSeparatedPicker, DecimalDecreaseIcon, DecimalIncreaseIcon, Dialog, DialogContainer, DialogForm, DialogTrigger, DirectionIcon, _Disclosure as Disclosure, DisplayTransition, Divider, DonutIcon, DownIcon, EditIcon, EventBusProvider, ExclamationCircleFilledIcon, ExclamationCircleIcon, ExclamationIcon, EyeIcon, EyeInvisibleIcon, Field, FieldWrapper, _FileInput as FileInput, FilterIcon, FilterListBox, FilterPicker, Flex, Flow, FolderFilledIcon, FolderIcon, FolderOpenFilledIcon, FolderOpenIcon, Footer, Form, FormContext, ForwardIcon, Grid, GridLayout, GridProvider, GripVerticalIcon, Header, HierarchyIcon, HierarchyOpenIcon, _HotKeys as HotKeys, __HueSlider as HueSlider, I18nProvider, I18nextProvider, INLINE_LABEL_STYLES, INPUT_WRAPPER_STYLES, Icon, IconSwitch, InfoBadge, InfoCircleIcon, InfoIcon, InlineInput, Input, _Item as Item, ItemAction, ItemActionProvider, ItemBadge, _Item as ItemBase, _ItemButton as ItemButton, ItemCard, _ItemTable as ItemTable, KeyIcon, LABEL_STYLES, LAYOUT_TOKENS, LOCALE_LABELS, _Label as Label, Layout, LeftIcon, LineChartIcon, Link, ListBox, ListBoxElement, ListBoxPopup, LoadingAnimation, LoadingIcon, LockFilledIcon, LockIcon, __Menu as Menu, MenuContext, MenuItem, MenuSection, _MenuTrigger as MenuTrigger, _MonthPicker as MonthPicker, MoreIcon, NotAllowedIcon, Notification, NotificationAction, NotificationCard, NotificationItem, Number123Icon, NumberIcon, _NumberInput as NumberInput, OverlayProvider, PALETTE_TOKENS, _Pagination as Pagination, _Panel as Panel, Paragraph, _PasswordInput as PasswordInput, PauseCircleFilledIcon, PauseCircleIcon, PauseIcon, PercentageIcon, _PeriodPicker as PeriodPicker, PersistentNotificationsList, Picker, PieChartIcon, PipetteIcon, Placeholder, PlayCircleIcon, PlayIcon, PlusIcon, Portal, Prefix, _PrismCode as PrismCode, PrismDiffCode, ProgressBarIcon, Provider, _QuarterPicker as QuarterPicker, __Radio as Radio, _RadioGroup as RadioGroup, __RangeSlider as RangeSlider, ReloadIcon, RenderCache, ReportIcon, _ResetButton as ResetButton, _ResizablePanel as ResizablePanel, ResizeSensor, _Result as Result, ReturnIcon, RightIcon, Root, RowTotalsIcon, SHADOW_TOKENS, SIZES, SIZE_NAME_TO_KEY, SIZE_TOKENS, SPACE_TOKENS, SUPPORTED_LOCALES, SchemeIcon, SearchComboBox, SearchIcon, SearchInput, Section, __Select as Select, SemanticQueryIcon, SettingsIcon, ShieldFilledIcon, ShieldIcon, Skeleton, SlashIcon, __Slider as Slider, SlotProvider, Space, SparklesIcon, Spin, SqlIcon, StatsCard, StatsIcon, StopIcon, StringIcon, SubMenuTrigger, _SubmitButton as SubmitButton, _SubmitError as SubmitError, SubtotalsIcon, Suffix, _Switch as Switch, SwitchIcon, TOKENS, TYPOGRAPHY_PRESETS, Tab, TableIcon, Tabs, TabsAction, _Tag as Tag, _Text as Text, _TextArea as TextArea, TextInput, TextInputBase, _TextInputMapper as TextInputMapper, TextItem, ThumbsDownIcon, ThumbsUpIcon, ThunderboltCrossedIcon, ThunderboltFilledIcon, ThunderboltIcon, TimeIcon, _TimeInput as TimeInput, _Title as Title, Toast, ToastItem, _Tooltip as Tooltip, TooltipProvider, TooltipTrigger, Trans, Translation, TrashIcon, Tree, Typography, UIKIT_I18N_NAMESPACE, UnlockIcon, UpIcon, UserGroupIcon, UserIcon, UserLockIcon, ValidationIndicator, ViewIcon, WarningFilledIcon, WarningIcon, _WeekPicker as WeekPicker, _YearPicker as YearPicker, addUIKitLocale, aspectRatio, boundedX, boundedY, chain, chainRaf, clampPage, containerBounds, copy, createFormatter, createInstance, createUIKitI18n, defaultNavigationAdapter, extractModule, extractStyles, formatPeriod, formatRelativeTime, forwardRefWithGenerics, generateRandomId, getCodeTheme, getColorTokens, getCompactor, 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, openLink, parseAbsoluteDate, parseTo, performClickHandler, processSelectionArray, propDeprecationWarning, random, range, renderColorTokens, renderPaletteTokens, resetPaletteConfig, resolveIcon, resolvePaletteConfig, resolveValidationProps, setPaletteConfig, snapToGrid, snapToPeriod, subscribePaletteConfig, timeout, toFlatTree, useAction, useAlertDialogAPI, useAnchoredMenu, useBufferedValue, useButtonSplitContext, useCheckbox, useCombinedRefs, useContextMenu, useControlledFocusVisible, useDialogContainer, useDismissParentPopover, useEventBus, useEventListener, useField, useFieldProps, useForm, useFormProps, useFormatter, useI18nSSR, useItemActionContext, useLayoutEffect, useLocalStorage, useLocale, useMenuContext, useMergeStyles, useNotifications, useNotificationsCount, usePagination, usePaletteConfig, usePaletteVersion, usePersistentNotifications, usePopoverSync, useProgressToast, useProviderProps, useQaProps, useRadio, useSearchField, useSearchFieldState, useSelectState, useSliderState, useSlotProps, useSwitch, useTextField, useToast, useToastContext, useTranslation, useValidationProps, useViewportSize, verticalCompactor, withTranslation, wrapIcon, wrapNodeIfPlain, wrapWithField };
|
|
361
369
|
//# sourceMappingURL=index.js.map
|
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 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 BOARD_SELECTION_CANCEL,\n} from './components/layout/Board';\nexport type {\n CubeBoardProps,\n BoardSelectionMode,\n CubeBoardWidgetProps,\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 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';\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 { 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// molecules\nexport { FileTabs } from './components/organisms/FileTabs/FileTabs';\nexport type { CubeFileTabProps } from './components/organisms/FileTabs/FileTabs';\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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoPA,MAAa,aAAa;CACxB,MAAMA;CACN;CACA;CACD"}
|
|
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 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 BOARD_SELECTION_CANCEL,\n} from './components/layout/Board';\nexport type {\n CubeBoardProps,\n BoardSelectionMode,\n CubeBoardWidgetProps,\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 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 { 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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuPA,MAAa,aAAa;CACxB,MAAMA;CACN;CACA;CACD"}
|
package/dist/provider.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.157.1 | Cube Dev Team */
|
|
2
2
|
import { EventBusProvider } from "./utils/react/useEventBus.js";
|
|
3
3
|
import { defaultNavigationAdapter } from "./providers/navigationAdapter.default.js";
|
|
4
4
|
import { createContext, useContext, useMemo } from "react";
|
package/dist/tokens/base.js
CHANGED
package/dist/tokens/colors.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.157.1 | Cube Dev Team */
|
|
2
2
|
import { getPaletteVersion } from "./palette-config.js";
|
|
3
3
|
import { BASE_TOKENS } from "./base.js";
|
|
4
4
|
import { lazyStyles } from "./lazy-styles.js";
|
package/dist/tokens/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.157.1 | Cube Dev Team */
|
|
2
2
|
import { DEFAULT_PALETTE_CONFIG, getPaletteConfig, getPaletteConfigInput, getPaletteVersion, invalidatePaletteTokens, resetPaletteConfig, resolvePaletteConfig, setPaletteConfig, subscribePaletteConfig, usePaletteConfig, usePaletteVersion } from "./palette-config.js";
|
|
3
3
|
import { BASE_TOKENS } from "./base.js";
|
|
4
4
|
import { lazyStyles } from "./lazy-styles.js";
|
package/dist/tokens/layout.js
CHANGED
package/dist/tokens/palette.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.157.1 | Cube Dev Team */
|
|
2
2
|
import { getPaletteConfig, getPaletteVersion, resolvePaletteConfig } from "./palette-config.js";
|
|
3
3
|
import { lazyStyles } from "./lazy-styles.js";
|
|
4
4
|
import { glaze } from "@tenphi/glaze";
|
package/dist/tokens/shadows.js
CHANGED
package/dist/tokens/sizes.js
CHANGED
package/dist/tokens/spacing.js
CHANGED
|
@@ -24,7 +24,7 @@ interface TypographyPreset {
|
|
|
24
24
|
* - `t1m`-`t4m`: Text styles medium weight
|
|
25
25
|
* - `m1`-`m3`: Markdown/prose styles (larger line-height)
|
|
26
26
|
* - `p1`-`p4`: Paragraph styles
|
|
27
|
-
* - `c1`-`
|
|
27
|
+
* - `c1`-`c3`: Caption/uppercase styles
|
|
28
28
|
* - `s2`-`s4`: Snippet / monospace styles (parallel to `t2`-`t4`)
|
|
29
29
|
* - `tag`: Tag/badge typography
|
|
30
30
|
* - `default`: Base text style
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.157.1 | Cube Dev Team */
|
|
2
2
|
//#region src/tokens/typography.ts
|
|
3
3
|
/**
|
|
4
4
|
* Typography presets for headings, text, and special styles.
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* - `t1m`-`t4m`: Text styles medium weight
|
|
10
10
|
* - `m1`-`m3`: Markdown/prose styles (larger line-height)
|
|
11
11
|
* - `p1`-`p4`: Paragraph styles
|
|
12
|
-
* - `c1`-`
|
|
12
|
+
* - `c1`-`c3`: Caption/uppercase styles
|
|
13
13
|
* - `s2`-`s4`: Snippet / monospace styles (parallel to `t2`-`t4`)
|
|
14
14
|
* - `tag`: Tag/badge typography
|
|
15
15
|
* - `default`: Base text style
|
|
@@ -199,6 +199,15 @@ const TYPOGRAPHY_PRESETS = {
|
|
|
199
199
|
textTransform: "uppercase",
|
|
200
200
|
iconSize: "16px"
|
|
201
201
|
},
|
|
202
|
+
c3: {
|
|
203
|
+
fontSize: "11px",
|
|
204
|
+
lineHeight: "16px",
|
|
205
|
+
letterSpacing: "0.02em",
|
|
206
|
+
fontWeight: "600",
|
|
207
|
+
boldFontWeight: "700",
|
|
208
|
+
textTransform: "uppercase",
|
|
209
|
+
iconSize: "14px"
|
|
210
|
+
},
|
|
202
211
|
tag: {
|
|
203
212
|
fontSize: "12px",
|
|
204
213
|
lineHeight: "18px",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typography.js","names":[],"sources":["../../src/tokens/typography.ts"],"sourcesContent":["/**\n * Typography preset configuration.\n * Each preset defines font properties that get expanded into CSS custom properties.\n */\nexport interface TypographyPreset {\n fontSize: string;\n lineHeight: string;\n letterSpacing?: string;\n fontWeight: string | number;\n boldFontWeight?: string | number;\n iconSize?: string;\n textTransform?: string;\n fontFamily?: string;\n fontStyle?: string;\n}\n\n/**\n * Typography presets for headings, text, and special styles.\n *\n * Naming conventions:\n * - `h1`-`h6`: Headings (bold by default)\n * - `t1`-`t4`: Text styles (regular weight)\n * - `t1m`-`t4m`: Text styles medium weight\n * - `m1`-`m3`: Markdown/prose styles (larger line-height)\n * - `p1`-`p4`: Paragraph styles\n * - `c1`-`
|
|
1
|
+
{"version":3,"file":"typography.js","names":[],"sources":["../../src/tokens/typography.ts"],"sourcesContent":["/**\n * Typography preset configuration.\n * Each preset defines font properties that get expanded into CSS custom properties.\n */\nexport interface TypographyPreset {\n fontSize: string;\n lineHeight: string;\n letterSpacing?: string;\n fontWeight: string | number;\n boldFontWeight?: string | number;\n iconSize?: string;\n textTransform?: string;\n fontFamily?: string;\n fontStyle?: string;\n}\n\n/**\n * Typography presets for headings, text, and special styles.\n *\n * Naming conventions:\n * - `h1`-`h6`: Headings (bold by default)\n * - `t1`-`t4`: Text styles (regular weight)\n * - `t1m`-`t4m`: Text styles medium weight\n * - `m1`-`m3`: Markdown/prose styles (larger line-height)\n * - `p1`-`p4`: Paragraph styles\n * - `c1`-`c3`: Caption/uppercase styles\n * - `s2`-`s4`: Snippet / monospace styles (parallel to `t2`-`t4`)\n * - `tag`: Tag/badge typography\n * - `default`: Base text style\n */\nexport const TYPOGRAPHY_PRESETS: Record<string, TypographyPreset> = {\n // Text (basic)\n text: {\n fontSize: '14px',\n lineHeight: '20px',\n letterSpacing: '0',\n fontWeight: '400',\n },\n\n // Headings (h1-h6)\n h1: {\n fontSize: '36px',\n lineHeight: '44px',\n letterSpacing: '-0.01em',\n fontWeight: '600',\n boldFontWeight: '700',\n iconSize: '40px',\n },\n h2: {\n fontSize: '24px',\n lineHeight: '32px',\n letterSpacing: '0em',\n fontWeight: '600',\n boldFontWeight: '700',\n iconSize: '28px',\n },\n h3: {\n fontSize: '20px',\n lineHeight: '28px',\n letterSpacing: '0em',\n fontWeight: '600',\n boldFontWeight: '700',\n iconSize: '24px',\n },\n h4: {\n fontSize: '18px',\n lineHeight: '24px',\n letterSpacing: '0',\n fontWeight: '600',\n boldFontWeight: '700',\n iconSize: '22px',\n },\n h5: {\n fontSize: '16px',\n lineHeight: '22px',\n letterSpacing: '0',\n fontWeight: '600',\n boldFontWeight: '700',\n iconSize: '20px',\n },\n h6: {\n fontSize: '14px',\n lineHeight: '20px',\n letterSpacing: '0.01em',\n fontWeight: '600',\n boldFontWeight: '700',\n iconSize: '20px',\n },\n\n // Text styles (t1-t4)\n t1: {\n fontSize: '18px',\n lineHeight: '24px',\n letterSpacing: '0',\n fontWeight: '400',\n boldFontWeight: '600',\n iconSize: '20px',\n },\n t2: {\n fontSize: '16px',\n lineHeight: '22px',\n letterSpacing: '0',\n fontWeight: '400',\n boldFontWeight: '600',\n iconSize: '20px',\n },\n t2m: {\n fontSize: '16px',\n lineHeight: '22px',\n letterSpacing: '0',\n fontWeight: '500',\n boldFontWeight: '600',\n iconSize: '20px',\n },\n t3: {\n fontSize: '14px',\n lineHeight: '20px',\n letterSpacing: '0',\n fontWeight: '400',\n boldFontWeight: '600',\n iconSize: '18px',\n },\n t3m: {\n fontSize: '14px',\n lineHeight: '20px',\n letterSpacing: '0',\n fontWeight: '500',\n boldFontWeight: '600',\n iconSize: '18px',\n },\n t4: {\n fontSize: '12px',\n lineHeight: '18px',\n letterSpacing: '0',\n fontWeight: '500',\n boldFontWeight: '600',\n iconSize: '16px',\n },\n t4m: {\n fontSize: '12px',\n lineHeight: '18px',\n letterSpacing: '0',\n fontWeight: '600',\n boldFontWeight: '700',\n iconSize: '16px',\n },\n\n // Markdown/prose styles (m1-m3)\n m1: {\n fontSize: '18px',\n lineHeight: '32px',\n letterSpacing: '0',\n fontWeight: '400',\n boldFontWeight: '600',\n iconSize: '22px',\n },\n m2: {\n fontSize: '16px',\n lineHeight: '28px',\n letterSpacing: '0',\n fontWeight: '400',\n boldFontWeight: '600',\n iconSize: '20px',\n },\n m3: {\n fontSize: '14px',\n lineHeight: '24px',\n letterSpacing: '0',\n fontWeight: '400',\n boldFontWeight: '600',\n iconSize: '20px',\n },\n\n // Paragraph styles (p1-p4)\n p1: {\n fontSize: '18px',\n lineHeight: '28px',\n letterSpacing: '0',\n fontWeight: '400',\n boldFontWeight: '600',\n iconSize: '22px',\n },\n p2: {\n fontSize: '16px',\n lineHeight: '24px',\n letterSpacing: '0',\n fontWeight: '400',\n boldFontWeight: '600',\n iconSize: '20px',\n },\n p3: {\n fontSize: '14px',\n lineHeight: '22px',\n letterSpacing: '0',\n fontWeight: '400',\n boldFontWeight: '600',\n iconSize: '18px',\n },\n p4: {\n fontSize: '12px',\n lineHeight: '20px',\n letterSpacing: '0',\n fontWeight: '500',\n boldFontWeight: '600',\n iconSize: '16px',\n },\n\n // Caption/uppercase styles (c1-c3)\n c1: {\n fontSize: '14px',\n lineHeight: '20px',\n letterSpacing: '0',\n fontWeight: '600',\n boldFontWeight: '700',\n textTransform: 'uppercase',\n iconSize: '18px',\n },\n c2: {\n fontSize: '12px',\n lineHeight: '18px',\n letterSpacing: '0.01em',\n fontWeight: '600',\n boldFontWeight: '700',\n textTransform: 'uppercase',\n iconSize: '16px',\n },\n c3: {\n fontSize: '11px',\n lineHeight: '16px',\n letterSpacing: '0.02em',\n fontWeight: '600',\n boldFontWeight: '700',\n textTransform: 'uppercase',\n iconSize: '14px',\n },\n\n // Tag typography\n tag: {\n fontSize: '12px',\n lineHeight: '18px',\n letterSpacing: '0.01em',\n fontWeight: '600',\n boldFontWeight: '700',\n iconSize: '16px',\n },\n\n // Snippet / monospace styles (s2-s4) — sized to parallel t2-t4\n s2: {\n fontSize: '16px',\n lineHeight: '22px',\n letterSpacing: '0',\n fontWeight: '400',\n boldFontWeight: '600',\n iconSize: '20px',\n fontFamily: 'var(--font-mono)',\n },\n s3: {\n fontSize: '14px',\n lineHeight: '20px',\n letterSpacing: '0',\n fontWeight: '400',\n boldFontWeight: '600',\n iconSize: '18px',\n fontFamily: 'var(--font-mono)',\n },\n s4: {\n fontSize: '12px',\n lineHeight: '18px',\n letterSpacing: '0',\n fontWeight: '400',\n boldFontWeight: '600',\n iconSize: '16px',\n fontFamily: 'var(--font-mono)',\n },\n\n // Default text style (references t3)\n default: {\n fontSize: 'var(--t3-font-size)',\n lineHeight: 'var(--t3-line-height)',\n letterSpacing: 'var(--t3-letter-spacing)',\n fontWeight: 'var(--t3-font-weight)',\n boldFontWeight: 'var(--t3-bold-font-weight)',\n iconSize: 'var(--t3-icon-size)',\n },\n};\n"],"mappings":";;;;;;;;;;;;;;;;AA8BA,MAAa,qBAAuD;CAElE,MAAM;EACJ,UAAU;EACV,YAAY;EACZ,eAAe;EACf,YAAY;EACb;CAGD,IAAI;EACF,UAAU;EACV,YAAY;EACZ,eAAe;EACf,YAAY;EACZ,gBAAgB;EAChB,UAAU;EACX;CACD,IAAI;EACF,UAAU;EACV,YAAY;EACZ,eAAe;EACf,YAAY;EACZ,gBAAgB;EAChB,UAAU;EACX;CACD,IAAI;EACF,UAAU;EACV,YAAY;EACZ,eAAe;EACf,YAAY;EACZ,gBAAgB;EAChB,UAAU;EACX;CACD,IAAI;EACF,UAAU;EACV,YAAY;EACZ,eAAe;EACf,YAAY;EACZ,gBAAgB;EAChB,UAAU;EACX;CACD,IAAI;EACF,UAAU;EACV,YAAY;EACZ,eAAe;EACf,YAAY;EACZ,gBAAgB;EAChB,UAAU;EACX;CACD,IAAI;EACF,UAAU;EACV,YAAY;EACZ,eAAe;EACf,YAAY;EACZ,gBAAgB;EAChB,UAAU;EACX;CAGD,IAAI;EACF,UAAU;EACV,YAAY;EACZ,eAAe;EACf,YAAY;EACZ,gBAAgB;EAChB,UAAU;EACX;CACD,IAAI;EACF,UAAU;EACV,YAAY;EACZ,eAAe;EACf,YAAY;EACZ,gBAAgB;EAChB,UAAU;EACX;CACD,KAAK;EACH,UAAU;EACV,YAAY;EACZ,eAAe;EACf,YAAY;EACZ,gBAAgB;EAChB,UAAU;EACX;CACD,IAAI;EACF,UAAU;EACV,YAAY;EACZ,eAAe;EACf,YAAY;EACZ,gBAAgB;EAChB,UAAU;EACX;CACD,KAAK;EACH,UAAU;EACV,YAAY;EACZ,eAAe;EACf,YAAY;EACZ,gBAAgB;EAChB,UAAU;EACX;CACD,IAAI;EACF,UAAU;EACV,YAAY;EACZ,eAAe;EACf,YAAY;EACZ,gBAAgB;EAChB,UAAU;EACX;CACD,KAAK;EACH,UAAU;EACV,YAAY;EACZ,eAAe;EACf,YAAY;EACZ,gBAAgB;EAChB,UAAU;EACX;CAGD,IAAI;EACF,UAAU;EACV,YAAY;EACZ,eAAe;EACf,YAAY;EACZ,gBAAgB;EAChB,UAAU;EACX;CACD,IAAI;EACF,UAAU;EACV,YAAY;EACZ,eAAe;EACf,YAAY;EACZ,gBAAgB;EAChB,UAAU;EACX;CACD,IAAI;EACF,UAAU;EACV,YAAY;EACZ,eAAe;EACf,YAAY;EACZ,gBAAgB;EAChB,UAAU;EACX;CAGD,IAAI;EACF,UAAU;EACV,YAAY;EACZ,eAAe;EACf,YAAY;EACZ,gBAAgB;EAChB,UAAU;EACX;CACD,IAAI;EACF,UAAU;EACV,YAAY;EACZ,eAAe;EACf,YAAY;EACZ,gBAAgB;EAChB,UAAU;EACX;CACD,IAAI;EACF,UAAU;EACV,YAAY;EACZ,eAAe;EACf,YAAY;EACZ,gBAAgB;EAChB,UAAU;EACX;CACD,IAAI;EACF,UAAU;EACV,YAAY;EACZ,eAAe;EACf,YAAY;EACZ,gBAAgB;EAChB,UAAU;EACX;CAGD,IAAI;EACF,UAAU;EACV,YAAY;EACZ,eAAe;EACf,YAAY;EACZ,gBAAgB;EAChB,eAAe;EACf,UAAU;EACX;CACD,IAAI;EACF,UAAU;EACV,YAAY;EACZ,eAAe;EACf,YAAY;EACZ,gBAAgB;EAChB,eAAe;EACf,UAAU;EACX;CACD,IAAI;EACF,UAAU;EACV,YAAY;EACZ,eAAe;EACf,YAAY;EACZ,gBAAgB;EAChB,eAAe;EACf,UAAU;EACX;CAGD,KAAK;EACH,UAAU;EACV,YAAY;EACZ,eAAe;EACf,YAAY;EACZ,gBAAgB;EAChB,UAAU;EACX;CAGD,IAAI;EACF,UAAU;EACV,YAAY;EACZ,eAAe;EACf,YAAY;EACZ,gBAAgB;EAChB,UAAU;EACV,YAAY;EACb;CACD,IAAI;EACF,UAAU;EACV,YAAY;EACZ,eAAe;EACf,YAAY;EACZ,gBAAgB;EAChB,UAAU;EACV,YAAY;EACb;CACD,IAAI;EACF,UAAU;EACV,YAAY;EACZ,eAAe;EACf,YAAY;EACZ,gBAAgB;EAChB,UAAU;EACV,YAAY;EACb;CAGD,SAAS;EACP,UAAU;EACV,YAAY;EACZ,eAAe;EACf,YAAY;EACZ,gBAAgB;EAChB,UAAU;EACX;CACF"}
|
package/dist/utils/index.d.ts
CHANGED
|
@@ -16,6 +16,7 @@ import { RenderCache, RenderCacheProps } from "./react/RenderCache.js";
|
|
|
16
16
|
import { useLocalStorage } from "./react/useLocalStorage.js";
|
|
17
17
|
import { DynamicIcon, IconRenderFn, ResolvedIcon, resolveIcon } from "./react/resolveIcon.js";
|
|
18
18
|
import { useMergeStyles } from "./react/useMergeStyles.js";
|
|
19
|
+
import { UseBufferedValueOptions, UseBufferedValueResult, useBufferedValue } from "./react/useBufferedValue.js";
|
|
19
20
|
import { modAttrs } from "./react/index.js";
|
|
20
21
|
import { chainRaf } from "./raf.js";
|
|
21
22
|
import { toFlatTree } from "./tree.js";
|
package/dist/utils/is-dev-env.js
CHANGED