@slotted/react 0.1.0-beta.3 → 0.1.0-beta.30

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 (1325) hide show
  1. package/README.md +20 -3
  2. package/dist/accordion-n5D6mcmS.js +144 -0
  3. package/dist/accordion.js +1 -1
  4. package/dist/action-bar-CAtXzym2.js +285 -0
  5. package/dist/action-bar.js +1 -1
  6. package/dist/action-sheet-dNnB26br.js +360 -0
  7. package/dist/action-sheet.js +1 -1
  8. package/dist/alert-Bi9s1cjV.js +174 -0
  9. package/dist/alert.js +1 -1
  10. package/dist/app-shell-ClwskWBN.js +921 -0
  11. package/dist/app-shell.js +2 -2
  12. package/dist/aspect-ratio-CLxOFJVH.js +41 -0
  13. package/dist/aspect-ratio.js +1 -1
  14. package/dist/attachment-AAjprQyU.js +292 -0
  15. package/dist/attachment-kinds-x-DEOvCy.js +17 -0
  16. package/dist/attachment.js +3 -2
  17. package/dist/avatar-DLWElrgg.js +104 -0
  18. package/dist/avatar-group-DshHqe8B.js +50 -0
  19. package/dist/avatar-group.js +1 -1
  20. package/dist/avatar.js +1 -1
  21. package/dist/badge-pgYVOnZO.js +98 -0
  22. package/dist/badge.js +1 -1
  23. package/dist/bin/slotted-agent-docs.mjs +297 -0
  24. package/dist/breadcrumb-DWbUEBpm.js +222 -0
  25. package/dist/breadcrumb.js +1 -1
  26. package/dist/button-BxgjXAos.js +118 -0
  27. package/dist/button-group-C-m4aSqu.js +51 -0
  28. package/dist/button-group.js +1 -1
  29. package/dist/button.js +3 -3
  30. package/dist/calendar-wqDIW4Z8.js +469 -0
  31. package/dist/calendar.js +1 -1
  32. package/dist/card-DRmq8_5e.js +103 -0
  33. package/dist/card.js +1 -1
  34. package/dist/carousel-B9nMK7Yf.js +499 -0
  35. package/dist/carousel.js +1 -1
  36. package/dist/cascader-DUiUVxBt.js +1157 -0
  37. package/dist/cascader.js +1 -1
  38. package/dist/chart-CbOswR3s.js +1010 -0
  39. package/dist/chart.js +1 -1
  40. package/dist/checkbox-group-Ben6o9Ze.js +109 -0
  41. package/dist/checkbox-group.js +1 -1
  42. package/dist/checkbox-ruvmi9cK.js +144 -0
  43. package/dist/checkbox.js +1 -1
  44. package/dist/code-block-Cy548yk7.js +282 -0
  45. package/dist/code-block.js +1 -1
  46. package/dist/collapsible-BuUBeNDg.js +222 -0
  47. package/dist/collapsible.js +1 -1
  48. package/dist/color-picker-DP8MjvXk.js +506 -0
  49. package/dist/color-picker.js +1 -1
  50. package/dist/column-manager-NN-ZCcy9.js +586 -0
  51. package/dist/column-manager.js +1 -1
  52. package/dist/combobox-BIi7grOR.js +904 -0
  53. package/dist/combobox.js +1 -1
  54. package/dist/command-palette-BxbhO044.js +744 -0
  55. package/dist/command-palette.js +1 -1
  56. package/dist/container-WoYiHo50.js +47 -0
  57. package/dist/container.js +1 -1
  58. package/dist/context-menu-BJyDD17g.js +151 -0
  59. package/dist/context-menu.js +1 -1
  60. package/dist/currency-field-CAO2ZolW.js +469 -0
  61. package/dist/currency-field.js +1 -1
  62. package/dist/dashboard-grid-De6al1Mj.js +1149 -0
  63. package/dist/dashboard-grid.js +1 -1
  64. package/dist/data-grid-DSI_LFmJ.js +3848 -0
  65. package/dist/data-grid.js +1 -1
  66. package/dist/data-list-fAeBMZZT.js +587 -0
  67. package/dist/data-list.js +1 -1
  68. package/dist/date-field-BEdt1xDF.js +299 -0
  69. package/dist/date-field.js +1 -1
  70. package/dist/date-picker-CB3pyJob.js +337 -0
  71. package/dist/date-picker.js +1 -1
  72. package/dist/date-range-picker-Dyp5_teF.js +522 -0
  73. package/dist/date-range-picker.js +1 -1
  74. package/dist/datetime-field-2tsqzWVH.js +424 -0
  75. package/dist/datetime-field.js +1 -1
  76. package/dist/datetime-picker-D-fhwe8l.js +683 -0
  77. package/dist/datetime-picker.js +1 -1
  78. package/dist/datetime-range-picker-Bh3mAEsM.js +1050 -0
  79. package/dist/datetime-range-picker.js +1 -1
  80. package/dist/description-list-BbWLehw0.js +242 -0
  81. package/dist/description-list.js +1 -1
  82. package/dist/{detail-panel-qOJiNuzr.js → detail-panel-DYe_D46K.js} +121 -113
  83. package/dist/detail-panel.js +1 -1
  84. package/dist/dialog-CjOBjHrL.js +537 -0
  85. package/dist/dialog.js +1 -1
  86. package/dist/divider-ryFeK0Pi.js +35 -0
  87. package/dist/divider.js +1 -1
  88. package/dist/docs/AGENTS.snippet.md +4 -2
  89. package/dist/docs/accordion.json +5 -5
  90. package/dist/docs/accordion.md +11 -11
  91. package/dist/docs/action-bar.json +23 -22
  92. package/dist/docs/action-bar.md +32 -32
  93. package/dist/docs/action-sheet.json +399 -64
  94. package/dist/docs/action-sheet.md +291 -0
  95. package/dist/docs/alert.json +31 -14
  96. package/dist/docs/alert.md +30 -23
  97. package/dist/docs/app-shell.examples.md +9 -9
  98. package/dist/docs/app-shell.json +35 -18
  99. package/dist/docs/app-shell.md +8 -6
  100. package/dist/docs/attachment.json +1 -1
  101. package/dist/docs/attachment.md +1 -1
  102. package/dist/docs/avatar-group.json +1 -1
  103. package/dist/docs/avatar-group.md +1 -1
  104. package/dist/docs/avatar.json +32 -11
  105. package/dist/docs/avatar.md +13 -11
  106. package/dist/docs/badge.json +12 -6
  107. package/dist/docs/badge.md +7 -7
  108. package/dist/docs/breadcrumb.json +2 -2
  109. package/dist/docs/breadcrumb.md +2 -2
  110. package/dist/docs/button-group.json +2 -1
  111. package/dist/docs/button-group.md +2 -2
  112. package/dist/docs/button.examples.md +20 -0
  113. package/dist/docs/button.json +139 -14
  114. package/dist/docs/button.md +30 -8
  115. package/dist/docs/calendar.json +31 -6
  116. package/dist/docs/calendar.md +9 -6
  117. package/dist/docs/card.json +2 -2
  118. package/dist/docs/card.md +2 -2
  119. package/dist/docs/carousel.json +11 -11
  120. package/dist/docs/carousel.md +12 -12
  121. package/dist/docs/cascader.json +1 -0
  122. package/dist/docs/cascader.md +1 -1
  123. package/dist/docs/chart.examples.md +51 -40
  124. package/dist/docs/chart.json +35 -30
  125. package/dist/docs/chart.md +7 -7
  126. package/dist/docs/checkbox-group.examples.md +12 -12
  127. package/dist/docs/checkbox-group.json +6 -6
  128. package/dist/docs/checkbox-group.md +1 -1
  129. package/dist/docs/checkbox.examples.md +8 -8
  130. package/dist/docs/checkbox.json +7 -7
  131. package/dist/docs/checkbox.md +4 -4
  132. package/dist/docs/code-block.json +94 -94
  133. package/dist/docs/code-block.md +72 -72
  134. package/dist/docs/collapsible.json +13 -13
  135. package/dist/docs/collapsible.md +22 -22
  136. package/dist/docs/color-picker.json +25 -25
  137. package/dist/docs/color-picker.md +15 -15
  138. package/dist/docs/column-manager.json +1 -1
  139. package/dist/docs/column-manager.md +1 -1
  140. package/dist/docs/combobox.json +4 -1
  141. package/dist/docs/combobox.md +2 -2
  142. package/dist/docs/command-palette.json +2 -0
  143. package/dist/docs/command-palette.md +1 -1
  144. package/dist/docs/context-menu.json +1 -1
  145. package/dist/docs/context-menu.md +1 -1
  146. package/dist/docs/currency-field.examples.md +1 -1
  147. package/dist/docs/currency-field.json +13 -5
  148. package/dist/docs/currency-field.md +6 -5
  149. package/dist/docs/dashboard-grid.json +31 -9
  150. package/dist/docs/dashboard-grid.md +8 -5
  151. package/dist/docs/data-grid.examples.md +10 -4
  152. package/dist/docs/data-grid.json +39 -12
  153. package/dist/docs/data-grid.md +3 -1
  154. package/dist/docs/data-grid.props.md +7 -5
  155. package/dist/docs/data-list.json +2 -1
  156. package/dist/docs/data-list.md +1 -1
  157. package/dist/docs/date-field.json +13 -5
  158. package/dist/docs/date-field.md +12 -11
  159. package/dist/docs/date-picker.examples.md +29 -0
  160. package/dist/docs/date-picker.json +28 -1
  161. package/dist/docs/date-picker.md +4 -2
  162. package/dist/docs/date-range-picker.json +11 -0
  163. package/dist/docs/date-range-picker.md +2 -1
  164. package/dist/docs/datetime-field.json +4 -3
  165. package/dist/docs/datetime-field.md +8 -8
  166. package/dist/docs/datetime-picker.json +11 -1
  167. package/dist/docs/datetime-picker.md +2 -1
  168. package/dist/docs/datetime-range-picker.examples.md +2 -2
  169. package/dist/docs/datetime-range-picker.json +13 -2
  170. package/dist/docs/datetime-range-picker.md +4 -3
  171. package/dist/docs/description-list.json +17 -8
  172. package/dist/docs/description-list.md +8 -7
  173. package/dist/docs/detail-panel.json +13 -11
  174. package/dist/docs/detail-panel.md +26 -16
  175. package/dist/docs/dialog.examples.md +123 -121
  176. package/dist/docs/dialog.json +58 -26
  177. package/dist/docs/dialog.md +9 -65
  178. package/dist/docs/dialog.props.md +68 -0
  179. package/dist/docs/drawer.examples.md +15 -15
  180. package/dist/docs/drawer.json +45 -19
  181. package/dist/docs/drawer.md +11 -9
  182. package/dist/docs/entity-picker.json +20 -3
  183. package/dist/docs/entity-picker.md +13 -6
  184. package/dist/docs/event-calendar.examples.md +3 -3
  185. package/dist/docs/event-calendar.json +5 -5
  186. package/dist/docs/event-calendar.md +4 -4
  187. package/dist/docs/field-group.json +20 -5
  188. package/dist/docs/field-group.md +12 -10
  189. package/dist/docs/field.examples.md +3 -3
  190. package/dist/docs/field.json +20 -5
  191. package/dist/docs/field.md +4 -2
  192. package/dist/docs/filter-bar.json +115 -115
  193. package/dist/docs/filter-bar.md +78 -78
  194. package/dist/docs/form.json +21 -9
  195. package/dist/docs/form.md +13 -12
  196. package/dist/docs/fullscreen.json +3 -3
  197. package/dist/docs/fullscreen.md +6 -6
  198. package/dist/docs/guidelines/README.md +2 -2
  199. package/dist/docs/guidelines/async-feedback.md +25 -4
  200. package/dist/docs/guidelines/builders.md +1 -1
  201. package/dist/docs/guidelines/composition.md +37 -11
  202. package/dist/docs/guidelines/conversations.md +1 -1
  203. package/dist/docs/guidelines/errors-and-conflicts.md +7 -6
  204. package/dist/docs/guidelines/forms.md +111 -1
  205. package/dist/docs/guidelines/index.md +27 -7
  206. package/dist/docs/guidelines/layout-alignment.md +24 -14
  207. package/dist/docs/guidelines/list-pages.md +44 -3
  208. package/dist/docs/guidelines/overviews.md +39 -9
  209. package/dist/docs/guidelines/own-elements.md +8 -8
  210. package/dist/docs/guidelines/reading-permissions.md +2 -2
  211. package/dist/docs/guidelines/record-pages.md +1 -1
  212. package/dist/docs/guidelines/reports.md +1 -1
  213. package/dist/docs/highlight.json +11 -11
  214. package/dist/docs/highlight.md +18 -18
  215. package/dist/docs/icon.json +5 -3
  216. package/dist/docs/icon.md +4 -4
  217. package/dist/docs/image.json +3 -3
  218. package/dist/docs/image.md +3 -3
  219. package/dist/docs/import-export-center.json +25 -25
  220. package/dist/docs/import-export-center.md +21 -21
  221. package/dist/docs/index.md +3 -2
  222. package/dist/docs/inline-message.json +34 -21
  223. package/dist/docs/inline-message.md +31 -28
  224. package/dist/docs/inline.json +1 -1
  225. package/dist/docs/inline.md +1 -1
  226. package/dist/docs/kbd.json +5 -2
  227. package/dist/docs/kbd.md +3 -3
  228. package/dist/docs/link.json +23 -7
  229. package/dist/docs/link.md +10 -8
  230. package/dist/docs/list-item.json +20 -4
  231. package/dist/docs/list-item.md +24 -17
  232. package/dist/docs/list.json +2 -2
  233. package/dist/docs/list.md +1 -1
  234. package/dist/docs/listbox.json +1 -2
  235. package/dist/docs/listbox.md +2 -2
  236. package/dist/docs/loading-overlay.json +2 -2
  237. package/dist/docs/loading-overlay.md +2 -2
  238. package/dist/docs/markdown.json +82 -75
  239. package/dist/docs/markdown.md +64 -63
  240. package/dist/docs/media-viewer.json +575 -0
  241. package/dist/docs/media-viewer.md +235 -0
  242. package/dist/docs/menu.json +16 -3
  243. package/dist/docs/menu.md +4 -2
  244. package/dist/docs/message-scroller.json +2 -2
  245. package/dist/docs/message-scroller.md +1 -1
  246. package/dist/docs/message.json +18 -12
  247. package/dist/docs/message.md +20 -20
  248. package/dist/docs/multi-select.json +3 -1
  249. package/dist/docs/multi-select.md +1 -1
  250. package/dist/docs/notification-center.json +22 -18
  251. package/dist/docs/notification-center.md +27 -24
  252. package/dist/docs/number-field.examples.md +4 -4
  253. package/dist/docs/number-field.json +4 -3
  254. package/dist/docs/number-field.md +1 -1
  255. package/dist/docs/otp-input.json +10 -9
  256. package/dist/docs/otp-input.md +13 -13
  257. package/dist/docs/page-header.json +29 -12
  258. package/dist/docs/page-header.md +28 -26
  259. package/dist/docs/page.json +4 -2
  260. package/dist/docs/page.md +3 -2
  261. package/dist/docs/pagination.json +2 -2
  262. package/dist/docs/pagination.md +1 -1
  263. package/dist/docs/popover.examples.md +1 -1
  264. package/dist/docs/popover.json +4 -3
  265. package/dist/docs/popover.md +2 -2
  266. package/dist/docs/progress-indicator.json +7 -5
  267. package/dist/docs/progress-indicator.md +7 -7
  268. package/dist/docs/prompt-composer.json +52 -5
  269. package/dist/docs/prompt-composer.md +11 -5
  270. package/dist/docs/prose.json +1 -1
  271. package/dist/docs/prose.md +1 -1
  272. package/dist/docs/radio-group.examples.md +16 -16
  273. package/dist/docs/radio-group.json +9 -9
  274. package/dist/docs/radio-group.md +2 -2
  275. package/dist/docs/rating.json +23 -21
  276. package/dist/docs/rating.md +22 -26
  277. package/dist/docs/result-state.json +13 -13
  278. package/dist/docs/result-state.md +18 -20
  279. package/dist/docs/saved-views.json +1 -1
  280. package/dist/docs/scroll-area.json +278 -64
  281. package/dist/docs/scroll-area.md +198 -0
  282. package/dist/docs/section.json +42 -20
  283. package/dist/docs/section.md +36 -29
  284. package/dist/docs/segmented-control.json +22 -26
  285. package/dist/docs/segmented-control.md +40 -40
  286. package/dist/docs/select.json +4 -1
  287. package/dist/docs/select.md +2 -2
  288. package/dist/docs/side-navigation.json +1 -0
  289. package/dist/docs/side-navigation.md +1 -1
  290. package/dist/docs/skeleton.json +1 -1
  291. package/dist/docs/skeleton.md +1 -1
  292. package/dist/docs/skills/build-own-element/SKILL.md +9 -9
  293. package/dist/docs/skills/compose-screen/SKILL.md +54 -18
  294. package/dist/docs/skills/index.md +2 -2
  295. package/dist/docs/skills/review-screen/SKILL.md +28 -17
  296. package/dist/docs/skills/theme-app/SKILL.md +66 -20
  297. package/dist/docs/skills/waiting-states/SKILL.md +15 -11
  298. package/dist/docs/slider.json +9 -9
  299. package/dist/docs/slider.md +19 -19
  300. package/dist/docs/sparkline.json +12 -9
  301. package/dist/docs/sparkline.md +9 -9
  302. package/dist/docs/split-button.json +14 -12
  303. package/dist/docs/split-button.md +30 -30
  304. package/dist/docs/splitter.json +293 -64
  305. package/dist/docs/splitter.md +222 -0
  306. package/dist/docs/stack.json +1 -1
  307. package/dist/docs/stack.md +1 -1
  308. package/dist/docs/stat-card.json +36 -9
  309. package/dist/docs/stat-card.md +11 -8
  310. package/dist/docs/status-indicator.json +22 -11
  311. package/dist/docs/status-indicator.md +8 -6
  312. package/dist/docs/stepper.json +4 -4
  313. package/dist/docs/stepper.md +4 -4
  314. package/dist/docs/switch.json +5 -5
  315. package/dist/docs/switch.md +11 -7
  316. package/dist/docs/table-of-contents.json +11 -10
  317. package/dist/docs/table-of-contents.md +15 -15
  318. package/dist/docs/table.examples.md +14 -18
  319. package/dist/docs/table.json +18 -4
  320. package/dist/docs/table.md +3 -1
  321. package/dist/docs/tabs.json +25 -4
  322. package/dist/docs/tabs.md +6 -3
  323. package/dist/docs/tag.json +42 -30
  324. package/dist/docs/tag.md +21 -21
  325. package/dist/docs/tags-input.json +30 -3
  326. package/dist/docs/tags-input.md +5 -2
  327. package/dist/docs/text-field.examples.md +5 -5
  328. package/dist/docs/text-field.json +7 -6
  329. package/dist/docs/text-field.md +3 -3
  330. package/dist/docs/textarea.examples.md +504 -0
  331. package/dist/docs/textarea.json +3 -2
  332. package/dist/docs/textarea.md +2 -498
  333. package/dist/docs/time-field.json +4 -3
  334. package/dist/docs/time-field.md +8 -8
  335. package/dist/docs/time-picker.json +14 -4
  336. package/dist/docs/time-picker.md +9 -8
  337. package/dist/docs/time-range-picker.json +14 -3
  338. package/dist/docs/time-range-picker.md +7 -6
  339. package/dist/docs/timeline.json +136 -130
  340. package/dist/docs/timeline.md +122 -122
  341. package/dist/docs/toast.json +13 -6
  342. package/dist/docs/toast.md +7 -7
  343. package/dist/docs/toggle-group.json +13 -13
  344. package/dist/docs/toggle-group.md +38 -38
  345. package/dist/docs/toggle.json +8 -8
  346. package/dist/docs/toggle.md +8 -8
  347. package/dist/docs/tokens.md +45 -26
  348. package/dist/docs/toolbar.json +11 -11
  349. package/dist/docs/toolbar.md +28 -28
  350. package/dist/docs/tooltip.json +4 -3
  351. package/dist/docs/tooltip.md +4 -4
  352. package/dist/docs/top-navigation.examples.md +13 -13
  353. package/dist/docs/top-navigation.json +10 -10
  354. package/dist/docs/top-navigation.md +7 -7
  355. package/dist/docs/tour.json +8 -8
  356. package/dist/docs/tour.md +5 -5
  357. package/dist/docs/typography.json +6 -4
  358. package/dist/docs/typography.md +5 -5
  359. package/dist/docs/upload.examples.md +5 -5
  360. package/dist/docs/upload.json +10 -10
  361. package/dist/docs/upload.md +3 -3
  362. package/dist/drawer-Du1aC1px.js +830 -0
  363. package/dist/drawer.js +2 -2
  364. package/dist/entity-picker-DfoAxqaa.js +1283 -0
  365. package/dist/entity-picker.js +2 -2
  366. package/dist/event-calendar-BiGeWzAG.js +1469 -0
  367. package/dist/event-calendar.js +1 -1
  368. package/dist/field-BjF0c0U9.js +368 -0
  369. package/dist/field-group-DQI8pfDT.js +140 -0
  370. package/dist/field-group.js +1 -1
  371. package/dist/field.js +1 -1
  372. package/dist/filter-bar-Bb_8T3nU.js +1342 -0
  373. package/dist/filter-bar.js +1 -1
  374. package/dist/{form-vTCQhZM-.js → form-DnV8ndwm.js} +107 -88
  375. package/dist/form.js +2 -2
  376. package/dist/fullscreen-CaEg6U-M.js +190 -0
  377. package/dist/fullscreen.js +1 -1
  378. package/dist/grid-l7xi6DUg.js +26 -0
  379. package/dist/grid.js +1 -1
  380. package/dist/highlight-9lRPIZ9O.js +59 -0
  381. package/dist/highlight.js +1 -1
  382. package/dist/hover-card-D8OyhmEG.js +215 -0
  383. package/dist/hover-card.js +1 -1
  384. package/dist/{i18n-DpW8lqJ1.js → i18n-D7xXDd8-.js} +11 -4
  385. package/dist/i18n.js +1 -1
  386. package/dist/icon-D04-_QFA.js +134 -0
  387. package/dist/icon-button-DERKFHX1.js +251 -0
  388. package/dist/icon.js +1 -1
  389. package/dist/{image-DpDFrrXL.js → image-cyX9-F0x.js} +24 -20
  390. package/dist/image.js +1 -1
  391. package/dist/import-export-center-Do0zrdSV.js +867 -0
  392. package/dist/import-export-center.js +1 -1
  393. package/dist/index.js +131 -128
  394. package/dist/inline-CqF8iT4m.js +17 -0
  395. package/dist/inline-message-DgEAUjar.js +119 -0
  396. package/dist/inline-message.js +2 -2
  397. package/dist/inline.js +1 -1
  398. package/dist/kbd-dNz8QHfL.js +105 -0
  399. package/dist/kbd.js +1 -1
  400. package/dist/link-YvD_Wov8.js +92 -0
  401. package/dist/link.js +1 -1
  402. package/dist/list-B7gaPH1U.js +95 -0
  403. package/dist/list-item-2z75VYyp.js +160 -0
  404. package/dist/list-item.js +1 -1
  405. package/dist/list.js +1 -1
  406. package/dist/listbox-Df177k5C.js +626 -0
  407. package/dist/listbox.js +1 -1
  408. package/dist/loading-overlay-BLIrcaoj.js +218 -0
  409. package/dist/loading-overlay.js +1 -1
  410. package/dist/markdown-B_niyRIl.js +311 -0
  411. package/dist/markdown.js +1 -1
  412. package/dist/media-viewer-zEXcwfEY.js +629 -0
  413. package/dist/media-viewer.js +2 -0
  414. package/dist/menu-parts-DNQDoJnd.js +814 -0
  415. package/dist/menu.js +1 -1
  416. package/dist/menubar-CY8oxV0V.js +157 -0
  417. package/dist/menubar.js +1 -1
  418. package/dist/message-C1O3jr31.js +436 -0
  419. package/dist/message-scroller-BSpE5DHM.js +218 -0
  420. package/dist/message-scroller.js +1 -1
  421. package/dist/message.js +1 -1
  422. package/dist/multi-select-DSSDlWVZ.js +1259 -0
  423. package/dist/multi-select.js +1 -1
  424. package/dist/navigation-menu-parts-CRLmigjy.js +492 -0
  425. package/dist/navigation-menu.js +1 -1
  426. package/dist/notification-center-CQqPcJr4.js +516 -0
  427. package/dist/notification-center.js +1 -1
  428. package/dist/number-field-DzOcs9uG.js +345 -0
  429. package/dist/number-field.js +1 -1
  430. package/dist/{otp-input-BNQhuKaT.js → otp-input-ult9fNdj.js} +75 -72
  431. package/dist/otp-input.js +1 -1
  432. package/dist/page-CzqbnTnU.js +179 -0
  433. package/dist/page-header-TejJ-BTC.js +372 -0
  434. package/dist/page-header.js +1 -1
  435. package/dist/page.js +2 -2
  436. package/dist/pagination-D0PUAFYm.js +299 -0
  437. package/dist/pagination.js +1 -1
  438. package/dist/popover-BfEn2wdZ.js +500 -0
  439. package/dist/popover.js +1 -1
  440. package/dist/progress-indicator-D0acshNn.js +292 -0
  441. package/dist/progress-indicator.js +1 -1
  442. package/dist/prompt-composer-D9oaFXDU.js +308 -0
  443. package/dist/prompt-composer.js +2 -2
  444. package/dist/prose-CQN4Bqqh.js +92 -0
  445. package/dist/prose.js +1 -1
  446. package/dist/radio-group-doL7tde1.js +143 -0
  447. package/dist/radio-group.js +1 -1
  448. package/dist/rating-BtrkTAi0.js +501 -0
  449. package/dist/rating.js +1 -1
  450. package/dist/result-state-BMYhelu1.js +128 -0
  451. package/dist/result-state.js +1 -1
  452. package/dist/roving-focus-C5-rVFzI.js +89 -0
  453. package/dist/roving-focus.js +2 -0
  454. package/dist/saved-views-BKOHI-Od.js +456 -0
  455. package/dist/saved-views.js +1 -1
  456. package/dist/scroll-area-Fr0PmnRS.js +112 -0
  457. package/dist/scroll-area.js +1 -1
  458. package/dist/section-CjlMOyZE.js +195 -0
  459. package/dist/section.js +2 -2
  460. package/dist/segmented-control-Dl-nryCN.js +156 -0
  461. package/dist/segmented-control.js +1 -1
  462. package/dist/select-jdqT8lFi.js +1022 -0
  463. package/dist/{select-tags-CQMcHIQN.js → select-tags-3792weoq.js} +11 -1
  464. package/dist/select.js +1 -1
  465. package/dist/side-navigation-DNMpckRs.js +747 -0
  466. package/dist/side-navigation.js +1 -1
  467. package/dist/skeleton-DeEOmm1y.js +149 -0
  468. package/dist/skeleton.js +1 -1
  469. package/dist/slider-CU89H3i0.js +264 -0
  470. package/dist/slider.js +1 -1
  471. package/dist/sparkline-CYU4_lCD.js +152 -0
  472. package/dist/sparkline.js +1 -1
  473. package/dist/spinner-ring-DyfaYloA.js +19 -0
  474. package/dist/split-button-CgfY606Z.js +136 -0
  475. package/dist/split-button.js +1 -1
  476. package/dist/splitter-CspZHJz4.js +293 -0
  477. package/dist/splitter.js +1 -1
  478. package/dist/stack-BbgvuQ7m.js +16 -0
  479. package/dist/stack.js +1 -1
  480. package/dist/stat-card-BGtnZpnK.js +259 -0
  481. package/dist/stat-card.js +1 -1
  482. package/dist/status-indicator-DkV95RZc.js +82 -0
  483. package/dist/status-indicator.js +1 -1
  484. package/dist/stepper-DHdrANZI.js +261 -0
  485. package/dist/stepper.js +1 -1
  486. package/dist/styles/accordion.css +2 -0
  487. package/dist/styles/action-bar.css +8 -0
  488. package/dist/styles/action-sheet.css +8 -0
  489. package/dist/styles/alert.css +4 -0
  490. package/dist/styles/app-shell.css +8 -0
  491. package/dist/styles/aspect-ratio.css +2 -0
  492. package/dist/styles/attachment.css +8 -0
  493. package/dist/styles/avatar-group.css +6 -0
  494. package/dist/styles/avatar.css +4 -0
  495. package/dist/styles/badge.css +2 -0
  496. package/dist/styles/breadcrumb.css +4 -0
  497. package/dist/styles/button-group.css +2 -0
  498. package/dist/styles/button.css +4 -0
  499. package/dist/styles/calendar.css +6 -0
  500. package/dist/styles/card.css +2 -0
  501. package/dist/styles/carousel.css +4 -0
  502. package/dist/styles/cascader.css +20 -0
  503. package/dist/styles/chart.css +10 -0
  504. package/dist/styles/checkbox-group.css +12 -0
  505. package/dist/styles/checkbox.css +14 -0
  506. package/dist/styles/code-block.css +10 -0
  507. package/dist/styles/collapsible.css +6 -0
  508. package/dist/styles/color-picker.css +18 -0
  509. package/dist/styles/column-manager.css +32 -0
  510. package/dist/styles/combobox.css +12 -0
  511. package/dist/styles/command-palette.css +14 -0
  512. package/dist/styles/container.css +2 -0
  513. package/dist/styles/context-menu.css +8 -0
  514. package/dist/styles/currency-field.css +10 -0
  515. package/dist/styles/dashboard-grid.css +22 -0
  516. package/dist/styles/data-grid.css +64 -0
  517. package/dist/styles/data-list.css +34 -0
  518. package/dist/styles/date-field.css +10 -0
  519. package/dist/styles/date-picker.css +16 -0
  520. package/dist/styles/date-range-picker.css +16 -0
  521. package/dist/styles/datetime-field.css +10 -0
  522. package/dist/styles/datetime-picker.css +16 -0
  523. package/dist/styles/datetime-range-picker.css +16 -0
  524. package/dist/styles/description-list.css +6 -0
  525. package/dist/styles/detail-panel.css +24 -0
  526. package/dist/styles/dialog.css +4 -0
  527. package/dist/styles/divider.css +2 -0
  528. package/dist/styles/drawer.css +4 -0
  529. package/dist/styles/entity-picker.css +22 -0
  530. package/dist/styles/event-calendar.css +28 -0
  531. package/dist/styles/field-group.css +10 -0
  532. package/dist/styles/field.css +8 -0
  533. package/dist/styles/filter-bar.css +56 -0
  534. package/dist/styles/form.css +2 -0
  535. package/dist/styles/fullscreen.css +4 -0
  536. package/dist/styles/grid.css +2 -0
  537. package/dist/styles/highlight.css +2 -0
  538. package/dist/styles/hover-card.css +6 -0
  539. package/dist/styles/i18n.css +1 -0
  540. package/dist/styles/icon.css +2 -0
  541. package/dist/styles/image.css +6 -0
  542. package/dist/styles/import-export-center.css +70 -0
  543. package/dist/styles/index.css +250 -0
  544. package/dist/styles/inline-message.css +4 -0
  545. package/dist/styles/inline.css +2 -0
  546. package/dist/styles/kbd.css +2 -0
  547. package/dist/styles/link.css +6 -0
  548. package/dist/styles/list-item.css +6 -0
  549. package/dist/styles/list.css +2 -0
  550. package/dist/styles/listbox.css +10 -0
  551. package/dist/styles/loading-overlay.css +6 -0
  552. package/dist/styles/markdown.css +34 -0
  553. package/dist/styles/media-viewer.css +6 -0
  554. package/dist/styles/menu.css +6 -0
  555. package/dist/styles/menubar.css +8 -0
  556. package/dist/styles/message-scroller.css +4 -0
  557. package/dist/styles/message.css +4 -0
  558. package/dist/styles/multi-select.css +18 -0
  559. package/dist/styles/navigation-menu.css +4 -0
  560. package/dist/styles/notification-center.css +16 -0
  561. package/dist/styles/number-field.css +10 -0
  562. package/dist/styles/otp-input.css +10 -0
  563. package/dist/styles/page-header.css +16 -0
  564. package/dist/styles/page.css +6 -0
  565. package/dist/styles/pagination.css +4 -0
  566. package/dist/styles/popover.css +4 -0
  567. package/dist/styles/press-selection.css +1 -0
  568. package/dist/styles/progress-indicator.css +4 -0
  569. package/dist/styles/prompt-composer.css +12 -0
  570. package/dist/styles/prose.css +2 -0
  571. package/dist/styles/radio-group.css +12 -0
  572. package/dist/styles/rating.css +10 -0
  573. package/dist/styles/result-state.css +2 -0
  574. package/dist/styles/roving-focus.css +1 -0
  575. package/dist/styles/saved-views.css +20 -0
  576. package/dist/styles/scroll-area.css +2 -0
  577. package/dist/styles/section.css +4 -0
  578. package/dist/styles/segmented-control.css +12 -0
  579. package/dist/styles/select.css +14 -0
  580. package/dist/styles/side-navigation.css +14 -0
  581. package/dist/styles/skeleton.css +4 -0
  582. package/dist/styles/slider.css +10 -0
  583. package/dist/styles/sparkline.css +2 -0
  584. package/dist/styles/split-button.css +12 -0
  585. package/dist/styles/splitter.css +2 -0
  586. package/dist/styles/stack.css +2 -0
  587. package/dist/styles/stat-card.css +10 -0
  588. package/dist/styles/status-indicator.css +6 -0
  589. package/dist/styles/stepper.css +6 -0
  590. package/dist/styles/switch.css +12 -0
  591. package/dist/styles/table-of-contents.css +8 -0
  592. package/dist/styles/table.css +60 -0
  593. package/dist/styles/tabs.css +4 -0
  594. package/dist/styles/tag.css +4 -0
  595. package/dist/styles/tags-input.css +12 -0
  596. package/dist/styles/text-field.css +10 -0
  597. package/dist/styles/textarea.css +10 -0
  598. package/dist/styles/theme.css +1 -0
  599. package/dist/styles/time-field.css +10 -0
  600. package/dist/styles/time-picker.css +12 -0
  601. package/dist/styles/time-range-picker.css +12 -0
  602. package/dist/styles/timeline.css +8 -0
  603. package/dist/styles/toast.css +8 -0
  604. package/dist/styles/toggle-group.css +10 -0
  605. package/dist/styles/toggle.css +2 -0
  606. package/dist/styles/toolbar.css +8 -0
  607. package/dist/styles/tooltip.css +2 -0
  608. package/dist/styles/top-navigation.css +14 -0
  609. package/dist/styles/tour.css +8 -0
  610. package/dist/styles/transfer.css +26 -0
  611. package/dist/styles/tree.css +6 -0
  612. package/dist/styles/typography.css +2 -0
  613. package/dist/styles/upload.css +16 -0
  614. package/dist/styles/visually-hidden.css +2 -0
  615. package/dist/styles/wizard.css +22 -0
  616. package/dist/styles.css +1 -1
  617. package/dist/switch-Tr3blHWc.js +144 -0
  618. package/dist/switch.js +1 -1
  619. package/dist/{table-Cipi2c5X.js → table-Bm-PAtCn.js} +353 -337
  620. package/dist/table-of-contents-kFr_3Dzs.js +471 -0
  621. package/dist/table-of-contents.js +1 -1
  622. package/dist/table.js +1 -1
  623. package/dist/tabs-C-Bc7WmQ.js +361 -0
  624. package/dist/tabs.js +1 -1
  625. package/dist/tag-BYzDYvM_.js +374 -0
  626. package/dist/tag.js +1 -1
  627. package/dist/tags-input-_cYR2JSK.js +729 -0
  628. package/dist/tags-input.js +1 -1
  629. package/dist/text-field-DEm3MEe2.js +205 -0
  630. package/dist/text-field.js +1 -1
  631. package/dist/textarea-BRRn55L2.js +100 -0
  632. package/dist/textarea.js +1 -1
  633. package/dist/theme.js +10 -9
  634. package/dist/time-field-C9dFaZOx.js +366 -0
  635. package/dist/time-field.js +1 -1
  636. package/dist/time-picker-Cw9NezUE.js +436 -0
  637. package/dist/time-picker.js +1 -1
  638. package/dist/time-range-picker-DmmUqGjV.js +800 -0
  639. package/dist/time-range-picker.js +1 -1
  640. package/dist/timeline-BiL2CXfn.js +449 -0
  641. package/dist/timeline.js +1 -1
  642. package/dist/toast-DHDVXIew.js +470 -0
  643. package/dist/toast.js +1 -1
  644. package/dist/toggle-group-DiKxYOwh.js +145 -0
  645. package/dist/toggle-group.js +1 -1
  646. package/dist/toggle-zDTD5G3H.js +67 -0
  647. package/dist/toggle.js +1 -1
  648. package/dist/toolbar-CSiDqC8L.js +243 -0
  649. package/dist/toolbar.js +1 -1
  650. package/dist/tooltip-DrFiRlH8.js +411 -0
  651. package/dist/tooltip.js +1 -1
  652. package/dist/top-navigation-C73WDqLg.js +744 -0
  653. package/dist/top-navigation.js +1 -1
  654. package/dist/tour-BYNqu1dL.js +809 -0
  655. package/dist/tour.js +1 -1
  656. package/dist/transfer-CmPxesyZ.js +606 -0
  657. package/dist/transfer.js +1 -1
  658. package/dist/{tree-C6fYJqT9.js → tree-D-y-0TrL.js} +298 -287
  659. package/dist/tree.js +1 -1
  660. package/dist/types/accordion/accordion.d.ts.map +1 -1
  661. package/dist/types/action-bar/action-bar-overflow.d.ts.map +1 -1
  662. package/dist/types/action-bar/action-bar-parts.d.ts.map +1 -1
  663. package/dist/types/action-bar/action-bar.d.ts.map +1 -1
  664. package/dist/types/action-bar/action-bar.types.d.ts +2 -2
  665. package/dist/types/action-sheet/action-sheet-parts.d.ts.map +1 -1
  666. package/dist/types/alert/alert-parts.d.ts +5 -3
  667. package/dist/types/alert/alert-parts.d.ts.map +1 -1
  668. package/dist/types/alert/alert.d.ts +1 -1
  669. package/dist/types/alert/alert.d.ts.map +1 -1
  670. package/dist/types/alert/alert.types.d.ts +11 -3
  671. package/dist/types/alert/alert.types.d.ts.map +1 -1
  672. package/dist/types/alert/index.d.ts +1 -1
  673. package/dist/types/alert/index.d.ts.map +1 -1
  674. package/dist/types/app-shell/app-shell-demo/atrio.d.ts.map +1 -1
  675. package/dist/types/app-shell/app-shell-demo/aurora.d.ts +6 -6
  676. package/dist/types/app-shell/app-shell-demo/aurora.d.ts.map +1 -1
  677. package/dist/types/app-shell/app-shell-demo/cadence.d.ts.map +1 -1
  678. package/dist/types/app-shell/app-shell-parts.d.ts +8 -6
  679. package/dist/types/app-shell/app-shell-parts.d.ts.map +1 -1
  680. package/dist/types/app-shell/app-shell.d.ts.map +1 -1
  681. package/dist/types/app-shell/app-shell.types.d.ts +22 -15
  682. package/dist/types/app-shell/app-shell.types.d.ts.map +1 -1
  683. package/dist/types/app-shell/index.d.ts +2 -2
  684. package/dist/types/app-shell/index.d.ts.map +1 -1
  685. package/dist/types/aspect-ratio/aspect-ratio.d.ts.map +1 -1
  686. package/dist/types/attachment/attachment-parts.d.ts.map +1 -1
  687. package/dist/types/attachment/attachment.d.ts.map +1 -1
  688. package/dist/types/avatar/avatar.d.ts +1 -1
  689. package/dist/types/avatar/avatar.d.ts.map +1 -1
  690. package/dist/types/avatar/avatar.types.d.ts +18 -9
  691. package/dist/types/avatar/avatar.types.d.ts.map +1 -1
  692. package/dist/types/avatar/index.d.ts +1 -1
  693. package/dist/types/avatar/index.d.ts.map +1 -1
  694. package/dist/types/avatar-group/avatar-group.d.ts.map +1 -1
  695. package/dist/types/badge/badge-anchor.d.ts.map +1 -1
  696. package/dist/types/badge/badge.d.ts.map +1 -1
  697. package/dist/types/badge/badge.types.d.ts +5 -5
  698. package/dist/types/badge/badge.types.d.ts.map +1 -1
  699. package/dist/types/breadcrumb/breadcrumb-parts.d.ts +1 -1
  700. package/dist/types/breadcrumb/breadcrumb-parts.d.ts.map +1 -1
  701. package/dist/types/breadcrumb/breadcrumb.d.ts.map +1 -1
  702. package/dist/types/breadcrumb/breadcrumb.types.d.ts +2 -1
  703. package/dist/types/breadcrumb/breadcrumb.types.d.ts.map +1 -1
  704. package/dist/types/button/button-content.d.ts.map +1 -1
  705. package/dist/types/button/button-indicator.d.ts.map +1 -1
  706. package/dist/types/button/button-link.d.ts.map +1 -1
  707. package/dist/types/button/button-root.d.ts +25 -5
  708. package/dist/types/button/button-root.d.ts.map +1 -1
  709. package/dist/types/button/button.constants.d.ts +2 -2
  710. package/dist/types/button/button.constants.d.ts.map +1 -1
  711. package/dist/types/button/button.d.ts.map +1 -1
  712. package/dist/types/button/button.types.d.ts +21 -1
  713. package/dist/types/button/button.types.d.ts.map +1 -1
  714. package/dist/types/button/icon-button-link.d.ts +9 -0
  715. package/dist/types/button/icon-button-link.d.ts.map +1 -0
  716. package/dist/types/button/icon-button.d.ts.map +1 -1
  717. package/dist/types/button/index.d.ts +2 -1
  718. package/dist/types/button/index.d.ts.map +1 -1
  719. package/dist/types/button/spinner-ring.d.ts +8 -0
  720. package/dist/types/button/spinner-ring.d.ts.map +1 -0
  721. package/dist/types/button/toggle-button.d.ts.map +1 -1
  722. package/dist/types/button-group/button-group-separator.d.ts +1 -1
  723. package/dist/types/button-group/button-group-separator.d.ts.map +1 -1
  724. package/dist/types/button-group/button-group.d.ts.map +1 -1
  725. package/dist/types/calendar/calendar.d.ts +2 -1
  726. package/dist/types/calendar/calendar.d.ts.map +1 -1
  727. package/dist/types/calendar/calendar.types.d.ts +20 -0
  728. package/dist/types/calendar/calendar.types.d.ts.map +1 -1
  729. package/dist/types/calendar/index.d.ts +1 -1
  730. package/dist/types/calendar/index.d.ts.map +1 -1
  731. package/dist/types/card/card-actions.d.ts.map +1 -1
  732. package/dist/types/card/card-body.d.ts.map +1 -1
  733. package/dist/types/card/card-footer.d.ts.map +1 -1
  734. package/dist/types/card/card-header.d.ts.map +1 -1
  735. package/dist/types/card/card-link.d.ts.map +1 -1
  736. package/dist/types/card/card-media.d.ts.map +1 -1
  737. package/dist/types/card/card-selection.d.ts +1 -1
  738. package/dist/types/card/card-selection.d.ts.map +1 -1
  739. package/dist/types/card/card.d.ts.map +1 -1
  740. package/dist/types/card/card.types.d.ts +2 -1
  741. package/dist/types/card/card.types.d.ts.map +1 -1
  742. package/dist/types/carousel/carousel-catalogue.d.ts +6 -6
  743. package/dist/types/carousel/carousel-parts.d.ts +2 -2
  744. package/dist/types/carousel/carousel-parts.d.ts.map +1 -1
  745. package/dist/types/carousel/carousel.d.ts.map +1 -1
  746. package/dist/types/cascader/cascader-surface.d.ts.map +1 -1
  747. package/dist/types/cascader/cascader.d.ts.map +1 -1
  748. package/dist/types/chart/chart.d.ts +2 -2
  749. package/dist/types/chart/chart.d.ts.map +1 -1
  750. package/dist/types/chart/chart.types.d.ts +10 -6
  751. package/dist/types/chart/chart.types.d.ts.map +1 -1
  752. package/dist/types/checkbox/checkbox.d.ts.map +1 -1
  753. package/dist/types/checkbox-group/checkbox-group.d.ts.map +1 -1
  754. package/dist/types/code-block/code-block.d.ts.map +1 -1
  755. package/dist/types/code-block/code-block.types.d.ts +1 -1
  756. package/dist/types/collapsible/collapsible-parts.d.ts.map +1 -1
  757. package/dist/types/collapsible/collapsible.d.ts.map +1 -1
  758. package/dist/types/collapsible/collapsible.types.d.ts +1 -1
  759. package/dist/types/color-picker/color-picker.d.ts +7 -7
  760. package/dist/types/color-picker/color-picker.d.ts.map +1 -1
  761. package/dist/types/color-picker/color-picker.types.d.ts +5 -5
  762. package/dist/types/color-picker/color-picker.types.d.ts.map +1 -1
  763. package/dist/types/column-manager/column-manager.d.ts +2 -2
  764. package/dist/types/column-manager/column-manager.d.ts.map +1 -1
  765. package/dist/types/combobox/combobox-collection.d.ts +1 -1
  766. package/dist/types/combobox/combobox-defaults.d.ts +1 -1
  767. package/dist/types/combobox/combobox-items.d.ts.map +1 -1
  768. package/dist/types/combobox/combobox-parts.d.ts.map +1 -1
  769. package/dist/types/command-palette/command-palette-defaults.d.ts +1 -1
  770. package/dist/types/command-palette/command-palette.d.ts.map +1 -1
  771. package/dist/types/container/container-breakout.d.ts.map +1 -1
  772. package/dist/types/container/container.d.ts.map +1 -1
  773. package/dist/types/context-menu/context-menu.d.ts.map +1 -1
  774. package/dist/types/currency-field/currency-field-defaults.d.ts.map +1 -1
  775. package/dist/types/currency-field/currency-field.d.ts +1 -1
  776. package/dist/types/currency-field/currency-field.d.ts.map +1 -1
  777. package/dist/types/currency-field/currency-field.types.d.ts +14 -5
  778. package/dist/types/currency-field/currency-field.types.d.ts.map +1 -1
  779. package/dist/types/dashboard-grid/dashboard-grid-context.d.ts +14 -1
  780. package/dist/types/dashboard-grid/dashboard-grid-context.d.ts.map +1 -1
  781. package/dist/types/dashboard-grid/dashboard-grid.d.ts +1 -1
  782. package/dist/types/dashboard-grid/dashboard-grid.d.ts.map +1 -1
  783. package/dist/types/dashboard-grid/dashboard-grid.types.d.ts +27 -3
  784. package/dist/types/dashboard-grid/dashboard-grid.types.d.ts.map +1 -1
  785. package/dist/types/dashboard-grid/dashboard-widget.d.ts +1 -1
  786. package/dist/types/dashboard-grid/dashboard-widget.d.ts.map +1 -1
  787. package/dist/types/dashboard-grid/index.d.ts +1 -1
  788. package/dist/types/dashboard-grid/index.d.ts.map +1 -1
  789. package/dist/types/dashboard-grid/use-persisted-dashboard-layout.d.ts +2 -1
  790. package/dist/types/dashboard-grid/use-persisted-dashboard-layout.d.ts.map +1 -1
  791. package/dist/types/data-grid/data-grid-body.d.ts +7 -2
  792. package/dist/types/data-grid/data-grid-body.d.ts.map +1 -1
  793. package/dist/types/data-grid/data-grid-context.d.ts +29 -0
  794. package/dist/types/data-grid/data-grid-context.d.ts.map +1 -1
  795. package/dist/types/data-grid/data-grid-filter.d.ts.map +1 -1
  796. package/dist/types/data-grid/data-grid-header.d.ts.map +1 -1
  797. package/dist/types/data-grid/data-grid.d.ts +1 -1
  798. package/dist/types/data-grid/data-grid.d.ts.map +1 -1
  799. package/dist/types/data-grid/data-grid.types.d.ts +24 -1
  800. package/dist/types/data-grid/data-grid.types.d.ts.map +1 -1
  801. package/dist/types/data-grid/index.d.ts +1 -1
  802. package/dist/types/data-grid/index.d.ts.map +1 -1
  803. package/dist/types/data-list/data-list.d.ts.map +1 -1
  804. package/dist/types/date-field/date-field.d.ts +1 -1
  805. package/dist/types/date-field/date-field.d.ts.map +1 -1
  806. package/dist/types/date-field/date-field.types.d.ts +7 -0
  807. package/dist/types/date-field/date-field.types.d.ts.map +1 -1
  808. package/dist/types/date-picker/date-picker.d.ts +5 -1
  809. package/dist/types/date-picker/date-picker.d.ts.map +1 -1
  810. package/dist/types/date-picker/date-picker.types.d.ts +20 -2
  811. package/dist/types/date-picker/date-picker.types.d.ts.map +1 -1
  812. package/dist/types/date-picker/index.d.ts +1 -1
  813. package/dist/types/date-picker/index.d.ts.map +1 -1
  814. package/dist/types/date-range-picker/date-range-picker.d.ts.map +1 -1
  815. package/dist/types/datetime-field/datetime-field.d.ts.map +1 -1
  816. package/dist/types/datetime-picker/datetime-picker.d.ts.map +1 -1
  817. package/dist/types/datetime-range-picker/datetime-range-picker.d.ts.map +1 -1
  818. package/dist/types/description-list/description-list-clipboard.d.ts +1 -1
  819. package/dist/types/description-list/description-list-defaults.d.ts.map +1 -1
  820. package/dist/types/description-list/description-list-parts.d.ts.map +1 -1
  821. package/dist/types/description-list/description-list.d.ts +1 -1
  822. package/dist/types/description-list/description-list.d.ts.map +1 -1
  823. package/dist/types/description-list/description-list.types.d.ts +7 -0
  824. package/dist/types/description-list/description-list.types.d.ts.map +1 -1
  825. package/dist/types/description-list/index.d.ts +1 -1
  826. package/dist/types/description-list/index.d.ts.map +1 -1
  827. package/dist/types/detail-panel/detail-panel-demo.d.ts.map +1 -1
  828. package/dist/types/detail-panel/detail-panel-parts.d.ts +2 -1
  829. package/dist/types/detail-panel/detail-panel-parts.d.ts.map +1 -1
  830. package/dist/types/detail-panel/detail-panel.d.ts.map +1 -1
  831. package/dist/types/dialog/dialog-parts.d.ts.map +1 -1
  832. package/dist/types/dialog/dialog.d.ts.map +1 -1
  833. package/dist/types/dialog/dialog.types.d.ts +13 -3
  834. package/dist/types/dialog/dialog.types.d.ts.map +1 -1
  835. package/dist/types/divider/divider.d.ts.map +1 -1
  836. package/dist/types/drawer/drawer-parts.d.ts +3 -1
  837. package/dist/types/drawer/drawer-parts.d.ts.map +1 -1
  838. package/dist/types/drawer/drawer.d.ts +1 -1
  839. package/dist/types/drawer/drawer.d.ts.map +1 -1
  840. package/dist/types/drawer/drawer.types.d.ts +9 -1
  841. package/dist/types/drawer/drawer.types.d.ts.map +1 -1
  842. package/dist/types/drawer/index.d.ts +2 -2
  843. package/dist/types/drawer/index.d.ts.map +1 -1
  844. package/dist/types/entity-picker/entity-picker-control.d.ts.map +1 -1
  845. package/dist/types/entity-picker/entity-picker-option-parts.d.ts +13 -0
  846. package/dist/types/entity-picker/entity-picker-option-parts.d.ts.map +1 -0
  847. package/dist/types/entity-picker/entity-picker-popup.d.ts +0 -7
  848. package/dist/types/entity-picker/entity-picker-popup.d.ts.map +1 -1
  849. package/dist/types/entity-picker/entity-picker.d.ts +1 -1
  850. package/dist/types/entity-picker/entity-picker.types.d.ts +8 -0
  851. package/dist/types/entity-picker/entity-picker.types.d.ts.map +1 -1
  852. package/dist/types/entity-picker/index.d.ts +1 -0
  853. package/dist/types/entity-picker/index.d.ts.map +1 -1
  854. package/dist/types/event-calendar/event-calendar-event.d.ts.map +1 -1
  855. package/dist/types/event-calendar/event-calendar-list.d.ts.map +1 -1
  856. package/dist/types/event-calendar/event-calendar-month.d.ts.map +1 -1
  857. package/dist/types/event-calendar/event-calendar-time-grid.d.ts.map +1 -1
  858. package/dist/types/event-calendar/event-calendar.d.ts.map +1 -1
  859. package/dist/types/field/field-parts.d.ts +1 -1
  860. package/dist/types/field/field-parts.d.ts.map +1 -1
  861. package/dist/types/field/field.d.ts +2 -2
  862. package/dist/types/field/field.d.ts.map +1 -1
  863. package/dist/types/field/field.types.d.ts +11 -1
  864. package/dist/types/field/field.types.d.ts.map +1 -1
  865. package/dist/types/field/index.d.ts +1 -1
  866. package/dist/types/field/index.d.ts.map +1 -1
  867. package/dist/types/field-group/field-group-parts.d.ts.map +1 -1
  868. package/dist/types/field-group/field-group.d.ts +1 -1
  869. package/dist/types/field-group/field-group.d.ts.map +1 -1
  870. package/dist/types/field-group/field-group.types.d.ts +9 -0
  871. package/dist/types/field-group/field-group.types.d.ts.map +1 -1
  872. package/dist/types/field-group/index.d.ts +1 -1
  873. package/dist/types/field-group/index.d.ts.map +1 -1
  874. package/dist/types/filter-bar/filter-bar-rules.d.ts.map +1 -1
  875. package/dist/types/filter-bar/filter-bar.d.ts.map +1 -1
  876. package/dist/types/form/form-parts.d.ts +7 -1
  877. package/dist/types/form/form-parts.d.ts.map +1 -1
  878. package/dist/types/form/form.d.ts +1 -1
  879. package/dist/types/form/form.d.ts.map +1 -1
  880. package/dist/types/form/form.types.d.ts +4 -1
  881. package/dist/types/form/form.types.d.ts.map +1 -1
  882. package/dist/types/form/index.d.ts +2 -2
  883. package/dist/types/form/index.d.ts.map +1 -1
  884. package/dist/types/fullscreen/fullscreen.d.ts.map +1 -1
  885. package/dist/types/grid/grid.d.ts.map +1 -1
  886. package/dist/types/highlight/highlight.d.ts.map +1 -1
  887. package/dist/types/highlight/highlight.types.d.ts +1 -1
  888. package/dist/types/hover-card/hover-card.d.ts.map +1 -1
  889. package/dist/types/i18n/slotted-provider.d.ts +6 -0
  890. package/dist/types/i18n/slotted-provider.d.ts.map +1 -1
  891. package/dist/types/icon/glyph.d.ts +4 -1
  892. package/dist/types/icon/glyph.d.ts.map +1 -1
  893. package/dist/types/icon/icon.d.ts +2 -2
  894. package/dist/types/icon/icon.d.ts.map +1 -1
  895. package/dist/types/icon/icon.types.d.ts +2 -2
  896. package/dist/types/icon/icon.types.d.ts.map +1 -1
  897. package/dist/types/image/image.d.ts +1 -1
  898. package/dist/types/image/image.d.ts.map +1 -1
  899. package/dist/types/import-export-center/import-export-center-defaults.d.ts +3 -3
  900. package/dist/types/import-export-center/import-export-center-demo.d.ts +2 -2
  901. package/dist/types/import-export-center/import-export-center-demo.d.ts.map +1 -1
  902. package/dist/types/import-export-center/import-export-center.d.ts.map +1 -1
  903. package/dist/types/import-export-center/import-export-center.types.d.ts +3 -3
  904. package/dist/types/import-export-center/use-job-toasts.d.ts +3 -3
  905. package/dist/types/index.d.ts +2 -0
  906. package/dist/types/index.d.ts.map +1 -1
  907. package/dist/types/inline/inline.d.ts +1 -1
  908. package/dist/types/inline/inline.d.ts.map +1 -1
  909. package/dist/types/inline-message/index.d.ts +2 -2
  910. package/dist/types/inline-message/index.d.ts.map +1 -1
  911. package/dist/types/inline-message/inline-message-defaults.d.ts +2 -2
  912. package/dist/types/inline-message/inline-message-defaults.d.ts.map +1 -1
  913. package/dist/types/inline-message/inline-message.d.ts +15 -7
  914. package/dist/types/inline-message/inline-message.d.ts.map +1 -1
  915. package/dist/types/inline-message/inline-message.types.d.ts +7 -5
  916. package/dist/types/inline-message/inline-message.types.d.ts.map +1 -1
  917. package/dist/types/kbd/kbd.types.d.ts +1 -1
  918. package/dist/types/kbd/key-element.d.ts.map +1 -1
  919. package/dist/types/kbd/shortcut.d.ts.map +1 -1
  920. package/dist/types/link/index.d.ts +1 -1
  921. package/dist/types/link/index.d.ts.map +1 -1
  922. package/dist/types/link/link.d.ts +1 -1
  923. package/dist/types/link/link.d.ts.map +1 -1
  924. package/dist/types/link/link.types.d.ts +9 -1
  925. package/dist/types/link/link.types.d.ts.map +1 -1
  926. package/dist/types/list/list-parts.d.ts.map +1 -1
  927. package/dist/types/list/list.d.ts.map +1 -1
  928. package/dist/types/list/list.types.d.ts +1 -1
  929. package/dist/types/list-item/list-item-content.d.ts +3 -3
  930. package/dist/types/list-item/list-item-content.d.ts.map +1 -1
  931. package/dist/types/list-item/list-item-nesting.d.ts +15 -0
  932. package/dist/types/list-item/list-item-nesting.d.ts.map +1 -0
  933. package/dist/types/list-item/list-item-parts.d.ts +3 -3
  934. package/dist/types/list-item/list-item-parts.d.ts.map +1 -1
  935. package/dist/types/list-item/list-item.d.ts.map +1 -1
  936. package/dist/types/list-item/list-item.types.d.ts +3 -2
  937. package/dist/types/list-item/list-item.types.d.ts.map +1 -1
  938. package/dist/types/listbox/listbox-defaults.d.ts +1 -1
  939. package/dist/types/listbox/listbox-parts.d.ts +2 -2
  940. package/dist/types/listbox/listbox-parts.d.ts.map +1 -1
  941. package/dist/types/listbox/listbox.d.ts.map +1 -1
  942. package/dist/types/loading-overlay/loading-overlay.d.ts.map +1 -1
  943. package/dist/types/markdown/markdown.d.ts +1 -1
  944. package/dist/types/markdown/markdown.d.ts.map +1 -1
  945. package/dist/types/markdown/markdown.types.d.ts +6 -1
  946. package/dist/types/markdown/markdown.types.d.ts.map +1 -1
  947. package/dist/types/media-viewer/index.d.ts +9 -0
  948. package/dist/types/media-viewer/index.d.ts.map +1 -0
  949. package/dist/types/media-viewer/media-viewer-anatomy.d.ts +3 -0
  950. package/dist/types/media-viewer/media-viewer-anatomy.d.ts.map +1 -0
  951. package/dist/types/media-viewer/media-viewer-bar.d.ts +16 -0
  952. package/dist/types/media-viewer/media-viewer-bar.d.ts.map +1 -0
  953. package/dist/types/media-viewer/media-viewer-context.d.ts +25 -0
  954. package/dist/types/media-viewer/media-viewer-context.d.ts.map +1 -0
  955. package/dist/types/media-viewer/media-viewer-controls.d.ts +14 -0
  956. package/dist/types/media-viewer/media-viewer-controls.d.ts.map +1 -0
  957. package/dist/types/media-viewer/media-viewer-defaults.d.ts +15 -0
  958. package/dist/types/media-viewer/media-viewer-defaults.d.ts.map +1 -0
  959. package/dist/types/media-viewer/media-viewer-fallback.d.ts +5 -0
  960. package/dist/types/media-viewer/media-viewer-fallback.d.ts.map +1 -0
  961. package/dist/types/media-viewer/media-viewer-media.d.ts +3 -0
  962. package/dist/types/media-viewer/media-viewer-media.d.ts.map +1 -0
  963. package/dist/types/media-viewer/media-viewer-stage.d.ts +9 -0
  964. package/dist/types/media-viewer/media-viewer-stage.d.ts.map +1 -0
  965. package/dist/types/media-viewer/media-viewer.d.ts +10 -0
  966. package/dist/types/media-viewer/media-viewer.d.ts.map +1 -0
  967. package/dist/types/media-viewer/media-viewer.types.d.ts +75 -0
  968. package/dist/types/media-viewer/media-viewer.types.d.ts.map +1 -0
  969. package/dist/types/media-viewer/use-media-viewer-state.d.ts +29 -0
  970. package/dist/types/media-viewer/use-media-viewer-state.d.ts.map +1 -0
  971. package/dist/types/menu/index.d.ts +1 -1
  972. package/dist/types/menu/index.d.ts.map +1 -1
  973. package/dist/types/menu/menu-defaults.d.ts +1 -1
  974. package/dist/types/menu/menu-defaults.d.ts.map +1 -1
  975. package/dist/types/menu/menu-items.d.ts.map +1 -1
  976. package/dist/types/menu/menu-parts.d.ts +1 -1
  977. package/dist/types/menu/menu-parts.d.ts.map +1 -1
  978. package/dist/types/menu/menu.d.ts +1 -1
  979. package/dist/types/menu/menu.d.ts.map +1 -1
  980. package/dist/types/menu/menu.types.d.ts +10 -0
  981. package/dist/types/menu/menu.types.d.ts.map +1 -1
  982. package/dist/types/menubar/menubar.d.ts.map +1 -1
  983. package/dist/types/message/bubble.d.ts.map +1 -1
  984. package/dist/types/message/message-demo.d.ts +2 -2
  985. package/dist/types/message/message-demo.d.ts.map +1 -1
  986. package/dist/types/message/message-parts.d.ts.map +1 -1
  987. package/dist/types/message/message.d.ts.map +1 -1
  988. package/dist/types/message/message.types.d.ts +1 -1
  989. package/dist/types/message/message.types.d.ts.map +1 -1
  990. package/dist/types/message-scroller/message-scroller.d.ts +1 -1
  991. package/dist/types/message-scroller/message-scroller.d.ts.map +1 -1
  992. package/dist/types/multi-select/multi-select-chips.d.ts.map +1 -1
  993. package/dist/types/multi-select/multi-select-items.d.ts.map +1 -1
  994. package/dist/types/multi-select/multi-select-parts.d.ts.map +1 -1
  995. package/dist/types/navigation-menu/navigation-menu-parts.d.ts.map +1 -1
  996. package/dist/types/navigation-menu/navigation-menu.d.ts.map +1 -1
  997. package/dist/types/navigation-menu/navigation-menu.types.d.ts +2 -1
  998. package/dist/types/navigation-menu/navigation-menu.types.d.ts.map +1 -1
  999. package/dist/types/notification-center/notification-center-defaults.d.ts +2 -2
  1000. package/dist/types/notification-center/notification-center-demo.d.ts +1 -1
  1001. package/dist/types/notification-center/notification-center-demo.d.ts.map +1 -1
  1002. package/dist/types/notification-center/notification-center.d.ts.map +1 -1
  1003. package/dist/types/notification-center/notification-center.types.d.ts +3 -3
  1004. package/dist/types/notification-center/notification-center.types.d.ts.map +1 -1
  1005. package/dist/types/number-field/number-field.d.ts.map +1 -1
  1006. package/dist/types/otp-input/otp-input.d.ts +1 -1
  1007. package/dist/types/otp-input/otp-input.d.ts.map +1 -1
  1008. package/dist/types/page/index.d.ts +1 -1
  1009. package/dist/types/page/index.d.ts.map +1 -1
  1010. package/dist/types/page/page-demo.d.ts +2 -2
  1011. package/dist/types/page/page-demo.d.ts.map +1 -1
  1012. package/dist/types/page/page.d.ts +6 -0
  1013. package/dist/types/page/page.d.ts.map +1 -1
  1014. package/dist/types/page-header/page-header-defaults.d.ts +1 -1
  1015. package/dist/types/page-header/page-header-defaults.d.ts.map +1 -1
  1016. package/dist/types/page-header/page-header-parts.d.ts +3 -3
  1017. package/dist/types/page-header/page-header-parts.d.ts.map +1 -1
  1018. package/dist/types/page-header/page-header.d.ts +1 -1
  1019. package/dist/types/page-header/page-header.d.ts.map +1 -1
  1020. package/dist/types/page-header/page-header.types.d.ts +11 -1
  1021. package/dist/types/page-header/page-header.types.d.ts.map +1 -1
  1022. package/dist/types/pagination/pagination-parts.d.ts.map +1 -1
  1023. package/dist/types/pagination/pagination.d.ts.map +1 -1
  1024. package/dist/types/popover/popover-parts.d.ts.map +1 -1
  1025. package/dist/types/progress-indicator/loader.d.ts +1 -1
  1026. package/dist/types/progress-indicator/progress-bar.d.ts.map +1 -1
  1027. package/dist/types/progress-indicator/progress-circle.d.ts +1 -1
  1028. package/dist/types/progress-indicator/progress-circle.d.ts.map +1 -1
  1029. package/dist/types/progress-indicator/progress-indicator.types.d.ts +2 -2
  1030. package/dist/types/progress-indicator/progress-indicator.types.d.ts.map +1 -1
  1031. package/dist/types/progress-indicator/progress-parts.d.ts.map +1 -1
  1032. package/dist/types/progress-indicator/use-progress-indicator.d.ts +6 -0
  1033. package/dist/types/progress-indicator/use-progress-indicator.d.ts.map +1 -1
  1034. package/dist/types/prompt-composer/index.d.ts +2 -2
  1035. package/dist/types/prompt-composer/index.d.ts.map +1 -1
  1036. package/dist/types/prompt-composer/prompt-composer-defaults.d.ts.map +1 -1
  1037. package/dist/types/prompt-composer/prompt-composer.d.ts +9 -2
  1038. package/dist/types/prompt-composer/prompt-composer.d.ts.map +1 -1
  1039. package/dist/types/prompt-composer/prompt-composer.types.d.ts +16 -1
  1040. package/dist/types/prompt-composer/prompt-composer.types.d.ts.map +1 -1
  1041. package/dist/types/prose/prose-parts.d.ts.map +1 -1
  1042. package/dist/types/prose/prose-scroll.d.ts.map +1 -1
  1043. package/dist/types/prose/prose.d.ts.map +1 -1
  1044. package/dist/types/radio-group/radio-group-parts.d.ts.map +1 -1
  1045. package/dist/types/radio-group/radio-group.d.ts.map +1 -1
  1046. package/dist/types/rating/rating-display.d.ts.map +1 -1
  1047. package/dist/types/rating/rating-summary.d.ts +1 -1
  1048. package/dist/types/rating/rating-summary.d.ts.map +1 -1
  1049. package/dist/types/rating/rating.d.ts.map +1 -1
  1050. package/dist/types/rating/rating.types.d.ts +2 -2
  1051. package/dist/types/rating/rating.types.d.ts.map +1 -1
  1052. package/dist/types/result-state/result-state-demo.d.ts +1 -1
  1053. package/dist/types/result-state/result-state-parts.d.ts.map +1 -1
  1054. package/dist/types/result-state/result-state.d.ts.map +1 -1
  1055. package/dist/types/result-state/result-state.types.d.ts +1 -1
  1056. package/dist/types/roving-focus/index.d.ts +3 -0
  1057. package/dist/types/roving-focus/index.d.ts.map +1 -0
  1058. package/dist/types/roving-focus/roving-focus.d.ts +48 -0
  1059. package/dist/types/roving-focus/roving-focus.d.ts.map +1 -0
  1060. package/dist/types/saved-views/saved-views.d.ts.map +1 -1
  1061. package/dist/types/scroll-area/scroll-area.d.ts.map +1 -1
  1062. package/dist/types/section/index.d.ts +1 -1
  1063. package/dist/types/section/index.d.ts.map +1 -1
  1064. package/dist/types/section/section-parts.d.ts +7 -2
  1065. package/dist/types/section/section-parts.d.ts.map +1 -1
  1066. package/dist/types/section/section.d.ts.map +1 -1
  1067. package/dist/types/segmented-control/segmented-control-parts.d.ts.map +1 -1
  1068. package/dist/types/segmented-control/segmented-control.d.ts.map +1 -1
  1069. package/dist/types/segmented-control/segmented-control.types.d.ts +1 -1
  1070. package/dist/types/select/select-items.d.ts.map +1 -1
  1071. package/dist/types/select/select-parts.d.ts +1 -1
  1072. package/dist/types/select/select-parts.d.ts.map +1 -1
  1073. package/dist/types/select/select-tags.d.ts.map +1 -1
  1074. package/dist/types/select/select.d.ts.map +1 -1
  1075. package/dist/types/select/select.types.d.ts +6 -2
  1076. package/dist/types/select/select.types.d.ts.map +1 -1
  1077. package/dist/types/side-navigation/side-navigation-parts.d.ts.map +1 -1
  1078. package/dist/types/side-navigation/side-navigation.d.ts +1 -1
  1079. package/dist/types/side-navigation/side-navigation.d.ts.map +1 -1
  1080. package/dist/types/side-navigation/side-navigation.types.d.ts +2 -1
  1081. package/dist/types/side-navigation/side-navigation.types.d.ts.map +1 -1
  1082. package/dist/types/skeleton/skeleton-region.d.ts.map +1 -1
  1083. package/dist/types/skeleton/skeleton-text.d.ts.map +1 -1
  1084. package/dist/types/skeleton/skeleton.d.ts.map +1 -1
  1085. package/dist/types/slider/slider.d.ts.map +1 -1
  1086. package/dist/types/sparkline/sparkline.d.ts.map +1 -1
  1087. package/dist/types/sparkline/sparkline.types.d.ts +3 -1
  1088. package/dist/types/sparkline/sparkline.types.d.ts.map +1 -1
  1089. package/dist/types/split-button/split-button-parts.d.ts.map +1 -1
  1090. package/dist/types/split-button/split-button.d.ts.map +1 -1
  1091. package/dist/types/splitter/splitter.d.ts.map +1 -1
  1092. package/dist/types/stack/stack.d.ts.map +1 -1
  1093. package/dist/types/stat-card/index.d.ts +1 -1
  1094. package/dist/types/stat-card/index.d.ts.map +1 -1
  1095. package/dist/types/stat-card/stat-card-delta.d.ts.map +1 -1
  1096. package/dist/types/stat-card/stat-card-parts.d.ts +7 -3
  1097. package/dist/types/stat-card/stat-card-parts.d.ts.map +1 -1
  1098. package/dist/types/stat-card/stat-card-value.d.ts +3 -2
  1099. package/dist/types/stat-card/stat-card-value.d.ts.map +1 -1
  1100. package/dist/types/stat-card/stat-card.d.ts +2 -2
  1101. package/dist/types/stat-card/stat-card.d.ts.map +1 -1
  1102. package/dist/types/stat-card/stat-card.types.d.ts +18 -3
  1103. package/dist/types/stat-card/stat-card.types.d.ts.map +1 -1
  1104. package/dist/types/status-indicator/status-indicator.d.ts +1 -1
  1105. package/dist/types/status-indicator/status-indicator.d.ts.map +1 -1
  1106. package/dist/types/status-indicator/status-indicator.types.d.ts +9 -3
  1107. package/dist/types/status-indicator/status-indicator.types.d.ts.map +1 -1
  1108. package/dist/types/stepper/stepper-parts.d.ts.map +1 -1
  1109. package/dist/types/stepper/stepper.d.ts.map +1 -1
  1110. package/dist/types/switch/switch.d.ts.map +1 -1
  1111. package/dist/types/switch/switch.types.d.ts +1 -1
  1112. package/dist/types/table/index.d.ts +1 -1
  1113. package/dist/types/table/index.d.ts.map +1 -1
  1114. package/dist/types/table/table-content.d.ts.map +1 -1
  1115. package/dist/types/table/table-defaults.d.ts.map +1 -1
  1116. package/dist/types/table/table-filter.d.ts.map +1 -1
  1117. package/dist/types/table/table-parts.d.ts +5 -1
  1118. package/dist/types/table/table-parts.d.ts.map +1 -1
  1119. package/dist/types/table/table.d.ts +1 -1
  1120. package/dist/types/table/table.d.ts.map +1 -1
  1121. package/dist/types/table/table.types.d.ts +16 -1
  1122. package/dist/types/table/table.types.d.ts.map +1 -1
  1123. package/dist/types/table-of-contents/table-of-contents-demo.d.ts.map +1 -1
  1124. package/dist/types/table-of-contents/table-of-contents-parts.d.ts.map +1 -1
  1125. package/dist/types/table-of-contents/table-of-contents.d.ts.map +1 -1
  1126. package/dist/types/table-of-contents/table-of-contents.types.d.ts +2 -1
  1127. package/dist/types/table-of-contents/table-of-contents.types.d.ts.map +1 -1
  1128. package/dist/types/tabs/tabs-parts.d.ts +2 -4
  1129. package/dist/types/tabs/tabs-parts.d.ts.map +1 -1
  1130. package/dist/types/tabs/tabs.d.ts +1 -1
  1131. package/dist/types/tabs/tabs.d.ts.map +1 -1
  1132. package/dist/types/tabs/tabs.types.d.ts +20 -2
  1133. package/dist/types/tabs/tabs.types.d.ts.map +1 -1
  1134. package/dist/types/tag/tag-button.d.ts.map +1 -1
  1135. package/dist/types/tag/tag-chip.d.ts +2 -2
  1136. package/dist/types/tag/tag-chip.d.ts.map +1 -1
  1137. package/dist/types/tag/tag-group.d.ts.map +1 -1
  1138. package/dist/types/tag/tag-link.d.ts.map +1 -1
  1139. package/dist/types/tag/tag-toggle.d.ts.map +1 -1
  1140. package/dist/types/tag/tag.types.d.ts +7 -6
  1141. package/dist/types/tag/tag.types.d.ts.map +1 -1
  1142. package/dist/types/tags-input/tags-input-chips.d.ts.map +1 -1
  1143. package/dist/types/tags-input/tags-input.d.ts +8 -2
  1144. package/dist/types/tags-input/tags-input.d.ts.map +1 -1
  1145. package/dist/types/tags-input/tags-input.types.d.ts +10 -0
  1146. package/dist/types/tags-input/tags-input.types.d.ts.map +1 -1
  1147. package/dist/types/text-field/text-field.d.ts.map +1 -1
  1148. package/dist/types/textarea/textarea.d.ts.map +1 -1
  1149. package/dist/types/theme/index.d.ts +1 -1
  1150. package/dist/types/theme/index.d.ts.map +1 -1
  1151. package/dist/types/theme/theme-scope.d.ts +8 -5
  1152. package/dist/types/theme/theme-scope.d.ts.map +1 -1
  1153. package/dist/types/time-field/time-field.d.ts.map +1 -1
  1154. package/dist/types/time-picker/time-picker.d.ts.map +1 -1
  1155. package/dist/types/time-range-picker/time-range-picker.d.ts.map +1 -1
  1156. package/dist/types/timeline/timeline-parts.d.ts.map +1 -1
  1157. package/dist/types/timeline/timeline.d.ts.map +1 -1
  1158. package/dist/types/timeline/timeline.types.d.ts +1 -1
  1159. package/dist/types/timeline/timeline.types.d.ts.map +1 -1
  1160. package/dist/types/toast/toast-defaults.d.ts +1 -1
  1161. package/dist/types/toast/toast-parts.d.ts.map +1 -1
  1162. package/dist/types/toast/toast.d.ts.map +1 -1
  1163. package/dist/types/toast/toast.types.d.ts +3 -3
  1164. package/dist/types/toast/toast.types.d.ts.map +1 -1
  1165. package/dist/types/toggle/toggle.d.ts.map +1 -1
  1166. package/dist/types/toggle/toggle.types.d.ts +1 -1
  1167. package/dist/types/toggle-group/toggle-group-parts.d.ts.map +1 -1
  1168. package/dist/types/toggle-group/toggle-group.d.ts.map +1 -1
  1169. package/dist/types/toggle-group/toggle-group.types.d.ts +1 -1
  1170. package/dist/types/toolbar/toolbar-overflow.d.ts.map +1 -1
  1171. package/dist/types/toolbar/toolbar-parts.d.ts.map +1 -1
  1172. package/dist/types/toolbar/toolbar.d.ts.map +1 -1
  1173. package/dist/types/toolbar/toolbar.types.d.ts +2 -2
  1174. package/dist/types/tooltip/tooltip-defaults.d.ts +1 -1
  1175. package/dist/types/tooltip/tooltip-parts.d.ts.map +1 -1
  1176. package/dist/types/top-navigation/top-navigation-parts.d.ts.map +1 -1
  1177. package/dist/types/top-navigation/top-navigation.d.ts.map +1 -1
  1178. package/dist/types/top-navigation/top-navigation.types.d.ts +8 -7
  1179. package/dist/types/top-navigation/top-navigation.types.d.ts.map +1 -1
  1180. package/dist/types/tour/tour-parts.d.ts.map +1 -1
  1181. package/dist/types/tour/tour.d.ts.map +1 -1
  1182. package/dist/types/tour/tour.types.d.ts +2 -2
  1183. package/dist/types/transfer/transfer.d.ts.map +1 -1
  1184. package/dist/types/tree/tree-parts.d.ts.map +1 -1
  1185. package/dist/types/tree/tree.d.ts.map +1 -1
  1186. package/dist/types/typography/heading.d.ts +2 -2
  1187. package/dist/types/typography/heading.d.ts.map +1 -1
  1188. package/dist/types/typography/text.d.ts +1 -1
  1189. package/dist/types/typography/text.d.ts.map +1 -1
  1190. package/dist/types/typography/typography.attributes.d.ts +1 -1
  1191. package/dist/types/typography/typography.types.d.ts +2 -2
  1192. package/dist/types/typography/typography.types.d.ts.map +1 -1
  1193. package/dist/types/upload/upload-viewer.d.ts.map +1 -1
  1194. package/dist/types/upload/upload.d.ts.map +1 -1
  1195. package/dist/types/visually-hidden/visually-hidden.d.ts.map +1 -1
  1196. package/dist/types/wizard/wizard-parts.d.ts.map +1 -1
  1197. package/dist/types/wizard/wizard.d.ts.map +1 -1
  1198. package/dist/typography-BESqb4C0.js +93 -0
  1199. package/dist/typography.js +1 -1
  1200. package/dist/upload-BmRZHySQ.js +648 -0
  1201. package/dist/upload.js +1 -1
  1202. package/dist/visually-hidden-BUSrFZ1_.js +15 -0
  1203. package/dist/visually-hidden.js +1 -1
  1204. package/dist/wizard-CmEJK55_.js +838 -0
  1205. package/dist/wizard.js +1 -1
  1206. package/package.json +38 -10
  1207. package/dist/accordion-D-YuMJzk.js +0 -143
  1208. package/dist/action-bar-OACchRZw.js +0 -282
  1209. package/dist/action-sheet-C60BWUW8.js +0 -347
  1210. package/dist/alert-CP62p9Ul.js +0 -159
  1211. package/dist/app-shell-CmYvnu_7.js +0 -836
  1212. package/dist/aspect-ratio-C76l-aoY.js +0 -40
  1213. package/dist/attachment-DdBbQcEB.js +0 -302
  1214. package/dist/avatar-BnlE5jjr.js +0 -100
  1215. package/dist/avatar-group-4rBj99tz.js +0 -47
  1216. package/dist/badge-C6rbwVpu.js +0 -94
  1217. package/dist/breadcrumb-Bf01N4wK.js +0 -218
  1218. package/dist/button-Db9f3Bxn.js +0 -99
  1219. package/dist/button-group-Det_nYor.js +0 -50
  1220. package/dist/calendar-B3mio8iQ.js +0 -387
  1221. package/dist/card-CpVu8PyZ.js +0 -102
  1222. package/dist/carousel-BPi-Y5yF.js +0 -498
  1223. package/dist/cascader-D1AhTyBL.js +0 -1097
  1224. package/dist/chart-O0ZhkzJe.js +0 -966
  1225. package/dist/checkbox-DfxFHZaU.js +0 -139
  1226. package/dist/checkbox-group-9sDgrV5Z.js +0 -108
  1227. package/dist/code-block-CFHf8uTm.js +0 -269
  1228. package/dist/collapsible-CGo49NNW.js +0 -217
  1229. package/dist/color-picker-CwbWzCKg.js +0 -504
  1230. package/dist/column-manager-CTtizVhm.js +0 -585
  1231. package/dist/combobox-BVMI9lg8.js +0 -856
  1232. package/dist/command-palette-DFLbSOiv.js +0 -707
  1233. package/dist/container-CjxY6rYv.js +0 -46
  1234. package/dist/context-menu-BuST6W94.js +0 -150
  1235. package/dist/currency-field-DD9A5U3D.js +0 -455
  1236. package/dist/dashboard-grid-CBMP_-JV.js +0 -1043
  1237. package/dist/data-grid-BKaGMqIm.js +0 -3648
  1238. package/dist/data-list-oICmxGkA.js +0 -561
  1239. package/dist/date-field-CYcN6diW.js +0 -279
  1240. package/dist/date-picker-4X-_2ltN.js +0 -264
  1241. package/dist/date-range-picker-CNOAtHwU.js +0 -471
  1242. package/dist/datetime-field-B8TrmsDK.js +0 -411
  1243. package/dist/datetime-picker-HDVlUhzy.js +0 -629
  1244. package/dist/datetime-range-picker-IqOFJtdW.js +0 -994
  1245. package/dist/description-list-IYLnFgHT.js +0 -232
  1246. package/dist/dialog-BHYDDj1S.js +0 -498
  1247. package/dist/divider-D36Jqo0J.js +0 -33
  1248. package/dist/drawer-LXM44eso.js +0 -757
  1249. package/dist/entity-picker-CPDd73JR.js +0 -1110
  1250. package/dist/event-calendar-CnF3iIZD.js +0 -1400
  1251. package/dist/field-NJaCxl2h.js +0 -365
  1252. package/dist/field-group-hAzVa2O9.js +0 -138
  1253. package/dist/filter-bar-D_xDcAp2.js +0 -1335
  1254. package/dist/fullscreen-CF0UN4mv.js +0 -187
  1255. package/dist/grid-CIkG_2IQ.js +0 -25
  1256. package/dist/highlight-0Qw23QPp.js +0 -57
  1257. package/dist/hover-card-BJE5dtaQ.js +0 -214
  1258. package/dist/icon-T9Yt4tnm.js +0 -73
  1259. package/dist/icon-button-CCWkCDMs.js +0 -213
  1260. package/dist/import-export-center-DpY2DGBZ.js +0 -813
  1261. package/dist/inline-D_IjcJ1n.js +0 -16
  1262. package/dist/inline-message-C4a-A2mw.js +0 -91
  1263. package/dist/kbd-eFSWTKxN.js +0 -100
  1264. package/dist/link-TjvRl2VQ.js +0 -87
  1265. package/dist/list-WsQ6ZzCa.js +0 -91
  1266. package/dist/list-item-DpCwZIrd.js +0 -123
  1267. package/dist/listbox-Dv856z9I.js +0 -615
  1268. package/dist/loading-overlay-COfnckse.js +0 -208
  1269. package/dist/markdown-CeG8mUbI.js +0 -295
  1270. package/dist/menu-parts-W58pVNUt.js +0 -786
  1271. package/dist/menubar-b2CruimJ.js +0 -156
  1272. package/dist/message-Cp0rLCyW.js +0 -430
  1273. package/dist/message-scroller-UZjFpflz.js +0 -214
  1274. package/dist/multi-select-DQ5ds0fX.js +0 -1188
  1275. package/dist/navigation-menu-parts-D8qFAwHX.js +0 -492
  1276. package/dist/notification-center-Sz54IziY.js +0 -485
  1277. package/dist/number-field-BFIAmv-z.js +0 -342
  1278. package/dist/page-header-CWEBfMGq.js +0 -367
  1279. package/dist/page-kQgLctsA.js +0 -167
  1280. package/dist/pagination-DWJc521r.js +0 -292
  1281. package/dist/popover-Be7JWbGJ.js +0 -475
  1282. package/dist/progress-indicator-DwvUSFFs.js +0 -269
  1283. package/dist/prompt-composer-BxpdkTpZ.js +0 -259
  1284. package/dist/prose-CkeNYS0X.js +0 -91
  1285. package/dist/radio-group-BaVIP9UH.js +0 -140
  1286. package/dist/rating-DYBQBzwB.js +0 -459
  1287. package/dist/result-state-CZsQfdN4.js +0 -126
  1288. package/dist/saved-views-DlE_--Z9.js +0 -446
  1289. package/dist/scroll-area-BriwmvYY.js +0 -111
  1290. package/dist/section-Be7dX9MC.js +0 -176
  1291. package/dist/segmented-control-DmuOGiu6.js +0 -153
  1292. package/dist/select-DOFqPy26.js +0 -944
  1293. package/dist/side-navigation-CBLtCzuJ.js +0 -728
  1294. package/dist/skeleton-2LSpg84Z.js +0 -143
  1295. package/dist/slider-DTes4HLF.js +0 -256
  1296. package/dist/sparkline-rY7HIFE4.js +0 -131
  1297. package/dist/split-button-CPgHiy9G.js +0 -135
  1298. package/dist/splitter-Bg3UgmbV.js +0 -289
  1299. package/dist/stack-BEFavbRs.js +0 -15
  1300. package/dist/stat-card-BG7uLytP.js +0 -244
  1301. package/dist/status-indicator-BOjpXkU5.js +0 -73
  1302. package/dist/stepper-DQJuRWqR.js +0 -253
  1303. package/dist/switch-DQzuIhPX.js +0 -138
  1304. package/dist/table-of-contents-DfAeYtFJ.js +0 -461
  1305. package/dist/tabs-DQ36APY-.js +0 -343
  1306. package/dist/tag-DjtW53xN.js +0 -365
  1307. package/dist/tags-input-CcOkm0AW.js +0 -625
  1308. package/dist/text-field-DLfIZ0fk.js +0 -195
  1309. package/dist/textarea-CBJBJBi6.js +0 -99
  1310. package/dist/time-field-DrhiCtUl.js +0 -355
  1311. package/dist/time-picker-CRQsMJbQ.js +0 -396
  1312. package/dist/time-range-picker-DlZJsj1e.js +0 -745
  1313. package/dist/timeline-DH_02ysz.js +0 -421
  1314. package/dist/toast-Bf3e0AgC.js +0 -468
  1315. package/dist/toggle-CBFhM4Jh.js +0 -64
  1316. package/dist/toggle-group-7iBR9Rn1.js +0 -142
  1317. package/dist/toolbar-DDZpEftQ.js +0 -240
  1318. package/dist/tooltip-DbKTPe_i.js +0 -392
  1319. package/dist/top-navigation-e-tWMGNr.js +0 -739
  1320. package/dist/tour-BTdt716T.js +0 -799
  1321. package/dist/transfer-CqZOTLMP.js +0 -596
  1322. package/dist/typography-B2iaigEC.js +0 -92
  1323. package/dist/upload-DjnlVR8y.js +0 -613
  1324. package/dist/visually-hidden-CE6u5JLW.js +0 -14
  1325. package/dist/wizard-BxA08vXt.js +0 -815
