@slotted/react 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 (362) hide show
  1. package/dist/{app-shell-CXlO6z0w.js → app-shell-ClwskWBN.js} +1 -1
  2. package/dist/app-shell.js +2 -2
  3. package/dist/docs/AGENTS.snippet.md +1 -1
  4. package/dist/docs/accordion.json +5 -5
  5. package/dist/docs/accordion.md +11 -11
  6. package/dist/docs/action-bar.json +19 -19
  7. package/dist/docs/action-bar.md +29 -29
  8. package/dist/docs/action-sheet.json +5 -5
  9. package/dist/docs/action-sheet.md +15 -15
  10. package/dist/docs/alert.json +11 -11
  11. package/dist/docs/alert.md +17 -17
  12. package/dist/docs/app-shell.examples.md +8 -8
  13. package/dist/docs/app-shell.json +11 -11
  14. package/dist/docs/app-shell.md +2 -2
  15. package/dist/docs/attachment.json +1 -1
  16. package/dist/docs/attachment.md +1 -1
  17. package/dist/docs/avatar-group.json +1 -1
  18. package/dist/docs/avatar-group.md +1 -1
  19. package/dist/docs/avatar.json +10 -10
  20. package/dist/docs/avatar.md +9 -9
  21. package/dist/docs/badge.json +5 -5
  22. package/dist/docs/badge.md +5 -5
  23. package/dist/docs/breadcrumb.json +2 -2
  24. package/dist/docs/breadcrumb.md +2 -2
  25. package/dist/docs/button-group.json +1 -1
  26. package/dist/docs/button-group.md +1 -1
  27. package/dist/docs/button.json +11 -11
  28. package/dist/docs/button.md +7 -7
  29. package/dist/docs/calendar.json +4 -4
  30. package/dist/docs/calendar.md +3 -3
  31. package/dist/docs/card.json +2 -2
  32. package/dist/docs/card.md +2 -2
  33. package/dist/docs/carousel.json +11 -11
  34. package/dist/docs/carousel.md +12 -12
  35. package/dist/docs/chart.examples.md +41 -41
  36. package/dist/docs/chart.json +28 -28
  37. package/dist/docs/chart.md +4 -4
  38. package/dist/docs/checkbox-group.examples.md +12 -12
  39. package/dist/docs/checkbox-group.json +6 -6
  40. package/dist/docs/checkbox-group.md +1 -1
  41. package/dist/docs/checkbox.examples.md +8 -8
  42. package/dist/docs/checkbox.json +7 -7
  43. package/dist/docs/checkbox.md +4 -4
  44. package/dist/docs/code-block.json +1 -1
  45. package/dist/docs/code-block.md +1 -1
  46. package/dist/docs/collapsible.json +12 -12
  47. package/dist/docs/collapsible.md +21 -21
  48. package/dist/docs/color-picker.json +25 -25
  49. package/dist/docs/color-picker.md +15 -15
  50. package/dist/docs/column-manager.json +1 -1
  51. package/dist/docs/column-manager.md +1 -1
  52. package/dist/docs/combobox.json +1 -1
  53. package/dist/docs/combobox.md +1 -1
  54. package/dist/docs/context-menu.json +1 -1
  55. package/dist/docs/context-menu.md +1 -1
  56. package/dist/docs/currency-field.examples.md +1 -1
  57. package/dist/docs/currency-field.json +5 -5
  58. package/dist/docs/currency-field.md +4 -4
  59. package/dist/docs/dashboard-grid.json +1 -1
  60. package/dist/docs/data-grid.json +2 -2
  61. package/dist/docs/data-grid.md +1 -1
  62. package/dist/docs/data-grid.props.md +1 -1
  63. package/dist/docs/date-field.json +4 -4
  64. package/dist/docs/date-field.md +9 -9
  65. package/dist/docs/date-picker.json +1 -1
  66. package/dist/docs/date-range-picker.json +1 -1
  67. package/dist/docs/datetime-field.json +3 -3
  68. package/dist/docs/datetime-field.md +7 -7
  69. package/dist/docs/datetime-picker.json +1 -1
  70. package/dist/docs/datetime-range-picker.examples.md +2 -2
  71. package/dist/docs/datetime-range-picker.json +3 -3
  72. package/dist/docs/datetime-range-picker.md +2 -2
  73. package/dist/docs/description-list.json +5 -5
  74. package/dist/docs/description-list.md +4 -4
  75. package/dist/docs/detail-panel.json +9 -9
  76. package/dist/docs/detail-panel.md +11 -11
  77. package/dist/docs/dialog.examples.md +5 -5
  78. package/dist/docs/dialog.json +12 -12
  79. package/dist/docs/dialog.md +4 -4
  80. package/dist/docs/dialog.props.md +2 -2
  81. package/dist/docs/drawer.examples.md +14 -14
  82. package/dist/docs/drawer.json +8 -8
  83. package/dist/docs/drawer.md +1 -1
  84. package/dist/docs/entity-picker.json +1 -1
  85. package/dist/docs/entity-picker.md +2 -2
  86. package/dist/docs/event-calendar.examples.md +3 -3
  87. package/dist/docs/event-calendar.json +5 -5
  88. package/dist/docs/event-calendar.md +2 -2
  89. package/dist/docs/field-group.json +5 -5
  90. package/dist/docs/field-group.md +9 -9
  91. package/dist/docs/field.examples.md +3 -3
  92. package/dist/docs/field.json +4 -4
  93. package/dist/docs/field.md +1 -1
  94. package/dist/docs/form.json +6 -6
  95. package/dist/docs/form.md +10 -10
  96. package/dist/docs/fullscreen.json +3 -3
  97. package/dist/docs/fullscreen.md +6 -6
  98. package/dist/docs/guidelines/async-feedback.md +2 -2
  99. package/dist/docs/guidelines/builders.md +1 -1
  100. package/dist/docs/guidelines/composition.md +4 -4
  101. package/dist/docs/guidelines/conversations.md +1 -1
  102. package/dist/docs/guidelines/index.md +2 -2
  103. package/dist/docs/guidelines/layout-alignment.md +5 -5
  104. package/dist/docs/guidelines/overviews.md +3 -3
  105. package/dist/docs/guidelines/own-elements.md +7 -7
  106. package/dist/docs/guidelines/record-pages.md +1 -1
  107. package/dist/docs/highlight.json +11 -11
  108. package/dist/docs/highlight.md +18 -18
  109. package/dist/docs/icon.json +2 -2
  110. package/dist/docs/icon.md +2 -2
  111. package/dist/docs/image.json +3 -3
  112. package/dist/docs/image.md +3 -3
  113. package/dist/docs/import-export-center.json +25 -25
  114. package/dist/docs/import-export-center.md +21 -21
  115. package/dist/docs/inline-message.json +14 -14
  116. package/dist/docs/inline-message.md +20 -20
  117. package/dist/docs/inline.json +1 -1
  118. package/dist/docs/inline.md +1 -1
  119. package/dist/docs/kbd.json +2 -2
  120. package/dist/docs/kbd.md +2 -2
  121. package/dist/docs/link.json +7 -7
  122. package/dist/docs/link.md +7 -7
  123. package/dist/docs/list-item.json +1 -1
  124. package/dist/docs/list-item.md +1 -1
  125. package/dist/docs/list.json +2 -2
  126. package/dist/docs/list.md +1 -1
  127. package/dist/docs/listbox.json +1 -1
  128. package/dist/docs/listbox.md +1 -1
  129. package/dist/docs/loading-overlay.json +2 -2
  130. package/dist/docs/loading-overlay.md +2 -2
  131. package/dist/docs/media-viewer.json +1 -1
  132. package/dist/docs/media-viewer.md +1 -1
  133. package/dist/docs/message-scroller.json +1 -1
  134. package/dist/docs/message-scroller.md +1 -1
  135. package/dist/docs/message.json +11 -11
  136. package/dist/docs/message.md +17 -17
  137. package/dist/docs/multi-select.json +1 -1
  138. package/dist/docs/notification-center.json +18 -18
  139. package/dist/docs/notification-center.md +25 -22
  140. package/dist/docs/number-field.examples.md +4 -4
  141. package/dist/docs/number-field.json +3 -3
  142. package/dist/docs/otp-input.json +9 -9
  143. package/dist/docs/otp-input.md +12 -12
  144. package/dist/docs/page-header.json +9 -9
  145. package/dist/docs/page-header.md +23 -23
  146. package/dist/docs/pagination.json +2 -2
  147. package/dist/docs/pagination.md +1 -1
  148. package/dist/docs/popover.examples.md +1 -1
  149. package/dist/docs/popover.json +3 -3
  150. package/dist/docs/popover.md +1 -1
  151. package/dist/docs/progress-indicator.json +4 -4
  152. package/dist/docs/progress-indicator.md +4 -4
  153. package/dist/docs/prompt-composer.json +3 -3
  154. package/dist/docs/prompt-composer.md +4 -4
  155. package/dist/docs/prose.json +1 -1
  156. package/dist/docs/prose.md +1 -1
  157. package/dist/docs/radio-group.examples.md +16 -16
  158. package/dist/docs/radio-group.json +9 -9
  159. package/dist/docs/radio-group.md +2 -2
  160. package/dist/docs/rating.json +18 -18
  161. package/dist/docs/rating.md +19 -23
  162. package/dist/docs/result-state.json +13 -13
  163. package/dist/docs/result-state.md +18 -20
  164. package/dist/docs/saved-views.json +1 -1
  165. package/dist/docs/scroll-area.json +5 -5
  166. package/dist/docs/scroll-area.md +6 -6
  167. package/dist/docs/section.json +6 -6
  168. package/dist/docs/section.md +11 -11
  169. package/dist/docs/segmented-control.json +15 -15
  170. package/dist/docs/segmented-control.md +39 -39
  171. package/dist/docs/skeleton.json +1 -1
  172. package/dist/docs/skeleton.md +1 -1
  173. package/dist/docs/skills/build-own-element/SKILL.md +3 -3
  174. package/dist/docs/skills/compose-screen/SKILL.md +2 -2
  175. package/dist/docs/skills/index.md +2 -2
  176. package/dist/docs/skills/review-screen/SKILL.md +3 -3
  177. package/dist/docs/skills/theme-app/SKILL.md +9 -9
  178. package/dist/docs/skills/waiting-states/SKILL.md +1 -1
  179. package/dist/docs/slider.json +9 -9
  180. package/dist/docs/slider.md +19 -19
  181. package/dist/docs/sparkline.json +8 -8
  182. package/dist/docs/sparkline.md +6 -6
  183. package/dist/docs/split-button.json +11 -11
  184. package/dist/docs/split-button.md +27 -27
  185. package/dist/docs/stack.json +1 -1
  186. package/dist/docs/stack.md +1 -1
  187. package/dist/docs/stat-card.json +3 -3
  188. package/dist/docs/stat-card.md +2 -2
  189. package/dist/docs/status-indicator.json +8 -8
  190. package/dist/docs/status-indicator.md +5 -5
  191. package/dist/docs/stepper.json +4 -4
  192. package/dist/docs/stepper.md +4 -4
  193. package/dist/docs/switch.json +5 -5
  194. package/dist/docs/switch.md +11 -7
  195. package/dist/docs/table-of-contents.json +9 -9
  196. package/dist/docs/table-of-contents.md +13 -13
  197. package/dist/docs/table.examples.md +1 -1
  198. package/dist/docs/table.json +1 -1
  199. package/dist/docs/tabs.json +1 -1
  200. package/dist/docs/tabs.md +1 -1
  201. package/dist/docs/tag.json +21 -21
  202. package/dist/docs/tag.md +18 -18
  203. package/dist/docs/tags-input.json +1 -1
  204. package/dist/docs/tags-input.md +1 -1
  205. package/dist/docs/text-field.examples.md +5 -5
  206. package/dist/docs/text-field.json +5 -5
  207. package/dist/docs/text-field.md +1 -1
  208. package/dist/docs/textarea.examples.md +4 -4
  209. package/dist/docs/textarea.json +2 -2
  210. package/dist/docs/time-field.json +3 -3
  211. package/dist/docs/time-field.md +7 -7
  212. package/dist/docs/time-picker.json +4 -4
  213. package/dist/docs/time-picker.md +7 -7
  214. package/dist/docs/time-range-picker.json +4 -4
  215. package/dist/docs/time-range-picker.md +5 -5
  216. package/dist/docs/toast.json +5 -5
  217. package/dist/docs/toast.md +5 -5
  218. package/dist/docs/toggle-group.json +13 -13
  219. package/dist/docs/toggle-group.md +38 -38
  220. package/dist/docs/toggle.json +8 -8
  221. package/dist/docs/toggle.md +8 -8
  222. package/dist/docs/tokens.md +15 -15
  223. package/dist/docs/toolbar.json +11 -11
  224. package/dist/docs/toolbar.md +28 -28
  225. package/dist/docs/tooltip.json +3 -3
  226. package/dist/docs/tooltip.md +3 -3
  227. package/dist/docs/top-navigation.examples.md +13 -13
  228. package/dist/docs/top-navigation.json +10 -10
  229. package/dist/docs/top-navigation.md +7 -7
  230. package/dist/docs/tour.json +8 -8
  231. package/dist/docs/tour.md +5 -5
  232. package/dist/docs/typography.json +2 -2
  233. package/dist/docs/typography.md +2 -2
  234. package/dist/docs/upload.examples.md +5 -5
  235. package/dist/docs/upload.json +10 -10
  236. package/dist/docs/upload.md +3 -3
  237. package/dist/{form-Im9lGi45.js → form-DnV8ndwm.js} +1 -1
  238. package/dist/form.js +1 -1
  239. package/dist/index.js +8 -8
  240. package/dist/{rating-Cjrwmxyw.js → rating-BtrkTAi0.js} +1 -1
  241. package/dist/rating.js +1 -1
  242. package/dist/{side-navigation-CvIGfGjZ.js → side-navigation-DNMpckRs.js} +1 -1
  243. package/dist/side-navigation.js +1 -1
  244. package/dist/{slider-DuJGh0pf.js → slider-CU89H3i0.js} +1 -1
  245. package/dist/slider.js +1 -1
  246. package/dist/styles/app-shell.css +1 -1
  247. package/dist/styles/index.css +1 -1
  248. package/dist/styles/side-navigation.css +1 -1
  249. package/dist/styles/top-navigation.css +1 -1
  250. package/dist/styles.css +1 -1
  251. package/dist/{top-navigation-D_Jt0jNw.js → top-navigation-C73WDqLg.js} +1 -1
  252. package/dist/top-navigation.js +1 -1
  253. package/dist/types/alert/alert.types.d.ts +2 -2
  254. package/dist/types/alert/alert.types.d.ts.map +1 -1
  255. package/dist/types/app-shell/app-shell-demo/atrio.d.ts.map +1 -1
  256. package/dist/types/app-shell/app-shell-demo/aurora.d.ts +6 -6
  257. package/dist/types/app-shell/app-shell-demo/aurora.d.ts.map +1 -1
  258. package/dist/types/app-shell/app-shell-demo/cadence.d.ts.map +1 -1
  259. package/dist/types/app-shell/app-shell-parts.d.ts +2 -2
  260. package/dist/types/app-shell/app-shell.types.d.ts +1 -1
  261. package/dist/types/app-shell/index.d.ts +2 -2
  262. package/dist/types/avatar/avatar.types.d.ts +8 -8
  263. package/dist/types/avatar/avatar.types.d.ts.map +1 -1
  264. package/dist/types/badge/badge.types.d.ts +4 -4
  265. package/dist/types/badge/badge.types.d.ts.map +1 -1
  266. package/dist/types/breadcrumb/breadcrumb-parts.d.ts +1 -1
  267. package/dist/types/button/button.constants.d.ts +1 -1
  268. package/dist/types/button-group/button-group-separator.d.ts +1 -1
  269. package/dist/types/card/card-selection.d.ts +1 -1
  270. package/dist/types/carousel/carousel-catalogue.d.ts +6 -6
  271. package/dist/types/carousel/carousel-parts.d.ts +2 -2
  272. package/dist/types/code-block/code-block.types.d.ts +1 -1
  273. package/dist/types/collapsible/collapsible.types.d.ts +1 -1
  274. package/dist/types/color-picker/color-picker.d.ts +7 -7
  275. package/dist/types/color-picker/color-picker.d.ts.map +1 -1
  276. package/dist/types/color-picker/color-picker.types.d.ts +5 -5
  277. package/dist/types/color-picker/color-picker.types.d.ts.map +1 -1
  278. package/dist/types/column-manager/column-manager.d.ts +2 -2
  279. package/dist/types/column-manager/column-manager.d.ts.map +1 -1
  280. package/dist/types/combobox/combobox-collection.d.ts +1 -1
  281. package/dist/types/combobox/combobox-defaults.d.ts +1 -1
  282. package/dist/types/command-palette/command-palette-defaults.d.ts +1 -1
  283. package/dist/types/data-grid/data-grid-context.d.ts +2 -2
  284. package/dist/types/description-list/description-list-clipboard.d.ts +1 -1
  285. package/dist/types/detail-panel/detail-panel-demo.d.ts.map +1 -1
  286. package/dist/types/dialog/dialog.types.d.ts +1 -1
  287. package/dist/types/drawer/drawer.types.d.ts +1 -1
  288. package/dist/types/entity-picker/entity-picker.d.ts +1 -1
  289. package/dist/types/field/field-parts.d.ts +1 -1
  290. package/dist/types/field/field.d.ts +1 -1
  291. package/dist/types/field/field.types.d.ts +1 -1
  292. package/dist/types/form/form.d.ts +1 -1
  293. package/dist/types/form/form.types.d.ts +1 -1
  294. package/dist/types/highlight/highlight.types.d.ts +1 -1
  295. package/dist/types/icon/glyph.d.ts +1 -1
  296. package/dist/types/icon/icon.d.ts +2 -2
  297. package/dist/types/icon/icon.types.d.ts +1 -1
  298. package/dist/types/icon/icon.types.d.ts.map +1 -1
  299. package/dist/types/image/image.d.ts +1 -1
  300. package/dist/types/import-export-center/import-export-center-defaults.d.ts +3 -3
  301. package/dist/types/import-export-center/import-export-center-demo.d.ts +2 -2
  302. package/dist/types/import-export-center/import-export-center-demo.d.ts.map +1 -1
  303. package/dist/types/import-export-center/import-export-center.types.d.ts +3 -3
  304. package/dist/types/import-export-center/use-job-toasts.d.ts +3 -3
  305. package/dist/types/inline/inline.d.ts +1 -1
  306. package/dist/types/inline-message/inline-message-defaults.d.ts +1 -1
  307. package/dist/types/inline-message/inline-message.d.ts +2 -2
  308. package/dist/types/inline-message/inline-message.types.d.ts +1 -1
  309. package/dist/types/inline-message/inline-message.types.d.ts.map +1 -1
  310. package/dist/types/kbd/kbd.types.d.ts +1 -1
  311. package/dist/types/list/list.types.d.ts +1 -1
  312. package/dist/types/listbox/listbox-defaults.d.ts +1 -1
  313. package/dist/types/listbox/listbox-parts.d.ts +2 -2
  314. package/dist/types/menu/menu-defaults.d.ts +1 -1
  315. package/dist/types/menu/menu-parts.d.ts +1 -1
  316. package/dist/types/message/message-demo.d.ts +2 -2
  317. package/dist/types/message/message-demo.d.ts.map +1 -1
  318. package/dist/types/message-scroller/message-scroller.d.ts +1 -1
  319. package/dist/types/notification-center/notification-center-defaults.d.ts +2 -2
  320. package/dist/types/notification-center/notification-center-demo.d.ts +1 -1
  321. package/dist/types/notification-center/notification-center-demo.d.ts.map +1 -1
  322. package/dist/types/notification-center/notification-center.types.d.ts +2 -2
  323. package/dist/types/otp-input/otp-input.d.ts +1 -1
  324. package/dist/types/page/page-demo.d.ts +2 -2
  325. package/dist/types/page/page-demo.d.ts.map +1 -1
  326. package/dist/types/progress-indicator/loader.d.ts +1 -1
  327. package/dist/types/progress-indicator/progress-circle.d.ts +1 -1
  328. package/dist/types/progress-indicator/progress-indicator.types.d.ts +1 -1
  329. package/dist/types/rating/rating-summary.d.ts +1 -1
  330. package/dist/types/rating/rating.types.d.ts +1 -1
  331. package/dist/types/result-state/result-state-demo.d.ts +1 -1
  332. package/dist/types/result-state/result-state.types.d.ts +1 -1
  333. package/dist/types/segmented-control/segmented-control.types.d.ts +1 -1
  334. package/dist/types/select/select.types.d.ts +1 -1
  335. package/dist/types/side-navigation/side-navigation.d.ts +1 -1
  336. package/dist/types/stat-card/stat-card.d.ts +1 -1
  337. package/dist/types/status-indicator/status-indicator.types.d.ts +3 -3
  338. package/dist/types/status-indicator/status-indicator.types.d.ts.map +1 -1
  339. package/dist/types/switch/switch.types.d.ts +1 -1
  340. package/dist/types/table/table-parts.d.ts +1 -1
  341. package/dist/types/table/table.types.d.ts +1 -1
  342. package/dist/types/table-of-contents/table-of-contents-demo.d.ts.map +1 -1
  343. package/dist/types/tabs/tabs.types.d.ts +2 -2
  344. package/dist/types/tag/tag.types.d.ts +3 -3
  345. package/dist/types/tag/tag.types.d.ts.map +1 -1
  346. package/dist/types/tags-input/tags-input.d.ts +1 -1
  347. package/dist/types/theme/theme-scope.d.ts +2 -2
  348. package/dist/types/theme/theme-scope.d.ts.map +1 -1
  349. package/dist/types/toast/toast-defaults.d.ts +1 -1
  350. package/dist/types/toast/toast.types.d.ts +2 -2
  351. package/dist/types/toast/toast.types.d.ts.map +1 -1
  352. package/dist/types/toggle/toggle.types.d.ts +1 -1
  353. package/dist/types/toggle-group/toggle-group.types.d.ts +1 -1
  354. package/dist/types/tooltip/tooltip-defaults.d.ts +1 -1
  355. package/dist/types/tour/tour.types.d.ts +2 -2
  356. package/dist/types/typography/text.d.ts +1 -1
  357. package/dist/types/typography/typography.attributes.d.ts +1 -1
  358. package/dist/types/typography/typography.types.d.ts +1 -1
  359. package/dist/types/typography/typography.types.d.ts.map +1 -1
  360. package/dist/{wizard-CpYwQGQ-.js → wizard-CmEJK55_.js} +2 -2
  361. package/dist/wizard.js +1 -1
  362. package/package.json +18 -6
