@cube-dev/ui-kit 0.0.0-canary-810c6f7 → 0.0.0-canary-5adbf30

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 (652) hide show
  1. package/dist/components/Action/Action.js +1 -1
  2. package/dist/components/ActiveZone/ActiveZone.js +1 -1
  3. package/dist/components/Alert/Alert.js +1 -1
  4. package/dist/components/Alert/use-alert.js +1 -1
  5. package/dist/components/AlertDialog/AlertDialog.js +1 -1
  6. package/dist/components/AlertDialog/AlertDialogApiProvider.js +1 -1
  7. package/dist/components/AlertDialog/AlertDialogZone.js +1 -1
  8. package/dist/components/Avatar/Avatar.js +1 -1
  9. package/dist/components/Badge/Badge.js +1 -1
  10. package/dist/components/Banner/Banner.js +1 -1
  11. package/dist/components/Block/Block.js +1 -1
  12. package/dist/components/Button/AutoCollapseObserver.js +1 -1
  13. package/dist/components/Button/Button.js +1 -1
  14. package/dist/components/Button/index.js +1 -1
  15. package/dist/components/ButtonGroup/ButtonGroup.js +1 -1
  16. package/dist/components/ButtonSplit/ButtonSplit.js +1 -1
  17. package/dist/components/ButtonSplit/ButtonSplitContext.js +1 -1
  18. package/dist/components/Calendar/Calendar.js +1 -1
  19. package/dist/components/Calendar/CalendarCell.js +1 -1
  20. package/dist/components/Calendar/CalendarGrid.js +1 -1
  21. package/dist/components/Calendar/CalendarHeader.js +1 -1
  22. package/dist/components/Calendar/CalendarPanel.js +1 -1
  23. package/dist/components/Calendar/PeriodCalendar.js +1 -1
  24. package/dist/components/Calendar/PeriodGrid.js +1 -1
  25. package/dist/components/Calendar/RangeCalendar.js +1 -1
  26. package/dist/components/Calendar/styled.js +1 -1
  27. package/dist/components/Card/Card.js +1 -1
  28. package/dist/components/Checkbox/Checkbox.js +1 -1
  29. package/dist/components/Checkbox/CheckboxGroup.js +1 -1
  30. package/dist/components/Checkbox/CheckboxGroupContext.js +1 -1
  31. package/dist/components/CollectionItem/CollectionItem.js +1 -1
  32. package/dist/components/ColorInput/ColorInput.js +1 -1
  33. package/dist/components/ColorPanel/ColorPanel.js +1 -1
  34. package/dist/components/ColorPicker/ColorPicker.js +1 -1
  35. package/dist/components/ColorSwatch/ColorSwatch.js +1 -1
  36. package/dist/components/ColorSwatchGroup/ColorSwatchGroup.js +1 -1
  37. package/dist/components/ComboBox/ComboBox.js +1 -1
  38. package/dist/components/ComboBox/combo-box-options.js +1 -1
  39. package/dist/components/CommandMenu/CommandMenu.js +1 -1
  40. package/dist/components/CommandMenu/styled.js +2 -1
  41. package/dist/components/CommandMenu/styled.js.map +1 -1
  42. package/dist/components/CommandTextArea/CommandTextArea.js +1 -1
  43. package/dist/components/CommandTextArea/caret-position.js +1 -1
  44. package/dist/components/CommandTextArea/use-caret-anchor.js +1 -1
  45. package/dist/components/Content/Content.js +1 -1
  46. package/dist/components/CopyPasteBlock/CopyPasteBlock.js +1 -1
  47. package/dist/components/CopySnippet/CopySnippet.js +1 -1
  48. package/dist/components/CubeLogo/CubeLogo.js +1 -1
  49. package/dist/components/DataTable/DataTable.js +1 -1
  50. package/dist/components/DatePicker/CalendarPopover.js +1 -1
  51. package/dist/components/DatePicker/DateInput.js +1 -1
  52. package/dist/components/DatePicker/DateInputBase.js +1 -1
  53. package/dist/components/DatePicker/DatePicker.js +1 -1
  54. package/dist/components/DatePicker/DatePickerButton.js +1 -1
  55. package/dist/components/DatePicker/DatePickerElement.js +1 -1
  56. package/dist/components/DatePicker/DatePickerInput.js +1 -1
  57. package/dist/components/DatePicker/DatePickerSegment.js +1 -1
  58. package/dist/components/DatePicker/DateRangePicker.js +1 -1
  59. package/dist/components/DatePicker/DateRangeSeparatedPicker.js +1 -1
  60. package/dist/components/DatePicker/MonthPicker.js +1 -1
  61. package/dist/components/DatePicker/PeriodPicker.js +1 -1
  62. package/dist/components/DatePicker/QuarterPicker.js +1 -1
  63. package/dist/components/DatePicker/TimeInput.js +1 -1
  64. package/dist/components/DatePicker/WeekPicker.js +1 -1
  65. package/dist/components/DatePicker/YearPicker.js +1 -1
  66. package/dist/components/DatePicker/parse-date.js +1 -1
  67. package/dist/components/DatePicker/period.js +1 -1
  68. package/dist/components/DatePicker/props.js +1 -1
  69. package/dist/components/DatePicker/utils.js +1 -1
  70. package/dist/components/Dialog/Dialog.js +1 -1
  71. package/dist/components/Dialog/DialogContainer.js +1 -1
  72. package/dist/components/Dialog/DialogContext.js +1 -1
  73. package/dist/components/Dialog/DialogForm.js +1 -1
  74. package/dist/components/Dialog/DialogTrigger.js +1 -1
  75. package/dist/components/Dialog/ModernDialogForm.js +1 -1
  76. package/dist/components/Dialog/default-button-text.js +1 -1
  77. package/dist/components/Dialog/use-content-overflow.js +1 -1
  78. package/dist/components/Dialog/use-dialog-container.js +1 -1
  79. package/dist/components/Dialog/use-dialog-open-sync.js +1 -1
  80. package/dist/components/Dialog/use-dismiss-confirmation.js +1 -1
  81. package/dist/components/Dialog/use-retained-dialog-focus.js +1 -1
  82. package/dist/components/Disclosure/Disclosure.js +1 -1
  83. package/dist/components/DisplayTransition/DisplayTransition.js +1 -1
  84. package/dist/components/Divider/Divider.js +1 -1
  85. package/dist/components/DraggableCollection/DraggableCollection.js +1 -1
  86. package/dist/components/FieldWrapper/FieldWrapper.js +1 -1
  87. package/dist/components/FieldWrapper/field-description.js +1 -1
  88. package/dist/components/FileInput/FileInput.js +1 -1
  89. package/dist/components/FilterListBox/FilterListBox.js +3 -2
  90. package/dist/components/FilterListBox/FilterListBox.js.map +1 -1
  91. package/dist/components/FilterListBox/styled.js +19 -2
  92. package/dist/components/FilterListBox/styled.js.map +1 -1
  93. package/dist/components/FilterPicker/FilterPicker.d.ts +3 -4
  94. package/dist/components/FilterPicker/FilterPicker.js +1 -1
  95. package/dist/components/FilterPicker/FilterPicker.js.map +1 -1
  96. package/dist/components/FilterPicker/FilterTree.js +72 -64
  97. package/dist/components/FilterPicker/FilterTree.js.map +1 -1
  98. package/dist/components/Flex/Flex.js +1 -1
  99. package/dist/components/Flow/Flow.js +1 -1
  100. package/dist/components/Footer/Footer.js +1 -1
  101. package/dist/components/Form/Field.js +1 -1
  102. package/dist/components/Form/Form.js +1 -1
  103. package/dist/components/Form/FormContext.js +1 -1
  104. package/dist/components/Form/FormElement.js +1 -1
  105. package/dist/components/Form/ModernFormRoot.js +1 -1
  106. package/dist/components/Form/ResetButton.js +1 -1
  107. package/dist/components/Form/SubmitButton.js +1 -1
  108. package/dist/components/Form/SubmitError.js +1 -1
  109. package/dist/components/Form/backend.js +1 -1
  110. package/dist/components/Form/index.js +1 -1
  111. package/dist/components/Form/modern/ModernActions.js +1 -1
  112. package/dist/components/Form/modern/ModernControllerContext.js +1 -1
  113. package/dist/components/Form/modern/controller.js +1 -1
  114. package/dist/components/Form/modern/field-binding.js +1 -1
  115. package/dist/components/Form/modern/field.js +1 -1
  116. package/dist/components/Form/modern/react.js +1 -1
  117. package/dist/components/Form/modern/store.js +1 -1
  118. package/dist/components/Form/modern/validation.js +1 -1
  119. package/dist/components/Form/modern/values.js +1 -1
  120. package/dist/components/Form/reset-unbound-controls.js +1 -1
  121. package/dist/components/Form/use-field/use-field-binding.js +1 -1
  122. package/dist/components/Form/use-field/use-field-props.js +1 -1
  123. package/dist/components/Form/use-field/use-field.js +1 -1
  124. package/dist/components/Form/use-form.js +1 -1
  125. package/dist/components/Form/validation.js +1 -1
  126. package/dist/components/GlobalStyles/GlobalStyles.js +1 -1
  127. package/dist/components/Grid/Grid.js +1 -1
  128. package/dist/components/GridProvider/GridProvider.js +1 -1
  129. package/dist/components/Header/Header.js +1 -1
  130. package/dist/components/HiddenInput/HiddenInput.js +1 -1
  131. package/dist/components/HotKeys/HotKeys.js +1 -1
  132. package/dist/components/IconSwitch/IconSwitch.js +1 -1
  133. package/dist/components/InfoBadge/InfoBadge.js +1 -1
  134. package/dist/components/InlineInput/InlineInput.js +1 -1
  135. package/dist/components/Input/Input.js +1 -1
  136. package/dist/components/Item/Item.d.ts +2 -24
  137. package/dist/components/Item/Item.js +148 -196
  138. package/dist/components/Item/Item.js.map +1 -1
  139. package/dist/components/Item/ItemWithNativeLinks.js +1 -1
  140. package/dist/components/ItemAction/ItemAction.js +1 -1
  141. package/dist/components/ItemAction/ItemCloseAction.js +1 -1
  142. package/dist/components/ItemActionsWrapper/ItemActionsWrapper.js +1 -1
  143. package/dist/components/ItemBadge/ItemBadge.js +1 -1
  144. package/dist/components/ItemButton/ItemButton.d.ts +1 -11
  145. package/dist/components/ItemButton/ItemButton.js +4 -5
  146. package/dist/components/ItemButton/ItemButton.js.map +1 -1
  147. package/dist/components/ItemCard/ItemCard.js +1 -1
  148. package/dist/components/ItemTable/ItemTable.js +1 -1
  149. package/dist/components/ItemTable/ItemTableBulkBar.js +1 -1
  150. package/dist/components/ItemTable/ItemTableDragPreview.js +1 -1
  151. package/dist/components/ItemTable/ItemTableFooter.js +1 -1
  152. package/dist/components/ItemTable/ItemTableToolbar.js +1 -1
  153. package/dist/components/ItemTable/item-table-sections.js +1 -1
  154. package/dist/components/ItemTable/use-item-table-column-widths.js +1 -1
  155. package/dist/components/ItemTable/use-item-table-drag-drop.js +1 -1
  156. package/dist/components/ItemTable/use-item-table-pagination.js +1 -1
  157. package/dist/components/ItemTable/use-item-table-selection.js +1 -1
  158. package/dist/components/ItemTable/use-item-table-sort.js +1 -1
  159. package/dist/components/ItemTable/use-item-table-tree-model.js +1 -1
  160. package/dist/components/Label/Label.js +1 -1
  161. package/dist/components/Layout/GridLayout.js +1 -1
  162. package/dist/components/Layout/Layout.js +1 -1
  163. package/dist/components/Layout/LayoutBlock.js +1 -1
  164. package/dist/components/Layout/LayoutCenter.js +1 -1
  165. package/dist/components/Layout/LayoutContainer.js +1 -1
  166. package/dist/components/Layout/LayoutContent.js +1 -1
  167. package/dist/components/Layout/LayoutContext.js +1 -1
  168. package/dist/components/Layout/LayoutFlex.js +1 -1
  169. package/dist/components/Layout/LayoutFooter.js +1 -1
  170. package/dist/components/Layout/LayoutGrid.js +1 -1
  171. package/dist/components/Layout/LayoutHeader.js +1 -1
  172. package/dist/components/Layout/LayoutPane.js +1 -1
  173. package/dist/components/Layout/LayoutPanel.js +1 -1
  174. package/dist/components/Layout/LayoutPanelHeader.js +1 -1
  175. package/dist/components/Layout/LayoutPanelTransition.js +1 -1
  176. package/dist/components/Layout/LayoutResizeHandle.js +1 -1
  177. package/dist/components/Layout/LayoutToolbar.js +1 -1
  178. package/dist/components/Layout/index.js +1 -1
  179. package/dist/components/Layout/use-tiny-scrollbar.js +1 -1
  180. package/dist/components/Layout/utils.js +1 -1
  181. package/dist/components/Link/Link.js +1 -1
  182. package/dist/components/ListBox/DraggableListBox.js +1 -1
  183. package/dist/components/ListBox/ListBox.js +6 -1
  184. package/dist/components/ListBox/ListBox.js.map +1 -1
  185. package/dist/components/ListBox/empty-row.js +1 -1
  186. package/dist/components/ListBox/option-id.js +1 -1
  187. package/dist/components/ListBox/use-disabled-focus-reset.js +1 -1
  188. package/dist/components/ListBoxPopover/EmptyLabelStatus.js +1 -1
  189. package/dist/components/ListBoxPopover/ListBoxPopover.js +1 -1
  190. package/dist/components/ListBoxPopover/list-navigation.js +1 -1
  191. package/dist/components/ListBoxPopover/use-composite-focus.js +1 -1
  192. package/dist/components/ListBoxPopover/use-delayed-loading.js +1 -1
  193. package/dist/components/LoadingAnimation/LoadingAnimation.js +1 -1
  194. package/dist/components/Menu/Menu.d.ts +13 -0
  195. package/dist/components/Menu/Menu.js +1 -1
  196. package/dist/components/Menu/Menu.js.map +1 -1
  197. package/dist/components/Menu/MenuCollectionItem.js +1 -1
  198. package/dist/components/Menu/MenuContext.js +1 -1
  199. package/dist/components/Menu/MenuItem.js +1 -1
  200. package/dist/components/Menu/MenuSection.js +1 -1
  201. package/dist/components/Menu/MenuTrigger.js +1 -1
  202. package/dist/components/Menu/SubMenuTrigger.js +1 -1
  203. package/dist/components/Menu/SubmenuTriggerContext.js +1 -1
  204. package/dist/components/Menu/styled.js +5 -4
  205. package/dist/components/Menu/styled.js.map +1 -1
  206. package/dist/components/Menu/touch-context-menu.js +1 -1
  207. package/dist/components/Menu/use-anchored-menu.js +1 -1
  208. package/dist/components/Menu/use-context-menu.js +1 -1
  209. package/dist/components/Modal/Modal.js +1 -1
  210. package/dist/components/Modal/ModalContainmentProvider.js +1 -1
  211. package/dist/components/Modal/OpenTransitionContext.js +1 -1
  212. package/dist/components/Modal/Overlay.js +1 -1
  213. package/dist/components/Modal/Popover.js +1 -1
  214. package/dist/components/Modal/Tray.js +1 -1
  215. package/dist/components/Modal/Underlay.js +1 -1
  216. package/dist/components/NavTabs/NavTabs.js +1 -1
  217. package/dist/components/NoDataIcon/NoDataIcon.js +1 -1
  218. package/dist/components/Notifications/Notification.js +1 -1
  219. package/dist/components/Notifications/NotificationAction.js +1 -1
  220. package/dist/components/Notifications/NotificationCard.js +1 -1
  221. package/dist/components/Notifications/NotificationContext.js +1 -1
  222. package/dist/components/Notifications/NotificationItem.js +1 -1
  223. package/dist/components/Notifications/OverlayContainer.js +1 -1
  224. package/dist/components/Notifications/OverlayProvider.js +1 -1
  225. package/dist/components/Notifications/PersistentNotificationsList.js +1 -1
  226. package/dist/components/Notifications/dismissed-storage.js +1 -1
  227. package/dist/components/Notifications/format-relative-time.js +1 -1
  228. package/dist/components/Notifications/index.js +1 -1
  229. package/dist/components/Notifications/use-live-region.js +1 -1
  230. package/dist/components/Notifications/use-notification-state.js +1 -1
  231. package/dist/components/Notifications/use-notifications.js +1 -1
  232. package/dist/components/Notifications/use-overlay-timers.js +1 -1
  233. package/dist/components/Notifications/use-persistent-notifications.js +1 -1
  234. package/dist/components/Notifications/use-persistent-state.js +1 -1
  235. package/dist/components/Notifications/use-toast-state.js +1 -1
  236. package/dist/components/NumberInput/NumberInput.js +1 -1
  237. package/dist/components/NumberInput/StepButton.js +1 -1
  238. package/dist/components/Pagination/Pagination.js +1 -1
  239. package/dist/components/Pagination/use-pagination.js +1 -1
  240. package/dist/components/Panel/Panel.js +1 -1
  241. package/dist/components/Paragraph/Paragraph.js +1 -1
  242. package/dist/components/PasswordInput/PasswordInput.js +1 -1
  243. package/dist/components/Picker/Picker.js +1 -1
  244. package/dist/components/Placeholder/Placeholder.js +1 -1
  245. package/dist/components/Portal/Portal.js +1 -1
  246. package/dist/components/Portal/PortalProvider.js +1 -1
  247. package/dist/components/Portal/use-portal.js +1 -1
  248. package/dist/components/Prefix/Prefix.js +1 -1
  249. package/dist/components/PrismCode/PrismCode.js +1 -1
  250. package/dist/components/PrismCode/prism-setup.js +1 -1
  251. package/dist/components/PrismDiffCode/PrismDiffCode.js +1 -1
  252. package/dist/components/RadioGroup/Radio.d.ts +1 -3
  253. package/dist/components/RadioGroup/Radio.js +2 -4
  254. package/dist/components/RadioGroup/Radio.js.map +1 -1
  255. package/dist/components/RadioGroup/RadioContext.js +1 -1
  256. package/dist/components/RadioGroup/RadioGroup.js +1 -1
  257. package/dist/components/RadioGroup/joined-styles.js +1 -1
  258. package/dist/components/RenderCache/RenderCache.js +1 -1
  259. package/dist/components/ResizablePanel/ResizablePanel.js +1 -1
  260. package/dist/components/Result/Result.js +1 -1
  261. package/dist/components/Root/Root.js +1 -1
  262. package/dist/components/SearchComboBox/SearchComboBox.js +1 -1
  263. package/dist/components/SearchInput/SearchInput.js +1 -1
  264. package/dist/components/Select/Select.js +1 -1
  265. package/dist/components/Skeleton/Skeleton.js +1 -1
  266. package/dist/components/Slider/Gradation.js +1 -1
  267. package/dist/components/Slider/HueSlider.js +1 -1
  268. package/dist/components/Slider/RangeSlider.js +1 -1
  269. package/dist/components/Slider/Slider.js +1 -1
  270. package/dist/components/Slider/SliderBase.js +1 -1
  271. package/dist/components/Slider/SliderThumb.js +1 -1
  272. package/dist/components/Slider/SliderTrack.js +1 -1
  273. package/dist/components/Slider/elements.js +1 -1
  274. package/dist/components/Slider/index.js +1 -1
  275. package/dist/components/Space/Space.js +1 -1
  276. package/dist/components/Spin/Cube.js +1 -1
  277. package/dist/components/Spin/InternalSpinner.js +1 -1
  278. package/dist/components/Spin/Spin.js +1 -1
  279. package/dist/components/Spin/SpinsContainer.js +1 -1
  280. package/dist/components/StatsCard/StatsCard.js +1 -1
  281. package/dist/components/Suffix/Suffix.js +1 -1
  282. package/dist/components/Switch/Switch.js +1 -1
  283. package/dist/components/TableBase/ColumnResizer.js +1 -1
  284. package/dist/components/TableBase/RowCollection.js +1 -1
  285. package/dist/components/TableBase/TableHeaderCell.js +1 -1
  286. package/dist/components/TableBase/TableRow.js +1 -1
  287. package/dist/components/TableBase/TableRowLink.js +1 -1
  288. package/dist/components/TableBase/TableView.js +1 -1
  289. package/dist/components/TableBase/TreeGridTable.js +1 -1
  290. package/dist/components/TableBase/column-header.js +3 -3
  291. package/dist/components/TableBase/column-header.js.map +1 -1
  292. package/dist/components/TableBase/column-menu.js +1 -1
  293. package/dist/components/TableBase/column-styles.js +1 -1
  294. package/dist/components/TableBase/column-tint.js +1 -1
  295. package/dist/components/TableBase/row-menu.js +1 -1
  296. package/dist/components/TableBase/styled.js +1 -1
  297. package/dist/components/TableBase/table-body-sections.js +1 -1
  298. package/dist/components/TableBase/table-tree.js +1 -1
  299. package/dist/components/TableBase/types.js +1 -1
  300. package/dist/components/TableBase/use-cell-selection.js +0 -0
  301. package/dist/components/TableBase/use-column-menu.js +1 -1
  302. package/dist/components/TableBase/use-column-order.js +1 -1
  303. package/dist/components/TableBase/use-column-window.js +1 -1
  304. package/dist/components/TableBase/use-container-width.js +1 -1
  305. package/dist/components/TableBase/use-row-move-animation.js +1 -1
  306. package/dist/components/TableBase/use-scrollability.js +1 -1
  307. package/dist/components/TableBase/use-table-columns.js +1 -1
  308. package/dist/components/TableBase/use-table-search.js +1 -1
  309. package/dist/components/TableBase/use-table-selection.js +1 -1
  310. package/dist/components/TableBase/use-table-sort.js +1 -1
  311. package/dist/components/TableBase/use-table-sorts.js +1 -1
  312. package/dist/components/TableBase/use-table-storage.js +1 -1
  313. package/dist/components/TableBase/use-table-tooltip-refresh.js +1 -1
  314. package/dist/components/TableBase/use-table-tree-state.js +1 -1
  315. package/dist/components/Tabs/BoardDragActiveProvider.js +1 -1
  316. package/dist/components/Tabs/DraggableTabList.js +1 -1
  317. package/dist/components/Tabs/TabButton.js +2 -2
  318. package/dist/components/Tabs/TabButton.js.map +1 -1
  319. package/dist/components/Tabs/TabDropIndicator.js +1 -1
  320. package/dist/components/Tabs/TabPanel.js +1 -1
  321. package/dist/components/Tabs/TabPicker.js +1 -1
  322. package/dist/components/Tabs/Tabs.js +1 -1
  323. package/dist/components/Tabs/TabsAction.js +1 -1
  324. package/dist/components/Tabs/TabsContext.js +1 -1
  325. package/dist/components/Tabs/popover-placement.js +1 -1
  326. package/dist/components/Tabs/scroll-tab-into-strip.js +1 -1
  327. package/dist/components/Tabs/segmented-styles.js +1 -1
  328. package/dist/components/Tabs/styled.js +1 -1
  329. package/dist/components/Tabs/types.d.ts +1 -1
  330. package/dist/components/Tabs/types.js +1 -1
  331. package/dist/components/Tabs/types.js.map +1 -1
  332. package/dist/components/Tabs/use-tab-editing.js +1 -1
  333. package/dist/components/Tabs/use-tab-indicator.js +1 -1
  334. package/dist/components/Tag/Tag.js +1 -1
  335. package/dist/components/TagInput/TagInput.js +1 -1
  336. package/dist/components/TagInput/TagList.js +1 -1
  337. package/dist/components/TagInput/use-active-option.js +1 -1
  338. package/dist/components/TagInput/use-suffix-space.js +1 -1
  339. package/dist/components/TagInput/use-tag-error.js +1 -1
  340. package/dist/components/Text/Text.js +1 -1
  341. package/dist/components/TextArea/TextArea.js +1 -1
  342. package/dist/components/TextInput/TextInput.js +1 -1
  343. package/dist/components/TextInput/TextInputBase.js +1 -1
  344. package/dist/components/TextInput/displayed-validation.js +1 -1
  345. package/dist/components/TextInput/identifier-text-services.js +1 -1
  346. package/dist/components/TextInput/password-manager-ignore.js +1 -1
  347. package/dist/components/TextInput/use-auto-size-text-area.js +1 -1
  348. package/dist/components/TextInputMapper/TextInputMapper.js +1 -1
  349. package/dist/components/TextItem/TextItem.js +1 -1
  350. package/dist/components/Title/Title.js +1 -1
  351. package/dist/components/Toast/AnnouncedToastItem.js +1 -1
  352. package/dist/components/Toast/Toast.js +1 -1
  353. package/dist/components/Toast/ToastItem.js +1 -1
  354. package/dist/components/Toast/use-progress-toast.js +1 -1
  355. package/dist/components/Toast/use-toast.js +1 -1
  356. package/dist/components/ToggleGroup/ToggleGroup.js +1 -1
  357. package/dist/components/ToggleGroup/ToggleGroupContext.js +1 -1
  358. package/dist/components/ToggleGroup/ToggleGroupItem.js +1 -1
  359. package/dist/components/Tooltip/Tooltip.js +1 -1
  360. package/dist/components/Tooltip/TooltipContext.js +1 -1
  361. package/dist/components/Tooltip/TooltipProvider.js +1 -1
  362. package/dist/components/Tooltip/TooltipTrigger.js +1 -1
  363. package/dist/components/Tooltip/last-press.js +1 -1
  364. package/dist/components/Tooltip/split-trigger-props.js +1 -1
  365. package/dist/components/Tree/Tree.js +1 -1
  366. package/dist/components/Tree/TreeNode.js +1 -1
  367. package/dist/components/Tree/checked-keys.js +1 -1
  368. package/dist/components/Tree/row-id.js +1 -1
  369. package/dist/components/Tree/styled.js +1 -1
  370. package/dist/components/Tree/tree-index.js +1 -1
  371. package/dist/components/Tree/types.d.ts +2 -3
  372. package/dist/components/Tree/use-checkbox-tree.js +1 -1
  373. package/dist/components/Tree/use-load-data.js +1 -1
  374. package/dist/components/TriggerActions/TriggerActions.js +1 -1
  375. package/dist/components/Typography/Typography.js +1 -1
  376. package/dist/components/ValidationIndicator/InvalidIcon.js +1 -1
  377. package/dist/components/ValidationIndicator/ValidIcon.js +1 -1
  378. package/dist/components/ValidationIndicator/ValidationIndicator.js +1 -1
  379. package/dist/eslint-plugin/defaults.generated.js +1 -55
  380. package/dist/eslint-plugin/defaults.generated.js.map +1 -1
  381. package/dist/eslint-plugin/index.js +1 -1
  382. package/dist/eslint-plugin/rules/no-redundant-default-prop.js +1 -1
  383. package/dist/harness/colors-deps.js +1 -1
  384. package/dist/hooks/use-action.js +1 -1
  385. package/dist/hooks/use-auto-tooltip.js +1 -1
  386. package/dist/hooks/use-buffered-value.js +1 -1
  387. package/dist/hooks/use-combined-refs.js +1 -1
  388. package/dist/hooks/use-controlled-focus-visible.js +1 -1
  389. package/dist/hooks/use-debounced-value.js +1 -1
  390. package/dist/hooks/use-deprecation-warning.js +1 -1
  391. package/dist/hooks/use-event.js +1 -1
  392. package/dist/hooks/use-id.js +1 -1
  393. package/dist/hooks/use-is-darwin.js +1 -1
  394. package/dist/hooks/use-is-first-render.js +1 -1
  395. package/dist/hooks/use-key-symbols.js +1 -1
  396. package/dist/hooks/use-layout-effect.d.ts +1 -1
  397. package/dist/hooks/use-layout-effect.js +1 -1
  398. package/dist/hooks/use-local-storage.js +1 -1
  399. package/dist/hooks/use-merge-styles.js +1 -1
  400. package/dist/hooks/use-open-key.js +1 -1
  401. package/dist/hooks/use-overlay-escape-guard.js +1 -1
  402. package/dist/hooks/use-overlay-position.js +1 -1
  403. package/dist/hooks/use-popover-sync.js +1 -1
  404. package/dist/hooks/use-qa-props.js +1 -1
  405. package/dist/hooks/use-scheme.js +1 -1
  406. package/dist/hooks/use-sync-ref.js +1 -1
  407. package/dist/hooks/use-timer/Timer.js +1 -1
  408. package/dist/hooks/use-timer/use-timer.js +1 -1
  409. package/dist/hooks/use-validation-props.js +1 -1
  410. package/dist/hooks/use-viewport-size.js +1 -1
  411. package/dist/hooks/use-warn.js +1 -1
  412. package/dist/i18n/I18nProvider.js +1 -1
  413. package/dist/i18n/add-uikit-locale.js +1 -1
  414. package/dist/i18n/create-formatter.js +1 -1
  415. package/dist/i18n/instance.js +1 -1
  416. package/dist/i18n/locales/de-DE/uikit.js +1 -1
  417. package/dist/i18n/locales/en-US/uikit.js +1 -1
  418. package/dist/i18n/locales/es-ES/uikit.js +1 -1
  419. package/dist/i18n/locales/es-MX/uikit.js +1 -1
  420. package/dist/i18n/locales/fr-FR/uikit.js +1 -1
  421. package/dist/i18n/locales/it-IT/uikit.js +1 -1
  422. package/dist/i18n/locales/ja-JP/uikit.js +1 -1
  423. package/dist/i18n/locales/nb-NO/uikit.js +1 -1
  424. package/dist/i18n/locales/pt-BR/uikit.js +1 -1
  425. package/dist/i18n/locales/pt-PT/uikit.js +1 -1
  426. package/dist/i18n/locales/sv-SE/uikit.js +1 -1
  427. package/dist/i18n/locales/vi-VN/uikit.js +1 -1
  428. package/dist/i18n/locales.js +1 -1
  429. package/dist/i18n/namespace.js +1 -1
  430. package/dist/i18n/use-formatter.js +1 -1
  431. package/dist/i18n/use-i18n.js +1 -1
  432. package/dist/icons/AdjustmentsHorizontalIcon.js +1 -1
  433. package/dist/icons/AdjustmentsIcon.js +1 -1
  434. package/dist/icons/AiIcon.js +1 -1
  435. package/dist/icons/AreaChartIcon.js +1 -1
  436. package/dist/icons/ArrowNarrowDownIcon.js +1 -1
  437. package/dist/icons/ArrowNarrowUpIcon.js +1 -1
  438. package/dist/icons/BackwardIcon.js +1 -1
  439. package/dist/icons/BarChartIcon.js +1 -1
  440. package/dist/icons/BellFilledIcon.js +1 -1
  441. package/dist/icons/BellIcon.js +1 -1
  442. package/dist/icons/BooleanIcon.js +1 -1
  443. package/dist/icons/CalendarEditIcon.js +1 -1
  444. package/dist/icons/CalendarIcon.js +1 -1
  445. package/dist/icons/CaretDownIcon.js +1 -1
  446. package/dist/icons/CaretUpIcon.js +1 -1
  447. package/dist/icons/ChartAreaStackedIcon.js +1 -1
  448. package/dist/icons/ChartAreaStackedPercentageIcon.js +1 -1
  449. package/dist/icons/ChartBarGroupedHorizontalIcon.js +1 -1
  450. package/dist/icons/ChartBarGroupedIcon.js +1 -1
  451. package/dist/icons/ChartBarHorizontalIcon.js +1 -1
  452. package/dist/icons/ChartBarLineIcon.js +1 -1
  453. package/dist/icons/ChartBarStackedHorizontalIcon.js +1 -1
  454. package/dist/icons/ChartBarStackedIcon.js +1 -1
  455. package/dist/icons/ChartBarStackedPercentageHorizontalIcon.js +1 -1
  456. package/dist/icons/ChartBarStackedPercentageIcon.js +1 -1
  457. package/dist/icons/ChartBoxPlot2Icon.js +1 -1
  458. package/dist/icons/ChartBoxPlotIcon.js +1 -1
  459. package/dist/icons/ChartBubbleIcon.js +1 -1
  460. package/dist/icons/ChartDonut2Icon.js +1 -1
  461. package/dist/icons/ChartFunnelIcon.js +1 -1
  462. package/dist/icons/ChartHeatmapIcon.js +1 -1
  463. package/dist/icons/ChartKPIIcon.js +1 -1
  464. package/dist/icons/ChartPie2Icon.js +1 -1
  465. package/dist/icons/ChartScatterIcon.js +1 -1
  466. package/dist/icons/CheckCircleFilledIcon.js +1 -1
  467. package/dist/icons/CheckCircleIcon.js +1 -1
  468. package/dist/icons/CheckIcon.js +1 -1
  469. package/dist/icons/CircleFilledIcon.js +1 -1
  470. package/dist/icons/ClearIcon.js +1 -1
  471. package/dist/icons/CloseCircleFilledIcon.js +1 -1
  472. package/dist/icons/CloseCircleIcon.js +1 -1
  473. package/dist/icons/CloseIcon.js +1 -1
  474. package/dist/icons/CodeIcon.js +1 -1
  475. package/dist/icons/ColumnTotalIcon.js +1 -1
  476. package/dist/icons/CopyIcon.js +1 -1
  477. package/dist/icons/CountIcon.js +1 -1
  478. package/dist/icons/CubeIcon.js +1 -1
  479. package/dist/icons/CubePauseIcon.js +1 -1
  480. package/dist/icons/CubePlayIcon.js +1 -1
  481. package/dist/icons/CurrencyDollarIcon.js +1 -1
  482. package/dist/icons/DangerIcon.js +1 -1
  483. package/dist/icons/DashboardIcon.js +1 -1
  484. package/dist/icons/DatabaseIcon.js +1 -1
  485. package/dist/icons/DecimalDecreaseIcon.js +1 -1
  486. package/dist/icons/DecimalIncreaseIcon.js +1 -1
  487. package/dist/icons/DirectionIcon.js +1 -1
  488. package/dist/icons/DonutIcon.js +1 -1
  489. package/dist/icons/DownIcon.js +1 -1
  490. package/dist/icons/EditIcon.js +1 -1
  491. package/dist/icons/ExclamationCircleFilledIcon.js +1 -1
  492. package/dist/icons/ExclamationCircleIcon.js +1 -1
  493. package/dist/icons/ExclamationIcon.js +1 -1
  494. package/dist/icons/EyeIcon.js +1 -1
  495. package/dist/icons/EyeInvisibleIcon.js +1 -1
  496. package/dist/icons/FilterIcon.js +1 -1
  497. package/dist/icons/FolderFilledIcon.js +1 -1
  498. package/dist/icons/FolderIcon.js +1 -1
  499. package/dist/icons/FolderOpenFilledIcon.js +1 -1
  500. package/dist/icons/FolderOpenIcon.js +1 -1
  501. package/dist/icons/ForwardIcon.js +1 -1
  502. package/dist/icons/GripVerticalIcon.js +1 -1
  503. package/dist/icons/HierarchyIcon.js +1 -1
  504. package/dist/icons/HierarchyOpenIcon.js +1 -1
  505. package/dist/icons/Icon.js +1 -1
  506. package/dist/icons/InfoCircleIcon.js +1 -1
  507. package/dist/icons/InfoIcon.js +1 -1
  508. package/dist/icons/KeyIcon.js +1 -1
  509. package/dist/icons/LeftIcon.js +1 -1
  510. package/dist/icons/LineChartIcon.js +1 -1
  511. package/dist/icons/LoadingIcon.js +1 -1
  512. package/dist/icons/LockFilledIcon.js +1 -1
  513. package/dist/icons/LockIcon.js +1 -1
  514. package/dist/icons/MoreIcon.js +1 -1
  515. package/dist/icons/NotAllowedIcon.js +1 -1
  516. package/dist/icons/Number123Icon.js +1 -1
  517. package/dist/icons/NumberIcon.js +1 -1
  518. package/dist/icons/PauseCircleFilledIcon.js +1 -1
  519. package/dist/icons/PauseCircleIcon.js +1 -1
  520. package/dist/icons/PauseIcon.js +1 -1
  521. package/dist/icons/PercentageIcon.js +1 -1
  522. package/dist/icons/PieChartIcon.js +1 -1
  523. package/dist/icons/PipetteIcon.js +1 -1
  524. package/dist/icons/PlayCircleIcon.js +1 -1
  525. package/dist/icons/PlayIcon.js +1 -1
  526. package/dist/icons/PlusIcon.js +1 -1
  527. package/dist/icons/ProgressBarIcon.js +1 -1
  528. package/dist/icons/ReloadIcon.js +1 -1
  529. package/dist/icons/ReportIcon.js +1 -1
  530. package/dist/icons/ReturnIcon.js +1 -1
  531. package/dist/icons/RightIcon.js +1 -1
  532. package/dist/icons/RowTotalsIcon.js +1 -1
  533. package/dist/icons/SchemeIcon.js +1 -1
  534. package/dist/icons/SearchIcon.js +1 -1
  535. package/dist/icons/SemanticQueryIcon.js +1 -1
  536. package/dist/icons/SettingsIcon.js +1 -1
  537. package/dist/icons/ShieldFilledIcon.js +1 -1
  538. package/dist/icons/ShieldIcon.js +1 -1
  539. package/dist/icons/SlashIcon.js +1 -1
  540. package/dist/icons/SparklesIcon.js +1 -1
  541. package/dist/icons/SqlIcon.js +1 -1
  542. package/dist/icons/StatsIcon.js +1 -1
  543. package/dist/icons/StopIcon.js +1 -1
  544. package/dist/icons/StringIcon.js +1 -1
  545. package/dist/icons/SubtotalsIcon.js +1 -1
  546. package/dist/icons/SwitchIcon.js +1 -1
  547. package/dist/icons/TableIcon.js +1 -1
  548. package/dist/icons/ThumbsDownIcon.js +1 -1
  549. package/dist/icons/ThumbsUpIcon.js +1 -1
  550. package/dist/icons/ThunderboltCrossedIcon.js +1 -1
  551. package/dist/icons/ThunderboltFilledIcon.js +1 -1
  552. package/dist/icons/ThunderboltIcon.js +1 -1
  553. package/dist/icons/TimeIcon.js +1 -1
  554. package/dist/icons/TrashIcon.js +1 -1
  555. package/dist/icons/UnlockIcon.js +1 -1
  556. package/dist/icons/UpIcon.js +1 -1
  557. package/dist/icons/UserGroupIcon.js +1 -1
  558. package/dist/icons/UserIcon.js +1 -1
  559. package/dist/icons/UserLockIcon.js +1 -1
  560. package/dist/icons/ViewIcon.js +1 -1
  561. package/dist/icons/WarningFilledIcon.js +1 -1
  562. package/dist/icons/WarningIcon.js +1 -1
  563. package/dist/icons/wrap-icon.js +1 -1
  564. package/dist/index.js +1 -1
  565. package/dist/probe/canonicalize.js +1 -1
  566. package/dist/probe/css.js +1 -1
  567. package/dist/probe/index.js +1 -1
  568. package/dist/providers/ColorPopoverContext.js +1 -1
  569. package/dist/providers/EventBusProvider.js +1 -1
  570. package/dist/providers/ItemActionContext.js +1 -1
  571. package/dist/providers/Provider.js +1 -1
  572. package/dist/providers/SlotProvider.js +1 -1
  573. package/dist/providers/TrackingProvider.js +1 -1
  574. package/dist/providers/navigation-adapter.default.js +1 -1
  575. package/dist/providers/navigation-url.js +1 -1
  576. package/dist/providers/use-navigation.js +1 -1
  577. package/dist/themes/item-themes.js +1 -1
  578. package/dist/themes/themes.js +1 -1
  579. package/dist/tokens/all-tokens.js +1 -1
  580. package/dist/tokens/base.js +1 -1
  581. package/dist/tokens/color-seed.js +1 -1
  582. package/dist/tokens/color-theme.js +1 -1
  583. package/dist/tokens/colors.js +1 -1
  584. package/dist/tokens/layout.js +1 -1
  585. package/dist/tokens/lazy-styles.js +1 -1
  586. package/dist/tokens/legacy-color.js +1 -1
  587. package/dist/tokens/palette-config.js +1 -1
  588. package/dist/tokens/palette.js +1 -1
  589. package/dist/tokens/resolve.js +1 -1
  590. package/dist/tokens/shadows.js +1 -1
  591. package/dist/tokens/sizes.js +1 -1
  592. package/dist/tokens/spacing.js +1 -1
  593. package/dist/tokens/typography.js +1 -1
  594. package/dist/utils/ResizeSensor.js +1 -1
  595. package/dist/utils/actions-run.js +1 -1
  596. package/dist/utils/chain.js +1 -1
  597. package/dist/utils/color/channels.js +1 -1
  598. package/dist/utils/color/color.js +1 -1
  599. package/dist/utils/colors.js +1 -1
  600. package/dist/utils/component-base-props.js +1 -1
  601. package/dist/utils/disabled-behavior.js +1 -1
  602. package/dist/utils/disabled-props.js +1 -1
  603. package/dist/utils/dotize.js +1 -1
  604. package/dist/utils/field-chrome.js +1 -1
  605. package/dist/utils/field-layout.js +1 -1
  606. package/dist/utils/forward-ref-with-generics.js +1 -1
  607. package/dist/utils/highlight-text.js +1 -1
  608. package/dist/utils/index.js +1 -1
  609. package/dist/utils/interactions.js +1 -1
  610. package/dist/utils/is-dev-env.js +1 -1
  611. package/dist/utils/is-text-only.js +1 -1
  612. package/dist/utils/layout-scale.js +1 -1
  613. package/dist/utils/legacy-tooltip.js +1 -1
  614. package/dist/utils/map-props.js +1 -1
  615. package/dist/utils/merge-props.js +1 -1
  616. package/dist/utils/modules.js +1 -1
  617. package/dist/utils/nullable-value.js +1 -1
  618. package/dist/utils/option-origin-press.js +1 -1
  619. package/dist/utils/overlay-key-propagation.js +1 -1
  620. package/dist/utils/pick-base-customization-props.js +1 -1
  621. package/dist/utils/popover-width.js +1 -1
  622. package/dist/utils/programmatic-focus.js +1 -1
  623. package/dist/utils/promise.js +1 -1
  624. package/dist/utils/raf.js +1 -1
  625. package/dist/utils/random.js +1 -1
  626. package/dist/utils/range.js +1 -1
  627. package/dist/utils/resolve-icon.js +1 -1
  628. package/dist/utils/resolve-validation-props.js +1 -1
  629. package/dist/utils/search-text-services.js +1 -1
  630. package/dist/utils/selection.js +1 -1
  631. package/dist/utils/shared-store.js +1 -1
  632. package/dist/utils/styles.js +1 -1
  633. package/dist/utils/tree.js +1 -1
  634. package/dist/utils/virtual-width.js +1 -1
  635. package/dist/utils/warnings.js +1 -1
  636. package/dist/utils/wrap-node-if-plain.js +1 -1
  637. package/dist/utils/wrap-with-field.js +1 -1
  638. package/dist/version.js +2 -2
  639. package/docs/Usage.md +1 -1
  640. package/docs/components/Badge.md +1 -3
  641. package/docs/components/Banner.md +1 -3
  642. package/docs/components/CollectionItem.md +1 -3
  643. package/docs/components/FilterListBox.md +19 -2
  644. package/docs/components/FilterPicker.md +2 -2
  645. package/docs/components/Item.md +15 -36
  646. package/docs/components/ItemButton.md +1 -3
  647. package/docs/components/ItemCard.md +1 -3
  648. package/docs/components/ListBox.md +19 -2
  649. package/docs/components/Menu.md +33 -8
  650. package/docs/components/Tag.md +1 -3
  651. package/package.json +1 -1
  652. package/tasty.config.ts +27 -5