@@ -3,6 +3,95 @@
3
3
 
4
4
  `data-ui="action-sheet"` · Bottom sheet of short actions for touch.
5
5
 
6
+ ## Import
7
+
8
+ ```tsx
9
+ import { ActionSheet, ActionSheetCancel, ActionSheetContent, ActionSheetDefaultsProvider, ActionSheetGroup, ActionSheetHeader, ActionSheetItem, ActionSheetList, ActionSheetMessage, ActionSheetSeparator, ActionSheetTitle, ActionSheetTrigger } from '@slotted/react';
10
+ ```
11
+
12
+ ## Minimal example
13
+
14
+ Excerpt — not a complete module
15
+
16
+ ```tsx
17
+ <ActionSheet onOpenChange={(open, request) => run(request.result)}>
18
+ <ActionSheetTrigger>Partilhar</ActionSheetTrigger>
19
+ <ActionSheetContent>
20
+ <ActionSheetHeader>
21
+ <ActionSheetTitle>Share report</ActionSheetTitle>
22
+ <ActionSheetMessage>Anyone who receives the link sees today's version.</ActionSheetMessage>
23
+ </ActionSheetHeader>
24
+ <ActionSheetList>
25
+ <ActionSheetItem value="copy" icon={<Copy />}>
26
+ Copy link
27
+ </ActionSheetItem>
28
+ <ActionSheetItem value="pdf" icon={<FileText />}>
29
+ Descarregar PDF
30
+ </ActionSheetItem>
31
+ </ActionSheetList>
32
+ <ActionSheetCancel>Cancelar</ActionSheetCancel>
33
+ </ActionSheetContent>
34
+ </ActionSheet>;
35
+ ```
36
+
37
+ ## Anatomy
38
+
39
+ | Part | Element | Required |
40
+ | --- | --- | --- |
41
+ | `root` | div, inside drawer’s panel | yes |
42
+ | `trigger` | button, or the element render returns | no |
43
+ | `header` | header | no |
44
+ | `title` | h2, or the element render returns | no |
45
+ | `message` | p, or the element render returns | no |
46
+ | `list` | div with role="menu" | yes |
47
+ | `group` | div with role="group" | no |
48
+ | `group-label` | div | no |
49
+ | `item` | button with role="menuitem", or the element render returns | yes |
50
+ | `icon` | span[aria-hidden] | no |
51
+ | `label` | span | yes |
52
+ | `description` | span | no |
53
+ | `separator` | hr with role="separator" | no |
54
+ | `footer` | div, rendered by ActionSheetCancel | no |
55
+ | `cancel` | button, or the element render returns | no |
56
+
57
+ ## Props
58
+
59
+ | Name | Type | Default | Applies to | Description |
60
+ | --- | --- | --- | --- | --- |
61
+ | `open` | `boolean` | — | ActionSheet | Present at all means the consumer owns the state, for the life of the component. The family then asks and waits |
62
+ | `defaultOpen` | `boolean` | — | ActionSheet | The value an uncontrolled sheet starts from, read once |
63
+ | `modal` | `boolean` | true | ActionSheet, ActionSheetDefaultsProvider | Whether the page is inert, the scroll locked, focus contained and the scrim painted. false keeps the page operable and paints no scrim |
64
+ | `mount` | `'active' \| 'lazy' \| 'eager'` | active | ActionSheet, ActionSheetDefaultsProvider | When the layer exists. active drops it once the exit is over, lazy builds it on the first open and keeps it, eager builds it up front and makes it inert |
65
+ | `escape` | `'close' \| 'none'` | close | ActionSheet, ActionSheetDefaultsProvider | Whether Escape asks to close. It reaches the topmost layer only |
66
+ | `outsidePress` | `'close' \| 'none'` | close | ActionSheet, ActionSheetDefaultsProvider | Whether a press outside the panel — on the scrim, or on the page behind a non-modal sheet — asks to close |
67
+ | `back` | `'close' \| 'none'` | close | ActionSheet, ActionSheetDefaultsProvider | The platform’s way back — a phone’s gesture, a browser’s button — closes the sheet instead of leaving the page, while it is modal |
68
+ | `closeOnSelect` | `boolean` | true | ActionSheet, ActionSheetDefaultsProvider | Whether choosing an action closes the sheet with the reason select |
69
+ | `messages` | `Partial<ActionSheetMessages>` | — | ActionSheet | Words laid over the language in force, key by key: the cancel’s words when it is given no children (cancel) |
70
+ | `initialFocus` | `RefObject<HTMLElement> \| false` | — | ActionSheet | Where focus goes on opening. Unstated, the first action that can run, or the least destructive one when that action is danger. false moves nothing |
71
+ | `finalFocus` | `RefObject<HTMLElement> \| false` | — | ActionSheet | Where focus goes on closing. Unstated, the element that held it on opening |
72
+ | `value` | `string` | — | ActionSheetItem | What the close request carries as result when this action is chosen |
73
+ | `textValue` | `string` | — | ActionSheetItem | What typeahead matches when the label is not plain text |
74
+ | `icon` | `ReactNode` | — | ActionSheetItem | The action’s visual, drawn in the mark column |
75
+ | `description` | `ReactNode` | — | ActionSheetItem | The second line, which aria-describedby points at |
76
+ | `tone` | `'accent' \| 'secondary' \| 'success' \| 'warning' \| 'danger'` | — | ActionSheetItem | Paints the words, the mark and the highlight. danger is the destructive action |
77
+ | `disabled` | `boolean` | false | ActionSheetItem | The action cannot run. It stays focusable and takes aria-disabled |
78
+ | `loading` | `boolean` | false | ActionSheetItem | The action is running: the ring takes the mark’s box, aria-busy is written, a second press is refused and the sheet stays open |
79
+ | `closeOnSelect` | `boolean` | — | ActionSheetItem | Overrides the sheet’s closeOnSelect for this action |
80
+ | `label` | `ReactNode` | — | ActionSheetGroup | Rendered as the group-label part, and the group’s accessible name |
81
+ | `render` | `(props) => ReactNode` | — | ActionSheetTrigger, ActionSheetContent, ActionSheetTitle, ActionSheetMessage, ActionSheetItem, ActionSheetCancel | Substitutes the element. An item that navigates renders an anchor and keeps its role and keyboard; the trigger becomes the application’s own Button. The list, the groups and the separator are fixed, because their role is what they are |
82
+ | `ref` | `Ref<ActionSheetHandle> on ActionSheet, Ref<HTMLElement> on every part` | — | ActionSheet, every part | On a part it reaches the element. On the family it is a handle with open(), close() and focus() — the actions a consumer cannot express declaratively |
83
+ | `container` | `Element \| null` | — | ActionSheet | A parent for this layer alone instead of the shared portal root, passed to drawer |
84
+ | `useActionSheet()` | `() => ActionSheetContextValue` | — | inside ActionSheet | What the parts read: the open state, the identifiers, the axes and close(reason, result). It throws outside a sheet |
85
+ | `ActionSheetDefaultsProvider` | `{ modal, mount, escape, outsidePress, back, closeOnSelect }` | — | a subtree | The decisions an application takes once. A sheet that states any of them itself still wins |
86
+
87
+ ## Events
88
+
89
+ | Name | Payload | When |
90
+ | --- | --- | --- |
91
+ | `onOpenChange` | `(open: boolean, request: ActionSheetChangeRequest)` | Before the sheet moves, for every way it can: reason is pointer or keyboard from the trigger, pointer from a drag of the sheet that asks to close, select from an item, dismiss from the cancel, escape, outsidePress, back, or programmatic from the handle. result carries the chosen item’s value when the reason is select, and cancel() refuses the move before anything commits. |
92
+ | `onSelect` | `(event: ActionSheetSelectEvent)` | On ActionSheetItem, when an item that can run is activated, before the sheet asks to close. The event carries reason, value and the originating event; preventDefault() keeps the sheet open. |
93
+ | `onClick, onKeyDown, onPointerMove, on every part` | `the element’s own events` | Whenever the element fires them. The consumer’s handler runs first, and preventDefault() refuses the family’s own behavior. |
94
+
6
95
  ## Axes and defaults
