@ensi-platform/admin-ui 0.13.2 → 0.14.1

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 (259) hide show
  1. package/dist/{Component-BhZC1r4b.js → Component-BJz78zCJ.js} +2 -2
  2. package/dist/{Component-BhZC1r4b.js.map → Component-BJz78zCJ.js.map} +1 -1
  3. package/dist/{Component-DV6H96-0.js → Component-BbslNbTq.js} +2 -2
  4. package/dist/{Component-DV6H96-0.js.map → Component-BbslNbTq.js.map} +1 -1
  5. package/dist/{Component-CS-9-L8S.js → Component-Bs-kDKZf.js} +3 -3
  6. package/dist/{Component-CS-9-L8S.js.map → Component-Bs-kDKZf.js.map} +1 -1
  7. package/dist/{Component-kqMyROjC.js → Component-DHBQ3LMI.js} +2 -2
  8. package/dist/{Component-kqMyROjC.js.map → Component-DHBQ3LMI.js.map} +1 -1
  9. package/dist/{Component-BoAQ166N.js → Component-DNQetS8Y.js} +3 -3
  10. package/dist/{Component-BoAQ166N.js.map → Component-DNQetS8Y.js.map} +1 -1
  11. package/dist/Component-Q_eH0Y9C.js +870 -0
  12. package/dist/Component-Q_eH0Y9C.js.map +1 -0
  13. package/dist/{Component-CMdJyqc-.js → Component-Qhj0uSjq.js} +2 -2
  14. package/dist/{Component-CMdJyqc-.js.map → Component-Qhj0uSjq.js.map} +1 -1
  15. package/dist/{Component-CiwX3wP8.js → Component-Zja2mwzK.js} +2 -2
  16. package/dist/{Component-CiwX3wP8.js.map → Component-Zja2mwzK.js.map} +1 -1
  17. package/dist/{Component-B6OSgrmp.js → Component-jpe2PT8K.js} +3 -3
  18. package/dist/{Component-B6OSgrmp.js.map → Component-jpe2PT8K.js.map} +1 -1
  19. package/dist/{Component-BBzbDcdq.js → Component-yeVZUFid.js} +2 -2
  20. package/dist/{Component-BBzbDcdq.js.map → Component-yeVZUFid.js.map} +1 -1
  21. package/dist/{Search-CS1rsu-f.js → Search-dQa9wT3n.js} +3 -3
  22. package/dist/{Search-CS1rsu-f.js.map → Search-dQa9wT3n.js.map} +1 -1
  23. package/dist/Star-JBCU7DBD.js +28 -0
  24. package/dist/Star-JBCU7DBD.js.map +1 -0
  25. package/dist/action-popup/index.js +2 -2
  26. package/dist/active-filters/index.js +1 -1
  27. package/dist/arrangement-settings/index.js +2 -2
  28. package/dist/assets/Component16.css +1 -1
  29. package/dist/assets/index.css +1 -1
  30. package/dist/assets/index12.css +1 -1
  31. package/dist/assets/index15.css +1 -1
  32. package/dist/assets/index16.css +1 -1
  33. package/dist/assets/index17.css +1 -1
  34. package/dist/assets/index18.css +1 -1
  35. package/dist/assets/index22.css +1 -1
  36. package/dist/assets/index27.css +1 -1
  37. package/dist/assets/index28.css +1 -1
  38. package/dist/assets/index29.css +1 -1
  39. package/dist/assets/index30.css +1 -1
  40. package/dist/assets/index31.css +1 -1
  41. package/dist/assets/index32.css +1 -1
  42. package/dist/assets/index33.css +1 -1
  43. package/dist/assets/index34.css +1 -1
  44. package/dist/assets/index35.css +1 -0
  45. package/dist/assets/index9.css +1 -1
  46. package/dist/autocomplete/index.js +1 -1
  47. package/dist/autocomplete-async/Component.d.ts.map +1 -1
  48. package/dist/autocomplete-async/index.js +98 -92
  49. package/dist/autocomplete-async/index.js.map +1 -1
  50. package/dist/bottom-sheet/index.js +2 -2
  51. package/dist/cascade-menu/index.js +4 -4
  52. package/dist/color-field/index.js +24 -24
  53. package/dist/color-field/index.js.map +1 -1
  54. package/dist/color-picker/index.js +1 -1
  55. package/dist/combobox/components/MultiTrigger/index.d.ts.map +1 -1
  56. package/dist/combobox/components/Trigger/index.d.ts +1 -0
  57. package/dist/combobox/components/Trigger/index.d.ts.map +1 -1
  58. package/dist/combobox/index.d.ts +1 -1
  59. package/dist/combobox/index.d.ts.map +1 -1
  60. package/dist/combobox/index.js +15 -14
  61. package/dist/copy-button/index.js +1 -1
  62. package/dist/data-table/Component.d.ts +1 -1
  63. package/dist/data-table/index.js +2 -2
  64. package/dist/date-picker/Component.d.ts.map +1 -1
  65. package/dist/date-picker/index.js +142 -134
  66. package/dist/date-picker/index.js.map +1 -1
  67. package/dist/date-range-picker/Component.d.ts.map +1 -1
  68. package/dist/date-range-picker/index.js +150 -142
  69. package/dist/date-range-picker/index.js.map +1 -1
  70. package/dist/drawer/index.js +1 -1
  71. package/dist/dropzone/index.js +2 -2
  72. package/dist/flex-layout/Component.d.ts +1 -1
  73. package/dist/flex-layout/Component.d.ts.map +1 -1
  74. package/dist/flex-layout/index.js +60 -52
  75. package/dist/flex-layout/index.js.map +1 -1
  76. package/dist/flex-layout/types.d.ts +10 -1
  77. package/dist/flex-layout/types.d.ts.map +1 -1
  78. package/dist/grid-layout/Component.d.ts +1 -1
  79. package/dist/grid-layout/Component.d.ts.map +1 -1
  80. package/dist/grid-layout/index.js +57 -53
  81. package/dist/grid-layout/index.js.map +1 -1
  82. package/dist/grid-layout/types.d.ts +6 -0
  83. package/dist/grid-layout/types.d.ts.map +1 -1
  84. package/dist/{hooks-Di5rgHTG.js → hooks-BSSTu-2y.js} +3 -2
  85. package/dist/{hooks-Di5rgHTG.js.map → hooks-BSSTu-2y.js.map} +1 -1
  86. package/dist/icons/AlignCenter.d.ts +7 -0
  87. package/dist/icons/AlignCenter.d.ts.map +1 -0
  88. package/dist/icons/AlignJustify.d.ts +7 -0
  89. package/dist/icons/AlignJustify.d.ts.map +1 -0
  90. package/dist/icons/AlignLeft.d.ts +7 -0
  91. package/dist/icons/AlignLeft.d.ts.map +1 -0
  92. package/dist/icons/AlignRight.d.ts +7 -0
  93. package/dist/icons/AlignRight.d.ts.map +1 -0
  94. package/dist/icons/Anchor.d.ts +7 -0
  95. package/dist/icons/Anchor.d.ts.map +1 -0
  96. package/dist/icons/Bold.d.ts +7 -0
  97. package/dist/icons/Bold.d.ts.map +1 -0
  98. package/dist/icons/Code.d.ts +7 -0
  99. package/dist/icons/Code.d.ts.map +1 -0
  100. package/dist/icons/HorizontalRule.d.ts +7 -0
  101. package/dist/icons/HorizontalRule.d.ts.map +1 -0
  102. package/dist/icons/Indent.d.ts +7 -0
  103. package/dist/icons/Indent.d.ts.map +1 -0
  104. package/dist/icons/Italic.d.ts +7 -0
  105. package/dist/icons/Italic.d.ts.map +1 -0
  106. package/dist/icons/Link.d.ts +7 -0
  107. package/dist/icons/Link.d.ts.map +1 -0
  108. package/dist/icons/List.d.ts +7 -0
  109. package/dist/icons/List.d.ts.map +1 -0
  110. package/dist/icons/ListOrdered.d.ts +7 -0
  111. package/dist/icons/ListOrdered.d.ts.map +1 -0
  112. package/dist/icons/Maximize.d.ts +7 -0
  113. package/dist/icons/Maximize.d.ts.map +1 -0
  114. package/dist/icons/Outdent.d.ts +7 -0
  115. package/dist/icons/Outdent.d.ts.map +1 -0
  116. package/dist/icons/Palette.d.ts +7 -0
  117. package/dist/icons/Palette.d.ts.map +1 -0
  118. package/dist/icons/Quote.d.ts +7 -0
  119. package/dist/icons/Quote.d.ts.map +1 -0
  120. package/dist/icons/Redo.d.ts +7 -0
  121. package/dist/icons/Redo.d.ts.map +1 -0
  122. package/dist/icons/Smile.d.ts +7 -0
  123. package/dist/icons/Smile.d.ts.map +1 -0
  124. package/dist/icons/Star.d.ts +7 -0
  125. package/dist/icons/Star.d.ts.map +1 -0
  126. package/dist/icons/Strike.d.ts +7 -0
  127. package/dist/icons/Strike.d.ts.map +1 -0
  128. package/dist/icons/Subscript.d.ts +7 -0
  129. package/dist/icons/Subscript.d.ts.map +1 -0
  130. package/dist/icons/Superscript.d.ts +7 -0
  131. package/dist/icons/Superscript.d.ts.map +1 -0
  132. package/dist/icons/Table.d.ts +7 -0
  133. package/dist/icons/Table.d.ts.map +1 -0
  134. package/dist/icons/Underline.d.ts +7 -0
  135. package/dist/icons/Underline.d.ts.map +1 -0
  136. package/dist/icons/Undo.d.ts +7 -0
  137. package/dist/icons/Undo.d.ts.map +1 -0
  138. package/dist/icons/Video.d.ts +7 -0
  139. package/dist/icons/Video.d.ts.map +1 -0
  140. package/dist/icons/index.d.ts +27 -0
  141. package/dist/icons/index.d.ts.map +1 -1
  142. package/dist/icons/index.js +709 -177
  143. package/dist/icons/index.js.map +1 -1
  144. package/dist/index-BVJblFhG.js +275 -0
  145. package/dist/index-BVJblFhG.js.map +1 -0
  146. package/dist/index-DtpMocgp.js +106 -0
  147. package/dist/index-DtpMocgp.js.map +1 -0
  148. package/dist/{index-BAFoUNz-.js → index-o14ps46j.js} +2 -2
  149. package/dist/{index-BAFoUNz-.js.map → index-o14ps46j.js.map} +1 -1
  150. package/dist/input/index.js +1 -1
  151. package/dist/loader/index.js +1 -1
  152. package/dist/mask/index.js +1 -1
  153. package/dist/menu-list/index.js +1 -1
  154. package/dist/{metrics-CaN_sENu.js → metrics-D4vChkd-.js} +2 -2
  155. package/dist/{metrics-CaN_sENu.js.map → metrics-D4vChkd-.js.map} +1 -1
  156. package/dist/modal/index.js +1 -1
  157. package/dist/multi-autocomplete/index.js +1 -1
  158. package/dist/multi-autocomplete-async/index.js +1 -1
  159. package/dist/multi-select/index.js +2 -2
  160. package/dist/number-input/index.js +1 -1
  161. package/dist/number-range/index.js +1 -1
  162. package/dist/password/index.js +2 -2
  163. package/dist/provider/context.d.ts.map +1 -1
  164. package/dist/provider/index.js +2 -2
  165. package/dist/provider/types.d.ts +2 -0
  166. package/dist/provider/types.d.ts.map +1 -1
  167. package/dist/rating/Component.d.ts +5 -0
  168. package/dist/rating/Component.d.ts.map +1 -0
  169. package/dist/rating/FormRating.d.ts +6 -0
  170. package/dist/rating/FormRating.d.ts.map +1 -0
  171. package/dist/rating/components/Star/index.d.ts +14 -0
  172. package/dist/rating/components/Star/index.d.ts.map +1 -0
  173. package/dist/rating/components/Star/theme.d.ts +5 -0
  174. package/dist/rating/components/Star/theme.d.ts.map +1 -0
  175. package/dist/rating/components/Track/index.d.ts +41 -0
  176. package/dist/rating/components/Track/index.d.ts.map +1 -0
  177. package/dist/rating/index.d.ts +4 -0
  178. package/dist/rating/index.d.ts.map +1 -0
  179. package/dist/rating/index.js +361 -0
  180. package/dist/rating/index.js.map +1 -0
  181. package/dist/rating/theme.d.ts +5 -0
  182. package/dist/rating/theme.d.ts.map +1 -0
  183. package/dist/rating/types.d.ts +56 -0
  184. package/dist/rating/types.d.ts.map +1 -0
  185. package/dist/rating/utils.d.ts +11 -0
  186. package/dist/rating/utils.d.ts.map +1 -0
  187. package/dist/select/index.js +1 -1
  188. package/dist/suggest-checklist/index.js +3 -3
  189. package/dist/table/Component.d.ts +3 -3
  190. package/dist/table/components/Cell/index.d.ts +1 -1
  191. package/dist/table/components/Cell/index.d.ts.map +1 -1
  192. package/dist/table/components/Cell/theme.d.ts +1 -0
  193. package/dist/table/components/Cell/theme.d.ts.map +1 -1
  194. package/dist/table/components/CheckboxCell/index.d.ts.map +1 -1
  195. package/dist/table/components/HeaderCell/index.d.ts +1 -1
  196. package/dist/table/components/HeaderCell/index.d.ts.map +1 -1
  197. package/dist/table/components/HeaderCell/theme.d.ts +1 -0
  198. package/dist/table/components/HeaderCell/theme.d.ts.map +1 -1
  199. package/dist/table/components/HeaderCheckboxCell/index.d.ts.map +1 -1
  200. package/dist/table/components/Row/index.d.ts +1 -1
  201. package/dist/table/components/Row/index.d.ts.map +1 -1
  202. package/dist/table/components/Row/types.d.ts +6 -0
  203. package/dist/table/components/Row/types.d.ts.map +1 -1
  204. package/dist/table/components/TableElement/index.d.ts.map +1 -1
  205. package/dist/table/hooks/useTablePin.d.ts +6 -0
  206. package/dist/table/hooks/useTablePin.d.ts.map +1 -0
  207. package/dist/table/index.js +1 -1
  208. package/dist/table/types.d.ts +5 -1
  209. package/dist/table/types.d.ts.map +1 -1
  210. package/dist/table/utils.d.ts +45 -1
  211. package/dist/table/utils.d.ts.map +1 -1
  212. package/dist/tabs/index.js +1 -1
  213. package/dist/tag/index.js +1 -1
  214. package/dist/textarea/index.js +1 -1
  215. package/dist/time-field/Component.d.ts.map +1 -1
  216. package/dist/time-field/index.js +87 -79
  217. package/dist/time-field/index.js.map +1 -1
  218. package/dist/toast/index.js +2 -2
  219. package/dist/typography/index.js +1 -1
  220. package/dist/{utils-qHAuIhao.js → utils-C3l0oYwN.js} +9 -9
  221. package/dist/utils-C3l0oYwN.js.map +1 -0
  222. package/dist/vertical-tabs/index.js +1 -1
  223. package/docs/design-language.md +14 -13
  224. package/package.json +5 -1
  225. package/src/autocomplete/docs/Description.md +2 -0
  226. package/src/autocomplete-async/docs/Description.md +1 -1
  227. package/src/badge/docs/cssVariables.ts +3 -3
  228. package/src/bottom-sheet/docs/cssVariables.ts +1 -1
  229. package/src/cascade-menu/docs/cssVariables.ts +7 -7
  230. package/src/color-field/docs/cssVariables.ts +8 -2
  231. package/src/data-table/docs/Description.md +2 -1
  232. package/src/date-picker/docs/cssVariables.ts +4 -0
  233. package/src/date-range-picker/docs/cssVariables.ts +4 -0
  234. package/src/ds/tokens/docs/Description.md +2 -1
  235. package/src/flex-layout/docs/Description.md +3 -1
  236. package/src/flex-layout/types.ts +11 -1
  237. package/src/grid-layout/docs/Description.md +3 -1
  238. package/src/grid-layout/types.ts +6 -0
  239. package/src/link/docs/cssVariables.ts +1 -1
  240. package/src/provider/docs/cssVariables.ts +1 -1
  241. package/src/provider/types.ts +2 -0
  242. package/src/rating/docs/Description.md +47 -0
  243. package/src/rating/docs/Example.md +9 -0
  244. package/src/rating/docs/cssVariables.ts +14 -0
  245. package/src/rating/types.ts +69 -0
  246. package/src/table/docs/Description.md +10 -8
  247. package/src/table/docs/Example.md +22 -5
  248. package/src/table/docs/cssVariables.ts +8 -3
  249. package/src/table/types.ts +6 -1
  250. package/src/time-field/docs/cssVariables.ts +4 -0
  251. package/src/toast/docs/cssVariables.ts +4 -4
  252. package/src/tooltip/docs/cssVariables.ts +2 -2
  253. package/dist/Component-DmKmX7so.js +0 -712
  254. package/dist/Component-DmKmX7so.js.map +0 -1
  255. package/dist/index-BHUJOcwj.js +0 -85
  256. package/dist/index-BHUJOcwj.js.map +0 -1
  257. package/dist/index-Co6mzXrw.js +0 -262
  258. package/dist/index-Co6mzXrw.js.map +0 -1
  259. package/dist/utils-qHAuIhao.js.map +0 -1
