@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
package/docs/rating.json CHANGED
@@ -245,7 +245,7 @@
245
245
  "type": "'accent' | 'info' | 'success' | 'warning' | 'danger'",
246
246
  "defaultValue": "warning",
247
247
  "appliesTo": "SlRating, provideRating",
248
- "description": "The colour of a lit symbol. secondary is outside the axis: its solid step is a ground, and a lit star in it reads as unlit"
248
+ "description": "The color of a lit symbol. secondary is outside the axis: its solid step is a ground, and a lit star in it reads as unlit"
249
249
  },
250
250
  {
251
251
  "name": "name",
@@ -369,7 +369,7 @@
369
369
  "The pattern is the WAI-ARIA APG Rating Radio Group example: a radiogroup of native radios, each named \"3 de 5\" by aria-label. Tab lands on the checked radio or on the first, and Space checks — both the platform’s, because the radios share a name.",
370
370
  "The arrows are the family’s and they do not wrap: the APG radio example wraps from the last star to the first, and a rating that falls from five to one on one key too many is the defect the APG slider example, Ark, MUI and Mantine all avoid. Home and End reach both ends; PageUp and PageDown are declined, because ten symbols are crossed key by key.",
371
371
  "The caption is aria-hidden, because the checked radio already announces the value; the glyphs are aria-hidden inside slIcon. Read-only is enforced by refusing the press and the keys, and every radio keeps its tab stop, its focus ring and its contrast.",
372
- "In the light and dark schemes a lit star measures 1,53:1 against the page, the ReUI yellow the family adopted; the value is never left to colour alone, because it is always in the accessible name and usually written beside the row. The high-contrast scheme and forced colours draw a solid edge around every star."
372
+ "In the light and dark schemes a lit star measures 1,53:1 against the page, the ReUI yellow the family adopted; the value is never left to color alone, because it is always in the accessible name and usually written beside the row. The high-contrast scheme and forced colors draw a solid edge around every star."
373
373
  ]
374
374
  },
375
375
  "ratingDisplay": {
@@ -383,7 +383,7 @@
383
383
  "part": "root",
384
384
  "element": "the div carrying slRatingDisplay",
385
385
  "required": true,
386
- "purpose": "An image: role=\"img\", named \"Avaliação 4,6 de 5, 1.284 avaliações\" from displayLabel or displayLabelWithCount, unless the consumer wrote aria-label. Carries data-size, data-tone and data-variant for compact and histogram."
386
+ "purpose": "An image: role=\"img\", named \"Rated 4.6 out of 5, 1,284 ratings\" from displayLabel or displayLabelWithCount, unless the consumer wrote aria-label. Carries data-size, data-tone and data-variant for compact and histogram."
387
387
  },
388
388
  {
389
389
  "part": "symbols",
@@ -461,7 +461,7 @@
461
461
  "type": "'accent' | 'info' | 'success' | 'warning' | 'danger'",
462
462
  "defaultValue": "warning",
463
463
  "appliesTo": "SlRatingDisplay, provideRating",
464
- "description": "The colour of the lit share"
464
+ "description": "The color of the lit share"
465
465
  },
466
466
  {
467
467
  "name": "variant",
@@ -524,8 +524,8 @@
524
524
  ],
525
525
  "events": [],
526
526
  "accessibility": [
527
- "The display is one image, role=\"img\", named by its whole value and its count: \"Avaliação 4,6 de 5, 1.284 avaliações\". The stars, the number and the count inside it are aria-hidden, so a screen reader hears one sentence rather than five images and two numbers.",
528
- "A name the consumer writes as a static aria-label wins, which is how a histogram row says \"opiniões divididas\" as well as the mean.",
527
+ "The display is one image, role=\"img\", named by its whole value and its count: \"Rated 4.6 out of 5, 1,284 ratings\". The stars, the number and the count inside it are aria-hidden, so a screen reader hears one sentence rather than five images and two numbers.",
528
+ "A name the consumer writes as a static aria-label wins, which is how a histogram row says \"divided opinions\" as well as the mean.",
529
529
  "The number is always written beside the stars unless showValue is false, because a lit share of a star is not a readable quantity for anyone, at any contrast."
530
530
  ]
531
531
  },
@@ -696,7 +696,7 @@
696
696
  "part": "swatch",
697
697
  "element": "span aria-hidden=\"true\"",
698
698
  "required": false,
699
- "purpose": "The bucket’s colour key."
699
+ "purpose": "The bucket’s color key."
700
700
  }
701
701
  ],
702
702
  "api": [
@@ -761,7 +761,7 @@
761
761
  "type": "'accent' | 'info' | 'success' | 'warning' | 'danger'",
762
762
  "defaultValue": "warning",
763
763
  "appliesTo": "SlRatingSummary, provideRating",
764
- "description": "The colour of the stars and the bars"
764
+ "description": "The color of the stars and the bars"
765
765
  },
766
766
  {
767
767
  "name": "messages",
@@ -784,7 +784,7 @@
784
784
  "type": "SlRatingSummary",
785
785
  "defaultValue": "—",
786
786
  "appliesTo": "a template",
787
- "description": "Reaches the instance: summary() is the whole summariseRatings result, for a caption of one’s own"
787
+ "description": "Reaches the instance: summary() is the whole summarizeRatings result, for a caption of one’s own"
788
788
  },
789
789
  {
790
790
  "name": "provideRating()",
@@ -803,9 +803,9 @@
803
803
  ],
804
804
  "accessibility": [
805
805
  "The summary is a section named by the consumer’s aria-label, so it is a region a screen reader can reach by landmark. The figure is plain text, and the stars inside the aggregate are one image named by the mean.",
806
- "Each level is named whole — \"5 estrelas: 1.052 avaliações, 82%\" — and the bar, the axis and the mean mark are aria-hidden, because the name already carries what they draw.",
806
+ "Each level is named whole — \"5 stars: 1,052 ratings, 82%\" — and the bar, the axis and the mean mark are aria-hidden, because the name already carries what they draw.",
807
807
  "A filterable level is a native toggle button with aria-pressed, so Space and Enter press it; a level with no readings is disabled rather than offered as a filter that returns nothing.",
808
- "The conclusion and the three buckets are words, not colours: the tone of the pill and of each swatch repeats a sentence that is already written."
808
+ "The conclusion and the three buckets are words, not colors: the tone of the pill and of each swatch repeats a sentence that is already written."
809
809
  ]
