@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
@@ -18,12 +18,12 @@ Excerpt — not a complete module
18
18
  <ActionSheetTrigger>Partilhar</ActionSheetTrigger>
19
19
  <ActionSheetContent>
20
20
  <ActionSheetHeader>
21
- <ActionSheetTitle>Partilhar relatório</ActionSheetTitle>
22
- <ActionSheetMessage>Quem recebe a ligação vê a versão de hoje.</ActionSheetMessage>
21
+ <ActionSheetTitle>Share report</ActionSheetTitle>
22
+ <ActionSheetMessage>Anyone who receives the link sees today's version.</ActionSheetMessage>
23
23
  </ActionSheetHeader>
24
24
  <ActionSheetList>
25
25
  <ActionSheetItem value="copy" icon={<Copy />}>
26
- Copiar ligação
26
+ Copy link
27
27
  </ActionSheetItem>
28
28
  <ActionSheetItem value="pdf" icon={<FileText />}>
29
29
  Descarregar PDF
@@ -90,7 +90,7 @@ Excerpt — not a complete module
90
90
  | --- | --- | --- |
91
91
  | `onOpenChange` | `(open: boolean, request: ActionSheetChangeRequest)` | Before the sheet moves, for every way it can: reason is pointer or keyboard from the trigger, pointer from a drag of the sheet that asks to close, select from an item, dismiss from the cancel, escape, outsidePress, back, or programmatic from the handle. result carries the chosen item’s value when the reason is select, and cancel() refuses the move before anything commits. |
92
92
  | `onSelect` | `(event: ActionSheetSelectEvent)` | On ActionSheetItem, when an item that can run is activated, before the sheet asks to close. The event carries reason, value and the originating event; preventDefault() keeps the sheet open. |
93
- | `onClick, onKeyDown, onPointerMove, on every part` | `the element’s own events` | Whenever the element fires them. The consumer’s handler runs first, and preventDefault() refuses the family’s own behaviour. |
93
+ | `onClick, onKeyDown, onPointerMove, on every part` | `the element’s own events` | Whenever the element fires them. The consumer’s handler runs first, and preventDefault() refuses the family’s own behavior. |
94
94
 
95
95
  ## Axes and defaults
96
96
 
@@ -128,9 +128,9 @@ Excerpt — not a complete module
128
128
  ```tsx
129
129
  <ActionSheetList>
130
130
  <ActionSheetItem value="delete" tone="danger">
131
- Eliminar rascunho
131
+ Delete draft
132
132
  </ActionSheetItem>
133
- <ActionSheetItem value="save">Guardar rascunho</ActionSheetItem>
133
+ <ActionSheetItem value="save">Save draft</ActionSheetItem>
134
134
  </ActionSheetList>;
135
135
  ```
136
136
 
@@ -142,10 +142,10 @@ Excerpt — not a complete module
142
142
 
