@slotted/react 0.1.0-beta.40 → 0.1.0-beta.42

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 (464) hide show
  1. package/dist/{accordion-n5D6mcmS.js → accordion-xW-aFeGb.js} +1 -1
  2. package/dist/accordion.js +1 -1
  3. package/dist/{action-bar-Cq4dt4hP.js → action-bar-BSUuY6pJ.js} +1 -1
  4. package/dist/action-bar.js +1 -1
  5. package/dist/{action-sheet-dNnB26br.js → action-sheet-BouG2qh_.js} +1 -1
  6. package/dist/action-sheet.js +1 -1
  7. package/dist/{app-shell-ClwskWBN.js → app-shell-D54YkU7E.js} +127 -111
  8. package/dist/app-shell.js +2 -2
  9. package/dist/{attachment-AAjprQyU.js → attachment-MqczA38F.js} +1 -1
  10. package/dist/attachment.js +1 -1
  11. package/dist/{badge-pgYVOnZO.js → badge-DFskjsxA.js} +21 -20
  12. package/dist/badge.js +1 -1
  13. package/dist/calendar-YQ784o4d.js +617 -0
  14. package/dist/calendar.js +1 -1
  15. package/dist/{cascader-CivJ76VR.js → cascader-fq8fNWSr.js} +1 -1
  16. package/dist/cascader.js +1 -1
  17. package/dist/chart-vedR0BDN.js +1055 -0
  18. package/dist/chart.js +1 -1
  19. package/dist/{checkbox-D3E4gzMe.js → checkbox-DsJhlB5c.js} +3 -3
  20. package/dist/{checkbox-group-Dg5YN3fx.js → checkbox-group-pvX9R_yS.js} +2 -2
  21. package/dist/checkbox-group.js +1 -1
  22. package/dist/checkbox.js +1 -1
  23. package/dist/{collapsible-CT4_3aXm.js → collapsible-KzBs5HvA.js} +2 -2
  24. package/dist/collapsible.js +1 -1
  25. package/dist/{color-picker-CaLcV-63.js → color-picker-i-MJ5VVs.js} +9 -9
  26. package/dist/color-picker.js +1 -1
  27. package/dist/column-manager-D028QbfO.js +586 -0
  28. package/dist/column-manager.js +1 -1
  29. package/dist/{combobox-C2qlkTw6.js → combobox-599heRN_.js} +1 -1
  30. package/dist/combobox.js +1 -1
  31. package/dist/{context-menu-WiKS4Zwv.js → context-menu-WM_tT9hz.js} +1 -1
  32. package/dist/context-menu.js +1 -1
  33. package/dist/{currency-field-BO2P6FPd.js → currency-field-rS36pjCO.js} +182 -145
  34. package/dist/currency-field.js +1 -1
  35. package/dist/dashboard-grid-Dh2Q3IQv.js +1201 -0
  36. package/dist/dashboard-grid.js +1 -1
  37. package/dist/{data-grid-B7UuUvBH.js → data-grid-D106baPp.js} +1425 -1399
  38. package/dist/data-grid.js +1 -1
  39. package/dist/{data-list-CyEq7M2D.js → data-list-BA0xrySM.js} +2 -2
  40. package/dist/data-list.js +1 -1
  41. package/dist/{date-field-CxubN_3u.js → date-field-BZ5JcvXJ.js} +1 -1
  42. package/dist/date-field.js +1 -1
  43. package/dist/{date-picker-DMcMFW_N.js → date-picker-BvEbsbJC.js} +29 -27
  44. package/dist/date-picker.js +2 -2
  45. package/dist/{date-range-picker-D9zo93NE.js → date-range-picker-uIr-yReE.js} +169 -164
  46. package/dist/date-range-picker.js +1 -1
  47. package/dist/{datetime-field-GMIqBuTa.js → datetime-field-DDs3mV9Z.js} +1 -1
  48. package/dist/datetime-field.js +1 -1
  49. package/dist/{datetime-picker-lOXZbAx_.js → datetime-picker-DDYXqrjm.js} +175 -164
  50. package/dist/datetime-picker.js +1 -1
  51. package/dist/{datetime-range-picker-DU5ctZbm.js → datetime-range-picker-CFTHW771.js} +194 -183
  52. package/dist/datetime-range-picker.js +1 -1
  53. package/dist/{detail-panel-DLgRhEFO.js → detail-panel-EImAtksY.js} +3 -3
  54. package/dist/detail-panel.js +1 -1
  55. package/dist/docs/accordion.examples.md +743 -0
  56. package/dist/docs/accordion.json +84 -28
  57. package/dist/docs/accordion.md +56 -152
  58. package/dist/docs/action-sheet.examples.md +771 -0
  59. package/dist/docs/action-sheet.json +91 -51
  60. package/dist/docs/action-sheet.md +72 -233
  61. package/dist/docs/app-shell.json +7 -0
  62. package/dist/docs/app-shell.md +1 -0
  63. package/dist/docs/badge.json +8 -0
  64. package/dist/docs/badge.md +1 -0
  65. package/dist/docs/breadcrumb.json +64 -16
  66. package/dist/docs/breadcrumb.md +489 -56
  67. package/dist/docs/calendar.json +8 -1
  68. package/dist/docs/calendar.md +2 -1
  69. package/dist/docs/chart.examples.md +48 -0
  70. package/dist/docs/chart.json +60 -7
  71. package/dist/docs/chart.md +9 -5
  72. package/dist/docs/collapsible.examples.md +575 -0
  73. package/dist/docs/collapsible.json +89 -49
  74. package/dist/docs/collapsible.md +47 -197
  75. package/dist/docs/context-menu.json +58 -18
  76. package/dist/docs/context-menu.md +442 -77
  77. package/dist/docs/currency-field.examples.md +1 -1
  78. package/dist/docs/currency-field.json +4 -4
  79. package/dist/docs/currency-field.md +3 -3
  80. package/dist/docs/data-grid.json +15 -1
  81. package/dist/docs/data-grid.md +1 -1
  82. package/dist/docs/data-grid.props.md +2 -0
  83. package/dist/docs/date-picker.json +9 -2
  84. package/dist/docs/date-picker.md +3 -2
  85. package/dist/docs/date-range-picker.json +9 -2
  86. package/dist/docs/date-range-picker.md +3 -2
  87. package/dist/docs/datetime-picker.json +9 -2
  88. package/dist/docs/datetime-picker.md +3 -2
  89. package/dist/docs/datetime-range-picker.json +9 -2
  90. package/dist/docs/datetime-range-picker.md +3 -2
  91. package/dist/docs/field.json +15 -1
  92. package/dist/docs/field.md +3 -1
  93. package/dist/docs/floating-panel.json +56 -0
  94. package/dist/docs/floating-panel.md +329 -8
  95. package/dist/docs/guidelines/async-feedback.md +11 -1
  96. package/dist/docs/guidelines/index.md +1 -0
  97. package/dist/docs/hover-card.json +65 -17
  98. package/dist/docs/hover-card.md +422 -64
  99. package/dist/docs/loading-overlay.examples.md +577 -0
  100. package/dist/docs/loading-overlay.json +55 -23
  101. package/dist/docs/loading-overlay.md +49 -168
  102. package/dist/docs/menu.json +67 -0
  103. package/dist/docs/menu.md +8 -1
  104. package/dist/docs/menubar.json +55 -15
  105. package/dist/docs/menubar.md +488 -42
  106. package/dist/docs/pagination.json +89 -33
  107. package/dist/docs/pagination.md +462 -55
  108. package/dist/docs/popover.json +41 -3
  109. package/dist/docs/popover.md +5 -2
  110. package/dist/docs/section.json +1 -1
  111. package/dist/docs/section.md +1 -1
  112. package/dist/docs/select.json +55 -1
  113. package/dist/docs/select.md +7 -2
  114. package/dist/docs/skills/theme-app/SKILL.md +3 -2
  115. package/dist/docs/skills/waiting-states/SKILL.md +4 -1
  116. package/dist/docs/stat-card.json +9 -1
  117. package/dist/docs/stat-card.md +2 -1
  118. package/dist/docs/switch.json +12 -5
  119. package/dist/docs/switch.md +5 -4
  120. package/dist/docs/tag.json +8 -0
  121. package/dist/docs/tag.md +1 -0
  122. package/dist/docs/time-picker.json +1 -1
  123. package/dist/docs/time-picker.md +1 -1
  124. package/dist/docs/time-range-picker.json +1 -1
  125. package/dist/docs/time-range-picker.md +1 -1
  126. package/dist/docs/toggle-group.examples.md +584 -0
  127. package/dist/docs/toggle-group.json +84 -20
  128. package/dist/docs/toggle-group.md +17 -182
  129. package/dist/docs/toggle.json +93 -37
  130. package/dist/docs/toggle.md +304 -51
  131. package/dist/{drawer-Du1aC1px.js → drawer-CQagePr_.js} +256 -256
  132. package/dist/drawer.js +1 -1
  133. package/dist/{entity-picker-BwJX0gNJ.js → entity-picker-CC4VoC3p.js} +2 -2
  134. package/dist/entity-picker.js +1 -1
  135. package/dist/{event-calendar-biSTH0yK.js → event-calendar-CjmF_e0H.js} +6 -6
  136. package/dist/event-calendar.js +1 -1
  137. package/dist/field-C-HRhke0.js +421 -0
  138. package/dist/{field-group-7zV68b3d.js → field-group-CU0PasvW.js} +1 -1
  139. package/dist/field-group.js +1 -1
  140. package/dist/field.js +1 -1
  141. package/dist/{filter-bar-BQZFgV0A.js → filter-bar-B3QJD7SZ.js} +25 -25
  142. package/dist/filter-bar.js +1 -1
  143. package/dist/{hover-card-D8OyhmEG.js → hover-card-CTItbEfH.js} +2 -2
  144. package/dist/hover-card.js +1 -1
  145. package/dist/{import-export-center-DWSEOV5Z.js → import-export-center-CW8YVZev.js} +3 -3
  146. package/dist/import-export-center.js +1 -1
  147. package/dist/index.js +132 -132
  148. package/dist/{listbox-CWU3DiEt.js → listbox-ZqiJ2yer.js} +1 -1
  149. package/dist/listbox.js +1 -1
  150. package/dist/{loading-overlay-BLIrcaoj.js → loading-overlay-BxIktMtQ.js} +1 -1
  151. package/dist/loading-overlay.js +1 -1
  152. package/dist/{markdown-7wOBMXTl.js → markdown-BdskE4-L.js} +1 -1
  153. package/dist/markdown.js +1 -1
  154. package/dist/menu-parts-DXs5YuUA.js +932 -0
  155. package/dist/menu.js +1 -1
  156. package/dist/{menubar-k8Q4_p9l.js → menubar-CVoAFc6r.js} +2 -2
  157. package/dist/menubar.js +1 -1
  158. package/dist/{multi-select-DEd_92BC.js → multi-select-Dc2d6dDB.js} +1 -1
  159. package/dist/multi-select.js +1 -1
  160. package/dist/{number-field-BJKoidAE.js → number-field-BQ54hXmk.js} +1 -1
  161. package/dist/number-field.js +1 -1
  162. package/dist/{otp-input-Czz9Z6dQ.js → otp-input-DRooqa3f.js} +1 -1
  163. package/dist/otp-input.js +1 -1
  164. package/dist/{page-header-NN3Jq5vb.js → page-header-DmwBGwlm.js} +1 -1
  165. package/dist/page-header.js +1 -1
  166. package/dist/{pagination-D0PUAFYm.js → pagination-BRXuyPzo.js} +1 -1
  167. package/dist/pagination.js +1 -1
  168. package/dist/{picker-frame-_9ZqQOjf.js → picker-frame-B6sPCP5Y.js} +1 -1
  169. package/dist/popover-1DlOu95x.js +576 -0
  170. package/dist/popover.js +1 -1
  171. package/dist/{progress-indicator-D0acshNn.js → progress-indicator-DRr0Gj6w.js} +1 -0
  172. package/dist/progress-indicator.js +1 -1
  173. package/dist/{prompt-composer-Lsfcz_i9.js → prompt-composer-tYIs39rn.js} +1 -1
  174. package/dist/prompt-composer.js +1 -1
  175. package/dist/{radio-group-_ZRUgcI5.js → radio-group-AW3xcYYh.js} +2 -2
  176. package/dist/radio-group.js +1 -1
  177. package/dist/{rating-C6AkIIUi.js → rating-h3qdHLNi.js} +1 -1
  178. package/dist/rating.js +1 -1
  179. package/dist/{saved-views-BvRFgSdg.js → saved-views-nqn0SDXn.js} +8 -8
  180. package/dist/saved-views.js +1 -1
  181. package/dist/{section-CQPQf6RU.js → section-D_qOfdxR.js} +1 -0
  182. package/dist/section.js +1 -1
  183. package/dist/{segmented-control-D52GeOlS.js → segmented-control-CbK7SurB.js} +2 -2
  184. package/dist/segmented-control.js +1 -1
  185. package/dist/select-d448Wkzb.js +1124 -0
  186. package/dist/select.js +1 -1
  187. package/dist/{side-navigation-Cwi2FHOz.js → side-navigation-CKRETc8E.js} +99 -99
  188. package/dist/side-navigation.js +1 -1
  189. package/dist/{slider-DQqQ0skr.js → slider-DQ2CnxTO.js} +1 -1
  190. package/dist/slider.js +1 -1
  191. package/dist/{split-button-BYowsA6Q.js → split-button-D4MPKSB2.js} +1 -1
  192. package/dist/split-button.js +1 -1
  193. package/dist/{stat-card-CmpabaTc.js → stat-card-CL3Xe6pV.js} +4 -1
  194. package/dist/stat-card.js +1 -1
  195. package/dist/styles/action-bar.css +2 -2
  196. package/dist/styles/app-shell.css +4 -2
  197. package/dist/styles/attachment.css +3 -1
  198. package/dist/styles/badge.css +1 -1
  199. package/dist/styles/calendar.css +1 -1
  200. package/dist/styles/cascader.css +3 -1
  201. package/dist/styles/chart.css +3 -1
  202. package/dist/styles/checkbox-group.css +2 -0
  203. package/dist/styles/checkbox.css +2 -0
  204. package/dist/styles/color-picker.css +3 -3
  205. package/dist/styles/column-manager.css +3 -3
  206. package/dist/styles/combobox.css +2 -0
  207. package/dist/styles/context-menu.css +1 -1
  208. package/dist/styles/currency-field.css +2 -0
  209. package/dist/styles/dashboard-grid.css +3 -3
  210. package/dist/styles/data-grid.css +8 -8
  211. package/dist/styles/data-list.css +3 -1
  212. package/dist/styles/date-field.css +2 -0
  213. package/dist/styles/date-picker.css +4 -2
  214. package/dist/styles/date-range-picker.css +4 -2
  215. package/dist/styles/datetime-field.css +2 -0
  216. package/dist/styles/datetime-picker.css +4 -2
  217. package/dist/styles/datetime-range-picker.css +4 -2
  218. package/dist/styles/detail-panel.css +5 -3
  219. package/dist/styles/entity-picker.css +4 -2
  220. package/dist/styles/event-calendar.css +5 -3
  221. package/dist/styles/field-group.css +2 -0
  222. package/dist/styles/field.css +2 -0
  223. package/dist/styles/filter-bar.css +7 -7
  224. package/dist/styles/floating-panel.css +1 -1
  225. package/dist/styles/hover-card.css +1 -1
  226. package/dist/styles/import-export-center.css +9 -7
  227. package/dist/styles/index.css +22 -20
  228. package/dist/styles/listbox.css +2 -0
  229. package/dist/styles/loading-overlay.css +3 -1
  230. package/dist/styles/markdown.css +2 -0
  231. package/dist/styles/menu.css +1 -1
  232. package/dist/styles/menubar.css +1 -1
  233. package/dist/styles/multi-select.css +3 -1
  234. package/dist/styles/number-field.css +2 -0
  235. package/dist/styles/otp-input.css +2 -0
  236. package/dist/styles/page-header.css +3 -1
  237. package/dist/styles/pagination.css +1 -1
  238. package/dist/styles/popover.css +1 -1
  239. package/dist/styles/progress-indicator.css +3 -1
  240. package/dist/styles/prompt-composer.css +2 -0
  241. package/dist/styles/radio-group.css +2 -0
  242. package/dist/styles/rating.css +2 -0
  243. package/dist/styles/saved-views.css +3 -3
  244. package/dist/styles/section.css +1 -1
  245. package/dist/styles/segmented-control.css +2 -0
  246. package/dist/styles/select.css +4 -2
  247. package/dist/styles/side-navigation.css +4 -2
  248. package/dist/styles/slider.css +2 -0
  249. package/dist/styles/split-button.css +1 -1
  250. package/dist/styles/stat-card.css +1 -1
  251. package/dist/styles/switch.css +9 -1
  252. package/dist/styles/table.css +6 -6
  253. package/dist/styles/tag.css +1 -1
  254. package/dist/styles/tags-input.css +3 -1
  255. package/dist/styles/text-field.css +2 -0
  256. package/dist/styles/textarea.css +3 -1
  257. package/dist/styles/time-field.css +2 -0
  258. package/dist/styles/time-picker.css +3 -1
  259. package/dist/styles/time-range-picker.css +3 -1
  260. package/dist/styles/toast.css +3 -1
  261. package/dist/styles/toggle-group.css +3 -1
  262. package/dist/styles/toolbar.css +1 -1
  263. package/dist/styles/top-navigation.css +4 -2
  264. package/dist/styles/transfer.css +2 -0
  265. package/dist/styles/upload.css +5 -1
  266. package/dist/styles/wizard.css +1 -1
  267. package/dist/styles.css +1 -1
  268. package/dist/switch-DxMukg7F.js +154 -0
  269. package/dist/switch.js +1 -1
  270. package/dist/{table-MGb3iZY_.js → table-BecApjeD.js} +50 -50
  271. package/dist/table.js +1 -1
  272. package/dist/{tag-BYzDYvM_.js → tag-DCMsVXN6.js} +31 -28
  273. package/dist/tag.js +1 -1
  274. package/dist/{tags-input-O87zTh7h.js → tags-input-CqCeLtk-.js} +1 -1
  275. package/dist/tags-input.js +1 -1
  276. package/dist/{text-field-Cnjc7LB5.js → text-field-CMOkJ9Z6.js} +1 -1
  277. package/dist/text-field.js +1 -1
  278. package/dist/{textarea-DcA7jwOM.js → textarea-DfqPfXTr.js} +1 -1
  279. package/dist/textarea.js +1 -1
  280. package/dist/{time-field-BanhrUvf.js → time-field-GyLQsxcc.js} +1 -1
  281. package/dist/time-field.js +1 -1
  282. package/dist/time-picker-CGHPnust.js +315 -0
  283. package/dist/time-picker.js +1 -1
  284. package/dist/{time-range-picker-ar40oPcf.js → time-range-picker-BMRtAqPy.js} +119 -117
  285. package/dist/time-range-picker.js +1 -1
  286. package/dist/{toast-Cg28GkqX.js → toast-aM_ga1mc.js} +1 -1
  287. package/dist/toast.js +1 -1
  288. package/dist/{toggle-zDTD5G3H.js → toggle-DSEEtL3Y.js} +7 -2
  289. package/dist/{toggle-group-D7GQyNQP.js → toggle-group-DZEWkVRo.js} +8 -3
  290. package/dist/toggle-group.js +1 -1
  291. package/dist/toggle.js +1 -1
  292. package/dist/{toolbar-DOV4BKY8.js → toolbar-BP7ka6lN.js} +1 -1
  293. package/dist/toolbar.js +1 -1
  294. package/dist/{top-navigation-C73WDqLg.js → top-navigation-D8IHPOmm.js} +1 -1
  295. package/dist/top-navigation.js +1 -1
  296. package/dist/{transfer-CuLlF_nY.js → transfer-sKUvmEKe.js} +5 -5
  297. package/dist/transfer.js +1 -1
  298. package/dist/types/app-shell/app-shell-parts.d.ts +7 -0
  299. package/dist/types/app-shell/app-shell-parts.d.ts.map +1 -1
  300. package/dist/types/app-shell/index.d.ts +1 -1
  301. package/dist/types/app-shell/index.d.ts.map +1 -1
  302. package/dist/types/badge/badge.d.ts +1 -1
  303. package/dist/types/badge/badge.d.ts.map +1 -1
  304. package/dist/types/badge/badge.types.d.ts +6 -0
  305. package/dist/types/badge/badge.types.d.ts.map +1 -1
  306. package/dist/types/calendar/calendar-day-cell.d.ts +3 -1
  307. package/dist/types/calendar/calendar-day-cell.d.ts.map +1 -1
  308. package/dist/types/calendar/calendar-defaults.d.ts +1 -1
  309. package/dist/types/calendar/calendar-defaults.d.ts.map +1 -1
  310. package/dist/types/calendar/calendar.d.ts +1 -1
  311. package/dist/types/calendar/calendar.d.ts.map +1 -1
  312. package/dist/types/calendar/calendar.types.d.ts +8 -0
  313. package/dist/types/calendar/calendar.types.d.ts.map +1 -1
  314. package/dist/types/calendar/use-clock-today.d.ts +10 -0
  315. package/dist/types/calendar/use-clock-today.d.ts.map +1 -0
  316. package/dist/types/chart/chart-help.d.ts +11 -0
  317. package/dist/types/chart/chart-help.d.ts.map +1 -0
  318. package/dist/types/chart/chart.d.ts.map +1 -1
  319. package/dist/types/chart/index.d.ts +1 -1
  320. package/dist/types/chart/index.d.ts.map +1 -1
  321. package/dist/types/currency-field/currency-field.d.ts +3 -3
  322. package/dist/types/currency-field/currency-field.d.ts.map +1 -1
  323. package/dist/types/currency-field/currency-field.types.d.ts +4 -3
  324. package/dist/types/currency-field/currency-field.types.d.ts.map +1 -1
  325. package/dist/types/dashboard-grid/dashboard-widget-help.d.ts +3 -1
  326. package/dist/types/dashboard-grid/dashboard-widget-help.d.ts.map +1 -1
  327. package/dist/types/data-grid/data-grid-body.d.ts.map +1 -1
  328. package/dist/types/data-grid/data-grid-context.d.ts +4 -0
  329. package/dist/types/data-grid/data-grid-context.d.ts.map +1 -1
  330. package/dist/types/data-grid/data-grid-header.d.ts.map +1 -1
  331. package/dist/types/data-grid/data-grid.d.ts +1 -1
  332. package/dist/types/data-grid/data-grid.d.ts.map +1 -1
  333. package/dist/types/data-grid/data-grid.types.d.ts +13 -0
  334. package/dist/types/data-grid/data-grid.types.d.ts.map +1 -1
  335. package/dist/types/date-picker/date-picker-defaults.d.ts.map +1 -1
  336. package/dist/types/date-picker/date-picker-panel.d.ts +2 -0
  337. package/dist/types/date-picker/date-picker-panel.d.ts.map +1 -1
  338. package/dist/types/date-picker/date-picker.d.ts.map +1 -1
  339. package/dist/types/date-picker/date-picker.types.d.ts +9 -0
  340. package/dist/types/date-picker/date-picker.types.d.ts.map +1 -1
  341. package/dist/types/date-picker/use-date-picker.d.ts +6 -3
  342. package/dist/types/date-picker/use-date-picker.d.ts.map +1 -1
  343. package/dist/types/date-range-picker/date-range-panel.d.ts +2 -0
  344. package/dist/types/date-range-picker/date-range-panel.d.ts.map +1 -1
  345. package/dist/types/date-range-picker/date-range-picker-defaults.d.ts.map +1 -1
  346. package/dist/types/date-range-picker/date-range-picker.d.ts.map +1 -1
  347. package/dist/types/date-range-picker/date-range-picker.types.d.ts +9 -0
  348. package/dist/types/date-range-picker/date-range-picker.types.d.ts.map +1 -1
  349. package/dist/types/date-range-picker/use-date-range-picker.d.ts +1 -0
  350. package/dist/types/date-range-picker/use-date-range-picker.d.ts.map +1 -1
  351. package/dist/types/datetime-picker/datetime-picker-defaults.d.ts.map +1 -1
  352. package/dist/types/datetime-picker/datetime-picker-panel.d.ts +2 -0
  353. package/dist/types/datetime-picker/datetime-picker-panel.d.ts.map +1 -1
  354. package/dist/types/datetime-picker/datetime-picker.d.ts.map +1 -1
  355. package/dist/types/datetime-picker/datetime-picker.types.d.ts +9 -0
  356. package/dist/types/datetime-picker/datetime-picker.types.d.ts.map +1 -1
  357. package/dist/types/datetime-picker/use-datetime-picker.d.ts +2 -1
  358. package/dist/types/datetime-picker/use-datetime-picker.d.ts.map +1 -1
  359. package/dist/types/datetime-range-picker/datetime-range-panel.d.ts +2 -0
  360. package/dist/types/datetime-range-picker/datetime-range-panel.d.ts.map +1 -1
  361. package/dist/types/datetime-range-picker/datetime-range-picker-defaults.d.ts.map +1 -1
  362. package/dist/types/datetime-range-picker/datetime-range-picker.d.ts.map +1 -1
  363. package/dist/types/datetime-range-picker/datetime-range-picker.types.d.ts +9 -0
  364. package/dist/types/datetime-range-picker/datetime-range-picker.types.d.ts.map +1 -1
  365. package/dist/types/datetime-range-picker/use-datetime-range-picker.d.ts +2 -1
  366. package/dist/types/datetime-range-picker/use-datetime-range-picker.d.ts.map +1 -1
  367. package/dist/types/field/field-defaults.d.ts +1 -1
  368. package/dist/types/field/field-defaults.d.ts.map +1 -1
  369. package/dist/types/field/field-help-sheet.d.ts +15 -0
  370. package/dist/types/field/field-help-sheet.d.ts.map +1 -0
  371. package/dist/types/field/field-parts.d.ts +1 -1
  372. package/dist/types/field/field-parts.d.ts.map +1 -1
  373. package/dist/types/field/field.types.d.ts +11 -0
  374. package/dist/types/field/field.types.d.ts.map +1 -1
  375. package/dist/types/field/index.d.ts +1 -1
  376. package/dist/types/field/index.d.ts.map +1 -1
  377. package/dist/types/menu/index.d.ts +1 -1
  378. package/dist/types/menu/index.d.ts.map +1 -1
  379. package/dist/types/menu/menu-defaults.d.ts.map +1 -1
  380. package/dist/types/menu/menu-parts.d.ts.map +1 -1
  381. package/dist/types/menu/menu-sheet-step.d.ts +6 -0
  382. package/dist/types/menu/menu-sheet-step.d.ts.map +1 -0
  383. package/dist/types/menu/menu.d.ts +1 -1
  384. package/dist/types/menu/menu.d.ts.map +1 -1
  385. package/dist/types/menu/menu.types.d.ts +15 -0
  386. package/dist/types/menu/menu.types.d.ts.map +1 -1
  387. package/dist/types/menu/use-menu-sheet.d.ts +9 -0
  388. package/dist/types/menu/use-menu-sheet.d.ts.map +1 -0
  389. package/dist/types/pagination/pagination-parts.d.ts.map +1 -1
  390. package/dist/types/picker-panel/picker-footer.d.ts +8 -2
  391. package/dist/types/picker-panel/picker-footer.d.ts.map +1 -1
  392. package/dist/types/picker-panel/picker-layer.d.ts +4 -1
  393. package/dist/types/picker-panel/picker-layer.d.ts.map +1 -1
  394. package/dist/types/picker-panel/use-media-query.d.ts +2 -2
  395. package/dist/types/picker-panel/use-media-query.d.ts.map +1 -1
  396. package/dist/types/picker-panel/use-picker-layer.d.ts.map +1 -1
  397. package/dist/types/popover/index.d.ts +1 -1
  398. package/dist/types/popover/index.d.ts.map +1 -1
  399. package/dist/types/popover/popover-parts.d.ts +2 -1
  400. package/dist/types/popover/popover-parts.d.ts.map +1 -1
  401. package/dist/types/popover/popover.d.ts +4 -2
  402. package/dist/types/popover/popover.d.ts.map +1 -1
  403. package/dist/types/popover/popover.types.d.ts +17 -0
  404. package/dist/types/popover/popover.types.d.ts.map +1 -1
  405. package/dist/types/progress-indicator/loader.d.ts +1 -0
  406. package/dist/types/progress-indicator/loader.d.ts.map +1 -1
  407. package/dist/types/section/section.d.ts.map +1 -1
  408. package/dist/types/section/section.types.d.ts +4 -2
  409. package/dist/types/section/section.types.d.ts.map +1 -1
  410. package/dist/types/select/index.d.ts +1 -1
  411. package/dist/types/select/index.d.ts.map +1 -1
  412. package/dist/types/select/select-defaults.d.ts.map +1 -1
  413. package/dist/types/select/select-parts.d.ts.map +1 -1
  414. package/dist/types/select/select.d.ts +6 -2
  415. package/dist/types/select/select.d.ts.map +1 -1
  416. package/dist/types/select/select.types.d.ts +9 -0
  417. package/dist/types/select/select.types.d.ts.map +1 -1
  418. package/dist/types/select/use-select-sheet.d.ts +9 -0
  419. package/dist/types/select/use-select-sheet.d.ts.map +1 -0
  420. package/dist/types/stat-card/stat-card-parts.d.ts.map +1 -1
  421. package/dist/types/switch/switch-defaults.d.ts.map +1 -1
  422. package/dist/types/switch/switch.d.ts +2 -1
  423. package/dist/types/switch/switch.d.ts.map +1 -1
  424. package/dist/types/switch/switch.types.d.ts +9 -0
  425. package/dist/types/switch/switch.types.d.ts.map +1 -1
  426. package/dist/types/tag/tag-chip.d.ts +4 -1
  427. package/dist/types/tag/tag-chip.d.ts.map +1 -1
  428. package/dist/types/tag/tag.d.ts +1 -1
  429. package/dist/types/tag/tag.d.ts.map +1 -1
  430. package/dist/types/tag/tag.types.d.ts +6 -0
  431. package/dist/types/tag/tag.types.d.ts.map +1 -1
  432. package/dist/types/time-picker/time-picker-panel.d.ts +3 -1
  433. package/dist/types/time-picker/time-picker-panel.d.ts.map +1 -1
  434. package/dist/types/time-picker/time-picker.d.ts.map +1 -1
  435. package/dist/types/time-range-picker/time-range-panel.d.ts +2 -0
  436. package/dist/types/time-range-picker/time-range-panel.d.ts.map +1 -1
  437. package/dist/types/time-range-picker/time-range-picker.d.ts.map +1 -1
  438. package/dist/types/toggle/toggle.d.ts.map +1 -1
  439. package/dist/types/toggle/toggle.types.d.ts +4 -1
  440. package/dist/types/toggle/toggle.types.d.ts.map +1 -1
  441. package/dist/types/toggle-group/toggle-group-parts.d.ts.map +1 -1
  442. package/dist/types/toggle-group/toggle-group.types.d.ts +4 -1
  443. package/dist/types/toggle-group/toggle-group.types.d.ts.map +1 -1
  444. package/dist/{upload-DggJrkQ7.js → upload-CuMOaPK3.js} +2 -2
  445. package/dist/upload.js +1 -1
  446. package/dist/use-date-picker-DdSX3RE4.js +137 -0
  447. package/dist/use-media-query-DJY5h_K5.js +15 -0
  448. package/dist/use-picker-draft-I_pxqYsc.js +384 -0
  449. package/dist/{wizard-BokOrtwq.js → wizard-4c0X7Bx_.js} +1 -1
  450. package/dist/wizard.js +1 -1
  451. package/package.json +6 -6
  452. package/dist/calendar-D3QZDlm0.js +0 -598
  453. package/dist/chart-DwXqQZjQ.js +0 -1027
  454. package/dist/column-manager-BBGczWQe.js +0 -586
  455. package/dist/dashboard-grid-DAY_CjCW.js +0 -1191
  456. package/dist/field-vOVzvq5t.js +0 -368
  457. package/dist/menu-parts-DgL617_H.js +0 -814
  458. package/dist/picker-jump-BcTRIJs6.js +0 -70
  459. package/dist/popover-BfEn2wdZ.js +0 -500
  460. package/dist/select-BkUuIVBK.js +0 -1017
  461. package/dist/switch-C2krbZHI.js +0 -147
  462. package/dist/time-picker-z4GSRuha.js +0 -313
  463. package/dist/use-date-picker-DL8tRXji.js +0 -63
  464. package/dist/use-picker-draft-Bw8VFaj0.js +0 -377
