@cube-dev/ui-kit 0.187.2 → 0.189.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 (683) hide show
  1. package/README.md +4 -0
  2. package/dist/CHANGELOG.md +47 -0
  3. package/dist/README.md +4 -0
  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 +3 -6
  15. package/dist/components/GlobalStyles.js.map +1 -1
  16. package/dist/components/GridProvider.js +1 -1
  17. package/dist/components/HiddenInput.js +1 -1
  18. package/dist/components/Root.js +1 -1
  19. package/dist/components/actions/Action/Action.d.ts +4 -0
  20. package/dist/components/actions/Action/Action.js +1 -1
  21. package/dist/components/actions/Action/Action.js.map +1 -1
  22. package/dist/components/actions/Banner/Banner.js +1 -1
  23. package/dist/components/actions/Button/Button.js +2 -2
  24. package/dist/components/actions/Button/Button.js.map +1 -1
  25. package/dist/components/actions/ButtonGroup/ButtonGroup.js +1 -1
  26. package/dist/components/actions/ButtonSplit/ButtonSplit.js +40 -19
  27. package/dist/components/actions/ButtonSplit/ButtonSplit.js.map +1 -1
  28. package/dist/components/actions/ButtonSplit/context.js +1 -1
  29. package/dist/components/actions/CommandMenu/CommandMenu.js +4 -7
  30. package/dist/components/actions/CommandMenu/CommandMenu.js.map +1 -1
  31. package/dist/components/actions/CommandMenu/styled.js +1 -1
  32. package/dist/components/actions/ItemAction/ItemAction.js +1 -1
  33. package/dist/components/actions/ItemAction/ItemAction.js.map +1 -1
  34. package/dist/components/actions/ItemActionContext.js +1 -1
  35. package/dist/components/actions/ItemActionsWrapper.js +1 -1
  36. package/dist/components/actions/ItemActionsWrapper.js.map +1 -1
  37. package/dist/components/actions/ItemButton/ItemButton.js +3 -3
  38. package/dist/components/actions/ItemButton/ItemButton.js.map +1 -1
  39. package/dist/components/actions/Link/Link.js +1 -1
  40. package/dist/components/actions/Menu/Menu.js +1 -1
  41. package/dist/components/actions/Menu/MenuItem.js +1 -1
  42. package/dist/components/actions/Menu/MenuSection.js +7 -5
  43. package/dist/components/actions/Menu/MenuSection.js.map +1 -1
  44. package/dist/components/actions/Menu/MenuTrigger.js +1 -1
  45. package/dist/components/actions/Menu/SubMenuTrigger.js +1 -1
  46. package/dist/components/actions/Menu/SubmenuTriggerContext.js +1 -1
  47. package/dist/components/actions/Menu/context.js +1 -1
  48. package/dist/components/actions/Menu/styled.js +4 -6
  49. package/dist/components/actions/Menu/styled.js.map +1 -1
  50. package/dist/components/actions/actions-run.js +1 -1
  51. package/dist/components/actions/index.js +1 -1
  52. package/dist/components/actions/use-action.d.ts +4 -0
  53. package/dist/components/actions/use-action.js +6 -1
  54. package/dist/components/actions/use-action.js.map +1 -1
  55. package/dist/components/actions/use-anchored-menu.js +1 -1
  56. package/dist/components/actions/use-context-menu.js +1 -1
  57. package/dist/components/content/ActiveZone/ActiveZone.js +1 -1
  58. package/dist/components/content/Alert/Alert.js +1 -1
  59. package/dist/components/content/Alert/Alert.js.map +1 -1
  60. package/dist/components/content/Alert/use-alert.js +1 -1
  61. package/dist/components/content/Avatar/Avatar.js +1 -1
  62. package/dist/components/content/Badge/Badge.js +1 -1
  63. package/dist/components/content/Badge/Badge.js.map +1 -1
  64. package/dist/components/content/Card/Card.js +1 -1
  65. package/dist/components/content/Content.js +1 -1
  66. package/dist/components/content/CopyPasteBlock/CopyPasteBlock.js +1 -1
  67. package/dist/components/content/CopySnippet/CopySnippet.js +1 -1
  68. package/dist/components/content/Disclosure/Disclosure.js +53 -78
  69. package/dist/components/content/Disclosure/Disclosure.js.map +1 -1
  70. package/dist/components/content/Divider.js +1 -1
  71. package/dist/components/content/Footer.js +1 -1
  72. package/dist/components/content/Header.js +1 -1
  73. package/dist/components/content/HotKeys/HotKeys.js +1 -1
  74. package/dist/components/content/InfoBadge/InfoBadge.d.ts +7 -1
  75. package/dist/components/content/InfoBadge/InfoBadge.js +6 -1
  76. package/dist/components/content/InfoBadge/InfoBadge.js.map +1 -1
  77. package/dist/components/content/InlineInput/InlineInput.js +1 -1
  78. package/dist/components/content/Item/Item.js +11 -10
  79. package/dist/components/content/Item/Item.js.map +1 -1
  80. package/dist/components/content/ItemBadge/ItemBadge.js +1 -1
  81. package/dist/components/content/ItemCard/ItemCard.js +1 -1
  82. package/dist/components/content/Layout/GridLayout.js +1 -1
  83. package/dist/components/content/Layout/Layout.js +1 -1
  84. package/dist/components/content/Layout/LayoutBlock.js +1 -1
  85. package/dist/components/content/Layout/LayoutCenter.js +1 -1
  86. package/dist/components/content/Layout/LayoutContainer.js +1 -1
  87. package/dist/components/content/Layout/LayoutContent.js +1 -1
  88. package/dist/components/content/Layout/LayoutContext.js +1 -1
  89. package/dist/components/content/Layout/LayoutFlex.js +1 -1
  90. package/dist/components/content/Layout/LayoutFooter.js +1 -1
  91. package/dist/components/content/Layout/LayoutGrid.js +1 -1
  92. package/dist/components/content/Layout/LayoutHeader.js +1 -1
  93. package/dist/components/content/Layout/LayoutPane.js +1 -1
  94. package/dist/components/content/Layout/LayoutPanel.js +1 -1
  95. package/dist/components/content/Layout/LayoutPanelHeader.js +1 -1
  96. package/dist/components/content/Layout/LayoutToolbar.js +1 -1
  97. package/dist/components/content/Layout/hooks/useTinyScrollbar.js +1 -1
  98. package/dist/components/content/Layout/index.js +1 -1
  99. package/dist/components/content/Layout/utils.js +1 -1
  100. package/dist/components/content/Paragraph.js +1 -1
  101. package/dist/components/content/Placeholder/Placeholder.js +13 -22
  102. package/dist/components/content/Placeholder/Placeholder.js.map +1 -1
  103. package/dist/components/content/PrismCode/PrismCode.js +1 -1
  104. package/dist/components/content/PrismCode/prismSetup.js +1 -1
  105. package/dist/components/content/PrismDiffCode/PrismDiffCode.js +1 -1
  106. package/dist/components/content/Result/Result.d.ts +34 -4
  107. package/dist/components/content/Result/Result.js +199 -95
  108. package/dist/components/content/Result/Result.js.map +1 -1
  109. package/dist/components/content/Skeleton/Skeleton.js +1 -1
  110. package/dist/components/content/Tag/Tag.js +3 -5
  111. package/dist/components/content/Tag/Tag.js.map +1 -1
  112. package/dist/components/content/Text.d.ts +14 -14
  113. package/dist/components/content/Text.js +1 -1
  114. package/dist/components/content/TextItem/TextItem.js +1 -1
  115. package/dist/components/content/Title.d.ts +2 -0
  116. package/dist/components/content/Title.js +1 -1
  117. package/dist/components/content/Title.js.map +1 -1
  118. package/dist/components/content/Tree/Tree.js +1 -1
  119. package/dist/components/content/Tree/TreeNode.js +1 -1
  120. package/dist/components/content/Tree/styled.js +1 -1
  121. package/dist/components/content/Tree/styled.js.map +1 -1
  122. package/dist/components/content/Tree/tree-index.js +1 -1
  123. package/dist/components/content/Tree/use-checkbox-tree.js +1 -1
  124. package/dist/components/content/Tree/use-load-data.js +1 -1
  125. package/dist/components/content/highlightText.js +1 -1
  126. package/dist/components/content/use-auto-tooltip.js +1 -1
  127. package/dist/components/data/DataTable/DataTable.js +33 -10
  128. package/dist/components/data/DataTable/DataTable.js.map +1 -1
  129. package/dist/components/data/DataTable/types.d.ts +3 -1
  130. package/dist/components/data/ItemTable/ItemTable.js +3 -6
  131. package/dist/components/data/ItemTable/ItemTable.js.map +1 -1
  132. package/dist/components/data/ItemTable/ItemTableBulkBar.js +1 -1
  133. package/dist/components/data/ItemTable/ItemTableDragPreview.js +1 -1
  134. package/dist/components/data/ItemTable/ItemTableFooter.js +1 -1
  135. package/dist/components/data/ItemTable/ItemTableToolbar.js +1 -1
  136. package/dist/components/data/TableBase/ColumnResizer.js +1 -1
  137. package/dist/components/data/TableBase/RowCollection.js +1 -1
  138. package/dist/components/data/TableBase/TableHeaderCell.js +1 -1
  139. package/dist/components/data/TableBase/TableRow.js +1 -1
  140. package/dist/components/data/TableBase/TableView.js +9 -7
  141. package/dist/components/data/TableBase/TableView.js.map +1 -1
  142. package/dist/components/data/TableBase/column-menu.js +1 -1
  143. package/dist/components/data/TableBase/column-styles.js +82 -0
  144. package/dist/components/data/TableBase/column-styles.js.map +1 -0
  145. package/dist/components/data/TableBase/column-tint.js +1 -1
  146. package/dist/components/data/TableBase/row-menu.js +1 -1
  147. package/dist/components/data/TableBase/styled.js +8 -10
  148. package/dist/components/data/TableBase/styled.js.map +1 -1
  149. package/dist/components/data/TableBase/table-tree.js +1 -1
  150. package/dist/components/data/TableBase/types.d.ts +11 -0
  151. package/dist/components/data/TableBase/types.js +1 -1
  152. package/dist/components/data/TableBase/types.js.map +1 -1
  153. package/dist/components/data/TableBase/use-cell-selection.js +0 -0
  154. package/dist/components/data/TableBase/use-column-order.js +1 -1
  155. package/dist/components/data/TableBase/use-container-width.js +1 -1
  156. package/dist/components/data/TableBase/use-row-move-animation.js +1 -1
  157. package/dist/components/data/TableBase/use-scrollability.js +1 -1
  158. package/dist/components/data/TableBase/use-table-columns.js +1 -1
  159. package/dist/components/data/TableBase/use-table-search.js +1 -1
  160. package/dist/components/data/TableBase/use-table-selection.js +1 -1
  161. package/dist/components/data/TableBase/use-table-sort.js +1 -1
  162. package/dist/components/data/TableBase/use-table-sorts.js +1 -1
  163. package/dist/components/data/TableBase/use-table-storage.js +1 -1
  164. package/dist/components/data/TableBase/use-table-tree-state.js +1 -1
  165. package/dist/components/fields/Checkbox/Checkbox.js +1 -1
  166. package/dist/components/fields/Checkbox/CheckboxGroup.js +1 -1
  167. package/dist/components/fields/Checkbox/context.js +1 -1
  168. package/dist/components/fields/ColorInput/ColorInput.js +1 -1
  169. package/dist/components/fields/ColorPicker/ColorPicker.js +1 -1
  170. package/dist/components/fields/ColorSwatch/ColorSwatch.js +1 -1
  171. package/dist/components/fields/ColorSwatchGroup/ColorSwatchGroup.js +1 -1
  172. package/dist/components/fields/ComboBox/ComboBox.d.ts +9 -4
  173. package/dist/components/fields/ComboBox/ComboBox.js +2 -1
  174. package/dist/components/fields/ComboBox/ComboBox.js.map +1 -1
  175. package/dist/components/fields/CommandTextArea/CommandTextArea.js +3 -5
  176. package/dist/components/fields/CommandTextArea/CommandTextArea.js.map +1 -1
  177. package/dist/components/fields/CommandTextArea/caretPosition.js +1 -1
  178. package/dist/components/fields/CommandTextArea/useCaretAnchor.js +1 -1
  179. package/dist/components/fields/DatePicker/DateInput.js +1 -1
  180. package/dist/components/fields/DatePicker/DateInputBase.js +1 -1
  181. package/dist/components/fields/DatePicker/DateInputBase.js.map +1 -1
  182. package/dist/components/fields/DatePicker/DatePicker.js +119 -129
  183. package/dist/components/fields/DatePicker/DatePicker.js.map +1 -1
  184. package/dist/components/fields/DatePicker/DatePickerButton.js +1 -1
  185. package/dist/components/fields/DatePicker/DatePickerElement.js +1 -1
  186. package/dist/components/fields/DatePicker/DatePickerInput.js +1 -1
  187. package/dist/components/fields/DatePicker/DatePickerSegment.js +1 -1
  188. package/dist/components/fields/DatePicker/DateRangePicker.js +128 -138
  189. package/dist/components/fields/DatePicker/DateRangePicker.js.map +1 -1
  190. package/dist/components/fields/DatePicker/DateRangeSeparatedPicker.js +321 -331
  191. package/dist/components/fields/DatePicker/DateRangeSeparatedPicker.js.map +1 -1
  192. package/dist/components/fields/DatePicker/MonthPicker.js +1 -1
  193. package/dist/components/fields/DatePicker/PeriodPicker.js +163 -179
  194. package/dist/components/fields/DatePicker/PeriodPicker.js.map +1 -1
  195. package/dist/components/fields/DatePicker/QuarterPicker.js +1 -1
  196. package/dist/components/fields/DatePicker/TimeInput.js +1 -1
  197. package/dist/components/fields/DatePicker/WeekPicker.js +1 -1
  198. package/dist/components/fields/DatePicker/YearPicker.js +1 -1
  199. package/dist/components/fields/DatePicker/parseDate.js +1 -1
  200. package/dist/components/fields/DatePicker/period.js +1 -1
  201. package/dist/components/fields/DatePicker/props.js +1 -1
  202. package/dist/components/fields/DatePicker/utils.js +1 -1
  203. package/dist/components/fields/FileInput/FileInput.js +1 -1
  204. package/dist/components/fields/FilterListBox/FilterListBox.js +1 -1
  205. package/dist/components/fields/FilterListBox/FilterListBox.js.map +1 -1
  206. package/dist/components/fields/FilterPicker/FilterPicker.js +5 -6
  207. package/dist/components/fields/FilterPicker/FilterPicker.js.map +1 -1
  208. package/dist/components/fields/Input/Input.js +1 -1
  209. package/dist/components/fields/ListBox/DraggableListBox.js +1 -1
  210. package/dist/components/fields/ListBox/ListBox.js +1 -1
  211. package/dist/components/fields/ListBox/optionId.js +1 -1
  212. package/dist/components/fields/ListBoxPopover/ListBoxPopover.js +46 -44
  213. package/dist/components/fields/ListBoxPopover/ListBoxPopover.js.map +1 -1
  214. package/dist/components/fields/ListBoxPopover/listNavigation.js +1 -1
  215. package/dist/components/fields/ListBoxPopover/useCompositeFocus.js +1 -1
  216. package/dist/components/fields/NumberInput/NumberInput.d.ts +2 -2
  217. package/dist/components/fields/NumberInput/NumberInput.js +1 -1
  218. package/dist/components/fields/NumberInput/NumberInput.js.map +1 -1
  219. package/dist/components/fields/NumberInput/StepButton.js +3 -3
  220. package/dist/components/fields/NumberInput/StepButton.js.map +1 -1
  221. package/dist/components/fields/PasswordInput/PasswordInput.d.ts +2 -1
  222. package/dist/components/fields/PasswordInput/PasswordInput.js +1 -1
  223. package/dist/components/fields/PasswordInput/PasswordInput.js.map +1 -1
  224. package/dist/components/fields/Picker/Picker.js +5 -6
  225. package/dist/components/fields/Picker/Picker.js.map +1 -1
  226. package/dist/components/fields/RadioGroup/Radio.js +1 -1
  227. package/dist/components/fields/RadioGroup/RadioGroup.js +1 -1
  228. package/dist/components/fields/RadioGroup/context.js +1 -1
  229. package/dist/components/fields/SearchComboBox/SearchComboBox.d.ts +9 -4
  230. package/dist/components/fields/SearchComboBox/SearchComboBox.js +2 -1
  231. package/dist/components/fields/SearchComboBox/SearchComboBox.js.map +1 -1
  232. package/dist/components/fields/SearchInput/SearchInput.js +1 -1
  233. package/dist/components/fields/Select/Select.js +68 -66
  234. package/dist/components/fields/Select/Select.js.map +1 -1
  235. package/dist/components/fields/Slider/Gradation.js +1 -1
  236. package/dist/components/fields/Slider/HueSlider.js +33 -43
  237. package/dist/components/fields/Slider/HueSlider.js.map +1 -1
  238. package/dist/components/fields/Slider/RangeSlider.js +1 -1
  239. package/dist/components/fields/Slider/Slider.js +1 -1
  240. package/dist/components/fields/Slider/SliderBase.js +1 -1
  241. package/dist/components/fields/Slider/SliderThumb.js +1 -1
  242. package/dist/components/fields/Slider/SliderTrack.js +1 -1
  243. package/dist/components/fields/Slider/elements.js +1 -1
  244. package/dist/components/fields/Slider/index.js +1 -1
  245. package/dist/components/fields/Switch/Switch.js +1 -1
  246. package/dist/components/fields/TagInput/TagInput.js +170 -158
  247. package/dist/components/fields/TagInput/TagInput.js.map +1 -1
  248. package/dist/components/fields/TagInput/TagList.js +1 -1
  249. package/dist/components/fields/TextArea/TextArea.js +1 -1
  250. package/dist/components/fields/TextInput/TextInput.d.ts +2 -2
  251. package/dist/components/fields/TextInput/TextInput.js +1 -1
  252. package/dist/components/fields/TextInput/TextInput.js.map +1 -1
  253. package/dist/components/fields/TextInput/TextInputBase.d.ts +2 -2
  254. package/dist/components/fields/TextInput/TextInputBase.js +1 -1
  255. package/dist/components/fields/TextInput/TextInputBase.js.map +1 -1
  256. package/dist/components/fields/TextInput/useAutoSizeTextArea.js +1 -1
  257. package/dist/components/fields/TextInputMapper/TextInputMapper.js +1 -1
  258. package/dist/components/fields/TriggerActions.js +1 -1
  259. package/dist/components/fields/color/ColorPanel.js +1 -1
  260. package/dist/components/fields/color/channels.js +1 -1
  261. package/dist/components/fields/color/color.js +1 -1
  262. package/dist/components/fields/color/context.js +1 -1
  263. package/dist/components/form/FieldWrapper/FieldWrapper.js +1 -1
  264. package/dist/components/form/Form/Field.js +1 -1
  265. package/dist/components/form/Form/Form.js +1 -1
  266. package/dist/components/form/Form/ModernFormRoot.js +1 -1
  267. package/dist/components/form/Form/ResetButton/ResetButton.js +1 -1
  268. package/dist/components/form/Form/SubmitButton/SubmitButton.js +1 -1
  269. package/dist/components/form/Form/SubmitError.js +1 -1
  270. package/dist/components/form/Form/backend.js +1 -1
  271. package/dist/components/form/Form/index.js +1 -1
  272. package/dist/components/form/Form/modern/actions.js +1 -1
  273. package/dist/components/form/Form/modern/context.js +1 -1
  274. package/dist/components/form/Form/modern/controller.js +1 -1
  275. package/dist/components/form/Form/modern/field-binding.js +1 -1
  276. package/dist/components/form/Form/modern/field.js +1 -1
  277. package/dist/components/form/Form/modern/react.js +1 -1
  278. package/dist/components/form/Form/modern/store.js +1 -1
  279. package/dist/components/form/Form/modern/validation.js +1 -1
  280. package/dist/components/form/Form/modern/values.js +1 -1
  281. package/dist/components/form/Form/reset-unbound-controls.js +1 -1
  282. package/dist/components/form/Form/use-field/use-field-binding.js +1 -1
  283. package/dist/components/form/Form/use-field/use-field-props.js +1 -1
  284. package/dist/components/form/Form/use-field/use-field.js +1 -1
  285. package/dist/components/form/Form/use-form.js +1 -1
  286. package/dist/components/form/Form/validation.js +1 -1
  287. package/dist/components/form/Label.js +1 -1
  288. package/dist/components/form/legacy-tooltip.js +1 -1
  289. package/dist/components/form/validation/ValidationIndicator.js +1 -1
  290. package/dist/components/form/validation/resolve-validation-props.js +1 -1
  291. package/dist/components/form/validation/use-validation-props.js +1 -1
  292. package/dist/components/form/wrapper.js +1 -1
  293. package/dist/components/helpers/DisplayTransition/DisplayTransition.js +1 -1
  294. package/dist/components/helpers/IconSwitch/IconSwitch.js +1 -1
  295. package/dist/components/layout/Board/Board.js +2 -2
  296. package/dist/components/layout/Board/Board.js.map +1 -1
  297. package/dist/components/layout/Board/BoardProvider.js +1 -1
  298. package/dist/components/layout/Board/BoardResponsive.js +1 -1
  299. package/dist/components/layout/Board/Widget.js +1 -1
  300. package/dist/components/layout/Board/WidgetHost.js +4 -4
  301. package/dist/components/layout/Board/WidgetHost.js.map +1 -1
  302. package/dist/components/layout/Board/board-context.js +1 -1
  303. package/dist/components/layout/Board/board-store.js +1 -1
  304. package/dist/components/layout/Board/grid-core/calculate.js +1 -1
  305. package/dist/components/layout/Board/grid-core/collision-modes.js +1 -1
  306. package/dist/components/layout/Board/grid-core/collision.js +1 -1
  307. package/dist/components/layout/Board/grid-core/compactors.js +1 -1
  308. package/dist/components/layout/Board/grid-core/constraints.js +1 -1
  309. package/dist/components/layout/Board/grid-core/group-move.js +1 -1
  310. package/dist/components/layout/Board/grid-core/layout.js +1 -1
  311. package/dist/components/layout/Board/grid-core/placement.js +1 -1
  312. package/dist/components/layout/Board/grid-core/sort.js +1 -1
  313. package/dist/components/layout/Board/index.js +1 -1
  314. package/dist/components/layout/Board/responsive-utils.js +1 -1
  315. package/dist/components/layout/Board/use-board-layout.js +1 -1
  316. package/dist/components/layout/Board/use-board-registry.js +1 -1
  317. package/dist/components/layout/Board/use-board-select-modifier-key.js +1 -1
  318. package/dist/components/layout/Board/use-board-selection.js +1 -1
  319. package/dist/components/layout/Flex.js +1 -1
  320. package/dist/components/layout/Flow.js +1 -1
  321. package/dist/components/layout/Grid.js +1 -1
  322. package/dist/components/layout/Panel.js +1 -1
  323. package/dist/components/layout/Prefix.js +1 -1
  324. package/dist/components/layout/ResizablePanel.js +1 -1
  325. package/dist/components/layout/Space.js +1 -1
  326. package/dist/components/layout/Suffix.js +1 -1
  327. package/dist/components/navigation/Pagination/Pagination.js +1 -1
  328. package/dist/components/navigation/Pagination/use-pagination.js +1 -1
  329. package/dist/components/navigation/Tabs/DraggableTabList.js +1 -1
  330. package/dist/components/navigation/Tabs/TabButton.js +470 -407
  331. package/dist/components/navigation/Tabs/TabButton.js.map +1 -1
  332. package/dist/components/navigation/Tabs/TabDropIndicator.js +1 -1
  333. package/dist/components/navigation/Tabs/TabPanel.js +1 -1
  334. package/dist/components/navigation/Tabs/TabPicker.js +1 -1
  335. package/dist/components/navigation/Tabs/Tabs.js +22 -4
  336. package/dist/components/navigation/Tabs/Tabs.js.map +1 -1
  337. package/dist/components/navigation/Tabs/TabsAction.js +1 -1
  338. package/dist/components/navigation/Tabs/TabsContext.js +1 -1
  339. package/dist/components/navigation/Tabs/popover-placement.js +1 -1
  340. package/dist/components/navigation/Tabs/styled.js +1 -1
  341. package/dist/components/navigation/Tabs/types.d.ts +1 -1
  342. package/dist/components/navigation/Tabs/types.js +1 -1
  343. package/dist/components/navigation/Tabs/types.js.map +1 -1
  344. package/dist/components/navigation/Tabs/use-tab-editing.js +1 -1
  345. package/dist/components/navigation/Tabs/use-tab-indicator.js +1 -1
  346. package/dist/components/organisms/StatsCard/StatsCard.js +1 -1
  347. package/dist/components/other/Calendar/Calendar.js +1 -1
  348. package/dist/components/other/Calendar/CalendarCell.js +1 -1
  349. package/dist/components/other/Calendar/CalendarCell.js.map +1 -1
  350. package/dist/components/other/Calendar/CalendarGrid.js +1 -1
  351. package/dist/components/other/Calendar/CalendarHeader.js +1 -1
  352. package/dist/components/other/Calendar/CalendarPanel.js +1 -1
  353. package/dist/components/other/Calendar/PeriodCalendar.js +1 -1
  354. package/dist/components/other/Calendar/PeriodGrid.js +1 -1
  355. package/dist/components/other/Calendar/PeriodGrid.js.map +1 -1
  356. package/dist/components/other/Calendar/RangeCalendar.js +1 -1
  357. package/dist/components/other/Calendar/styled.js +1 -1
  358. package/dist/components/other/CubeLogo/CubeLogo.js +1 -1
  359. package/dist/components/other/CubeLogo/CubeLogo.js.map +1 -1
  360. package/dist/components/other/NoDataIcon/NoDataIcon.js +1 -1
  361. package/dist/components/overlays/AlertDialog/AlertDialog.js +78 -116
  362. package/dist/components/overlays/AlertDialog/AlertDialog.js.map +1 -1
  363. package/dist/components/overlays/AlertDialog/AlertDialogApiProvider.d.ts +57 -50
  364. package/dist/components/overlays/AlertDialog/AlertDialogApiProvider.js +52 -48
  365. package/dist/components/overlays/AlertDialog/AlertDialogApiProvider.js.map +1 -1
  366. package/dist/components/overlays/AlertDialog/AlertDialogZone.js +99 -104
  367. package/dist/components/overlays/AlertDialog/AlertDialogZone.js.map +1 -1
  368. package/dist/components/overlays/AlertDialog/index.d.ts +2 -1
  369. package/dist/components/overlays/Dialog/Dialog.js +2 -2
  370. package/dist/components/overlays/Dialog/Dialog.js.map +1 -1
  371. package/dist/components/overlays/Dialog/DialogContainer.js +1 -1
  372. package/dist/components/overlays/Dialog/DialogForm.d.ts +2 -2
  373. package/dist/components/overlays/Dialog/DialogForm.js +4 -5
  374. package/dist/components/overlays/Dialog/DialogForm.js.map +1 -1
  375. package/dist/components/overlays/Dialog/DialogTrigger.js +1 -1
  376. package/dist/components/overlays/Dialog/ModernDialogForm.js +5 -6
  377. package/dist/components/overlays/Dialog/ModernDialogForm.js.map +1 -1
  378. package/dist/components/overlays/Dialog/context.js +1 -1
  379. package/dist/components/overlays/Dialog/default-button-text.js +30 -0
  380. package/dist/components/overlays/Dialog/default-button-text.js.map +1 -0
  381. package/dist/components/overlays/Dialog/use-content-overflow.js +1 -1
  382. package/dist/components/overlays/Dialog/use-dialog-container.js +1 -1
  383. package/dist/components/overlays/Modal/Modal.js +1 -1
  384. package/dist/components/overlays/Modal/OpenTransitionContext.js +1 -1
  385. package/dist/components/overlays/Modal/Overlay.js +1 -1
  386. package/dist/components/overlays/Modal/Popover.js +2 -2
  387. package/dist/components/overlays/Modal/Popover.js.map +1 -1
  388. package/dist/components/overlays/Modal/Tray.js +1 -1
  389. package/dist/components/overlays/Modal/Tray.js.map +1 -1
  390. package/dist/components/overlays/Modal/Underlay.js +1 -1
  391. package/dist/components/overlays/Notifications/Notification.js +1 -1
  392. package/dist/components/overlays/Notifications/NotificationAction.js +1 -1
  393. package/dist/components/overlays/Notifications/NotificationCard.js +1 -1
  394. package/dist/components/overlays/Notifications/NotificationContext.js +1 -1
  395. package/dist/components/overlays/Notifications/NotificationItem.js +1 -1
  396. package/dist/components/overlays/Notifications/OverlayContainer.js +1 -1
  397. package/dist/components/overlays/Notifications/OverlayProvider.js +1 -1
  398. package/dist/components/overlays/Notifications/PersistentNotificationsList.js +1 -1
  399. package/dist/components/overlays/Notifications/dismissed-storage.js +1 -1
  400. package/dist/components/overlays/Notifications/format-relative-time.js +1 -1
  401. package/dist/components/overlays/Notifications/index.js +1 -1
  402. package/dist/components/overlays/Notifications/use-notification-state.js +1 -1
  403. package/dist/components/overlays/Notifications/use-notifications.js +1 -1
  404. package/dist/components/overlays/Notifications/use-overlay-timers.js +1 -1
  405. package/dist/components/overlays/Notifications/use-persistent-notifications.js +1 -1
  406. package/dist/components/overlays/Notifications/use-persistent-state.js +1 -1
  407. package/dist/components/overlays/Notifications/use-toast-state.js +1 -1
  408. package/dist/components/overlays/Toast/ToastItem.js +1 -1
  409. package/dist/components/overlays/Toast/index.js +1 -1
  410. package/dist/components/overlays/Toast/useProgressToast.js +1 -1
  411. package/dist/components/overlays/Toast/useToast.js +1 -1
  412. package/dist/components/overlays/Tooltip/Tooltip.js +1 -1
  413. package/dist/components/overlays/Tooltip/TooltipProvider.js +1 -1
  414. package/dist/components/overlays/Tooltip/TooltipTrigger.js +1 -1
  415. package/dist/components/overlays/Tooltip/context.js +1 -1
  416. package/dist/components/overlays/Tooltip/split-trigger-props.js +1 -1
  417. package/dist/components/portal/Portal.js +1 -1
  418. package/dist/components/portal/PortalProvider.js +1 -1
  419. package/dist/components/portal/usePortal.js +1 -1
  420. package/dist/components/shared/DraggableCollection.js +1 -1
  421. package/dist/components/shared/InvalidIcon.js +1 -1
  422. package/dist/components/shared/ValidIcon.js +1 -1
  423. package/dist/components/status/LoadingAnimation/LoadingAnimation.js +1 -1
  424. package/dist/components/status/Spin/Cube.js +1 -1
  425. package/dist/components/status/Spin/InternalSpinner.js +1 -1
  426. package/dist/components/status/Spin/Spin.js +1 -1
  427. package/dist/components/status/Spin/SpinsContainer.js +1 -1
  428. package/dist/data/item-themes.js +1 -1
  429. package/dist/data/themes.js +1 -1
  430. package/dist/eslint-plugin/defaults.generated.js +18 -2
  431. package/dist/eslint-plugin/defaults.generated.js.map +1 -1
  432. package/dist/eslint-plugin/index.js +1 -1
  433. package/dist/eslint-plugin/rules/no-redundant-default-prop.js +1 -1
  434. package/dist/i18n/I18nProvider.js +1 -1
  435. package/dist/i18n/createFormatter.js +1 -1
  436. package/dist/i18n/index.js +1 -1
  437. package/dist/i18n/instance.js +1 -1
  438. package/dist/i18n/locales/de-DE/uikit.js +4 -1
  439. package/dist/i18n/locales/en-US/uikit.js +4 -1
  440. package/dist/i18n/locales/en-US/uikit.json.d.ts +3 -0
  441. package/dist/i18n/locales/es-ES/uikit.js +4 -1
  442. package/dist/i18n/locales/es-MX/uikit.js +4 -1
  443. package/dist/i18n/locales/fr-FR/uikit.js +4 -1
  444. package/dist/i18n/locales/it-IT/uikit.js +4 -1
  445. package/dist/i18n/locales/ja-JP/uikit.js +4 -1
  446. package/dist/i18n/locales/nb-NO/uikit.js +4 -1
  447. package/dist/i18n/locales/pt-BR/uikit.js +4 -1
  448. package/dist/i18n/locales/pt-PT/uikit.js +4 -1
  449. package/dist/i18n/locales/sv-SE/uikit.js +4 -1
  450. package/dist/i18n/locales/vi-VN/uikit.js +4 -1
  451. package/dist/i18n/locales.js +1 -1
  452. package/dist/i18n/useFormatter.js +1 -1
  453. package/dist/i18n/useI18n.js +1 -1
  454. package/dist/icons/AdjustmentsHorizontalIcon.js +1 -1
  455. package/dist/icons/AdjustmentsIcon.js +1 -1
  456. package/dist/icons/AiIcon.js +1 -1
  457. package/dist/icons/AreaChartIcon.js +1 -1
  458. package/dist/icons/ArrowNarrowDownIcon.js +1 -1
  459. package/dist/icons/ArrowNarrowUpIcon.js +1 -1
  460. package/dist/icons/BackwardIcon.js +1 -1
  461. package/dist/icons/BarChartIcon.js +1 -1
  462. package/dist/icons/BellFilledIcon.js +1 -1
  463. package/dist/icons/BellIcon.js +1 -1
  464. package/dist/icons/BooleanIcon.js +1 -1
  465. package/dist/icons/CalendarEditIcon.js +1 -1
  466. package/dist/icons/CalendarIcon.js +1 -1
  467. package/dist/icons/CaretDownIcon.js +1 -1
  468. package/dist/icons/CaretUpIcon.js +1 -1
  469. package/dist/icons/ChartAreaStackedIcon.js +1 -1
  470. package/dist/icons/ChartAreaStackedPercentageIcon.js +1 -1
  471. package/dist/icons/ChartBarGroupedHorizontalIcon.js +1 -1
  472. package/dist/icons/ChartBarGroupedIcon.js +1 -1
  473. package/dist/icons/ChartBarHorizontalIcon.js +1 -1
  474. package/dist/icons/ChartBarLineIcon.js +1 -1
  475. package/dist/icons/ChartBarStackedHorizontalIcon.js +1 -1
  476. package/dist/icons/ChartBarStackedIcon.js +1 -1
  477. package/dist/icons/ChartBarStackedPercentageHorizontalIcon.js +1 -1
  478. package/dist/icons/ChartBarStackedPercentageIcon.js +1 -1
  479. package/dist/icons/ChartBoxPlot2Icon.js +1 -1
  480. package/dist/icons/ChartBoxPlotIcon.js +1 -1
  481. package/dist/icons/ChartBubbleIcon.js +1 -1
  482. package/dist/icons/ChartDonut2Icon.js +1 -1
  483. package/dist/icons/ChartFunnelIcon.js +1 -1
  484. package/dist/icons/ChartHeatmapIcon.js +1 -1
  485. package/dist/icons/ChartKPIIcon.js +1 -1
  486. package/dist/icons/ChartPie2Icon.js +1 -1
  487. package/dist/icons/ChartScatterIcon.js +1 -1
  488. package/dist/icons/CheckCircleFilledIcon.js +1 -1
  489. package/dist/icons/CheckCircleIcon.js +1 -1
  490. package/dist/icons/CheckIcon.js +1 -1
  491. package/dist/icons/CircleFilledIcon.js +1 -1
  492. package/dist/icons/ClearIcon.js +1 -1
  493. package/dist/icons/CloseCircleFilledIcon.js +1 -1
  494. package/dist/icons/CloseCircleIcon.js +1 -1
  495. package/dist/icons/CloseIcon.js +1 -1
  496. package/dist/icons/CodeIcon.js +1 -1
  497. package/dist/icons/ColumnTotalIcon.js +1 -1
  498. package/dist/icons/CopyIcon.js +1 -1
  499. package/dist/icons/CountIcon.js +1 -1
  500. package/dist/icons/CubeIcon.js +1 -1
  501. package/dist/icons/CubePauseIcon.js +1 -1
  502. package/dist/icons/CubePlayIcon.js +1 -1
  503. package/dist/icons/CurrencyDollarIcon.js +1 -1
  504. package/dist/icons/DangerIcon.js +1 -1
  505. package/dist/icons/DashboardIcon.js +1 -1
  506. package/dist/icons/DatabaseIcon.js +1 -1
  507. package/dist/icons/DecimalDecreaseIcon.js +1 -1
  508. package/dist/icons/DecimalIncreaseIcon.js +1 -1
  509. package/dist/icons/DirectionIcon.js +1 -1
  510. package/dist/icons/DonutIcon.js +1 -1
  511. package/dist/icons/DownIcon.js +1 -1
  512. package/dist/icons/EditIcon.js +1 -1
  513. package/dist/icons/ExclamationCircleFilledIcon.js +1 -1
  514. package/dist/icons/ExclamationCircleIcon.js +1 -1
  515. package/dist/icons/ExclamationIcon.js +1 -1
  516. package/dist/icons/EyeIcon.js +1 -1
  517. package/dist/icons/EyeInvisibleIcon.js +1 -1
  518. package/dist/icons/FilterIcon.js +1 -1
  519. package/dist/icons/FolderFilledIcon.js +1 -1
  520. package/dist/icons/FolderIcon.js +1 -1
  521. package/dist/icons/FolderOpenFilledIcon.js +1 -1
  522. package/dist/icons/FolderOpenIcon.js +1 -1
  523. package/dist/icons/ForwardIcon.js +1 -1
  524. package/dist/icons/GripVerticalIcon.js +1 -1
  525. package/dist/icons/HierarchyIcon.js +1 -1
  526. package/dist/icons/HierarchyOpenIcon.js +1 -1
  527. package/dist/icons/Icon.js +1 -1
  528. package/dist/icons/InfoCircleIcon.js +1 -1
  529. package/dist/icons/InfoIcon.js +1 -1
  530. package/dist/icons/KeyIcon.js +1 -1
  531. package/dist/icons/LeftIcon.js +1 -1
  532. package/dist/icons/LineChartIcon.js +1 -1
  533. package/dist/icons/LoadingIcon.js +1 -1
  534. package/dist/icons/LockFilledIcon.js +1 -1
  535. package/dist/icons/LockIcon.js +1 -1
  536. package/dist/icons/MoreIcon.js +1 -1
  537. package/dist/icons/NotAllowedIcon.js +1 -1
  538. package/dist/icons/Number123Icon.js +1 -1
  539. package/dist/icons/NumberIcon.js +1 -1
  540. package/dist/icons/PauseCircleFilledIcon.js +1 -1
  541. package/dist/icons/PauseCircleIcon.js +1 -1
  542. package/dist/icons/PauseIcon.js +1 -1
  543. package/dist/icons/PercentageIcon.js +1 -1
  544. package/dist/icons/PieChartIcon.js +1 -1
  545. package/dist/icons/PipetteIcon.js +1 -1
  546. package/dist/icons/PlayCircleIcon.js +1 -1
  547. package/dist/icons/PlayIcon.js +1 -1
  548. package/dist/icons/PlusIcon.js +1 -1
  549. package/dist/icons/ProgressBarIcon.js +1 -1
  550. package/dist/icons/ReloadIcon.js +1 -1
  551. package/dist/icons/ReportIcon.js +1 -1
  552. package/dist/icons/ReturnIcon.js +1 -1
  553. package/dist/icons/RightIcon.js +1 -1
  554. package/dist/icons/RowTotalsIcon.js +1 -1
  555. package/dist/icons/SchemeIcon.js +1 -1
  556. package/dist/icons/SearchIcon.js +1 -1
  557. package/dist/icons/SemanticQueryIcon.js +1 -1
  558. package/dist/icons/SettingsIcon.js +1 -1
  559. package/dist/icons/ShieldFilledIcon.js +1 -1
  560. package/dist/icons/ShieldIcon.js +1 -1
  561. package/dist/icons/SlashIcon.js +1 -1
  562. package/dist/icons/SparklesIcon.js +1 -1
  563. package/dist/icons/SqlIcon.js +1 -1
  564. package/dist/icons/StatsIcon.js +1 -1
  565. package/dist/icons/StopIcon.js +1 -1
  566. package/dist/icons/StringIcon.js +1 -1
  567. package/dist/icons/SubtotalsIcon.js +1 -1
  568. package/dist/icons/SwitchIcon.js +1 -1
  569. package/dist/icons/TableIcon.js +1 -1
  570. package/dist/icons/ThumbsDownIcon.js +1 -1
  571. package/dist/icons/ThumbsUpIcon.js +1 -1
  572. package/dist/icons/ThunderboltCrossedIcon.js +1 -1
  573. package/dist/icons/ThunderboltFilledIcon.js +1 -1
  574. package/dist/icons/ThunderboltIcon.js +1 -1
  575. package/dist/icons/TimeIcon.js +1 -1
  576. package/dist/icons/TrashIcon.js +1 -1
  577. package/dist/icons/UnlockIcon.js +1 -1
  578. package/dist/icons/UpIcon.js +1 -1
  579. package/dist/icons/UserGroupIcon.js +1 -1
  580. package/dist/icons/UserIcon.js +1 -1
  581. package/dist/icons/UserLockIcon.js +1 -1
  582. package/dist/icons/ViewIcon.js +1 -1
  583. package/dist/icons/WarningFilledIcon.js +1 -1
  584. package/dist/icons/WarningIcon.js +1 -1
  585. package/dist/icons/wrap-icon.js +1 -1
  586. package/dist/index.d.ts +5 -4
  587. package/dist/index.js +3 -3
  588. package/dist/index.js.map +1 -1
  589. package/dist/probe/canonicalize.js +1 -1
  590. package/dist/probe/css.js +1 -1
  591. package/dist/probe/index.js +1 -1
  592. package/dist/provider.js +1 -1
  593. package/dist/providers/TrackingProvider.js +1 -1
  594. package/dist/providers/navigationAdapter.default.js +1 -1
  595. package/dist/shared/form.d.ts +29 -1
  596. package/dist/shared/index.d.ts +1 -1
  597. package/dist/tokens/all-tokens.js +1 -1
  598. package/dist/tokens/base.js +1 -1
  599. package/dist/tokens/color-seed.js +1 -1
  600. package/dist/tokens/color-theme.js +1 -1
  601. package/dist/tokens/colors.js +1 -1
  602. package/dist/tokens/layout.js +1 -1
  603. package/dist/tokens/lazy-styles.js +1 -1
  604. package/dist/tokens/legacy-color.js +1 -1
  605. package/dist/tokens/palette-config.js +1 -1
  606. package/dist/tokens/palette.js +1 -1
  607. package/dist/tokens/resolve.js +1 -1
  608. package/dist/tokens/shadows.js +1 -1
  609. package/dist/tokens/sizes.js +1 -1
  610. package/dist/tokens/spacing.js +1 -1
  611. package/dist/tokens/typography.js +1 -1
  612. package/dist/utils/ResizeSensor.js +1 -1
  613. package/dist/utils/colors.js +1 -1
  614. package/dist/utils/dotize.js +1 -1
  615. package/dist/utils/is-dev-env.js +1 -1
  616. package/dist/utils/modules.js +1 -1
  617. package/dist/utils/promise.js +1 -1
  618. package/dist/utils/raf.js +1 -1
  619. package/dist/utils/random.js +1 -1
  620. package/dist/utils/range.js +1 -1
  621. package/dist/utils/react/RenderCache.js +1 -1
  622. package/dist/utils/react/Slots.js +1 -1
  623. package/dist/utils/react/chain.js +1 -1
  624. package/dist/utils/react/disabledProps.js +1 -1
  625. package/dist/utils/react/escapePropagation.js +1 -1
  626. package/dist/utils/react/forwardRefWithGenerics.js +1 -1
  627. package/dist/utils/react/index.js +1 -1
  628. package/dist/utils/react/interactions.js +1 -1
  629. package/dist/utils/react/isTextOnly.js +1 -1
  630. package/dist/utils/react/mapProps.js +1 -1
  631. package/dist/utils/react/mergeProps.js +1 -1
  632. package/dist/utils/react/nullableValue.js +1 -1
  633. package/dist/utils/react/programmaticFocus.js +1 -1
  634. package/dist/utils/react/resolveIcon.js +1 -1
  635. package/dist/utils/react/sharedStore.js +1 -1
  636. package/dist/utils/react/useBufferedValue.js +1 -1
  637. package/dist/utils/react/useCombinedRefs.js +1 -1
  638. package/dist/utils/react/useControlledFocusVisible.js +1 -1
  639. package/dist/utils/react/useEventBus.js +1 -1
  640. package/dist/utils/react/useId.js +1 -1
  641. package/dist/utils/react/useIsDarwin.js +1 -1
  642. package/dist/utils/react/useKeySymbols.js +1 -1
  643. package/dist/utils/react/useLayoutEffect.js +1 -1
  644. package/dist/utils/react/useLocalStorage.js +1 -1
  645. package/dist/utils/react/useMergeStyles.js +1 -1
  646. package/dist/utils/react/useOverlayEscapeGuard.js +1 -1
  647. package/dist/utils/react/usePopoverSync.js +1 -1
  648. package/dist/utils/react/useQaProps.js +1 -1
  649. package/dist/utils/react/useScheme.js +1 -1
  650. package/dist/utils/react/useViewportSize.js +1 -1
  651. package/dist/utils/react/wrapNodeIfPlain.js +1 -1
  652. package/dist/utils/selection.js +1 -1
  653. package/dist/utils/styles.js +51 -6
  654. package/dist/utils/styles.js.map +1 -1
  655. package/dist/utils/tree.js +1 -1
  656. package/dist/utils/warnings.js +1 -1
  657. package/dist/version.js +3 -3
  658. package/docs/components/actions/Action.md +1 -1
  659. package/docs/components/actions/Button.md +4 -2
  660. package/docs/components/actions/ItemButton.md +1 -0
  661. package/docs/components/actions/Link.md +1 -1
  662. package/docs/components/content/InfoBadge.md +1 -1
  663. package/docs/components/content/Item.md +1 -1
  664. package/docs/components/content/Result.md +202 -12
  665. package/docs/components/content/Title.md +1 -0
  666. package/docs/components/data/DataTable.md +18 -0
  667. package/docs/components/data/ItemTable.md +3 -1
  668. package/docs/components/fields/ComboBox.md +49 -1
  669. package/docs/components/fields/FilterPicker.md +3 -3
  670. package/docs/components/fields/NumberInput.md +27 -0
  671. package/docs/components/fields/PasswordInput.md +24 -0
  672. package/docs/components/fields/Picker.md +3 -3
  673. package/docs/components/fields/SearchComboBox.md +3 -1
  674. package/docs/components/fields/TagInput.md +4 -2
  675. package/docs/components/fields/TextArea.md +24 -0
  676. package/docs/components/fields/TextInput.md +24 -0
  677. package/docs/components/navigation/Tabs.md +8 -3
  678. package/docs/components/overlays/AlertDialog.md +100 -3
  679. package/docs/components/overlays/DialogForm.md +3 -3
  680. package/docs/components/overlays/UseDialogContainer.md +4 -7
  681. package/docs/tasty/dsl.md +28 -6
  682. package/docs/tasty/styles.md +20 -0
  683. package/package.json +3 -3