@@ -91,7 +91,7 @@ Excerpt — not a complete module
91
91
  - Each header holds a visually hidden status, so what a reader hears is "Cart, Step 2 of 4, current" rather than "2". The marker is aria-hidden for the same reason: the number is the picture, and the words are the announcement.
92
92
  - A panel is a group labelled by its own header, related through aria-controls and aria-labelledby without either claiming to be a tab, and it takes tabindex="-1" so a consumer moving focus after a step change has somewhere to put it.
93
93
  - The arrows reach every header, exactly where Tab reaches. They were added on top of the tab sequence rather than replacing it with a roving tab stop — that is the model a tablist has — so a step a linear flow has not opened is still one a reader is allowed to find.
94
- - No status depends on colour: a complete step fills and draws a check, a failed one fills and draws a cross, the current one is a ring, and a pending one is an outline whose ring holds the 3:1 a non-text element needs.
94
+ - No status depends on color: a complete step fills and draws a check, a failed one fills and draws a cross, the current one is a ring, and a pending one is an outline whose ring holds the 3:1 a non-text element needs.
95
95
 
96
96
  ## Tokens
97
97
 
@@ -101,7 +101,7 @@ Excerpt — not a complete module
101
101
 
102
102
  ### Which way the flow runs
103
103
 
104
- Horizontal is a row of equal columns, so five steps divide the width evenly however long their names are. Vertical runs the connector down the marker centre and leaves room for a panel under each step.
104
+ Horizontal is a row of equal columns, so five steps divide the width evenly however long their names are. Vertical runs the connector down the marker center and leaves room for a panel under each step.
105
105
 