7
96
 
8
97
  | Axis | Values | Default |
@@ -14,6 +103,208 @@
14
103
  | `back` | `close`, `none` | `close` |
15
104
  | `closeOnSelect` | `true`, `false` | `true` |
16
105
 
106
+ ## Rules
107
+
108
+ - No WAI-ARIA APG pattern describes an action sheet, so the layer answers Dialog (Modal) — w3.org/WAI/ARIA/apg/patterns/dialog-modal/ — and the list answers Menu — w3.org/WAI/ARIA/apg/patterns/menubar/. The panel is role="dialog", aria-modal while modal, named by the title and described by the message; the list is role="menu", named by the same title, and every action is a native button with role="menuitem".
109
+ - The list is one tab stop. ArrowDown and ArrowUp move between actions and wrap, Home and End reach the ends, and a printable character moves to the next action whose label, or textValue, begins with it. Tab moves between the list and the cancel and does not close — the one departure from the menu pattern, because the menu is the content of a dialog and the dialog contains focus. A reader leaves with Escape or the cancel.
110
+ - A screen reader hears the title twice on entry, once for the dialog and once for the menu. Without a name the menu would be anonymous to a reader moving by widget, and the repetition is the cheaper cost.
111
+ - Focus enters on the first action that can run. When that action is destructive it enters on the cancel, which is the least destructive action the dialog pattern’s first note recommends; with no cancel, on the first action that is not danger. It returns to the element that held it on close, except after a press outside a non-modal sheet, where the reader was going somewhere else.
112
+ - A disabled or loading action keeps its place in the ring and takes aria-disabled, as the menu pattern requires; a loading one also carries aria-busy. The cancel is never disabled, because a sheet that cannot be left is a trap. Every action is a control’s height tall, which the theme raises to the 44-pixel comfortable target under a coarse pointer; on a phone the label grows from 14 to 16 pixels with it.
113
+ - The layer is drawer’s, so the sheet answers everything a drawer from the bottom answers: a touch on its body drags it and a release toward the edge asks to close with the reason pointer, which cancel() refuses like any other close; with the virtual keyboard open the sheet lands above the keys. Nothing of that needs a key: Escape and the cancel are the keyboard’s way out.
114
+ - A mouse or a pen moving over an action focuses it, so one row is lit whichever device drives; a finger does not, because focus moving under a touch that is about to scroll would light rows at random.
115
+
17
116
  ## Tokens