@@ -1,4 +1,4 @@
1
- /** @license MIT | @cube-dev/ui-kit v0.187.2 | Cube Dev Team */
1
+ /** @license MIT | @cube-dev/ui-kit v0.189.0 | Cube Dev Team */
2
2
  import { mergeProps as mergeProps$1 } from "../../../utils/react/mergeProps.js";
3
3
  import { useEvent } from "../../../_internal/hooks/use-event.js";
4
4
  import { ItemAction } from "../../actions/ItemAction/ItemAction.js";
@@ -100,6 +100,35 @@ function disableTooltip(tooltip) {
100
100
  return tooltip;
101
101
  }
102
102
  /**
103
+ * Scroll the tab strip, and only the strip, so the tab is fully inside it.
104
+ * Unlike `scrollIntoView` this never scrolls the page: it runs in response to a
105
+ * layout change rather than to the user, so it must not move anything else.
106
+ */
107
+ function scrollTabIntoStrip(tab, placement) {
108
+ const strip = tab.closest("[data-element=\"Scroll\"]");
109
+ if (!strip) return;
110
+ const isVertical = placement === "left" || placement === "right";
111
+ const stripRect = strip.getBoundingClientRect();
112
+ const tabRect = tab.getBoundingClientRect();
113
+ const start = isVertical ? tabRect.top - stripRect.top : tabRect.left - stripRect.left;
114
+ const end = isVertical ? tabRect.bottom - stripRect.bottom : tabRect.right - stripRect.right;
115
+ const delta = start < 0 ? start : end > 0 ? Math.min(end, start) : 0;
116
+ if (!delta) return;
117
+ if (isVertical) strip.scrollTop += delta;
118
+ else strip.scrollLeft += delta;
119
+ }
120
+ /**
121
+ * Events on the tab bar that mean the user has taken over the strip's scroll
122
+ * position. Listened for on the whole `Bar`, not just the `Scroll` element: the
123
+ * custom scrollbar and the scroll arrows sit outside it.
124
+ */
125
+ const STRIP_INTERACTION_EVENTS = [
126
+ "wheel",
127
+ "pointerdown",
128
+ "touchstart",
129
+ "keydown"
130
+ ];
131
+ /**
103
132
  * Individual tab button component.
104
133
  *
105
134
  * Uses TabsContext to access shared props, dramatically reducing prop drilling.
@@ -111,98 +140,107 @@ function disableTooltip(tooltip) {
111
140
  * - Focus and hover states
112
141
  */