106
106
  Excerpt — not a complete module
107
107
 
@@ -113,7 +113,7 @@ Excerpt — not a complete module
113
113
 
114
114
  ### The five things a step can be
115
115
 
116
- Each status is a fill and a shape, never a colour alone: an outline for pending, a ring for current, a filled disc with a check for complete, a red disc with a cross for a failure, and a grey outline for a step the flow closed.
116
+ Each status is a fill and a shape, never a color alone: an outline for pending, a ring for current, a filled disc with a check for complete, a red disc with a cross for a failure, and a grey outline for a step the flow closed.
117
117
 
118
118
  Excerpt — not a complete module
119
119
 
@@ -151,7 +151,7 @@ Excerpt — not a complete module
151
151
 
152
152
  ### Where the label sits
153
153
 
154
- end puts the name beside the marker and leaves the connector whatever the name does not take; bottom centres the marker over its own column, which is what a row of five long names needs.
154
+ end puts the name beside the marker and leaves the connector whatever the name does not take; bottom centers the marker over its own column, which is what a row of five long names needs.
155
155
 
156
156
  Excerpt — not a complete module
157
157
 
@@ -347,7 +347,7 @@
347
347
  "title": "Playground",
348
348
  "note": "One switch with every axis on it, driven by the controls below the canvas. Click the label as well as the pill: the label names the control and doubles its target.",