143
143
  ```tsx
144
144
  <ActionSheetList>
145
- <ActionSheetGroup label="Enviar">
146
- <ActionSheetItem value="remind">Lembrar o cliente</ActionSheetItem>
147
- <ActionSheetItem value="accounting" disabled description="Disponível depois de aprovada">
148
- Enviar para a contabilidade
145
+ <ActionSheetGroup label="Send">
146
+ <ActionSheetItem value="remind">Remind the customer</ActionSheetItem>
147
+ <ActionSheetItem value="accounting" disabled description="Available after approval">
148
+ Send to accounting
149
149
  </ActionSheetItem>
150
150
  </ActionSheetGroup>
151
151
  <ActionSheetSeparator />
@@ -263,9 +263,9 @@ const coarse = useMediaQuery('(pointer: coarse)');
263
263
 
264
264
  coarse ? (
265
265
  <ActionSheet>
266
- <ActionSheetTrigger>Mais</ActionSheetTrigger>
267
- <ActionSheetContent aria-label="Ações">
268
- <ActionSheetList aria-label="Ações">
266
+ <ActionSheetTrigger>More</ActionSheetTrigger>
267
+ <ActionSheetContent aria-label="Actions">
268
+ <ActionSheetList aria-label="Actions">
269
269
  {actions.map((action) => (
270
270
  <ActionSheetItem key={action.value} {...action} />
271
271
  ))}
@@ -275,8 +275,8 @@ coarse ? (
275
275
  </ActionSheet>
276
276
  ) : (
277
277
  <Menu>
278
- <MenuTrigger>Mais</MenuTrigger>
279
- <MenuContent aria-label="Ações">
278
+ <MenuTrigger>More</MenuTrigger>
279
+ <MenuContent aria-label="Actions">
280
280
  {actions.map((action) => (
281
281
  <MenuItem key={action.value} {...action} />
282
282
  ))}
@@ -126,14 +126,14 @@
126
126
  "type": "'accent' | 'secondary' | 'info' | 'success' | 'warning' | 'danger'",
127
127
  "defaultValue": "accent",
128
128
  "appliesTo": "Alert",
129
- "description": "Which of the five semantic colours the message speaks in, and which mark it draws: status-info, none for secondary, status-success, status-warning, status-danger"
129
+ "description": "Which of the five semantic colors the message speaks in, and which mark it draws: status-info, none for secondary, status-success, status-warning, status-danger"
130
130
  },
131
131
  {
132
132
  "name": "variant",
133
133
  "type": "'soft' | 'outline' | 'solid'",
134
134
  "defaultValue": "soft",
135
135
  "appliesTo": "Alert",
136
- "description": "How that colour is painted. soft carries the tone’s surface and its border, outline the border alone, solid the tone’s fill and the ink the theme measures against it"
136
+ "description": "How that color is painted. soft carries the tone’s surface and its border, outline the border alone, solid the tone’s fill and the ink the theme measures against it"
137
137
  },
138
138
  {
139
139
  "name": "reach",
@@ -247,7 +247,7 @@
247
247
  "The applicable pattern is the WAI-ARIA APG Alert Pattern (w3.org/WAI/ARIA/apg/patterns/alert/). It declares one role and no keyboard interaction: an alert is not a widget, so it holds no keys. Its two prose requirements — that an alert must not affect keyboard focus, and must not disappear on its own — are what this family declines automatic focus and automatic dismissal for.",
248
248
  "The box is a landmark, not a live region. MDN’s alert role reference states that the role “should only be used for text content, not interactive elements such as links or buttons”, and every alert worth shipping has a dismiss control. The root renders a section named by its own title through aria-labelledby, and the region that announces is the content part, which holds the title and the description alone.",
249
249
  "live defaults to off because the APG records that “screen readers do not inform users of alerts that are present on the page before page load completes”. An alert already on the page announces nothing whatever role it carries; polite and assertive are for a message that arrives while the reader is working, and both are written as a role that already implies aria-live and aria-atomic.",
250
- "Every tone with a severity carries a mark as well as a colour, and secondary carries none: a neutral note has no severity to state. Under forced colours the five grounds become one system colour and the five borders one more, so the mark, and its absence on a note, is the only thing distinguishing an error from a note — WCAG 2.2 1.4.1.",
250
+ "Every tone with a severity carries a mark as well as a color, and secondary carries none: a neutral note has no severity to state. Under forced colors the five grounds become one system color and the five borders one more, so the mark, and its absence on a note, is the only thing distinguishing an error from a note — WCAG 2.2 1.4.1.",
251
251
  "The dismiss control is a real button with a real name and an inner control rather than a Button (R2): its box is the glyph plus a step of air on each side, floored at --slotted-target-min, which is the WCAG 2.2 2.5.8 minimum of 24 CSS pixels; at rest it has no frame and no ground, and hover moves only the ground.",
252
252
  "When the message closes with focus inside it, the keyboard goes back to the element it came from. None of the ten surveyed implementations answers this, and the failure it prevents is the one a real product hits first: the dismiss control is destroyed, focus falls to the document body, and the next Tab starts again at the top of the page.",
253
253
  "Closing hides rather than unmounts, so the live region is still in the document if the message comes back and data-open is a state a consumer can style. An application that must not pay for the hidden subtree renders the alert conditionally and never passes defaultOpen.",
@@ -341,17 +341,17 @@
341
341
  {
342
342
  "id": "playground",
343
343
  "title": "Playground",
344
- "note": "One message with every axis on it, driven by the controls below the canvas. Change the tone and the mark changes with it, which is what makes the five distinguishable in greyscale.",
344
+ "note": "One message with every axis on it, driven by the controls below the canvas. Change the tone and the mark changes with it, which is what makes the five distinguishable in grayscale.",
345
345
  "language": "tsx",
346
- "source": "<Alert tone=\"warning\">\n <AlertContent>\n <AlertTitle>Sua assinatura expira em três dias</AlertTitle>\n <AlertDescription>Renove para manter o acesso da equipe.</AlertDescription>\n </AlertContent>\n</Alert>;\n",
346
+ "source": "<Alert tone=\"warning\">\n <AlertContent>\n <AlertTitle>Your subscription expires in three days</AlertTitle>\n <AlertDescription>Renew to keep access for your team.</AlertDescription>\n </AlertContent>\n</Alert>;\n",
347
347
  "verdict": "excerpt"
348
348
  },
349
349
  {
350
350
  "id": "tones",
351
351
  "title": "What the message is about",
352
- "note": "Five tones and five marks. The mark is the answer to WCAG 2.2 1.4.1: read in greyscale, or under forced colours where every ground becomes one system colour, the silhouette is the only thing left.",
352
+ "note": "Five tones and five marks. The mark is the answer to WCAG 2.2 1.4.1: read in grayscale, or under forced colors where every ground becomes one system color, the silhouette is the only thing left.",
353
353
  "language": "tsx",
354
- "source": "// accent is information, secondary a neutral note, success something\n// finished, warning something that needs attention, danger something failed.\n<Alert tone=\"danger\">\n <AlertContent>\n <AlertTitle>Não foi possível salvar</AlertTitle>\n </AlertContent>\n</Alert>;\n",
354
+ "source": "// accent is information, secondary a neutral note, success something\n// finished, warning something that needs attention, danger something failed.\n<Alert tone=\"danger\">\n <AlertContent>\n <AlertTitle>Could not save</AlertTitle>\n </AlertContent>\n</Alert>;\n",
355
355
  "verdict": "excerpt"
356
356
  },
357
357
  {
@@ -367,7 +367,7 @@
367
367
  "title": "How far the message reaches",
368
368
  "note": "The guide’s three recipes as one axis: inline beside the thing it is about, section inside a page section, page across an application. A page banner loses its corners because it runs to both edges.",
369
369
  "language": "tsx",
370
- "source": "<Alert reach=\"inline\" tone=\"danger\">\n <AlertContent>\n <AlertDescription>Informe um CNPJ válido.</AlertDescription>\n </AlertContent>\n</Alert>;\n\n<Alert reach=\"page\" tone=\"warning\" />;\n",
370
+ "source": "<Alert reach=\"inline\" tone=\"danger\">\n <AlertContent>\n <AlertDescription>Enter a valid EIN.</AlertDescription>\n </AlertContent>\n</Alert>;\n\n<Alert reach=\"page\" tone=\"warning\" />;\n",
371
371
  "verdict": "excerpt"
372
372
  },
373
373
  {
@@ -383,7 +383,7 @@
383
383
  "title": "What the message asks for",
384
384
  "note": "The controls are the consumer’s own Buttons, in a part outside the live region — a reader hearing the message is not read two button labels in the middle of it. They stack when the box is narrow. actionsPlacement=\"end\" puts them at the end of the message’s own line once the box is 40rem wide, which a page banner does by default. Each Button in the part takes the alert’s tone and the sm size; a Button that states its own tone or size keeps it. The first action is solid and every other one ghost; outline draws no fill over the alert’s ground and is not used here.",
385
385
  "language": "tsx",
386
- "source": "<Alert tone=\"warning\">\n <AlertContent>\n <AlertTitle>Sua assinatura expira em três dias</AlertTitle>\n </AlertContent>\n <AlertActions>\n <Button>Renovar</Button>\n <Button variant=\"ghost\">Ver planos</Button>\n </AlertActions>\n</Alert>;\n\n<Alert actionsPlacement=\"end\">\n <AlertContent>\n <AlertDescription>A sugestão altera três linhas do plano.</AlertDescription>\n </AlertContent>\n <AlertActions>\n <Button>Aplicar</Button>\n </AlertActions>\n</Alert>;\n",
386
+ "source": "<Alert tone=\"warning\">\n <AlertContent>\n <AlertTitle>Your subscription expires in three days</AlertTitle>\n </AlertContent>\n <AlertActions>\n <Button>Renew</Button>\n <Button variant=\"ghost\">View plans</Button>\n </AlertActions>\n</Alert>;\n\n<Alert actionsPlacement=\"end\">\n <AlertContent>\n <AlertDescription>The suggestion changes three lines of the plan.</AlertDescription>\n </AlertContent>\n <AlertActions>\n <Button>Apply</Button>\n </AlertActions>\n</Alert>;\n",
387
387
  "verdict": "excerpt"
388
388
  },
389
389
  {
@@ -407,7 +407,7 @@
407
407
  "title": "Composition and escape hatches",
408
408
  "note": "The provider sets the defaults once, render substitutes the element of any part, icon replaces the mark, and ref reaches the section so a page that must move focus to the message can.",
409
409
  "language": "tsx",
410
- "source": "<AlertDefaultsProvider reach=\"page\">\n <App />\n</AlertDefaultsProvider>;\n\n<Alert icon={<ShieldIcon />} render={(props) => <aside {...props} />}>\n <AlertContent>\n <AlertTitle render={(props) => <h3 {...props} />}>Manutenção</AlertTitle>\n </AlertContent>\n</Alert>;\n",
410
+ "source": "<AlertDefaultsProvider reach=\"page\">\n <App />\n</AlertDefaultsProvider>;\n\n<Alert icon={<ShieldIcon />} render={(props) => <aside {...props} />}>\n <AlertContent>\n <AlertTitle render={(props) => <h3 {...props} />}>Maintenance</AlertTitle>\n </AlertContent>\n</Alert>;\n",
411
411
  "verdict": "excerpt"
412
412
  },
413
413
  {
@@ -415,7 +415,7 @@
415
415
  "title": "The landmark, the region and the keyboard",
416
416
  "note": "Tab into the message and out of it: the box is a region a reader can jump to, the text is the only thing that announces, and closing the message puts the keyboard back where it came from.",
417
417
  "language": "tsx",
418
- "source": "// A region landmark named \"Manutenção\", holding a polite status region.\n<Alert live=\"polite\">\n <AlertContent>\n <AlertTitle>Manutenção</AlertTitle>\n </AlertContent>\n</Alert>;\n\n// No title: a plain grouping element, and no landmark to jump to.\n<Alert>\n <AlertContent>Pronto.</AlertContent>\n</Alert>;\n",
418
+ "source": "// A region landmark named \"Maintenance\", holding a polite status region.\n<Alert live=\"polite\">\n <AlertContent>\n <AlertTitle>Maintenance</AlertTitle>\n </AlertContent>\n</Alert>;\n\n// No title: a plain grouping element, and no landmark to jump to.\n<Alert>\n <AlertContent>Done.</AlertContent>\n</Alert>;\n",
419
419
  "verdict": "excerpt"
420
420
  }
421
421
  ]
@@ -23,8 +23,8 @@ Excerpt — not a complete module
23
23
  ```tsx
