@cube-dev/ui-kit 0.0.0-canary-5beb4b6 → 0.0.0-canary-50fa86a

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 +2 -3
  143. package/dist/components/fields/Checkbox/Checkbox.js +4 -5
  144. package/dist/components/fields/Checkbox/Checkbox.js.map +1 -1
  145. package/dist/components/fields/Checkbox/CheckboxGroup.d.ts +2 -3
  146. package/dist/components/fields/Checkbox/CheckboxGroup.js +38 -19
  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 +2 -3
  150. package/dist/components/fields/ColorInput/ColorInput.js +3 -1
  151. package/dist/components/fields/ColorInput/ColorInput.js.map +1 -1
  152. package/dist/components/fields/ColorPicker/ColorPicker.d.ts +3 -9
  153. package/dist/components/fields/ColorPicker/ColorPicker.js +195 -181
  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 +2 -3
  157. package/dist/components/fields/ColorSwatchGroup/ColorSwatchGroup.js +171 -143
  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 +581 -591
  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 +3 -2
  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 +2 -3
  168. package/dist/components/fields/DatePicker/DateInput.js +5 -6
  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 +2 -3
  172. package/dist/components/fields/DatePicker/DatePicker.js +173 -83
  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 +2 -3
  179. package/dist/components/fields/DatePicker/DateRangePicker.js +204 -115
  180. package/dist/components/fields/DatePicker/DateRangePicker.js.map +1 -1
  181. package/dist/components/fields/DatePicker/DateRangeSeparatedPicker.d.ts +2 -3
  182. package/dist/components/fields/DatePicker/DateRangeSeparatedPicker.js +434 -284
  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 +2 -3
  186. package/dist/components/fields/DatePicker/PeriodPicker.js +113 -86
  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 +2 -3
  190. package/dist/components/fields/DatePicker/TimeInput.js +5 -6
  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 +2 -3
  199. package/dist/components/fields/FileInput/FileInput.js +141 -114
  200. package/dist/components/fields/FileInput/FileInput.js.map +1 -1
  201. package/dist/components/fields/FilterListBox/FilterListBox.js +11 -10
  202. package/dist/components/fields/FilterListBox/FilterListBox.js.map +1 -1
  203. package/dist/components/fields/FilterPicker/FilterPicker.d.ts +3 -9
  204. package/dist/components/fields/FilterPicker/FilterPicker.js +11 -12
  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 +2 -3
  209. package/dist/components/fields/ListBox/ListBox.js +10 -7
  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 +3 -1
  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 +3 -1
  219. package/dist/components/fields/PasswordInput/PasswordInput.js.map +1 -1
  220. package/dist/components/fields/Picker/Picker.d.ts +3 -9
  221. package/dist/components/fields/Picker/Picker.js +11 -12
  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 +2 -3
  225. package/dist/components/fields/RadioGroup/RadioGroup.js +110 -73
  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 +8 -5
  229. package/dist/components/fields/SearchComboBox/SearchComboBox.js +24 -14
  230. package/dist/components/fields/SearchComboBox/SearchComboBox.js.map +1 -1
  231. package/dist/components/fields/SearchInput/SearchInput.js +51 -47
  232. package/dist/components/fields/SearchInput/SearchInput.js.map +1 -1
  233. package/dist/components/fields/Select/Select.d.ts +2 -3
  234. package/dist/components/fields/Select/Select.js +10 -8
  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 +40 -27
  239. package/dist/components/fields/Slider/RangeSlider.js.map +1 -1
  240. package/dist/components/fields/Slider/Slider.js +67 -69
  241. package/dist/components/fields/Slider/Slider.js.map +1 -1
  242. package/dist/components/fields/Slider/SliderBase.js +60 -61
  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 +2 -3
  249. package/dist/components/fields/Switch/Switch.d.ts +2 -3
  250. package/dist/components/fields/Switch/Switch.js +124 -90
  251. package/dist/components/fields/Switch/Switch.js.map +1 -1
  252. package/dist/components/fields/TagInput/TagInput.d.ts +4 -3
  253. package/dist/components/fields/TagInput/TagInput.js +14 -12
  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 +3 -1
  259. package/dist/components/fields/TextArea/TextArea.js.map +1 -1
  260. package/dist/components/fields/TextInput/TextInput.js +3 -1
  261. package/dist/components/fields/TextInput/TextInput.js.map +1 -1
  262. package/dist/components/fields/TextInput/TextInputBase.d.ts +2 -3
  263. package/dist/components/fields/TextInput/TextInputBase.js +11 -8
  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 +57 -120
  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/index.d.ts +1 -2
  304. package/dist/components/form/legacy-tooltip.js +2 -15
  305. package/dist/components/form/legacy-tooltip.js.map +1 -1
  306. package/dist/components/form/validation/ValidationIndicator.js +1 -1
  307. package/dist/components/form/validation/resolve-validation-props.js +1 -1
  308. package/dist/components/form/validation/use-validation-props.js +1 -1
  309. package/dist/components/form/wrapper.js +2 -6
  310. package/dist/components/form/wrapper.js.map +1 -1
  311. package/dist/components/helpers/DisplayTransition/DisplayTransition.js +1 -1
  312. package/dist/components/helpers/IconSwitch/IconSwitch.js +1 -1
  313. package/dist/components/layout/Flex.js +1 -1
  314. package/dist/components/layout/Flow.js +1 -1
  315. package/dist/components/layout/Grid.js +1 -1
  316. package/dist/components/layout/Panel.js +1 -1
  317. package/dist/components/layout/Prefix.js +1 -1
  318. package/dist/components/layout/ResizablePanel.js +1 -1
  319. package/dist/components/layout/Space.js +1 -1
  320. package/dist/components/layout/Suffix.js +1 -1
  321. package/dist/components/navigation/Pagination/Pagination.js +1 -1
  322. package/dist/components/navigation/Pagination/use-pagination.js +1 -1
  323. package/dist/components/navigation/Tabs/BoardDragActiveProvider.js +1 -1
  324. package/dist/components/navigation/Tabs/DraggableTabList.js +1 -1
  325. package/dist/components/navigation/Tabs/TabButton.js +1 -1
  326. package/dist/components/navigation/Tabs/TabDropIndicator.js +1 -1
  327. package/dist/components/navigation/Tabs/TabPanel.js +1 -1
  328. package/dist/components/navigation/Tabs/TabPicker.js +1 -1
  329. package/dist/components/navigation/Tabs/Tabs.js +1 -1
  330. package/dist/components/navigation/Tabs/TabsAction.js +1 -1
  331. package/dist/components/navigation/Tabs/TabsContext.js +1 -1
  332. package/dist/components/navigation/Tabs/popover-placement.js +1 -1
  333. package/dist/components/navigation/Tabs/styled.js +1 -1
  334. package/dist/components/navigation/Tabs/types.js +1 -1
  335. package/dist/components/navigation/Tabs/use-tab-editing.js +1 -1
  336. package/dist/components/navigation/Tabs/use-tab-indicator.js +1 -1
  337. package/dist/components/organisms/StatsCard/StatsCard.js +1 -1
  338. package/dist/components/other/Calendar/Calendar.js +1 -1
  339. package/dist/components/other/Calendar/CalendarCell.js +1 -1
  340. package/dist/components/other/Calendar/CalendarGrid.js +1 -1
  341. package/dist/components/other/Calendar/CalendarHeader.js +1 -1
  342. package/dist/components/other/Calendar/CalendarPanel.js +1 -1
  343. package/dist/components/other/Calendar/PeriodCalendar.js +1 -1
  344. package/dist/components/other/Calendar/PeriodGrid.js +1 -1
  345. package/dist/components/other/Calendar/RangeCalendar.js +1 -1
  346. package/dist/components/other/Calendar/styled.js +1 -1
  347. package/dist/components/other/CubeLogo/CubeLogo.js +1 -1
  348. package/dist/components/other/NoDataIcon/NoDataIcon.js +1 -1
  349. package/dist/components/overlays/AlertDialog/AlertDialog.js +1 -1
  350. package/dist/components/overlays/AlertDialog/AlertDialogApiProvider.js +1 -1
  351. package/dist/components/overlays/AlertDialog/AlertDialogZone.js +1 -1
  352. package/dist/components/overlays/Dialog/Dialog.js +1 -1
  353. package/dist/components/overlays/Dialog/DialogContainer.js +1 -1
  354. package/dist/components/overlays/Dialog/DialogForm.js +1 -1
  355. package/dist/components/overlays/Dialog/DialogTrigger.js +1 -1
  356. package/dist/components/overlays/Dialog/ModernDialogForm.js +1 -1
  357. package/dist/components/overlays/Dialog/context.js +1 -1
  358. package/dist/components/overlays/Dialog/default-button-text.js +1 -1
  359. package/dist/components/overlays/Dialog/use-content-overflow.js +1 -1
  360. package/dist/components/overlays/Dialog/use-dialog-container.js +1 -1
  361. package/dist/components/overlays/Dialog/use-dialog-open-sync.js +1 -1
  362. package/dist/components/overlays/Dialog/use-retained-dialog-focus.js +1 -1
  363. package/dist/components/overlays/Modal/Modal.js +1 -1
  364. package/dist/components/overlays/Modal/OpenTransitionContext.js +1 -1
  365. package/dist/components/overlays/Modal/Overlay.js +1 -1
  366. package/dist/components/overlays/Modal/Popover.js +1 -1
  367. package/dist/components/overlays/Modal/Tray.js +1 -1
  368. package/dist/components/overlays/Modal/Underlay.js +1 -1
  369. package/dist/components/overlays/Modal/modal-containment.js +1 -1
  370. package/dist/components/overlays/Notifications/Notification.js +1 -1
  371. package/dist/components/overlays/Notifications/NotificationAction.js +1 -1
  372. package/dist/components/overlays/Notifications/NotificationCard.js +1 -1
  373. package/dist/components/overlays/Notifications/NotificationContext.js +1 -1
  374. package/dist/components/overlays/Notifications/NotificationItem.js +1 -1
  375. package/dist/components/overlays/Notifications/OverlayContainer.js +1 -1
  376. package/dist/components/overlays/Notifications/OverlayProvider.js +1 -1
  377. package/dist/components/overlays/Notifications/PersistentNotificationsList.js +1 -1
  378. package/dist/components/overlays/Notifications/dismissed-storage.js +1 -1
  379. package/dist/components/overlays/Notifications/format-relative-time.js +1 -1
  380. package/dist/components/overlays/Notifications/index.js +1 -1
  381. package/dist/components/overlays/Notifications/use-notification-state.js +1 -1
  382. package/dist/components/overlays/Notifications/use-notifications.js +1 -1
  383. package/dist/components/overlays/Notifications/use-overlay-timers.js +1 -1
  384. package/dist/components/overlays/Notifications/use-persistent-notifications.js +1 -1
  385. package/dist/components/overlays/Notifications/use-persistent-state.js +1 -1
  386. package/dist/components/overlays/Notifications/use-toast-state.js +1 -1
  387. package/dist/components/overlays/Toast/ToastItem.js +1 -1
  388. package/dist/components/overlays/Toast/index.js +1 -1
  389. package/dist/components/overlays/Toast/useProgressToast.js +1 -1
  390. package/dist/components/overlays/Toast/useToast.js +1 -1
  391. package/dist/components/overlays/Tooltip/Tooltip.js +1 -1
  392. package/dist/components/overlays/Tooltip/TooltipProvider.js +1 -1
  393. package/dist/components/overlays/Tooltip/TooltipTrigger.js +1 -1
  394. package/dist/components/overlays/Tooltip/context.js +1 -1
  395. package/dist/components/overlays/Tooltip/split-trigger-props.js +1 -1
  396. package/dist/components/portal/Portal.js +1 -1
  397. package/dist/components/portal/PortalProvider.js +1 -1
  398. package/dist/components/portal/usePortal.js +1 -1
  399. package/dist/components/shared/DraggableCollection.js +1 -1
  400. package/dist/components/shared/InvalidIcon.js +1 -1
  401. package/dist/components/shared/ValidIcon.js +1 -1
  402. package/dist/components/status/LoadingAnimation/LoadingAnimation.js +1 -1
  403. package/dist/components/status/Spin/Cube.js +1 -1
  404. package/dist/components/status/Spin/InternalSpinner.js +1 -1
  405. package/dist/components/status/Spin/Spin.js +1 -1
  406. package/dist/components/status/Spin/SpinsContainer.js +1 -1
  407. package/dist/data/item-themes.js +1 -1
  408. package/dist/data/themes.js +1 -1
  409. package/dist/eslint-plugin/defaults.generated.js +1 -1
  410. package/dist/eslint-plugin/index.js +1 -1
  411. package/dist/eslint-plugin/rules/no-redundant-default-prop.js +1 -1
  412. package/dist/i18n/I18nProvider.js +1 -1
  413. package/dist/i18n/createFormatter.js +1 -1
  414. package/dist/i18n/index.js +1 -1
  415. package/dist/i18n/instance.js +1 -1
  416. package/dist/i18n/locales/de-DE/uikit.js +1 -1
  417. package/dist/i18n/locales/en-US/uikit.js +1 -1
  418. package/dist/i18n/locales/es-ES/uikit.js +1 -1
  419. package/dist/i18n/locales/es-MX/uikit.js +1 -1
  420. package/dist/i18n/locales/fr-FR/uikit.js +1 -1
  421. package/dist/i18n/locales/it-IT/uikit.js +1 -1
  422. package/dist/i18n/locales/ja-JP/uikit.js +1 -1
  423. package/dist/i18n/locales/nb-NO/uikit.js +1 -1
  424. package/dist/i18n/locales/pt-BR/uikit.js +1 -1
  425. package/dist/i18n/locales/pt-PT/uikit.js +1 -1
  426. package/dist/i18n/locales/sv-SE/uikit.js +1 -1
  427. package/dist/i18n/locales/vi-VN/uikit.js +1 -1
  428. package/dist/i18n/locales.js +1 -1
  429. package/dist/i18n/namespace.js +1 -1
  430. package/dist/i18n/useFormatter.js +1 -1
  431. package/dist/i18n/useI18n.js +1 -1
  432. package/dist/icons/AdjustmentsHorizontalIcon.js +1 -1
  433. package/dist/icons/AdjustmentsIcon.js +1 -1
  434. package/dist/icons/AiIcon.js +1 -1
  435. package/dist/icons/AreaChartIcon.js +1 -1
  436. package/dist/icons/ArrowNarrowDownIcon.js +1 -1
  437. package/dist/icons/ArrowNarrowUpIcon.js +1 -1
  438. package/dist/icons/BackwardIcon.js +1 -1
  439. package/dist/icons/BarChartIcon.js +1 -1
  440. package/dist/icons/BellFilledIcon.js +1 -1
  441. package/dist/icons/BellIcon.js +1 -1
  442. package/dist/icons/BooleanIcon.js +1 -1
  443. package/dist/icons/CalendarEditIcon.js +1 -1
  444. package/dist/icons/CalendarIcon.js +1 -1
  445. package/dist/icons/CaretDownIcon.js +1 -1
  446. package/dist/icons/CaretUpIcon.js +1 -1
  447. package/dist/icons/ChartAreaStackedIcon.js +1 -1
  448. package/dist/icons/ChartAreaStackedPercentageIcon.js +1 -1
  449. package/dist/icons/ChartBarGroupedHorizontalIcon.js +1 -1
  450. package/dist/icons/ChartBarGroupedIcon.js +1 -1
  451. package/dist/icons/ChartBarHorizontalIcon.js +1 -1
  452. package/dist/icons/ChartBarLineIcon.js +1 -1
  453. package/dist/icons/ChartBarStackedHorizontalIcon.js +1 -1
  454. package/dist/icons/ChartBarStackedIcon.js +1 -1
  455. package/dist/icons/ChartBarStackedPercentageHorizontalIcon.js +1 -1
  456. package/dist/icons/ChartBarStackedPercentageIcon.js +1 -1
  457. package/dist/icons/ChartBoxPlot2Icon.js +1 -1
  458. package/dist/icons/ChartBoxPlotIcon.js +1 -1
  459. package/dist/icons/ChartBubbleIcon.js +1 -1
  460. package/dist/icons/ChartDonut2Icon.js +1 -1
  461. package/dist/icons/ChartFunnelIcon.js +1 -1
  462. package/dist/icons/ChartHeatmapIcon.js +1 -1
  463. package/dist/icons/ChartKPIIcon.js +1 -1
  464. package/dist/icons/ChartPie2Icon.js +1 -1
  465. package/dist/icons/ChartScatterIcon.js +1 -1
  466. package/dist/icons/CheckCircleFilledIcon.js +1 -1
  467. package/dist/icons/CheckCircleIcon.js +1 -1
  468. package/dist/icons/CheckIcon.js +1 -1
  469. package/dist/icons/CircleFilledIcon.js +1 -1
  470. package/dist/icons/ClearIcon.js +1 -1
  471. package/dist/icons/CloseCircleFilledIcon.js +1 -1
  472. package/dist/icons/CloseCircleIcon.js +1 -1
  473. package/dist/icons/CloseIcon.js +1 -1
  474. package/dist/icons/CodeIcon.js +1 -1
  475. package/dist/icons/ColumnTotalIcon.js +1 -1
  476. package/dist/icons/CopyIcon.js +1 -1
  477. package/dist/icons/CountIcon.js +1 -1
  478. package/dist/icons/CubeIcon.js +1 -1
  479. package/dist/icons/CubePauseIcon.js +1 -1
  480. package/dist/icons/CubePlayIcon.js +1 -1
  481. package/dist/icons/CurrencyDollarIcon.js +1 -1
  482. package/dist/icons/DangerIcon.js +1 -1
  483. package/dist/icons/DashboardIcon.js +1 -1
  484. package/dist/icons/DatabaseIcon.js +1 -1
  485. package/dist/icons/DecimalDecreaseIcon.js +1 -1
  486. package/dist/icons/DecimalIncreaseIcon.js +1 -1
  487. package/dist/icons/DirectionIcon.js +1 -1
  488. package/dist/icons/DonutIcon.js +1 -1
  489. package/dist/icons/DownIcon.js +1 -1
  490. package/dist/icons/EditIcon.js +1 -1
  491. package/dist/icons/ExclamationCircleFilledIcon.js +1 -1
  492. package/dist/icons/ExclamationCircleIcon.js +1 -1
  493. package/dist/icons/ExclamationIcon.js +1 -1
  494. package/dist/icons/EyeIcon.js +1 -1
  495. package/dist/icons/EyeInvisibleIcon.js +1 -1
  496. package/dist/icons/FilterIcon.js +1 -1
  497. package/dist/icons/FolderFilledIcon.js +1 -1
  498. package/dist/icons/FolderIcon.js +1 -1
  499. package/dist/icons/FolderOpenFilledIcon.js +1 -1
  500. package/dist/icons/FolderOpenIcon.js +1 -1
  501. package/dist/icons/ForwardIcon.js +1 -1
  502. package/dist/icons/GripVerticalIcon.js +1 -1
  503. package/dist/icons/HierarchyIcon.js +1 -1
  504. package/dist/icons/HierarchyOpenIcon.js +1 -1
  505. package/dist/icons/Icon.js +1 -1
  506. package/dist/icons/InfoCircleIcon.js +1 -1
  507. package/dist/icons/InfoIcon.js +1 -1
  508. package/dist/icons/KeyIcon.js +1 -1
  509. package/dist/icons/LeftIcon.js +1 -1
  510. package/dist/icons/LineChartIcon.js +1 -1
  511. package/dist/icons/LoadingIcon.js +1 -1
  512. package/dist/icons/LockFilledIcon.js +1 -1
  513. package/dist/icons/LockIcon.js +1 -1
  514. package/dist/icons/MoreIcon.js +1 -1
  515. package/dist/icons/NotAllowedIcon.js +1 -1
  516. package/dist/icons/Number123Icon.js +1 -1
  517. package/dist/icons/NumberIcon.js +1 -1
  518. package/dist/icons/PauseCircleFilledIcon.js +1 -1
  519. package/dist/icons/PauseCircleIcon.js +1 -1
  520. package/dist/icons/PauseIcon.js +1 -1
  521. package/dist/icons/PercentageIcon.js +1 -1
  522. package/dist/icons/PieChartIcon.js +1 -1
  523. package/dist/icons/PipetteIcon.js +1 -1
  524. package/dist/icons/PlayCircleIcon.js +1 -1
  525. package/dist/icons/PlayIcon.js +1 -1
  526. package/dist/icons/PlusIcon.js +1 -1
  527. package/dist/icons/ProgressBarIcon.js +1 -1
  528. package/dist/icons/ReloadIcon.js +1 -1
  529. package/dist/icons/ReportIcon.js +1 -1
  530. package/dist/icons/ReturnIcon.js +1 -1
  531. package/dist/icons/RightIcon.js +1 -1
  532. package/dist/icons/RowTotalsIcon.js +1 -1
  533. package/dist/icons/SchemeIcon.js +1 -1
  534. package/dist/icons/SearchIcon.js +1 -1
  535. package/dist/icons/SemanticQueryIcon.js +1 -1
  536. package/dist/icons/SettingsIcon.js +1 -1
  537. package/dist/icons/ShieldFilledIcon.js +1 -1
  538. package/dist/icons/ShieldIcon.js +1 -1
  539. package/dist/icons/SlashIcon.js +1 -1
  540. package/dist/icons/SparklesIcon.js +1 -1
  541. package/dist/icons/SqlIcon.js +1 -1
  542. package/dist/icons/StatsIcon.js +1 -1
  543. package/dist/icons/StopIcon.js +1 -1
  544. package/dist/icons/StringIcon.js +1 -1
  545. package/dist/icons/SubtotalsIcon.js +1 -1
  546. package/dist/icons/SwitchIcon.js +1 -1
  547. package/dist/icons/TableIcon.js +1 -1
  548. package/dist/icons/ThumbsDownIcon.js +1 -1
  549. package/dist/icons/ThumbsUpIcon.js +1 -1
  550. package/dist/icons/ThunderboltCrossedIcon.js +1 -1
  551. package/dist/icons/ThunderboltFilledIcon.js +1 -1
  552. package/dist/icons/ThunderboltIcon.js +1 -1
  553. package/dist/icons/TimeIcon.js +1 -1
  554. package/dist/icons/TrashIcon.js +1 -1
  555. package/dist/icons/UnlockIcon.js +1 -1
  556. package/dist/icons/UpIcon.js +1 -1
  557. package/dist/icons/UserGroupIcon.js +1 -1
  558. package/dist/icons/UserIcon.js +1 -1
  559. package/dist/icons/UserLockIcon.js +1 -1
  560. package/dist/icons/ViewIcon.js +1 -1
  561. package/dist/icons/WarningFilledIcon.js +1 -1
  562. package/dist/icons/WarningIcon.js +1 -1
  563. package/dist/icons/wrap-icon.js +1 -1
  564. package/dist/index.d.ts +1 -2
  565. package/dist/index.js +1 -1
  566. package/dist/probe/canonicalize.js +1 -1
  567. package/dist/probe/css.js +1 -1
  568. package/dist/probe/index.js +1 -1
  569. package/dist/provider.js +1 -1
  570. package/dist/providers/TrackingProvider.js +1 -1
  571. package/dist/providers/navigation-url.js +1 -1
  572. package/dist/providers/navigationAdapter.default.js +1 -1
  573. package/dist/providers/use-navigation.js +1 -1
  574. package/dist/shared/form.d.ts +3 -1
  575. package/dist/tokens/all-tokens.js +1 -1
  576. package/dist/tokens/base.js +1 -1
  577. package/dist/tokens/color-seed.js +1 -1
  578. package/dist/tokens/color-theme.js +1 -1
  579. package/dist/tokens/colors.js +1 -1
  580. package/dist/tokens/layout.js +1 -1
  581. package/dist/tokens/lazy-styles.js +1 -1
  582. package/dist/tokens/legacy-color.js +1 -1
  583. package/dist/tokens/palette-config.js +1 -1
  584. package/dist/tokens/palette.js +1 -1
  585. package/dist/tokens/resolve.js +1 -1
  586. package/dist/tokens/shadows.js +1 -1
  587. package/dist/tokens/sizes.js +1 -1
  588. package/dist/tokens/spacing.js +1 -1
  589. package/dist/tokens/typography.js +1 -1
  590. package/dist/utils/ResizeSensor.js +1 -1
  591. package/dist/utils/colors.js +1 -1
  592. package/dist/utils/dotize.js +1 -1
  593. package/dist/utils/is-dev-env.js +1 -1
  594. package/dist/utils/modules.js +1 -1
  595. package/dist/utils/promise.js +1 -1
  596. package/dist/utils/raf.js +1 -1
  597. package/dist/utils/random.js +1 -1
  598. package/dist/utils/range.js +1 -1
  599. package/dist/utils/react/RenderCache.js +1 -1
  600. package/dist/utils/react/Slots.js +1 -1
  601. package/dist/utils/react/chain.js +1 -1
  602. package/dist/utils/react/disabledProps.js +1 -1
  603. package/dist/utils/react/forwardRefWithGenerics.js +1 -1
  604. package/dist/utils/react/index.js +1 -1
  605. package/dist/utils/react/interactions.js +1 -1
  606. package/dist/utils/react/isTextOnly.js +1 -1
  607. package/dist/utils/react/mapProps.js +1 -1
  608. package/dist/utils/react/mergeProps.js +1 -1
  609. package/dist/utils/react/nullableValue.js +1 -1
  610. package/dist/utils/react/overlayKeyPropagation.js +44 -7
  611. package/dist/utils/react/overlayKeyPropagation.js.map +1 -1
  612. package/dist/utils/react/programmaticFocus.js +1 -1
  613. package/dist/utils/react/resolveIcon.js +1 -1
  614. package/dist/utils/react/sharedStore.js +1 -1
  615. package/dist/utils/react/useBufferedValue.js +1 -1
  616. package/dist/utils/react/useCombinedRefs.js +1 -1
  617. package/dist/utils/react/useControlledFocusVisible.js +1 -1
  618. package/dist/utils/react/useEventBus.js +1 -1
  619. package/dist/utils/react/useId.js +1 -1
  620. package/dist/utils/react/useIsDarwin.js +1 -1
  621. package/dist/utils/react/useKeySymbols.js +1 -1
  622. package/dist/utils/react/useLayoutEffect.js +1 -1
  623. package/dist/utils/react/useLocalStorage.js +1 -1
  624. package/dist/utils/react/useMergeStyles.js +1 -1
  625. package/dist/utils/react/useOverlayEscapeGuard.js +1 -1
  626. package/dist/utils/react/usePopoverSync.js +1 -1
  627. package/dist/utils/react/useQaProps.js +1 -1
  628. package/dist/utils/react/useScheme.js +1 -1
  629. package/dist/utils/react/useViewportSize.js +1 -1
  630. package/dist/utils/react/wrapNodeIfPlain.js +1 -1
  631. package/dist/utils/selection.js +1 -1
  632. package/dist/utils/styles.js +1 -1
  633. package/dist/utils/tree.js +1 -1
  634. package/dist/utils/warnings.js +1 -1
  635. package/dist/version.js +2 -2
  636. package/docs/CreateComponent.md +1 -1
  637. package/docs/FieldProperties.md +5 -15
  638. package/docs/Usage.md +0 -2
  639. package/docs/components/fields/Checkbox.md +4 -0
  640. package/docs/components/fields/ColorInput.md +4 -1
  641. package/docs/components/fields/ColorPicker.md +2 -2
  642. package/docs/components/fields/ColorSwatchGroup.md +3 -2
  643. package/docs/components/fields/ComboBox.md +4 -1
  644. package/docs/components/fields/CommandTextArea.md +5 -2
  645. package/docs/components/fields/DatePicker.md +4 -0
  646. package/docs/components/fields/FileInput.md +5 -1
  647. package/docs/components/fields/FilterListBox.md +3 -0
  648. package/docs/components/fields/FilterPicker.md +4 -2
  649. package/docs/components/fields/HueSlider.md +2 -1
  650. package/docs/components/fields/ListBox.md +3 -0
  651. package/docs/components/fields/NumberInput.md +6 -3
  652. package/docs/components/fields/PasswordInput.md +8 -5
  653. package/docs/components/fields/PeriodPicker.md +4 -0
  654. package/docs/components/fields/Picker.md +4 -2
  655. package/docs/components/fields/RadioGroup.md +4 -0
  656. package/docs/components/fields/SearchComboBox.md +4 -1
  657. package/docs/components/fields/SearchInput.md +4 -1
  658. package/docs/components/fields/Select.md +3 -0
  659. package/docs/components/fields/Slider.md +1 -0
  660. package/docs/components/fields/Switch.md +1 -0
  661. package/docs/components/fields/TagInput.md +6 -2
  662. package/docs/components/fields/TextArea.md +11 -5
  663. package/docs/components/fields/TextInput.md +12 -6
  664. package/package.json +1 -1
  665. package/dist/components/form/field-layout.d.ts +0 -10
  666. package/dist/components/form/field-layout.js +0 -95
  667. package/dist/components/form/field-layout.js.map +0 -1
