@cube-dev/ui-kit 0.222.0 → 0.224.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.
Files changed (668) hide show
  1. package/README.md +1 -1
  2. package/dist/CHANGELOG.md +28 -0
  3. package/dist/README.md +1 -1
  4. package/dist/_internal/hooks/use-debounced-value.js +1 -1
  5. package/dist/_internal/hooks/use-deprecation-warning.js +1 -1
  6. package/dist/_internal/hooks/use-event.js +1 -1
  7. package/dist/_internal/hooks/use-is-first-render.js +1 -1
  8. package/dist/_internal/hooks/use-sync-ref.js +1 -1
  9. package/dist/_internal/hooks/use-timer/timer.js +1 -1
  10. package/dist/_internal/hooks/use-timer/use-timer.js +1 -1
  11. package/dist/_internal/hooks/use-warn.js +1 -1
  12. package/dist/components/Block.js +1 -1
  13. package/dist/components/CollectionItem.js +1 -1
  14. package/dist/components/GlobalStyles.js +1 -1
  15. package/dist/components/GridProvider.js +1 -1
  16. package/dist/components/HiddenInput.js +1 -1
  17. package/dist/components/Root.js +1 -1
  18. package/dist/components/actions/Action/Action.js +1 -1
  19. package/dist/components/actions/Banner/Banner.js +1 -1
  20. package/dist/components/actions/Button/AutoCollapseObserver.js +1 -1
  21. package/dist/components/actions/Button/Button.js +1 -1
  22. package/dist/components/actions/Button/index.js +1 -1
  23. package/dist/components/actions/ButtonGroup/ButtonGroup.js +1 -1
  24. package/dist/components/actions/ButtonSplit/ButtonSplit.js +1 -1
  25. package/dist/components/actions/ButtonSplit/context.js +1 -1
  26. package/dist/components/actions/CommandMenu/CommandMenu.js +15 -14
  27. package/dist/components/actions/CommandMenu/CommandMenu.js.map +1 -1
  28. package/dist/components/actions/CommandMenu/styled.js +1 -1
  29. package/dist/components/actions/ItemAction/ItemAction.js +1 -1
  30. package/dist/components/actions/ItemActionContext.js +1 -1
  31. package/dist/components/actions/ItemActionsWrapper.js +1 -1
  32. package/dist/components/actions/ItemButton/ItemButton.js +1 -1
  33. package/dist/components/actions/Link/Link.js +1 -1
  34. package/dist/components/actions/Menu/Menu.js +3 -2
  35. package/dist/components/actions/Menu/Menu.js.map +1 -1
  36. package/dist/components/actions/Menu/MenuCollectionItem.js +1 -1
  37. package/dist/components/actions/Menu/MenuItem.js +8 -8
  38. package/dist/components/actions/Menu/MenuItem.js.map +1 -1
  39. package/dist/components/actions/Menu/MenuSection.js +1 -1
  40. package/dist/components/actions/Menu/MenuTrigger.js +1 -1
  41. package/dist/components/actions/Menu/SubMenuTrigger.js +1 -1
  42. package/dist/components/actions/Menu/SubmenuTriggerContext.js +1 -1
  43. package/dist/components/actions/Menu/context.js +1 -1
  44. package/dist/components/actions/Menu/styled.js +1 -1
  45. package/dist/components/actions/actions-run.js +1 -1
  46. package/dist/components/actions/touch-context-menu.js +1 -1
  47. package/dist/components/actions/use-action.js +1 -1
  48. package/dist/components/actions/use-anchored-menu.js +1 -1
  49. package/dist/components/actions/use-context-menu.js +19 -15
  50. package/dist/components/actions/use-context-menu.js.map +1 -1
  51. package/dist/components/content/ActiveZone/ActiveZone.js +1 -1
  52. package/dist/components/content/Alert/Alert.js +1 -1
  53. package/dist/components/content/Alert/use-alert.js +1 -1
  54. package/dist/components/content/Avatar/Avatar.js +1 -1
  55. package/dist/components/content/Badge/Badge.js +1 -1
  56. package/dist/components/content/Card/Card.js +1 -1
  57. package/dist/components/content/Content.js +1 -1
  58. package/dist/components/content/CopyPasteBlock/CopyPasteBlock.js +1 -1
  59. package/dist/components/content/CopySnippet/CopySnippet.js +1 -1
  60. package/dist/components/content/Disclosure/Disclosure.js +1 -1
  61. package/dist/components/content/Divider/Divider.js +1 -1
  62. package/dist/components/content/Footer.js +1 -1
  63. package/dist/components/content/Header.js +1 -1
  64. package/dist/components/content/HotKeys/HotKeys.js +1 -1
  65. package/dist/components/content/InfoBadge/InfoBadge.js +1 -1
  66. package/dist/components/content/InlineInput/InlineInput.js +1 -1
  67. package/dist/components/content/Item/Item.d.ts +9 -0
  68. package/dist/components/content/Item/Item.js +106 -105
  69. package/dist/components/content/Item/Item.js.map +1 -1
  70. package/dist/components/content/Item/ItemWithNativeLinks.js +1 -1
  71. package/dist/components/content/ItemBadge/ItemBadge.js +1 -1
  72. package/dist/components/content/ItemCard/ItemCard.js +1 -1
  73. package/dist/components/content/Layout/GridLayout.js +1 -1
  74. package/dist/components/content/Layout/Layout.js +1 -1
  75. package/dist/components/content/Layout/LayoutBlock.js +1 -1
  76. package/dist/components/content/Layout/LayoutCenter.js +1 -1
  77. package/dist/components/content/Layout/LayoutContainer.js +1 -1
  78. package/dist/components/content/Layout/LayoutContent.js +1 -1
  79. package/dist/components/content/Layout/LayoutContext.js +1 -1
  80. package/dist/components/content/Layout/LayoutFlex.js +1 -1
  81. package/dist/components/content/Layout/LayoutFooter.js +1 -1
  82. package/dist/components/content/Layout/LayoutGrid.js +1 -1
  83. package/dist/components/content/Layout/LayoutHeader.js +1 -1
  84. package/dist/components/content/Layout/LayoutPane.js +1 -1
  85. package/dist/components/content/Layout/LayoutPanel.js +1 -1
  86. package/dist/components/content/Layout/LayoutPanelHeader.js +1 -1
  87. package/dist/components/content/Layout/LayoutPanelTransition.js +1 -1
  88. package/dist/components/content/Layout/LayoutResizeHandle.js +1 -1
  89. package/dist/components/content/Layout/LayoutToolbar.js +1 -1
  90. package/dist/components/content/Layout/hooks/useTinyScrollbar.js +1 -1
  91. package/dist/components/content/Layout/index.js +1 -1
  92. package/dist/components/content/Layout/utils.js +1 -1
  93. package/dist/components/content/Paragraph.js +1 -1
  94. package/dist/components/content/Placeholder/Placeholder.js +1 -1
  95. package/dist/components/content/PrismCode/PrismCode.js +1 -1
  96. package/dist/components/content/PrismCode/prismSetup.js +1 -1
  97. package/dist/components/content/PrismDiffCode/PrismDiffCode.js +1 -1
  98. package/dist/components/content/Result/Result.js +1 -1
  99. package/dist/components/content/Skeleton/Skeleton.js +1 -1
  100. package/dist/components/content/Tag/Tag.js +1 -1
  101. package/dist/components/content/Text.js +1 -1
  102. package/dist/components/content/TextItem/TextItem.js +1 -1
  103. package/dist/components/content/Title.js +1 -1
  104. package/dist/components/content/Tree/Tree.js +20 -9
  105. package/dist/components/content/Tree/Tree.js.map +1 -1
  106. package/dist/components/content/Tree/TreeNode.js +8 -5
  107. package/dist/components/content/Tree/TreeNode.js.map +1 -1
  108. package/dist/components/content/Tree/checked-keys.js +1 -1
  109. package/dist/components/content/Tree/rowId.js +1 -1
  110. package/dist/components/content/Tree/styled.js +1 -1
  111. package/dist/components/content/Tree/tree-index.js +1 -1
  112. package/dist/components/content/Tree/use-checkbox-tree.js +1 -1
  113. package/dist/components/content/Tree/use-load-data.js +1 -1
  114. package/dist/components/content/highlightText.js +1 -1
  115. package/dist/components/content/use-auto-tooltip.js +1 -1
  116. package/dist/components/data/DataTable/DataTable.js +1 -1
  117. package/dist/components/data/ItemTable/ItemTable.js +1 -1
  118. package/dist/components/data/ItemTable/ItemTableBulkBar.js +1 -1
  119. package/dist/components/data/ItemTable/ItemTableDragPreview.js +1 -1
  120. package/dist/components/data/ItemTable/ItemTableFooter.js +1 -1
  121. package/dist/components/data/ItemTable/ItemTableToolbar.js +1 -1
  122. package/dist/components/data/ItemTable/item-table-sections.js +1 -1
  123. package/dist/components/data/ItemTable/use-item-table-column-widths.js +1 -1
  124. package/dist/components/data/ItemTable/use-item-table-drag-drop.js +1 -1
  125. package/dist/components/data/ItemTable/use-item-table-pagination.js +1 -1
  126. package/dist/components/data/ItemTable/use-item-table-selection.js +1 -1
  127. package/dist/components/data/ItemTable/use-item-table-sort.js +1 -1
  128. package/dist/components/data/ItemTable/use-item-table-tree-model.js +1 -1
  129. package/dist/components/data/TableBase/ColumnResizer.js +1 -1
  130. package/dist/components/data/TableBase/RowCollection.js +1 -1
  131. package/dist/components/data/TableBase/TableHeaderCell.js +1 -1
  132. package/dist/components/data/TableBase/TableRow.js +1 -1
  133. package/dist/components/data/TableBase/TableRowLink.js +1 -1
  134. package/dist/components/data/TableBase/TableView.js +4 -5
  135. package/dist/components/data/TableBase/TableView.js.map +1 -1
  136. package/dist/components/data/TableBase/TreeGridTable.js +1 -1
  137. package/dist/components/data/TableBase/column-header.js +1 -1
  138. package/dist/components/data/TableBase/column-menu.js +1 -1
  139. package/dist/components/data/TableBase/column-styles.js +1 -1
  140. package/dist/components/data/TableBase/column-tint.js +1 -1
  141. package/dist/components/data/TableBase/row-menu.js +1 -1
  142. package/dist/components/data/TableBase/styled.js +1 -1
  143. package/dist/components/data/TableBase/table-body-sections.js +1 -1
  144. package/dist/components/data/TableBase/table-tree.js +1 -1
  145. package/dist/components/data/TableBase/types.js +1 -1
  146. package/dist/components/data/TableBase/use-cell-selection.js +0 -0
  147. package/dist/components/data/TableBase/use-column-menu.js +1 -1
  148. package/dist/components/data/TableBase/use-column-order.js +1 -1
  149. package/dist/components/data/TableBase/use-column-window.js +1 -1
  150. package/dist/components/data/TableBase/use-container-width.js +1 -1
  151. package/dist/components/data/TableBase/use-row-move-animation.js +1 -1
  152. package/dist/components/data/TableBase/use-scrollability.js +1 -1
  153. package/dist/components/data/TableBase/use-table-columns.js +1 -1
  154. package/dist/components/data/TableBase/use-table-search.js +1 -1
  155. package/dist/components/data/TableBase/use-table-selection.js +4 -3
  156. package/dist/components/data/TableBase/use-table-selection.js.map +1 -1
  157. package/dist/components/data/TableBase/use-table-sort.js +1 -1
  158. package/dist/components/data/TableBase/use-table-sorts.js +1 -1
  159. package/dist/components/data/TableBase/use-table-storage.js +1 -1
  160. package/dist/components/data/TableBase/use-table-tooltip-refresh.js +1 -1
  161. package/dist/components/data/TableBase/use-table-tree-state.js +9 -4
  162. package/dist/components/data/TableBase/use-table-tree-state.js.map +1 -1
  163. package/dist/components/fields/Checkbox/Checkbox.js +1 -1
  164. package/dist/components/fields/Checkbox/CheckboxGroup.js +1 -1
  165. package/dist/components/fields/Checkbox/context.js +1 -1
  166. package/dist/components/fields/ColorInput/ColorInput.js +1 -1
  167. package/dist/components/fields/ColorPicker/ColorPicker.js +1 -1
  168. package/dist/components/fields/ColorSwatch/ColorSwatch.js +1 -1
  169. package/dist/components/fields/ColorSwatchGroup/ColorSwatchGroup.js +1 -1
  170. package/dist/components/fields/ComboBox/ComboBox.d.ts +20 -2
  171. package/dist/components/fields/ComboBox/ComboBox.js +605 -645
  172. package/dist/components/fields/ComboBox/ComboBox.js.map +1 -1
  173. package/dist/components/fields/ComboBox/comboBoxOptions.js +10 -9
  174. package/dist/components/fields/ComboBox/comboBoxOptions.js.map +1 -1
  175. package/dist/components/fields/CommandTextArea/CommandTextArea.js +23 -12
  176. package/dist/components/fields/CommandTextArea/CommandTextArea.js.map +1 -1
  177. package/dist/components/fields/CommandTextArea/caretPosition.js +1 -1
  178. package/dist/components/fields/CommandTextArea/useCaretAnchor.js +1 -1
  179. package/dist/components/fields/DatePicker/CalendarPopover.js +1 -1
  180. package/dist/components/fields/DatePicker/DateInput.js +1 -1
  181. package/dist/components/fields/DatePicker/DateInputBase.js +1 -1
  182. package/dist/components/fields/DatePicker/DatePicker.js +1 -1
  183. package/dist/components/fields/DatePicker/DatePickerButton.js +1 -1
  184. package/dist/components/fields/DatePicker/DatePickerElement.js +1 -1
  185. package/dist/components/fields/DatePicker/DatePickerInput.js +1 -1
  186. package/dist/components/fields/DatePicker/DatePickerSegment.js +1 -1
  187. package/dist/components/fields/DatePicker/DateRangePicker.js +1 -1
  188. package/dist/components/fields/DatePicker/DateRangeSeparatedPicker.js +1 -1
  189. package/dist/components/fields/DatePicker/MonthPicker.js +1 -1
  190. package/dist/components/fields/DatePicker/PeriodPicker.js +1 -1
  191. package/dist/components/fields/DatePicker/QuarterPicker.js +1 -1
  192. package/dist/components/fields/DatePicker/TimeInput.js +1 -1
  193. package/dist/components/fields/DatePicker/WeekPicker.js +1 -1
  194. package/dist/components/fields/DatePicker/YearPicker.js +1 -1
  195. package/dist/components/fields/DatePicker/parseDate.js +1 -1
  196. package/dist/components/fields/DatePicker/period.js +1 -1
  197. package/dist/components/fields/DatePicker/props.js +1 -1
  198. package/dist/components/fields/DatePicker/utils.js +1 -1
  199. package/dist/components/fields/FileInput/FileInput.js +1 -1
  200. package/dist/components/fields/FilterListBox/FilterListBox.js +16 -12
  201. package/dist/components/fields/FilterListBox/FilterListBox.js.map +1 -1
  202. package/dist/components/fields/FilterListBox/styled.js +1 -1
  203. package/dist/components/fields/FilterPicker/FilterPicker.js +1 -1
  204. package/dist/components/fields/FilterPicker/FilterTree.js +32 -24
  205. package/dist/components/fields/FilterPicker/FilterTree.js.map +1 -1
  206. package/dist/components/fields/Input/Input.js +1 -1
  207. package/dist/components/fields/ListBox/DraggableListBox.js +1 -1
  208. package/dist/components/fields/ListBox/ListBox.js +10 -7
  209. package/dist/components/fields/ListBox/ListBox.js.map +1 -1
  210. package/dist/components/fields/ListBox/empty-row.js +1 -1
  211. package/dist/components/fields/ListBox/optionId.js +1 -1
  212. package/dist/components/fields/ListBox/use-disabled-focus-reset.js +66 -0
  213. package/dist/components/fields/ListBox/use-disabled-focus-reset.js.map +1 -0
  214. package/dist/components/fields/ListBoxPopover/EmptyLabelStatus.js +40 -0
  215. package/dist/components/fields/ListBoxPopover/EmptyLabelStatus.js.map +1 -0
  216. package/dist/components/fields/ListBoxPopover/ListBoxPopover.js +1 -1
  217. package/dist/components/fields/ListBoxPopover/listNavigation.js +23 -11
  218. package/dist/components/fields/ListBoxPopover/listNavigation.js.map +1 -1
  219. package/dist/components/fields/ListBoxPopover/useCompositeFocus.js +1 -1
  220. package/dist/components/fields/ListBoxPopover/useDelayedLoading.js +44 -0
  221. package/dist/components/fields/ListBoxPopover/useDelayedLoading.js.map +1 -0
  222. package/dist/components/fields/NumberInput/NumberInput.js +1 -1
  223. package/dist/components/fields/NumberInput/StepButton.js +1 -1
  224. package/dist/components/fields/PasswordInput/PasswordInput.js +1 -1
  225. package/dist/components/fields/Picker/Picker.js +1 -1
  226. package/dist/components/fields/RadioGroup/Radio.js +1 -1
  227. package/dist/components/fields/RadioGroup/RadioGroup.js +1 -1
  228. package/dist/components/fields/RadioGroup/context.js +1 -1
  229. package/dist/components/fields/RadioGroup/joined-styles.js +1 -1
  230. package/dist/components/fields/SearchComboBox/SearchComboBox.d.ts +4 -2
  231. package/dist/components/fields/SearchComboBox/SearchComboBox.js +49 -67
  232. package/dist/components/fields/SearchComboBox/SearchComboBox.js.map +1 -1
  233. package/dist/components/fields/SearchInput/SearchInput.js +1 -1
  234. package/dist/components/fields/Select/Select.js +41 -95
  235. package/dist/components/fields/Select/Select.js.map +1 -1
  236. package/dist/components/fields/Slider/Gradation.js +1 -1
  237. package/dist/components/fields/Slider/HueSlider.js +1 -1
  238. package/dist/components/fields/Slider/RangeSlider.js +1 -1
  239. package/dist/components/fields/Slider/Slider.js +1 -1
  240. package/dist/components/fields/Slider/SliderBase.js +1 -1
  241. package/dist/components/fields/Slider/SliderThumb.js +1 -1
  242. package/dist/components/fields/Slider/SliderTrack.js +1 -1
  243. package/dist/components/fields/Slider/elements.js +1 -1
  244. package/dist/components/fields/Slider/index.js +1 -1
  245. package/dist/components/fields/Switch/Switch.js +1 -1
  246. package/dist/components/fields/TagInput/TagInput.js +30 -25
  247. package/dist/components/fields/TagInput/TagInput.js.map +1 -1
  248. package/dist/components/fields/TagInput/TagList.js +174 -149
  249. package/dist/components/fields/TagInput/TagList.js.map +1 -1
  250. package/dist/components/fields/TagInput/useActiveOption.js +1 -1
  251. package/dist/components/fields/TagInput/useSuffixSpace.js +1 -1
  252. package/dist/components/fields/TagInput/useTagError.js +1 -1
  253. package/dist/components/fields/TextArea/TextArea.js +1 -1
  254. package/dist/components/fields/TextInput/TextInput.js +1 -1
  255. package/dist/components/fields/TextInput/TextInputBase.js +1 -1
  256. package/dist/components/fields/TextInput/displayed-validation.js +1 -1
  257. package/dist/components/fields/TextInput/identifier-text-services.js +1 -1
  258. package/dist/components/fields/TextInput/password-manager-ignore.js +1 -1
  259. package/dist/components/fields/TextInput/useAutoSizeTextArea.js +1 -1
  260. package/dist/components/fields/TextInputMapper/TextInputMapper.js +1 -1
  261. package/dist/components/fields/ToggleGroup/ToggleGroup.js +1 -1
  262. package/dist/components/fields/ToggleGroup/ToggleGroupItem.js +26 -23
  263. package/dist/components/fields/ToggleGroup/ToggleGroupItem.js.map +1 -1
  264. package/dist/components/fields/ToggleGroup/context.js +1 -1
  265. package/dist/components/fields/TriggerActions.js +1 -1
  266. package/dist/components/fields/color/ColorPanel.js +1 -1
  267. package/dist/components/fields/color/channels.js +1 -1
  268. package/dist/components/fields/color/color.js +1 -1
  269. package/dist/components/fields/color/context.js +1 -1
  270. package/dist/components/fields/option-origin-press.js +1 -1
  271. package/dist/components/fields/popover-width.js +1 -1
  272. package/dist/components/fields/search-text-services.js +1 -1
  273. package/dist/components/form/FieldWrapper/FieldWrapper.js +1 -1
  274. package/dist/components/form/FieldWrapper/field-description.js +1 -1
  275. package/dist/components/form/Form/Field.js +1 -1
  276. package/dist/components/form/Form/Form.js +1 -1
  277. package/dist/components/form/Form/FormContext.js +1 -1
  278. package/dist/components/form/Form/FormElement.js +1 -1
  279. package/dist/components/form/Form/ModernFormRoot.js +1 -1
  280. package/dist/components/form/Form/ResetButton/ResetButton.js +1 -1
  281. package/dist/components/form/Form/SubmitButton/SubmitButton.js +1 -1
  282. package/dist/components/form/Form/SubmitError.js +1 -1
  283. package/dist/components/form/Form/backend.js +1 -1
  284. package/dist/components/form/Form/index.js +1 -1
  285. package/dist/components/form/Form/modern/actions.js +1 -1
  286. package/dist/components/form/Form/modern/context.js +1 -1
  287. package/dist/components/form/Form/modern/controller.js +1 -1
  288. package/dist/components/form/Form/modern/field-binding.js +1 -1
  289. package/dist/components/form/Form/modern/field.js +1 -1
  290. package/dist/components/form/Form/modern/react.js +1 -1
  291. package/dist/components/form/Form/modern/store.js +1 -1
  292. package/dist/components/form/Form/modern/validation.js +1 -1
  293. package/dist/components/form/Form/modern/values.js +1 -1
  294. package/dist/components/form/Form/reset-unbound-controls.js +1 -1
  295. package/dist/components/form/Form/use-field/use-field-binding.js +1 -1
  296. package/dist/components/form/Form/use-field/use-field-props.js +1 -1
  297. package/dist/components/form/Form/use-field/use-field.js +1 -1
  298. package/dist/components/form/Form/use-form.js +1 -1
  299. package/dist/components/form/Form/validation.js +1 -1
  300. package/dist/components/form/Label.js +1 -1
  301. package/dist/components/form/field-chrome.js +1 -1
  302. package/dist/components/form/field-layout.js +1 -1
  303. package/dist/components/form/legacy-tooltip.js +1 -1
  304. package/dist/components/form/validation/ValidationIndicator.js +1 -1
  305. package/dist/components/form/validation/resolve-validation-props.js +1 -1
  306. package/dist/components/form/validation/use-validation-props.js +1 -1
  307. package/dist/components/form/wrapper.js +1 -1
  308. package/dist/components/helpers/DisplayTransition/DisplayTransition.js +1 -1
  309. package/dist/components/helpers/IconSwitch/IconSwitch.js +1 -1
  310. package/dist/components/layout/Flex.js +1 -1
  311. package/dist/components/layout/Flow.js +1 -1
  312. package/dist/components/layout/Grid.js +1 -1
  313. package/dist/components/layout/Panel.js +1 -1
  314. package/dist/components/layout/Prefix.js +1 -1
  315. package/dist/components/layout/ResizablePanel.js +1 -1
  316. package/dist/components/layout/Space.js +1 -1
  317. package/dist/components/layout/Suffix.js +1 -1
  318. package/dist/components/navigation/NavTabs/NavTabs.js +1 -1
  319. package/dist/components/navigation/Pagination/Pagination.js +1 -1
  320. package/dist/components/navigation/Pagination/use-pagination.js +1 -1
  321. package/dist/components/navigation/Tabs/BoardDragActiveProvider.js +1 -1
  322. package/dist/components/navigation/Tabs/DraggableTabList.js +1 -1
  323. package/dist/components/navigation/Tabs/TabButton.js +4 -3
  324. package/dist/components/navigation/Tabs/TabButton.js.map +1 -1
  325. package/dist/components/navigation/Tabs/TabDropIndicator.js +1 -1
  326. package/dist/components/navigation/Tabs/TabPanel.js +1 -1
  327. package/dist/components/navigation/Tabs/TabPicker.js +60 -46
  328. package/dist/components/navigation/Tabs/TabPicker.js.map +1 -1
  329. package/dist/components/navigation/Tabs/Tabs.js +27 -8
  330. package/dist/components/navigation/Tabs/Tabs.js.map +1 -1
  331. package/dist/components/navigation/Tabs/TabsAction.js +1 -1
  332. package/dist/components/navigation/Tabs/TabsContext.js +1 -1
  333. package/dist/components/navigation/Tabs/TabsContext.js.map +1 -1
  334. package/dist/components/navigation/Tabs/popover-placement.js +1 -1
  335. package/dist/components/navigation/Tabs/scroll-tab-into-strip.js +1 -1
  336. package/dist/components/navigation/Tabs/segmented-styles.js +1 -1
  337. package/dist/components/navigation/Tabs/styled.js +1 -1
  338. package/dist/components/navigation/Tabs/types.js +1 -1
  339. package/dist/components/navigation/Tabs/use-tab-editing.js +1 -1
  340. package/dist/components/navigation/Tabs/use-tab-indicator.js +1 -1
  341. package/dist/components/organisms/StatsCard/StatsCard.js +1 -1
  342. package/dist/components/other/Calendar/Calendar.js +1 -1
  343. package/dist/components/other/Calendar/CalendarCell.js +1 -1
  344. package/dist/components/other/Calendar/CalendarGrid.js +1 -1
  345. package/dist/components/other/Calendar/CalendarHeader.js +1 -1
  346. package/dist/components/other/Calendar/CalendarPanel.js +1 -1
  347. package/dist/components/other/Calendar/PeriodCalendar.js +1 -1
  348. package/dist/components/other/Calendar/PeriodGrid.js +1 -1
  349. package/dist/components/other/Calendar/RangeCalendar.js +1 -1
  350. package/dist/components/other/Calendar/styled.js +1 -1
  351. package/dist/components/other/CubeLogo/CubeLogo.js +1 -1
  352. package/dist/components/other/NoDataIcon/NoDataIcon.js +1 -1
  353. package/dist/components/overlays/AlertDialog/AlertDialog.js +1 -1
  354. package/dist/components/overlays/AlertDialog/AlertDialogApiProvider.js +1 -1
  355. package/dist/components/overlays/AlertDialog/AlertDialogZone.js +1 -1
  356. package/dist/components/overlays/Dialog/Dialog.js +1 -1
  357. package/dist/components/overlays/Dialog/DialogContainer.js +1 -1
  358. package/dist/components/overlays/Dialog/DialogForm.js +1 -1
  359. package/dist/components/overlays/Dialog/DialogTrigger.js +1 -1
  360. package/dist/components/overlays/Dialog/ModernDialogForm.js +1 -1
  361. package/dist/components/overlays/Dialog/context.js +1 -1
  362. package/dist/components/overlays/Dialog/default-button-text.js +1 -1
  363. package/dist/components/overlays/Dialog/use-content-overflow.js +1 -1
  364. package/dist/components/overlays/Dialog/use-dialog-container.js +1 -1
  365. package/dist/components/overlays/Dialog/use-dialog-open-sync.js +1 -1
  366. package/dist/components/overlays/Dialog/use-dismiss-confirmation.js +1 -1
  367. package/dist/components/overlays/Dialog/use-retained-dialog-focus.js +1 -1
  368. package/dist/components/overlays/Modal/Modal.js +1 -1
  369. package/dist/components/overlays/Modal/OpenTransitionContext.js +1 -1
  370. package/dist/components/overlays/Modal/Overlay.js +1 -1
  371. package/dist/components/overlays/Modal/Popover.js +1 -1
  372. package/dist/components/overlays/Modal/Tray.js +1 -1
  373. package/dist/components/overlays/Modal/Underlay.js +1 -1
  374. package/dist/components/overlays/Modal/modal-containment.js +1 -1
  375. package/dist/components/overlays/Notifications/Notification.js +1 -1
  376. package/dist/components/overlays/Notifications/NotificationAction.js +1 -1
  377. package/dist/components/overlays/Notifications/NotificationCard.js +1 -1
  378. package/dist/components/overlays/Notifications/NotificationContext.js +1 -1
  379. package/dist/components/overlays/Notifications/NotificationItem.js +1 -1
  380. package/dist/components/overlays/Notifications/OverlayContainer.js +1 -1
  381. package/dist/components/overlays/Notifications/OverlayProvider.js +1 -1
  382. package/dist/components/overlays/Notifications/PersistentNotificationsList.js +1 -1
  383. package/dist/components/overlays/Notifications/dismissed-storage.js +1 -1
  384. package/dist/components/overlays/Notifications/format-relative-time.js +1 -1
  385. package/dist/components/overlays/Notifications/index.js +1 -1
  386. package/dist/components/overlays/Notifications/use-notification-state.js +1 -1
  387. package/dist/components/overlays/Notifications/use-notifications.js +1 -1
  388. package/dist/components/overlays/Notifications/use-overlay-timers.js +1 -1
  389. package/dist/components/overlays/Notifications/use-persistent-notifications.js +1 -1
  390. package/dist/components/overlays/Notifications/use-persistent-state.js +1 -1
  391. package/dist/components/overlays/Notifications/use-toast-state.js +1 -1
  392. package/dist/components/overlays/Toast/ToastItem.js +1 -1
  393. package/dist/components/overlays/Toast/index.js +1 -1
  394. package/dist/components/overlays/Toast/useProgressToast.js +1 -1
  395. package/dist/components/overlays/Toast/useToast.js +1 -1
  396. package/dist/components/overlays/Tooltip/Tooltip.js +1 -1
  397. package/dist/components/overlays/Tooltip/TooltipProvider.js +1 -1
  398. package/dist/components/overlays/Tooltip/TooltipTrigger.js +1 -1
  399. package/dist/components/overlays/Tooltip/context.js +1 -1
  400. package/dist/components/overlays/Tooltip/split-trigger-props.js +1 -1
  401. package/dist/components/portal/Portal.js +1 -1
  402. package/dist/components/portal/PortalProvider.js +1 -1
  403. package/dist/components/portal/usePortal.js +1 -1
  404. package/dist/components/shared/DraggableCollection.js +104 -96
  405. package/dist/components/shared/DraggableCollection.js.map +1 -1
  406. package/dist/components/shared/InvalidIcon.js +1 -1
  407. package/dist/components/shared/ValidIcon.js +1 -1
  408. package/dist/components/shared/disabled-behavior.js +30 -0
  409. package/dist/components/shared/disabled-behavior.js.map +1 -0
  410. package/dist/components/shared/virtual-width.js +1 -1
  411. package/dist/components/status/LoadingAnimation/LoadingAnimation.js +1 -1
  412. package/dist/components/status/Spin/Cube.js +1 -1
  413. package/dist/components/status/Spin/InternalSpinner.js +1 -1
  414. package/dist/components/status/Spin/Spin.js +1 -1
  415. package/dist/components/status/Spin/SpinsContainer.js +1 -1
  416. package/dist/data/item-themes.js +21 -8
  417. package/dist/data/item-themes.js.map +1 -1
  418. package/dist/data/themes.js +1 -1
  419. package/dist/eslint-plugin/defaults.generated.js +5 -1
  420. package/dist/eslint-plugin/defaults.generated.js.map +1 -1
  421. package/dist/eslint-plugin/index.js +1 -1
  422. package/dist/eslint-plugin/rules/no-redundant-default-prop.js +1 -1
  423. package/dist/harness/colors-deps.js +1 -1
  424. package/dist/i18n/I18nProvider.js +1 -1
  425. package/dist/i18n/createFormatter.js +1 -1
  426. package/dist/i18n/index.js +1 -1
  427. package/dist/i18n/instance.js +1 -1
  428. package/dist/i18n/locales/de-DE/uikit.js +1 -1
  429. package/dist/i18n/locales/en-US/uikit.js +1 -1
  430. package/dist/i18n/locales/es-ES/uikit.js +1 -1
  431. package/dist/i18n/locales/es-MX/uikit.js +1 -1
  432. package/dist/i18n/locales/fr-FR/uikit.js +1 -1
  433. package/dist/i18n/locales/it-IT/uikit.js +1 -1
  434. package/dist/i18n/locales/ja-JP/uikit.js +1 -1
  435. package/dist/i18n/locales/nb-NO/uikit.js +1 -1
  436. package/dist/i18n/locales/pt-BR/uikit.js +1 -1
  437. package/dist/i18n/locales/pt-PT/uikit.js +1 -1
  438. package/dist/i18n/locales/sv-SE/uikit.js +1 -1
  439. package/dist/i18n/locales/vi-VN/uikit.js +1 -1
  440. package/dist/i18n/locales.js +1 -1
  441. package/dist/i18n/namespace.js +1 -1
  442. package/dist/i18n/useFormatter.js +1 -1
  443. package/dist/i18n/useI18n.js +1 -1
  444. package/dist/icons/AdjustmentsHorizontalIcon.js +1 -1
  445. package/dist/icons/AdjustmentsIcon.js +1 -1
  446. package/dist/icons/AiIcon.js +1 -1
  447. package/dist/icons/AreaChartIcon.js +1 -1
  448. package/dist/icons/ArrowNarrowDownIcon.js +1 -1
  449. package/dist/icons/ArrowNarrowUpIcon.js +1 -1
  450. package/dist/icons/BackwardIcon.js +1 -1
  451. package/dist/icons/BarChartIcon.js +1 -1
  452. package/dist/icons/BellFilledIcon.js +1 -1
  453. package/dist/icons/BellIcon.js +1 -1
  454. package/dist/icons/BooleanIcon.js +1 -1
  455. package/dist/icons/CalendarEditIcon.js +1 -1
  456. package/dist/icons/CalendarIcon.js +1 -1
  457. package/dist/icons/CaretDownIcon.js +1 -1
  458. package/dist/icons/CaretUpIcon.js +1 -1
  459. package/dist/icons/ChartAreaStackedIcon.js +1 -1
  460. package/dist/icons/ChartAreaStackedPercentageIcon.js +1 -1
  461. package/dist/icons/ChartBarGroupedHorizontalIcon.js +1 -1
  462. package/dist/icons/ChartBarGroupedIcon.js +1 -1
  463. package/dist/icons/ChartBarHorizontalIcon.js +1 -1
  464. package/dist/icons/ChartBarLineIcon.js +1 -1
  465. package/dist/icons/ChartBarStackedHorizontalIcon.js +1 -1
  466. package/dist/icons/ChartBarStackedIcon.js +1 -1
  467. package/dist/icons/ChartBarStackedPercentageHorizontalIcon.js +1 -1
  468. package/dist/icons/ChartBarStackedPercentageIcon.js +1 -1
  469. package/dist/icons/ChartBoxPlot2Icon.js +1 -1
  470. package/dist/icons/ChartBoxPlotIcon.js +1 -1
  471. package/dist/icons/ChartBubbleIcon.js +1 -1
  472. package/dist/icons/ChartDonut2Icon.js +1 -1
  473. package/dist/icons/ChartFunnelIcon.js +1 -1
  474. package/dist/icons/ChartHeatmapIcon.js +1 -1
  475. package/dist/icons/ChartKPIIcon.js +1 -1
  476. package/dist/icons/ChartPie2Icon.js +1 -1
  477. package/dist/icons/ChartScatterIcon.js +1 -1
  478. package/dist/icons/CheckCircleFilledIcon.js +1 -1
  479. package/dist/icons/CheckCircleIcon.js +1 -1
  480. package/dist/icons/CheckIcon.js +1 -1
  481. package/dist/icons/CircleFilledIcon.js +1 -1
  482. package/dist/icons/ClearIcon.js +1 -1
  483. package/dist/icons/CloseCircleFilledIcon.js +1 -1
  484. package/dist/icons/CloseCircleIcon.js +1 -1
  485. package/dist/icons/CloseIcon.js +1 -1
  486. package/dist/icons/CodeIcon.js +1 -1
  487. package/dist/icons/ColumnTotalIcon.js +1 -1
  488. package/dist/icons/CopyIcon.js +1 -1
  489. package/dist/icons/CountIcon.js +1 -1
  490. package/dist/icons/CubeIcon.js +1 -1
  491. package/dist/icons/CubePauseIcon.js +1 -1
  492. package/dist/icons/CubePlayIcon.js +1 -1
  493. package/dist/icons/CurrencyDollarIcon.js +1 -1
  494. package/dist/icons/DangerIcon.js +1 -1
  495. package/dist/icons/DashboardIcon.js +1 -1
  496. package/dist/icons/DatabaseIcon.js +1 -1
  497. package/dist/icons/DecimalDecreaseIcon.js +1 -1
  498. package/dist/icons/DecimalIncreaseIcon.js +1 -1
  499. package/dist/icons/DirectionIcon.js +1 -1
  500. package/dist/icons/DonutIcon.js +1 -1
  501. package/dist/icons/DownIcon.js +1 -1
  502. package/dist/icons/EditIcon.js +1 -1
  503. package/dist/icons/ExclamationCircleFilledIcon.js +1 -1
  504. package/dist/icons/ExclamationCircleIcon.js +1 -1
  505. package/dist/icons/ExclamationIcon.js +1 -1
  506. package/dist/icons/EyeIcon.js +1 -1
  507. package/dist/icons/EyeInvisibleIcon.js +1 -1
  508. package/dist/icons/FilterIcon.js +1 -1
  509. package/dist/icons/FolderFilledIcon.js +1 -1
  510. package/dist/icons/FolderIcon.js +1 -1
  511. package/dist/icons/FolderOpenFilledIcon.js +1 -1
  512. package/dist/icons/FolderOpenIcon.js +1 -1
  513. package/dist/icons/ForwardIcon.js +1 -1
  514. package/dist/icons/GripVerticalIcon.js +1 -1
  515. package/dist/icons/HierarchyIcon.js +1 -1
  516. package/dist/icons/HierarchyOpenIcon.js +1 -1
  517. package/dist/icons/Icon.js +1 -1
  518. package/dist/icons/InfoCircleIcon.js +1 -1
  519. package/dist/icons/InfoIcon.js +1 -1
  520. package/dist/icons/KeyIcon.js +1 -1
  521. package/dist/icons/LeftIcon.js +1 -1
  522. package/dist/icons/LineChartIcon.js +1 -1
  523. package/dist/icons/LoadingIcon.js +1 -1
  524. package/dist/icons/LockFilledIcon.js +1 -1
  525. package/dist/icons/LockIcon.js +1 -1
  526. package/dist/icons/MoreIcon.js +1 -1
  527. package/dist/icons/NotAllowedIcon.js +1 -1
  528. package/dist/icons/Number123Icon.js +1 -1
  529. package/dist/icons/NumberIcon.js +1 -1
  530. package/dist/icons/PauseCircleFilledIcon.js +1 -1
  531. package/dist/icons/PauseCircleIcon.js +1 -1
  532. package/dist/icons/PauseIcon.js +1 -1
  533. package/dist/icons/PercentageIcon.js +1 -1
  534. package/dist/icons/PieChartIcon.js +1 -1
  535. package/dist/icons/PipetteIcon.js +1 -1
  536. package/dist/icons/PlayCircleIcon.js +1 -1
  537. package/dist/icons/PlayIcon.js +1 -1
  538. package/dist/icons/PlusIcon.js +1 -1
  539. package/dist/icons/ProgressBarIcon.js +1 -1
  540. package/dist/icons/ReloadIcon.js +1 -1
  541. package/dist/icons/ReportIcon.js +1 -1
  542. package/dist/icons/ReturnIcon.js +1 -1
  543. package/dist/icons/RightIcon.js +1 -1
  544. package/dist/icons/RowTotalsIcon.js +1 -1
  545. package/dist/icons/SchemeIcon.js +1 -1
  546. package/dist/icons/SearchIcon.js +1 -1
  547. package/dist/icons/SemanticQueryIcon.js +1 -1
  548. package/dist/icons/SettingsIcon.js +1 -1
  549. package/dist/icons/ShieldFilledIcon.js +1 -1
  550. package/dist/icons/ShieldIcon.js +1 -1
  551. package/dist/icons/SlashIcon.js +1 -1
  552. package/dist/icons/SparklesIcon.js +1 -1
  553. package/dist/icons/SqlIcon.js +1 -1
  554. package/dist/icons/StatsIcon.js +1 -1
  555. package/dist/icons/StopIcon.js +1 -1
  556. package/dist/icons/StringIcon.js +1 -1
  557. package/dist/icons/SubtotalsIcon.js +1 -1
  558. package/dist/icons/SwitchIcon.js +1 -1
  559. package/dist/icons/TableIcon.js +1 -1
  560. package/dist/icons/ThumbsDownIcon.js +1 -1
  561. package/dist/icons/ThumbsUpIcon.js +1 -1
  562. package/dist/icons/ThunderboltCrossedIcon.js +1 -1
  563. package/dist/icons/ThunderboltFilledIcon.js +1 -1
  564. package/dist/icons/ThunderboltIcon.js +1 -1
  565. package/dist/icons/TimeIcon.js +1 -1
  566. package/dist/icons/TrashIcon.js +1 -1
  567. package/dist/icons/UnlockIcon.js +1 -1
  568. package/dist/icons/UpIcon.js +1 -1
  569. package/dist/icons/UserGroupIcon.js +1 -1
  570. package/dist/icons/UserIcon.js +1 -1
  571. package/dist/icons/UserLockIcon.js +1 -1
  572. package/dist/icons/ViewIcon.js +1 -1
  573. package/dist/icons/WarningFilledIcon.js +1 -1
  574. package/dist/icons/WarningIcon.js +1 -1
  575. package/dist/icons/wrap-icon.js +1 -1
  576. package/dist/index.js +1 -1
  577. package/dist/probe/canonicalize.js +1 -1
  578. package/dist/probe/css.js +1 -1
  579. package/dist/probe/index.js +1 -1
  580. package/dist/provider.js +1 -1
  581. package/dist/providers/TrackingProvider.js +1 -1
  582. package/dist/providers/navigation-url.js +1 -1
  583. package/dist/providers/navigationAdapter.default.js +1 -1
  584. package/dist/providers/use-navigation.js +1 -1
  585. package/dist/tokens/all-tokens.js +1 -1
  586. package/dist/tokens/base.js +1 -1
  587. package/dist/tokens/color-seed.js +1 -1
  588. package/dist/tokens/color-theme.js +1 -1
  589. package/dist/tokens/colors.js +1 -1
  590. package/dist/tokens/layout.js +1 -1
  591. package/dist/tokens/lazy-styles.js +1 -1
  592. package/dist/tokens/legacy-color.js +1 -1
  593. package/dist/tokens/palette-config.js +1 -1
  594. package/dist/tokens/palette.js +1 -1
  595. package/dist/tokens/resolve.js +1 -1
  596. package/dist/tokens/shadows.js +1 -1
  597. package/dist/tokens/sizes.js +1 -1
  598. package/dist/tokens/spacing.js +1 -1
  599. package/dist/tokens/typography.js +1 -1
  600. package/dist/utils/ResizeSensor.js +1 -1
  601. package/dist/utils/colors.js +1 -1
  602. package/dist/utils/dotize.js +1 -1
  603. package/dist/utils/is-dev-env.js +1 -1
  604. package/dist/utils/layout-scale.js +1 -1
  605. package/dist/utils/modules.js +1 -1
  606. package/dist/utils/promise.js +1 -1
  607. package/dist/utils/raf.js +1 -1
  608. package/dist/utils/random.js +1 -1
  609. package/dist/utils/range.js +1 -1
  610. package/dist/utils/react/RenderCache.js +1 -1
  611. package/dist/utils/react/Slots.js +1 -1
  612. package/dist/utils/react/chain.js +1 -1
  613. package/dist/utils/react/componentBaseProps.js +1 -1
  614. package/dist/utils/react/disabledProps.js +1 -1
  615. package/dist/utils/react/forwardRefWithGenerics.js +1 -1
  616. package/dist/utils/react/index.js +1 -1
  617. package/dist/utils/react/interactions.js +1 -1
  618. package/dist/utils/react/isTextOnly.js +1 -1
  619. package/dist/utils/react/mapProps.js +1 -1
  620. package/dist/utils/react/mergeProps.js +1 -1
  621. package/dist/utils/react/nullableValue.js +1 -1
  622. package/dist/utils/react/overlayKeyPropagation.js +1 -1
  623. package/dist/utils/react/pickBaseCustomizationProps.js +1 -1
  624. package/dist/utils/react/programmaticFocus.js +1 -1
  625. package/dist/utils/react/resolveIcon.js +1 -1
  626. package/dist/utils/react/sharedStore.js +1 -1
  627. package/dist/utils/react/useBufferedValue.js +1 -1
  628. package/dist/utils/react/useCombinedRefs.js +1 -1
  629. package/dist/utils/react/useControlledFocusVisible.js +1 -1
  630. package/dist/utils/react/useEventBus.js +1 -1
  631. package/dist/utils/react/useId.js +1 -1
  632. package/dist/utils/react/useIsDarwin.js +1 -1
  633. package/dist/utils/react/useKeySymbols.js +1 -1
  634. package/dist/utils/react/useLayoutEffect.js +1 -1
  635. package/dist/utils/react/useLocalStorage.js +1 -1
  636. package/dist/utils/react/useMergeStyles.js +1 -1
  637. package/dist/utils/react/useOpenKey.js +1 -1
  638. package/dist/utils/react/useOverlayEscapeGuard.js +1 -1
  639. package/dist/utils/react/useOverlayPosition.js +1 -1
  640. package/dist/utils/react/usePopoverSync.js +1 -1
  641. package/dist/utils/react/useQaProps.js +1 -1
  642. package/dist/utils/react/useScheme.js +1 -1
  643. package/dist/utils/react/useViewportSize.js +1 -1
  644. package/dist/utils/react/wrapNodeIfPlain.js +1 -1
  645. package/dist/utils/selection.js +1 -1
  646. package/dist/utils/styles.js +1 -1
  647. package/dist/utils/tree.js +1 -1
  648. package/dist/utils/warnings.js +1 -1
  649. package/dist/version.js +3 -3
  650. package/docs/Usage.md +2 -2
  651. package/docs/components/actions/CommandMenu.md +1 -1
  652. package/docs/components/actions/Menu.md +8 -5
  653. package/docs/components/actions/use-context-menu.md +1 -1
  654. package/docs/components/content/Tree.md +1 -1
  655. package/docs/components/data/ItemTable.md +3 -3
  656. package/docs/components/fields/ComboBox.md +74 -5
  657. package/docs/components/fields/CommandTextArea.md +1 -1
  658. package/docs/components/fields/FilterListBox.md +1 -1
  659. package/docs/components/fields/FilterPicker.md +1 -1
  660. package/docs/components/fields/ListBox.md +1 -1
  661. package/docs/components/fields/Picker.md +1 -1
  662. package/docs/components/fields/SearchComboBox.md +13 -7
  663. package/docs/components/fields/Select.md +3 -3
  664. package/docs/components/fields/TagInput.md +6 -6
  665. package/docs/components/fields/ToggleGroup.md +1 -1
  666. package/docs/components/navigation/Tabs.md +1 -0
  667. package/harness/dev.harnesspm/scripts/colors.mjs +1 -1
  668. package/package.json +5 -5
