@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
@@ -43,10 +43,10 @@ Excerpt — not a complete module
43
43
  | `currencyDisplay` | `'symbol' \| 'narrowSymbol' \| 'code' \| 'name'` | symbol | CurrencyField, CurrencyFieldDefaultsProvider | How the currency is written beside the amount, and none writes nothing at all: the amount becomes a plain decimal with the currency’s own fraction digits, so the symbol can live in a start adornment instead of inside the value. It is the one arrangement Intl has no option for |
44
44
  | `value` | `number \| null` | — | CurrencyField | Present means the consumer owns the amount, for the life of the component. It is in major units — reais, not centavos — and null is empty: a required total left blank and a total of nought are different facts |
45
45
  | `defaultValue` | `number \| null` | — | CurrencyField | What an uncontrolled control starts from, read once. A native form reset returns to it |
46
- | `entry` | `'cents' \| 'natural'` | cents | CurrencyField, CurrencyFieldDefaultsProvider | How the reader types. cents is the cash register: digits enter at the minor unit and shift left, the separator is never typed and the caret has one legal position. natural is the spreadsheet, and the model number-field uses |
46
+ | `entry` | `'cents' \| 'natural'` | cents | CurrencyField, CurrencyFieldDefaultsProvider | How the reader types. cents is the cash register: digits enter at the minor unit and shift left, the separator is never typed and the caret keeps the count of digits on its right. natural is the spreadsheet, and the model number-field uses |
47
47
  | `formatOn` | `'change' \| 'commit'` | change | CurrencyField, CurrencyFieldDefaultsProvider | When the text takes the locale’s shape under entry="natural". change regroups on every keystroke; commit holds the reader’s own text until blur, Enter or a step. Cents-first entry generates the text after every edit, so it decides nothing there |
48
48
  | `appearance` | `'control' \| 'display'` | control | CurrencyField | A field among fields, or the headline amount of an entry sheet: the 4xl step, the mark apart and muted, a rule under the amount instead of a box. size and variant do not apply to display |
49
- | `align` | `'end' \| 'start'` | end | CurrencyField, CurrencyFieldDefaultsProvider | Which edge the amount is set against. end by default: a column of amounts is compared on its last digit, and the cents-first caret already lives there |
49
+ | `align` | `'end' \| 'start'` | end | CurrencyField, CurrencyFieldDefaultsProvider | Which edge the amount is set against. end by default: a column of amounts is compared on its last digit, which is where a cents-first amount is typed |
50
50
  | `locale` | `string` | the language in force | CurrencyField | BCP 47. It decides the separators, where the symbol goes and the numbering system — never the symbol itself, which is the currency’s |
51
51
  | `format` | `Intl.NumberFormatOptions` | — | CurrencyField | Any other Intl option: currencySign for accounting parentheses, signDisplay, useGrouping, roundingMode. Every key here wins over the family’s own; style and currency are the family’s |
52
52
  | `fractionDigits` | `number` | the currency’s minor units | CurrencyField | Overrides how many fraction digits the amount is written with, for a unit price quoted finer than the currency’s cent |
@@ -106,7 +106,7 @@ Excerpt — not a complete module
106
106
  - The pattern is the WAI-ARIA APG’s Spinbutton (w3.org/WAI/ARIA/apg/patterns/spinbutton/), taken whole: role="spinbutton" on the focusable element with aria-valuenow, aria-valuemin, aria-valuemax and aria-valuetext, Up and Down stepping, Home and End reaching the bounds, and Page Up and Page Down as the larger step the pattern lists as optional.
107
107
  - aria-valuenow is the amount in major units and aria-valuetext is the string the reader sees, because aria-valuenow alone announces 1480 for a control showing R$ 1.480,00. When the control is empty neither property is set: no amount is not an amount of nought.
108
108
  - The frame carries no role. WAI-ARIA requires the children of a spinbutton to be non-interactive and presentational, so the two steppers are the control’s siblings inside a box that announces nothing.
109
- - Under cents-first entry the caret is put back after the last digit on every edit, and it decides nothing while it is anywhere else: a digit typed against the front of R$ 0,00 is two cents, not twenty reais, because the digits that changed are read from the difference between the text before the edit and the text after it. That is legal here and forbidden in number-field for one reason: the text is generated rather than typed, so there is no reader’s caret to preserve and exactly one position where the next keystroke means something. A separator keystroke is refused outright rather than silently swallowed, and the sign is a key of its own so it never enters the digit run.
109
+ - Under cents-first entry the caret keeps the count of digits on its right through each edit, which the generated separators do not change: a digit is typed, erased or exchanged where the caret is, and at the end the field is the cash register. Zeros on the right of the caret stay until blur, so the first digit of R$ 10.000,00 can be exchanged. Backspace on a separator erases the digit on its left and Delete the digit on its right; a digit past the fifteenth is refused. A focus by keyboard, and a press on an amount that is nought, put the caret at the end. A separator keystroke is refused outright rather than silently swallowed, and the sign is a key of its own so it never enters the digit run.
110
110
  - inputMode is numeric under cents-first entry — the separator is never typed and the sign is a single key, so the numeric keypad is complete for the task — and derived from the format under natural entry. It is never derived from the user agent, which would be a hydration mismatch.