24
24
  <Alert tone="warning">
25
25
  <AlertContent>
26
- <AlertTitle>Sua assinatura expira em três dias</AlertTitle>
27
- <AlertDescription>Renove para manter o acesso da equipe.</AlertDescription>
26
+ <AlertTitle>Your subscription expires in three days</AlertTitle>
27
+ <AlertDescription>Renew to keep access for your team.</AlertDescription>
28
28
  </AlertContent>
29
29
  </Alert>;
30
30
  ```
@@ -45,8 +45,8 @@ Excerpt — not a complete module
45
45
 
46
46
  | Name | Type | Default | Applies to | Description |
47
47
  | --- | --- | --- | --- | --- |
48
- | `tone` | `'accent' \| 'secondary' \| 'info' \| 'success' \| 'warning' \| 'danger'` | accent | Alert | Which of the five semantic colours the message speaks in, and which mark it draws: status-info, none for secondary, status-success, status-warning, status-danger |
49
- | `variant` | `'soft' \| 'outline' \| 'solid'` | soft | Alert | How that colour is painted. soft carries the tone’s surface and its border, outline the border alone, solid the tone’s fill and the ink the theme measures against it |
48
+ | `tone` | `'accent' \| 'secondary' \| 'info' \| 'success' \| 'warning' \| 'danger'` | accent | Alert | Which of the five semantic colors the message speaks in, and which mark it draws: status-info, none for secondary, status-success, status-warning, status-danger |
49
+ | `variant` | `'soft' \| 'outline' \| 'solid'` | soft | Alert | How that color is painted. soft carries the tone’s surface and its border, outline the border alone, solid the tone’s fill and the ink the theme measures against it |
50
50
  | `reach` | `'inline' \| 'section' \| 'page'` | section | Alert | The scope the message applies to. inline is tightest and sits beside a field group; page loses its corners and its inline edges because it runs to both edges of what holds it |
51
51
  | `live` | `'off' \| 'polite' \| 'assertive'` | off | Alert | Whether the text announces itself. polite writes role="status" on the content part and assertive writes role="alert"; both imply aria-live and aria-atomic, and neither is written on the box |
52
52
  | `actionsPlacement` | `'below' \| 'end'` | end for reach='page', below otherwise | Alert | Where the actions stand. below puts them on a row under the words; end puts them at the end of the words’ line, before the dismiss control, once the box is 40rem wide, and under the words below that width |
@@ -83,7 +83,7 @@ Excerpt — not a complete module
83
83
  - The applicable pattern is the WAI-ARIA APG Alert Pattern (w3.org/WAI/ARIA/apg/patterns/alert/). It declares one role and no keyboard interaction: an alert is not a widget, so it holds no keys. Its two prose requirements — that an alert must not affect keyboard focus, and must not disappear on its own — are what this family declines automatic focus and automatic dismissal for.
84
84
  - The box is a landmark, not a live region. MDN’s alert role reference states that the role “should only be used for text content, not interactive elements such as links or buttons”, and every alert worth shipping has a dismiss control. The root renders a section named by its own title through aria-labelledby, and the region that announces is the content part, which holds the title and the description alone.
85
85
  - live defaults to off because the APG records that “screen readers do not inform users of alerts that are present on the page before page load completes”. An alert already on the page announces nothing whatever role it carries; polite and assertive are for a message that arrives while the reader is working, and both are written as a role that already implies aria-live and aria-atomic.
86
- - Every tone with a severity carries a mark as well as a colour, and secondary carries none: a neutral note has no severity to state. Under forced colours the five grounds become one system colour and the five borders one more, so the mark, and its absence on a note, is the only thing distinguishing an error from a note — WCAG 2.2 1.4.1.
86
+ - Every tone with a severity carries a mark as well as a color, and secondary carries none: a neutral note has no severity to state. Under forced colors the five grounds become one system color and the five borders one more, so the mark, and its absence on a note, is the only thing distinguishing an error from a note — WCAG 2.2 1.4.1.
87
87
  - The dismiss control is a real button with a real name and an inner control rather than a Button (R2): its box is the glyph plus a step of air on each side, floored at --slotted-target-min, which is the WCAG 2.2 2.5.8 minimum of 24 CSS pixels; at rest it has no frame and no ground, and hover moves only the ground.
88
88
  - When the message closes with focus inside it, the keyboard goes back to the element it came from. None of the ten surveyed implementations answers this, and the failure it prevents is the one a real product hits first: the dismiss control is destroyed, focus falls to the document body, and the next Tab starts again at the top of the page.
89
89
  - Closing hides rather than unmounts, so the live region is still in the document if the message comes back and data-open is a state a consumer can style. An application that must not pay for the hidden subtree renders the alert conditionally and never passes defaultOpen.
@@ -97,7 +97,7 @@ Excerpt — not a complete module
97
97
 
98
98
  ### What the message is about
99
99
 
100
- Five tones and five marks. The mark is the answer to WCAG 2.2 1.4.1: read in greyscale, or under forced colours where every ground becomes one system colour, the silhouette is the only thing left.
100
+ Five tones and five marks. The mark is the answer to WCAG 2.2 1.4.1: read in grayscale, or under forced colors where every ground becomes one system color, the silhouette is the only thing left.
101
101
 
102
102
  Excerpt — not a complete module
103
103
 
@@ -106,7 +106,7 @@ Excerpt — not a complete module
106
106
  // finished, warning something that needs attention, danger something failed.
107
107
  <Alert tone="danger">
108
108
  <AlertContent>
109
- <AlertTitle>Não foi possível salvar</AlertTitle>
109
+ <AlertTitle>Could not save</AlertTitle>
110
110
  </AlertContent>
111
111
  </Alert>;
112
112
  ```