810
810
  }
811
811
  },
@@ -920,7 +920,7 @@
920
920
  "title": "Read-only, disabled and invalid",
921
921
  "note": "Read-only keeps every tab stop and the lit stars, because the value is real, and refuses the press; disabled removes the row from the tab order; invalid reddens the edge and announces aria-invalid.",
922
922
  "language": "html",
923
- "source": "<div slRating aria-label=\"Nota publicada\" readOnly [value]=\"4\"></div>\n<div slRating aria-label=\"Nota bloqueada\" disabled [value]=\"2\"></div>\n<div slRating aria-label=\"Nota obrigatória\" invalid required></div>\n",
923
+ "source": "<div slRating aria-label=\"Published rating\" readOnly [value]=\"4\"></div>\n<div slRating aria-label=\"Locked rating\" disabled [value]=\"2\"></div>\n<div slRating aria-label=\"Required rating\" invalid required></div>\n",
924
924
  "verdict": "excerpt"
925
925
  },
926
926
  {
@@ -928,7 +928,7 @@
928
928
  "title": "In a field, and in a reactive form",
929
929
  "note": "The field supplies the label, the description, the error and the size; the rating is the value accessor and the validator, so required means \"choose a rating\" and the error appears once the form is touched.",
930
930
  "language": "html",
931
- "source": "<div slField required>\n <label slFieldLabel>Qualidade do som</label>\n <div slRating formControlName=\"som\"></div>\n <p slFieldError>Escolha uma nota.</p>\n</div>\n",
931
+ "source": "<div slField required>\n <label slFieldLabel>Sound quality</label>\n <div slRating formControlName=\"sound\"></div>\n <p slFieldError>Choose a rating.</p>\n</div>\n",
932
932
  "verdict": "excerpt"
933
933
  },
934
934
  {
@@ -936,7 +936,7 @@
936
936
  "title": "Words for each value, and a scale of ten",
937
937
  "note": "The caption is the consumer’s: a word per star on a scale of five, the number on a scale of ten. Each radio’s own name comes from the itemLabel message, which a provider or one instance may reword.",
938
938
  "language": "html",
939
- "source": "<div\n slRating\n aria-label=\"Recomendaria a um amigo\"\n [max]=\"10\"\n [messages]=\"{ itemLabel: 'Nota {value} de {max}' }\"\n>\n <ng-template slRatingCaption let-value=\"value\" let-preview=\"preview\">\n {{ preview ?? value ?? 'Sem nota' }}\n </ng-template>\n</div>\n",
939
+ "source": "<div\n slRating\n aria-label=\"Recomendaria a um amigo\"\n [max]=\"10\"\n [messages]=\"{ itemLabel: 'Nota {value} de {max}' }\"\n>\n <ng-template slRatingCaption let-value=\"value\" let-preview=\"preview\">\n {{ preview ?? value ?? 'No rating' }}\n </ng-template>\n</div>\n",
940
940
  "verdict": "excerpt"
941
941
  },
942
942
  {
@@ -984,7 +984,7 @@
984
984
  "title": "The mean, and the spread behind it",
985
985
  "note": "histogram adds one bar per level, each over the largest. Two products at 3,3 read differently: one split between ones and fives, the other spread evenly — which a mean alone would hide.",
986
986
  "language": "html",
987
- "source": "<div\n slRatingDisplay\n variant=\"histogram\"\n aria-label=\"Média 3,3 de 5, 8 avaliações, opiniões divididas\"\n [value]=\"3.3\"\n [count]=\"8\"\n [distribution]=\"[3, 0, 1, 0, 4]\"\n></div>\n",
987
+ "source": "<div\n slRatingDisplay\n variant=\"histogram\"\n aria-label=\"Average 3.3 of 5, 8 reviews, divided opinions\"\n [value]=\"3.3\"\n [count]=\"8\"\n [distribution]=\"[3, 0, 1, 0, 4]\"\n></div>\n",
988
988
  "verdict": "excerpt"
989
989
  },
990
990
  {
@@ -1008,7 +1008,7 @@
1008
1008
  "title": "Playground",
1009
1009
  "note": "The aggregate beside one bar per level, highest first. The two blocks stand side by side while both fit and stack when they do not; narrow the window to see the break.",
1010
1010
  "language": "html",
1011
- "source": "<section\n slRatingSummary\n aria-label=\"Avaliações dos clientes\"\n [counts]=\"[9, 18, 47, 158, 1052]\"\n></section>\n",
1011
+ "source": "<section slRatingSummary aria-label=\"Customer reviews\" [counts]=\"[9, 18, 47, 158, 1052]\"></section>\n",
1012
1012
  "verdict": "excerpt"
1013
1013
  },
1014
1014
  {
@@ -1016,15 +1016,15 @@
1016
1016
  "title": "Levels that filter the reviews",
1017
1017
  "note": "filterable turns each level into a toggle button with aria-pressed; the pressed levels are selectedLevels, asked for first through selectedLevelsChangeRequest. A level nobody chose is disabled, because a filter that returns nothing is a dead end.",
1018
1018
  "language": "html",
1019
- "source": "<section\n slRatingSummary\n aria-label=\"Filtrar avaliações\"\n filterable\n [counts]=\"contagens\"\n [(selectedLevels)]=\"niveis\"\n></section>\n",
1019
+ "source": "<section\n slRatingSummary\n aria-label=\"Filter reviews\"\n filterable\n [counts]=\"contagens\"\n [(selectedLevels)]=\"niveis\"\n></section>\n",
1020
1020
  "verdict": "excerpt"
1021
1021
  },
1022
1022
  {
1023
1023
  "id": "spectrum",
1024
1024
  "title": "The spectrum: spread, mean and margin",
1025
- "note": "The same counts as columns over the scale, lowest first, with the mean and its 95% interval laid over them and the readings split into positive, neutral and negative. Eight readings at 3,3 say \"média incerta, entre 2,0 e 4,5\".",
1025
+ "note": "The same counts as columns over the scale, lowest first, with the mean and its 95% interval laid over them and the readings split into positive, neutral and negative. Eight readings at 3.3 say \"uncertain average, between 2.0 and 4.5\".",
1026
1026
  "language": "html",
1027
- "source": "<section\n slRatingSummary\n variant=\"spectrum\"\n aria-label=\"Resumo das avaliações\"\n filterable\n [counts]=\"[9, 18, 47, 158, 1052]\"\n></section>\n",
1027
+ "source": "<section\n slRatingSummary\n variant=\"spectrum\"\n aria-label=\"Review summary\"\n filterable\n [counts]=\"[9, 18, 47, 158, 1052]\"\n></section>\n",
1028
1028
  "verdict": "excerpt"
1029
1029
  },
