@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
@@ -198,7 +198,7 @@
198
198
  "part": "visual",
199
199
  "element": "span, aria-hidden",
200
200
  "required": false,
201
- "purpose": "The file-kind tile: the kind’s colour from upload’s File kind scale and the kind’s glyph knocked out of it, so a CSV is the same tile in the field it was chosen from and in the job that imports it."
201
+ "purpose": "The file-kind tile: the kind’s color from upload’s File kind scale and the kind’s glyph knocked out of it, so a CSV is the same tile in the field it was chosen from and in the job that imports it."
202
202
  },
203
203
  {
204
204
  "part": "body",
@@ -246,7 +246,7 @@
246
246
  "part": "time",
247
247
  "element": "time",
248
248
  "required": false,
249
- "purpose": "datetime holds the ISO value; the words are relative — há 3 h — with the absolute reading in title, or absolute under timeFormat=\"absolute\". finishedAt once finished, createdAt before."
249
+ "purpose": "datetime holds the ISO value; the words are relative — 3 hours ago — with the absolute reading in title, or absolute under timeFormat=\"absolute\". finishedAt once finished, createdAt before."
250
250
  },
251
251
  {
252
252
  "part": "status",
@@ -258,13 +258,13 @@
258
258
  "part": "mark",
259
259
  "element": "span, aria-hidden",
260
260
  "required": false,
261
- "purpose": "An Icon with the status glyph — clock, circle-check, circle-alert, circle-x, circle — or spinner while running, the line’s own size, centred on the band between the cap height and the x-height."
261
+ "purpose": "An Icon with the status glyph — clock, circle-check, circle-alert, circle-x, circle — or spinner while running, the line’s own size, centerd on the band between the cap height and the x-height."
262
262
  },
263
263
  {
264
264
  "part": "status-label",
265
265
  "element": "span",
266
266
  "required": false,
267
- "purpose": "The word for the state — Concluído com 12 erros — and the stage after it, one run that wraps inside its column."
267
+ "purpose": "The word for the state — Completed with 12 errors — and the stage after it, one run that wraps inside its column."
268
268
  },
269
269
  {
270
270
  "part": "stage",
@@ -306,7 +306,7 @@
306
306
  "part": "download",
307
307
  "element": "span around a[slButtonLink] or button[slButton]",
308
308
  "required": false,
309
- "purpose": "An a[slButtonLink] with download when the file has an href, a button that emits downloadRequest when it has none. Baixar erros when the file is the report of a partial import."
309
+ "purpose": "An a[slButtonLink] with download when the file has an href, a button that emits downloadRequest when it has none. Download errors when the file is the report of a partial import."
310
310
  },
311
311
  {
312
312
  "part": "cancel",
@@ -342,7 +342,7 @@
342
342
  "part": "remove",
343
343
  "element": "button[slImportExportControl]",
344
344
  "required": false,
345
- "purpose": "The family’s icon button, named Remover do histórico by aria-label and a tooltip, described by the job title. Only on a finished job."
345
+ "purpose": "The family’s icon button, named Remove from history by aria-label and a tooltip, described by the job title. Only on a finished job."
346
346
  },
347
347
  {
348
348
  "part": "details",
@@ -425,7 +425,7 @@
425
425
  "type": "string",
426
426
  "defaultValue": "—",
427
427
  "appliesTo": "SlImportExportCenter",
428
- "description": "The view an unbound centre starts on"
428
+ "description": "The view an unbound center starts on"
429
429
  },
430
430
  {
431
431
  "name": "views",
@@ -446,7 +446,7 @@
446
446
  "type": "readonly string[]",
447
447
  "defaultValue": "—",
448
448
  "appliesTo": "SlImportExportCenter",
449
- "description": "The keys an unbound centre starts with shown"
449
+ "description": "The keys an unbound center starts with shown"
450
450
  },
451
451
  {
452
452
  "name": "size",
@@ -537,7 +537,7 @@
537
537
  "type": "{ size, level, growing, timeFormat, timeZone }",
538
538
  "defaultValue": "—",
539
539
  "appliesTo": "an injector",
540
- "description": "The decisions an application takes once. A centre that states any of them itself still wins"
540
+ "description": "The decisions an application takes once. A center that states any of them itself still wins"
541
541
  },
542
542
  {
543
543
  "name": "host attributes",
@@ -611,11 +611,11 @@
611
611
  }
612
612
  ],
613
613
  "accessibility": [
614
- "No WAI-ARIA Authoring Practices pattern covers a job centre, so the platform is the pattern: the root is a section named by its heading, the jobs a native ul of li, every control a real button or link. The toggle follows the Disclosure pattern (w3.org/WAI/ARIA/apg/patterns/disclosure/): Enter and Space show and hide the details, aria-expanded says which, aria-controls names the region the details are, and the words stay Detalhes in both states.",
615
- "Every control of a job is named by its own words and the job title — aria-labelledby holds both ids, so a reader hears Baixar Faturas do 3.º trimestre and not five Baixar in a row — and described by the job’s status line. The remove control is an icon, so its name is aria-label and a tooltip shows the same words on hover, on keyboard focus and on a press held on touch.",
616
- "A job reaching another state is announced once, politely, through the shared live announcer — Importação Contatos do CRM concluída com 12 erros — and nothing is said on the first render or while the bar moves; the bar is a progressbar named by the job title with the progress text as aria-valuetext for a reader who asks. A toast from jobToasts carries the same sentence, which the announcer does not repeat.",
617
- "Focus never falls to the body. A job that finishes while focus is on Cancelar keeps focus in the job, on its first remaining control or on its title; a removed job hands focus to the same control of the job now in its place, then of the one before, then to the list — focusDestination in @slotted/core/import-export-center decides it for both bindings.",
618
- "Colour never says a state alone: the outcome has a word and a mark as well as a tone, every mark a circle or a clock, and partial is a warning with its failed-row count in the words. Under forced colours the tile keeps its square as an edge, the marks draw in the system’s ink, and a running mark that turns stops under reduced motion while the bar still says how far the job is."
614
+ "No WAI-ARIA Authoring Practices pattern covers a job center, so the platform is the pattern: the root is a section named by its heading, the jobs a native ul of li, every control a real button or link. The toggle follows the Disclosure pattern (w3.org/WAI/ARIA/apg/patterns/disclosure/): Enter and Space show and hide the details, aria-expanded says which, aria-controls names the region the details are, and the words stay Details in both states.",
615
+ "Every control of a job is named by its own words and the job title — aria-labelledby holds both ids, so a reader hears Download Q3 invoices and not five Download in a row — and described by the job’s status line. The remove control is an icon, so its name is aria-label and a tooltip shows the same words on hover, on keyboard focus and on a press held on touch.",
616
+ "A job reaching another state is announced once, politely, through the shared live announcer — Import CRM Contacts completed with 12 errors — and nothing is said on the first render or while the bar moves; the bar is a progressbar named by the job title with the progress text as aria-valuetext for a reader who asks. A toast from jobToasts carries the same sentence, which the announcer does not repeat.",
617
+ "Focus never falls to the body. A job that finishes while focus is on Cancel keeps focus in the job, on its first remaining control or on its title; a removed job hands focus to the same control of the job now in its place, then of the one before, then to the list — focusDestination in @slotted/core/import-export-center decides it for both bindings.",
618
+ "Color never says a state alone: the outcome has a word and a mark as well as a tone, every mark a circle or a clock, and partial is a warning with its failed-row count in the words. Under forced colors the tile keeps its square as an edge, the marks draw in the system’s ink, and a running mark that turns stops under reduced motion while the bar still says how far the job is."
619
619
  ]