@@ -1,4 +1,4 @@
1
- /** @license MIT | @cube-dev/ui-kit v0.222.0 | Cube Dev Team */
1
+ /** @license MIT | @cube-dev/ui-kit v0.224.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";
@@ -9,6 +9,7 @@ import { CollectionItem as _CollectionItem } from "../../CollectionItem.js";
9
9
  import { useI18n } from "../../../i18n/useI18n.js";
10
10
  import { usePopoverSync } from "../../../utils/react/usePopoverSync.js";
11
11
  import { CloseIcon } from "../../../icons/CloseIcon.js";
12
+ import { isItemDisabled } from "../../shared/disabled-behavior.js";
12
13
  import { DirectionIcon } from "../../../icons/DirectionIcon.js";
13
14
  import { OVERLAY_KEYS, settleOverlayKey } from "../../../utils/react/overlayKeyPropagation.js";
14
15
  import { generateRandomId } from "../../../utils/random.js";
@@ -23,6 +24,8 @@ import { DEFAULT_INPUT_STYLES, INPUT_WRAPPER_STYLES } from "../TextInput/TextInp
23
24
  import { getIdentifierTextServices } from "../TextInput/identifier-text-services.js";
24
25
  import { ListBoxPopover } from "../ListBoxPopover/ListBoxPopover.js";
25
26
  import { useCompositeFocus } from "../ListBoxPopover/useCompositeFocus.js";
27
+ import { EmptyLabelStatus } from "../ListBoxPopover/EmptyLabelStatus.js";
28
+ import { useDelayedLoading } from "../ListBoxPopover/useDelayedLoading.js";
26
29
  import { collectOptions, findTypedOption, getItemLabel, highlightOption, resolveHighlightedKey, sortSelectedFirst } from "./comboBoxOptions.js";
27
30
  import { c } from "react/compiler-runtime";
28
31
  import { tasty } from "@tenphi/tasty";
@@ -264,7 +267,8 @@ function useComboBoxKeyboard(t0) {
264
267
  t4 = (e_1) => {
265
268
  const listState_1 = isListShown ? listStateRef.current : null;
266
269
  const key_0 = listState_1 ? resolveHighlightedKey(listState_1, selectedKey) : null;
267
- if (key_0 != null) {
270
+ if (key_0 != null && isItemDisabled(listState_1, key_0)) e_1.preventDefault();
271
+ else if (key_0 != null) {
268
272
  e_1.preventDefault();
269
273
  listState_1.selectionManager.select(key_0, e_1);
270
274
  onCloseList();
@@ -301,6 +305,7 @@ function useComboBoxKeyboard(t0) {
301
305
  inputRef.current?.focus();
302
306
  return true;
303
307
  }
308
+ onCloseList();
304
309
  if (effectiveInputValue && isClearable) {
305
310
  e_2.preventDefault();
306
311
  onClearValue();
@@ -478,7 +483,7 @@ const ComboBoxInput = forwardRef(function ComboBoxInput(t0, ref) {
478
483
  return t6;
479
484
  });
480
485
  const ComboBox = forwardRef(function ComboBox(props, ref) {
481
- const $ = c(303);
486
+ const $ = c(266);
482
487
  let t0;
483
488
  if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
484
489
  t0 = { valuePropsMapper: _temp2 };
@@ -486,7 +491,7 @@ const ComboBox = forwardRef(function ComboBox(props, ref) {
486
491
  } else t0 = $[0];
487
492
  props = useFieldProps(props, t0);
488
493
  const { t } = useI18n();
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;
494
+ let { qa, label, isRequired, isInvalid, isValid, id, icon, prefix, isDisabled, autoFocus, autoComplete: t1, isIdentifier, wrapperRef: t2, inputRef: t3, triggerRef, popoverRef, listBoxRef, isLoading, emptyLabel, 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;
490
495
  const autoComplete = t1 === void 0 ? "off" : t1;
491
496
  let wrapperRef = t2;
492
497
  let inputRef = t3;
@@ -506,28 +511,15 @@ const ComboBox = forwardRef(function ComboBox(props, ref) {
506
511
  const comboBoxId = t12;
507
512
  wrapperRef = useCombinedRefs(wrapperRef, ref);
508
513
  popoverRef = useCombinedRefs(popoverRef);
509
- const t13 = wrapperRef;
510
- const t14 = popoverRef;
511
- let t15;
512
- if ($[2] !== defaultInputValue || $[3] !== defaultSelectedKey || $[4] !== inputValue || $[5] !== selectedKey || $[6] !== t13 || $[7] !== t14) {
513
- t15 = {
514
- selectedKey,
515
- defaultSelectedKey,
516
- inputValue,
517
- defaultInputValue,
518
- comboBoxId,
519
- triggerRef: t13,
520
- popoverRef: t14
521
- };
522
- $[2] = defaultInputValue;
523
- $[3] = defaultSelectedKey;
524
- $[4] = inputValue;
525
- $[5] = selectedKey;
526
- $[6] = t13;
527
- $[7] = t14;
528
- $[8] = t15;
529
- } else t15 = $[8];
530
- const { effectiveSelectedKey, internalInputValue, isPopoverOpen, setIsPopoverOpen, setInternalSelectedKey, setInternalInputValue, isControlledKey, isControlledInput } = useComboBoxState(t15);
514
+ const { effectiveSelectedKey, internalInputValue, isPopoverOpen, setIsPopoverOpen, setInternalSelectedKey, setInternalInputValue, isControlledKey, isControlledInput } = useComboBoxState({
515
+ selectedKey,
516
+ defaultSelectedKey,
517
+ inputValue,
518
+ defaultInputValue,
519
+ comboBoxId,
520
+ triggerRef: wrapperRef,
521
+ popoverRef
522
+ });
531
523
  const sortSelectedToTop = sortSelectedToTopProp ?? (items ? true : false);
532
524
  const fieldLayout = splitFieldLayout(props);
533
525
  styles = fieldLayout.styles;
@@ -538,7 +530,7 @@ const ComboBox = forwardRef(function ComboBox(props, ref) {
538
530
  if (!isPopoverOpen && sortKey !== effectiveSelectedKey) setSortKey(effectiveSelectedKey);
539
531
  let children;
540
532
  let sortedItems;
541
- if ($[9] !== items || $[10] !== renderChildren || $[11] !== sortKey || $[12] !== sortSelectedToTop) {
533
+ if ($[2] !== items || $[3] !== renderChildren || $[4] !== sortKey || $[5] !== sortSelectedToTop) {
542
534
  sortedItems = items && sortSelectedToTop ? sortSelectedFirst(items, sortKey) : items;
543
535
  children = renderChildren;
544
536
  const renderFn = renderChildren;
@@ -549,125 +541,130 @@ const ComboBox = forwardRef(function ComboBox(props, ref) {
549
541
  return rendered;
550
542
  });
551
543
  } catch {}
552
- $[9] = items;
553
- $[10] = renderChildren;
554
- $[11] = sortKey;
555
- $[12] = sortSelectedToTop;
556
- $[13] = children;
557
- $[14] = sortedItems;
544
+ $[2] = items;
545
+ $[3] = renderChildren;
546
+ $[4] = sortKey;
547
+ $[5] = sortSelectedToTop;
548
+ $[6] = children;
549
+ $[7] = sortedItems;
558
550
  } else {
559
- children = $[13];
560
- sortedItems = $[14];
551
+ children = $[6];
552
+ sortedItems = $[7];
561
553
  }
562
- const t16 = children;
563
- let t17;
564
- if ($[15] !== props.disabledKeys || $[16] !== sortedItems || $[17] !== t16) {
565
- t17 = {
566
- children: t16,
554
+ const t13 = children;
555
+ let t14;
556
+ if ($[8] !== props.disabledKeys || $[9] !== sortedItems || $[10] !== t13) {
557
+ t14 = {
558
+ children: t13,
567
559
  items: sortedItems,
568
560
  disabledKeys: props.disabledKeys,
569
561
  selectionMode: "none"
570
562
  };
571
- $[15] = props.disabledKeys;
572
- $[16] = sortedItems;
573
- $[17] = t16;
574
- $[18] = t17;
575
- } else t17 = $[18];
576
- const localCollectionState = useListState(t17);
563
+ $[8] = props.disabledKeys;
564
+ $[9] = sortedItems;
565
+ $[10] = t13;
566
+ $[11] = t14;
567
+ } else t14 = $[11];
568
+ const localCollectionState = useListState(t14);
577
569
  const { selectedLabel, pickLabel } = useSelectedLabel(localCollectionState.collection, effectiveSelectedKey);
578
570
  const effectiveInputValue = isControlledInput ? inputValue : internalInputValue ?? selectedLabel;
579
- let t18;
580
- if ($[19] !== effectiveInputValue || $[20] !== filter) {
581
- t18 = {
571
+ let t15;
572
+ if ($[12] !== effectiveInputValue || $[13] !== filter) {
573
+ t15 = {
582
574
  effectiveInputValue,
583
575
  filter
584
576
  };
585
- $[19] = effectiveInputValue;
586
- $[20] = filter;
587
- $[21] = t18;
588
- } else t18 = $[21];
589
- const { filterFn, matchTypedText, isSameText, setIsFilterActive } = useComboBoxFiltering(t18);
577
+ $[12] = effectiveInputValue;
578
+ $[13] = filter;
579
+ $[14] = t15;
580
+ } else t15 = $[14];
581
+ const { filterFn, matchTypedText, isSameText, setIsFilterActive } = useComboBoxFiltering(t15);
590
582
  const filteredOptions = collectOptions(filterFn(localCollectionState.collection));
591
- let t19;
592
- if ($[22] !== localCollectionState.collection || $[23] !== matchTypedText) {
593
- t19 = () => collectOptions(matchTypedText(localCollectionState.collection));
594
- $[22] = localCollectionState.collection;
595
- $[23] = matchTypedText;
596
- $[24] = t19;
597
- } else t19 = $[24];
598
- const getTypedOptions = t19;
583
+ let t16;
584
+ if ($[15] !== localCollectionState.collection || $[16] !== matchTypedText) {
585
+ t16 = () => collectOptions(matchTypedText(localCollectionState.collection));
586
+ $[15] = localCollectionState.collection;
587
+ $[16] = matchTypedText;
588
+ $[17] = t16;
589
+ } else t16 = $[17];
590
+ const getTypedOptions = t16;
599
591
  const hasResults = filteredOptions.length > 0;
600
- const shouldShowPopover = isPopoverOpen && hasResults;
592
+ const hasEmptyLabel = emptyLabel != null && emptyLabel !== false && emptyLabel !== "";
593
+ const hasLongLoad = useDelayedLoading(!!isLoading);
594
+ const [wasListShown, setWasListShown] = useState(false);
595
+ const shouldShowPopover = isPopoverOpen && (hasResults || hasEmptyLabel && (!isLoading || hasLongLoad || wasListShown));
596
+ if (wasListShown !== shouldShowPopover) setWasListShown(shouldShowPopover);
597
+ const announcesEmptyLabel = shouldShowPopover && !hasResults && !isLoading;
601
598
  const reportedOpenRef = useRef(shouldShowPopover);
602
- let t20;
603
- let t21;
604
- if ($[25] !== onOpenChange || $[26] !== shouldShowPopover) {
605
- t20 = () => {
599
+ let t17;
600
+ let t18;
601
+ if ($[18] !== onOpenChange || $[19] !== shouldShowPopover) {
602
+ t17 = () => {
606
603
  if (reportedOpenRef.current === shouldShowPopover) return;
607
604
  reportedOpenRef.current = shouldShowPopover;
608
605
  onOpenChange?.(shouldShowPopover);
609
606
  };
610
- t21 = [shouldShowPopover, onOpenChange];
611
- $[25] = onOpenChange;
612
- $[26] = shouldShowPopover;
613
- $[27] = t20;
614
- $[28] = t21;
607
+ t18 = [shouldShowPopover, onOpenChange];
608
+ $[18] = onOpenChange;
609
+ $[19] = shouldShowPopover;
610
+ $[20] = t17;
611
+ $[21] = t18;
615
612
  } else {
616
- t20 = $[27];
617
- t21 = $[28];
613
+ t17 = $[20];
614
+ t18 = $[21];
618
615
  }
619
- useEffect(t20, t21);
616
+ useEffect(t17, t18);
620
617
  const { isFocused, focusProps } = useFocus$1();
621
- let t22;
622
- if ($[29] !== isControlledKey || $[30] !== setInternalSelectedKey) {
623
- t22 = (key) => {
618
+ let t19;
619
+ if ($[22] !== isControlledKey || $[23] !== setInternalSelectedKey) {
620
+ t19 = (key) => {
624
621
  if (!isControlledKey) setInternalSelectedKey(key);
625
622
  };
626
- $[29] = isControlledKey;
627
- $[30] = setInternalSelectedKey;
628
- $[31] = t22;
629
- } else t22 = $[31];
630
- const setSelectedKey = t22;
631
- let t23;
632
- if ($[32] !== effectiveInputValue || $[33] !== isControlledInput || $[34] !== onInputChange || $[35] !== setInternalInputValue) {
633
- t23 = (label_0) => {
623
+ $[22] = isControlledKey;
624
+ $[23] = setInternalSelectedKey;
625
+ $[24] = t19;
626
+ } else t19 = $[24];
627
+ const setSelectedKey = t19;
628
+ let t20;
629
+ if ($[25] !== effectiveInputValue || $[26] !== isControlledInput || $[27] !== onInputChange || $[28] !== setInternalInputValue) {
630
+ t20 = (label_0) => {
634
631
  if (!isControlledInput) setInternalInputValue(null);
635
632
  if (label_0 !== effectiveInputValue) onInputChange?.(label_0);
636
633
  };
637
- $[32] = effectiveInputValue;
638
- $[33] = isControlledInput;
639
- $[34] = onInputChange;
640
- $[35] = setInternalInputValue;
641
- $[36] = t23;
642
- } else t23 = $[36];
643
- const showSelectionLabel = t23;
644
- let t24;
645
- if ($[37] !== effectiveSelectedKey || $[38] !== externalOnSelectionChange || $[39] !== setSelectedKey || $[40] !== showSelectionLabel) {
646
- t24 = () => {
634
+ $[25] = effectiveInputValue;
635
+ $[26] = isControlledInput;
636
+ $[27] = onInputChange;
637
+ $[28] = setInternalInputValue;
638
+ $[29] = t20;
639
+ } else t20 = $[29];
640
+ const showSelectionLabel = t20;
641
+ let t21;
642
+ if ($[30] !== effectiveSelectedKey || $[31] !== externalOnSelectionChange || $[32] !== setSelectedKey || $[33] !== showSelectionLabel) {
643
+ t21 = () => {
647
644
  if (effectiveSelectedKey != null) {
648
645
  externalOnSelectionChange?.(null);
649
646
  setSelectedKey(null);
650
647
  }
651
648
  showSelectionLabel("");
652
649
  };
653
- $[37] = effectiveSelectedKey;
654
- $[38] = externalOnSelectionChange;
655
- $[39] = setSelectedKey;
656
- $[40] = showSelectionLabel;
657
- $[41] = t24;
658
- } else t24 = $[41];
659
- const clearSelectionAndInput = t24;
660
- let t25;
661
- if ($[42] !== selectedLabel || $[43] !== showSelectionLabel) {
662
- t25 = () => showSelectionLabel(selectedLabel);
663
- $[42] = selectedLabel;
664
- $[43] = showSelectionLabel;
665
- $[44] = t25;
666
- } else t25 = $[44];
667
- const restoreSelectedLabel = t25;
668
- let t26;
669
- if ($[45] !== clearSelectionAndInput || $[46] !== effectiveInputValue || $[47] !== effectiveSelectedKey || $[48] !== externalOnSelectionChange || $[49] !== restoreSelectedLabel || $[50] !== setSelectedKey || $[51] !== shouldCommitOnBlur || $[52] !== showSelectionLabel) {
670
- t26 = () => {
650
+ $[30] = effectiveSelectedKey;
651
+ $[31] = externalOnSelectionChange;
652
+ $[32] = setSelectedKey;
653
+ $[33] = showSelectionLabel;
654
+ $[34] = t21;
655
+ } else t21 = $[34];
656
+ const clearSelectionAndInput = t21;
657
+ let t22;
658
+ if ($[35] !== selectedLabel || $[36] !== showSelectionLabel) {
659
+ t22 = () => showSelectionLabel(selectedLabel);
660
+ $[35] = selectedLabel;
661
+ $[36] = showSelectionLabel;
662
+ $[37] = t22;
663
+ } else t22 = $[37];
664
+ const restoreSelectedLabel = t22;
665
+ let t23;
666
+ if ($[38] !== clearSelectionAndInput || $[39] !== effectiveInputValue || $[40] !== effectiveSelectedKey || $[41] !== externalOnSelectionChange || $[42] !== restoreSelectedLabel || $[43] !== setSelectedKey || $[44] !== shouldCommitOnBlur || $[45] !== showSelectionLabel) {
667
+ t23 = () => {
671
668
  const value_0 = effectiveInputValue.trim();
672
669
  if (shouldCommitOnBlur && value_0 && effectiveSelectedKey == null) {
673
670
  externalOnSelectionChange?.(value_0);
@@ -676,21 +673,21 @@ const ComboBox = forwardRef(function ComboBox(props, ref) {
676
673
  } else if (!value_0) clearSelectionAndInput();
677
674
  else restoreSelectedLabel();
678
675
  };
679
- $[45] = clearSelectionAndInput;
680
- $[46] = effectiveInputValue;
681
- $[47] = effectiveSelectedKey;
682
- $[48] = externalOnSelectionChange;
683
- $[49] = restoreSelectedLabel;
684
- $[50] = setSelectedKey;
685
- $[51] = shouldCommitOnBlur;
686
- $[52] = showSelectionLabel;
687
- $[53] = t26;
688
- } else t26 = $[53];
689
- const settleCustomValueOnBlur = t26;
690
- let t27;
691
- if ($[54] !== clearOnBlur || $[55] !== clearSelectionAndInput || $[56] !== effectiveInputValue || $[57] !== effectiveSelectedKey || $[58] !== externalOnSelectionChange || $[59] !== getTypedOptions || $[60] !== isSameText || $[61] !== localCollectionState.disabledKeys || $[62] !== pickLabel || $[63] !== restoreSelectedLabel || $[64] !== setSelectedKey || $[65] !== showSelectionLabel) {
692
- t27 = () => {
693
- const matchKey = findTypedOption(getTypedOptions(), effectiveInputValue, effectiveSelectedKey, localCollectionState.disabledKeys, isSameText);
676
+ $[38] = clearSelectionAndInput;
677
+ $[39] = effectiveInputValue;
678
+ $[40] = effectiveSelectedKey;
679
+ $[41] = externalOnSelectionChange;
680
+ $[42] = restoreSelectedLabel;
681
+ $[43] = setSelectedKey;
682
+ $[44] = shouldCommitOnBlur;
683
+ $[45] = showSelectionLabel;
684
+ $[46] = t23;
685
+ } else t23 = $[46];
686
+ const settleCustomValueOnBlur = t23;
687
+ let t24;
688
+ if ($[47] !== clearOnBlur || $[48] !== clearSelectionAndInput || $[49] !== effectiveInputValue || $[50] !== effectiveSelectedKey || $[51] !== externalOnSelectionChange || $[52] !== getTypedOptions || $[53] !== isSameText || $[54] !== localCollectionState || $[55] !== pickLabel || $[56] !== restoreSelectedLabel || $[57] !== setSelectedKey || $[58] !== showSelectionLabel) {
689
+ t24 = () => {
690
+ const matchKey = findTypedOption(getTypedOptions(), effectiveInputValue, effectiveSelectedKey, (key_0) => isItemDisabled(localCollectionState, key_0), isSameText);
694
691
  if (matchKey != null && matchKey !== effectiveSelectedKey) {
695
692
  setSelectedKey(matchKey);
696
693
  showSelectionLabel(pickLabel(matchKey));
@@ -698,99 +695,76 @@ const ComboBox = forwardRef(function ComboBox(props, ref) {
698
695
  } else if (matchKey == null && (clearOnBlur || !effectiveInputValue.trim())) clearSelectionAndInput();
699
696
  else restoreSelectedLabel();
700
697
  };
701
- $[54] = clearOnBlur;
702
- $[55] = clearSelectionAndInput;
703
- $[56] = effectiveInputValue;
704
- $[57] = effectiveSelectedKey;
705
- $[58] = externalOnSelectionChange;
706
- $[59] = getTypedOptions;
707
- $[60] = isSameText;
708
- $[61] = localCollectionState.disabledKeys;
709
- $[62] = pickLabel;
710
- $[63] = restoreSelectedLabel;
711
- $[64] = setSelectedKey;
712
- $[65] = showSelectionLabel;
713
- $[66] = t27;
714
- } else t27 = $[66];
715
- const settleTypedOption = t27;
716
- let t28;
717
- if ($[67] !== allowsCustomValue || $[68] !== isReadOnly || $[69] !== onBlur || $[70] !== setIsFilterActive || $[71] !== setIsPopoverOpen || $[72] !== settleCustomValueOnBlur || $[73] !== settleTypedOption) {
718
- t28 = () => {
698
+ $[47] = clearOnBlur;
699
+ $[48] = clearSelectionAndInput;
700
+ $[49] = effectiveInputValue;
701
+ $[50] = effectiveSelectedKey;
702
+ $[51] = externalOnSelectionChange;
703
+ $[52] = getTypedOptions;
704
+ $[53] = isSameText;
705
+ $[54] = localCollectionState;
706
+ $[55] = pickLabel;
707
+ $[56] = restoreSelectedLabel;
708
+ $[57] = setSelectedKey;
709
+ $[58] = showSelectionLabel;
710
+ $[59] = t24;
711
+ } else t24 = $[59];
712
+ const settleTypedOption = t24;
713
+ let t25;
714
+ if ($[60] !== allowsCustomValue || $[61] !== isReadOnly || $[62] !== onBlur || $[63] !== setIsFilterActive || $[64] !== setIsPopoverOpen || $[65] !== settleCustomValueOnBlur || $[66] !== settleTypedOption) {
715
+ t25 = () => {
719
716
  setIsPopoverOpen(false);
720
717
  if (isReadOnly) {} else if (allowsCustomValue) settleCustomValueOnBlur();
721
718
  else settleTypedOption();
722
719
  onBlur?.();
723
720
  setIsFilterActive(false);
724
721
  };
725
- $[67] = allowsCustomValue;
726
- $[68] = isReadOnly;
727
- $[69] = onBlur;
728
- $[70] = setIsFilterActive;
729
- $[71] = setIsPopoverOpen;
730
- $[72] = settleCustomValueOnBlur;
731
- $[73] = settleTypedOption;
732
- $[74] = t28;
733
- } else t28 = $[74];
734
- const handleCompositeBlur = useEvent(t28);
735
- const t29 = wrapperRef;
736
- let t30;
737
- if ($[75] !== handleCompositeBlur || $[76] !== isDisabled || $[77] !== onFocus || $[78] !== popoverRef || $[79] !== t29) {
738
- t30 = {
739
- wrapperRef: t29,
740
- popoverRef,
741
- onFocus,
742
- onBlur: handleCompositeBlur,
743
- isDisabled
744
- };
745
- $[75] = handleCompositeBlur;
746
- $[76] = isDisabled;
747
- $[77] = onFocus;
748
- $[78] = popoverRef;
749
- $[79] = t29;
750
- $[80] = t30;
751
- } else t30 = $[80];
752
- const { compositeFocusProps } = useCompositeFocus(t30);
753
- let t31;
754
- if ($[81] !== isInvalid || $[82] !== isValid) {
755
- t31 = getValidationIcon({
722
+ $[60] = allowsCustomValue;
723
+ $[61] = isReadOnly;
724
+ $[62] = onBlur;
725
+ $[63] = setIsFilterActive;
726
+ $[64] = setIsPopoverOpen;
727
+ $[65] = settleCustomValueOnBlur;
728
+ $[66] = settleTypedOption;
729
+ $[67] = t25;
730
+ } else t25 = $[67];
731
+ const handleCompositeBlur = useEvent(t25);
732
+ const { compositeFocusProps } = useCompositeFocus({
733
+ wrapperRef,
734
+ popoverRef,
735
+ onFocus,
736
+ onBlur: handleCompositeBlur,
737
+ isDisabled
738
+ });
739
+ let t26;
740
+ if ($[68] !== isInvalid || $[69] !== isValid) {
741
+ t26 = getValidationIcon({
756
742
  isInvalid,
757
743
  isValid
758
744
  });
759
- $[81] = isInvalid;
760
- $[82] = isValid;
761
- $[83] = t31;
762
- } else t31 = $[83];
763
- const validationIcon = t31;
745
+ $[68] = isInvalid;
746
+ $[69] = isValid;
747
+ $[70] = t26;
748
+ } else t26 = $[70];
749
+ const validationIcon = t26;
764
750
  const listStateRef = useRef(null);
765
751
  const [activeOptionKey, setActiveOptionKey] = useState(null);
766
- let t32;
767
- if ($[84] !== externalOnSelectionChange || $[85] !== inputRef || $[86] !== pickLabel || $[87] !== setIsFilterActive || $[88] !== setIsPopoverOpen || $[89] !== setSelectedKey || $[90] !== showSelectionLabel) {
768
- t32 = (selection) => {
769
- const key_0 = Array.isArray(selection) ? selection[0] : selection;
770
- setSelectedKey(key_0 ?? null);
771
- setIsFilterActive(false);
772
- showSelectionLabel(key_0 != null ? pickLabel(key_0) : "");
773
- externalOnSelectionChange?.(key_0);
774
- setIsPopoverOpen(false);
775
- setTimeout(() => {
776
- inputRef.current?.focus();
777
- }, 0);
778
- };
779
- $[84] = externalOnSelectionChange;
780
- $[85] = inputRef;
781
- $[86] = pickLabel;
782
- $[87] = setIsFilterActive;
783
- $[88] = setIsPopoverOpen;
784
- $[89] = setSelectedKey;
785
- $[90] = showSelectionLabel;
786
- $[91] = t32;
787
- } else t32 = $[91];
788
- const handleSelectionChange = useEvent(t32);
752
+ const handleSelectionChange = useEvent((selection) => {
753
+ const key_1 = Array.isArray(selection) ? selection[0] : selection;
754
+ setSelectedKey(key_1 ?? null);
755
+ setIsFilterActive(false);
756
+ showSelectionLabel(key_1 != null ? pickLabel(key_1) : "");
757
+ externalOnSelectionChange?.(key_1);
758
+ setIsPopoverOpen(false);
759
+ setTimeout(() => {
760
+ inputRef.current?.focus();
761
+ }, 0);
762
+ });
789
763
  const lastSyncedSelectedKey = useRef(void 0);
790
764
  const selectionClearedByTyping = useRef(false);
791
- let t33;
792
- if ($[92] !== allowsCustomValue || $[93] !== effectiveSelectedKey || $[94] !== externalOnSelectionChange || $[95] !== isControlledInput || $[96] !== isControlledKey || $[97] !== isPopoverOpen || $[98] !== onInputChange || $[99] !== popoverTrigger || $[100] !== setInternalInputValue || $[101] !== setInternalSelectedKey || $[102] !== setIsFilterActive || $[103] !== setIsPopoverOpen) {
793
- t33 = (e) => {
765
+ let t27;
766
+ if ($[71] !== allowsCustomValue || $[72] !== effectiveSelectedKey || $[73] !== externalOnSelectionChange || $[74] !== isControlledInput || $[75] !== isControlledKey || $[76] !== isPopoverOpen || $[77] !== onInputChange || $[78] !== popoverTrigger || $[79] !== setInternalInputValue || $[80] !== setInternalSelectedKey || $[81] !== setIsFilterActive || $[82] !== setIsPopoverOpen) {
767
+ t27 = (e) => {
794
768
  const value_1 = e.target.value;
795
769
  if (!isControlledInput) setInternalInputValue(value_1);
796
770
  onInputChange?.(value_1);
@@ -803,24 +777,24 @@ const ComboBox = forwardRef(function ComboBox(props, ref) {
803
777
  }
804
778
  if (popoverTrigger !== "manual" && value_1 && !isPopoverOpen) setIsPopoverOpen(true);
805
779
  };
806
- $[92] = allowsCustomValue;
807
- $[93] = effectiveSelectedKey;
808
- $[94] = externalOnSelectionChange;
809
- $[95] = isControlledInput;
810
- $[96] = isControlledKey;
811
- $[97] = isPopoverOpen;
812
- $[98] = onInputChange;
813
- $[99] = popoverTrigger;
814
- $[100] = setInternalInputValue;
815
- $[101] = setInternalSelectedKey;
816
- $[102] = setIsFilterActive;
817
- $[103] = setIsPopoverOpen;
818
- $[104] = t33;
819
- } else t33 = $[104];
820
- const handleInputChange = useEvent(t33);
821
- let t34;
822
- if ($[105] !== effectiveSelectedKey || $[106] !== isControlledInput || $[107] !== isControlledKey || $[108] !== setInternalInputValue) {
823
- t34 = () => {
780
+ $[71] = allowsCustomValue;
781
+ $[72] = effectiveSelectedKey;
782
+ $[73] = externalOnSelectionChange;
783
+ $[74] = isControlledInput;
784
+ $[75] = isControlledKey;
785
+ $[76] = isPopoverOpen;
786
+ $[77] = onInputChange;
787
+ $[78] = popoverTrigger;
788
+ $[79] = setInternalInputValue;
789
+ $[80] = setInternalSelectedKey;
790
+ $[81] = setIsFilterActive;
791
+ $[82] = setIsPopoverOpen;
792
+ $[83] = t27;
793
+ } else t27 = $[83];
794
+ const handleInputChange = useEvent(t27);
795
+ let t28;
796
+ if ($[84] !== effectiveSelectedKey || $[85] !== isControlledInput || $[86] !== isControlledKey || $[87] !== setInternalInputValue) {
797
+ t28 = () => {
824
798
  const preserveTypedInput = selectionClearedByTyping.current;
825
799
  selectionClearedByTyping.current = false;
826
800
  if (!isControlledKey || isControlledInput) return;
@@ -829,364 +803,327 @@ const ComboBox = forwardRef(function ComboBox(props, ref) {
829
803
  if (preserveTypedInput && effectiveSelectedKey == null) return;
830
804
  setInternalInputValue(null);
831
805
  };
832
- $[105] = effectiveSelectedKey;
833
- $[106] = isControlledInput;
834
- $[107] = isControlledKey;
835
- $[108] = setInternalInputValue;
836
- $[109] = t34;
837
- } else t34 = $[109];
838
- let t35;
839
- if ($[110] !== effectiveInputValue || $[111] !== effectiveSelectedKey || $[112] !== isControlledInput || $[113] !== isControlledKey || $[114] !== setInternalInputValue) {
840
- t35 = [
806
+ $[84] = effectiveSelectedKey;
807
+ $[85] = isControlledInput;
808
+ $[86] = isControlledKey;
809
+ $[87] = setInternalInputValue;
810
+ $[88] = t28;
811
+ } else t28 = $[88];
812
+ let t29;
813
+ if ($[89] !== effectiveInputValue || $[90] !== effectiveSelectedKey || $[91] !== isControlledInput || $[92] !== isControlledKey || $[93] !== setInternalInputValue) {
814
+ t29 = [
841
815
  isControlledKey,
842
816
  isControlledInput,
843
817
  effectiveSelectedKey,
844
818
  effectiveInputValue,
845
819
  setInternalInputValue
846
820
  ];
847
- $[110] = effectiveInputValue;
848
- $[111] = effectiveSelectedKey;
849
- $[112] = isControlledInput;
850
- $[113] = isControlledKey;
851
- $[114] = setInternalInputValue;
852
- $[115] = t35;
853
- } else t35 = $[115];
854
- useEffect(t34, t35);
821
+ $[89] = effectiveInputValue;
822
+ $[90] = effectiveSelectedKey;
823
+ $[91] = isControlledInput;
824
+ $[92] = isControlledKey;
825
+ $[93] = setInternalInputValue;
826
+ $[94] = t29;
827
+ } else t29 = $[94];
828
+ useEffect(t28, t29);
855
829
  const showClearButton = isClearable && (allowsCustomValue ? effectiveInputValue !== "" : effectiveSelectedKey != null) && !isDisabled && !isReadOnly;
856
- let t36;
857
- if ($[116] !== hasResults || $[117] !== isDisabled || $[118] !== isReadOnly || $[119] !== setIsFilterActive || $[120] !== setIsPopoverOpen) {
858
- t36 = () => {
830
+ let t30;
831
+ if ($[95] !== hasResults || $[96] !== isDisabled || $[97] !== isReadOnly || $[98] !== setIsFilterActive || $[99] !== setIsPopoverOpen) {
832
+ t30 = () => {
859
833
  if (isReadOnly || isDisabled) return;
860
834
  if (!hasResults) setIsFilterActive(false);
861
835
  setIsPopoverOpen(true);
862
836
  };
863
- $[116] = hasResults;
864
- $[117] = isDisabled;
865
- $[118] = isReadOnly;
866
- $[119] = setIsFilterActive;
867
- $[120] = setIsPopoverOpen;
868
- $[121] = t36;
869
- } else t36 = $[121];
870
- const openList = t36;
871
- let t37;
872
- if ($[122] !== inputRef || $[123] !== openList || $[124] !== setIsPopoverOpen || $[125] !== shouldShowPopover) {
873
- t37 = () => {
874
- if (shouldShowPopover) setIsPopoverOpen(false);
875
- else openList();
876
- inputRef.current?.focus();
877
- };
878
- $[122] = inputRef;
879
- $[123] = openList;
880
- $[124] = setIsPopoverOpen;
881
- $[125] = shouldShowPopover;
882
- $[126] = t37;
883
- } else t37 = $[126];
884
- const toggleList = t37;
885
- let t38;
886
- if ($[127] !== focusProps || $[128] !== isPopoverOpen || $[129] !== openList || $[130] !== popoverTrigger) {
887
- t38 = (e_0) => {
837
+ $[95] = hasResults;
838
+ $[96] = isDisabled;
839
+ $[97] = isReadOnly;
840
+ $[98] = setIsFilterActive;
841
+ $[99] = setIsPopoverOpen;
842
+ $[100] = t30;
843
+ } else t30 = $[100];
844
+ const openList = t30;
845
+ const toggleList = () => {
846
+ if (shouldShowPopover) setIsPopoverOpen(false);
847
+ else openList();
848
+ inputRef.current?.focus();
849
+ };
850
+ let t31;
851
+ if ($[101] !== focusProps || $[102] !== isPopoverOpen || $[103] !== openList || $[104] !== popoverTrigger) {
852
+ t31 = (e_0) => {
888
853
  focusProps.onFocus?.(e_0);
889
854
  if (popoverTrigger === "focus" && !isPopoverOpen) openList();
890
855
  };
891
- $[127] = focusProps;
892
- $[128] = isPopoverOpen;
893
- $[129] = openList;
894
- $[130] = popoverTrigger;
895
- $[131] = t38;
896
- } else t38 = $[131];
897
- const handleInputFocus = useEvent(t38);
856
+ $[101] = focusProps;
857
+ $[102] = isPopoverOpen;
858
+ $[103] = openList;
859
+ $[104] = popoverTrigger;
860
+ $[105] = t31;
861
+ } else t31 = $[105];
862
+ const handleInputFocus = useEvent(t31);
898
863
  const pressStartedOnInputRef = useRef(false);
899
- let t39;
900
- if ($[132] !== hasResults || $[133] !== openList || $[134] !== popoverTrigger || $[135] !== shouldShowPopover) {
901
- t39 = () => {
864
+ let t32;
865
+ if ($[106] !== hasResults || $[107] !== openList || $[108] !== popoverTrigger || $[109] !== shouldShowPopover) {
866
+ t32 = () => {
902
867
  const isInputPress = pressStartedOnInputRef.current;
903
868
  pressStartedOnInputRef.current = false;
904
869
  if (!isInputPress || popoverTrigger === "manual") return;
905
870
  if (!shouldShowPopover && hasResults) openList();
906
871
  };
907
- $[132] = hasResults;
908
- $[133] = openList;
909
- $[134] = popoverTrigger;
910
- $[135] = shouldShowPopover;
911
- $[136] = t39;
912
- } else t39 = $[136];
913
- const handleInputClick = t39;
914
- let t40;
915
- if ($[137] !== focusProps) {
916
- t40 = (e_1) => {
872
+ $[106] = hasResults;
873
+ $[107] = openList;
874
+ $[108] = popoverTrigger;
875
+ $[109] = shouldShowPopover;
876
+ $[110] = t32;
877
+ } else t32 = $[110];
878
+ const handleInputClick = t32;
879
+ let t33;
880
+ if ($[111] !== focusProps) {
881
+ t33 = (e_1) => {
917
882
  focusProps.onBlur?.(e_1);
918
883
  };
919
- $[137] = focusProps;
920
- $[138] = t40;
921
- } else t40 = $[138];
922
- const handleInputBlur = useEvent(t40);
923
- let t41;
924
- if ($[139] !== externalOnSelectionChange || $[140] !== inputRef || $[141] !== isControlledInput || $[142] !== isPopoverOpen || $[143] !== onClear || $[144] !== onInputChange || $[145] !== setInternalInputValue || $[146] !== setIsPopoverOpen || $[147] !== setSelectedKey) {
925
- t41 = () => {
926
- if (!isControlledInput) setInternalInputValue(null);
927
- onInputChange?.("");
928
- setSelectedKey(null);
929
- externalOnSelectionChange?.(null);
930
- if (isPopoverOpen) setIsPopoverOpen(false);
931
- inputRef.current?.focus();
932
- onClear?.();
933
- };
934
- $[139] = externalOnSelectionChange;
935
- $[140] = inputRef;
936
- $[141] = isControlledInput;
937
- $[142] = isPopoverOpen;
938
- $[143] = onClear;
939
- $[144] = onInputChange;
940
- $[145] = setInternalInputValue;
941
- $[146] = setIsPopoverOpen;
942
- $[147] = setSelectedKey;
943
- $[148] = t41;
944
- } else t41 = $[148];
945
- const clearValue = useEvent(t41);
946
- let t42;
947
- if ($[149] !== effectiveInputValue || $[150] !== effectiveSelectedKey || $[151] !== getTypedOptions || $[152] !== isSameText || $[153] !== selectedLabel) {
948
- t42 = () => effectiveSelectedKey != null && isSameText(selectedLabel, effectiveInputValue.trim()) || getTypedOptions().length > 0;
949
- $[149] = effectiveInputValue;
950
- $[150] = effectiveSelectedKey;
951
- $[151] = getTypedOptions;
952
- $[152] = isSameText;
953
- $[153] = selectedLabel;
954
- $[154] = t42;
955
- } else t42 = $[154];
956
- let t43;
957
- if ($[155] !== setIsFilterActive || $[156] !== settleTypedOption) {
958
- t43 = () => {
884
+ $[111] = focusProps;
885
+ $[112] = t33;
886
+ } else t33 = $[112];
887
+ const handleInputBlur = useEvent(t33);
888
+ const clearValue = useEvent(() => {
889
+ if (!isControlledInput) setInternalInputValue(null);
890
+ onInputChange?.("");
891
+ setSelectedKey(null);
892
+ externalOnSelectionChange?.(null);
893
+ if (isPopoverOpen) setIsPopoverOpen(false);
894
+ inputRef.current?.focus();
895
+ onClear?.();
896
+ });
897
+ let t34;
898
+ if ($[113] !== effectiveInputValue || $[114] !== effectiveSelectedKey || $[115] !== getTypedOptions || $[116] !== isSameText || $[117] !== selectedLabel) {
899
+ t34 = () => effectiveSelectedKey != null && isSameText(selectedLabel, effectiveInputValue.trim()) || getTypedOptions().length > 0;
900
+ $[113] = effectiveInputValue;
901
+ $[114] = effectiveSelectedKey;
902
+ $[115] = getTypedOptions;
903
+ $[116] = isSameText;
904
+ $[117] = selectedLabel;
905
+ $[118] = t34;
906
+ } else t34 = $[118];
907
+ let t35;
908
+ if ($[119] !== setIsFilterActive || $[120] !== settleTypedOption) {
909
+ t35 = () => {
959
910
  settleTypedOption();
960
911
  setIsFilterActive(false);
961
912
  };
962
- $[155] = setIsFilterActive;
963
- $[156] = settleTypedOption;
964
- $[157] = t43;
965
- } else t43 = $[157];
966
- let t44;
967
- if ($[158] !== setIsPopoverOpen) {
968
- t44 = () => setIsPopoverOpen(false);
969
- $[158] = setIsPopoverOpen;
970
- $[159] = t44;
971
- } else t44 = $[159];
972
- const t45 = inputRef;
973
- let t46;
974
- if ($[160] !== allowsCustomValue || $[161] !== clearValue || $[162] !== effectiveInputValue || $[163] !== effectiveSelectedKey || $[164] !== handleSelectionChange || $[165] !== isClearable || $[166] !== isReadOnly || $[167] !== onKeyDown || $[168] !== openList || $[169] !== selectedLabel || $[170] !== shouldShowPopover || $[171] !== t42 || $[172] !== t43 || $[173] !== t44 || $[174] !== t45) {
975
- t46 = {
913
+ $[119] = setIsFilterActive;
914
+ $[120] = settleTypedOption;
915
+ $[121] = t35;
916
+ } else t35 = $[121];
917
+ let t36;
918
+ if ($[122] !== setIsPopoverOpen) {
919
+ t36 = () => setIsPopoverOpen(false);
920
+ $[122] = setIsPopoverOpen;
921
+ $[123] = t36;
922
+ } else t36 = $[123];
923
+ const t37 = inputRef;
924
+ let t38;
925
+ if ($[124] !== allowsCustomValue || $[125] !== clearValue || $[126] !== effectiveInputValue || $[127] !== effectiveSelectedKey || $[128] !== handleSelectionChange || $[129] !== isClearable || $[130] !== isReadOnly || $[131] !== onKeyDown || $[132] !== openList || $[133] !== selectedLabel || $[134] !== shouldShowPopover || $[135] !== t34 || $[136] !== t35 || $[137] !== t36 || $[138] !== t37) {
926
+ t38 = {
976
927
  isListShown: shouldShowPopover,
977
928
  isReadOnly,
978
929
  listStateRef,
979
- hasTypedMatch: t42,
930
+ hasTypedMatch: t34,
980
931
  allowsCustomValue,
981
932
  effectiveInputValue,
982
933
  selectedKey: effectiveSelectedKey,
983
934
  selectedLabel,
984
935
  isClearable,
985
936
  onSelectionChange: handleSelectionChange,
986
- onSettleTypedText: t43,
937
+ onSettleTypedText: t35,
987
938
  onClearValue: clearValue,
988
939
  onOpenList: openList,
989
- onCloseList: t44,
990
- inputRef: t45,
940
+ onCloseList: t36,
941
+ inputRef: t37,
991
942
  onVirtualFocus: setActiveOptionKey,
992
943
  onKeyDown
993
944
  };
994
- $[160] = allowsCustomValue;
995
- $[161] = clearValue;
996
- $[162] = effectiveInputValue;
997
- $[163] = effectiveSelectedKey;
998
- $[164] = handleSelectionChange;
999
- $[165] = isClearable;
1000
- $[166] = isReadOnly;
1001
- $[167] = onKeyDown;
1002
- $[168] = openList;
1003
- $[169] = selectedLabel;
1004
- $[170] = shouldShowPopover;
1005
- $[171] = t42;
1006
- $[172] = t43;
1007
- $[173] = t44;
1008
- $[174] = t45;
1009
- $[175] = t46;
1010
- } else t46 = $[175];
1011
- const { keyboardProps } = useComboBoxKeyboard(t46);
945
+ $[124] = allowsCustomValue;
946
+ $[125] = clearValue;
947
+ $[126] = effectiveInputValue;
948
+ $[127] = effectiveSelectedKey;
949
+ $[128] = handleSelectionChange;
950
+ $[129] = isClearable;
951
+ $[130] = isReadOnly;
952
+ $[131] = onKeyDown;
953
+ $[132] = openList;
954
+ $[133] = selectedLabel;
955
+ $[134] = shouldShowPopover;
956
+ $[135] = t34;
957
+ $[136] = t35;
958
+ $[137] = t36;
959
+ $[138] = t37;
960
+ $[139] = t38;
961
+ } else t38 = $[139];
962
+ const { keyboardProps } = useComboBoxKeyboard(t38);
1012
963
  if (icon) {
1013
- let t47;
1014
- if ($[176] !== icon) {
1015
- t47 = /* @__PURE__ */ jsx("div", {
964
+ let t39;
965
+ if ($[140] !== icon) {
966
+ t39 = /* @__PURE__ */ jsx("div", {
1016
967
  "data-element": "InputIcon",
1017
968
  children: icon
1018
969
  });
1019
- $[176] = icon;
1020
- $[177] = t47;
1021
- } else t47 = $[177];
1022
- icon = t47;
970
+ $[140] = icon;
971
+ $[141] = t39;
972
+ } else t39 = $[141];
973
+ icon = t39;
1023
974
  if (prefix) {
1024
- let t48;
1025
- if ($[178] !== icon || $[179] !== prefix) {
1026
- t48 = /* @__PURE__ */ jsxs(Fragment$1, { children: [icon, prefix] });
1027
- $[178] = icon;
1028
- $[179] = prefix;
1029
- $[180] = t48;
1030
- } else t48 = $[180];
1031
- prefix = t48;
975
+ let t40;
976
+ if ($[142] !== icon || $[143] !== prefix) {
977
+ t40 = /* @__PURE__ */ jsxs(Fragment$1, { children: [icon, prefix] });
978
+ $[142] = icon;
979
+ $[143] = prefix;
980
+ $[144] = t40;
981
+ } else t40 = $[144];
982
+ prefix = t40;
1032
983
  } else prefix = icon;
1033
984
  }