@@ -137,7 +137,7 @@ Excerpt — not a complete module
137
137
  ```tsx
138
138
  <Alert reach="inline" tone="danger">
139
139
  <AlertContent>
140
- <AlertDescription>Informe um CNPJ válido.</AlertDescription>
140
+ <AlertDescription>Enter a valid EIN.</AlertDescription>
141
141
  </AlertContent>
142
142
  </Alert>;
143
143
 
@@ -172,20 +172,20 @@ Excerpt — not a complete module
172
172
  ```tsx
173
173
  <Alert tone="warning">
174
174
  <AlertContent>
175
- <AlertTitle>Sua assinatura expira em três dias</AlertTitle>
175
+ <AlertTitle>Your subscription expires in three days</AlertTitle>
176
176
  </AlertContent>
177
177
  <AlertActions>
178
- <Button>Renovar</Button>
179
- <Button variant="ghost">Ver planos</Button>
178
+ <Button>Renew</Button>
179
+ <Button variant="ghost">View plans</Button>
180
180
  </AlertActions>
181
181
  </Alert>;
182
182
 
183
183
  <Alert actionsPlacement="end">
184
184
  <AlertContent>
185
- <AlertDescription>A sugestão altera três linhas do plano.</AlertDescription>
185
+ <AlertDescription>The suggestion changes three lines of the plan.</AlertDescription>
186
186
  </AlertContent>
187
187
  <AlertActions>
188
- <Button>Aplicar</Button>
188
+ <Button>Apply</Button>
189
189
  </AlertActions>
190
190
  </Alert>;
191
191
  ```
@@ -232,7 +232,7 @@ Excerpt — not a complete module
232
232
 
233
233
  <Alert icon={<ShieldIcon />} render={(props) => <aside {...props} />}>
234
234
  <AlertContent>
235
- <AlertTitle render={(props) => <h3 {...props} />}>Manutenção</AlertTitle>
235
+ <AlertTitle render={(props) => <h3 {...props} />}>Maintenance</AlertTitle>
236
236
  </AlertContent>
237
237
  </Alert>;
238
238
  ```
@@ -244,15 +244,15 @@ Tab into the message and out of it: the box is a region a reader can jump to, th
244
244
  Excerpt — not a complete module
245
245
 
246
246
  ```tsx
247
- // A region landmark named "Manutenção", holding a polite status region.
247
+ // A region landmark named "Maintenance", holding a polite status region.
248
248
  <Alert live="polite">
249
249
  <AlertContent>
250
- <AlertTitle>Manutenção</AlertTitle>
250
+ <AlertTitle>Maintenance</AlertTitle>
251
251
  </AlertContent>
252
252
  </Alert>;
253
253
 
254
254
  // No title: a plain grouping element, and no landmark to jump to.
255
255
  <Alert>
256
- <AlertContent>Pronto.</AlertContent>
256
+ <AlertContent>Done.</AlertContent>
257
257
  </Alert>;
258
258
  ```
@@ -7,7 +7,7 @@
7
7
 
8
8
  ### Playground
9
9
 
10
- Aurora Logística, a freight operator’s back office, whole: the search a coordinator reaches for first, the destinations with their counts, the order table with the consignment that has no price yet, and the detail pane with its own head, body and foot. Every axis is on the controls below — change navSide and the pane moves to the other side with it; close the pane and the content takes the room.
10
+ Aurora Logistics, a freight operator’s back office, whole: the search a coordinator reaches for first, the destinations with their counts, the order table with the consignment that has no price yet, and the detail pane with its own head, body and foot. Every axis is on the controls below — change navSide and the pane moves to the other side with it; close the pane and the content takes the room.
11
11
 
12
12
  Excerpt — not a complete module
13
13
 
@@ -33,7 +33,7 @@ Excerpt — not a complete module
33
33
  <AppShellBrand>
34
34
  <AppShellNavToggle />
35
35
  </AppShellBrand>
36
- <AppShellCentre>…</AppShellCentre>
36
+ <AppShellCenter>…</AppShellCenter>
37
37
  <AppShellActions>…</AppShellActions>
