@slotted/react 0.1.0-beta.45 → 0.1.0-beta.47

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 (545) hide show
  1. package/dist/{action-bar-BSUuY6pJ.js → action-bar-CZAowvra.js} +1 -1
  2. package/dist/action-bar.js +1 -1
  3. package/dist/action-sheet-D5XBXFe2.js +359 -0
  4. package/dist/action-sheet.js +1 -1
  5. package/dist/{calendar-BO5teotM.js → calendar-MztDEqAz.js} +13 -12
  6. package/dist/calendar.js +1 -1
  7. package/dist/cascader-Bf0CzPu-.js +1305 -0
  8. package/dist/cascader.js +1 -1
  9. package/dist/{chart-C4uPgUW8.js → chart-C6NdybXy.js} +387 -385
  10. package/dist/chart.js +1 -1
  11. package/dist/{checkbox-D8HZG0be.js → checkbox-Bv1b6qh_.js} +3 -3
  12. package/dist/{checkbox-group-5zuE2Kd1.js → checkbox-group-BnxPixJG.js} +2 -2
  13. package/dist/checkbox-group.js +1 -1
  14. package/dist/checkbox.js +1 -1
  15. package/dist/{color-picker-fiLSUBjj.js → color-picker-B66gG2WU.js} +12 -11
  16. package/dist/color-picker.js +1 -1
  17. package/dist/column-manager-BtzX-KIk.js +589 -0
  18. package/dist/column-manager.js +1 -1
  19. package/dist/{combobox-DMtXrMYE.js → combobox-BpBFn5wM.js} +2 -2
  20. package/dist/combobox.js +1 -1
  21. package/dist/{command-palette-DwjkexvN.js → command-palette-Bk94SEuy.js} +2 -1
  22. package/dist/command-palette.js +1 -1
  23. package/dist/{context-menu-CRRp-PhP.js → context-menu-DoH2mtbN.js} +1 -1
  24. package/dist/context-menu.js +1 -1
  25. package/dist/{currency-field-Cxr8MT75.js → currency-field-D7LKgNcS.js} +1 -1
  26. package/dist/currency-field.js +1 -1
  27. package/dist/dashboard-grid-C3XZRM2i.js +1238 -0
  28. package/dist/dashboard-grid.js +1 -1
  29. package/dist/{data-grid-BlElqHOU.js → data-grid-udreCRZy.js} +1352 -1355
  30. package/dist/data-grid.js +1 -1
  31. package/dist/{data-list-5zvM-DUz.js → data-list-BMIQwNKA.js} +13 -13
  32. package/dist/data-list.js +1 -1
  33. package/dist/date-field-BTbbf38h.js +313 -0
  34. package/dist/date-field.js +1 -1
  35. package/dist/date-picker-ClZMRCJ1.js +347 -0
  36. package/dist/date-picker.js +2 -2
  37. package/dist/{date-range-picker-DzuuvudX.js → date-range-picker-DN2It6LA.js} +75 -71
  38. package/dist/date-range-picker.js +1 -1
  39. package/dist/datetime-field-DmgZDYhb.js +438 -0
  40. package/dist/datetime-field.js +1 -1
  41. package/dist/{datetime-picker-BUhSr8yp.js → datetime-picker-vVXAefqf.js} +158 -154
  42. package/dist/datetime-picker.js +1 -1
  43. package/dist/{datetime-range-picker-DXllehEN.js → datetime-range-picker-B4GYh_jU.js} +149 -145
  44. package/dist/datetime-range-picker.js +1 -1
  45. package/dist/{detail-panel-Czs05E_D.js → detail-panel-WW2-BwEP.js} +2 -2
  46. package/dist/detail-panel.js +1 -1
  47. package/dist/dialog-lceAPWMr.js +591 -0
  48. package/dist/dialog.js +1 -1
  49. package/dist/docs/action-sheet.json +1 -3
  50. package/dist/docs/action-sheet.md +1 -1
  51. package/dist/docs/calendar.json +1 -1
  52. package/dist/docs/calendar.md +1 -1
  53. package/dist/docs/cascader.json +73 -2
  54. package/dist/docs/cascader.md +10 -1
  55. package/dist/docs/chart.json +15 -1
  56. package/dist/docs/chart.md +4 -2
  57. package/dist/docs/collapsible.examples.md +1 -1
  58. package/dist/docs/collapsible.json +2 -2
  59. package/dist/docs/collapsible.md +1 -1
  60. package/dist/docs/color-picker.json +1 -1
  61. package/dist/docs/column-manager.json +6 -4
  62. package/dist/docs/column-manager.md +3 -3
  63. package/dist/docs/combobox.json +1 -0
  64. package/dist/docs/combobox.md +1 -1
  65. package/dist/docs/dashboard-grid.json +9 -2
  66. package/dist/docs/dashboard-grid.md +2 -1
  67. package/dist/docs/data-grid.json +2 -1
  68. package/dist/docs/data-grid.md +1 -1
  69. package/dist/docs/date-picker.json +10 -2
  70. package/dist/docs/date-picker.md +3 -2
  71. package/dist/docs/date-range-picker.json +10 -1
  72. package/dist/docs/date-range-picker.md +3 -2
  73. package/dist/docs/datetime-picker.json +9 -1
  74. package/dist/docs/datetime-picker.md +2 -1
  75. package/dist/docs/datetime-range-picker.json +10 -1
  76. package/dist/docs/datetime-range-picker.md +3 -2
  77. package/dist/docs/dialog.json +56 -8
  78. package/dist/docs/dialog.md +3 -0
  79. package/dist/docs/dialog.props.md +6 -2
  80. package/dist/docs/drawer.examples.md +108 -1
  81. package/dist/docs/drawer.json +70 -13
  82. package/dist/docs/drawer.md +31 -21
  83. package/dist/docs/entity-picker.examples.md +1 -1
  84. package/dist/docs/entity-picker.json +112 -4
  85. package/dist/docs/entity-picker.md +16 -2
  86. package/dist/docs/field.json +1 -1
  87. package/dist/docs/field.md +1 -1
  88. package/dist/docs/filter-bar.examples.md +215 -0
  89. package/dist/docs/filter-bar.json +232 -6
  90. package/dist/docs/filter-bar.md +32 -4
  91. package/dist/docs/guidelines/index.md +2 -1
  92. package/dist/docs/guidelines/overviews.md +1 -1
  93. package/dist/docs/guidelines/record-pages.md +3 -3
  94. package/dist/docs/guidelines/shell-composition.md +13 -0
  95. package/dist/docs/list-item.examples.md +50 -0
  96. package/dist/docs/list-item.json +20 -3
  97. package/dist/docs/list-item.md +4 -3
  98. package/dist/docs/list.examples.md +93 -0
  99. package/dist/docs/list.json +41 -1
  100. package/dist/docs/list.md +4 -0
  101. package/dist/docs/menu.examples.md +39 -0
  102. package/dist/docs/menu.json +25 -12
  103. package/dist/docs/menu.md +3 -2
  104. package/dist/docs/multi-select.json +89 -3
  105. package/dist/docs/multi-select.md +14 -2
  106. package/dist/docs/page-header.examples.md +120 -76
  107. package/dist/docs/page-header.json +57 -5
  108. package/dist/docs/page-header.md +14 -1
  109. package/dist/docs/popover.json +31 -14
  110. package/dist/docs/popover.md +5 -2
  111. package/dist/docs/saved-views.json +3 -3
  112. package/dist/docs/saved-views.md +1 -1
  113. package/dist/docs/select.examples.md +51 -0
  114. package/dist/docs/select.json +37 -15
  115. package/dist/docs/select.md +5 -3
  116. package/dist/docs/stat-card.examples.md +121 -0
  117. package/dist/docs/stat-card.json +205 -0
  118. package/dist/docs/stat-card.md +51 -1
  119. package/dist/docs/table.json +2 -1
  120. package/dist/docs/table.md +1 -1
  121. package/dist/docs/time-picker.json +9 -1
  122. package/dist/docs/time-picker.md +2 -1
  123. package/dist/docs/time-range-picker.json +10 -1
  124. package/dist/docs/time-range-picker.md +3 -2
  125. package/dist/docs/toast.examples.md +57 -1
  126. package/dist/docs/toast.json +15 -6
  127. package/dist/docs/toast.md +3 -3
  128. package/dist/drawer-Bx08Xyos.js +923 -0
  129. package/dist/drawer.js +2 -2
  130. package/dist/entity-picker-DFQxelpt.js +1499 -0
  131. package/dist/entity-picker.js +1 -1
  132. package/dist/{event-calendar-Bxx8eoGK.js → event-calendar-BkGLOaea.js} +527 -527
  133. package/dist/event-calendar.js +1 -1
  134. package/dist/{field-N0TiMbaI.js → field-C85R0vVs.js} +6 -6
  135. package/dist/{field-group-BrnE6FvP.js → field-group-QR1buowc.js} +1 -1
  136. package/dist/field-group.js +1 -1
  137. package/dist/field.js +1 -1
  138. package/dist/filter-bar-CQ0CjZCJ.js +1881 -0
  139. package/dist/filter-bar.js +1 -1
  140. package/dist/{hover-card-D9-rb9ts.js → hover-card-DCgVwHxC.js} +25 -25
  141. package/dist/hover-card.js +1 -1
  142. package/dist/{import-export-center-BpGga5jr.js → import-export-center-DycVct7z.js} +2 -2
  143. package/dist/import-export-center.js +1 -1
  144. package/dist/index.js +132 -132
  145. package/dist/{list-CvwJXjA0.js → list-DBKKu3Ql.js} +26 -19
  146. package/dist/{list-item-DHKlkY65.js → list-item-B4W0cAQZ.js} +18 -9
  147. package/dist/list-item.js +2 -2
  148. package/dist/list.js +1 -1
  149. package/dist/{listbox-3XVusnCr.js → listbox-CHa-ekIV.js} +1 -1
  150. package/dist/listbox.js +1 -1
  151. package/dist/{markdown-BMda5ino.js → markdown-QdcPI0nq.js} +1 -1
  152. package/dist/markdown.js +1 -1
  153. package/dist/{media-viewer-C_cbuAq-.js → media-viewer-_hsM_dLR.js} +1 -1
  154. package/dist/media-viewer.js +1 -1
  155. package/dist/menu-parts-KmGR46Np.js +940 -0
  156. package/dist/menu.js +1 -1
  157. package/dist/{menubar-CVoAFc6r.js → menubar-3ij92kyN.js} +1 -1
  158. package/dist/menubar.js +1 -1
  159. package/dist/multi-select-kY7LFJqS.js +1489 -0
  160. package/dist/multi-select.js +1 -1
  161. package/dist/{number-field-Cp33JMGB.js → number-field-D65B-uRs.js} +1 -1
  162. package/dist/number-field.js +1 -1
  163. package/dist/{otp-input-CEP60HOi.js → otp-input-DN8jHJnY.js} +1 -1
  164. package/dist/otp-input.js +1 -1
  165. package/dist/page-header-nMgl8RZu.js +395 -0
  166. package/dist/page-header.js +2 -2
  167. package/dist/page.js +1 -1
  168. package/dist/{picker-frame-C3Fhjfaj.js → picker-frame--0zIvoSA.js} +1 -1
  169. package/dist/{picker-range-head-B4tsDOc5.js → picker-range-head-BLoTsTRu.js} +13 -5
  170. package/dist/popover-CUsTCP0m.js +632 -0
  171. package/dist/popover.js +2 -2
  172. package/dist/{prompt-composer-CwjvdgBR.js → prompt-composer-i5y3qaDA.js} +1 -1
  173. package/dist/prompt-composer.js +1 -1
  174. package/dist/{radio-group-D6bOV_ea.js → radio-group-DLr2C-XS.js} +2 -2
  175. package/dist/radio-group.js +1 -1
  176. package/dist/{rating-D8BvDdjM.js → rating-Bb5srSz4.js} +1 -1
  177. package/dist/rating.js +1 -1
  178. package/dist/saved-views-w9GpSo76.js +526 -0
  179. package/dist/saved-views.js +1 -1
  180. package/dist/{segmented-control-BLcGhQ4J.js → segmented-control-Cpx_RYQ6.js} +2 -2
  181. package/dist/segmented-control.js +1 -1
  182. package/dist/select-CAUuknw3.js +1160 -0
  183. package/dist/select.js +1 -1
  184. package/dist/{slider-COLWTaxi.js → slider-CAd6tQlw.js} +1 -1
  185. package/dist/slider.js +1 -1
  186. package/dist/{split-button-Czr2D3HP.js → split-button-CNNYK9zU.js} +1 -1
  187. package/dist/split-button.js +1 -1
  188. package/dist/stat-card-Bt92l0qa.js +344 -0
  189. package/dist/stat-card.js +2 -2
  190. package/dist/styles/action-bar.css +3 -1
  191. package/dist/styles/action-sheet.css +4 -2
  192. package/dist/styles/calendar.css +1 -1
  193. package/dist/styles/cascader.css +4 -2
  194. package/dist/styles/chart.css +4 -2
  195. package/dist/styles/checkbox-group.css +3 -1
  196. package/dist/styles/checkbox.css +3 -1
  197. package/dist/styles/collapsible.css +1 -1
  198. package/dist/styles/color-picker.css +5 -3
  199. package/dist/styles/column-manager.css +6 -4
  200. package/dist/styles/combobox.css +4 -2
  201. package/dist/styles/command-palette.css +8 -4
  202. package/dist/styles/context-menu.css +3 -1
  203. package/dist/styles/currency-field.css +3 -1
  204. package/dist/styles/dashboard-grid.css +5 -3
  205. package/dist/styles/data-grid.css +15 -13
  206. package/dist/styles/data-list.css +6 -4
  207. package/dist/styles/date-field.css +4 -2
  208. package/dist/styles/date-picker.css +6 -4
  209. package/dist/styles/date-range-picker.css +7 -5
  210. package/dist/styles/datetime-field.css +4 -2
  211. package/dist/styles/datetime-picker.css +7 -5
  212. package/dist/styles/datetime-range-picker.css +7 -5
  213. package/dist/styles/detail-panel.css +1 -1
  214. package/dist/styles/dialog.css +7 -1
  215. package/dist/styles/drawer.css +3 -1
  216. package/dist/styles/entity-picker.css +8 -6
  217. package/dist/styles/event-calendar.css +5 -3
  218. package/dist/styles/field-group.css +3 -1
  219. package/dist/styles/field.css +3 -1
  220. package/dist/styles/filter-bar.css +18 -16
  221. package/dist/styles/hover-card.css +3 -1
  222. package/dist/styles/import-export-center.css +14 -12
  223. package/dist/styles/index.css +35 -33
  224. package/dist/styles/list-item.css +2 -2
  225. package/dist/styles/list.css +1 -1
  226. package/dist/styles/listbox.css +3 -1
  227. package/dist/styles/markdown.css +3 -1
  228. package/dist/styles/media-viewer.css +7 -1
  229. package/dist/styles/menu.css +3 -1
  230. package/dist/styles/menubar.css +3 -1
  231. package/dist/styles/multi-select.css +7 -5
  232. package/dist/styles/number-field.css +3 -1
  233. package/dist/styles/otp-input.css +3 -1
  234. package/dist/styles/page-header.css +1 -1
  235. package/dist/styles/popover.css +3 -1
  236. package/dist/styles/prompt-composer.css +3 -1
  237. package/dist/styles/radio-group.css +3 -1
  238. package/dist/styles/rating.css +3 -1
  239. package/dist/styles/saved-views.css +7 -3
  240. package/dist/styles/segmented-control.css +3 -1
  241. package/dist/styles/select.css +7 -5
  242. package/dist/styles/slider.css +3 -1
  243. package/dist/styles/split-button.css +3 -1
  244. package/dist/styles/stat-card.css +7 -1
  245. package/dist/styles/switch.css +3 -1
  246. package/dist/styles/table.css +13 -11
  247. package/dist/styles/tags-input.css +3 -1
  248. package/dist/styles/text-field.css +3 -1
  249. package/dist/styles/textarea.css +3 -1
  250. package/dist/styles/time-field.css +4 -2
  251. package/dist/styles/time-picker.css +5 -3
  252. package/dist/styles/time-range-picker.css +6 -4
  253. package/dist/styles/toast.css +1 -1
  254. package/dist/styles/toggle-group.css +3 -1
  255. package/dist/styles/toolbar.css +3 -1
  256. package/dist/styles/transfer.css +3 -1
  257. package/dist/styles/upload.css +4 -2
  258. package/dist/styles.css +1 -1
  259. package/dist/{switch-CEbZkLlX.js → switch-DQF6Qg4y.js} +1 -1
  260. package/dist/switch.js +1 -1
  261. package/dist/{table-BU7XsbQX.js → table-BHTF9AZK.js} +302 -290
  262. package/dist/table.js +1 -1
  263. package/dist/{tags-input-BdjkB19P.js → tags-input-Dp_9HJjh.js} +1 -1
  264. package/dist/tags-input.js +1 -1
  265. package/dist/{text-field-QJnu-rln.js → text-field-CEBNOMlK.js} +1 -1
  266. package/dist/text-field.js +1 -1
  267. package/dist/{textarea-DsrXI3xB.js → textarea-B9hyx3D3.js} +1 -1
  268. package/dist/textarea.js +1 -1
  269. package/dist/time-field-B8KPjZBf.js +380 -0
  270. package/dist/time-field.js +1 -1
  271. package/dist/{time-picker-WmeCIySv.js → time-picker-aw-WIlPe.js} +35 -31
  272. package/dist/time-picker.js +1 -1
  273. package/dist/{time-range-picker-CwSbsJPt.js → time-range-picker-BN5speYJ.js} +106 -102
  274. package/dist/time-range-picker.js +1 -1
  275. package/dist/toast-D7G0-9nW.js +467 -0
  276. package/dist/toast.js +1 -1
  277. package/dist/{toggle-group-SP_W-yeh.js → toggle-group-K1U5TQ5h.js} +1 -1
  278. package/dist/toggle-group.js +1 -1
  279. package/dist/{toolbar-BniP4i1C.js → toolbar-B6ijf51c.js} +1 -1
  280. package/dist/toolbar.js +1 -1
  281. package/dist/{transfer-DX6umI2M.js → transfer-A6dqhEGq.js} +5 -5
  282. package/dist/transfer.js +1 -1
  283. package/dist/types/action-sheet/action-sheet-parts.d.ts.map +1 -1
  284. package/dist/types/calendar/calendar.d.ts.map +1 -1
  285. package/dist/types/calendar/calendar.types.d.ts +6 -3
  286. package/dist/types/calendar/calendar.types.d.ts.map +1 -1
  287. package/dist/types/cascader/cascader-defaults.d.ts.map +1 -1
  288. package/dist/types/cascader/cascader-sheet-panel.d.ts +29 -0
  289. package/dist/types/cascader/cascader-sheet-panel.d.ts.map +1 -0
  290. package/dist/types/cascader/cascader.d.ts +1 -0
  291. package/dist/types/cascader/cascader.d.ts.map +1 -1
  292. package/dist/types/cascader/cascader.types.d.ts +8 -0
  293. package/dist/types/cascader/cascader.types.d.ts.map +1 -1
  294. package/dist/types/cascader/index.d.ts +1 -1
  295. package/dist/types/cascader/index.d.ts.map +1 -1
  296. package/dist/types/cascader/use-cascader-sheet.d.ts +25 -0
  297. package/dist/types/cascader/use-cascader-sheet.d.ts.map +1 -0
  298. package/dist/types/chart/chart.d.ts.map +1 -1
  299. package/dist/types/chart/chart.types.d.ts +8 -0
  300. package/dist/types/chart/chart.types.d.ts.map +1 -1
  301. package/dist/types/chart/index.d.ts +1 -1
  302. package/dist/types/chart/index.d.ts.map +1 -1
  303. package/dist/types/color-picker/color-picker.d.ts +1 -1
  304. package/dist/types/color-picker/color-picker.d.ts.map +1 -1
  305. package/dist/types/column-manager/column-manager.d.ts.map +1 -1
  306. package/dist/types/column-manager/column-manager.types.d.ts +5 -2
  307. package/dist/types/column-manager/column-manager.types.d.ts.map +1 -1
  308. package/dist/types/combobox/combobox-parts.d.ts.map +1 -1
  309. package/dist/types/command-palette/command-palette.d.ts.map +1 -1
  310. package/dist/types/dashboard-grid/dashboard-grid-context.d.ts +6 -0
  311. package/dist/types/dashboard-grid/dashboard-grid-context.d.ts.map +1 -1
  312. package/dist/types/dashboard-grid/dashboard-grid.d.ts +1 -1
  313. package/dist/types/dashboard-grid/dashboard-grid.d.ts.map +1 -1
  314. package/dist/types/dashboard-grid/dashboard-grid.types.d.ts +8 -0
  315. package/dist/types/dashboard-grid/dashboard-grid.types.d.ts.map +1 -1
  316. package/dist/types/dashboard-grid/index.d.ts +1 -1
  317. package/dist/types/dashboard-grid/index.d.ts.map +1 -1
  318. package/dist/types/dashboard-grid/use-edit-status.d.ts +8 -0
  319. package/dist/types/dashboard-grid/use-edit-status.d.ts.map +1 -0
  320. package/dist/types/data-grid/data-grid-filter.d.ts.map +1 -1
  321. package/dist/types/date-field/date-field.d.ts.map +1 -1
  322. package/dist/types/date-picker/date-picker-defaults.d.ts.map +1 -1
  323. package/dist/types/date-picker/date-picker.d.ts.map +1 -1
  324. package/dist/types/date-picker/date-picker.types.d.ts +5 -0
  325. package/dist/types/date-picker/date-picker.types.d.ts.map +1 -1
  326. package/dist/types/date-picker/index.d.ts +1 -1
  327. package/dist/types/date-picker/index.d.ts.map +1 -1
  328. package/dist/types/date-picker/use-date-picker.d.ts +2 -1
  329. package/dist/types/date-picker/use-date-picker.d.ts.map +1 -1
  330. package/dist/types/date-range-picker/date-range-picker-defaults.d.ts.map +1 -1
  331. package/dist/types/date-range-picker/date-range-picker.d.ts.map +1 -1
  332. package/dist/types/date-range-picker/date-range-picker.types.d.ts +5 -0
  333. package/dist/types/date-range-picker/date-range-picker.types.d.ts.map +1 -1
  334. package/dist/types/date-range-picker/index.d.ts +1 -1
  335. package/dist/types/date-range-picker/index.d.ts.map +1 -1
  336. package/dist/types/date-range-picker/use-date-range-picker.d.ts +1 -0
  337. package/dist/types/date-range-picker/use-date-range-picker.d.ts.map +1 -1
  338. package/dist/types/datetime-field/datetime-field.d.ts.map +1 -1
  339. package/dist/types/datetime-picker/datetime-picker-defaults.d.ts.map +1 -1
  340. package/dist/types/datetime-picker/datetime-picker.d.ts.map +1 -1
  341. package/dist/types/datetime-picker/datetime-picker.types.d.ts +5 -0
  342. package/dist/types/datetime-picker/datetime-picker.types.d.ts.map +1 -1
  343. package/dist/types/datetime-picker/index.d.ts +1 -1
  344. package/dist/types/datetime-picker/index.d.ts.map +1 -1
  345. package/dist/types/datetime-picker/use-datetime-picker.d.ts +1 -0
  346. package/dist/types/datetime-picker/use-datetime-picker.d.ts.map +1 -1
  347. package/dist/types/datetime-range-picker/datetime-range-picker-defaults.d.ts.map +1 -1
  348. package/dist/types/datetime-range-picker/datetime-range-picker.d.ts.map +1 -1
  349. package/dist/types/datetime-range-picker/datetime-range-picker.types.d.ts +5 -0
  350. package/dist/types/datetime-range-picker/datetime-range-picker.types.d.ts.map +1 -1
  351. package/dist/types/datetime-range-picker/index.d.ts +1 -1
  352. package/dist/types/datetime-range-picker/index.d.ts.map +1 -1
  353. package/dist/types/datetime-range-picker/use-datetime-range-picker.d.ts +1 -0
  354. package/dist/types/datetime-range-picker/use-datetime-range-picker.d.ts.map +1 -1
  355. package/dist/types/dialog/dialog-defaults.d.ts.map +1 -1
  356. package/dist/types/dialog/dialog-parts.d.ts +1 -1
  357. package/dist/types/dialog/dialog-parts.d.ts.map +1 -1
  358. package/dist/types/dialog/dialog-sheet-footer.d.ts +7 -0
  359. package/dist/types/dialog/dialog-sheet-footer.d.ts.map +1 -0
  360. package/dist/types/dialog/dialog.d.ts +1 -0
  361. package/dist/types/dialog/dialog.d.ts.map +1 -1
  362. package/dist/types/dialog/dialog.types.d.ts +25 -0
  363. package/dist/types/dialog/dialog.types.d.ts.map +1 -1
  364. package/dist/types/dialog/index.d.ts +1 -1
  365. package/dist/types/dialog/index.d.ts.map +1 -1
  366. package/dist/types/dialog/use-dialog-sheet.d.ts +8 -0
  367. package/dist/types/dialog/use-dialog-sheet.d.ts.map +1 -0
  368. package/dist/types/drawer/drawer-parts.d.ts +10 -2
  369. package/dist/types/drawer/drawer-parts.d.ts.map +1 -1
  370. package/dist/types/drawer/drawer.d.ts +2 -1
  371. package/dist/types/drawer/drawer.d.ts.map +1 -1
  372. package/dist/types/drawer/drawer.types.d.ts +21 -0
  373. package/dist/types/drawer/drawer.types.d.ts.map +1 -1
  374. package/dist/types/drawer/index.d.ts +2 -2
  375. package/dist/types/drawer/index.d.ts.map +1 -1
  376. package/dist/types/entity-picker/entity-picker-defaults.d.ts.map +1 -1
  377. package/dist/types/entity-picker/entity-picker-popup.d.ts.map +1 -1
  378. package/dist/types/entity-picker/entity-picker-sheet-panel.d.ts +17 -0
  379. package/dist/types/entity-picker/entity-picker-sheet-panel.d.ts.map +1 -0
  380. package/dist/types/entity-picker/entity-picker.d.ts +3 -0
  381. package/dist/types/entity-picker/entity-picker.d.ts.map +1 -1
  382. package/dist/types/entity-picker/entity-picker.types.d.ts +8 -0
  383. package/dist/types/entity-picker/entity-picker.types.d.ts.map +1 -1
  384. package/dist/types/entity-picker/index.d.ts +1 -1
  385. package/dist/types/entity-picker/index.d.ts.map +1 -1
  386. package/dist/types/entity-picker/sheet-keys.d.ts +9 -0
  387. package/dist/types/entity-picker/sheet-keys.d.ts.map +1 -0
  388. package/dist/types/entity-picker/use-entity-picker-sheet.d.ts +16 -0
  389. package/dist/types/entity-picker/use-entity-picker-sheet.d.ts.map +1 -0
  390. package/dist/types/filter-bar/filter-bar-sheet-editor.d.ts +21 -0
  391. package/dist/types/filter-bar/filter-bar-sheet-editor.d.ts.map +1 -0
  392. package/dist/types/filter-bar/filter-bar-sheet-list.d.ts +19 -0
  393. package/dist/types/filter-bar/filter-bar-sheet-list.d.ts.map +1 -0
  394. package/dist/types/filter-bar/filter-bar-sheet-notice.d.ts +17 -0
  395. package/dist/types/filter-bar/filter-bar-sheet-notice.d.ts.map +1 -0
  396. package/dist/types/filter-bar/filter-bar-sheet-operands.d.ts +22 -0
  397. package/dist/types/filter-bar/filter-bar-sheet-operands.d.ts.map +1 -0
  398. package/dist/types/filter-bar/filter-bar-sheet-option.d.ts +12 -0
  399. package/dist/types/filter-bar/filter-bar-sheet-option.d.ts.map +1 -0
  400. package/dist/types/filter-bar/filter-bar-sheet-row.d.ts +15 -0
  401. package/dist/types/filter-bar/filter-bar-sheet-row.d.ts.map +1 -0
  402. package/dist/types/filter-bar/filter-bar-sheet-words.d.ts +11 -0
  403. package/dist/types/filter-bar/filter-bar-sheet-words.d.ts.map +1 -0
  404. package/dist/types/filter-bar/filter-bar-sheet.d.ts +36 -0
  405. package/dist/types/filter-bar/filter-bar-sheet.d.ts.map +1 -0
  406. package/dist/types/filter-bar/filter-bar.d.ts +1 -1
  407. package/dist/types/filter-bar/filter-bar.d.ts.map +1 -1
  408. package/dist/types/filter-bar/filter-bar.types.d.ts +59 -1
  409. package/dist/types/filter-bar/filter-bar.types.d.ts.map +1 -1
  410. package/dist/types/filter-bar/index.d.ts +1 -1
  411. package/dist/types/filter-bar/index.d.ts.map +1 -1
  412. package/dist/types/filter-bar/use-sheet-draft.d.ts +12 -0
  413. package/dist/types/filter-bar/use-sheet-draft.d.ts.map +1 -0
  414. package/dist/types/list/index.d.ts +1 -1
  415. package/dist/types/list/index.d.ts.map +1 -1
  416. package/dist/types/list/list-defaults.d.ts.map +1 -1
  417. package/dist/types/list/list.d.ts +1 -1
  418. package/dist/types/list/list.d.ts.map +1 -1
  419. package/dist/types/list/list.types.d.ts +28 -0
  420. package/dist/types/list/list.types.d.ts.map +1 -1
  421. package/dist/types/list-item/index.d.ts +1 -1
  422. package/dist/types/list-item/index.d.ts.map +1 -1
  423. package/dist/types/list-item/list-item-parts.d.ts +7 -0
  424. package/dist/types/list-item/list-item-parts.d.ts.map +1 -1
  425. package/dist/types/list-item/list-item.d.ts.map +1 -1
  426. package/dist/types/menu/menu-parts.d.ts.map +1 -1
  427. package/dist/types/menu/menu.d.ts +1 -0
  428. package/dist/types/menu/menu.d.ts.map +1 -1
  429. package/dist/types/menu/menu.types.d.ts +6 -2
  430. package/dist/types/menu/menu.types.d.ts.map +1 -1
  431. package/dist/types/menu/use-menu-sheet.d.ts +7 -5
  432. package/dist/types/menu/use-menu-sheet.d.ts.map +1 -1
  433. package/dist/types/multi-select/index.d.ts +1 -1
  434. package/dist/types/multi-select/index.d.ts.map +1 -1
  435. package/dist/types/multi-select/multi-select-chips.d.ts.map +1 -1
  436. package/dist/types/multi-select/multi-select-defaults.d.ts.map +1 -1
  437. package/dist/types/multi-select/multi-select-items.d.ts.map +1 -1
  438. package/dist/types/multi-select/multi-select-parts.d.ts.map +1 -1
  439. package/dist/types/multi-select/multi-select-sheet-panel.d.ts +21 -0
  440. package/dist/types/multi-select/multi-select-sheet-panel.d.ts.map +1 -0
  441. package/dist/types/multi-select/multi-select.d.ts +5 -0
  442. package/dist/types/multi-select/multi-select.d.ts.map +1 -1
  443. package/dist/types/multi-select/multi-select.types.d.ts +7 -0
  444. package/dist/types/multi-select/multi-select.types.d.ts.map +1 -1
  445. package/dist/types/multi-select/use-multi-select-sheet.d.ts +16 -0
  446. package/dist/types/multi-select/use-multi-select-sheet.d.ts.map +1 -0
  447. package/dist/types/page-header/index.d.ts +2 -1
  448. package/dist/types/page-header/index.d.ts.map +1 -1
  449. package/dist/types/page-header/page-header-notice.d.ts +10 -0
  450. package/dist/types/page-header/page-header-notice.d.ts.map +1 -0
  451. package/dist/types/page-header/page-header.types.d.ts +17 -0
  452. package/dist/types/page-header/page-header.types.d.ts.map +1 -1
  453. package/dist/types/picker-panel/picker-layer.d.ts +1 -0
  454. package/dist/types/picker-panel/picker-layer.d.ts.map +1 -1
  455. package/dist/types/picker-panel/use-picker-layer.d.ts +2 -0
  456. package/dist/types/picker-panel/use-picker-layer.d.ts.map +1 -1
  457. package/dist/types/popover/index.d.ts +2 -2
  458. package/dist/types/popover/index.d.ts.map +1 -1
  459. package/dist/types/popover/popover-parts.d.ts +4 -2
  460. package/dist/types/popover/popover-parts.d.ts.map +1 -1
  461. package/dist/types/popover/popover.d.ts +1 -0
  462. package/dist/types/popover/popover.d.ts.map +1 -1
  463. package/dist/types/popover/popover.types.d.ts +10 -0
  464. package/dist/types/popover/popover.types.d.ts.map +1 -1
  465. package/dist/types/saved-views/saved-views-name-field.d.ts +11 -0
  466. package/dist/types/saved-views/saved-views-name-field.d.ts.map +1 -0
  467. package/dist/types/saved-views/saved-views-name-sheet.d.ts +23 -0
  468. package/dist/types/saved-views/saved-views-name-sheet.d.ts.map +1 -0
  469. package/dist/types/saved-views/saved-views.d.ts.map +1 -1
  470. package/dist/types/select/select-parts.d.ts.map +1 -1
  471. package/dist/types/select/select-sheet-panel.d.ts +21 -0
  472. package/dist/types/select/select-sheet-panel.d.ts.map +1 -0
  473. package/dist/types/select/select.d.ts +2 -1
  474. package/dist/types/select/select.d.ts.map +1 -1
  475. package/dist/types/select/select.types.d.ts +3 -3
  476. package/dist/types/select/use-select-sheet.d.ts +7 -3
  477. package/dist/types/select/use-select-sheet.d.ts.map +1 -1
  478. package/dist/types/sheet/use-sheet.d.ts +22 -0
  479. package/dist/types/sheet/use-sheet.d.ts.map +1 -0
  480. package/dist/types/stat-card/delta-run.d.ts +15 -0
  481. package/dist/types/stat-card/delta-run.d.ts.map +1 -0
  482. package/dist/types/stat-card/index.d.ts +3 -1
  483. package/dist/types/stat-card/index.d.ts.map +1 -1
  484. package/dist/types/stat-card/stat-card-delta.d.ts.map +1 -1
  485. package/dist/types/stat-card/stat-card-group.d.ts +10 -0
  486. package/dist/types/stat-card/stat-card-group.d.ts.map +1 -0
  487. package/dist/types/stat-card/stat-card.types.d.ts +38 -0
  488. package/dist/types/stat-card/stat-card.types.d.ts.map +1 -1
  489. package/dist/types/stat-card/stat-delta.d.ts +9 -0
  490. package/dist/types/stat-card/stat-delta.d.ts.map +1 -0
  491. package/dist/types/table/table-filter.d.ts.map +1 -1
  492. package/dist/types/time-field/time-field.d.ts.map +1 -1
  493. package/dist/types/time-picker/index.d.ts +1 -1
  494. package/dist/types/time-picker/index.d.ts.map +1 -1
  495. package/dist/types/time-picker/time-picker-defaults.d.ts.map +1 -1
  496. package/dist/types/time-picker/time-picker.d.ts.map +1 -1
  497. package/dist/types/time-picker/time-picker.types.d.ts +5 -0
  498. package/dist/types/time-picker/time-picker.types.d.ts.map +1 -1
  499. package/dist/types/time-picker/use-time-picker.d.ts +1 -0
  500. package/dist/types/time-picker/use-time-picker.d.ts.map +1 -1
  501. package/dist/types/time-range-picker/index.d.ts +1 -1
  502. package/dist/types/time-range-picker/index.d.ts.map +1 -1
  503. package/dist/types/time-range-picker/time-range-picker-defaults.d.ts.map +1 -1
  504. package/dist/types/time-range-picker/time-range-picker.d.ts.map +1 -1
  505. package/dist/types/time-range-picker/time-range-picker.types.d.ts +5 -0
  506. package/dist/types/time-range-picker/time-range-picker.types.d.ts.map +1 -1
  507. package/dist/types/time-range-picker/use-time-range-picker.d.ts +1 -0
  508. package/dist/types/time-range-picker/use-time-range-picker.d.ts.map +1 -1
  509. package/dist/types/toast/toast-parts.d.ts.map +1 -1
  510. package/dist/types/toast/toast.d.ts.map +1 -1
  511. package/dist/types/toast/toast.types.d.ts +6 -2
  512. package/dist/types/toast/toast.types.d.ts.map +1 -1
  513. package/dist/types/toast/use-toast-keyboard-inset.d.ts +7 -0
  514. package/dist/types/toast/use-toast-keyboard-inset.d.ts.map +1 -0
  515. package/dist/types/toast/use-toast-reach.d.ts +28 -0
  516. package/dist/types/toast/use-toast-reach.d.ts.map +1 -0
  517. package/dist/types/toast/use-toast-swipe.d.ts +6 -0
  518. package/dist/types/toast/use-toast-swipe.d.ts.map +1 -0
  519. package/dist/{upload-BtD1nLHa.js → upload-BUNMpgbU.js} +2 -2
  520. package/dist/upload.js +1 -1
  521. package/dist/{use-date-picker-CwH791Jm.js → use-date-picker-CXtGSr7_.js} +5 -2
  522. package/dist/{use-picker-draft-BnLS4lDY.js → use-picker-draft-DBzDfMwd.js} +110 -109
  523. package/dist/use-sheet-DFy3znDR.js +44 -0
  524. package/package.json +13 -8
  525. package/dist/action-sheet-q1UXXruJ.js +0 -360
  526. package/dist/cascader-BbhADVGt.js +0 -1160
  527. package/dist/column-manager-Cc72e1j-.js +0 -586
  528. package/dist/dashboard-grid-_3H4G0dP.js +0 -1207
  529. package/dist/date-field-CjlOWVRA.js +0 -299
  530. package/dist/date-picker-BoIHK8_U.js +0 -346
  531. package/dist/datetime-field-PSEOgzfN.js +0 -424
  532. package/dist/dialog-CjOBjHrL.js +0 -537
  533. package/dist/drawer-JP3p-QZB.js +0 -879
  534. package/dist/entity-picker-BWpuo-mp.js +0 -1292
  535. package/dist/filter-bar-nQH58RVl.js +0 -1358
  536. package/dist/menu-parts-DXs5YuUA.js +0 -932
  537. package/dist/multi-select-IpsZvoQ2.js +0 -1259
  538. package/dist/page-header-DK896DGD.js +0 -367
  539. package/dist/popover-DED1MTi-.js +0 -615
  540. package/dist/saved-views-D-CP7JIE.js +0 -459
  541. package/dist/select-Dbc3ng0M.js +0 -1124
  542. package/dist/stat-card-D6NMjkZM.js +0 -295
  543. package/dist/time-field-DlZdMsNw.js +0 -366
  544. package/dist/toast-C3xLEFDE.js +0 -474
  545. /package/dist/{page-DT8L0iRT.js → use-page-size-class-Cv1DbtKx.js} +0 -0