@@ -1,4 +1,5 @@
1
- /** @license MIT | @cube-dev/ui-kit v0.0.0-canary-5beb4b6 | Cube Dev Team */
1
+ /** @license MIT | @cube-dev/ui-kit v0.0.0-canary-50fa86a | Cube Dev Team */
2
+ import { extractStyles } from "../../../utils/styles.js";
2
3
  import { useLayoutEffect as useLayoutEffect$1 } from "../../../utils/react/useLayoutEffect.js";
3
4
  import { useCombinedRefs } from "../../../utils/react/useCombinedRefs.js";
4
5
  import { usePopoverSync } from "../../../utils/react/usePopoverSync.js";
@@ -10,11 +11,11 @@ import { useI18n } from "../../../i18n/useI18n.js";
10
11
  import { DirectionIcon } from "../../../icons/DirectionIcon.js";
11
12
  import { generateRandomId } from "../../../utils/random.js";
12
13
  import { CloseIcon } from "../../../icons/CloseIcon.js";
14
+ import { OVERLAY_KEYS, settleOverlayKey } from "../../../utils/react/overlayKeyPropagation.js";
13
15
  import { getValidationMods } from "../../form/validation/resolve-validation-props.js";
14
16
  import { getValidationIcon } from "../../form/validation/ValidationIndicator.js";