@@ -93,6 +93,7 @@
93
93
  "shift": true,
94
94
  "hideWhenDetached": false,
95
95
  "portal": true,
96
+ "presentation": "popover",
96
97
  "disabled": false,
97
98
  "sideOffset": 0,
98
99
  "alignOffset": 0,
@@ -124,6 +125,8 @@
124
125
  "footer",
125
126
  "close",
126
127
  "arrow",
128
+ "backdrop",
129
+ "grip",
127
130
  "focus-guard"
128
131
  ]
129
132
  }
@@ -138,13 +141,13 @@
138
141
  "part": "root",
139
142
  "element": "div, rendered by PopoverLayer",
140
143
  "required": true,
141
- "purpose": "The positioned layer. The positioner writes its position on this element, and this element scales and fades. Its padding is the gap between the trigger and the panel, which is where the arrow stands. It carries data-ui=\"popover\", data-side, data-align, data-size, data-width and data-open."
144
+ "purpose": "The positioned layer. The positioner writes its position on this element, and this element scales and fades. Its padding is the gap between the trigger and the panel, which is where the arrow stands. It carries data-ui=\"popover\", data-side, data-align, data-size, data-width, data-presentation and data-open."
142
145
  },
143
146
  {
144
147
  "part": "content",
145
148
  "element": "div",
146
149
  "required": true,
147
- "purpose": "The panel, with role=\"dialog\" and tabindex=\"-1\". It is named by its title and described by its description when those parts are present. aria-modal is never written, because the popover is not modal. It draws no padding: PopoverHeader, PopoverBody and PopoverFooter carry the panel inset, set by --slotted-popover-padding-inline and --slotted-popover-padding-block."
150
+ "purpose": "The panel, with role=\"dialog\" and tabindex=\"-1\". It is named by its title and described by its description when those parts are present. aria-modal is written on the sheet of a phone alone, because the anchored panel is not modal. It draws no padding: PopoverHeader, PopoverBody and PopoverFooter carry the panel inset, set by --slotted-popover-padding-inline and --slotted-popover-padding-block."
148
151
  },