1030
1030
  {
@@ -1032,15 +1032,15 @@
1032
1032
  "title": "One conclusion, the first that holds",
1033
1033
  "note": "Divided when both ends hold a quarter each, few below thirty readings or with a margin of half a level, consensus when four fifths are positive, mixed otherwise. The pill belongs to the spectrum; insightThresholds moves each line; showInsight false removes it.",
1034
1034
  "language": "html",
1035
- "source": "<section\n slRatingSummary\n variant=\"spectrum\"\n aria-label=\"Avaliações\"\n [counts]=\"[40, 12, 10, 14, 60]\"\n [insightThresholds]=\"{ divided: 0.3 }\"\n></section>\n",
1035
+ "source": "<section\n slRatingSummary\n variant=\"spectrum\"\n aria-label=\"Reviews\"\n [counts]=\"[40, 12, 10, 14, 60]\"\n [insightThresholds]=\"{ divided: 0.3 }\"\n></section>\n",
1036
1036
  "verdict": "excerpt"
1037
1037
  },
1038
1038
  {
1039
1039
  "id": "empty",
1040
1040
  "title": "Nobody has rated it yet",
1041
- "note": "With zero readings the figure and the scale are omitted — a missing mean is not nought — the stars are unlit, the count says \"Ainda sem avaliações\", and no conclusion is drawn.",
1041
+ "note": "With zero readings the figure and the scale are omitted — a missing mean is not nought — the stars are unlit, the count says \"No ratings yet\", and no conclusion is drawn.",
1042
1042
  "language": "html",
1043
- "source": "<section slRatingSummary aria-label=\"Sem avaliações\" [counts]=\"[0, 0, 0, 0, 0]\"></section>\n",
1043
+ "source": "<section slRatingSummary aria-label=\"No reviews\" [counts]=\"[0, 0, 0, 0, 0]\"></section>\n",
1044
1044
  "verdict": "excerpt"
1045
1045
  },
1046
1046
  {
@@ -1048,7 +1048,7 @@
1048
1048
  "title": "In a narrow column",
1049
1049
  "note": "In a 360-pixel column the aggregate stacks above the distribution and every row of bars keeps its label, its bar and its count aligned with the rows above it.",
1050
1050
  "language": "html",
1051
- "source": "<section\n slRatingSummary\n size=\"sm\"\n aria-label=\"Avaliações\"\n [counts]=\"[9, 18, 47, 158, 1052]\"\n></section>\n",
1051
+ "source": "<section slRatingSummary size=\"sm\" aria-label=\"Reviews\" [counts]=\"[9, 18, 47, 158, 1052]\"></section>\n",
1052
1052
  "verdict": "excerpt"
1053
1053
  }
1054
1054
  ]
package/docs/rating.md CHANGED
@@ -105,7 +105,7 @@ Excerpt — not a complete module
105
105
  | `step` | `1 \| 0.5` | 1 | SlRating | The smallest move. A half adds a second radio per symbol; smaller fractions are refused because a third of a star is below the minimum target |
106
106
  | `clearable` | `boolean` | true | SlRating, provideRating | Whether a press on the checked radio, Backspace or Delete empty the value, with the reason clear |
107
107
  | `size` | `'sm' \| 'md' \| 'lg'` | md | SlRating, provideRating | The step of the symbols and the caption. Read from the field or field group first |
108
- | `tone` | `'accent' \| 'info' \| 'success' \| 'warning' \| 'danger'` | warning | SlRating, provideRating | The colour of a lit symbol. secondary is outside the axis: its solid step is a ground, and a lit star in it reads as unlit |
108
+ | `tone` | `'accent' \| 'info' \| 'success' \| 'warning' \| 'danger'` | warning | SlRating, provideRating | The color of a lit symbol. secondary is outside the axis: its solid step is a ground, and a lit star in it reads as unlit |
109
109
  | `name` | `string` | generated | SlRating | The submission name every radio shares. Generated when none is written, because an unnamed set of radios is not a group |
110
110
  | `form` | `string` | — | SlRating | The form the radios belong to when the rating sits outside it |
111
111
  | `disabled` | `boolean` | from the field, or false | SlRating | Native on every radio: the row leaves the tab order. A disabled form control sets it too |
@@ -128,7 +128,7 @@ Excerpt — not a complete module
128
128
  | `value` | `number` | — | SlRatingDisplay | The number drawn. Any fraction; clamped to the scale, NaN drawn as nought |
129
129
  | `max` | `number` | 5 | SlRatingDisplay, provideRating | How many symbols the scale has |
130
130
  | `size` | `'sm' \| 'md' \| 'lg'` | md | SlRatingDisplay, provideRating | The step of the symbols and the text |
131
- | `tone` | `'accent' \| 'info' \| 'success' \| 'warning' \| 'danger'` | warning | SlRatingDisplay, provideRating | The colour of the lit share |
131
+ | `tone` | `'accent' \| 'info' \| 'success' \| 'warning' \| 'danger'` | warning | SlRatingDisplay, provideRating | The color of the lit share |
132
132
  | `variant` | `'full' \| 'compact' \| 'histogram'` | full | SlRatingDisplay | Every symbol; one lit star with the number; or one star, the number and the distribution |
133
133
  | `count` | `number` | — | SlRatingDisplay | How many readings. Written beside the stars and in the accessible name |
134
134
  | `distribution` | `readonly number[]` | — | SlRatingDisplay | Counts per level, lowest first, drawn by the histogram variant |
@@ -150,10 +150,10 @@ Excerpt — not a complete module
150
150
  | `insightThresholds` | `Partial<RatingInsightThresholds>` | { divided: 0.25, few: 30, margin: 0.5, consensus: 0.8 } | SlRatingSummary, provideRating | Where each conclusion is drawn, merged key by key. margin also decides when the spectrum says its mean is uncertain |
