@slotted/angular 0.1.0-beta.29 → 0.1.0-beta.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (397) hide show
  1. package/docs/AGENTS.snippet.md +1 -1
  2. package/docs/accordion.json +5 -5
  3. package/docs/accordion.md +12 -12
  4. package/docs/action-bar.json +20 -20
  5. package/docs/action-bar.md +28 -28
  6. package/docs/action-sheet.json +4 -4
  7. package/docs/action-sheet.md +12 -12
  8. package/docs/alert.json +10 -10
  9. package/docs/alert.md +16 -16
  10. package/docs/app-shell.examples.md +7 -7
  11. package/docs/app-shell.json +13 -13
  12. package/docs/app-shell.md +3 -3
  13. package/docs/avatar-group.json +1 -1
  14. package/docs/avatar-group.md +1 -1
  15. package/docs/avatar.json +10 -10
  16. package/docs/avatar.md +9 -9
  17. package/docs/badge.json +3 -3
  18. package/docs/badge.md +3 -3
  19. package/docs/breadcrumb.json +2 -2
  20. package/docs/breadcrumb.md +2 -2
  21. package/docs/button-group.json +1 -1
  22. package/docs/button-group.md +1 -1
  23. package/docs/button.json +11 -11
  24. package/docs/button.md +7 -7
  25. package/docs/calendar.json +4 -4
  26. package/docs/calendar.md +3 -3
  27. package/docs/card.json +2 -2
  28. package/docs/card.md +2 -2
  29. package/docs/carousel.json +10 -10
  30. package/docs/carousel.md +11 -11
  31. package/docs/chart.examples.md +32 -32
  32. package/docs/chart.json +33 -33
  33. package/docs/chart.md +4 -4
  34. package/docs/checkbox-group.examples.md +13 -13
  35. package/docs/checkbox-group.json +7 -7
  36. package/docs/checkbox-group.md +2 -2
  37. package/docs/checkbox.examples.md +7 -7
  38. package/docs/checkbox.json +6 -6
  39. package/docs/checkbox.md +3 -3
  40. package/docs/code-block.json +1 -1
  41. package/docs/code-block.md +1 -1
  42. package/docs/collapsible.json +11 -11
  43. package/docs/collapsible.md +19 -19
  44. package/docs/color-picker.json +26 -26
  45. package/docs/color-picker.md +16 -16
  46. package/docs/combobox.json +2 -2
  47. package/docs/combobox.md +2 -2
  48. package/docs/context-menu.json +1 -1
  49. package/docs/context-menu.md +1 -1
  50. package/docs/currency-field.examples.md +3 -3
  51. package/docs/currency-field.json +6 -6
  52. package/docs/currency-field.md +4 -4
  53. package/docs/dashboard-grid.json +1 -1
  54. package/docs/data-grid.examples.md +1 -1
  55. package/docs/data-grid.json +2 -2
  56. package/docs/data-grid.props.md +1 -1
  57. package/docs/date-field.json +3 -3
  58. package/docs/date-field.md +5 -5
  59. package/docs/date-picker.json +1 -1
  60. package/docs/date-range-picker.json +1 -1
  61. package/docs/datetime-field.json +4 -4
  62. package/docs/datetime-field.md +9 -9
  63. package/docs/datetime-picker.json +1 -1
  64. package/docs/datetime-range-picker.examples.md +3 -3
  65. package/docs/datetime-range-picker.json +4 -4
  66. package/docs/datetime-range-picker.md +2 -2
  67. package/docs/description-list.json +5 -5
  68. package/docs/description-list.md +4 -4
  69. package/docs/detail-panel.json +10 -10
  70. package/docs/detail-panel.md +12 -12
  71. package/docs/dialog.examples.md +5 -5
  72. package/docs/dialog.json +10 -10
  73. package/docs/dialog.md +2 -2
  74. package/docs/dialog.props.md +2 -2
  75. package/docs/drawer.examples.md +13 -13
  76. package/docs/drawer.json +6 -6
  77. package/docs/event-calendar.examples.md +3 -3
  78. package/docs/event-calendar.json +5 -5
  79. package/docs/event-calendar.md +2 -2
  80. package/docs/field-group.json +6 -6
  81. package/docs/field-group.md +11 -11
  82. package/docs/field.examples.md +3 -3
  83. package/docs/field.json +4 -4
  84. package/docs/field.md +1 -1
  85. package/docs/form.json +8 -8
  86. package/docs/form.md +12 -12
  87. package/docs/fullscreen.json +4 -4
  88. package/docs/fullscreen.md +7 -7
  89. package/docs/guidelines/async-feedback.md +2 -2
  90. package/docs/guidelines/builders.md +1 -1
  91. package/docs/guidelines/composition.md +4 -4
  92. package/docs/guidelines/conversations.md +1 -1
  93. package/docs/guidelines/index.md +2 -2
  94. package/docs/guidelines/layout-alignment.md +5 -5
  95. package/docs/guidelines/overviews.md +3 -3
  96. package/docs/guidelines/own-elements.md +7 -7
  97. package/docs/guidelines/record-pages.md +1 -1
  98. package/docs/highlight.json +9 -9
  99. package/docs/highlight.md +14 -14
  100. package/docs/icon.json +2 -2
  101. package/docs/icon.md +2 -2
  102. package/docs/image.json +3 -3
  103. package/docs/image.md +3 -3
  104. package/docs/import-export-center.json +23 -23
  105. package/docs/import-export-center.md +17 -17
  106. package/docs/inline-message.json +15 -15
  107. package/docs/inline-message.md +22 -22
  108. package/docs/inline.json +1 -1
  109. package/docs/inline.md +1 -1
  110. package/docs/kbd.json +2 -2
  111. package/docs/kbd.md +2 -2
  112. package/docs/link.json +6 -6
  113. package/docs/link.md +6 -6
  114. package/docs/list-item.json +1 -1
  115. package/docs/list-item.md +1 -1
  116. package/docs/list.json +1 -1
  117. package/docs/listbox.json +1 -1
  118. package/docs/listbox.md +1 -1
  119. package/docs/loading-overlay.json +3 -3
  120. package/docs/loading-overlay.md +3 -3
  121. package/docs/message-scroller.json +1 -1
  122. package/docs/message-scroller.md +1 -1
  123. package/docs/message.json +11 -11
  124. package/docs/message.md +17 -17
  125. package/docs/multi-select.json +1 -1
  126. package/docs/notification-center.json +16 -16
  127. package/docs/notification-center.md +18 -22
  128. package/docs/number-field.examples.md +3 -3
  129. package/docs/number-field.json +3 -3
  130. package/docs/otp-input.json +10 -10
  131. package/docs/otp-input.md +13 -13
  132. package/docs/page-header.json +9 -9
  133. package/docs/page-header.md +20 -22
  134. package/docs/pagination.json +2 -2
  135. package/docs/pagination.md +1 -1
  136. package/docs/popover.examples.md +1 -1
  137. package/docs/popover.json +3 -3
  138. package/docs/popover.md +1 -1
  139. package/docs/progress-indicator.json +4 -4
  140. package/docs/progress-indicator.md +4 -4
  141. package/docs/prompt-composer.json +4 -4
  142. package/docs/prompt-composer.md +5 -5
  143. package/docs/prose.json +1 -1
  144. package/docs/prose.md +1 -1
  145. package/docs/radio-group.examples.md +19 -19
  146. package/docs/radio-group.json +12 -12
  147. package/docs/radio-group.md +3 -3
  148. package/docs/rating.json +23 -23
  149. package/docs/rating.md +25 -34
  150. package/docs/result-state.json +12 -12
  151. package/docs/result-state.md +17 -17
  152. package/docs/saved-views.json +1 -1
  153. package/docs/scroll-area.json +5 -5
  154. package/docs/scroll-area.md +6 -6
  155. package/docs/section.json +6 -6
  156. package/docs/section.md +12 -12
  157. package/docs/segmented-control.json +14 -14
  158. package/docs/segmented-control.md +32 -32
  159. package/docs/skeleton.json +1 -1
  160. package/docs/skeleton.md +1 -1
  161. package/docs/skills/build-own-element/SKILL.md +3 -3
  162. package/docs/skills/compose-screen/SKILL.md +2 -2
  163. package/docs/skills/index.md +2 -2
  164. package/docs/skills/review-screen/SKILL.md +3 -3
  165. package/docs/skills/theme-app/SKILL.md +9 -9
  166. package/docs/skills/waiting-states/SKILL.md +1 -1
  167. package/docs/slider.json +8 -8
  168. package/docs/slider.md +12 -12
  169. package/docs/sparkline.json +8 -8
  170. package/docs/sparkline.md +6 -6
  171. package/docs/split-button.json +11 -11
  172. package/docs/split-button.md +25 -27
  173. package/docs/stack.json +1 -1
  174. package/docs/stack.md +1 -1
  175. package/docs/stat-card.json +3 -3
  176. package/docs/stat-card.md +2 -2
  177. package/docs/status-indicator.json +8 -8
  178. package/docs/status-indicator.md +5 -5
  179. package/docs/stepper.json +4 -4
  180. package/docs/stepper.md +4 -4
  181. package/docs/switch.json +5 -5
  182. package/docs/switch.md +7 -7
  183. package/docs/table-of-contents.json +11 -11
  184. package/docs/table-of-contents.md +12 -12
  185. package/docs/table.examples.md +1 -1
  186. package/docs/table.json +1 -1
  187. package/docs/tabs.json +1 -1
  188. package/docs/tabs.md +1 -1
  189. package/docs/tag.json +17 -17
  190. package/docs/tag.md +14 -14
  191. package/docs/tags-input.json +1 -1
  192. package/docs/tags-input.md +1 -1
  193. package/docs/text-field.examples.md +6 -6
  194. package/docs/text-field.json +4 -4
  195. package/docs/textarea.examples.md +7 -7
  196. package/docs/textarea.json +3 -3
  197. package/docs/time-field.json +3 -3
  198. package/docs/time-field.md +6 -6
  199. package/docs/time-picker.json +5 -5
  200. package/docs/time-picker.md +6 -6
  201. package/docs/time-range-picker.examples.md +5 -5
  202. package/docs/time-range-picker.json +5 -5
  203. package/docs/time-range-picker.md +1 -1
  204. package/docs/toast.json +6 -6
  205. package/docs/toast.md +6 -6
  206. package/docs/toggle-group.json +12 -12
  207. package/docs/toggle-group.md +28 -28
  208. package/docs/toggle.json +8 -8
  209. package/docs/toggle.md +7 -7
  210. package/docs/tokens.md +15 -15
  211. package/docs/toolbar.json +11 -11
  212. package/docs/toolbar.md +23 -23
  213. package/docs/tooltip.json +3 -3
  214. package/docs/tooltip.md +3 -3
  215. package/docs/top-navigation.examples.md +11 -15
  216. package/docs/top-navigation.json +9 -9
  217. package/docs/top-navigation.md +7 -7
  218. package/docs/tour.json +9 -9
  219. package/docs/tour.md +6 -6
  220. package/docs/typography.json +2 -2
  221. package/docs/typography.md +2 -2
  222. package/docs/upload.examples.md +3 -3
  223. package/docs/upload.json +9 -9
  224. package/docs/upload.md +4 -4
  225. package/fesm2022/slotted-angular-alert.mjs +2 -2
  226. package/fesm2022/slotted-angular-alert.mjs.map +1 -1
  227. package/fesm2022/slotted-angular-app-shell.mjs +10 -10
  228. package/fesm2022/slotted-angular-app-shell.mjs.map +1 -1
  229. package/fesm2022/slotted-angular-avatar-group.mjs +4 -4
  230. package/fesm2022/slotted-angular-avatar-group.mjs.map +1 -1
  231. package/fesm2022/slotted-angular-avatar.mjs +3 -3
  232. package/fesm2022/slotted-angular-avatar.mjs.map +1 -1
  233. package/fesm2022/slotted-angular-badge.mjs +1 -1
  234. package/fesm2022/slotted-angular-badge.mjs.map +1 -1
  235. package/fesm2022/slotted-angular-breadcrumb.mjs +1 -1
  236. package/fesm2022/slotted-angular-breadcrumb.mjs.map +1 -1
  237. package/fesm2022/slotted-angular-button-group.mjs +1 -1
  238. package/fesm2022/slotted-angular-button-group.mjs.map +1 -1
  239. package/fesm2022/slotted-angular-button.mjs +2 -2
  240. package/fesm2022/slotted-angular-button.mjs.map +1 -1
  241. package/fesm2022/slotted-angular-card.mjs +1 -1
  242. package/fesm2022/slotted-angular-card.mjs.map +1 -1
  243. package/fesm2022/slotted-angular-chart.mjs +2 -2
  244. package/fesm2022/slotted-angular-chart.mjs.map +1 -1
  245. package/fesm2022/slotted-angular-checkbox.mjs +1 -1
  246. package/fesm2022/slotted-angular-checkbox.mjs.map +1 -1
  247. package/fesm2022/slotted-angular-code-block.mjs +1 -1
  248. package/fesm2022/slotted-angular-code-block.mjs.map +1 -1
  249. package/fesm2022/slotted-angular-collapsible.mjs +1 -1
  250. package/fesm2022/slotted-angular-collapsible.mjs.map +1 -1
  251. package/fesm2022/slotted-angular-color-picker.mjs +6 -6
  252. package/fesm2022/slotted-angular-color-picker.mjs.map +1 -1
  253. package/fesm2022/slotted-angular-column-manager.mjs +3 -1
  254. package/fesm2022/slotted-angular-column-manager.mjs.map +1 -1
  255. package/fesm2022/slotted-angular-currency-field.mjs +2 -2
  256. package/fesm2022/slotted-angular-currency-field.mjs.map +1 -1
  257. package/fesm2022/slotted-angular-data-grid.mjs +1 -1
  258. package/fesm2022/slotted-angular-data-grid.mjs.map +1 -1
  259. package/fesm2022/slotted-angular-datetime-field.mjs +1 -1
  260. package/fesm2022/slotted-angular-datetime-field.mjs.map +1 -1
  261. package/fesm2022/slotted-angular-datetime-range-picker.mjs +6 -6
  262. package/fesm2022/slotted-angular-datetime-range-picker.mjs.map +1 -1
  263. package/fesm2022/slotted-angular-description-list.mjs +3 -3
  264. package/fesm2022/slotted-angular-description-list.mjs.map +1 -1
  265. package/fesm2022/slotted-angular-dialog.mjs +3 -3
  266. package/fesm2022/slotted-angular-dialog.mjs.map +1 -1
  267. package/fesm2022/slotted-angular-drawer.mjs +1 -1
  268. package/fesm2022/slotted-angular-drawer.mjs.map +1 -1
  269. package/fesm2022/slotted-angular-event-calendar.mjs +3 -3
  270. package/fesm2022/slotted-angular-event-calendar.mjs.map +1 -1
  271. package/fesm2022/slotted-angular-field.mjs +2 -2
  272. package/fesm2022/slotted-angular-field.mjs.map +1 -1
  273. package/fesm2022/slotted-angular-form.mjs +6 -6
  274. package/fesm2022/slotted-angular-form.mjs.map +1 -1
  275. package/fesm2022/slotted-angular-grid.mjs +2 -2
  276. package/fesm2022/slotted-angular-grid.mjs.map +1 -1
  277. package/fesm2022/slotted-angular-highlight.mjs +1 -1
  278. package/fesm2022/slotted-angular-highlight.mjs.map +1 -1
  279. package/fesm2022/slotted-angular-icon.mjs +3 -3
  280. package/fesm2022/slotted-angular-icon.mjs.map +1 -1
  281. package/fesm2022/slotted-angular-import-export-center.mjs +10 -10
  282. package/fesm2022/slotted-angular-import-export-center.mjs.map +1 -1
  283. package/fesm2022/slotted-angular-inline-message.mjs +4 -4
  284. package/fesm2022/slotted-angular-inline-message.mjs.map +1 -1
  285. package/fesm2022/slotted-angular-inline.mjs +3 -3
  286. package/fesm2022/slotted-angular-inline.mjs.map +1 -1
  287. package/fesm2022/slotted-angular-kbd.mjs.map +1 -1
  288. package/fesm2022/slotted-angular-list.mjs +1 -1
  289. package/fesm2022/slotted-angular-list.mjs.map +1 -1
  290. package/fesm2022/slotted-angular-listbox.mjs +2 -2
  291. package/fesm2022/slotted-angular-listbox.mjs.map +1 -1
  292. package/fesm2022/slotted-angular-loading-overlay.mjs +3 -3
  293. package/fesm2022/slotted-angular-loading-overlay.mjs.map +1 -1
  294. package/fesm2022/slotted-angular-menu.mjs +2 -2
  295. package/fesm2022/slotted-angular-menu.mjs.map +1 -1
  296. package/fesm2022/slotted-angular-message-scroller.mjs +1 -1
  297. package/fesm2022/slotted-angular-message-scroller.mjs.map +1 -1
  298. package/fesm2022/slotted-angular-notification-center.mjs +3 -3
  299. package/fesm2022/slotted-angular-notification-center.mjs.map +1 -1
  300. package/fesm2022/slotted-angular-number-field.mjs +1 -1
  301. package/fesm2022/slotted-angular-number-field.mjs.map +1 -1
  302. package/fesm2022/slotted-angular-otp-input.mjs +1 -1
  303. package/fesm2022/slotted-angular-otp-input.mjs.map +1 -1
  304. package/fesm2022/slotted-angular-popover.mjs +2 -2
  305. package/fesm2022/slotted-angular-popover.mjs.map +1 -1
  306. package/fesm2022/slotted-angular-progress-indicator.mjs +2 -2
  307. package/fesm2022/slotted-angular-progress-indicator.mjs.map +1 -1
  308. package/fesm2022/slotted-angular-radio-group.mjs +2 -2
  309. package/fesm2022/slotted-angular-radio-group.mjs.map +1 -1
  310. package/fesm2022/slotted-angular-rating.mjs +5 -5
  311. package/fesm2022/slotted-angular-rating.mjs.map +1 -1
  312. package/fesm2022/slotted-angular-result-state.mjs.map +1 -1
  313. package/fesm2022/slotted-angular-segmented-control.mjs +1 -1
  314. package/fesm2022/slotted-angular-segmented-control.mjs.map +1 -1
  315. package/fesm2022/slotted-angular-slider.mjs +3 -3
  316. package/fesm2022/slotted-angular-slider.mjs.map +1 -1
  317. package/fesm2022/slotted-angular-stack.mjs +2 -2
  318. package/fesm2022/slotted-angular-stack.mjs.map +1 -1
  319. package/fesm2022/slotted-angular-status-indicator.mjs +1 -1
  320. package/fesm2022/slotted-angular-status-indicator.mjs.map +1 -1
  321. package/fesm2022/slotted-angular-switch.mjs.map +1 -1
  322. package/fesm2022/slotted-angular-table.mjs +2 -2
  323. package/fesm2022/slotted-angular-table.mjs.map +1 -1
  324. package/fesm2022/slotted-angular-tabs.mjs.map +1 -1
  325. package/fesm2022/slotted-angular-tag.mjs +1 -1
  326. package/fesm2022/slotted-angular-tag.mjs.map +1 -1
  327. package/fesm2022/slotted-angular-tags-input.mjs +1 -1
  328. package/fesm2022/slotted-angular-tags-input.mjs.map +1 -1
  329. package/fesm2022/slotted-angular-theme.mjs.map +1 -1
  330. package/fesm2022/slotted-angular-time-range-picker.mjs +6 -6
  331. package/fesm2022/slotted-angular-time-range-picker.mjs.map +1 -1
  332. package/fesm2022/slotted-angular-toast.mjs +2 -2
  333. package/fesm2022/slotted-angular-toast.mjs.map +1 -1
  334. package/fesm2022/slotted-angular-toggle-group.mjs.map +1 -1
  335. package/fesm2022/slotted-angular-toggle.mjs.map +1 -1
  336. package/fesm2022/slotted-angular-tour.mjs +3 -3
  337. package/fesm2022/slotted-angular-tour.mjs.map +1 -1
  338. package/fesm2022/slotted-angular-typography.mjs +1 -1
  339. package/fesm2022/slotted-angular-typography.mjs.map +1 -1
  340. package/fesm2022/slotted-angular-upload.mjs +2 -2
  341. package/fesm2022/slotted-angular-upload.mjs.map +1 -1
  342. package/fesm2022/slotted-angular-wizard.mjs +6 -6
  343. package/fesm2022/slotted-angular-wizard.mjs.map +1 -1
  344. package/package.json +15 -3
  345. package/types/slotted-angular-alert.d.ts +3 -3
  346. package/types/slotted-angular-app-shell.d.ts +4 -4
  347. package/types/slotted-angular-avatar-group.d.ts +3 -3
  348. package/types/slotted-angular-avatar.d.ts +6 -6
  349. package/types/slotted-angular-badge.d.ts +3 -3
  350. package/types/slotted-angular-breadcrumb.d.ts +1 -1
  351. package/types/slotted-angular-button-group.d.ts +1 -1
  352. package/types/slotted-angular-button.d.ts +2 -2
  353. package/types/slotted-angular-card.d.ts +1 -1
  354. package/types/slotted-angular-chart.d.ts +2 -2
  355. package/types/slotted-angular-checkbox.d.ts +1 -1
  356. package/types/slotted-angular-code-block.d.ts +1 -1
  357. package/types/slotted-angular-collapsible.d.ts +1 -1
  358. package/types/slotted-angular-color-picker.d.ts +6 -6
  359. package/types/slotted-angular-column-manager.d.ts +1 -1
  360. package/types/slotted-angular-column-manager.d.ts.map +1 -1
  361. package/types/slotted-angular-currency-field.d.ts +1 -1
  362. package/types/slotted-angular-data-grid.d.ts +1 -1
  363. package/types/slotted-angular-datetime-range-picker.d.ts +1 -1
  364. package/types/slotted-angular-description-list.d.ts +1 -1
  365. package/types/slotted-angular-field.d.ts +2 -2
  366. package/types/slotted-angular-form.d.ts +1 -1
  367. package/types/slotted-angular-highlight.d.ts +1 -1
  368. package/types/slotted-angular-icon.d.ts +2 -2
  369. package/types/slotted-angular-import-export-center.d.ts +9 -9
  370. package/types/slotted-angular-inline-message.d.ts +3 -3
  371. package/types/slotted-angular-inline.d.ts +1 -1
  372. package/types/slotted-angular-kbd.d.ts +1 -1
  373. package/types/slotted-angular-list.d.ts +1 -1
  374. package/types/slotted-angular-listbox.d.ts +2 -2
  375. package/types/slotted-angular-loading-overlay.d.ts +3 -3
  376. package/types/slotted-angular-menu.d.ts +1 -1
  377. package/types/slotted-angular-message-scroller.d.ts +1 -1
  378. package/types/slotted-angular-notification-center.d.ts +4 -4
  379. package/types/slotted-angular-otp-input.d.ts +1 -1
  380. package/types/slotted-angular-progress-indicator.d.ts +2 -2
  381. package/types/slotted-angular-radio-group.d.ts +2 -2
  382. package/types/slotted-angular-rating.d.ts +2 -2
  383. package/types/slotted-angular-result-state.d.ts +1 -1
  384. package/types/slotted-angular-segmented-control.d.ts +2 -2
  385. package/types/slotted-angular-status-indicator.d.ts +2 -2
  386. package/types/slotted-angular-switch.d.ts +1 -1
  387. package/types/slotted-angular-table.d.ts +1 -1
  388. package/types/slotted-angular-tabs.d.ts +1 -1
  389. package/types/slotted-angular-tag.d.ts +3 -3
  390. package/types/slotted-angular-tags-input.d.ts +1 -1
  391. package/types/slotted-angular-theme.d.ts +1 -1
  392. package/types/slotted-angular-time-range-picker.d.ts +1 -1
  393. package/types/slotted-angular-toast.d.ts +4 -4
  394. package/types/slotted-angular-toggle-group.d.ts +1 -1
  395. package/types/slotted-angular-toggle.d.ts +1 -1
  396. package/types/slotted-angular-tour.d.ts +2 -2
  397. package/types/slotted-angular-wizard.d.ts +1 -1
