@slotted/angular 0.1.0-beta.3 → 0.1.0-beta.31

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 (740) hide show
  1. package/docs/AGENTS.snippet.md +3 -1
  2. package/docs/accordion.json +5 -5
  3. package/docs/accordion.md +12 -12
  4. package/docs/action-bar.json +23 -22
  5. package/docs/action-bar.md +30 -30
  6. package/docs/action-sheet.json +391 -64
  7. package/docs/action-sheet.md +259 -0
  8. package/docs/alert.json +31 -14
  9. package/docs/alert.md +29 -18
  10. package/docs/app-shell.examples.md +8 -8
  11. package/docs/app-shell.json +38 -21
  12. package/docs/app-shell.md +9 -7
  13. package/docs/avatar-group.json +1 -1
  14. package/docs/avatar-group.md +1 -1
  15. package/docs/avatar.json +32 -11
  16. package/docs/avatar.md +13 -11
  17. package/docs/badge.json +10 -4
  18. package/docs/badge.md +5 -5
  19. package/docs/breadcrumb.json +2 -2
  20. package/docs/breadcrumb.md +2 -2
  21. package/docs/button-group.json +2 -1
  22. package/docs/button-group.md +2 -2
  23. package/docs/button.examples.md +15 -0
  24. package/docs/button.json +134 -14
  25. package/docs/button.md +32 -8
  26. package/docs/calendar.json +31 -6
  27. package/docs/calendar.md +9 -6
  28. package/docs/card.json +3 -2
  29. package/docs/card.md +3 -3
  30. package/docs/carousel.json +10 -10
  31. package/docs/carousel.md +11 -11
  32. package/docs/cascader.json +2 -0
  33. package/docs/cascader.md +1 -1
  34. package/docs/chart.examples.md +45 -31
  35. package/docs/chart.json +40 -35
  36. package/docs/chart.md +7 -7
  37. package/docs/checkbox-group.examples.md +13 -13
  38. package/docs/checkbox-group.json +7 -7
  39. package/docs/checkbox-group.md +2 -2
  40. package/docs/checkbox.examples.md +7 -7
  41. package/docs/checkbox.json +6 -6
  42. package/docs/checkbox.md +3 -3
  43. package/docs/code-block.json +93 -93
  44. package/docs/code-block.md +70 -70
  45. package/docs/collapsible.json +12 -11
  46. package/docs/collapsible.md +20 -20
  47. package/docs/color-picker.json +26 -26
  48. package/docs/color-picker.md +16 -16
  49. package/docs/combobox.json +6 -2
  50. package/docs/combobox.md +3 -3
  51. package/docs/command-palette.json +2 -0
  52. package/docs/command-palette.md +1 -1
  53. package/docs/context-menu.json +1 -1
  54. package/docs/context-menu.md +1 -1
  55. package/docs/currency-field.examples.md +3 -3
  56. package/docs/currency-field.json +14 -6
  57. package/docs/currency-field.md +6 -5
  58. package/docs/dashboard-grid.json +53 -10
  59. package/docs/dashboard-grid.md +18 -6
  60. package/docs/data-grid.examples.md +3 -3
  61. package/docs/data-grid.json +37 -11
  62. package/docs/data-grid.md +2 -1
  63. package/docs/data-grid.props.md +7 -5
  64. package/docs/data-list.json +2 -1
  65. package/docs/data-list.md +1 -1
  66. package/docs/date-field.json +12 -4
  67. package/docs/date-field.md +8 -7
  68. package/docs/date-picker.examples.md +36 -0
  69. package/docs/date-picker.json +32 -5
  70. package/docs/date-picker.md +7 -5
  71. package/docs/date-range-picker.json +11 -0
  72. package/docs/date-range-picker.md +2 -1
  73. package/docs/datetime-field.json +5 -4
  74. package/docs/datetime-field.md +10 -10
  75. package/docs/datetime-picker.json +11 -1
  76. package/docs/datetime-picker.md +2 -1
  77. package/docs/datetime-range-picker.examples.md +3 -3
  78. package/docs/datetime-range-picker.json +14 -3
  79. package/docs/datetime-range-picker.md +4 -3
  80. package/docs/description-list.json +16 -7
  81. package/docs/description-list.md +8 -7
  82. package/docs/detail-panel.json +14 -12
  83. package/docs/detail-panel.md +20 -15
  84. package/docs/dialog.examples.md +143 -141
  85. package/docs/dialog.json +58 -24
  86. package/docs/dialog.md +6 -4
  87. package/docs/dialog.props.md +9 -7
  88. package/docs/drawer.examples.md +14 -14
  89. package/docs/drawer.json +44 -17
  90. package/docs/drawer.md +10 -8
  91. package/docs/entity-picker.json +22 -4
  92. package/docs/entity-picker.md +8 -6
  93. package/docs/event-calendar.examples.md +3 -3
  94. package/docs/event-calendar.json +5 -5
  95. package/docs/event-calendar.md +4 -4
  96. package/docs/field-group.json +21 -6
  97. package/docs/field-group.md +14 -12
  98. package/docs/field.examples.md +3 -3
  99. package/docs/field.json +20 -5
  100. package/docs/field.md +4 -2
  101. package/docs/filter-bar.json +118 -118
  102. package/docs/filter-bar.md +79 -79
  103. package/docs/form.json +24 -12
  104. package/docs/form.md +15 -13
  105. package/docs/fullscreen.json +4 -4
  106. package/docs/fullscreen.md +7 -7
  107. package/docs/guidelines/README.md +2 -2
  108. package/docs/guidelines/async-feedback.md +25 -4
  109. package/docs/guidelines/builders.md +1 -1
  110. package/docs/guidelines/composition.md +37 -11
  111. package/docs/guidelines/conversations.md +1 -1
  112. package/docs/guidelines/errors-and-conflicts.md +7 -6
  113. package/docs/guidelines/forms.md +111 -1
  114. package/docs/guidelines/index.md +27 -7
  115. package/docs/guidelines/layout-alignment.md +24 -14
  116. package/docs/guidelines/list-pages.md +44 -3
  117. package/docs/guidelines/overviews.md +39 -9
  118. package/docs/guidelines/own-elements.md +8 -8
  119. package/docs/guidelines/reading-permissions.md +2 -2
  120. package/docs/guidelines/record-pages.md +1 -1
  121. package/docs/guidelines/reports.md +1 -1
  122. package/docs/highlight.json +9 -9
  123. package/docs/highlight.md +14 -14
  124. package/docs/icon.json +5 -3
  125. package/docs/icon.md +4 -4
  126. package/docs/image.json +3 -3
  127. package/docs/image.md +3 -3
  128. package/docs/import-export-center.json +24 -23
  129. package/docs/import-export-center.md +18 -18
  130. package/docs/index.md +3 -2
  131. package/docs/inline-message.json +34 -21
  132. package/docs/inline-message.md +32 -30
  133. package/docs/inline.json +1 -1
  134. package/docs/inline.md +1 -1
  135. package/docs/kbd.json +5 -2
  136. package/docs/kbd.md +3 -3
  137. package/docs/link.json +22 -6
  138. package/docs/link.md +9 -7
  139. package/docs/list-item.json +20 -4
  140. package/docs/list-item.md +20 -17
  141. package/docs/list.examples.md +907 -0
  142. package/docs/list.json +121 -33
  143. package/docs/list.md +73 -137
  144. package/docs/listbox.json +1 -2
  145. package/docs/listbox.md +2 -2
  146. package/docs/loading-overlay.json +3 -3
  147. package/docs/loading-overlay.md +3 -3
  148. package/docs/markdown.json +86 -79
  149. package/docs/markdown.md +66 -65
  150. package/docs/media-viewer.json +521 -0
  151. package/docs/media-viewer.md +188 -0
  152. package/docs/menu.json +15 -1
  153. package/docs/menu.md +3 -1
  154. package/docs/message-scroller.json +2 -2
  155. package/docs/message-scroller.md +1 -1
  156. package/docs/message.json +18 -12
  157. package/docs/message.md +20 -20
  158. package/docs/multi-select.json +4 -1
  159. package/docs/multi-select.md +1 -1
  160. package/docs/navigation-menu.json +1 -0
  161. package/docs/navigation-menu.md +1 -1
  162. package/docs/notification-center.json +21 -16
  163. package/docs/notification-center.md +20 -24
  164. package/docs/number-field.examples.md +3 -3
  165. package/docs/number-field.json +4 -3
  166. package/docs/number-field.md +1 -1
  167. package/docs/otp-input.json +11 -10
  168. package/docs/otp-input.md +14 -14
  169. package/docs/page-header.json +31 -14
  170. package/docs/page-header.md +25 -25
  171. package/docs/page.json +4 -2
  172. package/docs/page.md +3 -2
  173. package/docs/pagination.json +2 -2
  174. package/docs/pagination.md +1 -1
  175. package/docs/popover.examples.md +1 -1
  176. package/docs/popover.json +5 -3
  177. package/docs/popover.md +2 -2
  178. package/docs/progress-indicator.json +7 -5
  179. package/docs/progress-indicator.md +7 -7
  180. package/docs/prompt-composer.json +53 -6
  181. package/docs/prompt-composer.md +12 -6
  182. package/docs/prose.json +1 -1
  183. package/docs/prose.md +1 -1
  184. package/docs/radio-group.examples.md +19 -19
  185. package/docs/radio-group.json +12 -12
  186. package/docs/radio-group.md +3 -3
  187. package/docs/rating.json +28 -26
  188. package/docs/rating.md +28 -37
  189. package/docs/result-state.json +13 -12
  190. package/docs/result-state.md +18 -18
  191. package/docs/saved-views.json +1 -1
  192. package/docs/scroll-area.json +266 -64
  193. package/docs/scroll-area.md +188 -0
  194. package/docs/section.json +44 -22
  195. package/docs/section.md +34 -31
  196. package/docs/segmented-control.json +21 -25
  197. package/docs/segmented-control.md +33 -33
  198. package/docs/select.json +4 -0
  199. package/docs/select.md +1 -1
  200. package/docs/side-navigation.json +1 -0
  201. package/docs/side-navigation.md +1 -1
  202. package/docs/skeleton.json +1 -1
  203. package/docs/skeleton.md +1 -1
  204. package/docs/skills/build-own-element/SKILL.md +9 -9
  205. package/docs/skills/compose-screen/SKILL.md +59 -18
  206. package/docs/skills/index.md +2 -2
  207. package/docs/skills/review-screen/SKILL.md +29 -17
  208. package/docs/skills/theme-app/SKILL.md +66 -20
  209. package/docs/skills/waiting-states/SKILL.md +15 -11
  210. package/docs/slider.json +8 -8
  211. package/docs/slider.md +12 -12
  212. package/docs/sparkline.json +12 -9
  213. package/docs/sparkline.md +9 -9
  214. package/docs/split-button.json +14 -12
  215. package/docs/split-button.md +28 -30
  216. package/docs/splitter.json +279 -64
  217. package/docs/splitter.md +215 -0
  218. package/docs/stack.json +1 -1
  219. package/docs/stack.md +1 -1
  220. package/docs/stat-card.json +36 -9
  221. package/docs/stat-card.md +11 -8
  222. package/docs/status-indicator.json +22 -11
  223. package/docs/status-indicator.md +8 -6
  224. package/docs/stepper.json +4 -4
  225. package/docs/stepper.md +4 -4
  226. package/docs/switch.json +5 -5
  227. package/docs/switch.md +7 -7
  228. package/docs/table-of-contents.json +13 -12
  229. package/docs/table-of-contents.md +14 -14
  230. package/docs/table.examples.md +3 -3
  231. package/docs/table.json +17 -3
  232. package/docs/table.md +3 -1
  233. package/docs/tabs.json +16 -3
  234. package/docs/tabs.md +3 -2
  235. package/docs/tag.json +38 -26
  236. package/docs/tag.md +17 -17
  237. package/docs/tags-input.json +30 -3
  238. package/docs/tags-input.md +5 -2
  239. package/docs/text-field.examples.md +6 -6
  240. package/docs/text-field.json +6 -5
  241. package/docs/text-field.md +2 -2
  242. package/docs/textarea.examples.md +7 -7
  243. package/docs/textarea.json +4 -3
  244. package/docs/textarea.md +1 -1
  245. package/docs/time-field.json +4 -3
  246. package/docs/time-field.md +7 -7
  247. package/docs/time-picker.json +15 -5
  248. package/docs/time-picker.md +8 -7
  249. package/docs/time-range-picker.examples.md +5 -5
  250. package/docs/time-range-picker.json +15 -4
  251. package/docs/time-range-picker.md +3 -2
  252. package/docs/timeline.json +138 -132
  253. package/docs/timeline.md +125 -125
  254. package/docs/toast.json +15 -7
  255. package/docs/toast.md +8 -8
  256. package/docs/toggle-group.json +12 -12
  257. package/docs/toggle-group.md +28 -28
  258. package/docs/toggle.json +8 -8
  259. package/docs/toggle.md +7 -7
  260. package/docs/tokens.md +53 -26
  261. package/docs/toolbar.json +11 -11
  262. package/docs/toolbar.md +23 -23
  263. package/docs/tooltip.json +4 -3
  264. package/docs/tooltip.md +4 -4
  265. package/docs/top-navigation.examples.md +11 -15
  266. package/docs/top-navigation.json +9 -9
  267. package/docs/top-navigation.md +7 -7
  268. package/docs/tour.json +10 -9
  269. package/docs/tour.md +7 -7
  270. package/docs/typography.json +6 -4
  271. package/docs/typography.md +5 -5
  272. package/docs/upload.examples.md +3 -3
  273. package/docs/upload.json +9 -9
  274. package/docs/upload.md +4 -4
  275. package/fesm2022/slotted-angular-accordion.mjs +4 -2
  276. package/fesm2022/slotted-angular-accordion.mjs.map +1 -1
  277. package/fesm2022/slotted-angular-action-bar.mjs +27 -12
  278. package/fesm2022/slotted-angular-action-bar.mjs.map +1 -1
  279. package/fesm2022/slotted-angular-action-sheet.mjs +48 -29
  280. package/fesm2022/slotted-angular-action-sheet.mjs.map +1 -1
  281. package/fesm2022/slotted-angular-alert.mjs +56 -18
  282. package/fesm2022/slotted-angular-alert.mjs.map +1 -1
  283. package/fesm2022/slotted-angular-app-shell.mjs +85 -56
  284. package/fesm2022/slotted-angular-app-shell.mjs.map +1 -1
  285. package/fesm2022/slotted-angular-aspect-ratio.mjs +4 -2
  286. package/fesm2022/slotted-angular-aspect-ratio.mjs.map +1 -1
  287. package/fesm2022/slotted-angular-attachment.mjs +33 -22
  288. package/fesm2022/slotted-angular-attachment.mjs.map +1 -1
  289. package/fesm2022/slotted-angular-avatar-group.mjs +13 -10
  290. package/fesm2022/slotted-angular-avatar-group.mjs.map +1 -1
  291. package/fesm2022/slotted-angular-avatar.mjs +17 -10
  292. package/fesm2022/slotted-angular-avatar.mjs.map +1 -1
  293. package/fesm2022/slotted-angular-badge.mjs +15 -11
  294. package/fesm2022/slotted-angular-badge.mjs.map +1 -1
  295. package/fesm2022/slotted-angular-breadcrumb.mjs +27 -19
  296. package/fesm2022/slotted-angular-breadcrumb.mjs.map +1 -1
  297. package/fesm2022/slotted-angular-button-group.mjs +8 -5
  298. package/fesm2022/slotted-angular-button-group.mjs.map +1 -1
  299. package/fesm2022/slotted-angular-button.mjs +163 -28
  300. package/fesm2022/slotted-angular-button.mjs.map +1 -1
  301. package/fesm2022/slotted-angular-calendar.mjs +263 -65
  302. package/fesm2022/slotted-angular-calendar.mjs.map +1 -1
  303. package/fesm2022/slotted-angular-card.mjs +19 -17
  304. package/fesm2022/slotted-angular-card.mjs.map +1 -1
  305. package/fesm2022/slotted-angular-carousel.mjs +22 -11
  306. package/fesm2022/slotted-angular-carousel.mjs.map +1 -1
  307. package/fesm2022/slotted-angular-cascader.mjs +179 -65
  308. package/fesm2022/slotted-angular-cascader.mjs.map +1 -1
  309. package/fesm2022/slotted-angular-chart.mjs +26 -5
  310. package/fesm2022/slotted-angular-chart.mjs.map +1 -1
  311. package/fesm2022/slotted-angular-checkbox-group.mjs +5 -3
  312. package/fesm2022/slotted-angular-checkbox-group.mjs.map +1 -1
  313. package/fesm2022/slotted-angular-checkbox.mjs +14 -9
  314. package/fesm2022/slotted-angular-checkbox.mjs.map +1 -1
  315. package/fesm2022/slotted-angular-code-block.mjs +30 -16
  316. package/fesm2022/slotted-angular-code-block.mjs.map +1 -1
  317. package/fesm2022/slotted-angular-collapsible.mjs +21 -16
  318. package/fesm2022/slotted-angular-collapsible.mjs.map +1 -1
  319. package/fesm2022/slotted-angular-color-picker.mjs +83 -28
  320. package/fesm2022/slotted-angular-color-picker.mjs.map +1 -1
  321. package/fesm2022/slotted-angular-column-manager.mjs +71 -32
  322. package/fesm2022/slotted-angular-column-manager.mjs.map +1 -1
  323. package/fesm2022/slotted-angular-combobox.mjs +108 -35
  324. package/fesm2022/slotted-angular-combobox.mjs.map +1 -1
  325. package/fesm2022/slotted-angular-command-palette.mjs +162 -54
  326. package/fesm2022/slotted-angular-command-palette.mjs.map +1 -1
  327. package/fesm2022/slotted-angular-container.mjs +6 -4
  328. package/fesm2022/slotted-angular-container.mjs.map +1 -1
  329. package/fesm2022/slotted-angular-context-menu.mjs +5 -4
  330. package/fesm2022/slotted-angular-context-menu.mjs.map +1 -1
  331. package/fesm2022/slotted-angular-currency-field.mjs +100 -34
  332. package/fesm2022/slotted-angular-currency-field.mjs.map +1 -1
  333. package/fesm2022/slotted-angular-dashboard-grid.mjs +384 -88
  334. package/fesm2022/slotted-angular-dashboard-grid.mjs.map +1 -1
  335. package/fesm2022/slotted-angular-data-grid.mjs +461 -129
  336. package/fesm2022/slotted-angular-data-grid.mjs.map +1 -1
  337. package/fesm2022/slotted-angular-data-list.mjs +83 -50
  338. package/fesm2022/slotted-angular-data-list.mjs.map +1 -1
  339. package/fesm2022/slotted-angular-date-field.mjs +78 -27
  340. package/fesm2022/slotted-angular-date-field.mjs.map +1 -1
  341. package/fesm2022/slotted-angular-date-picker.mjs +135 -40
  342. package/fesm2022/slotted-angular-date-picker.mjs.map +1 -1
  343. package/fesm2022/slotted-angular-date-range-picker.mjs +68 -22
  344. package/fesm2022/slotted-angular-date-range-picker.mjs.map +1 -1
  345. package/fesm2022/slotted-angular-datetime-field.mjs +49 -17
  346. package/fesm2022/slotted-angular-datetime-field.mjs.map +1 -1
  347. package/fesm2022/slotted-angular-datetime-picker.mjs +64 -29
  348. package/fesm2022/slotted-angular-datetime-picker.mjs.map +1 -1
  349. package/fesm2022/slotted-angular-datetime-range-picker.mjs +144 -54
  350. package/fesm2022/slotted-angular-datetime-range-picker.mjs.map +1 -1
  351. package/fesm2022/slotted-angular-description-list.mjs +47 -24
  352. package/fesm2022/slotted-angular-description-list.mjs.map +1 -1
  353. package/fesm2022/slotted-angular-detail-panel.mjs +48 -30
  354. package/fesm2022/slotted-angular-detail-panel.mjs.map +1 -1
  355. package/fesm2022/slotted-angular-dialog.mjs +81 -39
  356. package/fesm2022/slotted-angular-dialog.mjs.map +1 -1
  357. package/fesm2022/slotted-angular-divider.mjs +7 -5
  358. package/fesm2022/slotted-angular-divider.mjs.map +1 -1
  359. package/fesm2022/slotted-angular-drawer.mjs +236 -105
  360. package/fesm2022/slotted-angular-drawer.mjs.map +1 -1
  361. package/fesm2022/slotted-angular-entity-picker.mjs +474 -75
  362. package/fesm2022/slotted-angular-entity-picker.mjs.map +1 -1
  363. package/fesm2022/slotted-angular-event-calendar.mjs +262 -105
  364. package/fesm2022/slotted-angular-event-calendar.mjs.map +1 -1
  365. package/fesm2022/slotted-angular-field-group.mjs +30 -9
  366. package/fesm2022/slotted-angular-field-group.mjs.map +1 -1
  367. package/fesm2022/slotted-angular-field.mjs +49 -18
  368. package/fesm2022/slotted-angular-field.mjs.map +1 -1
  369. package/fesm2022/slotted-angular-filter-bar.mjs +111 -44
  370. package/fesm2022/slotted-angular-filter-bar.mjs.map +1 -1
  371. package/fesm2022/slotted-angular-form.mjs +48 -17
  372. package/fesm2022/slotted-angular-form.mjs.map +1 -1
  373. package/fesm2022/slotted-angular-fullscreen.mjs +14 -8
  374. package/fesm2022/slotted-angular-fullscreen.mjs.map +1 -1
  375. package/fesm2022/slotted-angular-grid.mjs +6 -4
  376. package/fesm2022/slotted-angular-grid.mjs.map +1 -1
  377. package/fesm2022/slotted-angular-highlight.mjs +6 -4
  378. package/fesm2022/slotted-angular-highlight.mjs.map +1 -1
  379. package/fesm2022/slotted-angular-hover-card.mjs +5 -4
  380. package/fesm2022/slotted-angular-hover-card.mjs.map +1 -1
  381. package/fesm2022/slotted-angular-icon.mjs +191 -90
  382. package/fesm2022/slotted-angular-icon.mjs.map +1 -1
  383. package/fesm2022/slotted-angular-image.mjs +13 -10
  384. package/fesm2022/slotted-angular-image.mjs.map +1 -1
  385. package/fesm2022/slotted-angular-import-export-center.mjs +185 -109
  386. package/fesm2022/slotted-angular-import-export-center.mjs.map +1 -1
  387. package/fesm2022/slotted-angular-inline-message.mjs +98 -23
  388. package/fesm2022/slotted-angular-inline-message.mjs.map +1 -1
  389. package/fesm2022/slotted-angular-inline.mjs +7 -5
  390. package/fesm2022/slotted-angular-inline.mjs.map +1 -1
  391. package/fesm2022/slotted-angular-kbd.mjs +11 -7
  392. package/fesm2022/slotted-angular-kbd.mjs.map +1 -1
  393. package/fesm2022/slotted-angular-link.mjs +13 -4
  394. package/fesm2022/slotted-angular-link.mjs.map +1 -1
  395. package/fesm2022/slotted-angular-list-item.mjs +63 -23
  396. package/fesm2022/slotted-angular-list-item.mjs.map +1 -1
  397. package/fesm2022/slotted-angular-list.mjs +15 -11
  398. package/fesm2022/slotted-angular-list.mjs.map +1 -1
  399. package/fesm2022/slotted-angular-listbox.mjs +41 -23
  400. package/fesm2022/slotted-angular-listbox.mjs.map +1 -1
  401. package/fesm2022/slotted-angular-loading-overlay.mjs +62 -25
  402. package/fesm2022/slotted-angular-loading-overlay.mjs.map +1 -1
  403. package/fesm2022/slotted-angular-markdown.mjs +57 -31
  404. package/fesm2022/slotted-angular-markdown.mjs.map +1 -1
  405. package/fesm2022/slotted-angular-media-viewer.mjs +962 -0
  406. package/fesm2022/slotted-angular-media-viewer.mjs.map +1 -0
  407. package/fesm2022/slotted-angular-menu.mjs +62 -39
  408. package/fesm2022/slotted-angular-menu.mjs.map +1 -1
  409. package/fesm2022/slotted-angular-menubar.mjs +6 -3
  410. package/fesm2022/slotted-angular-menubar.mjs.map +1 -1
  411. package/fesm2022/slotted-angular-message-scroller.mjs +35 -16
  412. package/fesm2022/slotted-angular-message-scroller.mjs.map +1 -1
  413. package/fesm2022/slotted-angular-message.mjs +119 -51
  414. package/fesm2022/slotted-angular-message.mjs.map +1 -1
  415. package/fesm2022/slotted-angular-multi-select.mjs +163 -60
  416. package/fesm2022/slotted-angular-multi-select.mjs.map +1 -1
  417. package/fesm2022/slotted-angular-navigation-menu.mjs +34 -26
  418. package/fesm2022/slotted-angular-navigation-menu.mjs.map +1 -1
  419. package/fesm2022/slotted-angular-notification-center.mjs +111 -68
  420. package/fesm2022/slotted-angular-notification-center.mjs.map +1 -1
  421. package/fesm2022/slotted-angular-number-field.mjs +24 -12
  422. package/fesm2022/slotted-angular-number-field.mjs.map +1 -1
  423. package/fesm2022/slotted-angular-otp-input.mjs +14 -9
  424. package/fesm2022/slotted-angular-otp-input.mjs.map +1 -1
  425. package/fesm2022/slotted-angular-page-header.mjs +90 -48
  426. package/fesm2022/slotted-angular-page-header.mjs.map +1 -1
  427. package/fesm2022/slotted-angular-page.mjs +60 -12
  428. package/fesm2022/slotted-angular-page.mjs.map +1 -1
  429. package/fesm2022/slotted-angular-pagination.mjs +35 -22
  430. package/fesm2022/slotted-angular-pagination.mjs.map +1 -1
  431. package/fesm2022/slotted-angular-popover.mjs +34 -21
  432. package/fesm2022/slotted-angular-popover.mjs.map +1 -1
  433. package/fesm2022/slotted-angular-progress-indicator.mjs +238 -54
  434. package/fesm2022/slotted-angular-progress-indicator.mjs.map +1 -1
  435. package/fesm2022/slotted-angular-prompt-composer.mjs +132 -22
  436. package/fesm2022/slotted-angular-prompt-composer.mjs.map +1 -1
  437. package/fesm2022/slotted-angular-prose.mjs +14 -11
  438. package/fesm2022/slotted-angular-prose.mjs.map +1 -1
  439. package/fesm2022/slotted-angular-radio-group.mjs +17 -11
  440. package/fesm2022/slotted-angular-radio-group.mjs.map +1 -1
  441. package/fesm2022/slotted-angular-rating.mjs +143 -87
  442. package/fesm2022/slotted-angular-rating.mjs.map +1 -1
  443. package/fesm2022/slotted-angular-result-state.mjs +16 -12
  444. package/fesm2022/slotted-angular-result-state.mjs.map +1 -1
  445. package/fesm2022/slotted-angular-saved-views.mjs +43 -16
  446. package/fesm2022/slotted-angular-saved-views.mjs.map +1 -1
  447. package/fesm2022/slotted-angular-scroll-area.mjs +13 -5
  448. package/fesm2022/slotted-angular-scroll-area.mjs.map +1 -1
  449. package/fesm2022/slotted-angular-section.mjs +81 -19
  450. package/fesm2022/slotted-angular-section.mjs.map +1 -1
  451. package/fesm2022/slotted-angular-segmented-control.mjs +16 -10
  452. package/fesm2022/slotted-angular-segmented-control.mjs.map +1 -1
  453. package/fesm2022/slotted-angular-select.mjs +189 -69
  454. package/fesm2022/slotted-angular-select.mjs.map +1 -1
  455. package/fesm2022/slotted-angular-side-navigation.mjs +46 -35
  456. package/fesm2022/slotted-angular-side-navigation.mjs.map +1 -1
  457. package/fesm2022/slotted-angular-skeleton.mjs +32 -16
  458. package/fesm2022/slotted-angular-skeleton.mjs.map +1 -1
  459. package/fesm2022/slotted-angular-slider.mjs +34 -14
  460. package/fesm2022/slotted-angular-slider.mjs.map +1 -1
  461. package/fesm2022/slotted-angular-sparkline.mjs +41 -14
  462. package/fesm2022/slotted-angular-sparkline.mjs.map +1 -1
  463. package/fesm2022/slotted-angular-split-button.mjs +37 -11
  464. package/fesm2022/slotted-angular-split-button.mjs.map +1 -1
  465. package/fesm2022/slotted-angular-splitter.mjs +11 -9
  466. package/fesm2022/slotted-angular-splitter.mjs.map +1 -1
  467. package/fesm2022/slotted-angular-stack.mjs +6 -4
  468. package/fesm2022/slotted-angular-stack.mjs.map +1 -1
  469. package/fesm2022/slotted-angular-stat-card.mjs +120 -41
  470. package/fesm2022/slotted-angular-stat-card.mjs.map +1 -1
  471. package/fesm2022/slotted-angular-status-indicator.mjs +51 -20
  472. package/fesm2022/slotted-angular-status-indicator.mjs.map +1 -1
  473. package/fesm2022/slotted-angular-stepper.mjs +40 -15
  474. package/fesm2022/slotted-angular-stepper.mjs.map +1 -1
  475. package/fesm2022/slotted-angular-switch.mjs +15 -10
  476. package/fesm2022/slotted-angular-switch.mjs.map +1 -1
  477. package/fesm2022/slotted-angular-table-of-contents.mjs +29 -21
  478. package/fesm2022/slotted-angular-table-of-contents.mjs.map +1 -1
  479. package/fesm2022/slotted-angular-table.mjs +162 -79
  480. package/fesm2022/slotted-angular-table.mjs.map +1 -1
  481. package/fesm2022/slotted-angular-tabs.mjs +42 -18
  482. package/fesm2022/slotted-angular-tabs.mjs.map +1 -1
  483. package/fesm2022/slotted-angular-tag.mjs +20 -13
  484. package/fesm2022/slotted-angular-tag.mjs.map +1 -1
  485. package/fesm2022/slotted-angular-tags-input.mjs +254 -29
  486. package/fesm2022/slotted-angular-tags-input.mjs.map +1 -1
  487. package/fesm2022/slotted-angular-text-field.mjs +55 -15
  488. package/fesm2022/slotted-angular-text-field.mjs.map +1 -1
  489. package/fesm2022/slotted-angular-textarea.mjs +5 -3
  490. package/fesm2022/slotted-angular-textarea.mjs.map +1 -1
  491. package/fesm2022/slotted-angular-theme.mjs +6 -3
  492. package/fesm2022/slotted-angular-theme.mjs.map +1 -1
  493. package/fesm2022/slotted-angular-time-field.mjs +48 -14
  494. package/fesm2022/slotted-angular-time-field.mjs.map +1 -1
  495. package/fesm2022/slotted-angular-time-picker.mjs +55 -20
  496. package/fesm2022/slotted-angular-time-picker.mjs.map +1 -1
  497. package/fesm2022/slotted-angular-time-range-picker.mjs +142 -52
  498. package/fesm2022/slotted-angular-time-range-picker.mjs.map +1 -1
  499. package/fesm2022/slotted-angular-timeline.mjs +147 -64
  500. package/fesm2022/slotted-angular-timeline.mjs.map +1 -1
  501. package/fesm2022/slotted-angular-toast.mjs +50 -38
  502. package/fesm2022/slotted-angular-toast.mjs.map +1 -1
  503. package/fesm2022/slotted-angular-toggle-group.mjs +10 -6
  504. package/fesm2022/slotted-angular-toggle-group.mjs.map +1 -1
  505. package/fesm2022/slotted-angular-toggle.mjs +9 -4
  506. package/fesm2022/slotted-angular-toggle.mjs.map +1 -1
  507. package/fesm2022/slotted-angular-toolbar.mjs +27 -12
  508. package/fesm2022/slotted-angular-toolbar.mjs.map +1 -1
  509. package/fesm2022/slotted-angular-tooltip.mjs +15 -6
  510. package/fesm2022/slotted-angular-tooltip.mjs.map +1 -1
  511. package/fesm2022/slotted-angular-top-navigation.mjs +64 -44
  512. package/fesm2022/slotted-angular-top-navigation.mjs.map +1 -1
  513. package/fesm2022/slotted-angular-tour.mjs +49 -24
  514. package/fesm2022/slotted-angular-tour.mjs.map +1 -1
  515. package/fesm2022/slotted-angular-transfer.mjs +69 -30
  516. package/fesm2022/slotted-angular-transfer.mjs.map +1 -1
  517. package/fesm2022/slotted-angular-tree.mjs +80 -26
  518. package/fesm2022/slotted-angular-tree.mjs.map +1 -1
  519. package/fesm2022/slotted-angular-typography.mjs +9 -5
  520. package/fesm2022/slotted-angular-typography.mjs.map +1 -1
  521. package/fesm2022/slotted-angular-upload.mjs +127 -59
  522. package/fesm2022/slotted-angular-upload.mjs.map +1 -1
  523. package/fesm2022/slotted-angular-visually-hidden.mjs +4 -2
  524. package/fesm2022/slotted-angular-visually-hidden.mjs.map +1 -1
  525. package/fesm2022/slotted-angular-wizard.mjs +169 -71
  526. package/fesm2022/slotted-angular-wizard.mjs.map +1 -1
  527. package/package.json +19 -3
  528. package/types/slotted-angular-accordion.d.ts.map +1 -1
  529. package/types/slotted-angular-action-bar.d.ts +2 -0
  530. package/types/slotted-angular-action-bar.d.ts.map +1 -1
  531. package/types/slotted-angular-action-sheet.d.ts.map +1 -1
  532. package/types/slotted-angular-alert.d.ts +17 -8
  533. package/types/slotted-angular-alert.d.ts.map +1 -1
  534. package/types/slotted-angular-app-shell.d.ts +10 -8
  535. package/types/slotted-angular-app-shell.d.ts.map +1 -1
  536. package/types/slotted-angular-aspect-ratio.d.ts.map +1 -1
  537. package/types/slotted-angular-attachment.d.ts +2 -1
  538. package/types/slotted-angular-attachment.d.ts.map +1 -1
  539. package/types/slotted-angular-avatar-group.d.ts +3 -3
  540. package/types/slotted-angular-avatar-group.d.ts.map +1 -1
  541. package/types/slotted-angular-avatar.d.ts +17 -9
  542. package/types/slotted-angular-avatar.d.ts.map +1 -1
  543. package/types/slotted-angular-badge.d.ts +4 -4
  544. package/types/slotted-angular-badge.d.ts.map +1 -1
  545. package/types/slotted-angular-breadcrumb.d.ts +1 -1
  546. package/types/slotted-angular-breadcrumb.d.ts.map +1 -1
  547. package/types/slotted-angular-button-group.d.ts +2 -2
  548. package/types/slotted-angular-button-group.d.ts.map +1 -1
  549. package/types/slotted-angular-button.d.ts +45 -12
  550. package/types/slotted-angular-button.d.ts.map +1 -1
  551. package/types/slotted-angular-calendar.d.ts +43 -2
  552. package/types/slotted-angular-calendar.d.ts.map +1 -1
  553. package/types/slotted-angular-card.d.ts +1 -1
  554. package/types/slotted-angular-card.d.ts.map +1 -1
  555. package/types/slotted-angular-carousel.d.ts.map +1 -1
  556. package/types/slotted-angular-cascader.d.ts.map +1 -1
  557. package/types/slotted-angular-chart.d.ts +14 -11
  558. package/types/slotted-angular-chart.d.ts.map +1 -1
  559. package/types/slotted-angular-checkbox-group.d.ts.map +1 -1
  560. package/types/slotted-angular-checkbox.d.ts +1 -1
  561. package/types/slotted-angular-checkbox.d.ts.map +1 -1
  562. package/types/slotted-angular-code-block.d.ts +3 -2
  563. package/types/slotted-angular-code-block.d.ts.map +1 -1
  564. package/types/slotted-angular-collapsible.d.ts +3 -2
  565. package/types/slotted-angular-collapsible.d.ts.map +1 -1
  566. package/types/slotted-angular-color-picker.d.ts +6 -6
  567. package/types/slotted-angular-color-picker.d.ts.map +1 -1
  568. package/types/slotted-angular-column-manager.d.ts +1 -1
  569. package/types/slotted-angular-column-manager.d.ts.map +1 -1
  570. package/types/slotted-angular-combobox.d.ts +6 -1
  571. package/types/slotted-angular-combobox.d.ts.map +1 -1
  572. package/types/slotted-angular-command-palette.d.ts +10 -1
  573. package/types/slotted-angular-command-palette.d.ts.map +1 -1
  574. package/types/slotted-angular-container.d.ts.map +1 -1
  575. package/types/slotted-angular-context-menu.d.ts.map +1 -1
  576. package/types/slotted-angular-currency-field.d.ts +40 -14
  577. package/types/slotted-angular-currency-field.d.ts.map +1 -1
  578. package/types/slotted-angular-dashboard-grid.d.ts +65 -7
  579. package/types/slotted-angular-dashboard-grid.d.ts.map +1 -1
  580. package/types/slotted-angular-data-grid.d.ts +63 -5
  581. package/types/slotted-angular-data-grid.d.ts.map +1 -1
  582. package/types/slotted-angular-data-list.d.ts.map +1 -1
  583. package/types/slotted-angular-date-field.d.ts +12 -1
  584. package/types/slotted-angular-date-field.d.ts.map +1 -1
  585. package/types/slotted-angular-date-picker.d.ts +39 -12
  586. package/types/slotted-angular-date-picker.d.ts.map +1 -1
  587. package/types/slotted-angular-date-range-picker.d.ts +1 -1
  588. package/types/slotted-angular-date-range-picker.d.ts.map +1 -1
  589. package/types/slotted-angular-datetime-field.d.ts.map +1 -1
  590. package/types/slotted-angular-datetime-picker.d.ts +1 -1
  591. package/types/slotted-angular-datetime-picker.d.ts.map +1 -1
  592. package/types/slotted-angular-datetime-range-picker.d.ts +2 -2
  593. package/types/slotted-angular-datetime-range-picker.d.ts.map +1 -1
  594. package/types/slotted-angular-description-list.d.ts +12 -4
  595. package/types/slotted-angular-description-list.d.ts.map +1 -1
  596. package/types/slotted-angular-detail-panel.d.ts.map +1 -1
  597. package/types/slotted-angular-dialog.d.ts +11 -3
  598. package/types/slotted-angular-dialog.d.ts.map +1 -1
  599. package/types/slotted-angular-divider.d.ts.map +1 -1
  600. package/types/slotted-angular-drawer.d.ts +29 -3
  601. package/types/slotted-angular-drawer.d.ts.map +1 -1
  602. package/types/slotted-angular-entity-picker.d.ts +63 -15
  603. package/types/slotted-angular-entity-picker.d.ts.map +1 -1
  604. package/types/slotted-angular-event-calendar.d.ts.map +1 -1
  605. package/types/slotted-angular-field-group.d.ts +10 -2
  606. package/types/slotted-angular-field-group.d.ts.map +1 -1
  607. package/types/slotted-angular-field.d.ts +12 -4
  608. package/types/slotted-angular-field.d.ts.map +1 -1
  609. package/types/slotted-angular-filter-bar.d.ts.map +1 -1
  610. package/types/slotted-angular-form.d.ts +11 -2
  611. package/types/slotted-angular-form.d.ts.map +1 -1
  612. package/types/slotted-angular-fullscreen.d.ts.map +1 -1
  613. package/types/slotted-angular-grid.d.ts.map +1 -1
  614. package/types/slotted-angular-highlight.d.ts +1 -1
  615. package/types/slotted-angular-highlight.d.ts.map +1 -1
  616. package/types/slotted-angular-hover-card.d.ts.map +1 -1
  617. package/types/slotted-angular-icon.d.ts +15 -5
  618. package/types/slotted-angular-icon.d.ts.map +1 -1
  619. package/types/slotted-angular-image.d.ts.map +1 -1
  620. package/types/slotted-angular-import-export-center.d.ts +9 -9
  621. package/types/slotted-angular-import-export-center.d.ts.map +1 -1
  622. package/types/slotted-angular-inline-message.d.ts +32 -31
  623. package/types/slotted-angular-inline-message.d.ts.map +1 -1
  624. package/types/slotted-angular-inline.d.ts +1 -1
  625. package/types/slotted-angular-inline.d.ts.map +1 -1
  626. package/types/slotted-angular-kbd.d.ts +1 -1
  627. package/types/slotted-angular-kbd.d.ts.map +1 -1
  628. package/types/slotted-angular-link.d.ts +8 -2
  629. package/types/slotted-angular-link.d.ts.map +1 -1
  630. package/types/slotted-angular-list-item.d.ts +5 -1
  631. package/types/slotted-angular-list-item.d.ts.map +1 -1
  632. package/types/slotted-angular-list.d.ts +1 -1
  633. package/types/slotted-angular-list.d.ts.map +1 -1
  634. package/types/slotted-angular-listbox.d.ts +2 -2
  635. package/types/slotted-angular-listbox.d.ts.map +1 -1
  636. package/types/slotted-angular-loading-overlay.d.ts +3 -3
  637. package/types/slotted-angular-loading-overlay.d.ts.map +1 -1
  638. package/types/slotted-angular-markdown.d.ts +6 -1
  639. package/types/slotted-angular-markdown.d.ts.map +1 -1
  640. package/types/slotted-angular-media-viewer.d.ts +140 -0
  641. package/types/slotted-angular-media-viewer.d.ts.map +1 -0
  642. package/types/slotted-angular-menu.d.ts +17 -3
  643. package/types/slotted-angular-menu.d.ts.map +1 -1
  644. package/types/slotted-angular-menubar.d.ts +5 -4
  645. package/types/slotted-angular-menubar.d.ts.map +1 -1
  646. package/types/slotted-angular-message-scroller.d.ts +1 -1
  647. package/types/slotted-angular-message-scroller.d.ts.map +1 -1
  648. package/types/slotted-angular-message.d.ts +1 -1
  649. package/types/slotted-angular-message.d.ts.map +1 -1
  650. package/types/slotted-angular-multi-select.d.ts +6 -1
  651. package/types/slotted-angular-multi-select.d.ts.map +1 -1
  652. package/types/slotted-angular-navigation-menu.d.ts.map +1 -1
  653. package/types/slotted-angular-notification-center.d.ts +5 -5
  654. package/types/slotted-angular-notification-center.d.ts.map +1 -1
  655. package/types/slotted-angular-number-field.d.ts.map +1 -1
  656. package/types/slotted-angular-otp-input.d.ts +1 -1
  657. package/types/slotted-angular-otp-input.d.ts.map +1 -1
  658. package/types/slotted-angular-page-header.d.ts +15 -6
  659. package/types/slotted-angular-page-header.d.ts.map +1 -1
  660. package/types/slotted-angular-page.d.ts +7 -1
  661. package/types/slotted-angular-page.d.ts.map +1 -1
  662. package/types/slotted-angular-pagination.d.ts.map +1 -1
  663. package/types/slotted-angular-popover.d.ts.map +1 -1
  664. package/types/slotted-angular-progress-indicator.d.ts +10 -3
  665. package/types/slotted-angular-progress-indicator.d.ts.map +1 -1
  666. package/types/slotted-angular-prompt-composer.d.ts +35 -3
  667. package/types/slotted-angular-prompt-composer.d.ts.map +1 -1
  668. package/types/slotted-angular-prose.d.ts.map +1 -1
  669. package/types/slotted-angular-radio-group.d.ts +2 -2
  670. package/types/slotted-angular-radio-group.d.ts.map +1 -1
  671. package/types/slotted-angular-rating.d.ts +3 -3
  672. package/types/slotted-angular-rating.d.ts.map +1 -1
  673. package/types/slotted-angular-result-state.d.ts +1 -1
  674. package/types/slotted-angular-result-state.d.ts.map +1 -1
  675. package/types/slotted-angular-saved-views.d.ts.map +1 -1
  676. package/types/slotted-angular-scroll-area.d.ts.map +1 -1
  677. package/types/slotted-angular-section.d.ts +14 -4
  678. package/types/slotted-angular-section.d.ts.map +1 -1
  679. package/types/slotted-angular-segmented-control.d.ts +2 -2
  680. package/types/slotted-angular-segmented-control.d.ts.map +1 -1
  681. package/types/slotted-angular-select.d.ts +13 -2
  682. package/types/slotted-angular-select.d.ts.map +1 -1
  683. package/types/slotted-angular-side-navigation.d.ts.map +1 -1
  684. package/types/slotted-angular-skeleton.d.ts.map +1 -1
  685. package/types/slotted-angular-slider.d.ts.map +1 -1
  686. package/types/slotted-angular-sparkline.d.ts +7 -1
  687. package/types/slotted-angular-sparkline.d.ts.map +1 -1
  688. package/types/slotted-angular-split-button.d.ts +2 -2
  689. package/types/slotted-angular-split-button.d.ts.map +1 -1
  690. package/types/slotted-angular-splitter.d.ts.map +1 -1
  691. package/types/slotted-angular-stack.d.ts.map +1 -1
  692. package/types/slotted-angular-stat-card.d.ts +31 -7
  693. package/types/slotted-angular-stat-card.d.ts.map +1 -1
  694. package/types/slotted-angular-status-indicator.d.ts +15 -5
  695. package/types/slotted-angular-status-indicator.d.ts.map +1 -1
  696. package/types/slotted-angular-stepper.d.ts +2 -1
  697. package/types/slotted-angular-stepper.d.ts.map +1 -1
  698. package/types/slotted-angular-switch.d.ts +1 -1
  699. package/types/slotted-angular-switch.d.ts.map +1 -1
  700. package/types/slotted-angular-table-of-contents.d.ts.map +1 -1
  701. package/types/slotted-angular-table.d.ts +21 -4
  702. package/types/slotted-angular-table.d.ts.map +1 -1
  703. package/types/slotted-angular-tabs.d.ts +4 -5
  704. package/types/slotted-angular-tabs.d.ts.map +1 -1
  705. package/types/slotted-angular-tag.d.ts +5 -5
  706. package/types/slotted-angular-tag.d.ts.map +1 -1
  707. package/types/slotted-angular-tags-input.d.ts +34 -2
  708. package/types/slotted-angular-tags-input.d.ts.map +1 -1
  709. package/types/slotted-angular-text-field.d.ts.map +1 -1
  710. package/types/slotted-angular-textarea.d.ts.map +1 -1
  711. package/types/slotted-angular-theme.d.ts +8 -6
  712. package/types/slotted-angular-theme.d.ts.map +1 -1
  713. package/types/slotted-angular-time-field.d.ts.map +1 -1
  714. package/types/slotted-angular-time-picker.d.ts +1 -1
  715. package/types/slotted-angular-time-picker.d.ts.map +1 -1
  716. package/types/slotted-angular-time-range-picker.d.ts +2 -2
  717. package/types/slotted-angular-time-range-picker.d.ts.map +1 -1
  718. package/types/slotted-angular-timeline.d.ts +1 -1
  719. package/types/slotted-angular-timeline.d.ts.map +1 -1
  720. package/types/slotted-angular-toast.d.ts +9 -7
  721. package/types/slotted-angular-toast.d.ts.map +1 -1
  722. package/types/slotted-angular-toggle-group.d.ts +1 -1
  723. package/types/slotted-angular-toggle-group.d.ts.map +1 -1
  724. package/types/slotted-angular-toggle.d.ts +1 -1
  725. package/types/slotted-angular-toggle.d.ts.map +1 -1
  726. package/types/slotted-angular-toolbar.d.ts +2 -0
  727. package/types/slotted-angular-toolbar.d.ts.map +1 -1
  728. package/types/slotted-angular-tooltip.d.ts.map +1 -1
  729. package/types/slotted-angular-top-navigation.d.ts.map +1 -1
  730. package/types/slotted-angular-tour.d.ts +2 -2
  731. package/types/slotted-angular-tour.d.ts.map +1 -1
  732. package/types/slotted-angular-transfer.d.ts.map +1 -1
  733. package/types/slotted-angular-tree.d.ts.map +1 -1
  734. package/types/slotted-angular-typography.d.ts +1 -1
  735. package/types/slotted-angular-typography.d.ts.map +1 -1
  736. package/types/slotted-angular-upload.d.ts +4 -2
  737. package/types/slotted-angular-upload.d.ts.map +1 -1
  738. package/types/slotted-angular-visually-hidden.d.ts.map +1 -1
  739. package/types/slotted-angular-wizard.d.ts +1 -1
  740. package/types/slotted-angular-wizard.d.ts.map +1 -1
