@cube-dev/ui-kit 0.0.0-canary-9c8c08f → 0.0.0-canary-40476a4
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/components/Action/Action.js +1 -1
- package/dist/components/ActiveZone/ActiveZone.js +1 -1
- package/dist/components/Alert/Alert.js +1 -1
- package/dist/components/Alert/use-alert.js +1 -1
- package/dist/components/AlertDialog/AlertDialog.js +1 -1
- package/dist/components/AlertDialog/AlertDialogApiProvider.js +1 -1
- package/dist/components/AlertDialog/AlertDialogZone.js +1 -1
- package/dist/components/Avatar/Avatar.js +1 -1
- package/dist/components/Badge/Badge.js +1 -1
- package/dist/components/Banner/Banner.js +1 -1
- package/dist/components/Block/Block.js +1 -1
- package/dist/components/Button/AutoCollapseObserver.js +1 -1
- package/dist/components/Button/Button.js +1 -1
- package/dist/components/Button/index.js +1 -1
- package/dist/components/ButtonGroup/ButtonGroup.js +1 -1
- package/dist/components/ButtonSplit/ButtonSplit.js +1 -1
- package/dist/components/ButtonSplit/ButtonSplitContext.js +1 -1
- package/dist/components/Calendar/Calendar.js +1 -1
- package/dist/components/Calendar/CalendarCell.js +1 -1
- package/dist/components/Calendar/CalendarGrid.js +1 -1
- package/dist/components/Calendar/CalendarHeader.js +1 -1
- package/dist/components/Calendar/CalendarPanel.js +1 -1
- package/dist/components/Calendar/PeriodCalendar.js +1 -1
- package/dist/components/Calendar/PeriodGrid.js +1 -1
- package/dist/components/Calendar/RangeCalendar.js +1 -1
- package/dist/components/Calendar/styled.js +1 -1
- package/dist/components/Card/Card.js +1 -1
- package/dist/components/Checkbox/Checkbox.js +1 -1
- package/dist/components/Checkbox/CheckboxGroup.js +1 -1
- package/dist/components/Checkbox/CheckboxGroupContext.js +1 -1
- package/dist/components/CollectionItem/CollectionItem.js +1 -1
- package/dist/components/ColorInput/ColorInput.js +1 -1
- package/dist/components/ColorPanel/ColorPanel.js +1 -1
- package/dist/components/ColorPicker/ColorPicker.js +1 -1
- package/dist/components/ColorSwatch/ColorSwatch.js +1 -1
- package/dist/components/ColorSwatchGroup/ColorSwatchGroup.js +1 -1
- package/dist/components/ComboBox/ComboBox.js +1 -1
- package/dist/components/ComboBox/combo-box-options.js +1 -1
- package/dist/components/CommandMenu/CommandMenu.js +1 -1
- package/dist/components/CommandMenu/styled.js +1 -1
- package/dist/components/CommandTextArea/CommandTextArea.js +1 -1
- package/dist/components/CommandTextArea/caret-position.js +1 -1
- package/dist/components/CommandTextArea/use-caret-anchor.js +1 -1
- package/dist/components/Content/Content.js +1 -1
- package/dist/components/CopyPasteBlock/CopyPasteBlock.js +1 -1
- package/dist/components/CopySnippet/CopySnippet.js +1 -1
- package/dist/components/CubeLogo/CubeLogo.js +1 -1
- package/dist/components/DataTable/DataTable.js +1 -1
- package/dist/components/DatePicker/CalendarPopover.js +1 -1
- package/dist/components/DatePicker/DateInput.js +1 -1
- package/dist/components/DatePicker/DateInputBase.js +1 -1
- package/dist/components/DatePicker/DatePicker.js +1 -1
- package/dist/components/DatePicker/DatePickerButton.js +1 -1
- package/dist/components/DatePicker/DatePickerElement.js +1 -1
- package/dist/components/DatePicker/DatePickerInput.js +1 -1
- package/dist/components/DatePicker/DatePickerSegment.js +1 -1
- package/dist/components/DatePicker/DateRangePicker.js +1 -1
- package/dist/components/DatePicker/DateRangeSeparatedPicker.js +1 -1
- package/dist/components/DatePicker/MonthPicker.js +1 -1
- package/dist/components/DatePicker/PeriodPicker.js +1 -1
- package/dist/components/DatePicker/QuarterPicker.js +1 -1
- package/dist/components/DatePicker/TimeInput.js +1 -1
- package/dist/components/DatePicker/WeekPicker.js +1 -1
- package/dist/components/DatePicker/YearPicker.js +1 -1
- package/dist/components/DatePicker/parse-date.js +1 -1
- package/dist/components/DatePicker/period.js +1 -1
- package/dist/components/DatePicker/props.js +1 -1
- package/dist/components/DatePicker/utils.js +1 -1
- package/dist/components/Dialog/Dialog.js +1 -1
- package/dist/components/Dialog/DialogContainer.js +1 -1
- package/dist/components/Dialog/DialogContext.js +1 -1
- package/dist/components/Dialog/DialogForm.js +1 -1
- package/dist/components/Dialog/DialogTrigger.js +1 -1
- package/dist/components/Dialog/ModernDialogForm.js +1 -1
- package/dist/components/Dialog/default-button-text.js +1 -1
- package/dist/components/Dialog/use-content-overflow.js +1 -1
- package/dist/components/Dialog/use-dialog-container.js +1 -1
- package/dist/components/Dialog/use-dialog-open-sync.js +1 -1
- package/dist/components/Dialog/use-dismiss-confirmation.js +1 -1
- package/dist/components/Dialog/use-retained-dialog-focus.js +1 -1
- package/dist/components/Disclosure/Disclosure.js +1 -1
- package/dist/components/DisplayTransition/DisplayTransition.js +1 -1
- package/dist/components/Divider/Divider.js +1 -1
- package/dist/components/DraggableCollection/DraggableCollection.js +1 -1
- package/dist/components/FieldWrapper/FieldWrapper.js +1 -1
- package/dist/components/FieldWrapper/field-description.js +1 -1
- package/dist/components/FileInput/FileInput.js +1 -1
- package/dist/components/FilterListBox/FilterListBox.js +1 -1
- package/dist/components/FilterListBox/styled.js +1 -1
- package/dist/components/FilterPicker/FilterPicker.js +1 -1
- package/dist/components/FilterPicker/FilterTree.js +1 -1
- package/dist/components/Flex/Flex.js +1 -1
- package/dist/components/Flow/Flow.js +1 -1
- package/dist/components/Footer/Footer.js +1 -1
- package/dist/components/Form/Field.js +1 -1
- package/dist/components/Form/Form.js +1 -1
- package/dist/components/Form/FormContext.js +1 -1
- package/dist/components/Form/FormElement.js +1 -1
- package/dist/components/Form/ModernFormRoot.js +1 -1
- package/dist/components/Form/ResetButton.js +1 -1
- package/dist/components/Form/SubmitButton.js +1 -1
- package/dist/components/Form/SubmitError.js +1 -1
- package/dist/components/Form/backend.js +1 -1
- package/dist/components/Form/index.js +1 -1
- package/dist/components/Form/modern/ModernActions.js +1 -1
- package/dist/components/Form/modern/ModernControllerContext.js +1 -1
- package/dist/components/Form/modern/after-press.js +1 -1
- package/dist/components/Form/modern/controller.js +1 -1
- package/dist/components/Form/modern/field-binding.js +1 -1
- package/dist/components/Form/modern/field.js +1 -1
- package/dist/components/Form/modern/react.js +1 -1
- package/dist/components/Form/modern/store.js +1 -1
- package/dist/components/Form/modern/validation.js +1 -1
- package/dist/components/Form/modern/values.js +1 -1
- package/dist/components/Form/reset-unbound-controls.js +1 -1
- package/dist/components/Form/use-field/use-field-binding.js +1 -1
- package/dist/components/Form/use-field/use-field-props.js +1 -1
- package/dist/components/Form/use-field/use-field.js +1 -1
- package/dist/components/Form/use-form.js +1 -1
- package/dist/components/Form/validation.js +1 -1
- package/dist/components/GlobalStyles/GlobalStyles.js +1 -1
- package/dist/components/Grid/Grid.js +1 -1
- package/dist/components/GridProvider/GridProvider.js +1 -1
- package/dist/components/Header/Header.js +1 -1
- package/dist/components/HiddenInput/HiddenInput.js +1 -1
- package/dist/components/HotKeys/HotKeys.d.ts +1 -1
- package/dist/components/HotKeys/HotKeys.js +59 -43
- package/dist/components/HotKeys/HotKeys.js.map +1 -1
- package/dist/components/IconSwitch/IconSwitch.js +1 -1
- package/dist/components/InfoBadge/InfoBadge.js +1 -1
- package/dist/components/InlineInput/InlineInput.js +1 -1
- package/dist/components/Input/Input.js +1 -1
- package/dist/components/Item/Item.js +1 -1
- package/dist/components/Item/ItemWithNativeLinks.js +1 -1
- package/dist/components/ItemAction/ItemAction.js +1 -1
- package/dist/components/ItemAction/ItemCloseAction.js +1 -1
- package/dist/components/ItemActionsWrapper/ItemActionsWrapper.js +1 -1
- package/dist/components/ItemBadge/ItemBadge.js +1 -1
- package/dist/components/ItemButton/ItemButton.js +1 -1
- package/dist/components/ItemCard/ItemCard.js +1 -1
- package/dist/components/ItemTable/ItemTable.js +1 -1
- package/dist/components/ItemTable/ItemTableBulkBar.js +1 -1
- package/dist/components/ItemTable/ItemTableDragPreview.js +1 -1
- package/dist/components/ItemTable/ItemTableFooter.js +1 -1
- package/dist/components/ItemTable/ItemTableToolbar.js +1 -1
- package/dist/components/ItemTable/item-table-sections.js +1 -1
- package/dist/components/ItemTable/use-item-table-column-widths.js +1 -1
- package/dist/components/ItemTable/use-item-table-drag-drop.js +1 -1
- package/dist/components/ItemTable/use-item-table-pagination.js +1 -1
- package/dist/components/ItemTable/use-item-table-selection.js +1 -1
- package/dist/components/ItemTable/use-item-table-sort.js +1 -1
- package/dist/components/ItemTable/use-item-table-tree-model.js +1 -1
- package/dist/components/Label/Label.js +1 -1
- package/dist/components/Layout/GridLayout.js +1 -1
- package/dist/components/Layout/Layout.js +1 -1
- package/dist/components/Layout/LayoutBlock.js +1 -1
- package/dist/components/Layout/LayoutCenter.js +1 -1
- package/dist/components/Layout/LayoutContainer.js +1 -1
- package/dist/components/Layout/LayoutContent.js +1 -1
- package/dist/components/Layout/LayoutContext.js +1 -1
- package/dist/components/Layout/LayoutFlex.js +1 -1
- package/dist/components/Layout/LayoutFooter.js +1 -1
- package/dist/components/Layout/LayoutGrid.js +1 -1
- package/dist/components/Layout/LayoutHeader.js +1 -1
- package/dist/components/Layout/LayoutPane.js +1 -1
- package/dist/components/Layout/LayoutPanel.js +1 -1
- package/dist/components/Layout/LayoutPanelHeader.js +1 -1
- package/dist/components/Layout/LayoutPanelTransition.js +1 -1
- package/dist/components/Layout/LayoutResizeHandle.js +1 -1
- package/dist/components/Layout/LayoutToolbar.js +1 -1
- package/dist/components/Layout/index.js +1 -1
- package/dist/components/Layout/use-tiny-scrollbar.js +1 -1
- package/dist/components/Layout/utils.js +1 -1
- package/dist/components/Link/Link.js +1 -1
- package/dist/components/ListBox/DraggableListBox.js +1 -1
- package/dist/components/ListBox/ListBox.d.ts +10 -0
- package/dist/components/ListBox/ListBox.js +10 -3
- package/dist/components/ListBox/ListBox.js.map +1 -1
- package/dist/components/ListBox/empty-row.js +1 -1
- package/dist/components/ListBox/option-id.js +1 -1
- package/dist/components/ListBox/use-default-focus-key.js +121 -0
- package/dist/components/ListBox/use-default-focus-key.js.map +1 -0
- package/dist/components/ListBox/use-disabled-focus-reset.js +1 -1
- package/dist/components/ListBoxPopover/EmptyLabelStatus.js +1 -1
- package/dist/components/ListBoxPopover/ListBoxPopover.js +1 -1
- package/dist/components/ListBoxPopover/list-navigation.js +1 -1
- package/dist/components/ListBoxPopover/use-composite-focus.js +1 -1
- package/dist/components/ListBoxPopover/use-delayed-loading.js +1 -1
- package/dist/components/LoadingAnimation/LoadingAnimation.js +1 -1
- package/dist/components/Menu/Menu.js +1 -1
- package/dist/components/Menu/MenuCollectionItem.js +1 -1
- package/dist/components/Menu/MenuContext.js +1 -1
- package/dist/components/Menu/MenuItem.js +1 -1
- package/dist/components/Menu/MenuSection.js +1 -1
- package/dist/components/Menu/MenuTrigger.js +1 -1
- package/dist/components/Menu/SubMenuTrigger.js +1 -1
- package/dist/components/Menu/SubmenuTriggerContext.js +1 -1
- package/dist/components/Menu/styled.js +1 -1
- package/dist/components/Menu/touch-context-menu.js +1 -1
- package/dist/components/Menu/use-anchored-menu.js +1 -1
- package/dist/components/Menu/use-context-menu.js +1 -1
- package/dist/components/Modal/Modal.js +1 -1
- package/dist/components/Modal/ModalContainmentProvider.js +1 -1
- package/dist/components/Modal/OpenTransitionContext.js +1 -1
- package/dist/components/Modal/Overlay.js +1 -1
- package/dist/components/Modal/Popover.js +1 -1
- package/dist/components/Modal/Tray.js +1 -1
- package/dist/components/Modal/Underlay.js +1 -1
- package/dist/components/NavTabs/NavTabs.js +1 -1
- package/dist/components/NoDataIcon/NoDataIcon.js +1 -1
- package/dist/components/Notifications/Notification.js +1 -1
- package/dist/components/Notifications/NotificationAction.js +1 -1
- package/dist/components/Notifications/NotificationCard.js +1 -1
- package/dist/components/Notifications/NotificationContext.js +1 -1
- package/dist/components/Notifications/NotificationItem.js +1 -1
- package/dist/components/Notifications/OverlayContainer.js +1 -1
- package/dist/components/Notifications/OverlayProvider.js +1 -1
- package/dist/components/Notifications/PersistentNotificationsList.js +1 -1
- package/dist/components/Notifications/dismissed-storage.js +1 -1
- package/dist/components/Notifications/format-relative-time.js +1 -1
- package/dist/components/Notifications/index.js +1 -1
- package/dist/components/Notifications/use-live-region.js +1 -1
- package/dist/components/Notifications/use-notification-state.js +1 -1
- package/dist/components/Notifications/use-notifications.js +1 -1
- package/dist/components/Notifications/use-overlay-timers.js +1 -1
- package/dist/components/Notifications/use-persistent-notifications.js +1 -1
- package/dist/components/Notifications/use-persistent-state.js +1 -1
- package/dist/components/Notifications/use-toast-state.js +1 -1
- package/dist/components/NumberInput/NumberInput.js +1 -1
- package/dist/components/NumberInput/StepButton.js +1 -1
- package/dist/components/Pagination/Pagination.js +1 -1
- package/dist/components/Pagination/use-pagination.js +1 -1
- package/dist/components/Panel/Panel.js +1 -1
- package/dist/components/PanelToggle/PanelToggle.js +1 -1
- package/dist/components/Paragraph/Paragraph.js +1 -1
- package/dist/components/PasswordInput/PasswordInput.js +1 -1
- package/dist/components/Picker/Picker.d.ts +9 -1
- package/dist/components/Picker/Picker.js +3 -2
- package/dist/components/Picker/Picker.js.map +1 -1
- package/dist/components/Placeholder/Placeholder.js +1 -1
- package/dist/components/Portal/Portal.js +1 -1
- package/dist/components/Portal/PortalProvider.js +1 -1
- package/dist/components/Portal/use-portal.js +1 -1
- package/dist/components/Prefix/Prefix.js +1 -1
- package/dist/components/PrismCode/PrismCode.js +1 -1
- package/dist/components/PrismCode/prism-setup.js +1 -1
- package/dist/components/PrismDiffCode/PrismDiffCode.js +1 -1
- package/dist/components/RadioGroup/Radio.js +1 -1
- package/dist/components/RadioGroup/RadioContext.js +1 -1
- package/dist/components/RadioGroup/RadioGroup.js +1 -1
- package/dist/components/RadioGroup/joined-styles.js +1 -1
- package/dist/components/RenderCache/RenderCache.js +1 -1
- package/dist/components/ResizablePanel/ResizablePanel.js +1 -1
- package/dist/components/Result/Result.js +1 -1
- package/dist/components/Root/Root.js +1 -1
- package/dist/components/SearchComboBox/SearchComboBox.js +1 -1
- package/dist/components/SearchInput/SearchInput.js +1 -1
- package/dist/components/Select/Select.js +1 -1
- package/dist/components/Skeleton/Skeleton.js +1 -1
- package/dist/components/Slider/Gradation.js +1 -1
- package/dist/components/Slider/HueSlider.js +1 -1
- package/dist/components/Slider/RangeSlider.js +1 -1
- package/dist/components/Slider/Slider.js +1 -1
- package/dist/components/Slider/SliderBase.js +1 -1
- package/dist/components/Slider/SliderThumb.js +1 -1
- package/dist/components/Slider/SliderTrack.js +1 -1
- package/dist/components/Slider/elements.js +1 -1
- package/dist/components/Slider/index.js +1 -1
- package/dist/components/Space/Space.js +1 -1
- package/dist/components/Spin/Cube.js +1 -1
- package/dist/components/Spin/InternalSpinner.js +1 -1
- package/dist/components/Spin/Spin.js +1 -1
- package/dist/components/Spin/SpinsContainer.js +1 -1
- package/dist/components/StatsCard/StatsCard.js +1 -1
- package/dist/components/Suffix/Suffix.js +1 -1
- package/dist/components/Switch/Switch.js +1 -1
- package/dist/components/TableBase/ColumnResizer.js +1 -1
- package/dist/components/TableBase/RowCollection.js +1 -1
- package/dist/components/TableBase/TableHeaderCell.js +1 -1
- package/dist/components/TableBase/TableRow.js +1 -1
- package/dist/components/TableBase/TableRowLink.js +1 -1
- package/dist/components/TableBase/TableView.js +1 -1
- package/dist/components/TableBase/TreeGridTable.js +1 -1
- package/dist/components/TableBase/column-header.js +1 -1
- package/dist/components/TableBase/column-menu.js +1 -1
- package/dist/components/TableBase/column-styles.js +1 -1
- package/dist/components/TableBase/column-tint.js +1 -1
- package/dist/components/TableBase/row-menu.js +1 -1
- package/dist/components/TableBase/styled.js +1 -1
- package/dist/components/TableBase/table-body-sections.js +1 -1
- package/dist/components/TableBase/table-tree.js +1 -1
- package/dist/components/TableBase/types.js +1 -1
- package/dist/components/TableBase/use-cell-selection.js +0 -0
- package/dist/components/TableBase/use-column-menu.js +1 -1
- package/dist/components/TableBase/use-column-order.js +1 -1
- package/dist/components/TableBase/use-column-window.js +1 -1
- package/dist/components/TableBase/use-container-width.js +1 -1
- package/dist/components/TableBase/use-row-move-animation.js +1 -1
- package/dist/components/TableBase/use-scrollability.js +1 -1
- package/dist/components/TableBase/use-table-columns.js +1 -1
- package/dist/components/TableBase/use-table-search.js +1 -1
- package/dist/components/TableBase/use-table-selection.js +1 -1
- package/dist/components/TableBase/use-table-sort.js +1 -1
- package/dist/components/TableBase/use-table-sorts.js +1 -1
- package/dist/components/TableBase/use-table-storage.js +1 -1
- package/dist/components/TableBase/use-table-tooltip-refresh.js +1 -1
- package/dist/components/TableBase/use-table-tree-state.js +1 -1
- package/dist/components/Tabs/BoardDragActiveProvider.js +1 -1
- package/dist/components/Tabs/DraggableTabList.js +1 -1
- package/dist/components/Tabs/TabButton.js +1 -1
- package/dist/components/Tabs/TabDropIndicator.js +1 -1
- package/dist/components/Tabs/TabPanel.js +1 -1
- package/dist/components/Tabs/TabPicker.js +1 -1
- package/dist/components/Tabs/Tabs.js +1 -1
- package/dist/components/Tabs/TabsAction.js +1 -1
- package/dist/components/Tabs/TabsContext.js +1 -1
- package/dist/components/Tabs/popover-placement.js +1 -1
- package/dist/components/Tabs/scroll-tab-into-strip.js +1 -1
- package/dist/components/Tabs/segmented-styles.js +1 -1
- package/dist/components/Tabs/styled.js +1 -1
- package/dist/components/Tabs/types.js +1 -1
- package/dist/components/Tabs/use-tab-editing.js +1 -1
- package/dist/components/Tabs/use-tab-indicator.js +1 -1
- package/dist/components/Tag/Tag.js +1 -1
- package/dist/components/TagInput/TagInput.js +1 -1
- package/dist/components/TagInput/TagList.js +1 -1
- package/dist/components/TagInput/use-active-option.js +1 -1
- package/dist/components/TagInput/use-suffix-space.js +1 -1
- package/dist/components/TagInput/use-tag-error.js +1 -1
- package/dist/components/Text/Text.js +1 -1
- package/dist/components/TextArea/TextArea.js +1 -1
- package/dist/components/TextInput/TextInput.js +1 -1
- package/dist/components/TextInput/TextInputBase.js +1 -1
- package/dist/components/TextInput/displayed-validation.js +1 -1
- package/dist/components/TextInput/identifier-text-services.js +1 -1
- package/dist/components/TextInput/password-manager-ignore.js +1 -1
- package/dist/components/TextInput/use-auto-size-text-area.js +1 -1
- package/dist/components/TextInputMapper/TextInputMapper.js +1 -1
- package/dist/components/TextItem/TextItem.js +1 -1
- package/dist/components/Title/Title.js +1 -1
- package/dist/components/Toast/AnnouncedToastItem.js +1 -1
- package/dist/components/Toast/Toast.js +1 -1
- package/dist/components/Toast/ToastItem.js +1 -1
- package/dist/components/Toast/use-progress-toast.js +1 -1
- package/dist/components/Toast/use-toast.js +1 -1
- package/dist/components/ToggleGroup/ToggleGroup.js +1 -1
- package/dist/components/ToggleGroup/ToggleGroupContext.js +1 -1
- package/dist/components/ToggleGroup/ToggleGroupItem.js +1 -1
- package/dist/components/Tooltip/Tooltip.js +1 -1
- package/dist/components/Tooltip/TooltipContext.js +1 -1
- package/dist/components/Tooltip/TooltipProvider.js +1 -1
- package/dist/components/Tooltip/TooltipTrigger.js +1 -1
- package/dist/components/Tooltip/last-press.js +1 -1
- package/dist/components/Tooltip/split-trigger-props.js +1 -1
- package/dist/components/Tree/Tree.js +1 -1
- package/dist/components/Tree/TreeNode.js +1 -1
- package/dist/components/Tree/checked-keys.js +1 -1
- package/dist/components/Tree/row-id.js +1 -1
- package/dist/components/Tree/styled.js +1 -1
- package/dist/components/Tree/tree-index.js +1 -1
- package/dist/components/Tree/use-checkbox-tree.js +1 -1
- package/dist/components/Tree/use-load-data.js +1 -1
- package/dist/components/TriggerActions/TriggerActions.js +1 -1
- package/dist/components/Typography/Typography.js +1 -1
- package/dist/components/ValidationIndicator/InvalidIcon.js +1 -1
- package/dist/components/ValidationIndicator/ValidIcon.js +1 -1
- package/dist/components/ValidationIndicator/ValidationIndicator.js +1 -1
- package/dist/eslint-plugin/defaults.generated.js +1 -1
- package/dist/eslint-plugin/index.js +1 -1
- package/dist/eslint-plugin/rules/no-redundant-default-prop.js +1 -1
- package/dist/harness/colors-deps.js +1 -1
- package/dist/hooks/use-action.js +1 -1
- package/dist/hooks/use-auto-tooltip.js +1 -1
- package/dist/hooks/use-buffered-value.js +1 -1
- package/dist/hooks/use-combined-refs.js +1 -1
- package/dist/hooks/use-controlled-focus-visible.js +1 -1
- package/dist/hooks/use-debounced-value.js +1 -1
- package/dist/hooks/use-deprecation-warning.js +1 -1
- package/dist/hooks/use-event.js +1 -1
- package/dist/hooks/use-id.js +1 -1
- package/dist/hooks/use-is-darwin.js +1 -1
- package/dist/hooks/use-is-first-render.js +1 -1
- package/dist/hooks/use-key-symbols.js +57 -176
- package/dist/hooks/use-key-symbols.js.map +1 -1
- package/dist/hooks/use-layout-effect.js +1 -1
- package/dist/hooks/use-local-storage.js +1 -1
- package/dist/hooks/use-merge-styles.js +1 -1
- package/dist/hooks/use-open-key.js +1 -1
- package/dist/hooks/use-overlay-escape-guard.js +1 -1
- package/dist/hooks/use-overlay-position.js +1 -1
- package/dist/hooks/use-popover-sync.js +1 -1
- package/dist/hooks/use-qa-props.js +1 -1
- package/dist/hooks/use-scheme.js +1 -1
- package/dist/hooks/use-sync-ref.js +1 -1
- package/dist/hooks/use-timer/Timer.js +1 -1
- package/dist/hooks/use-timer/use-timer.js +1 -1
- package/dist/hooks/use-validation-props.js +1 -1
- package/dist/hooks/use-viewport-size.js +1 -1
- package/dist/hooks/use-warn.js +1 -1
- package/dist/i18n/I18nProvider.js +1 -1
- package/dist/i18n/add-uikit-locale.js +1 -1
- package/dist/i18n/create-formatter.js +1 -1
- package/dist/i18n/instance.js +1 -1
- package/dist/i18n/locales/de-DE/uikit.js +4 -19
- package/dist/i18n/locales/en-US/uikit.js +4 -19
- package/dist/i18n/locales/en-US/uikit.json.d.ts +6 -21
- package/dist/i18n/locales/es-ES/uikit.js +4 -19
- package/dist/i18n/locales/es-MX/uikit.js +4 -19
- package/dist/i18n/locales/fr-FR/uikit.js +4 -19
- package/dist/i18n/locales/it-IT/uikit.js +4 -19
- package/dist/i18n/locales/ja-JP/uikit.js +4 -19
- package/dist/i18n/locales/nb-NO/uikit.js +4 -19
- package/dist/i18n/locales/pt-BR/uikit.js +4 -19
- package/dist/i18n/locales/pt-PT/uikit.js +4 -19
- package/dist/i18n/locales/sv-SE/uikit.js +4 -19
- package/dist/i18n/locales/vi-VN/uikit.js +4 -19
- package/dist/i18n/locales.js +1 -1
- package/dist/i18n/namespace.js +1 -1
- package/dist/i18n/use-formatter.js +1 -1
- package/dist/i18n/use-i18n.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/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/SidebarIcon.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.js +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/providers/ColorPopoverContext.js +1 -1
- package/dist/providers/EventBusProvider.js +1 -1
- package/dist/providers/ItemActionContext.js +1 -1
- package/dist/providers/Provider.js +1 -1
- package/dist/providers/SlotProvider.js +1 -1
- package/dist/providers/TrackingProvider.js +1 -1
- package/dist/providers/navigation-adapter.default.js +1 -1
- package/dist/providers/navigation-url.js +1 -1
- package/dist/providers/use-navigation.js +1 -1
- package/dist/themes/item-themes.js +1 -1
- package/dist/themes/themes.js +1 -1
- 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/actions-run.js +1 -1
- package/dist/utils/chain.js +1 -1
- package/dist/utils/color/channels.js +1 -1
- package/dist/utils/color/color.js +1 -1
- package/dist/utils/colors.js +1 -1
- package/dist/utils/component-base-props.js +1 -1
- package/dist/utils/disabled-behavior.js +1 -1
- package/dist/utils/disabled-props.js +1 -1
- package/dist/utils/dotize.js +1 -1
- package/dist/utils/field-chrome.js +1 -1
- package/dist/utils/field-layout.js +1 -1
- package/dist/utils/forward-ref-with-generics.js +1 -1
- package/dist/utils/highlight-text.js +1 -1
- package/dist/utils/index.js +1 -1
- package/dist/utils/interactions.js +1 -1
- package/dist/utils/is-dev-env.js +1 -1
- package/dist/utils/is-text-only.js +1 -1
- package/dist/utils/layout-scale.js +1 -1
- package/dist/utils/legacy-tooltip.js +1 -1
- package/dist/utils/map-props.js +1 -1
- package/dist/utils/merge-props.js +1 -1
- package/dist/utils/modules.js +1 -1
- package/dist/utils/nullable-value.js +1 -1
- package/dist/utils/option-origin-press.js +1 -1
- package/dist/utils/overlay-key-propagation.js +1 -1
- package/dist/utils/pick-base-customization-props.js +1 -1
- package/dist/utils/popover-width.js +1 -1
- package/dist/utils/programmatic-focus.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/resolve-icon.js +1 -1
- package/dist/utils/resolve-validation-props.js +1 -1
- package/dist/utils/search-text-services.js +1 -1
- package/dist/utils/selection.js +1 -1
- package/dist/utils/shared-store.js +1 -1
- package/dist/utils/styles.js +1 -1
- package/dist/utils/tree.js +1 -1
- package/dist/utils/virtual-width.js +1 -1
- package/dist/utils/warnings.js +1 -1
- package/dist/utils/wrap-node-if-plain.js +1 -1
- package/dist/utils/wrap-with-field.js +1 -1
- package/dist/version.js +2 -2
- package/docs/components/HotKeys.md +39 -41
- package/docs/components/ListBox.md +10 -1
- package/docs/components/Picker.md +31 -1
- package/docs/llms.txt +1 -1
- package/package.json +1 -1
package/dist/utils/dotize.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-40476a4 | Cube Dev Team */
|
|
2
2
|
import { warn } from "./warnings.js";
|
|
3
3
|
//#region src/utils/field-chrome.ts
|
|
4
4
|
/** Empty slot values suppress content; numeric zero is still text. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-40476a4 | Cube Dev Team */
|
|
2
2
|
import { extractStyles, mergeStyleLayers } from "./styles.js";
|
|
3
3
|
import { mergeProps } from "./merge-props.js";
|
|
4
4
|
import { rendersFieldChrome } from "./wrap-with-field.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-40476a4 | Cube Dev Team */
|
|
2
2
|
//#region src/utils/forward-ref-with-generics.tsx
|
|
3
3
|
/**
|
|
4
4
|
* @deprecated Declare a ref prop on a generic component, or preserve an
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-40476a4 | Cube Dev Team */
|
|
2
2
|
import { Text as _Text } from "../components/Text/Text.js";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
//#region src/utils/highlight-text.tsx
|
package/dist/utils/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-40476a4 | Cube Dev Team */
|
|
2
2
|
import { extractStyles } from "./styles.js";
|
|
3
3
|
import { chain } from "./chain.js";
|
|
4
4
|
import { mergeProps } from "./merge-props.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-40476a4 | Cube Dev Team */
|
|
2
2
|
import { useLayoutEffect as useLayoutEffect$1 } from "../hooks/use-layout-effect.js";
|
|
3
3
|
import { c } from "react/compiler-runtime";
|
|
4
4
|
import { useRef, useState } from "react";
|
package/dist/utils/is-dev-env.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-40476a4 | Cube Dev Team */
|
|
2
2
|
import { Children, isValidElement } from "react";
|
|
3
3
|
//#region src/utils/is-text-only.ts
|
|
4
4
|
function isTextOnly(children) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-40476a4 | Cube Dev Team */
|
|
2
2
|
//#region src/utils/layout-scale.ts
|
|
3
3
|
/**
|
|
4
4
|
* How much an element is scaled on screen along an axis by an ancestor's
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-40476a4 | Cube Dev Team */
|
|
2
2
|
import { warn } from "./warnings.js";
|
|
3
3
|
//#region src/utils/legacy-tooltip.ts
|
|
4
4
|
let hasWarnedAboutLegacyTooltip = false;
|
package/dist/utils/map-props.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-40476a4 | Cube Dev Team */
|
|
2
2
|
//#region src/utils/map-props.ts
|
|
3
3
|
/** Converts AriaButtonProps to CubeButtonProps */
|
|
4
4
|
function ariaToCubeButtonProps(props) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-40476a4 | Cube Dev Team */
|
|
2
2
|
import { mergeIds } from "../hooks/use-id.js";
|
|
3
3
|
import { chain } from "./chain.js";
|
|
4
4
|
import { mergeStyles } from "@tenphi/tasty";
|
package/dist/utils/modules.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-40476a4 | Cube Dev Team */
|
|
2
2
|
//#region src/utils/modules.ts
|
|
3
3
|
function extractModule(promise) {
|
|
4
4
|
return promise.then((module) => module.default || module);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-40476a4 | Cube Dev Team */
|
|
2
2
|
//#region src/utils/nullable-value.ts
|
|
3
3
|
function castNullableStringValue(props, emptyValue = "") {
|
|
4
4
|
return castNullableField(props, ["value", "defaultValue"], "string", (v) => String(v), emptyValue);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-40476a4 | Cube Dev Team */
|
|
2
2
|
//#region src/utils/overlay-key-propagation.ts
|
|
3
3
|
/**
|
|
4
4
|
* Keys whose final handling belongs to the overlay around a control, not to
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-40476a4 | Cube Dev Team */
|
|
2
2
|
//#region src/utils/pick-base-customization-props.ts
|
|
3
3
|
/** Customization props that can sit under a control's DOM and event wiring. */
|
|
4
4
|
function pickBaseCustomizationProps(props) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-40476a4 | Cube Dev Team */
|
|
2
2
|
//#region src/utils/programmatic-focus.ts
|
|
3
3
|
/**
|
|
4
4
|
* Telling focus the user moved from focus a component moved for them.
|
package/dist/utils/promise.js
CHANGED
package/dist/utils/raf.js
CHANGED
package/dist/utils/random.js
CHANGED
package/dist/utils/range.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-40476a4 | Cube Dev Team */
|
|
2
2
|
//#region src/utils/resolve-validation-props.ts
|
|
3
3
|
/**
|
|
4
4
|
* Normalizes the validation props of a field into a pair of booleans.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-40476a4 | Cube Dev Team */
|
|
2
2
|
//#region src/utils/search-text-services.ts
|
|
3
3
|
/**
|
|
4
4
|
* What a search input asks of a phone keyboard: a Search key in place of Return, and no capital
|
package/dist/utils/selection.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-40476a4 | Cube Dev Team */
|
|
2
2
|
import { useEvent } from "../hooks/use-event.js";
|
|
3
3
|
import { isDevEnv } from "./is-dev-env.js";
|
|
4
4
|
import { c } from "react/compiler-runtime";
|
package/dist/utils/styles.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-40476a4 | Cube Dev Team */
|
|
2
2
|
import { isSelector, mergeStyles } from "@tenphi/tasty";
|
|
3
3
|
//#region src/utils/styles.ts
|
|
4
4
|
function isRecord(value) {
|
package/dist/utils/tree.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-40476a4 | Cube Dev Team */
|
|
2
2
|
//#region src/utils/tree.ts
|
|
3
3
|
function toFlatTree(tree, includingFolders) {
|
|
4
4
|
return tree.reduce((result, node) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-40476a4 | Cube Dev Team */
|
|
2
2
|
import { c } from "react/compiler-runtime";
|
|
3
3
|
import { useEffect, useState } from "react";
|
|
4
4
|
import { defaultRangeExtractor } from "@tanstack/react-virtual";
|
package/dist/utils/warnings.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-40476a4 | Cube Dev Team */
|
|
2
2
|
import { isDevEnvOrTest } from "./is-dev-env.js";
|
|
3
3
|
//#region src/utils/warnings.ts
|
|
4
4
|
const SUGGESTED_PROP_MAP = {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-40476a4 | Cube Dev Team */
|
|
2
2
|
import { Fragment, isValidElement } from "react";
|
|
3
3
|
//#region src/utils/wrap-node-if-plain.ts
|
|
4
4
|
function wrapNodeIfPlain(children, render) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-40476a4 | Cube Dev Team */
|
|
2
2
|
import { mergeStyleLayers } from "./styles.js";
|
|
3
3
|
import { mergeProps } from "./merge-props.js";
|
|
4
4
|
import { hasFieldContent, warnAboutForceField } from "./field-chrome.js";
|
package/dist/version.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-40476a4 | Cube Dev Team */
|
|
2
2
|
//#region src/version.ts
|
|
3
|
-
const VERSION = "0.0.0-canary-
|
|
3
|
+
const VERSION = "0.0.0-canary-40476a4";
|
|
4
4
|
const TASTY_VERSION = "3.19.3";
|
|
5
5
|
if (typeof window !== "undefined") {
|
|
6
6
|
const version = VERSION;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# HotKeys
|
|
2
2
|
|
|
3
|
-
A component that displays keyboard shortcuts
|
|
3
|
+
A component that displays keyboard shortcuts in a visually appealing and accessible format using Tag components. It automatically formats key combinations, separates alternative shortcuts with "or" text, and provides comprehensive accessibility support for screen readers and other assistive technologies.
|
|
4
4
|
|
|
5
5
|
## When to Use
|
|
6
6
|
|
|
@@ -16,7 +16,7 @@ A component that displays keyboard shortcuts as key caps. Each key combination i
|
|
|
16
16
|
|
|
17
17
|
### Properties
|
|
18
18
|
|
|
19
|
-
- **`children`** `string | (string | number)[]` — Key combination string (e.g., "mod+k,
|
|
19
|
+
- **`children`** `string | (string | number)[]` — Key combination string (e.g., "mod+k, ctrl+k"). An array of text, such as the one `<Trans>` passes to a component slot, is joined into one string first.
|
|
20
20
|
- **`type`** `'default' | 'primary' | 'inherit'` (default: `default`) — Visual appearance type: default (subtle), primary (high contrast), or inherit (adapts to parent color)
|
|
21
21
|
|
|
22
22
|
### Base Properties
|
|
@@ -31,7 +31,7 @@ Customizes the root element of the component (Space component).
|
|
|
31
31
|
|
|
32
32
|
**Sub-elements:**
|
|
33
33
|
|
|
34
|
-
- None
|
|
34
|
+
- None - The component uses Tag components for individual keys
|
|
35
35
|
|
|
36
36
|
### Style Properties
|
|
37
37
|
|
|
@@ -48,7 +48,7 @@ These properties allow direct style application without using the `styles` prop:
|
|
|
48
48
|
|
|
49
49
|
#### label
|
|
50
50
|
|
|
51
|
-
|
|
51
|
+
Provides an accessible label for the keyboard shortcuts. If not provided, defaults to "Keyboard shortcuts".
|
|
52
52
|
|
|
53
53
|
#### description
|
|
54
54
|
|
|
@@ -140,7 +140,7 @@ The inherit type is particularly useful when the HotKeys component needs to matc
|
|
|
140
140
|
aria-label="Search"
|
|
141
141
|
aria-description="Opens the search dialog"
|
|
142
142
|
>
|
|
143
|
-
mod+k,
|
|
143
|
+
mod+k, ctrl+k
|
|
144
144
|
</HotKeys>
|
|
145
145
|
```
|
|
146
146
|
|
|
@@ -151,7 +151,7 @@ The inherit type is particularly useful when the HotKeys component needs to matc
|
|
|
151
151
|
aria-label="Quick actions"
|
|
152
152
|
aria-description="Multiple ways to access quick actions menu"
|
|
153
153
|
>
|
|
154
|
-
mod+shift+p, alt+space
|
|
154
|
+
mod+shift+p, ctrl+shift+p, alt+space
|
|
155
155
|
</HotKeys>
|
|
156
156
|
```
|
|
157
157
|
|
|
@@ -211,7 +211,7 @@ The inherit type is particularly useful when the HotKeys component needs to matc
|
|
|
211
211
|
radius: '1r',
|
|
212
212
|
}}
|
|
213
213
|
>
|
|
214
|
-
mod+k,
|
|
214
|
+
mod+k, ctrl+k
|
|
215
215
|
</HotKeys>
|
|
216
216
|
```
|
|
217
217
|
|
|
@@ -220,31 +220,24 @@ The inherit type is particularly useful when the HotKeys component needs to matc
|
|
|
220
220
|
The keys (a string, or text children joined into one string) use the following format:
|
|
221
221
|
|
|
222
222
|
- **Single key**: `"enter"`, `"space"`, `"a"`
|
|
223
|
-
- **Key combinations
|
|
224
|
-
- **Multiple alternatives**: `"mod+k,
|
|
223
|
+
- **Key combinations**: `"mod+k"`, `"ctrl+shift+p"`
|
|
224
|
+
- **Multiple alternatives**: `"mod+k, ctrl+k"` (separated by commas)
|
|
225
225
|
|
|
226
226
|
### Supported Modifiers
|
|
227
227
|
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
| `shift` | ⇧ | Shift | Shift |
|
|
234
|
-
| `meta`, `cmd`, `command` | ⌘ | Win | Command / Windows |
|
|
228
|
+
- `mod` - Command (⌘) on macOS, Ctrl on Windows/Linux
|
|
229
|
+
- `ctrl`, `control` - Control key (⌃ on macOS, Ctrl on Windows/Linux)
|
|
230
|
+
- `alt`, `option` - Alt/Option key (⌥ on macOS, ⎇ on Windows/Linux)
|
|
231
|
+
- `shift` - Shift key (⇧)
|
|
232
|
+
- `meta`, `cmd`, `command` - Command key (⌘ on macOS, ⊞ on Windows/Linux)
|
|
235
233
|
|
|
236
234
|
### Special Keys
|
|
237
235
|
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
| `backspace` | ⌫ | ⌫ | Backspace |
|
|
244
|
-
| `delete` | ⌦ | ⌦ | Delete |
|
|
245
|
-
| `up`, `down`, `left`, `right` (or `arrowup`, …) | ↑ ↓ ← → | ↑ ↓ ← → | Up Arrow, … |
|
|
246
|
-
|
|
247
|
-
Any other key shows upper-cased (`k` → `K`, `f1` → `F1`) and is spoken as shown.
|
|
236
|
+
- `esc`, `escape` - Escape key (⎋)
|
|
237
|
+
- `enter`, `return` - Enter key (⏎)
|
|
238
|
+
- `space` - Space key (␣)
|
|
239
|
+
- `backspace` - Backspace key (⌫)
|
|
240
|
+
- `delete` - Delete key (⌦)
|
|
248
241
|
|
|
249
242
|
## Accessibility
|
|
250
243
|
|
|
@@ -252,32 +245,37 @@ The HotKeys component is designed with comprehensive accessibility support:
|
|
|
252
245
|
|
|
253
246
|
### Screen Reader Support
|
|
254
247
|
|
|
255
|
-
- **
|
|
256
|
-
- **
|
|
257
|
-
- **
|
|
258
|
-
- **
|
|
248
|
+
- **Semantic Structure**: Uses proper ARIA roles and grouping for logical organization
|
|
249
|
+
- **Descriptive Labels**: Each key combination is properly labeled for screen readers
|
|
250
|
+
- **Contextual Information**: Provides meaningful descriptions of what shortcuts do
|
|
251
|
+
- **Keyboard Shortcuts**: Individual keys are announced clearly with their symbolic representations
|
|
252
|
+
- **Alternative Separators**: The "or" text between alternatives is marked as decorative to avoid confusion
|
|
259
253
|
|
|
260
254
|
### ARIA Attributes
|
|
261
255
|
|
|
262
256
|
- `role="group"` - Identifies the component as a group of related keyboard shortcuts
|
|
263
|
-
- `aria-label` -
|
|
257
|
+
- `aria-label` - Provides an accessible name for the shortcuts group (defaults to "Keyboard shortcuts")
|
|
264
258
|
- `aria-description` - Provides additional context about what the shortcuts do
|
|
265
|
-
- `role="text"`
|
|
259
|
+
- `role="text"` - Ensures individual keys are read as text content
|
|
260
|
+
- `aria-label` on individual keys - Provides clear pronunciation for each key
|
|
261
|
+
- `role="separator"` - Marks the "or" text as a separator between alternatives
|
|
262
|
+
- `aria-hidden="true"` - Hides decorative "or" text from screen readers to avoid redundancy
|
|
266
263
|
|
|
267
264
|
### Keyboard Navigation
|
|
268
265
|
|
|
269
266
|
- The component itself is not focusable as it's for display purposes only
|
|
270
|
-
-
|
|
267
|
+
- Individual keys are presented as non-interactive elements using semantic `<kbd>` tags
|
|
271
268
|
- Screen readers can navigate through the shortcuts using standard reading commands
|
|
272
269
|
|
|
273
270
|
### Semantic HTML
|
|
274
271
|
|
|
275
|
-
- Uses
|
|
272
|
+
- Uses `<kbd>` elements for individual keys, which is the semantic HTML element for keyboard input
|
|
273
|
+
- Proper grouping structure with ARIA roles for logical organization
|
|
276
274
|
- Clear separation between different shortcut alternatives
|
|
277
275
|
|
|
278
276
|
## Best Practices
|
|
279
277
|
|
|
280
|
-
1. **
|
|
278
|
+
1. **Provide meaningful labels**: Always use the `aria-label` prop to describe what the shortcuts do
|
|
281
279
|
|
|
282
280
|
```jsx
|
|
283
281
|
<HotKeys
|
|
@@ -302,7 +300,7 @@ The HotKeys component is designed with comprehensive accessibility support:
|
|
|
302
300
|
aria-label="Search"
|
|
303
301
|
aria-description="Opens search dialog"
|
|
304
302
|
>
|
|
305
|
-
mod+k,
|
|
303
|
+
mod+k, ctrl+k
|
|
306
304
|
</HotKeys> // Good: Shows alternatives with context
|
|
307
305
|
```
|
|
308
306
|
|
|
@@ -343,22 +341,22 @@ The HotKeys component is designed with comprehensive accessibility support:
|
|
|
343
341
|
|
|
344
342
|
## Platform Behavior
|
|
345
343
|
|
|
346
|
-
The component
|
|
344
|
+
The component automatically adapts key symbols based on the user's platform:
|
|
347
345
|
|
|
348
|
-
- **macOS
|
|
349
|
-
- **Windows/Linux
|
|
346
|
+
- **macOS**: Shows ⌘ for `mod`, ⌃ for `ctrl`, ⌥ for `alt`
|
|
347
|
+
- **Windows/Linux**: Shows Ctrl for `mod`, Ctrl for `ctrl`, ⎇ for `alt`
|
|
350
348
|
|
|
351
|
-
|
|
349
|
+
This ensures users see familiar symbols regardless of their operating system.
|
|
352
350
|
|
|
353
351
|
## Related Components
|
|
354
352
|
|
|
353
|
+
- [Tag](./Tag.md) - Individual key display component
|
|
355
354
|
- [Space](./Layout.md) - Layout container used internally
|
|
356
355
|
- [Text](./Text.md) - Used for separator text
|
|
357
356
|
- [Tooltip](./Tooltip.md) - Often used together to show shortcuts
|
|
358
357
|
|
|
359
358
|
## Suggested Improvements
|
|
360
359
|
|
|
361
|
-
- Key sequences (`G` then `I`) as separate caps
|
|
362
360
|
- Add support for mouse button indicators (e.g., "Click + Drag")
|
|
363
361
|
- Consider adding animation for key press feedback
|
|
364
362
|
- Support for custom key symbol mappings
|
|
@@ -39,6 +39,7 @@ A versatile list selection component that allows users to select one or more ite
|
|
|
39
39
|
- **`isFocusWithin`** `boolean` — For a list whose focused option is moved from an input outside it: whether focus is within that input's component
|
|
40
40
|
- **`isCheckable`** `boolean` (default: `false`) — Whether to show checkboxes for multiple selection mode
|
|
41
41
|
- **`shouldFocusWrap`** `boolean` (default: `false`) — Whether keyboard navigation should wrap around
|
|
42
|
+
- **`defaultFocusedKey`** `Key` — The option focused first, instead of the first selected option: when the list autofocuses, and when `Tab` or `Shift+Tab` enters it before any option has had focus. Such as an action row, so that Enter runs it. While it is disabled or missing (on autofocus: missing when the list mounts), the list focuses what it would without it. Focusing it never selects it
|
|
42
43
|
- **`description`** `string` — Field description
|
|
43
44
|
- **`message`** `string` — Help or error message
|
|
44
45
|
- **`showSelectAll`** `boolean` (default: `false`) — Whether to show the "Select All" checkbox in multiple selection mode
|
|
@@ -217,6 +218,14 @@ The `mods` property accepts the following modifiers you can override:
|
|
|
217
218
|
|
|
218
219
|
- When `true`, keyboard navigation wraps around when reaching the end of the list
|
|
219
220
|
|
|
221
|
+
**defaultFocusedKey** (`Key`)
|
|
222
|
+
|
|
223
|
+
- The option focused when the list autofocuses (Picker's list does each time it opens), or when `Tab` / `Shift+Tab` enters it before any option has had focus, instead of the first selected option
|
|
224
|
+
- For a list that leads with an action row, so that Enter runs the action rather than unchecking a selected option
|
|
225
|
+
- Once the user has moved focus, a later `Tab` returns to the option they left, as without it
|
|
226
|
+
- While it is disabled or missing, the list focuses what it would without it. On autofocus the list decides when it mounts, so an option that loads later is not focused
|
|
227
|
+
- Focusing it never selects it
|
|
228
|
+
|
|
220
229
|
### Event Handlers
|
|
221
230
|
|
|
222
231
|
**onSelectionChange** (`(key: Key | null | 'all' | Key[]) => void`)
|
|
@@ -751,7 +760,7 @@ const { data, hasNextPage, isFetchingNextPage, fetchNextPage } = useValues();
|
|
|
751
760
|
|
|
752
761
|
### Keyboard Navigation
|
|
753
762
|
|
|
754
|
-
- `Tab` - Moves focus to/from the ListBox. A disabled ListBox is not in the Tab order
|
|
763
|
+
- `Tab` - Moves focus to/from the ListBox. The first time, focus goes to the option `defaultFocusedKey` names, if any. A disabled ListBox is not in the Tab order
|
|
755
764
|
- `Tab` / `Shift+Tab` - Reach the "Select All" checkbox (with `showSelectAll`), which `Space` toggles
|
|
756
765
|
- `Arrow Keys` - Navigate between options. A disabled option is reached too, as WAI-ARIA keeps it focusable, so a screen reader says why it is unavailable; it can't be selected. With `selectionBehavior="replace"`, where focus selects, the arrow keys skip it
|
|
757
766
|
- `Space/Enter` - Select/deselect the focused option
|
|
@@ -44,6 +44,7 @@ Choose a different component when the interaction has another shape:
|
|
|
44
44
|
- **`hotkeys`** `string` — Keyboard shortcut that triggers the picker when pressed
|
|
45
45
|
- **`shape`** `'rectangle' | 'round'` — Shape of the trigger button
|
|
46
46
|
- **`isCheckable`** `boolean` (default: `false`) — Whether to show checkboxes for multiple selection mode
|
|
47
|
+
- **`defaultFocusedKey`** `Key` — The option focused each time the popover opens, instead of the first selected option, such as an action row so that Enter runs it. While it is disabled, or missing when the popover opens, the list focuses the first selected option. See [Action Row](#action-row)
|
|
47
48
|
- **`showSelectAll`** `boolean` (default: `false`) — Whether to show "Select All" option in multiple selection mode
|
|
48
49
|
- **`selectAllLabel`** `ReactNode` (default: `Select All`) — Label for the "Select All" option
|
|
49
50
|
- **`disallowEmptySelection`** `boolean` (default: `false`) — Whether to disallow empty selection. In single selection mode, re-selecting the current item becomes a no-op: `onSelectionChange` is not fired and the popover closes
|
|
@@ -477,6 +478,35 @@ Customize how the selected items are displayed in the trigger button using a cus
|
|
|
477
478
|
</Picker>
|
|
478
479
|
```
|
|
479
480
|
|
|
481
|
+
### Action Row
|
|
482
|
+
|
|
483
|
+
When the popover opens, the list focuses the first selected option, as listboxes do. A list that leads with an action, such as "Create chart" above the charts, names that row with `defaultFocusedKey`, so that Enter right after opening runs the action instead of unchecking a selected chart. It is focused on every open, as long as it is among the options when the popover opens. With `items`, `sortSelectedToTop` moves the selected options above it, and it is still the one focused; pass `sortSelectedToTop={false}` to keep it first. `FilterPicker` takes the same prop.
|
|
484
|
+
|
|
485
|
+
```jsx
|
|
486
|
+
<Picker
|
|
487
|
+
label="Charts"
|
|
488
|
+
selectionMode="multiple"
|
|
489
|
+
selectedKeys={selectedKeys}
|
|
490
|
+
defaultFocusedKey="create"
|
|
491
|
+
onSelectionChange={(keys) => {
|
|
492
|
+
// The row is an action: run it, and never keep it selected.
|
|
493
|
+
if (keys.includes('create')) {
|
|
494
|
+
createChart();
|
|
495
|
+
return;
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
setSelectedKeys(keys);
|
|
499
|
+
}}
|
|
500
|
+
>
|
|
501
|
+
<Picker.Item key="create" icon={<PlusIcon />}>
|
|
502
|
+
Create chart
|
|
503
|
+
</Picker.Item>
|
|
504
|
+
{charts.map((chart) => (
|
|
505
|
+
<Picker.Item key={chart.id}>{chart.name}</Picker.Item>
|
|
506
|
+
))}
|
|
507
|
+
</Picker>
|
|
508
|
+
```
|
|
509
|
+
|
|
480
510
|
### With Sections
|
|
481
511
|
|
|
482
512
|
Organize items into logical groups with section headers.
|
|
@@ -637,7 +667,7 @@ The Picker component is built with React Aria hooks and provides comprehensive a
|
|
|
637
667
|
### Keyboard Navigation
|
|
638
668
|
|
|
639
669
|
- **`Tab`** — Moves focus to/from the trigger button
|
|
640
|
-
- **`Space`** or **`Enter`** — Opens the dropdown popover when focused on trigger
|
|
670
|
+
- **`Space`** or **`Enter`** — Opens the dropdown popover when focused on trigger. The list focuses the first selected option, unless `defaultFocusedKey` names another
|
|
641
671
|
- **`Arrow Up`** or **`Arrow Down`** — Opens the popover when closed; navigates through items when open. A disabled option is reached too, as WAI-ARIA keeps it focusable, so a screen reader says why it is unavailable; Enter ignores it, and the list never highlights one on its own
|
|
642
672
|
- **`Escape`** — Closes the popover and returns focus to trigger
|
|
643
673
|
- **`Space`** or **`Enter`** — Selects the focused item (single mode closes popover automatically)
|
package/docs/llms.txt
CHANGED
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
- [Divider](components/Divider.md): A line that separates content.
|
|
49
49
|
- [Footer](components/Footer.md): A footer section for page layouts.
|
|
50
50
|
- [Header](components/Header.md): A header section for page layouts.
|
|
51
|
-
- [HotKeys](components/HotKeys.md): A component that displays keyboard shortcuts
|
|
51
|
+
- [HotKeys](components/HotKeys.md): A component that displays keyboard shortcuts in a visually appealing and accessible format using Tag components.
|
|
52
52
|
- [InfoBadge](components/InfoBadge.md): An informational icon with a tooltip.
|
|
53
53
|
- [InlineInput](components/InlineInput.md): Inline editable text.
|
|
54
54
|
- [Item](components/Item.md): A foundational component that provides a standardized layout and styling for item-like elements across the design system.
|