@@ -86,7 +86,7 @@ Excerpt — not a complete module
86
86
  - The page being read carries aria-current="page" — the value the ARIA specification names for a link within a set of pagination links — and that attribute is also what paints its fill, so what a screen reader announces and what the eye sees are one fact rather than two.
87
87
  - The range is a polite live region, and it is the only one: a paginator that also announced its label would say the same thing twice. It reports the new range after the page settles, and live="off" silences it where an application announces the page itself.
88
88
  - A trigger at a bound stays in the page rather than disappearing, so the row does not reflow under the pointer. In button mode it takes the native disabled; in link mode it loses its href and says aria-disabled, because an anchor has no disabled attribute and one that kept its destination would still navigate on a middle click.
89
- - The page size is a native select wrapped by its own label, which gives the control its accessible name from the platform with no generated id, and its popup follows the colour scheme the theme already emits.
89
+ - The page size is a native select wrapped by its own label, which gives the control its accessible name from the platform with no generated id, and its popup follows the color scheme the theme already emits.
90
90
  - Below 22rem of the family’s own inline size the numbered row is replaced by "Page 3 of 24". Both are rendered and exactly one is displayed, so neither is announced twice — and where no summary exists to replace it, as in a cursor paginator, the range is kept instead.
91
91
  - A disabled or loading paginator mutes the current page’s chip into the disabled palette while keeping its shape: the reader still sees which page they are on, and nothing in a greyed row reads as the one thing still operable.