151
151
  | `showInsight` | `boolean` | true | SlRatingSummary | Whether the spectrum draws its conclusion. The bars variant draws none |
152
152
  | `size` | `'sm' \| 'md' \| 'lg'` | md | SlRatingSummary, provideRating | The step of the text and the rows |
153
- | `tone` | `'accent' \| 'info' \| 'success' \| 'warning' \| 'danger'` | warning | SlRatingSummary, provideRating | The colour of the stars and the bars |
153
+ | `tone` | `'accent' \| 'info' \| 'success' \| 'warning' \| 'danger'` | warning | SlRatingSummary, provideRating | The color of the stars and the bars |
154
154
  | `messages` | `Partial<RatingMessages>` | — | SlRatingSummary | Words laid over the language in force, key by key — every sentence of the summary: summaryCount, summaryEmpty, spectrumCount, spectrumUncertain, levelLabel, distributionLabel, the buckets and the four conclusions |
155
155
  | `locale` | `string` | the language in force | SlRatingSummary | The locale every number is written in |
156
- | `exportAs="slRatingSummary"` | `SlRatingSummary` | — | a template | Reaches the instance: summary() is the whole summariseRatings result, for a caption of one’s own |
156
+ | `exportAs="slRatingSummary"` | `SlRatingSummary` | — | a template | Reaches the instance: summary() is the whole summarizeRatings result, for a caption of one’s own |
157
157
  | `provideRating()` | `{ size, tone, max, insightThresholds }` | — | an injector | Shared with the other two members |
158
158
 
159
159
  ## Events
@@ -186,14 +186,14 @@ Excerpt — not a complete module
186
186
  - The pattern is the WAI-ARIA APG Rating Radio Group example: a radiogroup of native radios, each named "3 de 5" by aria-label. Tab lands on the checked radio or on the first, and Space checks — both the platform’s, because the radios share a name.
187
187
  - The arrows are the family’s and they do not wrap: the APG radio example wraps from the last star to the first, and a rating that falls from five to one on one key too many is the defect the APG slider example, Ark, MUI and Mantine all avoid. Home and End reach both ends; PageUp and PageDown are declined, because ten symbols are crossed key by key.
188
188
  - The caption is aria-hidden, because the checked radio already announces the value; the glyphs are aria-hidden inside slIcon. Read-only is enforced by refusing the press and the keys, and every radio keeps its tab stop, its focus ring and its contrast.
189
- - In the light and dark schemes a lit star measures 1,53:1 against the page, the ReUI yellow the family adopted; the value is never left to colour alone, because it is always in the accessible name and usually written beside the row. The high-contrast scheme and forced colours draw a solid edge around every star.
190
- - The display is one image, role="img", named by its whole value and its count: "Avaliação 4,6 de 5, 1.284 avaliações". The stars, the number and the count inside it are aria-hidden, so a screen reader hears one sentence rather than five images and two numbers.
191
- - A name the consumer writes as a static aria-label wins, which is how a histogram row says "opiniões divididas" as well as the mean.
189
+ - In the light and dark schemes a lit star measures 1,53:1 against the page, the ReUI yellow the family adopted; the value is never left to color alone, because it is always in the accessible name and usually written beside the row. The high-contrast scheme and forced colors draw a solid edge around every star.
190
+ - The display is one image, role="img", named by its whole value and its count: "Rated 4.6 out of 5, 1,284 ratings". The stars, the number and the count inside it are aria-hidden, so a screen reader hears one sentence rather than five images and two numbers.
191
+ - A name the consumer writes as a static aria-label wins, which is how a histogram row says "divided opinions" as well as the mean.
192
192
  - The number is always written beside the stars unless showValue is false, because a lit share of a star is not a readable quantity for anyone, at any contrast.
193
193
  - The summary is a section named by the consumer’s aria-label, so it is a region a screen reader can reach by landmark. The figure is plain text, and the stars inside the aggregate are one image named by the mean.
194
- - Each level is named whole — "5 estrelas: 1.052 avaliações, 82%" — and the bar, the axis and the mean mark are aria-hidden, because the name already carries what they draw.
194
+ - Each level is named whole — "5 stars: 1,052 ratings, 82%" — and the bar, the axis and the mean mark are aria-hidden, because the name already carries what they draw.
195
195
  - A filterable level is a native toggle button with aria-pressed, so Space and Enter press it; a level with no readings is disabled rather than offered as a filter that returns nothing.
196
- - The conclusion and the three buckets are words, not colours: the tone of the pill and of each swatch repeats a sentence that is already written.
196
+ - The conclusion and the three buckets are words, not colors: the tone of the pill and of each swatch repeats a sentence that is already written.
197
197
 
198
198
  ## Tokens
199
199
 
@@ -218,9 +218,9 @@ Read-only keeps every tab stop and the lit stars, because the value is real, and
218
218
  Excerpt — not a complete module
219
219
 
220
220
  ```html
221
- <div slRating aria-label="Nota publicada" readOnly [value]="4"></div>
222
- <div slRating aria-label="Nota bloqueada" disabled [value]="2"></div>
223
- <div slRating aria-label="Nota obrigatória" invalid required></div>
221
+ <div slRating aria-label="Published rating" readOnly [value]="4"></div>
222
+ <div slRating aria-label="Locked rating" disabled [value]="2"></div>
223
+ <div slRating aria-label="Required rating" invalid required></div>
224
224
  ```
225
225
 
226
226
  ### In a field, and in a reactive form
@@ -231,9 +231,9 @@ Excerpt — not a complete module
231
231
 
232
232
  ```html
233
233
  <div slField required>
234
- <label slFieldLabel>Qualidade do som</label>
235
- <div slRating formControlName="som"></div>
236
- <p slFieldError>Escolha uma nota.</p>
234
+ <label slFieldLabel>Sound quality</label>
235
+ <div slRating formControlName="sound"></div>
236
+ <p slFieldError>Choose a rating.</p>
237
237
  </div>
238
238
  ```
239
239
 
@@ -251,7 +251,7 @@ Excerpt — not a complete module
251
251
  [messages]="{ itemLabel: 'Nota {value} de {max}' }"
252
252
  >
253
253
  <ng-template slRatingCaption let-value="value" let-preview="preview">