38
38
  </AppShellBanner>
39
39
  <AppShellNav>
@@ -70,7 +70,7 @@ Excerpt — not a complete module
70
70
 
71
71
  ### Three clusters, and the one that grows
72
72
 
73
- brand starts the line, centre takes whatever room is left, actions ends it. Aurora puts a search field with its shortcut in the middle; Cadence puts the route’s trail there and the route’s actions at the end; Átrio puts a title. What each holds is the product’s — a TextField, a Breadcrumb, an Avatar — and where it goes is the shell’s. Narrow the frame: the middle gives way first, and a control in actions keeps its width rather than breaking its label one letter per line.
73
+ brand starts the line, center takes whatever room is left, actions ends it. Aurora puts a search field with its shortcut in the middle; Cadence puts the route’s trail there and the route’s actions at the end; Atrium puts a title. What each holds is the product’s — a TextField, a Breadcrumb, an Avatar — and where it goes is the shell’s. Narrow the frame: the middle gives way first, and a control in actions keeps its width rather than breaking its label one letter per line.
74
74
 
75
75
  Excerpt — not a complete module
76
76
 
@@ -80,7 +80,7 @@ Excerpt — not a complete module
80
80
  <AppShellNavToggle />
81
81
  <span>Aurora</span>
82
82
  </AppShellBrand>
83
- <AppShellCentre>
83
+ <AppShellCenter>
84
84
  <TextField
85
85
  placeholder="Search…"
86
86
  start={
@@ -90,7 +90,7 @@ Excerpt — not a complete module
90
90
  }
91
91
  type="search"
92
92
  />
93
- </AppShellCentre>
93
+ </AppShellCenter>
94
94
  <AppShellActions>
95
95
  <IconButton aria-label="Notifications">…</IconButton>
96
96
  <Avatar>AB</Avatar>
@@ -113,7 +113,7 @@ Excerpt — not a complete module
113
113
 
114
114
  ### A rule, or a tone
115
115
 
116
- Where two regions touch without a gutter — every seam of flush, the seams inside the panel card, the bar over the content under primary="main" — separation decides what is drawn. rule is a line. tone is no line: the chrome regions take a ground 0.036 OKLab L from the surface, and the subtle tones inside them are recomputed from that ground so a hover still answers. Under forced colours a tone separates nothing, and the rule is drawn whatever the axis says.
116
+ Where two regions touch without a gutter — every seam of flush, the seams inside the panel card, the bar over the content under primary="main" — separation decides what is drawn. rule is a line. tone is no line: the chrome regions take a ground 0.036 OKLab L from the surface, and the subtle tones inside them are recomputed from that ground so a hover still answers. Under forced colors a tone separates nothing, and the rule is drawn whatever the axis says.
117
117
 
118
118
  Excerpt — not a complete module
119
119
 
@@ -238,7 +238,7 @@ const [selected, setSelected] = useState<string | undefined>();
238
238
 
239
239
  ### The layer, and what it does to the rest
240
240
 
241
- Átrio overlays its navigation at every width. While the layer is modal, the rest of the shell is inert — the banner and its toggle included, exactly as a dialog’s trigger is — and the ways out are Escape, the veil, a destination, and whatever control the product put in the panel. The pane is a layer of its own under the same policies: escape="none" keeps it open on Escape, outsidePress="none" keeps it open on a press outside, modal={false} draws no veil and inerts nothing.
241
+ Atrium overlays its navigation at every width. While the layer is modal, the rest of the shell is inert — the banner and its toggle included, exactly as a dialog’s trigger is — and the ways out are Escape, the veil, a destination, and whatever control the product put in the panel. The pane is a layer of its own under the same policies: escape="none" keeps it open on Escape, outsidePress="none" keeps it open on a press outside, modal={false} draws no veil and inerts nothing.
242
242
 
243
243
  Excerpt — not a complete module
244
244
 
@@ -265,7 +265,7 @@ Excerpt — not a complete module
265
265
 
266
266
  ### Sides, sizes and the mirror
267
267
 
268
- Átrio puts the navigation at the end of the line and the pane at the start; the controls turn their marks with them. Switch the direction to right-to-left and the whole frame mirrors, because every distance is logical. navSize and asideSize are steps on the family’s own scale — a theme retunes a step, and nothing retunes a pixel string.
268
+ Atrium puts the navigation at the end of the line and the pane at the start; the controls turn their marks with them. Switch the direction to right-to-left and the whole frame mirrors, because every distance is logical. navSize and asideSize are steps on the family’s own scale — a theme retunes a step, and nothing retunes a pixel string.
269
269
 
270
270
  Excerpt — not a complete module
271
271
 
@@ -119,7 +119,7 @@
119
119
  "skip",
120
120
  "banner",
121
121
  "brand",
122
- "centre",
122
+ "center",
123
123
  "actions",
124
124
  "nav-toggle",
125
125
  "nav",