111
111
  - aria-required, never the native required. The native attribute engages browser constraint validation and changes submit behavior, which the library must not impose as a side effect of describing a field. disabled and readonly are native, because that is what those two words mean.
112
112
  - transaction-amount and transaction-currency are the standard autofill field names for a payment amount, and naming a field’s purpose is what WCAG 2.2 SC 1.3.5 asks for. The family leaves autoComplete off by default and documents the token, because most amounts in a back office are not payment amounts.
@@ -583,6 +583,20 @@
583
583
  "appliesTo": "DataGrid",
584
584
  "description": "Rows that are neither selectable nor editable, drawn with data-disabled."
585
585
  },
586
+ {
587
+ "name": "isRowSelectable",
588
+ "type": "(row: Row) => boolean",
589
+ "defaultValue": "—",
590
+ "appliesTo": "DataGrid",
591
+ "description": "Whether a row takes part in the selection. A row it refuses leaves the press, the Shift range, Ctrl+A and the header checkbox, and its checkbox is disabled. It keeps its ink, hover, activation and editing, which a row in disabledKeys loses."
592
+ },
593
+ {
594
+ "name": "isRowMuted",
595
+ "type": "(row: Row) => boolean",
596
+ "defaultValue": "—",
597
+ "appliesTo": "DataGrid",
598
+ "description": "Draws a row that is no longer active, with data-muted: its cells, its pop-in and the links in them take --slotted-data-grid-color-muted. Hover, selection, activation and editing stay, and the selected ground stays under the muted ink."
599
+ },
586
600
  {
587
601
  "name": "query",
588
602
  "type": "GridQuery",
@@ -1211,7 +1225,7 @@
1211
1225
  }
1212
1226
  ],
1213
1227
  "accessibility": [
1214
- "`columns`, `disabledKeys` and a function `rowKey` are compared by identity: a new array or function on a render of the parent re-renders every mounted row, so declare them at module scope or memoize them. The renderers — `cellRenderers`, `editorRenderers`, `renderCell`, `renderEditor`, `renderHeader`, `renderGroup`, `renderDetail` — `messages` and `tree` are read when a row renders and may be written inline. A row renders again for its own row object, selection, cursor, edit or expansion, and for a change of `columns` or the language; a renderer whose output reads state outside its row is refreshed by memoizing `columns` on that state.",
1228
+ "`columns`, `disabledKeys` and a function `rowKey` are compared by identity: a new array or function on a render of the parent re-renders every mounted row, so declare them at module scope or memoize them. The renderers — `cellRenderers`, `editorRenderers`, `renderCell`, `renderEditor`, `renderHeader`, `renderGroup`, `renderDetail` — `messages` and `tree` are read when a row renders and may be written inline, and so may `isRowSelectable` and `isRowMuted`: a row renders again only when its own answer changes. A row renders again for its own row object, selection, cursor, edit or expansion, and for a change of `columns` or the language; a renderer whose output reads state outside its row is refreshed by memoizing `columns` on that state.",
1215
1229
  "The root is role=\"grid\": a composite widget with one tab stop. The current cell — or the single simple widget inside it, a link, a button or a checkbox — is the only element with tabindex=\"0\"; Tab enters there and leaves the grid to the next control of the page, which is what the APG requires of a grid and what a table cannot give.",
1216
1230
  "Every row carries aria-rowindex against aria-rowcount on the root, and every cell aria-colindex against aria-colcount, always: the grid windows its rows and columns, so the DOM is never the whole set, and the counts are what let a screen reader say “row 4,812 of 9,000”.",
1217
1231
  "aria-sort is written on the first sort key’s header only — the practice says more than one is ambiguous — and the whole order is announced through the live announcer: “Sorted by Carrier ascending, Weight descending”. A resize announces the column and its width; a filter announces its sentence through describeFilter; a copy announces the count.",
@@ -200,7 +200,7 @@ See [data-grid.props.md](./data-grid.props.md).
200
200
 
201
201
  ## Rules
202
202
 
203
- - `columns`, `disabledKeys` and a function `rowKey` are compared by identity: a new array or function on a render of the parent re-renders every mounted row, so declare them at module scope or memoize them. The renderers — `cellRenderers`, `editorRenderers`, `renderCell`, `renderEditor`, `renderHeader`, `renderGroup`, `renderDetail` — `messages` and `tree` are read when a row renders and may be written inline. A row renders again for its own row object, selection, cursor, edit or expansion, and for a change of `columns` or the language; a renderer whose output reads state outside its row is refreshed by memoizing `columns` on that state.
203
+ - `columns`, `disabledKeys` and a function `rowKey` are compared by identity: a new array or function on a render of the parent re-renders every mounted row, so declare them at module scope or memoize them. The renderers — `cellRenderers`, `editorRenderers`, `renderCell`, `renderEditor`, `renderHeader`, `renderGroup`, `renderDetail` — `messages` and `tree` are read when a row renders and may be written inline, and so may `isRowSelectable` and `isRowMuted`: a row renders again only when its own answer changes. A row renders again for its own row object, selection, cursor, edit or expansion, and for a change of `columns` or the language; a renderer whose output reads state outside its row is refreshed by memoizing `columns` on that state.
204
204
  - The root is role="grid": a composite widget with one tab stop. The current cell — or the single simple widget inside it, a link, a button or a checkbox — is the only element with tabindex="0"; Tab enters there and leaves the grid to the next control of the page, which is what the APG requires of a grid and what a table cannot give.
205
205
  - Every row carries aria-rowindex against aria-rowcount on the root, and every cell aria-colindex against aria-colcount, always: the grid windows its rows and columns, so the DOM is never the whole set, and the counts are what let a screen reader say “row 4,812 of 9,000”.
206
206
  - aria-sort is written on the first sort key’s header only — the practice says more than one is ambiguous — and the whole order is announced through the live announcer: “Sorted by Carrier ascending, Weight descending”. A resize announces the column and its width; a filter announces its sentence through describeFilter; a copy announces the count.
@@ -21,6 +21,8 @@
21
21
  | `loading` | `boolean \| 'initial' \| 'refresh'` | false | DataGrid | Skeleton rows with no answer to keep; aria-busy over an answer already drawn — rows, which dim, or the empty state, which stays. true is initial until the grid has drawn an answer, and refresh after; rows emptied while a load starts wait in the skeleton. |
22
22
  | `error` | `string \| null` | — | DataGrid | The message of a failed load; draws the error state with Try again when onRetry is set. |
23
23
  | `disabledKeys` | `string[]` | — | DataGrid | Rows that are neither selectable nor editable, drawn with data-disabled. |
24
+ | `isRowSelectable` | `(row: Row) => boolean` | — | DataGrid | Whether a row takes part in the selection. A row it refuses leaves the press, the Shift range, Ctrl+A and the header checkbox, and its checkbox is disabled. It keeps its ink, hover, activation and editing, which a row in disabledKeys loses. |
25
+ | `isRowMuted` | `(row: Row) => boolean` | — | DataGrid | Draws a row that is no longer active, with data-muted: its cells, its pop-in and the links in them take --slotted-data-grid-color-muted. Hover, selection, activation and editing stay, and the selected ground stays under the muted ink. |
24
26
  | `query` | `GridQuery` | — | DataGrid | sort, filter, search, page and group in one object. Present puts the query in controlled mode. |
25
27
  | `defaultQuery` | `GridQuery` | emptyQuery() | DataGrid | The query an uncontrolled grid starts from, read once. |
26
28
  | `onQueryChange` | `(query, request) => void` | — | DataGrid | Asked before the query moves; the request carries change: sort \| filter \| search \| page \| group, the reason, and cancel(). |
@@ -275,6 +275,13 @@
275
275
  "appliesTo": "DatePicker",
276
276
  "description": "Which zone answers \"what is now\"."
277
277
  },