620
620
  }
621
621
  },
@@ -747,7 +747,7 @@
747
747
  {
748
748
  "id": "files",
749
749
  "title": "Deadlines and permission",
750
- "note": "An export whose file expired offers Gerar novamente in place of Baixar and says when it expired; an export still available says until when; an import whose original the reader may not download says why in the consumer’s words, and draws no control for it.",
750
+ "note": "An export whose file expired offers Generate again in place of Download and says when it expired; an export still available says until when; an import whose original the reader may not download says why in the consumer’s words, and draws no control for it.",
751
751
  "language": "html",
752
752
  "source": "<section slImportExportCenter timeFormat=\"absolute\" [jobs]=\"files\"></section>\n",
753
753
  "verdict": "excerpt"
@@ -755,7 +755,7 @@
755
755
  {
756
756
  "id": "views",
757
757
  "title": "Views",
758
- "note": "The built-in Todos, Importações and Exportações, filtered by direction; below, the consumer’s own views — Minhas is the consumer’s query, so the family shows the jobs it is given — held in a two-way model, whose request output refuses Arquivados.",
758
+ "note": "The built-in All, Imports and Exports, filtered by direction; below, the consumer’s own views — Mine is the consumer’s query, so the family shows the jobs it is given — held in a two-way model, whose request output refuses Archived.",
759
759
  "language": "html",
760
760
  "source": "<section\n slImportExportCenter\n [jobs]=\"view() === 'mine' ? mine : jobs\"\n [views]=\"views\"\n [(view)]=\"view\"\n (viewRequest)=\"refuseArchived($event)\"\n></section>\n",
761
761
  "verdict": "excerpt"
@@ -763,7 +763,7 @@
763
763
  {
764
764
  "id": "intake",
765
765
  "title": "Starting a job",
766
- "note": "Importar opens a dialog with upload as its dropzone; its adapter sends the bytes and the store creates the job, which appears at the top of the list. Exportar opens a dialog with the format and the file name. The centre starts nothing itself and never transfers a byte.",
766
+ "note": "Importar opens a dialog with upload as its dropzone; its adapter sends the bytes and the store creates the job, which appears at the top of the list. Exportar opens a dialog with the format and the file name. The center starts nothing itself and never transfers a byte.",
767
767
  "language": "html",
768
768
  "source": "<section slImportExportCenter [jobs]=\"store.jobs()\">\n <div slImportExportCenterActions>\n <button slButton [slDialogTrigger]=\"importer\">Importar</button>\n <button slButton [slDialogTrigger]=\"exporter\">Exportar</button>\n </div>\n</section>\n<sl-dialog #importer=\"slDialog\">\n <div slDialogBody>\n <div slUpload accept=\".csv,.xlsx\" [adapter]=\"send\"></div>\n </div>\n</sl-dialog>\n",
769
769
  "verdict": "excerpt"
@@ -771,9 +771,9 @@
771
771
  {
772
772
  "id": "toasts",
773
773
  "title": "The toast points at the job",
774
- "note": "jobToasts in the shell raises one toast per job when it starts and replaces it when it finishes, under the job’s key; the consumer’s View reveals the job in the centre — details open, title focused. The toast carries no progress, no cancel and no download.",
774
+ "note": "jobToasts in the shell raises one toast per job when it starts and replaces it when it finishes, under the job’s key; the consumer’s View reveals the job in the center — details open, title focused. The toast carries no progress, no cancel and no download.",
775
775
  "language": "html",
776
- "source": "<ng-template #view let-message>\n <button slButton size=\"sm\" (click)=\"reveal(message)\">Ver</button>\n</ng-template>\n<section slImportExportCenter #centre=\"slImportExportCenter\" [jobs]=\"jobs()\"></section>\n",
776
+ "source": "<ng-template #view let-message>\n <button slButton size=\"sm\" (click)=\"reveal(message)\">Ver</button>\n</ng-template>\n<section slImportExportCenter #center=\"slImportExportCenter\" [jobs]=\"jobs()\"></section>\n",
777
777
  "verdict": "excerpt"
778
778
  },
779
779
  {
@@ -781,7 +781,7 @@
781
781
  "title": "In a popover, on a page",
782
782
  "note": "The same jobs in a popover under the top bar, at size sm with a footer link to the page, and on the page at md, where from 42rem every job is a row of one grid and the states line up in one column.",
783
783
  "language": "html",
784
- "source": "<ng-container slPopover>\n <button slButton slPopoverTrigger>Jobs</button>\n <ng-template slPopoverLayer>\n <div slPopoverContent aria-label=\"Importações e exportações\">\n <section slImportExportCenter size=\"sm\" [jobs]=\"jobs\"></section>\n </div>\n </ng-template>\n</ng-container>\n",
784
+ "source": "<ng-container slPopover>\n <button slButton slPopoverTrigger>Jobs</button>\n <ng-template slPopoverLayer>\n <div slPopoverContent aria-label=\"Imports and exports\">\n <section slImportExportCenter size=\"sm\" [jobs]=\"jobs\"></section>\n </div>\n </ng-template>\n</ng-container>\n",
785
785
  "verdict": "excerpt"
786
786
  },
787
787
  {
@@ -795,7 +795,7 @@
795
795
  {
796
796
  "id": "empty",
797
797
  "title": "Nothing yet, and a list that failed",
798
- "note": "An empty view draws the view’s own words — Nenhuma exportação — or the consumer’s slImportExportCenterEmpty; a list the store could not load draws the error page whose control emits reloadRequest.",
798
+ "note": "An empty view draws the view’s own words — No exports — or the consumer’s slImportExportCenterEmpty; a list the store could not load draws the error page whose control emits reloadRequest.",
799
799
  "language": "html",
800
800
  "source": "<section slImportExportCenter defaultView=\"export\" [jobs]=\"[]\"></section>\n<section slImportExportCenter status=\"error\" [jobs]=\"[]\" (reloadRequest)=\"refetch()\"></section>\n",
801
801
  "verdict": "excerpt"
@@ -819,7 +819,7 @@
819
819
  {
820
820
  "id": "defaults",
821
821
  "title": "Defaults, once",
822
- "note": "provideImportExportCenterDefaults sets the size, the rank, the time format and the zone for a whole application — here with absolute times; the second centre states size=\"md\" itself and wins. The words and the locale come from provideSlotted.",
822
+ "note": "provideImportExportCenterDefaults sets the size, the rank, the time format and the zone for a whole application — here with absolute times; the second center states size=\"md\" itself and wins. The words and the locale come from provideSlotted.",
823
823
  "language": "html",
824
824
  "source": "<section slImportExportCenter [jobs]=\"jobs\"></section>\n<section slImportExportCenter size=\"md\" [jobs]=\"jobs\"></section>\n",
825
825
  "verdict": "excerpt"
@@ -827,7 +827,7 @@
827
827
  {
828
828
  "id": "accessibility",
829
829
  "title": "Keyboard and focus",
830
- "note": "Tab through the controls: every one is named by its words and the job — Cancel Contatos do CRM. Press Cancel: the job ends, the control leaves, and focus stays in the job on its first control. Remove a job: focus goes to the same control of the job in its place.",
830
+ "note": "Tab through the controls: every one is named by its words and the job — Cancel CRM Contacts. Press Cancel: the job ends, the control leaves, and focus stays in the job on its first control. Remove a job: focus goes to the same control of the job in its place.",
831
831
  "language": "html",
832
832
  "source": "<section\n slImportExportCenter\n [jobs]=\"store.jobs()\"\n (cancelRequest)=\"store.cancel($event.key)\"\n (removeRequest)=\"store.remove($event.keys)\"\n></section>\n",
833
833
  "verdict": "excerpt"
@@ -81,10 +81,10 @@ Excerpt — not a complete module
81
81
  | --- | --- | --- | --- | --- |
82
82
  | `jobs` | `readonly ImportExportJob[]` | — | SlImportExportCenter | The consumer’s jobs, required. The family changes none of them |
83
83
  | `view` | `string \| undefined` | all | SlImportExportCenter | The view, as a model: [(view)] two-way, [view] to read. all shows every job, import and export filter by direction, any other value what the consumer gave |
84
- | `defaultView` | `string` | — | SlImportExportCenter | The view an unbound centre starts on |
84
+ | `defaultView` | `string` | — | SlImportExportCenter | The view an unbound center starts on |
85
85
  | `views` | `readonly { value, label }[]` | all, import, export | SlImportExportCenter | The strip’s entries; one entry draws no strip |
86
86
  | `expanded` | `readonly string[] \| undefined` | — | SlImportExportCenter | The keys whose details are shown, as a model: [(expanded)] two-way |
87
- | `defaultExpanded` | `readonly string[]` | — | SlImportExportCenter | The keys an unbound centre starts with shown |
87
+ | `defaultExpanded` | `readonly string[]` | — | SlImportExportCenter | The keys an unbound center starts with shown |
88
88
  | `size` | `'sm' \| 'md'` | md | SlImportExportCenter, provideImportExportCenterDefaults | sm for a popover or a drawer, with a floor width; md for a page |
89
89
  | `level` | `'2' \| '3' \| '4'` | 2 | SlImportExportCenter, provideImportExportCenterDefaults | The rank of the title’s heading |
90
90
  | `growing` | `'none' \| 'button'` | none | SlImportExportCenter, provideImportExportCenterDefaults | Whether the history grows by a more button; drawn while hasMore |
@@ -97,7 +97,7 @@ Excerpt — not a complete module
97
97
  | `slImportExportCenterActions, slImportExportCenterEmpty, slImportExportCenterFooter` | `content slots` | — | SlImportExportCenter | The consumer’s header controls; the view’s empty page; the footer |
98
98
  | `ng-template[slImportExportJobActions]` | `TemplateRef<{ $implicit: ImportExportJob }>` | — | SlImportExportCenter | The consumer’s controls for one job, after the family’s |
99
99
  | `exportAs` | `slImportExportCenter` | — | SlImportExportCenter | element; focus(); reveal(key), which shows the job’s details, returns to all if the view hides it, scrolls it into view and focuses its title |
100
- | `provideImportExportCenterDefaults` | `{ size, level, growing, timeFormat, timeZone }` | — | an injector | The decisions an application takes once. A centre that states any of them itself still wins |
100
+ | `provideImportExportCenterDefaults` | `{ size, level, growing, timeFormat, timeZone }` | — | an injector | The decisions an application takes once. A center that states any of them itself still wins |
101
101
  | `host attributes` | `section` | — | SlImportExportCenter | aria-*, data-*, class and listeners stay on the section; a static aria-label or aria-labelledby replaces the title wiring |
102
102
 
103
103
  ## Events
@@ -132,11 +132,11 @@ Excerpt — not a complete module
132
132
 
133
133
  ## Rules
134
134
 
135
- - No WAI-ARIA Authoring Practices pattern covers a job centre, so the platform is the pattern: the root is a section named by its heading, the jobs a native ul of li, every control a real button or link. The toggle follows the Disclosure pattern (w3.org/WAI/ARIA/apg/patterns/disclosure/): Enter and Space show and hide the details, aria-expanded says which, aria-controls names the region the details are, and the words stay Detalhes in both states.
136
- - Every control of a job is named by its own words and the job title — aria-labelledby holds both ids, so a reader hears Baixar Faturas do 3.º trimestre and not five Baixar in a row — and described by the job’s status line. The remove control is an icon, so its name is aria-label and a tooltip shows the same words on hover, on keyboard focus and on a press held on touch.
137
- - A job reaching another state is announced once, politely, through the shared live announcer — Importação Contatos do CRM concluída com 12 erros — and nothing is said on the first render or while the bar moves; the bar is a progressbar named by the job title with the progress text as aria-valuetext for a reader who asks. A toast from jobToasts carries the same sentence, which the announcer does not repeat.
138
- - Focus never falls to the body. A job that finishes while focus is on Cancelar keeps focus in the job, on its first remaining control or on its title; a removed job hands focus to the same control of the job now in its place, then of the one before, then to the list — focusDestination in @slotted/core/import-export-center decides it for both bindings.
139
- - Colour never says a state alone: the outcome has a word and a mark as well as a tone, every mark a circle or a clock, and partial is a warning with its failed-row count in the words. Under forced colours the tile keeps its square as an edge, the marks draw in the system’s ink, and a running mark that turns stops under reduced motion while the bar still says how far the job is.
135
+ - No WAI-ARIA Authoring Practices pattern covers a job center, so the platform is the pattern: the root is a section named by its heading, the jobs a native ul of li, every control a real button or link. The toggle follows the Disclosure pattern (w3.org/WAI/ARIA/apg/patterns/disclosure/): Enter and Space show and hide the details, aria-expanded says which, aria-controls names the region the details are, and the words stay Details in both states.
136
+ - Every control of a job is named by its own words and the job title — aria-labelledby holds both ids, so a reader hears Download Q3 invoices and not five Download in a row — and described by the job’s status line. The remove control is an icon, so its name is aria-label and a tooltip shows the same words on hover, on keyboard focus and on a press held on touch.
137
+ - A job reaching another state is announced once, politely, through the shared live announcer — Import CRM Contacts completed with 12 errors — and nothing is said on the first render or while the bar moves; the bar is a progressbar named by the job title with the progress text as aria-valuetext for a reader who asks. A toast from jobToasts carries the same sentence, which the announcer does not repeat.
138
+ - Focus never falls to the body. A job that finishes while focus is on Cancel keeps focus in the job, on its first remaining control or on its title; a removed job hands focus to the same control of the job now in its place, then of the one before, then to the list — focusDestination in @slotted/core/import-export-center decides it for both bindings.
139
+ - Color never says a state alone: the outcome has a word and a mark as well as a tone, every mark a circle or a clock, and partial is a warning with its failed-row count in the words. Under forced colors the tile keeps its square as an edge, the marks draw in the system’s ink, and a running mark that turns stops under reduced motion while the bar still says how far the job is.
140
140
 
141
141
  ## Tokens
142
142
 
@@ -197,7 +197,7 @@ Excerpt — not a complete module
197
197
 
198
198
  ### Deadlines and permission
199
199
 
200
- An export whose file expired offers Gerar novamente in place of Baixar and says when it expired; an export still available says until when; an import whose original the reader may not download says why in the consumer’s words, and draws no control for it.
200
+ An export whose file expired offers Generate again in place of Download and says when it expired; an export still available says until when; an import whose original the reader may not download says why in the consumer’s words, and draws no control for it.
201
201
 
202
202
  Excerpt — not a complete module
203
203
 
@@ -207,7 +207,7 @@ Excerpt — not a complete module
207
207
 
208
208
  ### Views
209
209
 
210
- The built-in Todos, Importações and Exportações, filtered by direction; below, the consumer’s own views — Minhas is the consumer’s query, so the family shows the jobs it is given — held in a two-way model, whose request output refuses Arquivados.
210
+ The built-in All, Imports and Exports, filtered by direction; below, the consumer’s own views — Mine is the consumer’s query, so the family shows the jobs it is given — held in a two-way model, whose request output refuses Archived.
211
211
 
212
212
  Excerpt — not a complete module
213
213
 
@@ -223,7 +223,7 @@ Excerpt — not a complete module
223
223
 
224
224
  ### Starting a job
225
225
 
226
- Importar opens a dialog with upload as its dropzone; its adapter sends the bytes and the store creates the job, which appears at the top of the list. Exportar opens a dialog with the format and the file name. The centre starts nothing itself and never transfers a byte.
226
+ Importar opens a dialog with upload as its dropzone; its adapter sends the bytes and the store creates the job, which appears at the top of the list. Exportar opens a dialog with the format and the file name. The center starts nothing itself and never transfers a byte.
227
227
 
228
228
  Excerpt — not a complete module
229
229
 
@@ -243,7 +243,7 @@ Excerpt — not a complete module
243
243
 
244
244
  ### The toast points at the job
245
245
 
246
- jobToasts in the shell raises one toast per job when it starts and replaces it when it finishes, under the job’s key; the consumer’s View reveals the job in the centre — details open, title focused. The toast carries no progress, no cancel and no download.
246
+ jobToasts in the shell raises one toast per job when it starts and replaces it when it finishes, under the job’s key; the consumer’s View reveals the job in the center — details open, title focused. The toast carries no progress, no cancel and no download.
247
247
 
248
248
  Excerpt — not a complete module
249
249
 
@@ -251,7 +251,7 @@ Excerpt — not a complete module
251
251
  <ng-template #view let-message>
252
252
  <button slButton size="sm" (click)="reveal(message)">Ver</button>
253
253
  </ng-template>
254
- <section slImportExportCenter #centre="slImportExportCenter" [jobs]="jobs()"></section>
254
+ <section slImportExportCenter #center="slImportExportCenter" [jobs]="jobs()"></section>
255
255
  ```
256
256
 
257
257
  ### In a popover, on a page
@@ -264,7 +264,7 @@ Excerpt — not a complete module
264
264
  <ng-container slPopover>
265
265
  <button slButton slPopoverTrigger>Jobs</button>
266
266
  <ng-template slPopoverLayer>
267
- <div slPopoverContent aria-label="Importações e exportações">
267
+ <div slPopoverContent aria-label="Imports and exports">
268
268
  <section slImportExportCenter size="sm" [jobs]="jobs"></section>
269
269
  </div>
270
270
  </ng-template>
@@ -284,7 +284,7 @@ Excerpt — not a complete module
284
284
 
285
285
  ### Nothing yet, and a list that failed
286
286
 
287
- An empty view draws the view’s own words — Nenhuma exportação — or the consumer’s slImportExportCenterEmpty; a list the store could not load draws the error page whose control emits reloadRequest.
287
+ An empty view draws the view’s own words — No exports — or the consumer’s slImportExportCenterEmpty; a list the store could not load draws the error page whose control emits reloadRequest.
288
288
 
289
289
  Excerpt — not a complete module
290
290
 
@@ -320,7 +320,7 @@ Excerpt — not a complete module
320
320
 
321
321
  ### Defaults, once
322
322
 
323
- provideImportExportCenterDefaults sets the size, the rank, the time format and the zone for a whole application — here with absolute times; the second centre states size="md" itself and wins. The words and the locale come from provideSlotted.
323
+ provideImportExportCenterDefaults sets the size, the rank, the time format and the zone for a whole application — here with absolute times; the second center states size="md" itself and wins. The words and the locale come from provideSlotted.
324
324
 
325
325
  Excerpt — not a complete module
326
326
 
@@ -331,7 +331,7 @@ Excerpt — not a complete module
331
331
 
332
332
  ### Keyboard and focus
333
333
 
334
- Tab through the controls: every one is named by its words and the job — Cancel Contatos do CRM. Press Cancel: the job ends, the control leaves, and focus stays in the job on its first control. Remove a job: focus goes to the same control of the job in its place.
334
+ Tab through the controls: every one is named by its words and the job — Cancel CRM Contacts. Press Cancel: the job ends, the control leaves, and focus stays in the job on its first control. Remove a job: focus goes to the same control of the job in its place.
335
335
 
336
336
  Excerpt — not a complete module
337
337
 
@@ -180,7 +180,7 @@
180
180
  "type": "directive",
181
181
  "defaultValue": "—",
182
182
  "appliesTo": "a projected element",
183
- "description": "The page’s own mark, projected into the box the family draws so it keeps the size, the colour and the place on the first line the tone’s mark would have had"
183
+ "description": "The page’s own mark, projected into the box the family draws so it keeps the size, the color and the place on the first line the tone’s mark would have had"
184
184
  },
185
185
  {
186
186
  "name": "messageId",
@@ -207,12 +207,12 @@
207
207
  "events": [],
208
208
  "accessibility": [
209
209
  "A message about a section, a page or a command’s outcome is an alert, at reach section or page. This family is the message of one field or one control, under or beside it.",
210
- "There is no WAI-ARIA APG pattern for a message attached to a field. Three documents cover it between them: the APG Alert Pattern (w3.org/WAI/ARIA/apg/patterns/alert/) for the announcing behaviour, MDN’s aria-errormessage reference for the wiring, and WCAG 2.2 Understanding 3.3.1 Error Identification for the requirement that the error be identified in text.",
211
- "The severity is a word, not only a colour and a mark. A reader who cannot see the message hears the sentence and nothing else, so the family writes “Error:”, “Warning:” or “Success:” in clipped text before it — GOV.UK’s Error message component publishes the idea for errors, and this generalises it to every severity and to a table an application replaces once through provideInlineMessageDefaults.",
210
+ "There is no WAI-ARIA APG pattern for a message attached to a field. Three documents cover it between them: the APG Alert Pattern (w3.org/WAI/ARIA/apg/patterns/alert/) for the announcing behavior, MDN’s aria-errormessage reference for the wiring, and WCAG 2.2 Understanding 3.3.1 Error Identification for the requirement that the error be identified in text.",
211
+ "The severity is a word, not only a color and a mark. A reader who cannot see the message hears the sentence and nothing else, so the family writes “Error:”, “Warning:” or “Success:” in clipped text before it — GOV.UK’s Error message component publishes the idea for errors, and this generalizes it to every severity and to a table an application replaces once through provideInlineMessageDefaults.",
212
212
  "The live role goes on the host. slAlert puts its role on an inner part because it has a dismiss button beside its text and MDN’s alert role reference restricts the role to text content; this family owns no controls, so the element that is the text is the element that announces. live defaults to off, because a message already present when the page finishes loading is announced by nothing whatever role it carries.",
213
213
  "Wiring is the control’s job and the identifier is the family’s. MDN: set aria-invalid=\"true\" on the control, then aria-errormessage to the id of the element holding the message. exportAs hands the template the instance so it can write [attr.aria-errormessage]=\"message.messageId\" without inventing an id of its own.",
214
- "The mark is aria-hidden, because it repeats what the severity word already says. Under forced colours it keeps its silhouette in CanvasText — the circle, the diamond and the circled exclamation are what tell an error from a note when every colour has been replaced, which is WCAG 2.2 1.4.1.",
215
- "A disabled message is muted to a measured colour rather than faded by opacity, and its ring stops: STATE_PRECEDENCE puts disabled above loading, and a control nobody can use is not waiting for anything. Nothing is removed from the accessibility tree, because a message about a disabled field is still a message.",
214
+ "The mark is aria-hidden, because it repeats what the severity word already says. Under forced colors it keeps its silhouette in CanvasText — the circle, the diamond and the circled exclamation are what tell an error from a note when every color has been replaced, which is WCAG 2.2 1.4.1.",
215
+ "A disabled message is muted to a measured color rather than faded by opacity, and its ring stops: STATE_PRECEDENCE puts disabled above loading, and a control nobody can use is not waiting for anything. Nothing is removed from the accessibility tree, because a message about a disabled field is still a message.",
216
216
  "The family never becomes a tooltip. The message is visible text in the flow of the page, which is the requirement WCAG 2.2 3.3.1 states and the one a hover-only error fails for every reader who does not hover."
217
217
  ]
218
218
  }
@@ -246,15 +246,15 @@
246
246
  "title": "Playground",
247
247
  "note": "One message with every axis on it, driven by the controls below the canvas. Change the tone and both the mark and the word a screen reader hears change with it.",
248
248
  "language": "html",
249
- "source": "<p slInlineMessage tone=\"danger\">Informe um CNPJ válido para continuar.</p>\n",
249
+ "source": "<p slInlineMessage tone=\"danger\">Enter a valid EIN to continue.</p>\n",
250
250
  "verdict": "excerpt"
251
251
  },
252
252
  {
253
253
  "id": "tones",
254
254
  "title": "What the message is about",
255
- "note": "Four severities and one absence of one. secondary is help: no mark, no severity word, and the neutral muted ink rather than a tone’s louder label colour.",
255
+ "note": "Four severities and one absence of one. secondary is help: no mark, no severity word, and the neutral muted ink rather than a tone’s louder label color.",
256
256
  "language": "html",
257
- "source": "<p slInlineMessage>Entre 8 e 64 caracteres.</p>\n<p slInlineMessage tone=\"success\">Nome de usuário disponível.</p>\n<p slInlineMessage tone=\"danger\">Este e-mail já está cadastrado.</p>\n",
257
+ "source": "<p slInlineMessage>Between 8 and 64 characters.</p>\n<p slInlineMessage tone=\"success\">Username available.</p>\n<p slInlineMessage tone=\"danger\">This email is already registered.</p>\n",
258
258
  "verdict": "excerpt"
259
259
  },
260
260
  {
@@ -270,7 +270,7 @@
270
270
  "title": "A message that is still waiting",
271
271
  "note": "The mark becomes a ring turning in the same box, so the wait becomes its answer with no geometry moving. Under reduced motion the ring stops rather than slows.",
272
272
  "language": "html",
273
- "source": "<p\n slInlineMessage\n live=\"polite\"\n [loading]=\"state() === 'checking'\"\n [tone]=\"state() === 'free' ? 'success' : 'secondary'\"\n>\n {{ state() === 'checking' ? 'Verificando disponibilidade…' : 'Nome disponível.' }}\n</p>\n",
273
+ "source": "<p\n slInlineMessage\n live=\"polite\"\n [loading]=\"state() === 'checking'\"\n [tone]=\"state() === 'free' ? 'success' : 'secondary'\"\n>\n {{ state() === 'checking' ? 'Checking availability…' : 'Name available.' }}\n</p>\n",
274
274
  "verdict": "excerpt"
275
275
  },
276
276
  {
@@ -278,7 +278,7 @@
278
278
  "title": "Pointing a control at the message",
279
279
  "note": "The three attributes that make an error reach a reader: aria-invalid on the control, aria-errormessage at the message’s id, and an id the family generates when the page states none.",
280
280
  "language": "html",
281
- "source": "<label for=\"cnpj\">CNPJ</label>\n<input id=\"cnpj\" aria-invalid=\"true\" [attr.aria-errormessage]=\"message.messageId\" />\n<p slInlineMessage #message=\"slInlineMessage\" tone=\"danger\">Faltam dois dígitos.</p>\n",
281
+ "source": "<label for=\"ein\">EIN</label>\n<input id=\"ein\" aria-invalid=\"true\" [attr.aria-errormessage]=\"message.messageId\" />\n<p slInlineMessage #message=\"slInlineMessage\" tone=\"danger\">Two digits are missing.</p>\n",
282
282
  "verdict": "excerpt"
283
283
  },
284
284
  {
@@ -286,7 +286,7 @@
286
286
  "title": "What a reader hears, and when",
287
287
  "note": "off by default, because a message already on the page when it loads is announced by nothing. Press the button and the message arrives while the reader is elsewhere, which is what polite is for.",
288
288
  "language": "html",
289
- "source": "<!-- role=\"status\" on the message itself, which implies aria-live and\n aria-atomic. There are no controls inside it to keep out of the region. -->\n<p slInlineMessage live=\"polite\" tone=\"success\">Alterações salvas.</p>\n",
289
+ "source": "<!-- role=\"status\" on the message itself, which implies aria-live and\n aria-atomic. There are no controls inside it to keep out of the region. -->\n<p slInlineMessage live=\"polite\" tone=\"success\">Changes saved.</p>\n",
290
290
  "verdict": "excerpt"
291
291
  },
292
292
  {
@@ -302,7 +302,7 @@
302
302
  "title": "Content the family did not choose",
303
303
  "note": "A German compound over three lines, a container digest with no break opportunity, a sentence carrying a link, and the page’s own artwork — the mark stays on the first line in all four.",
304
304
  "language": "html",
305
- "source": "<p slInlineMessage>Aceitamos cartão, boleto e Pix. <a slLink href=\"/tarifas\">Ver tarifas</a></p>\n",
305
+ "source": "<p slInlineMessage>We accept card, ACH transfer and Zelle. <a slLink href=\"/fees\">See fees</a></p>\n",
306
306
  "verdict": "excerpt"
307
307
  },
308
308
  {
@@ -310,15 +310,15 @@
310
310
  "title": "Composition and escape hatches",
311
311
  "note": "The token translates the severity words once, the directive sits on whatever element the page wrote, and a projected mark replaces the tone’s while keeping its box and its place.",
312
312
  "language": "ts",
313
- "source": "providers: [\n provideInlineMessageDefaults({\n prefixes: { danger: 'Erro:', warning: 'Atenção:' },\n }),\n];\n",
313
+ "source": "providers: [\n provideInlineMessageDefaults({\n prefixes: { danger: 'Error:', warning: 'Warning:' },\n }),\n];\n",
314
314
  "verdict": "excerpt"
315
315
  },
316
316
  {
317
317
  "id": "accessibility",
318
318
  "title": "What a reader hears before the message",
319
- "note": "Turn a screen reader on and read the three rows: the severity is a word, not only a colour and a silhouette, and it is the same word wherever the message is announced.",
319
+ "note": "Turn a screen reader on and read the three rows: the severity is a word, not only a color and a silhouette, and it is the same word wherever the message is announced.",
320
320
  "language": "html",
321
- "source": "<!-- Heard as “Error: Informe um CNPJ válido.” -->\n<p slInlineMessage tone=\"danger\">Informe um CNPJ válido.</p>\n\n<!-- One message says its own word; the empty string removes it entirely. -->\n<p slInlineMessage tone=\"danger\" prefix=\"Erro:\">Informe um CNPJ válido.</p>\n<p slInlineMessage tone=\"danger\" prefix=\"\">Erro: informe um CNPJ válido.</p>\n",
321
+ "source": "<!-- Heard as “Error: Enter a valid EIN.” -->\n<p slInlineMessage tone=\"danger\">Enter a valid EIN.</p>\n\n<!-- One message says its own word; the empty string removes it entirely. -->\n<p slInlineMessage tone=\"danger\" prefix=\"Error:\">Enter a valid EIN.</p>\n<p slInlineMessage tone=\"danger\" prefix=\"\">Error: enter a valid EIN.</p>\n",
322
322
  "verdict": "excerpt"
323
323
  }
324
324
  ]
@@ -20,7 +20,7 @@ Selector: `[slInlineMessage]` · exportAs: `slInlineMessage`
20
20
  Excerpt — not a complete module
21
21
 
22
22
  ```html
23
- <p slInlineMessage tone="danger">Informe um CNPJ válido para continuar.</p>
23
+ <p slInlineMessage tone="danger">Enter a valid EIN to continue.</p>
24
24
  ```
25
25
 
26
26
  ## Anatomy
@@ -47,7 +47,7 @@ Excerpt — not a complete module
47
47
  | `disabled` | `boolean` | — | slInlineMessage | Unstated rather than false, so the field this family sits in can answer it once field ships in wave 3. Stated, it wins: the ink is muted and the ring stops |
48
48
  | `reserve` | `boolean` | false | slInlineMessage | Holds one line box of the family’s own leading open whether or not there is a message, so a form rendering the message unconditionally never moves when the error arrives |
49
49
  | `id` | `string` | generated | slInlineMessage | What aria-describedby or aria-errormessage points at. Read from the host attribute before the family writes its own, so a static id the template wrote survives the host binding |
50
- | `slInlineMessageIcon` | `directive` | — | a projected element | The page’s own mark, projected into the box the family draws so it keeps the size, the colour and the place on the first line the tone’s mark would have had |
50
+ | `slInlineMessageIcon` | `directive` | — | a projected element | The page’s own mark, projected into the box the family draws so it keeps the size, the color and the place on the first line the tone’s mark would have had |
51
51
  | `messageId` | `string` | generated | slInlineMessage | The identifier, reachable from the template through exportAs — the reach an Angular template has and a React consumer answers with useId in their own component |
52
52
  | `provideInlineMessageDefaults` | `{ tone, size, live, prefixes }` | — | an injector | Sets the three axes once, and — the one that matters — the table of severity words, merged over the shipped one so a single word can be replaced alone |
53
53
  | `ng-content` | `projected content` | — | slInlineMessage | The sentence, wrapped by the family in the text part. Projecting nothing leaves that part empty, which is what reserve draws nothing in |
@@ -64,12 +64,12 @@ Excerpt — not a complete module
64
64
  ## Rules
65
65
 
66
66
  - A message about a section, a page or a command’s outcome is an alert, at reach section or page. This family is the message of one field or one control, under or beside it.
67
- - There is no WAI-ARIA APG pattern for a message attached to a field. Three documents cover it between them: the APG Alert Pattern (w3.org/WAI/ARIA/apg/patterns/alert/) for the announcing behaviour, MDN’s aria-errormessage reference for the wiring, and WCAG 2.2 Understanding 3.3.1 Error Identification for the requirement that the error be identified in text.
68
- - The severity is a word, not only a colour and a mark. A reader who cannot see the message hears the sentence and nothing else, so the family writes “Error:”, “Warning:” or “Success:” in clipped text before it — GOV.UK’s Error message component publishes the idea for errors, and this generalises it to every severity and to a table an application replaces once through provideInlineMessageDefaults.
67
+ - There is no WAI-ARIA APG pattern for a message attached to a field. Three documents cover it between them: the APG Alert Pattern (w3.org/WAI/ARIA/apg/patterns/alert/) for the announcing behavior, MDN’s aria-errormessage reference for the wiring, and WCAG 2.2 Understanding 3.3.1 Error Identification for the requirement that the error be identified in text.
68
+ - The severity is a word, not only a color and a mark. A reader who cannot see the message hears the sentence and nothing else, so the family writes “Error:”, “Warning:” or “Success:” in clipped text before it — GOV.UK’s Error message component publishes the idea for errors, and this generalizes it to every severity and to a table an application replaces once through provideInlineMessageDefaults.
69
69
  - The live role goes on the host. slAlert puts its role on an inner part because it has a dismiss button beside its text and MDN’s alert role reference restricts the role to text content; this family owns no controls, so the element that is the text is the element that announces. live defaults to off, because a message already present when the page finishes loading is announced by nothing whatever role it carries.
70
70
  - Wiring is the control’s job and the identifier is the family’s. MDN: set aria-invalid="true" on the control, then aria-errormessage to the id of the element holding the message. exportAs hands the template the instance so it can write [attr.aria-errormessage]="message.messageId" without inventing an id of its own.
71
- - The mark is aria-hidden, because it repeats what the severity word already says. Under forced colours it keeps its silhouette in CanvasText — the circle, the diamond and the circled exclamation are what tell an error from a note when every colour has been replaced, which is WCAG 2.2 1.4.1.
72
- - A disabled message is muted to a measured colour rather than faded by opacity, and its ring stops: STATE_PRECEDENCE puts disabled above loading, and a control nobody can use is not waiting for anything. Nothing is removed from the accessibility tree, because a message about a disabled field is still a message.
71
+ - The mark is aria-hidden, because it repeats what the severity word already says. Under forced colors it keeps its silhouette in CanvasText — the circle, the diamond and the circled exclamation are what tell an error from a note when every color has been replaced, which is WCAG 2.2 1.4.1.
72
+ - A disabled message is muted to a measured color rather than faded by opacity, and its ring stops: STATE_PRECEDENCE puts disabled above loading, and a control nobody can use is not waiting for anything. Nothing is removed from the accessibility tree, because a message about a disabled field is still a message.
73
73
  - The family never becomes a tooltip. The message is visible text in the flow of the page, which is the requirement WCAG 2.2 3.3.1 states and the one a hover-only error fails for every reader who does not hover.
74
74
 
75
75
  ## Tokens
@@ -80,14 +80,14 @@ Excerpt — not a complete module
80
80
 
81
81
  ### What the message is about
82
82
 
83
- Four severities and one absence of one. secondary is help: no mark, no severity word, and the neutral muted ink rather than a tone’s louder label colour.
83
+ Four severities and one absence of one. secondary is help: no mark, no severity word, and the neutral muted ink rather than a tone’s louder label color.
84
84
 
85
85
  Excerpt — not a complete module
86
86
 
87
87
  ```html
88
- <p slInlineMessage>Entre 8 e 64 caracteres.</p>
89
- <p slInlineMessage tone="success">Nome de usuário disponível.</p>
90
- <p slInlineMessage tone="danger">Este e-mail já está cadastrado.</p>
88
+ <p slInlineMessage>Between 8 and 64 characters.</p>
89
+ <p slInlineMessage tone="success">Username available.</p>
90
+ <p slInlineMessage tone="danger">This email is already registered.</p>
91
91
  ```
92
92
 
93
93
  ### The step the message sits at
@@ -114,7 +114,7 @@ Excerpt — not a complete module
114
114
  [loading]="state() === 'checking'"
115
115
  [tone]="state() === 'free' ? 'success' : 'secondary'"
116
116
  >
117
- {{ state() === 'checking' ? 'Verificando disponibilidade…' : 'Nome disponível.' }}
117
+ {{ state() === 'checking' ? 'Checking availability…' : 'Name available.' }}
118
118
  </p>
119
119
  ```
120
120
 
@@ -125,9 +125,9 @@ The three attributes that make an error reach a reader: aria-invalid on the cont
125
125
  Excerpt — not a complete module
126
126
 
127
127
  ```html
128
- <label for="cnpj">CNPJ</label>
129
- <input id="cnpj" aria-invalid="true" [attr.aria-errormessage]="message.messageId" />
130
- <p slInlineMessage #message="slInlineMessage" tone="danger">Faltam dois dígitos.</p>
128
+ <label for="ein">EIN</label>
129
+ <input id="ein" aria-invalid="true" [attr.aria-errormessage]="message.messageId" />
130
+ <p slInlineMessage #message="slInlineMessage" tone="danger">Two digits are missing.</p>
131
131
  ```
132
132
 
133
133
  ### What a reader hears, and when
@@ -139,7 +139,7 @@ Excerpt — not a complete module
139
139
  ```html
140
140
  <!-- role="status" on the message itself, which implies aria-live and
141
141
  aria-atomic. There are no controls inside it to keep out of the region. -->
142
- <p slInlineMessage live="polite" tone="success">Alterações salvas.</p>
142
+ <p slInlineMessage live="polite" tone="success">Changes saved.</p>
143
143
  ```
144
144
 
145
145
  ### Holding the line open
@@ -160,7 +160,7 @@ A German compound over three lines, a container digest with no break opportunity
160
160
  Excerpt — not a complete module
161
161
 
162
162
  ```html
163
- <p slInlineMessage>Aceitamos cartão, boleto e Pix. <a slLink href="/tarifas">Ver tarifas</a></p>
163
+ <p slInlineMessage>We accept card, ACH transfer and Zelle. <a slLink href="/fees">See fees</a></p>
164
164
  ```
165
165
 
166
166
  ### Composition and escape hatches
@@ -172,22 +172,22 @@ Excerpt — not a complete module
172
172
  ```ts
173
173
  providers: [
174
174
  provideInlineMessageDefaults({
175
- prefixes: { danger: 'Erro:', warning: 'Atenção:' },
175
+ prefixes: { danger: 'Error:', warning: 'Warning:' },
176
176
  }),
177
177
  ];
178
178
  ```
179
179
 
180
180
  ### What a reader hears before the message
181
181
 
182
- Turn a screen reader on and read the three rows: the severity is a word, not only a colour and a silhouette, and it is the same word wherever the message is announced.
182
+ Turn a screen reader on and read the three rows: the severity is a word, not only a color and a silhouette, and it is the same word wherever the message is announced.
183
183
 
184
184
  Excerpt — not a complete module
185
185
 
186
186
  ```html
187
- <!-- Heard as “Error: Informe um CNPJ válido.” -->
188
- <p slInlineMessage tone="danger">Informe um CNPJ válido.</p>
187
+ <!-- Heard as “Error: Enter a valid EIN.” -->
188
+ <p slInlineMessage tone="danger">Enter a valid EIN.</p>
189
189
 
190
190
  <!-- One message says its own word; the empty string removes it entirely. -->
191
- <p slInlineMessage tone="danger" prefix="Erro:">Informe um CNPJ válido.</p>
192
- <p slInlineMessage tone="danger" prefix="">Erro: informe um CNPJ válido.</p>
191
+ <p slInlineMessage tone="danger" prefix="Error:">Enter a valid EIN.</p>
192
+ <p slInlineMessage tone="danger" prefix="">Error: enter a valid EIN.</p>
193
193
  ```
package/docs/inline.json CHANGED
@@ -102,7 +102,7 @@
102
102
  "The directive selector is an attribute, so the element is always the consumer’s. Write ul when the items are list items.",
103
103
  "There is no input that reverses the items. Visual order stays DOM order, which is what WCAG 2.2 SC 1.3.2 asks for (technique C27, failure F1) and what keeps the Tab order matching the page.",
104
104
  "Wrapping is the default because a row that cannot wrap has one answer to a narrow container: overflow it. Asking for nowrap is asking for that, and WCAG 1.4.10 Reflow is what it costs.",
105
- "baseline is the alignment for items that carry text of different sizes. It puts the type on one line where centring only puts the boxes there."
105
+ "baseline is the alignment for items that carry text of different sizes. It puts the type on one line where centering only puts the boxes there."
106
106
  ]
107
107
  }
108
108
  },
package/docs/inline.md CHANGED
@@ -38,7 +38,7 @@ Excerpt — not a complete module
38
38
  - The directive selector is an attribute, so the element is always the consumer’s. Write ul when the items are list items.
39
39
  - There is no input that reverses the items. Visual order stays DOM order, which is what WCAG 2.2 SC 1.3.2 asks for (technique C27, failure F1) and what keeps the Tab order matching the page.
40
40
  - Wrapping is the default because a row that cannot wrap has one answer to a narrow container: overflow it. Asking for nowrap is asking for that, and WCAG 1.4.10 Reflow is what it costs.
41
- - baseline is the alignment for items that carry text of different sizes. It puts the type on one line where centring only puts the boxes there.
41
+ - baseline is the alignment for items that carry text of different sizes. It puts the type on one line where centering only puts the boxes there.
42
42
 
43
43
  ## Tokens
44
44
 
package/docs/kbd.json CHANGED
@@ -129,7 +129,7 @@
129
129
  "type": "'raised' | 'outline' | 'soft' | 'plain'",
130
130
  "defaultValue": "raised",
131
131
  "appliesTo": "slKbd, slShortcut",
132
- "description": "raised is a key with a bottom edge, outline owns no ground, soft is the tinted chip, plain takes the colour of the text it sits in"
132
+ "description": "raised is a key with a bottom edge, outline owns no ground, soft is the tinted chip, plain takes the color of the text it sits in"
133
133
  },
134
134
  {
135
135
  "name": "disabled",
@@ -312,7 +312,7 @@
312
312
  {
313
313
  "id": "context",
314
314
  "title": "Where a shortcut actually lives",
315
- "note": "A menu, where the label takes the room and the shortcut takes the end of the row. plain inherits the row’s colour, so a row that dims dims its shortcut with no state to set.",
315
+ "note": "A menu, where the label takes the room and the shortcut takes the end of the row. plain inherits the row’s color, so a row that dims dims its shortcut with no state to set.",
316
316
  "language": "html",
317
317
  "source": "<li>\n <span>Open command palette</span>\n <kbd slShortcut keys=\"mod+k\" variant=\"plain\"></kbd>\n</li>\n",
318
318
  "verdict": "excerpt"
package/docs/kbd.md CHANGED
@@ -40,7 +40,7 @@ Excerpt — not a complete module
40
40
  | `keys` | `string` | — | slShortcut | The whole combination: + joins keys pressed together, whitespace joins the steps of a sequence |
41
41
  | `platform` | `'auto' \| 'mac' \| 'windows' \| 'linux' \| 'other'` | auto | slKbd, slShortcut | Which keyboard the legends are drawn for. auto reads the browser and never the server, so a server-rendered application states it through provideKbdDefaults |
42
42
  | `size` | `'xs' \| 'sm' \| 'md' \| 'lg' \| 'inherit'` | md | slKbd, slShortcut | xs to lg are fixed heights of 16, 20, 24 and 28 pixels whose legend answers density; inherit reads the text around the key and stays inside its line |
43
- | `variant` | `'raised' \| 'outline' \| 'soft' \| 'plain'` | raised | slKbd, slShortcut | raised is a key with a bottom edge, outline owns no ground, soft is the tinted chip, plain takes the colour of the text it sits in |
43
+ | `variant` | `'raised' \| 'outline' \| 'soft' \| 'plain'` | raised | slKbd, slShortcut | raised is a key with a bottom edge, outline owns no ground, soft is the tinted chip, plain takes the color of the text it sits in |
44
44
  | `disabled` | `boolean` | false | slKbd, slShortcut | Dims the key without writing aria-disabled, which kbd may not carry. The item the shortcut belongs to owns the semantics |
45
45
  | `separator` | `string` | + | slShortcut | Between two simultaneous keys. A Mac joins with nothing whatever this says |
46
46
  | `messages` | `PartialMessages<KeysMessages>` | — | slKbd, slShortcut | Words laid over the keys catalog of the language in force, key by key: legends.*, names.*, and then — the word between two steps of a sequence, read aloud |
@@ -141,7 +141,7 @@ Excerpt — not a complete module
141
141
 
142
142
  ### Where a shortcut actually lives
143
143
 
144
- A menu, where the label takes the room and the shortcut takes the end of the row. plain inherits the row’s colour, so a row that dims dims its shortcut with no state to set.
144
+ A menu, where the label takes the room and the shortcut takes the end of the row. plain inherits the row’s color, so a row that dims dims its shortcut with no state to set.
145
145
 
146
146
  Excerpt — not a complete module
147
147