18
117
 
19
118
  `--slotted-action-sheet-footer-surface`, `--slotted-action-sheet-highlight`, `--slotted-action-sheet-highlight-active`, `--slotted-action-sheet-inline-size`, `--slotted-action-sheet-rule-color`, `--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-border-color`, `--slotted-control-border-width`, `--slotted-control-font-family`, `--slotted-control-gap-lg`, `--slotted-control-height-lg`, `--slotted-control-padding-inline-lg`, `--slotted-control-radius`, `--slotted-control-shadow`, `--slotted-control-surface`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-background`, `--slotted-disabled-foreground`, `--slotted-duration-short`, `--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-weight-semibold`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-6`, `--slotted-surface-sunken`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-subtle-active`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-danger-subtle-active`, `--slotted-tone-danger-surface`, `--slotted-tone-danger-text`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-tone-secondary-surface`, `--slotted-tone-secondary-text`, `--slotted-tone-success-subtle-active`, `--slotted-tone-success-surface`, `--slotted-tone-success-text`, `--slotted-tone-warning-subtle-active`, `--slotted-tone-warning-surface`, `--slotted-tone-warning-text`
119
+
120
+ ## Examples
121
+
122
+ ### The destructive choice, at the top
123
+
124
+ tone="danger" paints the words, the mark and the highlight red, and the destructive action goes first, where it is noticed. Opened, this sheet puts focus on Cancelar rather than on the danger.
125
+
126
+ Excerpt — not a complete module
127
+
128
+ ```tsx
129
+ <ActionSheetList>
130
+ <ActionSheetItem value="delete" tone="danger">
131
+ Delete draft
132
+ </ActionSheetItem>
133
+ <ActionSheetItem value="save">Save draft</ActionSheetItem>
134
+ </ActionSheetList>;
135
+ ```
136
+
137
+ ### Groups, a rule, a second line and an action that is not available
138
+
139
+ A group is named by its label, a separator draws the rule between two runs, and a disabled action keeps its place and says in its second line why it cannot run — it stays in the arrow ring and refuses the press.
140
+
141
+ Excerpt — not a complete module
142
+
143
+ ```tsx
144
+ <ActionSheetList>
145
+ <ActionSheetGroup label="Send">
146
+ <ActionSheetItem value="remind">Remind the customer</ActionSheetItem>
147
+ <ActionSheetItem value="accounting" disabled description="Available after approval">
148
+ Send to accounting
149
+ </ActionSheetItem>
150
+ </ActionSheetGroup>
151
+ <ActionSheetSeparator />
152
+ <ActionSheetGroup label="Estado">
153
+ <ActionSheetItem value="paid" tone="success">
154
+ Marcar como paga
155
+ </ActionSheetItem>
156
+ </ActionSheetGroup>
157
+ </ActionSheetList>;
158
+ ```
159
+
160
+ ### Content the family did not choose
161
+
162
+ A title of two lines, a long message, labels that wrap and a reference with no spaces: nothing truncates, the list is the one row that scrolls, and the title and the cancel stay on screen.
163
+
164
+ Excerpt — not a complete module
165
+
166
+ ```tsx
167
+ <ActionSheetItem value="copy-ref">
168
+ Copiar ENC-2026-0000088213-ATLANTICA-PT-LISBOA-NORTE
169
+ </ActionSheetItem>;
170
+ ```
171
+
172
+ ### An action that takes time
173
+
174
+ Press Descarregar PDF: the ring takes the mark’s box and the label stays, so nothing moves; the item carries aria-busy, refuses a second press, and the sheet stays open until the consumer clears loading.
175
+
176
+ Excerpt — not a complete module
177
+
178
+ ```tsx
179
+ <ActionSheetItem
180
+ value="pdf"
181
+ loading={exporting}
182
+ onSelect={(event) => {
183
+ event.preventDefault();
184
+ setExporting(true);
185
+ exportPdf().then(() => {
186
+ setExporting(false);
187
+ setOpen(false);
188
+ });
189
+ }}
190
+ >
191
+ Descarregar PDF
192
+ </ActionSheetItem>;
193
+ ```
194
+
195
+ ### Modal, or beside the page
196
+
197
+ modal is the default: the page is inert, the scroll is locked and the scrim is painted. modal={false} paints no scrim and leaves the page operable — the map behind stays live — while a press outside still closes the sheet.
198
+
199
+ Excerpt — not a complete module
200
+
201
+ ```tsx
202
+ <ActionSheet modal={false}>…</ActionSheet>;
203
+ ```
204
+
205
+ ### What may close it
206
+
207
+ escape, outsidePress and back each take close or none, and every close is a request the consumer can cancel. Here only Cancelar closes the sheet; the line under the trigger names each request that arrived and whether it was refused.
208
+
209
+ Excerpt — not a complete module
210
+
211
+ ```tsx
212
+ <ActionSheet escape="none" outsidePress="none" back="none">
213
+ …
214
+ </ActionSheet>;
215
+
216
+ <ActionSheet
217
+ onOpenChange={(open, request) => {
218
+ if (!open && saving) request.cancel();
219
+ }}
220
+ >
221
+ …
222
+ </ActionSheet>;
223
+ ```
224
+
225
+ ### Where focus enters, and where it goes back
226
+
227
+ Focus enters on the first action that can run; when that action is destructive it enters on Cancelar, the least destructive one the dialog pattern asks for. On close it returns to the trigger; initialFocus and finalFocus name other elements.
228
+
229
+ Excerpt — not a complete module
230
+
231
+ ```tsx
232
+ <ActionSheet initialFocus={saveRef} finalFocus={composerRef}>
233
+ …
234
+ </ActionSheet>;
235
+ ```
236
+
237
+ ### Which action was chosen, and why it closed
238
+
239
+ The close request carries reason and, when the reason is select, result — the value of the item chosen. There is no controller that returns a promise: the request already says what the promise would.
240
+
241
+ Excerpt — not a complete module
242
+
243
+ ```tsx
244
+ <ActionSheet
245
+ open={open}
246
+ onOpenChange={(next, request) => {
247
+ setOpen(next);
248
+ if (request.reason === 'select') archive(request.result);
249
+ }}
250
+ >
251
+ …
252
+ </ActionSheet>;
253
+ ```
254
+
255
+ ### One list of actions, a menu on a pointer and a sheet on a phone
256
+
257
+ The item vocabulary is menu’s, word for word — value, icon, description, tone, disabled, onSelect — so one array renders as either family, and the breakpoint that picks between them is the application’s.
258
+
259
+ Excerpt — not a complete module
260
+
261
+ ```tsx
262
+ const coarse = useMediaQuery('(pointer: coarse)');
263
+
264
+ coarse ? (
265
+ <ActionSheet>
266
+ <ActionSheetTrigger>More</ActionSheetTrigger>
267
+ <ActionSheetContent aria-label="Actions">
268
+ <ActionSheetList aria-label="Actions">
269
+ {actions.map((action) => (
270
+ <ActionSheetItem key={action.value} {...action} />
271
+ ))}
272
+ </ActionSheetList>
273
+ <ActionSheetCancel />
274
+ </ActionSheetContent>
275
+ </ActionSheet>
276
+ ) : (
277
+ <Menu>
278
+ <MenuTrigger>More</MenuTrigger>
279
+ <MenuContent aria-label="Actions">
280
+ {actions.map((action) => (
281
+ <MenuItem key={action.value} {...action} />
282
+ ))}
283
+ </MenuContent>
284
+ </Menu>
285
+ );
286
+ ```
287
+
288
+ ### Decided once for the application
289
+
290
+ ActionSheetDefaultsProvider sets modal, mount, escape, outsidePress, back and closeOnSelect for every sheet below it, and a sheet that states a value itself still wins. The cancel’s words come from the language in force (SlottedProvider).
291
+
292
+ Excerpt — not a complete module
293
+
294
+ ```tsx
295
+ <ActionSheetDefaultsProvider closeOnSelect={false} back="close">
296
+ <App />
297
+ </ActionSheetDefaultsProvider>;
298
+ ```
299
+
300
+ ### The keyboard
301
+
302
+ Open it and use the keys: the arrows move between actions and wrap, Home and End reach the ends, a letter moves to the next action that starts with it, Tab moves between the list and Cancelar, and Escape closes and returns focus.
303
+
304
+ Excerpt — not a complete module
305
+
306
+ ```tsx
307
+ <ActionSheetItem value="flag" textValue="Sinalizar">
308
+ <FlagBadge /> Sinalizar
309
+ </ActionSheetItem>;
310
+ ```
@@ -4,12 +4,13 @@
4
4
  "binding": "react",
5
5
  "catalog": {
6
6
  "group": "Feedback",
7
- "summary": "Static message with a tone, icon and actions."
7
+ "summary": "Framed notice heading a section, a form or a page."
8
8
  },
9
9
  "axes": {
10
10
  "tone": [
11
11
  "accent",
12
12
  "secondary",
13
+ "info",
13
14
  "success",
14
15
  "warning",
15
16
  "danger"
@@ -28,6 +29,10 @@
28
29
  "off",
29
30
  "polite",
30
31
  "assertive"
32
+ ],
33
+ "actionsPlacement": [
34
+ "below",
35
+ "end"
31
36
  ]
32
37
  },
33
38
  "members": {
@@ -118,17 +123,17 @@
118
123
  "api": [
119
124
  {
120
125
  "name": "tone",
121
- "type": "'accent' | 'secondary' | 'success' | 'warning' | 'danger'",
126
+ "type": "'accent' | 'secondary' | 'info' | 'success' | 'warning' | 'danger'",
122
127
  "defaultValue": "accent",
123
128
  "appliesTo": "Alert",
124
- "description": "Which of the five semantic colours the message speaks in, and which mark it draws: circle-info, none for secondary, circle-check, circle-alert, circle-x"
129
+ "description": "Which of the five semantic colors the message speaks in, and which mark it draws: status-info, none for secondary, status-success, status-warning, status-danger"
125
130
  },
126
131
  {
127
132
  "name": "variant",
128
133
  "type": "'soft' | 'outline' | 'solid'",
129
134
  "defaultValue": "soft",
130
135
  "appliesTo": "Alert",
131
- "description": "How that colour is painted. soft carries the tone’s surface and its border, outline the border alone, solid the tone’s fill and the ink the theme measures against it"
136
+ "description": "How that color is painted. soft carries the tone’s surface and its border, outline the border alone, solid the tone’s fill and the ink the theme measures against it"
132
137
  },
133
138
  {
134
139
  "name": "reach",
@@ -144,6 +149,13 @@
144
149
  "appliesTo": "Alert",
145
150
  "description": "Whether the text announces itself. polite writes role=\"status\" on the content part and assertive writes role=\"alert\"; both imply aria-live and aria-atomic, and neither is written on the box"
146
151
  },
152
+ {
153
+ "name": "actionsPlacement",
154
+ "type": "'below' | 'end'",
155
+ "defaultValue": "end for reach='page', below otherwise",
156
+ "appliesTo": "Alert",
157
+ "description": "Where the actions stand. below puts them on a row under the words; end puts them at the end of the words’ line, before the dismiss control, once the box is 40rem wide, and under the words below that width"
158
+ },
147
159
  {
148
160
  "name": "hideIcon",
149
161
  "type": "boolean",
@@ -235,7 +247,7 @@
235
247
  "The applicable pattern is the WAI-ARIA APG Alert Pattern (w3.org/WAI/ARIA/apg/patterns/alert/). It declares one role and no keyboard interaction: an alert is not a widget, so it holds no keys. Its two prose requirements — that an alert must not affect keyboard focus, and must not disappear on its own — are what this family declines automatic focus and automatic dismissal for.",
236
248
  "The box is a landmark, not a live region. MDN’s alert role reference states that the role “should only be used for text content, not interactive elements such as links or buttons”, and every alert worth shipping has a dismiss control. The root renders a section named by its own title through aria-labelledby, and the region that announces is the content part, which holds the title and the description alone.",
237
249
  "live defaults to off because the APG records that “screen readers do not inform users of alerts that are present on the page before page load completes”. An alert already on the page announces nothing whatever role it carries; polite and assertive are for a message that arrives while the reader is working, and both are written as a role that already implies aria-live and aria-atomic.",
238
- "Every tone with a severity carries a mark as well as a colour, and secondary carries none: a neutral note has no severity to state. Under forced colours the five grounds become one system colour and the five borders one more, so the mark, and its absence on a note, is the only thing distinguishing an error from a note — WCAG 2.2 1.4.1.",
250
+ "Every tone with a severity carries a mark as well as a color, and secondary carries none: a neutral note has no severity to state. Under forced colors the five grounds become one system color and the five borders one more, so the mark, and its absence on a note, is the only thing distinguishing an error from a note — WCAG 2.2 1.4.1.",
239
251
  "The dismiss control is a real button with a real name and an inner control rather than a Button (R2): its box is the glyph plus a step of air on each side, floored at --slotted-target-min, which is the WCAG 2.2 2.5.8 minimum of 24 CSS pixels; at rest it has no frame and no ground, and hover moves only the ground.",
240
252
  "When the message closes with focus inside it, the keyboard goes back to the element it came from. None of the ten surveyed implementations answers this, and the failure it prevents is the one a real product hits first: the dismiss control is destroyed, focus falls to the document body, and the next Tab starts again at the top of the page.",
241
253
  "Closing hides rather than unmounts, so the live region is still in the document if the message comes back and data-open is a state a consumer can style. An application that must not pay for the hidden subtree renders the alert conditionally and never passes defaultOpen.",
@@ -304,6 +316,11 @@
304
316
  "--slotted-tone-danger-solid",
305
317
  "--slotted-tone-danger-surface",
306
318
  "--slotted-tone-danger-text",
319
+ "--slotted-tone-info-border",
320
+ "--slotted-tone-info-on-solid",
321
+ "--slotted-tone-info-solid",
322
+ "--slotted-tone-info-surface",
323
+ "--slotted-tone-info-text",
307
324
  "--slotted-tone-secondary-border",
308
325
  "--slotted-tone-secondary-on-solid",
309
326
  "--slotted-tone-secondary-solid",
@@ -324,17 +341,17 @@
324
341
  {
325
342
  "id": "playground",
326
343
  "title": "Playground",
327
- "note": "One message with every axis on it, driven by the controls below the canvas. Change the tone and the mark changes with it, which is what makes the five distinguishable in greyscale.",
344
+ "note": "One message with every axis on it, driven by the controls below the canvas. Change the tone and the mark changes with it, which is what makes the five distinguishable in grayscale.",
328
345
  "language": "tsx",
329
- "source": "<Alert tone=\"warning\">\n <AlertContent>\n <AlertTitle>Sua assinatura expira em três dias</AlertTitle>\n <AlertDescription>Renove para manter o acesso da equipe.</AlertDescription>\n </AlertContent>\n</Alert>;\n",
346
+ "source": "<Alert tone=\"warning\">\n <AlertContent>\n <AlertTitle>Your subscription expires in three days</AlertTitle>\n <AlertDescription>Renew to keep access for your team.</AlertDescription>\n </AlertContent>\n</Alert>;\n",
330
347
  "verdict": "excerpt"
331
348
  },
332
349
  {
333
350
  "id": "tones",
334
351
  "title": "What the message is about",
335
- "note": "Five tones and five marks. The mark is the answer to WCAG 2.2 1.4.1: read in greyscale, or under forced colours where every ground becomes one system colour, the silhouette is the only thing left.",
352
+ "note": "Five tones and five marks. The mark is the answer to WCAG 2.2 1.4.1: read in grayscale, or under forced colors where every ground becomes one system color, the silhouette is the only thing left.",
336
353
  "language": "tsx",
337
- "source": "// accent is information, secondary a neutral note, success something\n// finished, warning something that needs attention, danger something failed.\n<Alert tone=\"danger\">\n <AlertContent>\n <AlertTitle>Não foi possível salvar</AlertTitle>\n </AlertContent>\n</Alert>;\n",
354
+ "source": "// accent is information, secondary a neutral note, success something\n// finished, warning something that needs attention, danger something failed.\n<Alert tone=\"danger\">\n <AlertContent>\n <AlertTitle>Could not save</AlertTitle>\n </AlertContent>\n</Alert>;\n",
338
355
  "verdict": "excerpt"
339
356
  },
340
357
  {
@@ -350,7 +367,7 @@
350
367
  "title": "How far the message reaches",
351
368
  "note": "The guide’s three recipes as one axis: inline beside the thing it is about, section inside a page section, page across an application. A page banner loses its corners because it runs to both edges.",
352
369
  "language": "tsx",
353
- "source": "<Alert reach=\"inline\" tone=\"danger\">\n <AlertContent>\n <AlertDescription>Informe um CNPJ válido.</AlertDescription>\n </AlertContent>\n</Alert>;\n\n<Alert reach=\"page\" tone=\"warning\" />;\n",
370
+ "source": "<Alert reach=\"inline\" tone=\"danger\">\n <AlertContent>\n <AlertDescription>Enter a valid EIN.</AlertDescription>\n </AlertContent>\n</Alert>;\n\n<Alert reach=\"page\" tone=\"warning\" />;\n",
354
371
  "verdict": "excerpt"
355
372
  },
356
373
  {
@@ -364,9 +381,9 @@
364
381
  {
365
382
  "id": "actions",
366
383
  "title": "What the message asks for",
367
- "note": "The controls are the consumer’s own Buttons, in a part outside the live region — a reader hearing the message is not read two button labels in the middle of it. They stack when the box is narrow.",
384
+ "note": "The controls are the consumer’s own Buttons, in a part outside the live region — a reader hearing the message is not read two button labels in the middle of it. They stack when the box is narrow. actionsPlacement=\"end\" puts them at the end of the message’s own line once the box is 40rem wide, which a page banner does by default. Each Button in the part takes the alert’s tone and the sm size; a Button that states its own tone or size keeps it. The first action is solid and every other one ghost; outline draws no fill over the alert’s ground and is not used here.",
368
385
  "language": "tsx",
369
- "source": "<Alert tone=\"warning\">\n <AlertContent>\n <AlertTitle>Sua assinatura expira em três dias</AlertTitle>\n </AlertContent>\n <AlertActions>\n <Button size=\"sm\" tone=\"warning\">\n Renovar\n </Button>\n <Button size=\"sm\" tone=\"warning\" variant=\"ghost\">\n Ver planos\n </Button>\n </AlertActions>\n</Alert>;\n",
386
+ "source": "<Alert tone=\"warning\">\n <AlertContent>\n <AlertTitle>Your subscription expires in three days</AlertTitle>\n </AlertContent>\n <AlertActions>\n <Button>Renew</Button>\n <Button variant=\"ghost\">View plans</Button>\n </AlertActions>\n</Alert>;\n\n<Alert actionsPlacement=\"end\">\n <AlertContent>\n <AlertDescription>The suggestion changes three lines of the plan.</AlertDescription>\n </AlertContent>\n <AlertActions>\n <Button>Apply</Button>\n </AlertActions>\n</Alert>;\n",
370
387
  "verdict": "excerpt"
371
388
  },
372
389
  {
@@ -390,7 +407,7 @@
390
407
  "title": "Composition and escape hatches",
391
408
  "note": "The provider sets the defaults once, render substitutes the element of any part, icon replaces the mark, and ref reaches the section so a page that must move focus to the message can.",
392
409
  "language": "tsx",
393
- "source": "<AlertDefaultsProvider reach=\"page\">\n <App />\n</AlertDefaultsProvider>;\n\n<Alert icon={<ShieldIcon />} render={(props) => <aside {...props} />}>\n <AlertContent>\n <AlertTitle render={(props) => <h3 {...props} />}>Manutenção</AlertTitle>\n </AlertContent>\n</Alert>;\n",
410
+ "source": "<AlertDefaultsProvider reach=\"page\">\n <App />\n</AlertDefaultsProvider>;\n\n<Alert icon={<ShieldIcon />} render={(props) => <aside {...props} />}>\n <AlertContent>\n <AlertTitle render={(props) => <h3 {...props} />}>Maintenance</AlertTitle>\n </AlertContent>\n</Alert>;\n",
394
411
  "verdict": "excerpt"
395
412
  },
396
413
  {
@@ -398,7 +415,7 @@
398
415
  "title": "The landmark, the region and the keyboard",
399
416
  "note": "Tab into the message and out of it: the box is a region a reader can jump to, the text is the only thing that announces, and closing the message puts the keyboard back where it came from.",
400
417
  "language": "tsx",
401
- "source": "// A region landmark named \"Manutenção\", holding a polite status region.\n<Alert live=\"polite\">\n <AlertContent>\n <AlertTitle>Manutenção</AlertTitle>\n </AlertContent>\n</Alert>;\n\n// No title: a plain grouping element, and no landmark to jump to.\n<Alert>\n <AlertContent>Pronto.</AlertContent>\n</Alert>;\n",
418
+ "source": "// A region landmark named \"Maintenance\", holding a polite status region.\n<Alert live=\"polite\">\n <AlertContent>\n <AlertTitle>Maintenance</AlertTitle>\n </AlertContent>\n</Alert>;\n\n// No title: a plain grouping element, and no landmark to jump to.\n<Alert>\n <AlertContent>Done.</AlertContent>\n</Alert>;\n",
402
419
  "verdict": "excerpt"
403
420
  }
404
421
  ]
@@ -1,7 +1,7 @@
1
1
  <!-- index: ./index.md -->
2
2
  # alert
3
3
 
4
- `data-ui="alert"` · Static message with a tone, icon and actions.
4
+ `data-ui="alert"` · Framed notice heading a section, a form or a page.
5
5
 
6
6
  ## Import
7
7
 
@@ -23,8 +23,8 @@ Excerpt — not a complete module
23
23
  ```tsx