278
+ {
279
+ "name": "today",
280
+ "type": "PlainDate",
281
+ "defaultValue": "the clock’s",
282
+ "appliesTo": "DatePicker",
283
+ "description": "The day it is: the mark of today, Today, and the month an empty panel opens on."
284
+ },
278
285
  {
279
286
  "name": "disabled",
280
287
  "type": "boolean",
@@ -301,7 +308,7 @@
301
308
  "type": "boolean",
302
309
  "defaultValue": "false",
303
310
  "appliesTo": "DatePicker",
304
- "description": "Draws a clear on the control."
311
+ "description": "Draws a clear on the control and in the panel, unless required."
305
312
  },
306
313
  {
307
314
  "name": "messages",
@@ -317,7 +324,7 @@
317
324
  "type": "component",
318
325
  "defaultValue": "—",
319
326
  "appliesTo": "application",
320
- "description": "Sets calendar, confirm, placement, size, timeZone and variant once."
327
+ "description": "Sets calendar, confirm, placement, size, timeZone, today and variant once."
321
328
  },
322
329
  {
323
330
  "name": "footer",
@@ -65,12 +65,13 @@ export default function DatePickerBasic() {
65
65
  | `variant` | `'outline' \| 'subtle' \| 'plain'` | outline | DatePicker | How the control draws its frame. |
66
66
  | `locale` | `string` | the language in force | DatePicker | BCP 47. Writes the field, the panel and the trigger’s name. |
67
67
  | `timeZone` | `string` | the runtime’s | DatePicker | Which zone answers "what is now". |
68
+ | `today` | `PlainDate` | the clock’s | DatePicker | The day it is: the mark of today, Today, and the month an empty panel opens on. |
68
69
  | `disabled` | `boolean` | — | DatePicker | Answers no key and no press. |
69
70
  | `readOnly` | `boolean` | — | DatePicker | Readable and not changeable. |
70
71
  | `required` | `boolean` | — | DatePicker | The form needs a value. |
71
- | `clearable` | `boolean` | false | DatePicker | Draws a clear on the control. |
72
+ | `clearable` | `boolean` | false | DatePicker | Draws a clear on the control and in the panel, unless required. |
72
73
  | `messages` | `Partial<DatePickerMessages>` | — | DatePicker | Words laid over the language in force: the trigger’s two names, and what is said of a refused date. |
73
- | `DatePickerDefaultsProvider` | `component` | — | application | Sets calendar, confirm, placement, size, timeZone and variant once. |
74
+ | `DatePickerDefaultsProvider` | `component` | — | application | Sets calendar, confirm, placement, size, timeZone, today and variant once. |
74
75
  | `footer` | `ReactNode` | the page keys | DatePicker | What the footer says when nothing is wrong. |
75
76
  | `render` | `(props: DatePickerRootProps) => ReactNode` | — | DatePicker | Substitutes the element the root renders. |
76
77
  | `ref` | `Ref<DatePickerHandle>` | — | DatePicker | focus(), open() and close(). |
@@ -345,6 +345,13 @@
345
345
  "appliesTo": "DateRangePicker",
346
346
  "description": "Which zone answers \"what is now\"."
347
347
  },
348
+ {
349
+ "name": "today",
350
+ "type": "PlainDate",
351
+ "defaultValue": "the clock’s",
352
+ "appliesTo": "DateRangePicker",
353
+ "description": "The day it is: the mark of today, and the month an empty panel opens on."
354
+ },
348
355
  {
349
356
  "name": "disabled",
350
357
  "type": "boolean",
@@ -371,7 +378,7 @@
371
378
  "type": "boolean",
372
379
  "defaultValue": "false",
373
380
  "appliesTo": "DateRangePicker",
374
- "description": "Draws a clear on the control."
381
+ "description": "Draws a clear on the control and in the panel, unless required."
375
382
  },
376
383
  {
377
384
  "name": "messages",
@@ -387,7 +394,7 @@
387
394
  "type": "component",
388
395
  "defaultValue": "—",
389
396
  "appliesTo": "application",
390
- "description": "Sets calendar, confirm, count, months, placement, size, timeZone and variant once."
397
+ "description": "Sets calendar, confirm, count, months, placement, size, timeZone, today and variant once."
391
398
  },
392
399
  {
393
400
  "name": "footer",
@@ -73,12 +73,13 @@ export default function DateRangePickerBasic() {
73
73
  | `variant` | `'outline' \| 'subtle' \| 'plain'` | outline | DateRangePicker | How the control draws its frame. |
74
74
  | `locale` | `string` | the language in force | DateRangePicker | BCP 47. Writes the field, the panel and the trigger’s name. |
75
75
  | `timeZone` | `string` | the runtime’s | DateRangePicker | Which zone answers "what is now". |
76
+ | `today` | `PlainDate` | the clock’s | DateRangePicker | The day it is: the mark of today, and the month an empty panel opens on. |
76
77
  | `disabled` | `boolean` | — | DateRangePicker | Answers no key and no press. |
77
78
  | `readOnly` | `boolean` | — | DateRangePicker | Readable and not changeable. |
78
79
  | `required` | `boolean` | — | DateRangePicker | The form needs a value. |
79
- | `clearable` | `boolean` | false | DateRangePicker | Draws a clear on the control. |
80
+ | `clearable` | `boolean` | false | DateRangePicker | Draws a clear on the control and in the panel, unless required. |
80
81
  | `messages` | `Partial<DateRangePickerMessages>` | — | DateRangePicker | Words laid over the language in force: the trigger’s names, the two ends, what is said of a refused run, and the phrases that count it. |
81
- | `DateRangePickerDefaultsProvider` | `component` | — | application | Sets calendar, confirm, count, months, placement, size, timeZone and variant once. |
82
+ | `DateRangePickerDefaultsProvider` | `component` | — | application | Sets calendar, confirm, count, months, placement, size, timeZone, today and variant once. |
82
83
  | `footer` | `ReactNode` | the limits | DateRangePicker | What the footer says when nothing is wrong. |
83
84
  | `render` | `(props: DateRangePickerRootProps) => ReactNode` | — | DateRangePicker | Substitutes the element the root renders. |
84
85
  | `ref` | `Ref<DateRangePickerHandle>` | — | DateRangePicker | focus(), open() and close(). |
@@ -315,6 +315,13 @@
315
315
  "appliesTo": "DateTimePicker",
316
316
  "description": "Which zone answers \"what is now\"."
317
317
  },
318
+ {
319
+ "name": "today",
320
+ "type": "PlainDate",
321
+ "defaultValue": "the clock’s",
322
+ "appliesTo": "DateTimePicker",
323
+ "description": "The day it is: the mark of today, the date of Now, and the empty panel’s month."
324
+ },
318
325
  {
319
326
  "name": "disabled",
320
327
  "type": "boolean",
@@ -341,7 +348,7 @@
341
348
  "type": "boolean",
342
349
  "defaultValue": "false",
343
350
  "appliesTo": "DateTimePicker",
344
- "description": "Draws a clear on the control."
351
+ "description": "Draws a clear on the control and in the panel, unless required."
345
352
  },
346
353
  {
347
354
  "name": "messages",
@@ -357,7 +364,7 @@
357
364
  "type": "component",
358
365
  "defaultValue": "—",
359
366
  "appliesTo": "application",
360
- "description": "Sets calendar, confirm, granularity, hourCycle, placement, size, step, timeZone and variant once."
367
+ "description": "Sets calendar, confirm, granularity, hourCycle, placement, size, step, timeZone, today and variant once."
361
368
  },
362
369
  {
363
370
  "name": "footer",
@@ -74,12 +74,13 @@ export default function DateTimePickerBasic() {
74
74
  | `variant` | `'outline' \| 'subtle' \| 'plain'` | outline | DateTimePicker | How the control draws its frame. |
75
75
  | `locale` | `string` | the language in force | DateTimePicker | BCP 47. Writes the field, the panel and the trigger’s name. |
76
76
  | `timeZone` | `string` | the runtime’s | DateTimePicker | Which zone answers "what is now". |
77
+ | `today` | `PlainDate` | the clock’s | DateTimePicker | The day it is: the mark of today, the date of Now, and the empty panel’s month. |
77
78
  | `disabled` | `boolean` | — | DateTimePicker | Answers no key and no press. |
78
79
  | `readOnly` | `boolean` | — | DateTimePicker | Readable and not changeable. |
79
80
  | `required` | `boolean` | — | DateTimePicker | The form needs a value. |
80
- | `clearable` | `boolean` | false | DateTimePicker | Draws a clear on the control. |
81
+ | `clearable` | `boolean` | false | DateTimePicker | Draws a clear on the control and in the panel, unless required. |
81
82
  | `messages` | `Partial<DatetimePickerMessages>` | — | DateTimePicker | Words laid over the language in force: the trigger’s names, and what is said of a refused moment. |
82
- | `DateTimePickerDefaultsProvider` | `component` | — | application | Sets calendar, confirm, granularity, hourCycle, placement, size, step, timeZone and variant once. |
83
+ | `DateTimePickerDefaultsProvider` | `component` | — | application | Sets calendar, confirm, granularity, hourCycle, placement, size, step, timeZone, today and variant once. |
83
84
  | `footer` | `ReactNode` | the step | DateTimePicker | What the footer says when nothing is wrong. |
84
85
  | `renderSlot` | `(state: ClockSlotState) => ReactNode` | the time | DateTimePicker | What one whole time of options draws. |
85
86
  | `render` | `(props: DateTimePickerRootProps) => ReactNode` | — | DateTimePicker | Substitutes the element the root renders. |
@@ -413,6 +413,13 @@
413
413
  "appliesTo": "DateTimeRangePicker",
414
414
  "description": "Which zone answers \"what is now\"."
415
415
  },
416
+ {
417
+ "name": "today",
418
+ "type": "PlainDate",
419
+ "defaultValue": "the clock’s",
420
+ "appliesTo": "DateTimeRangePicker",
421
+ "description": "The day it is: the mark of today, and the month an empty panel opens on."
422
+ },
416
423
  {
417
424
  "name": "disabled",
418
425
  "type": "boolean",
@@ -439,7 +446,7 @@
439
446
  "type": "boolean",
440
447
  "defaultValue": "false",
441
448
  "appliesTo": "DateTimeRangePicker",
442
- "description": "Draws a clear on the control."
449
+ "description": "Draws a clear on the control and in the panel, unless required."
443
450
  },
444
451
  {
445
452
  "name": "messages",
@@ -455,7 +462,7 @@
455
462
  "type": "component",
456
463
  "defaultValue": "—",
457
464
  "appliesTo": "application",
458
- "description": "Sets calendar, confirm, firstDayOfWeek, granularity, hourCycle, lengthLabel, months, placement, size, step, timeZone and variant once."
465
+ "description": "Sets calendar, confirm, firstDayOfWeek, granularity, hourCycle, lengthLabel, months, placement, size, step, timeZone, today and variant once."
459
466
  },
460
467
  {
461
468
  "name": "footer",
@@ -71,12 +71,13 @@ Excerpt — not a complete module
71
71
  | `variant` | `'outline' \| 'subtle' \| 'plain'` | outline | DateTimeRangePicker | How the control draws its frame. |
72
72
  | `locale` | `string` | the language in force | DateTimeRangePicker | BCP 47. Writes the field, the panel and the trigger’s name. |
73
73
  | `timeZone` | `string` | the runtime’s | DateTimeRangePicker | Which zone answers "what is now". |
74
+ | `today` | `PlainDate` | the clock’s | DateTimeRangePicker | The day it is: the mark of today, and the month an empty panel opens on. |
74
75
  | `disabled` | `boolean` | — | DateTimeRangePicker | Answers no key and no press. |
75
76
  | `readOnly` | `boolean` | — | DateTimeRangePicker | Readable and not changeable. |
76
77
  | `required` | `boolean` | — | DateTimeRangePicker | The form needs a value. |
77
- | `clearable` | `boolean` | false | DateTimeRangePicker | Draws a clear on the control. |
78
+ | `clearable` | `boolean` | false | DateTimeRangePicker | Draws a clear on the control and in the panel, unless required. |
78
79
  | `messages` | `Partial<DatetimeRangePickerMessages>` | — | DateTimeRangePicker | Words laid over the language in force: the trigger’s names, the two ends, the limits, and what is said of a refused run. |
79
- | `DateTimeRangePickerDefaultsProvider` | `component` | — | application | Sets calendar, confirm, firstDayOfWeek, granularity, hourCycle, lengthLabel, months, placement, size, step, timeZone and variant once. |
80
+ | `DateTimeRangePickerDefaultsProvider` | `component` | — | application | Sets calendar, confirm, firstDayOfWeek, granularity, hourCycle, lengthLabel, months, placement, size, step, timeZone, today and variant once. |
80
81
  | `footer` | `ReactNode` | the limits, the zone or the step | DateTimeRangePicker | What the footer says when nothing is wrong. |
81
82
  | `renderSlot` | `(state: DateTimeRangePickerSlotState) => ReactNode` | the time | DateTimeRangePicker | What one whole time of options draws. |
82
83
  | `render` | `(props: DateTimeRangePickerRootProps) => ReactNode` | — | DateTimeRangePicker | Substitutes the element the root renders. |
@@ -226,6 +226,20 @@
226
226
  "appliesTo": "FieldHelp",
227
227
  "description": "Whether the hint starts open, read once when FieldHelp owns the state."
228
228
  },
229
+ {
230
+ "name": "presentation",
231
+ "type": "'toggletip' | 'auto'",
232
+ "defaultValue": "toggletip",
233
+ "appliesTo": "FieldHelp",
234
+ "description": "auto draws the hint as a bottom sheet under (max-width: 480px) and (pointer: coarse): modal, headed by the field’s label beside a close control, dismissed by its grip, its scrim, Escape and the platform’s way back, with focus given back to the help button. Anywhere else it is the toggletip."
235
+ },
236
+ {
237
+ "name": "helpPresentation",
238
+ "type": "'toggletip' | 'auto'",
239
+ "defaultValue": "toggletip",
240
+ "appliesTo": "FieldDefaultsProvider",
241
+ "description": "The presentation of every FieldHelp inside, unless a FieldHelp states its own."
242
+ },
229
243
  {
230
244
  "name": "side",
231
245
  "type": "'top' | 'bottom' | 'inline-start' | 'inline-end' | 'left' | 'right'",
@@ -317,7 +331,7 @@
317
331
  {
318
332
  "name": "onOpenChange",
319
333
  "payload": "(open: boolean, request: TooltipChangeRequest)",
320
- "when": "On FieldHelp, before the hint opens or closes, once per transition. request.reason is pointer for a hover or a press; keyboard for focus, Enter or Space; or escape, blur or programmatic. request.cancel() refuses the change."
334
+ "when": "On FieldHelp, before the hint opens or closes, once per transition. request.reason is pointer for a hover or a press; keyboard for focus, Enter or Space; or escape, blur or programmatic. The sheet of presentation=\"auto\" also reports outsidePress for a press on its scrim, and dismiss for its close control and the platform’s way back. request.cancel() refuses the change."
321
335
  }
322
336
  ],
323
337
  "accessibility": [
@@ -71,6 +71,8 @@ export default function FieldBasic() {
71
71
  | `children` | `ReactNode` | — | FieldHelp | The help text. Written once, it reaches the tooltip and the hidden node that describes the button and the control. |
72
72
  | `open` | `boolean` | — | FieldHelp | Whether the hint is showing, controlled. Pair it with onOpenChange; leave both unset and FieldHelp owns the state. |
73
73
  | `defaultOpen` | `boolean` | false | FieldHelp | Whether the hint starts open, read once when FieldHelp owns the state. |
74
+ | `presentation` | `'toggletip' \| 'auto'` | toggletip | FieldHelp | auto draws the hint as a bottom sheet under (max-width: 480px) and (pointer: coarse): modal, headed by the field’s label beside a close control, dismissed by its grip, its scrim, Escape and the platform’s way back, with focus given back to the help button. Anywhere else it is the toggletip. |
75
+ | `helpPresentation` | `'toggletip' \| 'auto'` | toggletip | FieldDefaultsProvider | The presentation of every FieldHelp inside, unless a FieldHelp states its own. |
74
76
  | `side` | `'top' \| 'bottom' \| 'inline-start' \| 'inline-end' \| 'left' \| 'right'` | top | FieldHelp | Where the hint opens. It flips to the opposite side when there is no room. |
75
77
  | `aria-label` | `string` | messages.help | FieldHelp | The accessible name of the help button. Unset, it is the field’s help message; set, it applies to this button alone. |
76
78
  | `type` | `'button' \| 'submit' \| 'reset'` | button | FieldAction | button by default, so the action never submits the form it sits in. A link rendered through render receives the props without it. |
@@ -88,7 +90,7 @@ export default function FieldBasic() {
88
90
 
89
91
  | Name | Payload | When |
90
92
  | --- | --- | --- |
91
- | `onOpenChange` | `(open: boolean, request: TooltipChangeRequest)` | On FieldHelp, before the hint opens or closes, once per transition. request.reason is pointer for a hover or a press; keyboard for focus, Enter or Space; or escape, blur or programmatic. request.cancel() refuses the change. |
93
+ | `onOpenChange` | `(open: boolean, request: TooltipChangeRequest)` | On FieldHelp, before the hint opens or closes, once per transition. request.reason is pointer for a hover or a press; keyboard for focus, Enter or Space; or escape, blur or programmatic. The sheet of presentation="auto" also reports outsidePress for a press on its scrim, and dismiss for its close control and the platform’s way back. request.cancel() refuses the change. |
92
94
 
93
95
  ## Axes and defaults
94
96
 
@@ -207,6 +207,62 @@
207
207
  "language": "tsx",
208
208
  "source": "<FloatingPanel aria-label=\"Notes\" onOpenChange={setOpen} open={open}>\n …\n</FloatingPanel>;\n",
209
209
  "verdict": "excerpt"
210
+ },
211
+ {
212
+ "id": "basic",
213
+ "title": "basic.tsx",
214
+ "note": null,
215
+ "language": "tsx",
216
+ "source": "import { useState } from 'react';\n\nimport { Button } from '@slotted/react/button';\nimport {\n FloatingPanel,\n FloatingPanelBody,\n FloatingPanelClose,\n FloatingPanelHandle,\n FloatingPanelTitle,\n} from '@slotted/react/floating-panel';\nimport { Stack } from '@slotted/react/stack';\nimport { Text } from '@slotted/react/typography';\n\nexport default function FloatingPanelBasic() {\n const [open, setOpen] = useState(false);\n\n return (\n <>\n <Button onClick={() => setOpen(true)}>Open shipping estimate</Button>\n\n <FloatingPanel onOpenChange={setOpen} open={open}>\n <FloatingPanelHandle>\n <FloatingPanelTitle>Shipping estimate</FloatingPanelTitle>\n <FloatingPanelClose />\n </FloatingPanelHandle>\n <FloatingPanelBody>\n <Stack gap={2}>\n <Text size=\"sm\">Order 48213, 14 cases</Text>\n <Text size=\"sm\">Freight $86.40</Text>\n <Text size=\"sm\">Total $1,326.40</Text>\n </Stack>\n </FloatingPanelBody>\n </FloatingPanel>\n </>\n );\n}\n",
217
+ "verdict": "example"
218
+ },
219
+ {
220
+ "id": "corners",
221
+ "title": "corners.tsx",
222
+ "note": null,
223
+ "language": "tsx",
224
+ "source": "import { useState } from 'react';\n\nimport { Button } from '@slotted/react/button';\nimport {\n FloatingPanel,\n FloatingPanelBody,\n FloatingPanelClose,\n FloatingPanelHandle,\n FloatingPanelTitle,\n} from '@slotted/react/floating-panel';\nimport type { FloatingCorner } from '@slotted/react/floating-panel';\nimport { Text } from '@slotted/react/typography';\n\nconst DOCKS: readonly { corner: FloatingCorner; name: string; status: string }[] = [\n { corner: 'top-start', name: 'Inbound dock', status: 'Door 3 free' },\n { corner: 'top-end', name: 'Outbound dock', status: '2 trucks waiting' },\n { corner: 'bottom-start', name: 'Cold storage', status: '3.8 °C' },\n { corner: 'bottom-end', name: 'Returns', status: '11 parcels to sort' },\n];\n\nexport default function FloatingPanelCorners() {\n const [closed, setClosed] = useState<readonly FloatingCorner[]>(DOCKS.map((dock) => dock.corner));\n\n return (\n <>\n <Button onClick={() => setClosed([])}>Show all docks</Button>\n\n {DOCKS.map((dock) => (\n <FloatingPanel\n defaultPlace={dock.corner}\n key={dock.corner}\n onOpenChange={() => setClosed([...closed, dock.corner])}\n open={!closed.includes(dock.corner)}\n >\n <FloatingPanelHandle>\n <FloatingPanelTitle>{dock.name}</FloatingPanelTitle>\n <FloatingPanelClose />\n </FloatingPanelHandle>\n <FloatingPanelBody>\n <Text size=\"sm\">{dock.status}</Text>\n </FloatingPanelBody>\n </FloatingPanel>\n ))}\n </>\n );\n}\n",
225
+ "verdict": "example"
226
+ },
227
+ {
228
+ "id": "label",
229
+ "title": "label.tsx",
230
+ "note": null,
231
+ "language": "tsx",
232
+ "source": "import { useState } from 'react';\n\nimport { Button } from '@slotted/react/button';\nimport {\n FloatingPanel,\n FloatingPanelBody,\n FloatingPanelClose,\n FloatingPanelHandle,\n} from '@slotted/react/floating-panel';\nimport { Text } from '@slotted/react/typography';\n\nexport default function FloatingPanelLabel() {\n const [open, setOpen] = useState(false);\n\n return (\n <>\n <Button onClick={() => setOpen(true)}>Open dispatch notes</Button>\n\n <FloatingPanel\n aria-label=\"Dispatch notes\"\n defaultPlace=\"bottom-start\"\n onOpenChange={setOpen}\n open={open}\n >\n <FloatingPanelHandle>\n <FloatingPanelClose />\n </FloatingPanelHandle>\n <FloatingPanelBody>\n <Text size=\"sm\">Carrier pickup moved to 14:30 for order 48213.</Text>\n </FloatingPanelBody>\n </FloatingPanel>\n </>\n );\n}\n",
233
+ "verdict": "example"
234
+ },
235
+ {
236
+ "id": "messages",
237
+ "title": "messages.tsx",
238
+ "note": null,
239
+ "language": "tsx",
240
+ "source": "import { useState } from 'react';\n\nimport { Button } from '@slotted/react/button';\nimport {\n FloatingPanel,\n FloatingPanelBody,\n FloatingPanelClose,\n FloatingPanelHandle,\n FloatingPanelTitle,\n} from '@slotted/react/floating-panel';\nimport { Text } from '@slotted/react/typography';\n\nexport default function FloatingPanelMessages() {\n const [open, setOpen] = useState(false);\n\n return (\n <>\n <Button onClick={() => setOpen(true)}>Open packing timer</Button>\n\n <FloatingPanel\n defaultPlace=\"top-start\"\n messages={{ close: 'Dismiss the timer', move: 'Reposition the timer' }}\n onOpenChange={setOpen}\n open={open}\n >\n <FloatingPanelHandle>\n <FloatingPanelTitle>Packing timer</FloatingPanelTitle>\n <FloatingPanelClose />\n </FloatingPanelHandle>\n <FloatingPanelBody>\n <Text size=\"sm\">Order 48213: 04:12 elapsed.</Text>\n </FloatingPanelBody>\n </FloatingPanel>\n </>\n );\n}\n",
241
+ "verdict": "example"
242
+ },
243
+ {
244
+ "id": "non-modal",
245
+ "title": "non-modal.tsx",
246
+ "note": null,
247
+ "language": "tsx",
248
+ "source": "import { useState } from 'react';\n\nimport { Button } from '@slotted/react/button';\nimport {\n FloatingPanel,\n FloatingPanelBody,\n FloatingPanelClose,\n FloatingPanelHandle,\n FloatingPanelTitle,\n} from '@slotted/react/floating-panel';\nimport { Inline } from '@slotted/react/inline';\nimport { Text } from '@slotted/react/typography';\n\nexport default function FloatingPanelNonModal() {\n const [open, setOpen] = useState(false);\n const [picked, setPicked] = useState(0);\n\n return (\n <>\n <Inline>\n <Button onClick={() => setPicked(picked + 1)}>Pick one case</Button>\n <Button onClick={() => setOpen(true)} variant=\"outline\">\n Open pick list\n </Button>\n </Inline>\n\n <FloatingPanel defaultPlace=\"bottom-start\" onOpenChange={setOpen} open={open}>\n <FloatingPanelHandle>\n <FloatingPanelTitle>Pick list</FloatingPanelTitle>\n <FloatingPanelClose />\n </FloatingPanelHandle>\n <FloatingPanelBody>\n <Text size=\"sm\">Cases picked for order 48213: {picked} of 14</Text>\n </FloatingPanelBody>\n </FloatingPanel>\n </>\n );\n}\n",
249
+ "verdict": "example"
250
+ },
251
+ {
252
+ "id": "place",
253
+ "title": "place.tsx",
254
+ "note": null,
255
+ "language": "tsx",
256
+ "source": "import { useState } from 'react';\n\nimport { Button } from '@slotted/react/button';\nimport {\n FloatingPanel,\n FloatingPanelBody,\n FloatingPanelClose,\n FloatingPanelHandle,\n FloatingPanelTitle,\n} from '@slotted/react/floating-panel';\nimport type { FloatingPlace } from '@slotted/react/floating-panel';\nimport { Inline } from '@slotted/react/inline';\nimport { Text } from '@slotted/react/typography';\n\nexport default function FloatingPanelPlace() {\n const [open, setOpen] = useState(false);\n const [place, setPlace] = useState<FloatingPlace | undefined>(undefined);\n\n return (\n <>\n <Inline>\n <Button onClick={() => setOpen(true)}>Open route notes</Button>\n <Button onClick={() => setPlace({ x: 32, y: 96 })} variant=\"outline\">\n Pin to the top left\n </Button>\n </Inline>\n\n <FloatingPanel onOpenChange={setOpen} onPlaceChange={setPlace} open={open} place={place}>\n <FloatingPanelHandle>\n <FloatingPanelTitle>Route notes</FloatingPanelTitle>\n <FloatingPanelClose />\n </FloatingPanelHandle>\n <FloatingPanelBody>\n <Text size=\"sm\">\n {place === undefined\n ? 'Not moved yet'\n : `Stored at x ${Math.round(place.x)}, y ${Math.round(place.y)}`}\n </Text>\n </FloatingPanelBody>\n </FloatingPanel>\n </>\n );\n}\n",
257
+ "verdict": "example"
258
+ },
259
+ {
260
+ "id": "steps",
261
+ "title": "steps.tsx",
262
+ "note": null,
263
+ "language": "tsx",
264
+ "source": "import { useState } from 'react';\n\nimport { Button } from '@slotted/react/button';\nimport {\n FloatingPanel,\n FloatingPanelBody,\n FloatingPanelClose,\n FloatingPanelHandle,\n FloatingPanelTitle,\n} from '@slotted/react/floating-panel';\nimport { Text } from '@slotted/react/typography';\n\nexport default function FloatingPanelSteps() {\n const [open, setOpen] = useState(false);\n\n return (\n <>\n <Button onClick={() => setOpen(true)}>Open pallet tracker</Button>\n\n <FloatingPanel\n defaultPlace=\"top-end\"\n largeStep={64}\n onOpenChange={setOpen}\n open={open}\n step={16}\n >\n <FloatingPanelHandle>\n <FloatingPanelTitle>Pallet tracker</FloatingPanelTitle>\n <FloatingPanelClose />\n </FloatingPanelHandle>\n <FloatingPanelBody>\n <Text size=\"sm\">Focus Move, then press an arrow key: 16 px, or 64 px with Shift.</Text>\n </FloatingPanelBody>\n </FloatingPanel>\n </>\n );\n}\n",
265
+ "verdict": "example"
210
266
  }
211
267
  ]
212
268
  }