@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
@@ -196,7 +196,7 @@
196
196
  "part": "visual",
197
197
  "element": "span, aria-hidden",
198
198
  "required": false,
199
- "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."
199
+ "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."
200
200
  },
201
201
  {
202
202
  "part": "body",
@@ -244,7 +244,7 @@
244
244
  "part": "time",
245
245
  "element": "time",
246
246
  "required": false,
247
- "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."
247
+ "purpose": "datetime holds the ISO value; the words are relative — 3 h ago — with the absolute reading in title, or absolute under timeFormat=\"absolute\". finishedAt once finished, createdAt before."
248
248
  },
249
249
  {
250
250
  "part": "status",
@@ -256,13 +256,13 @@
256
256
  "part": "mark",
257
257
  "element": "span, aria-hidden",
258
258
  "required": false,
259
- "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."
259
+ "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."
260
260
  },
261
261
  {
262
262
  "part": "status-label",
263
263
  "element": "span",
264
264
  "required": false,
265
- "purpose": "The word for the state — Concluído com 12 erros — and the stage after it, one run that wraps inside its column."
265
+ "purpose": "The word for the state — Completed with 12 errors — and the stage after it, one run that wraps inside its column."
266
266
  },
267
267
  {
268
268
  "part": "stage",
@@ -304,7 +304,7 @@
304
304
  "part": "download",
305
305
  "element": "span around a ButtonLink or a Button",
306
306
  "required": false,
307
- "purpose": "A ButtonLink with download when the file has an href, a Button that asks onDownload when it has none. Baixar erros when the file is the report of a partial import."
307
+ "purpose": "A ButtonLink with download when the file has an href, a Button that asks onDownload when it has none. Download errors when the file is the report of a partial import."
308
308
  },
309
309
  {
310
310
  "part": "cancel",
@@ -340,7 +340,7 @@
340
340
  "part": "remove",
341
341
  "element": "button",
342
342
  "required": false,
343
- "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."
343
+ "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."
344
344
  },
345
345
  {
346
346
  "part": "details",
@@ -423,7 +423,7 @@
423
423
  "type": "string",
424
424
  "defaultValue": "—",
425
425
  "appliesTo": "ImportExportCenter",
426
- "description": "The view an uncontrolled centre starts on, read once"
426
+ "description": "The view an uncontrolled center starts on, read once"
427
427
  },
428
428
  {
429
429
  "name": "views",
@@ -444,7 +444,7 @@
444
444
  "type": "readonly string[]",
445
445
  "defaultValue": "—",
446
446
  "appliesTo": "ImportExportCenter",
447
- "description": "The keys an uncontrolled centre starts with shown, read once"
447
+ "description": "The keys an uncontrolled center starts with shown, read once"
448
448
  },
449
449
  {
450
450
  "name": "size",
@@ -542,7 +542,7 @@
542
542
  "type": "{ size, level, growing, timeFormat, timeZone }",
543
543
  "defaultValue": "—",
544
544
  "appliesTo": "a subtree",
545
- "description": "The decisions an application takes once. A centre that states any of them itself still wins"
545
+ "description": "The decisions an application takes once. A center that states any of them itself still wins"
546
546
  },
547
547
  {
548
548
  "name": "native props",
@@ -606,11 +606,11 @@
606
606
  }
607
607
  ],
608
608
  "accessibility": [
609
- "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.",
610
- "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.",
611
- "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 useJobToasts carries the same sentence, which the announcer does not repeat.",
612
- "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.",
613
- "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."
609
+ "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.",
610
+ "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.",
611
+ "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 useJobToasts carries the same sentence, which the announcer does not repeat.",
612
+ "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.",
613
+ "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."
614
614
  ]
615
615
  }
616
616
  },
@@ -720,7 +720,7 @@
720
720
  "title": "Five statuses, four outcomes",
721
721
  "note": "Queued, running, succeeded, succeeded with failed rows, failed and cancelled, each with its word, its mark and its tone. The partial row is derived: the store wrote succeeded and counts.failed 12, and the family refused to paint it green.",
722
722
  "language": "tsx",