113
142
  function TabButton(t0) {
114
- const $ = c(195);
115
- const { item, tabData, isLastTab } = t0;
143
+ const $ = c(200);
144
+ const { item, tabData, isLastTab, hasPanel: t1 } = t0;
145
+ const hasPanel = t1 === void 0 ? true : t1;
116
146
  const { t } = useI18n();
117
- let t1;
147
+ let t2;
118
148
  if ($[0] !== t) {
119
- t1 = t("tabs.editTabTitle", "Edit tab title");
149
+ t2 = t("tabs.editTabTitle", "Edit tab title");
120
150
  $[0] = t;
121
- $[1] = t1;
122
- } else t1 = $[1];
123
- const editTabTitleLabel = t1;
151
+ $[1] = t2;
152
+ } else t2 = $[1];
153
+ const editTabTitleLabel = t2;
124
154
  const { state, type, size, placement, autoHideActions: parentAutoHideActions, isEditable: parentIsEditable, menu: parentMenu, menuTriggerProps: parentMenuTriggerProps, menuProps: parentMenuProps, contextMenu: parentContextMenu, onAction: parentOnAction, onDelete, dragState, dropState, editingKey, startEditing, submitEditing, cancelEditing } = useTabsContext();
125
155
  const ref = useRef(null);
126
156
  const containerRef = useRef(null);