@@ -3,6 +3,90 @@
3
3
 
4
4
  `data-ui="action-sheet"` · Bottom sheet of short actions for touch.
5
5
 
6
+ ## Import
7
+
8
+ ```ts
9
+ import { SL_ACTION_SHEET, provideActionSheetDefaults } from '@slotted/angular/action-sheet';
10
+ ```
11
+
12
+ Selector: `<sl-action-sheet>, exportAs slActionSheet`
13
+
14
+ ## Minimal example
15
+
16
+ Excerpt — not a complete module
17
+
18
+ ```html
19
+ <button slButton [slActionSheetTrigger]="sheet">Partilhar</button>
20
+ <sl-action-sheet #sheet="slActionSheet" (openChangeRequest)="run($event.result)">
21
+ <header slActionSheetHeader>
22
+ <h2 slActionSheetTitle>Share report</h2>
23
+ <p slActionSheetMessage>Anyone who receives the link sees today's version.</p>
24
+ </header>
25
+ <div slActionSheetList>
26
+ <button slActionSheetItem value="copy">Copy link</button>
27
+ <button slActionSheetItem value="pdf">Download PDF</button>
28
+ </div>
29
+ <div slActionSheetFooter><button slActionSheetCancel>Cancelar</button></div>
30
+ </sl-action-sheet>
31
+ ```
32
+
33
+ ## Anatomy
34
+
35
+ | Part | Element | Required |
36
+ | --- | --- | --- |
37
+ | `root` | div inside <sl-drawer>’s panel | yes |
38
+ | `trigger` | the consumer’s own button with [slActionSheetTrigger] | no |
39
+ | `header` | header[slActionSheetHeader] | no |
40
+ | `title` | h2[slActionSheetTitle] | no |
41
+ | `message` | p[slActionSheetMessage] | no |
42
+ | `list` | div[slActionSheetList], role="menu" | yes |
43
+ | `group` | div[slActionSheetGroup], role="group" | no |
44
+ | `group-label` | div[slActionSheetGroupLabel] | no |
45
+ | `item` | button[slActionSheetItem] or a[slActionSheetItem], role="menuitem" | yes |
46
+ | `icon` | span[slActionSheetItemIcon], aria-hidden | no |
47
+ | `label` | span | yes |
48
+ | `description` | span[slActionSheetItemDescription] | no |
49
+ | `separator` | hr[slActionSheetSeparator] | no |
50
+ | `footer` | div[slActionSheetFooter] | no |
51
+ | `cancel` | button[slActionSheetCancel] | no |
52
+
53
+ ## Props
54
+
55
+ | Name | Type | Default | Applies to | Description |
56
+ | --- | --- | --- | --- | --- |
57
+ | `open` | `model<boolean>` | false | sl-action-sheet | Whether the sheet is open. Two-way with [(open)]; the family asks through openChangeRequest before it moves |
58
+ | `modal` | `boolean` | true | sl-action-sheet, provideActionSheetDefaults | Whether the page is inert, the scroll locked, focus contained and the scrim painted. false keeps the page operable and paints no scrim |
59
+ | `mount` | `'active' \| 'lazy' \| 'eager'` | active | sl-action-sheet, provideActionSheetDefaults | 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 |
60
+ | `escape` | `'close' \| 'none'` | close | sl-action-sheet, provideActionSheetDefaults | Whether Escape asks to close. It reaches the topmost layer only |
61
+ | `outsidePress` | `'close' \| 'none'` | close | sl-action-sheet, provideActionSheetDefaults | Whether a press outside the panel asks to close |
62
+ | `back` | `'close' \| 'none'` | close | sl-action-sheet, provideActionSheetDefaults | The platform’s way back closes the sheet instead of leaving the page, while it is modal |
63
+ | `closeOnSelect` | `boolean` | true | sl-action-sheet, provideActionSheetDefaults | Whether choosing an action closes the sheet with the reason select |
64
+ | `messages` | `Partial<ActionSheetMessages>` | — | sl-action-sheet | Words laid over the language in force, key by key: the cancel’s words when it is given no content (cancel) |
65
+ | `initialFocus` | `HTMLElement \| false` | — | sl-action-sheet | 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 |
66
+ | `finalFocus` | `HTMLElement \| false` | — | sl-action-sheet | Where focus goes on closing. Unstated, the element that held it on opening |
67
+ | `container` | `Element \| null` | — | sl-action-sheet | A parent for this layer alone instead of the shared portal root |
68
+ | `value` | `string` | — | slActionSheetItem | What the close request carries as result when this action is chosen |
69
+ | `textValue` | `string` | — | slActionSheetItem | What typeahead matches when the label is not plain text |
70
+ | `tone` | `'accent' \| 'secondary' \| 'success' \| 'warning' \| 'danger'` | — | slActionSheetItem | Paints the words, the mark and the highlight. danger is the destructive action |
71
+ | `disabled` | `boolean` | false | slActionSheetItem | The action cannot run. It stays focusable and takes aria-disabled; the native attribute is removed so the item stays in the ring |
72
+ | `loading` | `boolean` | false | slActionSheetItem | 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 |
73
+ | `closeOnSelect` | `boolean` | — | slActionSheetItem | Overrides the sheet’s closeOnSelect for this action |
74
+ | `slActionSheetTrigger` | `SlActionSheet` | — | the consumer’s button | The wiring on the application’s own control: <button slButton [slActionSheetTrigger]="sheet">. A handler of the consumer’s that calls preventDefault() refuses the open |
75
+ | `exportAs` | `slActionSheet` | — | sl-action-sheet | The instance, with show(), close() and focus() — the actions a template cannot express declaratively |
76
+ | `a[slActionSheetItem]` | `anchor` | — | slActionSheetItem | An action that navigates is an anchor and keeps its role and keyboard |
77
+ | `SL_ACTION_SHEET` | `readonly Type[]` | — | a standalone component’s imports | Every part at once |
78
+ | `provideActionSheetDefaults()` | `{ modal, mount, escape, outsidePress, back, closeOnSelect }` | — | an injector | The decisions an application takes once. A sheet that states any of them itself still wins |
79
+ | `aria-label` | `string` | — | sl-action-sheet | Read from the host before the bindings are written and moved to the panel, which carries the role — for a sheet with no title |
80
+
81
+ ## Events
82
+
83
+ | Name | Payload | When |
84
+ | --- | --- | --- |
85
+ | `openChangeRequest` | `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 show() and close(). result carries the chosen item’s value when the reason is select, and cancel() refuses the move. |
86
+ | `openChange` | `boolean` | The model half of [(open)], once a request was not refused. |
87
+ | `closed` | `string \| undefined` | Once the sheet has closed, with the value of the item chosen, or undefined for any other reason. It is not emitted by a sheet destroyed while open. |
88
+ | `select` | `ActionSheetSelectEvent` | On slActionSheetItem, when an action that can run is activated, before the sheet asks to close. preventDefault() keeps the sheet open. |
89
+
6
90
  ## Axes and defaults
7
91
 
8
92
  | Axis | Values | Default |
@@ -14,6 +98,181 @@
14
98
  | `back` | `close`, `none` | `close` |
15
99
  | `closeOnSelect` | `true`, `false` | `true` |
16
100
 
101
+ ## Rules
102
+
103
+ - 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".
104
+ - 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.
105
+ - 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.
106
+ - 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.
107
+ - 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.
108
+ - The layer is <sl-drawer>, 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.
109
+ - 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.
110
+
17
111
  ## Tokens
18
112
 
19
113
  `--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`
114
+
115
+ ## Examples
116
+
117
+ ### The destructive choice, at the top
118
+
119
+ 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.
120
+
121
+ Excerpt — not a complete module
122
+
123
+ ```html
124
+ <div slActionSheetList>
125
+ <button slActionSheetItem value="delete" tone="danger">Delete draft</button>
126
+ <button slActionSheetItem value="save">Save draft</button>
127
+ </div>
128
+ ```
129
+
130
+ ### Groups, a rule, a second line and an action that is not available
131
+
132
+ 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.
133
+
134
+ Excerpt — not a complete module
135
+
136
+ ```html
137
+ <div slActionSheetGroup>
138
+ <div slActionSheetGroupLabel>Send</div>
139
+ <button slActionSheetItem value="remind">Remind the customer</button>
140
+ <button slActionSheetItem value="accounting" disabled>
141
+ Send to accounting
142
+ <span slActionSheetItemDescription>Available after approval</span>
143
+ </button>
144
+ </div>
145
+ <hr slActionSheetSeparator />
146
+ ```
147
+
148
+ ### Content the family did not choose
149
+
150
+ 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.
151
+
152
+ Excerpt — not a complete module
153
+
154
+ ```html
155
+ <button slActionSheetItem value="copy-ref">
156
+ Copiar ENC-2026-0000088213-ATLANTICA-PT-LISBOA-NORTE
157
+ </button>
158
+ ```
159
+
160
+ ### An action that takes time
161
+
162
+ 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.
163
+
164
+ Excerpt — not a complete module
165
+
166
+ ```html
167
+ <button
168
+ slActionSheetItem
169
+ value="pdf"
170
+ [closeOnSelect]="false"
171
+ [loading]="exporting()"
172
+ (select)="exportPdf()"
173
+ >
174
+ Descarregar PDF
175
+ </button>
176
+ ```
177
+
178
+ ### Modal, or beside the page
179
+
180
+ 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.
181
+
182
+ Excerpt — not a complete module
183
+
184
+ ```html
185
+ <sl-action-sheet [modal]="false">…</sl-action-sheet>
186
+ ```
187
+
188
+ ### What may close it
189
+
190
+ 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.
191
+
192
+ Excerpt — not a complete module
193
+
194
+ ```html
195
+ <sl-action-sheet
196
+ escape="none"
197
+ outsidePress="none"
198
+ back="none"
199
+ (openChangeRequest)="saving() && !$event.value && $event.cancel()"
200
+ >
201
+ …
202
+ </sl-action-sheet>
203
+ ```
204
+
205
+ ### Where focus enters, and where it goes back
206
+
207
+ 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.
208
+
209
+ Excerpt — not a complete module
210
+
211
+ ```html
212
+ <sl-action-sheet [finalFocus]="composer">…</sl-action-sheet>
213
+ ```
214
+
215
+ ### Which action was chosen, and why it closed
216
+
217
+ The request carries reason and, when the reason is select, result — the value of the item chosen; (closed) repeats the result once the sheet has left. There is no service that returns a promise.
218
+
219
+ Excerpt — not a complete module
220
+
221
+ ```html
222
+ <sl-action-sheet
223
+ [(open)]="open"
224
+ (openChangeRequest)="$event.reason === 'select' && archive($event.result)"
225
+ >
226
+ …
227
+ </sl-action-sheet>
228
+ ```
229
+
230
+ ### One list of actions, a menu on a pointer and a sheet on a phone
231
+
232
+ The item vocabulary is menu’s, word for word — value, tone, disabled, (select) and the description line — so one array renders as either family, and the breakpoint that picks between them is the application’s.
233
+
234
+ Excerpt — not a complete module
235
+
236
+ ```html
237
+ @if (coarse()) {
238
+ <sl-action-sheet #sheet="slActionSheet" aria-label="Actions">
239
+ <div slActionSheetList aria-label="Actions">
240
+ @for (action of actions; track action.value) {
241
+ <button slActionSheetItem [value]="action.value" [tone]="action.tone">
242
+ {{ action.label }}
243
+ </button>
244
+ }
245
+ </div>
246
+ </sl-action-sheet>
247
+ } @else {
248
+ <sl-menu #menu>
249
+ @for (action of actions; track action.value) {
250
+ <button slMenuItem [tone]="action.tone">{{ action.label }}</button>
251
+ }
252
+ </sl-menu>
253
+ }
254
+ ```
255
+
256
+ ### Decided once for the application
257
+
258
+ provideActionSheetDefaults() sets modal, mount, escape, outsidePress, back and closeOnSelect for every sheet it reaches, and a sheet that states a value itself still wins. The cancel’s words come from the language in force (provideSlotted).
259
+
260
+ Excerpt — not a complete module
261
+
262
+ ```html
263
+ <!-- bootstrapApplication(App, { providers: [provideActionSheetDefaults({ closeOnSelect: false })] }) -->
264
+ <div slActionSheetFooter><button slActionSheetCancel></button></div>
265
+ ```
266
+
267
+ ### The keyboard
268
+
269
+ 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.
270
+
271
+ Excerpt — not a complete module
272
+
273
+ ```html
274
+ <button slActionSheetItem value="flag" textValue="Sinalizar">
275
+ <span slActionSheetItemIcon><ng-icon name="lucideFlag" /></span>
276
+ Sinalizar
277
+ </button>
278
+ ```
package/docs/alert.json CHANGED
@@ -4,12 +4,13 @@
4
4
  "binding": "angular",
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": {
@@ -120,17 +125,17 @@
120
125
  "api": [
121
126
  {
122
127
  "name": "tone",
123
- "type": "'accent' | 'secondary' | 'success' | 'warning' | 'danger'",
128
+ "type": "'accent' | 'secondary' | 'info' | 'success' | 'warning' | 'danger'",
124
129
  "defaultValue": "accent",
125
130
  "appliesTo": "slAlert",
126
- "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"
131
+ "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"
127
132
  },
128
133
  {
129
134
  "name": "variant",
130
135
  "type": "'soft' | 'outline' | 'solid'",
131
136
  "defaultValue": "soft",
132
137
  "appliesTo": "slAlert",
133
- "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"
138
+ "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"
134
139
  },
135
140
  {
136
141
  "name": "reach",
@@ -146,6 +151,13 @@
146
151
  "appliesTo": "slAlert",
147
152
  "description": "Whether the text announces itself. polite writes role=\"status\" on the slAlertContent element and assertive writes role=\"alert\"; both imply aria-live and aria-atomic, and neither is written on the box"
148
153
  },
154
+ {
155
+ "name": "actionsPlacement",
156
+ "type": "'below' | 'end'",
157
+ "defaultValue": "end for reach='page', below otherwise",
158
+ "appliesTo": "slAlert",
159
+ "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"
160
+ },
149
161
  {
150
162
  "name": "hideIcon",
151
163
  "type": "boolean",
@@ -237,7 +249,7 @@
237
249
  "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.",
238
250
  "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 directive belongs on a section, named by its own title through aria-labelledby, and the region that announces is the slAlertContent element, which holds the title and the description alone.",
239
251
  "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.",
240
- "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.",
252
+ "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.",
241
253
  "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.",
242
254
  "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.",
243
255
  "Closing hides rather than removes, 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 writes its own @if and never uses defaultOpen.",
@@ -246,6 +258,7 @@
246
258
  }
247
259
  },
248
260
  "tokens": [
261
+ "--slotted-action-gap",
249
262
  "--slotted-alert-actions-gap",
250
263
  "--slotted-alert-border-width",
251
264
  "--slotted-alert-column-gap",
@@ -289,7 +302,6 @@
289
302
  "--slotted-radius-md",
290
303
  "--slotted-radius-sm",
291
304
  "--slotted-space-2",
292
- "--slotted-space-3",
293
305
  "--slotted-space-4",
294
306
  "--slotted-space-5",
295
307
  "--slotted-space-6",
@@ -306,6 +318,11 @@
306
318
  "--slotted-tone-danger-solid",
307
319
  "--slotted-tone-danger-surface",
308
320
  "--slotted-tone-danger-text",
321
+ "--slotted-tone-info-border",
322
+ "--slotted-tone-info-on-solid",
323
+ "--slotted-tone-info-solid",
324
+ "--slotted-tone-info-surface",
325
+ "--slotted-tone-info-text",
309
326
  "--slotted-tone-secondary-border",
310
327
  "--slotted-tone-secondary-on-solid",
311
328
  "--slotted-tone-secondary-solid",
@@ -326,17 +343,17 @@
326
343
  {
327
344
  "id": "playground",
328
345
  "title": "Playground",
329
- "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.",
346
+ "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.",
330
347
  "language": "html",
331
- "source": "<section slAlert tone=\"warning\">\n <div slAlertContent>\n <div slAlertTitle>Sua assinatura expira em três dias</div>\n <p slAlertDescription>Renove para manter o acesso da equipe.</p>\n </div>\n</section>\n",
348
+ "source": "<section slAlert tone=\"warning\">\n <div slAlertContent>\n <div slAlertTitle>Your subscription expires in three days</div>\n <p slAlertDescription>Renew to keep access for the team.</p>\n </div>\n</section>\n",
332
349
  "verdict": "excerpt"
333
350
  },
334
351
  {
335
352
  "id": "tones",
336
353
  "title": "What the message is about",
337
- "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.",
354
+ "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.",
338
355
  "language": "html",
339
- "source": "<!-- accent is information, secondary a neutral note, success something\n finished, warning something needing attention, danger something failed. -->\n<section slAlert tone=\"danger\">\n <div slAlertContent>\n <div slAlertTitle>Não foi possível salvar</div>\n </div>\n</section>\n",
356
+ "source": "<!-- accent is information, secondary a neutral note, success something\n finished, warning something needing attention, danger something failed. -->\n<section slAlert tone=\"danger\">\n <div slAlertContent>\n <div slAlertTitle>Could not save</div>\n </div>\n</section>\n",
340
357
  "verdict": "excerpt"
341
358
  },
342
359
  {
@@ -352,7 +369,7 @@
352
369
  "title": "How far the message reaches",
353
370
  "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.",
354
371
  "language": "html",
355
- "source": "<section slAlert reach=\"inline\" tone=\"danger\">\n <div slAlertContent>\n <p slAlertDescription>Informe um CNPJ válido.</p>\n </div>\n</section>\n\n<section slAlert reach=\"page\" tone=\"warning\"></section>\n",
372
+ "source": "<section slAlert reach=\"inline\" tone=\"danger\">\n <div slAlertContent>\n <p slAlertDescription>Enter a valid EIN.</p>\n </div>\n</section>\n\n<section slAlert reach=\"page\" tone=\"warning\"></section>\n",
356
373
  "verdict": "excerpt"
357
374
  },
358
375
  {
@@ -366,9 +383,9 @@
366
383
  {
367
384
  "id": "actions",
368
385
  "title": "What the message asks for",
369
- "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.",
386
+ "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.",
370
387
  "language": "html",
371
- "source": "<section slAlert tone=\"warning\">\n <div slAlertContent>\n <div slAlertTitle>Sua assinatura expira em três dias</div>\n </div>\n <div slAlertActions>\n <button slButton size=\"sm\" tone=\"warning\" type=\"button\">Renovar</button>\n <button slButton size=\"sm\" tone=\"warning\" variant=\"ghost\" type=\"button\">Ver planos</button>\n </div>\n</section>\n",
388
+ "source": "<section slAlert tone=\"warning\">\n <div slAlertContent>\n <div slAlertTitle>Your subscription expires in three days</div>\n </div>\n <div slAlertActions>\n <button slButton type=\"button\">Renew</button>\n <button slButton variant=\"ghost\" type=\"button\">View plans</button>\n </div>\n</section>\n\n<section slAlert actionsPlacement=\"end\">\n <div slAlertContent>\n <p slAlertDescription>The suggestion changes three lines of the plan.</p>\n </div>\n <div slAlertActions>\n <button slButton type=\"button\">Apply</button>\n </div>\n</section>\n",
372
389
  "verdict": "excerpt"
373
390
  },
374
391
  {
@@ -400,7 +417,7 @@
400
417
  "title": "The landmark, the region and the keyboard",
401
418
  "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.",
402
419
  "language": "html",
403
- "source": "<!-- A region landmark named \"Manutenção\", holding a polite status region. -->\n<section slAlert live=\"polite\">\n <div slAlertContent>\n <div slAlertTitle>Manutenção</div>\n </div>\n</section>\n\n<!-- No title: a plain grouping element, and no landmark to jump to. -->\n<section slAlert>\n <div slAlertContent>Pronto.</div>\n</section>\n",
420
+ "source": "<!-- A region landmark named \"Maintenance\", holding a polite status region. -->\n<section slAlert live=\"polite\">\n <div slAlertContent>\n <div slAlertTitle>Maintenance</div>\n </div>\n</section>\n\n<!-- No title: a plain grouping element, and no landmark to jump to. -->\n<section slAlert>\n <div slAlertContent>Done.</div>\n</section>\n",
404
421
  "verdict": "excerpt"
405
422
  }
406
423
  ]
package/docs/alert.md CHANGED
@@ -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
 
@@ -26,8 +26,8 @@ Excerpt — not a complete module
26
26
  ```html