92
92
 
@@ -469,7 +469,7 @@ export class PopoverScrolling {
469
469
  readonly open = signal(false);
470
470
  readonly activity = [
471
471
  'Jul 4, 9:12 AM. Order placed by Vins et alcools Chevalier.',
472
- 'Jul 4, 9:40 AM. Payment authorised, 440.00 USD.',
472
+ 'Jul 4, 9:40 AM. Payment authorized, 440.00 USD.',
473
473
  'Jul 5, 8:05 AM. Allocated to the Seattle warehouse.',
474
474
  'Jul 5, 2:30 PM. Picked by Nancy Davolio.',
475
475
  'Jul 6, 10:15 AM. Packed in two cartons, 14.2 kg.',
package/docs/popover.json CHANGED
@@ -188,7 +188,7 @@
188
188
  "part": "arrow",
189
189
  "element": "the element carrying slPopoverArrow",
190
190
  "required": false,
191
- "purpose": "A rotated square in the panel’s background and border colours, which continues the panel’s outline towards the anchor. Place it beside the content inside ng-template[slPopoverLayer], not inside the content: the stylesheet selects it as a direct child of the layer. While arrow is false the layer leaves it out."
191
+ "purpose": "A rotated square in the panel’s background and border colors, which continues the panel’s outline towards the anchor. Place it beside the content inside ng-template[slPopoverLayer], not inside the content: the stylesheet selects it as a direct child of the layer. While arrow is false the layer leaves it out."
192
192
  },
193
193
  {
194
194
  "part": "focus-guard",
@@ -308,7 +308,7 @@
308
308
  "type": "boolean",
309
309
  "defaultValue": "true",
310
310
  "appliesTo": "slPopover",
311
- "description": "Whether the layer is rendered into the shared portal root at the end of the document. The portalled layer keeps the theme, colour scheme, density and direction of the region it was opened from."
311
+ "description": "Whether the layer is rendered into the shared portal root at the end of the document. The portalled layer keeps the theme, color scheme, density and direction of the region it was opened from."
312
312
  },
313
313
  {
314
314
  "name": "disabled",
@@ -554,7 +554,7 @@
554
554
  "title": "More content than room",
555
555
  "note": "The body is the only part that scrolls, bounded by the height the engine says is left. The title and the actions keep theirs, and the fade at the cut says there is more.",
556
556
  "language": "ts",
557
- "source": "import { Component, signal } from '@angular/core';\nimport { SlButton } from '@slotted/angular/button';\nimport {\n SlPopover,\n SlPopoverArrow,\n SlPopoverBody,\n SlPopoverClose,\n SlPopoverContent,\n SlPopoverFooter,\n SlPopoverHeader,\n SlPopoverLayer,\n SlPopoverTitle,\n SlPopoverTrigger,\n} from '@slotted/angular/popover';\nimport { SlStack } from '@slotted/angular/stack';\nimport { SlText } from '@slotted/angular/typography';\n\n@Component({\n selector: 'app-popover-scrolling',\n imports: [\n SlButton,\n SlPopover,\n SlPopoverArrow,\n SlPopoverBody,\n SlPopoverClose,\n SlPopoverContent,\n SlPopoverFooter,\n SlPopoverHeader,\n SlPopoverLayer,\n SlPopoverTitle,\n SlPopoverTrigger,\n SlStack,\n SlText,\n ],\n template: `\n <ng-container slPopover [(open)]=\"open\">\n <button slButton tone=\"secondary\" variant=\"outline\" slPopoverTrigger>\n Order 10248 activity\n </button>\n <ng-template slPopoverLayer>\n <div slPopoverContent>\n <div slPopoverHeader>\n <div slPopoverTitle>Order 10248 activity</div>\n <button slPopoverClose></button>\n </div>\n <div slPopoverBody>\n <div slStack [gap]=\"3\">\n @for (entry of activity; track entry) {\n <span slText size=\"sm\">{{ entry }}</span>\n }\n </div>\n </div>\n <div slPopoverFooter>\n <button slButton size=\"sm\" (click)=\"open.set(false)\">Done</button>\n </div>\n </div>\n <div slPopoverArrow></div>\n </ng-template>\n </ng-container>\n `,\n})\nexport class PopoverScrolling {\n readonly open = signal(false);\n readonly activity = [\n 'Jul 4, 9:12 AM. Order placed by Vins et alcools Chevalier.',\n 'Jul 4, 9:40 AM. Payment authorised, 440.00 USD.',\n 'Jul 5, 8:05 AM. Allocated to the Seattle warehouse.',\n 'Jul 5, 2:30 PM. Picked by Nancy Davolio.',\n 'Jul 6, 10:15 AM. Packed in two cartons, 14.2 kg.',\n 'Jul 8, 11:00 AM. Customs documents filed for France.',\n 'Jul 16, 4:00 PM. Collected by Federal Shipping.',\n 'Jul 18, 7:20 AM. Arrived at the Le Havre hub.',\n 'Jul 19, 9:45 AM. Out for delivery in Reims.',\n 'Jul 19, 3:10 PM. Delivered, signed by P. Henriot.',\n ];\n}\n",
557
+ "source": "import { Component, signal } from '@angular/core';\nimport { SlButton } from '@slotted/angular/button';\nimport {\n SlPopover,\n SlPopoverArrow,\n SlPopoverBody,\n SlPopoverClose,\n SlPopoverContent,\n SlPopoverFooter,\n SlPopoverHeader,\n SlPopoverLayer,\n SlPopoverTitle,\n SlPopoverTrigger,\n} from '@slotted/angular/popover';\nimport { SlStack } from '@slotted/angular/stack';\nimport { SlText } from '@slotted/angular/typography';\n\n@Component({\n selector: 'app-popover-scrolling',\n imports: [\n SlButton,\n SlPopover,\n SlPopoverArrow,\n SlPopoverBody,\n SlPopoverClose,\n SlPopoverContent,\n SlPopoverFooter,\n SlPopoverHeader,\n SlPopoverLayer,\n SlPopoverTitle,\n SlPopoverTrigger,\n SlStack,\n SlText,\n ],\n template: `\n <ng-container slPopover [(open)]=\"open\">\n <button slButton tone=\"secondary\" variant=\"outline\" slPopoverTrigger>\n Order 10248 activity\n </button>\n <ng-template slPopoverLayer>\n <div slPopoverContent>\n <div slPopoverHeader>\n <div slPopoverTitle>Order 10248 activity</div>\n <button slPopoverClose></button>\n </div>\n <div slPopoverBody>\n <div slStack [gap]=\"3\">\n @for (entry of activity; track entry) {\n <span slText size=\"sm\">{{ entry }}</span>\n }\n </div>\n </div>\n <div slPopoverFooter>\n <button slButton size=\"sm\" (click)=\"open.set(false)\">Done</button>\n </div>\n </div>\n <div slPopoverArrow></div>\n </ng-template>\n </ng-container>\n `,\n})\nexport class PopoverScrolling {\n readonly open = signal(false);\n readonly activity = [\n 'Jul 4, 9:12 AM. Order placed by Vins et alcools Chevalier.',\n 'Jul 4, 9:40 AM. Payment authorized, 440.00 USD.',\n 'Jul 5, 8:05 AM. Allocated to the Seattle warehouse.',\n 'Jul 5, 2:30 PM. Picked by Nancy Davolio.',\n 'Jul 6, 10:15 AM. Packed in two cartons, 14.2 kg.',\n 'Jul 8, 11:00 AM. Customs documents filed for France.',\n 'Jul 16, 4:00 PM. Collected by Federal Shipping.',\n 'Jul 18, 7:20 AM. Arrived at the Le Havre hub.',\n 'Jul 19, 9:45 AM. Out for delivery in Reims.',\n 'Jul 19, 3:10 PM. Delivered, signed by P. Henriot.',\n ];\n}\n",
558
558
  "verdict": "example"
559
559
  },
560
560
  {
package/docs/popover.md CHANGED
@@ -140,7 +140,7 @@ export class PopoverBasic {
140
140
  | `flip` | `boolean` | true | slPopover | Whether the panel moves to the opposite side when it does not fit. |
141
141
  | `shift` | `boolean` | true | slPopover | Whether the panel slides along its side to stay inside the boundary. |
142
142
  | `hideWhenDetached` | `boolean` | false | slPopover | Whether the panel hides when its anchor scrolls out of view. It is off, unlike slTooltip’s, so a task the reader is halfway through does not disappear when the row behind it scrolls. |
143
- | `portal` | `boolean` | true | slPopover | Whether the layer is rendered into the shared portal root at the end of the document. The portalled layer keeps the theme, colour scheme, density and direction of the region it was opened from. |
143
+ | `portal` | `boolean` | true | slPopover | Whether the layer is rendered into the shared portal root at the end of the document. The portalled layer keeps the theme, color scheme, density and direction of the region it was opened from. |
144
144
  | `disabled` | `boolean` | false | slPopover | Whether the popover never opens. It does not disable the trigger; set disabled on the trigger element for that. |
145
145
  | `messages` | `Partial<PopoverMessages>` | — | slPopover | Text that replaces the language’s messages for this popover, key by key. close is the close button’s accessible name; an aria-label written on slPopoverClose takes precedence. |
146
146
  | `sideOffset` | `number` | 0 | slPopover | Extra distance from the anchor in pixels, added to the standard gap. |
@@ -224,7 +224,7 @@
224
224
  "type": "boolean",
225
225
  "defaultValue": "true",
226
226
  "appliesTo": "all three",
227
- "description": "Whether the wait is still on. false withdraws the indicator, honouring minDuration"
227
+ "description": "Whether the wait is still on. false withdraws the indicator, honoring minDuration"
228
228
  },
229
229
  {
230
230
  "name": "delay",
@@ -299,7 +299,7 @@
299
299
  "An accessible name is required, and there are three ways to give one: label, an aria-label or aria-labelledby you wrote on your own element — read once through HostAttributeToken and never overwritten — or decorative for the case the feature guide names. With none of the three, development warns and the indicator still renders: a nameless bar reports visually, and taking a screen down mid-upload is worse than the defect.",
300
300
  "If the indicator describes the loading of a region, ARIA asks you to set aria-busy on that region and point aria-describedby at the indicator. The family writes neither, because the region is yours; the accessibility demonstration shows both.",
301
301
  "Under prefers-reduced-motion every loop stops rather than shortening — an animation that repeats forever needs to stop, and the indeterminate indicator rests at a length that reads as a fraction rather than as nought or as full. The cost is real: a still indicator says nothing on its own, so the name matters more, and the loader is best given a visible label.",
302
- "The indicator is a tone’s text role, which the theme holds to the 4.5:1 reading ratio against every surface — more than the 3:1 WCAG 2.2 1.4.11 asks of a meaningful graphic — in all three colour schemes. Under forced colours the track keeps a ButtonBorder edge and the indicator takes Highlight, so the geometry survives a palette the family did not choose."
302
+ "The indicator is a tone’s text role, which the theme holds to the 4.5:1 reading ratio against every surface — more than the 3:1 WCAG 2.2 1.4.11 asks of a meaningful graphic — in all three color schemes. Under forced colors the track keeps a ButtonBorder edge and the indicator takes Highlight, so the geometry survives a palette the family did not choose."
303
303
  ]
304
304
  }
305
305
  },