@@ -1,10 +1,10 @@
1
1
  export const docsCssVariables = `/* CSS variables — CascadeMenu (--aui-cascade-menu-*)
2
- * Light/default values below (semantic.css). Dark remap: black-900 / grey-700 in semantic.dark.css.
2
+ * Light/default values below (semantic.css). Dark remaps page, surface, and control only.
3
3
  */
4
- --aui-cascade-menu-bg-primary: var(--aui-neutral-50); /* L0 — off-white in light, page black in dark */
4
+ --aui-cascade-menu-bg-primary: var(--aui-page-bg-subtle); /* L0 — matches the page; the divider is the edge */
5
5
  --aui-cascade-menu-fg-primary: var(--aui-page-fg-primary); /* primary text / logo currentColor */
6
6
  --aui-cascade-menu-fg-muted: var(--aui-page-fg-muted); /* secondary text on L0 */
7
- --aui-cascade-menu-border-divider: var(--aui-surface-border-primary); /* footer / edges / L0+flyout border-right; dark = white 12% */
7
+ --aui-cascade-menu-border-divider: var(--aui-surface-border-primary); /* footer / edges / L0+flyout border-right */
8
8
  --aui-cascade-menu-border-focus: var(--aui-control-border-focus); /* focus / resize hover */
9
9
  --aui-cascade-menu-w-md: 280px; /* default L0 width token (resize 200–400) */
10
10
  --aui-cascade-menu-w-collapsed: 64px; /* collapsed rail width */
@@ -21,11 +21,11 @@ export const docsCssVariables = `/* CSS variables — CascadeMenu (--aui-cascade
21
21
  --aui-cascade-menu-user-pad-y-md: var(--aui-spacing-12); /* footer top pad */