27
27
  <section slAlert tone="warning">
28
28
  <div slAlertContent>
29
- <div slAlertTitle>Sua assinatura expira em três dias</div>
30
- <p slAlertDescription>Renove para manter o acesso da equipe.</p>
29
+ <div slAlertTitle>Your subscription expires in three days</div>
30
+ <p slAlertDescription>Renew to keep access for the team.</p>
31
31
  </div>
32
32
  </section>
33
33
  ```
@@ -48,10 +48,11 @@ Excerpt — not a complete module
48
48
 
49
49
  | Name | Type | Default | Applies to | Description |
50
50
  | --- | --- | --- | --- | --- |
51
- | `tone` | `'accent' \| 'secondary' \| 'success' \| 'warning' \| 'danger'` | accent | slAlert | 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 |
52
- | `variant` | `'soft' \| 'outline' \| 'solid'` | soft | slAlert | 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 |
51
+ | `tone` | `'accent' \| 'secondary' \| 'info' \| 'success' \| 'warning' \| 'danger'` | accent | slAlert | 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 |
52
+ | `variant` | `'soft' \| 'outline' \| 'solid'` | soft | slAlert | 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 |
53
53
  | `reach` | `'inline' \| 'section' \| 'page'` | section | slAlert | 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 |
54
54
  | `live` | `'off' \| 'polite' \| 'assertive'` | off | slAlert | Whether the text announces itself. polite writes role="status" on the slAlertContent element and assertive writes role="alert"; both imply aria-live and aria-atomic, and neither is written on the box |
55
+ | `actionsPlacement` | `'below' \| 'end'` | end for reach='page', below otherwise | slAlert | 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 |
55
56
  | `hideIcon` | `boolean` | false | slAlert | Draws no mark at all, for a callout that carries its own artwork in the body |
56
57
  | `dismissible` | `boolean` | false | slAlert | Renders the control that closes the message. Angular cannot see whether an output is subscribed, so the opt-in is stated — the asymmetry with React that tag recorded first |
57
58
  | `messages` | `Partial<AlertMessages>` | — | slAlert | Words laid over the language in force, key by key: what that control announces (dismiss) |
@@ -74,17 +75,18 @@ Excerpt — not a complete module
74
75
 
75
76
  | Axis | Values | Default |
76
77
  | --- | --- | --- |
77
- | `tone` | `accent`, `secondary`, `success`, `warning`, `danger` | `accent` |
78
+ | `tone` | `accent`, `secondary`, `info`, `success`, `warning`, `danger` | `accent` |
78
79
  | `variant` | `soft`, `outline`, `solid` | `soft` |
79
80
  | `reach` | `inline`, `section`, `page` | `section` |
80
81
  | `live` | `off`, `polite`, `assertive` | `off` |
82
+ | `actionsPlacement` | `below`, `end` | — |
81
83
 
82
84
  ## Rules
83
85
 
84
86
  - 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.
85
87
  - 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 directive belongs on a section, named by its own title through aria-labelledby, and the region that announces is the slAlertContent element, which holds the title and the description alone.
86
88
  - 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.
87
- - 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.
89
+ - 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.
88
90
  - 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.
89
91
  - 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.
90
92
  - Closing hides rather than removes, 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 writes its own @if and never uses defaultOpen.
@@ -92,13 +94,13 @@ Excerpt — not a complete module
92
94
 
93
95
  ## Tokens
94
96
 
95
- `--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`
97
+ `--slotted-action-gap`, `--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-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`
96
98
 
97
99
  ## Examples
98
100
 
99
101
  ### What the message is about
100
102
 
101
- 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.
103
+ 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.
102
104
 
103
105
  Excerpt — not a complete module
104
106
 
@@ -107,7 +109,7 @@ Excerpt — not a complete module
107
109
  finished, warning something needing attention, danger something failed. -->
108
110
  <section slAlert tone="danger">
109
111
  <div slAlertContent>
110
- <div slAlertTitle>Não foi possível salvar</div>
112
+ <div slAlertTitle>Could not save</div>
111
113
  </div>
112
114
  </section>
113
115
  ```