@@ -147,7 +147,7 @@
147
147
  "docs": {
148
148
  "appShell": {
149
149
  "imports": {
150
- "source": "import {\n AppShell,\n AppShellActions,\n AppShellAside,\n AppShellAsideBody,\n AppShellAsideFooter,\n AppShellAsideHeader,\n AppShellAsideResizer,\n AppShellAsideToggle,\n AppShellBanner,\n AppShellBrand,\n AppShellCentre,\n AppShellDefaultsProvider,\n AppShellFooter,\n AppShellMain,\n AppShellNav,\n AppShellNavBody,\n AppShellNavFooter,\n AppShellNavHeader,\n AppShellNavRail,\n AppShellNavToggle,\n AppShellProgress,\n} from '@slotted/react';"
150
+ "source": "import {\n AppShell,\n AppShellActions,\n AppShellAside,\n AppShellAsideBody,\n AppShellAsideFooter,\n AppShellAsideHeader,\n AppShellAsideResizer,\n AppShellAsideToggle,\n AppShellBanner,\n AppShellBrand,\n AppShellCenter,\n AppShellDefaultsProvider,\n AppShellFooter,\n AppShellMain,\n AppShellNav,\n AppShellNavBody,\n AppShellNavFooter,\n AppShellNavHeader,\n AppShellNavRail,\n AppShellNavToggle,\n AppShellProgress,\n} from '@slotted/react';"
151
151
  },
152
152
  "anatomy": [
153
153
  {
@@ -175,7 +175,7 @@
175
175
  "purpose": "The start cluster: the toggle, the mark, the name of the application or of the workspace. Shortened to one line by default, so a name never pushes the frame wider than the space there is."
176
176
  },
177
177
  {
178
- "part": "centre",
178
+ "part": "center",
179
179
  "element": "div",
180
180
  "required": false,
181
181
  "purpose": "The middle of the bar, and the one cluster that grows: a search field, a breadcrumb trail, the route title, tabs. Without it a bar is two clusters and a void — which is what the first version of this page photographed."
@@ -202,7 +202,7 @@
202
202
  "part": "nav-rail",
203
203
  "element": "div, or the element render returns",
204
204
  "required": false,
205
- "purpose": "A strip of marks before the column: the first level of a two-level navigation, inside the one navigation landmark and under its one open state. With it the region is two columns; closed to rail it keeps the strip and lets the column go. Recognised by :has(), so no attribute is written and a server render has the grid on its first paint."
205
+ "purpose": "A strip of marks before the column: the first level of a two-level navigation, inside the one navigation landmark and under its one open state. With it the region is two columns; closed to rail it keeps the strip and lets the column go. Recognized by :has(), so no attribute is written and a server render has the grid on its first paint."
206
206
  },
207
207
  {
208
208
  "part": "nav-header",
@@ -687,7 +687,7 @@
687
687
  {
688
688
  "id": "playground",
689
689
  "title": "Playground",
690
- "note": "Aurora Logística, a freight operator’s back office, whole: the search a coordinator reaches for first, the destinations with their counts, the order table with the consignment that has no price yet, and the detail pane with its own head, body and foot. Every axis is on the controls below — change navSide and the pane moves to the other side with it; close the pane and the content takes the room.",
690
+ "note": "Aurora Logistics, a freight operator’s back office, whole: the search a coordinator reaches for first, the destinations with their counts, the order table with the consignment that has no price yet, and the detail pane with its own head, body and foot. Every axis is on the controls below — change navSide and the pane moves to the other side with it; close the pane and the content takes the room.",
691
691
  "language": "tsx",
692
692
  "source": "<AppShell>\n <AppShellBanner>…</AppShellBanner>\n <AppShellNav>…</AppShellNav>\n <AppShellMain>…</AppShellMain>\n <AppShellAside>…</AppShellAside>\n <AppShellFooter>…</AppShellFooter>\n</AppShell>;\n",
693
693
  "verdict": "excerpt"
@@ -697,7 +697,7 @@
697
697
  "title": "The frame with nothing in it",
698
698
  "note": "Every part the contract declares, drawn as its own name. Everything else on this page is a product standing in these boxes; this is the family on its own — four rows, three columns, one gutter, the card the content stands on, three clusters in the bar, and a pane with a head, a body and a foot.",
699
699
  "language": "tsx",
700
- "source": "<AppShell>\n <AppShellBanner>\n <AppShellBrand>\n <AppShellNavToggle />\n </AppShellBrand>\n <AppShellCentre>…</AppShellCentre>\n <AppShellActions>…</AppShellActions>\n </AppShellBanner>\n <AppShellNav>\n <AppShellNavHeader>…</AppShellNavHeader>\n <AppShellNavBody>…</AppShellNavBody>\n <AppShellNavFooter>…</AppShellNavFooter>\n </AppShellNav>\n <AppShellMain>…</AppShellMain>\n <AppShellAside>\n <AppShellAsideHeader>\n …\n <AppShellAsideToggle />\n </AppShellAsideHeader>\n <AppShellAsideBody>…</AppShellAsideBody>\n <AppShellAsideFooter>…</AppShellAsideFooter>\n </AppShellAside>\n <AppShellFooter>…</AppShellFooter>\n</AppShell>;\n",
700
+ "source": "<AppShell>\n <AppShellBanner>\n <AppShellBrand>\n <AppShellNavToggle />\n </AppShellBrand>\n <AppShellCenter>…</AppShellCenter>\n <AppShellActions>…</AppShellActions>\n </AppShellBanner>\n <AppShellNav>\n <AppShellNavHeader>…</AppShellNavHeader>\n <AppShellNavBody>…</AppShellNavBody>\n <AppShellNavFooter>…</AppShellNavFooter>\n </AppShellNav>\n <AppShellMain>…</AppShellMain>\n <AppShellAside>\n <AppShellAsideHeader>\n …\n <AppShellAsideToggle />\n </AppShellAsideHeader>\n <AppShellAsideBody>…</AppShellAsideBody>\n <AppShellAsideFooter>…</AppShellAsideFooter>\n </AppShellAside>\n <AppShellFooter>…</AppShellFooter>\n</AppShell>;\n",
701
701
  "verdict": "excerpt"
702
702
  },
703
703
  {
@@ -711,9 +711,9 @@
711
711
  {
712
712
  "id": "banner",
713
713
  "title": "Three clusters, and the one that grows",
714
- "note": "brand starts the line, centre takes whatever room is left, actions ends it. Aurora puts a search field with its shortcut in the middle; Cadence puts the route’s trail there and the route’s actions at the end; Átrio puts a title. What each holds is the product’s — a TextField, a Breadcrumb, an Avatar — and where it goes is the shell’s. Narrow the frame: the middle gives way first, and a control in actions keeps its width rather than breaking its label one letter per line.",
714
+ "note": "brand starts the line, center takes whatever room is left, actions ends it. Aurora puts a search field with its shortcut in the middle; Cadence puts the route’s trail there and the route’s actions at the end; Atrium puts a title. What each holds is the product’s — a TextField, a Breadcrumb, an Avatar — and where it goes is the shell’s. Narrow the frame: the middle gives way first, and a control in actions keeps its width rather than breaking its label one letter per line.",
715
715
  "language": "tsx",
716
- "source": "<AppShellBanner>\n <AppShellBrand>\n <AppShellNavToggle />\n <span>Aurora</span>\n </AppShellBrand>\n <AppShellCentre>\n <TextField\n placeholder=\"Search…\"\n start={\n <Icon>\n <Search />\n </Icon>\n }\n type=\"search\"\n />\n </AppShellCentre>\n <AppShellActions>\n <IconButton aria-label=\"Notifications\">…</IconButton>\n <Avatar>AB</Avatar>\n </AppShellActions>\n</AppShellBanner>;\n",
716
+ "source": "<AppShellBanner>\n <AppShellBrand>\n <AppShellNavToggle />\n <span>Aurora</span>\n </AppShellBrand>\n <AppShellCenter>\n <TextField\n placeholder=\"Search…\"\n start={\n <Icon>\n <Search />\n </Icon>\n }\n type=\"search\"\n />\n </AppShellCenter>\n <AppShellActions>\n <IconButton aria-label=\"Notifications\">…</IconButton>\n <Avatar>AB</Avatar>\n </AppShellActions>\n</AppShellBanner>;\n",
717
717
  "verdict": "excerpt"
718
718
  },
719
719
  {
@@ -727,7 +727,7 @@
727
727
  {
728
728
  "id": "separation",
729
729
  "title": "A rule, or a tone",
730
- "note": "Where two regions touch without a gutter — every seam of flush, the seams inside the panel card, the bar over the content under primary=\"main\" — separation decides what is drawn. rule is a line. tone is no line: the chrome regions take a ground 0.036 OKLab L from the surface, and the subtle tones inside them are recomputed from that ground so a hover still answers. Under forced colours a tone separates nothing, and the rule is drawn whatever the axis says.",
730
+ "note": "Where two regions touch without a gutter — every seam of flush, the seams inside the panel card, the bar over the content under primary=\"main\" — separation decides what is drawn. rule is a line. tone is no line: the chrome regions take a ground 0.036 OKLab L from the surface, and the subtle tones inside them are recomputed from that ground so a hover still answers. Under forced colors a tone separates nothing, and the rule is drawn whatever the axis says.",
731
731
  "language": "tsx",
732
732
  "source": "<AppShell canvas=\"flush\" separation=\"rule\">\n …\n</AppShell>;\n<AppShell canvas=\"flush\" separation=\"tone\">\n …\n</AppShell>;\n<AppShell canvas=\"panel\" primary=\"main\" separation=\"tone\">\n …\n</AppShell>;\n",
733
733
  "verdict": "excerpt"
@@ -775,7 +775,7 @@
775
775
  {
776
776
  "id": "overlay",
777
777
  "title": "The layer, and what it does to the rest",
778
- "note": "Átrio overlays its navigation at every width. While the layer is modal, the rest of the shell is inert — the banner and its toggle included, exactly as a dialog’s trigger is — and the ways out are Escape, the veil, a destination, and whatever control the product put in the panel. The pane is a layer of its own under the same policies: escape=\"none\" keeps it open on Escape, outsidePress=\"none\" keeps it open on a press outside, modal={false} draws no veil and inerts nothing.",
778
+ "note": "Atrium overlays its navigation at every width. While the layer is modal, the rest of the shell is inert — the banner and its toggle included, exactly as a dialog’s trigger is — and the ways out are Escape, the veil, a destination, and whatever control the product put in the panel. The pane is a layer of its own under the same policies: escape=\"none\" keeps it open on Escape, outsidePress=\"none\" keeps it open on a press outside, modal={false} draws no veil and inerts nothing.",
779
779
  "language": "tsx",
780
780
  "source": "<AppShell navMode=\"overlay\" escape=\"close\" outsidePress=\"close\" modal>\n …\n</AppShell>;\n<AppShell asideMode=\"overlay\" escape=\"none\" outsidePress=\"none\" modal={false}>\n …\n</AppShell>;\n",
781
781
  "verdict": "excerpt"
@@ -791,7 +791,7 @@
791
791
  {
792
792
  "id": "sides",
793
793
  "title": "Sides, sizes and the mirror",
794
- "note": "Átrio puts the navigation at the end of the line and the pane at the start; the controls turn their marks with them. Switch the direction to right-to-left and the whole frame mirrors, because every distance is logical. navSize and asideSize are steps on the family’s own scale — a theme retunes a step, and nothing retunes a pixel string.",
794
+ "note": "Atrium puts the navigation at the end of the line and the pane at the start; the controls turn their marks with them. Switch the direction to right-to-left and the whole frame mirrors, because every distance is logical. navSize and asideSize are steps on the family’s own scale — a theme retunes a step, and nothing retunes a pixel string.",
795
795
  "language": "tsx",
796
796
  "source": "<AppShell navSide=\"end\" navSize=\"sm\" asideSize=\"sm\">\n …\n</AppShell>;\n",
797
797
  "verdict": "excerpt"
@@ -17,7 +17,7 @@ import {
17
17
  AppShellAsideToggle,
18
18
  AppShellBanner,
19
19
  AppShellBrand,
20
- AppShellCentre,
20
+ AppShellCenter,
21
21
  AppShellDefaultsProvider,
22
22
  AppShellFooter,
23
23
  AppShellMain,
@@ -91,7 +91,7 @@ export default function AppShellBasic() {
91
91
  | `skip` | div holding one a per region | no |
92
92
  | `banner` | header, or the element render returns | no |
93
93
  | `brand` | div | no |
94
- | `centre` | div | no |
94
+ | `center` | div | no |
95
95
  | `actions` | div | no |
96
96
  | `nav-toggle` | button, or the element render returns | no |
97
97
  | `nav` | nav, or the element render returns | no |
@@ -304,7 +304,7 @@
304
304
  "type": "handler",
305
305
  "defaultValue": "—",
306
306
  "appliesTo": "root, remove",
307
- "description": "Composed: the page handler runs first and preventDefault refuses the family behaviour"
307
+ "description": "Composed: the page handler runs first and preventDefault refuses the family behavior"
308
308
  },
309
309
  {
310
310
  "name": "aria-describedby",
@@ -68,7 +68,7 @@ Excerpt — not a complete module
68
68
  | `ref` | `Ref<HTMLElement>` | — | every part | Reaches the native element; each part extends its own element props |
69
69
  | `AttachmentDefaultsProvider` | `{ size, orientation, layout }` | — | a subtree | Sets the three once; the group and the attachment still win |
70
70
  | `render` | `(props) => ReactNode` | — | every part | The consumer element receives data-part and the wiring; spread it |
71
- | `onKeyDown / onClick` | `handler` | — | root, remove | Composed: the page handler runs first and preventDefault refuses the family behaviour |
71
+ | `onKeyDown / onClick` | `handler` | — | root, remove | Composed: the page handler runs first and preventDefault refuses the family behavior |
72
72
  | `aria-describedby` | `string` | — | AttachmentLink, AttachmentTrigger | Joined with the detail and message ids rather than replaced |
73
73
 
74
74
  ## Events
@@ -197,7 +197,7 @@
197
197
  },
198
198
  {
199
199
  "id": "avatar-group-react-ring",
200
- "title": "A group on a coloured row",
200
+ "title": "A group on a colored row",
201
201
  "note": null,
202
202
  "language": "tsx",
203
203
  "source": "<div style={{ background: 'var(--slotted-surface-sunken)' }}>\n <AvatarGroup\n aria-label=\"Reviewers\"\n style={{ '--slotted-avatar-ring-color': 'var(--slotted-surface-sunken)' }}\n >\n {reviewers.map((person) => (\n <Avatar key={person.id} name={person.name} src={person.photograph} />\n ))}\n </AvatarGroup>\n</div>;\n",
@@ -101,7 +101,7 @@ Excerpt — not a complete module
101
101
  </AvatarGroup>;
102
102
  ```
103
103
 
104
- ### A group on a coloured row
104
+ ### A group on a colored row
105
105
 
106
106
  Excerpt — not a complete module
107
107
 
@@ -86,7 +86,7 @@
86
86
  "type": "string",
87
87
  "defaultValue": "—",
88
88
  "appliesTo": "Avatar",
89
- "description": "The person or entity. It is the accessible name in every status, the source of the initials, and the seed of the colour"
89
+ "description": "The person or entity. It is the accessible name in every status, the source of the initials, and the seed of the color"
90
90
  },
91
91
  {
92
92
  "name": "src",
@@ -107,21 +107,21 @@
107
107
  "type": "'auto' | 'accent' | 'secondary' | 'info' | 'success' | 'warning' | 'danger'",
108
108
  "defaultValue": "auto",
109
109
  "appliesTo": "Avatar",
110
- "description": "Which of the five semantic colours the fallback is painted in. auto derives it from the name"
110
+ "description": "Which of the five semantic colors the fallback is painted in. auto derives it from the name"
111
111
  },
112
112
  {
113
113
  "name": "idFor",
114
114
  "type": "string",
115
115
  "defaultValue": "—",
116
116
  "appliesTo": "Avatar",
117
- "description": "A stable identifier to derive the colour from, when the name is not stable or two people share one"
117
+ "description": "A stable identifier to derive the color from, when the name is not stable or two people share one"
118
118
  },
119
119
  {
120
120
  "name": "variant",
121
121
  "type": "'soft' | 'solid'",
122
122
  "defaultValue": "soft",
123
123
  "appliesTo": "Avatar",
124
- "description": "How that colour is painted: tinted, or filled"
124
+ "description": "How that color is painted: tinted, or filled"
125
125
  },
126
126
  {
127
127
  "name": "surface",
@@ -142,7 +142,7 @@
142
142
  "type": "'circle' | 'square'",
143
143
  "defaultValue": "circle",
144
144
  "appliesTo": "Avatar",
145
- "description": "A circle is a person; a square is a team, an organisation or a bot"
145
+ "description": "A circle is a person; a square is a team, an organization or a bot"
146
146
  },
147
147
  {
148
148
  "name": "status",
@@ -221,12 +221,12 @@
221
221
  "There is no avatar pattern in the WAI-ARIA Authoring Practices — the pattern index carries no entry, and the string does not occur on the page. The applicable guidance is the platform’s own: the img element and the img role in WAI-ARIA 1.2, the W3C WAI alt decision tree, and WCAG 2.2 1.1.1 Non-text Content, 1.4.11 Non-text Contrast and 2.5.8 Target Size (Minimum).",
222
222
  "The name is on the root, as aria-label with role=\"img\", and the picture takes an empty alt. The avatar therefore announces the same thing in all four statuses: every surveyed implementation names the image instead, which makes the same avatar “Ada Lovelace” once the photograph loads and “AL” before it.",
223
223
  "An avatar with no name is aria-hidden, which is the rule Icon already takes: a name present decides role=\"img\", an absent one decides that there is nothing to announce.",
224
- "decorative is the third case — a name that is written beside the avatar, where announcing it would read the person twice. The name still drives the initials and the colour.",
225
- "The colour derived from a name is an aid to scanning a list, never the identifier: five tones mean collisions are certain, and colour alone is not a signal. The name is what identifies the person, and it is present in every state.",
224
+ "decorative is the third case — a name that is written beside the avatar, where announcing it would read the person twice. The name still drives the initials and the color.",
225
+ "The color derived from a name is an aid to scanning a list, never the identifier: five tones mean collisions are certain, and color alone is not a signal. The name is what identifies the person, and it is present in every state.",
226
226
  "An avatar is not focusable and not a command. render can make the root an anchor or a button, and the family paints the focus ring and the hover edge for exactly that case — and holds both back when the avatar is disabled.",
227
- "An interactive avatar smaller than 24 by 24 CSS pixels grows a centred overlay to --slotted-target-min, so WCAG 2.2 2.5.8 is met at the two tighter densities without changing any layout. Inside a stack the overlay can reach under a neighbour; the raised member wins the pointer.",
227
+ "An interactive avatar smaller than 24 by 24 CSS pixels grows a centerd overlay to --slotted-target-min, so WCAG 2.2 2.5.8 is met at the two tighter densities without changing any layout. Inside a stack the overlay can reach under a neighbour; the raised member wins the pointer.",
228
228
  "The fallback glyph is the person Glyph in an aria-hidden Icon, not a character: no font can be relied on to carry a silhouette, and a character would be read out.",
229
- "Under forced colours the family draws its edge in currentColor, because the theme maps every tone ground to one system colour. The photograph is left alone: a portrait reduced to two system colours is not a portrait.",
229
+ "Under forced colors the family draws its edge in currentColor, because the theme maps every tone ground to one system color. The photograph is left alone: a portrait reduced to two system colors is not a portrait.",
230
230
  "The picture crosses over the initials on --slotted-duration-short, which prefers-reduced-motion collapses to 1ms in the theme. Nothing here loops."
231
231
  ]
232
232
  }
@@ -352,7 +352,7 @@
352
352
  "verdict": "excerpt"
353
353
  },
354
354
  {
355
- "id": "avatar-react-organisation",
355
+ "id": "avatar-react-organization",
356
356
  "title": "A square avatar, and a mark of its own",
357
357
  "note": null,
358
358
  "language": "tsx",