@cube-dev/ui-kit 0.219.1 → 0.220.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/CHANGELOG.md +12 -0
- package/dist/_internal/hooks/use-debounced-value.js +1 -1
- package/dist/_internal/hooks/use-deprecation-warning.js +1 -1
- package/dist/_internal/hooks/use-event.js +1 -1
- package/dist/_internal/hooks/use-is-first-render.js +1 -1
- package/dist/_internal/hooks/use-sync-ref.js +1 -1
- package/dist/_internal/hooks/use-timer/timer.js +1 -1
- package/dist/_internal/hooks/use-timer/use-timer.js +1 -1
- package/dist/_internal/hooks/use-warn.js +1 -1
- package/dist/components/Block.js +1 -1
- package/dist/components/CollectionItem.js +1 -1
- package/dist/components/GlobalStyles.js +1 -1
- package/dist/components/GridProvider.js +1 -1
- package/dist/components/HiddenInput.js +1 -1
- package/dist/components/Root.js +1 -1
- package/dist/components/actions/Action/Action.js +1 -1
- package/dist/components/actions/Banner/Banner.js +1 -1
- package/dist/components/actions/Button/AutoCollapseObserver.js +1 -1
- package/dist/components/actions/Button/Button.js +1 -1
- package/dist/components/actions/Button/index.js +1 -1
- package/dist/components/actions/ButtonGroup/ButtonGroup.js +1 -1
- package/dist/components/actions/ButtonSplit/ButtonSplit.js +1 -1
- package/dist/components/actions/ButtonSplit/context.js +1 -1
- package/dist/components/actions/CommandMenu/CommandMenu.js +1 -1
- package/dist/components/actions/CommandMenu/styled.js +1 -1
- package/dist/components/actions/ItemAction/ItemAction.js +1 -1
- package/dist/components/actions/ItemActionContext.js +1 -1
- package/dist/components/actions/ItemActionsWrapper.js +1 -1
- package/dist/components/actions/ItemButton/ItemButton.js +1 -1
- package/dist/components/actions/Link/Link.js +1 -1
- package/dist/components/actions/Menu/Menu.js +1 -1
- package/dist/components/actions/Menu/MenuCollectionItem.js +1 -1
- package/dist/components/actions/Menu/MenuItem.js +1 -1
- package/dist/components/actions/Menu/MenuSection.js +1 -1
- package/dist/components/actions/Menu/MenuTrigger.js +1 -1
- package/dist/components/actions/Menu/SubMenuTrigger.js +1 -1
- package/dist/components/actions/Menu/SubmenuTriggerContext.js +1 -1
- package/dist/components/actions/Menu/context.js +1 -1
- package/dist/components/actions/Menu/styled.js +1 -1
- package/dist/components/actions/actions-run.js +1 -1
- package/dist/components/actions/touch-context-menu.js +1 -1
- package/dist/components/actions/use-action.js +1 -1
- package/dist/components/actions/use-anchored-menu.js +1 -1
- package/dist/components/actions/use-context-menu.js +1 -1
- package/dist/components/content/ActiveZone/ActiveZone.js +1 -1
- package/dist/components/content/Alert/Alert.js +1 -1
- package/dist/components/content/Alert/use-alert.js +1 -1
- package/dist/components/content/Avatar/Avatar.js +1 -1
- package/dist/components/content/Badge/Badge.js +1 -1
- package/dist/components/content/Card/Card.js +1 -1
- package/dist/components/content/Content.js +1 -1
- package/dist/components/content/CopyPasteBlock/CopyPasteBlock.js +1 -1
- package/dist/components/content/CopySnippet/CopySnippet.js +1 -1
- package/dist/components/content/Disclosure/Disclosure.js +1 -1
- package/dist/components/content/Divider/Divider.js +1 -1
- package/dist/components/content/Footer.js +1 -1
- package/dist/components/content/Header.js +1 -1
- package/dist/components/content/HotKeys/HotKeys.js +1 -1
- package/dist/components/content/InfoBadge/InfoBadge.js +1 -1
- package/dist/components/content/InlineInput/InlineInput.js +1 -1
- package/dist/components/content/Item/Item.js +1 -1
- package/dist/components/content/Item/ItemWithNativeLinks.js +1 -1
- package/dist/components/content/ItemBadge/ItemBadge.js +1 -1
- package/dist/components/content/ItemCard/ItemCard.js +1 -1
- package/dist/components/content/Layout/GridLayout.js +1 -1
- package/dist/components/content/Layout/Layout.js +1 -1
- package/dist/components/content/Layout/LayoutBlock.js +1 -1
- package/dist/components/content/Layout/LayoutCenter.js +1 -1
- package/dist/components/content/Layout/LayoutContainer.js +1 -1
- package/dist/components/content/Layout/LayoutContent.js +1 -1
- package/dist/components/content/Layout/LayoutContext.js +1 -1
- package/dist/components/content/Layout/LayoutFlex.js +1 -1
- package/dist/components/content/Layout/LayoutFooter.js +1 -1
- package/dist/components/content/Layout/LayoutGrid.js +1 -1
- package/dist/components/content/Layout/LayoutHeader.js +1 -1
- package/dist/components/content/Layout/LayoutPane.js +1 -1
- package/dist/components/content/Layout/LayoutPanel.js +1 -1
- package/dist/components/content/Layout/LayoutPanelHeader.js +1 -1
- package/dist/components/content/Layout/LayoutPanelTransition.js +1 -1
- package/dist/components/content/Layout/LayoutToolbar.js +1 -1
- package/dist/components/content/Layout/hooks/useTinyScrollbar.js +1 -1
- package/dist/components/content/Layout/index.js +1 -1
- package/dist/components/content/Layout/utils.js +1 -1
- package/dist/components/content/Paragraph.js +1 -1
- package/dist/components/content/Placeholder/Placeholder.js +1 -1
- package/dist/components/content/PrismCode/PrismCode.js +1 -1
- package/dist/components/content/PrismCode/prismSetup.js +1 -1
- package/dist/components/content/PrismDiffCode/PrismDiffCode.js +1 -1
- package/dist/components/content/Result/Result.js +1 -1
- package/dist/components/content/Skeleton/Skeleton.js +1 -1
- package/dist/components/content/Tag/Tag.js +1 -1
- package/dist/components/content/Text.js +1 -1
- package/dist/components/content/TextItem/TextItem.js +1 -1
- package/dist/components/content/Title.js +1 -1
- package/dist/components/content/Tree/Tree.js +24 -18
- package/dist/components/content/Tree/Tree.js.map +1 -1
- package/dist/components/content/Tree/TreeNode.js +1 -1
- package/dist/components/content/Tree/checked-keys.js +1 -1
- package/dist/components/content/Tree/rowId.js +1 -1
- package/dist/components/content/Tree/styled.js +15 -8
- package/dist/components/content/Tree/styled.js.map +1 -1
- package/dist/components/content/Tree/tree-index.js +1 -1
- package/dist/components/content/Tree/use-checkbox-tree.js +1 -1
- package/dist/components/content/Tree/use-load-data.js +1 -1
- package/dist/components/content/highlightText.js +1 -1
- package/dist/components/content/use-auto-tooltip.js +1 -1
- package/dist/components/data/DataTable/DataTable.js +1 -1
- package/dist/components/data/ItemTable/ItemTable.js +1 -1
- package/dist/components/data/ItemTable/ItemTableBulkBar.js +1 -1
- package/dist/components/data/ItemTable/ItemTableDragPreview.js +1 -1
- package/dist/components/data/ItemTable/ItemTableFooter.js +1 -1
- package/dist/components/data/ItemTable/ItemTableToolbar.js +1 -1
- package/dist/components/data/ItemTable/item-table-sections.js +1 -1
- package/dist/components/data/ItemTable/use-item-table-column-widths.js +1 -1
- package/dist/components/data/ItemTable/use-item-table-drag-drop.js +1 -1
- package/dist/components/data/ItemTable/use-item-table-pagination.js +1 -1
- package/dist/components/data/ItemTable/use-item-table-selection.js +1 -1
- package/dist/components/data/ItemTable/use-item-table-sort.js +1 -1
- package/dist/components/data/ItemTable/use-item-table-tree-model.js +1 -1
- package/dist/components/data/TableBase/ColumnResizer.js +1 -1
- package/dist/components/data/TableBase/RowCollection.js +1 -1
- package/dist/components/data/TableBase/TableHeaderCell.js +1 -1
- package/dist/components/data/TableBase/TableRow.js +1 -1
- package/dist/components/data/TableBase/TableRowLink.js +1 -1
- package/dist/components/data/TableBase/TableView.js +1 -1
- package/dist/components/data/TableBase/TreeGridTable.js +1 -1
- package/dist/components/data/TableBase/column-header.js +1 -1
- package/dist/components/data/TableBase/column-menu.js +1 -1
- package/dist/components/data/TableBase/column-styles.js +1 -1
- package/dist/components/data/TableBase/column-tint.js +1 -1
- package/dist/components/data/TableBase/row-menu.js +1 -1
- package/dist/components/data/TableBase/styled.js +1 -1
- package/dist/components/data/TableBase/table-body-sections.js +1 -1
- package/dist/components/data/TableBase/table-tree.js +1 -1
- package/dist/components/data/TableBase/types.js +1 -1
- package/dist/components/data/TableBase/use-cell-selection.js +0 -0
- package/dist/components/data/TableBase/use-column-menu.js +1 -1
- package/dist/components/data/TableBase/use-column-order.js +1 -1
- package/dist/components/data/TableBase/use-column-window.js +1 -1
- package/dist/components/data/TableBase/use-container-width.js +1 -1
- package/dist/components/data/TableBase/use-row-move-animation.js +1 -1
- package/dist/components/data/TableBase/use-scrollability.js +1 -1
- package/dist/components/data/TableBase/use-table-columns.js +1 -1
- package/dist/components/data/TableBase/use-table-search.js +1 -1
- package/dist/components/data/TableBase/use-table-selection.js +1 -1
- package/dist/components/data/TableBase/use-table-sort.js +1 -1
- package/dist/components/data/TableBase/use-table-sorts.js +1 -1
- package/dist/components/data/TableBase/use-table-storage.js +1 -1
- package/dist/components/data/TableBase/use-table-tooltip-refresh.js +1 -1
- package/dist/components/data/TableBase/use-table-tree-state.js +1 -1
- package/dist/components/fields/Checkbox/Checkbox.js +1 -1
- package/dist/components/fields/Checkbox/CheckboxGroup.js +1 -1
- package/dist/components/fields/Checkbox/context.js +1 -1
- package/dist/components/fields/ColorInput/ColorInput.js +1 -1
- package/dist/components/fields/ColorPicker/ColorPicker.js +1 -1
- package/dist/components/fields/ColorSwatch/ColorSwatch.js +1 -1
- package/dist/components/fields/ColorSwatchGroup/ColorSwatchGroup.js +1 -1
- package/dist/components/fields/ComboBox/ComboBox.d.ts +2 -1
- package/dist/components/fields/ComboBox/ComboBox.js +150 -138
- package/dist/components/fields/ComboBox/ComboBox.js.map +1 -1
- package/dist/components/fields/ComboBox/comboBoxOptions.js +1 -1
- package/dist/components/fields/CommandTextArea/CommandTextArea.js +2 -4
- package/dist/components/fields/CommandTextArea/CommandTextArea.js.map +1 -1
- package/dist/components/fields/CommandTextArea/caretPosition.js +1 -1
- package/dist/components/fields/CommandTextArea/useCaretAnchor.js +1 -1
- package/dist/components/fields/DatePicker/CalendarPopover.js +1 -1
- package/dist/components/fields/DatePicker/DateInput.js +1 -1
- package/dist/components/fields/DatePicker/DateInputBase.js +1 -1
- package/dist/components/fields/DatePicker/DatePicker.js +1 -1
- package/dist/components/fields/DatePicker/DatePickerButton.js +1 -1
- package/dist/components/fields/DatePicker/DatePickerElement.js +1 -1
- package/dist/components/fields/DatePicker/DatePickerInput.js +1 -1
- package/dist/components/fields/DatePicker/DatePickerSegment.js +1 -1
- package/dist/components/fields/DatePicker/DateRangePicker.js +1 -1
- package/dist/components/fields/DatePicker/DateRangeSeparatedPicker.js +1 -1
- package/dist/components/fields/DatePicker/MonthPicker.js +1 -1
- package/dist/components/fields/DatePicker/PeriodPicker.js +1 -1
- package/dist/components/fields/DatePicker/QuarterPicker.js +1 -1
- package/dist/components/fields/DatePicker/TimeInput.js +1 -1
- package/dist/components/fields/DatePicker/WeekPicker.js +1 -1
- package/dist/components/fields/DatePicker/YearPicker.js +1 -1
- package/dist/components/fields/DatePicker/parseDate.js +1 -1
- package/dist/components/fields/DatePicker/period.js +1 -1
- package/dist/components/fields/DatePicker/props.js +1 -1
- package/dist/components/fields/DatePicker/utils.js +1 -1
- package/dist/components/fields/FileInput/FileInput.js +1 -1
- package/dist/components/fields/FilterListBox/FilterListBox.js +1 -1
- package/dist/components/fields/FilterListBox/styled.js +1 -1
- package/dist/components/fields/FilterPicker/FilterPicker.js +3 -2
- package/dist/components/fields/FilterPicker/FilterPicker.js.map +1 -1
- package/dist/components/fields/FilterPicker/FilterTree.js +45 -25
- package/dist/components/fields/FilterPicker/FilterTree.js.map +1 -1
- package/dist/components/fields/Input/Input.js +1 -1
- package/dist/components/fields/ListBox/DraggableListBox.js +1 -1
- package/dist/components/fields/ListBox/ListBox.js +45 -13
- package/dist/components/fields/ListBox/ListBox.js.map +1 -1
- package/dist/components/fields/ListBox/empty-row.js +1 -1
- package/dist/components/fields/ListBox/optionId.js +1 -1
- package/dist/components/fields/ListBoxPopover/ListBoxPopover.js +4 -3
- package/dist/components/fields/ListBoxPopover/ListBoxPopover.js.map +1 -1
- package/dist/components/fields/ListBoxPopover/listNavigation.js +1 -1
- package/dist/components/fields/ListBoxPopover/useCompositeFocus.js +1 -1
- package/dist/components/fields/NumberInput/NumberInput.js +1 -1
- package/dist/components/fields/NumberInput/StepButton.js +1 -1
- package/dist/components/fields/PasswordInput/PasswordInput.js +1 -1
- package/dist/components/fields/Picker/Picker.js +3 -2
- package/dist/components/fields/Picker/Picker.js.map +1 -1
- package/dist/components/fields/RadioGroup/Radio.js +2 -2
- package/dist/components/fields/RadioGroup/Radio.js.map +1 -1
- package/dist/components/fields/RadioGroup/RadioGroup.js +6 -2
- package/dist/components/fields/RadioGroup/RadioGroup.js.map +1 -1
- package/dist/components/fields/RadioGroup/context.js +1 -1
- package/dist/components/fields/RadioGroup/joined-styles.js +3 -2
- package/dist/components/fields/RadioGroup/joined-styles.js.map +1 -1
- package/dist/components/fields/SearchComboBox/SearchComboBox.js +1 -1
- package/dist/components/fields/SearchInput/SearchInput.js +1 -1
- package/dist/components/fields/Select/Select.js +1 -1
- package/dist/components/fields/Slider/Gradation.js +1 -1
- package/dist/components/fields/Slider/HueSlider.js +1 -1
- package/dist/components/fields/Slider/RangeSlider.js +1 -1
- package/dist/components/fields/Slider/Slider.js +1 -1
- package/dist/components/fields/Slider/SliderBase.js +1 -1
- package/dist/components/fields/Slider/SliderThumb.js +1 -1
- package/dist/components/fields/Slider/SliderTrack.js +1 -1
- package/dist/components/fields/Slider/elements.js +1 -1
- package/dist/components/fields/Slider/index.js +1 -1
- package/dist/components/fields/Switch/Switch.js +1 -1
- package/dist/components/fields/TagInput/TagInput.js +1 -1
- package/dist/components/fields/TagInput/TagList.js +1 -1
- package/dist/components/fields/TagInput/useActiveOption.js +1 -1
- package/dist/components/fields/TagInput/useSuffixSpace.js +1 -1
- package/dist/components/fields/TagInput/useTagError.js +1 -1
- package/dist/components/fields/TextArea/TextArea.js +1 -1
- package/dist/components/fields/TextInput/TextInput.js +1 -1
- package/dist/components/fields/TextInput/TextInputBase.d.ts +1 -1
- package/dist/components/fields/TextInput/TextInputBase.js +1 -1
- package/dist/components/fields/TextInput/TextInputBase.js.map +1 -1
- package/dist/components/fields/TextInput/displayed-validation.js +1 -1
- package/dist/components/fields/TextInput/identifier-text-services.js +1 -1
- package/dist/components/fields/TextInput/password-manager-ignore.js +1 -1
- package/dist/components/fields/TextInput/useAutoSizeTextArea.js +1 -1
- package/dist/components/fields/TextInputMapper/TextInputMapper.d.ts +2 -2
- package/dist/components/fields/TextInputMapper/TextInputMapper.js +2 -1
- package/dist/components/fields/TextInputMapper/TextInputMapper.js.map +1 -1
- package/dist/components/fields/ToggleGroup/ToggleGroup.js +1 -1
- package/dist/components/fields/ToggleGroup/ToggleGroupItem.js +1 -1
- package/dist/components/fields/ToggleGroup/context.js +1 -1
- package/dist/components/fields/TriggerActions.js +1 -1
- package/dist/components/fields/color/ColorPanel.js +1 -1
- package/dist/components/fields/color/channels.js +1 -1
- package/dist/components/fields/color/color.js +1 -1
- package/dist/components/fields/color/context.js +1 -1
- package/dist/components/fields/option-origin-press.js +1 -1
- package/dist/components/fields/popover-width.js +24 -0
- package/dist/components/fields/popover-width.js.map +1 -0
- package/dist/components/fields/search-text-services.js +1 -1
- package/dist/components/form/FieldWrapper/FieldWrapper.js +1 -1
- package/dist/components/form/FieldWrapper/field-description.js +1 -1
- package/dist/components/form/Form/Field.js +1 -1
- package/dist/components/form/Form/Form.js +1 -1
- package/dist/components/form/Form/FormContext.js +1 -1
- package/dist/components/form/Form/FormElement.js +1 -1
- package/dist/components/form/Form/ModernFormRoot.js +1 -1
- package/dist/components/form/Form/ResetButton/ResetButton.js +1 -1
- package/dist/components/form/Form/SubmitButton/SubmitButton.js +1 -1
- package/dist/components/form/Form/SubmitError.js +1 -1
- package/dist/components/form/Form/backend.js +1 -1
- package/dist/components/form/Form/index.js +1 -1
- package/dist/components/form/Form/modern/actions.js +1 -1
- package/dist/components/form/Form/modern/context.js +1 -1
- package/dist/components/form/Form/modern/controller.js +1 -1
- package/dist/components/form/Form/modern/field-binding.js +1 -1
- package/dist/components/form/Form/modern/field.js +1 -1
- package/dist/components/form/Form/modern/react.js +1 -1
- package/dist/components/form/Form/modern/store.js +1 -1
- package/dist/components/form/Form/modern/validation.js +1 -1
- package/dist/components/form/Form/modern/values.js +1 -1
- package/dist/components/form/Form/reset-unbound-controls.js +1 -1
- package/dist/components/form/Form/use-field/use-field-binding.js +1 -1
- package/dist/components/form/Form/use-field/use-field-props.js +1 -1
- package/dist/components/form/Form/use-field/use-field.js +1 -1
- package/dist/components/form/Form/use-form.js +1 -1
- package/dist/components/form/Form/validation.js +1 -1
- package/dist/components/form/Label.js +1 -1
- package/dist/components/form/field-chrome.js +1 -1
- package/dist/components/form/field-layout.js +1 -1
- package/dist/components/form/legacy-tooltip.js +1 -1
- package/dist/components/form/validation/ValidationIndicator.js +1 -1
- package/dist/components/form/validation/resolve-validation-props.js +1 -1
- package/dist/components/form/validation/use-validation-props.js +1 -1
- package/dist/components/form/wrapper.js +1 -1
- package/dist/components/helpers/DisplayTransition/DisplayTransition.js +1 -1
- package/dist/components/helpers/IconSwitch/IconSwitch.js +1 -1
- package/dist/components/layout/Flex.js +1 -1
- package/dist/components/layout/Flow.js +1 -1
- package/dist/components/layout/Grid.js +1 -1
- package/dist/components/layout/Panel.js +1 -1
- package/dist/components/layout/Prefix.js +1 -1
- package/dist/components/layout/ResizablePanel.js +1 -1
- package/dist/components/layout/Space.js +1 -1
- package/dist/components/layout/Suffix.js +1 -1
- package/dist/components/navigation/NavTabs/NavTabs.js +1 -1
- package/dist/components/navigation/Pagination/Pagination.js +1 -1
- package/dist/components/navigation/Pagination/use-pagination.js +1 -1
- package/dist/components/navigation/Tabs/BoardDragActiveProvider.js +1 -1
- package/dist/components/navigation/Tabs/DraggableTabList.js +1 -1
- package/dist/components/navigation/Tabs/TabButton.js +1 -1
- package/dist/components/navigation/Tabs/TabDropIndicator.js +1 -1
- package/dist/components/navigation/Tabs/TabPanel.js +1 -1
- package/dist/components/navigation/Tabs/TabPicker.js +1 -1
- package/dist/components/navigation/Tabs/Tabs.js +1 -1
- package/dist/components/navigation/Tabs/TabsAction.js +1 -1
- package/dist/components/navigation/Tabs/TabsContext.js +1 -1
- package/dist/components/navigation/Tabs/popover-placement.js +1 -1
- package/dist/components/navigation/Tabs/scroll-tab-into-strip.js +1 -1
- package/dist/components/navigation/Tabs/segmented-styles.js +1 -1
- package/dist/components/navigation/Tabs/styled.js +1 -1
- package/dist/components/navigation/Tabs/types.js +1 -1
- package/dist/components/navigation/Tabs/use-tab-editing.js +1 -1
- package/dist/components/navigation/Tabs/use-tab-indicator.js +1 -1
- package/dist/components/organisms/StatsCard/StatsCard.js +1 -1
- package/dist/components/other/Calendar/Calendar.js +1 -1
- package/dist/components/other/Calendar/CalendarCell.js +1 -1
- package/dist/components/other/Calendar/CalendarGrid.js +1 -1
- package/dist/components/other/Calendar/CalendarHeader.js +1 -1
- package/dist/components/other/Calendar/CalendarPanel.js +1 -1
- package/dist/components/other/Calendar/PeriodCalendar.js +1 -1
- package/dist/components/other/Calendar/PeriodGrid.js +1 -1
- package/dist/components/other/Calendar/RangeCalendar.js +1 -1
- package/dist/components/other/Calendar/styled.js +1 -1
- package/dist/components/other/CubeLogo/CubeLogo.js +1 -1
- package/dist/components/other/NoDataIcon/NoDataIcon.js +1 -1
- package/dist/components/overlays/AlertDialog/AlertDialog.js +1 -1
- package/dist/components/overlays/AlertDialog/AlertDialogApiProvider.js +1 -1
- package/dist/components/overlays/AlertDialog/AlertDialogZone.js +1 -1
- package/dist/components/overlays/Dialog/Dialog.js +1 -1
- package/dist/components/overlays/Dialog/DialogContainer.js +1 -1
- package/dist/components/overlays/Dialog/DialogForm.js +1 -1
- package/dist/components/overlays/Dialog/DialogTrigger.js +1 -1
- package/dist/components/overlays/Dialog/ModernDialogForm.js +1 -1
- package/dist/components/overlays/Dialog/context.js +1 -1
- package/dist/components/overlays/Dialog/default-button-text.js +1 -1
- package/dist/components/overlays/Dialog/use-content-overflow.js +1 -1
- package/dist/components/overlays/Dialog/use-dialog-container.js +1 -1
- package/dist/components/overlays/Dialog/use-dialog-open-sync.js +1 -1
- package/dist/components/overlays/Dialog/use-dismiss-confirmation.js +1 -1
- package/dist/components/overlays/Dialog/use-retained-dialog-focus.js +1 -1
- package/dist/components/overlays/Modal/Modal.js +1 -1
- package/dist/components/overlays/Modal/OpenTransitionContext.js +1 -1
- package/dist/components/overlays/Modal/Overlay.js +1 -1
- package/dist/components/overlays/Modal/Popover.js +1 -1
- package/dist/components/overlays/Modal/Tray.js +1 -1
- package/dist/components/overlays/Modal/Underlay.js +1 -1
- package/dist/components/overlays/Modal/modal-containment.js +1 -1
- package/dist/components/overlays/Notifications/Notification.js +1 -1
- package/dist/components/overlays/Notifications/NotificationAction.js +1 -1
- package/dist/components/overlays/Notifications/NotificationCard.js +1 -1
- package/dist/components/overlays/Notifications/NotificationContext.js +1 -1
- package/dist/components/overlays/Notifications/NotificationItem.js +1 -1
- package/dist/components/overlays/Notifications/OverlayContainer.js +1 -1
- package/dist/components/overlays/Notifications/OverlayProvider.js +1 -1
- package/dist/components/overlays/Notifications/PersistentNotificationsList.js +1 -1
- package/dist/components/overlays/Notifications/dismissed-storage.js +1 -1
- package/dist/components/overlays/Notifications/format-relative-time.js +1 -1
- package/dist/components/overlays/Notifications/index.js +1 -1
- package/dist/components/overlays/Notifications/use-notification-state.js +1 -1
- package/dist/components/overlays/Notifications/use-notifications.js +1 -1
- package/dist/components/overlays/Notifications/use-overlay-timers.js +1 -1
- package/dist/components/overlays/Notifications/use-persistent-notifications.js +1 -1
- package/dist/components/overlays/Notifications/use-persistent-state.js +1 -1
- package/dist/components/overlays/Notifications/use-toast-state.js +1 -1
- package/dist/components/overlays/Toast/ToastItem.js +1 -1
- package/dist/components/overlays/Toast/index.js +1 -1
- package/dist/components/overlays/Toast/useProgressToast.js +1 -1
- package/dist/components/overlays/Toast/useToast.js +1 -1
- package/dist/components/overlays/Tooltip/Tooltip.js +1 -1
- package/dist/components/overlays/Tooltip/TooltipProvider.js +1 -1
- package/dist/components/overlays/Tooltip/TooltipTrigger.js +1 -1
- package/dist/components/overlays/Tooltip/context.js +1 -1
- package/dist/components/overlays/Tooltip/split-trigger-props.js +1 -1
- package/dist/components/portal/Portal.js +1 -1
- package/dist/components/portal/PortalProvider.js +1 -1
- package/dist/components/portal/usePortal.js +1 -1
- package/dist/components/shared/DraggableCollection.js +1 -1
- package/dist/components/shared/InvalidIcon.js +1 -1
- package/dist/components/shared/ValidIcon.js +1 -1
- package/dist/components/shared/virtual-width.js +76 -0
- package/dist/components/shared/virtual-width.js.map +1 -0
- package/dist/components/status/LoadingAnimation/LoadingAnimation.js +1 -1
- package/dist/components/status/Spin/Cube.js +1 -1
- package/dist/components/status/Spin/InternalSpinner.js +1 -1
- package/dist/components/status/Spin/Spin.js +1 -1
- package/dist/components/status/Spin/SpinsContainer.js +1 -1
- package/dist/data/item-themes.js +1 -1
- package/dist/data/themes.js +1 -1
- package/dist/eslint-plugin/defaults.generated.js +5 -1
- package/dist/eslint-plugin/defaults.generated.js.map +1 -1
- package/dist/eslint-plugin/index.js +1 -1
- package/dist/eslint-plugin/rules/no-redundant-default-prop.js +1 -1
- package/dist/i18n/I18nProvider.js +1 -1
- package/dist/i18n/createFormatter.js +1 -1
- package/dist/i18n/index.js +1 -1
- package/dist/i18n/instance.js +1 -1
- package/dist/i18n/locales/de-DE/uikit.js +1 -1
- package/dist/i18n/locales/en-US/uikit.js +1 -1
- package/dist/i18n/locales/es-ES/uikit.js +1 -1
- package/dist/i18n/locales/es-MX/uikit.js +1 -1
- package/dist/i18n/locales/fr-FR/uikit.js +1 -1
- package/dist/i18n/locales/it-IT/uikit.js +1 -1
- package/dist/i18n/locales/ja-JP/uikit.js +1 -1
- package/dist/i18n/locales/nb-NO/uikit.js +1 -1
- package/dist/i18n/locales/pt-BR/uikit.js +1 -1
- package/dist/i18n/locales/pt-PT/uikit.js +1 -1
- package/dist/i18n/locales/sv-SE/uikit.js +1 -1
- package/dist/i18n/locales/vi-VN/uikit.js +1 -1
- package/dist/i18n/locales.js +1 -1
- package/dist/i18n/namespace.js +1 -1
- package/dist/i18n/useFormatter.js +1 -1
- package/dist/i18n/useI18n.js +1 -1
- package/dist/icons/AdjustmentsHorizontalIcon.js +1 -1
- package/dist/icons/AdjustmentsIcon.js +1 -1
- package/dist/icons/AiIcon.js +1 -1
- package/dist/icons/AreaChartIcon.js +1 -1
- package/dist/icons/ArrowNarrowDownIcon.js +1 -1
- package/dist/icons/ArrowNarrowUpIcon.js +1 -1
- package/dist/icons/BackwardIcon.js +1 -1
- package/dist/icons/BarChartIcon.js +1 -1
- package/dist/icons/BellFilledIcon.js +1 -1
- package/dist/icons/BellIcon.js +1 -1
- package/dist/icons/BooleanIcon.js +1 -1
- package/dist/icons/CalendarEditIcon.js +1 -1
- package/dist/icons/CalendarIcon.js +1 -1
- package/dist/icons/CaretDownIcon.js +1 -1
- package/dist/icons/CaretUpIcon.js +1 -1
- package/dist/icons/ChartAreaStackedIcon.js +1 -1
- package/dist/icons/ChartAreaStackedPercentageIcon.js +1 -1
- package/dist/icons/ChartBarGroupedHorizontalIcon.js +1 -1
- package/dist/icons/ChartBarGroupedIcon.js +1 -1
- package/dist/icons/ChartBarHorizontalIcon.js +1 -1
- package/dist/icons/ChartBarLineIcon.js +1 -1
- package/dist/icons/ChartBarStackedHorizontalIcon.js +1 -1
- package/dist/icons/ChartBarStackedIcon.js +1 -1
- package/dist/icons/ChartBarStackedPercentageHorizontalIcon.js +1 -1
- package/dist/icons/ChartBarStackedPercentageIcon.js +1 -1
- package/dist/icons/ChartBoxPlot2Icon.js +1 -1
- package/dist/icons/ChartBoxPlotIcon.js +1 -1
- package/dist/icons/ChartBubbleIcon.js +1 -1
- package/dist/icons/ChartDonut2Icon.js +1 -1
- package/dist/icons/ChartFunnelIcon.js +1 -1
- package/dist/icons/ChartHeatmapIcon.js +1 -1
- package/dist/icons/ChartKPIIcon.js +1 -1
- package/dist/icons/ChartPie2Icon.js +1 -1
- package/dist/icons/ChartScatterIcon.js +1 -1
- package/dist/icons/CheckCircleFilledIcon.js +1 -1
- package/dist/icons/CheckCircleIcon.js +1 -1
- package/dist/icons/CheckIcon.js +1 -1
- package/dist/icons/CircleFilledIcon.js +1 -1
- package/dist/icons/ClearIcon.js +1 -1
- package/dist/icons/CloseCircleFilledIcon.js +1 -1
- package/dist/icons/CloseCircleIcon.js +1 -1
- package/dist/icons/CloseIcon.js +1 -1
- package/dist/icons/CodeIcon.js +1 -1
- package/dist/icons/ColumnTotalIcon.js +1 -1
- package/dist/icons/CopyIcon.js +1 -1
- package/dist/icons/CountIcon.js +1 -1
- package/dist/icons/CubeIcon.js +1 -1
- package/dist/icons/CubePauseIcon.js +1 -1
- package/dist/icons/CubePlayIcon.js +1 -1
- package/dist/icons/CurrencyDollarIcon.js +1 -1
- package/dist/icons/DangerIcon.js +1 -1
- package/dist/icons/DashboardIcon.js +1 -1
- package/dist/icons/DatabaseIcon.js +1 -1
- package/dist/icons/DecimalDecreaseIcon.js +1 -1
- package/dist/icons/DecimalIncreaseIcon.js +1 -1
- package/dist/icons/DirectionIcon.js +1 -1
- package/dist/icons/DonutIcon.js +1 -1
- package/dist/icons/DownIcon.js +1 -1
- package/dist/icons/EditIcon.js +1 -1
- package/dist/icons/ExclamationCircleFilledIcon.js +1 -1
- package/dist/icons/ExclamationCircleIcon.js +1 -1
- package/dist/icons/ExclamationIcon.js +1 -1
- package/dist/icons/EyeIcon.js +1 -1
- package/dist/icons/EyeInvisibleIcon.js +1 -1
- package/dist/icons/FilterIcon.js +1 -1
- package/dist/icons/FolderFilledIcon.js +1 -1
- package/dist/icons/FolderIcon.js +1 -1
- package/dist/icons/FolderOpenFilledIcon.js +1 -1
- package/dist/icons/FolderOpenIcon.js +1 -1
- package/dist/icons/ForwardIcon.js +1 -1
- package/dist/icons/GripVerticalIcon.js +1 -1
- package/dist/icons/HierarchyIcon.js +1 -1
- package/dist/icons/HierarchyOpenIcon.js +1 -1
- package/dist/icons/Icon.js +1 -1
- package/dist/icons/InfoCircleIcon.js +1 -1
- package/dist/icons/InfoIcon.js +1 -1
- package/dist/icons/KeyIcon.js +1 -1
- package/dist/icons/LeftIcon.js +1 -1
- package/dist/icons/LineChartIcon.js +1 -1
- package/dist/icons/LoadingIcon.js +1 -1
- package/dist/icons/LockFilledIcon.js +1 -1
- package/dist/icons/LockIcon.js +1 -1
- package/dist/icons/MoreIcon.js +1 -1
- package/dist/icons/NotAllowedIcon.js +1 -1
- package/dist/icons/Number123Icon.js +1 -1
- package/dist/icons/NumberIcon.js +1 -1
- package/dist/icons/PauseCircleFilledIcon.js +1 -1
- package/dist/icons/PauseCircleIcon.js +1 -1
- package/dist/icons/PauseIcon.js +1 -1
- package/dist/icons/PercentageIcon.js +1 -1
- package/dist/icons/PieChartIcon.js +1 -1
- package/dist/icons/PipetteIcon.js +1 -1
- package/dist/icons/PlayCircleIcon.js +1 -1
- package/dist/icons/PlayIcon.js +1 -1
- package/dist/icons/PlusIcon.js +1 -1
- package/dist/icons/ProgressBarIcon.js +1 -1
- package/dist/icons/ReloadIcon.js +1 -1
- package/dist/icons/ReportIcon.js +1 -1
- package/dist/icons/ReturnIcon.js +1 -1
- package/dist/icons/RightIcon.js +1 -1
- package/dist/icons/RowTotalsIcon.js +1 -1
- package/dist/icons/SchemeIcon.js +1 -1
- package/dist/icons/SearchIcon.js +1 -1
- package/dist/icons/SemanticQueryIcon.js +1 -1
- package/dist/icons/SettingsIcon.js +1 -1
- package/dist/icons/ShieldFilledIcon.js +1 -1
- package/dist/icons/ShieldIcon.js +1 -1
- package/dist/icons/SlashIcon.js +1 -1
- package/dist/icons/SparklesIcon.js +1 -1
- package/dist/icons/SqlIcon.js +1 -1
- package/dist/icons/StatsIcon.js +1 -1
- package/dist/icons/StopIcon.js +1 -1
- package/dist/icons/StringIcon.js +1 -1
- package/dist/icons/SubtotalsIcon.js +1 -1
- package/dist/icons/SwitchIcon.js +1 -1
- package/dist/icons/TableIcon.js +1 -1
- package/dist/icons/ThumbsDownIcon.js +1 -1
- package/dist/icons/ThumbsUpIcon.js +1 -1
- package/dist/icons/ThunderboltCrossedIcon.js +1 -1
- package/dist/icons/ThunderboltFilledIcon.js +1 -1
- package/dist/icons/ThunderboltIcon.js +1 -1
- package/dist/icons/TimeIcon.js +1 -1
- package/dist/icons/TrashIcon.js +1 -1
- package/dist/icons/UnlockIcon.js +1 -1
- package/dist/icons/UpIcon.js +1 -1
- package/dist/icons/UserGroupIcon.js +1 -1
- package/dist/icons/UserIcon.js +1 -1
- package/dist/icons/UserLockIcon.js +1 -1
- package/dist/icons/ViewIcon.js +1 -1
- package/dist/icons/WarningFilledIcon.js +1 -1
- package/dist/icons/WarningIcon.js +1 -1
- package/dist/icons/wrap-icon.js +1 -1
- package/dist/index.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/provider.js +1 -1
- package/dist/providers/TrackingProvider.js +1 -1
- package/dist/providers/navigation-url.js +1 -1
- package/dist/providers/navigationAdapter.default.js +1 -1
- package/dist/providers/use-navigation.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/colors.js +1 -1
- package/dist/utils/dotize.js +1 -1
- package/dist/utils/is-dev-env.js +1 -1
- package/dist/utils/layout-scale.js +1 -1
- package/dist/utils/modules.js +1 -1
- package/dist/utils/promise.js +1 -1
- package/dist/utils/raf.js +1 -1
- package/dist/utils/random.js +1 -1
- package/dist/utils/range.js +1 -1
- package/dist/utils/react/RenderCache.js +1 -1
- package/dist/utils/react/Slots.js +1 -1
- package/dist/utils/react/chain.js +1 -1
- package/dist/utils/react/componentBaseProps.js +1 -1
- package/dist/utils/react/disabledProps.js +1 -1
- package/dist/utils/react/forwardRefWithGenerics.js +1 -1
- package/dist/utils/react/index.js +1 -1
- package/dist/utils/react/interactions.js +1 -1
- package/dist/utils/react/isTextOnly.js +1 -1
- package/dist/utils/react/mapProps.js +1 -1
- package/dist/utils/react/mergeProps.js +1 -1
- package/dist/utils/react/nullableValue.js +1 -1
- package/dist/utils/react/overlayKeyPropagation.js +1 -1
- package/dist/utils/react/pickBaseCustomizationProps.js +1 -1
- package/dist/utils/react/programmaticFocus.js +1 -1
- package/dist/utils/react/resolveIcon.js +1 -1
- package/dist/utils/react/sharedStore.js +1 -1
- package/dist/utils/react/useBufferedValue.js +1 -1
- package/dist/utils/react/useCombinedRefs.js +1 -1
- package/dist/utils/react/useControlledFocusVisible.js +1 -1
- package/dist/utils/react/useEventBus.js +1 -1
- package/dist/utils/react/useId.js +1 -1
- package/dist/utils/react/useIsDarwin.js +1 -1
- package/dist/utils/react/useKeySymbols.js +1 -1
- package/dist/utils/react/useLayoutEffect.js +1 -1
- package/dist/utils/react/useLocalStorage.js +1 -1
- package/dist/utils/react/useMergeStyles.js +1 -1
- package/dist/utils/react/useOpenKey.js +1 -1
- package/dist/utils/react/useOverlayEscapeGuard.js +1 -1
- package/dist/utils/react/useOverlayPosition.js +1 -1
- package/dist/utils/react/usePopoverSync.js +1 -1
- package/dist/utils/react/useQaProps.js +1 -1
- package/dist/utils/react/useScheme.js +1 -1
- package/dist/utils/react/useViewportSize.js +1 -1
- package/dist/utils/react/wrapNodeIfPlain.js +1 -1
- package/dist/utils/selection.js +1 -1
- package/dist/utils/styles.js +1 -1
- package/dist/utils/tree.js +1 -1
- package/dist/utils/warnings.js +1 -1
- package/dist/version.js +2 -2
- package/docs/components/content/Tree.md +2 -0
- package/docs/components/fields/ComboBox.md +14 -0
- package/docs/components/fields/CommandTextArea.md +1 -1
- package/docs/components/fields/FilterListBox.md +2 -0
- package/docs/components/fields/FilterPicker.md +2 -0
- package/docs/components/fields/ListBox.md +2 -0
- package/docs/components/fields/Picker.md +2 -0
- package/docs/components/fields/RadioGroup.md +1 -1
- package/docs/components/fields/SearchComboBox.md +2 -0
- package/docs/components/fields/TagInput.md +2 -0
- package/docs/components/fields/TextInputMapper.md +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MIT | @cube-dev/ui-kit v0.
|
|
1
|
+
/** @license MIT | @cube-dev/ui-kit v0.220.0 | Cube Dev Team */
|
|
2
2
|
import { useLayoutEffect as useLayoutEffect$1 } from "../../../utils/react/useLayoutEffect.js";
|
|
3
3
|
import { pickBaseCustomizationProps } from "../../../utils/react/pickBaseCustomizationProps.js";
|
|
4
4
|
import { useCombinedRefs } from "../../../utils/react/useCombinedRefs.js";
|
|
@@ -20,6 +20,7 @@ import { getValidationIcon } from "../../form/validation/ValidationIndicator.js"
|
|
|
20
20
|
import { getListBoxOptionId } from "../ListBox/optionId.js";
|
|
21
21
|
import { filterCollectionNodes, getEdgeVisibleKey, getNextVisibleKey, markKeyboardFocus } from "../ListBoxPopover/listNavigation.js";
|
|
22
22
|
import { DEFAULT_INPUT_STYLES, INPUT_WRAPPER_STYLES } from "../TextInput/TextInputBase.js";
|
|
23
|
+
import { getIdentifierTextServices } from "../TextInput/identifier-text-services.js";
|
|
23
24
|
import { ListBoxPopover } from "../ListBoxPopover/ListBoxPopover.js";
|
|
24
25
|
import { useCompositeFocus } from "../ListBoxPopover/useCompositeFocus.js";
|
|
25
26
|
import { collectOptions, findTypedOption, getItemLabel, highlightOption, resolveHighlightedKey, sortSelectedFirst } from "./comboBoxOptions.js";
|
|
@@ -390,21 +391,28 @@ function useComboBoxKeyboard(t0) {
|
|
|
390
391
|
return t9;
|
|
391
392
|
}
|
|
392
393
|
const ComboBoxInput = forwardRef(function ComboBoxInput(t0, ref) {
|
|
393
|
-
const $ = c(
|
|
394
|
-
const { qa, customizationProps, inputRef, id, value, placeholder, isDisabled, isReadOnly, isRequired, autoFocus, autoComplete, size, mods, inputStyles, keyboardProps, focusProps, onChange, onFocus, onPointerDown, onClick, isListShown, comboBoxId, activeDescendant, ariaProps, isInvalid } = t0;
|
|
394
|
+
const $ = c(33);
|
|
395
|
+
const { qa, customizationProps, inputRef, id, value, placeholder, isDisabled, isReadOnly, isRequired, autoFocus, autoComplete, isIdentifier, size, mods, inputStyles, keyboardProps, focusProps, onChange, onFocus, onPointerDown, onClick, isListShown, comboBoxId, activeDescendant, ariaProps, isInvalid } = t0;
|
|
395
396
|
const combinedRef = useCombinedRefs(ref, inputRef);
|
|
396
397
|
let t1;
|
|
397
|
-
if ($[0] !==
|
|
398
|
-
t1 =
|
|
399
|
-
$[0] =
|
|
400
|
-
$[1] =
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
398
|
+
if ($[0] !== autoComplete || $[1] !== isIdentifier) {
|
|
399
|
+
t1 = getIdentifierTextServices(isIdentifier, { autoComplete });
|
|
400
|
+
$[0] = autoComplete;
|
|
401
|
+
$[1] = isIdentifier;
|
|
402
|
+
$[2] = t1;
|
|
403
|
+
} else t1 = $[2];
|
|
404
|
+
let t2;
|
|
405
|
+
if ($[3] !== autoFocus) {
|
|
406
|
+
t2 = autoFocus ? { "data-autofocus": "" } : void 0;
|
|
407
|
+
$[3] = autoFocus;
|
|
408
|
+
$[4] = t2;
|
|
409
|
+
} else t2 = $[4];
|
|
410
|
+
const t3 = isRequired || void 0;
|
|
411
|
+
const t4 = isListShown ? `ComboBoxListBox-${comboBoxId}` : void 0;
|
|
412
|
+
const t5 = isInvalid || void 0;
|
|
413
|
+
let t6;
|
|
414
|
+
if ($[5] !== activeDescendant || $[6] !== ariaProps || $[7] !== autoComplete || $[8] !== autoFocus || $[9] !== combinedRef || $[10] !== customizationProps || $[11] !== focusProps.onBlur || $[12] !== id || $[13] !== inputStyles || $[14] !== isDisabled || $[15] !== isListShown || $[16] !== isReadOnly || $[17] !== keyboardProps || $[18] !== mods || $[19] !== onChange || $[20] !== onClick || $[21] !== onFocus || $[22] !== onPointerDown || $[23] !== placeholder || $[24] !== qa || $[25] !== size || $[26] !== t1 || $[27] !== t2 || $[28] !== t3 || $[29] !== t4 || $[30] !== t5 || $[31] !== value) {
|
|
415
|
+
t6 = /* @__PURE__ */ jsx(InputElement, {
|
|
408
416
|
...customizationProps,
|
|
409
417
|
ref: combinedRef,
|
|
410
418
|
qa,
|
|
@@ -415,8 +423,9 @@ const ComboBoxInput = forwardRef(function ComboBoxInput(t0, ref) {
|
|
|
415
423
|
isDisabled,
|
|
416
424
|
readOnly: isReadOnly,
|
|
417
425
|
autoFocus,
|
|
418
|
-
autoComplete,
|
|
419
426
|
...t1,
|
|
427
|
+
autoComplete,
|
|
428
|
+
...t2,
|
|
420
429
|
onChange,
|
|
421
430
|
onFocus,
|
|
422
431
|
onPointerDown,
|
|
@@ -428,47 +437,48 @@ const ComboBoxInput = forwardRef(function ComboBoxInput(t0, ref) {
|
|
|
428
437
|
"data-size": size,
|
|
429
438
|
"data-input-type": "combobox",
|
|
430
439
|
role: "combobox",
|
|
431
|
-
"aria-required":
|
|
440
|
+
"aria-required": t3,
|
|
432
441
|
"aria-expanded": isListShown,
|
|
433
442
|
"aria-haspopup": "listbox",
|
|
434
|
-
"aria-controls":
|
|
443
|
+
"aria-controls": t4,
|
|
435
444
|
"aria-autocomplete": "list",
|
|
436
445
|
"aria-activedescendant": activeDescendant,
|
|
437
|
-
"aria-invalid":
|
|
446
|
+
"aria-invalid": t5,
|
|
438
447
|
...ariaProps
|
|
439
448
|
});
|
|
440
|
-
$[
|
|
441
|
-
$[
|
|
442
|
-
$[
|
|
443
|
-
$[
|
|
444
|
-
$[
|
|
445
|
-
$[
|
|
446
|
-
$[
|
|
447
|
-
$[
|
|
448
|
-
$[
|
|
449
|
-
$[
|
|
450
|
-
$[
|
|
451
|
-
$[
|
|
452
|
-
$[
|
|
453
|
-
$[
|
|
454
|
-
$[
|
|
455
|
-
$[
|
|
456
|
-
$[
|
|
457
|
-
$[
|
|
458
|
-
$[
|
|
459
|
-
$[
|
|
460
|
-
$[
|
|
461
|
-
$[
|
|
462
|
-
$[
|
|
463
|
-
$[
|
|
464
|
-
$[
|
|
465
|
-
$[
|
|
466
|
-
$[
|
|
467
|
-
|
|
468
|
-
|
|
449
|
+
$[5] = activeDescendant;
|
|
450
|
+
$[6] = ariaProps;
|
|
451
|
+
$[7] = autoComplete;
|
|
452
|
+
$[8] = autoFocus;
|
|
453
|
+
$[9] = combinedRef;
|
|
454
|
+
$[10] = customizationProps;
|
|
455
|
+
$[11] = focusProps.onBlur;
|
|
456
|
+
$[12] = id;
|
|
457
|
+
$[13] = inputStyles;
|
|
458
|
+
$[14] = isDisabled;
|
|
459
|
+
$[15] = isListShown;
|
|
460
|
+
$[16] = isReadOnly;
|
|
461
|
+
$[17] = keyboardProps;
|
|
462
|
+
$[18] = mods;
|
|
463
|
+
$[19] = onChange;
|
|
464
|
+
$[20] = onClick;
|
|
465
|
+
$[21] = onFocus;
|
|
466
|
+
$[22] = onPointerDown;
|
|
467
|
+
$[23] = placeholder;
|
|
468
|
+
$[24] = qa;
|
|
469
|
+
$[25] = size;
|
|
470
|
+
$[26] = t1;
|
|
471
|
+
$[27] = t2;
|
|
472
|
+
$[28] = t3;
|
|
473
|
+
$[29] = t4;
|
|
474
|
+
$[30] = t5;
|
|
475
|
+
$[31] = value;
|
|
476
|
+
$[32] = t6;
|
|
477
|
+
} else t6 = $[32];
|
|
478
|
+
return t6;
|
|
469
479
|
});
|
|
470
480
|
const ComboBox = forwardRef(function ComboBox(props, ref) {
|
|
471
|
-
const $ = c(
|
|
481
|
+
const $ = c(303);
|
|
472
482
|
let t0;
|
|
473
483
|
if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
474
484
|
t0 = { valuePropsMapper: _temp2 };
|
|
@@ -476,7 +486,7 @@ const ComboBox = forwardRef(function ComboBox(props, ref) {
|
|
|
476
486
|
} else t0 = $[0];
|
|
477
487
|
props = useFieldProps(props, t0);
|
|
478
488
|
const { t } = useI18n();
|
|
479
|
-
let { qa, label, isRequired, isInvalid, isValid, id, icon, prefix, isDisabled, autoFocus, autoComplete: t1, wrapperRef: t2, inputRef: t3, triggerRef, popoverRef, listBoxRef, isLoading, inputStyles, optionStyles, triggerStyles, listBoxStyles, overlayStyles, suffix, hideTrigger, size: t4, direction: t5, shouldFlip: t6, popoverTrigger: t7, suffixPosition: t8, filter, styles, selectedKey, defaultSelectedKey, inputValue, defaultInputValue, onInputChange, isClearable, onClear, placeholder, allowsCustomValue, shouldCommitOnBlur: t9, clearOnBlur, items, children: renderChildren, sectionStyles, headingStyles, listGap, isReadOnly, overlayOffset: t10, containerPadding: t11, onSelectionChange: externalOnSelectionChange, sortSelectedToTop: sortSelectedToTopProp, onOpenChange, onFocus, onBlur, onKeyDown } = props;
|
|
489
|
+
let { qa, label, isRequired, isInvalid, isValid, id, icon, prefix, isDisabled, autoFocus, autoComplete: t1, isIdentifier, wrapperRef: t2, inputRef: t3, triggerRef, popoverRef, listBoxRef, isLoading, inputStyles, optionStyles, triggerStyles, listBoxStyles, overlayStyles, suffix, hideTrigger, size: t4, direction: t5, shouldFlip: t6, popoverTrigger: t7, suffixPosition: t8, filter, styles, selectedKey, defaultSelectedKey, inputValue, defaultInputValue, onInputChange, isClearable, onClear, placeholder, allowsCustomValue, shouldCommitOnBlur: t9, clearOnBlur, items, children: renderChildren, sectionStyles, headingStyles, listGap, isReadOnly, overlayOffset: t10, containerPadding: t11, onSelectionChange: externalOnSelectionChange, sortSelectedToTop: sortSelectedToTopProp, onOpenChange, onFocus, onBlur, onKeyDown } = props;
|
|
480
490
|
const autoComplete = t1 === void 0 ? "off" : t1;
|
|
481
491
|
let wrapperRef = t2;
|
|
482
492
|
let inputRef = t3;
|
|
@@ -1172,7 +1182,7 @@ const ComboBox = forwardRef(function ComboBox(props, ref) {
|
|
|
1172
1182
|
$[218] = t67;
|
|
1173
1183
|
} else t67 = $[218];
|
|
1174
1184
|
let t68;
|
|
1175
|
-
if ($[219] !== activeDescendant || $[220] !== autoComplete || $[221] !== autoFocus || $[222] !== effectiveInputValue || $[223] !== handleInputChange || $[224] !== handleInputClick || $[225] !== handleInputFocus || $[226] !== id || $[227] !== inputStyles || $[228] !== isDisabled || $[229] !==
|
|
1185
|
+
if ($[219] !== activeDescendant || $[220] !== autoComplete || $[221] !== autoFocus || $[222] !== effectiveInputValue || $[223] !== handleInputChange || $[224] !== handleInputClick || $[225] !== handleInputFocus || $[226] !== id || $[227] !== inputStyles || $[228] !== isDisabled || $[229] !== isIdentifier || $[230] !== isInvalid || $[231] !== isReadOnly || $[232] !== isRequired || $[233] !== keyboardProps || $[234] !== mods || $[235] !== placeholder || $[236] !== shouldShowPopover || $[237] !== size || $[238] !== t59 || $[239] !== t60 || $[240] !== t61 || $[241] !== t62 || $[242] !== t67) {
|
|
1176
1186
|
t68 = /* @__PURE__ */ jsx(ComboBoxInput, {
|
|
1177
1187
|
customizationProps: t59,
|
|
1178
1188
|
qa: t60,
|
|
@@ -1185,6 +1195,7 @@ const ComboBox = forwardRef(function ComboBox(props, ref) {
|
|
|
1185
1195
|
isRequired,
|
|
1186
1196
|
autoFocus,
|
|
1187
1197
|
autoComplete,
|
|
1198
|
+
isIdentifier,
|
|
1188
1199
|
size,
|
|
1189
1200
|
mods,
|
|
1190
1201
|
inputStyles,
|
|
@@ -1210,45 +1221,46 @@ const ComboBox = forwardRef(function ComboBox(props, ref) {
|
|
|
1210
1221
|
$[226] = id;
|
|
1211
1222
|
$[227] = inputStyles;
|
|
1212
1223
|
$[228] = isDisabled;
|
|
1213
|
-
$[229] =
|
|
1214
|
-
$[230] =
|
|
1215
|
-
$[231] =
|
|
1216
|
-
$[232] =
|
|
1217
|
-
$[233] =
|
|
1218
|
-
$[234] =
|
|
1219
|
-
$[235] =
|
|
1220
|
-
$[236] =
|
|
1221
|
-
$[237] =
|
|
1222
|
-
$[238] =
|
|
1223
|
-
$[239] =
|
|
1224
|
-
$[240] =
|
|
1225
|
-
$[241] =
|
|
1226
|
-
$[242] =
|
|
1227
|
-
|
|
1224
|
+
$[229] = isIdentifier;
|
|
1225
|
+
$[230] = isInvalid;
|
|
1226
|
+
$[231] = isReadOnly;
|
|
1227
|
+
$[232] = isRequired;
|
|
1228
|
+
$[233] = keyboardProps;
|
|
1229
|
+
$[234] = mods;
|
|
1230
|
+
$[235] = placeholder;
|
|
1231
|
+
$[236] = shouldShowPopover;
|
|
1232
|
+
$[237] = size;
|
|
1233
|
+
$[238] = t59;
|
|
1234
|
+
$[239] = t60;
|
|
1235
|
+
$[240] = t61;
|
|
1236
|
+
$[241] = t62;
|
|
1237
|
+
$[242] = t67;
|
|
1238
|
+
$[243] = t68;
|
|
1239
|
+
} else t68 = $[243];
|
|
1228
1240
|
let t69;
|
|
1229
|
-
if ($[
|
|
1241
|
+
if ($[244] !== effectiveSelectedKey || $[245] !== isDisabled || $[246] !== props.name) {
|
|
1230
1242
|
t69 = props.name ? /* @__PURE__ */ jsx("input", {
|
|
1231
1243
|
type: "hidden",
|
|
1232
1244
|
name: props.name,
|
|
1233
1245
|
value: effectiveSelectedKey ?? "",
|
|
1234
1246
|
disabled: isDisabled
|
|
1235
1247
|
}) : null;
|
|
1236
|
-
$[
|
|
1237
|
-
$[
|
|
1238
|
-
$[
|
|
1239
|
-
$[
|
|
1240
|
-
} else t69 = $[
|
|
1248
|
+
$[244] = effectiveSelectedKey;
|
|
1249
|
+
$[245] = isDisabled;
|
|
1250
|
+
$[246] = props.name;
|
|
1251
|
+
$[247] = t69;
|
|
1252
|
+
} else t69 = $[247];
|
|
1241
1253
|
const t70 = suffixPosition === "before" ? suffix : null;
|
|
1242
1254
|
let t71;
|
|
1243
|
-
if ($[
|
|
1255
|
+
if ($[248] !== isLoading || $[249] !== validationIcon) {
|
|
1244
1256
|
t71 = isLoading ? /* @__PURE__ */ jsx(LoadingIcon, { "data-element": "InputIcon" }) : validationIcon;
|
|
1245
|
-
$[
|
|
1246
|
-
$[
|
|
1247
|
-
$[
|
|
1248
|
-
} else t71 = $[
|
|
1257
|
+
$[248] = isLoading;
|
|
1258
|
+
$[249] = validationIcon;
|
|
1259
|
+
$[250] = t71;
|
|
1260
|
+
} else t71 = $[250];
|
|
1249
1261
|
const t72 = suffixPosition === "after" ? suffix : null;
|
|
1250
1262
|
let t73;
|
|
1251
|
-
if ($[
|
|
1263
|
+
if ($[251] !== clearValue || $[252] !== hideTrigger || $[253] !== showClearButton || $[254] !== size || $[255] !== t) {
|
|
1252
1264
|
t73 = showClearButton && /* @__PURE__ */ jsx(_CollectionItem.Action, {
|
|
1253
1265
|
excludeFromTabOrder: true,
|
|
1254
1266
|
icon: /* @__PURE__ */ jsx(CloseIcon, {}),
|
|
@@ -1259,15 +1271,15 @@ const ComboBox = forwardRef(function ComboBox(props, ref) {
|
|
|
1259
1271
|
"aria-label": t("comboBox.clearValue", "Clear value"),
|
|
1260
1272
|
onPress: clearValue
|
|
1261
1273
|
});
|
|
1262
|
-
$[
|
|
1263
|
-
$[
|
|
1264
|
-
$[
|
|
1265
|
-
$[
|
|
1266
|
-
$[
|
|
1267
|
-
$[
|
|
1268
|
-
} else t73 = $[
|
|
1274
|
+
$[251] = clearValue;
|
|
1275
|
+
$[252] = hideTrigger;
|
|
1276
|
+
$[253] = showClearButton;
|
|
1277
|
+
$[254] = size;
|
|
1278
|
+
$[255] = t;
|
|
1279
|
+
$[256] = t73;
|
|
1280
|
+
} else t73 = $[256];
|
|
1269
1281
|
let t74;
|
|
1270
|
-
if ($[
|
|
1282
|
+
if ($[257] !== hideTrigger || $[258] !== isDisabled || $[259] !== isLoading || $[260] !== shouldShowPopover || $[261] !== size || $[262] !== t || $[263] !== toggleList || $[264] !== triggerRef || $[265] !== triggerStyles) {
|
|
1271
1283
|
t74 = !hideTrigger ? /* @__PURE__ */ jsx(_CollectionItem.Action, {
|
|
1272
1284
|
ref: triggerRef,
|
|
1273
1285
|
excludeFromTabOrder: true,
|
|
@@ -1287,19 +1299,19 @@ const ComboBox = forwardRef(function ComboBox(props, ref) {
|
|
|
1287
1299
|
"aria-label": t("comboBox.showOptions", "Show options"),
|
|
1288
1300
|
onPress: toggleList
|
|
1289
1301
|
}) : null;
|
|
1290
|
-
$[
|
|
1291
|
-
$[
|
|
1292
|
-
$[
|
|
1293
|
-
$[
|
|
1294
|
-
$[
|
|
1295
|
-
$[
|
|
1296
|
-
$[
|
|
1297
|
-
$[
|
|
1298
|
-
$[
|
|
1299
|
-
$[
|
|
1300
|
-
} else t74 = $[
|
|
1302
|
+
$[257] = hideTrigger;
|
|
1303
|
+
$[258] = isDisabled;
|
|
1304
|
+
$[259] = isLoading;
|
|
1305
|
+
$[260] = shouldShowPopover;
|
|
1306
|
+
$[261] = size;
|
|
1307
|
+
$[262] = t;
|
|
1308
|
+
$[263] = toggleList;
|
|
1309
|
+
$[264] = triggerRef;
|
|
1310
|
+
$[265] = triggerStyles;
|
|
1311
|
+
$[266] = t74;
|
|
1312
|
+
} else t74 = $[266];
|
|
1301
1313
|
let t75;
|
|
1302
|
-
if ($[
|
|
1314
|
+
if ($[267] !== t70 || $[268] !== t71 || $[269] !== t72 || $[270] !== t73 || $[271] !== t74) {
|
|
1303
1315
|
t75 = /* @__PURE__ */ jsxs("div", {
|
|
1304
1316
|
"data-element": "Suffix",
|
|
1305
1317
|
children: [
|
|
@@ -1310,23 +1322,23 @@ const ComboBox = forwardRef(function ComboBox(props, ref) {
|
|
|
1310
1322
|
t74
|
|
1311
1323
|
]
|
|
1312
1324
|
});
|
|
1313
|
-
$[
|
|
1314
|
-
$[
|
|
1315
|
-
$[
|
|
1316
|
-
$[
|
|
1317
|
-
$[
|
|
1318
|
-
$[
|
|
1319
|
-
} else t75 = $[
|
|
1325
|
+
$[267] = t70;
|
|
1326
|
+
$[268] = t71;
|
|
1327
|
+
$[269] = t72;
|
|
1328
|
+
$[270] = t73;
|
|
1329
|
+
$[271] = t74;
|
|
1330
|
+
$[272] = t75;
|
|
1331
|
+
} else t75 = $[272];
|
|
1320
1332
|
const t76 = wrapperRef;
|
|
1321
1333
|
const t77 = props["aria-label"];
|
|
1322
1334
|
let t78;
|
|
1323
|
-
if ($[
|
|
1335
|
+
if ($[273] !== setIsPopoverOpen) {
|
|
1324
1336
|
t78 = () => setIsPopoverOpen(false);
|
|
1325
|
-
$[
|
|
1326
|
-
$[
|
|
1327
|
-
} else t78 = $[
|
|
1337
|
+
$[273] = setIsPopoverOpen;
|
|
1338
|
+
$[274] = t78;
|
|
1339
|
+
} else t78 = $[274];
|
|
1328
1340
|
let t79;
|
|
1329
|
-
if ($[
|
|
1341
|
+
if ($[275] !== children || $[276] !== comboBoxWidth || $[277] !== compositeFocusProps || $[278] !== containerPadding || $[279] !== direction || $[280] !== effectiveSelectedKey || $[281] !== filterFn || $[282] !== handleSelectionChange || $[283] !== headingStyles || $[284] !== isDisabled || $[285] !== label || $[286] !== listBoxRef || $[287] !== listBoxStyles || $[288] !== listGap || $[289] !== optionStyles || $[290] !== overlayOffset || $[291] !== overlayStyles || $[292] !== popoverRef || $[293] !== props.disabledKeys || $[294] !== sectionStyles || $[295] !== shouldFlip || $[296] !== shouldShowPopover || $[297] !== size || $[298] !== sortedItems || $[299] !== t76 || $[300] !== t77 || $[301] !== t78) {
|
|
1330
1342
|
t79 = /* @__PURE__ */ jsx(ListBoxPopover, {
|
|
1331
1343
|
isOpen: shouldShowPopover,
|
|
1332
1344
|
triggerRef: t76,
|
|
@@ -1359,35 +1371,35 @@ const ComboBox = forwardRef(function ComboBox(props, ref) {
|
|
|
1359
1371
|
onClose: t78,
|
|
1360
1372
|
children
|
|
1361
1373
|
});
|
|
1362
|
-
$[
|
|
1363
|
-
$[
|
|
1364
|
-
$[
|
|
1365
|
-
$[
|
|
1366
|
-
$[
|
|
1367
|
-
$[
|
|
1368
|
-
$[
|
|
1369
|
-
$[
|
|
1370
|
-
$[
|
|
1371
|
-
$[
|
|
1372
|
-
$[
|
|
1373
|
-
$[
|
|
1374
|
-
$[
|
|
1375
|
-
$[
|
|
1376
|
-
$[
|
|
1377
|
-
$[
|
|
1378
|
-
$[
|
|
1379
|
-
$[
|
|
1380
|
-
$[
|
|
1381
|
-
$[
|
|
1382
|
-
$[
|
|
1383
|
-
$[
|
|
1384
|
-
$[
|
|
1385
|
-
$[
|
|
1386
|
-
$[
|
|
1387
|
-
$[
|
|
1388
|
-
$[
|
|
1389
|
-
$[
|
|
1390
|
-
} else t79 = $[
|
|
1374
|
+
$[275] = children;
|
|
1375
|
+
$[276] = comboBoxWidth;
|
|
1376
|
+
$[277] = compositeFocusProps;
|
|
1377
|
+
$[278] = containerPadding;
|
|
1378
|
+
$[279] = direction;
|
|
1379
|
+
$[280] = effectiveSelectedKey;
|
|
1380
|
+
$[281] = filterFn;
|
|
1381
|
+
$[282] = handleSelectionChange;
|
|
1382
|
+
$[283] = headingStyles;
|
|
1383
|
+
$[284] = isDisabled;
|
|
1384
|
+
$[285] = label;
|
|
1385
|
+
$[286] = listBoxRef;
|
|
1386
|
+
$[287] = listBoxStyles;
|
|
1387
|
+
$[288] = listGap;
|
|
1388
|
+
$[289] = optionStyles;
|
|
1389
|
+
$[290] = overlayOffset;
|
|
1390
|
+
$[291] = overlayStyles;
|
|
1391
|
+
$[292] = popoverRef;
|
|
1392
|
+
$[293] = props.disabledKeys;
|
|
1393
|
+
$[294] = sectionStyles;
|
|
1394
|
+
$[295] = shouldFlip;
|
|
1395
|
+
$[296] = shouldShowPopover;
|
|
1396
|
+
$[297] = size;
|
|
1397
|
+
$[298] = sortedItems;
|
|
1398
|
+
$[299] = t76;
|
|
1399
|
+
$[300] = t77;
|
|
1400
|
+
$[301] = t78;
|
|
1401
|
+
$[302] = t79;
|
|
1402
|
+
} else t79 = $[302];
|
|
1391
1403
|
const comboBoxField = /* @__PURE__ */ jsxs(ComboBoxWrapperElement, {
|
|
1392
1404
|
ref: t56,
|
|
1393
1405
|
mods,
|