@cube-dev/ui-kit 0.196.0 → 0.198.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 (1663) hide show
  1. package/dist/CHANGELOG.md +54 -9
  2. package/dist/_internal/hooks/use-debounced-value.js +2 -3
  3. package/dist/_internal/hooks/use-debounced-value.js.map +1 -1
  4. package/dist/_internal/hooks/use-deprecation-warning.js +2 -3
  5. package/dist/_internal/hooks/use-deprecation-warning.js.map +1 -1
  6. package/dist/_internal/hooks/use-event.js +2 -3
  7. package/dist/_internal/hooks/use-event.js.map +1 -1
  8. package/dist/_internal/hooks/use-is-first-render.js +2 -3
  9. package/dist/_internal/hooks/use-is-first-render.js.map +1 -1
  10. package/dist/_internal/hooks/use-sync-ref.js +2 -3
  11. package/dist/_internal/hooks/use-sync-ref.js.map +1 -1
  12. package/dist/_internal/hooks/use-timer/timer.js +2 -2
  13. package/dist/_internal/hooks/use-timer/timer.js.map +1 -1
  14. package/dist/_internal/hooks/use-timer/use-timer.js +2 -3
  15. package/dist/_internal/hooks/use-timer/use-timer.js.map +1 -1
  16. package/dist/_internal/hooks/use-warn.js +2 -3
  17. package/dist/_internal/hooks/use-warn.js.map +1 -1
  18. package/dist/components/Block.d.ts +2 -5
  19. package/dist/components/Block.js +2 -3
  20. package/dist/components/Block.js.map +1 -1
  21. package/dist/components/CollectionItem.d.ts +4 -5
  22. package/dist/components/CollectionItem.js +4 -5
  23. package/dist/components/CollectionItem.js.map +1 -1
  24. package/dist/components/GlobalStyles.js +4 -5
  25. package/dist/components/GlobalStyles.js.map +1 -1
  26. package/dist/components/GridProvider.d.ts +2 -5
  27. package/dist/components/GridProvider.js +4 -4
  28. package/dist/components/GridProvider.js.map +1 -1
  29. package/dist/components/HiddenInput.js +2 -3
  30. package/dist/components/HiddenInput.js.map +1 -1
  31. package/dist/components/Root.d.ts +2 -5
  32. package/dist/components/Root.js +2 -3
  33. package/dist/components/Root.js.map +1 -1
  34. package/dist/components/actions/Action/Action.d.ts +2 -6
  35. package/dist/components/actions/Action/Action.js +2 -3
  36. package/dist/components/actions/Action/Action.js.map +1 -1
  37. package/dist/components/actions/Banner/Banner.d.ts +9 -12
  38. package/dist/components/actions/Banner/Banner.js +3 -4
  39. package/dist/components/actions/Banner/Banner.js.map +1 -1
  40. package/dist/components/actions/Banner/index.d.ts +2 -1
  41. package/dist/components/actions/Button/Button.d.ts +4 -7
  42. package/dist/components/actions/Button/Button.js +2 -3
  43. package/dist/components/actions/Button/Button.js.map +1 -1
  44. package/dist/components/actions/Button/index.d.ts +2 -1
  45. package/dist/components/actions/ButtonGroup/ButtonGroup.d.ts +1 -4
  46. package/dist/components/actions/ButtonGroup/ButtonGroup.js +2 -3
  47. package/dist/components/actions/ButtonGroup/ButtonGroup.js.map +1 -1
  48. package/dist/components/actions/ButtonSplit/ButtonSplit.d.ts +3 -6
  49. package/dist/components/actions/ButtonSplit/ButtonSplit.js +5 -5
  50. package/dist/components/actions/ButtonSplit/ButtonSplit.js.map +1 -1
  51. package/dist/components/actions/ButtonSplit/context.d.ts +3 -6
  52. package/dist/components/actions/ButtonSplit/context.js +2 -3
  53. package/dist/components/actions/ButtonSplit/context.js.map +1 -1
  54. package/dist/components/actions/ButtonSplit/index.d.ts +2 -1
  55. package/dist/components/actions/CommandMenu/CommandMenu.d.ts +6 -9
  56. package/dist/components/actions/CommandMenu/CommandMenu.js +89 -76
  57. package/dist/components/actions/CommandMenu/CommandMenu.js.map +1 -1
  58. package/dist/components/actions/CommandMenu/index.d.ts +2 -1
  59. package/dist/components/actions/CommandMenu/styled.js +3 -4
  60. package/dist/components/actions/CommandMenu/styled.js.map +1 -1
  61. package/dist/components/actions/ItemAction/ItemAction.d.ts +3 -6
  62. package/dist/components/actions/ItemAction/ItemAction.js +11 -9
  63. package/dist/components/actions/ItemAction/ItemAction.js.map +1 -1
  64. package/dist/components/actions/ItemAction/index.d.ts +2 -1
  65. package/dist/components/actions/ItemActionContext.d.ts +5 -14
  66. package/dist/components/actions/ItemActionContext.js +2 -3
  67. package/dist/components/actions/ItemActionContext.js.map +1 -1
  68. package/dist/components/actions/ItemActionsWrapper.js +2 -3
  69. package/dist/components/actions/ItemActionsWrapper.js.map +1 -1
  70. package/dist/components/actions/ItemButton/ItemButton.d.ts +6 -9
  71. package/dist/components/actions/ItemButton/ItemButton.js +4 -5
  72. package/dist/components/actions/ItemButton/ItemButton.js.map +1 -1
  73. package/dist/components/actions/ItemButton/index.d.ts +2 -1
  74. package/dist/components/actions/Link/Link.d.ts +1 -5
  75. package/dist/components/actions/Link/Link.js +2 -3
  76. package/dist/components/actions/Link/Link.js.map +1 -1
  77. package/dist/components/actions/Menu/Menu.d.ts +7 -10
  78. package/dist/components/actions/Menu/Menu.js +9 -8
  79. package/dist/components/actions/Menu/Menu.js.map +1 -1
  80. package/dist/components/actions/Menu/MenuCollectionItem.d.ts +3 -4
  81. package/dist/components/actions/Menu/MenuCollectionItem.js +4 -5
  82. package/dist/components/actions/Menu/MenuCollectionItem.js.map +1 -1
  83. package/dist/components/actions/Menu/MenuItem.d.ts +5 -8
  84. package/dist/components/actions/Menu/MenuItem.js +4 -4
  85. package/dist/components/actions/Menu/MenuItem.js.map +1 -1
  86. package/dist/components/actions/Menu/MenuSection.d.ts +4 -7
  87. package/dist/components/actions/Menu/MenuSection.js +2 -3
  88. package/dist/components/actions/Menu/MenuSection.js.map +1 -1
  89. package/dist/components/actions/Menu/MenuTrigger.d.ts +4 -6
  90. package/dist/components/actions/Menu/MenuTrigger.js +5 -6
  91. package/dist/components/actions/Menu/MenuTrigger.js.map +1 -1
  92. package/dist/components/actions/Menu/SubMenuTrigger.d.ts +3 -5
  93. package/dist/components/actions/Menu/SubMenuTrigger.js +3 -4
  94. package/dist/components/actions/Menu/SubMenuTrigger.js.map +1 -1
  95. package/dist/components/actions/Menu/SubmenuTriggerContext.js +2 -3
  96. package/dist/components/actions/Menu/SubmenuTriggerContext.js.map +1 -1
  97. package/dist/components/actions/Menu/context.d.ts +3 -5
  98. package/dist/components/actions/Menu/context.js +2 -3
  99. package/dist/components/actions/Menu/context.js.map +1 -1
  100. package/dist/components/actions/Menu/index.d.ts +4 -3
  101. package/dist/components/actions/Menu/styled.js +3 -4
  102. package/dist/components/actions/Menu/styled.js.map +1 -1
  103. package/dist/components/actions/actions-run.js +2 -2
  104. package/dist/components/actions/actions-run.js.map +1 -1
  105. package/dist/components/actions/index.d.ts +8 -11
  106. package/dist/components/actions/index.js +8 -9
  107. package/dist/components/actions/index.js.map +1 -1
  108. package/dist/components/actions/use-action.d.ts +10 -27
  109. package/dist/components/actions/use-action.js +15 -7
  110. package/dist/components/actions/use-action.js.map +1 -1
  111. package/dist/components/actions/use-anchored-menu.d.ts +3 -5
  112. package/dist/components/actions/use-anchored-menu.js +5 -5
  113. package/dist/components/actions/use-anchored-menu.js.map +1 -1
  114. package/dist/components/actions/use-context-menu.d.ts +4 -5
  115. package/dist/components/actions/use-context-menu.js +9 -7
  116. package/dist/components/actions/use-context-menu.js.map +1 -1
  117. package/dist/components/content/ActiveZone/ActiveZone.d.ts +3 -5
  118. package/dist/components/content/ActiveZone/ActiveZone.js +3 -4
  119. package/dist/components/content/ActiveZone/ActiveZone.js.map +1 -1
  120. package/dist/components/content/Alert/Alert.d.ts +1 -4
  121. package/dist/components/content/Alert/Alert.js +3 -3
  122. package/dist/components/content/Alert/Alert.js.map +1 -1
  123. package/dist/components/content/Alert/index.d.ts +2 -1
  124. package/dist/components/content/Alert/types.d.ts +2 -4
  125. package/dist/components/content/Alert/use-alert.js +2 -3
  126. package/dist/components/content/Alert/use-alert.js.map +1 -1
  127. package/dist/components/content/Avatar/Avatar.d.ts +2 -5
  128. package/dist/components/content/Avatar/Avatar.js +2 -3
  129. package/dist/components/content/Avatar/Avatar.js.map +1 -1
  130. package/dist/components/content/Badge/Badge.d.ts +5 -7
  131. package/dist/components/content/Badge/Badge.js +4 -5
  132. package/dist/components/content/Badge/Badge.js.map +1 -1
  133. package/dist/components/content/Card/Card.d.ts +2 -5
  134. package/dist/components/content/Card/Card.js +2 -3
  135. package/dist/components/content/Card/Card.js.map +1 -1
  136. package/dist/components/content/Content.d.ts +2 -5
  137. package/dist/components/content/Content.js +2 -3
  138. package/dist/components/content/Content.js.map +1 -1
  139. package/dist/components/content/CopyPasteBlock/CopyPasteBlock.d.ts +3 -5
  140. package/dist/components/content/CopyPasteBlock/CopyPasteBlock.js +3 -4
  141. package/dist/components/content/CopyPasteBlock/CopyPasteBlock.js.map +1 -1
  142. package/dist/components/content/CopyPasteBlock/index.d.ts +2 -1
  143. package/dist/components/content/CopySnippet/CopySnippet.d.ts +523 -520
  144. package/dist/components/content/CopySnippet/CopySnippet.js +5 -6
  145. package/dist/components/content/CopySnippet/CopySnippet.js.map +1 -1
  146. package/dist/components/content/CopySnippet/index.d.ts +2 -1
  147. package/dist/components/content/Disclosure/Disclosure.d.ts +12 -14
  148. package/dist/components/content/Disclosure/Disclosure.js +8 -7
  149. package/dist/components/content/Disclosure/Disclosure.js.map +1 -1
  150. package/dist/components/content/Disclosure/index.d.ts +2 -1
  151. package/dist/components/content/Divider.d.ts +2 -5
  152. package/dist/components/content/Divider.js +4 -4
  153. package/dist/components/content/Divider.js.map +1 -1
  154. package/dist/components/content/Footer.d.ts +2 -5
  155. package/dist/components/content/Footer.js +2 -3
  156. package/dist/components/content/Footer.js.map +1 -1
  157. package/dist/components/content/Header.d.ts +2 -5
  158. package/dist/components/content/Header.js +2 -3
  159. package/dist/components/content/Header.js.map +1 -1
  160. package/dist/components/content/HotKeys/HotKeys.d.ts +3 -5
  161. package/dist/components/content/HotKeys/HotKeys.js +4 -5
  162. package/dist/components/content/HotKeys/HotKeys.js.map +1 -1
  163. package/dist/components/content/HotKeys/index.d.ts +2 -1
  164. package/dist/components/content/InfoBadge/InfoBadge.d.ts +4 -6
  165. package/dist/components/content/InfoBadge/InfoBadge.js +2 -3
  166. package/dist/components/content/InfoBadge/InfoBadge.js.map +1 -1
  167. package/dist/components/content/InlineInput/InlineInput.d.ts +4 -7
  168. package/dist/components/content/InlineInput/InlineInput.js +5 -5
  169. package/dist/components/content/InlineInput/InlineInput.js.map +1 -1
  170. package/dist/components/content/InlineInput/index.d.ts +2 -1
  171. package/dist/components/content/Item/Item.d.ts +4 -7
  172. package/dist/components/content/Item/Item.js +4 -5
  173. package/dist/components/content/Item/Item.js.map +1 -1
  174. package/dist/components/content/Item/ItemWithNativeLinks.js +2 -3
  175. package/dist/components/content/Item/ItemWithNativeLinks.js.map +1 -1
  176. package/dist/components/content/Item/index.d.ts +2 -1
  177. package/dist/components/content/ItemBadge/ItemBadge.d.ts +3 -5
  178. package/dist/components/content/ItemBadge/ItemBadge.js +2 -3
  179. package/dist/components/content/ItemBadge/ItemBadge.js.map +1 -1
  180. package/dist/components/content/ItemBadge/index.d.ts +2 -1
  181. package/dist/components/content/ItemCard/ItemCard.d.ts +5 -8
  182. package/dist/components/content/ItemCard/ItemCard.js +3 -4
  183. package/dist/components/content/ItemCard/ItemCard.js.map +1 -1
  184. package/dist/components/content/Layout/GridLayout.d.ts +12 -13
  185. package/dist/components/content/Layout/GridLayout.js +13 -14
  186. package/dist/components/content/Layout/GridLayout.js.map +1 -1
  187. package/dist/components/content/Layout/Layout.d.ts +1 -3
  188. package/dist/components/content/Layout/Layout.js +28 -17
  189. package/dist/components/content/Layout/Layout.js.map +1 -1
  190. package/dist/components/content/Layout/LayoutBlock.d.ts +3 -5
  191. package/dist/components/content/Layout/LayoutBlock.js +4 -5
  192. package/dist/components/content/Layout/LayoutBlock.js.map +1 -1
  193. package/dist/components/content/Layout/LayoutCenter.d.ts +3 -5
  194. package/dist/components/content/Layout/LayoutCenter.js +4 -5
  195. package/dist/components/content/Layout/LayoutCenter.js.map +1 -1
  196. package/dist/components/content/Layout/LayoutContainer.d.ts +3 -5
  197. package/dist/components/content/Layout/LayoutContainer.js +5 -5
  198. package/dist/components/content/Layout/LayoutContainer.js.map +1 -1
  199. package/dist/components/content/Layout/LayoutContent.d.ts +4 -6
  200. package/dist/components/content/Layout/LayoutContent.js +3 -4
  201. package/dist/components/content/Layout/LayoutContent.js.map +1 -1
  202. package/dist/components/content/Layout/LayoutContext.d.ts +1 -3
  203. package/dist/components/content/Layout/LayoutContext.js +2 -3
  204. package/dist/components/content/Layout/LayoutContext.js.map +1 -1
  205. package/dist/components/content/Layout/LayoutFlex.d.ts +3 -5
  206. package/dist/components/content/Layout/LayoutFlex.js +4 -5
  207. package/dist/components/content/Layout/LayoutFlex.js.map +1 -1
  208. package/dist/components/content/Layout/LayoutFooter.d.ts +3 -5
  209. package/dist/components/content/Layout/LayoutFooter.js +4 -5
  210. package/dist/components/content/Layout/LayoutFooter.js.map +1 -1
  211. package/dist/components/content/Layout/LayoutGrid.d.ts +3 -5
  212. package/dist/components/content/Layout/LayoutGrid.js +4 -5
  213. package/dist/components/content/Layout/LayoutGrid.js.map +1 -1
  214. package/dist/components/content/Layout/LayoutHeader.d.ts +3 -5
  215. package/dist/components/content/Layout/LayoutHeader.js +6 -6
  216. package/dist/components/content/Layout/LayoutHeader.js.map +1 -1
  217. package/dist/components/content/Layout/LayoutPane.d.ts +4 -6
  218. package/dist/components/content/Layout/LayoutPane.js +7 -8
  219. package/dist/components/content/Layout/LayoutPane.js.map +1 -1
  220. package/dist/components/content/Layout/LayoutPanel.d.ts +23 -7
  221. package/dist/components/content/Layout/LayoutPanel.js +33 -21
  222. package/dist/components/content/Layout/LayoutPanel.js.map +1 -1
  223. package/dist/components/content/Layout/LayoutPanelHeader.d.ts +4 -6
  224. package/dist/components/content/Layout/LayoutPanelHeader.js +4 -5
  225. package/dist/components/content/Layout/LayoutPanelHeader.js.map +1 -1
  226. package/dist/components/content/Layout/LayoutPanelTransition.js +54 -51
  227. package/dist/components/content/Layout/LayoutPanelTransition.js.map +1 -1
  228. package/dist/components/content/Layout/LayoutToolbar.d.ts +3 -5
  229. package/dist/components/content/Layout/LayoutToolbar.js +4 -5
  230. package/dist/components/content/Layout/LayoutToolbar.js.map +1 -1
  231. package/dist/components/content/Layout/hooks/useTinyScrollbar.js +2 -3
  232. package/dist/components/content/Layout/hooks/useTinyScrollbar.js.map +1 -1
  233. package/dist/components/content/Layout/index.d.ts +13 -14
  234. package/dist/components/content/Layout/index.js +17 -18
  235. package/dist/components/content/Layout/index.js.map +1 -1
  236. package/dist/components/content/Layout/utils.js +2 -2
  237. package/dist/components/content/Layout/utils.js.map +1 -1
  238. package/dist/components/content/Paragraph.d.ts +2 -5
  239. package/dist/components/content/Paragraph.js +3 -4
  240. package/dist/components/content/Paragraph.js.map +1 -1
  241. package/dist/components/content/Placeholder/Placeholder.d.ts +2 -5
  242. package/dist/components/content/Placeholder/Placeholder.js +2 -3
  243. package/dist/components/content/Placeholder/Placeholder.js.map +1 -1
  244. package/dist/components/content/PrismCode/PrismCode.d.ts +3 -5
  245. package/dist/components/content/PrismCode/PrismCode.js +4 -5
  246. package/dist/components/content/PrismCode/PrismCode.js.map +1 -1
  247. package/dist/components/content/PrismCode/prismSetup.js +3 -4
  248. package/dist/components/content/PrismCode/prismSetup.js.map +1 -1
  249. package/dist/components/content/PrismDiffCode/PrismDiffCode.d.ts +2 -9
  250. package/dist/components/content/PrismDiffCode/PrismDiffCode.js +3 -4
  251. package/dist/components/content/PrismDiffCode/PrismDiffCode.js.map +1 -1
  252. package/dist/components/content/Result/Result.d.ts +9 -12
  253. package/dist/components/content/Result/Result.js +4 -5
  254. package/dist/components/content/Result/Result.js.map +1 -1
  255. package/dist/components/content/Skeleton/Skeleton.d.ts +13 -61
  256. package/dist/components/content/Skeleton/Skeleton.js +2 -3
  257. package/dist/components/content/Skeleton/Skeleton.js.map +1 -1
  258. package/dist/components/content/Tag/Tag.d.ts +4 -6
  259. package/dist/components/content/Tag/Tag.js +4 -5
  260. package/dist/components/content/Tag/Tag.js.map +1 -1
  261. package/dist/components/content/Text.d.ts +1347 -1350
  262. package/dist/components/content/Text.js +3 -4
  263. package/dist/components/content/Text.js.map +1 -1
  264. package/dist/components/content/TextItem/TextItem.d.ts +6 -5
  265. package/dist/components/content/TextItem/TextItem.js +2 -3
  266. package/dist/components/content/TextItem/TextItem.js.map +1 -1
  267. package/dist/components/content/TextItem/index.d.ts +2 -1
  268. package/dist/components/content/Title.d.ts +5 -7
  269. package/dist/components/content/Title.js +3 -4
  270. package/dist/components/content/Title.js.map +1 -1
  271. package/dist/components/content/Tree/Tree.d.ts +1 -4
  272. package/dist/components/content/Tree/Tree.js +4 -4
  273. package/dist/components/content/Tree/Tree.js.map +1 -1
  274. package/dist/components/content/Tree/TreeNode.js +5 -6
  275. package/dist/components/content/Tree/TreeNode.js.map +1 -1
  276. package/dist/components/content/Tree/index.d.ts +2 -1
  277. package/dist/components/content/Tree/styled.js +18 -4
  278. package/dist/components/content/Tree/styled.js.map +1 -1
  279. package/dist/components/content/Tree/tree-index.js +2 -2
  280. package/dist/components/content/Tree/tree-index.js.map +1 -1
  281. package/dist/components/content/Tree/types.d.ts +11 -13
  282. package/dist/components/content/Tree/use-checkbox-tree.js +2 -3
  283. package/dist/components/content/Tree/use-checkbox-tree.js.map +1 -1
  284. package/dist/components/content/Tree/use-load-data.js +2 -3
  285. package/dist/components/content/Tree/use-load-data.js.map +1 -1
  286. package/dist/components/content/highlightText.js +3 -4
  287. package/dist/components/content/highlightText.js.map +1 -1
  288. package/dist/components/content/use-auto-tooltip.d.ts +1 -3
  289. package/dist/components/content/use-auto-tooltip.js +2 -3
  290. package/dist/components/content/use-auto-tooltip.js.map +1 -1
  291. package/dist/components/data/DataTable/DataTable.d.ts +1 -2
  292. package/dist/components/data/DataTable/DataTable.js +35 -25
  293. package/dist/components/data/DataTable/DataTable.js.map +1 -1
  294. package/dist/components/data/DataTable/index.d.ts +2 -1
  295. package/dist/components/data/DataTable/types.d.ts +4 -6
  296. package/dist/components/data/ItemTable/ItemTable.d.ts +6 -4
  297. package/dist/components/data/ItemTable/ItemTable.js +8 -5
  298. package/dist/components/data/ItemTable/ItemTable.js.map +1 -1
  299. package/dist/components/data/ItemTable/ItemTableBulkBar.d.ts +2 -5
  300. package/dist/components/data/ItemTable/ItemTableBulkBar.js +8 -4
  301. package/dist/components/data/ItemTable/ItemTableBulkBar.js.map +1 -1
  302. package/dist/components/data/ItemTable/ItemTableDragPreview.js +3 -4
  303. package/dist/components/data/ItemTable/ItemTableDragPreview.js.map +1 -1
  304. package/dist/components/data/ItemTable/ItemTableFooter.js +8 -4
  305. package/dist/components/data/ItemTable/ItemTableFooter.js.map +1 -1
  306. package/dist/components/data/ItemTable/ItemTableToolbar.d.ts +4 -15
  307. package/dist/components/data/ItemTable/ItemTableToolbar.js +2 -3
  308. package/dist/components/data/ItemTable/ItemTableToolbar.js.map +1 -1
  309. package/dist/components/data/ItemTable/index.d.ts +2 -1
  310. package/dist/components/data/ItemTable/types.d.ts +6 -6
  311. package/dist/components/data/ItemTable/use-item-table-column-widths.js +4 -4
  312. package/dist/components/data/ItemTable/use-item-table-column-widths.js.map +1 -1
  313. package/dist/components/data/ItemTable/use-item-table-drag-drop.js +2 -3
  314. package/dist/components/data/ItemTable/use-item-table-drag-drop.js.map +1 -1
  315. package/dist/components/data/ItemTable/use-item-table-pagination.js +2 -3
  316. package/dist/components/data/ItemTable/use-item-table-pagination.js.map +1 -1
  317. package/dist/components/data/ItemTable/use-item-table-selection.js +2 -3
  318. package/dist/components/data/ItemTable/use-item-table-selection.js.map +1 -1
  319. package/dist/components/data/ItemTable/use-item-table-sort.js +2 -3
  320. package/dist/components/data/ItemTable/use-item-table-sort.js.map +1 -1
  321. package/dist/components/data/ItemTable/use-item-table-tree-model.js +2 -3
  322. package/dist/components/data/ItemTable/use-item-table-tree-model.js.map +1 -1
  323. package/dist/components/data/TableBase/ColumnResizer.js +2 -3
  324. package/dist/components/data/TableBase/ColumnResizer.js.map +1 -1
  325. package/dist/components/data/TableBase/RowCollection.d.ts +2 -0
  326. package/dist/components/data/TableBase/RowCollection.js +2 -2
  327. package/dist/components/data/TableBase/RowCollection.js.map +1 -1
  328. package/dist/components/data/TableBase/TableHeaderCell.js +2 -3
  329. package/dist/components/data/TableBase/TableHeaderCell.js.map +1 -1
  330. package/dist/components/data/TableBase/TableRow.js +2 -3
  331. package/dist/components/data/TableBase/TableRow.js.map +1 -1
  332. package/dist/components/data/TableBase/TableView.d.ts +2 -3
  333. package/dist/components/data/TableBase/TableView.js +25 -15
  334. package/dist/components/data/TableBase/TableView.js.map +1 -1
  335. package/dist/components/data/TableBase/TreeGridTable.js +9 -9
  336. package/dist/components/data/TableBase/TreeGridTable.js.map +1 -1
  337. package/dist/components/data/TableBase/column-header.js +2 -3
  338. package/dist/components/data/TableBase/column-header.js.map +1 -1
  339. package/dist/components/data/TableBase/column-menu.d.ts +3 -6
  340. package/dist/components/data/TableBase/column-menu.js +3 -4
  341. package/dist/components/data/TableBase/column-menu.js.map +1 -1
  342. package/dist/components/data/TableBase/column-styles.js +2 -3
  343. package/dist/components/data/TableBase/column-styles.js.map +1 -1
  344. package/dist/components/data/TableBase/column-tint.js +4 -5
  345. package/dist/components/data/TableBase/column-tint.js.map +1 -1
  346. package/dist/components/data/TableBase/index.d.ts +2 -1
  347. package/dist/components/data/TableBase/row-menu.js +2 -3
  348. package/dist/components/data/TableBase/row-menu.js.map +1 -1
  349. package/dist/components/data/TableBase/styled.d.ts +1 -3
  350. package/dist/components/data/TableBase/styled.js +168 -4
  351. package/dist/components/data/TableBase/styled.js.map +1 -1
  352. package/dist/components/data/TableBase/table-tree.d.ts +2 -0
  353. package/dist/components/data/TableBase/table-tree.js +2 -2
  354. package/dist/components/data/TableBase/table-tree.js.map +1 -1
  355. package/dist/components/data/TableBase/types.d.ts +30 -26
  356. package/dist/components/data/TableBase/types.js +2 -2
  357. package/dist/components/data/TableBase/types.js.map +1 -1
  358. package/dist/components/data/TableBase/use-cell-selection.d.ts +1 -2
  359. package/dist/components/data/TableBase/use-cell-selection.js +0 -0
  360. package/dist/components/data/TableBase/use-cell-selection.js.map +1 -1
  361. package/dist/components/data/TableBase/use-column-menu.js +4 -5
  362. package/dist/components/data/TableBase/use-column-menu.js.map +1 -1
  363. package/dist/components/data/TableBase/use-column-order.js +3 -4
  364. package/dist/components/data/TableBase/use-column-order.js.map +1 -1
  365. package/dist/components/data/TableBase/use-column-window.js +3 -4
  366. package/dist/components/data/TableBase/use-column-window.js.map +1 -1
  367. package/dist/components/data/TableBase/use-container-width.js +2 -3
  368. package/dist/components/data/TableBase/use-container-width.js.map +1 -1
  369. package/dist/components/data/TableBase/use-row-move-animation.js +3 -7
  370. package/dist/components/data/TableBase/use-row-move-animation.js.map +1 -1
  371. package/dist/components/data/TableBase/use-scrollability.js +2 -3
  372. package/dist/components/data/TableBase/use-scrollability.js.map +1 -1
  373. package/dist/components/data/TableBase/use-table-columns.js +4 -8
  374. package/dist/components/data/TableBase/use-table-columns.js.map +1 -1
  375. package/dist/components/data/TableBase/use-table-search.js +2 -3
  376. package/dist/components/data/TableBase/use-table-search.js.map +1 -1
  377. package/dist/components/data/TableBase/use-table-selection.d.ts +1 -0
  378. package/dist/components/data/TableBase/use-table-selection.js +7 -6
  379. package/dist/components/data/TableBase/use-table-selection.js.map +1 -1
  380. package/dist/components/data/TableBase/use-table-sort.js +2 -3
  381. package/dist/components/data/TableBase/use-table-sort.js.map +1 -1
  382. package/dist/components/data/TableBase/use-table-sorts.js +2 -3
  383. package/dist/components/data/TableBase/use-table-sorts.js.map +1 -1
  384. package/dist/components/data/TableBase/use-table-storage.d.ts +1 -3
  385. package/dist/components/data/TableBase/use-table-storage.js +4 -4
  386. package/dist/components/data/TableBase/use-table-storage.js.map +1 -1
  387. package/dist/components/data/TableBase/use-table-tooltip-refresh.js +3 -4
  388. package/dist/components/data/TableBase/use-table-tooltip-refresh.js.map +1 -1
  389. package/dist/components/data/TableBase/use-table-tree-state.js +2 -3
  390. package/dist/components/data/TableBase/use-table-tree-state.js.map +1 -1
  391. package/dist/components/data/index.d.ts +4 -3
  392. package/dist/components/fields/Checkbox/Checkbox.d.ts +7 -10
  393. package/dist/components/fields/Checkbox/Checkbox.js +39 -36
  394. package/dist/components/fields/Checkbox/Checkbox.js.map +1 -1
  395. package/dist/components/fields/Checkbox/CheckboxGroup.d.ts +4 -6
  396. package/dist/components/fields/Checkbox/CheckboxGroup.js +16 -16
  397. package/dist/components/fields/Checkbox/CheckboxGroup.js.map +1 -1
  398. package/dist/components/fields/Checkbox/context.js +2 -3
  399. package/dist/components/fields/Checkbox/context.js.map +1 -1
  400. package/dist/components/fields/Checkbox/index.d.ts +3 -2
  401. package/dist/components/fields/ColorInput/ColorInput.d.ts +3 -6
  402. package/dist/components/fields/ColorInput/ColorInput.js +2 -3
  403. package/dist/components/fields/ColorInput/ColorInput.js.map +1 -1
  404. package/dist/components/fields/ColorInput/index.d.ts +2 -1
  405. package/dist/components/fields/ColorPicker/ColorPicker.d.ts +3 -6
  406. package/dist/components/fields/ColorPicker/ColorPicker.js +321 -118
  407. package/dist/components/fields/ColorPicker/ColorPicker.js.map +1 -1
  408. package/dist/components/fields/ColorPicker/index.d.ts +2 -1
  409. package/dist/components/fields/ColorSwatch/ColorSwatch.d.ts +2 -5
  410. package/dist/components/fields/ColorSwatch/ColorSwatch.js +14 -3
  411. package/dist/components/fields/ColorSwatch/ColorSwatch.js.map +1 -1
  412. package/dist/components/fields/ColorSwatch/index.d.ts +2 -1
  413. package/dist/components/fields/ColorSwatchGroup/ColorSwatchGroup.d.ts +3 -6
  414. package/dist/components/fields/ColorSwatchGroup/ColorSwatchGroup.js +235 -72
  415. package/dist/components/fields/ColorSwatchGroup/ColorSwatchGroup.js.map +1 -1
  416. package/dist/components/fields/ColorSwatchGroup/index.d.ts +2 -1
  417. package/dist/components/fields/ComboBox/ComboBox.d.ts +5 -6
  418. package/dist/components/fields/ComboBox/ComboBox.js +48 -45
  419. package/dist/components/fields/ComboBox/ComboBox.js.map +1 -1
  420. package/dist/components/fields/ComboBox/comboBoxOptions.js +2 -3
  421. package/dist/components/fields/ComboBox/comboBoxOptions.js.map +1 -1
  422. package/dist/components/fields/ComboBox/index.d.ts +2 -1
  423. package/dist/components/fields/CommandTextArea/CommandTextArea.d.ts +10 -9
  424. package/dist/components/fields/CommandTextArea/CommandTextArea.js +7 -7
  425. package/dist/components/fields/CommandTextArea/CommandTextArea.js.map +1 -1
  426. package/dist/components/fields/CommandTextArea/caretPosition.js +2 -2
  427. package/dist/components/fields/CommandTextArea/caretPosition.js.map +1 -1
  428. package/dist/components/fields/CommandTextArea/index.d.ts +2 -1
  429. package/dist/components/fields/CommandTextArea/useCaretAnchor.js +2 -3
  430. package/dist/components/fields/CommandTextArea/useCaretAnchor.js.map +1 -1
  431. package/dist/components/fields/DatePicker/DateInput.d.ts +2 -3
  432. package/dist/components/fields/DatePicker/DateInput.js +10 -8
  433. package/dist/components/fields/DatePicker/DateInput.js.map +1 -1
  434. package/dist/components/fields/DatePicker/DateInputBase.js +53 -44
  435. package/dist/components/fields/DatePicker/DateInputBase.js.map +1 -1
  436. package/dist/components/fields/DatePicker/DatePicker.d.ts +3 -6
  437. package/dist/components/fields/DatePicker/DatePicker.js +28 -26
  438. package/dist/components/fields/DatePicker/DatePicker.js.map +1 -1
  439. package/dist/components/fields/DatePicker/DatePickerButton.js +2 -3
  440. package/dist/components/fields/DatePicker/DatePickerButton.js.map +1 -1
  441. package/dist/components/fields/DatePicker/DatePickerElement.js +2 -3
  442. package/dist/components/fields/DatePicker/DatePickerElement.js.map +1 -1
  443. package/dist/components/fields/DatePicker/DatePickerInput.js +2 -3
  444. package/dist/components/fields/DatePicker/DatePickerInput.js.map +1 -1
  445. package/dist/components/fields/DatePicker/DatePickerSegment.js +2 -3
  446. package/dist/components/fields/DatePicker/DatePickerSegment.js.map +1 -1
  447. package/dist/components/fields/DatePicker/DateRangePicker.d.ts +2 -3
  448. package/dist/components/fields/DatePicker/DateRangePicker.js +29 -27
  449. package/dist/components/fields/DatePicker/DateRangePicker.js.map +1 -1
  450. package/dist/components/fields/DatePicker/DateRangeSeparatedPicker.d.ts +2 -3
  451. package/dist/components/fields/DatePicker/DateRangeSeparatedPicker.js +110 -110
  452. package/dist/components/fields/DatePicker/DateRangeSeparatedPicker.js.map +1 -1
  453. package/dist/components/fields/DatePicker/MonthPicker.d.ts +3 -6
  454. package/dist/components/fields/DatePicker/MonthPicker.js +3 -4
  455. package/dist/components/fields/DatePicker/MonthPicker.js.map +1 -1
  456. package/dist/components/fields/DatePicker/PeriodPicker.d.ts +2 -4
  457. package/dist/components/fields/DatePicker/PeriodPicker.js +14 -14
  458. package/dist/components/fields/DatePicker/PeriodPicker.js.map +1 -1
  459. package/dist/components/fields/DatePicker/QuarterPicker.d.ts +3 -6
  460. package/dist/components/fields/DatePicker/QuarterPicker.js +3 -4
  461. package/dist/components/fields/DatePicker/QuarterPicker.js.map +1 -1
  462. package/dist/components/fields/DatePicker/TimeInput.d.ts +3 -6
  463. package/dist/components/fields/DatePicker/TimeInput.js +10 -8
  464. package/dist/components/fields/DatePicker/TimeInput.js.map +1 -1
  465. package/dist/components/fields/DatePicker/WeekPicker.d.ts +3 -6
  466. package/dist/components/fields/DatePicker/WeekPicker.js +3 -4
  467. package/dist/components/fields/DatePicker/WeekPicker.js.map +1 -1
  468. package/dist/components/fields/DatePicker/YearPicker.d.ts +3 -6
  469. package/dist/components/fields/DatePicker/YearPicker.js +3 -4
  470. package/dist/components/fields/DatePicker/YearPicker.js.map +1 -1
  471. package/dist/components/fields/DatePicker/index.d.ts +10 -9
  472. package/dist/components/fields/DatePicker/parseDate.d.ts +1 -4
  473. package/dist/components/fields/DatePicker/parseDate.js +2 -3
  474. package/dist/components/fields/DatePicker/parseDate.js.map +1 -1
  475. package/dist/components/fields/DatePicker/period.d.ts +5 -7
  476. package/dist/components/fields/DatePicker/period.js +3 -4
  477. package/dist/components/fields/DatePicker/period.js.map +1 -1
  478. package/dist/components/fields/DatePicker/props.js +2 -2
  479. package/dist/components/fields/DatePicker/props.js.map +1 -1
  480. package/dist/components/fields/DatePicker/types.d.ts +2 -4
  481. package/dist/components/fields/DatePicker/utils.js +14 -11
  482. package/dist/components/fields/DatePicker/utils.js.map +1 -1
  483. package/dist/components/fields/FileInput/FileInput.d.ts +3 -5
  484. package/dist/components/fields/FileInput/FileInput.js +290 -107
  485. package/dist/components/fields/FileInput/FileInput.js.map +1 -1
  486. package/dist/components/fields/FilterListBox/FilterListBox.d.ts +4 -5
  487. package/dist/components/fields/FilterListBox/FilterListBox.js +24 -19
  488. package/dist/components/fields/FilterListBox/FilterListBox.js.map +1 -1
  489. package/dist/components/fields/FilterListBox/index.d.ts +2 -1
  490. package/dist/components/fields/FilterPicker/FilterPicker.d.ts +3 -5
  491. package/dist/components/fields/FilterPicker/FilterPicker.js +12 -10
  492. package/dist/components/fields/FilterPicker/FilterPicker.js.map +1 -1
  493. package/dist/components/fields/FilterPicker/index.d.ts +2 -1
  494. package/dist/components/fields/Input/Input.d.ts +6 -7
  495. package/dist/components/fields/Input/Input.js +6 -7
  496. package/dist/components/fields/Input/Input.js.map +1 -1
  497. package/dist/components/fields/Input/index.d.ts +2 -1
  498. package/dist/components/fields/ListBox/DraggableListBox.js +2 -3
  499. package/dist/components/fields/ListBox/DraggableListBox.js.map +1 -1
  500. package/dist/components/fields/ListBox/ListBox.d.ts +5 -7
  501. package/dist/components/fields/ListBox/ListBox.js +30 -26
  502. package/dist/components/fields/ListBox/ListBox.js.map +1 -1
  503. package/dist/components/fields/ListBox/index.d.ts +2 -1
  504. package/dist/components/fields/ListBox/optionId.js +2 -2
  505. package/dist/components/fields/ListBox/optionId.js.map +1 -1
  506. package/dist/components/fields/ListBoxPopover/ListBoxPopover.js +3 -4
  507. package/dist/components/fields/ListBoxPopover/ListBoxPopover.js.map +1 -1
  508. package/dist/components/fields/ListBoxPopover/index.d.ts +2 -1
  509. package/dist/components/fields/ListBoxPopover/listNavigation.d.ts +2 -4
  510. package/dist/components/fields/ListBoxPopover/listNavigation.js +2 -2
  511. package/dist/components/fields/ListBoxPopover/listNavigation.js.map +1 -1
  512. package/dist/components/fields/ListBoxPopover/useCompositeFocus.d.ts +4 -12
  513. package/dist/components/fields/ListBoxPopover/useCompositeFocus.js +2 -3
  514. package/dist/components/fields/ListBoxPopover/useCompositeFocus.js.map +1 -1
  515. package/dist/components/fields/NumberInput/NumberInput.d.ts +4 -6
  516. package/dist/components/fields/NumberInput/NumberInput.js +114 -110
  517. package/dist/components/fields/NumberInput/NumberInput.js.map +1 -1
  518. package/dist/components/fields/NumberInput/StepButton.js +2 -3
  519. package/dist/components/fields/NumberInput/StepButton.js.map +1 -1
  520. package/dist/components/fields/PasswordInput/PasswordInput.d.ts +3 -5
  521. package/dist/components/fields/PasswordInput/PasswordInput.js +4 -4
  522. package/dist/components/fields/PasswordInput/PasswordInput.js.map +1 -1
  523. package/dist/components/fields/Picker/Picker.d.ts +3 -5
  524. package/dist/components/fields/Picker/Picker.js +12 -10
  525. package/dist/components/fields/Picker/Picker.js.map +1 -1
  526. package/dist/components/fields/Picker/index.d.ts +2 -1
  527. package/dist/components/fields/RadioGroup/Radio.d.ts +393 -394
  528. package/dist/components/fields/RadioGroup/Radio.js +60 -65
  529. package/dist/components/fields/RadioGroup/Radio.js.map +1 -1
  530. package/dist/components/fields/RadioGroup/RadioGroup.d.ts +5 -7
  531. package/dist/components/fields/RadioGroup/RadioGroup.js +19 -19
  532. package/dist/components/fields/RadioGroup/RadioGroup.js.map +1 -1
  533. package/dist/components/fields/RadioGroup/context.js +2 -3
  534. package/dist/components/fields/RadioGroup/context.js.map +1 -1
  535. package/dist/components/fields/RadioGroup/index.d.ts +3 -2
  536. package/dist/components/fields/SearchComboBox/SearchComboBox.d.ts +5 -6
  537. package/dist/components/fields/SearchComboBox/SearchComboBox.js +16 -16
  538. package/dist/components/fields/SearchComboBox/SearchComboBox.js.map +1 -1
  539. package/dist/components/fields/SearchComboBox/index.d.ts +2 -1
  540. package/dist/components/fields/SearchInput/SearchInput.d.ts +4 -6
  541. package/dist/components/fields/SearchInput/SearchInput.js +48 -49
  542. package/dist/components/fields/SearchInput/SearchInput.js.map +1 -1
  543. package/dist/components/fields/SearchInput/index.d.ts +2 -1
  544. package/dist/components/fields/Select/Select.d.ts +9 -29
  545. package/dist/components/fields/Select/Select.js +12 -10
  546. package/dist/components/fields/Select/Select.js.map +1 -1
  547. package/dist/components/fields/Select/index.d.ts +2 -1
  548. package/dist/components/fields/Slider/Gradation.js +2 -3
  549. package/dist/components/fields/Slider/Gradation.js.map +1 -1
  550. package/dist/components/fields/Slider/HueSlider.d.ts +3 -6
  551. package/dist/components/fields/Slider/HueSlider.js +5 -6
  552. package/dist/components/fields/Slider/HueSlider.js.map +1 -1
  553. package/dist/components/fields/Slider/RangeSlider.d.ts +3 -6
  554. package/dist/components/fields/Slider/RangeSlider.js +4 -5
  555. package/dist/components/fields/Slider/RangeSlider.js.map +1 -1
  556. package/dist/components/fields/Slider/Slider.d.ts +3 -6
  557. package/dist/components/fields/Slider/Slider.js +4 -5
  558. package/dist/components/fields/Slider/Slider.js.map +1 -1
  559. package/dist/components/fields/Slider/SliderBase.js +296 -88
  560. package/dist/components/fields/Slider/SliderBase.js.map +1 -1
  561. package/dist/components/fields/Slider/SliderThumb.js +2 -3
  562. package/dist/components/fields/Slider/SliderThumb.js.map +1 -1
  563. package/dist/components/fields/Slider/SliderTrack.js +2 -3
  564. package/dist/components/fields/Slider/SliderTrack.js.map +1 -1
  565. package/dist/components/fields/Slider/elements.js +2 -3
  566. package/dist/components/fields/Slider/elements.js.map +1 -1
  567. package/dist/components/fields/Slider/index.d.ts +4 -4
  568. package/dist/components/fields/Slider/index.js +5 -6
  569. package/dist/components/fields/Slider/types.d.ts +2 -3
  570. package/dist/components/fields/Switch/Switch.d.ts +4 -6
  571. package/dist/components/fields/Switch/Switch.js +78 -70
  572. package/dist/components/fields/Switch/Switch.js.map +1 -1
  573. package/dist/components/fields/TagInput/TagInput.d.ts +5 -6
  574. package/dist/components/fields/TagInput/TagInput.js +411 -998
  575. package/dist/components/fields/TagInput/TagInput.js.map +1 -1
  576. package/dist/components/fields/TagInput/TagList.js +3 -4
  577. package/dist/components/fields/TagInput/TagList.js.map +1 -1
  578. package/dist/components/fields/TagInput/index.d.ts +2 -1
  579. package/dist/components/fields/TagInput/useActiveOption.js +2 -3
  580. package/dist/components/fields/TagInput/useActiveOption.js.map +1 -1
  581. package/dist/components/fields/TagInput/useTagError.js +2 -3
  582. package/dist/components/fields/TagInput/useTagError.js.map +1 -1
  583. package/dist/components/fields/TextArea/TextArea.d.ts +4 -6
  584. package/dist/components/fields/TextArea/TextArea.js +4 -4
  585. package/dist/components/fields/TextArea/TextArea.js.map +1 -1
  586. package/dist/components/fields/TextArea/index.d.ts +2 -1
  587. package/dist/components/fields/TextInput/TextInput.d.ts +4 -6
  588. package/dist/components/fields/TextInput/TextInput.js +3 -3
  589. package/dist/components/fields/TextInput/TextInput.js.map +1 -1
  590. package/dist/components/fields/TextInput/TextInputBase.d.ts +6 -8
  591. package/dist/components/fields/TextInput/TextInputBase.js +10 -9
  592. package/dist/components/fields/TextInput/TextInputBase.js.map +1 -1
  593. package/dist/components/fields/TextInput/displayed-validation.js +2 -3
  594. package/dist/components/fields/TextInput/displayed-validation.js.map +1 -1
  595. package/dist/components/fields/TextInput/index.d.ts +2 -1
  596. package/dist/components/fields/TextInput/useAutoSizeTextArea.js +2 -3
  597. package/dist/components/fields/TextInput/useAutoSizeTextArea.js.map +1 -1
  598. package/dist/components/fields/TextInputMapper/TextInputMapper.d.ts +4 -6
  599. package/dist/components/fields/TextInputMapper/TextInputMapper.js +8 -10
  600. package/dist/components/fields/TextInputMapper/TextInputMapper.js.map +1 -1
  601. package/dist/components/fields/TextInputMapper/index.d.ts +2 -1
  602. package/dist/components/fields/TriggerActions.js +3 -4
  603. package/dist/components/fields/TriggerActions.js.map +1 -1
  604. package/dist/components/fields/color/ColorPanel.js +4 -5
  605. package/dist/components/fields/color/ColorPanel.js.map +1 -1
  606. package/dist/components/fields/color/channels.d.ts +2 -4
  607. package/dist/components/fields/color/channels.js +2 -3
  608. package/dist/components/fields/color/channels.js.map +1 -1
  609. package/dist/components/fields/color/color.d.ts +4 -5
  610. package/dist/components/fields/color/color.js +3 -4
  611. package/dist/components/fields/color/color.js.map +1 -1
  612. package/dist/components/fields/color/context.js +2 -3
  613. package/dist/components/fields/color/context.js.map +1 -1
  614. package/dist/components/fields/color/index.d.ts +2 -1
  615. package/dist/components/fields/index.d.ts +27 -26
  616. package/dist/components/fields/option-origin-press.js +2 -2
  617. package/dist/components/fields/option-origin-press.js.map +1 -1
  618. package/dist/components/form/FieldWrapper/FieldWrapper.d.ts +15 -19
  619. package/dist/components/form/FieldWrapper/FieldWrapper.js +123 -123
  620. package/dist/components/form/FieldWrapper/FieldWrapper.js.map +1 -1
  621. package/dist/components/form/FieldWrapper/field-description.js +2 -3
  622. package/dist/components/form/FieldWrapper/field-description.js.map +1 -1
  623. package/dist/components/form/FieldWrapper/index.d.ts +2 -1
  624. package/dist/components/form/FieldWrapper/types.d.ts +20 -12
  625. package/dist/components/form/Form/Field.d.ts +2 -5
  626. package/dist/components/form/Form/Field.js +2 -3
  627. package/dist/components/form/Form/Field.js.map +1 -1
  628. package/dist/components/form/Form/Form.d.ts +6 -12
  629. package/dist/components/form/Form/Form.js +5 -6
  630. package/dist/components/form/Form/Form.js.map +1 -1
  631. package/dist/components/form/Form/ModernFormRoot.d.ts +1 -3
  632. package/dist/components/form/Form/ModernFormRoot.js +3 -4
  633. package/dist/components/form/Form/ModernFormRoot.js.map +1 -1
  634. package/dist/components/form/Form/ResetButton/ResetButton.d.ts +3 -6
  635. package/dist/components/form/Form/ResetButton/ResetButton.js +3 -4
  636. package/dist/components/form/Form/ResetButton/ResetButton.js.map +1 -1
  637. package/dist/components/form/Form/ResetButton/index.d.ts +2 -1
  638. package/dist/components/form/Form/SubmitButton/SubmitButton.d.ts +3 -6
  639. package/dist/components/form/Form/SubmitButton/SubmitButton.js +3 -4
  640. package/dist/components/form/Form/SubmitButton/SubmitButton.js.map +1 -1
  641. package/dist/components/form/Form/SubmitButton/index.d.ts +2 -1
  642. package/dist/components/form/Form/SubmitError.d.ts +3 -5
  643. package/dist/components/form/Form/SubmitError.js +3 -4
  644. package/dist/components/form/Form/SubmitError.js.map +1 -1
  645. package/dist/components/form/Form/backend.d.ts +3 -5
  646. package/dist/components/form/Form/backend.js +2 -2
  647. package/dist/components/form/Form/backend.js.map +1 -1
  648. package/dist/components/form/Form/index.d.ts +7 -10
  649. package/dist/components/form/Form/index.js +7 -8
  650. package/dist/components/form/Form/index.js.map +1 -1
  651. package/dist/components/form/Form/modern/actions.js +2 -3
  652. package/dist/components/form/Form/modern/actions.js.map +1 -1
  653. package/dist/components/form/Form/modern/context.d.ts +2 -4
  654. package/dist/components/form/Form/modern/context.js +2 -3
  655. package/dist/components/form/Form/modern/context.js.map +1 -1
  656. package/dist/components/form/Form/modern/controller.d.ts +9 -11
  657. package/dist/components/form/Form/modern/controller.js +2 -3
  658. package/dist/components/form/Form/modern/controller.js.map +1 -1
  659. package/dist/components/form/Form/modern/field-binding.js +2 -3
  660. package/dist/components/form/Form/modern/field-binding.js.map +1 -1
  661. package/dist/components/form/Form/modern/field.d.ts +4 -5
  662. package/dist/components/form/Form/modern/field.js +2 -3
  663. package/dist/components/form/Form/modern/field.js.map +1 -1
  664. package/dist/components/form/Form/modern/path-types.d.ts +4 -5
  665. package/dist/components/form/Form/modern/react.d.ts +7 -10
  666. package/dist/components/form/Form/modern/react.js +2 -3
  667. package/dist/components/form/Form/modern/react.js.map +1 -1
  668. package/dist/components/form/Form/modern/read-types.d.ts +3 -4
  669. package/dist/components/form/Form/modern/store.js +2 -3
  670. package/dist/components/form/Form/modern/store.js.map +1 -1
  671. package/dist/components/form/Form/modern/types.d.ts +18 -20
  672. package/dist/components/form/Form/modern/validation.d.ts +2 -4
  673. package/dist/components/form/Form/modern/validation.js +2 -3
  674. package/dist/components/form/Form/modern/validation.js.map +1 -1
  675. package/dist/components/form/Form/modern/values.d.ts +1 -2
  676. package/dist/components/form/Form/modern/values.js +2 -2
  677. package/dist/components/form/Form/modern/values.js.map +1 -1
  678. package/dist/components/form/Form/reset-unbound-controls.js +3 -5
  679. package/dist/components/form/Form/reset-unbound-controls.js.map +1 -1
  680. package/dist/components/form/Form/types.d.ts +4 -6
  681. package/dist/components/form/Form/use-field/index.d.ts +2 -1
  682. package/dist/components/form/Form/use-field/types.d.ts +6 -6
  683. package/dist/components/form/Form/use-field/use-field-binding.js +2 -3
  684. package/dist/components/form/Form/use-field/use-field-binding.js.map +1 -1
  685. package/dist/components/form/Form/use-field/use-field-props.d.ts +11 -9
  686. package/dist/components/form/Form/use-field/use-field-props.js +48 -42
  687. package/dist/components/form/Form/use-field/use-field-props.js.map +1 -1
  688. package/dist/components/form/Form/use-field/use-field.d.ts +2 -4
  689. package/dist/components/form/Form/use-field/use-field.js +2 -3
  690. package/dist/components/form/Form/use-field/use-field.js.map +1 -1
  691. package/dist/components/form/Form/use-form.d.ts +5 -6
  692. package/dist/components/form/Form/use-form.js +3 -4
  693. package/dist/components/form/Form/use-form.js.map +1 -1
  694. package/dist/components/form/Form/validation.js +2 -3
  695. package/dist/components/form/Form/validation.js.map +1 -1
  696. package/dist/components/form/Label.d.ts +7 -9
  697. package/dist/components/form/Label.js +3 -4
  698. package/dist/components/form/Label.js.map +1 -1
  699. package/dist/components/form/field-chrome.js +46 -6
  700. package/dist/components/form/field-chrome.js.map +1 -1
  701. package/dist/components/form/index.d.ts +6 -5
  702. package/dist/components/form/legacy-tooltip.js +2 -3
  703. package/dist/components/form/legacy-tooltip.js.map +1 -1
  704. package/dist/components/form/validation/ValidationIndicator.d.ts +4 -10
  705. package/dist/components/form/validation/ValidationIndicator.js +2 -3
  706. package/dist/components/form/validation/ValidationIndicator.js.map +1 -1
  707. package/dist/components/form/validation/index.d.ts +2 -1
  708. package/dist/components/form/validation/resolve-validation-props.d.ts +6 -17
  709. package/dist/components/form/validation/resolve-validation-props.js +2 -2
  710. package/dist/components/form/validation/resolve-validation-props.js.map +1 -1
  711. package/dist/components/form/validation/use-validation-props.d.ts +1 -3
  712. package/dist/components/form/validation/use-validation-props.js +2 -3
  713. package/dist/components/form/validation/use-validation-props.js.map +1 -1
  714. package/dist/components/form/wrapper.d.ts +23 -9
  715. package/dist/components/form/wrapper.js +20 -11
  716. package/dist/components/form/wrapper.js.map +1 -1
  717. package/dist/components/helpers/DisplayTransition/DisplayTransition.d.ts +22 -25
  718. package/dist/components/helpers/DisplayTransition/DisplayTransition.js +16 -16
  719. package/dist/components/helpers/DisplayTransition/DisplayTransition.js.map +1 -1
  720. package/dist/components/helpers/IconSwitch/IconSwitch.d.ts +3 -5
  721. package/dist/components/helpers/IconSwitch/IconSwitch.js +2 -3
  722. package/dist/components/helpers/IconSwitch/IconSwitch.js.map +1 -1
  723. package/dist/components/layout/Flex.d.ts +2 -5
  724. package/dist/components/layout/Flex.js +2 -3
  725. package/dist/components/layout/Flex.js.map +1 -1
  726. package/dist/components/layout/Flow.d.ts +2 -5
  727. package/dist/components/layout/Flow.js +2 -3
  728. package/dist/components/layout/Flow.js.map +1 -1
  729. package/dist/components/layout/Grid.d.ts +2 -5
  730. package/dist/components/layout/Grid.js +2 -3
  731. package/dist/components/layout/Grid.js.map +1 -1
  732. package/dist/components/layout/Panel.d.ts +3 -5
  733. package/dist/components/layout/Panel.js +22 -22
  734. package/dist/components/layout/Panel.js.map +1 -1
  735. package/dist/components/layout/Prefix.d.ts +2 -5
  736. package/dist/components/layout/Prefix.js +2 -3
  737. package/dist/components/layout/Prefix.js.map +1 -1
  738. package/dist/components/layout/ResizablePanel.d.ts +3 -5
  739. package/dist/components/layout/ResizablePanel.js +4 -5
  740. package/dist/components/layout/ResizablePanel.js.map +1 -1
  741. package/dist/components/layout/Space.d.ts +2 -5
  742. package/dist/components/layout/Space.js +2 -3
  743. package/dist/components/layout/Space.js.map +1 -1
  744. package/dist/components/layout/Suffix.d.ts +2 -5
  745. package/dist/components/layout/Suffix.js +2 -3
  746. package/dist/components/layout/Suffix.js.map +1 -1
  747. package/dist/components/navigation/Pagination/Pagination.d.ts +2 -4
  748. package/dist/components/navigation/Pagination/Pagination.js +9 -5
  749. package/dist/components/navigation/Pagination/Pagination.js.map +1 -1
  750. package/dist/components/navigation/Pagination/index.d.ts +3 -2
  751. package/dist/components/navigation/Pagination/types.d.ts +4 -6
  752. package/dist/components/navigation/Pagination/use-pagination.d.ts +11 -16
  753. package/dist/components/navigation/Pagination/use-pagination.js +2 -3
  754. package/dist/components/navigation/Pagination/use-pagination.js.map +1 -1
  755. package/dist/components/navigation/Tabs/BoardDragActiveProvider.d.ts +2 -5
  756. package/dist/components/navigation/Tabs/BoardDragActiveProvider.js +2 -3
  757. package/dist/components/navigation/Tabs/BoardDragActiveProvider.js.map +1 -1
  758. package/dist/components/navigation/Tabs/DraggableTabList.js +2 -3
  759. package/dist/components/navigation/Tabs/DraggableTabList.js.map +1 -1
  760. package/dist/components/navigation/Tabs/TabButton.js +4 -5
  761. package/dist/components/navigation/Tabs/TabButton.js.map +1 -1
  762. package/dist/components/navigation/Tabs/TabDropIndicator.js +2 -3
  763. package/dist/components/navigation/Tabs/TabDropIndicator.js.map +1 -1
  764. package/dist/components/navigation/Tabs/TabPanel.js +3 -4
  765. package/dist/components/navigation/Tabs/TabPanel.js.map +1 -1
  766. package/dist/components/navigation/Tabs/TabPicker.js +2 -3
  767. package/dist/components/navigation/Tabs/TabPicker.js.map +1 -1
  768. package/dist/components/navigation/Tabs/Tabs.d.ts +4 -7
  769. package/dist/components/navigation/Tabs/Tabs.js +5 -5
  770. package/dist/components/navigation/Tabs/Tabs.js.map +1 -1
  771. package/dist/components/navigation/Tabs/TabsAction.d.ts +2 -6
  772. package/dist/components/navigation/Tabs/TabsAction.js +3 -4
  773. package/dist/components/navigation/Tabs/TabsAction.js.map +1 -1
  774. package/dist/components/navigation/Tabs/TabsContext.js +2 -3
  775. package/dist/components/navigation/Tabs/TabsContext.js.map +1 -1
  776. package/dist/components/navigation/Tabs/index.d.ts +2 -1
  777. package/dist/components/navigation/Tabs/popover-placement.js +2 -2
  778. package/dist/components/navigation/Tabs/popover-placement.js.map +1 -1
  779. package/dist/components/navigation/Tabs/styled.js +3 -4
  780. package/dist/components/navigation/Tabs/styled.js.map +1 -1
  781. package/dist/components/navigation/Tabs/types.d.ts +15 -16
  782. package/dist/components/navigation/Tabs/types.js +2 -2
  783. package/dist/components/navigation/Tabs/types.js.map +1 -1
  784. package/dist/components/navigation/Tabs/use-tab-editing.js +2 -3
  785. package/dist/components/navigation/Tabs/use-tab-editing.js.map +1 -1
  786. package/dist/components/navigation/Tabs/use-tab-indicator.js +2 -3
  787. package/dist/components/navigation/Tabs/use-tab-indicator.js.map +1 -1
  788. package/dist/components/navigation/index.d.ts +3 -2
  789. package/dist/components/organisms/StatsCard/StatsCard.d.ts +2 -10
  790. package/dist/components/organisms/StatsCard/StatsCard.js +4 -5
  791. package/dist/components/organisms/StatsCard/StatsCard.js.map +1 -1
  792. package/dist/components/other/Calendar/Calendar.js +3 -4
  793. package/dist/components/other/Calendar/Calendar.js.map +1 -1
  794. package/dist/components/other/Calendar/CalendarCell.js +2 -3
  795. package/dist/components/other/Calendar/CalendarCell.js.map +1 -1
  796. package/dist/components/other/Calendar/CalendarGrid.js +2 -3
  797. package/dist/components/other/Calendar/CalendarGrid.js.map +1 -1
  798. package/dist/components/other/Calendar/CalendarHeader.js +3 -4
  799. package/dist/components/other/Calendar/CalendarHeader.js.map +1 -1
  800. package/dist/components/other/Calendar/CalendarPanel.js +2 -3
  801. package/dist/components/other/Calendar/CalendarPanel.js.map +1 -1
  802. package/dist/components/other/Calendar/PeriodCalendar.js +2 -3
  803. package/dist/components/other/Calendar/PeriodCalendar.js.map +1 -1
  804. package/dist/components/other/Calendar/PeriodGrid.js +2 -3
  805. package/dist/components/other/Calendar/PeriodGrid.js.map +1 -1
  806. package/dist/components/other/Calendar/RangeCalendar.js +3 -4
  807. package/dist/components/other/Calendar/RangeCalendar.js.map +1 -1
  808. package/dist/components/other/Calendar/styled.js +2 -3
  809. package/dist/components/other/Calendar/styled.js.map +1 -1
  810. package/dist/components/other/CubeLogo/CubeLogo.d.ts +3 -6
  811. package/dist/components/other/CubeLogo/CubeLogo.js +2 -3
  812. package/dist/components/other/CubeLogo/CubeLogo.js.map +1 -1
  813. package/dist/components/other/NoDataIcon/NoDataIcon.d.ts +2 -5
  814. package/dist/components/other/NoDataIcon/NoDataIcon.js +2 -3
  815. package/dist/components/other/NoDataIcon/NoDataIcon.js.map +1 -1
  816. package/dist/components/other/NoDataIcon/index.d.ts +2 -1
  817. package/dist/components/overlays/AlertDialog/AlertDialog.d.ts +4 -6
  818. package/dist/components/overlays/AlertDialog/AlertDialog.js +4 -5
  819. package/dist/components/overlays/AlertDialog/AlertDialog.js.map +1 -1
  820. package/dist/components/overlays/AlertDialog/AlertDialogApiProvider.d.ts +3 -6
  821. package/dist/components/overlays/AlertDialog/AlertDialogApiProvider.js +3 -5
  822. package/dist/components/overlays/AlertDialog/AlertDialogApiProvider.js.map +1 -1
  823. package/dist/components/overlays/AlertDialog/AlertDialogZone.d.ts +1 -2
  824. package/dist/components/overlays/AlertDialog/AlertDialogZone.js +3 -4
  825. package/dist/components/overlays/AlertDialog/AlertDialogZone.js.map +1 -1
  826. package/dist/components/overlays/AlertDialog/index.d.ts +3 -2
  827. package/dist/components/overlays/AlertDialog/types.d.ts +5 -10
  828. package/dist/components/overlays/Dialog/Dialog.d.ts +6 -6
  829. package/dist/components/overlays/Dialog/Dialog.js +95 -33
  830. package/dist/components/overlays/Dialog/Dialog.js.map +1 -1
  831. package/dist/components/overlays/Dialog/DialogContainer.d.ts +6 -7
  832. package/dist/components/overlays/Dialog/DialogContainer.js +42 -37
  833. package/dist/components/overlays/Dialog/DialogContainer.js.map +1 -1
  834. package/dist/components/overlays/Dialog/DialogForm.d.ts +5 -7
  835. package/dist/components/overlays/Dialog/DialogForm.js +5 -6
  836. package/dist/components/overlays/Dialog/DialogForm.js.map +1 -1
  837. package/dist/components/overlays/Dialog/DialogTrigger.d.ts +3 -6
  838. package/dist/components/overlays/Dialog/DialogTrigger.js +5 -6
  839. package/dist/components/overlays/Dialog/DialogTrigger.js.map +1 -1
  840. package/dist/components/overlays/Dialog/ModernDialogForm.js +5 -6
  841. package/dist/components/overlays/Dialog/ModernDialogForm.js.map +1 -1
  842. package/dist/components/overlays/Dialog/context.js +12 -4
  843. package/dist/components/overlays/Dialog/context.js.map +1 -1
  844. package/dist/components/overlays/Dialog/default-button-text.js +2 -2
  845. package/dist/components/overlays/Dialog/default-button-text.js.map +1 -1
  846. package/dist/components/overlays/Dialog/index.d.ts +2 -1
  847. package/dist/components/overlays/Dialog/use-content-overflow.js +2 -3
  848. package/dist/components/overlays/Dialog/use-content-overflow.js.map +1 -1
  849. package/dist/components/overlays/Dialog/use-dialog-container.d.ts +2 -5
  850. package/dist/components/overlays/Dialog/use-dialog-container.js +2 -3
  851. package/dist/components/overlays/Dialog/use-dialog-container.js.map +1 -1
  852. package/dist/components/overlays/Dialog/use-dialog-open-sync.js +2 -3
  853. package/dist/components/overlays/Dialog/use-dialog-open-sync.js.map +1 -1
  854. package/dist/components/overlays/Dialog/use-retained-dialog-focus.js +386 -0
  855. package/dist/components/overlays/Dialog/use-retained-dialog-focus.js.map +1 -0
  856. package/dist/components/overlays/Modal/Modal.d.ts +1 -2
  857. package/dist/components/overlays/Modal/Modal.js +5 -6
  858. package/dist/components/overlays/Modal/Modal.js.map +1 -1
  859. package/dist/components/overlays/Modal/OpenTransitionContext.js +2 -3
  860. package/dist/components/overlays/Modal/OpenTransitionContext.js.map +1 -1
  861. package/dist/components/overlays/Modal/Overlay.js +35 -14
  862. package/dist/components/overlays/Modal/Overlay.js.map +1 -1
  863. package/dist/components/overlays/Modal/Popover.d.ts +1 -1
  864. package/dist/components/overlays/Modal/Popover.js +4 -5
  865. package/dist/components/overlays/Modal/Popover.js.map +1 -1
  866. package/dist/components/overlays/Modal/Tray.js +72 -65
  867. package/dist/components/overlays/Modal/Tray.js.map +1 -1
  868. package/dist/components/overlays/Modal/Underlay.js +3 -4
  869. package/dist/components/overlays/Modal/Underlay.js.map +1 -1
  870. package/dist/components/overlays/Modal/index.d.ts +3 -2
  871. package/dist/components/overlays/Modal/modal-containment.js +2 -3
  872. package/dist/components/overlays/Modal/modal-containment.js.map +1 -1
  873. package/dist/components/overlays/Modal/types.d.ts +1 -3
  874. package/dist/components/overlays/Notifications/Notification.d.ts +1 -3
  875. package/dist/components/overlays/Notifications/Notification.js +4 -4
  876. package/dist/components/overlays/Notifications/Notification.js.map +1 -1
  877. package/dist/components/overlays/Notifications/NotificationAction.d.ts +1 -10
  878. package/dist/components/overlays/Notifications/NotificationAction.js +2 -3
  879. package/dist/components/overlays/Notifications/NotificationAction.js.map +1 -1
  880. package/dist/components/overlays/Notifications/NotificationCard.d.ts +2 -18
  881. package/dist/components/overlays/Notifications/NotificationCard.js +3 -4
  882. package/dist/components/overlays/Notifications/NotificationCard.js.map +1 -1
  883. package/dist/components/overlays/Notifications/NotificationContext.d.ts +1 -4
  884. package/dist/components/overlays/Notifications/NotificationContext.js +2 -3
  885. package/dist/components/overlays/Notifications/NotificationContext.js.map +1 -1
  886. package/dist/components/overlays/Notifications/NotificationItem.d.ts +2 -9
  887. package/dist/components/overlays/Notifications/NotificationItem.js +2 -3
  888. package/dist/components/overlays/Notifications/NotificationItem.js.map +1 -1
  889. package/dist/components/overlays/Notifications/OverlayContainer.js +6 -8
  890. package/dist/components/overlays/Notifications/OverlayContainer.js.map +1 -1
  891. package/dist/components/overlays/Notifications/OverlayProvider.d.ts +1 -7
  892. package/dist/components/overlays/Notifications/OverlayProvider.js +3 -4
  893. package/dist/components/overlays/Notifications/OverlayProvider.js.map +1 -1
  894. package/dist/components/overlays/Notifications/PersistentNotificationsList.d.ts +1 -8
  895. package/dist/components/overlays/Notifications/PersistentNotificationsList.js +3 -4
  896. package/dist/components/overlays/Notifications/PersistentNotificationsList.js.map +1 -1
  897. package/dist/components/overlays/Notifications/dismissed-storage.js +2 -2
  898. package/dist/components/overlays/Notifications/dismissed-storage.js.map +1 -1
  899. package/dist/components/overlays/Notifications/format-relative-time.d.ts +1 -3
  900. package/dist/components/overlays/Notifications/format-relative-time.js +2 -2
  901. package/dist/components/overlays/Notifications/format-relative-time.js.map +1 -1
  902. package/dist/components/overlays/Notifications/index.d.ts +3 -4
  903. package/dist/components/overlays/Notifications/index.js +4 -5
  904. package/dist/components/overlays/Notifications/index.js.map +1 -1
  905. package/dist/components/overlays/Notifications/types.d.ts +14 -16
  906. package/dist/components/overlays/Notifications/use-notification-state.js +3 -4
  907. package/dist/components/overlays/Notifications/use-notification-state.js.map +1 -1
  908. package/dist/components/overlays/Notifications/use-notifications.d.ts +1 -3
  909. package/dist/components/overlays/Notifications/use-notifications.js +8 -7
  910. package/dist/components/overlays/Notifications/use-notifications.js.map +1 -1
  911. package/dist/components/overlays/Notifications/use-overlay-timers.js +2 -3
  912. package/dist/components/overlays/Notifications/use-overlay-timers.js.map +1 -1
  913. package/dist/components/overlays/Notifications/use-persistent-notifications.d.ts +2 -4
  914. package/dist/components/overlays/Notifications/use-persistent-notifications.js +2 -3
  915. package/dist/components/overlays/Notifications/use-persistent-notifications.js.map +1 -1
  916. package/dist/components/overlays/Notifications/use-persistent-state.js +2 -3
  917. package/dist/components/overlays/Notifications/use-persistent-state.js.map +1 -1
  918. package/dist/components/overlays/Notifications/use-toast-state.js +2 -3
  919. package/dist/components/overlays/Notifications/use-toast-state.js.map +1 -1
  920. package/dist/components/overlays/Toast/ToastItem.d.ts +3 -6
  921. package/dist/components/overlays/Toast/ToastItem.js +3 -4
  922. package/dist/components/overlays/Toast/ToastItem.js.map +1 -1
  923. package/dist/components/overlays/Toast/ToastProvider.d.ts +2 -1
  924. package/dist/components/overlays/Toast/index.d.ts +6 -7
  925. package/dist/components/overlays/Toast/index.js +3 -4
  926. package/dist/components/overlays/Toast/index.js.map +1 -1
  927. package/dist/components/overlays/Toast/types.d.ts +8 -10
  928. package/dist/components/overlays/Toast/useProgressToast.d.ts +1 -3
  929. package/dist/components/overlays/Toast/useProgressToast.js +11 -10
  930. package/dist/components/overlays/Toast/useProgressToast.js.map +1 -1
  931. package/dist/components/overlays/Toast/useToast.d.ts +2 -4
  932. package/dist/components/overlays/Toast/useToast.js +2 -3
  933. package/dist/components/overlays/Toast/useToast.js.map +1 -1
  934. package/dist/components/overlays/Tooltip/Tooltip.d.ts +3 -5
  935. package/dist/components/overlays/Tooltip/Tooltip.js +3 -4
  936. package/dist/components/overlays/Tooltip/Tooltip.js.map +1 -1
  937. package/dist/components/overlays/Tooltip/TooltipProvider.d.ts +2 -4
  938. package/dist/components/overlays/Tooltip/TooltipProvider.js +3 -4
  939. package/dist/components/overlays/Tooltip/TooltipProvider.js.map +1 -1
  940. package/dist/components/overlays/Tooltip/TooltipTrigger.d.ts +3 -6
  941. package/dist/components/overlays/Tooltip/TooltipTrigger.js +4 -5
  942. package/dist/components/overlays/Tooltip/TooltipTrigger.js.map +1 -1
  943. package/dist/components/overlays/Tooltip/context.js +2 -3
  944. package/dist/components/overlays/Tooltip/context.js.map +1 -1
  945. package/dist/components/overlays/Tooltip/split-trigger-props.d.ts +2 -3
  946. package/dist/components/overlays/Tooltip/split-trigger-props.js +2 -3
  947. package/dist/components/overlays/Tooltip/split-trigger-props.js.map +1 -1
  948. package/dist/components/portal/Portal.d.ts +1 -4
  949. package/dist/components/portal/Portal.js +2 -3
  950. package/dist/components/portal/Portal.js.map +1 -1
  951. package/dist/components/portal/PortalProvider.js +2 -3
  952. package/dist/components/portal/PortalProvider.js.map +1 -1
  953. package/dist/components/portal/index.d.ts +2 -1
  954. package/dist/components/portal/types.d.ts +1 -3
  955. package/dist/components/portal/usePortal.js +2 -3
  956. package/dist/components/portal/usePortal.js.map +1 -1
  957. package/dist/components/shared/DraggableCollection.js +15 -15
  958. package/dist/components/shared/DraggableCollection.js.map +1 -1
  959. package/dist/components/shared/InvalidIcon.js +2 -3
  960. package/dist/components/shared/InvalidIcon.js.map +1 -1
  961. package/dist/components/shared/ValidIcon.js +2 -3
  962. package/dist/components/shared/ValidIcon.js.map +1 -1
  963. package/dist/components/status/LoadingAnimation/LoadingAnimation.d.ts +2 -8
  964. package/dist/components/status/LoadingAnimation/LoadingAnimation.js +2 -3
  965. package/dist/components/status/LoadingAnimation/LoadingAnimation.js.map +1 -1
  966. package/dist/components/status/LoadingAnimation/index.d.ts +2 -1
  967. package/dist/components/status/Spin/Cube.js +2 -3
  968. package/dist/components/status/Spin/Cube.js.map +1 -1
  969. package/dist/components/status/Spin/InternalSpinner.js +2 -3
  970. package/dist/components/status/Spin/InternalSpinner.js.map +1 -1
  971. package/dist/components/status/Spin/Spin.d.ts +1 -4
  972. package/dist/components/status/Spin/Spin.js +2 -3
  973. package/dist/components/status/Spin/Spin.js.map +1 -1
  974. package/dist/components/status/Spin/SpinsContainer.js +2 -3
  975. package/dist/components/status/Spin/SpinsContainer.js.map +1 -1
  976. package/dist/components/status/Spin/index.d.ts +2 -1
  977. package/dist/components/status/Spin/types.d.ts +2 -4
  978. package/dist/components/status/index.d.ts +2 -1
  979. package/dist/data/item-themes.d.ts +1 -3
  980. package/dist/data/item-themes.js +3 -3
  981. package/dist/data/item-themes.js.map +1 -1
  982. package/dist/data/themes.d.ts +9 -9
  983. package/dist/data/themes.js +10 -10
  984. package/dist/data/themes.js.map +1 -1
  985. package/dist/eslint-plugin/defaults.generated.d.ts +1 -3
  986. package/dist/eslint-plugin/defaults.generated.js +3 -8
  987. package/dist/eslint-plugin/defaults.generated.js.map +1 -1
  988. package/dist/eslint-plugin/index.d.ts +0 -1
  989. package/dist/eslint-plugin/index.js +2 -3
  990. package/dist/eslint-plugin/index.js.map +1 -1
  991. package/dist/eslint-plugin/rules/no-redundant-default-prop.d.ts +2 -4
  992. package/dist/eslint-plugin/rules/no-redundant-default-prop.js +2 -3
  993. package/dist/eslint-plugin/rules/no-redundant-default-prop.js.map +1 -1
  994. package/dist/eslint-plugin/types.d.ts +17 -10
  995. package/dist/i18n/I18nProvider.d.ts +2 -9
  996. package/dist/i18n/I18nProvider.js +2 -3
  997. package/dist/i18n/I18nProvider.js.map +1 -1
  998. package/dist/i18n/createFormatter.d.ts +6 -7
  999. package/dist/i18n/createFormatter.js +2 -2
  1000. package/dist/i18n/createFormatter.js.map +1 -1
  1001. package/dist/i18n/index.d.ts +2 -4
  1002. package/dist/i18n/index.js +3 -4
  1003. package/dist/i18n/index.js.map +1 -1
  1004. package/dist/i18n/instance.d.ts +5 -6
  1005. package/dist/i18n/instance.js +3 -4
  1006. package/dist/i18n/instance.js.map +1 -1
  1007. package/dist/i18n/locales/de-DE/uikit.js +2 -2
  1008. package/dist/i18n/locales/en-US/uikit.js +2 -2
  1009. package/dist/i18n/locales/en-US/uikit.json.d.ts +41 -41
  1010. package/dist/i18n/locales/es-ES/uikit.js +2 -2
  1011. package/dist/i18n/locales/es-MX/uikit.js +2 -2
  1012. package/dist/i18n/locales/fr-FR/uikit.js +2 -2
  1013. package/dist/i18n/locales/it-IT/uikit.js +2 -2
  1014. package/dist/i18n/locales/ja-JP/uikit.js +2 -2
  1015. package/dist/i18n/locales/nb-NO/uikit.js +2 -2
  1016. package/dist/i18n/locales/pt-BR/uikit.js +2 -2
  1017. package/dist/i18n/locales/pt-PT/uikit.js +2 -2
  1018. package/dist/i18n/locales/sv-SE/uikit.js +2 -2
  1019. package/dist/i18n/locales/vi-VN/uikit.js +2 -2
  1020. package/dist/i18n/locales.d.ts +4 -5
  1021. package/dist/i18n/locales.js +2 -2
  1022. package/dist/i18n/locales.js.map +1 -1
  1023. package/dist/i18n/namespace.d.ts +1 -2
  1024. package/dist/i18n/namespace.js +2 -2
  1025. package/dist/i18n/useFormatter.d.ts +1 -3
  1026. package/dist/i18n/useFormatter.js +2 -3
  1027. package/dist/i18n/useFormatter.js.map +1 -1
  1028. package/dist/i18n/useI18n.js +2 -3
  1029. package/dist/i18n/useI18n.js.map +1 -1
  1030. package/dist/icons/AdjustmentsHorizontalIcon.d.ts +2 -5
  1031. package/dist/icons/AdjustmentsHorizontalIcon.js +2 -3
  1032. package/dist/icons/AdjustmentsHorizontalIcon.js.map +1 -1
  1033. package/dist/icons/AdjustmentsIcon.d.ts +2 -5
  1034. package/dist/icons/AdjustmentsIcon.js +2 -3
  1035. package/dist/icons/AdjustmentsIcon.js.map +1 -1
  1036. package/dist/icons/AiIcon.d.ts +2 -5
  1037. package/dist/icons/AiIcon.js +2 -3
  1038. package/dist/icons/AiIcon.js.map +1 -1
  1039. package/dist/icons/AreaChartIcon.d.ts +2 -5
  1040. package/dist/icons/AreaChartIcon.js +2 -3
  1041. package/dist/icons/AreaChartIcon.js.map +1 -1
  1042. package/dist/icons/ArrowNarrowDownIcon.d.ts +2 -5
  1043. package/dist/icons/ArrowNarrowDownIcon.js +2 -3
  1044. package/dist/icons/ArrowNarrowDownIcon.js.map +1 -1
  1045. package/dist/icons/ArrowNarrowUpIcon.d.ts +2 -5
  1046. package/dist/icons/ArrowNarrowUpIcon.js +2 -3
  1047. package/dist/icons/ArrowNarrowUpIcon.js.map +1 -1
  1048. package/dist/icons/BackwardIcon.d.ts +2 -5
  1049. package/dist/icons/BackwardIcon.js +2 -3
  1050. package/dist/icons/BackwardIcon.js.map +1 -1
  1051. package/dist/icons/BarChartIcon.d.ts +2 -5
  1052. package/dist/icons/BarChartIcon.js +2 -3
  1053. package/dist/icons/BarChartIcon.js.map +1 -1
  1054. package/dist/icons/BellFilledIcon.d.ts +2 -5
  1055. package/dist/icons/BellFilledIcon.js +2 -3
  1056. package/dist/icons/BellFilledIcon.js.map +1 -1
  1057. package/dist/icons/BellIcon.d.ts +2 -5
  1058. package/dist/icons/BellIcon.js +2 -3
  1059. package/dist/icons/BellIcon.js.map +1 -1
  1060. package/dist/icons/BooleanIcon.d.ts +2 -5
  1061. package/dist/icons/BooleanIcon.js +2 -3
  1062. package/dist/icons/BooleanIcon.js.map +1 -1
  1063. package/dist/icons/CalendarEditIcon.d.ts +2 -5
  1064. package/dist/icons/CalendarEditIcon.js +2 -3
  1065. package/dist/icons/CalendarEditIcon.js.map +1 -1
  1066. package/dist/icons/CalendarIcon.d.ts +2 -5
  1067. package/dist/icons/CalendarIcon.js +2 -3
  1068. package/dist/icons/CalendarIcon.js.map +1 -1
  1069. package/dist/icons/CaretDownIcon.d.ts +2 -5
  1070. package/dist/icons/CaretDownIcon.js +2 -3
  1071. package/dist/icons/CaretDownIcon.js.map +1 -1
  1072. package/dist/icons/CaretUpIcon.d.ts +2 -5
  1073. package/dist/icons/CaretUpIcon.js +2 -3
  1074. package/dist/icons/CaretUpIcon.js.map +1 -1
  1075. package/dist/icons/ChartAreaStackedIcon.d.ts +2 -5
  1076. package/dist/icons/ChartAreaStackedIcon.js +2 -3
  1077. package/dist/icons/ChartAreaStackedIcon.js.map +1 -1
  1078. package/dist/icons/ChartAreaStackedPercentageIcon.d.ts +2 -5
  1079. package/dist/icons/ChartAreaStackedPercentageIcon.js +2 -3
  1080. package/dist/icons/ChartAreaStackedPercentageIcon.js.map +1 -1
  1081. package/dist/icons/ChartBarGroupedHorizontalIcon.d.ts +2 -5
  1082. package/dist/icons/ChartBarGroupedHorizontalIcon.js +2 -3
  1083. package/dist/icons/ChartBarGroupedHorizontalIcon.js.map +1 -1
  1084. package/dist/icons/ChartBarGroupedIcon.d.ts +2 -5
  1085. package/dist/icons/ChartBarGroupedIcon.js +2 -3
  1086. package/dist/icons/ChartBarGroupedIcon.js.map +1 -1
  1087. package/dist/icons/ChartBarHorizontalIcon.d.ts +2 -5
  1088. package/dist/icons/ChartBarHorizontalIcon.js +2 -3
  1089. package/dist/icons/ChartBarHorizontalIcon.js.map +1 -1
  1090. package/dist/icons/ChartBarLineIcon.d.ts +2 -5
  1091. package/dist/icons/ChartBarLineIcon.js +2 -3
  1092. package/dist/icons/ChartBarLineIcon.js.map +1 -1
  1093. package/dist/icons/ChartBarStackedHorizontalIcon.d.ts +2 -5
  1094. package/dist/icons/ChartBarStackedHorizontalIcon.js +2 -3
  1095. package/dist/icons/ChartBarStackedHorizontalIcon.js.map +1 -1
  1096. package/dist/icons/ChartBarStackedIcon.d.ts +2 -5
  1097. package/dist/icons/ChartBarStackedIcon.js +2 -3
  1098. package/dist/icons/ChartBarStackedIcon.js.map +1 -1
  1099. package/dist/icons/ChartBarStackedPercentageHorizontalIcon.d.ts +2 -5
  1100. package/dist/icons/ChartBarStackedPercentageHorizontalIcon.js +2 -3
  1101. package/dist/icons/ChartBarStackedPercentageHorizontalIcon.js.map +1 -1
  1102. package/dist/icons/ChartBarStackedPercentageIcon.d.ts +2 -5
  1103. package/dist/icons/ChartBarStackedPercentageIcon.js +2 -3
  1104. package/dist/icons/ChartBarStackedPercentageIcon.js.map +1 -1
  1105. package/dist/icons/ChartBoxPlot2Icon.d.ts +2 -5
  1106. package/dist/icons/ChartBoxPlot2Icon.js +2 -3
  1107. package/dist/icons/ChartBoxPlot2Icon.js.map +1 -1
  1108. package/dist/icons/ChartBoxPlotIcon.d.ts +2 -5
  1109. package/dist/icons/ChartBoxPlotIcon.js +2 -3
  1110. package/dist/icons/ChartBoxPlotIcon.js.map +1 -1
  1111. package/dist/icons/ChartBubbleIcon.d.ts +2 -5
  1112. package/dist/icons/ChartBubbleIcon.js +2 -3
  1113. package/dist/icons/ChartBubbleIcon.js.map +1 -1
  1114. package/dist/icons/ChartDonut2Icon.d.ts +2 -5
  1115. package/dist/icons/ChartDonut2Icon.js +2 -3
  1116. package/dist/icons/ChartDonut2Icon.js.map +1 -1
  1117. package/dist/icons/ChartFunnelIcon.d.ts +2 -5
  1118. package/dist/icons/ChartFunnelIcon.js +2 -3
  1119. package/dist/icons/ChartFunnelIcon.js.map +1 -1
  1120. package/dist/icons/ChartHeatmapIcon.d.ts +2 -5
  1121. package/dist/icons/ChartHeatmapIcon.js +2 -3
  1122. package/dist/icons/ChartHeatmapIcon.js.map +1 -1
  1123. package/dist/icons/ChartKPIIcon.d.ts +2 -5
  1124. package/dist/icons/ChartKPIIcon.js +2 -3
  1125. package/dist/icons/ChartKPIIcon.js.map +1 -1
  1126. package/dist/icons/ChartPie2Icon.d.ts +2 -5
  1127. package/dist/icons/ChartPie2Icon.js +2 -3
  1128. package/dist/icons/ChartPie2Icon.js.map +1 -1
  1129. package/dist/icons/ChartScatterIcon.d.ts +2 -5
  1130. package/dist/icons/ChartScatterIcon.js +2 -3
  1131. package/dist/icons/ChartScatterIcon.js.map +1 -1
  1132. package/dist/icons/CheckCircleFilledIcon.d.ts +2 -5
  1133. package/dist/icons/CheckCircleFilledIcon.js +2 -3
  1134. package/dist/icons/CheckCircleFilledIcon.js.map +1 -1
  1135. package/dist/icons/CheckCircleIcon.d.ts +2 -5
  1136. package/dist/icons/CheckCircleIcon.js +2 -3
  1137. package/dist/icons/CheckCircleIcon.js.map +1 -1
  1138. package/dist/icons/CheckIcon.d.ts +2 -5
  1139. package/dist/icons/CheckIcon.js +2 -3
  1140. package/dist/icons/CheckIcon.js.map +1 -1
  1141. package/dist/icons/CircleFilledIcon.d.ts +2 -5
  1142. package/dist/icons/CircleFilledIcon.js +2 -3
  1143. package/dist/icons/CircleFilledIcon.js.map +1 -1
  1144. package/dist/icons/ClearIcon.d.ts +2 -5
  1145. package/dist/icons/ClearIcon.js +2 -3
  1146. package/dist/icons/ClearIcon.js.map +1 -1
  1147. package/dist/icons/CloseCircleFilledIcon.d.ts +2 -5
  1148. package/dist/icons/CloseCircleFilledIcon.js +2 -3
  1149. package/dist/icons/CloseCircleFilledIcon.js.map +1 -1
  1150. package/dist/icons/CloseCircleIcon.d.ts +2 -5
  1151. package/dist/icons/CloseCircleIcon.js +2 -3
  1152. package/dist/icons/CloseCircleIcon.js.map +1 -1
  1153. package/dist/icons/CloseIcon.d.ts +2 -5
  1154. package/dist/icons/CloseIcon.js +2 -3
  1155. package/dist/icons/CloseIcon.js.map +1 -1
  1156. package/dist/icons/CodeIcon.d.ts +2 -5
  1157. package/dist/icons/CodeIcon.js +2 -3
  1158. package/dist/icons/CodeIcon.js.map +1 -1
  1159. package/dist/icons/ColumnTotalIcon.d.ts +2 -5
  1160. package/dist/icons/ColumnTotalIcon.js +2 -3
  1161. package/dist/icons/ColumnTotalIcon.js.map +1 -1
  1162. package/dist/icons/CopyIcon.d.ts +2 -5
  1163. package/dist/icons/CopyIcon.js +2 -3
  1164. package/dist/icons/CopyIcon.js.map +1 -1
  1165. package/dist/icons/CountIcon.d.ts +2 -5
  1166. package/dist/icons/CountIcon.js +2 -3
  1167. package/dist/icons/CountIcon.js.map +1 -1
  1168. package/dist/icons/CubeIcon.d.ts +2 -5
  1169. package/dist/icons/CubeIcon.js +2 -3
  1170. package/dist/icons/CubeIcon.js.map +1 -1
  1171. package/dist/icons/CubePauseIcon.d.ts +2 -5
  1172. package/dist/icons/CubePauseIcon.js +2 -3
  1173. package/dist/icons/CubePauseIcon.js.map +1 -1
  1174. package/dist/icons/CubePlayIcon.d.ts +2 -5
  1175. package/dist/icons/CubePlayIcon.js +2 -3
  1176. package/dist/icons/CubePlayIcon.js.map +1 -1
  1177. package/dist/icons/CurrencyDollarIcon.d.ts +2 -5
  1178. package/dist/icons/CurrencyDollarIcon.js +2 -3
  1179. package/dist/icons/CurrencyDollarIcon.js.map +1 -1
  1180. package/dist/icons/DangerIcon.d.ts +2 -5
  1181. package/dist/icons/DangerIcon.js +2 -3
  1182. package/dist/icons/DangerIcon.js.map +1 -1
  1183. package/dist/icons/DashboardIcon.d.ts +2 -5
  1184. package/dist/icons/DashboardIcon.js +2 -3
  1185. package/dist/icons/DashboardIcon.js.map +1 -1
  1186. package/dist/icons/DatabaseIcon.d.ts +2 -5
  1187. package/dist/icons/DatabaseIcon.js +2 -3
  1188. package/dist/icons/DatabaseIcon.js.map +1 -1
  1189. package/dist/icons/DecimalDecreaseIcon.d.ts +2 -5
  1190. package/dist/icons/DecimalDecreaseIcon.js +2 -3
  1191. package/dist/icons/DecimalDecreaseIcon.js.map +1 -1
  1192. package/dist/icons/DecimalIncreaseIcon.d.ts +2 -5
  1193. package/dist/icons/DecimalIncreaseIcon.js +2 -3
  1194. package/dist/icons/DecimalIncreaseIcon.js.map +1 -1
  1195. package/dist/icons/DirectionIcon.d.ts +3 -5
  1196. package/dist/icons/DirectionIcon.js +2 -3
  1197. package/dist/icons/DirectionIcon.js.map +1 -1
  1198. package/dist/icons/DonutIcon.d.ts +2 -5
  1199. package/dist/icons/DonutIcon.js +2 -3
  1200. package/dist/icons/DonutIcon.js.map +1 -1
  1201. package/dist/icons/DownIcon.d.ts +2 -5
  1202. package/dist/icons/DownIcon.js +2 -3
  1203. package/dist/icons/DownIcon.js.map +1 -1
  1204. package/dist/icons/EditIcon.d.ts +2 -5
  1205. package/dist/icons/EditIcon.js +2 -3
  1206. package/dist/icons/EditIcon.js.map +1 -1
  1207. package/dist/icons/ExclamationCircleFilledIcon.d.ts +2 -5
  1208. package/dist/icons/ExclamationCircleFilledIcon.js +2 -3
  1209. package/dist/icons/ExclamationCircleFilledIcon.js.map +1 -1
  1210. package/dist/icons/ExclamationCircleIcon.d.ts +2 -5
  1211. package/dist/icons/ExclamationCircleIcon.js +2 -3
  1212. package/dist/icons/ExclamationCircleIcon.js.map +1 -1
  1213. package/dist/icons/ExclamationIcon.d.ts +2 -5
  1214. package/dist/icons/ExclamationIcon.js +2 -3
  1215. package/dist/icons/ExclamationIcon.js.map +1 -1
  1216. package/dist/icons/EyeIcon.d.ts +2 -5
  1217. package/dist/icons/EyeIcon.js +2 -3
  1218. package/dist/icons/EyeIcon.js.map +1 -1
  1219. package/dist/icons/EyeInvisibleIcon.d.ts +2 -5
  1220. package/dist/icons/EyeInvisibleIcon.js +2 -3
  1221. package/dist/icons/EyeInvisibleIcon.js.map +1 -1
  1222. package/dist/icons/FilterIcon.d.ts +2 -5
  1223. package/dist/icons/FilterIcon.js +2 -3
  1224. package/dist/icons/FilterIcon.js.map +1 -1
  1225. package/dist/icons/FolderFilledIcon.d.ts +2 -5
  1226. package/dist/icons/FolderFilledIcon.js +2 -3
  1227. package/dist/icons/FolderFilledIcon.js.map +1 -1
  1228. package/dist/icons/FolderIcon.d.ts +2 -5
  1229. package/dist/icons/FolderIcon.js +2 -3
  1230. package/dist/icons/FolderIcon.js.map +1 -1
  1231. package/dist/icons/FolderOpenFilledIcon.d.ts +2 -5
  1232. package/dist/icons/FolderOpenFilledIcon.js +2 -3
  1233. package/dist/icons/FolderOpenFilledIcon.js.map +1 -1
  1234. package/dist/icons/FolderOpenIcon.d.ts +2 -5
  1235. package/dist/icons/FolderOpenIcon.js +2 -3
  1236. package/dist/icons/FolderOpenIcon.js.map +1 -1
  1237. package/dist/icons/ForwardIcon.d.ts +2 -5
  1238. package/dist/icons/ForwardIcon.js +2 -3
  1239. package/dist/icons/ForwardIcon.js.map +1 -1
  1240. package/dist/icons/GripVerticalIcon.d.ts +2 -5
  1241. package/dist/icons/GripVerticalIcon.js +2 -3
  1242. package/dist/icons/GripVerticalIcon.js.map +1 -1
  1243. package/dist/icons/HierarchyIcon.d.ts +2 -5
  1244. package/dist/icons/HierarchyIcon.js +2 -3
  1245. package/dist/icons/HierarchyIcon.js.map +1 -1
  1246. package/dist/icons/HierarchyOpenIcon.d.ts +2 -5
  1247. package/dist/icons/HierarchyOpenIcon.js +2 -3
  1248. package/dist/icons/HierarchyOpenIcon.js.map +1 -1
  1249. package/dist/icons/Icon.d.ts +2 -5
  1250. package/dist/icons/Icon.js +2 -3
  1251. package/dist/icons/Icon.js.map +1 -1
  1252. package/dist/icons/InfoCircleIcon.d.ts +2 -5
  1253. package/dist/icons/InfoCircleIcon.js +2 -3
  1254. package/dist/icons/InfoCircleIcon.js.map +1 -1
  1255. package/dist/icons/InfoIcon.d.ts +2 -5
  1256. package/dist/icons/InfoIcon.js +2 -3
  1257. package/dist/icons/InfoIcon.js.map +1 -1
  1258. package/dist/icons/KeyIcon.d.ts +2 -5
  1259. package/dist/icons/KeyIcon.js +2 -3
  1260. package/dist/icons/KeyIcon.js.map +1 -1
  1261. package/dist/icons/LeftIcon.d.ts +2 -5
  1262. package/dist/icons/LeftIcon.js +2 -3
  1263. package/dist/icons/LeftIcon.js.map +1 -1
  1264. package/dist/icons/LineChartIcon.d.ts +2 -5
  1265. package/dist/icons/LineChartIcon.js +2 -3
  1266. package/dist/icons/LineChartIcon.js.map +1 -1
  1267. package/dist/icons/LoadingIcon.d.ts +2 -5
  1268. package/dist/icons/LoadingIcon.js +2 -3
  1269. package/dist/icons/LoadingIcon.js.map +1 -1
  1270. package/dist/icons/LockFilledIcon.d.ts +2 -5
  1271. package/dist/icons/LockFilledIcon.js +2 -3
  1272. package/dist/icons/LockFilledIcon.js.map +1 -1
  1273. package/dist/icons/LockIcon.d.ts +2 -5
  1274. package/dist/icons/LockIcon.js +2 -3
  1275. package/dist/icons/LockIcon.js.map +1 -1
  1276. package/dist/icons/MoreIcon.d.ts +2 -5
  1277. package/dist/icons/MoreIcon.js +2 -3
  1278. package/dist/icons/MoreIcon.js.map +1 -1
  1279. package/dist/icons/NotAllowedIcon.d.ts +2 -5
  1280. package/dist/icons/NotAllowedIcon.js +2 -3
  1281. package/dist/icons/NotAllowedIcon.js.map +1 -1
  1282. package/dist/icons/Number123Icon.d.ts +2 -5
  1283. package/dist/icons/Number123Icon.js +2 -3
  1284. package/dist/icons/Number123Icon.js.map +1 -1
  1285. package/dist/icons/NumberIcon.d.ts +2 -5
  1286. package/dist/icons/NumberIcon.js +2 -3
  1287. package/dist/icons/NumberIcon.js.map +1 -1
  1288. package/dist/icons/PauseCircleFilledIcon.d.ts +2 -5
  1289. package/dist/icons/PauseCircleFilledIcon.js +2 -3
  1290. package/dist/icons/PauseCircleFilledIcon.js.map +1 -1
  1291. package/dist/icons/PauseCircleIcon.d.ts +2 -5
  1292. package/dist/icons/PauseCircleIcon.js +2 -3
  1293. package/dist/icons/PauseCircleIcon.js.map +1 -1
  1294. package/dist/icons/PauseIcon.d.ts +2 -5
  1295. package/dist/icons/PauseIcon.js +2 -3
  1296. package/dist/icons/PauseIcon.js.map +1 -1
  1297. package/dist/icons/PercentageIcon.d.ts +2 -5
  1298. package/dist/icons/PercentageIcon.js +2 -3
  1299. package/dist/icons/PercentageIcon.js.map +1 -1
  1300. package/dist/icons/PieChartIcon.d.ts +2 -5
  1301. package/dist/icons/PieChartIcon.js +2 -3
  1302. package/dist/icons/PieChartIcon.js.map +1 -1
  1303. package/dist/icons/PipetteIcon.d.ts +2 -5
  1304. package/dist/icons/PipetteIcon.js +2 -3
  1305. package/dist/icons/PipetteIcon.js.map +1 -1
  1306. package/dist/icons/PlayCircleIcon.d.ts +2 -5
  1307. package/dist/icons/PlayCircleIcon.js +2 -3
  1308. package/dist/icons/PlayCircleIcon.js.map +1 -1
  1309. package/dist/icons/PlayIcon.d.ts +2 -5
  1310. package/dist/icons/PlayIcon.js +2 -3
  1311. package/dist/icons/PlayIcon.js.map +1 -1
  1312. package/dist/icons/PlusIcon.d.ts +2 -5
  1313. package/dist/icons/PlusIcon.js +2 -3
  1314. package/dist/icons/PlusIcon.js.map +1 -1
  1315. package/dist/icons/ProgressBarIcon.d.ts +2 -5
  1316. package/dist/icons/ProgressBarIcon.js +2 -3
  1317. package/dist/icons/ProgressBarIcon.js.map +1 -1
  1318. package/dist/icons/ReloadIcon.d.ts +2 -5
  1319. package/dist/icons/ReloadIcon.js +2 -3
  1320. package/dist/icons/ReloadIcon.js.map +1 -1
  1321. package/dist/icons/ReportIcon.d.ts +2 -5
  1322. package/dist/icons/ReportIcon.js +2 -3
  1323. package/dist/icons/ReportIcon.js.map +1 -1
  1324. package/dist/icons/ReturnIcon.d.ts +2 -5
  1325. package/dist/icons/ReturnIcon.js +2 -3
  1326. package/dist/icons/ReturnIcon.js.map +1 -1
  1327. package/dist/icons/RightIcon.d.ts +2 -5
  1328. package/dist/icons/RightIcon.js +2 -3
  1329. package/dist/icons/RightIcon.js.map +1 -1
  1330. package/dist/icons/RowTotalsIcon.d.ts +2 -5
  1331. package/dist/icons/RowTotalsIcon.js +2 -3
  1332. package/dist/icons/RowTotalsIcon.js.map +1 -1
  1333. package/dist/icons/SchemeIcon.d.ts +2 -5
  1334. package/dist/icons/SchemeIcon.js +2 -3
  1335. package/dist/icons/SchemeIcon.js.map +1 -1
  1336. package/dist/icons/SearchIcon.d.ts +2 -5
  1337. package/dist/icons/SearchIcon.js +2 -3
  1338. package/dist/icons/SearchIcon.js.map +1 -1
  1339. package/dist/icons/SemanticQueryIcon.d.ts +2 -5
  1340. package/dist/icons/SemanticQueryIcon.js +2 -3
  1341. package/dist/icons/SemanticQueryIcon.js.map +1 -1
  1342. package/dist/icons/SettingsIcon.d.ts +2 -5
  1343. package/dist/icons/SettingsIcon.js +2 -3
  1344. package/dist/icons/SettingsIcon.js.map +1 -1
  1345. package/dist/icons/ShieldFilledIcon.d.ts +2 -5
  1346. package/dist/icons/ShieldFilledIcon.js +2 -3
  1347. package/dist/icons/ShieldFilledIcon.js.map +1 -1
  1348. package/dist/icons/ShieldIcon.d.ts +2 -5
  1349. package/dist/icons/ShieldIcon.js +2 -3
  1350. package/dist/icons/ShieldIcon.js.map +1 -1
  1351. package/dist/icons/SlashIcon.d.ts +2 -5
  1352. package/dist/icons/SlashIcon.js +2 -3
  1353. package/dist/icons/SlashIcon.js.map +1 -1
  1354. package/dist/icons/SparklesIcon.d.ts +2 -5
  1355. package/dist/icons/SparklesIcon.js +2 -3
  1356. package/dist/icons/SparklesIcon.js.map +1 -1
  1357. package/dist/icons/SqlIcon.d.ts +2 -5
  1358. package/dist/icons/SqlIcon.js +2 -3
  1359. package/dist/icons/SqlIcon.js.map +1 -1
  1360. package/dist/icons/StatsIcon.d.ts +2 -5
  1361. package/dist/icons/StatsIcon.js +2 -3
  1362. package/dist/icons/StatsIcon.js.map +1 -1
  1363. package/dist/icons/StopIcon.d.ts +2 -5
  1364. package/dist/icons/StopIcon.js +2 -3
  1365. package/dist/icons/StopIcon.js.map +1 -1
  1366. package/dist/icons/StringIcon.d.ts +2 -5
  1367. package/dist/icons/StringIcon.js +2 -3
  1368. package/dist/icons/StringIcon.js.map +1 -1
  1369. package/dist/icons/SubtotalsIcon.d.ts +2 -5
  1370. package/dist/icons/SubtotalsIcon.js +2 -3
  1371. package/dist/icons/SubtotalsIcon.js.map +1 -1
  1372. package/dist/icons/SwitchIcon.d.ts +2 -5
  1373. package/dist/icons/SwitchIcon.js +2 -3
  1374. package/dist/icons/SwitchIcon.js.map +1 -1
  1375. package/dist/icons/TableIcon.d.ts +2 -5
  1376. package/dist/icons/TableIcon.js +2 -3
  1377. package/dist/icons/TableIcon.js.map +1 -1
  1378. package/dist/icons/ThumbsDownIcon.d.ts +2 -5
  1379. package/dist/icons/ThumbsDownIcon.js +2 -3
  1380. package/dist/icons/ThumbsDownIcon.js.map +1 -1
  1381. package/dist/icons/ThumbsUpIcon.d.ts +2 -5
  1382. package/dist/icons/ThumbsUpIcon.js +2 -3
  1383. package/dist/icons/ThumbsUpIcon.js.map +1 -1
  1384. package/dist/icons/ThunderboltCrossedIcon.d.ts +2 -5
  1385. package/dist/icons/ThunderboltCrossedIcon.js +2 -3
  1386. package/dist/icons/ThunderboltCrossedIcon.js.map +1 -1
  1387. package/dist/icons/ThunderboltFilledIcon.d.ts +2 -5
  1388. package/dist/icons/ThunderboltFilledIcon.js +2 -3
  1389. package/dist/icons/ThunderboltFilledIcon.js.map +1 -1
  1390. package/dist/icons/ThunderboltIcon.d.ts +2 -5
  1391. package/dist/icons/ThunderboltIcon.js +2 -3
  1392. package/dist/icons/ThunderboltIcon.js.map +1 -1
  1393. package/dist/icons/TimeIcon.d.ts +2 -5
  1394. package/dist/icons/TimeIcon.js +2 -3
  1395. package/dist/icons/TimeIcon.js.map +1 -1
  1396. package/dist/icons/TrashIcon.d.ts +2 -5
  1397. package/dist/icons/TrashIcon.js +2 -3
  1398. package/dist/icons/TrashIcon.js.map +1 -1
  1399. package/dist/icons/UnlockIcon.d.ts +2 -5
  1400. package/dist/icons/UnlockIcon.js +2 -3
  1401. package/dist/icons/UnlockIcon.js.map +1 -1
  1402. package/dist/icons/UpIcon.d.ts +2 -5
  1403. package/dist/icons/UpIcon.js +2 -3
  1404. package/dist/icons/UpIcon.js.map +1 -1
  1405. package/dist/icons/UserGroupIcon.d.ts +2 -5
  1406. package/dist/icons/UserGroupIcon.js +2 -3
  1407. package/dist/icons/UserGroupIcon.js.map +1 -1
  1408. package/dist/icons/UserIcon.d.ts +2 -5
  1409. package/dist/icons/UserIcon.js +2 -3
  1410. package/dist/icons/UserIcon.js.map +1 -1
  1411. package/dist/icons/UserLockIcon.d.ts +2 -5
  1412. package/dist/icons/UserLockIcon.js +2 -3
  1413. package/dist/icons/UserLockIcon.js.map +1 -1
  1414. package/dist/icons/ViewIcon.d.ts +2 -5
  1415. package/dist/icons/ViewIcon.js +2 -3
  1416. package/dist/icons/ViewIcon.js.map +1 -1
  1417. package/dist/icons/WarningFilledIcon.d.ts +2 -5
  1418. package/dist/icons/WarningFilledIcon.js +2 -3
  1419. package/dist/icons/WarningFilledIcon.js.map +1 -1
  1420. package/dist/icons/WarningIcon.d.ts +2 -5
  1421. package/dist/icons/WarningIcon.js +2 -3
  1422. package/dist/icons/WarningIcon.js.map +1 -1
  1423. package/dist/icons/index.d.ts +2 -1
  1424. package/dist/icons/wrap-icon.d.ts +2 -5
  1425. package/dist/icons/wrap-icon.js +2 -3
  1426. package/dist/icons/wrap-icon.js.map +1 -1
  1427. package/dist/index.d.ts +59 -61
  1428. package/dist/index.js +59 -64
  1429. package/dist/index.js.map +1 -1
  1430. package/dist/node_modules/.pnpm/csstype@3.1.2/node_modules/csstype/index.d.ts +3 -4
  1431. package/dist/probe/canonicalize.d.ts +3 -4
  1432. package/dist/probe/canonicalize.js +2 -2
  1433. package/dist/probe/canonicalize.js.map +1 -1
  1434. package/dist/probe/css.d.ts +4 -5
  1435. package/dist/probe/css.js +2 -3
  1436. package/dist/probe/css.js.map +1 -1
  1437. package/dist/probe/index.js +2 -3
  1438. package/dist/props.d.ts +1 -2
  1439. package/dist/provider.d.ts +3 -6
  1440. package/dist/provider.js +2 -3
  1441. package/dist/provider.js.map +1 -1
  1442. package/dist/providers/TrackingProvider.d.ts +1 -3
  1443. package/dist/providers/TrackingProvider.js +3 -4
  1444. package/dist/providers/TrackingProvider.js.map +1 -1
  1445. package/dist/providers/navigation-url.js +2 -2
  1446. package/dist/providers/navigation-url.js.map +1 -1
  1447. package/dist/providers/navigation.types.d.ts +7 -8
  1448. package/dist/providers/navigationAdapter.default.d.ts +1 -3
  1449. package/dist/providers/navigationAdapter.default.js +6 -4
  1450. package/dist/providers/navigationAdapter.default.js.map +1 -1
  1451. package/dist/providers/use-navigation.js +2 -3
  1452. package/dist/providers/use-navigation.js.map +1 -1
  1453. package/dist/shared/form.d.ts +33 -23
  1454. package/dist/shared/index.d.ts +4 -5
  1455. package/dist/tokens/all-tokens.d.ts +2 -4
  1456. package/dist/tokens/all-tokens.js +2 -3
  1457. package/dist/tokens/all-tokens.js.map +1 -1
  1458. package/dist/tokens/base.d.ts +1 -3
  1459. package/dist/tokens/base.js +38 -2
  1460. package/dist/tokens/base.js.map +1 -1
  1461. package/dist/tokens/color-seed.d.ts +2 -3
  1462. package/dist/tokens/color-seed.js +2 -3
  1463. package/dist/tokens/color-seed.js.map +1 -1
  1464. package/dist/tokens/color-theme.d.ts +5 -7
  1465. package/dist/tokens/color-theme.js +5 -6
  1466. package/dist/tokens/color-theme.js.map +1 -1
  1467. package/dist/tokens/colors.d.ts +3 -5
  1468. package/dist/tokens/colors.js +2 -3
  1469. package/dist/tokens/colors.js.map +1 -1
  1470. package/dist/tokens/index.d.ts +2 -1
  1471. package/dist/tokens/layout.d.ts +1 -3
  1472. package/dist/tokens/layout.js +7 -2
  1473. package/dist/tokens/layout.js.map +1 -1
  1474. package/dist/tokens/lazy-styles.js +2 -2
  1475. package/dist/tokens/lazy-styles.js.map +1 -1
  1476. package/dist/tokens/legacy-color.d.ts +3 -4
  1477. package/dist/tokens/legacy-color.js +2 -3
  1478. package/dist/tokens/legacy-color.js.map +1 -1
  1479. package/dist/tokens/palette-config.d.ts +19 -20
  1480. package/dist/tokens/palette-config.js +9 -24
  1481. package/dist/tokens/palette-config.js.map +1 -1
  1482. package/dist/tokens/palette.d.ts +6 -8
  1483. package/dist/tokens/palette.js +73 -89
  1484. package/dist/tokens/palette.js.map +1 -1
  1485. package/dist/tokens/resolve.d.ts +8 -9
  1486. package/dist/tokens/resolve.js +5 -6
  1487. package/dist/tokens/resolve.js.map +1 -1
  1488. package/dist/tokens/shadows.d.ts +1 -3
  1489. package/dist/tokens/shadows.js +6 -2
  1490. package/dist/tokens/shadows.js.map +1 -1
  1491. package/dist/tokens/sizes.d.ts +5 -7
  1492. package/dist/tokens/sizes.js +2 -2
  1493. package/dist/tokens/sizes.js.map +1 -1
  1494. package/dist/tokens/spacing.d.ts +1 -3
  1495. package/dist/tokens/spacing.js +2 -2
  1496. package/dist/tokens/spacing.js.map +1 -1
  1497. package/dist/tokens/typography.d.ts +2 -3
  1498. package/dist/tokens/typography.js +2 -2
  1499. package/dist/tokens/typography.js.map +1 -1
  1500. package/dist/utils/ResizeSensor.d.ts +1 -2
  1501. package/dist/utils/ResizeSensor.js +11 -9
  1502. package/dist/utils/ResizeSensor.js.map +1 -1
  1503. package/dist/utils/colors.js +3 -4
  1504. package/dist/utils/colors.js.map +1 -1
  1505. package/dist/utils/dotize.js +2 -2
  1506. package/dist/utils/dotize.js.map +1 -1
  1507. package/dist/utils/index.d.ts +2 -1
  1508. package/dist/utils/is-dev-env.js +2 -2
  1509. package/dist/utils/is-dev-env.js.map +1 -1
  1510. package/dist/utils/modules.d.ts +1 -2
  1511. package/dist/utils/modules.js +2 -2
  1512. package/dist/utils/modules.js.map +1 -1
  1513. package/dist/utils/promise.d.ts +1 -2
  1514. package/dist/utils/promise.js +2 -2
  1515. package/dist/utils/promise.js.map +1 -1
  1516. package/dist/utils/raf.d.ts +1 -2
  1517. package/dist/utils/raf.js +2 -2
  1518. package/dist/utils/raf.js.map +1 -1
  1519. package/dist/utils/random.d.ts +2 -3
  1520. package/dist/utils/random.js +3 -4
  1521. package/dist/utils/random.js.map +1 -1
  1522. package/dist/utils/range.d.ts +1 -2
  1523. package/dist/utils/range.js +2 -2
  1524. package/dist/utils/range.js.map +1 -1
  1525. package/dist/utils/react/RenderCache.d.ts +2 -9
  1526. package/dist/utils/react/RenderCache.js +2 -3
  1527. package/dist/utils/react/RenderCache.js.map +1 -1
  1528. package/dist/utils/react/Slots.d.ts +3 -6
  1529. package/dist/utils/react/Slots.js +2 -3
  1530. package/dist/utils/react/Slots.js.map +1 -1
  1531. package/dist/utils/react/chain.d.ts +1 -2
  1532. package/dist/utils/react/chain.js +2 -2
  1533. package/dist/utils/react/chain.js.map +1 -1
  1534. package/dist/utils/react/disabledProps.d.ts +4 -10
  1535. package/dist/utils/react/disabledProps.js +3 -3
  1536. package/dist/utils/react/disabledProps.js.map +1 -1
  1537. package/dist/utils/react/forwardRefWithGenerics.d.ts +2 -5
  1538. package/dist/utils/react/forwardRefWithGenerics.js +2 -2
  1539. package/dist/utils/react/forwardRefWithGenerics.js.map +1 -1
  1540. package/dist/utils/react/index.d.ts +1 -1
  1541. package/dist/utils/react/index.js +2 -3
  1542. package/dist/utils/react/interactions.js +2 -3
  1543. package/dist/utils/react/interactions.js.map +1 -1
  1544. package/dist/utils/react/isTextOnly.d.ts +1 -2
  1545. package/dist/utils/react/isTextOnly.js +2 -3
  1546. package/dist/utils/react/isTextOnly.js.map +1 -1
  1547. package/dist/utils/react/mapProps.js +2 -2
  1548. package/dist/utils/react/mapProps.js.map +1 -1
  1549. package/dist/utils/react/mergeProps.d.ts +2 -3
  1550. package/dist/utils/react/mergeProps.js +2 -3
  1551. package/dist/utils/react/mergeProps.js.map +1 -1
  1552. package/dist/utils/react/nullableValue.d.ts +1 -3
  1553. package/dist/utils/react/nullableValue.js +3 -3
  1554. package/dist/utils/react/nullableValue.js.map +1 -1
  1555. package/dist/utils/react/overlayKeyPropagation.js +3 -3
  1556. package/dist/utils/react/overlayKeyPropagation.js.map +1 -1
  1557. package/dist/utils/react/programmaticFocus.js +2 -2
  1558. package/dist/utils/react/programmaticFocus.js.map +1 -1
  1559. package/dist/utils/react/resolveIcon.d.ts +4 -6
  1560. package/dist/utils/react/resolveIcon.js +2 -2
  1561. package/dist/utils/react/resolveIcon.js.map +1 -1
  1562. package/dist/utils/react/sharedStore.js +2 -3
  1563. package/dist/utils/react/sharedStore.js.map +1 -1
  1564. package/dist/utils/react/useBufferedValue.d.ts +3 -4
  1565. package/dist/utils/react/useBufferedValue.js +2 -3
  1566. package/dist/utils/react/useBufferedValue.js.map +1 -1
  1567. package/dist/utils/react/useCombinedRefs.d.ts +2 -4
  1568. package/dist/utils/react/useCombinedRefs.js +2 -3
  1569. package/dist/utils/react/useCombinedRefs.js.map +1 -1
  1570. package/dist/utils/react/useControlledFocusVisible.d.ts +2 -3
  1571. package/dist/utils/react/useControlledFocusVisible.js +2 -3
  1572. package/dist/utils/react/useControlledFocusVisible.js.map +1 -1
  1573. package/dist/utils/react/useEventBus.d.ts +6 -10
  1574. package/dist/utils/react/useEventBus.js +2 -3
  1575. package/dist/utils/react/useEventBus.js.map +1 -1
  1576. package/dist/utils/react/useId.js +3 -4
  1577. package/dist/utils/react/useId.js.map +1 -1
  1578. package/dist/utils/react/useIsDarwin.js +2 -3
  1579. package/dist/utils/react/useIsDarwin.js.map +1 -1
  1580. package/dist/utils/react/useKeySymbols.js +2 -3
  1581. package/dist/utils/react/useKeySymbols.js.map +1 -1
  1582. package/dist/utils/react/useLayoutEffect.d.ts +0 -1
  1583. package/dist/utils/react/useLayoutEffect.js +2 -3
  1584. package/dist/utils/react/useLayoutEffect.js.map +1 -1
  1585. package/dist/utils/react/useLocalStorage.d.ts +2 -2
  1586. package/dist/utils/react/useLocalStorage.js +2 -3
  1587. package/dist/utils/react/useLocalStorage.js.map +1 -1
  1588. package/dist/utils/react/useMergeStyles.d.ts +1 -3
  1589. package/dist/utils/react/useMergeStyles.js +4 -4
  1590. package/dist/utils/react/useMergeStyles.js.map +1 -1
  1591. package/dist/utils/react/useOverlayEscapeGuard.js +2 -3
  1592. package/dist/utils/react/useOverlayEscapeGuard.js.map +1 -1
  1593. package/dist/utils/react/usePopoverSync.d.ts +3 -14
  1594. package/dist/utils/react/usePopoverSync.js +2 -3
  1595. package/dist/utils/react/usePopoverSync.js.map +1 -1
  1596. package/dist/utils/react/useQaProps.d.ts +2 -2
  1597. package/dist/utils/react/useQaProps.js +6 -4
  1598. package/dist/utils/react/useQaProps.js.map +1 -1
  1599. package/dist/utils/react/useScheme.d.ts +6 -7
  1600. package/dist/utils/react/useScheme.js +2 -3
  1601. package/dist/utils/react/useScheme.js.map +1 -1
  1602. package/dist/utils/react/useViewportSize.d.ts +3 -3
  1603. package/dist/utils/react/useViewportSize.js +2 -3
  1604. package/dist/utils/react/useViewportSize.js.map +1 -1
  1605. package/dist/utils/react/wrapNodeIfPlain.d.ts +1 -3
  1606. package/dist/utils/react/wrapNodeIfPlain.js +2 -3
  1607. package/dist/utils/react/wrapNodeIfPlain.js.map +1 -1
  1608. package/dist/utils/selection.d.ts +1 -3
  1609. package/dist/utils/selection.js +2 -2
  1610. package/dist/utils/selection.js.map +1 -1
  1611. package/dist/utils/styles.d.ts +1 -3
  1612. package/dist/utils/styles.js +2 -3
  1613. package/dist/utils/styles.js.map +1 -1
  1614. package/dist/utils/tree.d.ts +1 -2
  1615. package/dist/utils/tree.js +2 -2
  1616. package/dist/utils/tree.js.map +1 -1
  1617. package/dist/utils/warnings.d.ts +1 -2
  1618. package/dist/utils/warnings.js +2 -3
  1619. package/dist/utils/warnings.js.map +1 -1
  1620. package/dist/version.d.ts +1 -0
  1621. package/dist/version.js +4 -4
  1622. package/dist/version.js.map +1 -1
  1623. package/docs/CreateComponent.md +5 -1
  1624. package/docs/FieldProperties.md +11 -7
  1625. package/docs/Theming.md +1 -1
  1626. package/docs/Usage.md +8 -2
  1627. package/docs/components/content/Alert.md +3 -2
  1628. package/docs/components/content/Layout.md +78 -1
  1629. package/docs/components/content/TextItem.md +2 -2
  1630. package/docs/components/fields/ComboBox.md +1 -2
  1631. package/docs/components/fields/FilterListBox.md +3 -3
  1632. package/docs/components/fields/FilterPicker.md +8 -12
  1633. package/docs/components/fields/ListBox.md +11 -10
  1634. package/docs/components/fields/NumberInput.md +1 -2
  1635. package/docs/components/fields/Picker.md +10 -14
  1636. package/docs/components/fields/Select.md +11 -9
  1637. package/docs/components/fields/Switch.md +4 -5
  1638. package/docs/components/overlays/AlertDialog.md +1 -1
  1639. package/docs/components/overlays/Dialog.md +6 -6
  1640. package/docs/components/overlays/DialogContainer.md +46 -11
  1641. package/docs/components/overlays/DialogTrigger.md +5 -3
  1642. package/docs/tasty/README.md +4 -1
  1643. package/docs/tasty/adoption.md +25 -17
  1644. package/docs/tasty/ai-agents.md +42 -34
  1645. package/docs/tasty/comparison.md +9 -8
  1646. package/docs/tasty/configuration.md +187 -69
  1647. package/docs/tasty/debug.md +3 -2
  1648. package/docs/tasty/design-system.md +117 -15
  1649. package/docs/tasty/dsl.md +211 -117
  1650. package/docs/tasty/getting-started.md +81 -24
  1651. package/docs/tasty/injector.md +41 -40
  1652. package/docs/tasty/methodology.md +46 -21
  1653. package/docs/tasty/migration-v3.md +3 -3
  1654. package/docs/tasty/pipeline.md +22 -19
  1655. package/docs/tasty/plugins.md +21 -41
  1656. package/docs/tasty/react-api.md +72 -9
  1657. package/docs/tasty/runtime-benchmarks.md +11 -11
  1658. package/docs/tasty/ssr.md +92 -66
  1659. package/docs/tasty/styles.md +37 -17
  1660. package/docs/tasty/tasty-static.md +175 -57
  1661. package/package.json +18 -16
  1662. package/tasty.config.ts +8 -0
  1663. package/dist/i18n/useI18n.d.ts +0 -2
