@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
|
@@ -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 { focusProgrammatically } from "../../utils/programmatic-focus.js";
|
|
3
3
|
import { useOpenTransitionContext } from "../Modal/OpenTransitionContext.js";
|
|
4
4
|
import { trapsFocus, useDialogContext } from "./DialogContext.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 { extractStyles, mergeStyleLayers } from "../../utils/styles.js";
|
|
3
3
|
import { mergeRefs } from "../../hooks/use-combined-refs.js";
|
|
4
4
|
import { DisplayTransition } from "../DisplayTransition/DisplayTransition.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 { c } from "react/compiler-runtime";
|
|
3
3
|
import { useCallback, useLayoutEffect, useRef, useState } from "react";
|
|
4
4
|
//#region src/components/DisplayTransition/DisplayTransition.tsx
|
|
@@ -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 "../../utils/styles.js";
|
|
3
3
|
import { useSlotProps } from "../../providers/SlotProvider.js";
|
|
4
4
|
import { c } from "react/compiler-runtime";
|
|
@@ -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 { isItemDisabled } from "../../utils/disabled-behavior.js";
|
|
4
4
|
import { c } from "react/compiler-runtime";
|
|
@@ -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 { mergeProps as mergeProps$1 } from "../../utils/merge-props.js";
|
|
3
3
|
import { Text as _Text } from "../Text/Text.js";
|
|
4
4
|
import { isDevEnv } from "../../utils/is-dev-env.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 { useSyncExternalStore } from "react";
|
|
@@ -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 { mergeProps } from "../../utils/merge-props.js";
|
|
3
3
|
import { useCombinedRefs } from "../../hooks/use-combined-refs.js";
|
|
4
4
|
import { pickBaseCustomizationProps } from "../../utils/pick-base-customization-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 { mergeProps as mergeProps$1 } from "../../utils/merge-props.js";
|
|
3
3
|
import { useCombinedRefs } from "../../hooks/use-combined-refs.js";
|
|
4
4
|
import { pickBaseCustomizationProps } from "../../utils/pick-base-customization-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 { StyledHeader } from "../Menu/styled.js";
|
|
3
3
|
import { DEFAULT_INPUT_STYLES, INPUT_WRAPPER_STYLES } from "../TextInput/TextInputBase.js";
|
|
4
4
|
import { mergeStyles, tasty } from "@tenphi/tasty";
|
|
@@ -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 "../../utils/styles.js";
|
|
3
3
|
import { Text as _Text } from "../Text/Text.js";
|
|
4
4
|
import { useEvent } from "../../hooks/use-event.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 { mergeProps as mergeProps$1 } from "../../utils/merge-props.js";
|
|
3
3
|
import { mergeRefs } from "../../hooks/use-combined-refs.js";
|
|
4
4
|
import { LoadingIcon } from "../../icons/LoadingIcon.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 { 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.0.0-canary-
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-40476a4 | 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.0.0-canary-
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-40476a4 | Cube Dev Team */
|
|
2
2
|
import { extractStyles } from "../../utils/styles.js";
|
|
3
3
|
import { useSlotProps } from "../../providers/SlotProvider.js";
|
|
4
4
|
import { c } from "react/compiler-runtime";
|
|
@@ -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 { mergeProps } from "../../utils/merge-props.js";
|
|
3
3
|
import { warn } from "../../utils/warnings.js";
|
|
4
4
|
import { warnAboutLegacyTooltip } from "../../utils/legacy-tooltip.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 { extractStyles } from "../../utils/styles.js";
|
|
3
3
|
import { useCombinedRefs } from "../../hooks/use-combined-refs.js";
|
|
4
4
|
import { useEvent } from "../../hooks/use-event.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 { ModernControllerContext } from "./modern/ModernControllerContext.js";
|
|
3
3
|
import { c } from "react/compiler-runtime";
|
|
4
4
|
import { createContext, useContext } from "react";
|
|
@@ -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 { tasty } from "@tenphi/tasty";
|
|
3
3
|
//#region src/components/Form/FormElement.tsx
|
|
4
4
|
const FormElement = tasty({
|
|
@@ -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 "../../utils/styles.js";
|
|
3
3
|
import { useLayoutEffect as useLayoutEffect$1 } from "../../hooks/use-layout-effect.js";
|
|
4
4
|
import { mergeRefs } from "../../hooks/use-combined-refs.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 { mergeProps } from "../../utils/merge-props.js";
|
|
3
3
|
import { useEvent } from "../../hooks/use-event.js";
|
|
4
4
|
import { useProviderProps } from "../../providers/Provider.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 { useProviderProps } from "../../providers/Provider.js";
|
|
3
3
|
import { Button } from "../Button/Button.js";
|
|
4
4
|
import { isModernFormController } from "./backend.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 { useI18n } from "../../i18n/use-i18n.js";
|
|
3
3
|
import { ModernControllerContext } from "./modern/ModernControllerContext.js";
|
|
4
4
|
import { FormContext } from "./FormContext.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/components/Form/backend.ts
|
|
3
3
|
/**
|
|
4
4
|
* Nominal branding for the two Form backends (modernization plan §5.1).
|
|
@@ -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 { useFormControllerContext } from "./modern/ModernControllerContext.js";
|
|
3
3
|
import { FormContext, FormScopeMask, useFormProps } from "./FormContext.js";
|
|
4
4
|
import { useField } from "./use-field/use-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
|
import { useEvent } from "../../../hooks/use-event.js";
|
|
3
3
|
import { useProviderProps } from "../../../providers/Provider.js";
|
|
4
4
|
import { Button } from "../../Button/Button.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 { createContext, useContext } from "react";
|
|
3
3
|
//#region src/components/Form/modern/ModernControllerContext.ts
|
|
4
4
|
const ModernControllerContext = createContext(null);
|
|
@@ -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/components/Form/modern/after-press.ts
|
|
3
3
|
/**
|
|
4
4
|
* Runs a blur's work after the pointer press that caused it.
|
|
@@ -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 { FORM_BACKEND, isModernFormController } from "../backend.js";
|
|
3
3
|
import { createFormField } from "./field.js";
|
|
4
4
|
import { createFormStore } from "./store.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 { getFieldKey, hasPath, normalizePath, readPath } from "./values.js";
|
|
3
3
|
import { afterPress, trackPresses } from "./after-press.js";
|
|
4
4
|
import { getControllerInternals } from "./controller.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 { normalizePath } from "./values.js";
|
|
3
3
|
//#region src/components/Form/modern/field.ts
|
|
4
4
|
function createFormField(form, path, options = {}) {
|
|
@@ -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 { ModernControllerContext } from "./ModernControllerContext.js";
|
|
4
4
|
import { getFieldKey, normalizePath, readPath } from "./values.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 { FORM_BACKEND } from "../backend.js";
|
|
3
3
|
import { createValueSnapshotter, defineValue, formValueEqual, freezeContainer, getFieldKey, hasPath, isEmptyFormValue, isPlainObject, normalizePath, pathValueChanged, readPath, readonlySet, sameMembers, writePath } from "./values.js";
|
|
4
4
|
import { rulesSignature, runRules } from "./validation.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 { applyRule } from "../validation.js";
|
|
3
3
|
import { isEmptyFormValue } from "./values.js";
|
|
4
4
|
//#region src/components/Form/modern/validation.ts
|
|
@@ -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/components/Form/modern/values.ts
|
|
3
3
|
const ownedContainers = /* @__PURE__ */ new WeakSet();
|
|
4
4
|
function freezeContainer(value) {
|
|
@@ -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/components/Form/reset-unbound-controls.ts
|
|
3
3
|
/**
|
|
4
4
|
* Both form roots cancel a native reset, because the browser would put a bound
|
|
@@ -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 { useEvent } from "../../../hooks/use-event.js";
|
|
4
4
|
import { isModernFormController } from "../backend.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 { mergeProps } from "../../../utils/merge-props.js";
|
|
3
3
|
import { useEvent } from "../../../hooks/use-event.js";
|
|
4
4
|
import { useProviderProps } from "../../../providers/Provider.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 { useEvent } from "../../../hooks/use-event.js";
|
|
4
4
|
import { useIsFirstRender } from "../../../hooks/use-is-first-render.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 { FORM_BACKEND, isModernFormController, modernBackendUnavailableError } from "./backend.js";
|
|
3
3
|
import { applyRules } from "./validation.js";
|
|
4
4
|
import { dotizeConvert } from "../../utils/dotize.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 { validate } from "email-validator";
|
|
3
3
|
import validUrl from "valid-url";
|
|
4
4
|
//#region src/components/Form/validation.ts
|
|
@@ -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 "../../utils/styles.js";
|
|
3
3
|
import { usePaletteValue } from "../../tokens/palette-config.js";
|
|
4
4
|
import { getTokens } from "../../tokens/all-tokens.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 { 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.0.0-canary-
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.0.0-canary-40476a4 | Cube Dev Team */
|
|
2
2
|
import { useCombinedRefs } from "../../hooks/use-combined-refs.js";
|
|
3
3
|
import { filterComponentBaseProps } from "../../utils/component-base-props.js";
|
|
4
4
|
import { tasty } from "@tenphi/tasty";
|
|
@@ -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 "../../utils/styles.js";
|
|
3
3
|
import { useSlotProps } from "../../providers/SlotProvider.js";
|
|
4
4
|
import { c } from "react/compiler-runtime";
|
|
@@ -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 { tasty } from "@tenphi/tasty";
|
|
3
3
|
//#region src/components/HiddenInput/HiddenInput.tsx
|
|
4
4
|
const HiddenInput = tasty({
|
|
@@ -3,7 +3,7 @@ import { BasePropsWithoutChildren, ContainerStyleProps } from "@tenphi/tasty";
|
|
|
3
3
|
//#region src/components/HotKeys/HotKeys.d.ts
|
|
4
4
|
export interface CubeHotKeysProps extends BasePropsWithoutChildren, ContainerStyleProps {
|
|
5
5
|
/**
|
|
6
|
-
* Key combinations, such as `"mod+k,
|
|
6
|
+
* Key combinations, such as `"mod+k, ctrl+k"`. An array of text, which
|
|
7
7
|
* `<Trans>` passes to a component slot, is joined into one string first.
|
|
8
8
|
*/
|
|
9
9
|
children?: string | readonly (string | number)[];
|
|
@@ -1,8 +1,8 @@
|
|
|
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 "../../utils/styles.js";
|
|
3
3
|
import { Text as _Text } from "../Text/Text.js";
|
|
4
|
-
import { useI18n } from "../../i18n/use-i18n.js";
|
|
5
4
|
import { useKeySymbols } from "../../hooks/use-key-symbols.js";
|
|
5
|
+
import { useI18n } from "../../i18n/use-i18n.js";
|
|
6
6
|
import { Space } from "../Space/Space.js";
|
|
7
7
|
import { c } from "react/compiler-runtime";
|
|
8
8
|
import { CONTAINER_STYLES, filterBaseProps, tasty } from "@tenphi/tasty";
|
|
@@ -44,14 +44,14 @@ const KeyElement = tasty({
|
|
|
44
44
|
"type=primary | type=inherit": "#clear"
|
|
45
45
|
},
|
|
46
46
|
border: {
|
|
47
|
-
"":
|
|
48
|
-
"type=primary": "
|
|
49
|
-
"type=inherit": "
|
|
47
|
+
"": true,
|
|
48
|
+
"type=primary": "#white",
|
|
49
|
+
"type=inherit": "#current"
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
});
|
|
53
53
|
function HotKeys(props, ref) {
|
|
54
|
-
const $ = c(
|
|
54
|
+
const $ = c(18);
|
|
55
55
|
const { children, type, ...otherProps } = props;
|
|
56
56
|
const { t } = useI18n();
|
|
57
57
|
let t0;
|
|
@@ -60,55 +60,71 @@ function HotKeys(props, ref) {
|
|
|
60
60
|
$[0] = children;
|
|
61
61
|
$[1] = t0;
|
|
62
62
|
} else t0 = $[1];
|
|
63
|
-
const
|
|
63
|
+
const parsedKeys = useKeySymbols(t0);
|
|
64
64
|
const styles = extractStyles(otherProps, CONTAINER_STYLES);
|
|
65
65
|
const T0 = StyledHotKeys;
|
|
66
66
|
const t1 = "HotKeys";
|
|
67
|
-
|
|
67
|
+
let t2;
|
|
68
|
+
if ($[2] !== t) {
|
|
69
|
+
t2 = t("hotKeys.ariaLabel", "Keyboard shortcuts");
|
|
70
|
+
$[2] = t;
|
|
71
|
+
$[3] = t2;
|
|
72
|
+
} else t2 = $[3];
|
|
73
|
+
const t3 = filterBaseProps(otherProps, {
|
|
68
74
|
eventProps: true,
|
|
69
75
|
labelable: true
|
|
70
76
|
});
|
|
71
|
-
let
|
|
72
|
-
if ($[
|
|
73
|
-
let
|
|
74
|
-
if ($[
|
|
75
|
-
|
|
77
|
+
let t4;
|
|
78
|
+
if ($[4] !== parsedKeys || $[5] !== t || $[6] !== type) {
|
|
79
|
+
let t5;
|
|
80
|
+
if ($[8] !== t || $[9] !== type) {
|
|
81
|
+
t5 = (keyGroup, groupIndex) => /* @__PURE__ */ jsxs(Fragment, { children: [groupIndex > 0 && /* @__PURE__ */ jsx(_Text, {
|
|
76
82
|
color: "#dark-03",
|
|
83
|
+
role: "separator",
|
|
84
|
+
"aria-hidden": "true",
|
|
77
85
|
children: t("hotKeys.or", "or")
|
|
78
|
-
}), /* @__PURE__ */ jsx(
|
|
79
|
-
"
|
|
80
|
-
|
|
81
|
-
role: "
|
|
82
|
-
"aria-label": combination
|
|
83
|
-
children:
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
86
|
+
}), /* @__PURE__ */ jsx(Space, {
|
|
87
|
+
flow: "row",
|
|
88
|
+
gap: "0.25x",
|
|
89
|
+
role: "group",
|
|
90
|
+
"aria-label": t("hotKeys.combination", "Key combination {{index}}", { index: groupIndex + 1 }),
|
|
91
|
+
children: keyGroup.map((key, keyIndex) => /* @__PURE__ */ jsx(KeyElement, {
|
|
92
|
+
"data-type": type,
|
|
93
|
+
as: "kbd",
|
|
94
|
+
role: "text",
|
|
95
|
+
"aria-label": t("hotKeys.key", "Key {{key}}", { key }),
|
|
96
|
+
children: key
|
|
97
|
+
}, keyIndex))
|
|
98
|
+
})] }, groupIndex);
|
|
99
|
+
$[8] = t;
|
|
100
|
+
$[9] = type;
|
|
101
|
+
$[10] = t5;
|
|
102
|
+
} else t5 = $[10];
|
|
103
|
+
t4 = parsedKeys.map(t5);
|
|
104
|
+
$[4] = parsedKeys;
|
|
105
|
+
$[5] = t;
|
|
106
|
+
$[6] = type;
|
|
107
|
+
$[7] = t4;
|
|
108
|
+
} else t4 = $[7];
|
|
109
|
+
let t5;
|
|
110
|
+
if ($[11] !== T0 || $[12] !== ref || $[13] !== styles || $[14] !== t2 || $[15] !== t3 || $[16] !== t4) {
|
|
111
|
+
t5 = /* @__PURE__ */ jsx(T0, {
|
|
98
112
|
qa: t1,
|
|
99
|
-
|
|
113
|
+
"aria-label": t2,
|
|
114
|
+
...t3,
|
|
100
115
|
ref,
|
|
101
116
|
styles,
|
|
102
|
-
children:
|
|
117
|
+
children: t4
|
|
103
118
|
});
|
|
104
|
-
$[
|
|
105
|
-
$[
|
|
106
|
-
$[
|
|
107
|
-
$[
|
|
108
|
-
$[
|
|
109
|
-
$[
|
|
110
|
-
|
|
111
|
-
|
|
119
|
+
$[11] = T0;
|
|
120
|
+
$[12] = ref;
|
|
121
|
+
$[13] = styles;
|
|
122
|
+
$[14] = t2;
|
|
123
|
+
$[15] = t3;
|
|
124
|
+
$[16] = t4;
|
|
125
|
+
$[17] = t5;
|
|
126
|
+
} else t5 = $[17];
|
|
127
|
+
return t5;
|
|
112
128
|
}
|
|
113
129
|
const _HotKeys = forwardRef(HotKeys);
|
|
114
130
|
_HotKeys.displayName = "HotKeys";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HotKeys.js","names":["BasePropsWithoutChildren","CONTAINER_STYLES","ContainerStyleProps","filterBaseProps","tasty","Children","forwardRef","Fragment","useKeySymbols","useI18n","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","
|
|
1
|
+
{"version":3,"file":"HotKeys.js","names":["BasePropsWithoutChildren","CONTAINER_STYLES","ContainerStyleProps","filterBaseProps","tasty","Children","forwardRef","Fragment","useKeySymbols","useI18n","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","_c","Text"],"sources":["../../../src/components/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 { useKeySymbols } from '../../hooks/use-key-symbols';\nimport { useI18n } from '../../i18n/use-i18n';\nimport { extractStyles } from '../../utils/styles';\nimport { Space } from '../Space/Space';\nimport { Text } from '../Text/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, 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;CACb;AACF,CAAC;AAED,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;EAClB;EACAC,MAAM;GACJ,IAAI;GACJ,+BAA+B;EACjC;EACAC,QAAQ;GACN,IAAI;GACJ,gBAAgB;GAChB,gBAAgB;EAClB;CACF;AACF,CAAC;AAYD,SAAAI,QAAAC,OAAAC,KAAA;CAAA,MAAAC,IAAAC,EAAA,EAAA;CACE,MAAA,EAAAN,UAAAC,MAAA,GAAAM,eAA0CJ;CAC1C,MAAA,EAAAK,MAAcpC,QAAQ;CAAE,IAAAqC;CAAA,IAAAJ,EAAA,OAAAL,UAAA;EACSS,KAAAzC,SAAQ0C,QAASV,QAAQ,CAAC,CAAAW,KAAM,EAAE;EAACN,EAAA,KAAAL;EAAAK,EAAA,KAAAI;CAAA,OAAAA,KAAAJ,EAAA;CAApE,MAAAO,aAAmBzC,cAAcsC,EAAmC;CACpE,MAAA9B,SAAeN,cAAckC,YAAY3C,gBAAgB;CAGtD,MAAAiD,KAAArC;CACI,MAAAsC,KAAA;CAAS,IAAAC;CAAA,IAAAV,EAAA,OAAAG,GAAA;EACAO,KAAAP,EAAE,qBAAqB,oBAAoB;EAACH,EAAA,KAAAG;EAAAH,EAAA,KAAAU;CAAA,OAAAA,KAAAV,EAAA;CACpD,MAAAW,KAAAlD,gBAAgByC,YAAY;EAAAU,YAAc;EAAIC,WAAa;CAAK,CAAC;CAAC,IAAAC;CAAA,IAAAd,EAAA,OAAAO,cAAAP,EAAA,OAAAG,KAAAH,EAAA,OAAAJ,MAAA;EAAA,IAAAmB;EAAA,IAAAf,EAAA,OAAAG,KAAAH,EAAA,OAAAJ,MAAA;GAItDmB,MAAAC,UAAAC,eACd,qBAAC,UAAD,EAAA,UAAA,CACGA,aAAa,KACZ,oBAACQ,OAAD;IAAY,OAAA;IAAgB,MAAA;IAAwB,eAAA;IACjDtB,UAAAA,EAAE,cAAc,IAAI;GADlB,CAAA,GAIP,oBAAC,OAAD;IACO,MAAA;IACD,KAAA;IACC,MAAA;IACO,cAAAA,EAAE,uBAAuB,6BAA6B,EAAAe,OACzDD,aAAa,EACtB,CAAC;IAEAD,UAAAA,SAAQG,KAAKC,KAAAC,aACZ,oBAAC,YAAD;KAEazB,aAAAA;KACR,IAAA;KACE,MAAA;KACO,cAAAO,EAAE,eAAe,eAAe,EAAAiB,IAAM,CAAC;KAElDA,UAAAA;IAPQ,GACJC,QADI,CASZ;GAlBG,CAAA,CANC,EAAA,GAAMJ,UAAN;GA2BVjB,EAAA,KAAAG;GAAAH,EAAA,KAAAJ;GAAAI,EAAA,MAAAe;EAAA,OAAAA,KAAAf,EAAA;EA5BAc,KAAAP,WAAUY,IAAKJ,EA4Bf;EAACf,EAAA,KAAAO;EAAAP,EAAA,KAAAG;EAAAH,EAAA,KAAAJ;EAAAI,EAAA,KAAAc;CAAA,OAAAA,KAAAd,EAAA;CAAA,IAAAe;CAAA,IAAAf,EAAA,QAAAQ,MAAAR,EAAA,QAAAD,OAAAC,EAAA,QAAA1B,UAAA0B,EAAA,QAAAU,MAAAV,EAAA,QAAAW,MAAAX,EAAA,QAAAc,IAAA;EAnCJC,KAAA,oBAAC,IAAD;GACK,IAAAN;GACS,cAAAC;GAA4C,GACpDC;GACCZ;GACGzB;GAEPwC,UAAAA;EAPW,CAAA;EAoCEd,EAAA,MAAAQ;EAAAR,EAAA,MAAAD;EAAAC,EAAA,MAAA1B;EAAA0B,EAAA,MAAAU;EAAAV,EAAA,MAAAW;EAAAX,EAAA,MAAAc;EAAAd,EAAA,MAAAe;CAAA,OAAAA,KAAAf,EAAA;CAAA,OApChBe;AAoCgB;AAIpB,MAAMO,WAAW1D,WAAWiC,OAAO;AAEnCyB,SAASC,cAAc"}
|
|
@@ -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 { DisplayTransition } from "../DisplayTransition/DisplayTransition.js";
|
|
3
3
|
import { tasty } from "@tenphi/tasty";
|
|
4
4
|
import { isValidElement, useCallback, useLayoutEffect, useRef, useState } from "react";
|
|
@@ -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 { mergeProps as mergeProps$1 } from "../../utils/merge-props.js";
|
|
3
3
|
import { useWarn } from "../../hooks/use-warn.js";
|
|
4
4
|
import { ItemAction } from "../ItemAction/ItemAction.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 { extractStyles, mergeStyleLayers } from "../../utils/styles.js";
|
|
3
3
|
import { mergeProps as mergeProps$1 } from "../../utils/merge-props.js";
|
|
4
4
|
import { useEvent } from "../../hooks/use-event.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 { FileInput as _FileInput } from "../FileInput/FileInput.js";
|
|
3
3
|
import { NumberInput as _NumberInput } from "../NumberInput/NumberInput.js";
|
|
4
4
|
import { PasswordInput as _PasswordInput } from "../PasswordInput/PasswordInput.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 { mergeProps } from "../../utils/merge-props.js";
|
|
3
3
|
import { useAutoTooltip } from "../../hooks/use-auto-tooltip.js";
|
|
4
4
|
import { highlightText } from "../../utils/highlight-text.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 { ItemWithNativeSlots } from "./Item.js";
|
|
3
3
|
import { subscribeScheme } from "../../hooks/use-scheme.js";
|
|
4
4
|
import { getLayoutScale } from "../../utils/layout-scale.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 { mergeProps } from "../../utils/merge-props.js";
|
|
3
3
|
import { TooltipProvider } from "../Tooltip/TooltipProvider.js";
|
|
4
4
|
import { getDisabledElementProps } from "../../utils/disabled-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 { ItemAction } from "./ItemAction.js";
|
|
3
3
|
import { useI18n } from "../../i18n/use-i18n.js";
|
|
4
4
|
import { CloseIcon } from "../../icons/CloseIcon.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 { DisplayTransition } from "../DisplayTransition/DisplayTransition.js";
|
|
3
3
|
import { ItemActionProvider } from "../../providers/ItemActionContext.js";
|
|
4
4
|
import { ITEM_RESTING_COLOR_VARIANTS, ROW_STATE_ALIASES, resolveItemVariant } from "../../themes/item-themes.js";
|