@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
@@ -186,7 +186,7 @@
186
186
  "part": "grip",
187
187
  "element": "span",
188
188
  "required": false,
189
- "purpose": "The bar at the top of the sheet, aria-hidden. A pull down on it dismisses the step it belongs to."
189
+ "purpose": "The bar at the top of the sheet, aria-hidden. A mouse pulls the sheet by it; a touch moves the sheet anywhere on it."
190
190
  },
191
191
  {
192
192
  "part": "step",
@@ -474,7 +474,7 @@
474
474
  "type": "'popover' | 'auto'",
475
475
  "defaultValue": "popover",
476
476
  "appliesTo": "Menu, MenuDefaultsProvider",
477
- "description": "auto draws the menu as a bottom sheet under (max-width: 480px) and (pointer: coarse): modal, as ActionSheet draws its actions, every item 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 submenu opens as a second step of the same sheet. A menu on a bar stays anchored."
477
+ "description": "popover, the default, keeps the anchored menu on every screen. auto draws the menu as a bottom sheet under (max-width: 480px) and (pointer: coarse): modal, as ActionSheet draws its actions, every item 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. It commits on a choice and draws no Close. A submenu opens as a second step of the same sheet. A menu on a bar stays anchored. An application turns the sheet on for every menu with MenuDefaultsProvider presentation=\"auto\"."
478
478
  },