127
157
  const inlineInputRef = useRef(null);
128
- let t2;
158
+ let t3;
129
159
  if ($[2] !== item.key) {
130
- t2 = { key: item.key };
160
+ t3 = { key: item.key };
131
161
  $[2] = item.key;
132
- $[3] = t2;
133
- } else t2 = $[3];
134
- const { tabProps } = useTab(t2, state, ref);
162
+ $[3] = t3;
163
+ } else t3 = $[3];
164
+ const { tabProps: ariaTabProps } = useTab(t3, state, ref);
165
+ let tabPropsWithoutControls;
166
+ if ($[4] !== ariaTabProps) {
167
+ const { "aria-controls": _ariaControls, ...t4 } = ariaTabProps;
168
+ tabPropsWithoutControls = t4;
169
+ $[4] = ariaTabProps;
170
+ $[5] = tabPropsWithoutControls;
171
+ } else tabPropsWithoutControls = $[5];
172
+ const tabProps = hasPanel ? ariaTabProps : tabPropsWithoutControls;
135
173
  const isDraggable = !!dragState && !!dropState;
136
- let t3;
137
- if ($[4] !== state.collection || $[5] !== state.selectionManager) {
138
- t3 = createMockDragState(state.collection, state.selectionManager);
139
- $[4] = state.collection;
140
- $[5] = state.selectionManager;
141
- $[6] = t3;
142
- } else t3 = $[6];
143
- const mockDragState = t3;
144
174
  let t4;