@@ -391,7 +391,7 @@
391
391
  "title": "The wait a shape keeps",
392
392
  "note": "M3 Expressive’s loading indicator: a shape morphs through a sequence while it turns, at two periods that never repeat a frame. Google recommends it over a spinning ring below five seconds.",
393
393
  "language": "html",
394
- "source": "<span slLoader label=\"Signing you in\"></span>\n\n<!-- On a photograph or a coloured surface, where a bare shape has no ground. -->\n<span slLoader contained label=\"Signing you in\" size=\"lg\"></span>\n",
394
+ "source": "<span slLoader label=\"Signing you in\"></span>\n\n<!-- On a photograph or a colored surface, where a bare shape has no ground. -->\n<span slLoader contained label=\"Signing you in\" size=\"lg\"></span>\n",
395
395
  "verdict": "excerpt"
396
396
  },
397
397
  {
@@ -452,7 +452,7 @@
452
452
  },
453
453
  {
454
454
  "id": "tones",
455
- "title": "What the wait means, in colour",
455
+ "title": "What the wait means, in color",
456
456
  "note": "The five the theme owns, each in the context it exists for: work in hand, a background job, an upload that landed, a quota nearly spent, a transfer that failed.",
457
457
  "language": "html",
458
458
  "source": "<div slProgressBar label=\"Uploading invoices\" [value]=\"62\"></div>\n<div slProgressBar label=\"Reindexing in the background\" tone=\"secondary\" [value]=\"62\"></div>\n<div slProgressBar label=\"Storage used\" tone=\"warning\" [value]=\"88\"></div>\n<div slProgressBar label=\"Transfer failed\" tone=\"danger\" [value]=\"41\"></div>\n",
@@ -49,7 +49,7 @@ Excerpt — not a complete module
49
49
  | `contained` | `boolean` | false | slLoader | M3’s fully rounded container behind the morphing shape, at M3’s own 38:48 ratio |
50
50
  | `placement` | `inline \| page \| edge-start \| edge-end` | inline | slProgressBar | page pins the bar to the top edge of the viewport, squares it, drops its track and reads the sticky stacking token; edge-start and edge-end stand it on the block-start or block-end edge of the nearest positioned box, over the line that edge draws. Every value but inline clips the label and grows the bar out of its edge |
51
51
  | `decorative` | `boolean` | false | all three | Takes the indicator out of the accessibility tree — no role, no range, no name — for a spinner beside text that already says what is happening |
52
- | `loading` | `boolean` | true | all three | Whether the wait is still on. false withdraws the indicator, honouring minDuration |
52
+ | `loading` | `boolean` | true | all three | Whether the wait is still on. false withdraws the indicator, honoring minDuration |
53
53
  | `delay` | `number` | 0 | all three | Milliseconds the wait must last before anything is painted. Until then the host carries hidden — no box, no role, no reserved band |
54
54
  | `minDuration` | `number` | 0 | all three | Milliseconds an indicator that did appear is held before it is withdrawn |
55
55
  | `the host element` | `any element` | — | all three | The selector is a bare attribute, so the element stays yours: a bar is the row that already holds it, and a ring is the menu item it sits in |
@@ -81,7 +81,7 @@ Excerpt — not a complete module
81
81
  - An accessible name is required, and there are three ways to give one: label, an aria-label or aria-labelledby you wrote on your own element — read once through HostAttributeToken and never overwritten — or decorative for the case the feature guide names. With none of the three, development warns and the indicator still renders: a nameless bar reports visually, and taking a screen down mid-upload is worse than the defect.
82
82
  - If the indicator describes the loading of a region, ARIA asks you to set aria-busy on that region and point aria-describedby at the indicator. The family writes neither, because the region is yours; the accessibility demonstration shows both.
83
83
  - Under prefers-reduced-motion every loop stops rather than shortening — an animation that repeats forever needs to stop, and the indeterminate indicator rests at a length that reads as a fraction rather than as nought or as full. The cost is real: a still indicator says nothing on its own, so the name matters more, and the loader is best given a visible label.
84
- - The indicator is a tone’s text role, which the theme holds to the 4.5:1 reading ratio against every surface — more than the 3:1 WCAG 2.2 1.4.11 asks of a meaningful graphic — in all three colour schemes. Under forced colours the track keeps a ButtonBorder edge and the indicator takes Highlight, so the geometry survives a palette the family did not choose.
84
+ - The indicator is a tone’s text role, which the theme holds to the 4.5:1 reading ratio against every surface — more than the 3:1 WCAG 2.2 1.4.11 asks of a meaningful graphic — in all three color schemes. Under forced colors the track keeps a ButtonBorder edge and the indicator takes Highlight, so the geometry survives a palette the family did not choose.
85
85
 
86
86
  ## Tokens
87
87
 
@@ -144,7 +144,7 @@ Excerpt — not a complete module
144
144
  ```html
145
145
  <span slLoader label="Signing you in"></span>
146
146
 
147
- <!-- On a photograph or a coloured surface, where a bare shape has no ground. -->
147
+ <!-- On a photograph or a colored surface, where a bare shape has no ground. -->
148
148
  <span slLoader contained label="Signing you in" size="lg"></span>
149
149
  ```
150
150
 
@@ -234,7 +234,7 @@ Excerpt — not a complete module
234
234
  <span slLoader label="Large" size="lg"></span>
235
235
  ```
236
236
 
237
- ### What the wait means, in colour
237
+ ### What the wait means, in color
238
238
 
239
239
  The five the theme owns, each in the context it exists for: work in hand, a background job, an upload that landed, a quota nearly spent, a transfer that failed.
240
240
 
@@ -199,7 +199,7 @@
199
199
  "type": "'none' | 'ring'",
200
200
  "defaultValue": "none",
201
201
  "appliesTo": "sl-prompt-composer",
202
- "description": "A ring of turning hues and a soft glow in place of the border, the focus outline and the raised shadow. Reduced motion stops the turn; forced colours bring the border back"
202
+ "description": "A ring of turning hues and a soft glow in place of the border, the focus outline and the raised shadow. Reduced motion stops the turn; forced colors bring the border back"
203
203
  },
204
204
  {
205
205
  "name": "canSubmit",
@@ -482,7 +482,7 @@
482
482
  "title": "A comment box in a form",
483
483
  "note": "The outline variant keeps a one-line control’s geometry beside the other fields. The send is named by its word, Comentar; Cancelar is an action. Enter breaks a line here, because a comment has paragraphs: Mod+Enter sends.",
484
484
  "language": "html",
485
- "source": "<form slPromptComposer variant=\"outline\" submitOn=\"mod-enter\" (valueSubmit)=\"post($event.value)\">\n <textarea slPromptComposerInput aria-label=\"Comentário\" rows=\"3\"></textarea>\n <div slPromptComposerFooter>\n <button slPromptComposerAction (click)=\"close()\">Cancelar</button>\n <button slPromptComposerSubmit>Comentar</button>\n </div>\n</form>\n",
485
+ "source": "<form slPromptComposer variant=\"outline\" submitOn=\"mod-enter\" (valueSubmit)=\"post($event.value)\">\n <textarea slPromptComposerInput aria-label=\"Comment\" rows=\"3\"></textarea>\n <div slPromptComposerFooter>\n <button slPromptComposerAction (click)=\"close()\">Cancel</button>\n <button slPromptComposerSubmit>Comentar</button>\n </div>\n</form>\n",
486
486
  "verdict": "excerpt"
487
487
  },
488
488
  {
@@ -512,7 +512,7 @@
512
512
  {
513
513
  "id": "states",
514
514
  "title": "Invalid, read-only and disabled",
515
- "note": "Invalid takes the danger edge and the field’s message says why; read-only keeps the value legible and copyable and withdraws the send; disabled mutes everything to the measured colour and takes the composer out of the tab order.",
515
+ "note": "Invalid takes the danger edge and the field’s message says why; read-only keeps the value legible and copyable and withdraws the send; disabled mutes everything to the measured color and takes the composer out of the tab order.",
516
516
  "language": "html",
517
517
  "source": "<div slField [invalid]=\"true\">\n <label slFieldLabel>Mensagem</label>\n <form slPromptComposer>\n <textarea slPromptComposerInput></textarea>\n </form>\n <p slFieldError>A mensagem passa de 2 000 caracteres.</p>\n</div>\n<form slPromptComposer>\n <textarea slPromptComposerInput readOnly defaultValue=\"Arquivado\"></textarea>\n</form>\n",
518
518
  "verdict": "excerpt"
@@ -530,7 +530,7 @@
530
530
  "title": "Setting it once, and reaching past it",
531
531
  "note": "providePromptComposerDefaults carries the variant and the send key, and the words come from the language in force; exportAs reaches the textarea, which already has select(); the value binds to a reactive form.",
532
532
  "language": "html",
533
- "source": "<form slPromptComposer>\n <textarea\n slPromptComposerInput\n #mensagem=\"slPromptComposerInput\"\n [formControl]=\"texto\"\n ></textarea>\n <div slPromptComposerFooter>\n <button slPromptComposerAction (click)=\"mensagem.inputElement.select()\">Selecionar</button>\n <button slPromptComposerSubmit></button>\n </div>\n</form>\n",
533
+ "source": "<form slPromptComposer>\n <textarea\n slPromptComposerInput\n #mensagem=\"slPromptComposerInput\"\n [formControl]=\"texto\"\n ></textarea>\n <div slPromptComposerFooter>\n <button slPromptComposerAction (click)=\"message.inputElement.select()\">Select</button>\n <button slPromptComposerSubmit></button>\n </div>\n</form>\n",
534
534
  "verdict": "excerpt"
535
535
  },
536
536
  {
@@ -64,7 +64,7 @@ Excerpt — not a complete module
64
64
  | `submitOn` | `'enter' \| 'mod-enter'` | enter | slPromptComposer, providePromptComposerDefaults | Which key sends. Shift+Enter always breaks a line; Mod+Enter always sends |
65
65
  | `size` | `'sm' \| 'md' \| 'lg'` | md | slPromptComposer, providePromptComposerDefaults | The control step, read from the field first |
66
66
  | `variant` | `'raised' \| 'outline' \| 'subtle'` | raised | slPromptComposer, providePromptComposerDefaults | raised is the chat surface; outline and subtle sit inside a form |
67
- | `emphasis` | `'none' \| 'ring'` | none | sl-prompt-composer | A ring of turning hues and a soft glow in place of the border, the focus outline and the raised shadow. Reduced motion stops the turn; forced colours bring the border back |
67
+ | `emphasis` | `'none' \| 'ring'` | none | sl-prompt-composer | A ring of turning hues and a soft glow in place of the border, the focus outline and the raised shadow. Reduced motion stops the turn; forced colors bring the border back |
68
68
  | `canSubmit` | `boolean` | the value is not blank | slPromptComposer | Whether the send is available; an application with attachments ready says true |
69
69
  | `accept / maxSize / maxFiles / multiple` | `string / number / number / boolean` | — / — / — / true | slPromptComposer | The selection rules upload applies, for the paperclip, a paste and a drop |
70
70
  | `disabled` | `boolean` | from the field, or false | slPromptComposer | Unstated rather than false, so the composer defers to its field. The native attribute on the textarea; the paperclip and the send leave the tab order with it |
@@ -155,9 +155,9 @@ Excerpt — not a complete module
155
155
 
156
156
  ```html
157
157
  <form slPromptComposer variant="outline" submitOn="mod-enter" (valueSubmit)="post($event.value)">
158
- <textarea slPromptComposerInput aria-label="Comentário" rows="3"></textarea>
158
+ <textarea slPromptComposerInput aria-label="Comment" rows="3"></textarea>
159
159
  <div slPromptComposerFooter>
160
- <button slPromptComposerAction (click)="close()">Cancelar</button>
160
+ <button slPromptComposerAction (click)="close()">Cancel</button>
161
161
  <button slPromptComposerSubmit>Comentar</button>
162
162
  </div>
163
163
  </form>
@@ -223,7 +223,7 @@ Excerpt — not a complete module
223
223
 
224
224
  ### Invalid, read-only and disabled
225
225
 
226
- Invalid takes the danger edge and the field’s message says why; read-only keeps the value legible and copyable and withdraws the send; disabled mutes everything to the measured colour and takes the composer out of the tab order.
226
+ Invalid takes the danger edge and the field’s message says why; read-only keeps the value legible and copyable and withdraws the send; disabled mutes everything to the measured color and takes the composer out of the tab order.
227
227
 
228
228
  Excerpt — not a complete module
229
229
 
@@ -266,7 +266,7 @@ Excerpt — not a complete module
266
266
  [formControl]="texto"
267
267
  ></textarea>
268
268
  <div slPromptComposerFooter>
269
- <button slPromptComposerAction (click)="mensagem.inputElement.select()">Selecionar</button>
269
+ <button slPromptComposerAction (click)="message.inputElement.select()">Select</button>
270
270
  <button slPromptComposerSubmit></button>
271
271
  </div>
272
272
  </form>
package/docs/prose.json CHANGED
@@ -316,7 +316,7 @@
316
316
  {
317
317
  "id": "exclude",
318
318
  "title": "Opting a component out",
319
- "note": "The card below sits inside the region and keeps its own type, rhythm and colour. Everything around it is still set by the family, and the boundary is one directive.",
319
+ "note": "The card below sits inside the region and keeps its own type, rhythm and color. Everything around it is still set by the family, and the boundary is one directive.",
320
320
  "language": "html",
321
321
  "source": "<div slProse>\n <p>Styled by the family.</p>\n <div slProseExclude>\n <div slCard>Untouched.</div>\n </div>\n</div>\n",
322
322
  "verdict": "excerpt"
package/docs/prose.md CHANGED
@@ -155,7 +155,7 @@ Excerpt — not a complete module
155
155
 
156
156
  ### Opting a component out
157
157
 
158
- The card below sits inside the region and keeps its own type, rhythm and colour. Everything around it is still set by the family, and the boundary is one directive.
158
+ The card below sits inside the region and keeps its own type, rhythm and color. Everything around it is still set by the family, and the boundary is one directive.
159
159
 
160
160
  Excerpt — not a complete module
161
161
 
@@ -13,9 +13,9 @@ Excerpt — not a complete module
13
13
 
14
14
  ```html
15
15
  <div slRadioGroup name="shipping" defaultValue="standard">
16
- <div slRadio value="standard">Entrega padrão</div>
17
- <div slRadio value="express">Entrega expressa</div>
18
- <div slRadio value="pickup">Retirar na loja</div>
16
+ <div slRadio value="standard">Standard delivery</div>
17
+ <div slRadio value="express">Express delivery</div>
18
+ <div slRadio value="pickup">Store pickup</div>
19
19
  </div>
20
20
  ```
21
21
 
@@ -60,7 +60,7 @@ Excerpt — not a complete module
60
60
  <div slGrid minItemWidth="sm">
61
61
  <div slRadio value="starter">
62
62
  Starter
63
- <p slRadioDescription>Até três projetos e um assento.</p>
63
+ <p slRadioDescription>Up to three projects and one seat.</p>
64
64
  </div>
65
65
  <div slRadio value="team">
66
66
  Team
@@ -183,11 +183,11 @@ Excerpt — not a complete module
183
183
 
184
184
  ```html
185
185
  <div slRadioGroup labelPlacement="end" defaultValue="card">
186
- <div slRadio value="card">Cartão</div>
186
+ <div slRadio value="card">Card</div>
187
187
  </div>
188
188
 
189
189
  <div slRadioGroup labelPlacement="start" defaultValue="card">
190
- <div slRadio value="card">Cartão</div>
190
+ <div slRadio value="card">Card</div>
191
191
  </div>
192
192
  ```
193
193
 
@@ -200,12 +200,12 @@ Excerpt — not a complete module
200
200
  ```html
201
201
  <div slRadioGroup defaultValue="monthly">
202
202
  <div slRadio value="monthly">
203
- Mensal
204
- <p slRadioDescription>Cobrado todo dia 5, sem multa de cancelamento.</p>
203
+ Monthly
204
+ <p slRadioDescription>Billed on the 5th of every month, no cancellation fee.</p>
205
205
  </div>
206
206
  <div slRadio value="yearly">
207
- Anual
208
- <p slRadioDescription>Dois meses de desconto, cobrados na contratação.</p>
207
+ Annual
208
+ <p slRadioDescription>Two months off, billed at signup.</p>
209
209
  </div>
210
210
  </div>
211
211
  ```
@@ -218,10 +218,10 @@ Excerpt — not a complete module
218
218
 
219
219
  ```html
220
220
  <fieldset slFieldGroup required>
221
- <legend slFieldGroupLegend>Forma de pagamento</legend>
221
+ <legend slFieldGroupLegend>Payment method</legend>
222
222
  <div slRadioGroup required formControlName="payment">
223
- <div slRadio value="card">Cartão</div>
224
- <div slRadio value="pix">Pix</div>
223
+ <div slRadio value="card">Card</div>
224
+ <div slRadio value="zelle">Zelle</div>
225
225
  </div>
226
226
  </fieldset>
227
227
  ```
@@ -235,8 +235,8 @@ Excerpt — not a complete module
235
235
  ```html
236
236
  <div slRadioGroup defaultValue="a">
237
237
  <div slRadio value="a">
238
- Autorizo o compartilhamento dos dados de entrega com a transportadora.
239
- <p slRadioDescription>O círculo continua na primeira linha do rótulo.</p>
238
+ I authorize sharing the delivery data with the carrier.
239
+ <p slRadioDescription>The circle stays on the first line of the label.</p>
240
240
  </div>
241
241
  <div slRadio value="b" dir="rtl">أوافق على مشاركة بيانات التسليم.</div>
242
242
  </div>
@@ -250,8 +250,8 @@ Excerpt — not a complete module
250
250
 
251
251
  ```html
252
252
  <ul slRadioGroup class="slotted-demo-list" defaultValue="a">
253
- <li slRadio value="a">Um item</li>
254
- <li slRadio value="b">E outro abaixo dele</li>
253
+ <li slRadio value="a">One item</li>
254
+ <li slRadio value="b">And another below it</li>
255
255
  </ul>
256
256
  ```
257
257
 
@@ -268,8 +268,8 @@ Excerpt — not a complete module
268
268
  set — the price is that such a group inside a form submits under a
269
269
  generated key. -->
270
270
  <div slRadioGroup name="shipping">
271
- <div slRadio value="standard">Padrão</div>
272
- <div slRadio value="express">Expressa</div>
271
+ <div slRadio value="standard">Standard</div>
272
+ <div slRadio value="express">Express</div>
273
273
  </div>
274
274
  ```
275
275
 
@@ -90,7 +90,7 @@
90
90
  "part": "control",
91
91
  "element": "input type=\"radio\", in the item’s template",
92
92
  "required": true,
93
- "purpose": "The native radio input. It holds the value, the name the group shares and the identifier. The shared name gives the set the platform’s keyboard behaviour. Reach the element through the item’s exportAs: item.inputElement has focus() and click()."
93
+ "purpose": "The native radio input. It holds the value, the name the group shares and the identifier. The shared name gives the set the platform’s keyboard behavior. Reach the element through the item’s exportAs: item.inputElement has focus() and click()."
94
94
  },
95
95
  {
96
96
  "part": "indicator",
@@ -124,7 +124,7 @@
124
124
  "type": "string",
125
125
  "defaultValue": "—",
126
126
  "appliesTo": "SlRadioGroup",
127
- "description": "The value an uncontrolled group starts from, read once when the directive initialises. Left unset, nothing is chosen and Tab lands on the first item, as the WAI-ARIA Authoring Practices recommend for a set with no default."
127
+ "description": "The value an uncontrolled group starts from, read once when the directive initializes. Left unset, nothing is chosen and Tab lands on the first item, as the WAI-ARIA Authoring Practices recommend for a set with no default."
128
128
  },
129
129
  {
130
130
  "name": "name",
@@ -259,8 +259,8 @@
259
259
  "Each item takes its accessible name from its own label, through for pointing at an identifier the component generates. The group takes its name from the field group’s legend or, outside a field group, from an aria-label the consumer writes. Inside a field group the radiogroup role is withdrawn, so the set is not announced twice.",
260
260
  "The group writes aria-required, never the native required on an item, and its validator, not any one item, demands a value, because “choose one” is a fact about the set. disabled is native, because the native attribute is also what makes the browser skip the option with the arrow keys.",
261
261
  "A radio has no native read-only state, so the radio group enforces one: it refuses the activation, aria-readonly announces it on the group, and every item keeps its tab stop, its focus ring and its full contrast. The chosen option keeps its accent, because the value is real.",
262
- "Refusing the activation is not enough on its own. The HTML standard’s canceled activation behaviour restores the clicked radio but not the neighbour it unchecked, so the radio group writes every element from the value afterwards. Without that, a controlled group that refused a change would show no choice at all.",
263
- "The invalid state does not rely on colour alone. In the high-contrast scheme the theme paints the danger border in the same colour as every other border, so the circle also thickens its edge. The sentence that says what is wrong is the field group’s error.",
262
+ "Refusing the activation is not enough on its own. The HTML standard’s canceled activation behavior restores the clicked radio but not the neighbour it unchecked, so the radio group writes every element from the value afterwards. Without that, a controlled group that refused a change would show no choice at all.",
263
+ "The invalid state does not rely on color alone. In the high-contrast scheme the theme paints the danger border in the same color as every other border, so the circle also thickens its edge. The sentence that says what is wrong is the field group’s error.",
264
264
  "The target is larger than the circle. A 24-pixel square around the circle meets WCAG 2.2 SC 2.5.8 at every size and density, while the circle is 14 pixels at size=\"sm\"; the label extends the target to the end of the text, and the hover wash covers exactly that area. The row keeps its line height: the target is drawn around the circle, not laid out beside it."
265
265
  ]
266
266
  }