149
152
  {
150
153
  "part": "header",
@@ -188,6 +191,18 @@
188
191
  "required": false,
189
192
  "purpose": "A rotated square in the panel’s background and border colors, which continues the panel’s outline towards the anchor. Place it beside PopoverContent inside PopoverLayer, not inside the content: the stylesheet selects it as a direct child of the layer."
190
193
  },
194
+ {
195
+ "part": "backdrop",
196
+ "element": "div",
197
+ "required": false,
198
+ "purpose": "The scrim of the sheet presentation=\"auto\" draws on a phone. A press on it closes the sheet."
199
+ },
200
+ {
201
+ "part": "grip",
202
+ "element": "span",
203
+ "required": false,
204
+ "purpose": "The line at the top of that sheet, hidden from assistive technology. A pull down on it closes the sheet."
205
+ },
191
206
  {
192
207
  "part": "focus-guard",
193
208
  "element": "span (two of them)",
@@ -308,6 +323,13 @@
308
323
  "appliesTo": "Popover",
309
324
  "description": "Whether the layer is rendered into the shared portal root at the end of the document. The portalled layer keeps the theme, color scheme, density and direction of the region it was opened from."
310
325
  },
326
+ {
327
+ "name": "presentation",
328
+ "type": "'popover' | 'auto'",
329
+ "defaultValue": "popover",
330
+ "appliesTo": "Popover",
331
+ "description": "auto presents the panel as a bottom sheet under (max-width: 480px) and (pointer: coarse): modal, with a scrim, a grip and focus held in it, headed by PopoverTitle or by the panel’s aria-label. It reads the drawer’s surface, radius, scrim and motion tokens."
332
+ },
311
333
  {
312
334
  "name": "disabled",
313
335
  "type": "boolean",
@@ -417,7 +439,7 @@
417
439
  }