24
24
  <Alert tone="warning">
25
25
  <AlertContent>
26
- <AlertTitle>Sua assinatura expira em três dias</AlertTitle>
27
- <AlertDescription>Renove para manter o acesso da equipe.</AlertDescription>
26
+ <AlertTitle>Your subscription expires in three days</AlertTitle>
27
+ <AlertDescription>Renew to keep access for your team.</AlertDescription>
28
28
  </AlertContent>
29
29
  </Alert>;
30
30
  ```
@@ -45,10 +45,11 @@ Excerpt — not a complete module
45
45
 
46
46
  | Name | Type | Default | Applies to | Description |
47
47
  | --- | --- | --- | --- | --- |
48
- | `tone` | `'accent' \| 'secondary' \| 'success' \| 'warning' \| 'danger'` | accent | Alert | Which of the five semantic colours the message speaks in, and which mark it draws: circle-info, none for secondary, circle-check, circle-alert, circle-x |
49
- | `variant` | `'soft' \| 'outline' \| 'solid'` | soft | Alert | How that colour is painted. soft carries the tone’s surface and its border, outline the border alone, solid the tone’s fill and the ink the theme measures against it |
48
+ | `tone` | `'accent' \| 'secondary' \| 'info' \| 'success' \| 'warning' \| 'danger'` | accent | Alert | Which of the five semantic colors the message speaks in, and which mark it draws: status-info, none for secondary, status-success, status-warning, status-danger |
49
+ | `variant` | `'soft' \| 'outline' \| 'solid'` | soft | Alert | How that color is painted. soft carries the tone’s surface and its border, outline the border alone, solid the tone’s fill and the ink the theme measures against it |
50
50
  | `reach` | `'inline' \| 'section' \| 'page'` | section | Alert | The scope the message applies to. inline is tightest and sits beside a field group; page loses its corners and its inline edges because it runs to both edges of what holds it |
51
51
  | `live` | `'off' \| 'polite' \| 'assertive'` | off | Alert | Whether the text announces itself. polite writes role="status" on the content part and assertive writes role="alert"; both imply aria-live and aria-atomic, and neither is written on the box |
52
+ | `actionsPlacement` | `'below' \| 'end'` | end for reach='page', below otherwise | Alert | Where the actions stand. below puts them on a row under the words; end puts them at the end of the words’ line, before the dismiss control, once the box is 40rem wide, and under the words below that width |
52
53
  | `hideIcon` | `boolean` | false | Alert | Draws no mark at all, for a callout that carries its own artwork in the body |
53
54
  | `icon` | `ReactNode` | — | Alert | Replaces the tone’s mark, keeping the box, the size and the place on the message’s first line. Angular projects an element carrying slAlertIcon instead |
54
55
  | `dismissible` | `boolean` | false | Alert | Renders the control that closes the message. A critical banner should not have one: the guide’s rule is that it does not go away on its own |
@@ -71,17 +72,18 @@ Excerpt — not a complete module
71
72
 
72
73
  | Axis | Values | Default |
73
74
  | --- | --- | --- |
74
- | `tone` | `accent`, `secondary`, `success`, `warning`, `danger` | `accent` |
75
+ | `tone` | `accent`, `secondary`, `info`, `success`, `warning`, `danger` | `accent` |
75
76
  | `variant` | `soft`, `outline`, `solid` | `soft` |
76
77
  | `reach` | `inline`, `section`, `page` | `section` |
77
78
  | `live` | `off`, `polite`, `assertive` | `off` |
79
+ | `actionsPlacement` | `below`, `end` | — |
78
80
 
79
81
  ## Rules
80
82
 
81
83
  - The applicable pattern is the WAI-ARIA APG Alert Pattern (w3.org/WAI/ARIA/apg/patterns/alert/). It declares one role and no keyboard interaction: an alert is not a widget, so it holds no keys. Its two prose requirements — that an alert must not affect keyboard focus, and must not disappear on its own — are what this family declines automatic focus and automatic dismissal for.
82
84
  - The box is a landmark, not a live region. MDN’s alert role reference states that the role “should only be used for text content, not interactive elements such as links or buttons”, and every alert worth shipping has a dismiss control. The root renders a section named by its own title through aria-labelledby, and the region that announces is the content part, which holds the title and the description alone.
83
85
  - live defaults to off because the APG records that “screen readers do not inform users of alerts that are present on the page before page load completes”. An alert already on the page announces nothing whatever role it carries; polite and assertive are for a message that arrives while the reader is working, and both are written as a role that already implies aria-live and aria-atomic.
84
- - Every tone with a severity carries a mark as well as a colour, and secondary carries none: a neutral note has no severity to state. Under forced colours the five grounds become one system colour and the five borders one more, so the mark, and its absence on a note, is the only thing distinguishing an error from a note — WCAG 2.2 1.4.1.
86
+ - Every tone with a severity carries a mark as well as a color, and secondary carries none: a neutral note has no severity to state. Under forced colors the five grounds become one system color and the five borders one more, so the mark, and its absence on a note, is the only thing distinguishing an error from a note — WCAG 2.2 1.4.1.
85
87
  - The dismiss control is a real button with a real name and an inner control rather than a Button (R2): its box is the glyph plus a step of air on each side, floored at --slotted-target-min, which is the WCAG 2.2 2.5.8 minimum of 24 CSS pixels; at rest it has no frame and no ground, and hover moves only the ground.
86
88
  - When the message closes with focus inside it, the keyboard goes back to the element it came from. None of the ten surveyed implementations answers this, and the failure it prevents is the one a real product hits first: the dismiss control is destroyed, focus falls to the document body, and the next Tab starts again at the top of the page.
87
89
  - Closing hides rather than unmounts, so the live region is still in the document if the message comes back and data-open is a state a consumer can style. An application that must not pay for the hidden subtree renders the alert conditionally and never passes defaultOpen.
@@ -89,13 +91,13 @@ Excerpt — not a complete module
89
91
 
90
92
  ## Tokens
91
93
 
92
- `--slotted-alert-actions-gap`, `--slotted-alert-border-width`, `--slotted-alert-column-gap`, `--slotted-alert-dismiss-radius`, `--slotted-alert-dismiss-size`, `--slotted-alert-font-family`, `--slotted-alert-padding-block`, `--slotted-alert-padding-inline`, `--slotted-alert-radius`, `--slotted-alert-row-gap`, `--slotted-alert-state-layer-active`, `--slotted-alert-state-layer-hover`, `--slotted-alert-text-gap`, `--slotted-alert-title-font-family`, `--slotted-alert-title-font-weight`, `--slotted-border-width-thin`, `--slotted-control-font-family`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-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-radius`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-foreground`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-family-heading`, `--slotted-font-family-sans`, `--slotted-font-weight-semibold`, `--slotted-line-height-md`, `--slotted-radius-md`, `--slotted-radius-sm`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-6`, `--slotted-space-7`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-tone-accent-border`, `--slotted-tone-accent-on-solid`, `--slotted-tone-accent-solid`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-danger-border`, `--slotted-tone-danger-on-solid`, `--slotted-tone-danger-solid`, `--slotted-tone-danger-surface`, `--slotted-tone-danger-text`, `--slotted-tone-secondary-border`, `--slotted-tone-secondary-on-solid`, `--slotted-tone-secondary-solid`, `--slotted-tone-secondary-surface`, `--slotted-tone-secondary-text`, `--slotted-tone-success-border`, `--slotted-tone-success-on-solid`, `--slotted-tone-success-solid`, `--slotted-tone-success-surface`, `--slotted-tone-success-text`, `--slotted-tone-warning-border`, `--slotted-tone-warning-on-solid`, `--slotted-tone-warning-solid`, `--slotted-tone-warning-surface`, `--slotted-tone-warning-text`
94
+ `--slotted-alert-actions-gap`, `--slotted-alert-border-width`, `--slotted-alert-column-gap`, `--slotted-alert-dismiss-radius`, `--slotted-alert-dismiss-size`, `--slotted-alert-font-family`, `--slotted-alert-padding-block`, `--slotted-alert-padding-inline`, `--slotted-alert-radius`, `--slotted-alert-row-gap`, `--slotted-alert-state-layer-active`, `--slotted-alert-state-layer-hover`, `--slotted-alert-text-gap`, `--slotted-alert-title-font-family`, `--slotted-alert-title-font-weight`, `--slotted-border-width-thin`, `--slotted-control-font-family`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-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-radius`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-foreground`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-family-heading`, `--slotted-font-family-sans`, `--slotted-font-weight-semibold`, `--slotted-line-height-md`, `--slotted-radius-md`, `--slotted-radius-sm`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-6`, `--slotted-space-7`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-tone-accent-border`, `--slotted-tone-accent-on-solid`, `--slotted-tone-accent-solid`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-danger-border`, `--slotted-tone-danger-on-solid`, `--slotted-tone-danger-solid`, `--slotted-tone-danger-surface`, `--slotted-tone-danger-text`, `--slotted-tone-info-border`, `--slotted-tone-info-on-solid`, `--slotted-tone-info-solid`, `--slotted-tone-info-surface`, `--slotted-tone-info-text`, `--slotted-tone-secondary-border`, `--slotted-tone-secondary-on-solid`, `--slotted-tone-secondary-solid`, `--slotted-tone-secondary-surface`, `--slotted-tone-secondary-text`, `--slotted-tone-success-border`, `--slotted-tone-success-on-solid`, `--slotted-tone-success-solid`, `--slotted-tone-success-surface`, `--slotted-tone-success-text`, `--slotted-tone-warning-border`, `--slotted-tone-warning-on-solid`, `--slotted-tone-warning-solid`, `--slotted-tone-warning-surface`, `--slotted-tone-warning-text`
93
95
 
94
96
  ## Examples
95
97
 
96
98
  ### What the message is about
97
99
 
98
- Five tones and five marks. The mark is the answer to WCAG 2.2 1.4.1: read in greyscale, or under forced colours where every ground becomes one system colour, the silhouette is the only thing left.
100
+ Five tones and five marks. The mark is the answer to WCAG 2.2 1.4.1: read in grayscale, or under forced colors where every ground becomes one system color, the silhouette is the only thing left.
99
101
 
100
102
  Excerpt — not a complete module
101
103
 
@@ -104,7 +106,7 @@ Excerpt — not a complete module
104
106
  // finished, warning something that needs attention, danger something failed.
105
107
  <Alert tone="danger">
106
108
  <AlertContent>
107
- <AlertTitle>Não foi possível salvar</AlertTitle>
109
+ <AlertTitle>Could not save</AlertTitle>
108
110
  </AlertContent>
109
111
  </Alert>;
110
112
  ```