349
349
  "language": "tsx",
350
- "source": "<Switch defaultChecked description=\"A fatura é debitada no dia 5 de cada mês.\" name=\"autopay\">\n Cobrança automática\n</Switch>;\n",
350
+ "source": "<Switch\n defaultChecked\n description=\"The invoice is charged on the 5th of each month.\"\n name=\"autopay\"\n>\n Autopay\n</Switch>;\n",
351
351
  "verdict": "excerpt"
352
352
  },
353
353
  {
@@ -361,7 +361,7 @@
361
361
  {
362
362
  "id": "indicator",
363
363
  "title": "The mark inside the thumb",
364
- "note": "On draws a check and off draws nothing, so the state is readable without colour and without comparing the thumb’s position to a switch you cannot see.",
364
+ "note": "On draws a check and off draws nothing, so the state is readable without color and without comparing the thumb’s position to a switch you cannot see.",
365
365
  "language": "tsx",
366
366
  "source": "import { useState } from 'react';\nimport { Stack } from '@slotted/react/stack';\nimport { Switch } from '@slotted/react/switch';\n\nexport default function SwitchIndicator() {\n const [open, setOpen] = useState(true);\n\n return (\n <Stack gap={5}>\n <Switch defaultChecked>Accept backorders</Switch>\n <Switch\n checked={open}\n indicator=\"none\"\n onCheckedChange={setOpen}\n description={\n open ? 'Open: customers can place orders.' : 'Closed: customers see a maintenance page.'\n }\n >\n Storefront\n </Switch>\n </Stack>\n );\n}\n",
367
367
  "verdict": "example"
@@ -379,13 +379,13 @@
379
379
  "title": "Help text under the label",
380
380
  "note": "It sits outside the label, so it describes the switch rather than naming it — and so a paragraph of help text does not change a setting when it is clicked.",
381
381
  "language": "tsx",
382
- "source": "<Switch defaultChecked description=\"A fatura é debitada no dia 5 de cada mês.\">\n Cobrança automática\n</Switch>;\n",
382
+ "source": "<Switch defaultChecked description=\"The invoice is charged on the 5th of each month.\">\n Autopay\n</Switch>;\n",
383
383
  "verdict": "excerpt"
384
384
  },
385
385
  {
386
386
  "id": "states",
387
387
  "title": "The states the pill paints",
388
- "note": "Read-only goes hollow and keeps its colour, because the value is real and still submitted; disabled goes grey and its knob goes with it, so a locked setting still says which way it is set.",
388
+ "note": "Read-only goes hollow and keeps its color, because the value is real and still submitted; disabled goes grey and its knob goes with it, so a locked setting still says which way it is set.",
389
389
  "language": "tsx",
390
390
  "source": "import { Stack } from '@slotted/react/stack';\nimport { Switch } from '@slotted/react/switch';\n\nexport default function SwitchStates() {\n return (\n <Stack gap={5}>\n <Switch defaultChecked readOnly description=\"Your organization's security policy sets this.\">\n Two-step sign-in\n </Switch>\n <Switch defaultChecked disabled description=\"Included in the Business plan.\">\n Audit log\n </Switch>\n <Switch disabled description=\"Available on the Enterprise plan.\">\n Single sign-on\n </Switch>\n </Stack>\n );\n}\n",
391
391
  "verdict": "example"
@@ -427,7 +427,7 @@
427
427
  "title": "The keyboard",
428
428
  "note": "Tab reaches the control and Space toggles it, both from the platform. Enter is deliberately not bound: inside a form it submits, and a switch that stole it would break the form.",
429
429
  "language": "tsx",
430
- "source": "<Switch\n onCheckedChange={(next, request) => {\n // \"pointer\", \"keyboard\" or \"programmatic\".\n if (request.reason === 'pointer' && next) request.cancel();\n }}\n>\n Receber a nota fiscal\n</Switch>;\n",
430
+ "source": "<Switch\n onCheckedChange={(next, request) => {\n // \"pointer\", \"keyboard\" or \"programmatic\".\n if (request.reason === 'pointer' && next) request.cancel();\n }}\n>\n Receive the invoice\n</Switch>;\n",
431
431
  "verdict": "excerpt"
432
432
  },
433
433
  {
@@ -103,8 +103,12 @@ One switch with every axis on it, driven by the controls below the canvas. Click
103
103
  Excerpt — not a complete module
104
104
 
105
105
  ```tsx
106
- <Switch defaultChecked description="A fatura é debitada no dia 5 de cada mês." name="autopay">
107
- Cobrança automática
106
+ <Switch
107
+ defaultChecked
108
+ description="The invoice is charged on the 5th of each month."
109
+ name="autopay"
110
+ >
111
+ Autopay
108
112
  </Switch>;
109
113
  ```
110
114
 
@@ -137,7 +141,7 @@ export default function SwitchSizes() {
137
141
 
138
142
  ### The mark inside the thumb
139
143
 
140
- On draws a check and off draws nothing, so the state is readable without colour and without comparing the thumb’s position to a switch you cannot see.
144
+ On draws a check and off draws nothing, so the state is readable without color and without comparing the thumb’s position to a switch you cannot see.
141
145
 
142
146
  Example
143
147
 
@@ -198,14 +202,14 @@ It sits outside the label, so it describes the switch rather than naming it —
198
202
  Excerpt — not a complete module
199
203
 
200
204
  ```tsx
201
- <Switch defaultChecked description="A fatura é debitada no dia 5 de cada mês.">
202
- Cobrança automática
205
+ <Switch defaultChecked description="The invoice is charged on the 5th of each month.">
206
+ Autopay
203
207
  </Switch>;
204
208
  ```
205
209
 
206
210
  ### The states the pill paints
207
211
 
208
- Read-only goes hollow and keeps its colour, because the value is real and still submitted; disabled goes grey and its knob goes with it, so a locked setting still says which way it is set.
212
+ Read-only goes hollow and keeps its color, because the value is real and still submitted; disabled goes grey and its knob goes with it, so a locked setting still says which way it is set.
209
213
 
210
214
  Example
211
215
 
@@ -372,7 +376,7 @@ Excerpt — not a complete module
372
376
  if (request.reason === 'pointer' && next) request.cancel();
373
377
  }}
374
378
  >
375
- Receber a nota fiscal
379
+ Receive the invoice
376
380
  </Switch>;
377
381
  ```
378
382
 
@@ -445,7 +445,7 @@
445
445
  "title": "Playground",
446
446
  "note": "The customer record beside its list. Scroll the document and watch the marker slide to the section in view; press a link and the section lands under the top edge with focus on it. The controls below drive every axis.",
447
447
  "language": "tsx",
448
- "source": "<TableOfContents items={sections} label=\"Nesta página\" />;\n",
448
+ "source": "<TableOfContents items={sections} label=\"On this page\" />;\n",
449
449
  "verdict": "excerpt"
450
450
  },
451
451
  {
@@ -453,13 +453,13 @@
453
453
  "title": "Every part, named",
454
454
  "note": "The label above, the track on the list’s start edge, the marker on the current row, the group indented under its parent. Hover a link: the ink darkens and nothing moves. The current link is said twice, by its ink and by the marker, and never by the marker alone.",
455
455
  "language": "tsx",
456
- "source": "<TableOfContents label=\"Nesta página\">\n <TableOfContentsItem value=\"dados-gerais\">\n <TableOfContentsLink>Dados gerais</TableOfContentsLink>\n </TableOfContentsItem>\n <TableOfContentsItem value=\"enderecos\">\n <TableOfContentsLink>Endereços</TableOfContentsLink>\n <TableOfContentsGroup>\n <TableOfContentsItem value=\"faturacao\">\n <TableOfContentsLink>Faturação</TableOfContentsLink>\n </TableOfContentsItem>\n </TableOfContentsGroup>\n </TableOfContentsItem>\n</TableOfContents>;\n",
456
+ "source": "<TableOfContents label=\"On this page\">\n <TableOfContentsItem value=\"dados-gerais\">\n <TableOfContentsLink>General information</TableOfContentsLink>\n </TableOfContentsItem>\n <TableOfContentsItem value=\"enderecos\">\n <TableOfContentsLink>Addresses</TableOfContentsLink>\n <TableOfContentsGroup>\n <TableOfContentsItem value=\"faturacao\">\n <TableOfContentsLink>Billing</TableOfContentsLink>\n </TableOfContentsItem>\n </TableOfContentsGroup>\n </TableOfContentsItem>\n</TableOfContents>;\n",
457
457
  "verdict": "excerpt"
458
458
  },
459
459
  {
460
460
  "id": "source",
461
461
  "title": "Read from the document’s own headings",
462
- "note": "The returns policy is prose; nobody wrote a list for it. source points at the article, the family reads its h2 and h3 after mount, writes an id on each heading that has none — “Prazos de devolução” becomes #prazos-de-devolucao — and rebuilds the list when the article changes.",
462
+ "note": "The returns policy is prose; nobody wrote a list for it. source points at the article, the family reads its h2 and h3 after mount, writes an id on each heading that has none — “Return deadlines” becomes #return-deadlines — and rebuilds the list when the article changes.",
463
463
  "language": "tsx",
464
464
  "source": "const article = useRef<HTMLElement>(null);\n\n<TableOfContents label=\"Neste artigo\" levels={[2, 3]} source={article} />;\n<div ref={article}>\n <Prose>…</Prose>\n</div>;\n",
465
465
  "verdict": "excerpt"
@@ -477,7 +477,7 @@
477
477
  "title": "A column that stays while the document scrolls",
478
478
  "note": "sticky pins the list under the page’s chrome and gives it the rest of the viewport; with more links than fit, the panel scrolls and keeps the current link in view without moving the page. Scroll the document past the tenth section and watch the column follow.",
479
479
  "language": "tsx",
480
- "source": "<TableOfContents items={sections} label=\"Nesta página\" sticky />;\n",
480
+ "source": "<TableOfContents items={sections} label=\"On this page\" sticky />;\n",
481
481
  "verdict": "excerpt"
482
482
  },
483
483
  {
@@ -499,9 +499,9 @@
499
499
  {
500
500
  "id": "numbered",
501
501
  "title": "Clauses, numbered",
502
- "note": "A supplier contract is read by clause number. numbered draws counters per level — 2., 2.1, 2.2 — in tabular figures, so a column of numbers lines up and a reader on the phone with legal can say “cláusula 3.2” and mean the same line.",
502
+ "note": "A supplier contract is read by clause number. numbered draws counters per level — 2., 2.1, 2.2 — in tabular figures, so a column of numbers lines up and a reader on the phone with legal can say “clause 3.2” and mean the same line.",
503
503
  "language": "tsx",
504
- "source": "<TableOfContents items={clauses} label=\"Cláusulas\" numbered />;\n",
504
+ "source": "<TableOfContents items={clauses} label=\"Clauses\" numbered />;\n",
505
505
  "verdict": "excerpt"
506
506
  },
507
507
  {
@@ -525,7 +525,7 @@
525
525
  "title": "Content the family did not choose",
526
526
  "note": "A heading of eleven words wraps to three lines and stays whole; an order reference with no space breaks inside itself rather than widening the column; an Arabic heading reads from the right. The bar cuts nothing either: it scrolls.",
527
527
  "language": "tsx",
528
- "source": "<TableOfContents\n items={[\n { id: 'ambito', label: 'Âmbito de aplicação e definições utilizadas neste documento' },\n { id: 'ref', label: 'REF-2026-09-16-DEVOLUCAO-INDUSTRIAL-000482915' },\n ]}\n/>;\n",
528
+ "source": "<TableOfContents\n items={[\n { id: 'ambito', label: 'Scope and definitions used in this document' },\n { id: 'ref', label: 'REF-2026-09-16-INDUSTRIAL-RETURN-000482915' },\n ]}\n/>;\n",
529
529
  "verdict": "excerpt"
530
530
  },
531
531
  {
@@ -571,9 +571,9 @@
571
571
  {
572
572
  "id": "accessibility",
573
573
  "title": "What a screen reader hears",
574
- "note": "A navigation landmark named “Nesta página”, a list of six items, and one link announced as “current location”. After Enter the reader hears the section’s heading, because focus moved there. The collapsed trigger announces expanded and collapsed, and Escape returns to it.",
574
+ "note": "A navigation landmark named “On this page”, a list of six items, and one link announced as “current location”. After Enter the reader hears the section’s heading, because focus moved there. The collapsed trigger announces expanded and collapsed, and Escape returns to it.",
575
575
  "language": "tsx",
576
- "source": "<TableOfContents items={sections} label=\"Nesta página\" />;\n// <nav aria-labelledby=\"…-label\"> … <a aria-current=\"location\">\n",
576
+ "source": "<TableOfContents items={sections} label=\"On this page\" />;\n// <nav aria-labelledby=\"…-label\"> … <a aria-current=\"location\">\n",
577
577
  "verdict": "excerpt"
578
578
  }
579
579
  ]
@@ -14,7 +14,7 @@ import { TableOfContents, TableOfContentsItem, TableOfContentsLink, TableOfConte
14
14
  Excerpt — not a complete module
15
15
 
16
16
  ```tsx
17
- <TableOfContents items={sections} label="Nesta página" />;
17
+ <TableOfContents items={sections} label="On this page" />;
18
18
  ```
19
19
 
20
20
  ## Anatomy
@@ -107,15 +107,15 @@ The label above, the track on the list’s start edge, the marker on the current
107
107
  Excerpt — not a complete module
108
108
 
109
109
  ```tsx
110
- <TableOfContents label="Nesta página">
110
+ <TableOfContents label="On this page">
111
111
  <TableOfContentsItem value="dados-gerais">
112
- <TableOfContentsLink>Dados gerais</TableOfContentsLink>
112
+ <TableOfContentsLink>General information</TableOfContentsLink>
113
113
  </TableOfContentsItem>
114
114
  <TableOfContentsItem value="enderecos">
115
- <TableOfContentsLink>Endereços</TableOfContentsLink>
115
+ <TableOfContentsLink>Addresses</TableOfContentsLink>
116
116
  <TableOfContentsGroup>
117
117
  <TableOfContentsItem value="faturacao">
118
- <TableOfContentsLink>Faturação</TableOfContentsLink>
118
+ <TableOfContentsLink>Billing</TableOfContentsLink>
119
119
  </TableOfContentsItem>
120
120
  </TableOfContentsGroup>
121
121
  </TableOfContentsItem>
@@ -124,7 +124,7 @@ Excerpt — not a complete module
124
124
 
125
125
  ### Read from the document’s own headings
126
126
 
127
- The returns policy is prose; nobody wrote a list for it. source points at the article, the family reads its h2 and h3 after mount, writes an id on each heading that has none — “Prazos de devolução” becomes #prazos-de-devolucao — and rebuilds the list when the article changes.
127
+ The returns policy is prose; nobody wrote a list for it. source points at the article, the family reads its h2 and h3 after mount, writes an id on each heading that has none — “Return deadlines” becomes #return-deadlines — and rebuilds the list when the article changes.
128
128
 
129
129
  Excerpt — not a complete module
130
130
 
@@ -158,7 +158,7 @@ sticky pins the list under the page’s chrome and gives it the rest of the view
158
158
  Excerpt — not a complete module
159
159
 
160
160
  ```tsx
161
- <TableOfContents items={sections} label="Nesta página" sticky />;
161
+ <TableOfContents items={sections} label="On this page" sticky />;
162
162
  ```
163
163
 
164
164
  ### The bar under a page title
@@ -187,12 +187,12 @@ const phone = useMediaQuery('(max-width: 640px)');
187
187
 
188
188
  ### Clauses, numbered
189
189
 
190
- A supplier contract is read by clause number. numbered draws counters per level — 2., 2.1, 2.2 — in tabular figures, so a column of numbers lines up and a reader on the phone with legal can say “cláusula 3.2” and mean the same line.
190
+ A supplier contract is read by clause number. numbered draws counters per level — 2., 2.1, 2.2 — in tabular figures, so a column of numbers lines up and a reader on the phone with legal can say “clause 3.2” and mean the same line.
191
191
 
192
192
  Excerpt — not a complete module
193
193
 
194
194
  ```tsx
195
- <TableOfContents items={clauses} label="Cláusulas" numbered />;
195
+ <TableOfContents items={clauses} label="Clauses" numbered />;
196
196
  ```
197
197
 
198
198
  ### Three steps on the control scale
@@ -226,8 +226,8 @@ Excerpt — not a complete module
226
226
  ```tsx
227
227
  <TableOfContents
228
228
  items={[
229
- { id: 'ambito', label: 'Âmbito de aplicação e definições utilizadas neste documento' },
230
- { id: 'ref', label: 'REF-2026-09-16-DEVOLUCAO-INDUSTRIAL-000482915' },
229
+ { id: 'ambito', label: 'Scope and definitions used in this document' },
230
+ { id: 'ref', label: 'REF-2026-09-16-INDUSTRIAL-RETURN-000482915' },
231
231
  ]}
232
232
  />;
233
233
  ```
@@ -291,11 +291,11 @@ const list = useRef<TableOfContentsHandle>(null);
291
291
 
292
292
  ### What a screen reader hears
293
293
 
294
- A navigation landmark named “Nesta página”, a list of six items, and one link announced as “current location”. After Enter the reader hears the section’s heading, because focus moved there. The collapsed trigger announces expanded and collapsed, and Escape returns to it.
294
+ A navigation landmark named “On this page”, a list of six items, and one link announced as “current location”. After Enter the reader hears the section’s heading, because focus moved there. The collapsed trigger announces expanded and collapsed, and Escape returns to it.
295
295
 
296
296
  Excerpt — not a complete module
297
297
 
298
298
  ```tsx
299
- <TableOfContents items={sections} label="Nesta página" />;
299
+ <TableOfContents items={sections} label="On this page" />;
300
300
  // <nav aria-labelledby="…-label"> … <a aria-current="location">
301
301
  ```
@@ -49,7 +49,7 @@ Excerpt — not a complete module
49
49
 
50
50
  ### A stripe to carry the eye across
51
51
 
52
- Off by default, because a stripe costs a row its own state colours. It is mixed from the ink at five per cent, one step under the header band, and every state is painted over it: a striped row that is selected reads as selected.
52
+ Off by default, because a stripe costs a row its own state colors. It is mixed from the ink at five per cent, one step under the header band, and every state is painted over it: a striped row that is selected reads as selected.
53
53
 
54
54
  Example
55
55
 
@@ -867,7 +867,7 @@
867
867
  {
868
868
  "id": "striped",
869
869
  "title": "A stripe to carry the eye across",
870
- "note": "Off by default, because a stripe costs a row its own state colours. It is mixed from the ink at five per cent, one step under the header band, and every state is painted over it: a striped row that is selected reads as selected.",
870
+ "note": "Off by default, because a stripe costs a row its own state colors. It is mixed from the ink at five per cent, one step under the header band, and every state is painted over it: a striped row that is selected reads as selected.",
871
871
  "language": "tsx",
872
872
  "source": "import {\n Table,\n TableBody,\n TableCell,\n TableColumnHeader,\n TableContent,\n TableHead,\n TableRow,\n TableRowHeader,\n} from '@slotted/react/table';\n\nconst STOCK = [\n { sku: 'PRD-0412', product: 'Chai', warehouse: 'Reno', onHand: 390, reserved: 42 },\n { sku: 'PRD-0413', product: 'Chang', warehouse: 'Reno', onHand: 170, reserved: 12 },\n { sku: 'PRD-0414', product: 'Aniseed Syrup', warehouse: 'Columbus', onHand: 130, reserved: 70 },\n {\n sku: 'PRD-0415',\n product: \"Chef Anton's Cajun Seasoning\",\n warehouse: 'Savannah',\n onHand: 530,\n reserved: 0,\n },\n {\n sku: 'PRD-0416',\n product: \"Grandma's Boysenberry Spread\",\n warehouse: 'Columbus',\n onHand: 120,\n reserved: 25,\n },\n {\n sku: 'PRD-0417',\n product: 'Northwoods Cranberry Sauce',\n warehouse: 'Reno',\n onHand: 60,\n reserved: 60,\n },\n];\n\nexport default function TableStriped() {\n return (\n <Table columns={5} striped>\n <TableContent aria-label=\"Stock on hand\">\n <TableHead>\n <TableRow>\n <TableColumnHeader>SKU</TableColumnHeader>\n <TableColumnHeader>Product</TableColumnHeader>\n <TableColumnHeader>Warehouse</TableColumnHeader>\n <TableColumnHeader numeric>On hand</TableColumnHeader>\n <TableColumnHeader numeric>Reserved</TableColumnHeader>\n </TableRow>\n </TableHead>\n <TableBody>\n {STOCK.map((item) => (\n <TableRow key={item.sku} value={item.sku}>\n <TableRowHeader text=\"nowrap\">{item.sku}</TableRowHeader>\n <TableCell>{item.product}</TableCell>\n <TableCell>{item.warehouse}</TableCell>\n <TableCell numeric>{item.onHand}</TableCell>\n <TableCell numeric>{item.reserved}</TableCell>\n </TableRow>\n ))}\n </TableBody>\n </TableContent>\n </Table>\n );\n}\n",
873
873
  "verdict": "example"
@@ -375,7 +375,7 @@
375
375
  "The paging controls are aria-hidden and outside the Tab sequence, because the arrow keys reach every tab and scroll it into view. Cloudscape’s guidance warns against extra Tab stops between a tab list and its panel.",
376
376
  "A list that starts to overflow scrolls the selected tab into view once its paging controls are drawn, so the selected tab is not left behind the end control.",
377
377
  "Each tab names its panel with aria-controls and each panel names its tab with aria-labelledby. The ids come from the value, with the characters an id cannot hold escaped rather than replaced, so two values that differ only by a space never share a panel.",
378
- "The selected tab is never shown by colour alone: the marker is a bar never thinner than a thick border, which stays visible in the high-contrast scheme, where the theme paints every surface Canvas and the fill of the contained variant disappears.",
378
+ "The selected tab is never shown by color alone: the marker is a bar never thinner than a thick border, which stays visible in the high-contrast scheme, where the theme paints every surface Canvas and the fill of the contained variant disappears.",
379
379
  "A panel carries tabindex=\"0\", so the Tab key reaches it from the list. The pattern permits that stop even when the panel’s first content is focusable."
380
380
  ]
381
381
  }