723
- "source": "const catalog: ImportExportJob = {\n counts: { failed: 12, processed: 2988, total: 3000 },\n direction: 'import',\n key: 'catalog-autumn',\n status: 'succeeded',\n title: 'Catálogo de produtos',\n};\n",
723
+ "source": "const catalog: ImportExportJob = {\n counts: { failed: 12, processed: 2988, total: 3000 },\n direction: 'import',\n key: 'catalog-autumn',\n status: 'succeeded',\n title: 'Product catalog',\n};\n",
724
724
  "verdict": "excerpt"
725
725
  },
726
726
  {
@@ -742,15 +742,15 @@
742
742
  {
743
743
  "id": "files",
744
744
  "title": "Deadlines and permission",
745
- "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.",
745
+ "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.",
746
746
  "language": "tsx",
747
- "source": "const result: JobFile = { expiresAt: '2026-09-08T10:00:00Z', href, name: 'nfe.zip' };\nconst source: JobFile = {\n denied: 'Só quem importou o arquivo ou um administrador pode baixar o original.',\n name: 'precos-atacado.csv',\n};\n",
747
+ "source": "const result: JobFile = { expiresAt: '2026-09-08T10:00:00Z', href, name: 'invoices.zip' };\nconst source: JobFile = {\n denied: 'Only the person who imported the file or an administrator can download the original.',\n name: 'wholesale-prices.csv',\n};\n",
748
748
  "verdict": "excerpt"
749
749
  },
750
750
  {
751
751
  "id": "views",
752
752
  "title": "Views",
753
- "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 the consumer’s state, which refuses Arquivados with request.cancel().",
753
+ "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 the consumer’s state, which refuses Archived with request.cancel().",
754
754
  "language": "tsx",
755
755
  "source": "<ImportExportCenter\n jobs={view === 'mine' ? mine : jobs}\n onViewChange={(next, request) => {\n if (next === 'archived') request.cancel();\n else setView(next);\n }}\n view={view}\n views={views}\n/>;\n",
756
756
  "verdict": "excerpt"
@@ -758,7 +758,7 @@
758
758
  {
759
759
  "id": "intake",
760
760
  "title": "Starting a job",
761
- "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.",
761
+ "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.",
762
762
  "language": "tsx",
763
763
  "source": "<ImportExportCenter\n actions={\n <>\n <ImportDialog onUploaded={(file) => store.createImport(file)} />\n <ExportDialog onConfirm={(format) => store.createExport(format)} />\n </>\n }\n jobs={store.jobs}\n/>;\n",
764
764
  "verdict": "excerpt"
@@ -766,9 +766,9 @@
766
766
  {
767
767
  "id": "toasts",
768
768
  "title": "The toast points at the job",
769
- "note": "useJobToasts in the shell raises one toast per job when it starts and replaces it when it finishes, under the job’s key; View reveals the job in the centre — details open, title focused. The toast carries no progress, no cancel and no download.",
769
+ "note": "useJobToasts in the shell raises one toast per job when it starts and replaces it when it finishes, under the job’s key; View reveals the job in the center — details open, title focused. The toast carries no progress, no cancel and no download.",
770
770
  "language": "tsx",
771
- "source": "useJobToasts(jobs, {\n onView: (key) => {\n navigate('/jobs');\n centre.current?.reveal(key);\n },\n});\n",
771
+ "source": "useJobToasts(jobs, {\n onView: (key) => {\n navigate('/jobs');\n center.current?.reveal(key);\n },\n});\n",
772
772
  "verdict": "excerpt"
773
773
  },
774
774
  {
@@ -776,7 +776,7 @@
776
776
  "title": "In a popover, on a page",
777
777
  "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.",
778
778
  "language": "tsx",
779
- "source": "<Popover>\n <PopoverTrigger render={(props) => <Button {...props}>Jobs</Button>} />\n <PopoverLayer>\n <PopoverContent aria-label=\"Importações e exportações\">\n <ImportExportCenter footer={<SeeAll />} jobs={jobs} size=\"sm\" />\n </PopoverContent>\n </PopoverLayer>\n</Popover>;\n",
779
+ "source": "<Popover>\n <PopoverTrigger render={(props) => <Button {...props}>Jobs</Button>} />\n <PopoverLayer>\n <PopoverContent aria-label=\"Imports and exports\">\n <ImportExportCenter footer={<SeeAll />} jobs={jobs} size=\"sm\" />\n </PopoverContent>\n </PopoverLayer>\n</Popover>;\n",
780
780
  "verdict": "excerpt"
781
781
  },
782
782
  {
@@ -790,7 +790,7 @@
790
790
  {
791
791
  "id": "empty",
792
792
  "title": "Nothing yet, and a list that failed",
793
- "note": "An empty view draws the view’s own words — Nenhuma exportação — or the consumer’s empty; a list the store could not load draws the error page whose control asks onReload.",
793
+ "note": "An empty view draws the view’s own words — No exports — or the consumer’s empty; a list the store could not load draws the error page whose control asks onReload.",
794
794
  "language": "tsx",
795
795
  "source": "<ImportExportCenter defaultView=\"export\" jobs={[]} />;\n<ImportExportCenter jobs={[]} onReload={() => refetch()} status=\"error\" />;\n",
796
796
  "verdict": "excerpt"
@@ -814,7 +814,7 @@
814
814
  {
815
815
  "id": "defaults",
816
816
  "title": "Defaults, once",
817
- "note": "ImportExportCenterDefaultsProvider 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 SlottedProvider.",
817
+ "note": "ImportExportCenterDefaultsProvider 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 SlottedProvider.",
818
818
  "language": "tsx",
819
819
  "source": "<ImportExportCenterDefaultsProvider level=\"3\" size=\"sm\" timeFormat=\"absolute\">\n <App />\n</ImportExportCenterDefaultsProvider>;\n",
820
820
  "verdict": "excerpt"
@@ -822,7 +822,7 @@
822
822
  {
823
823
  "id": "accessibility",
824
824
  "title": "Keyboard and focus",
825
- "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.",
825
+ "note": "Tab through the controls: every one is named by its words and the job — Cancel Contacts from 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.",
826
826
  "language": "tsx",
827
827
  "source": "<ImportExportCenter\n jobs={jobs}\n onCancel={(key) => cancel(key)}\n onRemove={({ keys }) => remove(keys)}\n/>;\n",
828
828
  "verdict": "excerpt"
@@ -78,10 +78,10 @@ Excerpt — not a complete module
78
78
  | --- | --- | --- | --- | --- |
79
79
  | `jobs` | `readonly ImportExportJob[]` | — | ImportExportCenter | The consumer’s jobs: key, direction, title, status, format, stage, progress, eta, counts, errors, errorCount, message, source, result, errorsFile, actor, createdAt, finishedAt, href, cancelable, retryable, removable. The family changes none of them |
80
80
  | `view` | `string` | all | ImportExportCenter | Present means the consumer owns the view. all shows every job, import and export filter by direction, any other value shows what the consumer gave |
81
- | `defaultView` | `string` | — | ImportExportCenter | The view an uncontrolled centre starts on, read once |
81
+ | `defaultView` | `string` | — | ImportExportCenter | The view an uncontrolled center starts on, read once |
82
82
  | `views` | `readonly { value, label }[]` | all, import, export | ImportExportCenter | The strip’s entries; one entry draws no strip |
83
83
  | `expanded` | `readonly string[]` | — | ImportExportCenter | Present means the consumer owns which jobs show their details |
84
- | `defaultExpanded` | `readonly string[]` | — | ImportExportCenter | The keys an uncontrolled centre starts with shown, read once |
84
+ | `defaultExpanded` | `readonly string[]` | — | ImportExportCenter | The keys an uncontrolled center starts with shown, read once |
85
85
  | `size` | `'sm' \| 'md'` | md | ImportExportCenter, ImportExportCenterDefaultsProvider | sm for a popover or a drawer, with a floor width; md for a page |
86
86
  | `level` | `'2' \| '3' \| '4'` | 2 | ImportExportCenter, ImportExportCenterDefaultsProvider | The rank of the title’s heading |
87
87
  | `growing` | `'none' \| 'button'` | none | ImportExportCenter, ImportExportCenterDefaultsProvider | Whether the history grows by a more button; the button is drawn while hasMore |
@@ -95,7 +95,7 @@ Excerpt — not a complete module
95
95
  | `renderJobActions` | `(job) => ReactNode` | — | ImportExportCenter | The consumer’s controls for one job, after the family’s |
96
96
  | `render` | `(props) => ReactNode` | — | ImportExportCenter | Substitutes the root element and hands it every attribute, the ref callback included |
97
97
  | `ref` | `Ref<ImportExportCenterHandle>` | — | ImportExportCenter | element; focus(), on the first job’s first control; reveal(key), which shows the job’s details, returns to all if the view hides it, scrolls it into view and focuses its title |
98
- | `ImportExportCenterDefaultsProvider` | `{ size, level, growing, timeFormat, timeZone }` | — | a subtree | The decisions an application takes once. A centre that states any of them itself still wins |
98
+ | `ImportExportCenterDefaultsProvider` | `{ size, level, growing, timeFormat, timeZone }` | — | a subtree | The decisions an application takes once. A center that states any of them itself still wins |
99
99
  | `native props` | `ComponentPropsWithRef<"section">` | — | ImportExportCenter | aria-*, data-*, className, style and handlers reach the section; a consumer’s aria-label or aria-labelledby replaces the title wiring |
100
100
 
101
101
  ## Events
@@ -128,11 +128,11 @@ Excerpt — not a complete module
128
128
 
129
129
  ## Rules
130
130
 
131
- - 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.
132
- - 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.
133
- - 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 useJobToasts carries the same sentence, which the announcer does not repeat.
134
- - 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.
135
- - 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.
131
+ - 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.
132
+ - 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.
133
+ - 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 useJobToasts carries the same sentence, which the announcer does not repeat.
134
+ - 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.
135
+ - 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.
136
136
 
137
137
  ## Tokens
138
138
 
@@ -169,7 +169,7 @@ const catalog: ImportExportJob = {
169
169
  direction: 'import',
170
170
  key: 'catalog-autumn',
171
171
  status: 'succeeded',
172
- title: 'Catálogo de produtos',
172
+ title: 'Product catalog',
173
173
  };
174
174
  ```
175
175
 
@@ -204,21 +204,21 @@ const catalog: ImportExportJob = {
204
204
 
205
205
  ### Deadlines and permission
206
206
 
207
- 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.
207
+ 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.
208
208
 
209
209
  Excerpt — not a complete module
210
210
 
211
211
  ```tsx
212
- const result: JobFile = { expiresAt: '2026-09-08T10:00:00Z', href, name: 'nfe.zip' };
212
+ const result: JobFile = { expiresAt: '2026-09-08T10:00:00Z', href, name: 'invoices.zip' };
213
213
  const source: JobFile = {
214
- denied: 'Só quem importou o arquivo ou um administrador pode baixar o original.',
215
- name: 'precos-atacado.csv',
214
+ denied: 'Only the person who imported the file or an administrator can download the original.',
215
+ name: 'wholesale-prices.csv',
216
216
  };
217
217
  ```
218
218
 
219
219
  ### Views
220
220
 
221
- 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 the consumer’s state, which refuses Arquivados with request.cancel().
221
+ 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 the consumer’s state, which refuses Archived with request.cancel().
222
222
 
223
223
  Excerpt — not a complete module
224
224
 
@@ -236,7 +236,7 @@ Excerpt — not a complete module
236
236
 
237
237
  ### Starting a job
238
238
 
239
- 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.
239
+ 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.
240
240
 
241
241
  Excerpt — not a complete module
242
242
 
@@ -254,7 +254,7 @@ Excerpt — not a complete module
254
254
 
255
255
  ### The toast points at the job
256
256
 
257
- useJobToasts in the shell raises one toast per job when it starts and replaces it when it finishes, under the job’s key; View reveals the job in the centre — details open, title focused. The toast carries no progress, no cancel and no download.
257
+ useJobToasts in the shell raises one toast per job when it starts and replaces it when it finishes, under the job’s key; View reveals the job in the center — details open, title focused. The toast carries no progress, no cancel and no download.
258
258
 
259
259
  Excerpt — not a complete module
260
260
 
@@ -262,7 +262,7 @@ Excerpt — not a complete module
262
262
  useJobToasts(jobs, {
263
263
  onView: (key) => {
264
264
  navigate('/jobs');
265
- centre.current?.reveal(key);
265
+ center.current?.reveal(key);
266
266
  },
267
267
  });
268
268
  ```
@@ -277,7 +277,7 @@ Excerpt — not a complete module
277
277
  <Popover>
278
278
  <PopoverTrigger render={(props) => <Button {...props}>Jobs</Button>} />
279
279
  <PopoverLayer>
280
- <PopoverContent aria-label="Importações e exportações">
280
+ <PopoverContent aria-label="Imports and exports">
281
281
  <ImportExportCenter footer={<SeeAll />} jobs={jobs} size="sm" />
282
282
  </PopoverContent>
283
283
  </PopoverLayer>
@@ -297,7 +297,7 @@ Excerpt — not a complete module
297
297
 
298
298
  ### Nothing yet, and a list that failed
299
299
 
300
- An empty view draws the view’s own words — Nenhuma exportação — or the consumer’s empty; a list the store could not load draws the error page whose control asks onReload.
300
+ An empty view draws the view’s own words — No exports — or the consumer’s empty; a list the store could not load draws the error page whose control asks onReload.
301
301
 
302
302
  Excerpt — not a complete module
303
303
 
@@ -334,7 +334,7 @@ Excerpt — not a complete module
334
334
 
335
335
  ### Defaults, once
336
336
 
337
- ImportExportCenterDefaultsProvider 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 SlottedProvider.
337
+ ImportExportCenterDefaultsProvider 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 SlottedProvider.
338
338
 
339
339
  Excerpt — not a complete module
340
340
 
@@ -346,7 +346,7 @@ Excerpt — not a complete module
346
346
 
347
347
  ### Keyboard and focus
348
348
 
349
- 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.
349
+ Tab through the controls: every one is named by its words and the job — Cancel Contacts from 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.
350
350
 
351
351
  Excerpt — not a complete module
352
352
 
@@ -212,12 +212,12 @@
212
212
  "events": [],
213
213
  "accessibility": [
214
214
  "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.",
215
- "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.",
216
- "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 the provider.",
215
+ "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.",
216
+ "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 the provider.",
217
217
  "The live role goes on the message itself. Alert 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.",
218
218
  "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. The family generates an id with useId when the page states none, and never replaces one the page wrote.",
219
- "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.",
220
- "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.",
219
+ "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.",
220
+ "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.",
221
221
  "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."
222
222
  ]
223
223
  }
@@ -251,15 +251,15 @@
251
251
  "title": "Playground",
252
252
  "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.",
253
253
  "language": "tsx",
254
- "source": "<InlineMessage tone=\"danger\">Informe um CNPJ válido para continuar.</InlineMessage>;\n",
254
+ "source": "<InlineMessage tone=\"danger\">Enter a valid EIN to continue.</InlineMessage>;\n",
255
255
  "verdict": "excerpt"
256
256
  },
257
257
  {
258
258
  "id": "tones",
259
259
  "title": "What the message is about",
260
- "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.",
260
+ "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.",
261
261
  "language": "tsx",
262
- "source": "// secondary is help, accent information, and the other three are severities.\n<InlineMessage>Entre 8 e 64 caracteres.</InlineMessage>;\n<InlineMessage tone=\"success\">Nome de usuário disponível.</InlineMessage>;\n<InlineMessage tone=\"danger\">Este e-mail já está cadastrado.</InlineMessage>;\n",
262
+ "source": "// secondary is help, accent information, and the other three are severities.\n<InlineMessage>Between 8 and 64 characters.</InlineMessage>;\n<InlineMessage tone=\"success\">Username available.</InlineMessage>;\n<InlineMessage tone=\"danger\">This email is already registered.</InlineMessage>;\n",
263
263
  "verdict": "excerpt"
264
264
  },
265
265
  {
@@ -275,7 +275,7 @@
275
275
  "title": "A message that is still waiting",
276
276
  "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.",
277
277
  "language": "tsx",
278
- "source": "const [state, setState] = useState<'idle' | 'checking' | 'free'>('checking');\n\n<InlineMessage\n live=\"polite\"\n loading={state === 'checking'}\n tone={state === 'free' ? 'success' : 'secondary'}\n>\n {state === 'checking' ? 'Verificando disponibilidade…' : 'Nome disponível.'}\n</InlineMessage>;\n",
278
+ "source": "const [state, setState] = useState<'idle' | 'checking' | 'free'>('checking');\n\n<InlineMessage\n live=\"polite\"\n loading={state === 'checking'}\n tone={state === 'free' ? 'success' : 'secondary'}\n>\n {state === 'checking' ? 'Checking availability…' : 'Name available.'}\n</InlineMessage>;\n",
279
279
  "verdict": "excerpt"
280
280
  },
281
281
  {
@@ -283,7 +283,7 @@
283
283
  "title": "Pointing a control at the message",
284
284
  "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.",
285
285
  "language": "tsx",
286
- "source": "const messageId = useId();\n\n<>\n <label htmlFor=\"cnpj\">CNPJ</label>\n <input aria-errormessage={messageId} aria-invalid id=\"cnpj\" />\n <InlineMessage id={messageId} tone=\"danger\">\n Faltam dois dígitos.\n </InlineMessage>\n</>;\n",
286
+ "source": "const messageId = useId();\n\n<>\n <label htmlFor=\"cnpj\">EIN</label>\n <input aria-errormessage={messageId} aria-invalid id=\"cnpj\" />\n <InlineMessage id={messageId} tone=\"danger\">\n Two digits are missing.\n </InlineMessage>\n</>;\n",
287
287
  "verdict": "excerpt"
288
288
  },
289
289
  {
@@ -291,7 +291,7 @@
291
291
  "title": "What a reader hears, and when",
292
292
  "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.",
293
293
  "language": "tsx",
294
- "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<InlineMessage live=\"polite\" tone=\"success\">\n Alterações salvas.\n</InlineMessage>;\n",
294
+ "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<InlineMessage live=\"polite\" tone=\"success\">\n Changes saved.\n</InlineMessage>;\n",
295
295
  "verdict": "excerpt"
296
296
  },
297
297
  {
@@ -307,7 +307,7 @@
307
307
  "title": "Content the family did not choose",
308
308
  "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.",
309
309
  "language": "tsx",
310
- "source": "<InlineMessage tone=\"secondary\">\n Aceitamos cartão, boleto e Pix. <Link href=\"/tarifas\">Ver tarifas</Link>\n</InlineMessage>;\n",
310
+ "source": "<InlineMessage tone=\"secondary\">\n We accept credit card, ACH transfer and Zelle. <Link href=\"/tarifas\">View fees</Link>\n</InlineMessage>;\n",
311
311
  "verdict": "excerpt"
312
312
  },
313
313
  {
@@ -315,15 +315,15 @@
315
315
  "title": "Composition and escape hatches",
316
316
  "note": "The provider translates the severity words once, render substitutes the element for a list of failures, and icon replaces the mark while keeping its box and its place.",
317
317
  "language": "tsx",
318
- "source": "<InlineMessageDefaultsProvider prefixes={{ danger: 'Erro:', warning: 'Atenção:' }}>\n <App />\n</InlineMessageDefaultsProvider>;\n\n<InlineMessage icon={<ShieldIcon />} render={(props) => <div {...props} />}>\n A verificação em duas etapas protege esta conta.\n</InlineMessage>;\n",
318
+ "source": "<InlineMessageDefaultsProvider prefixes={{ danger: 'Error:', warning: 'Attention:' }}>\n <App />\n</InlineMessageDefaultsProvider>;\n\n<InlineMessage icon={<ShieldIcon />} render={(props) => <div {...props} />}>\n Two-step verification protects this account.\n</InlineMessage>;\n",
319
319
  "verdict": "excerpt"
320
320
  },
321
321
  {
322
322
  "id": "accessibility",
323
323
  "title": "What a reader hears before the message",
324
- "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.",
324
+ "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.",
325
325
  "language": "tsx",
326
- "source": "// Heard as “Error: Informe um CNPJ válido.”\n<InlineMessage tone=\"danger\">Informe um CNPJ válido.</InlineMessage>;\n\n// One message says its own word; the empty string removes it entirely.\n<InlineMessage prefix=\"Erro:\" tone=\"danger\" />;\n<InlineMessage prefix=\"\" tone=\"danger\" />;\n",
326
+ "source": "// Heard as “Error: Enter a valid EIN.”\n<InlineMessage tone=\"danger\">Enter a valid EIN.</InlineMessage>;\n\n// One message says its own word; the empty string removes it entirely.\n<InlineMessage prefix=\"Error:\" tone=\"danger\" />;\n<InlineMessage prefix=\"\" tone=\"danger\" />;\n",
327
327
  "verdict": "excerpt"
328
328
  }
329
329
  ]
@@ -18,7 +18,7 @@ import {
18
18
  Excerpt — not a complete module
19
19
 
20
20
  ```tsx
21
- <InlineMessage tone="danger">Informe um CNPJ válido para continuar.</InlineMessage>;
21
+ <InlineMessage tone="danger">Enter a valid EIN to continue.</InlineMessage>;
22
22
  ```
23
23
 
24
24
  ## Anatomy
@@ -63,12 +63,12 @@ Excerpt — not a complete module
63
63
  ## Rules
64
64
 
65
65
  - 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.
66
- - 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.
67
- - 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 the provider.
66
+ - 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.
67
+ - 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 the provider.
68
68
  - The live role goes on the message itself. Alert 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.
69
69
  - 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. The family generates an id with useId when the page states none, and never replaces one the page wrote.
70
- - 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.
71
- - 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.
70
+ - 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.
71
+ - 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.
72
72
  - 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.
73
73
 
74
74
  ## Tokens
@@ -79,15 +79,15 @@ Excerpt — not a complete module
79
79
 
80
80
  ### What the message is about
81
81
 
82
- 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.
82
+ 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.
83
83
 
84
84
  Excerpt — not a complete module
85
85
 
86
86
  ```tsx
87
87
  // secondary is help, accent information, and the other three are severities.
88
- <InlineMessage>Entre 8 e 64 caracteres.</InlineMessage>;
89
- <InlineMessage tone="success">Nome de usuário disponível.</InlineMessage>;
90
- <InlineMessage tone="danger">Este e-mail já está cadastrado.</InlineMessage>;
88
+ <InlineMessage>Between 8 and 64 characters.</InlineMessage>;
89
+ <InlineMessage tone="success">Username available.</InlineMessage>;
90
+ <InlineMessage tone="danger">This email is already registered.</InlineMessage>;
91
91
  ```
92
92
 
93
93
  ### The step the message sits at
@@ -119,7 +119,7 @@ const [state, setState] = useState<'idle' | 'checking' | 'free'>('checking');
119
119
  loading={state === 'checking'}
120
120
  tone={state === 'free' ? 'success' : 'secondary'}
121
121
  >
122
- {state === 'checking' ? 'Verificando disponibilidade…' : 'Nome disponível.'}
122
+ {state === 'checking' ? 'Checking availability…' : 'Name available.'}
123
123
  </InlineMessage>;
124
124
  ```
125
125
 
@@ -133,10 +133,10 @@ Excerpt — not a complete module
133
133
  const messageId = useId();
134
134
 
135
135
  <>
136
- <label htmlFor="cnpj">CNPJ</label>
136
+ <label htmlFor="cnpj">EIN</label>
137
137
  <input aria-errormessage={messageId} aria-invalid id="cnpj" />
138
138
  <InlineMessage id={messageId} tone="danger">
139
- Faltam dois dígitos.
139
+ Two digits are missing.
140
140
  </InlineMessage>
141
141
  </>;
142
142
  ```
@@ -151,7 +151,7 @@ Excerpt — not a complete module
151
151
  // role="status" on the message itself, which implies aria-live and
152
152
  // aria-atomic. There are no controls inside it to keep out of the region.
153
153
  <InlineMessage live="polite" tone="success">
154
- Alterações salvas.
154
+ Changes saved.
155
155
  </InlineMessage>;
156
156
  ```
157
157
 
@@ -176,7 +176,7 @@ Excerpt — not a complete module
176
176
 
177
177
  ```tsx
178
178
  <InlineMessage tone="secondary">
179
- Aceitamos cartão, boleto e Pix. <Link href="/tarifas">Ver tarifas</Link>
179
+ We accept credit card, ACH transfer and Zelle. <Link href="/tarifas">View fees</Link>
180
180
  </InlineMessage>;
181
181
  ```
182
182
 
@@ -187,26 +187,26 @@ The provider translates the severity words once, render substitutes the element
187
187
  Excerpt — not a complete module
188
188
 
189
189
  ```tsx
190
- <InlineMessageDefaultsProvider prefixes={{ danger: 'Erro:', warning: 'Atenção:' }}>
190
+ <InlineMessageDefaultsProvider prefixes={{ danger: 'Error:', warning: 'Attention:' }}>
191
191
  <App />
192
192
  </InlineMessageDefaultsProvider>;
193
193
 
194
194
  <InlineMessage icon={<ShieldIcon />} render={(props) => <div {...props} />}>
195
- A verificação em duas etapas protege esta conta.
195
+ Two-step verification protects this account.
196
196
  </InlineMessage>;
197
197
  ```
198
198
 
199
199
  ### What a reader hears before the message
200
200
 
201
- 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.
201
+ 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.
202
202
 
203
203
  Excerpt — not a complete module
204
204
 
205
205
  ```tsx
206
- // Heard as “Error: Informe um CNPJ válido.”
207
- <InlineMessage tone="danger">Informe um CNPJ válido.</InlineMessage>;
206
+ // Heard as “Error: Enter a valid EIN.”
207
+ <InlineMessage tone="danger">Enter a valid EIN.</InlineMessage>;
208
208
 
209
209
  // One message says its own word; the empty string removes it entirely.
210
- <InlineMessage prefix="Erro:" tone="danger" />;
210
+ <InlineMessage prefix="Error:" tone="danger" />;
211
211
  <InlineMessage prefix="" tone="danger" />;
212
212
  ```
@@ -108,7 +108,7 @@
108
108
  "Inline has no role and no ARIA. It arranges what the consumer wrote, and the items keep whatever semantics they already had.",
109
109
  "There is no axis 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.",
110
110
  "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.",
111
- "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.",
111
+ "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.",
112
112
  "Alignment and distribution use the logical keywords, so a right-to-left document is the same run mirrored rather than a rearranged one."
113
113
  ]
114
114
  }
@@ -38,7 +38,7 @@ Excerpt — not a complete module
38
38
  - Inline has no role and no ARIA. It arranges what the consumer wrote, and the items keep whatever semantics they already had.
39
39
  - There is no axis 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
  - Alignment and distribution use the logical keywords, so a right-to-left document is the same run mirrored rather than a rearranged one.
43
43
 
44
44
  ## Tokens
@@ -127,7 +127,7 @@
127
127
  "type": "'raised' | 'outline' | 'soft' | 'plain'",
128
128
  "defaultValue": "raised",
129
129
  "appliesTo": "Kbd, Shortcut",
130
- "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"
130
+ "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"
131
131
  },
132
132
  {
133
133
  "name": "disabled",
@@ -310,7 +310,7 @@
310
310
  {
311
311
  "id": "context",
312
312
  "title": "Where a shortcut actually lives",
313
- "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.",
313
+ "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.",
314
314
  "language": "tsx",
315
315
  "source": "<li>\n <span>Open command palette</span>\n <Shortcut keys=\"mod+k\" variant=\"plain\" />\n</li>;\n",
316
316
  "verdict": "excerpt"