418
440
  ],
419
441
  "accessibility": [
420
- "The panel is a non-modal dialog: aria-modal is not written, nothing behind it becomes inert, and the page keeps scrolling. Use Dialog for content that has to block the page.",
442
+ "The panel is a non-modal dialog: aria-modal is not written, nothing behind it becomes inert, and the page keeps scrolling. The sheet of presentation=\"auto\" is the exception: it covers a phone’s screen, so it is modal, holds focus and returns it to the trigger. Use Dialog for content that has to block the page.",
421
443
  "The trigger carries aria-expanded, aria-haspopup=\"dialog\", and aria-controls while the panel is in the document. The panel is named by its title through aria-labelledby and described by its description through aria-describedby. A popover without a title has no accessible name until you write aria-label on PopoverContent.",
422
444
  "Focus moves to the panel on open, so a screen reader announces its name before its contents, and returns to the trigger on close. If the reader has moved focus elsewhere on the page, focus stays there. initialFocus and finalFocus name other targets.",
423
445
  "Tab past the last control in the panel, or Shift+Tab before the first, closes the popover and returns focus to the trigger; the next Tab continues down the page. Focus is never trapped in the panel."
@@ -425,6 +447,7 @@
425
447
  }
426
448
  },
427
449
  "tokens": [
450
+ "--slotted-border-strong",
428
451
  "--slotted-border-subtle",
429
452
  "--slotted-border-width-thin",
430
453
  "--slotted-control-gap-md",
@@ -432,6 +455,17 @@
432
455
  "--slotted-control-radius",
433
456
  "--slotted-control-transition-duration",
434
457
  "--slotted-control-transition-easing",
458
+ "--slotted-drawer-border-color",
459
+ "--slotted-drawer-radius",
460
+ "--slotted-drawer-resizer-line-color",
461
+ "--slotted-drawer-scrim",
462
+ "--slotted-drawer-scrim-backdrop-filter",
463
+ "--slotted-drawer-slide-duration",
464
+ "--slotted-drawer-slide-easing",
465
+ "--slotted-drawer-slide-exit-duration",
466
+ "--slotted-drawer-slide-exit-easing",
467
+ "--slotted-drawer-surface",
468
+ "--slotted-duration-long",
435
469
  "--slotted-duration-medium",
436
470
  "--slotted-duration-short",
437
471
  "--slotted-easing-enter",
@@ -472,7 +506,10 @@
472
506
  "--slotted-radius-lg",
473
507
  "--slotted-radius-sm",
474
508
  "--slotted-radius-xs",
509
+ "--slotted-scrim",
510
+ "--slotted-shadow-lg",
475
511
  "--slotted-shadow-md",
512
+ "--slotted-space-11",
476
513
  "--slotted-space-2",
477
514
  "--slotted-space-3",
478
515
  "--slotted-space-4",
@@ -480,6 +517,7 @@
480
517
  "--slotted-space-6",
481
518
  "--slotted-space-7",
482
519
  "--slotted-surface-raised",
520
+ "--slotted-target-min",
483
521
  "--slotted-text",
484
522
  "--slotted-text-muted",
485
523
  "--slotted-tone-secondary-subtle-active",
@@ -103,6 +103,8 @@ export default function PopoverBasic() {
103
103
  | `footer` | div | no |
104
104
  | `close` | button | no |
105
105
  | `arrow` | div | no |
106
+ | `backdrop` | div | no |
107
+ | `grip` | span | no |
106
108
  | `focus-guard` | span (two of them) | yes |
107
109
 
108
110
  ## Props
@@ -125,6 +127,7 @@ export default function PopoverBasic() {
125
127
  | `shift` | `boolean` | true | Popover | Whether the panel slides along its side to stay inside the boundary. |
126
128
  | `hideWhenDetached` | `boolean` | false | Popover | Whether the panel hides when its anchor scrolls out of view. It is off, unlike Tooltip’s, so a task the reader is halfway through does not disappear when the row behind it scrolls. |
127
129
  | `portal` | `boolean` | true | Popover | Whether the layer is rendered into the shared portal root at the end of the document. The portalled layer keeps the theme, color scheme, density and direction of the region it was opened from. |
130
+ | `presentation` | `'popover' \| 'auto'` | popover | Popover | auto presents the panel as a bottom sheet under (max-width: 480px) and (pointer: coarse): modal, with a scrim, a grip and focus held in it, headed by PopoverTitle or by the panel’s aria-label. It reads the drawer’s surface, radius, scrim and motion tokens. |
128
131
  | `disabled` | `boolean` | false | Popover | Whether the popover never opens. It does not disable the trigger; set disabled on the trigger element for that. |
129
132
  | `messages` | `Partial<PopoverMessages>` | — | Popover | Text that replaces the language’s messages for this popover, key by key. close is the close button’s accessible name; an aria-label on PopoverClose takes precedence. |
130
133
  | `sideOffset` | `number` | 0 | Popover | Extra distance from the anchor in pixels, added to the standard gap. |
@@ -168,14 +171,14 @@ export default function PopoverBasic() {
168
171
 
169
172
  ## Rules
170
173
 
171
- - The panel is a non-modal dialog: aria-modal is not written, nothing behind it becomes inert, and the page keeps scrolling. Use Dialog for content that has to block the page.
174
+ - The panel is a non-modal dialog: aria-modal is not written, nothing behind it becomes inert, and the page keeps scrolling. The sheet of presentation="auto" is the exception: it covers a phone’s screen, so it is modal, holds focus and returns it to the trigger. Use Dialog for content that has to block the page.
172
175
  - The trigger carries aria-expanded, aria-haspopup="dialog", and aria-controls while the panel is in the document. The panel is named by its title through aria-labelledby and described by its description through aria-describedby. A popover without a title has no accessible name until you write aria-label on PopoverContent.
173
176
  - Focus moves to the panel on open, so a screen reader announces its name before its contents, and returns to the trigger on close. If the reader has moved focus elsewhere on the page, focus stays there. initialFocus and finalFocus name other targets.
174
177
  - Tab past the last control in the panel, or Shift+Tab before the first, closes the popover and returns focus to the trigger; the next Tab continues down the page. Focus is never trapped in the panel.
175
178
 
176
179
  ## Tokens
177
180
 
178
- `--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-gap-md`, `--slotted-control-height-sm`, `--slotted-control-radius`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-family-heading`, `--slotted-font-family-sans`, `--slotted-font-size-lg`, `--slotted-font-size-md`, `--slotted-font-size-sm`, `--slotted-font-size-xl`, `--slotted-font-weight-semibold`, `--slotted-line-height-lg`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-overlay-max-block-size`, `--slotted-popover-arrow-size`, `--slotted-popover-arrow-tip-radius`, `--slotted-popover-backdrop-filter`, `--slotted-popover-border-color`, `--slotted-popover-gap`, `--slotted-popover-measure`, `--slotted-popover-measure-lg`, `--slotted-popover-measure-sm`, `--slotted-popover-padding-block`, `--slotted-popover-padding-block-lg`, `--slotted-popover-padding-block-sm`, `--slotted-popover-padding-inline`, `--slotted-popover-padding-inline-lg`, `--slotted-popover-padding-inline-sm`, `--slotted-popover-radius`, `--slotted-popover-shadow`, `--slotted-popover-surface`, `--slotted-popover-text`, `--slotted-radius-lg`, `--slotted-radius-sm`, `--slotted-radius-xs`, `--slotted-shadow-md`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-6`, `--slotted-space-7`, `--slotted-surface-raised`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-z-index-popover`
181
+ `--slotted-border-strong`, `--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-gap-md`, `--slotted-control-height-sm`, `--slotted-control-radius`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--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-offset`, `--slotted-focus-ring-width`, `--slotted-font-family-heading`, `--slotted-font-family-sans`, `--slotted-font-size-lg`, `--slotted-font-size-md`, `--slotted-font-size-sm`, `--slotted-font-size-xl`, `--slotted-font-weight-semibold`, `--slotted-line-height-lg`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-overlay-max-block-size`, `--slotted-popover-arrow-size`, `--slotted-popover-arrow-tip-radius`, `--slotted-popover-backdrop-filter`, `--slotted-popover-border-color`, `--slotted-popover-gap`, `--slotted-popover-measure`, `--slotted-popover-measure-lg`, `--slotted-popover-measure-sm`, `--slotted-popover-padding-block`, `--slotted-popover-padding-block-lg`, `--slotted-popover-padding-block-sm`, `--slotted-popover-padding-inline`, `--slotted-popover-padding-inline-lg`, `--slotted-popover-padding-inline-sm`, `--slotted-popover-radius`, `--slotted-popover-shadow`, `--slotted-popover-surface`, `--slotted-popover-text`, `--slotted-radius-lg`, `--slotted-radius-sm`, `--slotted-radius-xs`, `--slotted-scrim`, `--slotted-shadow-lg`, `--slotted-shadow-md`, `--slotted-space-11`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-6`, `--slotted-space-7`, `--slotted-surface-raised`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-z-index-popover`
179
182
 
180
183
  ## Examples
181
184
 
@@ -188,7 +188,7 @@
188
188
  "type": "'label' | 'title'",
189
189
  "defaultValue": "label",
190
190
  "appliesTo": "Section, SectionDefaultsProvider",
191
- "description": "label draws a top-level heading in small capitals; title draws it in mixed case at --slotted-section-title-size-{sm,md,lg}, for a section whose body opens with text heavier than a label. A nested section keeps the subsection form"
191
+ "description": "label draws a top-level heading in small capitals; title draws it in mixed case at --slotted-section-title-size-{sm,md,lg}, for a section whose body opens with text heavier than a label. A nested section keeps the subsection form unless it states title itself; a title from the defaults provider does not reach it"
192
192
  },
193
193
  {
194
194
  "name": "sticky",
@@ -48,7 +48,7 @@ Excerpt — not a complete module
48
48
  | `bleed` | `boolean` | false | SectionBody | In a surface section, runs the body to the inline edges of the panel and to the block edge it touches, clipped to the corners of the panel. For a table or a grid with no frame of its own; without a surface it has no effect |
49
49
  | `divider` | `boolean` | false | Section, SectionDefaultsProvider | A rule under the header, for a page where space alone does not separate |
50
50
  | `ground` | `'none' \| 'surface'` | none | Section, SectionDefaultsProvider | none is transparent; surface paints the raised surface with a subtle edge and the large radius — no shadow, no hover, no action, because a section is not a card |
51
- | `heading` | `'label' \| 'title'` | label | Section, SectionDefaultsProvider | label draws a top-level heading in small capitals; title draws it in mixed case at --slotted-section-title-size-{sm,md,lg}, for a section whose body opens with text heavier than a label. A nested section keeps the subsection form |
51
+ | `heading` | `'label' \| 'title'` | label | Section, SectionDefaultsProvider | label draws a top-level heading in small capitals; title draws it in mixed case at --slotted-section-title-size-{sm,md,lg}, for a section whose body opens with text heavier than a label. A nested section keeps the subsection form unless it states title itself; a title from the defaults provider does not reach it |
52
52
  | `sticky` | `boolean` | false | Section, SectionDefaultsProvider | The header stays under the page chrome while the body scrolls, painted in the page’s ground. Without a page it sticks to the top of whatever scrolls. A region inside a page that paints a ground of its own declares --slotted-page-ground with that ground, so a sticky header under it matches the region. |
53
53
  | `id` | `string` | from useId | Section | The identifier a hash link reaches. The heading’s own id is derived from it |
54
54
  | `render` | `(props) => ReactNode` | — | every part | Substitutes the element and hands it every attribute. A heading rendered into another element keeps its rank through role="heading" and aria-level |
@@ -144,6 +144,7 @@
144
144
  "shift": true,
145
145
  "hideWhenDetached": true,
146
146
  "portal": true,
147
+ "presentation": "popover",
147
148
  "fullWidth": true,
148
149
  "disabled": false,
149
150
  "readOnly": false,
@@ -196,7 +197,11 @@
196
197
  "summary",
197
198
  "clear",
198
199
  "positioner",
200
+ "backdrop",
199
201
  "content",
202
+ "grip",
203
+ "header",
204
+ "title",
200
205
  "search",
201
206
  "search-icon",
202
207
  "search-input",
@@ -277,12 +282,36 @@
277
282
  "required": true,
278
283
  "purpose": "The layer, portalled to the end of the document. It carries data-ui=\"select\" again, because a stylesheet cannot reach the portalled list through the root. The positioner writes its position on this element, and this element scales and fades."
279
284
  },
285
+ {
286
+ "part": "backdrop",
287
+ "element": "div",
288
+ "required": false,
289
+ "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."
290
+ },
280
291
  {
281
292
  "part": "content",
282
- "element": "div with role=\"listbox\", or role=\"dialog\" under search",
293
+ "element": "div with role=\"listbox\", or role=\"dialog\" under search and in the sheet",
283
294
  "required": true,
284
295
  "purpose": "The list surface. It defines the three columns every option uses, is bounded by the height the positioner reports, and scrolls inside it. With search it becomes a dialog that holds the search field and the list, because a listbox may hold only options and groups."
285
296
  },
297
+ {
298
+ "part": "grip",
299
+ "element": "span",
300
+ "required": false,
301
+ "purpose": "The bar at the top of the sheet, aria-hidden. A pull down on it dismisses the sheet; Escape, the scrim and the platform’s way back are the other ways out."
302
+ },
303
+ {
304
+ "part": "header",
305
+ "element": "div",
306
+ "required": false,
307
+ "purpose": "The row above the list of the sheet, holding its title."
308
+ },
309
+ {
310
+ "part": "title",
311
+ "element": "div",
312
+ "required": false,
313
+ "purpose": "The heading of the sheet: the label of the control, as a reader hears it. It names the dialog the sheet is."
314
+ },
286
315
  {
287
316
  "part": "search",
288
317
  "element": "div, drawn only under search",
@@ -639,6 +668,13 @@
639
668
  "appliesTo": "Select",
640
669
  "description": "Whether the list renders at the end of the document instead of inside the control."
641
670
  },
671
+ {
672
+ "name": "presentation",
673
+ "type": "'popover' | 'auto'",
674
+ "defaultValue": "popover",
675
+ "appliesTo": "Select, SelectDefaultsProvider",
676
+ "description": "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."
677
+ },
642
678
  {
643
679
  "name": "fullWidth",
644
680
  "type": "boolean",
@@ -857,6 +893,7 @@
857
893
  }
858
894
  },
859
895
  "tokens": [
896
+ "--slotted-border-strong",
860
897
  "--slotted-border-subtle",
861
898
  "--slotted-border-width-thin",
862
899
  "--slotted-control-border-color",
@@ -891,6 +928,17 @@
891
928
  "--slotted-disabled-background",
892
929
  "--slotted-disabled-border",
893
930
  "--slotted-disabled-foreground",
931
+ "--slotted-drawer-border-color",
932
+ "--slotted-drawer-radius",
933
+ "--slotted-drawer-resizer-line-color",
934
+ "--slotted-drawer-scrim",
935
+ "--slotted-drawer-scrim-backdrop-filter",
936
+ "--slotted-drawer-slide-duration",
937
+ "--slotted-drawer-slide-easing",
938
+ "--slotted-drawer-slide-exit-duration",
939
+ "--slotted-drawer-slide-exit-easing",
940
+ "--slotted-drawer-surface",
941
+ "--slotted-duration-long",
894
942
  "--slotted-duration-medium",
895
943
  "--slotted-duration-short",
896
944
  "--slotted-easing-enter",
@@ -900,7 +948,9 @@
900
948
  "--slotted-focus-ring-color-invalid",
901
949
  "--slotted-focus-ring-offset",
902
950
  "--slotted-focus-ring-width",
951
+ "--slotted-font-family-heading",
903
952
  "--slotted-font-family-sans",
953
+ "--slotted-font-size-md",
904
954
  "--slotted-font-size-xs",
905
955
  "--slotted-font-weight-medium",
906
956
  "--slotted-font-weight-semibold",
@@ -909,6 +959,7 @@
909
959
  "--slotted-overlay-max-block-size",
910
960
  "--slotted-radius-lg",
911
961
  "--slotted-radius-none",
962
+ "--slotted-scrim",
912
963
  "--slotted-select-action-active-background",
913
964
  "--slotted-select-action-color",
914
965
  "--slotted-select-action-hover-background",
@@ -952,9 +1003,12 @@
952
1003
  "--slotted-select-subtle-border-color",
953
1004
  "--slotted-select-subtle-hover-background",
954
1005
  "--slotted-select-surface",
1006
+ "--slotted-shadow-lg",
955
1007
  "--slotted-shadow-md",
956
1008
  "--slotted-space-1",
1009
+ "--slotted-space-11",
957
1010
  "--slotted-space-2",
1011
+ "--slotted-space-3",
958
1012
  "--slotted-space-5",
959
1013
  "--slotted-surface-raised",
960
1014
  "--slotted-surface-sunken",
@@ -64,7 +64,11 @@ export default function SelectBasic() {
64
64
  | `summary` | span | no |
65
65
  | `clear` | button | no |
66
66
  | `positioner` | div, rendered by SelectContent | yes |
67
- | `content` | div with role="listbox", or role="dialog" under search | yes |
67
+ | `backdrop` | div | no |
68
+ | `content` | div with role="listbox", or role="dialog" under search and in the sheet | yes |
69
+ | `grip` | span | no |
70
+ | `header` | div | no |
71
+ | `title` | div | no |
68
72
  | `search` | div, drawn only under search | no |
69
73
  | `search-icon` | span, aria-hidden | no |
70
74
  | `search-input` | input with role="combobox" | no |
@@ -123,6 +127,7 @@ export default function SelectBasic() {
123
127
  | `shift` | `boolean` | true | Select | Whether the list may slide along its edge to stay in view. |
124
128
  | `hideWhenDetached` | `boolean` | true | Select | Whether the list hides while its control is scrolled out of view. |
125
129
  | `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. |
126
131
  | `fullWidth` | `boolean` | true | Select | Whether the control fills its container. false sizes it to its widest value. |
127
132
  | `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. |
128
133
  | `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. |
@@ -201,7 +206,7 @@ export default function SelectBasic() {
201
206
 
202
207
  ## Tokens
203
208
 
204
- `--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-overlay-max-block-size`, `--slotted-radius-lg`, `--slotted-radius-none`, `--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-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`
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`
205
210
 
206
211
  ## Examples
207
212
 
@@ -102,8 +102,9 @@ has.
102
102
  token.
103
103
  3. Else a theme rule. It lives in `slotted.theme-rules`, selects only
104
104
  `data-ui`, `data-part`, the attributes a family writes and the theme's
105
- attributes, and reads only tokens; the compiler names the file, the line
106
- and the selector of a rule it refuses. A rule for one scheme begins with
105
+ attributes, and reads and writes only tokens, or a property with a prefix
106
+ of the application's; the compiler names the file, the line and the
107
+ selector of a rule it refuses. A rule for one scheme begins with
107
108
  the nesting selector, which names the theme root that carries the scheme.
108
109
  The same selector without it asks for a descendant of the root and is
109
110
  refused:
@@ -23,6 +23,7 @@ Answer in order and stop at the first row that decides.
23
23
  | ---------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- |
24
24
  | Structure is known before the data arrives — a list, a table, a card, a form | `skeleton` placeholders |
25
25
  | Data already on screen is read again for the whole page — a Refresh, a refetch after a write, a refetch on focus | the `page-header` progress part in the page header; the region keeps its items and no control draws its own indicator |
26
+ | A control that shows the value it writes at the press — a switch, a checkbox, a segmented control | the asked value at once, with no indicator (AF-09) |
26
27
  | A control started the request and stays on screen — a button, a field, a menu item | that family's own `loading` state |
27
28
  | A region already painted is being replaced and must not be touched meanwhile | `loading-overlay` |
28
29
  | The work reports how much is done | `progress-indicator` with a value |
@@ -41,7 +42,9 @@ removed and placeholders stand in their place (AF-04).
41
42
 
42
43
  A control that starts a request waits on it: it is in its `loading` state from
43
44
  activation until the answer, refuses a second activation and shows the
44
- family's indicator (AF-03).
45
+ family's indicator (AF-03). A control that shows the value it writes does not:
46
+ it shows the asked value from the press and returns to the stored one when the
47
+ write fails (AF-09).
45
48
 
46
49
  ## 2. Placeholders are the anatomy, not rectangles
47
50
 
@@ -78,6 +78,7 @@
78
78
  "body",
79
79
  "header",
80
80
  "label",
81
+ "label-text",
81
82
  "status",
82
83
  "action",
83
84
  "figure",
@@ -122,6 +123,12 @@
122
123
  "required": false,
123
124
  "purpose": "The name of the metric, in the muted step. Carries the id the root is named by."
124
125
  },
126
+ {
127
+ "part": "label-text",
128
+ "element": "span",
129
+ "required": false,
130
+ "purpose": "The words of the name, rendered by the label. The label asks for their width up to ten rem, so a short name shares the line with its status and action and a long one wraps beside them."
131
+ },
125
132
  {
126
133
  "part": "status",
127
134
  "element": "span",
@@ -132,7 +139,7 @@
132
139
  "part": "action",
133
140
  "element": "span",
134
141
  "required": false,
135
- "purpose": "The end of the header, for your own Link or Button. Stays on the first line when the name wraps, set on the name’s own size and line so the header keeps its height whichever face has loaded."
142
+ "purpose": "The end of the header, for your own Link or Button. Stays on the first line when the name wraps, and takes the next line only when the two do not fit. It counts as one line of the name: a button extends past the line, and the value stands on the line of the values beside it."
136
143
  },
137
144
  {
138
145
  "part": "figure",
@@ -375,6 +382,7 @@
375
382
  "tokens": [
376
383
  "--slotted-border-subtle",
377
384
  "--slotted-border-width-thin",
385
+ "--slotted-control-height-sm",
378
386
  "--slotted-control-icon-size-md",
379
387
  "--slotted-control-icon-size-sm",
380
388
  "--slotted-font-family-sans",
@@ -54,6 +54,7 @@ Excerpt — not a complete module
54
54
  | `body` | div | yes |
55
55
  | `header` | div | no |
56
56
  | `label` | span | no |
57
+ | `label-text` | span | no |
57
58
  | `status` | span | no |
58
59
  | `action` | span | no |
59
60
  | `figure` | div | no |
@@ -119,7 +120,7 @@ Excerpt — not a complete module
119
120
 
120
121
  ## Tokens
121
122
 
122
- `--slotted-border-subtle`, `--slotted-border-width-thin`, `--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`
123
+ `--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`
123
124
 
124
125
  ## Examples
125
126
 
@@ -173,7 +173,14 @@
173
173
  "type": "boolean",
174
174
  "defaultValue": "false",
175
175
  "appliesTo": "Switch",
176
- "description": "The value is not settled yet. The switch refuses every press, keeps its size, sets aria-busy, and announces the pending label politely once the wait passes two seconds."
176
+ "description": "The value is not settled yet. The switch refuses every press, keeps its size, sets aria-busy, draws the morphing shape of Loader in the place of the thumb, and announces the pending label politely once the wait passes two seconds."
177
+ },
178
+ {
179
+ "name": "loadingDelay",
180
+ "type": "number",
181
+ "defaultValue": "0",
182
+ "appliesTo": "Switch, SwitchDefaultsProvider",
183
+ "description": "Milliseconds before the shape appears, so a write that answers sooner draws nothing. The switch refuses a press and sets aria-busy from the start of the wait, and keeps its mark and its cursor until the delay has passed."
177
184
  },
178
185
  {
179
186
  "name": "messages",
@@ -242,7 +249,7 @@
242
249
  },
243
250
  {
244
251
  "name": "SwitchDefaultsProvider",
245
- "type": "{ size, indicator, labelPlacement }",
252
+ "type": "{ size, indicator, labelPlacement, loadingDelay, variant }",
246
253
  "defaultValue": "—",
247
254
  "appliesTo": "a subtree",
248
255
  "description": "Sets size, indicator and labelPlacement once for every switch under it. A field outranks the provider’s size, so a switch inside a field takes the field’s step."
@@ -279,7 +286,6 @@
279
286
  }
280
287
  },
281
288
  "tokens": [
282
- "--slotted-border-width-thin",
283
289
  "--slotted-control-border-color",
284
290
  "--slotted-control-border-width",
285
291
  "--slotted-control-font-family",
@@ -302,7 +308,8 @@
302
308
  "--slotted-disabled-background",
303
309
  "--slotted-disabled-border",
304
310
  "--slotted-disabled-foreground",
305
- "--slotted-duration-loop",
311
+ "--slotted-duration-loop-slow",
312
+ "--slotted-easing-emphasized",
306
313
  "--slotted-focus-ring-color",
307
314
  "--slotted-focus-ring-color-invalid",
308
315
  "--slotted-focus-ring-offset",
@@ -409,7 +416,7 @@
409
416
  {
410
417
  "id": "loading",
411
418
  "title": "A setting that has not landed yet",
412
- "note": "The thumb draws an arc where its mark was, the pill keeps its size so the row does not move, and a second press is refused before the DOM can show a state the server does not have.",
419
+ "note": "The thumb becomes the morphing shape of Loader, its mark gone, and the pill keeps its size so the row does not move. A second press is refused before the DOM can show a state the server does not have. loadingDelay holds the shape back while a write answers fast.",
413
420
  "language": "tsx",
414
421
  "source": "import { useState } from 'react';\nimport { Switch } from '@slotted/react/switch';\n\n/** Stands in for the request that stores the setting. */\nconst saveSetting = (on: boolean) =>\n new Promise<boolean>((resolve) => setTimeout(() => resolve(on), 2500));\n\nexport default function SwitchLoading() {\n const [syncing, setSyncing] = useState(false);\n const [saving, setSaving] = useState(false);\n\n const change = async (next: boolean) => {\n setSaving(true);\n setSyncing(await saveSetting(next));\n setSaving(false);\n };\n\n return (\n <Switch\n checked={syncing}\n labelPlacement=\"start\"\n loading={saving}\n messages={{ loading: 'Saving order sync' }}\n onCheckedChange={change}\n description=\"Imports new Shopify orders every five minutes.\"\n >\n Order sync\n </Switch>\n );\n}\n",
415
422
  "verdict": "example"
@@ -53,7 +53,8 @@ export default function SwitchBasic() {
53
53
  | `indicator` | `'mark' \| 'none'` | mark | Switch, SwitchDefaultsProvider | What the thumb carries. mark draws a check when the switch is on and nothing when it is off. none draws nothing, and is correct only where text beside the switch states the value. |
54
54
  | `labelPlacement` | `'end' \| 'start'` | end | Switch, SwitchDefaultsProvider | Which side of the label the pill sits on. start is the settings row: the label takes the free width and the pill sits at the end of the row. |
55
55
  | `variant` | `'plain' \| 'control'` | plain | Switch, SwitchDefaultsProvider | control stands the switch in a box one control tall, so in a row of fields aligned to their end the pill sits on the line of their controls. --slotted-switch-control-block-size names another step than the switch size |
56
- | `loading` | `boolean` | false | Switch | The value is not settled yet. The switch refuses every press, keeps its size, sets aria-busy, and announces the pending label politely once the wait passes two seconds. |
56
+ | `loading` | `boolean` | false | Switch | The value is not settled yet. The switch refuses every press, keeps its size, sets aria-busy, draws the morphing shape of Loader in the place of the thumb, and announces the pending label politely once the wait passes two seconds. |
57
+ | `loadingDelay` | `number` | 0 | Switch, SwitchDefaultsProvider | Milliseconds before the shape appears, so a write that answers sooner draws nothing. The switch refuses a press and sets aria-busy from the start of the wait, and keeps its mark and its cursor until the delay has passed. |
57
58
  | `messages` | `Partial<SwitchMessages>` | — | Switch | Words that replace the active language’s, key by key: loading is what a screen reader hears while the switch is pending. The words reach a live region, not the control’s name, so the name never changes with the state. |
58
59
  | `disabled` | `boolean` | from the field, or false | Switch | Unset rather than false, so the switch follows the field around it. A stated value wins. It is the native attribute, which takes the switch out of the tab order and out of form submission. |
59
60
  | `readOnly` | `boolean` | from the field, or false | Switch | Unset rather than false. The native readonly attribute does nothing on a checkbox, so the switch sets aria-readonly and refuses every press. It stays focusable, announced and submitted. |
@@ -63,7 +64,7 @@ export default function SwitchBasic() {
63
64
  | `render` | `(props: SwitchRootProps) => ReactNode` | — | Switch | Replaces the root element and hands it every attribute. The props are typed against HTMLAttributes<HTMLElement>, so they can be spread onto a list item or a table cell. The control, the pill and the label are fixed: the control holds the state and the identifier, and the other parts are the switch’s own drawing. |
64
65
  | `ref` | `Ref<HTMLInputElement>` | — | Switch | Reaches the control. focus() and click() are the element’s own, and a click() reaches onCheckedChange with the reason "programmatic". |
65
66
  | `className / style` | `string / CSSProperties` | — | Switch | Reach the root, the element a consumer styles. Every other native prop reaches the control. |
66
- | `SwitchDefaultsProvider` | `{ size, indicator, labelPlacement }` | — | a subtree | Sets size, indicator and labelPlacement once for every switch under it. A field outranks the provider’s size, so a switch inside a field takes the field’s step. |
67
+ | `SwitchDefaultsProvider` | `{ size, indicator, labelPlacement, loadingDelay, variant }` | — | a subtree | Sets size, indicator and labelPlacement once for every switch under it. A field outranks the provider’s size, so a switch inside a field takes the field’s step. |
67
68
  | `useField()` | `() => FieldContextValue \| undefined` | — | inside a Field | What the switch reads from a field around it: the identifier, the description, and the disabled, read-only, invalid and required states. The switch needs no wiring inside a field. |
68
69
 
69
70
  ## Events
@@ -94,7 +95,7 @@ export default function SwitchBasic() {
94
95
 
95
96
  ## Tokens
96
97
 
97
- `--slotted-border-width-thin`, `--slotted-control-border-color`, `--slotted-control-border-width`, `--slotted-control-font-family`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-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-invalid-edge-width`, `--slotted-control-label-gap-lg`, `--slotted-control-label-gap-md`, `--slotted-control-label-gap-sm`, `--slotted-control-shadow`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-background`, `--slotted-disabled-border`, `--slotted-disabled-foreground`, `--slotted-duration-loop`, `--slotted-focus-ring-color`, `--slotted-focus-ring-color-invalid`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-size-xs`, `--slotted-line-height-md`, `--slotted-line-height-xs`, `--slotted-radius-full`, `--slotted-space-1`, `--slotted-space-3`, `--slotted-surface`, `--slotted-switch-active-background`, `--slotted-switch-border-color`, `--slotted-switch-checked-active-background`, `--slotted-switch-checked-background`, `--slotted-switch-checked-border-color`, `--slotted-switch-checked-hover-background`, `--slotted-switch-checked-thumb-border-color`, `--slotted-switch-color`, `--slotted-switch-control-block-size`, `--slotted-switch-description-color`, `--slotted-switch-description-font-size`, `--slotted-switch-disabled-background`, `--slotted-switch-disabled-border-color`, `--slotted-switch-disabled-color`, `--slotted-switch-disabled-mark-color`, `--slotted-switch-disabled-thumb-background`, `--slotted-switch-hover-background`, `--slotted-switch-invalid-border-color`, `--slotted-switch-invalid-edge-width`, `--slotted-switch-invalid-focus-ring-color`, `--slotted-switch-line-height`, `--slotted-switch-mark-color`, `--slotted-switch-pending-color`, `--slotted-switch-radius`, `--slotted-switch-readonly-background`, `--slotted-switch-readonly-border-color`, `--slotted-switch-thumb-background`, `--slotted-switch-thumb-border-color`, `--slotted-switch-thumb-shadow`, `--slotted-switch-track-background`, `--slotted-switch-track-inline-size`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-on-solid`, `--slotted-tone-accent-solid`, `--slotted-tone-accent-solid-active`, `--slotted-tone-accent-solid-hover`, `--slotted-tone-danger-border`, `--slotted-tone-secondary-solid`, `--slotted-tone-secondary-solid-active`, `--slotted-tone-secondary-solid-hover`
98
+ `--slotted-control-border-color`, `--slotted-control-border-width`, `--slotted-control-font-family`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-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-invalid-edge-width`, `--slotted-control-label-gap-lg`, `--slotted-control-label-gap-md`, `--slotted-control-label-gap-sm`, `--slotted-control-shadow`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-background`, `--slotted-disabled-border`, `--slotted-disabled-foreground`, `--slotted-duration-loop-slow`, `--slotted-easing-emphasized`, `--slotted-focus-ring-color`, `--slotted-focus-ring-color-invalid`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-size-xs`, `--slotted-line-height-md`, `--slotted-line-height-xs`, `--slotted-radius-full`, `--slotted-space-1`, `--slotted-space-3`, `--slotted-surface`, `--slotted-switch-active-background`, `--slotted-switch-border-color`, `--slotted-switch-checked-active-background`, `--slotted-switch-checked-background`, `--slotted-switch-checked-border-color`, `--slotted-switch-checked-hover-background`, `--slotted-switch-checked-thumb-border-color`, `--slotted-switch-color`, `--slotted-switch-control-block-size`, `--slotted-switch-description-color`, `--slotted-switch-description-font-size`, `--slotted-switch-disabled-background`, `--slotted-switch-disabled-border-color`, `--slotted-switch-disabled-color`, `--slotted-switch-disabled-mark-color`, `--slotted-switch-disabled-thumb-background`, `--slotted-switch-hover-background`, `--slotted-switch-invalid-border-color`, `--slotted-switch-invalid-edge-width`, `--slotted-switch-invalid-focus-ring-color`, `--slotted-switch-line-height`, `--slotted-switch-mark-color`, `--slotted-switch-pending-color`, `--slotted-switch-radius`, `--slotted-switch-readonly-background`, `--slotted-switch-readonly-border-color`, `--slotted-switch-thumb-background`, `--slotted-switch-thumb-border-color`, `--slotted-switch-thumb-shadow`, `--slotted-switch-track-background`, `--slotted-switch-track-inline-size`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-on-solid`, `--slotted-tone-accent-solid`, `--slotted-tone-accent-solid-active`, `--slotted-tone-accent-solid-hover`, `--slotted-tone-danger-border`, `--slotted-tone-secondary-solid`, `--slotted-tone-secondary-solid-active`, `--slotted-tone-secondary-solid-hover`
98
99
 
99
100
  ## Examples
100
101
 
@@ -238,7 +239,7 @@ export default function SwitchStates() {
238
239
 
239
240
  ### A setting that has not landed yet
240
241
 
241
- The thumb draws an arc where its mark was, the pill keeps its size so the row does not move, and a second press is refused before the DOM can show a state the server does not have.
242
+ The thumb becomes the morphing shape of Loader, its mark gone, and the pill keeps its size so the row does not move. A second press is refused before the DOM can show a state the server does not have. loadingDelay holds the shape back while a write answers fast.
242
243
 
243
244
  Example
244
245
 
@@ -43,6 +43,7 @@
43
43
  "variant": "soft",
44
44
  "size": "md",
45
45
  "shape": "pill",
46
+ "inline": false,
46
47
  "orientation": "horizontal",
47
48
  "disabled": false
48
49
  },
@@ -209,6 +210,13 @@
209
210
  "appliesTo": "Tag",
210
211
  "description": "A rounded chip, or a rectangle with the small corner radius"
211
212
  },
213
+ {
214
+ "name": "inline",
215
+ "type": "boolean",
216
+ "defaultValue": "false",
217
+ "appliesTo": "Tag",
218
+ "description": "No taller than the line of text around it, for a title or a sentence: the line keeps its height and what is under it its distance. The tag takes its own size where the line has the room and one line of the text where it does not; its words are at most nine tenths of the text around it."
219
+ },
212
220
  {
213
221
  "name": "start",
214
222
  "type": "ReactNode",
package/dist/docs/tag.md CHANGED
@@ -31,6 +31,7 @@ export default function TagBasic() {
31
31
  | `variant` | `'solid' \| 'soft' \| 'outline' \| 'dashed'` | soft | Tag | How that color is painted: filled, tinted, an edge alone, or that edge in dashes. A selected tag fills whatever its variant |
32
32
  | `size` | `'sm' \| 'md' \| 'lg'` | md | Tag | Type, glyph and gap come from the control scale, so a tag shrinks with density beside the controls it sits with |
33
33
  | `shape` | `'pill' \| 'square'` | pill | Tag | A rounded chip, or a rectangle with the small corner radius |
34
+ | `inline` | `boolean` | false | Tag | No taller than the line of text around it, for a title or a sentence: the line keeps its height and what is under it its distance. The tag takes its own size where the line has the room and one line of the text where it does not; its words are at most nine tenths of the text around it. |
34
35
  | `start` | `ReactNode` | — | Tag | A glyph or an avatar before the words, wrapped in the start part, which sizes and centers it |
35
36
  | `end` | `ReactNode` | — | Tag | A glyph after the words, wrapped in the end part |
36
37
  | `disabled` | `boolean` | false | Tag | Refuses every interaction the tag offers, including its removal |
@@ -295,7 +295,7 @@
295
295
  "type": "boolean",
296
296
  "defaultValue": "false",
297
297
  "appliesTo": "TimePicker",
298
- "description": "Draws a clear on the control."
298
+ "description": "Draws a clear on the control and in the panel, unless required."
299
299
  },
300
300
  {
301
301
  "name": "messages",
@@ -55,7 +55,7 @@ Excerpt — not a complete module
55
55
  | `disabled` | `boolean` | — | TimePicker | Answers no key and no press. |
56
56
  | `readOnly` | `boolean` | — | TimePicker | Readable and not changeable. |
57
57
  | `required` | `boolean` | — | TimePicker | The form needs a value. |
58
- | `clearable` | `boolean` | false | TimePicker | Draws a clear on the control. |
58
+ | `clearable` | `boolean` | false | TimePicker | Draws a clear on the control and in the panel, unless required. |
59
59
  | `messages` | `Partial<TimePickerMessages>` | — | TimePicker | Words laid over the language in force: the trigger’s two names, and what is said of a refused time. |
60
60
  | `TimePickerDefaultsProvider` | `component` | — | application | Sets confirm, granularity, hourCycle, placement, size, step, timeZone and variant once. |
61
61
  | `renderSlot` | `(state: ClockSlotState) => ReactNode` | — | TimePicker | What one whole time of options draws. |