package/dist/docs/tabs.md CHANGED
@@ -175,7 +175,7 @@ export default function TabsBasic() {
175
175
  - The paging controls are aria-hidden and outside the Tab sequence, because the arrow keys reach every tab and scroll it into view. Cloudscape’s guidance warns against extra Tab stops between a tab list and its panel.
176
176
  - A list that starts to overflow scrolls the selected tab into view once its paging controls are drawn, so the selected tab is not left behind the end control.
177
177
  - Each tab names its panel with aria-controls and each panel names its tab with aria-labelledby. The ids come from the value, with the characters an id cannot hold escaped rather than replaced, so two values that differ only by a space never share a panel.
178
- - The selected tab is never shown by colour alone: the marker is a bar never thinner than a thick border, which stays visible in the high-contrast scheme, where the theme paints every surface Canvas and the fill of the contained variant disappears.
178
+ - The selected tab is never shown by color alone: the marker is a bar never thinner than a thick border, which stays visible in the high-contrast scheme, where the theme paints every surface Canvas and the fill of the contained variant disappears.
179
179
  - A panel carries tabindex="0", so the Tab key reaches it from the list. The pattern permits that stop even when the panel’s first content is focusable.
180
180
 
181
181
  ## Tokens
@@ -186,14 +186,14 @@
186
186
  "type": "'accent' | 'secondary' | 'info' | 'success' | 'warning' | 'danger'",
187
187
  "defaultValue": "secondary",
188
188
  "appliesTo": "Tag",
189
- "description": "Which of the five semantic colours the tag speaks in"
189
+ "description": "Which of the five semantic colors the tag speaks in"
190
190
  },