@@ -1,4 +1,4 @@
1
- /** @license MIT | @cube-dev/ui-kit v0.0.0-canary-810c6f7 | Cube Dev Team */
1
+ /** @license MIT | @cube-dev/ui-kit v0.0.0-canary-5adbf30 | Cube Dev Team */
2
2
  import { mergeStyleLayers } from "./styles.js";
3
3
  import { mergeProps } from "./merge-props.js";
4
4
  import { hasFieldContent, warnAboutForceField } from "./field-chrome.js";
package/dist/version.js CHANGED
@@ -1,6 +1,6 @@
1
- /** @license MIT | @cube-dev/ui-kit v0.0.0-canary-810c6f7 | Cube Dev Team */
1
+ /** @license MIT | @cube-dev/ui-kit v0.0.0-canary-5adbf30 | Cube Dev Team */
2
2
  //#region src/version.ts
3
- const VERSION = "0.0.0-canary-810c6f7";
3
+ const VERSION = "0.0.0-canary-5adbf30";
4
4
  const TASTY_VERSION = "3.19.3";
5
5
  if (typeof window !== "undefined") {
6
6
  const version = VERSION;
package/docs/Usage.md CHANGED
@@ -431,7 +431,7 @@ Use `className` and inline `style` when a third-party integration needs to attac
431
431
 
432
432
  The package's `tasty.config.ts` lists the other components as `protectedComponents`, and `tasty/no-protected-restyle` from `@tenphi/eslint-plugin-tasty` 1.12.0 or newer reports a restyle of one in your code:
433
433
 
434
- - instance `styles`, and `*Styles` props such as `inputStyles` or `triggerStyles`. A field's (`Select`, `ComboBox`, `Picker`, `FilterPicker`, `ListBox`, …) popover, overlay, list box, list and label can only be sized from outside, so `popoverStyles`, `overlayStyles`, `listBoxStyles` and `labelStyles` keep `width`, `height` and the other sizing props, and `listStyles` also keeps `margin` and the other placing ones. Its `headerStyles` and `footerStyles` hold content you supply, so they keep a container's layout props, listed below. Like root `styles`, such a prop passes only as an inline object whose every key is allowed, or a conditional between such objects (a branch may also be `undefined`), with `@tenphi/eslint-plugin-tasty` 1.20.0 or newer;
434
+ - instance `styles`, and `*Styles` props such as `inputStyles` or `triggerStyles`. A field's (`Select`, `ComboBox`, `Picker`, `FilterPicker`, `ListBox`, …) popover, overlay, list box, list and label can only be sized from outside, so `popoverStyles`, `overlayStyles`, `listBoxStyles` and `labelStyles` keep `width`, `height` and the other sizing props, and `listStyles` also keeps `margin` and the other placing ones. Its `headerStyles` and `footerStyles`, like a `Menu`'s, hold content you supply and draw no fill of their own, so they keep a container's layout props, listed below, and `fill`. Like root `styles`, such a prop passes only as an inline object whose every key is allowed, or a conditional between such objects (a branch may also be `undefined`), with `@tenphi/eslint-plugin-tasty` 1.20.0 or newer;
435
435
  - style props other than the ones that place or size the component (`width`, `height`, `gridArea`, `margin`, `inset`, …). Containers (`Card`, `Panel`, `ResizablePanel`, `Content`, `Header`, `Footer`, `Alert`, `Result`, `Skeleton`, and `Layout` and `GridLayout` with their sub-components) also keep the ones that lay out their content: `display`, `padding`, `gap`, `flow`, `place*`, `align*`, `justify*`, `grid*`, `overflow`, `scrollbar`, `textAlign`, and `container` for container queries. A container that draws no fill and no border of its own (`Layout`, `GridLayout`, `Panel`, `ResizablePanel`, `Content`, `Header` and `Footer`) also keeps `fill` and `border`. `Layout`'s sections (`Layout.Content`, `Header`, `Footer`, `Toolbar`, `Block`, `Flex`, `Grid`, `Center` and `Container`) and `Skeleton` keep `fill`, but not `border`: the border that separates stacked sections, or underlines a skeleton's top bar, is UI Kit's. `Placeholder` keeps `radius`, the shape of what it stands in for. Root `styles` that sets only allowed props passes too;
436
436
  - `tasty()` wrappers that restyle a protected component, and wrappers of those wrappers.
437
437
 
@@ -30,7 +30,6 @@ Badges are small, circular indicators that display numerical counts or short sta
30
30
  - **`rightIcon`** `ReactNode` — Icon displayed after the content
31
31
  - **`prefix`** `ReactNode` — Content rendered before the label
32
32
  - **`suffix`** `ReactNode` — Content rendered after the label
33
- - **`suffixPlacement`** `'end' | 'after-label'` (default: `end`) — Where the suffix sits: at the end of the row, or right after the label with the free space after it. See `Item`
34
33
  - **`description`** `ReactNode` — Secondary text below the main content
35
34
  - **`tooltip`** `string | boolean | object` (default: `true`) — Tooltip configuration: string for text, `true` for auto overflow tooltips, or object for advanced config
36
35
  - **`hotkeys`** `string` — Keyboard shortcut displayed and triggered
@@ -38,8 +37,7 @@ Badges are small, circular indicators that display numerical counts or short sta
38
37
  - **`isLoading`** `boolean` (default: `false`) — Show loading state, replacing an icon slot with a spinner
39
38
  - **`actions`** `ReactNode` — Inline action buttons displayed on the right side
40
39
  - **`autoHideActions`** `boolean` (default: `false`) — When true, actions are hidden by default and shown on hover or focus
41
- - **`hiddenActionsSpace`** `'collapse' | 'preserve' | 'suffix'` (default: `collapse`) — How auto-hidden actions get their space: no width while hidden, their width kept while hidden, or the suffix's place when shown. See `Item`
42
- - **`preserveActionsSpace`** `boolean` (default: `false`) — **Deprecated:** use `hiddenActionsSpace="preserve"`. Preserve the actions width when hidden (only changes opacity, not layout)
40
+ - **`preserveActionsSpace`** `boolean` (default: `false`) — Preserve the actions width when hidden (only changes opacity, not layout)
43
41
  - **`disableActionsFocus`** `boolean` (default: `false`) — Disable focus on action buttons by setting tabIndex to -1
44
42
  - **`level`** `1 | 2 | 3 | 4 | 5 | 6` (default: `3`) — Heading level for the label element when type is "header" or "card"
45
43
  - **`highlight`** `string` — String to highlight within children text
@@ -22,7 +22,6 @@ Banner displays prominent messages and notifications to users. It supports diffe
22
22
  - **`rightIcon`** `ReactNode` — Icon displayed after the content
23
23
  - **`prefix`** `ReactNode` — Content rendered before the label
24
24
  - **`suffix`** `ReactNode` — Content rendered after the label
25
- - **`suffixPlacement`** `'end' | 'after-label'` (default: `end`) — Where the suffix sits: at the end of the row, or right after the label with the free space after it. See `Item`
26
25
  - **`actions`** `ReactNode` — Action buttons displayed on the right side of the banner, or below the message on a phone. Use `Banner.Action` for consistent styling
27
26
  - **`actionsBelowState`** `boolean | string` (default: `true`) — When the actions move to a row of their own below the label and description. `true` means `@mobile` (a viewport narrower than 920px); `false` keeps them at the end; a string is any state or condition, such as `'@(panel, w < 600px)'`. See [Actions on a Narrow Screen](#actions-on-a-narrow-screen)
28
27
  - **`actionsPlacement`** `'end' | 'below'` (default: `'end'`) — Puts the actions below at every width
@@ -33,8 +32,7 @@ Banner displays prominent messages and notifications to users. It supports diffe
33
32
  - **`isSelected`** `boolean` (default: `false`) — Whether the banner shows as selected with a checkmark
34
33
  - **`isLoading`** `boolean` — Show loading state
35
34
  - **`autoHideActions`** `boolean` (default: `false`) — When true, actions are hidden by default and shown on hover or focus
36
- - **`hiddenActionsSpace`** `'collapse' | 'preserve' | 'suffix'` (default: `collapse`) — How auto-hidden actions get their space: no width while hidden, their width kept while hidden, or the suffix's place when shown. See `Item`
37
- - **`preserveActionsSpace`** `boolean` (default: `false`) — **Deprecated:** use `hiddenActionsSpace="preserve"`. Preserve the actions width when hidden (only changes opacity, not layout)
35
+ - **`preserveActionsSpace`** `boolean` (default: `false`) — Preserve the actions width when hidden (only changes opacity, not layout)
38
36
  - **`disableActionsFocus`** `boolean` (default: `false`) — Disable focus on action buttons by setting tabIndex to -1
39
37
  - **`level`** `1 | 2 | 3 | 4 | 5 | 6` (default: `3`) — Heading level for the label element when type is "header" or "card"
40
38
  - **`highlight`** `string` — String to highlight within children text
@@ -101,7 +101,6 @@ const items = [{
101
101
  - **`rightIcon`** `ReactNode` — Icon displayed after the content
102
102
  - **`prefix`** `ReactNode` — Content rendered before the label
103
103
  - **`suffix`** `ReactNode` — Content rendered after the label
104
- - **`suffixPlacement`** `'end' | 'after-label'` (default: `end`) — Where the suffix sits: at the end of the row, or right after the label with the free space after it. See `Item`
105
104
  - **`description`** `ReactNode` — Secondary text below the main content
106
105
  - **`wrapDescription`** `boolean` (default: `false`) — Wrap a long description onto more lines instead of ending it in an ellipsis
107
106
  - **`tooltip`** `string | boolean | object` — Tooltip configuration
@@ -111,8 +110,7 @@ const items = [{
111
110
  - **`actions`** `ReactNode` — Inline action buttons displayed on the right side
112
111
  - **`size`** `'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | 'inline' | number | string` — Size of the item. In a list it defaults to the list's `size`, and an item's own value overrides it for that row; a number or a custom length such as `6x` sets the row height
113
112
  - **`autoHideActions`** `boolean` (default: `false`) — When true, actions are hidden by default and shown on hover or focus
114
- - **`hiddenActionsSpace`** `'collapse' | 'preserve' | 'suffix'` (default: `collapse`) — How auto-hidden actions get their space: no width while hidden, their width kept while hidden, or the suffix's place when shown. See `Item`
115
- - **`preserveActionsSpace`** `boolean` (default: `false`) — **Deprecated:** use `hiddenActionsSpace="preserve"`. Preserve the actions width when hidden (only changes opacity, not layout)
113
+ - **`preserveActionsSpace`** `boolean` (default: `false`) — Preserve the actions width when hidden (only changes opacity, not layout)
116
114
  - **`actionsPlacement`** `'end' | 'below'` (default: `'end'`) — Where the `actions` sit: at the end, or in a row of their own below the label and description. See [Item](./Item.md#actions-below)
117
115
  - **`actionsBelowState`** `boolean | string` — When the `actions` move below, from CSS: `true` on `@mobile`, or any state, media or container condition
118
116
  - **`pinnedActions`** `ReactNode` — Controls that keep the end of the first row when the `actions` move below, such as `Item.CloseAction`. Not on `Menu.Item` or `CommandMenu.Item`: a control pinned inside a menu row is one no key reaches
@@ -127,7 +127,7 @@ Customizes the inner ListBox component.
127
127
 
128
128
  #### headerStyles
129
129
 
130
- Customizes the header area when header prop is provided.
130
+ Lays out the header and sets its fill: a container's layout props, the sizing props and `fill`. The border, corner radius, text color and preset are FilterListBox's, and the header's corners follow its box. The search row under a filled header takes the same fill, so the title and the search read as one area.
131
131
 
132
132
  **Sub-elements:**
133
133
 
@@ -135,7 +135,7 @@ Customizes the header area when header prop is provided.
135
135
 
136
136
  #### footerStyles
137
137
 
138
- Customizes the footer area when footer prop is provided.
138
+ Lays out the footer and sets its fill, on the same terms as `headerStyles`.
139
139
 
140
140
  **Sub-elements:**
141
141
 
@@ -349,6 +349,23 @@ const categories = [
349
349
  </FilterListBox>
350
350
  ```
351
351
 
352
+ ### Filled Header and Footer
353
+
354
+ `headerStyles` and `footerStyles` take a fill as well as a layout, and the header and footer round to FilterListBox's own corners. The search row under a filled header takes the header's fill, so the title and the search read as one area above the list.
355
+
356
+ ```jsx
357
+ <FilterListBox
358
+ label="Choose a language"
359
+ header="Programming languages"
360
+ footer="5 languages"
361
+ headerStyles={{ fill: '#surface-2' }}
362
+ footerStyles={{ fill: '#surface-2' }}
363
+ >
364
+ <FilterListBox.Item key="javascript">JavaScript</FilterListBox.Item>
365
+ <FilterListBox.Item key="python">Python</FilterListBox.Item>
366
+ </FilterListBox>
367
+ ```
368
+
352
369
  ### With Custom Filter
353
370
 
354
371
  ```jsx
@@ -85,7 +85,7 @@ Choose a different component when the interaction has another shape:
85
85
  - **`actions`** `ReactNode` — Custom actions rendered inside the trigger, to the left of the built-in clear button and dropdown caret
86
86
  - **`onOpenChange`** `(isOpen: boolean) => void` — Callback called when the popover open state changes
87
87
  - **`treeData`** `CubeTreeNodeData[]` — Tree-shaped options. The popover shows a `Tree` in place of the list, and `items` and `children` are not used. Tree mode is multiple selection with checkboxes, and the value is every fully checked key, parents included. With `selectionMode="single"`, the tree has no checkboxes and the value is one leaf
88
- - **`treeItemProps`** `CubeFilterPickerTreeItemProps | (node, state) => CubeFilterPickerTreeItemProps`, which is `TreeItemProps` without `actions`, `autoHideActions`, `hiddenActionsSpace` and `preserveActionsSpace` — Tree mode only: `Item` props for each row, as `Tree`'s `itemProps` takes them, such as a `prefix` icon or `suffix` marks. A function gets the node and its state. Rows hold nothing focusable, since the search keeps focus; a screen reader names the active row by its title, so marks are visual
88
+ - **`treeItemProps`** `CubeFilterPickerTreeItemProps | (node, state) => CubeFilterPickerTreeItemProps`, which is `TreeItemProps` without `actions`, `autoHideActions` and `preserveActionsSpace` — Tree mode only: `Item` props for each row, as `Tree`'s `itemProps` takes them, such as a `prefix` icon or `suffix` marks. A function gets the node and its state. Rows hold nothing focusable, since the search keeps focus; a screen reader names the active row by its title, so marks are visual
89
89
  - **`expandedKeys`** `string[]` — Expanded nodes in tree mode (controlled). A search expands nodes on its own and restores these when it clears
90
90
  - **`defaultExpandedKeys`** `string[]` — Initially expanded nodes in tree mode (uncontrolled), read once when the picker mounts
91
91
  - **`onExpand`** `(expandedKeys: string[]) => void` — Called when the user expands or collapses a node in tree mode, outside a search
@@ -162,7 +162,7 @@ Customizes section heading elements within the FilterListBox.
162
162
 
163
163
  #### headerStyles
164
164
 
165
- Customizes the header area when header prop is provided.
165
+ Lays out the header and sets its fill, as FilterListBox's `headerStyles` does: a container's layout props, the sizing props and `fill`. The search row under a filled header takes the same fill.
166
166
 
167
167
  #### footerStyles
168
168
 
@@ -18,7 +18,6 @@ A foundational component that provides a standardized layout and styling for ite
18
18
  - **`rightIcon`** — Icon rendered after the content. Can be: ReactNode, `true` (empty slot), or function `({ selected, loading, ...mods }) => ReactNode | true`
19
19
  - **`prefix`** `ReactNode` — Element rendered before the content (after icon)
20
20
  - **`suffix`** `ReactNode` — Element rendered after the content (before rightIcon)
21
- - **`suffixPlacement`** `'end' | 'after-label'` (default: `end`) — Where the suffix sits. `end`: at the end of the row, next to the actions, and the label takes the free space. `after-label`: right after the label, and the free space goes after the suffix; when space runs short, the label still truncates first. See [Suffix Placement](#suffix-placement)
22
21
  - **`description`** `ReactNode` — Description text displayed with the item
23
22
  - **`descriptionPlacement`** `'inline' | 'block'` (default: `inline`) — How the description is positioned relative to the main content. Defaults to `'block'` for `type="card"` and `type="header"`
24
23
  - **`wrapDescription`** `boolean` — Whether a long description wraps onto more lines instead of ending in an ellipsis. Defaults to `true` for `type="card"` and `type="header"`, `false` otherwise
@@ -34,8 +33,7 @@ A foundational component that provides a standardized layout and styling for ite
34
33
  - **`actionsBelowState`** `boolean | string` — When the `actions` move below, from CSS: `true` on `@mobile` (a viewport narrower than 920px), or any state or condition, such as `'@media(w < 600px)'` or `'@(panel, w < 480px)'`. The item does not re-render to switch. Ignored with `autoHideActions` and inside a wrapper (`ItemButton`)
35
34
  - **`pinnedActions`** `ReactNode` — Controls that keep the end of the item's first row even when the `actions` move below, such as `Item.CloseAction` or a menu trigger. In the `end` placement they follow the actions
36
35
  - **`autoHideActions`** `boolean` (default: `false`) — When true, actions are hidden by default and shown only on hover, focus, or focus-within
37
- - **`hiddenActionsSpace`** `'collapse' | 'preserve' | 'suffix'` (default: `collapse`) — How auto-hidden actions get their space. `collapse`: hidden actions take no width, and shown they narrow the label. `preserve`: hidden actions keep their width and only fade. `suffix`: shown actions take the suffix slot's place and its content fades out (a `suffix`, or the `hotkeys` hint or a loading icon there); with the slot empty it works as `collapse`. Only applies when `autoHideActions` is true. See [Hidden Actions Space](#hidden-actions-space)
38
- - **`preserveActionsSpace`** `boolean` (default: `false`) — **Deprecated:** use `hiddenActionsSpace="preserve"`, which wins when both are set. When true, preserves the actions width when hidden (only changes opacity). Only applies when `autoHideActions` is true
36
+ - **`preserveActionsSpace`** `boolean` (default: `false`) — When true, preserves the actions width when hidden (only changes opacity). Only applies when `autoHideActions` is true
39
37
  - **`disableActionsFocus`** `boolean` (default: `false`) — When true, action buttons are not focusable via keyboard
40
38
  - **`hotkeys`** `string` — Keyboard shortcut displayed as a badge (e.g. `"cmd+s"`)
41
39
  - **`tooltip`** `string | boolean | object` (default: `true`) — Tooltip content. `true` enables auto tooltip on overflow, a string shows fixed tooltip text, an object supports advanced configuration `{ title, auto, placement, ...tooltipProps }`
@@ -79,7 +77,7 @@ These properties allow direct style application without using the `styles` prop:
79
77
 
80
78
  `Item` lays its slots out on a grid with no gap, and `Label` drops its own inline padding whenever there is start or end content. A `prefix` or `suffix` therefore renders flush against the label by default, which is what most content wants — a checkbox, a kbd chip, a badge and a count are all boxes that already carry their own presence, and a gap on top of one reads as too much.
81
79
 
82
- A **bare glyph** is the case that needs spacing: it sits flush, while the same glyph in the `icon` slot looks spaced because that slot centres it inside a `$size`-wide square. Two tokens control it, both `0` by default, except `$suffix-gap` next to an `after-label` suffix, which defaults to `1x` because nothing else keeps it off the label's text:
80
+ A **bare glyph** is the case that needs spacing: it sits flush, while the same glyph in the `icon` slot looks spaced because that slot centres it inside a `$size`-wide square. Two tokens control it, both `0` by default:
83
81
 
84
82
  | Token | Controls |
85
83
  | ------------- | ----------------------------------------------- |
@@ -112,9 +110,7 @@ The `mods` property accepts the following modifiers:
112
110
  - **`has-pinned-actions`** `boolean` — Applied when pinnedActions prop is provided
113
111
  - **`actions-below`** `boolean` — Applied when `actionsPlacement="below"` takes effect. The styles read the local `@actions-below` state, which `actionsBelowState` widens with its condition
114
112
  - **`auto-hide-actions`** `boolean` — Applied when autoHideActions is true
115
- - **`preserve-actions-space`** `boolean` — Applied when `hiddenActionsSpace` resolves to `preserve` (including the deprecated `preserveActionsSpace`)
116
- - **`actions-replace-suffix`** `boolean` — Applied when shown actions take the suffix's place: `autoHideActions` with `hiddenActionsSpace="suffix"`, a suffix and actions
117
- - **`suffix-placement`** `'end' | 'after-label'` — Applied when a suffix is present, from `suffixPlacement`
113
+ - **`preserve-actions-space`** `boolean` — Applied when preserveActionsSpace is true
118
114
  - **`checkmark`** `boolean` — Applied when using the checkmark icon (icon="checkmark")
119
115
  - **`selected`** `boolean` — Applied when isSelected is true
120
116
  - **`disabled`** `boolean` — Applied when isDisabled is true or when loading
@@ -385,31 +381,26 @@ Use `autoHideActions` to hide actions by default and reveal them on hover, focus
385
381
 
386
382
  This provides a cleaner interface while keeping actions easily accessible. By default, actions collapse to zero width when hidden.
387
383
 
388
- #### Hidden Actions Space
384
+ #### Preserve Actions Space
389
385
 
390
- `hiddenActionsSpace` decides how the row makes room for auto-hidden actions:
391
-
392
- | Value | While hidden | When shown |
393
- | --- | --- | --- |
394
- | `collapse` (default) | No width, no hit area | They narrow the label |
395
- | `preserve` | They keep their width and are only transparent | They fade in; nothing moves |
396
- | `suffix` | No width, no hit area, and the suffix shows | They take the suffix's place and the suffix fades out; the label keeps its room |
397
-
398
- Use `suffix` when the suffix is secondary information the actions can stand in for, such as a column's type next to its name: the name keeps the room it has at rest, so a truncated one does not re-flow under the pointer. The actions sit at the end of the suffix's cell, before a `rightIcon`. When they are wider than the suffix, the row makes room for the difference. With `suffixPlacement="after-label"`, that cell holds the row's free space, so the actions land at the row's end and the suffix only fades. The suffix slot also holds the `hotkeys` hint and a loading icon placed there (`loadingSlot="suffix"`), and they fade the same way; with the slot empty, `suffix` works as `collapse`. Keyboard focus still reaches a hidden action and reveals it.
386
+ Use `preserveActionsSpace` together with `autoHideActions` to keep the actions area visible (preserving its width) while only changing the opacity. This prevents content from shifting when actions appear:
399
387
 
400
388
  ```jsx
401
389
  <Item
402
- autoHideActions
403
- hiddenActionsSpace="suffix"
404
- suffix={<Text preset="c2">TIMESTAMPTZ</Text>}
405
- actions={<Item.Action icon={<IconCopy />} aria-label="Copy name" onPress={copyName} />}
390
+ icon={<IconFile />}
391
+ autoHideActions={true}
392
+ preserveActionsSpace={true}
393
+ actions={
394
+ <>
395
+ <Item.Action icon={<IconEdit />} aria-label="Edit" onPress={handleEdit} />
396
+ <Item.Action icon={<IconTrash />} aria-label="Delete" onPress={handleDelete} />
397
+ </>
398
+ }
406
399
  >
407
- created_at
400
+ Actions fade in without shifting content
408
401
  </Item>
409
402
  ```
410
403
 
411
- `suffix` works on a plain `Item` and on the components that render their actions through one, such as `Tag`, `Badge`, `ItemCard` and `Tree` rows. `ItemButton` takes `collapse` and `preserve` only: its actions sit beside the button, at the row's end, and cannot take a place inside it. `preserveActionsSpace` is the deprecated spelling of `preserve`.
412
-
413
404
  #### Actions Below
414
405
 
415
406
  Use `actionsPlacement="below"` to put the actions in a row of their own below the label and description, so a narrow item gives its text the whole width. The row lines up with the label (or with a block description), and its buttons wrap onto more lines when they don't fit.
@@ -459,18 +450,6 @@ To switch only when space is short, give `actionsBelowState` a condition instead
459
450
  </Item>
460
451
  ```
461
452
 
462
- ### Suffix Placement
463
-
464
- By default the label takes the row's free space, so the suffix sits at the end, next to the actions. With `suffixPlacement="after-label"`, the suffix follows the label and the free space goes after it. Use it for a suffix that belongs to the label, such as a "Beta" badge. When space runs short, the label still truncates first and the suffix keeps its width. With a description, the suffix stays on the label's line and the description runs under both, however long it is. Auto-hidden actions shown in the free space then move neither the label nor the suffix while there is room.
465
-
466
- ```jsx
467
- <Item suffixPlacement="after-label" suffix={<Item.Badge>Beta</Item.Badge>}>
468
- Revenue
469
- </Item>
470
- ```
471
-
472
- `$suffix-gap` defaults to `1x` there, so the suffix does not touch the label's text. The placement applies to whatever the suffix slot holds, the `hotkeys` hint included; with the slot empty, `suffixPlacement` changes nothing.
473
-
474
453
  ### With Tooltip
475
454
 
476
455
  By default, Item shows an auto tooltip when content overflows. The label and a string `description` are both checked, and the tooltip shows the text that is cut off: the label, the description, or both — then the description sits below the label as lighter secondary text. Text the row already shows in full is left out. A description that wraps (`wrapDescription`, on by default for `type="card"` and `type="header"`) only triggers it if a word too long to break overflows. Pass `tooltip={false}` to turn the check off, for example in a very long list that renders every row at once.
@@ -23,7 +23,6 @@ An interactive button component built on top of `Item` that provides all the lay
23
23
  - **`rightIcon`** `ReactNode` — Icon displayed after the content
24
24
  - **`prefix`** `ReactNode` — Content rendered before the label
25
25
  - **`suffix`** `ReactNode` — Content rendered after the label
26
- - **`suffixPlacement`** `'end' | 'after-label'` (default: `end`) — Where the suffix sits: at the end of the row, or right after the label with the free space after it. See `Item`
27
26
  - **`hotkeys`** `string` — Keyboard shortcut that triggers the button (e.g., `"cmd+s"`, `"ctrl+alt+d"`)
28
27
  - **`tooltip`** `boolean | string | object` — Tooltip configuration: string for simple text, `true` for auto overflow tooltips, or object for advanced config with optional `auto` property
29
28
  - **`isDisabled`** `boolean` — Whether the button is disabled
@@ -36,8 +35,7 @@ An interactive button component built on top of `Item` that provides all the lay
36
35
  - **`actions`** `ReactNode` — Inline action buttons displayed on the right side. Use `ItemButton.Action` for consistent styling. Actions automatically inherit the parent button's `type` prop. Pass `null` to keep an empty run, so actions arriving later do not remount the button
37
36
  - **`actionsProps`** `HTMLAttributes<HTMLDivElement>` — Props spread on the actions run's container. Only meaningful together with `actions`
38
37
  - **`autoHideActions`** `boolean` — When true, actions are hidden by default and fade in on hover
39
- - **`hiddenActionsSpace`** `'collapse' | 'preserve'` (default: `collapse`) — How auto-hidden actions get their space: `collapse` takes no width while they are hidden, `preserve` keeps their width and only changes opacity. `Item`'s `suffix` mode is not offered: the actions sit beside the button and cannot take the suffix's place inside it
40
- - **`preserveActionsSpace`** `boolean` (default: `false`) — **Deprecated:** use `hiddenActionsSpace="preserve"`. Preserve the actions width when hidden (only changes opacity, not layout)
38
+ - **`preserveActionsSpace`** `boolean` (default: `false`) — Preserve the actions width when hidden (only changes opacity, not layout)
41
39
  - **`disableActionsFocus`** `boolean` (default: `false`) — Disable focus on action buttons by setting tabIndex to -1
42
40
  - **`level`** `1 | 2 | 3 | 4 | 5 | 6` (default: `3`) — Heading level for the label element when type is "header" or "card"
43
41
  - **`highlight`** `string` — String to highlight within children text
@@ -23,15 +23,13 @@ A card for content with a heading, a body and optional inline actions. It wraps
23
23
  - **`rightIcon`** `ReactNode` — Icon displayed after the content
24
24
  - **`prefix`** `ReactNode` — Content rendered before the label
25
25
  - **`suffix`** `ReactNode` — Content rendered after the label
26
- - **`suffixPlacement`** `'end' | 'after-label'` (default: `end`) — Where the suffix sits: at the end of the row, or right after the label with the free space after it. See `Item`
27
26
  - **`tooltip`** `string | boolean | object` (default: `true`) — Tooltip configuration: string for text, `true` for auto overflow tooltips, or object for advanced config
28
27
  - **`hotkeys`** `string` — Keyboard shortcut displayed and triggered
29
28
  - **`isSelected`** `boolean` (default: `false`) — Whether the card shows as selected with a checkmark
30
29
  - **`isLoading`** `boolean` (default: `false`) — Show loading state, replacing an icon slot with a spinner
31
30
  - **`actions`** `ReactNode` — Inline action buttons displayed on the right side
32
31
  - **`autoHideActions`** `boolean` (default: `false`) — When true, actions are hidden by default and shown on hover or focus
33
- - **`hiddenActionsSpace`** `'collapse' | 'preserve' | 'suffix'` (default: `collapse`) — How auto-hidden actions get their space: no width while hidden, their width kept while hidden, or the suffix's place when shown. See `Item`
34
- - **`preserveActionsSpace`** `boolean` (default: `false`) — **Deprecated:** use `hiddenActionsSpace="preserve"`. Preserve the actions width when hidden (only changes opacity, not layout)
32
+ - **`preserveActionsSpace`** `boolean` (default: `false`) — Preserve the actions width when hidden (only changes opacity, not layout)
35
33
  - **`actionsPlacement`** `'end' | 'below'` (default: `'end'`) — Where the `actions` sit: at the end, or in a row of their own below the label and description. See [Item](./Item.md#actions-below)
36
34
  - **`actionsBelowState`** `boolean | string` — When the `actions` move below, from CSS: `true` on `@mobile`, or any state, media or container condition
37
35
  - **`pinnedActions`** `ReactNode` — Controls that keep the end of the first row when the `actions` move below, such as `Item.CloseAction`
@@ -101,11 +101,11 @@ Customizes section heading elements.
101
101
 
102
102
  #### headerStyles
103
103
 
104
- Customizes the header area when header prop is provided.
104
+ Lays out the header and sets its fill: a container's layout props, the sizing props and `fill`. The border, corner radius, text color and preset are the list's, and the header's corners follow the list's in every shape.
105
105
 
106
106
  #### footerStyles
107
107
 
108
- Customizes the footer area when footer prop is provided.
108
+ Lays out the footer and sets its fill, on the same terms as `headerStyles`.
109
109
 
110
110
  ### Style Properties
111
111
 
@@ -453,6 +453,23 @@ const categories = [
453
453
  </ListBox>
454
454
  ```
455
455
 
456
+ ### Filled Header and Footer
457
+
458
+ `headerStyles` and `footerStyles` take a fill as well as a layout, and the header and footer round to the list's inner corners in every shape.
459
+
460
+ ```jsx
461
+ <ListBox
462
+ label="Fruits"
463
+ header="Fruits"
464
+ footer="3 fruits"
465
+ headerStyles={{ fill: '#surface-2' }}
466
+ footerStyles={{ fill: '#surface-2' }}
467
+ >
468
+ <ListBox.Item key="apple">Apple</ListBox.Item>
469
+ <ListBox.Item key="banana">Banana</ListBox.Item>
470
+ </ListBox>
471
+ ```
472
+
456
473
  ### Controlled Selection
457
474
 
458
475
  ```jsx
@@ -29,7 +29,7 @@ Use `Menu` when users expect a composite popup with arrow-key navigation and Tab
29
29
 
30
30
  - **`children`** `ReactNode` — Menu items and sections as static children
31
31
  - **`items`** `Iterable<T>` — Item objects for dynamic collections
32
- - **`header`** `ReactNode` — Optional header content (deprecated)
32
+ - **`header`** `ReactNode` — The menu's title, or other content above its items, such as a card about what the menu acts on. See [Header](#header)
33
33
  - **`footer`** `ReactNode` — Optional footer content
34
34
  - **`selectionMode`** `'none' | 'single' | 'multiple'` (default: `none`) — Type of selection allowed in the menu
35
35
  - **`selectedKeys`** `Iterable<Key>` — Currently selected keys (controlled)
@@ -40,8 +40,8 @@ Use `Menu` when users expect a composite popup with arrow-key navigation and Tab
40
40
  - **`size`** `'medium' | 'large'` (default: `medium`) — Size of the menu items
41
41
  - **`styles`** `Styles` — Custom styles for the menu container
42
42
  - **`menuStyles`** `Styles` — Custom styles for the inner menu list element
43
- - **`headerStyles`** `Styles` — Custom styles for the header element
44
- - **`footerStyles`** `Styles` — Custom styles for the footer element
43
+ - **`headerStyles`** `Styles` — The header's layout, spacing and fill. See [headerStyles and footerStyles](#headerstyles-and-footerstyles)
44
+ - **`footerStyles`** `Styles` — The footer's layout, spacing and fill
45
45
  - **`itemStyles`** `Styles` — Custom styles for menu items
46
46
  - **`sectionStyles`** `Styles` — Custom styles for section containers
47
47
  - **`sectionHeadingStyles`** `Styles` — Custom styles for section headings
@@ -63,12 +63,13 @@ Supports [Base properties](../BaseProperties.md)
63
63
 
64
64
  #### styles
65
65
 
66
- Customizes the root menu container element.
66
+ Customizes the root menu container element. The header and footer are elements of their own, not sub-elements of the root: style them with `headerStyles` and `footerStyles`.
67
67
 
68
- **Sub-elements:**
68
+ #### headerStyles and footerStyles
69
+
70
+ Lay out the header and footer, which hold the content you pass in `header` and `footer`, and set their fill. They take a container's layout props, the sizing props and `fill`. The border that divides them from the items, the corner radius, the text color and the type preset are the menu's, and [`tasty/no-protected-restyle`](../Usage.md#customizing-components) reports a change to them.
69
71
 
70
- - `Header` - Optional header element at the top of the menu
71
- - `Divider` - Separator elements between sections
72
+ The header keeps its text on one line. Content that should wrap, such as a card, sets `whiteSpace: 'normal'` on its own element.
72
73
 
73
74
  #### itemStyles
74
75
 
@@ -139,7 +140,7 @@ The `mods` property accepts the following modifiers you can override:
139
140
 
140
141
  ### Content Properties
141
142
 
142
- - **`header`** `ReactNode` — Optional header content (deprecated)
143
+ - **`header`** `ReactNode` — The menu's title, or other content above its items
143
144
  - **`footer`** `ReactNode` — Optional footer content
144
145
 
145
146
  ## Sub-components
@@ -417,6 +418,30 @@ const items = [
417
418
  </Menu>
418
419
  ```
419
420
 
421
+ ### Header
422
+
423
+ Put the menu's title in `header`. The header sits outside the list of items, so assistive technology neither names nor describes the menu with it, and a keyboard user who opens the menu lands on the first item without hearing it. Name the menu as well: a `MenuTrigger` names it after its button, and any other menu takes an `aria-label`.
424
+
425
+ ```jsx
426
+ <Menu aria-label="Git actions" header="Git actions">
427
+ <Menu.Item key="pull">Pull</Menu.Item>
428
+ <Menu.Item key="push">Push</Menu.Item>
429
+ </Menu>
430
+ ```
431
+
432
+ A header can hold richer content, such as a card about the value the menu acts on. `headerStyles` gives it the card's spacing and fill, and the header grows with its content. When the card says something the user needs before they choose an item, point the menu's `aria-describedby` at it:
433
+
434
+ ```jsx
435
+ <Menu
436
+ aria-label="Value actions"
437
+ aria-describedby="value-card"
438
+ header={<ValueCard id="value-card" value={value} />}
439
+ headerStyles={{ display: 'block', padding: '1x 1.5x', fill: '#surface-2' }}
440
+ >
441
+ <Menu.Item key="copy">Copy value</Menu.Item>
442
+ </Menu>
443
+ ```
444
+
420
445
  ### Menu Items with Tooltips
421
446
 
422
447
  ```jsx
@@ -32,7 +32,6 @@ Tags are compact, inline elements used to label, categorize, or organize items.
32
32
  - **`rightIcon`** `ReactNode` — Icon displayed after the content
33
33
  - **`prefix`** `ReactNode` — Content rendered before the label
34
34
  - **`suffix`** `ReactNode` — Content rendered after the label
35
- - **`suffixPlacement`** `'end' | 'after-label'` (default: `end`) — Where the suffix sits: at the end of the row, or right after the label with the free space after it. See `Item`
36
35
  - **`description`** `ReactNode` — Secondary text below the main content
37
36
  - **`tooltip`** `string | boolean | object` (default: `true`) — Tooltip configuration: string for text, `true` for auto overflow tooltips, or object for advanced config
38
37
  - **`hotkeys`** `string` — Keyboard shortcut displayed and triggered
@@ -40,8 +39,7 @@ Tags are compact, inline elements used to label, categorize, or organize items.
40
39
  - **`isLoading`** `boolean` (default: `false`) — Show loading state, replacing an icon slot with a spinner
41
40
  - **`actions`** `ReactNode` — Inline action buttons displayed on the right side
42
41
  - **`autoHideActions`** `boolean` (default: `false`) — When true, actions are hidden by default and shown on hover or focus
43
- - **`hiddenActionsSpace`** `'collapse' | 'preserve' | 'suffix'` (default: `collapse`) — How auto-hidden actions get their space: no width while hidden, their width kept while hidden, or the suffix's place when shown. See `Item`
44
- - **`preserveActionsSpace`** `boolean` (default: `false`) — **Deprecated:** use `hiddenActionsSpace="preserve"`. Preserve the actions width when hidden (only changes opacity, not layout)
42
+ - **`preserveActionsSpace`** `boolean` (default: `false`) — Preserve the actions width when hidden (only changes opacity, not layout)
45
43
  - **`disableActionsFocus`** `boolean` (default: `false`) — Disable focus on action buttons by setting tabIndex to -1
46
44
  - **`level`** `1 | 2 | 3 | 4 | 5 | 6` (default: `3`) — Heading level for the label element when type is "header" or "card"
47
45
  - **`highlight`** `string` — String to highlight within children text
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cube-dev/ui-kit",
3
- "version": "0.0.0-canary-810c6f7",
3
+ "version": "0.0.0-canary-5adbf30",
4
4
  "type": "module",
5
5
  "description": "UIKit for Cube Projects",
6
6
  "repository": {
package/tasty.config.ts CHANGED
@@ -110,6 +110,14 @@ const containerStyleProps = [
110
110
  'direction',
111
111
  ];
112
112
 
113
+ /**
114
+ * A field's or a menu's header and footer, which are one element, `Menu`'s.
115
+ * It holds content the consumer supplies, as a container does, and draws no
116
+ * fill of its own, so a fill behind that content is the consumer's too, as on
117
+ * a `Layout` section. Its border, which divides it from the list, is UI Kit's.
118
+ */
119
+ const headerFooterStyleProps = [...containerStyleProps, 'fill'];
120
+
113
121
  export default {
114
122
  extends: '@tenphi/tasty',
115
123
 
@@ -132,7 +140,8 @@ export default {
132
140
  * whose `styles` are their API. Style props that place or size the root
133
141
  * stay allowed, and containers also keep the props that lay out their
134
142
  * content. A field's `*Styles` props for its popover, list, label, header
135
- * and footer take what `allowedInnerStyleProps` lists for each. The first matching entry decides, so the last entry holds the
143
+ * and footer, and a menu's for its header and footer, take what
144
+ * `allowedInnerStyleProps` lists for each. The first matching entry decides, so the last entry holds the
136
145
  * rest. A sub-component such as `Layout.Content` counts as the export it
137
146
  * hangs off, unless an entry names its member path, which then decides
138
147
  * first. Our own source imports components by relative path, which never
@@ -152,8 +161,9 @@ export default {
152
161
  // outside: how wide they open and how tall they grow depends on the
153
162
  // options and the screen they sit in. A label row may need its height
154
163
  // pinned so the fields in a row line up. A header or footer holds content
155
- // the consumer supplies, as a container does, so its layout and spacing
156
- // are the consumer's. The trigger, input and options keep their look.
164
+ // the consumer supplies, so its layout, its spacing and its fill are the
165
+ // consumer's (`headerFooterStyleProps`). The trigger, input and options
166
+ // keep their look.
157
167
  {
158
168
  source: '@cube-dev/ui-kit',
159
169
  include: [
@@ -188,8 +198,20 @@ export default {
188
198
  listBoxStyles: ['dimension'],
189
199
  listStyles: ['position', 'dimension'],
190
200
  labelStyles: ['dimension'],
191
- headerStyles: containerStyleProps,
192
- footerStyles: containerStyleProps,
201
+ headerStyles: headerFooterStyleProps,
202
+ footerStyles: headerFooterStyleProps,
203
+ },
204
+ },
205
+ // A menu's header and footer are the fields' element, on the same terms:
206
+ // a menu's title or a card in `header` takes its layout, spacing and fill
207
+ // there. The list, items and sections keep their look.
208
+ {
209
+ source: '@cube-dev/ui-kit',
210
+ include: ['Menu'],
211
+ allowedStyleProps: ['position', 'dimension'],
212
+ allowedInnerStyleProps: {
213
+ headerStyles: headerFooterStyleProps,
214
+ footerStyles: headerFooterStyleProps,
193
215
  },
194
216
  },
195
217
  {