@cube-dev/ui-kit 0.193.1 → 0.194.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/CHANGELOG.md +28 -0
- 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.d.ts +25 -12
- package/dist/components/CollectionItem.js +59 -4
- package/dist/components/CollectionItem.js.map +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 +2 -2
- package/dist/components/actions/Action/Action.js +1 -1
- package/dist/components/actions/Banner/Banner.d.ts +1 -1
- package/dist/components/actions/Banner/Banner.js +6 -6
- package/dist/components/actions/Banner/Banner.js.map +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 +28 -25
- package/dist/components/actions/ButtonSplit/ButtonSplit.js.map +1 -1
- package/dist/components/actions/ButtonSplit/context.js +1 -1
- package/dist/components/actions/CommandMenu/CommandMenu.d.ts +7 -7
- package/dist/components/actions/CommandMenu/CommandMenu.js +232 -239
- package/dist/components/actions/CommandMenu/CommandMenu.js.map +1 -1
- package/dist/components/actions/CommandMenu/styled.js +1 -1
- package/dist/components/actions/ItemAction/ItemAction.js +26 -22
- package/dist/components/actions/ItemAction/ItemAction.js.map +1 -1
- package/dist/components/actions/ItemActionContext.d.ts +3 -0
- package/dist/components/actions/ItemActionContext.js +15 -13
- package/dist/components/actions/ItemActionContext.js.map +1 -1
- package/dist/components/actions/ItemActionsWrapper.js +1 -1
- package/dist/components/actions/ItemButton/ItemButton.d.ts +2 -2
- package/dist/components/actions/ItemButton/ItemButton.js +1 -1
- package/dist/components/actions/Link/Link.js +1 -1
- package/dist/components/actions/Menu/Menu.d.ts +9 -9
- package/dist/components/actions/Menu/Menu.js +88 -64
- package/dist/components/actions/Menu/Menu.js.map +1 -1
- package/dist/components/actions/Menu/MenuCollectionItem.d.ts +18 -0
- package/dist/components/actions/Menu/MenuCollectionItem.js +36 -0
- package/dist/components/actions/Menu/MenuCollectionItem.js.map +1 -0
- package/dist/components/actions/Menu/MenuItem.d.ts +5 -0
- package/dist/components/actions/Menu/MenuItem.js +402 -116
- package/dist/components/actions/Menu/MenuItem.js.map +1 -1
- package/dist/components/actions/Menu/MenuSection.d.ts +3 -1
- package/dist/components/actions/Menu/MenuSection.js +31 -33
- package/dist/components/actions/Menu/MenuSection.js.map +1 -1
- package/dist/components/actions/Menu/MenuTrigger.js +1 -1
- package/dist/components/actions/Menu/SubMenuTrigger.d.ts +1 -1
- package/dist/components/actions/Menu/SubMenuTrigger.js +2 -2
- package/dist/components/actions/Menu/SubMenuTrigger.js.map +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/index.d.ts +1 -0
- package/dist/components/actions/Menu/styled.js +1 -1
- package/dist/components/actions/actions-run.js +1 -1
- package/dist/components/actions/index.d.ts +3 -2
- package/dist/components/actions/index.js +1 -1
- package/dist/components/actions/use-action.js +60 -36
- package/dist/components/actions/use-action.js.map +1 -1
- package/dist/components/actions/use-anchored-menu.js +1 -1
- package/dist/components/actions/use-context-menu.js +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.d.ts +19 -19
- 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 +44 -33
- package/dist/components/content/HotKeys/HotKeys.js.map +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.d.ts +7 -7
- package/dist/components/content/Item/Item.js +205 -67
- package/dist/components/content/Item/Item.js.map +1 -1
- package/dist/components/content/Item/ItemWithNativeLinks.js +314 -0
- package/dist/components/content/Item/ItemWithNativeLinks.js.map +1 -0
- package/dist/components/content/ItemBadge/ItemBadge.js +1 -1
- package/dist/components/content/ItemCard/ItemCard.d.ts +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 +18 -15
- package/dist/components/content/Layout/LayoutPane.js.map +1 -1
- package/dist/components/content/Layout/LayoutPanel.js +41 -46
- package/dist/components/content/Layout/LayoutPanel.js.map +1 -1
- package/dist/components/content/Layout/LayoutPanelHeader.js +2 -2
- package/dist/components/content/Layout/LayoutPanelTransition.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 +77 -70
- package/dist/components/content/Placeholder/Placeholder.js.map +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 +5 -5
- package/dist/components/content/Result/Result.js.map +1 -1
- package/dist/components/content/Skeleton/Skeleton.js +18 -19
- package/dist/components/content/Skeleton/Skeleton.js.map +1 -1
- package/dist/components/content/Tag/Tag.js +2 -2
- package/dist/components/content/Text.d.ts +14 -14
- package/dist/components/content/Text.js +1 -1
- package/dist/components/content/TextItem/TextItem.js +1 -1
- package/dist/components/content/Title.js +66 -48
- package/dist/components/content/Title.js.map +1 -1
- package/dist/components/content/Tree/Tree.js +6 -3
- package/dist/components/content/Tree/Tree.js.map +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/types.d.ts +2 -2
- 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.js +1 -1
- package/dist/components/data/ItemTable/ItemTable.js +1 -1
- package/dist/components/data/ItemTable/ItemTableBulkBar.js +1 -1
- package/dist/components/data/ItemTable/ItemTableDragPreview.js +1 -1
- package/dist/components/data/ItemTable/ItemTableFooter.js +1 -1
- package/dist/components/data/ItemTable/ItemTableToolbar.js +1 -1
- package/dist/components/data/ItemTable/use-item-table-column-widths.js +1 -1
- package/dist/components/data/ItemTable/use-item-table-drag-drop.js +1 -1
- package/dist/components/data/ItemTable/use-item-table-pagination.js +1 -1
- package/dist/components/data/ItemTable/use-item-table-selection.js +1 -1
- package/dist/components/data/ItemTable/use-item-table-sort.js +1 -1
- package/dist/components/data/ItemTable/use-item-table-tree-model.js +1 -1
- package/dist/components/data/TableBase/ColumnResizer.js +1 -1
- package/dist/components/data/TableBase/RowCollection.js +1 -1
- package/dist/components/data/TableBase/TableHeaderCell.js +1 -1
- package/dist/components/data/TableBase/TableRow.js +1 -1
- package/dist/components/data/TableBase/TableView.js +39 -19
- package/dist/components/data/TableBase/TableView.js.map +1 -1
- package/dist/components/data/TableBase/TreeGridTable.js +1 -1
- package/dist/components/data/TableBase/column-header.js +1 -1
- package/dist/components/data/TableBase/column-menu.js +1 -1
- package/dist/components/data/TableBase/column-styles.js +1 -1
- package/dist/components/data/TableBase/column-tint.js +1 -1
- package/dist/components/data/TableBase/row-menu.js +1 -1
- package/dist/components/data/TableBase/styled.d.ts +1 -1
- package/dist/components/data/TableBase/styled.js +14 -1
- package/dist/components/data/TableBase/styled.js.map +1 -1
- package/dist/components/data/TableBase/table-tree.js +1 -1
- package/dist/components/data/TableBase/types.js +1 -1
- package/dist/components/data/TableBase/use-cell-selection.js +0 -0
- package/dist/components/data/TableBase/use-column-menu.js +1 -1
- package/dist/components/data/TableBase/use-column-order.js +1 -1
- package/dist/components/data/TableBase/use-column-window.js +219 -0
- package/dist/components/data/TableBase/use-column-window.js.map +1 -0
- package/dist/components/data/TableBase/use-container-width.js +1 -1
- package/dist/components/data/TableBase/use-row-move-animation.js +1 -1
- package/dist/components/data/TableBase/use-scrollability.js +1 -1
- package/dist/components/data/TableBase/use-table-columns.js +1 -1
- package/dist/components/data/TableBase/use-table-search.js +1 -1
- package/dist/components/data/TableBase/use-table-selection.js +1 -1
- package/dist/components/data/TableBase/use-table-sort.js +1 -1
- package/dist/components/data/TableBase/use-table-sorts.js +1 -1
- package/dist/components/data/TableBase/use-table-storage.js +1 -1
- package/dist/components/data/TableBase/use-table-tooltip-refresh.js +32 -19
- package/dist/components/data/TableBase/use-table-tooltip-refresh.js.map +1 -1
- package/dist/components/data/TableBase/use-table-tree-state.js +1 -1
- package/dist/components/fields/Checkbox/Checkbox.js +3 -1
- package/dist/components/fields/Checkbox/Checkbox.js.map +1 -1
- package/dist/components/fields/Checkbox/CheckboxGroup.js +13 -13
- package/dist/components/fields/Checkbox/CheckboxGroup.js.map +1 -1
- package/dist/components/fields/Checkbox/context.js +1 -1
- package/dist/components/fields/ColorInput/ColorInput.js +32 -29
- package/dist/components/fields/ColorInput/ColorInput.js.map +1 -1
- package/dist/components/fields/ColorPicker/ColorPicker.d.ts +2 -0
- package/dist/components/fields/ColorPicker/ColorPicker.js +8 -5
- package/dist/components/fields/ColorPicker/ColorPicker.js.map +1 -1
- package/dist/components/fields/ColorSwatch/ColorSwatch.js +1 -1
- package/dist/components/fields/ColorSwatchGroup/ColorSwatchGroup.js +6 -3
- package/dist/components/fields/ColorSwatchGroup/ColorSwatchGroup.js.map +1 -1
- package/dist/components/fields/ComboBox/ComboBox.js +41 -30
- package/dist/components/fields/ComboBox/ComboBox.js.map +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 +2 -2
- package/dist/components/fields/DatePicker/DateRangeSeparatedPicker.js +246 -238
- package/dist/components/fields/DatePicker/DateRangeSeparatedPicker.js.map +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 +22 -2
- package/dist/components/fields/FileInput/FileInput.js.map +1 -1
- package/dist/components/fields/FilterListBox/FilterListBox.js +5 -1
- package/dist/components/fields/FilterListBox/FilterListBox.js.map +1 -1
- package/dist/components/fields/FilterPicker/FilterPicker.d.ts +4 -2
- package/dist/components/fields/FilterPicker/FilterPicker.js +3 -2
- package/dist/components/fields/FilterPicker/FilterPicker.js.map +1 -1
- package/dist/components/fields/Input/Input.js +1 -1
- package/dist/components/fields/ListBox/DraggableListBox.js +1 -1
- package/dist/components/fields/ListBox/ListBox.js +8 -7
- package/dist/components/fields/ListBox/ListBox.js.map +1 -1
- package/dist/components/fields/ListBox/optionId.js +1 -1
- package/dist/components/fields/ListBoxPopover/ListBoxPopover.js +36 -32
- package/dist/components/fields/ListBoxPopover/ListBoxPopover.js.map +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.js +1 -1
- package/dist/components/fields/Picker/Picker.d.ts +4 -2
- package/dist/components/fields/Picker/Picker.js +3 -2
- package/dist/components/fields/Picker/Picker.js.map +1 -1
- package/dist/components/fields/RadioGroup/Radio.d.ts +24 -24
- package/dist/components/fields/RadioGroup/Radio.js +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.js +1 -1
- package/dist/components/fields/Select/Select.d.ts +4 -4
- package/dist/components/fields/Select/Select.js +35 -32
- package/dist/components/fields/Select/Select.js.map +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/TagInput/TagInput.js +1 -1
- package/dist/components/fields/TagInput/TagList.js +1 -1
- package/dist/components/fields/TagInput/useActiveOption.js +1 -1
- package/dist/components/fields/TagInput/useTagError.js +1 -1
- package/dist/components/fields/TextArea/TextArea.js +1 -1
- package/dist/components/fields/TextInput/TextInput.js +1 -1
- package/dist/components/fields/TextInput/TextInputBase.js +1 -1
- package/dist/components/fields/TextInput/useAutoSizeTextArea.js +1 -1
- package/dist/components/fields/TextInputMapper/TextInputMapper.js +13 -5
- package/dist/components/fields/TextInputMapper/TextInputMapper.js.map +1 -1
- package/dist/components/fields/TriggerActions.js +1 -1
- package/dist/components/fields/color/ColorPanel.js +62 -53
- package/dist/components/fields/color/ColorPanel.js.map +1 -1
- package/dist/components/fields/color/channels.js +1 -1
- package/dist/components/fields/color/color.js +1 -1
- package/dist/components/fields/color/context.js +1 -1
- package/dist/components/form/FieldWrapper/FieldWrapper.d.ts +1 -0
- package/dist/components/form/FieldWrapper/FieldWrapper.js +133 -109
- package/dist/components/form/FieldWrapper/FieldWrapper.js.map +1 -1
- package/dist/components/form/FieldWrapper/field-description.js +102 -0
- package/dist/components/form/FieldWrapper/field-description.js.map +1 -0
- package/dist/components/form/FieldWrapper/types.d.ts +6 -1
- package/dist/components/form/Form/Field.js +1 -1
- package/dist/components/form/Form/Form.js +1 -1
- package/dist/components/form/Form/ModernFormRoot.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/backend.js +1 -1
- package/dist/components/form/Form/index.js +1 -1
- package/dist/components/form/Form/modern/actions.js +1 -1
- package/dist/components/form/Form/modern/context.js +1 -1
- package/dist/components/form/Form/modern/controller.js +1 -1
- package/dist/components/form/Form/modern/field-binding.js +1 -1
- package/dist/components/form/Form/modern/field.js +1 -1
- package/dist/components/form/Form/modern/react.js +1 -1
- package/dist/components/form/Form/modern/store.js +1 -1
- package/dist/components/form/Form/modern/validation.js +1 -1
- package/dist/components/form/Form/modern/values.js +1 -1
- package/dist/components/form/Form/reset-unbound-controls.js +1 -1
- package/dist/components/form/Form/use-field/use-field-binding.js +1 -1
- package/dist/components/form/Form/use-field/use-field-props.js +17 -4
- package/dist/components/form/Form/use-field/use-field-props.js.map +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 +27 -24
- package/dist/components/form/Label.js.map +1 -1
- package/dist/components/form/legacy-tooltip.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 +2 -1
- package/dist/components/form/wrapper.js.map +1 -1
- package/dist/components/helpers/DisplayTransition/DisplayTransition.js +1 -1
- package/dist/components/helpers/IconSwitch/IconSwitch.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.js +1 -1
- package/dist/components/navigation/Pagination/use-pagination.js +1 -1
- package/dist/components/navigation/Tabs/BoardDragActiveProvider.js +1 -1
- 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.d.ts +3 -3
- 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/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/CalendarHeader.js +1 -1
- package/dist/components/other/Calendar/CalendarPanel.js +1 -1
- package/dist/components/other/Calendar/PeriodCalendar.js +1 -1
- package/dist/components/other/Calendar/PeriodGrid.js +1 -1
- package/dist/components/other/Calendar/RangeCalendar.js +1 -1
- package/dist/components/other/Calendar/styled.js +1 -1
- package/dist/components/other/CubeLogo/CubeLogo.js +1 -1
- package/dist/components/other/NoDataIcon/NoDataIcon.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/ModernDialogForm.js +1 -1
- package/dist/components/overlays/Dialog/context.js +1 -1
- package/dist/components/overlays/Dialog/default-button-text.js +1 -1
- package/dist/components/overlays/Dialog/use-content-overflow.js +1 -1
- package/dist/components/overlays/Dialog/use-dialog-container.js +1 -1
- package/dist/components/overlays/Modal/Modal.js +44 -24
- package/dist/components/overlays/Modal/Modal.js.map +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 +34 -24
- package/dist/components/overlays/Modal/Popover.js.map +1 -1
- package/dist/components/overlays/Modal/Tray.js +45 -25
- package/dist/components/overlays/Modal/Tray.js.map +1 -1
- package/dist/components/overlays/Modal/Underlay.js +1 -1
- package/dist/components/overlays/Modal/modal-containment.js +145 -0
- package/dist/components/overlays/Modal/modal-containment.js.map +1 -0
- 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 +2 -2
- 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 +50 -47
- package/dist/components/overlays/Tooltip/Tooltip.js.map +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/overlays/Tooltip/split-trigger-props.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 +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 +2 -2
- 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 +3 -2
- package/dist/i18n/I18nProvider.js.map +1 -1
- package/dist/i18n/createFormatter.js +1 -1
- package/dist/i18n/index.d.ts +2 -1
- package/dist/i18n/index.js +3 -2
- package/dist/i18n/index.js.map +1 -1
- package/dist/i18n/instance.d.ts +2 -3
- package/dist/i18n/instance.js +3 -4
- package/dist/i18n/instance.js.map +1 -1
- package/dist/i18n/locales/de-DE/uikit.js +36 -5
- package/dist/i18n/locales/en-US/uikit.js +36 -5
- package/dist/i18n/locales/en-US/uikit.json.d.ts +41 -4
- package/dist/i18n/locales/es-ES/uikit.js +36 -5
- package/dist/i18n/locales/es-MX/uikit.js +36 -5
- package/dist/i18n/locales/fr-FR/uikit.js +36 -5
- package/dist/i18n/locales/it-IT/uikit.js +36 -5
- package/dist/i18n/locales/ja-JP/uikit.js +36 -5
- package/dist/i18n/locales/nb-NO/uikit.js +36 -5
- package/dist/i18n/locales/pt-BR/uikit.js +36 -5
- package/dist/i18n/locales/pt-PT/uikit.js +36 -5
- package/dist/i18n/locales/sv-SE/uikit.js +36 -5
- package/dist/i18n/locales/vi-VN/uikit.js +36 -5
- package/dist/i18n/locales.js +1 -1
- package/dist/i18n/namespace.d.ts +11 -0
- package/dist/i18n/namespace.js +12 -0
- package/dist/i18n/namespace.js.map +1 -0
- package/dist/i18n/useFormatter.js +1 -1
- package/dist/i18n/useI18n.js +5 -3
- package/dist/i18n/useI18n.js.map +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/ArrowNarrowDownIcon.js +1 -1
- package/dist/icons/ArrowNarrowUpIcon.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 +9 -7
- package/dist/index.js +7 -6
- package/dist/index.js.map +1 -1
- package/dist/probe/canonicalize.js +1 -1
- package/dist/probe/css.js +1 -1
- package/dist/probe/index.js +1 -1
- package/dist/provider.js +2 -2
- package/dist/provider.js.map +1 -1
- package/dist/providers/TrackingProvider.js +1 -1
- package/dist/providers/navigation-url.js +11 -0
- package/dist/providers/navigation-url.js.map +1 -0
- package/dist/providers/navigationAdapter.default.js +1 -1
- package/dist/providers/use-navigation.js +19 -0
- package/dist/providers/use-navigation.js.map +1 -0
- package/dist/tokens/all-tokens.js +1 -1
- package/dist/tokens/base.js +1 -1
- package/dist/tokens/color-seed.js +1 -1
- package/dist/tokens/color-theme.js +1 -1
- package/dist/tokens/colors.js +1 -1
- package/dist/tokens/layout.js +1 -1
- package/dist/tokens/lazy-styles.js +1 -1
- package/dist/tokens/legacy-color.js +1 -1
- package/dist/tokens/palette-config.js +1 -1
- package/dist/tokens/palette.js +1 -1
- package/dist/tokens/resolve.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.js +1 -1
- package/dist/utils/ResizeSensor.js +1 -1
- package/dist/utils/colors.js +1 -1
- package/dist/utils/dotize.js +1 -1
- 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/disabledProps.js +1 -1
- package/dist/utils/react/forwardRefWithGenerics.js +1 -1
- package/dist/utils/react/index.js +1 -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/overlayKeyPropagation.js +1 -1
- package/dist/utils/react/programmaticFocus.js +1 -1
- package/dist/utils/react/resolveIcon.js +1 -1
- package/dist/utils/react/sharedStore.js +1 -1
- package/dist/utils/react/useBufferedValue.js +1 -1
- 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/useOverlayEscapeGuard.js +1 -1
- package/dist/utils/react/usePopoverSync.js +1 -1
- package/dist/utils/react/useQaProps.js +1 -1
- package/dist/utils/react/useScheme.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/Usage.md +4 -0
- package/docs/components/CollectionItem.md +5 -1
- package/docs/components/actions/CommandMenu.md +46 -18
- package/docs/components/actions/Menu.md +124 -19
- package/docs/components/content/Placeholder.md +2 -0
- package/docs/components/content/Skeleton.md +2 -0
- package/docs/components/data/DataTable.md +3 -0
- package/docs/components/data/ItemTable.md +11 -1
- package/docs/components/overlays/Dialog.md +1 -1
- package/docs/components/overlays/DialogContainer.md +1 -2
- package/docs/components/overlays/DialogTrigger.md +1 -0
- package/package.json +3 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.194.0 | Cube Dev Team */
|
|
2
2
|
import { extractStyles } from "../../../utils/styles.js";
|
|
3
3
|
import { mergeProps as mergeProps$1 } from "../../../utils/react/mergeProps.js";
|
|
4
4
|
import { useFocus as useFocus$1 } from "../../../utils/react/interactions.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.194.0 | Cube Dev Team */
|
|
2
2
|
import themes_default from "../../../data/themes.js";
|
|
3
3
|
import { useAlert } from "./use-alert.js";
|
|
4
4
|
import { c } from "react/compiler-runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.194.0 | Cube Dev Team */
|
|
2
2
|
import { extractStyles } from "../../../utils/styles.js";
|
|
3
3
|
import { useDeprecationWarning } from "../../../_internal/hooks/use-deprecation-warning.js";
|
|
4
4
|
import { c } from "react/compiler-runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.194.0 | Cube Dev Team */
|
|
2
2
|
import { extractStyles } from "../../../utils/styles.js";
|
|
3
3
|
import { c } from "react/compiler-runtime";
|
|
4
4
|
import { CONTAINER_STYLES, Element, filterBaseProps } from "@tenphi/tasty";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.194.0 | Cube Dev Team */
|
|
2
2
|
import { _Item } from "../Item/Item.js";
|
|
3
3
|
import themes_default from "../../../data/themes.js";
|
|
4
4
|
import { c } from "react/compiler-runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.194.0 | Cube Dev Team */
|
|
2
2
|
import { extractStyles } from "../../../utils/styles.js";
|
|
3
3
|
import { c } from "react/compiler-runtime";
|
|
4
4
|
import { CONTAINER_STYLES, filterBaseProps, tasty } from "@tenphi/tasty";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.194.0 | Cube Dev Team */
|
|
2
2
|
import { extractStyles } from "../../utils/styles.js";
|
|
3
3
|
import { useSlotProps } from "../../utils/react/Slots.js";
|
|
4
4
|
import { c } from "react/compiler-runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.194.0 | Cube Dev Team */
|
|
2
2
|
import { extractStyles } from "../../../utils/styles.js";
|
|
3
3
|
import { useTimer } from "../../../_internal/hooks/use-timer/use-timer.js";
|
|
4
4
|
import { useI18n } from "../../../i18n/useI18n.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
2
|
import { Property } from "../../../node_modules/.pnpm/csstype@3.1.2/node_modules/csstype/index.js";
|
|
3
3
|
import { CubeTooltipProviderProps } from "../../overlays/Tooltip/TooltipProvider.js";
|
|
4
|
-
import { DynamicIcon } from "../../../utils/react/resolveIcon.js";
|
|
5
4
|
import { NavigateArg } from "../../../providers/navigation.types.js";
|
|
5
|
+
import { DynamicIcon } from "../../../utils/react/resolveIcon.js";
|
|
6
6
|
import { ButtonMods } from "../../actions/Button/Button.js";
|
|
7
7
|
import "../../actions/index.js";
|
|
8
8
|
import { CubePrismCodeProps } from "../PrismCode/PrismCode.js";
|
|
@@ -33,7 +33,7 @@ declare const ActionButton: react.ComponentType<{
|
|
|
33
33
|
as?: "a" | "button" | "div" | "span" | react.ComponentType<any> | undefined;
|
|
34
34
|
align?: _tenphi_tasty0.StyleValue<"start" | (string & {}) | "center" | "inherit" | "-moz-initial" | "initial" | "revert" | "revert-layer" | "unset" | "normal" | "end" | "flex-end" | "flex-start" | "self-end" | "self-start" | "baseline" | "stretch" | "space-around" | "space-between" | "space-evenly" | undefined> | _tenphi_tasty0.StyleValueStateMap<"start" | (string & {}) | "center" | "inherit" | "-moz-initial" | "initial" | "revert" | "revert-layer" | "unset" | "normal" | "end" | "flex-end" | "flex-start" | "self-end" | "self-start" | "baseline" | "stretch" | "space-around" | "space-between" | "space-evenly" | undefined>;
|
|
35
35
|
border?: _tenphi_tasty0.StyleValue<boolean | Property.Border<string | number> | undefined> | _tenphi_tasty0.StyleValueStateMap<boolean | Property.Border<string | number> | undefined>;
|
|
36
|
-
color?: _tenphi_tasty0.StyleValue<boolean | ((string & {}) | `#${string}` | `#${string}.0` | `#${string}.
|
|
36
|
+
color?: _tenphi_tasty0.StyleValue<boolean | ((string & {}) | `#${string}` | `#${string}.0` | `#${string}.3` | `#${string}.7` | `#${string}.4` | `#${string}.1` | `#${string}.2` | `#${string}.5` | `#${string}.6` | `#${string}.8` | `#${string}.9` | `#${string}.00` | `#${string}.03` | `#${string}.07` | `#${string}.04` | `#${string}.01` | `#${string}.02` | `#${string}.05` | `#${string}.06` | `#${string}.08` | `#${string}.09` | `#${string}.30` | `#${string}.33` | `#${string}.37` | `#${string}.34` | `#${string}.31` | `#${string}.32` | `#${string}.35` | `#${string}.36` | `#${string}.38` | `#${string}.39` | `#${string}.70` | `#${string}.73` | `#${string}.77` | `#${string}.74` | `#${string}.71` | `#${string}.72` | `#${string}.75` | `#${string}.76` | `#${string}.78` | `#${string}.79` | `#${string}.40` | `#${string}.43` | `#${string}.47` | `#${string}.44` | `#${string}.41` | `#${string}.42` | `#${string}.45` | `#${string}.46` | `#${string}.48` | `#${string}.49` | `#${string}.10` | `#${string}.13` | `#${string}.17` | `#${string}.14` | `#${string}.11` | `#${string}.12` | `#${string}.15` | `#${string}.16` | `#${string}.18` | `#${string}.19` | `#${string}.20` | `#${string}.23` | `#${string}.27` | `#${string}.24` | `#${string}.21` | `#${string}.22` | `#${string}.25` | `#${string}.26` | `#${string}.28` | `#${string}.29` | `#${string}.50` | `#${string}.53` | `#${string}.57` | `#${string}.54` | `#${string}.51` | `#${string}.52` | `#${string}.55` | `#${string}.56` | `#${string}.58` | `#${string}.59` | `#${string}.60` | `#${string}.63` | `#${string}.67` | `#${string}.64` | `#${string}.61` | `#${string}.62` | `#${string}.65` | `#${string}.66` | `#${string}.68` | `#${string}.69` | `#${string}.80` | `#${string}.83` | `#${string}.87` | `#${string}.84` | `#${string}.81` | `#${string}.82` | `#${string}.85` | `#${string}.86` | `#${string}.88` | `#${string}.89` | `#${string}.90` | `#${string}.93` | `#${string}.97` | `#${string}.94` | `#${string}.91` | `#${string}.92` | `#${string}.95` | `#${string}.96` | `#${string}.98` | `#${string}.99` | `#${string}.100` | `rgb(${string})` | `hsl(${string})` | `okhsl(${string})` | `oklch(${string})`) | undefined> | _tenphi_tasty0.StyleValueStateMap<boolean | ((string & {}) | `#${string}` | `#${string}.0` | `#${string}.3` | `#${string}.7` | `#${string}.4` | `#${string}.1` | `#${string}.2` | `#${string}.5` | `#${string}.6` | `#${string}.8` | `#${string}.9` | `#${string}.00` | `#${string}.03` | `#${string}.07` | `#${string}.04` | `#${string}.01` | `#${string}.02` | `#${string}.05` | `#${string}.06` | `#${string}.08` | `#${string}.09` | `#${string}.30` | `#${string}.33` | `#${string}.37` | `#${string}.34` | `#${string}.31` | `#${string}.32` | `#${string}.35` | `#${string}.36` | `#${string}.38` | `#${string}.39` | `#${string}.70` | `#${string}.73` | `#${string}.77` | `#${string}.74` | `#${string}.71` | `#${string}.72` | `#${string}.75` | `#${string}.76` | `#${string}.78` | `#${string}.79` | `#${string}.40` | `#${string}.43` | `#${string}.47` | `#${string}.44` | `#${string}.41` | `#${string}.42` | `#${string}.45` | `#${string}.46` | `#${string}.48` | `#${string}.49` | `#${string}.10` | `#${string}.13` | `#${string}.17` | `#${string}.14` | `#${string}.11` | `#${string}.12` | `#${string}.15` | `#${string}.16` | `#${string}.18` | `#${string}.19` | `#${string}.20` | `#${string}.23` | `#${string}.27` | `#${string}.24` | `#${string}.21` | `#${string}.22` | `#${string}.25` | `#${string}.26` | `#${string}.28` | `#${string}.29` | `#${string}.50` | `#${string}.53` | `#${string}.57` | `#${string}.54` | `#${string}.51` | `#${string}.52` | `#${string}.55` | `#${string}.56` | `#${string}.58` | `#${string}.59` | `#${string}.60` | `#${string}.63` | `#${string}.67` | `#${string}.64` | `#${string}.61` | `#${string}.62` | `#${string}.65` | `#${string}.66` | `#${string}.68` | `#${string}.69` | `#${string}.80` | `#${string}.83` | `#${string}.87` | `#${string}.84` | `#${string}.81` | `#${string}.82` | `#${string}.85` | `#${string}.86` | `#${string}.88` | `#${string}.89` | `#${string}.90` | `#${string}.93` | `#${string}.97` | `#${string}.94` | `#${string}.91` | `#${string}.92` | `#${string}.95` | `#${string}.96` | `#${string}.98` | `#${string}.99` | `#${string}.100` | `rgb(${string})` | `hsl(${string})` | `okhsl(${string})` | `oklch(${string})`) | undefined>;
|
|
37
37
|
height?: _tenphi_tasty0.StyleValue<boolean | Property.Height<string | number> | undefined> | _tenphi_tasty0.StyleValueStateMap<boolean | Property.Height<string | number> | undefined>;
|
|
38
38
|
size?: number | "small" | (string & {}) | "inline" | "xsmall" | "medium" | "large" | "xlarge" | undefined;
|
|
39
39
|
width?: _tenphi_tasty0.StyleValue<boolean | Property.Width<string | number> | undefined> | _tenphi_tasty0.StyleValueStateMap<boolean | Property.Width<string | number> | undefined>;
|
|
@@ -123,7 +123,7 @@ declare const ActionButton: react.ComponentType<{
|
|
|
123
123
|
start?: number | undefined;
|
|
124
124
|
step?: string | number | undefined;
|
|
125
125
|
target?: string | undefined;
|
|
126
|
-
type?: "link" | "outline" | (string & {}) | "clear" | "primary" | "
|
|
126
|
+
type?: "link" | "outline" | (string & {}) | "clear" | "primary" | "outline-2" | "danger" | undefined;
|
|
127
127
|
useMap?: string | undefined;
|
|
128
128
|
value?: string | number | readonly string[] | undefined;
|
|
129
129
|
wmode?: string | undefined;
|
|
@@ -396,7 +396,7 @@ declare const ActionButton: react.ComponentType<{
|
|
|
396
396
|
onTransitionRunCapture?: react.TransitionEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | HTMLSpanElement> | undefined;
|
|
397
397
|
onTransitionStart?: react.TransitionEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | HTMLSpanElement> | undefined;
|
|
398
398
|
onTransitionStartCapture?: react.TransitionEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | HTMLSpanElement> | undefined;
|
|
399
|
-
fill?: _tenphi_tasty0.StyleValue<boolean | ((string & {}) | `#${string}` | `#${string}.0` | `#${string}.
|
|
399
|
+
fill?: _tenphi_tasty0.StyleValue<boolean | ((string & {}) | `#${string}` | `#${string}.0` | `#${string}.3` | `#${string}.7` | `#${string}.4` | `#${string}.1` | `#${string}.2` | `#${string}.5` | `#${string}.6` | `#${string}.8` | `#${string}.9` | `#${string}.00` | `#${string}.03` | `#${string}.07` | `#${string}.04` | `#${string}.01` | `#${string}.02` | `#${string}.05` | `#${string}.06` | `#${string}.08` | `#${string}.09` | `#${string}.30` | `#${string}.33` | `#${string}.37` | `#${string}.34` | `#${string}.31` | `#${string}.32` | `#${string}.35` | `#${string}.36` | `#${string}.38` | `#${string}.39` | `#${string}.70` | `#${string}.73` | `#${string}.77` | `#${string}.74` | `#${string}.71` | `#${string}.72` | `#${string}.75` | `#${string}.76` | `#${string}.78` | `#${string}.79` | `#${string}.40` | `#${string}.43` | `#${string}.47` | `#${string}.44` | `#${string}.41` | `#${string}.42` | `#${string}.45` | `#${string}.46` | `#${string}.48` | `#${string}.49` | `#${string}.10` | `#${string}.13` | `#${string}.17` | `#${string}.14` | `#${string}.11` | `#${string}.12` | `#${string}.15` | `#${string}.16` | `#${string}.18` | `#${string}.19` | `#${string}.20` | `#${string}.23` | `#${string}.27` | `#${string}.24` | `#${string}.21` | `#${string}.22` | `#${string}.25` | `#${string}.26` | `#${string}.28` | `#${string}.29` | `#${string}.50` | `#${string}.53` | `#${string}.57` | `#${string}.54` | `#${string}.51` | `#${string}.52` | `#${string}.55` | `#${string}.56` | `#${string}.58` | `#${string}.59` | `#${string}.60` | `#${string}.63` | `#${string}.67` | `#${string}.64` | `#${string}.61` | `#${string}.62` | `#${string}.65` | `#${string}.66` | `#${string}.68` | `#${string}.69` | `#${string}.80` | `#${string}.83` | `#${string}.87` | `#${string}.84` | `#${string}.81` | `#${string}.82` | `#${string}.85` | `#${string}.86` | `#${string}.88` | `#${string}.89` | `#${string}.90` | `#${string}.93` | `#${string}.97` | `#${string}.94` | `#${string}.91` | `#${string}.92` | `#${string}.95` | `#${string}.96` | `#${string}.98` | `#${string}.99` | `#${string}.100` | `rgb(${string})` | `hsl(${string})` | `okhsl(${string})` | `oklch(${string})`) | undefined> | _tenphi_tasty0.StyleValueStateMap<boolean | ((string & {}) | `#${string}` | `#${string}.0` | `#${string}.3` | `#${string}.7` | `#${string}.4` | `#${string}.1` | `#${string}.2` | `#${string}.5` | `#${string}.6` | `#${string}.8` | `#${string}.9` | `#${string}.00` | `#${string}.03` | `#${string}.07` | `#${string}.04` | `#${string}.01` | `#${string}.02` | `#${string}.05` | `#${string}.06` | `#${string}.08` | `#${string}.09` | `#${string}.30` | `#${string}.33` | `#${string}.37` | `#${string}.34` | `#${string}.31` | `#${string}.32` | `#${string}.35` | `#${string}.36` | `#${string}.38` | `#${string}.39` | `#${string}.70` | `#${string}.73` | `#${string}.77` | `#${string}.74` | `#${string}.71` | `#${string}.72` | `#${string}.75` | `#${string}.76` | `#${string}.78` | `#${string}.79` | `#${string}.40` | `#${string}.43` | `#${string}.47` | `#${string}.44` | `#${string}.41` | `#${string}.42` | `#${string}.45` | `#${string}.46` | `#${string}.48` | `#${string}.49` | `#${string}.10` | `#${string}.13` | `#${string}.17` | `#${string}.14` | `#${string}.11` | `#${string}.12` | `#${string}.15` | `#${string}.16` | `#${string}.18` | `#${string}.19` | `#${string}.20` | `#${string}.23` | `#${string}.27` | `#${string}.24` | `#${string}.21` | `#${string}.22` | `#${string}.25` | `#${string}.26` | `#${string}.28` | `#${string}.29` | `#${string}.50` | `#${string}.53` | `#${string}.57` | `#${string}.54` | `#${string}.51` | `#${string}.52` | `#${string}.55` | `#${string}.56` | `#${string}.58` | `#${string}.59` | `#${string}.60` | `#${string}.63` | `#${string}.67` | `#${string}.64` | `#${string}.61` | `#${string}.62` | `#${string}.65` | `#${string}.66` | `#${string}.68` | `#${string}.69` | `#${string}.80` | `#${string}.83` | `#${string}.87` | `#${string}.84` | `#${string}.81` | `#${string}.82` | `#${string}.85` | `#${string}.86` | `#${string}.88` | `#${string}.89` | `#${string}.90` | `#${string}.93` | `#${string}.97` | `#${string}.94` | `#${string}.91` | `#${string}.92` | `#${string}.95` | `#${string}.96` | `#${string}.98` | `#${string}.99` | `#${string}.100` | `rgb(${string})` | `hsl(${string})` | `okhsl(${string})` | `oklch(${string})`) | undefined>;
|
|
400
400
|
font?: _tenphi_tasty0.StyleValue<boolean | Property.FontFamily | undefined> | _tenphi_tasty0.StyleValueStateMap<boolean | Property.FontFamily | undefined>;
|
|
401
401
|
outline?: _tenphi_tasty0.StyleValue<string | boolean | undefined> | _tenphi_tasty0.StyleValueStateMap<string | boolean | undefined>;
|
|
402
402
|
gap?: _tenphi_tasty0.StyleValue<boolean | Property.Gap<string | number> | undefined> | _tenphi_tasty0.StyleValueStateMap<boolean | Property.Gap<string | number> | undefined>;
|
|
@@ -471,13 +471,18 @@ declare const ActionButton: react.ComponentType<{
|
|
|
471
471
|
isHidden?: boolean | undefined;
|
|
472
472
|
isDisabled?: boolean | undefined;
|
|
473
473
|
isChecked?: boolean | undefined;
|
|
474
|
-
theme?: "default" | (string & {}) | "current" | "note" | "danger" | "success" | "
|
|
474
|
+
theme?: "default" | (string & {}) | "current" | "note" | "danger" | "success" | "special" | "warning" | undefined;
|
|
475
475
|
tokens?: _tenphi_tasty0.Tokens | undefined;
|
|
476
476
|
key?: react.Key | null | undefined;
|
|
477
477
|
tooltip?: string | boolean | (Omit<CubeTooltipProviderProps, "children"> & {
|
|
478
478
|
auto?: boolean;
|
|
479
479
|
}) | undefined;
|
|
480
|
+
icon?: DynamicIcon<ButtonMods>;
|
|
481
|
+
rightIcon?: DynamicIcon<ButtonMods>;
|
|
482
|
+
isSelected?: boolean | undefined;
|
|
480
483
|
htmlType?: "button" | "submit" | "reset" | undefined;
|
|
484
|
+
isLoading?: boolean | undefined;
|
|
485
|
+
defaultTooltipPlacement?: react_aria0.Placement | undefined;
|
|
481
486
|
onPress?: ((e: react_aria0.PressEvent) => void) | undefined;
|
|
482
487
|
onPressStart?: ((e: react_aria0.PressEvent) => void) | undefined;
|
|
483
488
|
onPressEnd?: ((e: react_aria0.PressEvent) => void) | undefined;
|
|
@@ -488,11 +493,6 @@ declare const ActionButton: react.ComponentType<{
|
|
|
488
493
|
preventFocusOnPress?: boolean | undefined;
|
|
489
494
|
excludeFromTabOrder?: boolean | undefined;
|
|
490
495
|
to?: NavigateArg | undefined;
|
|
491
|
-
icon?: DynamicIcon<ButtonMods>;
|
|
492
|
-
isLoading?: boolean | undefined;
|
|
493
|
-
isSelected?: boolean | undefined;
|
|
494
|
-
defaultTooltipPlacement?: react_aria0.Placement | undefined;
|
|
495
|
-
rightIcon?: DynamicIcon<ButtonMods>;
|
|
496
496
|
} & {}>;
|
|
497
497
|
interface CubeCopySnippetProps extends CubeCardProps {
|
|
498
498
|
/** The code snippet */
|
|
@@ -544,7 +544,7 @@ declare const _CopySnippet: typeof CopySnippet & {
|
|
|
544
544
|
as?: "a" | "button" | "div" | "span" | react.ComponentType<any> | undefined;
|
|
545
545
|
align?: _tenphi_tasty0.StyleValue<"start" | (string & {}) | "center" | "inherit" | "-moz-initial" | "initial" | "revert" | "revert-layer" | "unset" | "normal" | "end" | "flex-end" | "flex-start" | "self-end" | "self-start" | "baseline" | "stretch" | "space-around" | "space-between" | "space-evenly" | undefined> | _tenphi_tasty0.StyleValueStateMap<"start" | (string & {}) | "center" | "inherit" | "-moz-initial" | "initial" | "revert" | "revert-layer" | "unset" | "normal" | "end" | "flex-end" | "flex-start" | "self-end" | "self-start" | "baseline" | "stretch" | "space-around" | "space-between" | "space-evenly" | undefined>;
|
|
546
546
|
border?: _tenphi_tasty0.StyleValue<boolean | Property.Border<string | number> | undefined> | _tenphi_tasty0.StyleValueStateMap<boolean | Property.Border<string | number> | undefined>;
|
|
547
|
-
color?: _tenphi_tasty0.StyleValue<boolean | ((string & {}) | `#${string}` | `#${string}.0` | `#${string}.
|
|
547
|
+
color?: _tenphi_tasty0.StyleValue<boolean | ((string & {}) | `#${string}` | `#${string}.0` | `#${string}.3` | `#${string}.7` | `#${string}.4` | `#${string}.1` | `#${string}.2` | `#${string}.5` | `#${string}.6` | `#${string}.8` | `#${string}.9` | `#${string}.00` | `#${string}.03` | `#${string}.07` | `#${string}.04` | `#${string}.01` | `#${string}.02` | `#${string}.05` | `#${string}.06` | `#${string}.08` | `#${string}.09` | `#${string}.30` | `#${string}.33` | `#${string}.37` | `#${string}.34` | `#${string}.31` | `#${string}.32` | `#${string}.35` | `#${string}.36` | `#${string}.38` | `#${string}.39` | `#${string}.70` | `#${string}.73` | `#${string}.77` | `#${string}.74` | `#${string}.71` | `#${string}.72` | `#${string}.75` | `#${string}.76` | `#${string}.78` | `#${string}.79` | `#${string}.40` | `#${string}.43` | `#${string}.47` | `#${string}.44` | `#${string}.41` | `#${string}.42` | `#${string}.45` | `#${string}.46` | `#${string}.48` | `#${string}.49` | `#${string}.10` | `#${string}.13` | `#${string}.17` | `#${string}.14` | `#${string}.11` | `#${string}.12` | `#${string}.15` | `#${string}.16` | `#${string}.18` | `#${string}.19` | `#${string}.20` | `#${string}.23` | `#${string}.27` | `#${string}.24` | `#${string}.21` | `#${string}.22` | `#${string}.25` | `#${string}.26` | `#${string}.28` | `#${string}.29` | `#${string}.50` | `#${string}.53` | `#${string}.57` | `#${string}.54` | `#${string}.51` | `#${string}.52` | `#${string}.55` | `#${string}.56` | `#${string}.58` | `#${string}.59` | `#${string}.60` | `#${string}.63` | `#${string}.67` | `#${string}.64` | `#${string}.61` | `#${string}.62` | `#${string}.65` | `#${string}.66` | `#${string}.68` | `#${string}.69` | `#${string}.80` | `#${string}.83` | `#${string}.87` | `#${string}.84` | `#${string}.81` | `#${string}.82` | `#${string}.85` | `#${string}.86` | `#${string}.88` | `#${string}.89` | `#${string}.90` | `#${string}.93` | `#${string}.97` | `#${string}.94` | `#${string}.91` | `#${string}.92` | `#${string}.95` | `#${string}.96` | `#${string}.98` | `#${string}.99` | `#${string}.100` | `rgb(${string})` | `hsl(${string})` | `okhsl(${string})` | `oklch(${string})`) | undefined> | _tenphi_tasty0.StyleValueStateMap<boolean | ((string & {}) | `#${string}` | `#${string}.0` | `#${string}.3` | `#${string}.7` | `#${string}.4` | `#${string}.1` | `#${string}.2` | `#${string}.5` | `#${string}.6` | `#${string}.8` | `#${string}.9` | `#${string}.00` | `#${string}.03` | `#${string}.07` | `#${string}.04` | `#${string}.01` | `#${string}.02` | `#${string}.05` | `#${string}.06` | `#${string}.08` | `#${string}.09` | `#${string}.30` | `#${string}.33` | `#${string}.37` | `#${string}.34` | `#${string}.31` | `#${string}.32` | `#${string}.35` | `#${string}.36` | `#${string}.38` | `#${string}.39` | `#${string}.70` | `#${string}.73` | `#${string}.77` | `#${string}.74` | `#${string}.71` | `#${string}.72` | `#${string}.75` | `#${string}.76` | `#${string}.78` | `#${string}.79` | `#${string}.40` | `#${string}.43` | `#${string}.47` | `#${string}.44` | `#${string}.41` | `#${string}.42` | `#${string}.45` | `#${string}.46` | `#${string}.48` | `#${string}.49` | `#${string}.10` | `#${string}.13` | `#${string}.17` | `#${string}.14` | `#${string}.11` | `#${string}.12` | `#${string}.15` | `#${string}.16` | `#${string}.18` | `#${string}.19` | `#${string}.20` | `#${string}.23` | `#${string}.27` | `#${string}.24` | `#${string}.21` | `#${string}.22` | `#${string}.25` | `#${string}.26` | `#${string}.28` | `#${string}.29` | `#${string}.50` | `#${string}.53` | `#${string}.57` | `#${string}.54` | `#${string}.51` | `#${string}.52` | `#${string}.55` | `#${string}.56` | `#${string}.58` | `#${string}.59` | `#${string}.60` | `#${string}.63` | `#${string}.67` | `#${string}.64` | `#${string}.61` | `#${string}.62` | `#${string}.65` | `#${string}.66` | `#${string}.68` | `#${string}.69` | `#${string}.80` | `#${string}.83` | `#${string}.87` | `#${string}.84` | `#${string}.81` | `#${string}.82` | `#${string}.85` | `#${string}.86` | `#${string}.88` | `#${string}.89` | `#${string}.90` | `#${string}.93` | `#${string}.97` | `#${string}.94` | `#${string}.91` | `#${string}.92` | `#${string}.95` | `#${string}.96` | `#${string}.98` | `#${string}.99` | `#${string}.100` | `rgb(${string})` | `hsl(${string})` | `okhsl(${string})` | `oklch(${string})`) | undefined>;
|
|
548
548
|
height?: _tenphi_tasty0.StyleValue<boolean | Property.Height<string | number> | undefined> | _tenphi_tasty0.StyleValueStateMap<boolean | Property.Height<string | number> | undefined>;
|
|
549
549
|
size?: number | "small" | (string & {}) | "inline" | "xsmall" | "medium" | "large" | "xlarge" | undefined;
|
|
550
550
|
width?: _tenphi_tasty0.StyleValue<boolean | Property.Width<string | number> | undefined> | _tenphi_tasty0.StyleValueStateMap<boolean | Property.Width<string | number> | undefined>;
|
|
@@ -634,7 +634,7 @@ declare const _CopySnippet: typeof CopySnippet & {
|
|
|
634
634
|
start?: number | undefined;
|
|
635
635
|
step?: string | number | undefined;
|
|
636
636
|
target?: string | undefined;
|
|
637
|
-
type?: "link" | "outline" | (string & {}) | "clear" | "primary" | "
|
|
637
|
+
type?: "link" | "outline" | (string & {}) | "clear" | "primary" | "outline-2" | "danger" | undefined;
|
|
638
638
|
useMap?: string | undefined;
|
|
639
639
|
value?: string | number | readonly string[] | undefined;
|
|
640
640
|
wmode?: string | undefined;
|
|
@@ -907,7 +907,7 @@ declare const _CopySnippet: typeof CopySnippet & {
|
|
|
907
907
|
onTransitionRunCapture?: react.TransitionEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | HTMLSpanElement> | undefined;
|
|
908
908
|
onTransitionStart?: react.TransitionEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | HTMLSpanElement> | undefined;
|
|
909
909
|
onTransitionStartCapture?: react.TransitionEventHandler<HTMLAnchorElement | HTMLButtonElement | HTMLDivElement | HTMLSpanElement> | undefined;
|
|
910
|
-
fill?: _tenphi_tasty0.StyleValue<boolean | ((string & {}) | `#${string}` | `#${string}.0` | `#${string}.
|
|
910
|
+
fill?: _tenphi_tasty0.StyleValue<boolean | ((string & {}) | `#${string}` | `#${string}.0` | `#${string}.3` | `#${string}.7` | `#${string}.4` | `#${string}.1` | `#${string}.2` | `#${string}.5` | `#${string}.6` | `#${string}.8` | `#${string}.9` | `#${string}.00` | `#${string}.03` | `#${string}.07` | `#${string}.04` | `#${string}.01` | `#${string}.02` | `#${string}.05` | `#${string}.06` | `#${string}.08` | `#${string}.09` | `#${string}.30` | `#${string}.33` | `#${string}.37` | `#${string}.34` | `#${string}.31` | `#${string}.32` | `#${string}.35` | `#${string}.36` | `#${string}.38` | `#${string}.39` | `#${string}.70` | `#${string}.73` | `#${string}.77` | `#${string}.74` | `#${string}.71` | `#${string}.72` | `#${string}.75` | `#${string}.76` | `#${string}.78` | `#${string}.79` | `#${string}.40` | `#${string}.43` | `#${string}.47` | `#${string}.44` | `#${string}.41` | `#${string}.42` | `#${string}.45` | `#${string}.46` | `#${string}.48` | `#${string}.49` | `#${string}.10` | `#${string}.13` | `#${string}.17` | `#${string}.14` | `#${string}.11` | `#${string}.12` | `#${string}.15` | `#${string}.16` | `#${string}.18` | `#${string}.19` | `#${string}.20` | `#${string}.23` | `#${string}.27` | `#${string}.24` | `#${string}.21` | `#${string}.22` | `#${string}.25` | `#${string}.26` | `#${string}.28` | `#${string}.29` | `#${string}.50` | `#${string}.53` | `#${string}.57` | `#${string}.54` | `#${string}.51` | `#${string}.52` | `#${string}.55` | `#${string}.56` | `#${string}.58` | `#${string}.59` | `#${string}.60` | `#${string}.63` | `#${string}.67` | `#${string}.64` | `#${string}.61` | `#${string}.62` | `#${string}.65` | `#${string}.66` | `#${string}.68` | `#${string}.69` | `#${string}.80` | `#${string}.83` | `#${string}.87` | `#${string}.84` | `#${string}.81` | `#${string}.82` | `#${string}.85` | `#${string}.86` | `#${string}.88` | `#${string}.89` | `#${string}.90` | `#${string}.93` | `#${string}.97` | `#${string}.94` | `#${string}.91` | `#${string}.92` | `#${string}.95` | `#${string}.96` | `#${string}.98` | `#${string}.99` | `#${string}.100` | `rgb(${string})` | `hsl(${string})` | `okhsl(${string})` | `oklch(${string})`) | undefined> | _tenphi_tasty0.StyleValueStateMap<boolean | ((string & {}) | `#${string}` | `#${string}.0` | `#${string}.3` | `#${string}.7` | `#${string}.4` | `#${string}.1` | `#${string}.2` | `#${string}.5` | `#${string}.6` | `#${string}.8` | `#${string}.9` | `#${string}.00` | `#${string}.03` | `#${string}.07` | `#${string}.04` | `#${string}.01` | `#${string}.02` | `#${string}.05` | `#${string}.06` | `#${string}.08` | `#${string}.09` | `#${string}.30` | `#${string}.33` | `#${string}.37` | `#${string}.34` | `#${string}.31` | `#${string}.32` | `#${string}.35` | `#${string}.36` | `#${string}.38` | `#${string}.39` | `#${string}.70` | `#${string}.73` | `#${string}.77` | `#${string}.74` | `#${string}.71` | `#${string}.72` | `#${string}.75` | `#${string}.76` | `#${string}.78` | `#${string}.79` | `#${string}.40` | `#${string}.43` | `#${string}.47` | `#${string}.44` | `#${string}.41` | `#${string}.42` | `#${string}.45` | `#${string}.46` | `#${string}.48` | `#${string}.49` | `#${string}.10` | `#${string}.13` | `#${string}.17` | `#${string}.14` | `#${string}.11` | `#${string}.12` | `#${string}.15` | `#${string}.16` | `#${string}.18` | `#${string}.19` | `#${string}.20` | `#${string}.23` | `#${string}.27` | `#${string}.24` | `#${string}.21` | `#${string}.22` | `#${string}.25` | `#${string}.26` | `#${string}.28` | `#${string}.29` | `#${string}.50` | `#${string}.53` | `#${string}.57` | `#${string}.54` | `#${string}.51` | `#${string}.52` | `#${string}.55` | `#${string}.56` | `#${string}.58` | `#${string}.59` | `#${string}.60` | `#${string}.63` | `#${string}.67` | `#${string}.64` | `#${string}.61` | `#${string}.62` | `#${string}.65` | `#${string}.66` | `#${string}.68` | `#${string}.69` | `#${string}.80` | `#${string}.83` | `#${string}.87` | `#${string}.84` | `#${string}.81` | `#${string}.82` | `#${string}.85` | `#${string}.86` | `#${string}.88` | `#${string}.89` | `#${string}.90` | `#${string}.93` | `#${string}.97` | `#${string}.94` | `#${string}.91` | `#${string}.92` | `#${string}.95` | `#${string}.96` | `#${string}.98` | `#${string}.99` | `#${string}.100` | `rgb(${string})` | `hsl(${string})` | `okhsl(${string})` | `oklch(${string})`) | undefined>;
|
|
911
911
|
font?: _tenphi_tasty0.StyleValue<boolean | Property.FontFamily | undefined> | _tenphi_tasty0.StyleValueStateMap<boolean | Property.FontFamily | undefined>;
|
|
912
912
|
outline?: _tenphi_tasty0.StyleValue<string | boolean | undefined> | _tenphi_tasty0.StyleValueStateMap<string | boolean | undefined>;
|
|
913
913
|
gap?: _tenphi_tasty0.StyleValue<boolean | Property.Gap<string | number> | undefined> | _tenphi_tasty0.StyleValueStateMap<boolean | Property.Gap<string | number> | undefined>;
|
|
@@ -982,13 +982,18 @@ declare const _CopySnippet: typeof CopySnippet & {
|
|
|
982
982
|
isHidden?: boolean | undefined;
|
|
983
983
|
isDisabled?: boolean | undefined;
|
|
984
984
|
isChecked?: boolean | undefined;
|
|
985
|
-
theme?: "default" | (string & {}) | "current" | "note" | "danger" | "success" | "
|
|
985
|
+
theme?: "default" | (string & {}) | "current" | "note" | "danger" | "success" | "special" | "warning" | undefined;
|
|
986
986
|
tokens?: _tenphi_tasty0.Tokens | undefined;
|
|
987
987
|
key?: react.Key | null | undefined;
|
|
988
988
|
tooltip?: string | boolean | (Omit<CubeTooltipProviderProps, "children"> & {
|
|
989
989
|
auto?: boolean;
|
|
990
990
|
}) | undefined;
|
|
991
|
+
icon?: DynamicIcon<ButtonMods>;
|
|
992
|
+
rightIcon?: DynamicIcon<ButtonMods>;
|
|
993
|
+
isSelected?: boolean | undefined;
|
|
991
994
|
htmlType?: "button" | "submit" | "reset" | undefined;
|
|
995
|
+
isLoading?: boolean | undefined;
|
|
996
|
+
defaultTooltipPlacement?: react_aria0.Placement | undefined;
|
|
992
997
|
onPress?: ((e: react_aria0.PressEvent) => void) | undefined;
|
|
993
998
|
onPressStart?: ((e: react_aria0.PressEvent) => void) | undefined;
|
|
994
999
|
onPressEnd?: ((e: react_aria0.PressEvent) => void) | undefined;
|
|
@@ -999,11 +1004,6 @@ declare const _CopySnippet: typeof CopySnippet & {
|
|
|
999
1004
|
preventFocusOnPress?: boolean | undefined;
|
|
1000
1005
|
excludeFromTabOrder?: boolean | undefined;
|
|
1001
1006
|
to?: NavigateArg | undefined;
|
|
1002
|
-
icon?: DynamicIcon<ButtonMods>;
|
|
1003
|
-
isLoading?: boolean | undefined;
|
|
1004
|
-
isSelected?: boolean | undefined;
|
|
1005
|
-
defaultTooltipPlacement?: react_aria0.Placement | undefined;
|
|
1006
|
-
rightIcon?: DynamicIcon<ButtonMods>;
|
|
1007
1007
|
} & {}>;
|
|
1008
1008
|
};
|
|
1009
1009
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.194.0 | Cube Dev Team */
|
|
2
2
|
import { _Tooltip } from "../../overlays/Tooltip/Tooltip.js";
|
|
3
3
|
import { TooltipTrigger } from "../../overlays/Tooltip/TooltipTrigger.js";
|
|
4
4
|
import { useI18n } from "../../../i18n/useI18n.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.194.0 | Cube Dev Team */
|
|
2
2
|
import { extractStyles, mergeStyleLayers } from "../../../utils/styles.js";
|
|
3
3
|
import { mergeRefs } from "../../../utils/react/useCombinedRefs.js";
|
|
4
4
|
import { DisplayTransition } from "../../helpers/DisplayTransition/DisplayTransition.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.194.0 | Cube Dev Team */
|
|
2
2
|
import { useSlotProps } from "../../utils/react/Slots.js";
|
|
3
3
|
import { useCombinedRefs } from "../../utils/react/useCombinedRefs.js";
|
|
4
4
|
import { c } from "react/compiler-runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.194.0 | Cube Dev Team */
|
|
2
2
|
import { extractStyles } from "../../utils/styles.js";
|
|
3
3
|
import { useSlotProps } from "../../utils/react/Slots.js";
|
|
4
4
|
import { c } from "react/compiler-runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.194.0 | Cube Dev Team */
|
|
2
2
|
import { extractStyles } from "../../utils/styles.js";
|
|
3
3
|
import { useSlotProps } from "../../utils/react/Slots.js";
|
|
4
4
|
import { c } from "react/compiler-runtime";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.194.0 | Cube Dev Team */
|
|
2
2
|
import { extractStyles } from "../../../utils/styles.js";
|
|
3
3
|
import { _Text } from "../Text.js";
|
|
4
|
+
import { useI18n } from "../../../i18n/useI18n.js";
|
|
4
5
|
import { useKeySymbols } from "../../../utils/react/useKeySymbols.js";
|
|
5
6
|
import { Space } from "../../layout/Space.js";
|
|
6
7
|
import { c } from "react/compiler-runtime";
|
|
@@ -12,7 +13,6 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
12
13
|
const StyledHotKeys = tasty(Space, {
|
|
13
14
|
qa: "HotKeys",
|
|
14
15
|
role: "group",
|
|
15
|
-
"aria-label": "Keyboard shortcuts",
|
|
16
16
|
styles: {
|
|
17
17
|
display: "inline-flex",
|
|
18
18
|
flow: "row",
|
|
@@ -52,8 +52,9 @@ const KeyElement = tasty({
|
|
|
52
52
|
}
|
|
53
53
|
});
|
|
54
54
|
function HotKeys(props, ref) {
|
|
55
|
-
const $ = c(
|
|
55
|
+
const $ = c(18);
|
|
56
56
|
const { children, type, ...otherProps } = props;
|
|
57
|
+
const { t } = useI18n();
|
|
57
58
|
let t0;
|
|
58
59
|
if ($[0] !== children) {
|
|
59
60
|
t0 = Children.toArray(children).join("");
|
|
@@ -64,57 +65,67 @@ function HotKeys(props, ref) {
|
|
|
64
65
|
const styles = extractStyles(otherProps, CONTAINER_STYLES);
|
|
65
66
|
const T0 = StyledHotKeys;
|
|
66
67
|
const t1 = "HotKeys";
|
|
67
|
-
|
|
68
|
+
let t2;
|
|
69
|
+
if ($[2] !== t) {
|
|
70
|
+
t2 = t("hotKeys.ariaLabel", "Keyboard shortcuts");
|
|
71
|
+
$[2] = t;
|
|
72
|
+
$[3] = t2;
|
|
73
|
+
} else t2 = $[3];
|
|
74
|
+
const t3 = filterBaseProps(otherProps, {
|
|
68
75
|
eventProps: true,
|
|
69
76
|
labelable: true
|
|
70
77
|
});
|
|
71
|
-
let
|
|
72
|
-
if ($[
|
|
73
|
-
let
|
|
74
|
-
if ($[
|
|
75
|
-
|
|
78
|
+
let t4;
|
|
79
|
+
if ($[4] !== parsedKeys || $[5] !== t || $[6] !== type) {
|
|
80
|
+
let t5;
|
|
81
|
+
if ($[8] !== t || $[9] !== type) {
|
|
82
|
+
t5 = (keyGroup, groupIndex) => /* @__PURE__ */ jsxs(Fragment, { children: [groupIndex > 0 && /* @__PURE__ */ jsx(_Text, {
|
|
76
83
|
color: "#dark-03",
|
|
77
84
|
role: "separator",
|
|
78
85
|
"aria-hidden": "true",
|
|
79
|
-
children: "or"
|
|
86
|
+
children: t("hotKeys.or", "or")
|
|
80
87
|
}), /* @__PURE__ */ jsx(Space, {
|
|
81
88
|
flow: "row",
|
|
82
89
|
gap: "0.25x",
|
|
83
90
|
role: "group",
|
|
84
|
-
"aria-label":
|
|
91
|
+
"aria-label": t("hotKeys.combination", "Key combination {{index}}", { index: groupIndex + 1 }),
|
|
85
92
|
children: keyGroup.map((key, keyIndex) => /* @__PURE__ */ jsx(KeyElement, {
|
|
86
93
|
"data-type": type,
|
|
87
94
|
as: "kbd",
|
|
88
95
|
role: "text",
|
|
89
|
-
"aria-label":
|
|
96
|
+
"aria-label": t("hotKeys.key", "Key {{key}}", { key }),
|
|
90
97
|
children: key
|
|
91
98
|
}, keyIndex))
|
|
92
99
|
})] }, groupIndex);
|
|
93
|
-
$[
|
|
94
|
-
$[
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
$[
|
|
99
|
-
$[
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
100
|
+
$[8] = t;
|
|
101
|
+
$[9] = type;
|
|
102
|
+
$[10] = t5;
|
|
103
|
+
} else t5 = $[10];
|
|
104
|
+
t4 = parsedKeys.map(t5);
|
|
105
|
+
$[4] = parsedKeys;
|
|
106
|
+
$[5] = t;
|
|
107
|
+
$[6] = type;
|
|
108
|
+
$[7] = t4;
|
|
109
|
+
} else t4 = $[7];
|
|
110
|
+
let t5;
|
|
111
|
+
if ($[11] !== T0 || $[12] !== ref || $[13] !== styles || $[14] !== t2 || $[15] !== t3 || $[16] !== t4) {
|
|
112
|
+
t5 = /* @__PURE__ */ jsx(T0, {
|
|
104
113
|
qa: t1,
|
|
105
|
-
|
|
114
|
+
"aria-label": t2,
|
|
115
|
+
...t3,
|
|
106
116
|
ref,
|
|
107
117
|
styles,
|
|
108
|
-
children:
|
|
118
|
+
children: t4
|
|
109
119
|
});
|
|
110
|
-
$[
|
|
111
|
-
$[
|
|
112
|
-
$[
|
|
113
|
-
$[
|
|
114
|
-
$[
|
|
115
|
-
$[
|
|
116
|
-
|
|
117
|
-
|
|
120
|
+
$[11] = T0;
|
|
121
|
+
$[12] = ref;
|
|
122
|
+
$[13] = styles;
|
|
123
|
+
$[14] = t2;
|
|
124
|
+
$[15] = t3;
|
|
125
|
+
$[16] = t4;
|
|
126
|
+
$[17] = t5;
|
|
127
|
+
} else t5 = $[17];
|
|
128
|
+
return t5;
|
|
118
129
|
}
|
|
119
130
|
const _HotKeys = forwardRef(HotKeys);
|
|
120
131
|
_HotKeys.displayName = "HotKeys";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HotKeys.js","names":["BasePropsWithoutChildren","CONTAINER_STYLES","ContainerStyleProps","filterBaseProps","tasty","Children","forwardRef","Fragment","useKeySymbols","extractStyles","Space","Text","StyledHotKeys","qa","role","styles","display","flow","gap","placeSelf","KeyElement","as","placeContent","placeItems","radius","preset","boxSizing","width","height","textAlign","whiteSpace","padding","color","fill","border","CubeHotKeysProps","children","type","HotKeys","props","ref","$","_c","otherProps","t0","toArray","join","parsedKeys","T0","t1","t2","eventProps","labelable","
|
|
1
|
+
{"version":3,"file":"HotKeys.js","names":["BasePropsWithoutChildren","CONTAINER_STYLES","ContainerStyleProps","filterBaseProps","tasty","Children","forwardRef","Fragment","useI18n","useKeySymbols","extractStyles","Space","Text","StyledHotKeys","qa","role","styles","display","flow","gap","placeSelf","KeyElement","as","placeContent","placeItems","radius","preset","boxSizing","width","height","textAlign","whiteSpace","padding","color","fill","border","CubeHotKeysProps","children","type","HotKeys","props","ref","$","_c","otherProps","t","t0","toArray","join","parsedKeys","T0","t1","t2","t3","eventProps","labelable","t4","t5","keyGroup","groupIndex","index","map","key","keyIndex","_HotKeys","displayName"],"sources":["../../../../src/components/content/HotKeys/HotKeys.tsx"],"sourcesContent":["import {\n BasePropsWithoutChildren,\n CONTAINER_STYLES,\n ContainerStyleProps,\n filterBaseProps,\n tasty,\n} from '@tenphi/tasty';\nimport { Children, forwardRef, Fragment } from 'react';\n\nimport { useI18n } from '../../../i18n';\nimport { useKeySymbols } from '../../../utils/react/useKeySymbols';\nimport { extractStyles } from '../../../utils/styles';\nimport { Space } from '../../layout/Space';\nimport { Text } from '../Text';\n\nconst StyledHotKeys = tasty(Space, {\n qa: 'HotKeys',\n role: 'group',\n styles: {\n display: 'inline-flex',\n flow: 'row',\n gap: '1x',\n placeSelf: 'center',\n },\n});\n\nconst KeyElement = tasty({\n as: 'kbd',\n role: 'text',\n styles: {\n display: 'inline-flex',\n placeContent: 'center',\n placeItems: 'center start',\n radius: '1r',\n preset: 'tag',\n boxSizing: 'border-box',\n width: '2.5x max-content max-content',\n height: 'min-content',\n textAlign: 'left',\n whiteSpace: 'nowrap',\n padding: '0 (.5x - 1bw)',\n color: {\n '': '#dark.65',\n 'type=primary': '#white',\n 'type=inherit': '#current',\n },\n fill: {\n '': '#dark.04',\n 'type=primary | type=inherit': '#clear',\n },\n border: {\n '': true,\n 'type=primary': '#white',\n 'type=inherit': '#current',\n },\n },\n});\n\nexport interface CubeHotKeysProps\n extends BasePropsWithoutChildren,\n ContainerStyleProps {\n /**\n * Key combinations, such as `\"mod+k, ctrl+k\"`. An array of text, which\n * `<Trans>` passes to a component slot, is joined into one string first.\n */\n children?: string | readonly (string | number)[];\n type?: 'default' | 'primary' | 'inherit';\n}\n\nfunction HotKeys(props: CubeHotKeysProps, ref) {\n const { children, type, ...otherProps } = props;\n const { t } = useI18n();\n const parsedKeys = useKeySymbols(Children.toArray(children).join(''));\n const styles = extractStyles(otherProps, CONTAINER_STYLES);\n\n return (\n <StyledHotKeys\n qa=\"HotKeys\"\n aria-label={t('hotKeys.ariaLabel', 'Keyboard shortcuts')}\n {...filterBaseProps(otherProps, { eventProps: true, labelable: true })}\n ref={ref}\n styles={styles}\n >\n {parsedKeys.map((keyGroup, groupIndex) => (\n <Fragment key={groupIndex}>\n {groupIndex > 0 && (\n <Text color=\"#dark-03\" role=\"separator\" aria-hidden=\"true\">\n {t('hotKeys.or', 'or')}\n </Text>\n )}\n <Space\n flow=\"row\"\n gap=\"0.25x\"\n role=\"group\"\n aria-label={t('hotKeys.combination', 'Key combination {{index}}', {\n index: groupIndex + 1,\n })}\n >\n {keyGroup.map((key, keyIndex) => (\n <KeyElement\n key={keyIndex}\n data-type={type}\n as=\"kbd\"\n role=\"text\"\n aria-label={t('hotKeys.key', 'Key {{key}}', { key })}\n >\n {key}\n </KeyElement>\n ))}\n </Space>\n </Fragment>\n ))}\n </StyledHotKeys>\n );\n}\n\nconst _HotKeys = forwardRef(HotKeys);\n\n_HotKeys.displayName = 'HotKeys';\n\nexport { _HotKeys as HotKeys };\n"],"mappings":";;;;;;;;;;;;AAeA,MAAMa,gBAAgBT,MAAMO,OAAO;CACjCG,IAAI;CACJC,MAAM;CACNC,QAAQ;EACNC,SAAS;EACTC,MAAM;EACNC,KAAK;EACLC,WAAW;EACb;CACD,CAAC;AAEF,MAAMC,aAAajB,MAAM;CACvBkB,IAAI;CACJP,MAAM;CACNC,QAAQ;EACNC,SAAS;EACTM,cAAc;EACdC,YAAY;EACZC,QAAQ;EACRC,QAAQ;EACRC,WAAW;EACXC,OAAO;EACPC,QAAQ;EACRC,WAAW;EACXC,YAAY;EACZC,SAAS;EACTC,OAAO;GACL,IAAI;GACJ,gBAAgB;GAChB,gBAAgB;GACjB;EACDC,MAAM;GACJ,IAAI;GACJ,+BAA+B;GAChC;EACDC,QAAQ;GACN,IAAI;GACJ,gBAAgB;GAChB,gBAAgB;GAClB;EACF;CACD,CAAC;AAaF,SAAAI,QAAAC,OAAAC,KAAA;CAAA,MAAAC,IAAAC,EAAA,GAAA;CACE,MAAA,EAAAN,UAAAC,MAAA,GAAAM,eAA0CJ;CAC1C,MAAA,EAAAK,MAAcrC,SAAS;CAAC,IAAAsC;AAAA,KAAAJ,EAAA,OAAAL,UAAA;AACSS,OAAAzC,SAAQ0C,QAASV,SAAS,CAAAW,KAAM,GAAG;AAAAN,IAAA,KAAAL;AAAAK,IAAA,KAAAI;OAAAA,MAAAJ,EAAA;CAApE,MAAAO,aAAmBxC,cAAcqC,GAAoC;CACrE,MAAA9B,SAAeN,cAAckC,YAAY3C,iBAAiB;CAGvD,MAAAiD,KAAArC;CACI,MAAAsC,KAAA;CAAS,IAAAC;AAAA,KAAAV,EAAA,OAAAG,GAAA;AACAO,OAAAP,EAAE,qBAAqB,qBAAqB;AAAAH,IAAA,KAAAG;AAAAH,IAAA,KAAAU;OAAAA,MAAAV,EAAA;CACpD,MAAAW,KAAAlD,gBAAgByC,YAAY;EAAAU,YAAc;EAAIC,WAAa;EAAM,CAAC;CAAA,IAAAC;AAAA,KAAAd,EAAA,OAAAO,cAAAP,EAAA,OAAAG,KAAAH,EAAA,OAAAJ,MAAA;EAAA,IAAAmB;AAAA,MAAAf,EAAA,OAAAG,KAAAH,EAAA,OAAAJ,MAAA;AAItDmB,SAAAC,UAAAC,eACd,qBAAC,uBACEA,aAAa,KACZ,oBAAC;IAAW,OAAA;IAAgB,MAAA;IAAwB,eAAA;cACjDd,EAAE,cAAc,KAAI;KAEzB,EACA,oBAAC;IACM,MAAA;IACD,KAAA;IACC,MAAA;IACO,cAAAA,EAAE,uBAAuB,6BAA6B,EAAAe,OACzDD,aAAa,GACrB,CAAA;cAEAD,SAAQG,KAAKC,KAAAC,aACZ,oBAAC;KAEYzB,aAAAA;KACR,IAAA;KACE,MAAA;KACO,cAAAO,EAAE,eAAe,eAAe,EAAAiB,KAAO,CAAA;eAElDA;OANIC,SAQR,CAAA;KAEL,KA1BeJ,WA2BhB;AAAAjB,KAAA,KAAAG;AAAAH,KAAA,KAAAJ;AAAAI,KAAA,MAAAe;QAAAA,MAAAf,EAAA;AA5BAc,OAAAP,WAAUY,IAAKJ,GA4Bd;AAAAf,IAAA,KAAAO;AAAAP,IAAA,KAAAG;AAAAH,IAAA,KAAAJ;AAAAI,IAAA,KAAAc;OAAAA,MAAAd,EAAA;CAAA,IAAAe;AAAA,KAAAf,EAAA,QAAAQ,MAAAR,EAAA,QAAAD,OAAAC,EAAA,QAAA1B,UAAA0B,EAAA,QAAAU,MAAAV,EAAA,QAAAW,MAAAX,EAAA,QAAAc,IAAA;AAnCJC,OAAA,oBAAC;GACI,IAAAN;GACS,cAAAC;GAA4C,GACpDC;GACCZ;GACGzB;aAEPwC;IA6Ba;AAAAd,IAAA,MAAAQ;AAAAR,IAAA,MAAAD;AAAAC,IAAA,MAAA1B;AAAA0B,IAAA,MAAAU;AAAAV,IAAA,MAAAW;AAAAX,IAAA,MAAAc;AAAAd,IAAA,MAAAe;OAAAA,MAAAf,EAAA;AAAA,QApChBe;;AAwCJ,MAAMO,WAAW1D,WAAWiC,QAAQ;AAEpCyB,SAASC,cAAc"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.194.0 | Cube Dev Team */
|
|
2
2
|
import { useWarn } from "../../../_internal/hooks/use-warn.js";
|
|
3
3
|
import { ItemAction } from "../../actions/ItemAction/ItemAction.js";
|
|
4
4
|
import { ItemBadge } from "../ItemBadge/ItemBadge.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.194.0 | Cube Dev Team */
|
|
2
2
|
import { extractStyles } from "../../../utils/styles.js";
|
|
3
3
|
import { mergeProps as mergeProps$1 } from "../../../utils/react/mergeProps.js";
|
|
4
4
|
import { useEvent } from "../../../_internal/hooks/use-event.js";
|
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
|
|
2
2
|
import { Props } from "../../../props.js";
|
|
3
3
|
import { CubeTooltipProviderProps } from "../../overlays/Tooltip/TooltipProvider.js";
|
|
4
|
+
import { CubeItemActionProps } from "../../actions/ItemAction/ItemAction.js";
|
|
4
5
|
import { DynamicIcon } from "../../../utils/react/resolveIcon.js";
|
|
5
6
|
import "../../../utils/react/index.js";
|
|
6
7
|
import { CubeItemBadgeProps } from "../ItemBadge/ItemBadge.js";
|
|
7
8
|
import "./index.js";
|
|
9
|
+
import "../../actions/index.js";
|
|
8
10
|
import { ItemVariant } from "../../../data/item-themes.js";
|
|
9
11
|
import { TooltipFocusProps } from "../../overlays/Tooltip/split-trigger-props.js";
|
|
10
|
-
import { CubeItemActionProps } from "../../actions/ItemAction/ItemAction.js";
|
|
11
|
-
import "../../actions/index.js";
|
|
12
12
|
import { BaseProps, ContainerStyleProps, Mods, Styles } from "@tenphi/tasty";
|
|
13
|
-
import
|
|
14
|
-
import { ReactNode, Ref } from "react";
|
|
13
|
+
import { ForwardRefExoticComponent, HTMLAttributes, ReactNode, Ref, RefAttributes } from "react";
|
|
15
14
|
import { PositionProps } from "react-aria";
|
|
16
15
|
import * as _react_types_shared0 from "@react-types/shared";
|
|
17
16
|
|
|
@@ -203,10 +202,11 @@ interface CubeItemProps extends BaseProps, ContainerStyleProps {
|
|
|
203
202
|
*/
|
|
204
203
|
variant?: ItemVariant;
|
|
205
204
|
}
|
|
206
|
-
declare const _Item:
|
|
207
|
-
Action:
|
|
208
|
-
Badge:
|
|
205
|
+
declare const _Item: ForwardRefExoticComponent<CubeItemProps & RefAttributes<HTMLElement>> & {
|
|
206
|
+
Action: ForwardRefExoticComponent<CubeItemActionProps & RefAttributes<_react_types_shared0.FocusableRefValue<HTMLElement, HTMLElement>>>;
|
|
207
|
+
Badge: ForwardRefExoticComponent<CubeItemBadgeProps & RefAttributes<HTMLDivElement>>;
|
|
209
208
|
};
|
|
209
|
+
/** @private Preserves Item layout around native menu targets. */
|
|
210
210
|
//#endregion
|
|
211
211
|
export { CubeItemProps, ItemMods, _Item };
|
|
212
212
|
//# sourceMappingURL=Item.d.ts.map
|