@@ -374,7 +374,7 @@
374
374
  "title": "Playground",
375
375
  "note": "One set with every axis on it, driven by the controls below the canvas. Tab into it once: the whole group is a single stop, and the arrows move the choice from there.",
376
376
  "language": "html",
377
- "source": "<div slRadioGroup name=\"shipping\" defaultValue=\"standard\">\n <div slRadio value=\"standard\">Entrega padrão</div>\n <div slRadio value=\"express\">Entrega expressa</div>\n <div slRadio value=\"pickup\">Retirar na loja</div>\n</div>\n",
377
+ "source": "<div slRadioGroup name=\"shipping\" defaultValue=\"standard\">\n <div slRadio value=\"standard\">Standard delivery</div>\n <div slRadio value=\"express\">Express delivery</div>\n <div slRadio value=\"pickup\">Store pickup</div>\n</div>\n",
378
378
  "verdict": "excerpt"
379
379
  },
380
380
  {
@@ -390,7 +390,7 @@
390
390
  "title": "The plan picker, which is what tiles are for",
391
391
  "note": "An exclusive set of framed choices is the case Cloudscape built a whole Tiles family for and Carbon a selectable Tile. Here it is one axis on the group: each item becomes the surface, the arrow keys and the roving tab stop stay the platform’s, and Grid gives the row equal widths and equal heights.",
392
392
  "language": "html",
393
- "source": "<div slRadioGroup name=\"plan\" variant=\"tile\" defaultValue=\"team\">\n <div slGrid minItemWidth=\"sm\">\n <div slRadio value=\"starter\">\n Starter\n <p slRadioDescription>Até três projetos e um assento.</p>\n </div>\n <div slRadio value=\"team\">\n Team\n <p slRadioDescription>Projetos sem limite e dez assentos.</p>\n </div>\n </div>\n</div>\n",
393
+ "source": "<div slRadioGroup name=\"plan\" variant=\"tile\" defaultValue=\"team\">\n <div slGrid minItemWidth=\"sm\">\n <div slRadio value=\"starter\">\n Starter\n <p slRadioDescription>Up to three projects and one seat.</p>\n </div>\n <div slRadio value=\"team\">\n Team\n <p slRadioDescription>Projetos sem limite e dez assentos.</p>\n </div>\n </div>\n</div>\n",
394
394
  "verdict": "excerpt"
395
395
  },