145
- if ($[7] !== item.key) {
146
- t4 = { key: item.key };
147
- $[7] = item.key;
175
+ if ($[6] !== state.collection || $[7] !== state.selectionManager) {
176
+ t4 = createMockDragState(state.collection, state.selectionManager);
177
+ $[6] = state.collection;
178
+ $[7] = state.selectionManager;
148
179
  $[8] = t4;
149
180
  } else t4 = $[8];
150
- const dragResult = useDraggableItem(t4, dragState ?? mockDragState);
181
+ const mockDragState = t4;
151
182
  let t5;
152
- if ($[9] !== dragResult || $[10] !== isDraggable) {
153
- t5 = isDraggable ? dragResult.dragProps : {};
154
- $[9] = dragResult;
155
- $[10] = isDraggable;
156
- $[11] = t5;
157
- } else t5 = $[11];
158
- const effectiveDragProps = t5;
183
+ if ($[9] !== item.key) {
184
+ t5 = { key: item.key };
185
+ $[9] = item.key;
186
+ $[10] = t5;
187
+ } else t5 = $[10];
188
+ const dragResult = useDraggableItem(t5, dragState ?? mockDragState);
189
+ let t6;
190
+ if ($[11] !== dragResult || $[12] !== isDraggable) {
191
+ t6 = isDraggable ? dragResult.dragProps : {};
192
+ $[11] = dragResult;
193
+ $[12] = isDraggable;
194
+ $[13] = t6;
195
+ } else t6 = $[13];
196
+ const effectiveDragProps = t6;
159
197
  const isDragging = isDraggable && dragResult.isDragging;
160
198
  const [isMenuOpen, setIsMenuOpen] = useState(false);
161
- let t6;
162
- if ($[12] === Symbol.for("react.memo_cache_sentinel")) {
163
- t6 = {};
164
- $[12] = t6;
165
- } else t6 = $[12];
166
- const { hoverProps, isHovered } = useHover(t6);
167
- const [isFocused, setIsFocused] = useState(false);
168
199
  let t7;
169
- if ($[13] === Symbol.for("react.memo_cache_sentinel")) {
170
- t7 = { onFocusChange: setIsFocused };
171
- $[13] = t7;
172
- } else t7 = $[13];
173
- const { focusProps } = useFocus(t7);
200
+ if ($[14] === Symbol.for("react.memo_cache_sentinel")) {
201
+ t7 = {};
202
+ $[14] = t7;
203
+ } else t7 = $[14];
204
+ const { hoverProps, isHovered } = useHover(t7);
205
+ const [isFocused, setIsFocused] = useState(false);
206
+ let t8;
207
+ if ($[15] === Symbol.for("react.memo_cache_sentinel")) {
208
+ t8 = { onFocusChange: setIsFocused };
209
+ $[15] = t8;
210
+ } else t8 = $[15];
211
+ const { focusProps } = useFocus(t8);
174
212
  const { isFocusVisible } = useFocusVisible();
175
213
  const [suppressFocusVisible, setSuppressFocusVisible] = useState(false);
176
214
  const effectiveFocusVisible = isFocusVisible && !suppressFocusVisible;
177
215
  const isActive = state.selectedKey === item.key;
178
- let t8;
179
- if ($[14] !== item.key || $[15] !== state.disabledKeys) {
180
- t8 = state.disabledKeys.has(item.key);
181
- $[14] = item.key;
182
- $[15] = state.disabledKeys;
183
- $[16] = t8;
184
- } else t8 = $[16];
185
- const isDisabled = t8;
216
+ let t9;
217
+ if ($[16] !== item.key || $[17] !== state.disabledKeys) {
218
+ t9 = state.disabledKeys.has(item.key);
219
+ $[16] = item.key;
220
+ $[17] = state.disabledKeys;
221
+ $[18] = t9;
222
+ } else t9 = $[18];
223
+ const isDisabled = t9;
186
224
  const isDeletable = !!onDelete;
187
225
  const isEditing = editingKey === item.key;
188
226
  const isBoardDragActive = useBoardDragActive();
189
227
  const [isDropPending, setIsDropPending] = useState(false);
190
228
  const springLoadTimerRef = useRef(null);
191
- let t9;
192
- if ($[17] === Symbol.for("react.memo_cache_sentinel")) {
193
- t9 = () => {
229
+ let t10;
230
+ if ($[19] === Symbol.for("react.memo_cache_sentinel")) {
231
+ t10 = () => {
194
232
  if (springLoadTimerRef.current != null) {
195
233
  clearTimeout(springLoadTimerRef.current);
196
234
  springLoadTimerRef.current = null;
197
235
  }
198
236
  setIsDropPending(false);
199
237
  };
200
- $[17] = t9;
201
- } else t9 = $[17];
202
- const clearSpringLoad = useEvent(t9);
203
- let t10;
204
- if ($[18] !== isActive || $[19] !== isBoardDragActive || $[20] !== isDisabled || $[21] !== item.key || $[22] !== state) {
205
- t10 = () => {
238
+ $[19] = t10;
239
+ } else t10 = $[19];
240
+ const clearSpringLoad = useEvent(t10);
241
+ let t11;
242
+ if ($[20] !== isActive || $[21] !== isBoardDragActive || $[22] !== isDisabled || $[23] !== item.key || $[24] !== state) {
243
+ t11 = () => {
206
244
  if (!isBoardDragActive || isActive || isDisabled) return;
207
245
  if (springLoadTimerRef.current != null) return;
208
246
  setIsDropPending(true);
@@ -212,140 +250,140 @@ function TabButton(t0) {
212
250
  state.setSelectedKey(item.key);
213
251
  }, SPRING_LOAD_DELAY);
214
252
  };
215
- $[18] = isActive;
216
- $[19] = isBoardDragActive;
217
- $[20] = isDisabled;
218
- $[21] = item.key;
219
- $[22] = state;
220
- $[23] = t10;
221
- } else t10 = $[23];
222
- const handleSpringLoadEnter = useEvent(t10);
223
- let t11;
253
+ $[20] = isActive;
254
+ $[21] = isBoardDragActive;
255
+ $[22] = isDisabled;
256
+ $[23] = item.key;
257
+ $[24] = state;
258
+ $[25] = t11;
259
+ } else t11 = $[25];
260
+ const handleSpringLoadEnter = useEvent(t11);
224
261
  let t12;
225
- if ($[24] !== clearSpringLoad || $[25] !== isBoardDragActive) {
226
- t11 = () => {
262
+ let t13;
263
+ if ($[26] !== clearSpringLoad || $[27] !== isBoardDragActive) {
264
+ t12 = () => {
227
265
  if (!isBoardDragActive) clearSpringLoad();
228
266
  return clearSpringLoad;
229
267
  };
230
- t12 = [isBoardDragActive, clearSpringLoad];
231
- $[24] = clearSpringLoad;
232
- $[25] = isBoardDragActive;
233
- $[26] = t11;
234
- $[27] = t12;
268
+ t13 = [isBoardDragActive, clearSpringLoad];
269
+ $[26] = clearSpringLoad;
270
+ $[27] = isBoardDragActive;
271
+ $[28] = t12;
272
+ $[29] = t13;
235
273
  } else {
236
- t11 = $[26];
237
- t12 = $[27];
274
+ t12 = $[28];
275
+ t13 = $[29];
238
276
  }
239
- useEffect(t11, t12);
277
+ useEffect(t12, t13);
240
278
  const effectiveIsEditable = (tabData.isEditable ?? parentIsEditable ?? false) && tabData.title != null;
241
279
  const effectiveMenu = tabData.menu === null ? null : tabData.menu ?? parentMenu;
242
- let t13;
243
- if ($[28] !== parentMenuTriggerProps || $[29] !== tabData.menuTriggerProps) {
244
- t13 = {
280
+ let t14;
281
+ if ($[30] !== parentMenuTriggerProps || $[31] !== tabData.menuTriggerProps) {
282
+ t14 = {
245
283
  ...parentMenuTriggerProps,
246
284
  ...tabData.menuTriggerProps
247
285
  };
248
- $[28] = parentMenuTriggerProps;
249
- $[29] = tabData.menuTriggerProps;
250
- $[30] = t13;
251
- } else t13 = $[30];
252
- const effectiveMenuTriggerProps = t13;
253
- let t14;
254
- if ($[31] !== parentMenuProps || $[32] !== tabData.menuProps) {
255
- t14 = {
286
+ $[30] = parentMenuTriggerProps;
287
+ $[31] = tabData.menuTriggerProps;
288
+ $[32] = t14;
289
+ } else t14 = $[32];
290
+ const effectiveMenuTriggerProps = t14;
291
+ let t15;
292
+ if ($[33] !== parentMenuProps || $[34] !== tabData.menuProps) {
293
+ t15 = {
256
294
  ...parentMenuProps,
257
295
  ...tabData.menuProps
258
296
  };
259
- $[31] = parentMenuProps;
260
- $[32] = tabData.menuProps;
261
- $[33] = t14;
262
- } else t14 = $[33];
263
- const effectiveMenuProps = t14;
297
+ $[33] = parentMenuProps;
298
+ $[34] = tabData.menuProps;
299
+ $[35] = t15;
300
+ } else t15 = $[35];
301
+ const effectiveMenuProps = t15;
264
302
  const effectiveContextMenu = tabData.contextMenu ?? parentContextMenu ?? false;
265
303
  const effectiveType = type ?? "default";
266
304
  const contextMenuEnabled = effectiveContextMenu === true || effectiveContextMenu === "context-only";
267
305
  const contextMenuOnly = effectiveContextMenu === "context-only";
268
- let t15;
269
- if ($[34] !== contextMenuOnly || $[35] !== effectiveMenu || $[36] !== isDeletable) {
270
- t15 = isDeletable && (isMenuEmpty(effectiveMenu) || contextMenuOnly);
271
- $[34] = contextMenuOnly;
272
- $[35] = effectiveMenu;
273
- $[36] = isDeletable;
274
- $[37] = t15;
275
- } else t15 = $[37];
276
- const showDeleteButton = t15;
277
306
  let t16;
278
- if ($[38] !== effectiveIsEditable || $[39] !== effectiveMenu || $[40] !== isDeletable) {
279
- t16 = effectiveMenu && !isMenuEmpty(effectiveMenu) ? processMenuItems(effectiveMenu, effectiveIsEditable, isDeletable) : null;
280
- $[38] = effectiveIsEditable;
281
- $[39] = effectiveMenu;
282
- $[40] = isDeletable;
283
- $[41] = t16;
284
- } else t16 = $[41];
285
- const processedMenu = t16;
286
- const itemKeyStr = String(item.key);
307
+ if ($[36] !== contextMenuOnly || $[37] !== effectiveMenu || $[38] !== isDeletable) {
308
+ t16 = isDeletable && (isMenuEmpty(effectiveMenu) || contextMenuOnly);
309
+ $[36] = contextMenuOnly;
310
+ $[37] = effectiveMenu;
311
+ $[38] = isDeletable;
312
+ $[39] = t16;
313
+ } else t16 = $[39];
314
+ const showDeleteButton = t16;
287
315
  let t17;
288
- if ($[42] !== itemKeyStr || $[43] !== onDelete) {
289
- t17 = () => {
316
+ if ($[40] !== effectiveIsEditable || $[41] !== effectiveMenu || $[42] !== isDeletable) {
317
+ t17 = effectiveMenu && !isMenuEmpty(effectiveMenu) ? processMenuItems(effectiveMenu, effectiveIsEditable, isDeletable) : null;
318
+ $[40] = effectiveIsEditable;
319
+ $[41] = effectiveMenu;
320
+ $[42] = isDeletable;
321
+ $[43] = t17;
322
+ } else t17 = $[43];
323
+ const processedMenu = t17;
324
+ const itemKeyStr = String(item.key);
325
+ let t18;
326
+ if ($[44] !== itemKeyStr || $[45] !== onDelete) {
327
+ t18 = () => {
290
328
  onDelete?.(itemKeyStr);
291
329
  };
292
- $[42] = itemKeyStr;
293
- $[43] = onDelete;
294
- $[44] = t17;
295
- } else t17 = $[44];
296
- const handleDelete = useEvent(t17);
330
+ $[44] = itemKeyStr;
331
+ $[45] = onDelete;
332
+ $[46] = t18;
333
+ } else t18 = $[46];
334
+ const handleDelete = useEvent(t18);
297
335
  const titleString = typeof tabData.title === "string" ? tabData.title : itemKeyStr;
298
- let t18;
299
- if ($[45] !== effectiveIsEditable || $[46] !== isDisabled || $[47] !== itemKeyStr || $[48] !== startEditing || $[49] !== titleString) {
300
- t18 = () => {
336
+ let t19;
337
+ if ($[47] !== effectiveIsEditable || $[48] !== isDisabled || $[49] !== itemKeyStr || $[50] !== startEditing || $[51] !== titleString) {
338
+ t19 = () => {
301
339
  if (!effectiveIsEditable || isDisabled) return;
302
340
  startEditing(itemKeyStr, titleString);
303
341
  };
304
- $[45] = effectiveIsEditable;
305
- $[46] = isDisabled;
306
- $[47] = itemKeyStr;
307
- $[48] = startEditing;
308
- $[49] = titleString;
309
- $[50] = t18;
310
- } else t18 = $[50];
311
- const handleStartEditing = useEvent(t18);
312
- let t19;
313
- if ($[51] !== itemKeyStr || $[52] !== submitEditing || $[53] !== tabData.onTitleChange) {
314
- t19 = (newTitle) => {
342
+ $[47] = effectiveIsEditable;
343
+ $[48] = isDisabled;
344
+ $[49] = itemKeyStr;
345
+ $[50] = startEditing;
346
+ $[51] = titleString;
347
+ $[52] = t19;
348
+ } else t19 = $[52];
349
+ const handleStartEditing = useEvent(t19);
350
+ let t20;
351
+ if ($[53] !== itemKeyStr || $[54] !== submitEditing || $[55] !== tabData.onTitleChange) {
352
+ t20 = (newTitle) => {
315
353
  submitEditing(itemKeyStr, newTitle, tabData.onTitleChange);
316
354
  setSuppressFocusVisible(true);
317
355
  ref.current?.focus();
318
356
  };
319
- $[51] = itemKeyStr;
320
- $[52] = submitEditing;
321
- $[53] = tabData.onTitleChange;
322
- $[54] = t19;
323
- } else t19 = $[54];
324
- const handleSubmitEditing = useEvent(t19);
325
- let t20;
326
- if ($[55] !== cancelEditing) {
327
- t20 = () => {
357
+ $[53] = itemKeyStr;
358
+ $[54] = submitEditing;
359
+ $[55] = tabData.onTitleChange;
360
+ $[56] = t20;
361
+ } else t20 = $[56];
362
+ const handleSubmitEditing = useEvent(t20);
363
+ let t21;
364
+ if ($[57] !== cancelEditing) {
365
+ t21 = () => {
328
366
  cancelEditing();
329
367
  setSuppressFocusVisible(true);
330
368
  ref.current?.focus();
331
369
  };
332
- $[55] = cancelEditing;
333
- $[56] = t20;
334
- } else t20 = $[56];
335
- const handleCancelEditing = useEvent(t20);
336
- let t21;
337
- if ($[57] !== handleStartEditing || $[58] !== isEditing) {
338
- t21 = (editing) => {
370
+ $[57] = cancelEditing;
371
+ $[58] = t21;
372
+ } else t21 = $[58];
373
+ const handleCancelEditing = useEvent(t21);
374
+ let t22;
375
+ if ($[59] !== handleStartEditing || $[60] !== isEditing) {
376
+ t22 = (editing) => {
339
377
  if (editing && !isEditing) handleStartEditing();
340
378
  };
341
- $[57] = handleStartEditing;
342
- $[58] = isEditing;
343
- $[59] = t21;
344
- } else t21 = $[59];
345
- const handleEditingChange = useEvent(t21);
346
- let t22;
347
- if ($[60] !== effectiveIsEditable || $[61] !== isDeletable || $[62] !== itemKeyStr || $[63] !== onDelete || $[64] !== parentOnAction || $[65] !== tabData) {
348
- t22 = (action) => {
379
+ $[59] = handleStartEditing;
380
+ $[60] = isEditing;
381
+ $[61] = t22;
382
+ } else t22 = $[61];
383
+ const handleEditingChange = useEvent(t22);
384
+ let t23;
385
+ if ($[62] !== effectiveIsEditable || $[63] !== isDeletable || $[64] !== itemKeyStr || $[65] !== onDelete || $[66] !== parentOnAction || $[67] !== tabData) {
386
+ t23 = (action) => {
349
387
  const actionStr = String(action);
350
388
  const normalizedAction = actionStr.startsWith(".$") ? actionStr.slice(2) : actionStr;
351
389
  if (normalizedAction === "rename" && effectiveIsEditable) inlineInputRef.current?.startEditing();
@@ -353,51 +391,51 @@ function TabButton(t0) {
353
391
  tabData.onAction?.(normalizedAction);
354
392
  parentOnAction?.(normalizedAction, itemKeyStr);
355
393
  };
356
- $[60] = effectiveIsEditable;
357
- $[61] = isDeletable;
358
- $[62] = itemKeyStr;
359
- $[63] = onDelete;
360
- $[64] = parentOnAction;
361
- $[65] = tabData;
362
- $[66] = t22;
363
- } else t22 = $[66];
364
- const handleMenuAction = useEvent(t22);
365
- let t23;
366
- if ($[67] !== effectiveMenuProps || $[68] !== handleMenuAction || $[69] !== processedMenu) {
367
- t23 = processedMenu ? /* @__PURE__ */ jsx(__Menu, {
394
+ $[62] = effectiveIsEditable;
395
+ $[63] = isDeletable;
396
+ $[64] = itemKeyStr;
397
+ $[65] = onDelete;
398
+ $[66] = parentOnAction;
399
+ $[67] = tabData;
400
+ $[68] = t23;
401
+ } else t23 = $[68];
402
+ const handleMenuAction = useEvent(t23);
403
+ let t24;
404
+ if ($[69] !== effectiveMenuProps || $[70] !== handleMenuAction || $[71] !== processedMenu) {
405
+ t24 = processedMenu ? /* @__PURE__ */ jsx(__Menu, {
368
406
  ...effectiveMenuProps,
369
407
  onAction: handleMenuAction,
370
408
  children: processedMenu
371
409
  }) : null;
372
- $[67] = effectiveMenuProps;
373
- $[68] = handleMenuAction;
374
- $[69] = processedMenu;
375
- $[70] = t23;
376
- } else t23 = $[70];
377
- const menuElement = t23;
378
- const menuPopoverPlacement = POPOVER_PLACEMENT_BY_TABS_PLACEMENT[placement];
379
- let t24;
380
- if ($[71] !== menuPopoverPlacement) {
381
- t24 = { placement: menuPopoverPlacement };
382
- $[71] = menuPopoverPlacement;
410
+ $[69] = effectiveMenuProps;
411
+ $[70] = handleMenuAction;
412
+ $[71] = processedMenu;
383
413
  $[72] = t24;
384
414
  } else t24 = $[72];
415
+ const menuElement = t24;
416
+ const menuPopoverPlacement = POPOVER_PLACEMENT_BY_TABS_PLACEMENT[placement];
385
417
  let t25;
386
- if ($[73] !== effectiveMenuProps || $[74] !== handleMenuAction || $[75] !== processedMenu) {
387
- t25 = {
418
+ if ($[73] !== menuPopoverPlacement) {
419
+ t25 = { placement: menuPopoverPlacement };
420
+ $[73] = menuPopoverPlacement;
421
+ $[74] = t25;
422
+ } else t25 = $[74];
423
+ let t26;
424
+ if ($[75] !== effectiveMenuProps || $[76] !== handleMenuAction || $[77] !== processedMenu) {
425
+ t26 = {
388
426
  ...effectiveMenuProps,
389
427
  onAction: handleMenuAction,
390
428
  children: processedMenu
391
429
  };
392
- $[73] = effectiveMenuProps;
393
- $[74] = handleMenuAction;
394
- $[75] = processedMenu;
395
- $[76] = t25;
396
- } else t25 = $[76];
397
- const contextMenu = useContextMenu(__Menu, t24, t25);
398
- let t26;
399
- if ($[77] !== contextMenu || $[78] !== contextMenuOnly || $[79] !== effectiveIsEditable || $[80] !== isDeletable || $[81] !== isDisabled || $[82] !== isEditing || $[83] !== itemKeyStr || $[84] !== onDelete || $[85] !== processedMenu || $[86] !== suppressFocusVisible) {
400
- t26 = (e) => {
430
+ $[75] = effectiveMenuProps;
431
+ $[76] = handleMenuAction;
432
+ $[77] = processedMenu;
433
+ $[78] = t26;
434
+ } else t26 = $[78];
435
+ const contextMenu = useContextMenu(__Menu, t25, t26);
436
+ let t27;
437
+ if ($[79] !== contextMenu || $[80] !== contextMenuOnly || $[81] !== effectiveIsEditable || $[82] !== isDeletable || $[83] !== isDisabled || $[84] !== isEditing || $[85] !== itemKeyStr || $[86] !== onDelete || $[87] !== processedMenu || $[88] !== suppressFocusVisible) {
438
+ t27 = (e) => {
401
439
  if (suppressFocusVisible) setSuppressFocusVisible(false);
402
440
  if (e.key === "F2" && effectiveIsEditable && !isDisabled) {
403
441
  e.preventDefault();
@@ -415,22 +453,22 @@ function TabButton(t0) {
415
453
  onDelete?.(itemKeyStr);
416
454
  }
417
455
  };
418
- $[77] = contextMenu;
419
- $[78] = contextMenuOnly;
420
- $[79] = effectiveIsEditable;
421
- $[80] = isDeletable;
422
- $[81] = isDisabled;
423
- $[82] = isEditing;
424
- $[83] = itemKeyStr;
425
- $[84] = onDelete;
426
- $[85] = processedMenu;
427
- $[86] = suppressFocusVisible;
428
- $[87] = t26;
429
- } else t26 = $[87];
430
- const handleKeyDown = useEvent(t26);
431
- let t27;
432
- if ($[88] !== effectiveFocusVisible || $[89] !== effectiveType || $[90] !== isActive || $[91] !== isDeletable || $[92] !== isDisabled || $[93] !== isDraggable || $[94] !== isDragging || $[95] !== isDropPending || $[96] !== isEditing || $[97] !== isFocused || $[98] !== isHovered || $[99] !== placement) {
433
- t27 = {
456
+ $[79] = contextMenu;
457
+ $[80] = contextMenuOnly;
458
+ $[81] = effectiveIsEditable;
459
+ $[82] = isDeletable;
460
+ $[83] = isDisabled;
461
+ $[84] = isEditing;
462
+ $[85] = itemKeyStr;
463
+ $[86] = onDelete;
464
+ $[87] = processedMenu;
465
+ $[88] = suppressFocusVisible;
466
+ $[89] = t27;
467
+ } else t27 = $[89];
468
+ const handleKeyDown = useEvent(t27);
469
+ let t28;
470
+ if ($[90] !== effectiveFocusVisible || $[91] !== effectiveType || $[92] !== isActive || $[93] !== isDeletable || $[94] !== isDisabled || $[95] !== isDraggable || $[96] !== isDragging || $[97] !== isDropPending || $[98] !== isEditing || $[99] !== isFocused || $[100] !== isHovered || $[101] !== placement) {
471
+ t28 = {
434
472
  type: effectiveType,
435
473
  placement,
436
474
  active: isActive,
@@ -444,42 +482,67 @@ function TabButton(t0) {
444
482
  dragging: isDragging,
445
483
  "drop-pending": isDropPending
446
484
  };
447
- $[88] = effectiveFocusVisible;
448
- $[89] = effectiveType;
449
- $[90] = isActive;
450
- $[91] = isDeletable;
451
- $[92] = isDisabled;
452
- $[93] = isDraggable;
453
- $[94] = isDragging;
454
- $[95] = isDropPending;
455
- $[96] = isEditing;
456
- $[97] = isFocused;
457
- $[98] = isHovered;
458
- $[99] = placement;
459
- $[100] = t27;
460
- } else t27 = $[100];
461
- const mods = t27;
462
- let t28;
485
+ $[90] = effectiveFocusVisible;
486
+ $[91] = effectiveType;
487
+ $[92] = isActive;
488
+ $[93] = isDeletable;
489
+ $[94] = isDisabled;
490
+ $[95] = isDraggable;
491
+ $[96] = isDragging;
492
+ $[97] = isDropPending;
493
+ $[98] = isEditing;
494
+ $[99] = isFocused;
495
+ $[100] = isHovered;
496
+ $[101] = placement;
497
+ $[102] = t28;
498
+ } else t28 = $[102];
499
+ const mods = t28;
463
500
  let t29;
464
- if ($[101] !== isActive) {
465
- t28 = () => {
466
- if (ref.current && isActive) ref.current.scrollIntoView?.({
501
+ if ($[103] !== placement) {
502
+ t29 = () => {
503
+ if (ref.current) scrollTabIntoStrip(ref.current, placement);
504
+ };
505
+ $[103] = placement;
506
+ $[104] = t29;
507
+ } else t29 = $[104];
508
+ const keepActiveTabInStrip = useEvent(t29);
509
+ let t30;
510
+ let t31;
511
+ if ($[105] !== isActive || $[106] !== keepActiveTabInStrip) {
512
+ t30 = () => {
513
+ const tab = ref.current;
514
+ if (!tab || !isActive) return;
515
+ tab.scrollIntoView?.({
467
516
  block: "nearest",
468
517
  inline: "nearest"
469
518
  });
519
+ if (typeof ResizeObserver === "undefined") return;
520
+ const bar = tab.closest("[data-element=\"Bar\"]");
521
+ const observer = new ResizeObserver(keepActiveTabInStrip);
522
+ const stopFollowing = () => {
523
+ observer.disconnect();
524
+ for (const type_0 of STRIP_INTERACTION_EVENTS) bar?.removeEventListener(type_0, stopFollowing, true);
525
+ };
526
+ observer.observe(tab);
527
+ for (const type_1 of STRIP_INTERACTION_EVENTS) bar?.addEventListener(type_1, stopFollowing, {
528
+ capture: true,
529
+ passive: true
530
+ });
531
+ return stopFollowing;
470
532
  };
471
- t29 = [isActive];
472
- $[101] = isActive;
473
- $[102] = t28;
474
- $[103] = t29;
533
+ t31 = [isActive, keepActiveTabInStrip];
534
+ $[105] = isActive;
535
+ $[106] = keepActiveTabInStrip;
536
+ $[107] = t30;
537
+ $[108] = t31;
475
538
  } else {
476
- t28 = $[102];
477
- t29 = $[103];
539
+ t30 = $[107];
540
+ t31 = $[108];
478
541
  }
479
- useEffect(t28, t29);
480
- let t30;
481
- if ($[104] !== contextMenuOnly || $[105] !== effectiveMenuTriggerProps || $[106] !== isMenuOpen || $[107] !== menuElement || $[108] !== menuPopoverPlacement) {
482
- t30 = menuElement && !contextMenuOnly ? /* @__PURE__ */ jsxs(_MenuTrigger, {
542
+ useEffect(t30, t31);
543
+ let t32;
544
+ if ($[109] !== contextMenuOnly || $[110] !== effectiveMenuTriggerProps || $[111] !== isMenuOpen || $[112] !== menuElement || $[113] !== menuPopoverPlacement) {
545
+ t32 = menuElement && !contextMenuOnly ? /* @__PURE__ */ jsxs(_MenuTrigger, {
483
546
  isOpen: isMenuOpen,
484
547
  placement: menuPopoverPlacement,
485
548
  onOpenChange: setIsMenuOpen,
@@ -489,41 +552,41 @@ function TabButton(t0) {
489
552
  ...effectiveMenuTriggerProps
490
553
  }), menuElement]
491
554
  }) : null;
492
- $[104] = contextMenuOnly;
493
- $[105] = effectiveMenuTriggerProps;
494
- $[106] = isMenuOpen;
495
- $[107] = menuElement;
496
- $[108] = menuPopoverPlacement;
497
- $[109] = t30;
498
- } else t30 = $[109];
499
- const menuAction = t30;
500
- let t31;
501
- if ($[110] !== handleDelete || $[111] !== showDeleteButton || $[112] !== t) {
502
- t31 = showDeleteButton ? /* @__PURE__ */ jsx(ItemAction, {
555
+ $[109] = contextMenuOnly;
556
+ $[110] = effectiveMenuTriggerProps;
557
+ $[111] = isMenuOpen;
558
+ $[112] = menuElement;
559
+ $[113] = menuPopoverPlacement;
560
+ $[114] = t32;
561
+ } else t32 = $[114];
562
+ const menuAction = t32;
563
+ let t33;
564
+ if ($[115] !== handleDelete || $[116] !== showDeleteButton || $[117] !== t) {
565
+ t33 = showDeleteButton ? /* @__PURE__ */ jsx(ItemAction, {
503
566
  tabIndex: -1,
504
567
  icon: /* @__PURE__ */ jsx(CloseIcon, {}),
505
568
  tooltip: t("tabs.close", "Close"),
506
569
  onPress: handleDelete
507
570
  }) : null;
508
- $[110] = handleDelete;
509
- $[111] = showDeleteButton;
510
- $[112] = t;
511
- $[113] = t31;
512
- } else t31 = $[113];
513
- const deleteAction = t31;
514
- let t32;
515
- if ($[114] !== deleteAction || $[115] !== menuAction || $[116] !== tabData.actions) {
516
- t32 = tabData.actions || menuAction || deleteAction ? /* @__PURE__ */ jsxs(Fragment$1, { children: [
571
+ $[115] = handleDelete;
572
+ $[116] = showDeleteButton;
573
+ $[117] = t;
574
+ $[118] = t33;
575
+ } else t33 = $[118];
576
+ const deleteAction = t33;
577
+ let t34;
578
+ if ($[119] !== deleteAction || $[120] !== menuAction || $[121] !== tabData.actions) {
579
+ t34 = tabData.actions || menuAction || deleteAction ? /* @__PURE__ */ jsxs(Fragment$1, { children: [
517
580
  tabData.actions,
518
581
  menuAction,
519
582
  deleteAction
520
583
  ] }) : void 0;
521
- $[114] = deleteAction;
522
- $[115] = menuAction;
523
- $[116] = tabData.actions;
524
- $[117] = t32;
525
- } else t32 = $[117];
526
- const actions = t32;
584
+ $[119] = deleteAction;
585
+ $[120] = menuAction;
586
+ $[121] = tabData.actions;
587
+ $[122] = t34;
588
+ } else t34 = $[122];
589
+ const actions = t34;
527
590
  const effectiveSize = tabData.size ?? size ?? "medium";
528
591
  const itemSize = effectiveType === "radio" ? RADIO_SIZE_MAP[effectiveSize === "large" ? "large" : "medium"] : effectiveSize;
529
592
  const itemShape = effectiveType === "file" ? "sharp" : void 0;
@@ -533,46 +596,46 @@ function TabButton(t0) {
533
596
  let qaVal;
534
597
  let styles;
535
598
  let tabTooltip;
536
- if ($[118] !== tabData) {
537
- const { title: _title, content: _content, key: _key, isDisabled: _isDisabled, prerender: _prerender, keepMounted: _keepMounted, size: _size, actions: _actions, autoHideActions: _autoHideActions, isEditable: _isEditable, onTitleChange: _onTitleChange, menu: _menu, menuTriggerProps: _menuTriggerProps, menuProps: _menuProps, contextMenu: _contextMenu, onAction: _onAction, tooltip: t33, qa: t34, qaVal: t35, styles: t36, ...t37 } = tabData;
538
- tabTooltip = t33;
539
- qa = t34;
540
- qaVal = t35;
541
- styles = t36;
542
- itemStyleProps = t37;
543
- $[118] = tabData;
544
- $[119] = itemStyleProps;
545
- $[120] = qa;
546
- $[121] = qaVal;
547
- $[122] = styles;
548
- $[123] = tabTooltip;
599
+ if ($[123] !== tabData) {
600
+ const { title: _title, content: _content, key: _key, isDisabled: _isDisabled, prerender: _prerender, keepMounted: _keepMounted, size: _size, actions: _actions, autoHideActions: _autoHideActions, isEditable: _isEditable, onTitleChange: _onTitleChange, menu: _menu, menuTriggerProps: _menuTriggerProps, menuProps: _menuProps, contextMenu: _contextMenu, onAction: _onAction, tooltip: t35, qa: t36, qaVal: t37, styles: t38, ...t39 } = tabData;
601
+ tabTooltip = t35;
602
+ qa = t36;
603
+ qaVal = t37;
604
+ styles = t38;
605
+ itemStyleProps = t39;
606
+ $[123] = tabData;
607
+ $[124] = itemStyleProps;
608
+ $[125] = qa;
609
+ $[126] = qaVal;
610
+ $[127] = styles;
611
+ $[128] = tabTooltip;
549
612
  } else {
550
- itemStyleProps = $[119];
551
- qa = $[120];
552
- qaVal = $[121];
553
- styles = $[122];
554
- tabTooltip = $[123];
613
+ itemStyleProps = $[124];
614
+ qa = $[125];
615
+ qaVal = $[126];
616
+ styles = $[127];
617
+ tabTooltip = $[128];
555
618
  }
556
- let t33;
557
- if ($[124] !== tabData.title) {
558
- t33 = typeof tabData.title === "string" ? void 0 : () => tabData.title;
559
- $[124] = tabData.title;
560
- $[125] = t33;
561
- } else t33 = $[125];
562
- const renderTitleDisplay = t33;
563
- let t34;
564
- if ($[126] !== effectiveIsEditable || $[127] !== isEditing || $[128] !== renderTitleDisplay || $[129] !== tabTooltip) {
565
- t34 = !effectiveIsEditable ? tabTooltip : !renderTitleDisplay ? false : isEditing ? disableTooltip(tabTooltip) : tabTooltip;
566
- $[126] = effectiveIsEditable;
567
- $[127] = isEditing;
568
- $[128] = renderTitleDisplay;
569
- $[129] = tabTooltip;
570
- $[130] = t34;
571
- } else t34 = $[130];
572
- const tabElementTooltip = t34;
573
619
  let t35;
574
- if ($[131] !== editTabTitleLabel || $[132] !== effectiveIsEditable || $[133] !== handleCancelEditing || $[134] !== handleEditingChange || $[135] !== handleSubmitEditing || $[136] !== isDisabled || $[137] !== isEditing || $[138] !== renderTitleDisplay || $[139] !== tabData.title || $[140] !== tabTooltip || $[141] !== titleString) {
575
- t35 = effectiveIsEditable ? /* @__PURE__ */ jsx(InlineInput, {
620
+ if ($[129] !== tabData.title) {
621
+ t35 = typeof tabData.title === "string" ? void 0 : () => tabData.title;
622
+ $[129] = tabData.title;
623
+ $[130] = t35;
624
+ } else t35 = $[130];
625
+ const renderTitleDisplay = t35;
626
+ let t36;
627
+ if ($[131] !== effectiveIsEditable || $[132] !== isEditing || $[133] !== renderTitleDisplay || $[134] !== tabTooltip) {
628
+ t36 = !effectiveIsEditable ? tabTooltip : !renderTitleDisplay ? false : isEditing ? disableTooltip(tabTooltip) : tabTooltip;
629
+ $[131] = effectiveIsEditable;
630
+ $[132] = isEditing;
631
+ $[133] = renderTitleDisplay;
632
+ $[134] = tabTooltip;
633
+ $[135] = t36;
634
+ } else t36 = $[135];
635
+ const tabElementTooltip = t36;
636
+ let t37;
637
+ if ($[136] !== editTabTitleLabel || $[137] !== effectiveIsEditable || $[138] !== handleCancelEditing || $[139] !== handleEditingChange || $[140] !== handleSubmitEditing || $[141] !== isDisabled || $[142] !== isEditing || $[143] !== renderTitleDisplay || $[144] !== tabData.title || $[145] !== tabTooltip || $[146] !== titleString) {
638
+ t37 = effectiveIsEditable ? /* @__PURE__ */ jsx(InlineInput, {
576
639
  ref: inlineInputRef,
577
640
  value: titleString,
578
641
  isEditing,
@@ -586,42 +649,42 @@ function TabButton(t0) {
586
649
  onSubmit: handleSubmitEditing,
587
650
  onCancel: handleCancelEditing
588
651
  }) : tabData.title;
589
- $[131] = editTabTitleLabel;
590
- $[132] = effectiveIsEditable;
591
- $[133] = handleCancelEditing;
592
- $[134] = handleEditingChange;
593
- $[135] = handleSubmitEditing;
594
- $[136] = isDisabled;
595
- $[137] = isEditing;
596
- $[138] = renderTitleDisplay;
597
- $[139] = tabData.title;
598
- $[140] = tabTooltip;
599
- $[141] = titleString;
600
- $[142] = t35;
601
- } else t35 = $[142];
602
- const titleContent = t35;
652
+ $[136] = editTabTitleLabel;
653
+ $[137] = effectiveIsEditable;
654
+ $[138] = handleCancelEditing;
655
+ $[139] = handleEditingChange;
656
+ $[140] = handleSubmitEditing;
657
+ $[141] = isDisabled;
658
+ $[142] = isEditing;
659
+ $[143] = renderTitleDisplay;
660
+ $[144] = tabData.title;
661
+ $[145] = tabTooltip;
662
+ $[146] = titleString;
663
+ $[147] = t37;
664
+ } else t37 = $[147];
665
+ const titleContent = t37;
603
666
  const effectiveContainerRef = contextMenuEnabled && processedMenu ? contextMenu.targetRef : containerRef;
604
- let t36;
605
- if ($[143] !== processedMenu) {
606
- t36 = processedMenu ? { "aria-haspopup": "menu" } : {};
607
- $[143] = processedMenu;
608
- $[144] = t36;
609
- } else t36 = $[144];
610
- const ariaProps = t36;
611
- let t37;
612
- if ($[145] !== effectiveAutoHideActions || $[146] !== mods) {
613
- t37 = {
667
+ let t38;
668
+ if ($[148] !== processedMenu) {
669
+ t38 = processedMenu ? { "aria-haspopup": "menu" } : {};
670
+ $[148] = processedMenu;
671
+ $[149] = t38;
672
+ } else t38 = $[149];
673
+ const ariaProps = t38;
674
+ let t39;
675
+ if ($[150] !== effectiveAutoHideActions || $[151] !== mods) {
676
+ t39 = {
614
677
  ...mods,
615
678
  "auto-hide-actions": effectiveAutoHideActions
616
679
  };
617
- $[145] = effectiveAutoHideActions;
618
- $[146] = mods;
619
- $[147] = t37;
620
- } else t37 = $[147];
621
- const containerMods = t37;
622
- let t38;
623
- if ($[148] !== dropState || $[149] !== isDraggable || $[150] !== item.key) {
624
- t38 = isDraggable && dropState && /* @__PURE__ */ jsx(TabDropIndicator, {
680
+ $[150] = effectiveAutoHideActions;
681
+ $[151] = mods;
682
+ $[152] = t39;
683
+ } else t39 = $[152];
684
+ const containerMods = t39;
685
+ let t40;
686
+ if ($[153] !== dropState || $[154] !== isDraggable || $[155] !== item.key) {
687
+ t40 = isDraggable && dropState && /* @__PURE__ */ jsx(TabDropIndicator, {
625
688
  target: {
626
689
  type: "item",
627
690
  key: item.key,
@@ -630,16 +693,16 @@ function TabButton(t0) {
630
693
  dropState,
631
694
  position: "before"
632
695
  });
633
- $[148] = dropState;
634
- $[149] = isDraggable;
635
- $[150] = item.key;
636
- $[151] = t38;
637
- } else t38 = $[151];
638
- const t39 = effectiveAutoHideActions && !isActive;
639
- let t40;
640
- if ($[152] !== actions || $[153] !== ariaProps || $[154] !== clearSpringLoad || $[155] !== effectiveAutoHideActions || $[156] !== focusProps || $[157] !== handleKeyDown || $[158] !== handleSpringLoadEnter || $[159] !== hoverProps || $[160] !== isActive || $[161] !== isDisabled || $[162] !== item.key || $[163] !== itemShape || $[164] !== itemSize || $[165] !== itemStyleProps || $[166] !== mods || $[167] !== qa || $[168] !== qaVal || $[169] !== styles || $[170] !== tabElementTooltip || $[171] !== tabProps || $[172] !== titleContent) {
641
- t40 = (t41) => {
642
- const { showActions, skipActionsWidthTransition } = t41;
696
+ $[153] = dropState;
697
+ $[154] = isDraggable;
698
+ $[155] = item.key;
699
+ $[156] = t40;
700
+ } else t40 = $[156];
701
+ const t41 = effectiveAutoHideActions && !isActive;
702
+ let t42;
703
+ if ($[157] !== actions || $[158] !== ariaProps || $[159] !== clearSpringLoad || $[160] !== effectiveAutoHideActions || $[161] !== focusProps || $[162] !== handleKeyDown || $[163] !== handleSpringLoadEnter || $[164] !== hoverProps || $[165] !== isActive || $[166] !== isDisabled || $[167] !== item.key || $[168] !== itemShape || $[169] !== itemSize || $[170] !== itemStyleProps || $[171] !== mods || $[172] !== qa || $[173] !== qaVal || $[174] !== styles || $[175] !== tabElementTooltip || $[176] !== tabProps || $[177] !== titleContent) {
704
+ t42 = (t43) => {
705
+ const { showActions, skipActionsWidthTransition } = t43;
643
706
  return /* @__PURE__ */ jsx(TabElement, {
644
707
  insideWrapper: true,
645
708
  preserveActionsSpace: true,
@@ -669,34 +732,34 @@ function TabButton(t0) {
669
732
  children: titleContent
670
733
  });
671
734
  };
672
- $[152] = actions;
673
- $[153] = ariaProps;
674
- $[154] = clearSpringLoad;
675
- $[155] = effectiveAutoHideActions;
676
- $[156] = focusProps;
677
- $[157] = handleKeyDown;
678
- $[158] = handleSpringLoadEnter;
679
- $[159] = hoverProps;
680
- $[160] = isActive;
681
- $[161] = isDisabled;
682
- $[162] = item.key;
683
- $[163] = itemShape;
684
- $[164] = itemSize;
685
- $[165] = itemStyleProps;
686
- $[166] = mods;
687
- $[167] = qa;
688
- $[168] = qaVal;
689
- $[169] = styles;
690
- $[170] = tabElementTooltip;
691
- $[171] = tabProps;
692
- $[172] = titleContent;
693
- $[173] = t40;
694
- } else t40 = $[173];
695
- let t41;
696
- if ($[174] !== actions || $[175] !== isDisabled || $[176] !== itemSize || $[177] !== mods || $[178] !== t39 || $[179] !== t40) {
697
- t41 = /* @__PURE__ */ jsx(ItemActionsWrapper, {
735
+ $[157] = actions;
736
+ $[158] = ariaProps;
737
+ $[159] = clearSpringLoad;
738
+ $[160] = effectiveAutoHideActions;
739
+ $[161] = focusProps;
740
+ $[162] = handleKeyDown;
741
+ $[163] = handleSpringLoadEnter;
742
+ $[164] = hoverProps;
743
+ $[165] = isActive;
744
+ $[166] = isDisabled;
745
+ $[167] = item.key;
746
+ $[168] = itemShape;
747
+ $[169] = itemSize;
748
+ $[170] = itemStyleProps;
749
+ $[171] = mods;
750
+ $[172] = qa;
751
+ $[173] = qaVal;
752
+ $[174] = styles;
753
+ $[175] = tabElementTooltip;
754
+ $[176] = tabProps;
755
+ $[177] = titleContent;
756
+ $[178] = t42;
757
+ } else t42 = $[178];
758
+ let t43;
759
+ if ($[179] !== actions || $[180] !== isDisabled || $[181] !== itemSize || $[182] !== mods || $[183] !== t41 || $[184] !== t42) {
760
+ t43 = /* @__PURE__ */ jsx(ItemActionsWrapper, {
698
761
  preserveActionsSpace: true,
699
- autoHideActions: t39,
762
+ autoHideActions: t41,
700
763
  type: "clear",
701
764
  theme: "default",
702
765
  size: itemSize,
@@ -704,20 +767,20 @@ function TabButton(t0) {
704
767
  mods,
705
768
  actions,
706
769
  actionsProps: ACTIONS_EVENT_HANDLERS,
707
- children: t40
770
+ children: t42
708
771
  });
709
- $[174] = actions;
710
- $[175] = isDisabled;
711
- $[176] = itemSize;
712
- $[177] = mods;
713
- $[178] = t39;
714
- $[179] = t40;
715
- $[180] = t41;
716
- } else t41 = $[180];
717
- const t42 = contextMenuEnabled && processedMenu && contextMenu.rendered;
718
- let t43;
719
- if ($[181] !== dropState || $[182] !== isDraggable || $[183] !== isLastTab || $[184] !== item.key) {
720
- t43 = isDraggable && dropState && isLastTab && /* @__PURE__ */ jsx(TabDropIndicator, {
772
+ $[179] = actions;
773
+ $[180] = isDisabled;
774
+ $[181] = itemSize;
775
+ $[182] = mods;
776
+ $[183] = t41;
777
+ $[184] = t42;
778
+ $[185] = t43;
779
+ } else t43 = $[185];
780
+ const t44 = contextMenuEnabled && processedMenu && contextMenu.rendered;
781
+ let t45;
782
+ if ($[186] !== dropState || $[187] !== isDraggable || $[188] !== isLastTab || $[189] !== item.key) {
783
+ t45 = isDraggable && dropState && isLastTab && /* @__PURE__ */ jsx(TabDropIndicator, {
721
784
  target: {
722
785
  type: "item",
723
786
  key: item.key,
@@ -726,37 +789,37 @@ function TabButton(t0) {
726
789
  dropState,
727
790
  position: "after"
728
791
  });
729
- $[181] = dropState;
730
- $[182] = isDraggable;
731
- $[183] = isLastTab;
732
- $[184] = item.key;
733
- $[185] = t43;
734
- } else t43 = $[185];
735
- let t44;
736
- if ($[186] !== containerMods || $[187] !== effectiveContainerRef || $[188] !== effectiveDragProps || $[189] !== itemSize || $[190] !== t38 || $[191] !== t41 || $[192] !== t42 || $[193] !== t43) {
737
- t44 = /* @__PURE__ */ jsxs(TabContainer, {
792
+ $[186] = dropState;
793
+ $[187] = isDraggable;
794
+ $[188] = isLastTab;
795
+ $[189] = item.key;
796
+ $[190] = t45;
797
+ } else t45 = $[190];
798
+ let t46;
799
+ if ($[191] !== containerMods || $[192] !== effectiveContainerRef || $[193] !== effectiveDragProps || $[194] !== itemSize || $[195] !== t40 || $[196] !== t43 || $[197] !== t44 || $[198] !== t45) {
800
+ t46 = /* @__PURE__ */ jsxs(TabContainer, {
738
801
  ref: effectiveContainerRef,
739
802
  "data-size": itemSize,
740
803
  mods: containerMods,
741
804
  ...effectiveDragProps,
742
805
  children: [
743
- t38,
744
- t41,
745
- t42,
746
- t43
806
+ t40,
807
+ t43,
808
+ t44,
809
+ t45
747
810
  ]
748
811
  });
749
- $[186] = containerMods;
750
- $[187] = effectiveContainerRef;
751
- $[188] = effectiveDragProps;
752
- $[189] = itemSize;
753
- $[190] = t38;
754
- $[191] = t41;
755
- $[192] = t42;
756
- $[193] = t43;
757
- $[194] = t44;
758
- } else t44 = $[194];
759
- return t44;
812
+ $[191] = containerMods;
813
+ $[192] = effectiveContainerRef;
814
+ $[193] = effectiveDragProps;
815
+ $[194] = itemSize;
816
+ $[195] = t40;
817
+ $[196] = t43;
818
+ $[197] = t44;
819
+ $[198] = t45;
820
+ $[199] = t46;
821
+ } else t46 = $[199];
822
+ return t46;
760
823
  }
761
824
 
762
825
  //#endregion