@cube-dev/ui-kit 0.201.0 → 0.202.0

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