@@ -135,7 +137,7 @@ Excerpt — not a complete module
135
137
  ```tsx
136
138
  <Alert reach="inline" tone="danger">
137
139
  <AlertContent>
138
- <AlertDescription>Informe um CNPJ válido.</AlertDescription>
140
+ <AlertDescription>Enter a valid EIN.</AlertDescription>
139
141
  </AlertContent>
140
142
  </Alert>;
141
143
 
@@ -163,22 +165,27 @@ Excerpt — not a complete module
163
165
 
164
166
  ### What the message asks for
165
167
 
166
- The controls are the consumer’s own Buttons, in a part outside the live region — a reader hearing the message is not read two button labels in the middle of it. They stack when the box is narrow.
168
+ The controls are the consumer’s own Buttons, in a part outside the live region — a reader hearing the message is not read two button labels in the middle of it. They stack when the box is narrow. actionsPlacement="end" puts them at the end of the message’s own line once the box is 40rem wide, which a page banner does by default. Each Button in the part takes the alert’s tone and the sm size; a Button that states its own tone or size keeps it. The first action is solid and every other one ghost; outline draws no fill over the alert’s ground and is not used here.
167
169
 
168
170
  Excerpt — not a complete module
169
171
 
170
172
  ```tsx
171
173
  <Alert tone="warning">