479
479
  {
480
480
  "name": "messages",
@@ -686,6 +686,7 @@
686
686
  "accessibility": [
687
687
  "An item is a native button, so Enter and Space run it and the pointer behaves as the browser's own. role=\"menuitem\" replaces role=\"button\", so a screen reader announces a menu item. A link item is an a that keeps its href and takes the same role.",
688
688
  "Menu supplies the keyboard of the WAI-ARIA menu pattern: the arrow keys move and wrap, Home and End reach the ends, letters move by typeahead, the inline-end arrow opens a submenu and the inline-start arrow closes it, Escape closes the menu that holds focus, and Tab closes every menu and moves focus past the trigger.",
689
+ "A tap of a finger or a pen opens the menu with focus on the surface and no item highlighted; a key or a click of the mouse opens it onto its first item, as the pattern says.",
689
690
  "A disabled item stays focusable and carries aria-disabled instead of the native disabled attribute, so a keyboard user can still find a command that is unavailable. A natively disabled button cannot take focus.",
690
691
  "A header is not an item and never takes focus, because role=\"menu\" owns only items, groups and separators. The surface references it with aria-describedby, joined to any description you give, so a screen reader announces who the menu belongs to once, as it opens.",
691
692
  "The surface is named by its trigger, or by its own aria-label. A checkbox or radio item announces its state through aria-checked, a group is named by its label, and a shortcut is announced through aria-keyshortcuts while the printed keys are hidden, so the item's name stays the command."
@@ -695,6 +696,7 @@
695
696
  "tokens": [
696
697
  "--slotted-border-strong",
697
698
  "--slotted-border-subtle",
699
+ "--slotted-border-width-thick",
698
700
  "--slotted-border-width-thin",
699
701
  "--slotted-control-font-size-lg",
700
702
  "--slotted-control-font-size-md",
@@ -714,16 +716,6 @@
714
716
  "--slotted-control-transition-duration",
715
717
  "--slotted-control-transition-easing",
716
718
  "--slotted-disabled-foreground",
717
- "--slotted-drawer-border-color",
718
- "--slotted-drawer-radius",
719
- "--slotted-drawer-resizer-line-color",
720
- "--slotted-drawer-scrim",
721
- "--slotted-drawer-scrim-backdrop-filter",
722
- "--slotted-drawer-slide-duration",
723
- "--slotted-drawer-slide-easing",
724
- "--slotted-drawer-slide-exit-duration",
725
- "--slotted-drawer-slide-exit-easing",
726
- "--slotted-drawer-surface",
727
719
  "--slotted-duration-long",
728
720
  "--slotted-duration-medium",
729
721
  "--slotted-duration-short",
@@ -762,9 +754,22 @@
762
754
  "--slotted-scrim",
763
755
  "--slotted-shadow-lg",
764
756
  "--slotted-shadow-md",
757
+ "--slotted-sheet-border-color",
758
+ "--slotted-sheet-exit-duration",
759
+ "--slotted-sheet-exit-easing",
760
+ "--slotted-sheet-grip-color",
761
+ "--slotted-sheet-inline-size",
762
+ "--slotted-sheet-radius",
763
+ "--slotted-sheet-scrim",
764
+ "--slotted-sheet-scrim-backdrop-filter",
765
+ "--slotted-sheet-slide-duration",
766
+ "--slotted-sheet-slide-easing",
767
+ "--slotted-sheet-surface",
765
768
  "--slotted-space-1",
766
769
  "--slotted-space-11",
770
+ "--slotted-space-12",
767
771
  "--slotted-space-2",
772
+ "--slotted-space-4",
768
773
  "--slotted-space-5",
769
774
  "--slotted-space-6",
770
775
  "--slotted-surface-raised",
@@ -1014,6 +1019,14 @@
1014
1019
  "source": "import { Button } from '@slotted/react/button';\nimport { Glyph } from '@slotted/react/icon';\nimport { Menu, MenuContent, MenuItem, MenuTrigger } from '@slotted/react/menu';\n\nconst LOCATIONS = [\n 'Amsterdam',\n 'Antwerp',\n 'Barcelona',\n 'Berlin',\n 'Bologna',\n 'Bordeaux',\n 'Bratislava',\n 'Brno',\n 'Brussels',\n 'Budapest',\n 'Copenhagen',\n 'Dublin',\n 'Gdańsk',\n 'Geneva',\n 'Hamburg',\n 'Helsinki',\n 'Kraków',\n 'Leipzig',\n 'Lisbon',\n 'Ljubljana',\n 'Lyon',\n 'Madrid',\n 'Milan',\n 'Munich',\n 'Oslo',\n 'Porto',\n 'Prague',\n 'Rotterdam',\n 'Stockholm',\n 'Tallinn',\n 'Valencia',\n 'Vienna',\n 'Vilnius',\n 'Warsaw',\n 'Zagreb',\n 'Zürich',\n];\n\nexport default function MenuLongList() {\n return (\n <Menu>\n <MenuTrigger\n render={(props) => (\n <Button {...props} end={<Glyph name=\"chevron-down\" />} variant=\"outline\">\n Move to warehouse\n </Button>\n )}\n />\n <MenuContent>\n {LOCATIONS.map((location) => (\n <MenuItem key={location}>{location}</MenuItem>\n ))}\n </MenuContent>\n </Menu>\n );\n}\n",
1015
1020
  "verdict": "example"
1016
1021
  },
1022
+ {
1023
+ "id": "phone-sheet",
1024
+ "title": "phone-sheet.tsx",
1025
+ "note": null,
1026
+ "language": "tsx",
1027
+ "source": "import { Button } from '@slotted/react/button';\nimport {\n Menu,\n MenuContent,\n MenuDefaultsProvider,\n MenuItem,\n MenuSeparator,\n MenuTrigger,\n} from '@slotted/react/menu';\n\nexport default function MenuPhoneSheet() {\n return (\n <MenuDefaultsProvider presentation=\"auto\">\n <Menu>\n <MenuTrigger\n render={(props) => (\n <Button {...props} tone=\"secondary\" variant=\"outline\">\n Order SO-10482\n </Button>\n )}\n />\n <MenuContent>\n <MenuItem>View order</MenuItem>\n <MenuItem>Duplicate</MenuItem>\n <MenuItem>Print packing slip</MenuItem>\n <MenuSeparator />\n <MenuItem tone=\"danger\">Cancel order…</MenuItem>\n </MenuContent>\n </Menu>\n </MenuDefaultsProvider>\n );\n}\n",
1028
+ "verdict": "example"
1029
+ },
1017
1030
  {
1018
1031
  "id": "row-actions",
1019
1032
  "title": "row-actions.tsx",
package/dist/docs/menu.md CHANGED
@@ -96,7 +96,7 @@ export default function MenuBasic() {
96
96
  | `shift` | `boolean` | true | Menu | Whether the surface slides along its edge to stay in the window. |
97
97
  | `hideWhenDetached` | `boolean` | true | Menu | Whether the surface hides once its trigger has scrolled out of view. |
98
98
  | `portal` | `boolean` | true | Menu | Whether the layer is rendered at the end of the document. |
99
- | `presentation` | `'popover' \| 'auto'` | popover | Menu, MenuDefaultsProvider | auto draws the menu as a bottom sheet under (max-width: 480px) and (pointer: coarse): modal, as ActionSheet draws its actions, every item 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 submenu opens as a second step of the same sheet. A menu on a bar stays anchored. |
99
+ | `presentation` | `'popover' \| 'auto'` | popover | Menu, MenuDefaultsProvider | popover, the default, keeps the anchored menu on every screen. auto draws the menu as a bottom sheet under (max-width: 480px) and (pointer: coarse): modal, as ActionSheet draws its actions, every item 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. It commits on a choice and draws no Close. A submenu opens as a second step of the same sheet. A menu on a bar stays anchored. An application turns the sheet on for every menu with MenuDefaultsProvider presentation="auto". |
100
100
  | `messages` | `Partial<MenuMessages>` | — | Menu | Words laid over the catalog of the language in force: back, the name of the control that returns from a submenu step to the first step of a sheet. |
101
101
  | `disabled` | `boolean` | false | Menu, MenuItem | A disabled menu never opens, and its trigger keeps aria-expanded="false". A disabled item stays focusable and runs nothing. |
102
102
  | `loading` | `boolean` | false | MenuContent | Whether the items are on their way. The surface keeps its width, sets aria-busy and shows the MenuEmpty message. |
@@ -159,13 +159,14 @@ export default function MenuBasic() {
159
159
 
160
160
  - An item is a native button, so Enter and Space run it and the pointer behaves as the browser's own. role="menuitem" replaces role="button", so a screen reader announces a menu item. A link item is an a that keeps its href and takes the same role.
161
161
  - Menu supplies the keyboard of the WAI-ARIA menu pattern: the arrow keys move and wrap, Home and End reach the ends, letters move by typeahead, the inline-end arrow opens a submenu and the inline-start arrow closes it, Escape closes the menu that holds focus, and Tab closes every menu and moves focus past the trigger.
162
+ - A tap of a finger or a pen opens the menu with focus on the surface and no item highlighted; a key or a click of the mouse opens it onto its first item, as the pattern says.
162
163
  - A disabled item stays focusable and carries aria-disabled instead of the native disabled attribute, so a keyboard user can still find a command that is unavailable. A natively disabled button cannot take focus.
163
164
  - A header is not an item and never takes focus, because role="menu" owns only items, groups and separators. The surface references it with aria-describedby, joined to any description you give, so a screen reader announces who the menu belongs to once, as it opens.
164
165
  - The surface is named by its trigger, or by its own aria-label. A checkbox or radio item announces its state through aria-checked, a group is named by its label, and a shortcut is announced through aria-keyshortcuts while the printed keys are hidden, so the item's name stays the command.
165
166
 
166
167
  ## Tokens
167
168
 
168
- `--slotted-border-strong`, `--slotted-border-subtle`, `--slotted-border-width-thin`, `--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-padding-inline-lg`, `--slotted-control-padding-inline-md`, `--slotted-control-padding-inline-sm`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--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-width`, `--slotted-font-family-heading`, `--slotted-font-family-sans`, `--slotted-font-size-xs`, `--slotted-font-weight-semibold`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-menu-backdrop-filter`, `--slotted-menu-border-color`, `--slotted-menu-gap`, `--slotted-menu-group-label-height`, `--slotted-menu-highlight`, `--slotted-menu-highlight-active`, `--slotted-menu-item-radius`, `--slotted-menu-measure`, `--slotted-menu-measure-lg`, `--slotted-menu-measure-sm`, `--slotted-menu-min-measure`, `--slotted-menu-padding-block`, `--slotted-menu-padding-inline`, `--slotted-menu-radius`, `--slotted-menu-separator-color`, `--slotted-menu-shadow`, `--slotted-menu-surface`, `--slotted-menu-text`, `--slotted-menu-text-muted`, `--slotted-overlay-max-block-size`, `--slotted-radius-lg`, `--slotted-scrim`, `--slotted-shadow-lg`, `--slotted-shadow-md`, `--slotted-space-1`, `--slotted-space-11`, `--slotted-space-2`, `--slotted-space-5`, `--slotted-space-6`, `--slotted-surface-raised`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-subtle-active`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-danger-subtle-active`, `--slotted-tone-danger-surface`, `--slotted-tone-danger-text`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-tone-secondary-surface`, `--slotted-tone-secondary-text`, `--slotted-tone-success-subtle-active`, `--slotted-tone-success-surface`, `--slotted-tone-success-text`, `--slotted-tone-warning-subtle-active`, `--slotted-tone-warning-surface`, `--slotted-tone-warning-text`, `--slotted-z-index-popover`
169
+ `--slotted-border-strong`, `--slotted-border-subtle`, `--slotted-border-width-thick`, `--slotted-border-width-thin`, `--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-padding-inline-lg`, `--slotted-control-padding-inline-md`, `--slotted-control-padding-inline-sm`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-foreground`, `--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-width`, `--slotted-font-family-heading`, `--slotted-font-family-sans`, `--slotted-font-size-xs`, `--slotted-font-weight-semibold`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-menu-backdrop-filter`, `--slotted-menu-border-color`, `--slotted-menu-gap`, `--slotted-menu-group-label-height`, `--slotted-menu-highlight`, `--slotted-menu-highlight-active`, `--slotted-menu-item-radius`, `--slotted-menu-measure`, `--slotted-menu-measure-lg`, `--slotted-menu-measure-sm`, `--slotted-menu-min-measure`, `--slotted-menu-padding-block`, `--slotted-menu-padding-inline`, `--slotted-menu-radius`, `--slotted-menu-separator-color`, `--slotted-menu-shadow`, `--slotted-menu-surface`, `--slotted-menu-text`, `--slotted-menu-text-muted`, `--slotted-overlay-max-block-size`, `--slotted-radius-lg`, `--slotted-scrim`, `--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-4`, `--slotted-space-5`, `--slotted-space-6`, `--slotted-surface-raised`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-subtle-active`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-danger-subtle-active`, `--slotted-tone-danger-surface`, `--slotted-tone-danger-text`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-tone-secondary-surface`, `--slotted-tone-secondary-text`, `--slotted-tone-success-subtle-active`, `--slotted-tone-success-surface`, `--slotted-tone-success-text`, `--slotted-tone-warning-subtle-active`, `--slotted-tone-warning-surface`, `--slotted-tone-warning-text`, `--slotted-z-index-popover`
169
170
 
170
171
  ## Examples
171
172
 
@@ -120,6 +120,10 @@
120
120
  true,
121
121
  false
122
122
  ],
123
+ "presentation": [
124
+ "popover",
125
+ "auto"
126
+ ],
123
127
  "fullWidth": [
124
128
  true,
125
129
  false
@@ -175,6 +179,7 @@
175
179
  "shift": true,
176
180
  "hideWhenDetached": true,
177
181
  "portal": true,
182
+ "presentation": "auto",
178
183
  "fullWidth": true,
179
184
  "disabled": false,
180
185
  "readOnly": false,
@@ -234,7 +239,16 @@
234
239
  "trigger",
235
240
  "arrow",
236
241
  "positioner",
242
+ "backdrop",
237
243
  "content",
244
+ "grip",
245
+ "header",
246
+ "title",
247
+ "search",
248
+ "search-icon",
249
+ "search-input",
250
+ "list",
251
+ "footer",
238
252
  "chosen",
239
253
  "group",
240
254
  "group-label",
@@ -323,17 +337,71 @@
323
337
  "required": true,
324
338
  "purpose": "The layer, portalled to the end of the document. It carries data-ui=\"multi-select\" as well, so the stylesheet reaches the list outside the root."
325
339
  },
340
+ {
341
+ "part": "backdrop",
342
+ "element": "div",
343
+ "required": false,
344
+ "purpose": "The scrim over the page while the listbox is a sheet (presentation=\"auto\" on a phone), aria-hidden. A press on it closes the sheet."
345
+ },
326
346
  {
327
347
  "part": "content",
328
- "element": "div with role=\"listbox\" and aria-multiselectable",
348
+ "element": "div with role=\"listbox\" and aria-multiselectable, or role=\"dialog\" in the sheet",
329
349
  "required": true,
330
- "purpose": "The list surface. Selection does not follow the highlight: moving through the options chooses nothing, which departs from the combobox pattern on purpose."
350
+ "purpose": "The list surface. Selection does not follow the highlight: moving through the options chooses nothing, which departs from the combobox pattern on purpose. In the sheet it is a dialog that holds the header, the list and the footer."
351
+ },
352
+ {
353
+ "part": "grip",
354
+ "element": "span",
355
+ "required": false,
356
+ "purpose": "The bar at the top of the sheet, aria-hidden. A mouse pulls the sheet by it; a touch moves the sheet anywhere on it."
357
+ },
358
+ {
359
+ "part": "header",
360
+ "element": "div",
361
+ "required": false,
362
+ "purpose": "The row above the list of the sheet, holding its title and its search field."
363
+ },
364
+ {
365
+ "part": "title",
366
+ "element": "div",
367
+ "required": false,
368
+ "purpose": "The heading of the sheet: the label of the control, as a reader hears it. It names the dialog the sheet is."
369
+ },
370
+ {
371
+ "part": "search",
372
+ "element": "div, drawn only in the sheet",
373
+ "required": false,
374
+ "purpose": "The search row of the sheet, under the title. Its text is the control’s own text: a query typed in either filters the same list."
375
+ },
376
+ {
377
+ "part": "search-icon",
378
+ "element": "span, aria-hidden",
379
+ "required": false,
380
+ "purpose": "The magnifier, a Glyph inside an Icon box."
381
+ },
382
+ {
383
+ "part": "search-input",
384
+ "element": "input with role=\"combobox\"",
385
+ "required": false,
386
+ "purpose": "The search field of the sheet. It carries aria-controls naming the list, aria-autocomplete=\"list\" and aria-activedescendant; the arrows move the highlight and Enter takes it. It is not focused as the sheet opens, so the keyboard rises only on a touch on it."
387
+ },
388
+ {
389
+ "part": "list",
390
+ "element": "div with role=\"listbox\" and aria-multiselectable, drawn only in the sheet",
391
+ "required": false,
392
+ "purpose": "The listbox inside the dialog of the sheet. It holds focus as the sheet opens and scrolls with the sheet as one scroll."
393
+ },
394
+ {
395
+ "part": "footer",
396
+ "element": "footer, drawn only in the sheet",
397
+ "required": false,
398
+ "purpose": "The foot of the sheet, holding a full-width Done that closes it with the choices as they were made."
331
399
  },
332
400
  {
333
401
  "part": "chosen",
334
402
  "element": "div",
335
403
  "required": false,
336
- "purpose": "Every chosen value as a tag, at the top of the list, whatever the row in the control shows. With overflow=\"collapse\", the values the +N tag counts stay readable here."
404
+ "purpose": "Every chosen value as a tag, at the top of the list, whatever the row in the control shows. With overflow=\"collapse\", the values the +N tag counts stay readable here. The edge that has more chips fades them into the band, marked by data-scrollable."
337
405
  },
338
406
  {
339
407
  "part": "group",
@@ -731,6 +799,13 @@
731
799
  "appliesTo": "MultiSelect",
732
800
  "description": "Whether the list is portalled to the end of the document."
733
801
  },
802
+ {
803
+ "name": "presentation",
804
+ "type": "'popover' | 'auto'",
805
+ "defaultValue": "auto",
806
+ "appliesTo": "MultiSelect",
807
+ "description": "auto, the default, draws the listbox in a bottom sheet under (max-width: 480px) and (pointer: coarse): modal, headed by the field’s label and a search field of its own, at the full height of the screen less a strip of scrim, every option at least --slotted-target-min tall, moved as every bottom sheet is. A choice keeps it open; Done in its footer, a release past the threshold, its scrim, Escape and the platform’s way back close it, each by one slide down in the --slotted-sheet-* tokens. The list holds focus as it opens, so the keyboard rises on a touch on the field. popover keeps the anchored list on every screen."
808
+ },
734
809
  {
735
810
  "name": "fullWidth",
736
811
  "type": "boolean",
@@ -931,6 +1006,7 @@
931
1006
  "The input is the tab stop of the control. The tags, their remove buttons and the trigger carry tabindex=\"-1\", as the combobox and grid patterns ask; the clear button, while it is drawn, is in the tab order.",
932
1007
  "The tags are a layout grid with one row, which leaves ArrowDown and ArrowUp to the list. Focus lands on a tag rather than on its remove button, and Delete and Backspace do what the button does. The grid carries the number of chosen values as its name.",
933
1008
  "The list sets aria-multiselectable, and selection does not follow the highlight: moving through the options chooses nothing until Enter or a press. This departs from the note in the combobox pattern, as every implementation surveyed does.",
1009
+ "After a tap on a touch screen the list holds focus instead of the input, with aria-activedescendant naming the highlighted option: the arrow keys, Home, End, PageUp and PageDown move the highlight, Enter and Space toggle it, Escape closes the list and returns focus to the input, and a typed character moves focus to the input. aria-expanded and aria-controls stay on the input.",
934
1010
  "Changes are announced as well as drawn: a value added with the count now held, a value removed with its label and the count left, a value moved with its new position, and the limit when it is reached. The status row announces how many options match the query."
935
1011
  ]
936
1012
  }
@@ -970,6 +1046,8 @@
970
1046
  "--slotted-disabled-background",
971
1047
  "--slotted-disabled-border",
972
1048
  "--slotted-disabled-foreground",
1049
+ "--slotted-duration-instant",
1050
+ "--slotted-duration-long",
973
1051
  "--slotted-duration-medium",
974
1052
  "--slotted-duration-short",
975
1053
  "--slotted-easing-enter",
@@ -979,7 +1057,9 @@
979
1057
  "--slotted-focus-ring-color-invalid",
980
1058
  "--slotted-focus-ring-offset",
981
1059
  "--slotted-focus-ring-width",
1060
+ "--slotted-font-family-heading",
982
1061
  "--slotted-font-family-sans",
1062
+ "--slotted-font-size-md",
983
1063
  "--slotted-font-size-xs",
984
1064
  "--slotted-font-weight-medium",
985
1065
  "--slotted-font-weight-semibold",
@@ -1034,10 +1114,16 @@
1034
1114
  "--slotted-overlay-max-block-size",
1035
1115
  "--slotted-radius-lg",
1036
1116
  "--slotted-radius-none",
1117
+ "--slotted-scrim",
1037
1118
  "--slotted-shadow-md",
1119
+ "--slotted-sheet-scrim",
1038
1120
  "--slotted-space-1",
1121
+ "--slotted-space-11",
1122
+ "--slotted-space-12",
1039
1123
  "--slotted-space-2",
1124
+ "--slotted-space-4",
1040
1125
  "--slotted-space-5",
1126
+ "--slotted-space-7",
1041
1127
  "--slotted-surface-raised",
1042
1128
  "--slotted-surface-sunken",
1043
1129
  "--slotted-target-comfortable",
@@ -68,7 +68,16 @@ export default function MultiSelectBasic() {
68
68
  | `trigger` | button | yes |
69
69
  | `arrow` | span | yes |
70
70
  | `positioner` | div, rendered by MultiSelectContent | yes |
71
- | `content` | div with role="listbox" and aria-multiselectable | yes |
71
+ | `backdrop` | div | no |
72
+ | `content` | div with role="listbox" and aria-multiselectable, or role="dialog" in the sheet | yes |
73
+ | `grip` | span | no |
74
+ | `header` | div | no |
75
+ | `title` | div | no |
76
+ | `search` | div, drawn only in the sheet | no |
77
+ | `search-icon` | span, aria-hidden | no |
78
+ | `search-input` | input with role="combobox" | no |
79
+ | `list` | div with role="listbox" and aria-multiselectable, drawn only in the sheet | no |
80
+ | `footer` | footer, drawn only in the sheet | no |
72
81
  | `chosen` | div | no |
73
82
  | `group` | div with role="group" | no |
74
83
  | `group-label` | div | no |
@@ -133,6 +142,7 @@ export default function MultiSelectBasic() {
133
142
  | `shift` | `boolean` | true | MultiSelect | Whether the list slides along its side to stay in view. |
134
143
  | `hideWhenDetached` | `boolean` | true | MultiSelect | Whether the list hides when the control scrolls out of its clipping container. |
135
144
  | `portal` | `boolean` | true | MultiSelect | Whether the list is portalled to the end of the document. |
145
+ | `presentation` | `'popover' \| 'auto'` | auto | MultiSelect | auto, the default, draws the listbox in a bottom sheet under (max-width: 480px) and (pointer: coarse): modal, headed by the field’s label and a search field of its own, at the full height of the screen less a strip of scrim, every option at least --slotted-target-min tall, moved as every bottom sheet is. A choice keeps it open; Done in its footer, a release past the threshold, its scrim, Escape and the platform’s way back close it, each by one slide down in the --slotted-sheet-* tokens. The list holds focus as it opens, so the keyboard rises on a touch on the field. popover keeps the anchored list on every screen. |
136
146
  | `fullWidth` | `boolean` | true | MultiSelect | Whether the control fills the width of its container. |
137
147
  | `disabled` | `boolean` | false | MultiSelect | Whether the control is disabled: it takes no input, draws no remove buttons and leaves the tab order. |
138
148
  | `readOnly` | `boolean` | false | MultiSelect | Whether the values can be read and copied but not changed. The input stays focusable; the list, the remove buttons and the clear button are withheld. |
@@ -198,6 +208,7 @@ export default function MultiSelectBasic() {
198
208
  | `shift` | `true`, `false` | `true` |
199
209
  | `hideWhenDetached` | `true`, `false` | `true` |
200
210
  | `portal` | `true`, `false` | `true` |
211
+ | `presentation` | `popover`, `auto` | `auto` |
201
212
  | `fullWidth` | `true`, `false` | `true` |
202
213
  | `disabled` | `true`, `false` | `false` |
203
214
  | `readOnly` | `true`, `false` | `false` |
@@ -210,11 +221,12 @@ export default function MultiSelectBasic() {
210
221
  - The input is the tab stop of the control. The tags, their remove buttons and the trigger carry tabindex="-1", as the combobox and grid patterns ask; the clear button, while it is drawn, is in the tab order.
211
222
  - The tags are a layout grid with one row, which leaves ArrowDown and ArrowUp to the list. Focus lands on a tag rather than on its remove button, and Delete and Backspace do what the button does. The grid carries the number of chosen values as its name.
212
223
  - The list sets aria-multiselectable, and selection does not follow the highlight: moving through the options chooses nothing until Enter or a press. This departs from the note in the combobox pattern, as every implementation surveyed does.
224
+ - After a tap on a touch screen the list holds focus instead of the input, with aria-activedescendant naming the highlighted option: the arrow keys, Home, End, PageUp and PageDown move the highlight, Enter and Space toggle it, Escape closes the list and returns focus to the input, and a typed character moves focus to the input. aria-expanded and aria-controls stay on the input.
213
225
  - Changes are announced as well as drawn: a value added with the count now held, a value removed with its label and the count left, a value moved with its new position, and the limit when it is reached. The status row announces how many options match the query.
214
226
 
215
227
  ## Tokens
216
228
 
217
- `--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-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-sans`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-semibold`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-multi-select-action-active-background`, `--slotted-multi-select-action-color`, `--slotted-multi-select-action-hover-background`, `--slotted-multi-select-action-size`, `--slotted-multi-select-arrow-color`, `--slotted-multi-select-autofill-background`, `--slotted-multi-select-background`, `--slotted-multi-select-border-color`, `--slotted-multi-select-color`, `--slotted-multi-select-content-border-color`, `--slotted-multi-select-content-padding-block`, `--slotted-multi-select-content-padding-inline`, `--slotted-multi-select-content-radius`, `--slotted-multi-select-content-shadow`, `--slotted-multi-select-content-text`, `--slotted-multi-select-content-text-muted`, `--slotted-multi-select-counter-color`, `--slotted-multi-select-counter-complete-color`, `--slotted-multi-select-disabled-background`, `--slotted-multi-select-disabled-border-color`, `--slotted-multi-select-disabled-color`, `--slotted-multi-select-field-basis`, `--slotted-multi-select-field-min`, `--slotted-multi-select-group-label-height`, `--slotted-multi-select-highlight`, `--slotted-multi-select-highlight-active`, `--slotted-multi-select-highlight-ring`, `--slotted-multi-select-hover-border-color`, `--slotted-multi-select-icon-size-min`, `--slotted-multi-select-invalid-border-color`, `--slotted-multi-select-invalid-edge-width`, `--slotted-multi-select-invalid-focus-ring-color`, `--slotted-multi-select-item-radius`, `--slotted-multi-select-measure`, `--slotted-multi-select-open-border-color`, `--slotted-multi-select-placeholder-color`, `--slotted-multi-select-plain-hover-background`, `--slotted-multi-select-radius`, `--slotted-multi-select-readonly-background`, `--slotted-multi-select-selected-color`, `--slotted-multi-select-separator-color`, `--slotted-multi-select-shadow`, `--slotted-multi-select-subtle-background`, `--slotted-multi-select-subtle-border-color`, `--slotted-multi-select-subtle-hover-background`, `--slotted-multi-select-surface`, `--slotted-overlay-max-block-size`, `--slotted-radius-lg`, `--slotted-radius-none`, `--slotted-shadow-md`, `--slotted-space-1`, `--slotted-space-2`, `--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`
229
+ `--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-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-multi-select-action-active-background`, `--slotted-multi-select-action-color`, `--slotted-multi-select-action-hover-background`, `--slotted-multi-select-action-size`, `--slotted-multi-select-arrow-color`, `--slotted-multi-select-autofill-background`, `--slotted-multi-select-background`, `--slotted-multi-select-border-color`, `--slotted-multi-select-color`, `--slotted-multi-select-content-border-color`, `--slotted-multi-select-content-padding-block`, `--slotted-multi-select-content-padding-inline`, `--slotted-multi-select-content-radius`, `--slotted-multi-select-content-shadow`, `--slotted-multi-select-content-text`, `--slotted-multi-select-content-text-muted`, `--slotted-multi-select-counter-color`, `--slotted-multi-select-counter-complete-color`, `--slotted-multi-select-disabled-background`, `--slotted-multi-select-disabled-border-color`, `--slotted-multi-select-disabled-color`, `--slotted-multi-select-field-basis`, `--slotted-multi-select-field-min`, `--slotted-multi-select-group-label-height`, `--slotted-multi-select-highlight`, `--slotted-multi-select-highlight-active`, `--slotted-multi-select-highlight-ring`, `--slotted-multi-select-hover-border-color`, `--slotted-multi-select-icon-size-min`, `--slotted-multi-select-invalid-border-color`, `--slotted-multi-select-invalid-edge-width`, `--slotted-multi-select-invalid-focus-ring-color`, `--slotted-multi-select-item-radius`, `--slotted-multi-select-measure`, `--slotted-multi-select-open-border-color`, `--slotted-multi-select-placeholder-color`, `--slotted-multi-select-plain-hover-background`, `--slotted-multi-select-radius`, `--slotted-multi-select-readonly-background`, `--slotted-multi-select-selected-color`, `--slotted-multi-select-separator-color`, `--slotted-multi-select-shadow`, `--slotted-multi-select-subtle-background`, `--slotted-multi-select-subtle-border-color`, `--slotted-multi-select-subtle-hover-background`, `--slotted-multi-select-surface`, `--slotted-overlay-max-block-size`, `--slotted-radius-lg`, `--slotted-radius-none`, `--slotted-scrim`, `--slotted-shadow-md`, `--slotted-sheet-scrim`, `--slotted-space-1`, `--slotted-space-11`, `--slotted-space-12`, `--slotted-space-2`, `--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`
218
230
 
219
231
  ## Examples
220
232
 
@@ -364,7 +364,7 @@ Excerpt — not a complete module
364
364
 
365
365
  ### Previous and next record
366
366
 
367
- The two arrows at the far end of the title row move between orders without leaving the screen; the heading, the breadcrumb page and the facts follow. Below 600 pixels the pair wraps under the title with the actions.
367
+ The two arrows at the far end of the title row move between orders without leaving the screen; the heading, the breadcrumb page and the facts follow. Below 600 pixels the pair stays at the row’s end, after the actions.
368
368
 
369
369
  Excerpt — not a complete module
370
370
 
@@ -671,7 +671,7 @@ Excerpt — not a complete module
671
671
 
672
672
  ### Below 600 pixels
673
673
 
674
- The family answers its own inline size: the header is not sticky and scrolls away with the page, nothing collapses it on scroll and the toggle still folds the area in place; the breadcrumbs go and the way back stays, the title steps down, the subheading takes one line, and the figure takes a row above the content. Actions written as Toolbar overflow="menu", each item with its counterpart, stay on the title row beside a plain title, and take a full row of their own under a rich one (a visual, marks or a subheading); either way they fold what does not fit into the menu, where every action is still reachable; loose actions and the navigation take the row under the title.
674
+ The family answers its own inline size: the header is not sticky and scrolls away with the page, nothing collapses it on scroll and the toggle still folds the area in place; the breadcrumbs go and the way back stays, the title steps down, the visual, the title and the actions share one row, the heading and the subheading take one line each, the marks are not drawn, and the figure takes a row above the content. Loose actions and the navigation stay on the row at their own width and never wrap; an action that does not fit belongs in an overflow menu. Actions written as Toolbar overflow="menu", each item with its counterpart, take what a plain title leaves on the row, and a full row of their own under a rich one (a visual, marks or a subheading); either way they fold what does not fit into the menu, where every action is still reachable.
675
675
 
676
676
  Example
677
677
 
@@ -684,9 +684,9 @@ import {
684
684
  BreadcrumbList,
685
685
  BreadcrumbPage,
686
686
  } from '@slotted/react/breadcrumb';
687
- import { Button, IconButton } from '@slotted/react/button';
687
+ import { IconButton } from '@slotted/react/button';
688
688
  import { Glyph } from '@slotted/react/icon';
689
- import { MenuItem } from '@slotted/react/menu';
689
+ import { Menu, MenuContent, MenuItem, MenuTrigger } from '@slotted/react/menu';
690
690
  import {
691
691
  PageHeader,
692
692
  PageHeaderActions,
@@ -701,6 +701,7 @@ import {
701
701
  PageHeaderMarks,
702
702
  PageHeaderNav,
703
703
  PageHeaderNavigation,
704
+ PageHeaderNotice,
704
705
  PageHeaderPin,
705
706
  PageHeaderSubheading,
706
707
  PageHeaderTitle,
@@ -709,82 +710,125 @@ import {
709
710
  PageHeaderToggle,
710
711
  PageHeaderVisual,
711
712
  } from '@slotted/react/page-header';
713
+ import { Stack } from '@slotted/react/stack';
712
714
  import { Tag } from '@slotted/react/tag';
713
- import { Toolbar, ToolbarItem, ToolbarOverflow } from '@slotted/react/toolbar';
715
+
716
+ const ACTIONS = ['Track', 'Reschedule', 'Notify carrier'];
714
717
 
715
718
  export default function PageHeaderNarrow() {
716
719
  return (
717
- <PageHeader>
718
- <PageHeaderTitleArea>
719
- <PageHeaderNav>
720
- <PageHeaderBack href="#">Shipments</PageHeaderBack>
721
- <PageHeaderBreadcrumbs>
722
- <Breadcrumb>
723
- <BreadcrumbList>
724
- <BreadcrumbItem>
725
- <BreadcrumbLink href="#">Logistics</BreadcrumbLink>
726
- </BreadcrumbItem>
727
- <BreadcrumbItem>
728
- <BreadcrumbLink href="#">Shipments</BreadcrumbLink>
729
- </BreadcrumbItem>
730
- <BreadcrumbItem>
731
- <BreadcrumbPage>SH-88213</BreadcrumbPage>
732
- </BreadcrumbItem>
733
- </BreadcrumbList>
734
- </Breadcrumb>
735
- </PageHeaderBreadcrumbs>
736
- </PageHeaderNav>
737
- <PageHeaderTitleRow>
738
- <PageHeaderVisual>
739
- <Avatar name="Pacific Cold Chain" shape="square" size="lg" tone="info" />
740
- </PageHeaderVisual>
741
- <PageHeaderTitle>
742
- <PageHeaderHeading>Shipment SH-88213</PageHeaderHeading>
743
- <PageHeaderMarks>
744
- <Tag tone="danger">Delayed</Tag>
745
- </PageHeaderMarks>
746
- <PageHeaderSubheading>Pacific Cold Chain · Seattle to Reno</PageHeaderSubheading>
747
- </PageHeaderTitle>
748
- <PageHeaderActions>
749
- <Toolbar aria-label="Shipment actions" overflow="menu">
750
- <ToolbarItem counterpart={<MenuItem>Track</MenuItem>}>
751
- <Button variant="ghost">Track</Button>
752
- </ToolbarItem>
753
- <ToolbarItem counterpart={<MenuItem>Reschedule</MenuItem>}>
754
- <Button variant="outline">Reschedule</Button>
755
- </ToolbarItem>
756
- <ToolbarItem>
757
- <Button tone="accent">Notify carrier</Button>
758
- </ToolbarItem>
759
- <ToolbarOverflow />
760
- </Toolbar>
761
- </PageHeaderActions>
762
- <PageHeaderNavigation>
763
- <IconButton aria-label="Previous shipment" variant="ghost">
764
- <Glyph name="chevron-left" />
765
- </IconButton>
766
- <IconButton aria-label="Next shipment" variant="ghost">
767
- <Glyph name="chevron-right" />
768
- </IconButton>
769
- </PageHeaderNavigation>
770
- </PageHeaderTitleRow>
771
- </PageHeaderTitleArea>
772
- <PageHeaderArea>
773
- <PageHeaderFigure>
774
- <Avatar name="Refrigerated trailer" shape="square" size="xl" tone="secondary" />
775
- </PageHeaderFigure>
776
- <PageHeaderContent>
777
- <PageHeaderDescription>
778
- Refrigerated load of 18 pallets, held at the Portland cross-dock since 06:40 for a
779
- carrier inspection.
780
- </PageHeaderDescription>
781
- </PageHeaderContent>
782
- </PageHeaderArea>
783
- <PageHeaderControls>
784
- <PageHeaderToggle />
785
- <PageHeaderPin />
786
- </PageHeaderControls>
787
- </PageHeader>
720
+ <Stack gap={8}>
721
+ <PageHeader>
722
+ <PageHeaderTitleArea>
723
+ <PageHeaderNav>
724
+ <PageHeaderBack href="#">Shipments</PageHeaderBack>
725
+ <PageHeaderBreadcrumbs>
726
+ <Breadcrumb>
727
+ <BreadcrumbList>
728
+ <BreadcrumbItem>
729
+ <BreadcrumbLink href="#">Logistics</BreadcrumbLink>
730
+ </BreadcrumbItem>
731
+ <BreadcrumbItem>
732
+ <BreadcrumbLink href="#">Shipments</BreadcrumbLink>
733
+ </BreadcrumbItem>
734
+ <BreadcrumbItem>
735
+ <BreadcrumbPage>SH-88213</BreadcrumbPage>
736
+ </BreadcrumbItem>
737
+ </BreadcrumbList>
738
+ </Breadcrumb>
739
+ </PageHeaderBreadcrumbs>
740
+ </PageHeaderNav>
741
+ <PageHeaderTitleRow>
742
+ <PageHeaderVisual>
743
+ <Avatar name="Pacific Cold Chain" shape="square" size="lg" tone="info" />
744
+ </PageHeaderVisual>
745
+ <PageHeaderTitle>
746
+ <PageHeaderHeading>Shipment SH-88213</PageHeaderHeading>
747
+ <PageHeaderSubheading>Pacific Cold Chain · Seattle to Reno</PageHeaderSubheading>
748
+ </PageHeaderTitle>
749
+ <PageHeaderActions>
750
+ <OverflowMenu label="Shipment actions" />
751
+ </PageHeaderActions>
752
+ <PageHeaderNavigation>
753
+ <IconButton aria-label="Previous shipment" variant="ghost">
754
+ <Glyph name="chevron-left" />
755
+ </IconButton>
756
+ <IconButton aria-label="Next shipment" variant="ghost">
757
+ <Glyph name="chevron-right" />
758
+ </IconButton>
759
+ </PageHeaderNavigation>
760
+ </PageHeaderTitleRow>
761
+ <PageHeaderNotice tone="danger" value="06:40">
762
+ Held at the Portland cross-dock since
763
+ </PageHeaderNotice>
764
+ </PageHeaderTitleArea>
765
+ <PageHeaderArea>
766
+ <PageHeaderFigure>
767
+ <Avatar name="Refrigerated trailer" shape="square" size="xl" tone="secondary" />
768
+ </PageHeaderFigure>
769
+ <PageHeaderContent>
770
+ <PageHeaderDescription>
771
+ Refrigerated load of 18 pallets, held at the Portland cross-dock since 06:40 for a
772
+ carrier inspection.
773
+ </PageHeaderDescription>
774
+ </PageHeaderContent>
775
+ </PageHeaderArea>
776
+ <PageHeaderControls>
777
+ <PageHeaderToggle />
778
+ <PageHeaderPin />
779
+ </PageHeaderControls>
780
+ </PageHeader>
781
+
782
+ {/* The extreme content: one line each, no marks, no action on a line of its own. */}
783
+ <PageHeader>
784
+ <PageHeaderTitleArea>
785
+ <PageHeaderTitleRow>
786
+ <PageHeaderVisual>
787
+ <Avatar name="Northwind Freight" size="md" />
788
+ </PageHeaderVisual>
789
+ <PageHeaderTitle>
790
+ <PageHeaderHeading>
791
+ Carrier invoice INV-2026-118734 for the Pacific Northwest region
792
+ </PageHeaderHeading>
793
+ <PageHeaderMarks>
794
+ <Tag size="sm">Freight</Tag>
795
+ <Tag size="sm">Q4</Tag>
796
+ <Tag size="sm" tone="warning">
797
+ Under review
798
+ </Tag>
799
+ </PageHeaderMarks>
800
+ <PageHeaderSubheading>
801
+ Northwind Freight LLC · Net 45 · Tacoma, Portland and Boise fleets
802
+ </PageHeaderSubheading>
803
+ </PageHeaderTitle>
804
+ <PageHeaderActions>
805
+ <OverflowMenu label="Invoice actions" />
806
+ </PageHeaderActions>
807
+ </PageHeaderTitleRow>
808
+ <PageHeaderNotice value="$12,480.00">Difference to resolve</PageHeaderNotice>
809
+ </PageHeaderTitleArea>
810
+ </PageHeader>
811
+ </Stack>
812
+ );
813
+ }
814
+
815
+ /** Every labelled action of the record, behind one icon on a narrow header. */
816
+ function OverflowMenu({ label }: { label: string }) {
817
+ return (
818
+ <Menu>
819
+ <MenuTrigger
820
+ render={(props) => (
821
+ <IconButton {...props} aria-label={label} variant="ghost">
822
+ <Glyph name="ellipsis" />
823
+ </IconButton>
824
+ )}
825
+ />
826
+ <MenuContent>
827
+ {ACTIONS.map((action) => (
828
+ <MenuItem key={action}>{action}</MenuItem>
829
+ ))}
830
+ </MenuContent>
831
+ </Menu>
788
832
  );
789
833
  }
790
834
  ```