@@ -1,8 +1,7 @@
1
- /** @license MIT | @cube-dev/ui-kit v0.196.0 | Cube Dev Team */
2
- import { _Item } from "../../content/Item/Item.js";
1
+ /** @license MIT | @cube-dev/ui-kit v0.198.0 | Cube Dev Team */
2
+ import { Item as _Item } from "../../content/Item/Item.js";
3
3
  import { Action } from "../../actions/Action/Action.js";
4
4
  import { keyframes, tasty } from "@tenphi/tasty";
5
-
6
5
  //#region src/components/data/TableBase/styled.ts
7
6
  /**
8
7
  * The refresh sweep: a band of reduced opacity travelling left to right, the
@@ -49,6 +48,21 @@ const CELL_STYLES = {
49
48
  "": "$cell-padding-x",
50
49
  "@own(kind=selection) | @own(kind=actions)": 0
51
50
  },
51
+ /**
52
+ * One more level of indirection than the row publishes, and the level a
53
+ * per-column tint plugs into.
54
+ *
55
+ * An untinted cell is simply its row. A tinted one swaps its own base and text
56
+ * — see `column-tint.ts`, which generates a `@own(tint=…)` branch per distinct
57
+ * column colour and merges it in through `styles.Cell` / `styles.HeaderCell`.
58
+ *
59
+ * The tint is pre-composed into the BASE rather than stacked as a second
60
+ * overlay, because `fill` has exactly two layers and the interaction paint
61
+ * needs the other one. That is what keeps hover, focus, selection and
62
+ * drop-target working over a tinted column instead of being displaced by it —
63
+ * and it is why the row band has to reach the cell (`data-odd` is mirrored onto
64
+ * body cells) rather than staying on the `<tr>`.
65
+ */
52
66
  "#cell-base": "#row-base",