396
396
  {
@@ -414,7 +414,7 @@
414
414
  "title": "Which side of its label the circle is on",
415
415
  "note": "start pushes every circle to the end of the row, and the column is a fraction rather than each label’s own width because a column of controls has to line up with itself.",
416
416
  "language": "html",
417
- "source": "<div slRadioGroup labelPlacement=\"end\" defaultValue=\"card\">\n <div slRadio value=\"card\">Cartão</div>\n</div>\n\n<div slRadioGroup labelPlacement=\"start\" defaultValue=\"card\">\n <div slRadio value=\"card\">Cartão</div>\n</div>\n",
417
+ "source": "<div slRadioGroup labelPlacement=\"end\" defaultValue=\"card\">\n <div slRadio value=\"card\">Card</div>\n</div>\n\n<div slRadioGroup labelPlacement=\"start\" defaultValue=\"card\">\n <div slRadio value=\"card\">Card</div>\n</div>\n",
418
418
  "verdict": "excerpt"
419
419
  },
420
420
  {
@@ -422,7 +422,7 @@
422
422
  "title": "Saying more about one option",
423
423
  "note": "The description belongs to the item and reaches only that item’s control, so a reader on the second option hears the second sentence rather than everything the set has to say.",
424
424
  "language": "html",
425
- "source": "<div slRadioGroup defaultValue=\"monthly\">\n <div slRadio value=\"monthly\">\n Mensal\n <p slRadioDescription>Cobrado todo dia 5, sem multa de cancelamento.</p>\n </div>\n <div slRadio value=\"yearly\">\n Anual\n <p slRadioDescription>Dois meses de desconto, cobrados na contratação.</p>\n </div>\n</div>\n",
425
+ "source": "<div slRadioGroup defaultValue=\"monthly\">\n <div slRadio value=\"monthly\">\n Monthly\n <p slRadioDescription>Billed on the 5th of every month, no cancellation fee.</p>\n </div>\n <div slRadio value=\"yearly\">\n Annual\n <p slRadioDescription>Two months off, billed at signup.</p>\n </div>\n</div>\n",
426
426
  "verdict": "excerpt"
427
427
  },