22
22
  --aui-cascade-menu-handle-w: 4px; /* resize line width */
23
23
  --aui-cascade-menu-handle-delay: 400ms; /* hover dwell before the resize line thickens; drag skips it */
24
- --aui-cascade-menu-item-bg-hover: var(--aui-surface-bg-muted); /* L0 item / user / collapse hover; dark = grey-700 */
24
+ --aui-cascade-menu-item-bg-hover: var(--aui-surface-bg-muted); /* L0 item / user / collapse hover */
25
25
  --aui-cascade-menu-item-bg-active: transparent; /* current leaf — no fill (breadcrumbs own “where am I”) */
26
- --aui-cascade-menu-item-bg-active-hover: var(--aui-surface-bg-muted); /* current leaf hover = same as hover; dark = grey-700 */
27
- --aui-cascade-menu-item-bg-open: var(--aui-surface-bg-muted); /* open folder / path fill; dark = grey-700 */
28
- --aui-cascade-menu-item-bg-open-hover: var(--aui-surface-bg-muted-hover); /* open folder hover; dark = white 8% on grey-700 */
26
+ --aui-cascade-menu-item-bg-active-hover: var(--aui-surface-bg-muted); /* current leaf hover = same as hover */
27
+ --aui-cascade-menu-item-bg-open: var(--aui-surface-bg-muted); /* open folder / path fill */
28
+ --aui-cascade-menu-item-bg-open-hover: var(--aui-surface-bg-muted-hover); /* open folder hover */
29
29
  --aui-cascade-menu-nested-bg: var(--aui-cascade-menu-bg-primary); /* flyout fill = L0 chrome */
