@slotted/angular 0.1.0-beta.2 → 0.1.0-beta.20

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 (617) hide show
  1. package/docs/AGENTS.snippet.md +2 -0
  2. package/docs/action-bar.json +5 -4
  3. package/docs/action-bar.md +4 -4
  4. package/docs/action-sheet.json +391 -64
  5. package/docs/action-sheet.md +259 -0
  6. package/docs/alert.json +22 -5
  7. package/docs/alert.md +16 -5
  8. package/docs/app-shell.examples.md +1 -1
  9. package/docs/app-shell.json +24 -7
  10. package/docs/app-shell.md +5 -3
  11. package/docs/avatar.json +22 -1
  12. package/docs/avatar.md +5 -3
  13. package/docs/badge.json +7 -1
  14. package/docs/badge.md +3 -3
  15. package/docs/button-group.json +2 -0
  16. package/docs/button-group.md +1 -1
  17. package/docs/button.examples.md +15 -0
  18. package/docs/button.json +165 -11
  19. package/docs/button.md +34 -6
  20. package/docs/calendar.json +27 -2
  21. package/docs/calendar.md +6 -3
  22. package/docs/cascader.json +1 -0
  23. package/docs/cascader.md +1 -1
  24. package/docs/chart.examples.md +1 -1
  25. package/docs/chart.json +10 -1
  26. package/docs/chart.md +3 -2
  27. package/docs/code-block.json +92 -92
  28. package/docs/code-block.md +69 -69
  29. package/docs/combobox.json +2 -0
  30. package/docs/combobox.md +1 -1
  31. package/docs/command-palette.json +1 -0
  32. package/docs/command-palette.md +1 -1
  33. package/docs/currency-field.json +40 -1
  34. package/docs/currency-field.md +5 -1
  35. package/docs/dashboard-grid.json +31 -9
  36. package/docs/dashboard-grid.md +15 -6
  37. package/docs/data-grid.examples.md +2 -2
  38. package/docs/data-grid.json +34 -8
  39. package/docs/data-grid.md +2 -1
  40. package/docs/data-grid.props.md +6 -4
  41. package/docs/data-list.json +2 -1
  42. package/docs/data-list.md +1 -1
  43. package/docs/date-field.json +9 -1
  44. package/docs/date-field.md +3 -2
  45. package/docs/date-picker.examples.md +36 -0
  46. package/docs/date-picker.json +21 -5
  47. package/docs/date-picker.md +6 -5
  48. package/docs/datetime-field.json +1 -0
  49. package/docs/datetime-field.md +1 -1
  50. package/docs/description-list.json +9 -1
  51. package/docs/description-list.md +2 -1
  52. package/docs/detail-panel.json +4 -2
  53. package/docs/detail-panel.md +8 -3
  54. package/docs/dialog.examples.md +158 -136
  55. package/docs/dialog.json +36 -11
  56. package/docs/dialog.md +4 -2
  57. package/docs/dialog.props.md +1 -1
  58. package/docs/drawer.examples.md +1 -1
  59. package/docs/drawer.json +29 -10
  60. package/docs/drawer.md +9 -7
  61. package/docs/entity-picker.json +20 -4
  62. package/docs/entity-picker.md +8 -6
  63. package/docs/event-calendar.md +2 -2
  64. package/docs/filter-bar.json +118 -118
  65. package/docs/filter-bar.md +79 -79
  66. package/docs/form.json +2 -1
  67. package/docs/form.md +1 -1
  68. package/docs/guidelines/README.md +2 -2
  69. package/docs/guidelines/async-feedback.md +25 -4
  70. package/docs/guidelines/composition.md +33 -7
  71. package/docs/guidelines/errors-and-conflicts.md +7 -6
  72. package/docs/guidelines/forms.md +10 -0
  73. package/docs/guidelines/index.md +16 -4
  74. package/docs/guidelines/layout-alignment.md +19 -9
  75. package/docs/guidelines/list-pages.md +44 -3
  76. package/docs/guidelines/overviews.md +31 -1
  77. package/docs/guidelines/own-elements.md +1 -1
  78. package/docs/guidelines/reading-permissions.md +2 -2
  79. package/docs/guidelines/reports.md +1 -1
  80. package/docs/icon.json +3 -1
  81. package/docs/icon.md +3 -3
  82. package/docs/index.md +2 -2
  83. package/docs/inline-message.json +20 -7
  84. package/docs/inline-message.md +11 -9
  85. package/docs/kbd.json +3 -0
  86. package/docs/kbd.md +1 -1
  87. package/docs/link.json +16 -0
  88. package/docs/link.md +3 -1
  89. package/docs/list-item.json +19 -3
  90. package/docs/list-item.md +19 -16
  91. package/docs/list.json +19 -1
  92. package/docs/list.md +3 -1
  93. package/docs/markdown.json +86 -79
  94. package/docs/markdown.md +66 -65
  95. package/docs/menu.json +13 -0
  96. package/docs/menu.md +3 -1
  97. package/docs/message-scroller.json +1 -1
  98. package/docs/message.json +7 -1
  99. package/docs/message.md +3 -3
  100. package/docs/multi-select.json +1 -0
  101. package/docs/multi-select.md +1 -1
  102. package/docs/notification-center.json +4 -0
  103. package/docs/notification-center.md +2 -2
  104. package/docs/number-field.json +1 -0
  105. package/docs/number-field.md +1 -1
  106. package/docs/otp-input.json +1 -0
  107. package/docs/otp-input.md +1 -1
  108. package/docs/page-header.json +22 -5
  109. package/docs/page-header.md +6 -4
  110. package/docs/page.json +4 -2
  111. package/docs/page.md +3 -2
  112. package/docs/popover.json +2 -1
  113. package/docs/popover.md +1 -1
  114. package/docs/progress-indicator.json +3 -1
  115. package/docs/progress-indicator.md +3 -3
  116. package/docs/prompt-composer.json +50 -3
  117. package/docs/prompt-composer.md +8 -2
  118. package/docs/rating.json +5 -3
  119. package/docs/rating.md +6 -6
  120. package/docs/scroll-area.json +266 -64
  121. package/docs/scroll-area.md +188 -0
  122. package/docs/section.json +38 -16
  123. package/docs/section.md +23 -20
  124. package/docs/segmented-control.json +36 -12
  125. package/docs/segmented-control.md +17 -1
  126. package/docs/select.json +2 -0
  127. package/docs/select.md +1 -1
  128. package/docs/side-navigation.json +1 -0
  129. package/docs/side-navigation.md +1 -1
  130. package/docs/skills/build-own-element/SKILL.md +6 -6
  131. package/docs/skills/compose-screen/SKILL.md +53 -17
  132. package/docs/skills/review-screen/SKILL.md +28 -17
  133. package/docs/skills/theme-app/SKILL.md +53 -15
  134. package/docs/skills/waiting-states/SKILL.md +14 -10
  135. package/docs/sparkline.json +5 -2
  136. package/docs/sparkline.md +4 -4
  137. package/docs/split-button.json +4 -1
  138. package/docs/split-button.md +3 -3
  139. package/docs/splitter.json +279 -64
  140. package/docs/splitter.md +215 -0
  141. package/docs/stat-card.json +11 -5
  142. package/docs/stat-card.md +6 -6
  143. package/docs/status-indicator.json +16 -5
  144. package/docs/status-indicator.md +3 -1
  145. package/docs/table-of-contents.json +2 -1
  146. package/docs/table-of-contents.md +2 -2
  147. package/docs/table.examples.md +3 -3
  148. package/docs/table.json +85 -3
  149. package/docs/table.md +12 -1
  150. package/docs/tabs.json +16 -3
  151. package/docs/tabs.md +3 -2
  152. package/docs/tag.json +14 -4
  153. package/docs/tag.md +6 -6
  154. package/docs/tags-input.json +29 -2
  155. package/docs/tags-input.md +4 -1
  156. package/docs/text-field.json +2 -1
  157. package/docs/text-field.md +2 -2
  158. package/docs/textarea.json +1 -0
  159. package/docs/textarea.md +1 -1
  160. package/docs/time-field.json +1 -0
  161. package/docs/time-field.md +1 -1
  162. package/docs/timeline.json +138 -132
  163. package/docs/timeline.md +125 -125
  164. package/docs/toast.json +8 -1
  165. package/docs/toast.md +3 -3
  166. package/docs/toggle-group.json +14 -3
  167. package/docs/toggle-group.md +3 -3
  168. package/docs/toggle.json +12 -3
  169. package/docs/toggle.md +3 -3
  170. package/docs/tokens.md +54 -11
  171. package/docs/toolbar.json +1 -1
  172. package/docs/toolbar.md +1 -1
  173. package/docs/tooltip.json +1 -0
  174. package/docs/tooltip.md +1 -1
  175. package/docs/tour.json +1 -1
  176. package/docs/typography.json +4 -2
  177. package/docs/typography.md +5 -5
  178. package/fesm2022/slotted-angular-accordion.mjs +4 -2
  179. package/fesm2022/slotted-angular-accordion.mjs.map +1 -1
  180. package/fesm2022/slotted-angular-action-bar.mjs +27 -12
  181. package/fesm2022/slotted-angular-action-bar.mjs.map +1 -1
  182. package/fesm2022/slotted-angular-action-sheet.mjs +48 -29
  183. package/fesm2022/slotted-angular-action-sheet.mjs.map +1 -1
  184. package/fesm2022/slotted-angular-alert.mjs +29 -16
  185. package/fesm2022/slotted-angular-alert.mjs.map +1 -1
  186. package/fesm2022/slotted-angular-app-shell.mjs +124 -63
  187. package/fesm2022/slotted-angular-app-shell.mjs.map +1 -1
  188. package/fesm2022/slotted-angular-aspect-ratio.mjs +4 -2
  189. package/fesm2022/slotted-angular-aspect-ratio.mjs.map +1 -1
  190. package/fesm2022/slotted-angular-attachment.mjs +33 -22
  191. package/fesm2022/slotted-angular-attachment.mjs.map +1 -1
  192. package/fesm2022/slotted-angular-avatar-group.mjs +9 -6
  193. package/fesm2022/slotted-angular-avatar-group.mjs.map +1 -1
  194. package/fesm2022/slotted-angular-avatar.mjs +14 -7
  195. package/fesm2022/slotted-angular-avatar.mjs.map +1 -1
  196. package/fesm2022/slotted-angular-badge.mjs +14 -10
  197. package/fesm2022/slotted-angular-badge.mjs.map +1 -1
  198. package/fesm2022/slotted-angular-breadcrumb.mjs +26 -18
  199. package/fesm2022/slotted-angular-breadcrumb.mjs.map +1 -1
  200. package/fesm2022/slotted-angular-button-group.mjs +7 -4
  201. package/fesm2022/slotted-angular-button-group.mjs.map +1 -1
  202. package/fesm2022/slotted-angular-button.mjs +197 -30
  203. package/fesm2022/slotted-angular-button.mjs.map +1 -1
  204. package/fesm2022/slotted-angular-calendar.mjs +263 -65
  205. package/fesm2022/slotted-angular-calendar.mjs.map +1 -1
  206. package/fesm2022/slotted-angular-card.mjs +18 -16
  207. package/fesm2022/slotted-angular-card.mjs.map +1 -1
  208. package/fesm2022/slotted-angular-carousel.mjs +22 -11
  209. package/fesm2022/slotted-angular-carousel.mjs.map +1 -1
  210. package/fesm2022/slotted-angular-cascader.mjs +180 -66
  211. package/fesm2022/slotted-angular-cascader.mjs.map +1 -1
  212. package/fesm2022/slotted-angular-chart.mjs +59 -20
  213. package/fesm2022/slotted-angular-chart.mjs.map +1 -1
  214. package/fesm2022/slotted-angular-checkbox-group.mjs +5 -3
  215. package/fesm2022/slotted-angular-checkbox-group.mjs.map +1 -1
  216. package/fesm2022/slotted-angular-checkbox.mjs +13 -8
  217. package/fesm2022/slotted-angular-checkbox.mjs.map +1 -1
  218. package/fesm2022/slotted-angular-code-block.mjs +29 -15
  219. package/fesm2022/slotted-angular-code-block.mjs.map +1 -1
  220. package/fesm2022/slotted-angular-collapsible.mjs +20 -15
  221. package/fesm2022/slotted-angular-collapsible.mjs.map +1 -1
  222. package/fesm2022/slotted-angular-color-picker.mjs +77 -22
  223. package/fesm2022/slotted-angular-color-picker.mjs.map +1 -1
  224. package/fesm2022/slotted-angular-column-manager.mjs +68 -31
  225. package/fesm2022/slotted-angular-column-manager.mjs.map +1 -1
  226. package/fesm2022/slotted-angular-combobox.mjs +108 -35
  227. package/fesm2022/slotted-angular-combobox.mjs.map +1 -1
  228. package/fesm2022/slotted-angular-command-palette.mjs +162 -54
  229. package/fesm2022/slotted-angular-command-palette.mjs.map +1 -1
  230. package/fesm2022/slotted-angular-container.mjs +6 -4
  231. package/fesm2022/slotted-angular-container.mjs.map +1 -1
  232. package/fesm2022/slotted-angular-context-menu.mjs +5 -4
  233. package/fesm2022/slotted-angular-context-menu.mjs.map +1 -1
  234. package/fesm2022/slotted-angular-currency-field.mjs +149 -32
  235. package/fesm2022/slotted-angular-currency-field.mjs.map +1 -1
  236. package/fesm2022/slotted-angular-dashboard-grid.mjs +295 -68
  237. package/fesm2022/slotted-angular-dashboard-grid.mjs.map +1 -1
  238. package/fesm2022/slotted-angular-data-grid.mjs +461 -129
  239. package/fesm2022/slotted-angular-data-grid.mjs.map +1 -1
  240. package/fesm2022/slotted-angular-data-list.mjs +83 -50
  241. package/fesm2022/slotted-angular-data-list.mjs.map +1 -1
  242. package/fesm2022/slotted-angular-date-field.mjs +74 -25
  243. package/fesm2022/slotted-angular-date-field.mjs.map +1 -1
  244. package/fesm2022/slotted-angular-date-picker.mjs +112 -40
  245. package/fesm2022/slotted-angular-date-picker.mjs.map +1 -1
  246. package/fesm2022/slotted-angular-date-range-picker.mjs +45 -22
  247. package/fesm2022/slotted-angular-date-range-picker.mjs.map +1 -1
  248. package/fesm2022/slotted-angular-datetime-field.mjs +48 -16
  249. package/fesm2022/slotted-angular-datetime-field.mjs.map +1 -1
  250. package/fesm2022/slotted-angular-datetime-picker.mjs +41 -29
  251. package/fesm2022/slotted-angular-datetime-picker.mjs.map +1 -1
  252. package/fesm2022/slotted-angular-datetime-range-picker.mjs +115 -48
  253. package/fesm2022/slotted-angular-datetime-range-picker.mjs.map +1 -1
  254. package/fesm2022/slotted-angular-description-list.mjs +44 -21
  255. package/fesm2022/slotted-angular-description-list.mjs.map +1 -1
  256. package/fesm2022/slotted-angular-detail-panel.mjs +48 -30
  257. package/fesm2022/slotted-angular-detail-panel.mjs.map +1 -1
  258. package/fesm2022/slotted-angular-dialog.mjs +79 -37
  259. package/fesm2022/slotted-angular-dialog.mjs.map +1 -1
  260. package/fesm2022/slotted-angular-divider.mjs +7 -5
  261. package/fesm2022/slotted-angular-divider.mjs.map +1 -1
  262. package/fesm2022/slotted-angular-drawer.mjs +235 -104
  263. package/fesm2022/slotted-angular-drawer.mjs.map +1 -1
  264. package/fesm2022/slotted-angular-entity-picker.mjs +474 -75
  265. package/fesm2022/slotted-angular-entity-picker.mjs.map +1 -1
  266. package/fesm2022/slotted-angular-event-calendar.mjs +259 -102
  267. package/fesm2022/slotted-angular-event-calendar.mjs.map +1 -1
  268. package/fesm2022/slotted-angular-field-group.mjs +14 -7
  269. package/fesm2022/slotted-angular-field-group.mjs.map +1 -1
  270. package/fesm2022/slotted-angular-field.mjs +35 -15
  271. package/fesm2022/slotted-angular-field.mjs.map +1 -1
  272. package/fesm2022/slotted-angular-filter-bar.mjs +118 -51
  273. package/fesm2022/slotted-angular-filter-bar.mjs.map +1 -1
  274. package/fesm2022/slotted-angular-form.mjs +18 -10
  275. package/fesm2022/slotted-angular-form.mjs.map +1 -1
  276. package/fesm2022/slotted-angular-fullscreen.mjs +14 -8
  277. package/fesm2022/slotted-angular-fullscreen.mjs.map +1 -1
  278. package/fesm2022/slotted-angular-grid.mjs +4 -2
  279. package/fesm2022/slotted-angular-grid.mjs.map +1 -1
  280. package/fesm2022/slotted-angular-highlight.mjs +5 -3
  281. package/fesm2022/slotted-angular-highlight.mjs.map +1 -1
  282. package/fesm2022/slotted-angular-hover-card.mjs +5 -4
  283. package/fesm2022/slotted-angular-hover-card.mjs.map +1 -1
  284. package/fesm2022/slotted-angular-icon.mjs +188 -87
  285. package/fesm2022/slotted-angular-icon.mjs.map +1 -1
  286. package/fesm2022/slotted-angular-image.mjs +13 -10
  287. package/fesm2022/slotted-angular-image.mjs.map +1 -1
  288. package/fesm2022/slotted-angular-import-export-center.mjs +175 -99
  289. package/fesm2022/slotted-angular-import-export-center.mjs.map +1 -1
  290. package/fesm2022/slotted-angular-inline-message.mjs +94 -19
  291. package/fesm2022/slotted-angular-inline-message.mjs.map +1 -1
  292. package/fesm2022/slotted-angular-inline.mjs +4 -2
  293. package/fesm2022/slotted-angular-inline.mjs.map +1 -1
  294. package/fesm2022/slotted-angular-kbd.mjs +11 -7
  295. package/fesm2022/slotted-angular-kbd.mjs.map +1 -1
  296. package/fesm2022/slotted-angular-link.mjs +13 -4
  297. package/fesm2022/slotted-angular-link.mjs.map +1 -1
  298. package/fesm2022/slotted-angular-list-item.mjs +63 -23
  299. package/fesm2022/slotted-angular-list-item.mjs.map +1 -1
  300. package/fesm2022/slotted-angular-list.mjs +37 -22
  301. package/fesm2022/slotted-angular-list.mjs.map +1 -1
  302. package/fesm2022/slotted-angular-listbox.mjs +39 -21
  303. package/fesm2022/slotted-angular-listbox.mjs.map +1 -1
  304. package/fesm2022/slotted-angular-loading-overlay.mjs +59 -22
  305. package/fesm2022/slotted-angular-loading-overlay.mjs.map +1 -1
  306. package/fesm2022/slotted-angular-markdown.mjs +57 -31
  307. package/fesm2022/slotted-angular-markdown.mjs.map +1 -1
  308. package/fesm2022/slotted-angular-menu.mjs +51 -29
  309. package/fesm2022/slotted-angular-menu.mjs.map +1 -1
  310. package/fesm2022/slotted-angular-menubar.mjs +6 -3
  311. package/fesm2022/slotted-angular-menubar.mjs.map +1 -1
  312. package/fesm2022/slotted-angular-message-scroller.mjs +34 -15
  313. package/fesm2022/slotted-angular-message-scroller.mjs.map +1 -1
  314. package/fesm2022/slotted-angular-message.mjs +119 -51
  315. package/fesm2022/slotted-angular-message.mjs.map +1 -1
  316. package/fesm2022/slotted-angular-multi-select.mjs +163 -60
  317. package/fesm2022/slotted-angular-multi-select.mjs.map +1 -1
  318. package/fesm2022/slotted-angular-navigation-menu.mjs +34 -26
  319. package/fesm2022/slotted-angular-navigation-menu.mjs.map +1 -1
  320. package/fesm2022/slotted-angular-notification-center.mjs +108 -65
  321. package/fesm2022/slotted-angular-notification-center.mjs.map +1 -1
  322. package/fesm2022/slotted-angular-number-field.mjs +23 -11
  323. package/fesm2022/slotted-angular-number-field.mjs.map +1 -1
  324. package/fesm2022/slotted-angular-otp-input.mjs +13 -8
  325. package/fesm2022/slotted-angular-otp-input.mjs.map +1 -1
  326. package/fesm2022/slotted-angular-page-header.mjs +90 -48
  327. package/fesm2022/slotted-angular-page-header.mjs.map +1 -1
  328. package/fesm2022/slotted-angular-page.mjs +60 -12
  329. package/fesm2022/slotted-angular-page.mjs.map +1 -1
  330. package/fesm2022/slotted-angular-pagination.mjs +35 -22
  331. package/fesm2022/slotted-angular-pagination.mjs.map +1 -1
  332. package/fesm2022/slotted-angular-popover.mjs +32 -19
  333. package/fesm2022/slotted-angular-popover.mjs.map +1 -1
  334. package/fesm2022/slotted-angular-progress-indicator.mjs +236 -52
  335. package/fesm2022/slotted-angular-progress-indicator.mjs.map +1 -1
  336. package/fesm2022/slotted-angular-prompt-composer.mjs +132 -22
  337. package/fesm2022/slotted-angular-prompt-composer.mjs.map +1 -1
  338. package/fesm2022/slotted-angular-prose.mjs +14 -11
  339. package/fesm2022/slotted-angular-prose.mjs.map +1 -1
  340. package/fesm2022/slotted-angular-radio-group.mjs +15 -9
  341. package/fesm2022/slotted-angular-radio-group.mjs.map +1 -1
  342. package/fesm2022/slotted-angular-rating.mjs +138 -82
  343. package/fesm2022/slotted-angular-rating.mjs.map +1 -1
  344. package/fesm2022/slotted-angular-result-state.mjs +16 -12
  345. package/fesm2022/slotted-angular-result-state.mjs.map +1 -1
  346. package/fesm2022/slotted-angular-saved-views.mjs +43 -16
  347. package/fesm2022/slotted-angular-saved-views.mjs.map +1 -1
  348. package/fesm2022/slotted-angular-scroll-area.mjs +13 -5
  349. package/fesm2022/slotted-angular-scroll-area.mjs.map +1 -1
  350. package/fesm2022/slotted-angular-section.mjs +81 -19
  351. package/fesm2022/slotted-angular-section.mjs.map +1 -1
  352. package/fesm2022/slotted-angular-segmented-control.mjs +37 -11
  353. package/fesm2022/slotted-angular-segmented-control.mjs.map +1 -1
  354. package/fesm2022/slotted-angular-select.mjs +189 -69
  355. package/fesm2022/slotted-angular-select.mjs.map +1 -1
  356. package/fesm2022/slotted-angular-side-navigation.mjs +46 -35
  357. package/fesm2022/slotted-angular-side-navigation.mjs.map +1 -1
  358. package/fesm2022/slotted-angular-skeleton.mjs +32 -16
  359. package/fesm2022/slotted-angular-skeleton.mjs.map +1 -1
  360. package/fesm2022/slotted-angular-slider.mjs +31 -11
  361. package/fesm2022/slotted-angular-slider.mjs.map +1 -1
  362. package/fesm2022/slotted-angular-sparkline.mjs +41 -14
  363. package/fesm2022/slotted-angular-sparkline.mjs.map +1 -1
  364. package/fesm2022/slotted-angular-split-button.mjs +37 -11
  365. package/fesm2022/slotted-angular-split-button.mjs.map +1 -1
  366. package/fesm2022/slotted-angular-splitter.mjs +11 -9
  367. package/fesm2022/slotted-angular-splitter.mjs.map +1 -1
  368. package/fesm2022/slotted-angular-stack.mjs +4 -2
  369. package/fesm2022/slotted-angular-stack.mjs.map +1 -1
  370. package/fesm2022/slotted-angular-stat-card.mjs +69 -31
  371. package/fesm2022/slotted-angular-stat-card.mjs.map +1 -1
  372. package/fesm2022/slotted-angular-status-indicator.mjs +50 -19
  373. package/fesm2022/slotted-angular-status-indicator.mjs.map +1 -1
  374. package/fesm2022/slotted-angular-stepper.mjs +40 -15
  375. package/fesm2022/slotted-angular-stepper.mjs.map +1 -1
  376. package/fesm2022/slotted-angular-switch.mjs +15 -10
  377. package/fesm2022/slotted-angular-switch.mjs.map +1 -1
  378. package/fesm2022/slotted-angular-table-of-contents.mjs +29 -21
  379. package/fesm2022/slotted-angular-table-of-contents.mjs.map +1 -1
  380. package/fesm2022/slotted-angular-table.mjs +241 -71
  381. package/fesm2022/slotted-angular-table.mjs.map +1 -1
  382. package/fesm2022/slotted-angular-tabs.mjs +42 -18
  383. package/fesm2022/slotted-angular-tabs.mjs.map +1 -1
  384. package/fesm2022/slotted-angular-tag.mjs +19 -12
  385. package/fesm2022/slotted-angular-tag.mjs.map +1 -1
  386. package/fesm2022/slotted-angular-tags-input.mjs +253 -28
  387. package/fesm2022/slotted-angular-tags-input.mjs.map +1 -1
  388. package/fesm2022/slotted-angular-text-field.mjs +55 -15
  389. package/fesm2022/slotted-angular-text-field.mjs.map +1 -1
  390. package/fesm2022/slotted-angular-textarea.mjs +5 -3
  391. package/fesm2022/slotted-angular-textarea.mjs.map +1 -1
  392. package/fesm2022/slotted-angular-theme.mjs +6 -3
  393. package/fesm2022/slotted-angular-theme.mjs.map +1 -1
  394. package/fesm2022/slotted-angular-time-field.mjs +48 -14
  395. package/fesm2022/slotted-angular-time-field.mjs.map +1 -1
  396. package/fesm2022/slotted-angular-time-picker.mjs +32 -20
  397. package/fesm2022/slotted-angular-time-picker.mjs.map +1 -1
  398. package/fesm2022/slotted-angular-time-range-picker.mjs +113 -46
  399. package/fesm2022/slotted-angular-time-range-picker.mjs.map +1 -1
  400. package/fesm2022/slotted-angular-timeline.mjs +147 -64
  401. package/fesm2022/slotted-angular-timeline.mjs.map +1 -1
  402. package/fesm2022/slotted-angular-toast.mjs +48 -36
  403. package/fesm2022/slotted-angular-toast.mjs.map +1 -1
  404. package/fesm2022/slotted-angular-toggle-group.mjs +25 -8
  405. package/fesm2022/slotted-angular-toggle-group.mjs.map +1 -1
  406. package/fesm2022/slotted-angular-toggle.mjs +9 -4
  407. package/fesm2022/slotted-angular-toggle.mjs.map +1 -1
  408. package/fesm2022/slotted-angular-toolbar.mjs +27 -12
  409. package/fesm2022/slotted-angular-toolbar.mjs.map +1 -1
  410. package/fesm2022/slotted-angular-tooltip.mjs +15 -6
  411. package/fesm2022/slotted-angular-tooltip.mjs.map +1 -1
  412. package/fesm2022/slotted-angular-top-navigation.mjs +64 -44
  413. package/fesm2022/slotted-angular-top-navigation.mjs.map +1 -1
  414. package/fesm2022/slotted-angular-tour.mjs +47 -22
  415. package/fesm2022/slotted-angular-tour.mjs.map +1 -1
  416. package/fesm2022/slotted-angular-transfer.mjs +69 -30
  417. package/fesm2022/slotted-angular-transfer.mjs.map +1 -1
  418. package/fesm2022/slotted-angular-tree.mjs +80 -26
  419. package/fesm2022/slotted-angular-tree.mjs.map +1 -1
  420. package/fesm2022/slotted-angular-typography.mjs +8 -4
  421. package/fesm2022/slotted-angular-typography.mjs.map +1 -1
  422. package/fesm2022/slotted-angular-upload.mjs +125 -57
  423. package/fesm2022/slotted-angular-upload.mjs.map +1 -1
  424. package/fesm2022/slotted-angular-visually-hidden.mjs +4 -2
  425. package/fesm2022/slotted-angular-visually-hidden.mjs.map +1 -1
  426. package/fesm2022/slotted-angular-wizard.mjs +163 -65
  427. package/fesm2022/slotted-angular-wizard.mjs.map +1 -1
  428. package/package.json +3 -3
  429. package/types/slotted-angular-accordion.d.ts.map +1 -1
  430. package/types/slotted-angular-action-bar.d.ts +2 -0
  431. package/types/slotted-angular-action-bar.d.ts.map +1 -1
  432. package/types/slotted-angular-action-sheet.d.ts.map +1 -1
  433. package/types/slotted-angular-alert.d.ts +13 -4
  434. package/types/slotted-angular-alert.d.ts.map +1 -1
  435. package/types/slotted-angular-app-shell.d.ts +12 -4
  436. package/types/slotted-angular-app-shell.d.ts.map +1 -1
  437. package/types/slotted-angular-aspect-ratio.d.ts.map +1 -1
  438. package/types/slotted-angular-attachment.d.ts +2 -1
  439. package/types/slotted-angular-attachment.d.ts.map +1 -1
  440. package/types/slotted-angular-avatar-group.d.ts.map +1 -1
  441. package/types/slotted-angular-avatar.d.ts +11 -3
  442. package/types/slotted-angular-avatar.d.ts.map +1 -1
  443. package/types/slotted-angular-badge.d.ts +1 -1
  444. package/types/slotted-angular-badge.d.ts.map +1 -1
  445. package/types/slotted-angular-breadcrumb.d.ts.map +1 -1
  446. package/types/slotted-angular-button-group.d.ts +1 -1
  447. package/types/slotted-angular-button-group.d.ts.map +1 -1
  448. package/types/slotted-angular-button.d.ts +67 -14
  449. package/types/slotted-angular-button.d.ts.map +1 -1
  450. package/types/slotted-angular-calendar.d.ts +43 -2
  451. package/types/slotted-angular-calendar.d.ts.map +1 -1
  452. package/types/slotted-angular-card.d.ts.map +1 -1
  453. package/types/slotted-angular-carousel.d.ts.map +1 -1
  454. package/types/slotted-angular-cascader.d.ts.map +1 -1
  455. package/types/slotted-angular-chart.d.ts +19 -9
  456. package/types/slotted-angular-chart.d.ts.map +1 -1
  457. package/types/slotted-angular-checkbox-group.d.ts.map +1 -1
  458. package/types/slotted-angular-checkbox.d.ts.map +1 -1
  459. package/types/slotted-angular-code-block.d.ts +2 -1
  460. package/types/slotted-angular-code-block.d.ts.map +1 -1
  461. package/types/slotted-angular-collapsible.d.ts +2 -1
  462. package/types/slotted-angular-collapsible.d.ts.map +1 -1
  463. package/types/slotted-angular-color-picker.d.ts.map +1 -1
  464. package/types/slotted-angular-column-manager.d.ts.map +1 -1
  465. package/types/slotted-angular-combobox.d.ts +6 -1
  466. package/types/slotted-angular-combobox.d.ts.map +1 -1
  467. package/types/slotted-angular-command-palette.d.ts +10 -1
  468. package/types/slotted-angular-command-palette.d.ts.map +1 -1
  469. package/types/slotted-angular-container.d.ts.map +1 -1
  470. package/types/slotted-angular-context-menu.d.ts.map +1 -1
  471. package/types/slotted-angular-currency-field.d.ts +63 -15
  472. package/types/slotted-angular-currency-field.d.ts.map +1 -1
  473. package/types/slotted-angular-dashboard-grid.d.ts +63 -7
  474. package/types/slotted-angular-dashboard-grid.d.ts.map +1 -1
  475. package/types/slotted-angular-data-grid.d.ts +62 -4
  476. package/types/slotted-angular-data-grid.d.ts.map +1 -1
  477. package/types/slotted-angular-data-list.d.ts.map +1 -1
  478. package/types/slotted-angular-date-field.d.ts +11 -1
  479. package/types/slotted-angular-date-field.d.ts.map +1 -1
  480. package/types/slotted-angular-date-picker.d.ts +38 -12
  481. package/types/slotted-angular-date-picker.d.ts.map +1 -1
  482. package/types/slotted-angular-date-range-picker.d.ts +0 -1
  483. package/types/slotted-angular-date-range-picker.d.ts.map +1 -1
  484. package/types/slotted-angular-datetime-field.d.ts.map +1 -1
  485. package/types/slotted-angular-datetime-picker.d.ts +0 -1
  486. package/types/slotted-angular-datetime-picker.d.ts.map +1 -1
  487. package/types/slotted-angular-datetime-range-picker.d.ts +0 -1
  488. package/types/slotted-angular-datetime-range-picker.d.ts.map +1 -1
  489. package/types/slotted-angular-description-list.d.ts +11 -3
  490. package/types/slotted-angular-description-list.d.ts.map +1 -1
  491. package/types/slotted-angular-detail-panel.d.ts.map +1 -1
  492. package/types/slotted-angular-dialog.d.ts +11 -3
  493. package/types/slotted-angular-dialog.d.ts.map +1 -1
  494. package/types/slotted-angular-divider.d.ts.map +1 -1
  495. package/types/slotted-angular-drawer.d.ts +29 -3
  496. package/types/slotted-angular-drawer.d.ts.map +1 -1
  497. package/types/slotted-angular-entity-picker.d.ts +63 -15
  498. package/types/slotted-angular-entity-picker.d.ts.map +1 -1
  499. package/types/slotted-angular-event-calendar.d.ts.map +1 -1
  500. package/types/slotted-angular-field-group.d.ts.map +1 -1
  501. package/types/slotted-angular-field.d.ts.map +1 -1
  502. package/types/slotted-angular-filter-bar.d.ts.map +1 -1
  503. package/types/slotted-angular-form.d.ts.map +1 -1
  504. package/types/slotted-angular-fullscreen.d.ts.map +1 -1
  505. package/types/slotted-angular-grid.d.ts.map +1 -1
  506. package/types/slotted-angular-highlight.d.ts.map +1 -1
  507. package/types/slotted-angular-hover-card.d.ts.map +1 -1
  508. package/types/slotted-angular-icon.d.ts +13 -3
  509. package/types/slotted-angular-icon.d.ts.map +1 -1
  510. package/types/slotted-angular-image.d.ts.map +1 -1
  511. package/types/slotted-angular-import-export-center.d.ts.map +1 -1
  512. package/types/slotted-angular-inline-message.d.ts +29 -28
  513. package/types/slotted-angular-inline-message.d.ts.map +1 -1
  514. package/types/slotted-angular-inline.d.ts.map +1 -1
  515. package/types/slotted-angular-kbd.d.ts.map +1 -1
  516. package/types/slotted-angular-link.d.ts +8 -2
  517. package/types/slotted-angular-link.d.ts.map +1 -1
  518. package/types/slotted-angular-list-item.d.ts +5 -1
  519. package/types/slotted-angular-list-item.d.ts.map +1 -1
  520. package/types/slotted-angular-list.d.ts +42 -27
  521. package/types/slotted-angular-list.d.ts.map +1 -1
  522. package/types/slotted-angular-listbox.d.ts.map +1 -1
  523. package/types/slotted-angular-loading-overlay.d.ts.map +1 -1
  524. package/types/slotted-angular-markdown.d.ts +6 -1
  525. package/types/slotted-angular-markdown.d.ts.map +1 -1
  526. package/types/slotted-angular-menu.d.ts +11 -2
  527. package/types/slotted-angular-menu.d.ts.map +1 -1
  528. package/types/slotted-angular-menubar.d.ts +5 -4
  529. package/types/slotted-angular-menubar.d.ts.map +1 -1
  530. package/types/slotted-angular-message-scroller.d.ts.map +1 -1
  531. package/types/slotted-angular-message.d.ts +1 -1
  532. package/types/slotted-angular-message.d.ts.map +1 -1
  533. package/types/slotted-angular-multi-select.d.ts +6 -1
  534. package/types/slotted-angular-multi-select.d.ts.map +1 -1
  535. package/types/slotted-angular-navigation-menu.d.ts.map +1 -1
  536. package/types/slotted-angular-notification-center.d.ts +1 -1
  537. package/types/slotted-angular-notification-center.d.ts.map +1 -1
  538. package/types/slotted-angular-number-field.d.ts.map +1 -1
  539. package/types/slotted-angular-otp-input.d.ts.map +1 -1
  540. package/types/slotted-angular-page-header.d.ts +15 -6
  541. package/types/slotted-angular-page-header.d.ts.map +1 -1
  542. package/types/slotted-angular-page.d.ts +7 -1
  543. package/types/slotted-angular-page.d.ts.map +1 -1
  544. package/types/slotted-angular-pagination.d.ts.map +1 -1
  545. package/types/slotted-angular-popover.d.ts.map +1 -1
  546. package/types/slotted-angular-progress-indicator.d.ts +8 -1
  547. package/types/slotted-angular-progress-indicator.d.ts.map +1 -1
  548. package/types/slotted-angular-prompt-composer.d.ts +35 -3
  549. package/types/slotted-angular-prompt-composer.d.ts.map +1 -1
  550. package/types/slotted-angular-prose.d.ts.map +1 -1
  551. package/types/slotted-angular-radio-group.d.ts.map +1 -1
  552. package/types/slotted-angular-rating.d.ts +1 -1
  553. package/types/slotted-angular-rating.d.ts.map +1 -1
  554. package/types/slotted-angular-result-state.d.ts.map +1 -1
  555. package/types/slotted-angular-saved-views.d.ts.map +1 -1
  556. package/types/slotted-angular-scroll-area.d.ts.map +1 -1
  557. package/types/slotted-angular-section.d.ts +14 -4
  558. package/types/slotted-angular-section.d.ts.map +1 -1
  559. package/types/slotted-angular-segmented-control.d.ts +15 -2
  560. package/types/slotted-angular-segmented-control.d.ts.map +1 -1
  561. package/types/slotted-angular-select.d.ts +13 -2
  562. package/types/slotted-angular-select.d.ts.map +1 -1
  563. package/types/slotted-angular-side-navigation.d.ts.map +1 -1
  564. package/types/slotted-angular-skeleton.d.ts.map +1 -1
  565. package/types/slotted-angular-slider.d.ts.map +1 -1
  566. package/types/slotted-angular-sparkline.d.ts +7 -1
  567. package/types/slotted-angular-sparkline.d.ts.map +1 -1
  568. package/types/slotted-angular-split-button.d.ts +2 -2
  569. package/types/slotted-angular-split-button.d.ts.map +1 -1
  570. package/types/slotted-angular-splitter.d.ts.map +1 -1
  571. package/types/slotted-angular-stack.d.ts.map +1 -1
  572. package/types/slotted-angular-stat-card.d.ts +9 -4
  573. package/types/slotted-angular-stat-card.d.ts.map +1 -1
  574. package/types/slotted-angular-status-indicator.d.ts +13 -3
  575. package/types/slotted-angular-status-indicator.d.ts.map +1 -1
  576. package/types/slotted-angular-stepper.d.ts +2 -1
  577. package/types/slotted-angular-stepper.d.ts.map +1 -1
  578. package/types/slotted-angular-switch.d.ts.map +1 -1
  579. package/types/slotted-angular-table-of-contents.d.ts.map +1 -1
  580. package/types/slotted-angular-table.d.ts +63 -6
  581. package/types/slotted-angular-table.d.ts.map +1 -1
  582. package/types/slotted-angular-tabs.d.ts +3 -4
  583. package/types/slotted-angular-tabs.d.ts.map +1 -1
  584. package/types/slotted-angular-tag.d.ts +1 -1
  585. package/types/slotted-angular-tag.d.ts.map +1 -1
  586. package/types/slotted-angular-tags-input.d.ts +33 -1
  587. package/types/slotted-angular-tags-input.d.ts.map +1 -1
  588. package/types/slotted-angular-text-field.d.ts.map +1 -1
  589. package/types/slotted-angular-textarea.d.ts.map +1 -1
  590. package/types/slotted-angular-theme.d.ts +7 -5
  591. package/types/slotted-angular-theme.d.ts.map +1 -1
  592. package/types/slotted-angular-time-field.d.ts.map +1 -1
  593. package/types/slotted-angular-time-picker.d.ts +0 -1
  594. package/types/slotted-angular-time-picker.d.ts.map +1 -1
  595. package/types/slotted-angular-time-range-picker.d.ts +0 -1
  596. package/types/slotted-angular-time-range-picker.d.ts.map +1 -1
  597. package/types/slotted-angular-timeline.d.ts +1 -1
  598. package/types/slotted-angular-timeline.d.ts.map +1 -1
  599. package/types/slotted-angular-toast.d.ts +5 -3
  600. package/types/slotted-angular-toast.d.ts.map +1 -1
  601. package/types/slotted-angular-toggle-group.d.ts +8 -2
  602. package/types/slotted-angular-toggle-group.d.ts.map +1 -1
  603. package/types/slotted-angular-toggle.d.ts +1 -1
  604. package/types/slotted-angular-toggle.d.ts.map +1 -1
  605. package/types/slotted-angular-toolbar.d.ts +2 -0
  606. package/types/slotted-angular-toolbar.d.ts.map +1 -1
  607. package/types/slotted-angular-tooltip.d.ts.map +1 -1
  608. package/types/slotted-angular-top-navigation.d.ts.map +1 -1
  609. package/types/slotted-angular-tour.d.ts.map +1 -1
  610. package/types/slotted-angular-transfer.d.ts.map +1 -1
  611. package/types/slotted-angular-tree.d.ts.map +1 -1
  612. package/types/slotted-angular-typography.d.ts +1 -1
  613. package/types/slotted-angular-typography.d.ts.map +1 -1
  614. package/types/slotted-angular-upload.d.ts +4 -2
  615. package/types/slotted-angular-upload.d.ts.map +1 -1
  616. package/types/slotted-angular-visually-hidden.d.ts.map +1 -1
  617. 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>Partilhar relatório</h2>