1034
- let t47;
1035
- if ($[181] !== isInvalid || $[182] !== isValid) {
1036
- t47 = getValidationMods({
985
+ let t39;
986
+ if ($[145] !== isInvalid || $[146] !== isValid) {
987
+ t39 = getValidationMods({
1037
988
  isInvalid,
1038
989
  isValid
1039
990
  });
1040
- $[181] = isInvalid;
1041
- $[182] = isValid;
1042
- $[183] = t47;
1043
- } else t47 = $[183];
1044
- const t48 = !!isReadOnly;
1045
- const t49 = !!prefix;
1046
- let t50;
1047
- if ($[184] !== isDisabled || $[185] !== isFocused || $[186] !== isLoading || $[187] !== props.mods || $[188] !== showClearButton || $[189] !== t47 || $[190] !== t48 || $[191] !== t49) {
1048
- t50 = {
1049
- ...t47,
991
+ $[145] = isInvalid;
992
+ $[146] = isValid;
993
+ $[147] = t39;
994
+ } else t39 = $[147];
995
+ const t40 = !!isReadOnly;
996
+ const t41 = !!prefix;
997
+ let t42;
998
+ if ($[148] !== isDisabled || $[149] !== isFocused || $[150] !== isLoading || $[151] !== props.mods || $[152] !== showClearButton || $[153] !== t39 || $[154] !== t40 || $[155] !== t41) {
999
+ t42 = {
1000
+ ...t39,
1050
1001
  disabled: isDisabled,
1051
- readonly: t48,
1002
+ readonly: t40,
1052
1003
  hovered: false,
1053
1004
  focused: isFocused,
1054
1005
  loading: isLoading,
1055
- prefix: t49,
1006
+ prefix: t41,
1056
1007
  suffix: true,
1057
1008
  clearable: showClearButton,
1058
1009
  ...props.mods
1059
1010
  };
1060
- $[184] = isDisabled;
1061
- $[185] = isFocused;
1062
- $[186] = isLoading;
1063
- $[187] = props.mods;
1064
- $[188] = showClearButton;
1065
- $[189] = t47;
1066
- $[190] = t48;
1067
- $[191] = t49;
1068
- $[192] = t50;
1069
- } else t50 = $[192];
1070
- const mods = t50;
1011
+ $[148] = isDisabled;
1012
+ $[149] = isFocused;
1013
+ $[150] = isLoading;
1014
+ $[151] = props.mods;
1015
+ $[152] = showClearButton;
1016
+ $[153] = t39;
1017
+ $[154] = t40;
1018
+ $[155] = t41;
1019
+ $[156] = t42;
1020
+ } else t42 = $[156];
1021
+ const mods = t42;
1071
1022
  const [comboBoxWidth, setComboBoxWidth] = useState();
1072
- let t51;
1073
- let t52;
1074
- if ($[193] !== hasResults || $[194] !== isPopoverOpen || $[195] !== setIsPopoverOpen) {
1075
- t51 = () => {
1076
- if (isPopoverOpen && !hasResults) setIsPopoverOpen(false);
1023
+ let t43;
1024
+ let t44;
1025
+ if ($[157] !== hasEmptyLabel || $[158] !== hasResults || $[159] !== isPopoverOpen || $[160] !== setIsPopoverOpen) {
1026
+ t43 = () => {
1027
+ if (isPopoverOpen && !hasResults && !hasEmptyLabel) setIsPopoverOpen(false);
1077
1028
  };
1078
- t52 = [
1029
+ t44 = [
1079
1030
  isPopoverOpen,
1080
1031
  hasResults,
1032
+ hasEmptyLabel,
1081
1033
  setIsPopoverOpen
1082
1034
  ];
1083
- $[193] = hasResults;
1084
- $[194] = isPopoverOpen;
1085
- $[195] = setIsPopoverOpen;
1086
- $[196] = t51;
1087
- $[197] = t52;
1035
+ $[157] = hasEmptyLabel;
1036
+ $[158] = hasResults;
1037
+ $[159] = isPopoverOpen;
1038
+ $[160] = setIsPopoverOpen;
1039
+ $[161] = t43;
1040
+ $[162] = t44;
1088
1041
  } else {
1089
- t51 = $[196];
1090
- t52 = $[197];
1042
+ t43 = $[161];
1043
+ t44 = $[162];
1091
1044
  }
1092
- useEffect(t51, t52);
1093
- let t53;
1094
- if ($[198] !== effectiveSelectedKey || $[199] !== shouldShowPopover || $[200] !== wrapperRef) {
1095
- t53 = () => {
1096
- if (!shouldShowPopover) return;
1097
- setComboBoxWidth(wrapperRef.current?.offsetWidth);
1098
- let attempts = 0;
1099
- let frame = 0;
1100
- const tick = () => {
1101
- const key_1 = highlightOption(listStateRef.current, effectiveSelectedKey);
1102
- if (key_1 != null) setActiveOptionKey(key_1);
1103
- attempts = attempts + 1;
1104
- if (key_1 == null && attempts < 8) frame = requestAnimationFrame(tick);
1105
- };
1106
- frame = requestAnimationFrame(() => {
1107
- frame = requestAnimationFrame(tick);
1108
- });
1109
- return () => cancelAnimationFrame(frame);
1045
+ useEffect(t43, t44);
1046
+ const shownOptionKeys = filteredOptions.map(_temp3).join("\0");
1047
+ useLayoutEffect$1(() => {
1048
+ if (!shouldShowPopover) return;
1049
+ setComboBoxWidth(wrapperRef.current?.offsetWidth);
1050
+ let attempts = 0;
1051
+ let frame = 0;
1052
+ const tick = () => {
1053
+ const key_2 = highlightOption(listStateRef.current, effectiveSelectedKey);
1054
+ if (key_2 != null) setActiveOptionKey(key_2);
1055
+ attempts = attempts + 1;
1056
+ if (key_2 == null && attempts < 8) frame = requestAnimationFrame(tick);
1110
1057
  };
1111
- $[198] = effectiveSelectedKey;
1112
- $[199] = shouldShowPopover;
1113
- $[200] = wrapperRef;
1114
- $[201] = t53;
1115
- } else t53 = $[201];
1116
- const t54 = wrapperRef;
1117
- let t55;
1118
- if ($[202] !== effectiveInputValue || $[203] !== effectiveSelectedKey || $[204] !== shouldShowPopover || $[205] !== t54) {
1119
- t55 = [
1120
- shouldShowPopover,
1121
- effectiveSelectedKey,
1122
- effectiveInputValue,
1123
- t54
1124
- ];
1125
- $[202] = effectiveInputValue;
1126
- $[203] = effectiveSelectedKey;
1127
- $[204] = shouldShowPopover;
1128
- $[205] = t54;
1129
- $[206] = t55;
1130
- } else t55 = $[206];
1131
- useLayoutEffect$1(t53, t55);
1132
- const activeDescendant = shouldShowPopover && activeOptionKey != null && filteredOptions.some((option) => option.key === activeOptionKey) ? getListBoxOptionId(`ComboBoxListBox-${comboBoxId}`, activeOptionKey) : void 0;
1133
- const t56 = wrapperRef;
1134
- const t57 = styles;
1135
- let t58;
1136
- if ($[207] !== prefix) {
1137
- t58 = prefix ? /* @__PURE__ */ jsx("div", {
1058
+ frame = requestAnimationFrame(() => {
1059
+ frame = requestAnimationFrame(tick);
1060
+ });
1061
+ return () => cancelAnimationFrame(frame);
1062
+ }, [
1063
+ shouldShowPopover,
1064
+ effectiveSelectedKey,
1065
+ effectiveInputValue,
1066
+ shownOptionKeys,
1067
+ wrapperRef
1068
+ ]);
1069
+ const activeDescendant = shouldShowPopover && activeOptionKey != null && filteredOptions.some((option_0) => option_0.key === activeOptionKey) ? getListBoxOptionId(`ComboBoxListBox-${comboBoxId}`, activeOptionKey) : void 0;
1070
+ const t45 = wrapperRef;
1071
+ const t46 = styles;
1072
+ let t47;
1073
+ if ($[163] !== prefix) {
1074
+ t47 = prefix ? /* @__PURE__ */ jsx("div", {
1138
1075
  "data-element": "Prefix",
1139
1076
  children: prefix
1140
1077
  }) : null;
1141
- $[207] = prefix;
1142
- $[208] = t58;
1143
- } else t58 = $[208];
1144
- let t59;
1145
- if ($[209] !== props) {
1146
- t59 = pickBaseCustomizationProps(props);
1147
- $[209] = props;
1148
- $[210] = t59;
1149
- } else t59 = $[210];
1150
- const t60 = qa || "ComboBox";
1151
- const t61 = inputRef;
1152
- let t62;
1153
- if ($[211] !== focusProps || $[212] !== handleInputBlur) {
1154
- t62 = {
1078
+ $[163] = prefix;
1079
+ $[164] = t47;
1080
+ } else t47 = $[164];
1081
+ let t48;
1082
+ if ($[165] !== props) {
1083
+ t48 = pickBaseCustomizationProps(props);
1084
+ $[165] = props;
1085
+ $[166] = t48;
1086
+ } else t48 = $[166];
1087
+ const t49 = qa || "ComboBox";
1088
+ const t50 = inputRef;
1089
+ let t51;
1090
+ if ($[167] !== focusProps || $[168] !== handleInputBlur) {
1091
+ t51 = {
1155
1092
  ...focusProps,
1156
1093
  onBlur: handleInputBlur
1157
1094
  };
1158
- $[211] = focusProps;
1159
- $[212] = handleInputBlur;
1160
- $[213] = t62;
1161
- } else t62 = $[213];
1162
- let t63;
1163
- if ($[214] === Symbol.for("react.memo_cache_sentinel")) {
1164
- t63 = () => {
1095
+ $[167] = focusProps;
1096
+ $[168] = handleInputBlur;
1097
+ $[169] = t51;
1098
+ } else t51 = $[169];
1099
+ let t52;
1100
+ if ($[170] === Symbol.for("react.memo_cache_sentinel")) {
1101
+ t52 = () => {
1165
1102
  pressStartedOnInputRef.current = true;
1166
1103
  };
1167
- $[214] = t63;
1168
- } else t63 = $[214];
1169
- const t64 = props["aria-label"];
1170
- const t65 = props["aria-labelledby"];
1171
- const t66 = props["aria-describedby"];
1172
- let t67;
1173
- if ($[215] !== t64 || $[216] !== t65 || $[217] !== t66) {
1174
- t67 = {
1175
- "aria-label": t64,
1176
- "aria-labelledby": t65,
1177
- "aria-describedby": t66
1104
+ $[170] = t52;
1105
+ } else t52 = $[170];
1106
+ const t53 = props["aria-label"];
1107
+ const t54 = props["aria-labelledby"];
1108
+ const t55 = props["aria-describedby"];
1109
+ let t56;
1110
+ if ($[171] !== t53 || $[172] !== t54 || $[173] !== t55) {
1111
+ t56 = {
1112
+ "aria-label": t53,
1113
+ "aria-labelledby": t54,
1114
+ "aria-describedby": t55
1178
1115
  };
1179
- $[215] = t64;
1180
- $[216] = t65;
1181
- $[217] = t66;
1182
- $[218] = t67;
1183
- } else t67 = $[218];
1184
- let t68;
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) {
1186
- t68 = /* @__PURE__ */ jsx(ComboBoxInput, {
1187
- customizationProps: t59,
1188
- qa: t60,
1189
- inputRef: t61,
1116
+ $[171] = t53;
1117
+ $[172] = t54;
1118
+ $[173] = t55;
1119
+ $[174] = t56;
1120
+ } else t56 = $[174];
1121
+ let t57;
1122
+ if ($[175] !== activeDescendant || $[176] !== autoComplete || $[177] !== autoFocus || $[178] !== effectiveInputValue || $[179] !== handleInputChange || $[180] !== handleInputClick || $[181] !== handleInputFocus || $[182] !== id || $[183] !== inputStyles || $[184] !== isDisabled || $[185] !== isIdentifier || $[186] !== isInvalid || $[187] !== isReadOnly || $[188] !== isRequired || $[189] !== keyboardProps || $[190] !== mods || $[191] !== placeholder || $[192] !== shouldShowPopover || $[193] !== size || $[194] !== t48 || $[195] !== t49 || $[196] !== t50 || $[197] !== t51 || $[198] !== t56) {
1123
+ t57 = /* @__PURE__ */ jsx(ComboBoxInput, {
1124
+ customizationProps: t48,
1125
+ qa: t49,
1126
+ inputRef: t50,
1190
1127
  id,
1191
1128
  value: effectiveInputValue,
1192
1129
  placeholder,
@@ -1200,68 +1137,75 @@ const ComboBox = forwardRef(function ComboBox(props, ref) {
1200
1137
  mods,
1201
1138
  inputStyles,
1202
1139
  keyboardProps,
1203
- focusProps: t62,
1140
+ focusProps: t51,
1204
1141
  isListShown: shouldShowPopover,
1205
1142
  comboBoxId,
1206
1143
  activeDescendant,
1207
1144
  onChange: handleInputChange,
1208
1145
  onFocus: handleInputFocus,
1209
- onPointerDown: t63,
1146
+ onPointerDown: t52,
1210
1147
  onClick: handleInputClick,
1211
- ariaProps: t67,
1148
+ ariaProps: t56,
1212
1149
  isInvalid
1213
1150
  });
1214
- $[219] = activeDescendant;
1215
- $[220] = autoComplete;
1216
- $[221] = autoFocus;
1217
- $[222] = effectiveInputValue;
1218
- $[223] = handleInputChange;
1219
- $[224] = handleInputClick;
1220
- $[225] = handleInputFocus;
1221
- $[226] = id;
1222
- $[227] = inputStyles;
1223
- $[228] = isDisabled;
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];
1240
- let t69;
1241
- if ($[244] !== effectiveSelectedKey || $[245] !== isDisabled || $[246] !== props.name) {
1242
- t69 = props.name ? /* @__PURE__ */ jsx("input", {
1151
+ $[175] = activeDescendant;
1152
+ $[176] = autoComplete;
1153
+ $[177] = autoFocus;
1154
+ $[178] = effectiveInputValue;
1155
+ $[179] = handleInputChange;
1156
+ $[180] = handleInputClick;
1157
+ $[181] = handleInputFocus;
1158
+ $[182] = id;
1159
+ $[183] = inputStyles;
1160
+ $[184] = isDisabled;
1161
+ $[185] = isIdentifier;
1162
+ $[186] = isInvalid;
1163
+ $[187] = isReadOnly;
1164
+ $[188] = isRequired;
1165
+ $[189] = keyboardProps;
1166
+ $[190] = mods;
1167
+ $[191] = placeholder;
1168
+ $[192] = shouldShowPopover;
1169
+ $[193] = size;
1170
+ $[194] = t48;
1171
+ $[195] = t49;
1172
+ $[196] = t50;
1173
+ $[197] = t51;
1174
+ $[198] = t56;
1175
+ $[199] = t57;
1176
+ } else t57 = $[199];
1177
+ let t58;
1178
+ if ($[200] !== effectiveSelectedKey || $[201] !== isDisabled || $[202] !== props.name) {
1179
+ t58 = props.name ? /* @__PURE__ */ jsx("input", {
1243
1180
  type: "hidden",
1244
1181
  name: props.name,
1245
1182
  value: effectiveSelectedKey ?? "",
1246
1183
  disabled: isDisabled
1247
1184
  }) : null;
1248
- $[244] = effectiveSelectedKey;
1249
- $[245] = isDisabled;
1250
- $[246] = props.name;
1251
- $[247] = t69;
1252
- } else t69 = $[247];
1253
- const t70 = suffixPosition === "before" ? suffix : null;
1254
- let t71;
1255
- if ($[248] !== isLoading || $[249] !== validationIcon) {
1256
- t71 = isLoading ? /* @__PURE__ */ jsx(LoadingIcon, { "data-element": "InputIcon" }) : validationIcon;
1257
- $[248] = isLoading;
1258
- $[249] = validationIcon;
1259
- $[250] = t71;
1260
- } else t71 = $[250];
1261
- const t72 = suffixPosition === "after" ? suffix : null;
1262
- let t73;
1263
- if ($[251] !== clearValue || $[252] !== hideTrigger || $[253] !== showClearButton || $[254] !== size || $[255] !== t) {
1264
- t73 = showClearButton && /* @__PURE__ */ jsx(_CollectionItem.Action, {
1185
+ $[200] = effectiveSelectedKey;
1186
+ $[201] = isDisabled;
1187
+ $[202] = props.name;
1188
+ $[203] = t58;
1189
+ } else t58 = $[203];
1190
+ let t59;
1191
+ if ($[204] !== announcesEmptyLabel || $[205] !== emptyLabel) {
1192
+ t59 = emptyLabel !== void 0 ? /* @__PURE__ */ jsx(EmptyLabelStatus, { children: announcesEmptyLabel ? emptyLabel : null }) : null;
1193
+ $[204] = announcesEmptyLabel;
1194
+ $[205] = emptyLabel;
1195
+ $[206] = t59;
1196
+ } else t59 = $[206];
1197
+ const t60 = suffixPosition === "before" ? suffix : null;
1198
+ let t61;
1199
+ if ($[207] !== isLoading || $[208] !== validationIcon) {
1200
+ t61 = isLoading ? /* @__PURE__ */ jsx(LoadingIcon, { "data-element": "InputIcon" }) : validationIcon;
1201
+ $[207] = isLoading;
1202
+ $[208] = validationIcon;
1203
+ $[209] = t61;
1204
+ } else t61 = $[209];
1205
+ const t62 = suffixPosition === "after" ? suffix : null;
1206
+ let t63;
1207
+ if ($[210] !== clearValue || $[211] !== hideTrigger || $[212] !== showClearButton || $[213] !== size || $[214] !== t) {
1208
+ t63 = showClearButton && /* @__PURE__ */ jsx(_CollectionItem.Action, {
1265
1209
  excludeFromTabOrder: true,
1266
1210
  icon: /* @__PURE__ */ jsx(CloseIcon, {}),
1267
1211
  size,
@@ -1271,16 +1215,16 @@ const ComboBox = forwardRef(function ComboBox(props, ref) {
1271
1215
  "aria-label": t("comboBox.clearValue", "Clear value"),
1272
1216
  onPress: clearValue
1273
1217
  });
1274
- $[251] = clearValue;
1275
- $[252] = hideTrigger;
1276
- $[253] = showClearButton;
1277
- $[254] = size;
1278
- $[255] = t;
1279
- $[256] = t73;
1280
- } else t73 = $[256];
1281
- let t74;
1282
- if ($[257] !== hideTrigger || $[258] !== isDisabled || $[259] !== isLoading || $[260] !== shouldShowPopover || $[261] !== size || $[262] !== t || $[263] !== toggleList || $[264] !== triggerRef || $[265] !== triggerStyles) {
1283
- t74 = !hideTrigger ? /* @__PURE__ */ jsx(_CollectionItem.Action, {
1218
+ $[210] = clearValue;
1219
+ $[211] = hideTrigger;
1220
+ $[212] = showClearButton;
1221
+ $[213] = size;
1222
+ $[214] = t;
1223
+ $[215] = t63;
1224
+ } else t63 = $[215];
1225
+ let t64;
1226
+ if ($[216] !== hideTrigger || $[217] !== isDisabled || $[218] !== isLoading || $[219] !== shouldShowPopover || $[220] !== size || $[221] !== t || $[222] !== toggleList || $[223] !== triggerRef || $[224] !== triggerStyles) {
1227
+ t64 = !hideTrigger ? /* @__PURE__ */ jsx(_CollectionItem.Action, {
1284
1228
  ref: triggerRef,
1285
1229
  excludeFromTabOrder: true,
1286
1230
  "data-popover-trigger": true,
@@ -1299,49 +1243,56 @@ const ComboBox = forwardRef(function ComboBox(props, ref) {
1299
1243
  "aria-label": t("comboBox.showOptions", "Show options"),
1300
1244
  onPress: toggleList
1301
1245
  }) : null;
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];
1313
- let t75;
1314
- if ($[267] !== t70 || $[268] !== t71 || $[269] !== t72 || $[270] !== t73 || $[271] !== t74) {
1315
- t75 = /* @__PURE__ */ jsxs("div", {
1246
+ $[216] = hideTrigger;
1247
+ $[217] = isDisabled;
1248
+ $[218] = isLoading;
1249
+ $[219] = shouldShowPopover;
1250
+ $[220] = size;
1251
+ $[221] = t;
1252
+ $[222] = toggleList;
1253
+ $[223] = triggerRef;
1254
+ $[224] = triggerStyles;
1255
+ $[225] = t64;
1256
+ } else t64 = $[225];
1257
+ let t65;
1258
+ if ($[226] !== t60 || $[227] !== t61 || $[228] !== t62 || $[229] !== t63 || $[230] !== t64) {
1259
+ t65 = /* @__PURE__ */ jsxs("div", {
1316
1260
  "data-element": "Suffix",
1317
1261
  children: [
1318
- t70,
1319
- t71,
1320
- t72,
1321
- t73,
1322
- t74
1262
+ t60,
1263
+ t61,
1264
+ t62,
1265
+ t63,
1266
+ t64
1323
1267
  ]
1324
1268
  });
1325
- $[267] = t70;
1326
- $[268] = t71;
1327
- $[269] = t72;
1328
- $[270] = t73;
1329
- $[271] = t74;
1330
- $[272] = t75;
1331
- } else t75 = $[272];
1332
- const t76 = wrapperRef;
1333
- const t77 = props["aria-label"];
1334
- let t78;
1335
- if ($[273] !== setIsPopoverOpen) {
1336
- t78 = () => setIsPopoverOpen(false);
1337
- $[273] = setIsPopoverOpen;
1338
- $[274] = t78;
1339
- } else t78 = $[274];
1340
- let t79;
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) {
1342
- t79 = /* @__PURE__ */ jsx(ListBoxPopover, {
1269
+ $[226] = t60;
1270
+ $[227] = t61;
1271
+ $[228] = t62;
1272
+ $[229] = t63;
1273
+ $[230] = t64;
1274
+ $[231] = t65;
1275
+ } else t65 = $[231];
1276
+ const t66 = wrapperRef;
1277
+ const t67 = props["aria-label"];
1278
+ let t68;
1279
+ if ($[232] !== filterFn || $[233] !== hasResults) {
1280
+ t68 = hasResults ? filterFn : _temp4;
1281
+ $[232] = filterFn;
1282
+ $[233] = hasResults;
1283
+ $[234] = t68;
1284
+ } else t68 = $[234];
1285
+ let t69;
1286
+ if ($[235] !== setIsPopoverOpen) {
1287
+ t69 = () => setIsPopoverOpen(false);
1288
+ $[235] = setIsPopoverOpen;
1289
+ $[236] = t69;
1290
+ } else t69 = $[236];
1291
+ let t70;
1292
+ if ($[237] !== children || $[238] !== comboBoxWidth || $[239] !== compositeFocusProps || $[240] !== containerPadding || $[241] !== direction || $[242] !== effectiveSelectedKey || $[243] !== emptyLabel || $[244] !== handleSelectionChange || $[245] !== headingStyles || $[246] !== isDisabled || $[247] !== label || $[248] !== listBoxRef || $[249] !== listBoxStyles || $[250] !== listGap || $[251] !== optionStyles || $[252] !== overlayOffset || $[253] !== overlayStyles || $[254] !== popoverRef || $[255] !== props.disabledKeys || $[256] !== sectionStyles || $[257] !== shouldFlip || $[258] !== shouldShowPopover || $[259] !== size || $[260] !== sortedItems || $[261] !== t66 || $[262] !== t67 || $[263] !== t68 || $[264] !== t69) {
1293
+ t70 = /* @__PURE__ */ jsx(ListBoxPopover, {
1343
1294
  isOpen: shouldShowPopover,
1344
- triggerRef: t76,
1295
+ triggerRef: t66,
1345
1296
  popoverRef,
1346
1297
  listBoxRef,
1347
1298
  direction,
@@ -1363,55 +1314,58 @@ const ComboBox = forwardRef(function ComboBox(props, ref) {
1363
1314
  items: sortedItems,
1364
1315
  listStateRef,
1365
1316
  label,
1366
- ariaLabel: t77,
1317
+ ariaLabel: t67,
1367
1318
  compositeFocusProps,
1368
- filter: filterFn,
1319
+ filter: t68,
1369
1320
  size,
1321
+ emptyLabel,
1370
1322
  onSelectionChange: handleSelectionChange,
1371
- onClose: t78,
1323
+ onClose: t69,
1372
1324
  children
1373
1325
  });
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];
1326
+ $[237] = children;
1327
+ $[238] = comboBoxWidth;
1328
+ $[239] = compositeFocusProps;
1329
+ $[240] = containerPadding;
1330
+ $[241] = direction;
1331
+ $[242] = effectiveSelectedKey;
1332
+ $[243] = emptyLabel;
1333
+ $[244] = handleSelectionChange;
1334
+ $[245] = headingStyles;
1335
+ $[246] = isDisabled;
1336
+ $[247] = label;
1337
+ $[248] = listBoxRef;
1338
+ $[249] = listBoxStyles;
1339
+ $[250] = listGap;
1340
+ $[251] = optionStyles;
1341
+ $[252] = overlayOffset;
1342
+ $[253] = overlayStyles;
1343
+ $[254] = popoverRef;
1344
+ $[255] = props.disabledKeys;
1345
+ $[256] = sectionStyles;
1346
+ $[257] = shouldFlip;
1347
+ $[258] = shouldShowPopover;
1348
+ $[259] = size;
1349
+ $[260] = sortedItems;
1350
+ $[261] = t66;
1351
+ $[262] = t67;
1352
+ $[263] = t68;
1353
+ $[264] = t69;
1354
+ $[265] = t70;
1355
+ } else t70 = $[265];
1403
1356
  const comboBoxField = /* @__PURE__ */ jsxs(ComboBoxWrapperElement, {
1404
- ref: t56,
1357
+ ref: t45,
1405
1358
  mods,
1406
- styles: t57,
1359
+ styles: t46,
1407
1360
  "data-size": size,
1408
1361
  ...compositeFocusProps,
1409
1362
  children: [
1363
+ t47,
1364
+ t57,
1410
1365
  t58,
1411
- t68,
1412
- t69,
1413
- t75,
1414
- t79
1366
+ t59,
1367
+ t65,
1368
+ t70
1415
1369
  ]
1416
1370
  });
1417
1371
  const { children: _, ...propsWithoutChildren } = props;
@@ -1436,6 +1390,12 @@ function _temp2(t0) {
1436
1390
  }
1437
1391
  };
1438
1392
  }
1393
+ function _temp3(option) {
1394
+ return String(option.key);
1395
+ }
1396
+ function _temp4() {
1397
+ return [];
1398
+ }
1439
1399
  //#endregion
1440
1400
  export { ComboBox };
1441
1401