172
174
  <AlertContent>
173
- <AlertTitle>Sua assinatura expira em três dias</AlertTitle>
175
+ <AlertTitle>Your subscription expires in three days</AlertTitle>
174
176
  </AlertContent>
175
177
  <AlertActions>
176
- <Button size="sm" tone="warning">
177
- Renovar
178
- </Button>
179
- <Button size="sm" tone="warning" variant="ghost">
180
- Ver planos
181
- </Button>
178
+ <Button>Renew</Button>
179
+ <Button variant="ghost">View plans</Button>
180
+ </AlertActions>
181
+ </Alert>;
182
+
183
+ <Alert actionsPlacement="end">
184
+ <AlertContent>
185
+ <AlertDescription>The suggestion changes three lines of the plan.</AlertDescription>
186
+ </AlertContent>
187
+ <AlertActions>
188
+ <Button>Apply</Button>
182
189
  </AlertActions>
183
190
  </Alert>;
184
191
  ```
@@ -225,7 +232,7 @@ Excerpt — not a complete module
225
232
 
226
233
  <Alert icon={<ShieldIcon />} render={(props) => <aside {...props} />}>
227
234
  <AlertContent>
228
- <AlertTitle render={(props) => <h3 {...props} />}>Manutenção</AlertTitle>
235
+ <AlertTitle render={(props) => <h3 {...props} />}>Maintenance</AlertTitle>
229
236
  </AlertContent>
230
237
  </Alert>;
231
238
  ```
@@ -237,15 +244,15 @@ Tab into the message and out of it: the box is a region a reader can jump to, th
237
244
  Excerpt — not a complete module
238
245
 
239
246
  ```tsx
240
- // A region landmark named "Manutenção", holding a polite status region.
247
+ // A region landmark named "Maintenance", holding a polite status region.
241
248
  <Alert live="polite">
242
249
  <AlertContent>
243
- <AlertTitle>Manutenção</AlertTitle>
250
+ <AlertTitle>Maintenance</AlertTitle>
244
251
  </AlertContent>
245
252
  </Alert>;
246
253
 
247
254
  // No title: a plain grouping element, and no landmark to jump to.
248
255
  <Alert>
249
- <AlertContent>Pronto.</AlertContent>
256
+ <AlertContent>Done.</AlertContent>
250
257
  </Alert>;
251
258
  ```