191
191
  {
192
192
  "name": "variant",
193
193
  "type": "'solid' | 'soft' | 'outline' | 'dashed'",
194
194
  "defaultValue": "soft",
195
195
  "appliesTo": "Tag",
196
- "description": "How that colour is painted: filled, tinted, an edge alone, or that edge in dashes. A selected tag fills whatever its variant"
196
+ "description": "How that color is painted: filled, tinted, an edge alone, or that edge in dashes. A selected tag fills whatever its variant"
197
197
  },
198
198
  {
199
199
  "name": "size",
@@ -214,7 +214,7 @@
214
214
  "type": "ReactNode",
215
215
  "defaultValue": "—",
216
216
  "appliesTo": "Tag",
217
- "description": "A glyph or an avatar before the words, wrapped in the start part, which sizes and centres it"
217
+ "description": "A glyph or an avatar before the words, wrapped in the start part, which sizes and centers it"
218
218
  },
219
219
  {
220
220
  "name": "end",
@@ -312,7 +312,7 @@
312
312
  "The remove control is as tall as the chip and as wide as its glyph plus a step of air on each side, floored at the WCAG 2.2 2.5.8 minimum of 24 CSS pixels, which carries it past that minimum in both axes at every size and every density. The chip’s own height is floored at that minimum for the same reason.",
313
313
  "A tag is one line. A value too long for its container is clipped with an ellipsis rather than reflowed, and the clipping is visual only: text-overflow shortens nothing, so the whole value stays in the DOM, stays in the accessibility tree, and a page search still finds it.",
314
314
  "The label is a bidi isolate whose direction comes from its own first strong character, so an Arabic value inside an English page reads right to left and is clipped at its own end.",
315
- "Under forced colours every tone ground becomes one system colour, so the family draws its edge in currentColor there, and a selected chip takes the system’s own Highlight pair — its whole signal is a ground the system has replaced.",
315
+ "Under forced colors every tone ground becomes one system color, so the family draws its edge in currentColor there, and a selected chip takes the system’s own Highlight pair — its whole signal is a ground the system has replaced.",
316
316
  "A static tag carries no role of its own. What a value means comes from where it sits, and a role invented here would be wrong more often than right.",
317
317
  "A group of static tags is written role=\"list\", which announces its length and turns the arrow keys off — a list is a structure rather than a widget."
318
318
  ]