53
67
  "#cell-text": "#row-text",
54
68
  fill: {
@@ -149,6 +163,25 @@ const TableElement = tasty({
149
163
  gridRow: 2,
150
164
  position: "relative",
151
165
  overflow: "auto",
166
+ /**
167
+ * No focus ring of its own.
168
+ *
169
+ * The scroller takes `tabIndex={-1}` so a cell press can move focus here
170
+ * and the range's shortcuts (Escape, ⌘/Ctrl+C) have somewhere to land. It
171
+ * is a mechanism, not a control the user aimed at — but the browser does
172
+ * not know that, and drew its default `outline: auto` around the whole
173
+ * scrollport. Three edges are clipped by the frame's `overflow: hidden`,
174
+ * so what actually shipped was a stray line across the bottom of the
175
+ * table, right above the footer.
176
+ *
177
+ * Nothing is lost by removing it: focus only ever arrives here alongside a
178
+ * selected cell, and that cell draws its own ring.
179
+ *
180
+ * `'none'`, not `false` — tasty reads `false` as "no ring of the kit's
181
+ * own" and emits no declaration at all, which leaves the browser's default
182
+ * in place. Verified: with `false` the Scroller's rule carried no
183
+ * `outline` property.
184
+ */
152
185
  outline: "none",
153
186
  scrollbar: "thin stable",
154
187
  userSelect: {
@@ -264,6 +297,19 @@ const TableElement = tasty({
264
297
  "": "hidden",
265
298
  "@own(resizable)": "visible"
266
299
  },
300
+ /**
301
+ * How visible the sort arrow is when the column is NOT sorted — read by
302
+ * `SortIndicator`.
303
+ *
304
+ * Published as an inherited custom property because a sub-element's state
305
+ * keys resolve against the ROOT, not its DOM parent: from inside
306
+ * `SortIndicator`, `@own(:hover)` asks whether the 16px arrow itself is
307
+ * hovered, not the header cell it sits in. Same mechanism as `$dim` and
308
+ * `$resizer-offset`.
309
+ *
310
+ * `:focus-visible` as well as `:hover`, so a keyboard user gets the same
311
+ * hint.
312
+ */
267
313
  "$sort-hint": {
268
314
  "": 0,
269
315
  "@own(sortable) & (@own(:hover) | @own(:focus-visible))": .4
@@ -273,6 +319,14 @@ const TableElement = tasty({
273
319
  "@own(last-column)": "0px"
274
320
  }
275
321
  },
322
+ /**
323
+ * The column resize handle, on the header cell's trailing edge.
324
+ *
325
+ * Positioned with longhands rather than an `inset` shorthand: the
326
+ * arithmetic form compiled to garbage (`32px -24px 1px 16px`), which put
327
+ * the handle inside the body and collapsed its height. It sits fully inside
328
+ * the cell, so there is no negative offset to get wrong.
329
+ */
276
330
  Resizer: {
277
331
  $: "> Scroller > Table > Head > HeadRow > HeaderCell >",
278
332
  position: "absolute",
@@ -288,6 +342,12 @@ const TableElement = tasty({
288
342
  "@own(:focus-visible)": "1bw #focus"
289
343
  },
290
344
  outlineOffset: "1bw",
345
+ /**
346
+ * The line is a real child, not `&::after`: state maps inside a
347
+ * pseudo-element block do not compile — `width` and `fill` both came out
348
+ * empty — so the handle's own state is published as tokens instead, the
349
+ * same mechanism `#row-base` and `$link-decoration` use.
350
+ */
291
351
  "#resizer-line": {
292
352
  "": "#border",
293
353
  "column-dividers": "#clear",
@@ -298,6 +358,12 @@ const TableElement = tasty({
298
358
  "@own(:hover) | @own(:focus-visible)": "2bw"
299
359
  }
300
360
  },
361
+ /**
362
+ * The visible column edge. Drawn at rest rather than only on hover — an
363
+ * affordance you have to find by hovering an 8px strip is one nobody finds.
364
+ * A table that rules its columns already draws that edge, so there the line
365
+ * only appears under the cursor (see `#resizer-line`).
366
+ */
301
367
  ResizerLine: {
302
368
  $: "> Scroller > Table > Head > HeadRow > HeaderCell > Resizer >",
303
369
  position: "absolute",
@@ -309,6 +375,18 @@ const TableElement = tasty({
309
375
  fill: "#resizer-line",
310
376
  transition: "theme"
311
377
  },
378
+ /**
379
+ * Where a dragged column would land.
380
+ *
381
+ * A distinct sub-element NAME from the row's `DropIndicator` rather than a
382
+ * second selector chain on the same one: two entries whose chains differ is
383
+ * exactly the shape that produced an indicator matching nothing at all.
384
+ *
385
+ * Positioned fully INSIDE the cell box. `HeaderCell` is `overflow: hidden`
386
+ * and only opts out to `visible` when it is resizable, so the centred
387
+ * `translate: -50%` the resizer line uses would lose its outer half on every
388
+ * non-resizable column.
389
+ */
312
390
  ColumnDropIndicator: {
313
391
  $: "> Scroller > Table > Head > HeadRow > HeaderCell >",
314
392
  position: "absolute",
@@ -327,6 +405,23 @@ const TableElement = tasty({
327
405
  radius: "1r",
328
406
  zIndex: 4
329
407
  },
408
+ /**
409
+ * Centres the checkbox in its cell. A `<td>` cannot be a flex container
410
+ * without dropping out of table layout, so the centring lives on a wrapper
411
+ * inside it.
412
+ *
413
+ * Descendant rather than direct-child, so one entry covers both the header
414
+ * cell and the body cells.
415
+ */
416
+ /**
417
+ * The stretched row link. A `<tr>` cannot be wrapped in an `<a>`, so the
418
+ * anchor sits in the row-header cell and covers the row through `inset`.
419
+ * Its text comes from the row-header cell, so the accessible name is the
420
+ * row's name rather than "link".
421
+ *
422
+ * Below the cells' own content in the stacking order, so an in-cell button
423
+ * or menu trigger still takes its own clicks.
424
+ */
330
425
  RowLink: {
331
426
  $: "> Scroller > Table > Body > Row > Cell >",
332
427
  position: "absolute",
@@ -339,6 +434,16 @@ const TableElement = tasty({
339
434
  focused: "1bw #focus"
340
435
  }
341
436
  },
437
+ /**
438
+ * The line showing where a dragged row would land.
439
+ *
440
+ * Its own row, because a native table cannot hold an arbitrary element
441
+ * between two rows — the shape `ListBox` uses with `<li>`.
442
+ *
443
+ * The row and its cell collapse to nothing and the line is positioned out
444
+ * of flow, so inserting one mid-drag does not push the rows apart. The line
445
+ * then sits *over* the divider it replaces rather than beside it.
446
+ */
342
447
  DropIndicatorRow: {
343
448
  $: "> Scroller > Table > Body >",
344
449
  height: 0
@@ -370,11 +475,16 @@ const TableElement = tasty({
370
475
  },
371
476
  outlineOffset: "1bw"
372
477
  },
478
+ /**
479
+ * Row numbers. Muted and tabular so they read as a ruler down the side
480
+ * rather than as a data column competing with the real ones.
481
+ */
373
482
  RowNumber: {
374
483
  $: "> Scroller > Table > Body > Row > Cell",
375
484
  color: "#surface-text-soft",
376
485
  fontVariantNumeric: "tabular-nums"
377
486
  },
487
+ /** Wraps the `⋮` trigger so it centres without becoming a table cell box. */
378
488
  RowActions: {
379
489
  $: "> Scroller > Table > Body > Row > Cell >",
380
490
  position: "relative",
@@ -384,6 +494,11 @@ const TableElement = tasty({
384
494
  placeItems: "center",
385
495
  height: "100%"
386
496
  },
497
+ /**
498
+ * Hierarchy chrome inside the consumer-selected tree column. The wrapper
499
+ * owns indentation so custom renderers, links and text truncation all move
500
+ * together as one row label.
501
+ */
387
502
  TreeContent: {
388
503
  $: "> Scroller > Table > Body > Row > Cell >",
389
504
  display: "flex",
@@ -414,6 +529,11 @@ const TableElement = tasty({
414
529
  placeItems: "center",
415
530
  height: "100%"
416
531
  },
532
+ /**
533
+ * The sort arrow. Lives in the header `Item`'s `suffix`, so it participates
534
+ * in the header's grid rather than overlapping the label. Reserved space
535
+ * even when unsorted — otherwise the label shifts on every sort.
536
+ */
417
537
  SortIndicator: {
418
538
  $: "> Scroller > Table > Head > HeadRow > HeaderCell",
419
539
  display: "grid",
@@ -430,6 +550,13 @@ const TableElement = tasty({
430
550
  Body: { $: "> Scroller > Table >" },
431
551
  Row: {
432
552
  $: "> Scroller > Table > Body >",
553
+ /**
554
+ * Totals and subtotals, pinned to the edges of the scroller.
555
+ *
556
+ * They live in `<tbody>` so they keep ordinary row styling, so the
557
+ * stickiness has to be stated here. The top offset is the header's own
558
+ * height — a pinned row sticks *under* the header, not over it.
559
+ */
433
560
  position: {
434
561
  "": "relative",
435
562
  "@own(pinned)": "sticky"
@@ -522,6 +649,15 @@ const TableElement = tasty({
522
649
  "@own(pinned=bottom)": "1bw #border top"
523
650
  }
524
651
  },
652
+ /**
653
+ * The single full-span cell that carries the empty / no-results / error
654
+ * content.
655
+ *
656
+ * Deliberately NOT a `Cell`: a `Cell` paints `#row-base`/`#row-overlay`, so
657
+ * the state content picked up the row's banding and hover fill and lit up
658
+ * under the cursor as though it were a row of data to click. It is not a
659
+ * row, so it does not read the row's paint tokens at all.
660
+ */
525
661
  StateCell: {
526
662
  $: "> Scroller > Table > Body > Row >",
527
663
  boxSizing: "border-box",
@@ -531,6 +667,11 @@ const TableElement = tasty({
531
667
  textAlign: "center",
532
668
  verticalAlign: "middle"
533
669
  },
670
+ /**
671
+ * Empty / no-results / error content. Rendered as a full-span cell inside
672
+ * the table rather than as an absolutely-positioned overlay, so the column
673
+ * header stays visible and nothing has to be excluded from the scroll area.
674
+ */
534
675
  StateContent: {
535
676
  $: "> Scroller > Table > Body > Row > StateCell >",
536
677
  display: "grid",
@@ -542,6 +683,14 @@ const TableElement = tasty({
542
683
  color: "#surface-text-soft",
543
684
  textAlign: "center"
544
685
  },
686
+ /**
687
+ * Sits over the Scroller, not inside it, so it stays put while the rows
688
+ * underneath remain scrollable and readable.
689
+ *
690
+ * A refresh does NOT use this — it sweeps the table itself (see `Table`).
691
+ * A spinner parked in the middle of the rows covered the very content the
692
+ * "keep showing the previous result" behaviour exists to preserve.
693
+ */
545
694
  Overlay: {
546
695
  $: ">",
547
696
  gridRow: 2,
@@ -625,6 +774,21 @@ const TableHeaderItem = tasty(_Item, {
625
774
  preset: "inherit",
626
775
  color: "inherit",
627
776
  "$inline-padding": 0,
777
+ /**
778
+ * The indent, per side, chosen for optical rather than geometric alignment.
779
+ *
780
+ * Text lines up with the body text below it at the full cell padding. An
781
+ * icon does not: at this size it is a small, light shape, and the same 16px
782
+ * reads as a gap — 8px sits right. A trailing icon (the sort arrow) wants
783
+ * none at all, so it hangs at the column edge rather than floating short of
784
+ * it.
785
+ *
786
+ * The `padding` shorthand rather than `paddingInline`: `Item` writes its own
787
+ * `padding`, and a shorthand landing after a longhand wipes it — the
788
+ * longhand form compiled away silently and every column kept the default.
789
+ *
790
+ * One map keeps the four icon combinations explicit.
791
+ */
628
792
  padding: {
629
793
  "": "0 $cell-padding-x",
630
794
  "has-icon": "1x left, $cell-padding-x right",
@@ -640,7 +804,7 @@ const TableHeaderItem = tasty(_Item, {
640
804
  Description: { textTransform: "none" }
641
805
  }
642
806
  });
643
-
644
807
  //#endregion
645
808
  export { TableElement, TableHeaderItem, TableTreeToggle, TableTreeTogglePlaceholder };
809
+
646
810
  //# sourceMappingURL=styled.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"styled.js","names":["keyframes","tasty","Action","Item","Styles","refreshSweep","CELL_STYLES","boxSizing","height","padding","textAlign","verticalAlign","overflow","whiteSpace","paddingBlock","paddingInline","fill","color","opacity","position","insetInlineStart","insetInlineEnd","zIndex","shadow","radius","transition","TableElement","qa","styles","$dim","display","gridRows","gridColumns","border","Scroller","$","gridRow","outline","scrollbar","userSelect","overscrollBehavior","Table","stale","maskImage","maskSize","animation","animationPlayState","tableLayout","borderCollapse","borderSpacing","width","preset","Head","inset","HeadRow","HeaderGroupCell","HeaderCell","cursor","Resizer","top","bottom","right","touchAction","outlineOffset","ResizerLine","left","translate","ColumnDropIndicator","RowLink","focused","DropIndicatorRow","DropIndicatorCell","lineHeight","fontSize","DropIndicator","RowNumber","fontVariantNumeric","RowActions","placeContent","placeItems","TreeContent","alignItems","gap","minWidth","TreeValue","flexGrow","flexShrink","flexBasis","TreeToggle","SelectionBox","SortIndicator","Body","Row","insetBlockStart","insetBlockEnd","Cell","fontWeight","textDecoration","ColumnSpacer","StateCell","StateContent","Overlay","pointerEvents","Foot","FootRow","FootCell","TREE_TOGGLE_STYLES","TableTreeToggle","TableTreeTogglePlaceholder","TableHeaderItem","as","hovered","pressed","selected","Description","textTransform"],"sources":["../../../../src/components/data/TableBase/styled.ts"],"sourcesContent":["import { keyframes, tasty } from '@tenphi/tasty';\n\nimport { Action } from '../../actions/Action/Action';\nimport { Item } from '../../content/Item';\n\nimport type { Styles } from '@tenphi/tasty';\n\n/**\n * The refresh sweep: a band of reduced opacity travelling left to right, the\n * way ag-grid marks a grid that is reloading.\n *\n * A mask rather than a coloured overlay, so the band genuinely lowers the\n * content's opacity instead of painting a surface-coloured stripe over it. That\n * costs nothing in theming — the gradient is pure black and alpha, with no\n * colour token to resolve — and it stays correct on any backdrop.\n *\n * `mask-position` runs 100% → 0% because a mask wider than its box moves the\n * OPPOSITE way to the position value: raising it slides the image left, which\n * would send the band right to left.\n */\nconst refreshSweep = keyframes({\n '0%': { 'mask-position': '100% 0' },\n '100%': { 'mask-position': '0% 0' },\n});\n\n/**\n * Geometry shared by the cells of every row group. They cannot share a\n * sub-element key, so they share a const — the same technique `Item.tsx` uses\n * for `DEFAULT_ICON_STYLES`.\n */\nconst CELL_STYLES: Styles = {\n boxSizing: 'border-box',\n // Row height lives on the CELLS, not the `<tr>`: table layout ignores\n // `min-height` on a row, and sizes it from its cells instead. `height` on a\n // cell is treated as a minimum, so a wrapping or auto-height cell still grows\n // the row.\n //\n // Cells are `border-box` and carry the 1px row separator, so the border is\n // added on top: `$row-height` is the content box, and a default row occupies\n // 41px in total.\n height: '($row-height + 1bw)',\n padding: '$cell-padding-y $cell-padding-x',\n textAlign: {\n '': 'start',\n '@own(align=center)': 'center',\n '@own(align=end)': 'end',\n },\n verticalAlign: 'middle',\n overflow: 'hidden',\n // An `autoHeight` column wraps and lets its row grow. `height` on a cell is a\n // minimum in table layout, so the declared row height stays the floor.\n whiteSpace: { '': 'nowrap', '@own(wrap)': 'normal' },\n paddingBlock: { '': '$cell-padding-y', '@own(wrap)': '1x' },\n // The checkbox column is a square affordance, not content: it centres its\n // control and contributes no inline padding of its own.\n paddingInline: {\n '': '$cell-padding-x',\n '@own(kind=selection) | @own(kind=actions)': 0,\n },\n // Pinned cells overlay the scrolling ones, so they must be opaque. Reading\n // the row's inherited paint tokens means every row state is matched for free\n // — no duplicated state matrix, no chance of the two drifting apart.\n // Reading the row's inherited paint tokens means every row state is matched\n // for free. A selected cell steps out of that and takes a flat accent tint:\n // without it a wide range is a mesh of per-cell rings rather than one block,\n // and the row's hover would keep moving underneath a selection the user has\n // already committed to.\n /**\n * One more level of indirection than the row publishes, and the level a\n * per-column tint plugs into.\n *\n * An untinted cell is simply its row. A tinted one swaps its own base and text\n * — see `column-tint.ts`, which generates a `@own(tint=…)` branch per distinct\n * column colour and merges it in through `styles.Cell` / `styles.HeaderCell`.\n *\n * The tint is pre-composed into the BASE rather than stacked as a second\n * overlay, because `fill` has exactly two layers and the interaction paint\n * needs the other one. That is what keeps hover, focus, selection and\n * drop-target working over a tinted column instead of being displaced by it —\n * and it is why the row band has to reach the cell (`data-odd` is mirrored onto\n * body cells) rather than staying on the `<tr>`.\n */\n '#cell-base': '#row-base',\n '#cell-text': '#row-text',\n fill: {\n '': '#cell-base #row-overlay',\n '@own(cell-selected)': '#cell-base #purple.10',\n },\n color: '#cell-text',\n opacity: '$dim',\n position: { '': 'static', '@own(pin=start | pin=end)': 'sticky' },\n insetInlineStart: { '': 'auto', '@own(pin=start)': '$pin-offset' },\n insetInlineEnd: { '': 'auto', '@own(pin=end)': '$pin-offset' },\n zIndex: { '': 'auto', '@own(pin=start | pin=end)': 1 },\n // The innermost pinned column needs an edge, or content scrolling underneath\n // reads as part of the pinned group. An inset box-shadow rather than a border\n // so it costs no column width, and `#border` rather than `#shadow` so it\n // matches the row dividers instead of reading as a hard black line on a dark\n // surface.\n // The pinned column's edge, and the selected cell's ring. Both are inset\n // shadows and both share this map, so the two compose rather than one\n // clobbering the other on a pinned selected cell.\n //\n // The ring is a shadow rather than an `outline`: an outline is drawn OUTSIDE\n // the box, and pulling it back with a negative `outlineOffset` needs a value\n // tasty will not resolve (`-1bw`), so the ring came out a pixel oversized on\n // every side — over the row divider above and the column rule to the left. An\n // inset shadow lands exactly on the cell's own edges and costs no layout.\n shadow: {\n '': false,\n '@own(pin-edge) & @own(pin=start)': 'inset -1bw 0 0 0 #border',\n '@own(pin-edge) & @own(pin=end)': 'inset 1bw 0 0 0 #border',\n '@own(cell-selected)': 'inset 0 0 0 1bw #purple',\n '@own(cell-selected) & @own(pin-edge) & @own(pin=start)':\n 'inset 0 0 0 1bw #purple, inset -1bw 0 0 0 #border',\n '@own(cell-selected) & @own(pin-edge) & @own(pin=end)':\n 'inset 0 0 0 1bw #purple, inset 1bw 0 0 0 #border',\n },\n // The frame's rounded corner, mirrored onto the cell that meets it. Without\n // it a selected cell there has its ring sliced off at 45°, since the root\n // clips with a radius. One border-width smaller than the frame's, because the\n // cell sits inside the frame's own border.\n radius: {\n '': 0,\n // `1cr` is the card radius (`--card-radius`), used directly rather than\n // aliased onto a token of our own — and emphatically not onto `$radius`,\n // which is the kit's GLOBAL radius. Declaring that here handed every\n // Button, Input and Tag rendered inside a cell the card's 10px instead of\n // the 6px they inherit everywhere else, and took every `1r`/`2r` unit in\n // the subtree with it.\n '@own(corner=start)': '(1cr - 1bw) bottom-left',\n '@own(corner=end)': '(1cr - 1bw) bottom-right',\n },\n // The vertical rule, resolved in two steps so the border maps below stay\n // small. `$column-rule` is the TABLE's answer (root-level `column-dividers`);\n // this narrows it per cell.\n //\n // A WIDTH rather than a colour. A transparent 1px border still occupies its\n // px: with `border-box` cells that quietly took a pixel of content width from\n // every column of every table, dividers or not.\n //\n // The trailing column is exempt: its rule lands flush against the frame in\n // `card` shape and reads as a doubled edge, and in `plain` shape it is a line\n // hanging off the end of the table with nothing after it.\n '$column-divider': { '': '$column-rule', '@own(last-column)': '0px' },\n transition: 'fill',\n};\n\nexport const TableElement = tasty({\n qa: 'Table',\n styles: {\n /* ── tokens the root owns ─────────────────────────────────────────── */\n // Rows are 40px at the default size and the header is one step tighter at\n // 32px — the proportion the Cloud tables use. Each is the content height;\n // the 1px separator is added on top (see `CELL_STYLES.height`).\n '$row-height': {\n '': '$size-lg',\n 'size=xsmall': '$size-sm',\n 'size=small': '$size-md',\n 'size=large': '$size-xl',\n 'size=xlarge': '7x',\n },\n '$header-height': {\n '': '$size-md',\n 'size=xsmall': '$size-xs',\n 'size=small': '$size-sm',\n 'size=large': '$size-lg',\n 'size=xlarge': '$size-xl',\n },\n // 16px. Matches the `cellHorizontalPadding` the Cloud tables ship (ag-grid's\n // own default is 15px, which is off the 8px grid).\n '$cell-padding-x': '2x',\n '$cell-padding-y': 0,\n '$pin-offset': '0px',\n $dim: 1,\n '$link-decoration': 'none',\n '$resizer-hit': '1x',\n '$resizer-offset': '-.5x',\n '$resizer-line-width': '1bw',\n '#resizer-line': '#clear',\n // Vertical rules between columns: on for a grid read down a column, off for\n // a list read across a row. See `TableView`'s `hasColumnDividers`.\n '$column-rule': { '': '0px', 'column-dividers': '1bw' },\n // Neutral defaults so a cell rendered outside a row still paints sanely.\n '#row-base': '#surface',\n '#row-overlay': '#clear',\n '#row-text': '#surface-text',\n // The cell-level pair defaults to the row's, and a tinted column overrides\n // its own — see `CELL_STYLES`. Declared here too so the chain has a root even\n // for a cell that is somehow outside a row.\n '#cell-base': '#row-base',\n '#cell-text': '#row-text',\n\n /* ── frame ────────────────────────────────────────────────────────── */\n display: 'grid',\n gridRows: 'max-content minmax(0, 1fr) max-content',\n gridColumns: 'minmax(0, 1fr)',\n position: 'relative',\n boxSizing: 'border-box',\n fill: '#surface',\n color: '#surface-text',\n radius: { '': 0, 'shape=card': '1cr' },\n border: { '': false, 'shape=card': true },\n overflow: 'hidden',\n // Bounded by the consumer (`height` / `maxHeight`). There is no page-scroll\n // mode: an unbounded table simply sizes to its content.\n height: 'max 100%',\n\n /* ── the single scroller ──────────────────────────────────────────── */\n Scroller: {\n $: '>',\n gridRow: 2,\n position: 'relative',\n overflow: 'auto',\n /**\n * No focus ring of its own.\n *\n * The scroller takes `tabIndex={-1}` so a cell press can move focus here\n * and the range's shortcuts (Escape, ⌘/Ctrl+C) have somewhere to land. It\n * is a mechanism, not a control the user aimed at — but the browser does\n * not know that, and drew its default `outline: auto` around the whole\n * scrollport. Three edges are clipped by the frame's `overflow: hidden`,\n * so what actually shipped was a stray line across the bottom of the\n * table, right above the footer.\n *\n * Nothing is lost by removing it: focus only ever arrives here alongside a\n * selected cell, and that cell draws its own ring.\n *\n * `'none'`, not `false` — tasty reads `false` as \"no ring of the kit's\n * own\" and emits no declaration at all, which leaves the browser's default\n * in place. Verified: with `false` the Scroller's rule carried no\n * `outline` property.\n */\n outline: 'none',\n // A reserved gutter stops an appearing scrollbar from reflowing every\n // column. With one scroller for head and body there is nothing else to\n // keep in sync — this is the whole reason for the native-table design.\n scrollbar: 'thin stable',\n // Locked per axis, and only on an axis that can actually scroll.\n //\n // `none` rather than `contain`: both stop a swipe at the scroll edge from\n // chaining to the page — which is what keeps a horizontal flick from\n // triggering browser back-navigation — but `contain` still allows the\n // rubber-band bounce, and bouncing a table drags its rows away from the\n // sticky header and shows blank surface behind them.\n //\n // The non-scrollable axis stays `auto` on purpose. Chrome applies\n // overscroll rules to any `overflow: auto` element, including one whose\n // content fits, so locking both axes unconditionally makes a five-row\n // table swallow the wheel and pin the page behind it.\n // While a range drag is in progress the pointer is painting cells, not\n // text — without this a drag across the grid leaves every cell it passed\n // highlighted blue underneath the range.\n userSelect: { '': 'auto', 'range-dragging': 'none' },\n overscrollBehavior: {\n '': 'auto',\n 'scroll-x & scroll-y': 'none',\n 'scroll-x & !scroll-y': 'none auto',\n '!scroll-x & scroll-y': 'auto none',\n },\n },\n\n Table: {\n $: '> Scroller >',\n // The whole table fades while a refresh is in flight — header included.\n // Dimming only the rows left the header at full strength, which read as\n // though the columns were current and only the data was not.\n opacity: { '': 1, stale: 0.5 },\n // `#black` throughout, but only its ALPHA is doing anything: a gradient\n // mask defaults to `mask-mode: alpha`, so the colour channel is discarded\n // and `#black.4` is simply \"40% through\". Any opaque token would render\n // identically — `#black` is the conventional way to write it.\n maskImage: {\n '': 'none',\n stale:\n 'linear-gradient(90deg, #black 0%, #black 35%, #black.4 50%, #black 65%, #black 100%)',\n // A flat, fully opaque mask is a no-op, so there is nothing to sweep —\n // the table still fades, it just does not move. A loading state can\n // last a long time, and this one would otherwise animate continuously\n // beside the data with no way to stop it.\n '@media(prefers-reduced-motion)':\n 'linear-gradient(90deg, #black 0%, #black 100%)',\n },\n // Three times the width, so the band is a third of the table and there is\n // an opaque stretch either side of it. The default `repeat` tiles\n // seamlessly, both ends of the gradient being fully opaque.\n //\n // oxlint's `tasty(known-property)` flags this — its property list has\n // `maskImage` but not `maskSize`, in either spelling. Tasty passes an\n // unknown key through as raw CSS, so it emits fine: verified computing to\n // `300% 100%` with the sweep running. The warning is the linter's gap.\n maskSize: '300% 100%',\n animation: {\n '': 'none',\n stale: `${refreshSweep} 1.4s linear infinite`,\n },\n // Belt and braces with the flat mask above, and the same shape `Spin`\n // already uses.\n animationPlayState: {\n '': 'running',\n '@media(prefers-reduced-motion)': 'paused',\n },\n transition: 'opacity',\n // `fixed` makes `<colgroup>` authoritative, so the header and the body\n // are guaranteed to agree on every column width.\n tableLayout: 'fixed',\n // `separate` is required: with `collapse`, a sticky `<thead>` loses its\n // borders and they scroll away with the content.\n borderCollapse: 'separate',\n borderSpacing: 0,\n // The exact width is set inline from the resolved layout; this is only\n // the pre-measurement fallback.\n width: '100%',\n preset: 't3',\n },\n\n /* ── head ─────────────────────────────────────────────────────────── */\n Head: {\n $: '> Scroller > Table >',\n position: { '': 'static', 'sticky-header': 'sticky' },\n inset: { '': 'auto', 'sticky-header': '0 top' },\n zIndex: 2,\n },\n HeadRow: {\n $: '> Scroller > Table > Head >',\n position: 'relative',\n // Header rows never carry interaction paint; neutralise the inherited\n // tokens so nothing can leak in from a row above.\n '#row-base': '#surface-2',\n '#row-overlay': '#clear',\n '#row-text': '#dark-03',\n $dim: 1,\n },\n HeaderGroupCell: {\n $: '> Scroller > Table > Head > HeadRow >',\n // eslint-disable-next-line tasty/no-style-spread -- cell geometry shared by the cells of every row group\n ...CELL_STYLES,\n padding: 0,\n paddingInline: 0,\n height: '($header-height + 1bw)',\n preset: 't3m',\n border: '1bw #border bottom, $column-divider #border right',\n fill: '#surface-3',\n userSelect: 'none',\n position: { '': 'relative', '@own(pin=start | pin=end)': 'sticky' },\n overflow: 'hidden',\n zIndex: { '': 'auto', '@own(pin=start | pin=end)': 3 },\n },\n HeaderCell: {\n $: '> Scroller > Table > Head > HeadRow >',\n // eslint-disable-next-line tasty/no-style-spread -- cell geometry shared by the cells of every row group\n ...CELL_STYLES,\n // No padding at all: the `Item` inside fills the cell edge to edge and\n // supplies the indent itself, per side. That is what lets a leading icon\n // sit tighter than text and a trailing icon sit flush — see\n // `TableHeaderItem`.\n //\n // `paddingInline` as well as the shorthand: the shared cell styles set\n // the longhand for the checkbox column, and a longhand arriving through\n // the spread outlives a `padding: 0` written after it.\n padding: 0,\n paddingInline: 0,\n height: '($header-height + 1bw)',\n // The header's typography lives here rather than on the `Item`, so a\n // consumer can restyle it through `headerCellStyles` / `styles.HeaderCell`.\n // The adapter supplies the real default via `headerPreset`; this is only\n // the fallback for a `TableView` rendered without one.\n preset: 't3m',\n border: '1bw #border bottom, $column-divider #border right',\n zIndex: { '': 'auto', '@own(pin=start | pin=end)': 3 },\n fill: {\n '': '#cell-base #row-overlay',\n '(@own(sortable) & @own(:hover)) | @own(menu-open)':\n '#cell-base #surface-text.04',\n },\n // `pointer` wins on a sortable header: sorting is the primary action, and a\n // native drag needs movement while a click does not, so both still work.\n // `grab` is only honest where there is nothing else to click.\n cursor: {\n '': 'default',\n '@own(sortable)': 'pointer',\n '@own(draggable) & !@own(sortable)': 'grab',\n '@own(dragging)': 'grabbing',\n },\n // Matches the row being dragged.\n opacity: { '': 1, '@own(dragging)': 0.4 },\n userSelect: 'none',\n // The containing block for `Resizer`. Cells are `static` by default, so\n // without this every handle resolves against the scroller instead and\n // they all stack up at its right edge.\n position: { '': 'relative', '@own(pin=start | pin=end)': 'sticky' },\n // A cell clips its overflow so a long label cannot bleed into its\n // neighbour, but the resize handle straddles the boundary on purpose and\n // would lose its outer half. Only cells that actually have one opt out.\n overflow: { '': 'hidden', '@own(resizable)': 'visible' },\n /**\n * How visible the sort arrow is when the column is NOT sorted — read by\n * `SortIndicator`.\n *\n * Published as an inherited custom property because a sub-element's state\n * keys resolve against the ROOT, not its DOM parent: from inside\n * `SortIndicator`, `@own(:hover)` asks whether the 16px arrow itself is\n * hovered, not the header cell it sits in. Same mechanism as `$dim` and\n * `$resizer-offset`.\n *\n * `:focus-visible` as well as `:hover`, so a keyboard user gets the same\n * hint.\n */\n '$sort-hint': {\n '': 0,\n '@own(sortable) & (@own(:hover) | @own(:focus-visible))': 0.4,\n },\n // How far the handle hangs past this cell's trailing edge — read by\n // `Resizer`. Published as an inherited custom property rather than asked\n // for from the handle with `@parent(...)`: a sub-element's state keys\n // resolve against the ROOT, so the handle cannot ask about the cell it\n // sits in (the same reason `#row-base` and `$link-decoration` exist).\n //\n // The trailing column has no neighbour to straddle. Left hanging, it puts\n // half its width past the table and the scroller gains a few pixels of\n // horizontal scroll onto blank space.\n '$resizer-offset': { '': '-.5x', '@own(last-column)': '0px' },\n },\n\n /**\n * The column resize handle, on the header cell's trailing edge.\n *\n * Positioned with longhands rather than an `inset` shorthand: the\n * arithmetic form compiled to garbage (`32px -24px 1px 16px`), which put\n * the handle inside the body and collapsed its height. It sits fully inside\n * the cell, so there is no negative offset to get wrong.\n */\n Resizer: {\n $: '> Scroller > Table > Head > HeadRow > HeaderCell >',\n position: 'absolute',\n top: 0,\n bottom: 0,\n // Centred on the boundary rather than tucked inside the cell: a handle\n // you can only grab from one side of the line is half a target, and the\n // focus ring would sit visibly off to the left of the edge it resizes.\n // The offset is half of `$resizer-hit`.\n right: '$resizer-offset',\n // A 1px line is impossible to grab, so the hit area is wider than it.\n width: '$resizer-hit',\n zIndex: 2,\n cursor: 'col-resize',\n touchAction: 'none',\n outline: {\n '': 'none',\n '@own(:focus-visible)': '1bw #focus',\n },\n outlineOffset: '1bw',\n\n /**\n * The line is a real child, not `&::after`: state maps inside a\n * pseudo-element block do not compile — `width` and `fill` both came out\n * empty — so the handle's own state is published as tokens instead, the\n * same mechanism `#row-base` and `$link-decoration` use.\n */\n // Drawn at rest so the handle is discoverable — except when the table\n // already rules its columns, where the cell's own border is that line and\n // a second one 4px away reads as a doubled edge. (`column-dividers` has no\n // `@own`: bare keys resolve against the root, which is where it lives.)\n '#resizer-line': {\n '': '#border',\n 'column-dividers': '#clear',\n '@own(:hover) | @own(:focus-visible)': '#purple',\n },\n '$resizer-line-width': {\n '': '1bw',\n '@own(:hover) | @own(:focus-visible)': '2bw',\n },\n },\n\n /**\n * The visible column edge. Drawn at rest rather than only on hover — an\n * affordance you have to find by hovering an 8px strip is one nobody finds.\n * A table that rules its columns already draws that edge, so there the line\n * only appears under the cursor (see `#resizer-line`).\n */\n ResizerLine: {\n $: '> Scroller > Table > Head > HeadRow > HeaderCell > Resizer >',\n // Absolute rather than flex-aligned: `placeContent` maps to\n // `align-content justify-content`, so the obvious-looking `'end center'`\n // silently centred the line instead of ending it.\n //\n // Centred inside the handle, which is itself centred on the boundary, so\n // the line lands exactly on the edge it represents and a thicker hover\n // state grows evenly to both sides.\n position: 'absolute',\n top: 0,\n bottom: 0,\n left: '50%',\n translate: '-50% 0',\n width: '$resizer-line-width',\n fill: '#resizer-line',\n transition: 'theme',\n },\n\n /**\n * Where a dragged column would land.\n *\n * A distinct sub-element NAME from the row's `DropIndicator` rather than a\n * second selector chain on the same one: two entries whose chains differ is\n * exactly the shape that produced an indicator matching nothing at all.\n *\n * Positioned fully INSIDE the cell box. `HeaderCell` is `overflow: hidden`\n * and only opts out to `visible` when it is resizable, so the centred\n * `translate: -50%` the resizer line uses would lose its outer half on every\n * non-resizable column.\n */\n ColumnDropIndicator: {\n $: '> Scroller > Table > Head > HeadRow > HeaderCell >',\n position: 'absolute',\n top: 0,\n bottom: 0,\n width: '2bw',\n insetInlineStart: { '': 'auto', '@own(position=before)': 0 },\n insetInlineEnd: { '': 'auto', '@own(position=after)': 0 },\n fill: '#purple',\n radius: '1r',\n // Above the pinned header cell (3) and the resize handle (2).\n zIndex: 4,\n },\n\n /**\n * Centres the checkbox in its cell. A `<td>` cannot be a flex container\n * without dropping out of table layout, so the centring lives on a wrapper\n * inside it.\n *\n * Descendant rather than direct-child, so one entry covers both the header\n * cell and the body cells.\n */\n /**\n * The stretched row link. A `<tr>` cannot be wrapped in an `<a>`, so the\n * anchor sits in the row-header cell and covers the row through `inset`.\n * Its text comes from the row-header cell, so the accessible name is the\n * row's name rather than \"link\".\n *\n * Below the cells' own content in the stacking order, so an in-cell button\n * or menu trigger still takes its own clicks.\n */\n RowLink: {\n $: '> Scroller > Table > Body > Row > Cell >',\n position: 'absolute',\n inset: 0,\n zIndex: 0,\n // The row already paints hover and focus; the link must add nothing.\n fill: '#clear',\n radius: 0,\n outline: {\n '': 'none',\n // Keyboard focus still has to be visible, even though the row is what\n // the user perceives as focused.\n focused: '1bw #focus',\n },\n },\n\n /**\n * The line showing where a dragged row would land.\n *\n * Its own row, because a native table cannot hold an arbitrary element\n * between two rows — the shape `ListBox` uses with `<li>`.\n *\n * The row and its cell collapse to nothing and the line is positioned out\n * of flow, so inserting one mid-drag does not push the rows apart. The line\n * then sits *over* the divider it replaces rather than beside it.\n */\n DropIndicatorRow: {\n $: '> Scroller > Table > Body >',\n height: 0,\n },\n\n DropIndicatorCell: {\n $: '> Scroller > Table > Body > DropIndicatorRow >',\n // Every one of these matters: a `<td>` carries UA padding, and any of\n // them left in place gives the row real height and shifts the table.\n padding: 0,\n border: 0,\n height: 0,\n lineHeight: 0,\n fontSize: 0,\n // The containing block for the line below.\n position: 'relative',\n overflow: 'visible',\n },\n\n DropIndicator: {\n $: '> Scroller > Table > Body > DropIndicatorRow > DropIndicatorCell >',\n position: 'absolute',\n insetInlineStart: 0,\n insetInlineEnd: 0,\n top: 0,\n height: '2bw',\n // Centred on the boundary, so it covers the row divider instead of\n // sitting above or below it.\n translate: '0 -50%',\n fill: '#purple',\n radius: '1r',\n zIndex: 3,\n outline: {\n '': 'none',\n // `@own`, not a bare `:focus-visible`: a sub-element's state keys\n // resolve against the ROOT, so the plain form asked whether the whole\n // table was focused. This is the keyboard drop target and needs its own.\n '@own(:focus-visible)': '2bw #purple',\n },\n outlineOffset: '1bw',\n },\n\n /**\n * Row numbers. Muted and tabular so they read as a ruler down the side\n * rather than as a data column competing with the real ones.\n */\n RowNumber: {\n $: '> Scroller > Table > Body > Row > Cell',\n color: '#surface-text-soft',\n fontVariantNumeric: 'tabular-nums',\n },\n\n /** Wraps the `⋮` trigger so it centres without becoming a table cell box. */\n RowActions: {\n $: '> Scroller > Table > Body > Row > Cell >',\n position: 'relative',\n // Above `RowLink`, or the stretched anchor would swallow its clicks.\n zIndex: 1,\n display: 'flex',\n placeContent: 'center',\n placeItems: 'center',\n height: '100%',\n },\n\n /**\n * Hierarchy chrome inside the consumer-selected tree column. The wrapper\n * owns indentation so custom renderers, links and text truncation all move\n * together as one row label.\n */\n TreeContent: {\n $: '> Scroller > Table > Body > Row > Cell >',\n display: 'flex',\n alignItems: 'center',\n gap: '.5x',\n minWidth: 0,\n padding: 'left ($tree-indent * 2x)',\n '$tree-indent': '($tree-level, 0)',\n },\n\n TreeValue: {\n $: '> Scroller > Table > Body > Row > Cell > TreeContent >',\n flexGrow: 1,\n flexShrink: 1,\n flexBasis: 0,\n minWidth: 0,\n overflow: 'hidden',\n },\n\n TreeToggle: {\n $: '> Scroller > Table > Body > Row > Cell > TreeContent >',\n flexGrow: 0,\n flexShrink: 0,\n flexBasis: 'auto',\n },\n\n SelectionBox: {\n $: '> Scroller > Table',\n display: 'flex',\n placeContent: 'center',\n placeItems: 'center',\n height: '100%',\n },\n\n /**\n * The sort arrow. Lives in the header `Item`'s `suffix`, so it participates\n * in the header's grid rather than overlapping the label. Reserved space\n * even when unsorted — otherwise the label shifts on every sort.\n */\n SortIndicator: {\n // Descendant, not direct child: the indicator is handed to the header\n // `Item` as a slot, so it renders inside Item's own `RightIcon` (or\n // `Suffix`) wrapper rather than directly under the `<th>`.\n $: '> Scroller > Table > Head > HeadRow > HeaderCell',\n display: 'grid',\n placeItems: 'center',\n width: '2x',\n height: '2x',\n color: '#surface-text',\n // Hovering a sortable header previews the arrow it would get; sorting for\n // real makes it solid. `$sort-hint` is the header cell's answer — see\n // there for why this cannot just ask about hover itself.\n //\n // The preview points the right way for free: `data-dir` is absent while\n // unsorted, so the `scale` map below leaves the chevron pointing up, and\n // the first press of an unsorted column sorts ascending. The hint predicts\n // the press rather than just advertising that one is possible.\n opacity: {\n '': '$sort-hint',\n '@own(sorted)': 1,\n },\n // No `scale` flip any more: `TableView` renders the real\n // `ArrowNarrowDownIcon` for `desc` rather than turning the up arrow over,\n // so there is no transform left to animate. `opacity` still is — that is\n // the hover hint fading in.\n transition: 'opacity',\n },\n\n /* ── body ─────────────────────────────────────────────────────────── */\n Body: {\n $: '> Scroller > Table >',\n },\n Row: {\n $: '> Scroller > Table > Body >',\n // `position: relative` (below) is also the containing block for\n // `RowLink`, which stretches over the whole row from inside the\n // row-header cell, and for the drop indicator.\n /**\n * Totals and subtotals, pinned to the edges of the scroller.\n *\n * They live in `<tbody>` so they keep ordinary row styling, so the\n * stickiness has to be stated here. The top offset is the header's own\n * height — a pinned row sticks *under* the header, not over it.\n */\n position: { '': 'relative', '@own(pinned)': 'sticky' },\n insetBlockStart: {\n '': 'auto',\n '@own(pinned=top)': '($header-height + 1bw)',\n },\n insetBlockEnd: { '': 'auto', '@own(pinned=bottom)': 0 },\n zIndex: { '': 'auto', '@own(pinned)': 1 },\n\n // The row being dragged, and a row that would receive a drop *on* it.\n // Landing *between* rows is drawn by `DropIndicator` instead.\n opacity: { '': 1, '@own(dragging)': 0.4 },\n // An inset shadow rather than an outline: an outline on a `<tr>` is drawn\n // outside the row and overlaps its neighbours, and `inside` is not a\n // modifier `outline` accepts.\n shadow: {\n '': false,\n '@own(drop-target)': 'inset 0 0 0 2bw #purple',\n },\n cursor: {\n '': 'default',\n '@own(clickable)': 'pointer',\n '@own(draggable)': 'grab',\n '@own(dragging)': 'grabbing',\n },\n\n /* ─── the row state matrix ─────────────────────────────────────────\n * Keep base, interaction overlay and text/dimming independent so each\n * responsibility can change without enumerating their combinations.\n *\n * 1. `odd` and `pinned` choose the opaque `#row-base`.\n * 2. Interaction states choose `#row-overlay`.\n * 3. `dimmed` and `disabled` choose `#row-text`; `dimmed` drives `$dim`.\n * ────────────────────────────────────────────────────────────────── */\n '#row-base': {\n '': '#surface',\n '@own(odd)': '#surface-2',\n // Opaque and distinct, because scrolling rows pass underneath it.\n '@own(pinned)': '#surface-3',\n },\n '#row-overlay': {\n '': '#surface-text.0',\n '@own(:hover)': '#surface-text.04',\n '@own(focused)': '#surface-text.06',\n '@own(selected)': '#surface-text.09',\n '@own(selected & :hover)': '#surface-text.12',\n '@own(drop-target)': '#purple.10',\n '@own(disabled)': '#surface-text.02',\n },\n '#row-text': {\n '': '#surface-text',\n '@own(dimmed)': '#surface-text-soft',\n '@own(disabled)': '#surface-text-soft-2',\n },\n $dim: {\n '': 1,\n '@own(dimmed)': 0.6,\n },\n // Read by a row-header cell that carries a `rowLink`.\n '$link-decoration': {\n '': 'none',\n '@own(:hover)': 'underline',\n },\n },\n Cell: {\n $: '> Scroller > Table > Body > Row >',\n // eslint-disable-next-line tasty/no-style-spread -- cell geometry shared by the cells of every row group\n ...CELL_STYLES,\n // A row-header cell is a `<th>`, which the UA renders bold. Weight is the\n // table's decision, not the tag's — and a UA rule beats inheritance, so it\n // has to be stated. Deliberately NOT in the shared cell styles: the header\n // cell is a `<th>` as well, and there this would overwrite the weight its\n // `preset` sets.\n fontWeight: {\n '': 'inherit',\n // A row-header cell carrying a `rowLink` reads as a link, so it takes\n // the weight `Link` does — colour alone is easy to miss in a dense\n // table, and there is nothing else marking the row as navigable.\n '@own(link)': 600,\n },\n color: {\n '': '#cell-text',\n '@own(link)': '#purple-text',\n },\n // Underline only while the row is hovered, matching how the kit's `Link`\n // stays undecorated at rest.\n //\n // Read from a token the Row publishes rather than asking about the row\n // from here: a sub-element's state keys resolve against the *root*, and\n // `@parent(:hover)` did not constrain the rule at all — every linked cell\n // came out underlined. Custom properties inherit through the DOM and\n // ignore selector context, which is the same mechanism `$dim` and\n // `#row-text` already use.\n textDecoration: {\n '': 'none',\n '@own(link)': '$link-decoration',\n },\n // A bottom border separates two rows, so the last row has nothing to\n // separate from. Whenever something else already draws that closing edge\n // — the frame in `card` shape, or the footer's own top border — the row's\n // border lands on top of it and reads as one thick 2px line.\n //\n // `last-row` is stamped on the cell by the renderer rather than derived\n // in CSS, for two reasons:\n //\n // 1. Virtualization. The window is padded with spacer `<tr>`s, so\n // mid-scroll the last *mounted* row is not `:last-child` — the\n // trailing spacer is. A structural selector would move the missing\n // border around as you scroll; the stamped flag always marks the\n // last row of the DATA.\n // 2. `@parent(:last-child, >)` asks \"is my parent the last child of my\n // grandparent\". Asked from the Row that is a question about the\n // table body, identical for every row, and an ancestor-constant\n // condition inside a mutually-exclusive map silently deletes the\n // default's `:not(...)` branch — which is how an earlier attempt\n // removed every divider at once. (`@own(:last-child)` is the form\n // that varies per row, but see 1.)\n //\n // `column-dividers` has no `@own`: a sub-element's bare state keys resolve\n // against the ROOT, which is exactly right here — the vertical rule is a\n // property of the table, not of one cell.\n //\n // Two groups, so the horizontal and the vertical rule vary independently:\n // the trailing group's width is `$column-divider`, which already knows\n // whether this table rules its columns and whether this is the last one.\n // Directions a group does not name come out zero-width, which is how the\n // middle entry drops the bottom edge without touching the rule.\n border: {\n '': '1bw #border bottom, $column-divider #border right',\n // The frame or the footer already draws the closing edge; a second one\n // on top of it reads as a single 2px line.\n '(shape=card | has-footer) & @own(last-row)':\n '$column-divider #border right',\n // A pinned bottom row opens the pinned group, so the divider goes above\n // it — the last scrolling row has already dropped its own bottom edge,\n // and a total sitting at the frame's edge needs nothing below.\n '@own(pinned=bottom)': '1bw #border top, $column-divider #border right',\n },\n },\n\n ColumnSpacer: {\n $: '> Scroller > Table > Body > Row >',\n boxSizing: 'border-box',\n height: '($row-height + 1bw)',\n padding: 0,\n fill: '#row-base #row-overlay',\n opacity: '$dim',\n border: {\n '': '1bw #border bottom',\n '(shape=card | has-footer) & @own(last-row)': 0,\n '@own(pinned=bottom)': '1bw #border top',\n },\n },\n\n /**\n * The single full-span cell that carries the empty / no-results / error\n * content.\n *\n * Deliberately NOT a `Cell`: a `Cell` paints `#row-base`/`#row-overlay`, so\n * the state content picked up the row's banding and hover fill and lit up\n * under the cursor as though it were a row of data to click. It is not a\n * row, so it does not read the row's paint tokens at all.\n */\n StateCell: {\n $: '> Scroller > Table > Body > Row >',\n boxSizing: 'border-box',\n fill: '#surface',\n color: '#surface-text',\n border: false,\n textAlign: 'center',\n verticalAlign: 'middle',\n },\n\n /**\n * Empty / no-results / error content. Rendered as a full-span cell inside\n * the table rather than as an absolutely-positioned overlay, so the column\n * header stays visible and nothing has to be excluded from the scroll area.\n */\n StateContent: {\n $: '> Scroller > Table > Body > Row > StateCell >',\n display: 'grid',\n placeItems: 'center',\n placeContent: 'center',\n gap: '1x',\n padding: '8x 2x',\n preset: 't3',\n color: '#surface-text-soft',\n textAlign: 'center',\n },\n\n /* ── foot (pinned totals) ─────────────────────────────────────────── */\n /* ── consumer overlay ─────────────────────────────────────────────── */\n /**\n * Sits over the Scroller, not inside it, so it stays put while the rows\n * underneath remain scrollable and readable.\n *\n * A refresh does NOT use this — it sweeps the table itself (see `Table`).\n * A spinner parked in the middle of the rows covered the very content the\n * \"keep showing the previous result\" behaviour exists to preserve.\n */\n Overlay: {\n $: '>',\n gridRow: 2,\n position: 'absolute',\n inset: 0,\n display: 'flex',\n placeContent: 'center',\n placeItems: 'center',\n // No scrim: the body already dims itself, and a second layer of dimming\n // over the same rows only makes the previous result harder to read — the\n // one thing this behaviour exists to preserve.\n zIndex: 3,\n pointerEvents: 'none',\n },\n\n Foot: {\n $: '> Scroller > Table >',\n position: 'sticky',\n inset: '0 bottom',\n zIndex: 2,\n },\n FootRow: {\n $: '> Scroller > Table > Foot >',\n position: 'relative',\n '#row-base': '#surface-2',\n '#row-overlay': '#clear',\n '#row-text': '#surface-text',\n $dim: 1,\n },\n FootCell: {\n $: '> Scroller > Table > Foot > FootRow >',\n // eslint-disable-next-line tasty/no-style-spread -- cell geometry shared by the cells of every row group\n ...CELL_STYLES,\n border: '1bw #border top',\n preset: 't3m',\n },\n },\n});\n\nconst TREE_TOGGLE_STYLES: Styles = {\n display: 'grid',\n placeItems: 'center',\n placeContent: 'center',\n flexGrow: 0,\n flexShrink: 0,\n flexBasis: 'auto',\n width: '3x',\n height: '3x',\n radius: true,\n transition: 'theme',\n};\n\n/** Disclosure control rendered in the configured tree column. */\nexport const TableTreeToggle = tasty(Action, {\n qa: 'TableTreeToggle',\n styles: {\n // eslint-disable-next-line tasty/no-style-spread -- shared with TableTreeTogglePlaceholder so leaf rows keep the toggle footprint\n ...TREE_TOGGLE_STYLES,\n color: { '': '#dark-02', ':hover': '#dark' },\n fill: { '': '#clear', ':hover': '#dark.04' },\n },\n});\n\n/** Leaf placeholder matching the disclosure control's footprint. */\nexport const TableTreeTogglePlaceholder = tasty({\n styles: TREE_TOGGLE_STYLES,\n});\n\n/**\n * The header cell's content. `Item` lives INSIDE the `<th>`, never as the `<th>`\n * itself — it emits `aria-selected` whenever `isSelected` is set (in\n * `renderItemElement`, unless the row sets `aria-pressed`), which on a\n * `columnheader` would claim the column is selected rather than sorted.\n *\n * Keeping it inside also means the `<th>` owns the interaction fill while\n * `Item` contributes only layout, and — the real prize — `Item`'s `Actions`\n * slot already stops click/pointer/Enter/Space propagation, so pressing a\n * column menu can never trigger the sort.\n */\nexport const TableHeaderItem = tasty(Item, {\n as: 'div',\n // Deliberately NOT `type=\"header\"`. That maps Item's preset onto the heading\n // scale via state rules that outrank a plain override, and it renders the\n // label as an `<h3>`, which would put every column name into the document\n // outline.\n styles: {\n // `Item` is `inline-grid`; the header cell needs it to fill the `<th>`\n // horizontally. Same fix as `TreeRowItem` in Tree/styled.ts. Its height is\n // left alone so it keeps its natural `medium` size rather than stretching\n // to whatever the row height happens to be.\n display: 'grid',\n width: '100%',\n radius: 0,\n // `Item` reserves a 1px transparent border for its focus/hover treatments.\n // The `<th>` owns those here, and the border would inset the label by 1px\n // against the body cells below.\n border: 0,\n // Typography and colour are the header CELL's decision, so they stay\n // overridable through the table's own `styles`. See `HeaderCell`.\n preset: 'inherit',\n color: 'inherit',\n // Zero: `Item` applies this to the label only, which would indent the label\n // but not an icon beside it. The padding below sits on the `Item` box\n // instead, so it moves whatever is actually first in the row.\n '$inline-padding': 0,\n\n /**\n * The indent, per side, chosen for optical rather than geometric alignment.\n *\n * Text lines up with the body text below it at the full cell padding. An\n * icon does not: at this size it is a small, light shape, and the same 16px\n * reads as a gap — 8px sits right. A trailing icon (the sort arrow) wants\n * none at all, so it hangs at the column edge rather than floating short of\n * it.\n *\n * The `padding` shorthand rather than `paddingInline`: `Item` writes its own\n * `padding`, and a shorthand landing after a longhand wipes it — the\n * longhand form compiled away silently and every column kept the default.\n *\n * One map keeps the four icon combinations explicit.\n */\n padding: {\n '': '0 $cell-padding-x',\n 'has-icon': '1x left, $cell-padding-x right',\n 'has-right-icon': '$cell-padding-x left',\n 'has-icon & has-right-icon': '1x left',\n },\n // The `<th>` owns the interaction paint — neutralise Item's own ramp so the\n // two do not stack.\n fill: {\n '': '#clear',\n hovered: '#clear',\n pressed: '#clear',\n selected: '#clear',\n },\n // The default `c2` header preset uppercases its text. That is right for the\n // column name and wrong for the sentence explaining it.\n Description: { textTransform: 'none' },\n },\n});\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAoBA,MAAMK,eAAeL,UAAU;CAC7B,MAAM,EAAE,iBAAiB,UAAU;CACnC,QAAQ,EAAE,iBAAiB,QAAO;CACnC,CAAC;;;;;;AAOF,MAAMM,cAAsB;CAC1BC,WA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O;EACvC;CACD,CAAC"}
1
+ {"version":3,"file":"styled.js","names":["keyframes","tasty","Action","Item","Styles","refreshSweep","CELL_STYLES","boxSizing","height","padding","textAlign","verticalAlign","overflow","whiteSpace","paddingBlock","paddingInline","fill","color","opacity","position","insetInlineStart","insetInlineEnd","zIndex","shadow","radius","transition","TableElement","qa","styles","$dim","display","gridRows","gridColumns","border","Scroller","$","gridRow","outline","scrollbar","userSelect","overscrollBehavior","Table","stale","maskImage","maskSize","animation","animationPlayState","tableLayout","borderCollapse","borderSpacing","width","preset","Head","inset","HeadRow","HeaderGroupCell","HeaderCell","cursor","Resizer","top","bottom","right","touchAction","outlineOffset","ResizerLine","left","translate","ColumnDropIndicator","RowLink","focused","DropIndicatorRow","DropIndicatorCell","lineHeight","fontSize","DropIndicator","RowNumber","fontVariantNumeric","RowActions","placeContent","placeItems","TreeContent","alignItems","gap","minWidth","TreeValue","flexGrow","flexShrink","flexBasis","TreeToggle","SelectionBox","SortIndicator","Body","Row","insetBlockStart","insetBlockEnd","Cell","fontWeight","textDecoration","ColumnSpacer","StateCell","StateContent","Overlay","pointerEvents","Foot","FootRow","FootCell","TREE_TOGGLE_STYLES","TableTreeToggle","TableTreeTogglePlaceholder","TableHeaderItem","as","hovered","pressed","selected","Description","textTransform","Item"],"sources":["../../../../src/components/data/TableBase/styled.ts"],"sourcesContent":["import { keyframes, tasty } from '@tenphi/tasty';\n\nimport { Action } from '../../actions/Action/Action';\nimport { Item } from '../../content/Item';\n\nimport type { Styles } from '@tenphi/tasty';\n\n/**\n * The refresh sweep: a band of reduced opacity travelling left to right, the\n * way ag-grid marks a grid that is reloading.\n *\n * A mask rather than a coloured overlay, so the band genuinely lowers the\n * content's opacity instead of painting a surface-coloured stripe over it. That\n * costs nothing in theming — the gradient is pure black and alpha, with no\n * colour token to resolve — and it stays correct on any backdrop.\n *\n * `mask-position` runs 100% → 0% because a mask wider than its box moves the\n * OPPOSITE way to the position value: raising it slides the image left, which\n * would send the band right to left.\n */\nconst refreshSweep = keyframes({\n '0%': { 'mask-position': '100% 0' },\n '100%': { 'mask-position': '0% 0' },\n});\n\n/**\n * Geometry shared by the cells of every row group. They cannot share a\n * sub-element key, so they share a const — the same technique `Item.tsx` uses\n * for `DEFAULT_ICON_STYLES`.\n */\nconst CELL_STYLES: Styles = {\n boxSizing: 'border-box',\n // Row height lives on the CELLS, not the `<tr>`: table layout ignores\n // `min-height` on a row, and sizes it from its cells instead. `height` on a\n // cell is treated as a minimum, so a wrapping or auto-height cell still grows\n // the row.\n //\n // Cells are `border-box` and carry the 1px row separator, so the border is\n // added on top: `$row-height` is the content box, and a default row occupies\n // 41px in total.\n height: '($row-height + 1bw)',\n padding: '$cell-padding-y $cell-padding-x',\n textAlign: {\n '': 'start',\n '@own(align=center)': 'center',\n '@own(align=end)': 'end',\n },\n verticalAlign: 'middle',\n overflow: 'hidden',\n // An `autoHeight` column wraps and lets its row grow. `height` on a cell is a\n // minimum in table layout, so the declared row height stays the floor.\n whiteSpace: { '': 'nowrap', '@own(wrap)': 'normal' },\n paddingBlock: { '': '$cell-padding-y', '@own(wrap)': '1x' },\n // The checkbox column is a square affordance, not content: it centres its\n // control and contributes no inline padding of its own.\n paddingInline: {\n '': '$cell-padding-x',\n '@own(kind=selection) | @own(kind=actions)': 0,\n },\n // Pinned cells overlay the scrolling ones, so they must be opaque. Reading\n // the row's inherited paint tokens means every row state is matched for free\n // — no duplicated state matrix, no chance of the two drifting apart.\n // Reading the row's inherited paint tokens means every row state is matched\n // for free. A selected cell steps out of that and takes a flat accent tint:\n // without it a wide range is a mesh of per-cell rings rather than one block,\n // and the row's hover would keep moving underneath a selection the user has\n // already committed to.\n /**\n * One more level of indirection than the row publishes, and the level a\n * per-column tint plugs into.\n *\n * An untinted cell is simply its row. A tinted one swaps its own base and text\n * — see `column-tint.ts`, which generates a `@own(tint=…)` branch per distinct\n * column colour and merges it in through `styles.Cell` / `styles.HeaderCell`.\n *\n * The tint is pre-composed into the BASE rather than stacked as a second\n * overlay, because `fill` has exactly two layers and the interaction paint\n * needs the other one. That is what keeps hover, focus, selection and\n * drop-target working over a tinted column instead of being displaced by it —\n * and it is why the row band has to reach the cell (`data-odd` is mirrored onto\n * body cells) rather than staying on the `<tr>`.\n */\n '#cell-base': '#row-base',\n '#cell-text': '#row-text',\n fill: {\n '': '#cell-base #row-overlay',\n '@own(cell-selected)': '#cell-base #purple.10',\n },\n color: '#cell-text',\n opacity: '$dim',\n position: { '': 'static', '@own(pin=start | pin=end)': 'sticky' },\n insetInlineStart: { '': 'auto', '@own(pin=start)': '$pin-offset' },\n insetInlineEnd: { '': 'auto', '@own(pin=end)': '$pin-offset' },\n zIndex: { '': 'auto', '@own(pin=start | pin=end)': 1 },\n // The innermost pinned column needs an edge, or content scrolling underneath\n // reads as part of the pinned group. An inset box-shadow rather than a border\n // so it costs no column width, and `#border` rather than `#shadow` so it\n // matches the row dividers instead of reading as a hard black line on a dark\n // surface.\n // The pinned column's edge, and the selected cell's ring. Both are inset\n // shadows and both share this map, so the two compose rather than one\n // clobbering the other on a pinned selected cell.\n //\n // The ring is a shadow rather than an `outline`: an outline is drawn OUTSIDE\n // the box, and pulling it back with a negative `outlineOffset` needs a value\n // tasty will not resolve (`-1bw`), so the ring came out a pixel oversized on\n // every side — over the row divider above and the column rule to the left. An\n // inset shadow lands exactly on the cell's own edges and costs no layout.\n shadow: {\n '': false,\n '@own(pin-edge) & @own(pin=start)': 'inset -1bw 0 0 0 #border',\n '@own(pin-edge) & @own(pin=end)': 'inset 1bw 0 0 0 #border',\n '@own(cell-selected)': 'inset 0 0 0 1bw #purple',\n '@own(cell-selected) & @own(pin-edge) & @own(pin=start)':\n 'inset 0 0 0 1bw #purple, inset -1bw 0 0 0 #border',\n '@own(cell-selected) & @own(pin-edge) & @own(pin=end)':\n 'inset 0 0 0 1bw #purple, inset 1bw 0 0 0 #border',\n },\n // The frame's rounded corner, mirrored onto the cell that meets it. Without\n // it a selected cell there has its ring sliced off at 45°, since the root\n // clips with a radius. One border-width smaller than the frame's, because the\n // cell sits inside the frame's own border.\n radius: {\n '': 0,\n // `1cr` is the card radius (`--card-radius`), used directly rather than\n // aliased onto a token of our own — and emphatically not onto `$radius`,\n // which is the kit's GLOBAL radius. Declaring that here handed every\n // Button, Input and Tag rendered inside a cell the card's 10px instead of\n // the 6px they inherit everywhere else, and took every `1r`/`2r` unit in\n // the subtree with it.\n '@own(corner=start)': '(1cr - 1bw) bottom-left',\n '@own(corner=end)': '(1cr - 1bw) bottom-right',\n },\n // The vertical rule, resolved in two steps so the border maps below stay\n // small. `$column-rule` is the TABLE's answer (root-level `column-dividers`);\n // this narrows it per cell.\n //\n // A WIDTH rather than a colour. A transparent 1px border still occupies its\n // px: with `border-box` cells that quietly took a pixel of content width from\n // every column of every table, dividers or not.\n //\n // The trailing column is exempt: its rule lands flush against the frame in\n // `card` shape and reads as a doubled edge, and in `plain` shape it is a line\n // hanging off the end of the table with nothing after it.\n '$column-divider': { '': '$column-rule', '@own(last-column)': '0px' },\n transition: 'fill',\n};\n\nexport const TableElement = tasty({\n qa: 'Table',\n styles: {\n /* ── tokens the root owns ─────────────────────────────────────────── */\n // Rows are 40px at the default size and the header is one step tighter at\n // 32px — the proportion the Cloud tables use. Each is the content height;\n // the 1px separator is added on top (see `CELL_STYLES.height`).\n '$row-height': {\n '': '$size-lg',\n 'size=xsmall': '$size-sm',\n 'size=small': '$size-md',\n 'size=large': '$size-xl',\n 'size=xlarge': '7x',\n },\n '$header-height': {\n '': '$size-md',\n 'size=xsmall': '$size-xs',\n 'size=small': '$size-sm',\n 'size=large': '$size-lg',\n 'size=xlarge': '$size-xl',\n },\n // 16px. Matches the `cellHorizontalPadding` the Cloud tables ship (ag-grid's\n // own default is 15px, which is off the 8px grid).\n '$cell-padding-x': '2x',\n '$cell-padding-y': 0,\n '$pin-offset': '0px',\n $dim: 1,\n '$link-decoration': 'none',\n '$resizer-hit': '1x',\n '$resizer-offset': '-.5x',\n '$resizer-line-width': '1bw',\n '#resizer-line': '#clear',\n // Vertical rules between columns: on for a grid read down a column, off for\n // a list read across a row. See `TableView`'s `hasColumnDividers`.\n '$column-rule': { '': '0px', 'column-dividers': '1bw' },\n // Neutral defaults so a cell rendered outside a row still paints sanely.\n '#row-base': '#surface',\n '#row-overlay': '#clear',\n '#row-text': '#surface-text',\n // The cell-level pair defaults to the row's, and a tinted column overrides\n // its own — see `CELL_STYLES`. Declared here too so the chain has a root even\n // for a cell that is somehow outside a row.\n '#cell-base': '#row-base',\n '#cell-text': '#row-text',\n\n /* ── frame ────────────────────────────────────────────────────────── */\n display: 'grid',\n gridRows: 'max-content minmax(0, 1fr) max-content',\n gridColumns: 'minmax(0, 1fr)',\n position: 'relative',\n boxSizing: 'border-box',\n fill: '#surface',\n color: '#surface-text',\n radius: { '': 0, 'shape=card': '1cr' },\n border: { '': false, 'shape=card': true },\n overflow: 'hidden',\n // Bounded by the consumer (`height` / `maxHeight`). There is no page-scroll\n // mode: an unbounded table simply sizes to its content.\n height: 'max 100%',\n\n /* ── the single scroller ──────────────────────────────────────────── */\n Scroller: {\n $: '>',\n gridRow: 2,\n position: 'relative',\n overflow: 'auto',\n /**\n * No focus ring of its own.\n *\n * The scroller takes `tabIndex={-1}` so a cell press can move focus here\n * and the range's shortcuts (Escape, ⌘/Ctrl+C) have somewhere to land. It\n * is a mechanism, not a control the user aimed at — but the browser does\n * not know that, and drew its default `outline: auto` around the whole\n * scrollport. Three edges are clipped by the frame's `overflow: hidden`,\n * so what actually shipped was a stray line across the bottom of the\n * table, right above the footer.\n *\n * Nothing is lost by removing it: focus only ever arrives here alongside a\n * selected cell, and that cell draws its own ring.\n *\n * `'none'`, not `false` — tasty reads `false` as \"no ring of the kit's\n * own\" and emits no declaration at all, which leaves the browser's default\n * in place. Verified: with `false` the Scroller's rule carried no\n * `outline` property.\n */\n outline: 'none',\n // A reserved gutter stops an appearing scrollbar from reflowing every\n // column. With one scroller for head and body there is nothing else to\n // keep in sync — this is the whole reason for the native-table design.\n scrollbar: 'thin stable',\n // Locked per axis, and only on an axis that can actually scroll.\n //\n // `none` rather than `contain`: both stop a swipe at the scroll edge from\n // chaining to the page — which is what keeps a horizontal flick from\n // triggering browser back-navigation — but `contain` still allows the\n // rubber-band bounce, and bouncing a table drags its rows away from the\n // sticky header and shows blank surface behind them.\n //\n // The non-scrollable axis stays `auto` on purpose. Chrome applies\n // overscroll rules to any `overflow: auto` element, including one whose\n // content fits, so locking both axes unconditionally makes a five-row\n // table swallow the wheel and pin the page behind it.\n // While a range drag is in progress the pointer is painting cells, not\n // text — without this a drag across the grid leaves every cell it passed\n // highlighted blue underneath the range.\n userSelect: { '': 'auto', 'range-dragging': 'none' },\n overscrollBehavior: {\n '': 'auto',\n 'scroll-x & scroll-y': 'none',\n 'scroll-x & !scroll-y': 'none auto',\n '!scroll-x & scroll-y': 'auto none',\n },\n },\n\n Table: {\n $: '> Scroller >',\n // The whole table fades while a refresh is in flight — header included.\n // Dimming only the rows left the header at full strength, which read as\n // though the columns were current and only the data was not.\n opacity: { '': 1, stale: 0.5 },\n // `#black` throughout, but only its ALPHA is doing anything: a gradient\n // mask defaults to `mask-mode: alpha`, so the colour channel is discarded\n // and `#black.4` is simply \"40% through\". Any opaque token would render\n // identically — `#black` is the conventional way to write it.\n maskImage: {\n '': 'none',\n stale:\n 'linear-gradient(90deg, #black 0%, #black 35%, #black.4 50%, #black 65%, #black 100%)',\n // A flat, fully opaque mask is a no-op, so there is nothing to sweep —\n // the table still fades, it just does not move. A loading state can\n // last a long time, and this one would otherwise animate continuously\n // beside the data with no way to stop it.\n '@media(prefers-reduced-motion)':\n 'linear-gradient(90deg, #black 0%, #black 100%)',\n },\n // Three times the width, so the band is a third of the table and there is\n // an opaque stretch either side of it. The default `repeat` tiles\n // seamlessly, both ends of the gradient being fully opaque.\n //\n // oxlint's `tasty(known-property)` flags this — its property list has\n // `maskImage` but not `maskSize`, in either spelling. Tasty passes an\n // unknown key through as raw CSS, so it emits fine: verified computing to\n // `300% 100%` with the sweep running. The warning is the linter's gap.\n maskSize: '300% 100%',\n animation: {\n '': 'none',\n stale: `${refreshSweep} 1.4s linear infinite`,\n },\n // Belt and braces with the flat mask above, and the same shape `Spin`\n // already uses.\n animationPlayState: {\n '': 'running',\n '@media(prefers-reduced-motion)': 'paused',\n },\n transition: 'opacity',\n // `fixed` makes `<colgroup>` authoritative, so the header and the body\n // are guaranteed to agree on every column width.\n tableLayout: 'fixed',\n // `separate` is required: with `collapse`, a sticky `<thead>` loses its\n // borders and they scroll away with the content.\n borderCollapse: 'separate',\n borderSpacing: 0,\n // The exact width is set inline from the resolved layout; this is only\n // the pre-measurement fallback.\n width: '100%',\n preset: 't3',\n },\n\n /* ── head ─────────────────────────────────────────────────────────── */\n Head: {\n $: '> Scroller > Table >',\n position: { '': 'static', 'sticky-header': 'sticky' },\n inset: { '': 'auto', 'sticky-header': '0 top' },\n zIndex: 2,\n },\n HeadRow: {\n $: '> Scroller > Table > Head >',\n position: 'relative',\n // Header rows never carry interaction paint; neutralise the inherited\n // tokens so nothing can leak in from a row above.\n '#row-base': '#surface-2',\n '#row-overlay': '#clear',\n '#row-text': '#dark-03',\n $dim: 1,\n },\n HeaderGroupCell: {\n $: '> Scroller > Table > Head > HeadRow >',\n // eslint-disable-next-line tasty/no-style-spread -- cell geometry shared by the cells of every row group\n ...CELL_STYLES,\n padding: 0,\n paddingInline: 0,\n height: '($header-height + 1bw)',\n preset: 't3m',\n border: '1bw #border bottom, $column-divider #border right',\n fill: '#surface-3',\n userSelect: 'none',\n position: { '': 'relative', '@own(pin=start | pin=end)': 'sticky' },\n overflow: 'hidden',\n zIndex: { '': 'auto', '@own(pin=start | pin=end)': 3 },\n },\n HeaderCell: {\n $: '> Scroller > Table > Head > HeadRow >',\n // eslint-disable-next-line tasty/no-style-spread -- cell geometry shared by the cells of every row group\n ...CELL_STYLES,\n // No padding at all: the `Item` inside fills the cell edge to edge and\n // supplies the indent itself, per side. That is what lets a leading icon\n // sit tighter than text and a trailing icon sit flush — see\n // `TableHeaderItem`.\n //\n // `paddingInline` as well as the shorthand: the shared cell styles set\n // the longhand for the checkbox column, and a longhand arriving through\n // the spread outlives a `padding: 0` written after it.\n padding: 0,\n paddingInline: 0,\n height: '($header-height + 1bw)',\n // The header's typography lives here rather than on the `Item`, so a\n // consumer can restyle it through `headerCellStyles` / `styles.HeaderCell`.\n // The adapter supplies the real default via `headerPreset`; this is only\n // the fallback for a `TableView` rendered without one.\n preset: 't3m',\n border: '1bw #border bottom, $column-divider #border right',\n zIndex: { '': 'auto', '@own(pin=start | pin=end)': 3 },\n fill: {\n '': '#cell-base #row-overlay',\n '(@own(sortable) & @own(:hover)) | @own(menu-open)':\n '#cell-base #surface-text.04',\n },\n // `pointer` wins on a sortable header: sorting is the primary action, and a\n // native drag needs movement while a click does not, so both still work.\n // `grab` is only honest where there is nothing else to click.\n cursor: {\n '': 'default',\n '@own(sortable)': 'pointer',\n '@own(draggable) & !@own(sortable)': 'grab',\n '@own(dragging)': 'grabbing',\n },\n // Matches the row being dragged.\n opacity: { '': 1, '@own(dragging)': 0.4 },\n userSelect: 'none',\n // The containing block for `Resizer`. Cells are `static` by default, so\n // without this every handle resolves against the scroller instead and\n // they all stack up at its right edge.\n position: { '': 'relative', '@own(pin=start | pin=end)': 'sticky' },\n // A cell clips its overflow so a long label cannot bleed into its\n // neighbour, but the resize handle straddles the boundary on purpose and\n // would lose its outer half. Only cells that actually have one opt out.\n overflow: { '': 'hidden', '@own(resizable)': 'visible' },\n /**\n * How visible the sort arrow is when the column is NOT sorted — read by\n * `SortIndicator`.\n *\n * Published as an inherited custom property because a sub-element's state\n * keys resolve against the ROOT, not its DOM parent: from inside\n * `SortIndicator`, `@own(:hover)` asks whether the 16px arrow itself is\n * hovered, not the header cell it sits in. Same mechanism as `$dim` and\n * `$resizer-offset`.\n *\n * `:focus-visible` as well as `:hover`, so a keyboard user gets the same\n * hint.\n */\n '$sort-hint': {\n '': 0,\n '@own(sortable) & (@own(:hover) | @own(:focus-visible))': 0.4,\n },\n // How far the handle hangs past this cell's trailing edge — read by\n // `Resizer`. Published as an inherited custom property rather than asked\n // for from the handle with `@parent(...)`: a sub-element's state keys\n // resolve against the ROOT, so the handle cannot ask about the cell it\n // sits in (the same reason `#row-base` and `$link-decoration` exist).\n //\n // The trailing column has no neighbour to straddle. Left hanging, it puts\n // half its width past the table and the scroller gains a few pixels of\n // horizontal scroll onto blank space.\n '$resizer-offset': { '': '-.5x', '@own(last-column)': '0px' },\n },\n\n /**\n * The column resize handle, on the header cell's trailing edge.\n *\n * Positioned with longhands rather than an `inset` shorthand: the\n * arithmetic form compiled to garbage (`32px -24px 1px 16px`), which put\n * the handle inside the body and collapsed its height. It sits fully inside\n * the cell, so there is no negative offset to get wrong.\n */\n Resizer: {\n $: '> Scroller > Table > Head > HeadRow > HeaderCell >',\n position: 'absolute',\n top: 0,\n bottom: 0,\n // Centred on the boundary rather than tucked inside the cell: a handle\n // you can only grab from one side of the line is half a target, and the\n // focus ring would sit visibly off to the left of the edge it resizes.\n // The offset is half of `$resizer-hit`.\n right: '$resizer-offset',\n // A 1px line is impossible to grab, so the hit area is wider than it.\n width: '$resizer-hit',\n zIndex: 2,\n cursor: 'col-resize',\n touchAction: 'none',\n outline: {\n '': 'none',\n '@own(:focus-visible)': '1bw #focus',\n },\n outlineOffset: '1bw',\n\n /**\n * The line is a real child, not `&::after`: state maps inside a\n * pseudo-element block do not compile — `width` and `fill` both came out\n * empty — so the handle's own state is published as tokens instead, the\n * same mechanism `#row-base` and `$link-decoration` use.\n */\n // Drawn at rest so the handle is discoverable — except when the table\n // already rules its columns, where the cell's own border is that line and\n // a second one 4px away reads as a doubled edge. (`column-dividers` has no\n // `@own`: bare keys resolve against the root, which is where it lives.)\n '#resizer-line': {\n '': '#border',\n 'column-dividers': '#clear',\n '@own(:hover) | @own(:focus-visible)': '#purple',\n },\n '$resizer-line-width': {\n '': '1bw',\n '@own(:hover) | @own(:focus-visible)': '2bw',\n },\n },\n\n /**\n * The visible column edge. Drawn at rest rather than only on hover — an\n * affordance you have to find by hovering an 8px strip is one nobody finds.\n * A table that rules its columns already draws that edge, so there the line\n * only appears under the cursor (see `#resizer-line`).\n */\n ResizerLine: {\n $: '> Scroller > Table > Head > HeadRow > HeaderCell > Resizer >',\n // Absolute rather than flex-aligned: `placeContent` maps to\n // `align-content justify-content`, so the obvious-looking `'end center'`\n // silently centred the line instead of ending it.\n //\n // Centred inside the handle, which is itself centred on the boundary, so\n // the line lands exactly on the edge it represents and a thicker hover\n // state grows evenly to both sides.\n position: 'absolute',\n top: 0,\n bottom: 0,\n left: '50%',\n translate: '-50% 0',\n width: '$resizer-line-width',\n fill: '#resizer-line',\n transition: 'theme',\n },\n\n /**\n * Where a dragged column would land.\n *\n * A distinct sub-element NAME from the row's `DropIndicator` rather than a\n * second selector chain on the same one: two entries whose chains differ is\n * exactly the shape that produced an indicator matching nothing at all.\n *\n * Positioned fully INSIDE the cell box. `HeaderCell` is `overflow: hidden`\n * and only opts out to `visible` when it is resizable, so the centred\n * `translate: -50%` the resizer line uses would lose its outer half on every\n * non-resizable column.\n */\n ColumnDropIndicator: {\n $: '> Scroller > Table > Head > HeadRow > HeaderCell >',\n position: 'absolute',\n top: 0,\n bottom: 0,\n width: '2bw',\n insetInlineStart: { '': 'auto', '@own(position=before)': 0 },\n insetInlineEnd: { '': 'auto', '@own(position=after)': 0 },\n fill: '#purple',\n radius: '1r',\n // Above the pinned header cell (3) and the resize handle (2).\n zIndex: 4,\n },\n\n /**\n * Centres the checkbox in its cell. A `<td>` cannot be a flex container\n * without dropping out of table layout, so the centring lives on a wrapper\n * inside it.\n *\n * Descendant rather than direct-child, so one entry covers both the header\n * cell and the body cells.\n */\n /**\n * The stretched row link. A `<tr>` cannot be wrapped in an `<a>`, so the\n * anchor sits in the row-header cell and covers the row through `inset`.\n * Its text comes from the row-header cell, so the accessible name is the\n * row's name rather than \"link\".\n *\n * Below the cells' own content in the stacking order, so an in-cell button\n * or menu trigger still takes its own clicks.\n */\n RowLink: {\n $: '> Scroller > Table > Body > Row > Cell >',\n position: 'absolute',\n inset: 0,\n zIndex: 0,\n // The row already paints hover and focus; the link must add nothing.\n fill: '#clear',\n radius: 0,\n outline: {\n '': 'none',\n // Keyboard focus still has to be visible, even though the row is what\n // the user perceives as focused.\n focused: '1bw #focus',\n },\n },\n\n /**\n * The line showing where a dragged row would land.\n *\n * Its own row, because a native table cannot hold an arbitrary element\n * between two rows — the shape `ListBox` uses with `<li>`.\n *\n * The row and its cell collapse to nothing and the line is positioned out\n * of flow, so inserting one mid-drag does not push the rows apart. The line\n * then sits *over* the divider it replaces rather than beside it.\n */\n DropIndicatorRow: {\n $: '> Scroller > Table > Body >',\n height: 0,\n },\n\n DropIndicatorCell: {\n $: '> Scroller > Table > Body > DropIndicatorRow >',\n // Every one of these matters: a `<td>` carries UA padding, and any of\n // them left in place gives the row real height and shifts the table.\n padding: 0,\n border: 0,\n height: 0,\n lineHeight: 0,\n fontSize: 0,\n // The containing block for the line below.\n position: 'relative',\n overflow: 'visible',\n },\n\n DropIndicator: {\n $: '> Scroller > Table > Body > DropIndicatorRow > DropIndicatorCell >',\n position: 'absolute',\n insetInlineStart: 0,\n insetInlineEnd: 0,\n top: 0,\n height: '2bw',\n // Centred on the boundary, so it covers the row divider instead of\n // sitting above or below it.\n translate: '0 -50%',\n fill: '#purple',\n radius: '1r',\n zIndex: 3,\n outline: {\n '': 'none',\n // `@own`, not a bare `:focus-visible`: a sub-element's state keys\n // resolve against the ROOT, so the plain form asked whether the whole\n // table was focused. This is the keyboard drop target and needs its own.\n '@own(:focus-visible)': '2bw #purple',\n },\n outlineOffset: '1bw',\n },\n\n /**\n * Row numbers. Muted and tabular so they read as a ruler down the side\n * rather than as a data column competing with the real ones.\n */\n RowNumber: {\n $: '> Scroller > Table > Body > Row > Cell',\n color: '#surface-text-soft',\n fontVariantNumeric: 'tabular-nums',\n },\n\n /** Wraps the `⋮` trigger so it centres without becoming a table cell box. */\n RowActions: {\n $: '> Scroller > Table > Body > Row > Cell >',\n position: 'relative',\n // Above `RowLink`, or the stretched anchor would swallow its clicks.\n zIndex: 1,\n display: 'flex',\n placeContent: 'center',\n placeItems: 'center',\n height: '100%',\n },\n\n /**\n * Hierarchy chrome inside the consumer-selected tree column. The wrapper\n * owns indentation so custom renderers, links and text truncation all move\n * together as one row label.\n */\n TreeContent: {\n $: '> Scroller > Table > Body > Row > Cell >',\n display: 'flex',\n alignItems: 'center',\n gap: '.5x',\n minWidth: 0,\n padding: 'left ($tree-indent * 2x)',\n '$tree-indent': '($tree-level, 0)',\n },\n\n TreeValue: {\n $: '> Scroller > Table > Body > Row > Cell > TreeContent >',\n flexGrow: 1,\n flexShrink: 1,\n flexBasis: 0,\n minWidth: 0,\n overflow: 'hidden',\n },\n\n TreeToggle: {\n $: '> Scroller > Table > Body > Row > Cell > TreeContent >',\n flexGrow: 0,\n flexShrink: 0,\n flexBasis: 'auto',\n },\n\n SelectionBox: {\n $: '> Scroller > Table',\n display: 'flex',\n placeContent: 'center',\n placeItems: 'center',\n height: '100%',\n },\n\n /**\n * The sort arrow. Lives in the header `Item`'s `suffix`, so it participates\n * in the header's grid rather than overlapping the label. Reserved space\n * even when unsorted — otherwise the label shifts on every sort.\n */\n SortIndicator: {\n // Descendant, not direct child: the indicator is handed to the header\n // `Item` as a slot, so it renders inside Item's own `RightIcon` (or\n // `Suffix`) wrapper rather than directly under the `<th>`.\n $: '> Scroller > Table > Head > HeadRow > HeaderCell',\n display: 'grid',\n placeItems: 'center',\n width: '2x',\n height: '2x',\n color: '#surface-text',\n // Hovering a sortable header previews the arrow it would get; sorting for\n // real makes it solid. `$sort-hint` is the header cell's answer — see\n // there for why this cannot just ask about hover itself.\n //\n // The preview points the right way for free: `data-dir` is absent while\n // unsorted, so the `scale` map below leaves the chevron pointing up, and\n // the first press of an unsorted column sorts ascending. The hint predicts\n // the press rather than just advertising that one is possible.\n opacity: {\n '': '$sort-hint',\n '@own(sorted)': 1,\n },\n // No `scale` flip any more: `TableView` renders the real\n // `ArrowNarrowDownIcon` for `desc` rather than turning the up arrow over,\n // so there is no transform left to animate. `opacity` still is — that is\n // the hover hint fading in.\n transition: 'opacity',\n },\n\n /* ── body ─────────────────────────────────────────────────────────── */\n Body: {\n $: '> Scroller > Table >',\n },\n Row: {\n $: '> Scroller > Table > Body >',\n // `position: relative` (below) is also the containing block for\n // `RowLink`, which stretches over the whole row from inside the\n // row-header cell, and for the drop indicator.\n /**\n * Totals and subtotals, pinned to the edges of the scroller.\n *\n * They live in `<tbody>` so they keep ordinary row styling, so the\n * stickiness has to be stated here. The top offset is the header's own\n * height — a pinned row sticks *under* the header, not over it.\n */\n position: { '': 'relative', '@own(pinned)': 'sticky' },\n insetBlockStart: {\n '': 'auto',\n '@own(pinned=top)': '($header-height + 1bw)',\n },\n insetBlockEnd: { '': 'auto', '@own(pinned=bottom)': 0 },\n zIndex: { '': 'auto', '@own(pinned)': 1 },\n\n // The row being dragged, and a row that would receive a drop *on* it.\n // Landing *between* rows is drawn by `DropIndicator` instead.\n opacity: { '': 1, '@own(dragging)': 0.4 },\n // An inset shadow rather than an outline: an outline on a `<tr>` is drawn\n // outside the row and overlaps its neighbours, and `inside` is not a\n // modifier `outline` accepts.\n shadow: {\n '': false,\n '@own(drop-target)': 'inset 0 0 0 2bw #purple',\n },\n cursor: {\n '': 'default',\n '@own(clickable)': 'pointer',\n '@own(draggable)': 'grab',\n '@own(dragging)': 'grabbing',\n },\n\n /* ─── the row state matrix ─────────────────────────────────────────\n * Keep base, interaction overlay and text/dimming independent so each\n * responsibility can change without enumerating their combinations.\n *\n * 1. `odd` and `pinned` choose the opaque `#row-base`.\n * 2. Interaction states choose `#row-overlay`.\n * 3. `dimmed` and `disabled` choose `#row-text`; `dimmed` drives `$dim`.\n * ────────────────────────────────────────────────────────────────── */\n '#row-base': {\n '': '#surface',\n '@own(odd)': '#surface-2',\n // Opaque and distinct, because scrolling rows pass underneath it.\n '@own(pinned)': '#surface-3',\n },\n '#row-overlay': {\n '': '#surface-text.0',\n '@own(:hover)': '#surface-text.04',\n '@own(focused)': '#surface-text.06',\n '@own(selected)': '#surface-text.09',\n '@own(selected & :hover)': '#surface-text.12',\n '@own(drop-target)': '#purple.10',\n '@own(disabled)': '#surface-text.02',\n },\n '#row-text': {\n '': '#surface-text',\n '@own(dimmed)': '#surface-text-soft',\n '@own(disabled)': '#surface-text-soft-2',\n },\n $dim: {\n '': 1,\n '@own(dimmed)': 0.6,\n },\n // Read by a row-header cell that carries a `rowLink`.\n '$link-decoration': {\n '': 'none',\n '@own(:hover)': 'underline',\n },\n },\n Cell: {\n $: '> Scroller > Table > Body > Row >',\n // eslint-disable-next-line tasty/no-style-spread -- cell geometry shared by the cells of every row group\n ...CELL_STYLES,\n // A row-header cell is a `<th>`, which the UA renders bold. Weight is the\n // table's decision, not the tag's — and a UA rule beats inheritance, so it\n // has to be stated. Deliberately NOT in the shared cell styles: the header\n // cell is a `<th>` as well, and there this would overwrite the weight its\n // `preset` sets.\n fontWeight: {\n '': 'inherit',\n // A row-header cell carrying a `rowLink` reads as a link, so it takes\n // the weight `Link` does — colour alone is easy to miss in a dense\n // table, and there is nothing else marking the row as navigable.\n '@own(link)': 600,\n },\n color: {\n '': '#cell-text',\n '@own(link)': '#purple-text',\n },\n // Underline only while the row is hovered, matching how the kit's `Link`\n // stays undecorated at rest.\n //\n // Read from a token the Row publishes rather than asking about the row\n // from here: a sub-element's state keys resolve against the *root*, and\n // `@parent(:hover)` did not constrain the rule at all — every linked cell\n // came out underlined. Custom properties inherit through the DOM and\n // ignore selector context, which is the same mechanism `$dim` and\n // `#row-text` already use.\n textDecoration: {\n '': 'none',\n '@own(link)': '$link-decoration',\n },\n // A bottom border separates two rows, so the last row has nothing to\n // separate from. Whenever something else already draws that closing edge\n // — the frame in `card` shape, or the footer's own top border — the row's\n // border lands on top of it and reads as one thick 2px line.\n //\n // `last-row` is stamped on the cell by the renderer rather than derived\n // in CSS, for two reasons:\n //\n // 1. Virtualization. The window is padded with spacer `<tr>`s, so\n // mid-scroll the last *mounted* row is not `:last-child` — the\n // trailing spacer is. A structural selector would move the missing\n // border around as you scroll; the stamped flag always marks the\n // last row of the DATA.\n // 2. `@parent(:last-child, >)` asks \"is my parent the last child of my\n // grandparent\". Asked from the Row that is a question about the\n // table body, identical for every row, and an ancestor-constant\n // condition inside a mutually-exclusive map silently deletes the\n // default's `:not(...)` branch — which is how an earlier attempt\n // removed every divider at once. (`@own(:last-child)` is the form\n // that varies per row, but see 1.)\n //\n // `column-dividers` has no `@own`: a sub-element's bare state keys resolve\n // against the ROOT, which is exactly right here — the vertical rule is a\n // property of the table, not of one cell.\n //\n // Two groups, so the horizontal and the vertical rule vary independently:\n // the trailing group's width is `$column-divider`, which already knows\n // whether this table rules its columns and whether this is the last one.\n // Directions a group does not name come out zero-width, which is how the\n // middle entry drops the bottom edge without touching the rule.\n border: {\n '': '1bw #border bottom, $column-divider #border right',\n // The frame or the footer already draws the closing edge; a second one\n // on top of it reads as a single 2px line.\n '(shape=card | has-footer) & @own(last-row)':\n '$column-divider #border right',\n // A pinned bottom row opens the pinned group, so the divider goes above\n // it — the last scrolling row has already dropped its own bottom edge,\n // and a total sitting at the frame's edge needs nothing below.\n '@own(pinned=bottom)': '1bw #border top, $column-divider #border right',\n },\n },\n\n ColumnSpacer: {\n $: '> Scroller > Table > Body > Row >',\n boxSizing: 'border-box',\n height: '($row-height + 1bw)',\n padding: 0,\n fill: '#row-base #row-overlay',\n opacity: '$dim',\n border: {\n '': '1bw #border bottom',\n '(shape=card | has-footer) & @own(last-row)': 0,\n '@own(pinned=bottom)': '1bw #border top',\n },\n },\n\n /**\n * The single full-span cell that carries the empty / no-results / error\n * content.\n *\n * Deliberately NOT a `Cell`: a `Cell` paints `#row-base`/`#row-overlay`, so\n * the state content picked up the row's banding and hover fill and lit up\n * under the cursor as though it were a row of data to click. It is not a\n * row, so it does not read the row's paint tokens at all.\n */\n StateCell: {\n $: '> Scroller > Table > Body > Row >',\n boxSizing: 'border-box',\n fill: '#surface',\n color: '#surface-text',\n border: false,\n textAlign: 'center',\n verticalAlign: 'middle',\n },\n\n /**\n * Empty / no-results / error content. Rendered as a full-span cell inside\n * the table rather than as an absolutely-positioned overlay, so the column\n * header stays visible and nothing has to be excluded from the scroll area.\n */\n StateContent: {\n $: '> Scroller > Table > Body > Row > StateCell >',\n display: 'grid',\n placeItems: 'center',\n placeContent: 'center',\n gap: '1x',\n padding: '8x 2x',\n preset: 't3',\n color: '#surface-text-soft',\n textAlign: 'center',\n },\n\n /* ── foot (pinned totals) ─────────────────────────────────────────── */\n /* ── consumer overlay ─────────────────────────────────────────────── */\n /**\n * Sits over the Scroller, not inside it, so it stays put while the rows\n * underneath remain scrollable and readable.\n *\n * A refresh does NOT use this — it sweeps the table itself (see `Table`).\n * A spinner parked in the middle of the rows covered the very content the\n * \"keep showing the previous result\" behaviour exists to preserve.\n */\n Overlay: {\n $: '>',\n gridRow: 2,\n position: 'absolute',\n inset: 0,\n display: 'flex',\n placeContent: 'center',\n placeItems: 'center',\n // No scrim: the body already dims itself, and a second layer of dimming\n // over the same rows only makes the previous result harder to read — the\n // one thing this behaviour exists to preserve.\n zIndex: 3,\n pointerEvents: 'none',\n },\n\n Foot: {\n $: '> Scroller > Table >',\n position: 'sticky',\n inset: '0 bottom',\n zIndex: 2,\n },\n FootRow: {\n $: '> Scroller > Table > Foot >',\n position: 'relative',\n '#row-base': '#surface-2',\n '#row-overlay': '#clear',\n '#row-text': '#surface-text',\n $dim: 1,\n },\n FootCell: {\n $: '> Scroller > Table > Foot > FootRow >',\n // eslint-disable-next-line tasty/no-style-spread -- cell geometry shared by the cells of every row group\n ...CELL_STYLES,\n border: '1bw #border top',\n preset: 't3m',\n },\n },\n});\n\nconst TREE_TOGGLE_STYLES: Styles = {\n display: 'grid',\n placeItems: 'center',\n placeContent: 'center',\n flexGrow: 0,\n flexShrink: 0,\n flexBasis: 'auto',\n width: '3x',\n height: '3x',\n radius: true,\n transition: 'theme',\n};\n\n/** Disclosure control rendered in the configured tree column. */\nexport const TableTreeToggle = tasty(Action, {\n qa: 'TableTreeToggle',\n styles: {\n // eslint-disable-next-line tasty/no-style-spread -- shared with TableTreeTogglePlaceholder so leaf rows keep the toggle footprint\n ...TREE_TOGGLE_STYLES,\n color: { '': '#dark-02', ':hover': '#dark' },\n fill: { '': '#clear', ':hover': '#dark.04' },\n },\n});\n\n/** Leaf placeholder matching the disclosure control's footprint. */\nexport const TableTreeTogglePlaceholder = tasty({\n styles: TREE_TOGGLE_STYLES,\n});\n\n/**\n * The header cell's content. `Item` lives INSIDE the `<th>`, never as the `<th>`\n * itself — it emits `aria-selected` whenever `isSelected` is set (in\n * `renderItemElement`, unless the row sets `aria-pressed`), which on a\n * `columnheader` would claim the column is selected rather than sorted.\n *\n * Keeping it inside also means the `<th>` owns the interaction fill while\n * `Item` contributes only layout, and — the real prize — `Item`'s `Actions`\n * slot already stops click/pointer/Enter/Space propagation, so pressing a\n * column menu can never trigger the sort.\n */\nexport const TableHeaderItem = tasty(Item, {\n as: 'div',\n // Deliberately NOT `type=\"header\"`. That maps Item's preset onto the heading\n // scale via state rules that outrank a plain override, and it renders the\n // label as an `<h3>`, which would put every column name into the document\n // outline.\n styles: {\n // `Item` is `inline-grid`; the header cell needs it to fill the `<th>`\n // horizontally. Same fix as `TreeRowItem` in Tree/styled.ts. Its height is\n // left alone so it keeps its natural `medium` size rather than stretching\n // to whatever the row height happens to be.\n display: 'grid',\n width: '100%',\n radius: 0,\n // `Item` reserves a 1px transparent border for its focus/hover treatments.\n // The `<th>` owns those here, and the border would inset the label by 1px\n // against the body cells below.\n border: 0,\n // Typography and colour are the header CELL's decision, so they stay\n // overridable through the table's own `styles`. See `HeaderCell`.\n preset: 'inherit',\n color: 'inherit',\n // Zero: `Item` applies this to the label only, which would indent the label\n // but not an icon beside it. The padding below sits on the `Item` box\n // instead, so it moves whatever is actually first in the row.\n '$inline-padding': 0,\n\n /**\n * The indent, per side, chosen for optical rather than geometric alignment.\n *\n * Text lines up with the body text below it at the full cell padding. An\n * icon does not: at this size it is a small, light shape, and the same 16px\n * reads as a gap — 8px sits right. A trailing icon (the sort arrow) wants\n * none at all, so it hangs at the column edge rather than floating short of\n * it.\n *\n * The `padding` shorthand rather than `paddingInline`: `Item` writes its own\n * `padding`, and a shorthand landing after a longhand wipes it — the\n * longhand form compiled away silently and every column kept the default.\n *\n * One map keeps the four icon combinations explicit.\n */\n padding: {\n '': '0 $cell-padding-x',\n 'has-icon': '1x left, $cell-padding-x right',\n 'has-right-icon': '$cell-padding-x left',\n 'has-icon & has-right-icon': '1x left',\n },\n // The `<th>` owns the interaction paint — neutralise Item's own ramp so the\n // two do not stack.\n fill: {\n '': '#clear',\n hovered: '#clear',\n pressed: '#clear',\n selected: '#clear',\n },\n // The default `c2` header preset uppercases its text. That is right for the\n // column name and wrong for the sentence explaining it.\n Description: { textTransform: 'none' },\n },\n});\n"],"mappings":";;;;;;;;;;;;;;;;;;AAoBA,MAAMK,eAAeL,UAAU;CAC7B,MAAM,EAAE,iBAAiB,SAAS;CAClC,QAAQ,EAAE,iBAAiB,OAAO;AACpC,CAAC;;;;;;AAOD,MAAMM,cAAsB;CAC1BC,WAAW;CASXC,QAAQ;CACRC,SAAS;CACTC,WAAW;EACT,IAAI;EACJ,sBAAsB;EACtB,mBAAmB;CACrB;CACAC,eAAe;CACfC,UAAU;CAGVC,YAAY;EAAE,IAAI;EAAU,cAAc;CAAS;CACnDC,cAAc;EAAE,IAAI;EAAmB,cAAc;CAAK;CAG1DC,eAAe;EACb,IAAI;EACJ,6CAA6C;CAC/C;;;;;;;;;;;;;;;;CAwBA,cAAc;CACd,cAAc;CACdC,MAAM;EACJ,IAAI;EACJ,uBAAuB;CACzB;CACAC,OAAO;CACPC,SAAS;CACTC,UAAU;EAAE,IAAI;EAAU,6BAA6B;CAAS;CAChEC,kBAAkB;EAAE,IAAI;EAAQ,mBAAmB;CAAc;CACjEC,gBAAgB;EAAE,IAAI;EAAQ,iBAAiB;CAAc;CAC7DC,QAAQ;EA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HhB,UAAU;GACV,aAAa;GACb,gBAAgB;GAChB,aAAa;GACbU,MAAM;EACR;EACA4E,UAAU;GACRtE,GAAG;GAEH,GAAG7B;GACH2B,QAAQ;GACRkB,QAAQ;EACV;CACF;AACF,CAAC;AAED,MAAMuD,qBAA6B;CACjC5E,SAAS;CACTiD,YAAY;CACZD,cAAc;CACdO,UAAU;CACVC,YAAY;CACZC,WAAW;CACXrC,OAAO;CACP1C,QAAQ;CACRgB,QAAQ;CACRC,YAAY;AACd;;AAGA,MAAakF,kBAAkB1G,MAAMC,QAAQ;CAC3CyB,IAAI;CACJC,QAAQ;EAEN,GAAG8E;EACHzF,OAAO;GAAE,IAAI;GAAY,UAAU;EAAQ;EAC3CD,MAAM;GAAE,IAAI;GAAU,UAAU;EAAW;CAC7C;AACF,CAAC;;AAGD,MAAa4F,6BAA6B3G,MAAM,EAC9C2B,QAAQ8E,mBACV,CAAC;;;;;;;;;;;;AAaD,MAAaG,kBAAkB5G,MAAME,OAAM;CACzC2G,IAAI;CAKJlF,QAAQ;EAKNE,SAAS;EACToB,OAAO;EACP1B,QAAQ;EAIRS,QAAQ;EAGRkB,QAAQ;EACRlC,OAAO;EAIP,mBAAmB;;;;;;;;;;;;;;;;EAiBnBR,SAAS;GACP,IAAI;GACJ,YAAY;GACZ,kBAAkB;GAClB,6BAA6B;EAC/B;EAGAO,MAAM;GACJ,IAAI;GACJ+F,SAAS;GACTC,SAAS;GACTC,UAAU;EACZ;EAGAC,aAAa,EAAEC,eAAe,OAAO;CACvC;AACF,CAAC"}
@@ -0,0 +1,2 @@
1
+
2
+ import { Key } from "@react-types/shared";
@@ -1,4 +1,4 @@
1
- /** @license MIT | @cube-dev/ui-kit v0.196.0 | Cube Dev Team */
1
+ /** @license MIT | @cube-dev/ui-kit v0.198.0 | Cube Dev Team */
2
2
  //#region src/components/data/TableBase/table-tree.ts
3
3
  /** Build identity and parent/child indexes without modifying consumer rows. */
4
4
  function buildTableTree(rows, getChildren, getKey) {
@@ -123,7 +123,7 @@ function isTableTreeDescendant(model, possibleDescendant, ancestor) {
123
123
  }
124
124
  return false;
125
125
  }
126
-
127
126
  //#endregion
128
127
  export { buildTableTree, filterTableTree, flattenTableTree, isTableTreeDescendant, reindexTableTree, sortTableTree };
128
+
129
129
  //# sourceMappingURL=table-tree.js.map