15
17
  import { useFieldProps } from "../../form/Form/use-field/use-field-props.js";
16
18
  import { wrapWithField } from "../../form/wrapper.js";
17
- import { splitFieldLayout } from "../../form/field-layout.js";
18
19
  import { getListBoxOptionId } from "../ListBox/optionId.js";
19
20
  import { filterCollectionNodes, getEdgeVisibleKey, getNextVisibleKey, markKeyboardFocus } from "../ListBoxPopover/listNavigation.js";
20
21
  import { DEFAULT_INPUT_STYLES, INPUT_WRAPPER_STYLES } from "../TextInput/TextInputBase.js";
@@ -22,7 +23,7 @@ import { ListBoxPopover } from "../ListBoxPopover/ListBoxPopover.js";
22
23
  import { useCompositeFocus } from "../ListBoxPopover/useCompositeFocus.js";
23
24
  import { collectOptions, findTypedOption, getItemLabel, highlightOption, resolveHighlightedKey, sortSelectedFirst } from "./comboBoxOptions.js";
24
25
  import { c } from "react/compiler-runtime";
25
- import { tasty } from "@tenphi/tasty";
26
+ import { BASE_STYLES, COLOR_STYLES, OUTER_STYLES, tasty } from "@tenphi/tasty";
26
27
  import React, { forwardRef, useEffect, useRef, useState } from "react";