@@ -326,14 +326,14 @@
326
326
  "type": "'accent' | 'secondary' | 'info' | 'success' | 'warning' | 'danger'",
327
327
  "defaultValue": "secondary",
328
328
  "appliesTo": "TagButton",
329
- "description": "Which of the five semantic colours the tag speaks in"
329
+ "description": "Which of the five semantic colors the tag speaks in"
330
330
  },
331
331
  {
332
332
  "name": "variant",
333
333
  "type": "'solid' | 'soft' | 'outline' | 'dashed'",
334
334
  "defaultValue": "soft",
335
335
  "appliesTo": "TagButton",
336
- "description": "How that colour is painted: filled, tinted, an edge alone, or that edge in dashes. A selected tag fills whatever its variant"
336
+ "description": "How that color is painted: filled, tinted, an edge alone, or that edge in dashes. A selected tag fills whatever its variant"
337
337
  },
338
338
  {
339
339
  "name": "size",
@@ -354,7 +354,7 @@
354
354
  "type": "ReactNode",
355
355
  "defaultValue": "—",
356
356
  "appliesTo": "TagButton",
357
- "description": "A glyph or an avatar before the words, wrapped in the start part, which sizes and centres it"
357
+ "description": "A glyph or an avatar before the words, wrapped in the start part, which sizes and centers it"
358
358
  },
359
359
  {
360
360
  "name": "end",
@@ -410,7 +410,7 @@
410
410
  "The remove control is as tall as the chip and as wide as its glyph plus a step of air on each side, floored at the WCAG 2.2 2.5.8 minimum of 24 CSS pixels, which carries it past that minimum in both axes at every size and every density. The chip’s own height is floored at that minimum for the same reason.",
411
411
  "A tag is one line. A value too long for its container is clipped with an ellipsis rather than reflowed, and the clipping is visual only: text-overflow shortens nothing, so the whole value stays in the DOM, stays in the accessibility tree, and a page search still finds it.",
412
412
  "The label is a bidi isolate whose direction comes from its own first strong character, so an Arabic value inside an English page reads right to left and is clipped at its own end.",
413
- "Under forced colours every tone ground becomes one system colour, so the family draws its edge in currentColor there, and a selected chip takes the system’s own Highlight pair — its whole signal is a ground the system has replaced.",
413
+ "Under forced colors every tone ground becomes one system color, so the family draws its edge in currentColor there, and a selected chip takes the system’s own Highlight pair — its whole signal is a ground the system has replaced.",
414
414
  "The command is a real button, so Enter and Space both activate it and the platform supplies the rest.",
415
415
  "A disabled TagButton is natively disabled. Reach for aria-disabled through rootProps only when the chip has to stay in the tab sequence to explain itself."
416
416
  ]
@@ -424,14 +424,14 @@
424
424
  "type": "'accent' | 'secondary' | 'info' | 'success' | 'warning' | 'danger'",
425
425
  "defaultValue": "secondary",
426
426
  "appliesTo": "TagLink",