428
428
  {
@@ -430,7 +430,7 @@
430
430
  "title": "Inside a group of fields, and in a reactive form",
431
431
  "note": "The fieldset and its legend are what group and name the set, so the group withdraws its own radiogroup role — and the same element takes formControlName, because the accessor and the validator both live on the root.",
432
432
  "language": "html",
433
- "source": "<fieldset slFieldGroup required>\n <legend slFieldGroupLegend>Forma de pagamento</legend>\n <div slRadioGroup required formControlName=\"payment\">\n <div slRadio value=\"card\">Cartão</div>\n <div slRadio value=\"pix\">Pix</div>\n </div>\n</fieldset>\n",
433
+ "source": "<fieldset slFieldGroup required>\n <legend slFieldGroupLegend>Payment method</legend>\n <div slRadioGroup required formControlName=\"payment\">\n <div slRadio value=\"card\">Card</div>\n <div slRadio value=\"zelle\">Zelle</div>\n </div>\n</fieldset>\n",
434
434
  "verdict": "excerpt"
435
435
  },
436
436
  {
@@ -438,7 +438,7 @@
438
438
  "title": "Content the family did not choose",
439
439
  "note": "An option that wraps to three lines keeps its circle on the first of them, an unbroken token breaks instead of taking the page with it, and a right-to-left label mirrors the whole row.",
440
440
  "language": "html",
441
- "source": "<div slRadioGroup defaultValue=\"a\">\n <div slRadio value=\"a\">\n Autorizo o compartilhamento dos dados de entrega com a transportadora.\n <p slRadioDescription>O círculo continua na primeira linha do rótulo.</p>\n </div>\n <div slRadio value=\"b\" dir=\"rtl\">أوافق على مشاركة بيانات التسليم.</div>\n</div>\n",
441
+ "source": "<div slRadioGroup defaultValue=\"a\">\n <div slRadio value=\"a\">\n I authorize sharing the delivery data with the carrier.\n <p slRadioDescription>The circle stays on the first line of the label.</p>\n </div>\n <div slRadio value=\"b\" dir=\"rtl\">أوافق على مشاركة بيانات التسليم.</div>\n</div>\n",
442
442
  "verdict": "excerpt"
443
443
  },