23
+ <p slActionSheetMessage>Quem recebe a ligação vê a versão de hoje.</p>
24
+ </header>
25
+ <div slActionSheetList>
26
+ <button slActionSheetItem value="copy">Copiar ligação</button>
27
+ <button slActionSheetItem value="pdf">Descarregar 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">Eliminar rascunho</button>
126
+ <button slActionSheetItem value="save">Guardar rascunho</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>Enviar</div>
139
+ <button slActionSheetItem value="remind">Lembrar o cliente</button>
140
+ <button slActionSheetItem value="accounting" disabled>
141
+ Enviar para a contabilidade
142
+ <span slActionSheetItemDescription>Disponível depois de aprovada</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="Ações">
239
+ <div slActionSheetList aria-label="Ações">
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,10 +125,10 @@
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 colours 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",
@@ -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",
@@ -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",
@@ -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.",
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>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\n<section slAlert actionsPlacement=\"end\">\n <div slAlertContent>\n <p slAlertDescription>A sugestão altera três linhas do plano.</p>\n </div>\n <div slAlertActions>\n <button slButton size=\"sm\" type=\"button\">Aplicar</button>\n </div>\n</section>\n",
372
389
  "verdict": "excerpt"
373
390
  },
374
391
  {
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
 
@@ -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 |
51
+ | `tone` | `'accent' \| 'secondary' \| 'info' \| 'success' \| 'warning' \| 'danger'` | accent | slAlert | Which of the five semantic colours the message speaks in, and which mark it draws: status-info, none for secondary, status-success, status-warning, status-danger |
52
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 |
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,10 +75,11 @@ 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
 
@@ -92,7 +94,7 @@ 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-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`
96
98
 
97
99
  ## Examples
98
100
 
@@ -161,7 +163,7 @@ 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.
165
167
 
166
168
  Excerpt — not a complete module
167
169
 
@@ -175,6 +177,15 @@ Excerpt — not a complete module
175
177
  <button slButton size="sm" tone="warning" variant="ghost" type="button">Ver planos</button>
176
178
  </div>
177
179
  </section>
180
+
181
+ <section slAlert actionsPlacement="end">
182
+ <div slAlertContent>
183
+ <p slAlertDescription>A sugestão altera três linhas do plano.</p>
184
+ </div>
185
+ <div slAlertActions>
186
+ <button slButton size="sm" type="button">Aplicar</button>
187
+ </div>
188
+ </section>
178
189
  ```
179
190
 
180
191
  ### What a reader hears, and when
@@ -281,7 +281,7 @@ Excerpt — not a complete module
281
281
 
282
282
  ### The first thing a keyboard meets
283
283
 
284
- Press Tab from the top of the frame: a link to the content appears, then one to the navigation, then one to the pane — one per region that rendered and is open, out of the flow until focused. The content region carries tabindex="-1", so the link moves the focus as well as the scroll.
284
+ Press Tab from the top of the frame: a link to the content appears, then one to the navigation, then one to the pane — one per region that rendered and is open, out of the flow until focused. The link makes the content region focusable for that one focus, so it moves the focus as well as the scroll.
285
285
 
286
286
  Excerpt — not a complete module
287
287
 
@@ -132,6 +132,8 @@
132
132
  "progress",
133
133
  "aside",
134
134
  "aside-resizer",
135
+ "line",
136
+ "grip",
135
137
  "aside-header",
136
138
  "aside-body",
137
139
  "aside-footer",
@@ -196,7 +198,7 @@
196
198
  "part": "nav",
197
199
  "element": "nav",
198
200
  "required": false,
199
- "purpose": "The navigation landmark, and one element across all three modes: the rail is this nav at another inline size, which keeps the focus and the scroll position where the reader left them. A query container of its own, named slotted-app-shell-nav, so the rows inside answer the rail without the shell telling them anything."
201
+ "purpose": "The navigation landmark, and one element across all three modes: the rail is this nav at another inline size, which keeps the focus and the scroll position where the reader left them. Its inline axis clips and its block axis scrolls, so a single column taller than the region keeps its foot reachable. A footer that must stay visible goes in nav-footer, between nav-header and a nav-body that scrolls. A query container of its own, named slotted-app-shell-nav, so the rows inside answer the rail without the shell telling them anything."
200
202
  },
