@cube-dev/ui-kit 0.0.0-canary-6a443c8 → 0.0.0-canary-5beb4b6

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