30
30
  --aui-cascade-menu-nested-shadow: none; /* full-height panel flush to L0 — no elevation */
31
31
  --aui-cascade-menu-z: var(--aui-z-chrome); /* L0 stacking context — above sticky table, below dropdown */
@@ -13,8 +13,14 @@ export const docsCssVariables = `--aui-color-field-bg-primary: var(--aui-input-b
13
13
  --aui-color-field-pad-x-md: var(--aui-input-pad-x-md); /* padding-x md */
14
14
  --aui-color-field-pad-x-lg: var(--aui-input-pad-x-lg); /* padding-x lg */
15
15
  --aui-color-field-gap-md: var(--aui-spacing-8); /* gap inside the field */
16
- --aui-color-field-icon-size: var(--aui-spacing-16); /* clear icon size */
17
- --aui-color-field-icon-hit: var(--aui-spacing-24); /* clear icon hit area */
16
+ --aui-color-field-icon-size-sm: var(--aui-spacing-12); /* clear icon size sm */
17
+ --aui-color-field-icon-size-md: var(--aui-spacing-16); /* clear icon size md */
18
+ --aui-color-field-icon-size-lg: var(--aui-spacing-20); /* clear icon size lg */
19
+ --aui-color-field-icon-hit-sm: var(--aui-spacing-16); /* clear icon hit sm */
20
+ --aui-color-field-icon-hit-md: var(--aui-spacing-24); /* clear icon hit md */
21
+ --aui-color-field-icon-hit-lg: var(--aui-spacing-32); /* clear icon hit lg */
22
+ --aui-color-field-icon-size: var(--aui-color-field-icon-size-md); /* alias of md */
23
+ --aui-color-field-icon-hit: var(--aui-color-field-icon-hit-md); /* alias of md */
18
24
  --aui-color-field-clear-radius: var(--aui-control-radius-sm); /* clear button radius */
19
25
  --aui-color-field-swatch-sm: var(--aui-spacing-16); /* trigger swatch sm */
20
26
  --aui-color-field-swatch-md: var(--aui-spacing-20); /* trigger swatch md */
@@ -28,6 +28,7 @@ Slots: `Header` / `Body` / `Footer` / `Row` / `Cell` / `HeaderCell` / `CheckboxC
28
28
  - The root renders the scroll area and `<table>`. `Header` and `Body` sit inside the table, `Footer` sits outside
29
29
  - `HeaderCell`: `column` and `sortable`. Without `Filter`, sorting is a header click (`none` → `asc` → `desc` → `none`). Switching column clears the previous one
30
30
  - `Filter` is the drop body inside `HeaderCell`. `active` colors the icon. No slot — no drop. When the column is `sortable`, sort actions sit under the filter
31
- - `Row` `onContextMenu` is the right click, the same prop as on a `Table` row. The row does not open a menu
31
+ - `Cell` / `HeaderCell` `pin` and `Row` `pin` match `Table`. Checkbox cells stay pinned to the start
32
+ - `Row` `onContextMenu` is the right click, the same prop as on a `Table` row. The row does not open a menu. `active` keeps `--aui-table-bg-hover`, including on a checked row, while the screen keeps the menu open
32
33
  - `Actions` is a quiet “⋯” button with `onClick`. It stays visible, with no fill. The row assembly decides what the click opens
33
34
  - `Pagination` and `PageSize` match `Table` and usually live in `Footer`
@@ -18,8 +18,12 @@ export const docsCssVariables = `/* CSS variables — DatePicker (--aui-date-pic
18
18
  --aui-date-picker-pad-x-lg: var(--aui-input-pad-x-lg); /* padding-x lg */
19
19
  --aui-date-picker-gap-md: var(--aui-spacing-8); /* md gap */
20
20
 
21
+ --aui-date-picker-icon-size-sm: var(--aui-spacing-12); /* icon size sm */
21
22
  --aui-date-picker-icon-size-md: var(--aui-spacing-16); /* icon size md */
23
+ --aui-date-picker-icon-size-lg: var(--aui-spacing-20); /* icon size lg */
24
+ --aui-date-picker-icon-hit-sm: var(--aui-spacing-16); /* icon hit sm */
22
25
  --aui-date-picker-icon-hit-md: var(--aui-spacing-24); /* icon hit md */
26
+ --aui-date-picker-icon-hit-lg: var(--aui-spacing-32); /* icon hit lg */
23
27
 
24
28
  --aui-date-picker-clear-radius-md: var(--aui-control-radius-sm); /* clear control radius md */
25
29
 
@@ -18,8 +18,12 @@ export const docsCssVariables = `/* CSS variables — DateRangePicker (--aui-dat
18
18
  --aui-date-range-picker-pad-x-lg: var(--aui-date-picker-pad-x-lg); /* padding-x lg */
19
19
  --aui-date-range-picker-gap-md: var(--aui-date-picker-gap-md); /* md gap */
20
20
 
21
+ --aui-date-range-picker-icon-size-sm: var(--aui-date-picker-icon-size-sm); /* icon size sm */
21
22
  --aui-date-range-picker-icon-size-md: var(--aui-date-picker-icon-size-md); /* icon size md */
23
+ --aui-date-range-picker-icon-size-lg: var(--aui-date-picker-icon-size-lg); /* icon size lg */
24
+ --aui-date-range-picker-icon-hit-sm: var(--aui-date-picker-icon-hit-sm); /* icon hit sm */
22
25
  --aui-date-range-picker-icon-hit-md: var(--aui-date-picker-icon-hit-md); /* icon hit md */
26
+ --aui-date-range-picker-icon-hit-lg: var(--aui-date-picker-icon-hit-lg); /* icon hit lg */
23
27
 
24
28
  --aui-date-range-picker-clear-radius-md: var(--aui-date-picker-clear-radius-md); /* clear control radius md */
25
29
 
@@ -19,6 +19,7 @@ An app layout may use only these:
19
19
  | Token | Role |
20
20
  | --- | --- |
21
21
  | `--aui-page-bg-primary` | page fill |
22
+ | `--aui-page-bg-subtle` | sidebar, matches the page; the divider is the edge |
22
23
  | `--aui-page-fg-primary` | page text |
23
24
  | `--aui-page-fg-muted` | secondary text |
24
25
  | `--aui-page-fg-link` | link text (underline; same as page text) |
@@ -27,4 +28,4 @@ An app layout may use only these:
27
28
  | `--aui-surface-bg-elevated` | raised surface |
28
29
  | `--aui-surface-border-primary` | zone stroke, when the zone has no fill |
29
30
 