@@ -138,7 +140,7 @@ Excerpt — not a complete module
138
140
  ```html
139
141
  <section slAlert reach="inline" tone="danger">
140
142
  <div slAlertContent>
141
- <p slAlertDescription>Informe um CNPJ válido.</p>
143
+ <p slAlertDescription>Enter a valid EIN.</p>
142
144
  </div>
143
145
  </section>
144
146
 
@@ -161,18 +163,27 @@ Excerpt — not a complete module
161
163
 
162
164
  ### What the message asks for
163
165
 
164
- 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.
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. 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.
165
167
 
166
168
  Excerpt — not a complete module
167
169
 
168
170
  ```html
169
171
  <section slAlert tone="warning">
170
172
  <div slAlertContent>
171
- <div slAlertTitle>Sua assinatura expira em três dias</div>
173
+ <div slAlertTitle>Your subscription expires in three days</div>
172
174
  </div>
173
175
  <div slAlertActions>
174
- <button slButton size="sm" tone="warning" type="button">Renovar</button>
175
- <button slButton size="sm" tone="warning" variant="ghost" type="button">Ver planos</button>
176
+ <button slButton type="button">Renew</button>
177
+ <button slButton variant="ghost" type="button">View plans</button>
178
+ </div>
179
+ </section>
180
+
181
+ <section slAlert actionsPlacement="end">
182
+ <div slAlertContent>
183
+ <p slAlertDescription>The suggestion changes three lines of the plan.</p>
184
+ </div>
185
+ <div slAlertActions>
186
+ <button slButton type="button">Apply</button>
176
187
  </div>
177
188
  </section>
178
189
  ```
@@ -225,15 +236,15 @@ Tab into the message and out of it: the box is a region a reader can jump to, th
225
236
  Excerpt — not a complete module
226
237
 
227
238
  ```html
228
- <!-- A region landmark named "Manutenção", holding a polite status region. -->
239
+ <!-- A region landmark named "Maintenance", holding a polite status region. -->
229
240
  <section slAlert live="polite">
230
241
  <div slAlertContent>
231
- <div slAlertTitle>Manutenção</div>
242
+ <div slAlertTitle>Maintenance</div>
232
243
  </div>
233
244
  </section>
234
245
 
235
246
  <!-- No title: a plain grouping element, and no landmark to jump to. -->
236
247
  <section slAlert>
237
- <div slAlertContent>Pronto.</div>
248
+ <div slAlertContent>Done.</div>
238
249
  </section>
239
250
  ```