427
- "description": "Which of the five semantic colours the tag speaks in"
427
+ "description": "Which of the five semantic colors the tag speaks in"
428
428
  },
429
429
  {
430
430
  "name": "variant",
431
431
  "type": "'solid' | 'soft' | 'outline' | 'dashed'",
432
432
  "defaultValue": "soft",
433
433
  "appliesTo": "TagLink",
434
- "description": "How that colour is painted: filled, tinted, an edge alone, or that edge in dashes. A selected tag fills whatever its variant"
434
+ "description": "How that color is painted: filled, tinted, an edge alone, or that edge in dashes. A selected tag fills whatever its variant"
435
435
  },
436
436
  {
437
437
  "name": "size",
@@ -452,7 +452,7 @@
452
452
  "type": "ReactNode",
453
453
  "defaultValue": "—",
454
454
  "appliesTo": "TagLink",
455
- "description": "A glyph or an avatar before the words, wrapped in the start part, which sizes and centres it"
455
+ "description": "A glyph or an avatar before the words, wrapped in the start part, which sizes and centers it"
456
456
  },
457
457
  {
458
458
  "name": "end",
@@ -508,7 +508,7 @@
508
508
  "The remove control is as tall as the chip and as wide as its glyph plus a step of air on each side, floored at the WCAG 2.2 2.5.8 minimum of 24 CSS pixels, which carries it past that minimum in both axes at every size and every density. The chip’s own height is floored at that minimum for the same reason.",
509
509
  "A tag is one line. A value too long for its container is clipped with an ellipsis rather than reflowed, and the clipping is visual only: text-overflow shortens nothing, so the whole value stays in the DOM, stays in the accessibility tree, and a page search still finds it.",
510
510
  "The label is a bidi isolate whose direction comes from its own first strong character, so an Arabic value inside an English page reads right to left and is clipped at its own end.",
511
- "Under forced colours every tone ground becomes one system colour, so the family draws its edge in currentColor there, and a selected chip takes the system’s own Highlight pair — its whole signal is a ground the system has replaced.",
511
+ "Under forced colors every tone ground becomes one system color, so the family draws its edge in currentColor there, and a selected chip takes the system’s own Highlight pair — its whole signal is a ground the system has replaced.",
512
512
  "The destination is a real anchor, so middle click, the context menu, download and “open in new tab” all keep working.",
513
513
  "A chip that navigates to another origin says so in its own words or in a visually hidden sentence. The external marker belongs to the link family, on a link."
514
514
  ]
@@ -522,14 +522,14 @@
522
522
  "type": "'accent' | 'secondary' | 'info' | 'success' | 'warning' | 'danger'",
523
523
  "defaultValue": "secondary",
524
524
  "appliesTo": "TagToggle",
525
- "description": "Which of the five semantic colours the tag speaks in"
525
+ "description": "Which of the five semantic colors the tag speaks in"
526
526
  },
527
527
  {
528
528
  "name": "variant",
529
529
  "type": "'solid' | 'soft' | 'outline' | 'dashed'",
530
530
  "defaultValue": "soft",
531
531
  "appliesTo": "TagToggle",
532
- "description": "How that colour is painted: filled, tinted, an edge alone, or that edge in dashes. A selected tag fills whatever its variant"
532
+ "description": "How that color is painted: filled, tinted, an edge alone, or that edge in dashes. A selected tag fills whatever its variant"
533
533
  },
534
534
  {
535
535
  "name": "size",
@@ -550,7 +550,7 @@
550
550
  "type": "ReactNode",
551
551
  "defaultValue": "—",
552
552
  "appliesTo": "TagToggle",
553
- "description": "A glyph or an avatar before the words, wrapped in the start part, which sizes and centres it"
553
+ "description": "A glyph or an avatar before the words, wrapped in the start part, which sizes and centers it"
554
554
  },
555
555
  {
556
556
  "name": "end",
@@ -620,10 +620,10 @@
620
620
  "The remove control is as tall as the chip and as wide as its glyph plus a step of air on each side, floored at the WCAG 2.2 2.5.8 minimum of 24 CSS pixels, which carries it past that minimum in both axes at every size and every density. The chip’s own height is floored at that minimum for the same reason.",
621
621
  "A tag is one line. A value too long for its container is clipped with an ellipsis rather than reflowed, and the clipping is visual only: text-overflow shortens nothing, so the whole value stays in the DOM, stays in the accessibility tree, and a page search still finds it.",
622
622
  "The label is a bidi isolate whose direction comes from its own first strong character, so an Arabic value inside an English page reads right to left and is clipped at its own end.",
623
- "Under forced colours every tone ground becomes one system colour, so the family draws its edge in currentColor there, and a selected chip takes the system’s own Highlight pair — its whole signal is a ground the system has replaced.",
623
+ "Under forced colors every tone ground becomes one system color, so the family draws its edge in currentColor there, and a selected chip takes the system’s own Highlight pair — its whole signal is a ground the system has replaced.",
624
624
  "A selected tag announces aria-pressed, not aria-selected. aria-selected is only valid inside a listbox, a grid or a tree, and an option may not contain the remove control this family puts beside the label. Carbon’s SelectableTag reaches the same conclusion; Angular Material reaches the other one and gives up the remove button.",
625
625
  "The label never changes with the state, which is the APG’s rule for a toggle: “Aberto” stays “Aberto” and the state is announced beside it.",
626
- "Selection is not colour alone. The chip fills, and a check grows into the label beside the words — WCAG 2.2 1.4.1."
626
+ "Selection is not color alone. The chip fills, and a check grows into the label beside the words — WCAG 2.2 1.4.1."
627
627
  ]
628
628
  }
629
629
  },
@@ -728,7 +728,7 @@
728
728
  "title": "A value beside the thing it belongs to",
729
729
  "note": null,
730
730
  "language": "tsx",
731
- "source": "<Tag tone=\"success\">Entregue</Tag>;\n",
731
+ "source": "<Tag tone=\"success\">Delivered</Tag>;\n",
732
732
  "verdict": "excerpt"
733
733
  },
734
734
  {
@@ -736,7 +736,7 @@
736
736
  "title": "A run of values a person can take away",
737
737
  "note": null,
738
738
  "language": "tsx",
739
- "source": "<TagGroup aria-label=\"Rótulos\">\n {labels.map((label) => (\n <Tag key={label} onRemove={() => setLabels(labels.filter((it) => it !== label))}>\n {label}\n </Tag>\n ))}\n</TagGroup>;\n",
739
+ "source": "<TagGroup aria-label=\"Labels\">\n {labels.map((label) => (\n <Tag key={label} onRemove={() => setLabels(labels.filter((it) => it !== label))}>\n {label}\n </Tag>\n ))}\n</TagGroup>;\n",
740
740
  "verdict": "excerpt"
741
741
  },
742
742
  {
@@ -744,7 +744,7 @@
744
744
  "title": "A removal the application refuses until it is confirmed",
745
745
  "note": null,
746
746
  "language": "tsx",
747
- "source": "<Tag\n onRemove={(request) => {\n if (!confirmed) {\n request.cancel();\n askForConfirmation(request.reason);\n return;\n }\n remove();\n }}\n>\n Produção\n</Tag>;\n",
747
+ "source": "<Tag\n onRemove={(request) => {\n if (!confirmed) {\n request.cancel();\n askForConfirmation(request.reason);\n return;\n }\n remove();\n }}\n>\n Production\n</Tag>;\n",
748
748
  "verdict": "excerpt"
749
749
  },
750
750
  {
@@ -768,7 +768,7 @@
768
768
  "title": "A chip that runs a command",
769
769
  "note": null,
770
770
  "language": "tsx",
771
- "source": "<TagButton onClick={() => openAssignee()}>Atribuir responsável</TagButton>;\n",
771
+ "source": "<TagButton onClick={() => openAssignee()}>Assign owner</TagButton>;\n",
772
772
  "verdict": "excerpt"
773
773
  },
774
774
  {