@@ -73,7 +73,8 @@ export default function SelectBasic() {
73
73
  | `search-icon` | span, aria-hidden | no |
74
74
  | `search-input` | input with role="combobox" | no |
75
75
  | `list` | div with role="listbox", drawn only under search | no |
76
- | `chosen` | div, aria-hidden, drawn while several values are chosen | no |
76
+ | `footer` | footer, drawn only in the sheet of a multiple select | no |
77
+ | `chosen` | div, aria-hidden, drawn in a multiple list from the open on | no |
77
78
  | `match` | mark, the match part of the highlight family, whose root sits inside label | no |
78
79
  | `group` | div with role="group" | no |
79
80
  | `group-label` | div | no |
@@ -127,7 +128,7 @@ export default function SelectBasic() {
127
128
  | `shift` | `boolean` | true | Select | Whether the list may slide along its edge to stay in view. |
128
129
  | `hideWhenDetached` | `boolean` | true | Select | Whether the list hides while its control is scrolled out of view. |
129
130
  | `portal` | `boolean` | true | Select | Whether the list renders at the end of the document instead of inside the control. |
130
- | `presentation` | `'popover' \| 'auto'` | popover | Select, SelectDefaultsProvider | auto draws the listbox in a bottom sheet under (max-width: 480px) and (pointer: coarse): modal, headed by the field’s label, every option at least --slotted-target-min tall, dismissed by its grip, its scrim, Escape and the platform’s way back, with focus given back to the trigger. A select with search keeps its anchored list, because the on-screen keyboard covers the bottom of the screen. |
131
+ | `presentation` | `'popover' \| 'auto'` | popover | Select, SelectDefaultsProvider | popover, the default, keeps the anchored list on every screen. auto draws the listbox in a bottom sheet under (max-width: 480px) and (pointer: coarse): modal, headed by the field’s label, every option at least --slotted-target-min tall, moved as every bottom sheet is and closed by a release past the threshold, its scrim, Escape and the platform’s way back, each by one slide down in the --slotted-sheet-* tokens, with focus given back to the trigger. A single select commits on a choice and draws no Close; a multiple one ends in a full-width Done. With search the sheet stands at full height, the field under the label, and the keyboard rises on a touch on the field. An application turns the sheet on for every select with SelectDefaultsProvider presentation="auto". |
131
132
  | `fullWidth` | `boolean` | true | Select | Whether the control fills its container. false sizes it to its widest value. |
132
133
  | `disabled` | `boolean` | false | Select | Disables the control and takes it out of the tab order. When unset, the select takes the state of its field. |
133
134
  | `readOnly` | `boolean` | false | Select | Keeps the value visible and focusable and never opens the list. When unset, the select takes the state of its field. |
@@ -198,6 +199,7 @@ export default function SelectBasic() {
198
199
  ## Rules
199
200
 
200
201
  - The trigger is a button with role="combobox", aria-haspopup="listbox" and aria-expanded. The list is a listbox with an option for each row.
202
+ - A press of the mouse or a key opens the list onto the selected option, or the first. A tap of a finger or a pen highlights no option, since the finger has chosen nothing yet; the chosen option keeps its check, and ArrowDown and ArrowUp start from the first and the last.
201
203
  - DOM focus stays on the trigger. aria-activedescendant names the highlighted option, which also carries data-current; chosen options carry aria-selected and data-selected. The highlight is where the keyboard is; the selection is what was chosen.
202
204
  - A disabled option carries aria-disabled, keeps its place in the list, and is skipped by every movement key, typeahead included.
203
205
  - Inside a field, the trigger carries the field’s control id, so a press on the label focuses it without opening the list. The trigger also takes the label through aria-labelledby, because the name a label gives a button does not reliably reach a button with role="combobox". Outside a field, give SelectTrigger an aria-label.
@@ -206,7 +208,7 @@ export default function SelectBasic() {
206
208
 
207
209
  ## Tokens
208
210
 
209
- `--slotted-border-strong`, `--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-border-color`, `--slotted-control-border-width`, `--slotted-control-focus-ring-offset`, `--slotted-control-font-family`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-gap-lg`, `--slotted-control-gap-md`, `--slotted-control-gap-sm`, `--slotted-control-height-lg`, `--slotted-control-height-md`, `--slotted-control-height-sm`, `--slotted-control-icon-size-lg`, `--slotted-control-icon-size-md`, `--slotted-control-icon-size-sm`, `--slotted-control-inner-size-lg`, `--slotted-control-inner-size-md`, `--slotted-control-inner-size-sm`, `--slotted-control-invalid-edge-width`, `--slotted-control-padding-inline-lg`, `--slotted-control-padding-inline-md`, `--slotted-control-padding-inline-sm`, `--slotted-control-radius`, `--slotted-control-shadow`, `--slotted-control-shadow-focus-geometry`, `--slotted-control-surface`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-background`, `--slotted-disabled-border`, `--slotted-disabled-foreground`, `--slotted-drawer-border-color`, `--slotted-drawer-radius`, `--slotted-drawer-resizer-line-color`, `--slotted-drawer-scrim`, `--slotted-drawer-scrim-backdrop-filter`, `--slotted-drawer-slide-duration`, `--slotted-drawer-slide-easing`, `--slotted-drawer-slide-exit-duration`, `--slotted-drawer-slide-exit-easing`, `--slotted-drawer-surface`, `--slotted-duration-long`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-color-invalid`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-family-heading`, `--slotted-font-family-sans`, `--slotted-font-size-md`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-semibold`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-overlay-max-block-size`, `--slotted-radius-lg`, `--slotted-radius-none`, `--slotted-scrim`, `--slotted-select-action-active-background`, `--slotted-select-action-color`, `--slotted-select-action-hover-background`, `--slotted-select-action-size`, `--slotted-select-arrow-color`, `--slotted-select-background`, `--slotted-select-border-color`, `--slotted-select-color`, `--slotted-select-content-backdrop-filter`, `--slotted-select-content-border-color`, `--slotted-select-content-padding-block`, `--slotted-select-content-padding-inline`, `--slotted-select-content-radius`, `--slotted-select-content-shadow`, `--slotted-select-content-text`, `--slotted-select-content-text-muted`, `--slotted-select-disabled-background`, `--slotted-select-disabled-border-color`, `--slotted-select-disabled-color`, `--slotted-select-group-label-height`, `--slotted-select-highlight`, `--slotted-select-highlight-active`, `--slotted-select-highlight-ring`, `--slotted-select-hover-border-color`, `--slotted-select-icon-size-min`, `--slotted-select-invalid-border-color`, `--slotted-select-invalid-edge-width`, `--slotted-select-invalid-focus-ring-color`, `--slotted-select-item-radius`, `--slotted-select-measure`, `--slotted-select-open-border-color`, `--slotted-select-placeholder-color`, `--slotted-select-plain-hover-background`, `--slotted-select-radius`, `--slotted-select-readonly-background`, `--slotted-select-search-icon-color`, `--slotted-select-selected-color`, `--slotted-select-separator-color`, `--slotted-select-shadow`, `--slotted-select-subtle-background`, `--slotted-select-subtle-border-color`, `--slotted-select-subtle-hover-background`, `--slotted-select-surface`, `--slotted-shadow-lg`, `--slotted-shadow-md`, `--slotted-space-1`, `--slotted-space-11`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-5`, `--slotted-surface-raised`, `--slotted-surface-sunken`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-border`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-danger-border`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-z-index-popover`
211
+ `--slotted-border-strong`, `--slotted-border-subtle`, `--slotted-border-width-thick`, `--slotted-border-width-thin`, `--slotted-control-border-color`, `--slotted-control-border-width`, `--slotted-control-focus-ring-offset`, `--slotted-control-font-family`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-gap-lg`, `--slotted-control-gap-md`, `--slotted-control-gap-sm`, `--slotted-control-height-lg`, `--slotted-control-height-md`, `--slotted-control-height-sm`, `--slotted-control-icon-size-lg`, `--slotted-control-icon-size-md`, `--slotted-control-icon-size-sm`, `--slotted-control-inner-size-lg`, `--slotted-control-inner-size-md`, `--slotted-control-inner-size-sm`, `--slotted-control-invalid-edge-width`, `--slotted-control-padding-inline-lg`, `--slotted-control-padding-inline-md`, `--slotted-control-padding-inline-sm`, `--slotted-control-radius`, `--slotted-control-shadow`, `--slotted-control-shadow-focus-geometry`, `--slotted-control-surface`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-background`, `--slotted-disabled-border`, `--slotted-disabled-foreground`, `--slotted-duration-instant`, `--slotted-duration-long`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-color-invalid`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-family-heading`, `--slotted-font-family-sans`, `--slotted-font-size-md`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-semibold`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-overlay-max-block-size`, `--slotted-radius-lg`, `--slotted-radius-none`, `--slotted-scrim`, `--slotted-select-action-active-background`, `--slotted-select-action-color`, `--slotted-select-action-hover-background`, `--slotted-select-action-size`, `--slotted-select-arrow-color`, `--slotted-select-background`, `--slotted-select-border-color`, `--slotted-select-color`, `--slotted-select-content-backdrop-filter`, `--slotted-select-content-border-color`, `--slotted-select-content-padding-block`, `--slotted-select-content-padding-inline`, `--slotted-select-content-radius`, `--slotted-select-content-shadow`, `--slotted-select-content-text`, `--slotted-select-content-text-muted`, `--slotted-select-disabled-background`, `--slotted-select-disabled-border-color`, `--slotted-select-disabled-color`, `--slotted-select-group-label-height`, `--slotted-select-highlight`, `--slotted-select-highlight-active`, `--slotted-select-highlight-ring`, `--slotted-select-hover-border-color`, `--slotted-select-icon-size-min`, `--slotted-select-invalid-border-color`, `--slotted-select-invalid-edge-width`, `--slotted-select-invalid-focus-ring-color`, `--slotted-select-item-radius`, `--slotted-select-measure`, `--slotted-select-open-border-color`, `--slotted-select-placeholder-color`, `--slotted-select-plain-hover-background`, `--slotted-select-radius`, `--slotted-select-readonly-background`, `--slotted-select-search-icon-color`, `--slotted-select-selected-color`, `--slotted-select-separator-color`, `--slotted-select-shadow`, `--slotted-select-subtle-background`, `--slotted-select-subtle-border-color`, `--slotted-select-subtle-hover-background`, `--slotted-select-surface`, `--slotted-shadow-lg`, `--slotted-shadow-md`, `--slotted-sheet-border-color`, `--slotted-sheet-exit-duration`, `--slotted-sheet-exit-easing`, `--slotted-sheet-grip-color`, `--slotted-sheet-inline-size`, `--slotted-sheet-radius`, `--slotted-sheet-scrim`, `--slotted-sheet-scrim-backdrop-filter`, `--slotted-sheet-slide-duration`, `--slotted-sheet-slide-easing`, `--slotted-sheet-surface`, `--slotted-space-1`, `--slotted-space-11`, `--slotted-space-12`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-7`, `--slotted-surface-raised`, `--slotted-surface-sunken`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-border`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-danger-border`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-z-index-popover`
210
212
 
211
213
  ## Examples
212
214
 
@@ -440,6 +440,41 @@ Excerpt — not a complete module
440
440
  </SlottedProvider>;
441
441
  ```
442
442
 
443
+ ### A change in a row, and the DOM it reaches
444
+
445
+ Excerpt — not a complete module
446
+
447
+ ```tsx
448
+ <StatDelta value={-0.073} goodWhen="down" />;
449
+ ```
450
+
451
+ ### Anatomy, as it reaches the DOM
452
+
453
+ Excerpt — not a complete module
454
+
455
+ ```tsx
456
+ <span data-ui="stat-card" data-part="root" data-variant="delta">
457
+ <span data-part="delta" data-trend="down" data-tone="success">
458
+ <span aria-hidden="true" data-part="indicator">
459
+ …
460
+ </span>
461
+ <span data-ui="visually-hidden">down </span>−7.3%
462
+ </span>
463
+ </span>;
464
+ ```
465
+
466
+ ### A page’s figures, by its size class
467
+
468
+ Excerpt — not a complete module
469
+
470
+ ```tsx
471
+ <StatCardGroup>
472
+ <StatCard attention="danger">…</StatCard>
473
+ <StatCard>…</StatCard>
474
+ <StatCard>…</StatCard>
475
+ </StatCardGroup>;
476
+ ```
477
+
443
478
  ### attention.tsx
444
479
 
445
480
  Example
@@ -544,6 +579,38 @@ export default function StatCardCount() {
544
579
  }
545
580
  ```
546
581
 
582
+ ### delta.tsx
583
+
584
+ Example
585
+
586
+ ```tsx
587
+ import { StatDelta } from '@slotted/react/stat-card';
588
+
589
+ const ROWS = [
590
+ { label: 'Open orders', value: 1510, delta: 0.124, goodWhen: 'up' },
591
+ { label: 'Average lead time', value: 4.6, delta: -0.073, goodWhen: 'down' },
592
+ { label: 'Returns', value: 38, delta: 0, goodWhen: 'down' },
593
+ ] as const;
594
+
595
+ export default function StatCardDelta() {
596
+ return (
597
+ <table>
598
+ <tbody>
599
+ {ROWS.map((row) => (
600
+ <tr key={row.label}>
601
+ <th scope="row">{row.label}</th>
602
+ <td>{row.value}</td>
603
+ <td>
604
+ <StatDelta goodWhen={row.goodWhen} value={row.delta} />
605
+ </td>
606
+ </tr>
607
+ ))}
608
+ </tbody>
609
+ </table>
610
+ );
611
+ }
612
+ ```
613
+
547
614
  ### format.tsx
548
615
 
549
616
  Example
@@ -613,6 +680,60 @@ export default function StatCardFormat() {
613
680
  }
614
681
  ```
615
682
 
683
+ ### group.tsx
684
+
685
+ Example
686
+
687
+ ```tsx
688
+ import {
689
+ StatCard,
690
+ StatCardComparison,
691
+ StatCardDelta,
692
+ StatCardFigure,
693
+ StatCardGroup,
694
+ StatCardHeader,
695
+ StatCardLabel,
696
+ StatCardValue,
697
+ } from '@slotted/react/stat-card';
698
+
699
+ const FIGURES = [
700
+ { label: 'Open balance', value: 38000, note: 'Of a total line of $38,000.00' },
701
+ {
702
+ label: 'Overdue',
703
+ value: 4120,
704
+ note: 'Three invoices past 30 days',
705
+ delta: 0.12,
706
+ attention: 'danger',
707
+ },
708
+ { label: 'Paid this month', value: 12900, note: 'Eleven invoices', delta: -0.04 },
709
+ ] as const;
710
+
711
+ export default function StatCardGroupExample() {
712
+ return (
713
+ <StatCardGroup>
714
+ {FIGURES.map((figure) => (
715
+ <StatCard
716
+ key={figure.label}
717
+ size="sm"
718
+ {...('attention' in figure ? { attention: figure.attention } : {})}
719
+ {...('delta' in figure ? { delta: figure.delta } : {})}
720
+ goodWhen="down"
721
+ >
722
+ <StatCardHeader>
723
+ <StatCardLabel>{figure.label}</StatCardLabel>
724
+ </StatCardHeader>
725
+ <StatCardFigure>
726
+ <StatCardValue value={figure.value} />
727
+ {'delta' in figure ? <StatCardDelta /> : null}
728
+ <StatCardComparison>{figure.note}</StatCardComparison>
729
+ </StatCardFigure>
730
+ </StatCard>
731
+ ))}
732
+ </StatCardGroup>
733
+ );
734
+ }
735
+ ```
736
+
616
737
  ### parts.tsx
617
738
 
618
739
  Example
@@ -91,6 +91,41 @@
91
91
  "trend",
92
92
  "message"
93
93
  ]
94
+ },
95
+ "statDelta": {
96
+ "nativeElement": "span",
97
+ "defaults": {
98
+ "format": "percent",
99
+ "goodWhen": "up"
100
+ },
101
+ "capabilities": [
102
+ "appearance",
103
+ "content"
104
+ ],
105
+ "states": [
106
+ "default"
107
+ ],
108
+ "parts": [
109
+ "root",
110
+ "delta",
111
+ "indicator"
112
+ ]
113
+ },
114
+ "statCardGroup": {
115
+ "nativeElement": "div",
116
+ "defaults": {
117
+ "form": "auto"
118
+ },
119
+ "capabilities": [
120
+ "appearance",
121
+ "content"
122
+ ],
123
+ "states": [
124
+ "default"
125
+ ],
126
+ "parts": [
127
+ "root"
128
+ ]
94
129
  }
95
130
  },
96
131
  "docs": {
@@ -377,6 +412,132 @@
377
412
  "A missing or failed value is a dash and a message, in the DOM and in the tree; a card never announces a stale number as current.",
378
413
  "The value is never truncated. A number wider than the trend’s room takes the room; a number wider than the card breaks; nothing is clipped or hidden behind an ellipsis."
379
414
  ]
415
+ },
416
+ "statDelta": {
417
+ "imports": {
418
+ "source": "import { StatDelta } from '@slotted/react';"
419
+ },
420
+ "anatomy": [
421
+ {
422
+ "part": "root",
423
+ "element": "span",
424
+ "required": true,
425
+ "purpose": "The delta of a card where no card is — a row of a list, a table cell — carrying data-variant=\"delta\". It draws no frame and reads the body size at a medium weight."
426
+ },
427
+ {
428
+ "part": "delta",
429
+ "element": "span",
430
+ "required": true,
431
+ "purpose": "The card’s own delta part, carrying data-trend and data-tone, so one set of rules paints the delta on a card and on its own."
432
+ },
433
+ {
434
+ "part": "indicator",
435
+ "element": "span",
436
+ "required": true,
437
+ "purpose": "trending-up in a directional icon box, turned over for a fall, and minus for no change; aria-hidden."
438
+ }
439
+ ],
440
+ "api": [
441
+ {
442
+ "name": "value",
443
+ "type": "number | undefined",
444
+ "defaultValue": "—",
445
+ "appliesTo": "StatDelta",
446
+ "description": "The change. Unset, nothing is drawn."
447
+ },
448
+ {
449
+ "name": "format",
450
+ "type": "'percent' | 'decimal'",
451
+ "defaultValue": "percent",
452
+ "appliesTo": "StatDelta",
453
+ "description": "percent reads the value as a fraction, at most one fraction digit; decimal reads it as it is. The sign is shown except on zero, and a fall takes the minus sign."
454
+ },
455
+ {
456
+ "name": "formatOptions",
457
+ "type": "Intl.NumberFormatOptions",
458
+ "defaultValue": "—",
459
+ "appliesTo": "StatDelta",
460
+ "description": "Laid over the format’s own options."
461
+ },
462
+ {
463
+ "name": "goodWhen",
464
+ "type": "'up' | 'down' | 'none'",
465
+ "defaultValue": "up",
466
+ "appliesTo": "StatDelta",
467
+ "description": "Which way is good: the tone is derived from the direction and this, never from the sign."
468
+ },
469
+ {
470
+ "name": "tone",
471
+ "type": "'neutral' | 'accent' | 'secondary' | 'info' | 'success' | 'warning' | 'danger'",
472
+ "defaultValue": "—",
473
+ "appliesTo": "StatDelta",
474
+ "description": "An explicit tone, which wins over the derived one."
475
+ },
476
+ {
477
+ "name": "locale",
478
+ "type": "string",
479
+ "defaultValue": "—",
480
+ "appliesTo": "StatDelta",
481
+ "description": "The locale the change is written in; the language in force when absent."
482
+ },
483
+ {
484
+ "name": "messages",
485
+ "type": "Partial<StatCardMessages>",
486
+ "defaultValue": "—",
487
+ "appliesTo": "StatDelta",
488
+ "description": "Words laid over the language in force: the direction words up, down and flat."
489
+ }
490
+ ],
491
+ "composition": [
492
+ {
493
+ "name": "children",
494
+ "type": "ReactNode",
495
+ "defaultValue": "—",
496
+ "appliesTo": "StatDelta",
497
+ "description": "Written in place of the formatted change, after the direction word."
498
+ }
499
+ ],
500
+ "events": [],
501
+ "accessibility": [
502
+ "The change reads its direction before its number — “down −7.3%” — from a visually hidden word; the indicator is aria-hidden.",
503
+ "The tone is never the only channel: the indicator turns, the word is read, the sign is written."
504
+ ]
505
+ },
506
+ "statCardGroup": {
507
+ "imports": {
508
+ "source": "import { StatCardGroup } from '@slotted/react';"
509
+ },
510
+ "anatomy": [
511
+ {
512
+ "part": "root",
513
+ "element": "div",
514
+ "required": true,
515
+ "purpose": "Holds the page’s figures, carrying data-variant=\"group\" and data-form. grid: the tiles each card draws, in columns of the card’s least width. panel: one surface, the card’s fill, edge and corners, and each card a row of one height."
516
+ }
517
+ ],
518
+ "api": [
519
+ {
520
+ "name": "form",
521
+ "type": "'auto' | 'grid' | 'panel'",
522
+ "defaultValue": "auto",
523
+ "appliesTo": "StatCardGroup",
524
+ "description": "auto draws the panel in the compact size class — the page’s, or the viewport’s outside a page — and the grid otherwise."
525
+ }
526
+ ],
527
+ "composition": [
528
+ {
529
+ "name": "children",
530
+ "type": "ReactNode",
531
+ "defaultValue": "—",
532
+ "appliesTo": "StatCardGroup",
533
+ "description": "The StatCards. In the panel the first in danger, else in warning, else the first, leads at the figure’s size with its trend; every other card is a row with its label and value on one line and its comparison and delta under them."
534
+ }
535
+ ],
536
+ "events": [],
537
+ "accessibility": [
538
+ "The panel moves the lead to the top by order, not in the DOM: the reading and focus order stay the order the page wrote, which is the order of the desk’s tiles.",
539
+ "Each card keeps its group role and its name; the rows are the same figures, read the same way."
540
+ ]
380
541
  }
381
542
  },
382
543
  "tokens": [
@@ -389,11 +550,13 @@
389
550
  "--slotted-font-size-2xl",
390
551
  "--slotted-font-size-3xl",
391
552
  "--slotted-font-size-4xl",
553
+ "--slotted-font-size-lg",
392
554
  "--slotted-font-size-md",
393
555
  "--slotted-font-size-sm",
394
556
  "--slotted-font-size-xl",
395
557
  "--slotted-font-size-xs",
396
558
  "--slotted-font-weight-medium",
559
+ "--slotted-font-weight-regular",
397
560
  "--slotted-font-weight-semibold",
398
561
  "--slotted-letter-spacing-tighter",
399
562
  "--slotted-line-height-2xl",
@@ -478,11 +641,13 @@
478
641
  "--slotted-text-muted",
479
642
  "--slotted-tone-accent-text",
480
643
  "--slotted-tone-danger-border",
644
+ "--slotted-tone-danger-surface",
481
645
  "--slotted-tone-danger-text",
482
646
  "--slotted-tone-info-text",
483
647
  "--slotted-tone-secondary-text",
484
648
  "--slotted-tone-success-text",
485
649
  "--slotted-tone-warning-border",
650
+ "--slotted-tone-warning-surface",
486
651
  "--slotted-tone-warning-text"
487
652
  ],
488
653
  "examples": [
@@ -574,6 +739,30 @@
574
739
  "source": "<SlottedProvider locale=\"pt-BR\" catalogs={{ 'pt-BR': PT_BR }}>\n <Dashboard />\n</SlottedProvider>;\n",
575
740
  "verdict": "excerpt"
576
741
  },
742
+ {
743
+ "id": "stat-delta-react-anatomy",
744
+ "title": "A change in a row, and the DOM it reaches",
745
+ "note": null,
746
+ "language": "tsx",
747
+ "source": "<StatDelta value={-0.073} goodWhen=\"down\" />;\n",
748
+ "verdict": "excerpt"
749
+ },
750
+ {
751
+ "id": "stat-delta-react-dom",
752
+ "title": "Anatomy, as it reaches the DOM",
753
+ "note": null,
754
+ "language": "tsx",
755
+ "source": "<span data-ui=\"stat-card\" data-part=\"root\" data-variant=\"delta\">\n <span data-part=\"delta\" data-trend=\"down\" data-tone=\"success\">\n <span aria-hidden=\"true\" data-part=\"indicator\">\n …\n </span>\n <span data-ui=\"visually-hidden\">down </span>−7.3%\n </span>\n</span>;\n",
756
+ "verdict": "excerpt"
757
+ },
758
+ {
759
+ "id": "stat-card-group-react",
760
+ "title": "A page’s figures, by its size class",
761
+ "note": null,
762
+ "language": "tsx",
763
+ "source": "<StatCardGroup>\n <StatCard attention=\"danger\">…</StatCard>\n <StatCard>…</StatCard>\n <StatCard>…</StatCard>\n</StatCardGroup>;\n",
764
+ "verdict": "excerpt"
765
+ },
577
766
  {
578
767
  "id": "attention",
579
768
  "title": "attention.tsx",
@@ -598,6 +787,14 @@
598
787
  "source": "import { useState } from 'react';\n\nimport { Button } from '@slotted/react/button';\nimport { Inline } from '@slotted/react/inline';\nimport { Stack } from '@slotted/react/stack';\nimport {\n StatCard,\n StatCardComparison,\n StatCardFigure,\n StatCardHeader,\n StatCardLabel,\n StatCardPeriod,\n StatCardValue,\n} from '@slotted/react/stat-card';\n\nconst USD = { style: 'currency', currency: 'USD', maximumFractionDigits: 0 } as const;\n\nexport default function StatCardCount() {\n const [revenue, setRevenue] = useState(184200);\n\n function handleBook() {\n setRevenue((current) => current + 2450);\n }\n\n return (\n <Stack gap={4}>\n <StatCard>\n <StatCardHeader>\n <StatCardLabel>Revenue today</StatCardLabel>\n </StatCardHeader>\n <StatCardFigure>\n <StatCardValue formatOptions={USD} transition=\"count\" value={revenue} />\n <StatCardComparison>\n from $171,800 <StatCardPeriod>yesterday</StatCardPeriod>\n </StatCardComparison>\n </StatCardFigure>\n </StatCard>\n\n <Inline>\n <Button onClick={handleBook}>Book an order</Button>\n </Inline>\n </Stack>\n );\n}\n",
599
788
  "verdict": "example"
600
789
  },
790
+ {
791
+ "id": "delta",
792
+ "title": "delta.tsx",
793
+ "note": null,
794
+ "language": "tsx",
795
+ "source": "import { StatDelta } from '@slotted/react/stat-card';\n\nconst ROWS = [\n { label: 'Open orders', value: 1510, delta: 0.124, goodWhen: 'up' },\n { label: 'Average lead time', value: 4.6, delta: -0.073, goodWhen: 'down' },\n { label: 'Returns', value: 38, delta: 0, goodWhen: 'down' },\n] as const;\n\nexport default function StatCardDelta() {\n return (\n <table>\n <tbody>\n {ROWS.map((row) => (\n <tr key={row.label}>\n <th scope=\"row\">{row.label}</th>\n <td>{row.value}</td>\n <td>\n <StatDelta goodWhen={row.goodWhen} value={row.delta} />\n </td>\n </tr>\n ))}\n </tbody>\n </table>\n );\n}\n",
796
+ "verdict": "example"
797
+ },
601
798
  {
602
799
  "id": "format",
603
800
  "title": "format.tsx",
@@ -606,6 +803,14 @@
606
803
  "source": "import { Grid } from '@slotted/react/grid';\nimport {\n StatCard,\n StatCardDelta,\n StatCardFigure,\n StatCardHeader,\n StatCardLabel,\n StatCardUnit,\n StatCardValue,\n} from '@slotted/react/stat-card';\n\nconst COMPACT_USD = { style: 'currency', currency: 'USD', notation: 'compact' } as const;\nconst USD = { style: 'currency', currency: 'USD' } as const;\nconst EUR = { style: 'currency', currency: 'EUR' } as const;\n\nexport default function StatCardFormat() {\n return (\n <Grid columns={2} gap={4}>\n <StatCard delta={0.087}>\n <StatCardHeader>\n <StatCardLabel>Revenue</StatCardLabel>\n </StatCardHeader>\n <StatCardFigure>\n <StatCardValue formatOptions={COMPACT_USD} value={1234567} />\n <StatCardDelta />\n </StatCardFigure>\n </StatCard>\n\n <StatCard delta={0.021}>\n <StatCardHeader>\n <StatCardLabel>Average order value</StatCardLabel>\n </StatCardHeader>\n <StatCardFigure>\n <StatCardValue emphasis=\"whole\" formatOptions={USD} value={128.45} />\n <StatCardDelta />\n </StatCardFigure>\n </StatCard>\n\n <StatCard delta={0.032} locale=\"de-DE\">\n <StatCardHeader>\n <StatCardLabel>Revenue, Hamburg</StatCardLabel>\n </StatCardHeader>\n <StatCardFigure>\n <StatCardValue formatOptions={EUR} value={48210.5} />\n <StatCardDelta />\n </StatCardFigure>\n </StatCard>\n\n <StatCard goodWhen=\"down\">\n <StatCardHeader>\n <StatCardLabel>Average lead time</StatCardLabel>\n </StatCardHeader>\n <StatCardFigure>\n <StatCardValue>\n 5.2<StatCardUnit>days</StatCardUnit>\n </StatCardValue>\n <StatCardDelta format=\"decimal\" value={-0.3} />\n </StatCardFigure>\n </StatCard>\n </Grid>\n );\n}\n",
607
804
  "verdict": "example"
608
805
  },
806
+ {
807
+ "id": "group",
808
+ "title": "group.tsx",
809
+ "note": null,
810
+ "language": "tsx",
811
+ "source": "import {\n StatCard,\n StatCardComparison,\n StatCardDelta,\n StatCardFigure,\n StatCardGroup,\n StatCardHeader,\n StatCardLabel,\n StatCardValue,\n} from '@slotted/react/stat-card';\n\nconst FIGURES = [\n { label: 'Open balance', value: 38000, note: 'Of a total line of $38,000.00' },\n {\n label: 'Overdue',\n value: 4120,\n note: 'Three invoices past 30 days',\n delta: 0.12,\n attention: 'danger',\n },\n { label: 'Paid this month', value: 12900, note: 'Eleven invoices', delta: -0.04 },\n] as const;\n\nexport default function StatCardGroupExample() {\n return (\n <StatCardGroup>\n {FIGURES.map((figure) => (\n <StatCard\n key={figure.label}\n size=\"sm\"\n {...('attention' in figure ? { attention: figure.attention } : {})}\n {...('delta' in figure ? { delta: figure.delta } : {})}\n goodWhen=\"down\"\n >\n <StatCardHeader>\n <StatCardLabel>{figure.label}</StatCardLabel>\n </StatCardHeader>\n <StatCardFigure>\n <StatCardValue value={figure.value} />\n {'delta' in figure ? <StatCardDelta /> : null}\n <StatCardComparison>{figure.note}</StatCardComparison>\n </StatCardFigure>\n </StatCard>\n ))}\n </StatCardGroup>\n );\n}\n",
812
+ "verdict": "example"
813
+ },
609
814
  {
610
815
  "id": "parts",
611
816
  "title": "parts.tsx",
@@ -24,6 +24,14 @@ import {
24
24
  } from '@slotted/react';
25
25
  ```
26
26
 
27
+ ```tsx
28
+ import { StatDelta } from '@slotted/react';
29
+ ```
30
+
31
+ ```tsx
32
+ import { StatCardGroup } from '@slotted/react';
33
+ ```
34
+
27
35
  ## Minimal example
28
36
 
29
37
  Example
@@ -60,6 +68,8 @@ export default function StatCardBasic() {
60
68
 
61
69
  ## Anatomy
62
70
 
71
+ ### stat-card
72
+
63
73
  | Part | Element | Required |
64
74
  | --- | --- | --- |
65
75
  | `root` | div | yes |
@@ -79,8 +89,24 @@ export default function StatCardBasic() {
79
89
  | `trend` | div | no |
80
90
  | `message` | p | no |
81
91
 
92
+ ### statDelta
93
+
94
+ | Part | Element | Required |
95
+ | --- | --- | --- |
96
+ | `root` | span | yes |
97
+ | `delta` | span | yes |
98
+ | `indicator` | span | yes |
99
+
100
+ ### statCardGroup
101
+
102
+ | Part | Element | Required |
103
+ | --- | --- | --- |
104
+ | `root` | div | yes |
105
+
82
106
  ## Props
83
107
 
108
+ ### stat-card
109
+
84
110
  | Name | Type | Default | Applies to | Description |
85
111
  | --- | --- | --- | --- | --- |
86
112
  | `size` | `'sm' \| 'md' \| 'lg'` | md | StatCard | The figure’s type and the card’s inset. |
@@ -108,6 +134,26 @@ export default function StatCardBasic() {
108
134
  | `trendOf, toneOf` | `function` | — | Application | The two derivations, exported for a delta you format yourself. |
109
135
  | `StatCardDefaultsProvider` | `StatCardDefaults` | — | Application | Sets goodWhen, size, fill, layout and formatOptions once for everything below it; a prop still wins. |
110
136
 
137
+ ### statDelta
138
+
139
+ | Name | Type | Default | Applies to | Description |
140
+ | --- | --- | --- | --- | --- |
141
+ | `value` | `number \| undefined` | — | StatDelta | The change. Unset, nothing is drawn. |
142
+ | `format` | `'percent' \| 'decimal'` | percent | StatDelta | percent reads the value as a fraction, at most one fraction digit; decimal reads it as it is. The sign is shown except on zero, and a fall takes the minus sign. |
143
+ | `formatOptions` | `Intl.NumberFormatOptions` | — | StatDelta | Laid over the format’s own options. |
144
+ | `goodWhen` | `'up' \| 'down' \| 'none'` | up | StatDelta | Which way is good: the tone is derived from the direction and this, never from the sign. |
145
+ | `tone` | `'neutral' \| 'accent' \| 'secondary' \| 'info' \| 'success' \| 'warning' \| 'danger'` | — | StatDelta | An explicit tone, which wins over the derived one. |
146
+ | `locale` | `string` | — | StatDelta | The locale the change is written in; the language in force when absent. |
147
+ | `messages` | `Partial<StatCardMessages>` | — | StatDelta | Words laid over the language in force: the direction words up, down and flat. |
148
+ | `children` | `ReactNode` | — | StatDelta | Written in place of the formatted change, after the direction word. |
149
+
150
+ ### statCardGroup
151
+
152
+ | Name | Type | Default | Applies to | Description |
153
+ | --- | --- | --- | --- | --- |
154
+ | `form` | `'auto' \| 'grid' \| 'panel'` | auto | StatCardGroup | auto draws the panel in the compact size class — the page’s, or the viewport’s outside a page — and the grid otherwise. |
155
+ | `children` | `ReactNode` | — | StatCardGroup | The StatCards. In the panel the first in danger, else in warning, else the first, leads at the figure’s size with its trend; every other card is a row with its label and value on one line and its comparison and delta under them. |
156
+
111
157
  ## Axes and defaults
112
158
 
113
159
  | Axis | Values | Default |
@@ -129,10 +175,14 @@ export default function StatCardBasic() {
129
175
  - While loading the root carries aria-busy="true" and every placeholder is a skeleton, hidden and inert. To announce a whole dashboard once instead of once per card, wrap it in a SkeletonRegion.
130
176
  - A missing or failed value is a dash and a message, in the DOM and in the tree; a card never announces a stale number as current.
131
177
  - The value is never truncated. A number wider than the trend’s room takes the room; a number wider than the card breaks; nothing is clipped or hidden behind an ellipsis.
178
+ - The change reads its direction before its number — “down −7.3%” — from a visually hidden word; the indicator is aria-hidden.
179
+ - The tone is never the only channel: the indicator turns, the word is read, the sign is written.
180
+ - The panel moves the lead to the top by order, not in the DOM: the reading and focus order stay the order the page wrote, which is the order of the desk’s tiles.
181
+ - Each card keeps its group role and its name; the rows are the same figures, read the same way.
132
182
 
133
183
  ## Tokens
134
184
 
135
- `--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-height-sm`, `--slotted-control-icon-size-md`, `--slotted-control-icon-size-sm`, `--slotted-font-family-sans`, `--slotted-font-size-2xl`, `--slotted-font-size-3xl`, `--slotted-font-size-4xl`, `--slotted-font-size-md`, `--slotted-font-size-sm`, `--slotted-font-size-xl`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-semibold`, `--slotted-letter-spacing-tighter`, `--slotted-line-height-2xl`, `--slotted-line-height-3xl`, `--slotted-line-height-4xl`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-line-height-xl`, `--slotted-line-height-xs`, `--slotted-radius-lg`, `--slotted-radius-none`, `--slotted-shadow-md`, `--slotted-space-1`, `--slotted-space-11`, `--slotted-space-12`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-6`, `--slotted-space-7`, `--slotted-space-8`, `--slotted-space-9`, `--slotted-sparkline-block-size`, `--slotted-sparkline-block-size-lg`, `--slotted-sparkline-block-size-sm`, `--slotted-stat-card-attention-border-color`, `--slotted-stat-card-attention-ink`, `--slotted-stat-card-background`, `--slotted-stat-card-background-subtle`, `--slotted-stat-card-border-color`, `--slotted-stat-card-border-width`, `--slotted-stat-card-color`, `--slotted-stat-card-color-muted`, `--slotted-stat-card-delta-font-size`, `--slotted-stat-card-delta-font-size-lg`, `--slotted-stat-card-delta-font-size-sm`, `--slotted-stat-card-indicator-size`, `--slotted-stat-card-indicator-size-lg`, `--slotted-stat-card-label-font-size`, `--slotted-stat-card-label-font-size-lg`, `--slotted-stat-card-label-font-size-sm`, `--slotted-stat-card-label-line-height`, `--slotted-stat-card-label-line-height-lg`, `--slotted-stat-card-label-line-height-sm`, `--slotted-stat-card-min-inline-size`, `--slotted-stat-card-padding-block`, `--slotted-stat-card-padding-block-lg`, `--slotted-stat-card-padding-block-sm`, `--slotted-stat-card-padding-inline`, `--slotted-stat-card-padding-inline-lg`, `--slotted-stat-card-padding-inline-sm`, `--slotted-stat-card-prose-font-size`, `--slotted-stat-card-prose-font-size-lg`, `--slotted-stat-card-prose-line-height`, `--slotted-stat-card-prose-line-height-lg`, `--slotted-stat-card-radius`, `--slotted-stat-card-region-gap`, `--slotted-stat-card-region-gap-lg`, `--slotted-stat-card-region-gap-sm`, `--slotted-stat-card-shadow`, `--slotted-stat-card-shadow-elevated`, `--slotted-stat-card-trend-block-size`, `--slotted-stat-card-trend-block-size-lg`, `--slotted-stat-card-trend-block-size-sm`, `--slotted-stat-card-trend-gap`, `--slotted-stat-card-trend-gap-lg`, `--slotted-stat-card-trend-gap-sm`, `--slotted-stat-card-trend-inline-size`, `--slotted-stat-card-trend-inline-size-lg`, `--slotted-stat-card-trend-inline-size-sm`, `--slotted-stat-card-value-font-size`, `--slotted-stat-card-value-font-size-lg`, `--slotted-stat-card-value-font-size-sm`, `--slotted-stat-card-value-line-height`, `--slotted-stat-card-value-line-height-lg`, `--slotted-stat-card-value-line-height-sm`, `--slotted-surface-raised`, `--slotted-surface-sunken`, `--slotted-target-comfortable`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-text`, `--slotted-tone-danger-border`, `--slotted-tone-danger-text`, `--slotted-tone-info-text`, `--slotted-tone-secondary-text`, `--slotted-tone-success-text`, `--slotted-tone-warning-border`, `--slotted-tone-warning-text`
185
+ `--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-height-sm`, `--slotted-control-icon-size-md`, `--slotted-control-icon-size-sm`, `--slotted-font-family-sans`, `--slotted-font-size-2xl`, `--slotted-font-size-3xl`, `--slotted-font-size-4xl`, `--slotted-font-size-lg`, `--slotted-font-size-md`, `--slotted-font-size-sm`, `--slotted-font-size-xl`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-regular`, `--slotted-font-weight-semibold`, `--slotted-letter-spacing-tighter`, `--slotted-line-height-2xl`, `--slotted-line-height-3xl`, `--slotted-line-height-4xl`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-line-height-xl`, `--slotted-line-height-xs`, `--slotted-radius-lg`, `--slotted-radius-none`, `--slotted-shadow-md`, `--slotted-space-1`, `--slotted-space-11`, `--slotted-space-12`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-6`, `--slotted-space-7`, `--slotted-space-8`, `--slotted-space-9`, `--slotted-sparkline-block-size`, `--slotted-sparkline-block-size-lg`, `--slotted-sparkline-block-size-sm`, `--slotted-stat-card-attention-border-color`, `--slotted-stat-card-attention-ink`, `--slotted-stat-card-background`, `--slotted-stat-card-background-subtle`, `--slotted-stat-card-border-color`, `--slotted-stat-card-border-width`, `--slotted-stat-card-color`, `--slotted-stat-card-color-muted`, `--slotted-stat-card-delta-font-size`, `--slotted-stat-card-delta-font-size-lg`, `--slotted-stat-card-delta-font-size-sm`, `--slotted-stat-card-indicator-size`, `--slotted-stat-card-indicator-size-lg`, `--slotted-stat-card-label-font-size`, `--slotted-stat-card-label-font-size-lg`, `--slotted-stat-card-label-font-size-sm`, `--slotted-stat-card-label-line-height`, `--slotted-stat-card-label-line-height-lg`, `--slotted-stat-card-label-line-height-sm`, `--slotted-stat-card-min-inline-size`, `--slotted-stat-card-padding-block`, `--slotted-stat-card-padding-block-lg`, `--slotted-stat-card-padding-block-sm`, `--slotted-stat-card-padding-inline`, `--slotted-stat-card-padding-inline-lg`, `--slotted-stat-card-padding-inline-sm`, `--slotted-stat-card-prose-font-size`, `--slotted-stat-card-prose-font-size-lg`, `--slotted-stat-card-prose-line-height`, `--slotted-stat-card-prose-line-height-lg`, `--slotted-stat-card-radius`, `--slotted-stat-card-region-gap`, `--slotted-stat-card-region-gap-lg`, `--slotted-stat-card-region-gap-sm`, `--slotted-stat-card-shadow`, `--slotted-stat-card-shadow-elevated`, `--slotted-stat-card-trend-block-size`, `--slotted-stat-card-trend-block-size-lg`, `--slotted-stat-card-trend-block-size-sm`, `--slotted-stat-card-trend-gap`, `--slotted-stat-card-trend-gap-lg`, `--slotted-stat-card-trend-gap-sm`, `--slotted-stat-card-trend-inline-size`, `--slotted-stat-card-trend-inline-size-lg`, `--slotted-stat-card-trend-inline-size-sm`, `--slotted-stat-card-value-font-size`, `--slotted-stat-card-value-font-size-lg`, `--slotted-stat-card-value-font-size-sm`, `--slotted-stat-card-value-line-height`, `--slotted-stat-card-value-line-height-lg`, `--slotted-stat-card-value-line-height-sm`, `--slotted-surface-raised`, `--slotted-surface-sunken`, `--slotted-target-comfortable`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-text`, `--slotted-tone-danger-border`, `--slotted-tone-danger-surface`, `--slotted-tone-danger-text`, `--slotted-tone-info-text`, `--slotted-tone-secondary-text`, `--slotted-tone-success-text`, `--slotted-tone-warning-border`, `--slotted-tone-warning-surface`, `--slotted-tone-warning-text`
136
186
 
137
187
  ## Examples
138
188
 
@@ -322,7 +322,7 @@
322
322
  "part": "filter-actions",
323
323
  "element": "div",
324
324
  "required": false,
325
- "purpose": "The footer: Clear at the leading edge and Apply at the trailing one."
325
+ "purpose": "Clear at the leading edge and Apply at the trailing one, inside the popover's own footer."
326
326
  },
327
327
  {
328
328
  "part": "selection",
@@ -863,6 +863,7 @@
863
863
  "--slotted-space-2",
864
864
  "--slotted-space-4",
865
865
  "--slotted-space-5",
866
+ "--slotted-space-7",
866
867
  "--slotted-space-9",
867
868
  "--slotted-surface",
868
869
  "--slotted-table-border-color",
@@ -277,7 +277,7 @@ export default function TableBasic() {
277
277
 
278
278
  ## Tokens
279
279
 
280
- `--slotted-border-strong`, `--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-font-family`, `--slotted-control-font-size-md`, `--slotted-control-gap-md`, `--slotted-control-height-md`, `--slotted-control-height-sm`, `--slotted-control-icon-size-md`, `--slotted-control-padding-inline-md`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-foreground`, `--slotted-duration-short`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-regular`, `--slotted-font-weight-semibold`, `--slotted-ground`, `--slotted-line-height-md`, `--slotted-radius-md`, `--slotted-radius-sm`, `--slotted-shadow-xs`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-9`, `--slotted-surface`, `--slotted-table-border-color`, `--slotted-table-border-color-strong`, `--slotted-table-border-width`, `--slotted-table-branch-size`, `--slotted-table-caption-surface`, `--slotted-table-cell-padding-block`, `--slotted-table-cell-padding-inline`, `--slotted-table-color`, `--slotted-table-color-muted`, `--slotted-table-column-actions-size`, `--slotted-table-control-radius`, `--slotted-table-edge-inset`, `--slotted-table-font-family`, `--slotted-table-font-size`, `--slotted-table-gap`, `--slotted-table-group-color`, `--slotted-table-group-sticky-offset`, `--slotted-table-group-surface`, `--slotted-table-guide-color`, `--slotted-table-header-backdrop-filter`, `--slotted-table-header-surface`, `--slotted-table-header-surface-hover`, `--slotted-table-icon-size`, `--slotted-table-mark-child-size`, `--slotted-table-mark-size`, `--slotted-table-radius`, `--slotted-table-row-color-selected`, `--slotted-table-row-min-block-size`, `--slotted-table-row-surface-current`, `--slotted-table-row-surface-hover`, `--slotted-table-row-surface-selected`, `--slotted-table-row-surface-selected-hover`, `--slotted-table-row-surface-stripe`, `--slotted-table-selection-size`, `--slotted-table-shadow`, `--slotted-table-sticky-inset`, `--slotted-table-sticky-offset`, `--slotted-table-sticky-offset-end`, `--slotted-table-sticky-surface`, `--slotted-table-surface`, `--slotted-table-tree-indent`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-subtle-hover`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-z-index-sticky`
280
+ `--slotted-border-strong`, `--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-font-family`, `--slotted-control-font-size-md`, `--slotted-control-gap-md`, `--slotted-control-height-md`, `--slotted-control-height-sm`, `--slotted-control-icon-size-md`, `--slotted-control-padding-inline-md`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-foreground`, `--slotted-duration-short`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-regular`, `--slotted-font-weight-semibold`, `--slotted-ground`, `--slotted-line-height-md`, `--slotted-radius-md`, `--slotted-radius-sm`, `--slotted-shadow-xs`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-7`, `--slotted-space-9`, `--slotted-surface`, `--slotted-table-border-color`, `--slotted-table-border-color-strong`, `--slotted-table-border-width`, `--slotted-table-branch-size`, `--slotted-table-caption-surface`, `--slotted-table-cell-padding-block`, `--slotted-table-cell-padding-inline`, `--slotted-table-color`, `--slotted-table-color-muted`, `--slotted-table-column-actions-size`, `--slotted-table-control-radius`, `--slotted-table-edge-inset`, `--slotted-table-font-family`, `--slotted-table-font-size`, `--slotted-table-gap`, `--slotted-table-group-color`, `--slotted-table-group-sticky-offset`, `--slotted-table-group-surface`, `--slotted-table-guide-color`, `--slotted-table-header-backdrop-filter`, `--slotted-table-header-surface`, `--slotted-table-header-surface-hover`, `--slotted-table-icon-size`, `--slotted-table-mark-child-size`, `--slotted-table-mark-size`, `--slotted-table-radius`, `--slotted-table-row-color-selected`, `--slotted-table-row-min-block-size`, `--slotted-table-row-surface-current`, `--slotted-table-row-surface-hover`, `--slotted-table-row-surface-selected`, `--slotted-table-row-surface-selected-hover`, `--slotted-table-row-surface-stripe`, `--slotted-table-selection-size`, `--slotted-table-shadow`, `--slotted-table-sticky-inset`, `--slotted-table-sticky-offset`, `--slotted-table-sticky-offset-end`, `--slotted-table-sticky-surface`, `--slotted-table-surface`, `--slotted-table-tree-indent`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-subtle-hover`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-z-index-sticky`
281
281
 
282
282
  ## Examples
283
283
 
@@ -46,6 +46,7 @@
46
46
  "size": "md",
47
47
  "variant": "outline",
48
48
  "placement": "bottom-start",
49
+ "presentation": "auto",
49
50
  "confirm": true,
50
51
  "step": 900,
51
52
  "granularity": "minute",
@@ -241,6 +242,13 @@
241
242
  "appliesTo": "TimePicker",
242
243
  "description": "Where the panel opens when there is room for it. The positioner turns it when there is not."
243
244
  },
245
+ {
246
+ "name": "presentation",
247
+ "type": "'auto' | 'popover'",
248
+ "defaultValue": "auto",
249
+ "appliesTo": "TimePicker",
250
+ "description": "auto, the default, draws the panel in a modal bottom sheet under (max-width: 480px) and (pointer: coarse), headed by the field’s label and taking the screen’s width. popover keeps the anchored panel on every screen. The defaults provider sets it once for the application."
251
+ },
244
252
  {
245
253
  "name": "size",
246
254
  "type": "'sm' | 'md' | 'lg'",
@@ -311,7 +319,7 @@
311
319
  "type": "component",
312
320
  "defaultValue": "—",
313
321
  "appliesTo": "application",
314
- "description": "Sets confirm, granularity, hourCycle, placement, size, step, timeZone and variant once."
322
+ "description": "Sets confirm, granularity, hourCycle, placement, presentation, size, step, timeZone and variant once."
315
323
  },
316
324
  {
317
325
  "name": "renderSlot",