254
- {{ preview ?? value ?? 'Sem nota' }}
254
+ {{ preview ?? value ?? 'No rating' }}
255
255
  </ng-template>
256
256
  </div>
257
257
  ```
@@ -319,7 +319,7 @@ Excerpt — not a complete module
319
319
  <div
320
320
  slRatingDisplay
321
321
  variant="histogram"
322
- aria-label="Média 3,3 de 5, 8 avaliações, opiniões divididas"
322
+ aria-label="Average 3.3 of 5, 8 reviews, divided opinions"
323
323
  [value]="3.3"
324
324
  [count]="8"
325
325
  [distribution]="[3, 0, 1, 0, 4]"
@@ -354,11 +354,7 @@ The aggregate beside one bar per level, highest first. The two blocks stand side
354
354
  Excerpt — not a complete module
355
355
 
356
356
  ```html
357
- <section
358
- slRatingSummary
359
- aria-label="Avaliações dos clientes"
360
- [counts]="[9, 18, 47, 158, 1052]"
361
- ></section>
357
+ <section slRatingSummary aria-label="Customer reviews" [counts]="[9, 18, 47, 158, 1052]"></section>
362
358
  ```
363
359
 
364
360
  ### Levels that filter the reviews
@@ -370,7 +366,7 @@ Excerpt — not a complete module
370
366
  ```html
371
367
  <section
372
368
  slRatingSummary
373
- aria-label="Filtrar avaliações"
369
+ aria-label="Filter reviews"
374
370
  filterable
375
371
  [counts]="contagens"
376
372
  [(selectedLevels)]="niveis"
@@ -379,7 +375,7 @@ Excerpt — not a complete module
379
375
 
380
376
  ### The spectrum: spread, mean and margin
381
377
 
382
- The same counts as columns over the scale, lowest first, with the mean and its 95% interval laid over them and the readings split into positive, neutral and negative. Eight readings at 3,3 say "média incerta, entre 2,0 e 4,5".
378
+ The same counts as columns over the scale, lowest first, with the mean and its 95% interval laid over them and the readings split into positive, neutral and negative. Eight readings at 3.3 say "uncertain average, between 2.0 and 4.5".
383
379
 
384
380
  Excerpt — not a complete module
385
381
 
@@ -387,7 +383,7 @@ Excerpt — not a complete module
387
383
  <section
388
384
  slRatingSummary
389
385
  variant="spectrum"
390
- aria-label="Resumo das avaliações"
386
+ aria-label="Review summary"
391
387
  filterable
392
388
  [counts]="[9, 18, 47, 158, 1052]"
393
389
  ></section>
@@ -403,7 +399,7 @@ Excerpt — not a complete module
403
399
  <section
404
400
  slRatingSummary
405
401
  variant="spectrum"
406
- aria-label="Avaliações"
402
+ aria-label="Reviews"
407
403
  [counts]="[40, 12, 10, 14, 60]"
408
404
  [insightThresholds]="{ divided: 0.3 }"
409
405
  ></section>
@@ -411,12 +407,12 @@ Excerpt — not a complete module
411
407
 
412
408
  ### Nobody has rated it yet
413
409
 
414
- With zero readings the figure and the scale are omitted — a missing mean is not nought — the stars are unlit, the count says "Ainda sem avaliações", and no conclusion is drawn.
410
+ With zero readings the figure and the scale are omitted — a missing mean is not nought — the stars are unlit, the count says "No ratings yet", and no conclusion is drawn.
415
411
 
416
412
  Excerpt — not a complete module
417
413
 
418
414
  ```html
419
- <section slRatingSummary aria-label="Sem avaliações" [counts]="[0, 0, 0, 0, 0]"></section>
415
+ <section slRatingSummary aria-label="No reviews" [counts]="[0, 0, 0, 0, 0]"></section>
420
416
  ```
421
417
 
422
418
  ### In a narrow column
@@ -426,10 +422,5 @@ In a 360-pixel column the aggregate stacks above the distribution and every row
426
422
  Excerpt — not a complete module
427
423
 
428
424
  ```html
429
- <section
430
- slRatingSummary
431
- size="sm"
432
- aria-label="Avaliações"
433
- [counts]="[9, 18, 47, 158, 1052]"
434
- ></section>
425
+ <section slRatingSummary size="sm" aria-label="Reviews" [counts]="[9, 18, 47, 158, 1052]"></section>
435
426
  ```
@@ -139,7 +139,7 @@
139
139
  "type": "'center' | 'start'",
140
140
  "defaultValue": "center",
141
141
  "appliesTo": "slResultState",
142
- "description": "Whether the region reads centred or from the inline edge. start is for a data-dense screen, where a centred column reads as an interruption"
142
+ "description": "Whether the region reads centerd or from the inline edge. start is for a data-dense screen, where a centerd column reads as an interruption"
143
143
  },