444
444
  {
@@ -446,7 +446,7 @@
446
446
  "title": "Setting it once, and reaching past it",
447
447
  "note": "The token carries the three decisions an application takes once, exportAs reaches both instances, and the root is the consumer’s own element — so a set of choices can be a real list.",
448
448
  "language": "html",
449
- "source": "<ul slRadioGroup class=\"slotted-demo-list\" defaultValue=\"a\">\n <li slRadio value=\"a\">Um item</li>\n <li slRadio value=\"b\">E outro abaixo dele</li>\n</ul>\n",
449
+ "source": "<ul slRadioGroup class=\"slotted-demo-list\" defaultValue=\"a\">\n <li slRadio value=\"a\">One item</li>\n <li slRadio value=\"b\">And another below it</li>\n</ul>\n",
450
450
  "verdict": "excerpt"
451
451
  },
452
452
  {
@@ -454,7 +454,7 @@
454
454
  "title": "The APG table, implemented by the platform",
455
455
  "note": "Tab lands on the chosen item or on the first, the arrows move focus and selection together in both axes, the set wraps at both ends, and disabled options are skipped — none of it written here.",
456
456
  "language": "html",
457
- "source": "<!-- Native radios in one form owner with one name already implement the\n whole APG table, in a right-to-left document too. The group generates\n a name when the consumer writes none, because an unnamed set is not a\n set — the price is that such a group inside a form submits under a\n generated key. -->\n<div slRadioGroup name=\"shipping\">\n <div slRadio value=\"standard\">Padrão</div>\n <div slRadio value=\"express\">Expressa</div>\n</div>\n",
457
+ "source": "<!-- Native radios in one form owner with one name already implement the\n whole APG table, in a right-to-left document too. The group generates\n a name when the consumer writes none, because an unnamed set is not a\n set — the price is that such a group inside a form submits under a\n generated key. -->\n<div slRadioGroup name=\"shipping\">\n <div slRadio value=\"standard\">Standard</div>\n <div slRadio value=\"express\">Express</div>\n</div>\n",
458
458
  "verdict": "excerpt"
459
459
  },
460
460
  {
@@ -58,7 +58,7 @@ export class RadioGroupBasic {}
58
58
  | Name | Type | Default | Applies to | Description |
59
59
  | --- | --- | --- | --- | --- |
60
60
  | `value` | `string` | — | SlRadioGroup | The controlled value. When present, the consumer owns the choice. When absent, the radio group owns it and starts from defaultValue, or from the form control bound to the root. |
61
- | `defaultValue` | `string` | — | SlRadioGroup | The value an uncontrolled group starts from, read once when the directive initialises. Left unset, nothing is chosen and Tab lands on the first item, as the WAI-ARIA Authoring Practices recommend for a set with no default. |
61
+ | `defaultValue` | `string` | — | SlRadioGroup | The value an uncontrolled group starts from, read once when the directive initializes. Left unset, nothing is chosen and Tab lands on the first item, as the WAI-ARIA Authoring Practices recommend for a set with no default. |
62
62
  | `name` | `string` | generated | SlRadioGroup | The submission name every item shares, which is what makes the platform treat the items as one set. Generated when unset, because the platform groups radios by name within a form. |
63
63
  | `variant` | `'plain' \| 'tile'` | plain | SlRadioGroup, provideRadioGroupDefaults | How every item is drawn. tile frames each item and makes its whole surface the target; the inputs still share a name, so the arrow keys, the wrap and the single tab stop do not change. Arranging the tiles is left to Grid. |
64
64
  | `orientation` | `'vertical' \| 'horizontal'` | vertical | SlRadioGroup, provideRadioGroupDefaults | How the choices flow. A horizontal set wraps instead of scrolling, and aria-orientation is written only where the group carries the radiogroup role. |
@@ -99,8 +99,8 @@ export class RadioGroupBasic {}
99
99
  - Each item takes its accessible name from its own label, through for pointing at an identifier the component generates. The group takes its name from the field group’s legend or, outside a field group, from an aria-label the consumer writes. Inside a field group the radiogroup role is withdrawn, so the set is not announced twice.
100
100
  - The group writes aria-required, never the native required on an item, and its validator, not any one item, demands a value, because “choose one” is a fact about the set. disabled is native, because the native attribute is also what makes the browser skip the option with the arrow keys.
101
101
  - A radio has no native read-only state, so the radio group enforces one: it refuses the activation, aria-readonly announces it on the group, and every item keeps its tab stop, its focus ring and its full contrast. The chosen option keeps its accent, because the value is real.
102
- - Refusing the activation is not enough on its own. The HTML standard’s canceled activation behaviour restores the clicked radio but not the neighbour it unchecked, so the radio group writes every element from the value afterwards. Without that, a controlled group that refused a change would show no choice at all.
103
- - The invalid state does not rely on colour alone. In the high-contrast scheme the theme paints the danger border in the same colour as every other border, so the circle also thickens its edge. The sentence that says what is wrong is the field group’s error.
102
+ - Refusing the activation is not enough on its own. The HTML standard’s canceled activation behavior restores the clicked radio but not the neighbour it unchecked, so the radio group writes every element from the value afterwards. Without that, a controlled group that refused a change would show no choice at all.
103
+ - The invalid state does not rely on color alone. In the high-contrast scheme the theme paints the danger border in the same color as every other border, so the circle also thickens its edge. The sentence that says what is wrong is the field group’s error.
104
104
  - The target is larger than the circle. A 24-pixel square around the circle meets WCAG 2.2 SC 2.5.8 at every size and density, while the circle is 14 pixels at size="sm"; the label extends the target to the end of the text, and the hover wash covers exactly that area. The row keeps its line height: the target is drawn around the circle, not laid out beside it.
105
105
 
106
106
  ## Tokens