30
- Primitive scales (`--aui-neutral-*`, `--aui-grey-*`, `--aui-red-*`, radius, spacing) are not for app CSS. Screen layers and hex roles — `docs/design-language.md`.
31
+ Primitive scales (`--aui-neutral-*`, `--aui-red-*`, radius, spacing) are not for app CSS. Screen layers and hex roles — `docs/design-language.md`.
@@ -17,7 +17,9 @@ Equal field columns use `GridLayout`.
17
17
  | Prop | Values | Default | Description |
18
18
  | ------------ | ---------------------------------------------- | --------- | ------------------------- |
19
19
  | `direction` | `row` \| `column` | `row` | axis |
20
- | `gap` | `0` \| `4` \| `8` \| `12` \| `16` \| … \| `64` | `16` | gap, a spacing-scale step |
20
+ | `gap` | `0` \| `4` \| `8` \| `12` \| `16` \| … \| `64` | `16` | gap on both axes |
21
+ | `rowGap` | `0` \| `4` \| `8` \| `12` \| `16` \| … \| `64` | `gap` | vertical gap, else `gap` |
22
+ | `columnGap` | `0` \| `4` \| `8` \| `12` \| `16` \| … \| `64` | `gap` | horizontal gap, else `gap` |
21
23
  | `align` | `start` \| `center` \| `end` \| `stretch` | `stretch` | cross-axis alignment |
22
24
  | `justify` | `start` \| `center` \| `end` \| `between` | `start` | main-axis distribution |
23
25
  | `wrap` | `boolean` | `false` | wrap onto the next line |
@@ -1,4 +1,4 @@
1
- import { type ComponentPropsWithRef, type ReactNode, type Ref } from 'react';
1
+ import { type CSSProperties, type ComponentPropsWithRef, type ReactNode, type Ref } from 'react';
2
2
 
3
3
  import { type IDataTestIdProps } from '@ds/common';
4
4
 