144
144
  {
145
145
  "name": "live",
@@ -212,7 +212,7 @@
212
212
  "There is no APG pattern for this family: the Authoring Practices list holds no empty, error or result state, and the nearest official guidance is the Region landmark practice, which states that “a region landmark must have a label”. The root is a section and the attribute is written only once a title exists, so an unlabelled region is a plain grouping element rather than a landmark with no name.",
213
213
  "The box is a landmark, not a live region. MDN’s alert role reference states that the role “should only be used for text content, not interactive elements such as links or buttons”, and this family has a row of buttons in it. The region that announces is slResultStateContent, which holds the title and the description alone; the mark, the actions and the footer are its siblings.",
214
214
  "live defaults to polite, which is the one place this family and alert disagree. WCAG 2.2’s Understanding document for SC 4.1.3 names this family’s own text as its example: “brief text messages displayed about the completion or status of the search, such as ‘Searching…’, ‘18 results returned’ or ‘No results returned’ would be status updates”. An alert may be a standing notice that was on the page before it loaded; a result is always the outcome of an operation. None of the seven surveyed implementations writes a live role of any kind.",
215
- "Status is never carried by colour alone, because the family paints no colour for it: what happened is in the title and the description, which forced colours leave legible. The illustrations keep the theme’s system-colour mapping under forced colours, so a stack is still three layers and not three outlines laid over one another.",
215
+ "Status is never carried by color alone, because the family paints no color for it: what happened is in the title and the description, which forced colors leave legible. The illustrations keep the theme’s system-color mapping under forced colors, so a stack is still three layers and not three outlines laid over one another.",
216
216
  "The media box is hidden from assistive technology, with the projected glyph, the drawing made around it and any artwork the page supplies. The title and the description already say what the picture says; an illustration that adds information is not decorative, and what it adds belongs in the description.",
217
217
  "The root carries tabindex=\"-1\" and is not in the tab sequence. A template that has just emptied a table calls focus() on the instance exportAs gives it; the family never does it, because moving focus unprompted is a change of context nobody asked for. A tabindex the page wrote is read with HostAttributeToken and kept.",
218
218
  "The family holds no mutable value, so it has no model(), no output() and no ControlValueAccessor. Which status a region is in is a fact about the consumer’s own data — a region that decided it would be deciding whether the fetch failed.",
@@ -287,15 +287,15 @@
287
287
  {
288
288
  "id": "playground",
289
289
  "title": "Playground",
290
- "note": "One region with every axis on it, driven by the controls below the canvas. Change the status and the mark changes with it, which is what makes the seven distinguishable in greyscale.",
290
+ "note": "One region with every axis on it, driven by the controls below the canvas. Change the status and the mark changes with it, which is what makes the seven distinguishable in grayscale.",
291
291
  "language": "html",
292
- "source": "<section slResultState status=\"empty\">\n <div slResultStateContent>\n <div slResultStateTitle>Nenhum projeto ainda</div>\n <p slResultStateDescription>Crie um projeto para começar a coletar execuções.</p>\n </div>\n <div slResultStateActions>\n <button slButton type=\"button\">Criar projeto</button>\n </div>\n</section>\n",
292
+ "source": "<section slResultState status=\"empty\">\n <div slResultStateContent>\n <div slResultStateTitle>No projects yet</div>\n <p slResultStateDescription>Create a project to start collecting runs.</p>\n </div>\n <div slResultStateActions>\n <button slButton type=\"button\">Create project</button>\n </div>\n</section>\n",
293
293
  "verdict": "excerpt"
294
294
  },
295
295
  {
296
296
  "id": "statuses",
297
297
  "title": "What the region is reporting",
298
- "note": "Seven semantics, seven silhouettes. Read in greyscale, or under forced colours where every ground becomes one system colour, the shape is the only thing left telling an absent collection from a failed request.",
298
+ "note": "Seven semantics, seven silhouettes. Read in grayscale, or under forced colors where every ground becomes one system color, the shape is the only thing left telling an absent collection from a failed request.",
299
299
  "language": "html",
300
300
  "source": "<!-- empty: the collection exists and holds nothing. -->\n<!-- no-results: a query or a filter matched nothing. -->\n<!-- not-found: the thing that was asked for is not here. -->\n<!-- error: a failure the reader can act on. -->\n<!-- forbidden: the reader is not allowed to see it. -->\n<!-- offline: the connection is gone. -->\n<!-- success: the flow finished and there is nothing left to do. -->\n<section slResultState status=\"no-results\"></section>\n",
301
301
  "verdict": "excerpt"
@@ -305,15 +305,15 @@
305
305
  "title": "How far the region reaches",
306
306
  "note": "A row inside a table cell, a panel inside a card, the whole route — the same three words alert uses. The mark is the title’s own size at every reach and stands over the title at section and page; at inline it sits on the message’s first line and the actions join it, and at page the title takes the top step of the type scale.",
307
307
  "language": "html",
308
- "source": "<section slResultState reach=\"inline\" status=\"no-results\">\n <div slResultStateContent>\n <div slResultStateTitle>Nenhuma linha corresponde ao filtro</div>\n </div>\n <div slResultStateActions>\n <button slButton size=\"sm\" variant=\"ghost\" type=\"button\">Limpar filtros</button>\n </div>\n</section>\n\n<section slResultState reach=\"page\" status=\"not-found\"></section>\n",
308
+ "source": "<section slResultState reach=\"inline\" status=\"no-results\">\n <div slResultStateContent>\n <div slResultStateTitle>No rows match the filter</div>\n </div>\n <div slResultStateActions>\n <button slButton size=\"sm\" variant=\"ghost\" type=\"button\">Clear filters</button>\n </div>\n</section>\n\n<section slResultState reach=\"page\" status=\"not-found\"></section>\n",
309
309
  "verdict": "excerpt"
310
310
  },
311
311
  {
312
312
  "id": "align",
313
- "title": "Centred, or from the inline edge",
314
- "note": "Carbon left-aligns its empty states inside data-dense views and the other six surveyed implementations centre unconditionally. Both readings are real, and align is one axis rather than a second family.",
313
+ "title": "Centerd, or from the inline edge",
314
+ "note": "Carbon left-aligns its empty states inside data-dense views and the other six surveyed implementations center unconditionally. Both readings are real, and align is one axis rather than a second family.",
315
315
  "language": "html",
316
- "source": "<!-- The default, for a panel or a route. -->\n<section slResultState align=\"center\"></section>\n\n<!-- For a data-dense screen, where a centred column reads as an interruption. -->\n<section slResultState align=\"start\" reach=\"inline\"></section>\n",
316
+ "source": "<!-- The default, for a panel or a route. -->\n<section slResultState align=\"center\"></section>\n\n<!-- For a data-dense screen, where a centerd column reads as an interruption. -->\n<section slResultState align=\"start\" reach=\"inline\"></section>\n",
317
317
  "verdict": "excerpt"
318
318
  },
319
319
  {
@@ -329,7 +329,7 @@
329
329
  "title": "A drawing around the page’s glyph",
330
330
  "note": "Three drawings in the neutral surface and border roles — a framed tile, three layers leaning back, a stack of cards — made around the projected glyph. None takes a tone, and inline reach draws none. A region that announces assembles its drawing as it arrives; under reduced motion it arrives assembled.",
331
331
  "language": "html",
332
- "source": "<section slResultState illustration=\"stack\">\n <span slIcon slResultStateMedia><svg slGlyph name=\"bell\"></svg></span>\n <div slResultStateContent>\n <div slResultStateTitle>Nenhum alerta configurado</div>\n </div>\n</section>\n\n<!-- A framed tile, and a stack of cards standing in for rows. -->\n<section slResultState illustration=\"tile\">\n <span slIcon slResultStateMedia><svg slGlyph name=\"inbox\"></svg></span>\n</section>\n<section slResultState illustration=\"cards\">\n <span slIcon slResultStateMedia><svg slGlyph name=\"file-text\"></svg></span>\n</section>\n\n<!-- The cards draw their two lines with no glyph at all. -->\n<section slResultState illustration=\"cards\"></section>\n",
332
+ "source": "<section slResultState illustration=\"stack\">\n <span slIcon slResultStateMedia><svg slGlyph name=\"bell\"></svg></span>\n <div slResultStateContent>\n <div slResultStateTitle>No alerts configured</div>\n </div>\n</section>\n\n<!-- A framed tile, and a stack of cards standing in for rows. -->\n<section slResultState illustration=\"tile\">\n <span slIcon slResultStateMedia><svg slGlyph name=\"inbox\"></svg></span>\n</section>\n<section slResultState illustration=\"cards\">\n <span slIcon slResultStateMedia><svg slGlyph name=\"file-text\"></svg></span>\n</section>\n\n<!-- The cards draw their two lines with no glyph at all. -->\n<section slResultState illustration=\"cards\"></section>\n",
333
333
  "verdict": "excerpt"
334
334
  },
335
335
  {
@@ -337,7 +337,7 @@
337
337
  "title": "The way out of the situation",
338
338
  "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. Narrow the window past 20rem and watch them stack.",
339
339
  "language": "html",
340
- "source": "<section slResultState status=\"error\">\n <div slResultStateContent>\n <div slResultStateTitle>A execução falhou</div>\n </div>\n <div slResultStateActions>\n <button slButton tone=\"danger\" [loading]=\"retrying()\" type=\"button\">Tentar de novo</button>\n <button slButton variant=\"outline\" type=\"button\">Abrir registro</button>\n </div>\n <div slResultStateFooter>\n <a slLink href=\"/docs/retries\">Como as tentativas são contadas</a>\n </div>\n</section>\n",
340
+ "source": "<section slResultState status=\"error\">\n <div slResultStateContent>\n <div slResultStateTitle>The run failed</div>\n </div>\n <div slResultStateActions>\n <button slButton tone=\"danger\" [loading]=\"retrying()\" type=\"button\">Try again</button>\n <button slButton variant=\"outline\" type=\"button\">Open log</button>\n </div>\n <div slResultStateFooter>\n <a slLink href=\"/docs/retries\">How retries are counted</a>\n </div>\n</section>\n",
341
341
  "verdict": "excerpt"
342
342
  },
343
343
  {
@@ -353,7 +353,7 @@
353
353
  "title": "Content the family did not choose",
354
354
  "note": "A German compound with no break opportunity, a digest no language can break, a title standing alone and a region with no mark — all in a column narrow enough to make each of them a problem.",
355
355
  "language": "html",
356
- "source": "<section slResultState status=\"error\">\n <div slResultStateContent>\n <div slResultStateTitle>{{ longTranslatedTitle }}</div>\n <p slResultStateDescription>A execução {{ digest }} falhou.</p>\n </div>\n</section>\n",
356
+ "source": "<section slResultState status=\"error\">\n <div slResultStateContent>\n <div slResultStateTitle>{{ longTranslatedTitle }}</div>\n <p slResultStateDescription>Run {{ digest }} failed.</p>\n </div>\n</section>\n",
357
357
  "verdict": "excerpt"
358
358
  },
359
359
  {
@@ -27,11 +27,11 @@ Excerpt — not a complete module
27
27
  ```html
28
28
  <section slResultState status="empty">
29
29
  <div slResultStateContent>
30
- <div slResultStateTitle>Nenhum projeto ainda</div>
31
- <p slResultStateDescription>Crie um projeto para começar a coletar execuções.</p>
30
+ <div slResultStateTitle>No projects yet</div>
31
+ <p slResultStateDescription>Create a project to start collecting runs.</p>
32
32
  </div>
33
33
  <div slResultStateActions>
34
- <button slButton type="button">Criar projeto</button>
34
+ <button slButton type="button">Create project</button>
35
35
  </div>
36
36
  </section>
37
37
  ```
@@ -54,7 +54,7 @@ Excerpt — not a complete module
54
54
  | --- | --- | --- | --- | --- |
55
55
  | `status` | `'empty' \| 'no-results' \| 'not-found' \| 'error' \| 'forbidden' \| 'offline' \| 'success'` | empty | slResultState | What the region is reporting, written on the root as data-status for a page to key its own artwork on. The family paints nothing for it (RS1): what happened is in the title |
56
56
  | `reach` | `'inline' \| 'section' \| 'page'` | section | slResultState | The scope the message applies to. inline is a row for a table cell and draws no illustration; page takes the top step of the type scale and draws the illustration half again as large |
57
- | `align` | `'center' \| 'start'` | center | slResultState | Whether the region reads centred or from the inline edge. start is for a data-dense screen, where a centred column reads as an interruption |
57
+ | `align` | `'center' \| 'start'` | center | slResultState | Whether the region reads centerd or from the inline edge. start is for a data-dense screen, where a centerd column reads as an interruption |
58
58
  | `live` | `'off' \| 'polite' \| 'assertive'` | polite | slResultState | Whether the text announces itself. polite writes role="status" on the content part and assertive writes role="alert"; both imply aria-live and aria-atomic, and neither is written on the box |
59
59
  | `illustration` | `'none' \| 'tile' \| 'stack' \| 'cards'` | none | slResultState | The drawing the family makes around the projected slResultStateMedia, in the neutral surface and border roles and never in a tone. tile and stack frame a glyph and draw nothing without one; cards draws its lines with or without it; none draws nothing of the family’s own |
60
60
  | `slResultStateMedia` | `directive` | — | a projected element | The glyph an illustration is drawn around, or artwork the page supplies under illustration="none". It is projected into the box the family draws, so it keeps the height the reach gives it. React passes a media node instead |
@@ -80,7 +80,7 @@ Excerpt — not a complete module
80
80
  - There is no APG pattern for this family: the Authoring Practices list holds no empty, error or result state, and the nearest official guidance is the Region landmark practice, which states that “a region landmark must have a label”. The root is a section and the attribute is written only once a title exists, so an unlabelled region is a plain grouping element rather than a landmark with no name.
81
81
  - The box is a landmark, not a live region. MDN’s alert role reference states that the role “should only be used for text content, not interactive elements such as links or buttons”, and this family has a row of buttons in it. The region that announces is slResultStateContent, which holds the title and the description alone; the mark, the actions and the footer are its siblings.
82
82
  - live defaults to polite, which is the one place this family and alert disagree. WCAG 2.2’s Understanding document for SC 4.1.3 names this family’s own text as its example: “brief text messages displayed about the completion or status of the search, such as ‘Searching…’, ‘18 results returned’ or ‘No results returned’ would be status updates”. An alert may be a standing notice that was on the page before it loaded; a result is always the outcome of an operation. None of the seven surveyed implementations writes a live role of any kind.
83
- - Status is never carried by colour alone, because the family paints no colour for it: what happened is in the title and the description, which forced colours leave legible. The illustrations keep the theme’s system-colour mapping under forced colours, so a stack is still three layers and not three outlines laid over one another.
83
+ - Status is never carried by color alone, because the family paints no color for it: what happened is in the title and the description, which forced colors leave legible. The illustrations keep the theme’s system-color mapping under forced colors, so a stack is still three layers and not three outlines laid over one another.
84
84
  - The media box is hidden from assistive technology, with the projected glyph, the drawing made around it and any artwork the page supplies. The title and the description already say what the picture says; an illustration that adds information is not decorative, and what it adds belongs in the description.
85
85
  - The root carries tabindex="-1" and is not in the tab sequence. A template that has just emptied a table calls focus() on the instance exportAs gives it; the family never does it, because moving focus unprompted is a change of context nobody asked for. A tabindex the page wrote is read with HostAttributeToken and kept.
86
86
  - The family holds no mutable value, so it has no model(), no output() and no ControlValueAccessor. Which status a region is in is a fact about the consumer’s own data — a region that decided it would be deciding whether the fetch failed.
@@ -94,7 +94,7 @@ Excerpt — not a complete module
94
94
 
95
95
  ### What the region is reporting
96
96
 
97
- Seven semantics, seven silhouettes. Read in greyscale, or under forced colours where every ground becomes one system colour, the shape is the only thing left telling an absent collection from a failed request.
97
+ Seven semantics, seven silhouettes. Read in grayscale, or under forced colors where every ground becomes one system color, the shape is the only thing left telling an absent collection from a failed request.
98
98
 
99
99
  Excerpt — not a complete module
100
100
 
@@ -118,19 +118,19 @@ Excerpt — not a complete module
118
118
  ```html
119
119
  <section slResultState reach="inline" status="no-results">
120
120
  <div slResultStateContent>
121
- <div slResultStateTitle>Nenhuma linha corresponde ao filtro</div>
121
+ <div slResultStateTitle>No rows match the filter</div>
122
122
  </div>
123
123
  <div slResultStateActions>
124
- <button slButton size="sm" variant="ghost" type="button">Limpar filtros</button>
124
+ <button slButton size="sm" variant="ghost" type="button">Clear filters</button>
125
125
  </div>
126
126
  </section>
127
127
 
128
128
  <section slResultState reach="page" status="not-found"></section>
129
129
  ```
130
130
 
131
- ### Centred, or from the inline edge
131
+ ### Centerd, or from the inline edge
132
132
 
133
- Carbon left-aligns its empty states inside data-dense views and the other six surveyed implementations centre unconditionally. Both readings are real, and align is one axis rather than a second family.
133
+ Carbon left-aligns its empty states inside data-dense views and the other six surveyed implementations center unconditionally. Both readings are real, and align is one axis rather than a second family.
134
134
 
135
135
  Excerpt — not a complete module
136
136
 
@@ -138,7 +138,7 @@ Excerpt — not a complete module
138
138
  <!-- The default, for a panel or a route. -->
139
139
  <section slResultState align="center"></section>
140
140
 
141
- <!-- For a data-dense screen, where a centred column reads as an interruption. -->
141
+ <!-- For a data-dense screen, where a centerd column reads as an interruption. -->
142
142
  <section slResultState align="start" reach="inline"></section>
143
143
  ```
144
144
 
@@ -174,7 +174,7 @@ Excerpt — not a complete module
174
174
  <section slResultState illustration="stack">
175
175
  <span slIcon slResultStateMedia><svg slGlyph name="bell"></svg></span>
176
176
  <div slResultStateContent>
177
- <div slResultStateTitle>Nenhum alerta configurado</div>
177
+ <div slResultStateTitle>No alerts configured</div>
178
178
  </div>
179
179
  </section>
180
180
 
@@ -199,14 +199,14 @@ Excerpt — not a complete module
199
199
  ```html
200
200
  <section slResultState status="error">
201
201
  <div slResultStateContent>
202
- <div slResultStateTitle>A execução falhou</div>
202
+ <div slResultStateTitle>The run failed</div>
203
203
  </div>
204
204
  <div slResultStateActions>
205
- <button slButton tone="danger" [loading]="retrying()" type="button">Tentar de novo</button>
206
- <button slButton variant="outline" type="button">Abrir registro</button>
205
+ <button slButton tone="danger" [loading]="retrying()" type="button">Try again</button>
206
+ <button slButton variant="outline" type="button">Open log</button>
207
207
  </div>
208
208
  <div slResultStateFooter>
209
- <a slLink href="/docs/retries">Como as tentativas são contadas</a>
209
+ <a slLink href="/docs/retries">How retries are counted</a>
210
210
  </div>
211
211
  </section>
212
212
  ```
@@ -239,7 +239,7 @@ Excerpt — not a complete module
239
239
  <section slResultState status="error">
240
240
  <div slResultStateContent>
241
241
  <div slResultStateTitle>{{ longTranslatedTitle }}</div>
242
- <p slResultStateDescription>A execução {{ digest }} falhou.</p>
242
+ <p slResultStateDescription>Run {{ digest }} failed.</p>
243
243
  </div>
244
244
  </section>
245
245
  ```
@@ -69,7 +69,7 @@
69
69
  "part": "modified",
70
70
  "element": "span",
71
71
  "required": false,
72
- "purpose": "Inside the trigger while the grid differs from the view in use: a dot in the accent solid and the word Modified, so the state is never colour alone."
72
+ "purpose": "Inside the trigger while the grid differs from the view in use: a dot in the accent solid and the word Modified, so the state is never color alone."
73
73
  },
74
74
  {
75
75
  "part": "revert",