201
203
  {
202
204
  "part": "nav-rail",
@@ -230,9 +232,9 @@
230
232
  },
231
233
  {
232
234
  "part": "main",
233
- "element": "main with tabindex=\"-1\"",
235
+ "element": "main",
234
236
  "required": true,
235
- "purpose": "The main landmark and the skip link’s destination. Without the tabindex the link moves the scroll and leaves the focus behind, in Safari and in Firefox."
237
+ "purpose": "The main landmark and the skip link’s destination. The skip link and focusMain() write tabindex=\"-1\" for the focus they move, and blur or the next pointer press inside removes it: a main focusable all the time takes the focus of every click on its text, and the next key draws the ring around the page."
236
238
  },
237
239
  {
238
240
  "part": "progress",
@@ -252,6 +254,18 @@
252
254
  "required": false,
253
255
  "purpose": "The pane’s inner edge, from the WAI-ARIA Window Splitter pattern: focusable, role=\"separator\", aria-controls the pane, its three values the extent as whole percentages of the shell. Placed inside the aside; rendering it is the capability. Drawn on the column alone — under asideMode=\"overlay\" or a closed pane it is hidden, and a row under the content hides it."
254
256
  },
257
+ {
258
+ "part": "line",
259
+ "element": "span inside the aside-resizer, aria-hidden",
260
+ "required": false,
261
+ "purpose": "One of the splitter family’s two hairlines on the pane’s edge, drawn from the splitter tokens: fading away from the grip at rest, running the strip under the hand, the drag and the keyboard."
262
+ },
263
+ {
264
+ "part": "grip",
265
+ "element": "span inside the aside-resizer, aria-hidden",
266
+ "required": false,
267
+ "purpose": "The dot matrix between the two lines, two columns by three rows, in the line’s step."
268
+ },
255
269
  {
256
270
  "part": "aside-header",
257
271
  "element": "div",
@@ -559,7 +573,7 @@
559
573
  "The structure is the WAI-ARIA APG’s Landmark Regions (w3.org/WAI/ARIA/apg/practices/landmark-regions/), and every one of the five is earned from the element rather than written as a role: header in the context of the body is banner, nav is navigation, main is main, aside is complementary, footer is contentinfo. The root is a div for exactly that reason — a main inside a sectioning element stops being a landmark, and the shell has to be placeable anywhere.",
560
574
  "Both controls are the APG’s Disclosure pattern (w3.org/WAI/ARIA/apg/patterns/disclosure/): real buttons, so Enter and Space activate them natively, carrying aria-expanded and aria-controls pointing at their region. One departure is written and costed: under collapsedTo=\"rail\" the navigation does not disappear, it narrows — aria-expanded is still true or false about the region’s full form, and the region stays in the tab order because a rail whose destinations cannot be reached is not a rail. The pane has no such departure: closed, it leaves the layout and the tab order.",
561
575
  "A document with more than one navigation or complementary landmark needs a unique label on each, so both regions carry the family’s strings and a consumer may replace either per instance. Each control’s own name changes with the state — “Open navigation” and “Close navigation”, “Open side panel” and “Close side panel” — because a control whose name never changes leaves the reader to infer the state from aria-expanded alone.",
562
- "The skip links are written from the regions that rendered and are open, so no link ever points at a target nobody built or the reader closed, and main carries tabindex=\"-1\": without it the browser moves the scroll and leaves the focus behind in Safari and Firefox, which is a link that appears to work and moves nothing a screen reader follows.",
576
+ "The skip links are written from the regions that rendered and are open, so no link ever points at a target nobody built or the reader closed, and the main link writes tabindex=\"-1\" on main before it moves the focus: without it the browser moves the scroll and leaves the focus behind in Safari and Firefox. Blur or the next pointer press inside removes the attribute, so a click on the content never focuses main.",
563
577
  "While an overlaid region is modal, @slotted/core/focus contains the keyboard inside it and returns it to the control that opened it on close, and every region beside it — the banner included — takes inert, so Tab cannot reach them and a screen reader does not read them. The ways out are Escape, the veil, a destination, and whatever control the product put in the panel. Two layers can be open together only with both modes forced, and @slotted/core/dismissable-layer keeps one stack, so Escape reaches the topmost.",
564
578
  "The pane’s edge is the APG’s Window Splitter (w3.org/WAI/ARIA/apg/patterns/windowsplitter/): a focusable separator with aria-orientation=\"vertical\", aria-controls pointing at the pane and aria-valuemin, aria-valuemax and aria-valuenow as whole percentages of the shell, named “Resize panel”. ArrowLeft and ArrowRight move it sixteen pixels, sixty-four with Shift, by the direction on the screen — so ArrowLeft grows an end pane and shrinks a start one, mirrored in right-to-left — and Home and End go to the limits.",
565
579
  "Nothing important depends on hover, the frame answers its own inline size rather than the window’s — which is what makes a 400% zoom behave like a narrow window — and every transition comes from the motion scale, so prefers-reduced-motion collapses all of them at once."
@@ -597,7 +611,6 @@
597
611
  "--slotted-app-shell-nav-surface",
598
612
  "--slotted-app-shell-radius",
599
613
  "--slotted-app-shell-rail-size",
600
- "--slotted-app-shell-resizer-color",
601
614
  "--slotted-app-shell-row-inset-size",
602
615
  "--slotted-app-shell-row-mark-size",
603
616
  "--slotted-app-shell-row-text-line-height",
@@ -608,7 +621,6 @@
608
621
  "--slotted-app-shell-tone-surface",
609
622
  "--slotted-border-strong",
610
623
  "--slotted-border-subtle",
611
- "--slotted-border-width-thick",
612
624
  "--slotted-border-width-thin",
613
625
  "--slotted-control-font-size-md",
614
626
  "--slotted-control-font-size-sm",
@@ -634,16 +646,21 @@
634
646
  "--slotted-font-weight-semibold",
635
647
  "--slotted-line-height-sm",
636
648
  "--slotted-radius-lg",
649
+ "--slotted-radius-sm",
637
650
  "--slotted-scrim",
638
651
  "--slotted-shadow-lg",
639
652
  "--slotted-shadow-md",
640
653
  "--slotted-shadow-xs",
641
654
  "--slotted-space-1",
655
+ "--slotted-space-12",
642
656
  "--slotted-space-2",
643
657
  "--slotted-space-3",
644
658
  "--slotted-space-4",
645
659
  "--slotted-space-5",
646
660
  "--slotted-space-6",
661
+ "--slotted-space-9",
662
+ "--slotted-splitter-line-active-color",
663
+ "--slotted-splitter-line-color",
647
664
  "--slotted-surface",
648
665
  "--slotted-surface-sunken",
649
666
  "--slotted-target-min",
@@ -786,7 +803,7 @@
786
803
  {
787
804
  "id": "skipLinks",
788
805
  "title": "The first thing a keyboard meets",
789
- "note": "Press Tab from the top of the frame: a link to the content appears, then one to the navigation, then one to the pane — one per region that rendered and is open, out of the flow until focused. The content region carries tabindex=\"-1\", so the link moves the focus as well as the scroll.",
806
+ "note": "Press Tab from the top of the frame: a link to the content appears, then one to the navigation, then one to the pane — one per region that rendered and is open, out of the flow until focused. The link makes the content region focusable for that one focus, so it moves the focus as well as the scroll.",
790
807
  "language": "html",
791
808
  "source": "<div slAppShell [messages]=\"{ skipToMain: 'Skip to the order' }\">\n <main slAppShellMain>…</main>\n</div>\n",
792
809
  "verdict": "excerpt"
package/docs/app-shell.md CHANGED
@@ -116,10 +116,12 @@ export class AppShellBasic {}
116
116
  | `nav-body` | div | no |
117
117
  | `nav-footer` | div | no |
118
118
  | `scrim` | div | no |
119
- | `main` | main with tabindex="-1" | yes |
119
+ | `main` | main | yes |
120
120
  | `progress` | the consumer’s element, holding one [slProgressBar] at placement="edge-start" | no |
121
121
  | `aside` | aside | no |
122
122
  | `aside-resizer` | any element carrying slAppShellAsideResizer | no |
123
+ | `line` | span inside the aside-resizer, aria-hidden | no |
124
+ | `grip` | span inside the aside-resizer, aria-hidden | no |
123
125
  | `aside-header` | div | no |
124
126
  | `aside-body` | div | no |
125
127
  | `aside-footer` | div | no |
@@ -200,14 +202,14 @@ export class AppShellBasic {}
200
202
  - The structure is the WAI-ARIA APG’s Landmark Regions (w3.org/WAI/ARIA/apg/practices/landmark-regions/), and every one of the five is earned from the element rather than written as a role: header in the context of the body is banner, nav is navigation, main is main, aside is complementary, footer is contentinfo. The root is a div for exactly that reason — a main inside a sectioning element stops being a landmark, and the shell has to be placeable anywhere.
201
203
  - Both controls are the APG’s Disclosure pattern (w3.org/WAI/ARIA/apg/patterns/disclosure/): real buttons, so Enter and Space activate them natively, carrying aria-expanded and aria-controls pointing at their region. One departure is written and costed: under collapsedTo="rail" the navigation does not disappear, it narrows — aria-expanded is still true or false about the region’s full form, and the region stays in the tab order because a rail whose destinations cannot be reached is not a rail. The pane has no such departure: closed, it leaves the layout and the tab order.
202
204
  - A document with more than one navigation or complementary landmark needs a unique label on each, so both regions carry the family’s strings and a consumer may replace either per instance. Each control’s own name changes with the state — “Open navigation” and “Close navigation”, “Open side panel” and “Close side panel” — because a control whose name never changes leaves the reader to infer the state from aria-expanded alone.
203
- - The skip links are written from the regions that rendered and are open, so no link ever points at a target nobody built or the reader closed, and main carries tabindex="-1": without it the browser moves the scroll and leaves the focus behind in Safari and Firefox, which is a link that appears to work and moves nothing a screen reader follows.
205
+ - The skip links are written from the regions that rendered and are open, so no link ever points at a target nobody built or the reader closed, and the main link writes tabindex="-1" on main before it moves the focus: without it the browser moves the scroll and leaves the focus behind in Safari and Firefox. Blur or the next pointer press inside removes the attribute, so a click on the content never focuses main.
204
206
  - While an overlaid region is modal, @slotted/core/focus contains the keyboard inside it and returns it to the control that opened it on close, and every region beside it — the banner included — takes inert, so Tab cannot reach them and a screen reader does not read them. The ways out are Escape, the veil, a destination, and whatever control the product put in the panel. Two layers can be open together only with both modes forced, and @slotted/core/dismissable-layer keeps one stack, so Escape reaches the topmost.
205
207
  - The pane’s edge is the APG’s Window Splitter (w3.org/WAI/ARIA/apg/patterns/windowsplitter/): a focusable separator with aria-orientation="vertical", aria-controls pointing at the pane and aria-valuemin, aria-valuemax and aria-valuenow as whole percentages of the shell, named “Resize panel”. ArrowLeft and ArrowRight move it sixteen pixels, sixty-four with Shift, by the direction on the screen — so ArrowLeft grows an end pane and shrinks a start one, mirrored in right-to-left — and Home and End go to the limits.
206
208
  - Nothing important depends on hover, the frame answers its own inline size rather than the window’s — which is what makes a 400% zoom behave like a narrow window — and every transition comes from the motion scale, so prefers-reduced-motion collapses all of them at once.
207
209
 
208
210
  ## Tokens
209
211
 
210
- `--slotted-app-shell-aside-color`, `--slotted-app-shell-aside-extent`, `--slotted-app-shell-aside-size-lg`, `--slotted-app-shell-aside-size-md`, `--slotted-app-shell-aside-size-sm`, `--slotted-app-shell-aside-surface`, `--slotted-app-shell-banner-block-size`, `--slotted-app-shell-banner-color`, `--slotted-app-shell-banner-surface`, `--slotted-app-shell-border-color`, `--slotted-app-shell-brand-overflow`, `--slotted-app-shell-brand-wrap`, `--slotted-app-shell-canvas`, `--slotted-app-shell-color`, `--slotted-app-shell-elevation`, `--slotted-app-shell-footer-color`, `--slotted-app-shell-footer-surface`, `--slotted-app-shell-frame`, `--slotted-app-shell-frame-image`, `--slotted-app-shell-gutter`, `--slotted-app-shell-main-color`, `--slotted-app-shell-main-surface`, `--slotted-app-shell-nav-color`, `--slotted-app-shell-nav-overlay-size`, `--slotted-app-shell-nav-size-lg`, `--slotted-app-shell-nav-size-md`, `--slotted-app-shell-nav-size-sm`, `--slotted-app-shell-nav-surface`, `--slotted-app-shell-radius`, `--slotted-app-shell-rail-size`, `--slotted-app-shell-resizer-color`, `--slotted-app-shell-row-inset-size`, `--slotted-app-shell-row-mark-size`, `--slotted-app-shell-row-text-line-height`, `--slotted-app-shell-row-text-size`, `--slotted-app-shell-scrim`, `--slotted-app-shell-scrollbar-thumb-color`, `--slotted-app-shell-scrollbar-track-color`, `--slotted-app-shell-tone-surface`, `--slotted-border-strong`, `--slotted-border-subtle`, `--slotted-border-width-thick`, `--slotted-border-width-thin`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-gap-lg`, `--slotted-control-gap-md`, `--slotted-control-gap-sm`, `--slotted-control-height-lg`, `--slotted-control-height-md`, `--slotted-control-icon-size-md`, `--slotted-control-radius`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-duration-medium`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-family-sans`, `--slotted-font-size-sm`, `--slotted-font-weight-medium`, `--slotted-font-weight-semibold`, `--slotted-line-height-sm`, `--slotted-radius-lg`, `--slotted-scrim`, `--slotted-shadow-lg`, `--slotted-shadow-md`, `--slotted-shadow-xs`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-6`, `--slotted-surface`, `--slotted-surface-sunken`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-z-index-overlay`, `--slotted-z-index-popover`
212
+ `--slotted-app-shell-aside-color`, `--slotted-app-shell-aside-extent`, `--slotted-app-shell-aside-size-lg`, `--slotted-app-shell-aside-size-md`, `--slotted-app-shell-aside-size-sm`, `--slotted-app-shell-aside-surface`, `--slotted-app-shell-banner-block-size`, `--slotted-app-shell-banner-color`, `--slotted-app-shell-banner-surface`, `--slotted-app-shell-border-color`, `--slotted-app-shell-brand-overflow`, `--slotted-app-shell-brand-wrap`, `--slotted-app-shell-canvas`, `--slotted-app-shell-color`, `--slotted-app-shell-elevation`, `--slotted-app-shell-footer-color`, `--slotted-app-shell-footer-surface`, `--slotted-app-shell-frame`, `--slotted-app-shell-frame-image`, `--slotted-app-shell-gutter`, `--slotted-app-shell-main-color`, `--slotted-app-shell-main-surface`, `--slotted-app-shell-nav-color`, `--slotted-app-shell-nav-overlay-size`, `--slotted-app-shell-nav-size-lg`, `--slotted-app-shell-nav-size-md`, `--slotted-app-shell-nav-size-sm`, `--slotted-app-shell-nav-surface`, `--slotted-app-shell-radius`, `--slotted-app-shell-rail-size`, `--slotted-app-shell-row-inset-size`, `--slotted-app-shell-row-mark-size`, `--slotted-app-shell-row-text-line-height`, `--slotted-app-shell-row-text-size`, `--slotted-app-shell-scrim`, `--slotted-app-shell-scrollbar-thumb-color`, `--slotted-app-shell-scrollbar-track-color`, `--slotted-app-shell-tone-surface`, `--slotted-border-strong`, `--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-gap-lg`, `--slotted-control-gap-md`, `--slotted-control-gap-sm`, `--slotted-control-height-lg`, `--slotted-control-height-md`, `--slotted-control-icon-size-md`, `--slotted-control-radius`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-duration-medium`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-easing-standard`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-family-sans`, `--slotted-font-size-sm`, `--slotted-font-weight-medium`, `--slotted-font-weight-semibold`, `--slotted-line-height-sm`, `--slotted-radius-lg`, `--slotted-radius-sm`, `--slotted-scrim`, `--slotted-shadow-lg`, `--slotted-shadow-md`, `--slotted-shadow-xs`, `--slotted-space-1`, `--slotted-space-12`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-space-6`, `--slotted-space-9`, `--slotted-splitter-line-active-color`, `--slotted-splitter-line-color`, `--slotted-surface`, `--slotted-surface-sunken`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-z-index-overlay`, `--slotted-z-index-popover`
211
213
 
212
214
  ## Examples
213
215