@@ -21,6 +21,10 @@ export interface IFlexLayoutOwnProps extends IDataTestIdProps {
21
21
  direction?: TFlexLayoutDirection;
22
22
  /** Gap between items. */
23
23
  gap?: TFlexLayoutGap;
24
+ /** Row gap. Overrides gap. */
25
+ rowGap?: TFlexLayoutGap;
26
+ /** Column gap. Overrides gap. */
27
+ columnGap?: TFlexLayoutGap;
24
28
  /** Cross-axis alignment. */
25
29
  align?: TFlexLayoutAlign;
26
30
  /** Main-axis distribution. */
@@ -45,3 +49,9 @@ export interface IFlexLayoutItemOwnProps extends IDataTestIdProps {
45
49
 
46
50
  export interface IFlexLayoutItemProps
47
51
  extends Omit<ComponentPropsWithRef<'div'>, keyof IFlexLayoutItemOwnProps | 'children'>, IFlexLayoutItemOwnProps {}
52
+
53
+ /** Inline axis gaps written by FlexLayout. */
54
+ export interface IFlexLayoutStyle extends CSSProperties {
55
+ '--aui-flex-layout-row-gap'?: string;
56
+ '--aui-flex-layout-column-gap'?: string;
57
+ }
@@ -16,7 +16,9 @@ import { GridLayout } from '@ensi-platform/admin-ui/grid-layout';
16
16
  | Prop | Values | Default | Description |
17
17
  | ------------ | ---------------------------------------------- | --------- | -------------------------------- |
18
18
  | `cols` | `number` \| track list | — | columns |
19
- | `gap` | `0` \| `4` \| `8` \| `12` \| `16` \| … \| `64` | `16` | gap, a spacing-scale step |
19
+ | `gap` | `0` \| `4` \| `8` \| `12` \| `16` \| … \| `64` | `16` | gap on both axes |
20
+ | `rowGap` | `0` \| `4` \| `8` \| `12` \| `16` \| … \| `64` | `gap` | vertical gap, else `gap` |
21
+ | `columnGap` | `0` \| `4` \| `8` \| `12` \| `16` \| … \| `64` | `gap` | horizontal gap, else `gap` |
20
22
  | `col` | `number` \| `full` | — | span when nested in another grid |
21
23
  | `align` | `start` \| `center` \| `end` \| `stretch` | `stretch` | cross-axis alignment |
22
24
  | `dataTestId` | `string` | — | `data-test-id` for tests |
@@ -21,6 +21,10 @@ export interface IGridLayoutOwnProps extends IDataTestIdProps {
21
21
  cols: number | TGridLayoutTrack[];
22
22
  /** Gap between items. */
23
23
  gap?: TGridLayoutGap;
24
+ /** Row gap. Overrides gap. */
25
+ rowGap?: TGridLayoutGap;
26
+ /** Column gap. Overrides gap. */
27
+ columnGap?: TGridLayoutGap;
24
28
  /** Span when this grid sits inside another grid. */
25
29
  col?: TGridLayoutCol;
26
30
  /** Cross-axis alignment. */
@@ -48,4 +52,6 @@ export interface IGridLayoutItemProps
48
52
  export interface IGridLayoutStyle extends CSSProperties {
49
53
  '--aui-grid-layout-template'?: string;
50
54
  '--aui-grid-layout-col'?: string;
55
+ '--aui-grid-layout-row-gap'?: string;
56
+ '--aui-grid-layout-column-gap'?: string;
51
57
  }
@@ -3,7 +3,7 @@ export const docsCssVariables = `/* CSS variables — Link (--aui-link-*)
3
3
  * Light/default below (semantic.css). Dark: hover white in semantic.dark.css.
4
4
  */
5
5
  --aui-link-fg: var(--aui-page-fg-link); /* link text = page fg */
6
- --aui-link-fg-hover: var(--aui-neutral-800); /* link hover (light near-black; dark = white) */
6
+ --aui-link-fg-hover: var(--aui-control-bg-brand); /* link hover; dark mirrors brand */
7
7
  --aui-link-border-focus: var(--aui-control-border-focus); /* focus ring */
8
8
  --aui-link-duration-fast: var(--aui-control-duration-fast); /* transition duration */
9
9
  --aui-link-ease-out: var(--aui-control-ease-out); /* transition easing */`;
@@ -1,5 +1,5 @@
1
1
  /** Page substrate CSS variables used by AdminUiProvider root (--aui-page-*). */
2
2
  export const docsCssVariables = `/* CSS variables — AdminUiProvider page substrate (--aui-page-*) */
3
3
  --aui-page-bg-primary: var(--aui-white); /* page canvas background */
4
- --aui-page-fg-primary: var(--aui-black-900); /* page default foreground */
4
+ --aui-page-fg-primary: var(--aui-neutral-900); /* page default foreground */
5
5
  `;
@@ -152,6 +152,8 @@ export interface IAuiLabels {
152
152
  dropzoneLimitReached: string;
153
153
  /** Dropzone: form message while a file is still uploading. */
154
154
  dropzoneUploading: string;
155
+ /** Rating value text (`{value}`, `{max}`). */
156
+ ratingValue: string;
155
157
  }
156
158
 
157
159
  export type TAuiLabels = IAuiLabels;
@@ -0,0 +1,47 @@
1
+ Star rating in whole and half steps.
2
+
3
+ ```tsx
4
+ import { Rating, FormRating } from '@ensi-platform/admin-ui/rating';
5
+ ```
6
+
7
+ ## When to use
8
+
9
+ - a product, review, or quality score
10
+ - a track without stars — see `Slider`
11
+ - a status with no number — see `Badge`
12
+
13
+ ## API (short)
14
+
15
+ ### Rating
16
+
17
+ | Prop | Values | Default | Description |
18
+ | -------------- | ------------------------- | --------- | -------------------------------------------------------- |
19
+ | `size` | `sm` \| `md` \| `lg` | `md` | star size |
20
+ | `variant` | `primary` | `primary` | palette |
21
+ | `value` | `number` | — | controlled value |
22
+ | `defaultValue` | `number` | — | initial value |
23
+ | `onChange` | `(value: number) => void` | — | value change |
24
+ | `minValue` | `number` | `0` | minimum; a second press on the current half returns here |
25
+ | `maxValue` | `number` | `5` | maximum; one star per unit above `minValue` |
26
+ | `step` | `number` | `0.5` | step |
27
+ | `readOnly` | `boolean` | `false` | display without a slider: `role="img"` |
28
+ | `invalid` | `boolean` | `false` | error |
29
+ | `disabled` | `boolean` | `false` | unavailable; with `readOnly` it stays a slider |
30
+ | `dataTestId` | `string` | — | `data-test-id` for tests |
31
+
32
+ Label it with `Field` or `aria-label`. The number is not shown. On the slider it is `aria-valuetext` from the `ratingValue` template (`{value}` of `{max}`). On `readOnly` the same string is the image name. No `as`.
33
+
34
+ ### FormRating
35
+
36
+ | Prop | Values | Default | Description |
37
+ | ------------ | -------------------- | ------- | ---------------------------- |
38
+ | `name` | `string` | — | `Form` field name (`number`) |
39
+ | `label` | `ReactNode` | — | label |
40
+ | `hint` | `ReactNode` | — | hint under the stars |
41
+ | `size` | `sm` \| `md` \| `lg` | `md` | size |
42
+ | `readOnly` | `boolean` | — | display only |
43
+ | `disabled` | `boolean` | — | unavailable |
44
+ | `block` | `boolean` | `true` | `Field` column width |
45
+ | `dataTestId` | `string` | — | `data-test-id` for tests |
46
+
47
+ A missing field value becomes `minValue` (`0`).
@@ -0,0 +1,9 @@
1
+ ## Example
2
+
3
+ ```tsx
4
+ <Rating aria-label="Score" value={value} onChange={setValue} />
5
+
6
+ <Form initialValues={{ score: 4 }} onSubmit={save}>
7
+ <FormRating name="score" label="Score" hint="From 0 to 5" />
8
+ </Form>
9
+ ```
@@ -0,0 +1,14 @@
1
+ /** Rating CSS variables from semantic tokens (--aui-rating-*). */
2
+ export const docsCssVariables = `/* CSS variables — Rating (--aui-rating-*) */
3
+ --aui-rating-fg-primary: var(--aui-yellow-500); /* filled star */
4
+ --aui-rating-fg-primary-hover: color-mix(in srgb, var(--aui-yellow-500) 65%, transparent); /* preview fill */
5
+ --aui-rating-fg-muted: var(--aui-page-fg-muted); /* empty star */
6
+ --aui-rating-border-focus: var(--aui-control-border-focus); /* focus outline */
7
+ --aui-rating-border-danger: var(--aui-control-border-danger); /* invalid outline */
8
+ --aui-rating-icon-sm: var(--aui-spacing-16); /* star sm */
9
+ --aui-rating-icon-md: var(--aui-spacing-20); /* star md */
10
+ --aui-rating-icon-lg: var(--aui-spacing-24); /* star lg */
11
+ --aui-rating-gap: var(--aui-spacing-4); /* gap between stars */
12
+ --aui-rating-duration-fast: var(--aui-control-duration-fast); /* fill transition */
13
+ --aui-rating-ease-out: var(--aui-control-ease-out); /* fill easing */
14
+ `;
@@ -0,0 +1,69 @@
1
+ import { type FocusEventHandler, type Ref } from 'react';
2
+
3
+ import { type SliderProps as RacSliderProps } from 'react-aria-components';
4
+
5
+ import { type IDataTestIdProps } from '@ds/common';
6
+
7
+ import { type IFieldStateProps } from '@/field/types';
8
+ import { type IFormFieldLayoutProps } from '@/form/types';
9
+
10
+ export type TRatingSize = 'sm' | 'md' | 'lg';
11
+
12
+ export type TRatingVariant = 'primary';
13
+
14
+ /** Theme inputs. */
15
+ export interface IRatingThemeProps {
16
+ /** Rating size. */
17
+ size?: TRatingSize;
18
+ /** Visual variant. */
19
+ variant?: TRatingVariant;
20
+ }
21
+
22
+ /** Control state (our names, not RAC). */
23
+ export interface IRatingControlProps {
24
+ /** Controlled value. */
25
+ value?: number;
26
+ /** Uncontrolled initial value. */
27
+ defaultValue?: number;
28
+ /** Value change handler. */
29
+ onChange?: (value: number) => void;
30
+ /** Blur handler for the range input. */
31
+ onBlur?: FocusEventHandler<HTMLInputElement>;
32
+ /** Minimum value. A click on the current half returns here. */
33
+ minValue?: number;
34
+ /** Maximum value. One star per unit above `minValue`. */
35
+ maxValue?: number;
36
+ /** Step between values. */
37
+ step?: number;
38
+ /** Show the value without a slider. */
39
+ readOnly?: boolean;
40
+ }
41
+
42
+ /** Own / chrome props (not from RAC). */
43
+ export interface IRatingOwnProps extends IDataTestIdProps {
44
+ /** Ref to the range input (React 19 prop). */
45
+ ref?: Ref<HTMLInputElement>;
46
+ }
47
+
48
+ /** Content slice for FormRating. */
49
+ export interface IRatingContentProps {
50
+ minValue?: number;
51
+ maxValue?: number;
52
+ step?: number;
53
+ readOnly?: boolean;
54
+ /** Accessible name when there is no visible `label`. */
55
+ 'aria-label'?: string;
56
+ }
57
+
58
+ export interface IRatingBaseProps
59
+ extends IRatingThemeProps, Pick<IFieldStateProps, 'invalid' | 'disabled'>, IRatingControlProps, IRatingOwnProps {}
60
+
61
+ /** RAC keys omitted because names differ from ours. */
62
+ export type TRatingRacOmit =
63
+ 'isDisabled' | 'value' | 'defaultValue' | 'onChange' | 'onBlur' | 'minValue' | 'maxValue' | 'step';
64
+
65
+ export interface IRatingProps
66
+ extends IRatingBaseProps, Omit<RacSliderProps<number>, keyof IRatingBaseProps | TRatingRacOmit> {}
67
+
68
+ export interface IFormRatingProps
69
+ extends IFormFieldLayoutProps, Pick<IRatingThemeProps, 'variant'>, IRatingContentProps {}
@@ -10,20 +10,22 @@ import { Table, useTableRowSelection } from '@ensi-platform/admin-ui/table';
10
10
 
11
11
  ## API (short)
12
12
 
13
- | Prop | Values | Default | Description |
14
- | ------------ | -------------------- | ------- | ---------------------------------------------------------- |
15
- | `size` | `sm` \| `md` \| `lg` | `md` | row density |
16
- | `block` | `boolean` | `true` | stretch to 100% of parent width |
17
- | `hasChecked` | `boolean` | `false` | reserve layout for a leading checkbox column |
18
- | `zebra` | `boolean` | `false` | subtle even-row background (overridden by checked / hover) |
19
- | `dataTestId` | `string` | — | `data-test-id` for tests |
13
+ | Prop | Values | Default | Description |
14
+ | ------------ | -------------------- | ------- | -------------------------------------------------------------------------------------------------- |
15
+ | `size` | `sm` \| `md` \| `lg` | `md` | row density |
16
+ | `block` | `boolean` | `true` | stretch to 100% of parent width |
17
+ | `hasChecked` | `boolean` | `false` | reserve layout for a leading checkbox column |
18
+ | `zebra` | `boolean` | `false` | subtle even-row background (checked / hover win; a checked row hovers with `--aui-table-bg-hover`) |
19
+ | `dataTestId` | `string` | — | `data-test-id` for tests |
20
20
 
21
21
  Slots: `Scroll` / `Table` / `Header` / `Body` / `Footer` / `Row` / `Cell` / `HeaderCell` / `CheckboxCell` / `HeaderCheckboxCell` / `ActionBar` / `SortIndicator` / `Pagination` / `PageSize`.
22
22
 
23
23
  - `Scroll` — scroll area; `Footer` is a sibling (not inside `Table.Table` / `<table>`)
24
24
  - `Table` — native `<table>`: only `Header` / `Body` / `Row` / cells
25
25
  - `Header`: `sticky?`; `Footer`: `sticky?` (default `true`); left `PageSize`, right `Pagination`
26
- - `Cell` / `HeaderCell`: `numeric?`, `align?`, `utility?`, `noWrap?`, `width?`; `HeaderCell` also has `sortable?`, `sortDirection?`, `onSort?`, `filter?`, `filterActive?`
26
+ - `Cell` / `HeaderCell`: `numeric?`, `align?`, `utility?`, `noWrap?`, `width?`, `pin?` (`start` | `end`); `HeaderCell` also has `sortable?`, `sortDirection?`, `onSort?`, `filter?`, `filterActive?`
27
+ - the same `pin` goes on every cell of that column, including the header. Several columns on one edge stack their offsets. Checkbox cells are always `start`. The edge seam shows only while that edge is stuck to the scroll area
28
+ - `Row`: `pin?` (`top` | `bottom`) for body rows. Several rows on one edge stack under the sticky header or up from the bottom of the scroll area. `active` keeps `--aui-table-bg-hover`, including on a checked row; the row does not open a menu
27
29
  - `filter` is the drop body in the column header. The trigger is a floating pill. When the column is `sortable`, sort actions sit under the filter. Without `filter`, sorting stays a click on the header. `filterActive` colors the filter icon
28
30
  - `Pagination`: controlled `page` + `pageCount` + `onPageChange` + `from` + `to` + `total`; numbered pages (window, first and last always present); optional `rangeLabel?`, `prevLabel?` / `nextLabel?`, `disabled?`
29
31
  - `PageSize`: controlled `value` + `onChange`; `options?` (default `[5, 10, 25, 50, 100]`); `label?`; `disabled?`
@@ -27,10 +27,18 @@ const onPageSizeChange = (size: number) => {
27
27
  onChange={setAllOnPage}
28
28
  aria-label="Select all"
29
29
  />
30
- <Table.HeaderCell sortable sortDirection={sort} onSort={setSort}>
30
+ <Table.HeaderCell pin="start" width={180} sortable sortDirection={sort} onSort={setSort}>
31
31
  Name
32
32
  </Table.HeaderCell>
33
- <Table.HeaderCell numeric>Amount</Table.HeaderCell>
33
+ <Table.HeaderCell width={160}>City</Table.HeaderCell>
34
+ <Table.HeaderCell width={140}>Status</Table.HeaderCell>
35
+ <Table.HeaderCell width={180}>Manager</Table.HeaderCell>
36
+ <Table.HeaderCell width={160}>Warehouse</Table.HeaderCell>
37
+ <Table.HeaderCell width={180}>Channel</Table.HeaderCell>
38
+ <Table.HeaderCell numeric width={120}>
39
+ Amount
40
+ </Table.HeaderCell>
41
+ <Table.HeaderCell pin="end" utility />
34
42
  </Table.Row>
35
43
  </Table.Header>
36
44
  <Table.Body>
@@ -41,9 +49,18 @@ const onPageSizeChange = (size: number) => {
41
49
  onChange={() => toggle(row.id)}
42
50
  aria-label={`Select ${row.name}`}
43
51
  />
44
- <Table.Cell>{row.name}</Table.Cell>
45
- <Table.Cell numeric>{row.amount}</Table.Cell>
46
- <Table.Cell utility>
52
+ <Table.Cell pin="start" width={180}>
53
+ {row.name}
54
+ </Table.Cell>
55
+ <Table.Cell width={160}>{row.city}</Table.Cell>
56
+ <Table.Cell width={140}>{row.status}</Table.Cell>
57
+ <Table.Cell width={180}>{row.manager}</Table.Cell>
58
+ <Table.Cell width={160}>{row.warehouse}</Table.Cell>
59
+ <Table.Cell width={180}>{row.channel}</Table.Cell>
60
+ <Table.Cell numeric width={120}>
61
+ {row.amount}
62
+ </Table.Cell>
63
+ <Table.Cell pin="end" utility>
47
64
  <Table.ActionBar visibleCount={0} items={[{ text: 'Edit', onClick: () => {} }]} />
48
65
  </Table.Cell>
49
66
  </Table.Row>
@@ -1,9 +1,9 @@
1
1
  /** Table CSS variables from semantic tokens (--aui-table-*). */
2
2
  export const docsCssVariables = `/* CSS variables — Table (--aui-table-*) */
3
3
  --aui-table-bg-primary: var(--aui-surface-bg-primary); /* primary fill */
4
- --aui-table-bg-hover: var(--aui-neutral-300); /* hover fill; dark: grey-500 */
5
- --aui-table-bg-selected: var(--aui-neutral-100); /* selected fill; dark: muted (grey-600) */
6
- --aui-table-bg-zebra: var(--aui-neutral-50); /* zebra fill; dark: muted 18% on page */
4
+ --aui-table-bg-hover: var(--aui-surface-bg-muted-active); /* hover fill */
5
+ --aui-table-bg-selected: var(--aui-surface-bg-muted); /* selected fill */
6
+ --aui-table-bg-zebra: var(--aui-neutral-50); /* zebra fill; dark is a quiet white mix */
7
7
  --aui-table-bg-header: var(--aui-surface-bg-primary); /* header fill */
8
8
  --aui-table-bg-footer: var(--aui-surface-bg-primary); /* footer fill */
9
9
 
@@ -56,8 +56,13 @@ export const docsCssVariables = `/* CSS variables — Table (--aui-table-*) */
56
56
  --aui-table-page-size-min: var(--aui-spacing-64); /* page-size select min width */
57
57
 
58
58
  --aui-table-z-sticky: 2; /* z-index */
59
+ --aui-table-z-pin: 1; /* pinned cell z-index */
60
+ --aui-table-z-pin-cross: 2; /* pinned row and column intersection z-index */
59
61
 
60
62
  --aui-table-shadow-sticky: 0 1px 0 var(--aui-table-border-primary); /* sticky shadow */
63
+ --aui-table-shadow-pin-start: 1px 0 0 var(--aui-table-border-primary); /* pin seam at the inline start */
64
+ --aui-table-shadow-pin-end: -1px 0 0 var(--aui-table-border-primary); /* pin seam at the inline end */
65
+ --aui-table-shadow-pin-bottom: 0 -1px 0 var(--aui-table-border-primary); /* pin seam above a bottom row */
61
66
 
62
67
  --aui-table-duration-fast: var(--aui-control-duration-fast); /* transition duration (fast) */
63
68
  --aui-table-ease-out: var(--aui-control-ease-out); /* transition easing */`;
@@ -11,6 +11,9 @@ export type TTableSortDirection = 'asc' | 'desc';
11
11
  /** Cell horizontal alignment. */
12
12
  export type TTableAlign = 'start' | 'end' | 'center';
13
13
 
14
+ /** Column pin edge. */
15
+ export type TTablePin = 'start' | 'end';
16
+
14
17
  /** Theme inputs. */
15
18
  export interface ITableThemeProps {
16
19
  /** Row density. */
@@ -54,6 +57,8 @@ export interface ITableCellChromeProps {
54
57
  width?: CSSProperties['width'];
55
58
  /** Utility column (checkbox / actions / settings). */
56
59
  utility?: boolean;
60
+ /** Stick to the inline start or end while the shell scrolls. */
61
+ pin?: TTablePin;
57
62
  }
58
63
 
59
64
  export type { ITableHeaderProps } from './components/Header/types';
@@ -61,7 +66,7 @@ export type { ITableBodyProps } from './components/Body/types';
61
66
  export type { ITableFooterProps } from './components/Footer/types';
62
67
  export type { ITableScrollProps } from './components/Scroll/types';
63
68
  export type { ITableElementProps } from './components/TableElement/types';
64
- export type { ITableRowProps } from './components/Row/types';
69
+ export type { ITableRowProps, TTableRowPin } from './components/Row/types';
65
70
  export type { ITableCellProps } from './components/Cell/types';
66
71
  export type { ITableHeaderCellProps } from './components/HeaderCell/types';
67
72
  export type { ITableCheckboxCellProps } from './components/CheckboxCell/types';
@@ -18,8 +18,12 @@ export const docsCssVariables = `/* CSS variables — TimeField (--aui-time-fiel
18
18
  --aui-time-field-pad-x-lg: var(--aui-input-pad-x-lg); /* padding-x lg */
19
19
  --aui-time-field-gap-md: var(--aui-spacing-8); /* md gap */
20
20
 
21
+ --aui-time-field-icon-size-sm: var(--aui-spacing-12); /* icon size sm */
21
22
  --aui-time-field-icon-size-md: var(--aui-spacing-16); /* icon size md */
23
+ --aui-time-field-icon-size-lg: var(--aui-spacing-20); /* icon size lg */
24
+ --aui-time-field-icon-hit-sm: var(--aui-spacing-16); /* icon hit sm */
22
25
  --aui-time-field-icon-hit-md: var(--aui-spacing-24); /* icon hit md */
26
+ --aui-time-field-icon-hit-lg: var(--aui-spacing-32); /* icon hit lg */
23
27
 
24
28
  --aui-time-field-clear-radius-md: var(--aui-control-radius-sm); /* clear control radius md */
25
29
 
@@ -1,12 +1,12 @@
1
1
  /** Toast CSS variables from semantic tokens (--aui-toast-*). */
2
2
  export const docsCssVariables = `/* CSS variables — Toast (--aui-toast-*) */
3
3
  --aui-toast-bg-neutral: var(--aui-surface-bg-muted); /* neutral fill */
4
- --aui-toast-accent-neutral: var(--aui-neutral-500); /* neutral accent */
5
- --aui-toast-bg-success: var(--aui-green-50); /* success fill */
4
+ --aui-toast-accent-neutral: var(--aui-page-fg-muted); /* neutral accent */
5
+ --aui-toast-bg-success: color-mix(in srgb, var(--aui-green-700) 22%, var(--aui-surface-bg-primary)); /* success fill */
6
6
  --aui-toast-accent-success: var(--aui-green-700); /* success accent */
7
- --aui-toast-bg-warning: var(--aui-yellow-50); /* warning fill */
7
+ --aui-toast-bg-warning: color-mix(in srgb, var(--aui-yellow-700) 22%, var(--aui-surface-bg-primary)); /* warning fill */
8
8
  --aui-toast-accent-warning: var(--aui-yellow-700); /* warning accent */
9
- --aui-toast-bg-danger: var(--aui-red-50); /* danger fill */
9
+ --aui-toast-bg-danger: color-mix(in srgb, var(--aui-red-700) 22%, var(--aui-surface-bg-primary)); /* danger fill */
10
10
  --aui-toast-accent-danger: var(--aui-red-700); /* danger accent */
11
11
  --aui-toast-bg-info: var(--aui-surface-bg-muted); /* info fill = muted */
12
12
  --aui-toast-accent-info: var(--aui-page-fg-muted); /* info accent = muted fg */
@@ -1,7 +1,7 @@
1
1
  /** Tooltip CSS variables from semantic tokens (--aui-tooltip-*). */
2
2
  export const docsCssVariables = `/* CSS variables — Tooltip (--aui-tooltip-*) */
3
- --aui-tooltip-bg-primary: var(--aui-neutral-800); /* primary fill */
4
- --aui-tooltip-fg-primary: var(--aui-neutral-50); /* primary foreground */
3
+ --aui-tooltip-bg-primary: var(--aui-control-bg-brand); /* primary fill */
4
+ --aui-tooltip-fg-primary: var(--aui-control-fg-brand); /* primary foreground */
5
5
 
6
6
  --aui-tooltip-radius-md: var(--aui-control-radius-sm); /* md radius */
7
7
  --aui-tooltip-pad-y-sm: var(--aui-spacing-4); /* padding-y sm */