27
28
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
28
29
  import { useCollator, useFilter, useKeyboard } from "react-aria";
@@ -36,6 +37,11 @@ const InputElement = tasty({
36
37
  as: "input",
37
38
  styles: DEFAULT_INPUT_STYLES
38
39
  });
40
+ const PROP_STYLES = [
41
+ ...BASE_STYLES,
42
+ ...OUTER_STYLES,
43
+ ...COLOR_STYLES
44
+ ];
39
45
  function useComboBoxState(t0) {
40
46
  const $ = c(12);
41
47
  const { selectedKey, defaultSelectedKey, inputValue, defaultInputValue, comboBoxId, triggerRef, popoverRef } = t0;
@@ -199,7 +205,6 @@ function useComboBoxFiltering(t0) {
199
205
  function _temp() {
200
206
  return true;
201
207
  }
202
- const OVERLAY_KEYS = /* @__PURE__ */ new Set(["Escape", "Tab"]);
203
208
  function isComposing(e) {
204
209
  return e.nativeEvent?.isComposing || e.keyCode === 229;
205
210
  }
@@ -355,7 +360,14 @@ function useComboBoxKeyboard(t0) {
355
360
  if ($[42] !== handleKey || $[43] !== isReadOnly || $[44] !== onKeyDown) {
356
361
  t8 = { onKeyDown: (e_5) => {
357
362
  onKeyDown?.(e_5);
358
- if (e_5.isDefaultPrevented() || isComposing(e_5)) return;
363
+ if (e_5.isDefaultPrevented()) {
364
+ settleOverlayKey(e_5);
365
+ return;
366
+ }
367
+ if (isComposing(e_5)) {
368
+ settleOverlayKey(e_5);
369
+ return;
370
+ }
359
371
  if ((isReadOnly || !handleKey(e_5)) && OVERLAY_KEYS.has(e_5.key)) e_5.continuePropagation();
360
372
  } };
361
373
  $[42] = handleKey;
@@ -449,7 +461,7 @@ const ComboBoxInput = forwardRef(function ComboBoxInput(t0, ref) {
449
461
  return t5;
450
462
  });
451
463
  const ComboBox = forwardRef(function ComboBox(props, ref) {
452
- const $ = c(287);
464
+ const $ = c(279);
453
465
  let t0;
454
466
  if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
455
467
  t0 = { valuePropsMapper: _temp2 };
@@ -457,51 +469,52 @@ const ComboBox = forwardRef(function ComboBox(props, ref) {
457
469
  } else t0 = $[0];
458
470
  props = useFieldProps(props, t0);
459
471
  const { t } = useI18n();
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;
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;
473
486
  if ($[1] === Symbol.for("react.memo_cache_sentinel")) {
474
- t12 = generateRandomId();
475
- $[1] = t12;
476
- } else t12 = $[1];
477
- const comboBoxId = t12;
487
+ t13 = generateRandomId();
488
+ $[1] = t13;
489
+ } else t13 = $[1];
490
+ const comboBoxId = t13;
478
491
  wrapperRef = useCombinedRefs(wrapperRef, ref);
479
492
  popoverRef = useCombinedRefs(popoverRef);
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 = {
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 = {
485
498
  selectedKey,
486
499
  defaultSelectedKey,
487
500
  inputValue,
488
501
  defaultInputValue,
489
502
  comboBoxId,
490
- triggerRef: t13,
491
- popoverRef: t14
503
+ triggerRef: t14,
504
+ popoverRef: t15
492
505
  };
493
- $[2] = defaultInputValue;
494
- $[3] = defaultSelectedKey;
495
- $[4] = inputValue;
496
- $[5] = selectedKey;
497
- $[6] = t13;
506
+ $[2] = comboBoxId;
507
+ $[3] = defaultInputValue;
508
+ $[4] = defaultSelectedKey;
509
+ $[5] = inputValue;
510
+ $[6] = selectedKey;
498
511
  $[7] = t14;
499
512
  $[8] = t15;
500
- } else t15 = $[8];
501
- const { effectiveSelectedKey, internalInputValue, isPopoverOpen, setIsPopoverOpen, setInternalSelectedKey, setInternalInputValue, isControlledKey, isControlledInput } = useComboBoxState(t15);
513
+ $[9] = t16;
514
+ } else t16 = $[9];
515
+ const { effectiveSelectedKey, internalInputValue, isPopoverOpen, setIsPopoverOpen, setInternalSelectedKey, setInternalInputValue, isControlledKey, isControlledInput } = useComboBoxState(t16);
502
516
  const sortSelectedToTop = sortSelectedToTopProp ?? (items ? true : false);
503
- const fieldLayout = splitFieldLayout(props);
504
- styles = fieldLayout.styles;
517
+ styles = extractStyles(otherProps, PROP_STYLES, styles);
505
518
  inputRef = useCombinedRefs(inputRef);
506
519
  triggerRef = useCombinedRefs(triggerRef);
507
520
  listBoxRef = useCombinedRefs(listBoxRef);
@@ -509,7 +522,7 @@ const ComboBox = forwardRef(function ComboBox(props, ref) {
509
522
  if (!isPopoverOpen && sortKey !== effectiveSelectedKey) setSortKey(effectiveSelectedKey);
510
523
  let children;
511
524
  let sortedItems;
512
- if ($[9] !== items || $[10] !== renderChildren || $[11] !== sortKey || $[12] !== sortSelectedToTop) {
525
+ if ($[10] !== items || $[11] !== renderChildren || $[12] !== sortKey || $[13] !== sortSelectedToTop) {
513
526
  sortedItems = items && sortSelectedToTop ? sortSelectedFirst(items, sortKey) : items;
514
527
  children = renderChildren;
515
528
  const renderFn = renderChildren;
@@ -520,124 +533,124 @@ const ComboBox = forwardRef(function ComboBox(props, ref) {
520
533
  return rendered;
521
534
  });
522
535
  } catch {}
523
- $[9] = items;
524
- $[10] = renderChildren;
525
- $[11] = sortKey;
526
- $[12] = sortSelectedToTop;
527
- $[13] = children;
528
- $[14] = sortedItems;
536
+ $[10] = items;
537
+ $[11] = renderChildren;
538
+ $[12] = sortKey;
539
+ $[13] = sortSelectedToTop;
540
+ $[14] = children;
541
+ $[15] = sortedItems;
529
542
  } else {
530
- children = $[13];
531
- sortedItems = $[14];
543
+ children = $[14];
544
+ sortedItems = $[15];
532
545
  }
533
- const t16 = children;
534
- let t17;
535
- if ($[15] !== props.disabledKeys || $[16] !== sortedItems || $[17] !== t16) {
536
- t17 = {
537
- children: t16,
546
+ const t17 = children;
547
+ let t18;
548
+ if ($[16] !== props.disabledKeys || $[17] !== sortedItems || $[18] !== t17) {
549
+ t18 = {
550
+ children: t17,
538
551
  items: sortedItems,
539
552
  disabledKeys: props.disabledKeys,
540
553
  selectionMode: "none"
541
554
  };
542
- $[15] = props.disabledKeys;
543
- $[16] = sortedItems;
544
- $[17] = t16;
555
+ $[16] = props.disabledKeys;
556
+ $[17] = sortedItems;
545
557
  $[18] = t17;
546
- } else t17 = $[18];
547
- const localCollectionState = useListState(t17);
558
+ $[19] = t18;
559
+ } else t18 = $[19];
560
+ const localCollectionState = useListState(t18);
548
561
  const { selectedLabel, pickLabel } = useSelectedLabel(localCollectionState.collection, effectiveSelectedKey);
549
562
  const effectiveInputValue = isControlledInput ? inputValue : internalInputValue ?? selectedLabel;
550
- let t18;
551
- if ($[19] !== effectiveInputValue || $[20] !== filter) {
552
- t18 = {
563
+ let t19;
564
+ if ($[20] !== effectiveInputValue || $[21] !== filter) {
565
+ t19 = {
553
566
  effectiveInputValue,
554
567
  filter
555
568
  };
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;
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;
569
582
  const hasResults = filteredOptions.length > 0;
570
583
  const shouldShowPopover = isPopoverOpen && hasResults;
571
584
  const reportedOpenRef = useRef(shouldShowPopover);
572
- let t20;
573
585
  let t21;
574
- if ($[25] !== onOpenChange || $[26] !== shouldShowPopover) {
575
- t20 = () => {
586
+ let t22;
587
+ if ($[26] !== onOpenChange || $[27] !== shouldShowPopover) {
588
+ t21 = () => {
576
589
  if (reportedOpenRef.current === shouldShowPopover) return;
577
590
  reportedOpenRef.current = shouldShowPopover;
578
591
  onOpenChange?.(shouldShowPopover);
579
592
  };
580
- t21 = [shouldShowPopover, onOpenChange];
581
- $[25] = onOpenChange;
582
- $[26] = shouldShowPopover;
583
- $[27] = t20;
593
+ t22 = [shouldShowPopover, onOpenChange];
594
+ $[26] = onOpenChange;
595
+ $[27] = shouldShowPopover;
584
596
  $[28] = t21;
597
+ $[29] = t22;
585
598
  } else {
586
- t20 = $[27];
587
599
  t21 = $[28];
600
+ t22 = $[29];
588
601
  }
589
- useEffect(t20, t21);
602
+ useEffect(t21, t22);
590
603
  const { isFocused, focusProps } = useFocus$1();
591
- let t22;
592
- if ($[29] !== isControlledKey || $[30] !== setInternalSelectedKey) {
593
- t22 = (key) => {
604
+ let t23;
605
+ if ($[30] !== isControlledKey || $[31] !== setInternalSelectedKey) {
606
+ t23 = (key) => {
594
607
  if (!isControlledKey) setInternalSelectedKey(key);
595
608
  };
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) => {
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) => {
604
617
  if (!isControlledInput) setInternalInputValue(null);
605
618
  if (label_0 !== effectiveInputValue) onInputChange?.(label_0);
606
619
  };
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 = () => {
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 = () => {
617
630
  if (effectiveSelectedKey != null) {
618
631
  externalOnSelectionChange?.(null);
619
632
  setSelectedKey(null);
620
633
  }
621
634
  showSelectionLabel("");
622
635
  };
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;
636
+ $[38] = effectiveSelectedKey;
637
+ $[39] = externalOnSelectionChange;
638
+ $[40] = setSelectedKey;
639
+ $[41] = showSelectionLabel;
640
+ $[42] = t25;
641
+ } else t25 = $[42];
642
+ const clearSelectionAndInput = t25;
638
643
  let t26;
639
- if ($[45] !== clearSelectionAndInput || $[46] !== effectiveInputValue || $[47] !== effectiveSelectedKey || $[48] !== externalOnSelectionChange || $[49] !== restoreSelectedLabel || $[50] !== setSelectedKey || $[51] !== shouldCommitOnBlur || $[52] !== showSelectionLabel) {
640
- 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 = () => {
641
654
  const value_0 = effectiveInputValue.trim();
642
655
  if (shouldCommitOnBlur && value_0 && effectiveSelectedKey == null) {
643
656
  externalOnSelectionChange?.(value_0);
@@ -646,20 +659,20 @@ const ComboBox = forwardRef(function ComboBox(props, ref) {
646
659
  } else if (!value_0) clearSelectionAndInput();
647
660
  else restoreSelectedLabel();
648
661
  };
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 = () => {
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 = () => {
663
676
  const matchKey = findTypedOption(filteredOptions, effectiveInputValue, effectiveSelectedKey, localCollectionState.disabledKeys, isSameText);
664
677
  if (matchKey != null && matchKey !== effectiveSelectedKey) {
665
678
  setSelectedKey(matchKey);
@@ -668,98 +681,86 @@ const ComboBox = forwardRef(function ComboBox(props, ref) {
668
681
  } else if (matchKey == null && (clearOnBlur || !effectiveInputValue.trim())) clearSelectionAndInput();
669
682
  else restoreSelectedLabel();
670
683
  };
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 = () => {
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 = () => {
689
702
  setIsPopoverOpen(false);
690
703
  if (isReadOnly) {} else if (allowsCustomValue) settleCustomValueOnBlur();
691
704
  else settleOptionOnBlur();
692
705
  onBlur?.();
693
706
  setIsFilterActive(false);
694
707
  };
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,
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,
710
723
  popoverRef,
711
724
  onFocus,
712
725
  onBlur: handleCompositeBlur,
713
726
  isDisabled
714
727
  };
715
- $[75] = handleCompositeBlur;
716
- $[76] = isDisabled;
717
- $[77] = onFocus;
718
- $[78] = popoverRef;
719
- $[79] = t29;
728
+ $[76] = handleCompositeBlur;
729
+ $[77] = isDisabled;
730
+ $[78] = onFocus;
731
+ $[79] = popoverRef;
720
732
  $[80] = t30;
721
- } else t30 = $[80];
722
- const { compositeFocusProps } = useCompositeFocus(t30);
723
- let t31;
724
- if ($[81] !== isInvalid || $[82] !== isValid) {
725
- t31 = getValidationIcon({
733
+ $[81] = t31;
734
+ } else t31 = $[81];
735
+ const { compositeFocusProps } = useCompositeFocus(t31);
736
+ let t32;
737
+ if ($[82] !== isInvalid || $[83] !== isValid) {
738
+ t32 = getValidationIcon({
726
739
  isInvalid,
727
740
  isValid
728
741
  });
729
- $[81] = isInvalid;
730
- $[82] = isValid;
731
- $[83] = t31;
732
- } else t31 = $[83];
733
- const validationIcon = t31;
742
+ $[82] = isInvalid;
743
+ $[83] = isValid;
744
+ $[84] = t32;
745
+ } else t32 = $[84];
746
+ const validationIcon = t32;
734
747
  const listStateRef = useRef(null);
735
748
  const [activeOptionKey, setActiveOptionKey] = useState(null);
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);
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
+ });
759
760
  const lastSyncedSelectedKey = useRef(void 0);
760
761
  const selectionClearedByTyping = useRef(false);
761
762
  let t33;
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) {
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) {
763
764
  t33 = (e) => {
764
765
  const value_1 = e.target.value;
765
766
  if (!isControlledInput) setInternalInputValue(value_1);
@@ -773,23 +774,23 @@ const ComboBox = forwardRef(function ComboBox(props, ref) {
773
774
  }
774
775
  if (popoverTrigger !== "manual" && value_1 && !isPopoverOpen) setIsPopoverOpen(true);
775
776
  };
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];
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];
790
791
  const handleInputChange = useEvent(t33);
791
792
  let t34;
792
- if ($[105] !== effectiveSelectedKey || $[106] !== isControlledInput || $[107] !== isControlledKey || $[108] !== setInternalInputValue) {
793
+ if ($[98] !== effectiveSelectedKey || $[99] !== isControlledInput || $[100] !== isControlledKey || $[101] !== setInternalInputValue) {
793
794
  t34 = () => {
794
795
  const preserveTypedInput = selectionClearedByTyping.current;
795
796
  selectionClearedByTyping.current = false;
@@ -799,14 +800,14 @@ const ComboBox = forwardRef(function ComboBox(props, ref) {
799
800
  if (preserveTypedInput && effectiveSelectedKey == null) return;
800
801
  setInternalInputValue(null);
801
802
  };
802
- $[105] = effectiveSelectedKey;
803
- $[106] = isControlledInput;
804
- $[107] = isControlledKey;
805
- $[108] = setInternalInputValue;
806
- $[109] = t34;
807
- } else t34 = $[109];
803
+ $[98] = effectiveSelectedKey;
804
+ $[99] = isControlledInput;
805
+ $[100] = isControlledKey;
806
+ $[101] = setInternalInputValue;
807
+ $[102] = t34;
808
+ } else t34 = $[102];
808
809
  let t35;
809
- if ($[110] !== effectiveInputValue || $[111] !== effectiveSelectedKey || $[112] !== isControlledInput || $[113] !== isControlledKey || $[114] !== setInternalInputValue) {
810
+ if ($[103] !== effectiveInputValue || $[104] !== effectiveSelectedKey || $[105] !== isControlledInput || $[106] !== isControlledKey || $[107] !== setInternalInputValue) {
810
811
  t35 = [
811
812
  isControlledKey,
812
813
  isControlledInput,
@@ -814,115 +815,92 @@ const ComboBox = forwardRef(function ComboBox(props, ref) {
814
815
  effectiveInputValue,
815
816
  setInternalInputValue
816
817
  ];
817
- $[110] = effectiveInputValue;
818
- $[111] = effectiveSelectedKey;
819
- $[112] = isControlledInput;
820
- $[113] = isControlledKey;
821
- $[114] = setInternalInputValue;
822
- $[115] = t35;
823
- } else t35 = $[115];
818
+ $[103] = effectiveInputValue;
819
+ $[104] = effectiveSelectedKey;
820
+ $[105] = isControlledInput;
821
+ $[106] = isControlledKey;
822
+ $[107] = setInternalInputValue;
823
+ $[108] = t35;
824
+ } else t35 = $[108];
824
825
  useEffect(t34, t35);
825
826
  const showClearButton = isClearable && (allowsCustomValue ? effectiveInputValue !== "" : effectiveSelectedKey != null) && !isDisabled && !isReadOnly;
826
827
  let t36;
827
- if ($[116] !== hasResults || $[117] !== isDisabled || $[118] !== isReadOnly || $[119] !== setIsFilterActive || $[120] !== setIsPopoverOpen) {
828
+ if ($[109] !== hasResults || $[110] !== isDisabled || $[111] !== isReadOnly || $[112] !== setIsFilterActive || $[113] !== setIsPopoverOpen) {
828
829
  t36 = () => {
829
830
  if (isReadOnly || isDisabled) return;
830
831
  if (!hasResults) setIsFilterActive(false);
831
832
  setIsPopoverOpen(true);
832
833
  };
833
- $[116] = hasResults;
834
- $[117] = isDisabled;
835
- $[118] = isReadOnly;
836
- $[119] = setIsFilterActive;
837
- $[120] = setIsPopoverOpen;
838
- $[121] = t36;
839
- } else t36 = $[121];
834
+ $[109] = hasResults;
835
+ $[110] = isDisabled;
836
+ $[111] = isReadOnly;
837
+ $[112] = setIsFilterActive;
838
+ $[113] = setIsPopoverOpen;
839
+ $[114] = t36;
840
+ } else t36 = $[114];
840
841
  const openList = t36;
842
+ const toggleList = () => {
843
+ if (shouldShowPopover) setIsPopoverOpen(false);
844
+ else openList();
845
+ inputRef.current?.focus();
846
+ };
841
847
  let t37;
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) => {
848
+ if ($[115] !== focusProps || $[116] !== isPopoverOpen || $[117] !== openList || $[118] !== popoverTrigger) {
849
+ t37 = (e_0) => {
858
850
  focusProps.onFocus?.(e_0);
859
851
  if (popoverTrigger === "focus" && !isPopoverOpen) openList();
860
852
  };
861
- $[127] = focusProps;
862
- $[128] = isPopoverOpen;
863
- $[129] = openList;
864
- $[130] = popoverTrigger;
865
- $[131] = t38;
866
- } else t38 = $[131];
867
- const handleInputFocus = useEvent(t38);
853
+ $[115] = focusProps;
854
+ $[116] = isPopoverOpen;
855
+ $[117] = openList;
856
+ $[118] = popoverTrigger;
857
+ $[119] = t37;
858
+ } else t37 = $[119];
859
+ const handleInputFocus = useEvent(t37);
868
860
  const pressStartedOnInputRef = useRef(false);
869
- let t39;
870
- if ($[132] !== hasResults || $[133] !== openList || $[134] !== popoverTrigger || $[135] !== shouldShowPopover) {
871
- t39 = () => {
861
+ let t38;
862
+ if ($[120] !== hasResults || $[121] !== openList || $[122] !== popoverTrigger || $[123] !== shouldShowPopover) {
863
+ t38 = () => {
872
864
  const isInputPress = pressStartedOnInputRef.current;
873
865
  pressStartedOnInputRef.current = false;
874
866
  if (!isInputPress || popoverTrigger === "manual") return;
875
867
  if (!shouldShowPopover && hasResults) openList();
876
868
  };
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) => {
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) => {
887
879
  focusProps.onBlur?.(e_1);
888
880
  };
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);
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;
916
901
  let 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 = {
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 = {
926
904
  isListShown: shouldShowPopover,
927
905
  isReadOnly,
928
906
  listStateRef,
@@ -935,107 +913,100 @@ const ComboBox = forwardRef(function ComboBox(props, ref) {
935
913
  onSelectionChange: handleSelectionChange,
936
914
  onClearValue: clearValue,
937
915
  onOpenList: openList,
938
- onCloseList: t42,
939
- inputRef: t43,
916
+ onCloseList: t40,
917
+ inputRef: t41,
940
918
  onVirtualFocus: setActiveOptionKey,
941
919
  onKeyDown
942
920
  };
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);
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);
960
939
  if (icon) {
961
- let t45;
962
- if ($[166] !== icon) {
963
- t45 = /* @__PURE__ */ jsx("div", {
940
+ let t43;
941
+ if ($[145] !== icon) {
942
+ t43 = /* @__PURE__ */ jsx("div", {
964
943
  "data-element": "InputIcon",
965
944
  children: icon
966
945
  });
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;
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;
981
952
  }
982
- let t45;
983
- if ($[171] !== isInvalid || $[172] !== isValid) {
984
- t45 = getValidationMods({
953
+ let t43;
954
+ if ($[147] !== isInvalid || $[148] !== isValid) {
955
+ t43 = getValidationMods({
985
956
  isInvalid,
986
957
  isValid
987
958
  });
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,
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,
997
968
  disabled: isDisabled,
998
969
  hovered: false,
999
970
  focused: isFocused,
1000
971
  loading: isLoading,
1001
- prefix: t46,
972
+ prefix: t44,
1002
973
  suffix: true,
1003
974
  clearable: showClearButton
1004
975
  };
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;
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;
1014
985
  const [comboBoxWidth, setComboBoxWidth] = useState();
1015
- let t48;
1016
- let t49;
1017
- if ($[181] !== hasResults || $[182] !== isPopoverOpen || $[183] !== setIsPopoverOpen) {
1018
- t48 = () => {
986
+ let t46;
987
+ let t47;
988
+ if ($[157] !== hasResults || $[158] !== isPopoverOpen || $[159] !== setIsPopoverOpen) {
989
+ t46 = () => {
1019
990
  if (isPopoverOpen && !hasResults) setIsPopoverOpen(false);
1020
991
  };
1021
- t49 = [
992
+ t47 = [
1022
993
  isPopoverOpen,
1023
994
  hasResults,
1024
995
  setIsPopoverOpen
1025
996
  ];
1026
- $[181] = hasResults;
1027
- $[182] = isPopoverOpen;
1028
- $[183] = setIsPopoverOpen;
1029
- $[184] = t48;
1030
- $[185] = t49;
997
+ $[157] = hasResults;
998
+ $[158] = isPopoverOpen;
999
+ $[159] = setIsPopoverOpen;
1000
+ $[160] = t46;
1001
+ $[161] = t47;
1031
1002
  } else {
1032
- t48 = $[184];
1033
- t49 = $[185];
1003
+ t46 = $[160];
1004
+ t47 = $[161];
1034
1005
  }
1035
- useEffect(t48, t49);
1036
- let t50;
1037
- if ($[186] !== effectiveSelectedKey || $[187] !== shouldShowPopover || $[188] !== wrapperRef) {
1038
- t50 = () => {
1006
+ useEffect(t46, t47);
1007
+ let t48;
1008
+ if ($[162] !== effectiveSelectedKey || $[163] !== setActiveOptionKey || $[164] !== shouldShowPopover || $[165] !== wrapperRef) {
1009
+ t48 = () => {
1039
1010
  if (!shouldShowPopover) return;
1040
1011
  setComboBoxWidth(wrapperRef.current?.offsetWidth);
1041
1012
  let attempts = 0;
@@ -1051,84 +1022,84 @@ const ComboBox = forwardRef(function ComboBox(props, ref) {
1051
1022
  });
1052
1023
  return () => cancelAnimationFrame(frame);
1053
1024
  };
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 = [
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 = [
1063
1034
  shouldShowPopover,
1064
1035
  effectiveSelectedKey,
1065
1036
  effectiveInputValue,
1066
- t51
1037
+ wrapperRef
1067
1038
  ];
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", {
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", {
1087
1059
  "data-element": "Prefix",
1088
1060
  children: prefix
1089
1061
  }) : null;
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 = {
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 = {
1098
1069
  ...focusProps,
1099
1070
  onBlur: handleInputBlur
1100
1071
  };
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 = () => {
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 = () => {
1108
1079
  pressStartedOnInputRef.current = true;
1109
1080
  };
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
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
1121
1092
  };
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,
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,
1132
1103
  id,
1133
1104
  value: effectiveInputValue,
1134
1105
  placeholder,
@@ -1141,53 +1112,54 @@ const ComboBox = forwardRef(function ComboBox(props, ref) {
1141
1112
  mods,
1142
1113
  inputStyles,
1143
1114
  keyboardProps,
1144
- focusProps: t57,
1115
+ focusProps: t53,
1145
1116
  isListShown: shouldShowPopover,
1146
1117
  comboBoxId,
1147
1118
  activeDescendant,
1148
1119
  onChange: handleInputChange,
1149
1120
  onFocus: handleInputFocus,
1150
- onPointerDown: t58,
1121
+ onPointerDown: t54,
1151
1122
  onClick: handleInputClick,
1152
- ariaProps: t62,
1123
+ ariaProps: t58,
1153
1124
  isInvalid
1154
1125
  });
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, {
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, {
1191
1163
  excludeFromTabOrder: true,
1192
1164
  icon: /* @__PURE__ */ jsx(CloseIcon, {}),
1193
1165
  size,
@@ -1197,16 +1169,16 @@ const ComboBox = forwardRef(function ComboBox(props, ref) {
1197
1169
  "aria-label": t("comboBox.clearValue", "Clear value"),
1198
1170
  onPress: clearValue
1199
1171
  });
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, {
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, {
1210
1182
  ref: triggerRef,
1211
1183
  excludeFromTabOrder: true,
1212
1184
  "data-popover-trigger": true,
@@ -1225,49 +1197,49 @@ const ComboBox = forwardRef(function ComboBox(props, ref) {
1225
1197
  "aria-label": t("comboBox.showOptions", "Show options"),
1226
1198
  onPress: toggleList
1227
1199
  }) : null;
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", {
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", {
1242
1214
  "data-element": "Suffix",
1243
1215
  children: [
1244
- t64,
1245
- t65,
1246
- t66,
1247
- t67,
1248
- t68
1216
+ t60,
1217
+ t61,
1218
+ t62,
1219
+ t63,
1220
+ t64
1249
1221
  ]
1250
1222
  });
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, {
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, {
1269
1241
  isOpen: shouldShowPopover,
1270
- triggerRef: t70,
1242
+ triggerRef: t66,
1271
1243
  popoverRef,
1272
1244
  listBoxRef,
1273
1245
  direction,
@@ -1289,61 +1261,79 @@ const ComboBox = forwardRef(function ComboBox(props, ref) {
1289
1261
  items: sortedItems,
1290
1262
  listStateRef,
1291
1263
  label,
1292
- ariaLabel: t71,
1264
+ ariaLabel: t67,
1293
1265
  compositeFocusProps,
1294
1266
  filter: filterFn,
1295
1267
  size,
1296
1268
  onSelectionChange: handleSelectionChange,
1297
- onClose: t72,
1269
+ onClose: t68,
1298
1270
  children
1299
1271
  });
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
- });
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;
1347
1337
  });
1348
1338
  ComboBox.Item = _CollectionItem;
1349
1339
  ComboBox.Section = Section;