@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
@@ -14,9 +14,9 @@ import { Toolbar, ToolbarDefaultsProvider, ToolbarGroup, ToolbarItem, ToolbarOve
14
14
  Excerpt — not a complete module
15
15
 
16
16
  ```tsx
17
- <Toolbar aria-label="Formatação">
18
- <Button variant="ghost">Negrito</Button>
19
- <Button variant="ghost">Itálico</Button>
17
+ <Toolbar aria-label="Formatting">
18
+ <Button variant="ghost">Bold</Button>
19
+ <Button variant="ghost">Italic</Button>
20
20
  <ToolbarSeparator />
21
21
  <Button variant="ghost">Link</Button>
22
22
  </Toolbar>;
@@ -43,7 +43,7 @@ Excerpt — not a complete module
43
43
  | `overflow` | `'wrap' \| 'scroll' \| 'menu'` | wrap | Toolbar, ToolbarDefaultsProvider | What a bar does with more controls than it has room for. wrap keeps every control on a second row, scroll is one line the arrows reveal, and menu is one line whose units give way from the end into a surface. A menu bar with no ToolbarOverflow in it has nothing to give way to, so it scrolls |
44
44
  | `onOverflowChange` | `(hidden: number) => void` | — | Toolbar | How many units gave way, once per change. There is no controlled pair over the collapsed set: it is a measurement, and a consumer who owned it could assert that a bar fits when the layout says it does not |
45
45
  | `counterpart` | `ReactNode` | — | ToolbarItem, ToolbarGroup | What the unit becomes in the surface when the bar has no room for it. A unit that declares none is pinned — pinning is the absence of a counterpart rather than a second prop, so the two can never disagree. It is not called overflow, because that word is the bar’s own axis |
46
- | `label` | `string \| ((hidden: number) => string)` | counted | ToolbarOverflow | The accessible name of the control that holds what did not fit. The default counts — "3 more actions" — because three dots say nothing about how much is behind them. It is a sentence of the language in force, with its plural ("Mais 3 ações" in pt-BR), and label replaces it |
46
+ | `label` | `string \| ((hidden: number) => string)` | counted | ToolbarOverflow | The accessible name of the control that holds what did not fit. The default counts — "3 more actions" — because three dots say nothing about how much is behind them. It is a sentence of the language in force, with its plural, and label replaces it |
47
47
  | `align, side, size` | `MenuAlign \| MenuSide \| MenuSize` | from the Menu defaults | ToolbarOverflow | Where the surface sits against the trigger, and its own measure. Everything else about the layer an application sets once with MenuDefaultsProvider: a second configuration surface over the same layer would be two answers to one question |
48
48
  | `loop` | `boolean` | true | Toolbar, ToolbarDefaultsProvider | Whether the arrows wrap past the ends of the bar |
49
49
  | `aria-label` | `string` | — | Toolbar, ToolbarGroup | The name of the bar, and of each group. The family writes neither: only the page knows what the set of controls is for. aria-labelledby works the same way |
@@ -72,7 +72,7 @@ Excerpt — not a complete module
72
72
  - A control that announces aria-disabled keeps its place in the ring, which the pattern allows where discoverability of a function is crucial and which is what Button’s focusableWhenDisabled renders. A control carrying the native attribute is skipped, because the platform will not focus it either — including every control inside a disabled fieldset.
73
73
  - The bar names itself with the consumer’s aria-label or aria-labelledby, and each group names itself the same way. The pattern uses the role for three or more controls; that is documented rather than enforced, because a role that disappeared when a permission filter removed a button would be a semantic changing behind the author.
74
74
  - Under overflow="menu" the control that holds what did not fit is a control of the bar like any other: the arrows, Home and End reach it, and it leaves the ring the moment the bar has room for everything, because a hidden control cannot hold focus. Its name carries the count rather than the mark, and focus is moved onto it before the control under focus is hidden — so a reader who was on the fifth button lands on the control that now holds it rather than on the document body.
75
- - Nothing in the bar is painted over: every control keeps its own states, its own focus ring and its own contrast. What the bar adds is the boundary between runs — a group, a rule, a spacer — and under forced colours the rule keeps its own paint, because a background flattens to Canvas and would take the boundary with it.
75
+ - Nothing in the bar is painted over: every control keeps its own states, its own focus ring and its own contrast. What the bar adds is the boundary between runs — a group, a rule, a spacer — and under forced colors the rule keeps its own paint, because a background flattens to Canvas and would take the boundary with it.
76
76
 
77
77
  ## Tokens
78
78
 
@@ -82,14 +82,14 @@ Excerpt — not a complete module
82
82
 
83
83
  ### Which way the bar runs
84
84
 
85
- A horizontal bar centres its controls and a vertical one stretches them, because a column at each control’s natural width is a ragged edge; the separator and the group boundary turn with it.
85
+ A horizontal bar centers its controls and a vertical one stretches them, because a column at each control’s natural width is a ragged edge; the separator and the group boundary turn with it.
86
86
 
87
87
  Excerpt — not a complete module
88
88
 
89
89
  ```tsx
90
- <Toolbar aria-label="Ferramentas" orientation="vertical">
91
- <Button variant="ghost">Lápis</Button>
92
- <Button variant="ghost">Pincel</Button>
90
+ <Toolbar aria-label="Tools" orientation="vertical">
91
+ <Button variant="ghost">Pencil</Button>
92
+ <Button variant="ghost">Brush</Button>
93
93
  <ToolbarSeparator />
94
94
  <Button variant="ghost">Borracha</Button>
95
95
  </Toolbar>;
@@ -127,16 +127,16 @@ A group carries a name a screen reader announces and a boundary the eye reads, a
127
127
  Excerpt — not a complete module
128
128
 
129
129
  ```tsx
130
- <Toolbar aria-label="Seleção" variant="outline">
131
- <ToolbarGroup aria-label="Alinhamento">
132
- <Button variant="outline">Início</Button>
130
+ <Toolbar aria-label="Selection" variant="outline">
131
+ <ToolbarGroup aria-label="Alignment">
132
+ <Button variant="outline">Start</Button>
133
133
  <Button pressed variant="outline">
134
- Centro
134
+ Center
135
135
  </Button>
136
136
  </ToolbarGroup>
137
137
  <ToolbarSeparator />
138
138
  <ToolbarSpacer />
139
- <Button tone="danger">Excluir</Button>
139
+ <Button tone="danger">Delete</Button>
140
140
  </Toolbar>;
141
141
  ```
142
142
 
@@ -150,16 +150,16 @@ Excerpt — not a complete module
150
150
  // Every focusable control inside the bar is an item, found in the DOM
151
151
  // rather than wrapped in a component of its own — so this library's own
152
152
  // families, and a consumer's own control, drop in unwrapped.
153
- <Toolbar aria-label="Formatação">
154
- <Button variant="ghost">Negrito</Button>
155
- <Checkbox>Grade</Checkbox>
153
+ <Toolbar aria-label="Formatting">
154
+ <Button variant="ghost">Bold</Button>
155
+ <Checkbox>Grid</Checkbox>
156
156
  <Link href="/ajuda">Ajuda</Link>
157
157
  </Toolbar>;
158
158
  ```
159
159
 
160
160
  ### An item that keeps the arrows
161
161
 
162
- A text field needs the inline arrows for its caret, so the bar leaves them to it and focus moves out on the cross axis instead — the APG’s advice for the author, written as behaviour.
162
+ A text field needs the inline arrows for its caret, so the bar leaves them to it and focus moves out on the cross axis instead — the APG’s advice for the author, written as behavior.
163
163
 
164
164
  Excerpt — not a complete module
165
165
 
@@ -181,10 +181,10 @@ Excerpt — not a complete module
181
181
 
182
182
  ```tsx
183
183
  <fieldset disabled={readOnly}>
184
- <Toolbar aria-label="Somente leitura">
185
- <Button variant="outline">Editar</Button>
184
+ <Toolbar aria-label="Read-only">
185
+ <Button variant="outline">Edit</Button>
186
186
  <ToolbarSeparator />
187
- <Button tone="danger">Excluir</Button>
187
+ <Button tone="danger">Delete</Button>
188
188
  </Toolbar>
189
189
  </fieldset>;
190
190
  ```
@@ -196,8 +196,8 @@ wrap keeps every control visible on a second row, and the arrows wrap from row t
196
196
  Excerpt — not a complete module
197
197
 
198
198
  ```tsx
199
- <Toolbar aria-label="Muitas ações" overflow="wrap" />;
200
- <Toolbar aria-label="Muitas ações, rolando" overflow="scroll" />;
199
+ <Toolbar aria-label="Many actions" overflow="wrap" />;
200
+ <Toolbar aria-label="Many actions, scrolling" overflow="scroll" />;
201
201
  ```
202
202
 
203
203
  ### What is left over, behind one control
@@ -231,13 +231,13 @@ Excerpt — not a complete module
231
231
 
232
232
  ```tsx
233
233
  <ToolbarDefaultsProvider size="sm" variant="outline">
234
- <Tabs defaultValue="resumo">
235
- <TabList aria-label="Pedido">
236
- <Tab value="resumo">Resumo</Tab>
234
+ <Tabs defaultValue="summary">
235
+ <TabList aria-label="Order">
236
+ <Tab value="summary">Summary</Tab>
237
237
  </TabList>
238
238
  <TabActions>
239
- <Toolbar aria-label="Ações do pedido">
240
- <Button variant="ghost">Exportar</Button>
239
+ <Toolbar aria-label="Order actions">
240
+ <Button variant="ghost">Export</Button>
241
241
  </Toolbar>
242
242
  </TabActions>
243
243
  </Tabs>
@@ -178,7 +178,7 @@
178
178
  "type": "'inverse' | 'surface'",
179
179
  "defaultValue": "inverse",
180
180
  "appliesTo": "Tooltip",
181
- "description": "inverse paints the tooltip in the colour opposite to the page, which needs no edge on a light page. surface paints the raised panel colour with a hairline border, for a page that is already dark."
181
+ "description": "inverse paints the tooltip in the color opposite to the page, which needs no edge on a light page. surface paints the raised panel color with a hairline border, for a page that is already dark."
182
182
  },
183
183
  {
184
184
  "name": "size",
@@ -213,7 +213,7 @@
213
213
  "type": "'start' | 'center' | 'end'",
214
214
  "defaultValue": "center",
215
215
  "appliesTo": "Tooltip",
216
- "description": "Where the tooltip sits along the edge it took: at the start of the trigger, at its centre or at its end."
216
+ "description": "Where the tooltip sits along the edge it took: at the start of the trigger, at its center or at its end."
217
217
  },
218
218
  {
219
219
  "name": "mount",
@@ -276,7 +276,7 @@
276
276
  "type": "boolean",
277
277
  "defaultValue": "true",
278
278
  "appliesTo": "Tooltip",
279
- "description": "Whether the layer renders into the shared portal root at the end of the document. The portal root keeps the theme, colour scheme, density and direction of the region the tooltip opened from."
279
+ "description": "Whether the layer renders into the shared portal root at the end of the document. The portal root keeps the theme, color scheme, density and direction of the region the tooltip opened from."
280
280
  },
281
281
  {
282
282
  "name": "disabled",
@@ -63,12 +63,12 @@ export default function TooltipBasic() {
63
63
  | --- | --- | --- | --- | --- |
64
64
  | `open` | `boolean` | — | Tooltip | The open state of a controlled tooltip. Update it from onOpenChange: the tooltip opens and closes only when the new value comes back. A tooltip that receives open stays controlled for as long as it is mounted. |
65
65
  | `defaultOpen` | `boolean` | false | Tooltip | The state an uncontrolled tooltip starts in. It is read once, on mount. |
66
- | `variant` | `'inverse' \| 'surface'` | inverse | Tooltip | inverse paints the tooltip in the colour opposite to the page, which needs no edge on a light page. surface paints the raised panel colour with a hairline border, for a page that is already dark. |
66
+ | `variant` | `'inverse' \| 'surface'` | inverse | Tooltip | inverse paints the tooltip in the color opposite to the page, which needs no edge on a light page. surface paints the raised panel color with a hairline border, for a page that is already dark. |
67
67
  | `size` | `'sm' \| 'md'` | md | Tooltip | The type step: sm for dense rows such as toolbars and table cells, md elsewhere. Both steps follow the density of the region, because both read the control scale. |
68
68
  | `describes` | `'description' \| 'label' \| 'none'` | description | Tooltip | How the trigger refers to the tooltip. description writes aria-describedby while the tooltip is open. label writes aria-labelledby, so the tooltip is the accessible name of an icon-only button, and it forces mount="eager" so the name exists before the first open. none writes no reference and hides the content from assistive technology, for a tooltip that repeats words the trigger already carries. |
69
69
  | `openOn` | `'hover' \| 'focus' \| 'manual'` | hover | Tooltip | What opens the tooltip. hover opens it on pointer hover and on keyboard focus, and focus opens it without a delay. focus opens it on keyboard focus only. manual binds neither: the tooltip opens only through open or the handle. |
70
70
  | `side` | `'top' \| 'bottom' \| 'inline-start' \| 'inline-end' \| 'left' \| 'right'` | top | Tooltip | The edge of the trigger the tooltip prefers. inline-start and inline-end follow the writing direction of the layer, resolved at every measurement; left and right do not. |
71
- | `align` | `'start' \| 'center' \| 'end'` | center | Tooltip | Where the tooltip sits along the edge it took: at the start of the trigger, at its centre or at its end. |
71
+ | `align` | `'start' \| 'center' \| 'end'` | center | Tooltip | Where the tooltip sits along the edge it took: at the start of the trigger, at its center or at its end. |
72
72
  | `mount` | `'active' \| 'lazy' \| 'eager'` | active | Tooltip | When the layer is in the document. active adds it on open and removes it after the exit animation, lazy keeps it after the first open, and eager renders it from the start. |
73
73
  | `strategy` | `'absolute' \| 'fixed'` | absolute | Tooltip | The CSS position of the layer. Use fixed for a trigger inside an overflow: hidden ancestor, and absolute for one inside a transformed ancestor. |
74
74
  | `arrow` | `boolean` | true | Tooltip | Whether the layer draws the arrow. |
@@ -77,7 +77,7 @@ export default function TooltipBasic() {
77
77
  | `flip` | `boolean` | true | Tooltip | Whether the tooltip moves to the opposite edge when the preferred edge has no room. |
78
78
  | `shift` | `boolean` | true | Tooltip | Whether the tooltip slides along its edge to stay inside the boundary. |
79
79
  | `hideWhenDetached` | `boolean` | true | Tooltip | Whether the layer hides while its trigger is outside the clipping ancestor. The tooltip hides without closing and shows again when the trigger comes back; the pointer leaving is what closes it. |
80
- | `portal` | `boolean` | true | Tooltip | Whether the layer renders into the shared portal root at the end of the document. The portal root keeps the theme, colour scheme, density and direction of the region the tooltip opened from. |
80
+ | `portal` | `boolean` | true | Tooltip | Whether the layer renders into the shared portal root at the end of the document. The portal root keeps the theme, color scheme, density and direction of the region the tooltip opened from. |
81
81
  | `disabled` | `boolean` | false | Tooltip | Turns the tooltip off: it never opens and renders no layer. The disabled state of the trigger is set on the trigger itself. |
82
82
  | `whenClipped` | `boolean` | false | Tooltip | Opens the tooltip only while the text of the trigger is cut off by its box, such as a column header truncated to “Op…”. The trigger is measured at the moment the tooltip would open, so a column dragged wider stops opening it. |
83
83
  | `openDelay` | `number` | 600 | Tooltip | Milliseconds the pointer rests on the trigger before the tooltip opens. Keyboard focus opens it without waiting. |
@@ -49,14 +49,14 @@ Excerpt — not a complete module
49
49
 
50
50
  ```tsx
51
51
  <TopNavigationList>
52
- <TopNavigationItem priority="high" value="painel">
53
- <TopNavigationLink href="/painel">Painel</TopNavigationLink>
52
+ <TopNavigationItem priority="high" value="dashboard">
53
+ <TopNavigationLink href="/dashboard">Dashboard</TopNavigationLink>
54
54
  </TopNavigationItem>
55
- <TopNavigationItem value="rotas">
55
+ <TopNavigationItem value="routes">
56
56
  <TopNavigationLink href="/rotas">Rotas</TopNavigationLink>
57
57
  </TopNavigationItem>
58
58
  <TopNavigationItem priority="low" value="faturacao">
59
- <TopNavigationLink href="/faturacao">Faturação</TopNavigationLink>
59
+ <TopNavigationLink href="/faturacao">Billing</TopNavigationLink>
60
60
  </TopNavigationItem>
61
61
  </TopNavigationList>;
62
62
  ```
@@ -84,9 +84,9 @@ Excerpt — not a complete module
84
84
  ```tsx
85
85
  <TopNavigationSearch>
86
86
  <TextField
87
- aria-label="Procurar"
87
+ aria-label="Search"
88
88
  end={<Shortcut keys="mod+k" size="sm" variant="soft" />}
89
- placeholder="Procurar cargas, clientes, rotas…"
89
+ placeholder="Search loads, customers, routes…"
90
90
  start={<Search aria-hidden size={16} />}
91
91
  type="search"
92
92
  variant="subtle"
@@ -106,7 +106,7 @@ Excerpt — not a complete module
106
106
  <NavigationMenuContent>
107
107
  <NavigationMenuLinks>
108
108
  <li>
109
- <NavigationMenuLink href="/fleet/vehicles">Veículos</NavigationMenuLink>
109
+ <NavigationMenuLink href="/fleet/vehicles">Vehicles</NavigationMenuLink>
110
110
  </li>
111
111
  </NavigationMenuLinks>
112
112
  </NavigationMenuContent>
@@ -147,7 +147,7 @@ const press = (to: string) => (event: MouseEvent) => {
147
147
 
148
148
  ### The global controls
149
149
 
150
- Help as a link to a help centre or as the trigger of a popover; the bell with a count over its corner that grows to a pill away from it; the account as a menu’s trigger; a control of the product’s own — approvals — in the same square, with its own glyph and the same count. Each carries its name for a reader and repeats it in a tooltip.
150
+ Help as a link to a help center or as the trigger of a popover; the bell with a count over its corner that grows to a pill away from it; the account as a menu’s trigger; a control of the product’s own — approvals — in the same square, with its own glyph and the same count. Each carries its name for a reader and repeats it in a tooltip.
151
151
 
152
152
  Excerpt — not a complete module
153
153
 
@@ -157,7 +157,7 @@ Excerpt — not a complete module
157
157
  <Popover>
158
158
  <PopoverTrigger
159
159
  render={(props) => (
160
- <TopNavigationAction {...props} aria-label={`Aprovações, ${pending} pendentes`}>
160
+ <TopNavigationAction {...props} aria-label={`Approvals, ${pending} pending`}>
161
161
  <ClipboardCheck />
162
162
  <TopNavigationCount>{pending}</TopNavigationCount>
163
163
  </TopNavigationAction>
@@ -206,14 +206,14 @@ Excerpt — not a complete module
206
206
  tone="secondary"
207
207
  variant="ghost"
208
208
  >
209
- Porto · Operações
209
+ Portland · Operations
210
210
  </Button>
211
211
  )}
212
212
  />
213
213
  <MenuContent>…</MenuContent>
214
214
  </Menu>
215
215
  <Badge size="sm" tone="warning" variant="soft">
216
- Homologação
216
+ Staging
217
217
  </Badge>
218
218
  </TopNavigationContext>;
219
219
  ```
@@ -236,7 +236,7 @@ Excerpt — not a complete module
236
236
 
237
237
  ```tsx
238
238
  <TopNavigationItem disabled value="faturacao">
239
- <TopNavigationLink href="/faturacao">Faturação</TopNavigationLink>
239
+ <TopNavigationLink href="/faturacao">Billing</TopNavigationLink>
240
240
  </TopNavigationItem>;
241
241
  ```
242
242
 
@@ -262,7 +262,7 @@ Excerpt — not a complete module
262
262
  ```tsx
263
263
  <AppShell>
264
264
  <AppShellBanner>
265
- <TopNavigation defaultValue="painel">
265
+ <TopNavigation defaultValue="dashboard">
266
266
  <TopNavigationBrand>
267
267
  <AppShellNavToggle />
268
268
  <TopNavigationHome href="/">…</TopNavigationHome>
@@ -550,9 +550,9 @@
550
550
  {
551
551
  "id": "playground",
552
552
  "title": "The bar of a freight operator",
553
- "note": "Aurora Logística’s bar with every region filled, in a desktop room. The room scrolls sideways where the page is narrower; the steps the bar folds at are the next demonstration.",
553
+ "note": "Aurora Logistics’ bar with every region filled, in a desktop room. The room scrolls sideways where the page is narrower; the steps the bar folds at are the next demonstration.",
554
554
  "language": "tsx",
555
- "source": "<TopNavigation defaultValue=\"painel\" skipTo=\"conteudo\">\n <TopNavigationBrand>\n <TopNavigationHome href=\"/\">\n <TopNavigationMark>\n <AuroraMark />\n </TopNavigationMark>\n <TopNavigationName>Aurora Logística</TopNavigationName>\n </TopNavigationHome>\n </TopNavigationBrand>\n <TopNavigationNav>\n <TopNavigationList>\n <TopNavigationItem priority=\"high\" value=\"painel\">\n <TopNavigationLink href=\"/painel\">Painel</TopNavigationLink>\n </TopNavigationItem>\n <TopNavigationItem priority=\"low\" value=\"relatorios\">\n <TopNavigationLink href=\"/relatorios\">Relatórios</TopNavigationLink>\n </TopNavigationItem>\n </TopNavigationList>\n </TopNavigationNav>\n <TopNavigationSearch>\n <TextField placeholder=\"Procurar cargas, clientes, rotas…\" type=\"search\" />\n </TopNavigationSearch>\n <TopNavigationActions>\n <TopNavigationHelp href=\"/ajuda\" />\n <TopNavigationNotifications>\n <TopNavigationCount>3</TopNavigationCount>\n </TopNavigationNotifications>\n <TopNavigationAccount>\n <Avatar size=\"xs\">AB</Avatar>\n </TopNavigationAccount>\n </TopNavigationActions>\n</TopNavigation>;\n",
555
+ "source": "<TopNavigation defaultValue=\"dashboard\" skipTo=\"content\">\n <TopNavigationBrand>\n <TopNavigationHome href=\"/\">\n <TopNavigationMark>\n <AuroraMark />\n </TopNavigationMark>\n <TopNavigationName>Aurora Logistics</TopNavigationName>\n </TopNavigationHome>\n </TopNavigationBrand>\n <TopNavigationNav>\n <TopNavigationList>\n <TopNavigationItem priority=\"high\" value=\"dashboard\">\n <TopNavigationLink href=\"/dashboard\">Dashboard</TopNavigationLink>\n </TopNavigationItem>\n <TopNavigationItem priority=\"low\" value=\"reports\">\n <TopNavigationLink href=\"/reports\">Reports</TopNavigationLink>\n </TopNavigationItem>\n </TopNavigationList>\n </TopNavigationNav>\n <TopNavigationSearch>\n <TextField placeholder=\"Search loads, customers, routes…\" type=\"search\" />\n </TopNavigationSearch>\n <TopNavigationActions>\n <TopNavigationHelp href=\"/ajuda\" />\n <TopNavigationNotifications>\n <TopNavigationCount>3</TopNavigationCount>\n </TopNavigationNotifications>\n <TopNavigationAccount>\n <Avatar size=\"xs\">AB</Avatar>\n </TopNavigationAccount>\n </TopNavigationActions>\n</TopNavigation>;\n",
556
556
  "verdict": "excerpt"
557
557
  },
558
558
  {
@@ -568,7 +568,7 @@
568
568
  "title": "Three steps of the width",
569
569
  "note": "The same bar in four rooms of a stated width. On a desktop everything shows; on a laptop (under 1024) the low items have folded into more; a tablet at 640 folds the same low items and keeps the rest; on a phone the medium ones fold under 600, where the search becomes a magnifier and the context moves to the panel, and the high ones and the help fold under 480, where the name leaves the eye.",
570
570
  "language": "tsx",
571
- "source": "<TopNavigationList>\n <TopNavigationItem priority=\"high\" value=\"painel\">\n <TopNavigationLink href=\"/painel\">Painel</TopNavigationLink>\n </TopNavigationItem>\n <TopNavigationItem value=\"rotas\">\n <TopNavigationLink href=\"/rotas\">Rotas</TopNavigationLink>\n </TopNavigationItem>\n <TopNavigationItem priority=\"low\" value=\"faturacao\">\n <TopNavigationLink href=\"/faturacao\">Faturação</TopNavigationLink>\n </TopNavigationItem>\n</TopNavigationList>;\n",
571
+ "source": "<TopNavigationList>\n <TopNavigationItem priority=\"high\" value=\"dashboard\">\n <TopNavigationLink href=\"/dashboard\">Dashboard</TopNavigationLink>\n </TopNavigationItem>\n <TopNavigationItem value=\"routes\">\n <TopNavigationLink href=\"/rotas\">Rotas</TopNavigationLink>\n </TopNavigationItem>\n <TopNavigationItem priority=\"low\" value=\"faturacao\">\n <TopNavigationLink href=\"/faturacao\">Billing</TopNavigationLink>\n </TopNavigationItem>\n</TopNavigationList>;\n",
572
572
  "verdict": "excerpt"
573
573
  },
574
574
  {
@@ -584,7 +584,7 @@
584
584
  "title": "The search gives way to a magnifier",
585
585
  "note": "On a laptop the field stands at the start of the middle of the bar, after the brand and the destinations. On a phone it is a magnifier in the actions; pressing it opens the field over the whole bar with focus inside, and Escape, the cross or focus leaving it hand the bar back.",
586
586
  "language": "tsx",
587
- "source": "<TopNavigationSearch>\n <TextField\n aria-label=\"Procurar\"\n end={<Shortcut keys=\"mod+k\" size=\"sm\" variant=\"soft\" />}\n placeholder=\"Procurar cargas, clientes, rotas…\"\n start={<Search aria-hidden size={16} />}\n type=\"search\"\n variant=\"subtle\"\n />\n</TopNavigationSearch>;\n",
587
+ "source": "<TopNavigationSearch>\n <TextField\n aria-label=\"Search\"\n end={<Shortcut keys=\"mod+k\" size=\"sm\" variant=\"soft\" />}\n placeholder=\"Search loads, customers, routes…\"\n start={<Search aria-hidden size={16} />}\n type=\"search\"\n variant=\"subtle\"\n />\n</TopNavigationSearch>;\n",
588
588
  "verdict": "excerpt"
589
589
  },
590
590
  {
@@ -592,7 +592,7 @@
592
592
  "title": "A section that opens a panel of destinations",
593
593
  "note": "Frota is a section of the navigation menu the nav part already is: its panel opens on the shared surface under the bar, a resting pointer opens it after a delay, and a second section switches without one. Folded into the panel, the section opens its links in line.",
594
594
  "language": "tsx",
595
- "source": "<TopNavigationItem value=\"frota\">\n <TopNavigationTrigger>Frota</TopNavigationTrigger>\n <NavigationMenuContent>\n <NavigationMenuLinks>\n <li>\n <NavigationMenuLink href=\"/fleet/vehicles\">Veículos</NavigationMenuLink>\n </li>\n </NavigationMenuLinks>\n </NavigationMenuContent>\n</TopNavigationItem>;\n",
595
+ "source": "<TopNavigationItem value=\"frota\">\n <TopNavigationTrigger>Frota</TopNavigationTrigger>\n <NavigationMenuContent>\n <NavigationMenuLinks>\n <li>\n <NavigationMenuLink href=\"/fleet/vehicles\">Vehicles</NavigationMenuLink>\n </li>\n </NavigationMenuLinks>\n </NavigationMenuContent>\n</TopNavigationItem>;\n",
596
596
  "verdict": "excerpt"
597
597
  },
598
598
  {
@@ -606,9 +606,9 @@
606
606
  {
607
607
  "id": "actions",
608
608
  "title": "The global controls",
609
- "note": "Help as a link to a help centre or as the trigger of a popover; the bell with a count over its corner that grows to a pill away from it; the account as a menu’s trigger; a control of the product’s own — approvals — in the same square, with its own glyph and the same count. Each carries its name for a reader and repeats it in a tooltip.",
609
+ "note": "Help as a link to a help center or as the trigger of a popover; the bell with a count over its corner that grows to a pill away from it; the account as a menu’s trigger; a control of the product’s own — approvals — in the same square, with its own glyph and the same count. Each carries its name for a reader and repeats it in a tooltip.",
610
610
  "language": "tsx",
611
- "source": "<TopNavigationActions>\n <TopNavigationHelp href=\"/ajuda\" />\n <Popover>\n <PopoverTrigger\n render={(props) => (\n <TopNavigationAction {...props} aria-label={`Aprovações, ${pending} pendentes`}>\n <ClipboardCheck />\n <TopNavigationCount>{pending}</TopNavigationCount>\n </TopNavigationAction>\n )}\n />\n <PopoverContent>…</PopoverContent>\n </Popover>\n <Popover>\n <PopoverTrigger\n render={(props) => (\n <TopNavigationNotifications {...props}>\n <TopNavigationCount>12</TopNavigationCount>\n </TopNavigationNotifications>\n )}\n />\n <PopoverContent>…</PopoverContent>\n </Popover>\n <Menu>\n <MenuTrigger\n render={(props) => (\n <TopNavigationAccount {...props}>\n <Avatar size=\"xs\">AB</Avatar>\n </TopNavigationAccount>\n )}\n />\n <MenuContent>…</MenuContent>\n </Menu>\n</TopNavigationActions>;\n",
611
+ "source": "<TopNavigationActions>\n <TopNavigationHelp href=\"/ajuda\" />\n <Popover>\n <PopoverTrigger\n render={(props) => (\n <TopNavigationAction {...props} aria-label={`Approvals, ${pending} pending`}>\n <ClipboardCheck />\n <TopNavigationCount>{pending}</TopNavigationCount>\n </TopNavigationAction>\n )}\n />\n <PopoverContent>…</PopoverContent>\n </Popover>\n <Popover>\n <PopoverTrigger\n render={(props) => (\n <TopNavigationNotifications {...props}>\n <TopNavigationCount>12</TopNavigationCount>\n </TopNavigationNotifications>\n )}\n />\n <PopoverContent>…</PopoverContent>\n </Popover>\n <Menu>\n <MenuTrigger\n render={(props) => (\n <TopNavigationAccount {...props}>\n <Avatar size=\"xs\">AB</Avatar>\n </TopNavigationAccount>\n )}\n />\n <MenuContent>…</MenuContent>\n </Menu>\n</TopNavigationActions>;\n",
612
612
  "verdict": "excerpt"
613
613
  },
614
614
  {
@@ -616,7 +616,7 @@
616
616
  "title": "What the application is right now",
617
617
  "note": "A workspace switcher and an environment badge after the brand. On a phone the whole region moves to the top of the panel — the same elements, so the switcher still opens its menu there.",
618
618
  "language": "tsx",
619
- "source": "<TopNavigationContext>\n <Menu>\n <MenuTrigger\n render={(props) => (\n <Button\n {...props}\n end={<ChevronsUpDown aria-hidden />}\n size=\"sm\"\n tone=\"secondary\"\n variant=\"ghost\"\n >\n Porto · Operações\n </Button>\n )}\n />\n <MenuContent>…</MenuContent>\n </Menu>\n <Badge size=\"sm\" tone=\"warning\" variant=\"soft\">\n Homologação\n </Badge>\n</TopNavigationContext>;\n",
619
+ "source": "<TopNavigationContext>\n <Menu>\n <MenuTrigger\n render={(props) => (\n <Button\n {...props}\n end={<ChevronsUpDown aria-hidden />}\n size=\"sm\"\n tone=\"secondary\"\n variant=\"ghost\"\n >\n Portland · Operations\n </Button>\n )}\n />\n <MenuContent>…</MenuContent>\n </Menu>\n <Badge size=\"sm\" tone=\"warning\" variant=\"soft\">\n Staging\n </Badge>\n</TopNavigationContext>;\n",
620
620
  "verdict": "excerpt"
621
621
  },
622
622
  {
@@ -632,7 +632,7 @@
632
632
  "title": "The states a destination can be in",
633
633
  "note": "Current, a section open, disabled — a disabled destination keeps its href and its name and refuses the press — and the hover, press and focus every control answers. Help and the account with their layers open hold the pointer’s ground.",
634
634
  "language": "tsx",
635
- "source": "<TopNavigationItem disabled value=\"faturacao\">\n <TopNavigationLink href=\"/faturacao\">Faturação</TopNavigationLink>\n</TopNavigationItem>;\n",
635
+ "source": "<TopNavigationItem disabled value=\"faturacao\">\n <TopNavigationLink href=\"/faturacao\">Billing</TopNavigationLink>\n</TopNavigationItem>;\n",
636
636
  "verdict": "excerpt"
637
637
  },
638
638
  {
@@ -648,7 +648,7 @@
648
648
  "title": "Inside the shell",
649
649
  "note": "The bar as the only child of app-shell’s banner: a div rather than a second banner, no ground of its own, the shell’s nav-toggle in the brand and the mark over the column’s marks. Press the toggle and the bar keeps its place.",
650
650
  "language": "tsx",
651
- "source": "<AppShell>\n <AppShellBanner>\n <TopNavigation defaultValue=\"painel\">\n <TopNavigationBrand>\n <AppShellNavToggle />\n <TopNavigationHome href=\"/\">…</TopNavigationHome>\n </TopNavigationBrand>\n …\n </TopNavigation>\n </AppShellBanner>\n <AppShellNav>…</AppShellNav>\n <AppShellMain>…</AppShellMain>\n</AppShell>;\n",
651
+ "source": "<AppShell>\n <AppShellBanner>\n <TopNavigation defaultValue=\"dashboard\">\n <TopNavigationBrand>\n <AppShellNavToggle />\n <TopNavigationHome href=\"/\">…</TopNavigationHome>\n </TopNavigationBrand>\n …\n </TopNavigation>\n </AppShellBanner>\n <AppShellNav>…</AppShellNav>\n <AppShellMain>…</AppShellMain>\n</AppShell>;\n",
652
652
  "verdict": "excerpt"
653
653
  },
654
654
  {
@@ -14,27 +14,27 @@ import { TopNavigation, TopNavigationAccount, TopNavigationAction, TopNavigation
14
14
  Excerpt — not a complete module
15
15
 
16
16
  ```tsx
17
- <TopNavigation defaultValue="painel" skipTo="conteudo">
17
+ <TopNavigation defaultValue="dashboard" skipTo="content">
18
18
  <TopNavigationBrand>
19
19
  <TopNavigationHome href="/">
20
20
  <TopNavigationMark>
21
21
  <AuroraMark />
22
22
  </TopNavigationMark>
23
- <TopNavigationName>Aurora Logística</TopNavigationName>
23
+ <TopNavigationName>Aurora Logistics</TopNavigationName>
24
24
  </TopNavigationHome>
25
25
  </TopNavigationBrand>
26
26
  <TopNavigationNav>
27
27
  <TopNavigationList>
28
- <TopNavigationItem priority="high" value="painel">
29
- <TopNavigationLink href="/painel">Painel</TopNavigationLink>
28
+ <TopNavigationItem priority="high" value="dashboard">
29
+ <TopNavigationLink href="/dashboard">Dashboard</TopNavigationLink>
30
30
  </TopNavigationItem>
31
- <TopNavigationItem priority="low" value="relatorios">
32
- <TopNavigationLink href="/relatorios">Relatórios</TopNavigationLink>
31
+ <TopNavigationItem priority="low" value="reports">
32
+ <TopNavigationLink href="/reports">Reports</TopNavigationLink>
33
33
  </TopNavigationItem>
34
34
  </TopNavigationList>
35
35
  </TopNavigationNav>
36
36
  <TopNavigationSearch>
37
- <TextField placeholder="Procurar cargas, clientes, rotas…" type="search" />
37
+ <TextField placeholder="Search loads, customers, routes…" type="search" />
38
38
  </TopNavigationSearch>
39
39
  <TopNavigationActions>
40
40
  <TopNavigationHelp href="/ajuda" />
@@ -150,13 +150,13 @@
150
150
  "part": "spotlight",
151
151
  "element": "div",
152
152
  "required": false,
153
- "purpose": "The cutout round the target; its shadow is the scrim. It travels from one target to the next. Absent on a centred step and under spotlight={false}."
153
+ "purpose": "The cutout round the target; its shadow is the scrim. It travels from one target to the next. Absent on a centerd step and under spotlight={false}."
154
154
  },
155
155
  {
156
156
  "part": "surface",
157
157
  "element": "div",
158
158
  "required": true,
159
- "purpose": "The layer the positioner places, with data-side and data-align; centred by the stylesheet when the step has no target."
159
+ "purpose": "The layer the positioner places, with data-side and data-align; centerd by the stylesheet when the step has no target."
160
160
  },
161
161
  {
162
162
  "part": "focus-guard",
@@ -168,7 +168,7 @@
168
168
  "part": "arrow",
169
169
  "element": "div",
170
170
  "required": false,
171
- "purpose": "Points at the target from the card’s edge. Absent on a centred step and under arrow={false}."
171
+ "purpose": "Points at the target from the card’s edge. Absent on a centerd step and under arrow={false}."
172
172
  },
173
173
  {
174
174
  "part": "content",
@@ -389,7 +389,7 @@
389
389
  "type": "'center' | 'skip'",
390
390
  "defaultValue": "center",
391
391
  "appliesTo": "Tour",
392
- "description": "A step whose target cannot be found is shown centred, or passed over"
392
+ "description": "A step whose target cannot be found is shown centerd, or passed over"
393
393
  },
394
394
  {
395
395
  "name": "keyboardNavigation",
@@ -445,7 +445,7 @@
445
445
  "type": "Element | Ref | string | () => Element | null",
446
446
  "defaultValue": "—",
447
447
  "appliesTo": "TourStep",
448
- "description": "What the step points at; absent for a centred step"
448
+ "description": "What the step points at; absent for a centerd step"
449
449
  },
450
450
  {
451
451
  "name": "title",
@@ -569,7 +569,7 @@
569
569
  "The card is a dialog named by the step’s title and described by its description. It takes focus itself when the tour opens, so a reader hears the step before the buttons and Skip does not arrive armed; closing gives focus back to the element that had it.",
570
570
  "Focus follows the reader rather than the tour: a step change moves focus to the new card only when it was in the old one. A reader operating an interactive target keeps their place, and the new step is read out once through the shared polite live region.",
571
571
  "ArrowRight and ArrowLeft go on and back from the card, mirrored in a right-to-left document, and are left to a text field inside it. Escape closes from the topmost layer only.",
572
- "The progress is text in the card’s reading order — “2 of 5” — and not a row of dots a screen reader would count. The spotlight, the scrim and the arrow are hidden from assistive technology; under forced colours the scrim is dropped and the spotlight is drawn as a ring in the system highlight."
572
+ "The progress is text in the card’s reading order — “2 of 5” — and not a row of dots a screen reader would count. The spotlight, the scrim and the arrow are hidden from assistive technology; under forced colors the scrim is dropped and the spotlight is drawn as a ring in the system highlight."
573
573
  ]
574
574
  }
575
575
  },
@@ -700,7 +700,7 @@
700
700
  {
701
701
  "id": "missing",
702
702
  "title": "A target that is not on the page",
703
- "note": "The sidebar is collapsed, so the sidebar step has nothing to point at. Under missing=\"center\" it stands centred with data-missing and says what it had to say; under \"skip\" it is passed over.",
703
+ "note": "The sidebar is collapsed, so the sidebar step has nothing to point at. Under missing=\"center\" it stands centerd with data-missing and says what it had to say; under \"skip\" it is passed over.",
704
704
  "language": "tsx",
705
705
  "source": "<Tour missing=\"skip\" steps={steps} targetTimeout={800} />;\n",
706
706
  "verdict": "excerpt"
@@ -756,7 +756,7 @@
756
756
  {
757
757
  "id": "edges",
758
758
  "title": "Targets in the corners, and one that fills the screen",
759
- "note": "The corner steps ask for a side with no room: the card flips and slides and the arrow keeps pointing. The chart is taller than the room left around it, so its card is centred over it while the spotlight still frames it.",
759
+ "note": "The corner steps ask for a side with no room: the card flips and slides and the arrow keeps pointing. The chart is taller than the room left around it, so its card is centerd over it while the spotlight still frames it.",
760
760
  "language": "tsx",
761
761
  "source": "const steps: TourStep[] = [\n { id: 'alerts', target: '#alerts', side: 'top', title: 'Notifications' },\n { id: 'chart', target: '#chart', title: 'Revenue by region' },\n];\n",
762
762
  "verdict": "excerpt"
package/dist/docs/tour.md CHANGED
@@ -74,7 +74,7 @@ const [open, setOpen] = useState(false);
74
74
  | `closeOnEscape` | `boolean` | true | Tour | Escape closes, with the outcome close |
75
75
  | `closeOnOutsidePress` | `boolean` | false | Tour | A press outside the card closes; off so a stray press keeps the reader’s place |
76
76
  | `scrollIntoView` | `boolean` | true | Tour | Scrolls a target that is not wholly on screen to the middle |
77
- | `missing` | `'center' \| 'skip'` | center | Tour | A step whose target cannot be found is shown centred, or passed over |
77
+ | `missing` | `'center' \| 'skip'` | center | Tour | A step whose target cannot be found is shown centerd, or passed over |
78
78
  | `keyboardNavigation` | `boolean` | true | Tour | ArrowRight and ArrowLeft go on and back from the card |
79
79
  | `targetTimeout` | `number` | 0 | Tour | Milliseconds to watch the page for a target that is not there yet |
80
80
  | `messages` | `PartialMessages<TourMessages>` | — | Tour | Words laid over the language in force, key by key: next, prev, done, skip, close, preparing, and progress with {position} and {total} |
@@ -82,7 +82,7 @@ const [open, setOpen] = useState(false);
82
82
  | `children` | `ReactNode` | the whole card | Tour | The consumer’s own arrangement of the parts |
83
83
  | `ref` | `Ref<TourHandle>` | — | Tour | start(id?), next(), prev(), goTo(id), close(outcome?), reposition() |
84
84
  | `id` | `string` | — | TourStep | Unique in the tour; the value of step |
85
- | `target` | `Element \| Ref \| string \| () => Element \| null` | — | TourStep | What the step points at; absent for a centred step |
85
+ | `target` | `Element \| Ref \| string \| () => Element \| null` | — | TourStep | What the step points at; absent for a centerd step |
86
86
  | `title` | `ReactNode` | — | TourStep | The card’s title and accessible name |
87
87
  | `description` | `ReactNode` | — | TourStep | The card’s accessible description |
88
88
  | `content` | `ReactNode` | — | TourStep | The body, which scrolls |
@@ -130,7 +130,7 @@ const [open, setOpen] = useState(false);
130
130
  - The card is a dialog named by the step’s title and described by its description. It takes focus itself when the tour opens, so a reader hears the step before the buttons and Skip does not arrive armed; closing gives focus back to the element that had it.
131
131
  - Focus follows the reader rather than the tour: a step change moves focus to the new card only when it was in the old one. A reader operating an interactive target keeps their place, and the new step is read out once through the shared polite live region.
132
132
  - ArrowRight and ArrowLeft go on and back from the card, mirrored in a right-to-left document, and are left to a text field inside it. Escape closes from the topmost layer only.
133
- - The progress is text in the card’s reading order — “2 of 5” — and not a row of dots a screen reader would count. The spotlight, the scrim and the arrow are hidden from assistive technology; under forced colours the scrim is dropped and the spotlight is drawn as a ring in the system highlight.
133
+ - The progress is text in the card’s reading order — “2 of 5” — and not a row of dots a screen reader would count. The spotlight, the scrim and the arrow are hidden from assistive technology; under forced colors the scrim is dropped and the spotlight is drawn as a ring in the system highlight.
134
134
 
135
135
  ## Tokens
136
136
 
@@ -227,7 +227,7 @@ const step: TourStep = {
227
227
 
228
228
  ### A target that is not on the page
229
229
 
230
- The sidebar is collapsed, so the sidebar step has nothing to point at. Under missing="center" it stands centred with data-missing and says what it had to say; under "skip" it is passed over.
230
+ The sidebar is collapsed, so the sidebar step has nothing to point at. Under missing="center" it stands centerd with data-missing and says what it had to say; under "skip" it is passed over.
231
231
 
232
232
  Excerpt — not a complete module
233
233
 
@@ -341,7 +341,7 @@ Excerpt — not a complete module
341
341
 
342
342
  ### Targets in the corners, and one that fills the screen
343
343
 
344
- The corner steps ask for a side with no room: the card flips and slides and the arrow keeps pointing. The chart is taller than the room left around it, so its card is centred over it while the spotlight still frames it.
344
+ The corner steps ask for a side with no room: the card flips and slides and the arrow keeps pointing. The chart is taller than the room left around it, so its card is centerd over it while the spotlight still frames it.
345
345
 
346
346
  Excerpt — not a complete module
347
347
 
@@ -122,7 +122,7 @@
122
122
  "type": "'inherit' | 'default' | 'muted' | 'accent' | 'info' | 'success' | 'warning' | 'danger' | 'inverse'",
123
123
  "defaultValue": "inherit",
124
124
  "appliesTo": "Text",
125
- "description": "Colour; inherit takes the colour of the surface"
125
+ "description": "Color; inherit takes the color of the surface"
126
126
  },
127
127
  {
128
128
  "name": "align",
@@ -207,7 +207,7 @@
207
207
  "type": "'inherit' | 'default' | 'muted' | 'accent' | 'info' | 'success' | 'warning' | 'danger' | 'inverse'",
208
208
  "defaultValue": "inherit",
209
209
  "appliesTo": "Heading",
210
- "description": "Colour; inherit takes the colour of the surface"
210
+ "description": "Color; inherit takes the color of the surface"
211
211
  },
212
212
  {
213
213
  "name": "wrap",
@@ -21,7 +21,7 @@ Excerpt — not a complete module
21
21
  | --- | --- | --- | --- | --- |
22
22
  | `size` | `'xs' \| 'sm' \| 'md' \| 'lg' \| 'xl' \| '2xl' \| '3xl'` | md | Text | Step on the type scale, with the line height paired to it |
23
23
  | `weight` | `'regular' \| 'medium' \| 'semibold'` | regular | Text | Typographic emphasis |
24
- | `tone` | `'inherit' \| 'default' \| 'muted' \| 'accent' \| 'info' \| 'success' \| 'warning' \| 'danger' \| 'inverse'` | inherit | Text | Colour; inherit takes the colour of the surface |
24
+ | `tone` | `'inherit' \| 'default' \| 'muted' \| 'accent' \| 'info' \| 'success' \| 'warning' \| 'danger' \| 'inverse'` | inherit | Text | Color; inherit takes the color of the surface |
25
25
  | `align` | `'start' \| 'center' \| 'end'` | — | Text | Alignment, which turns the span into a block |
26
26
  | `wrap` | `'normal' \| 'nowrap' \| 'balance' \| 'pretty'` | — | Text | How lines break |
27
27
  | `transform` | `'none' \| 'uppercase' \| 'capitalize'` | — | Text | Letter case, with the tracking capitals need |
@@ -36,7 +36,7 @@ Excerpt — not a complete module
36
36
  | `level` | `1 \| 2 \| 3 \| 4 \| 5 \| 6` | — | Heading | The rank, which decides the element; taken from the section when absent |
37
37
  | `size` | `'xs' \| 'sm' \| 'md' \| 'lg' \| 'xl' \| '2xl' \| '3xl'` | level | Heading | Step on the type scale; follows the rank until it is set |
38
38
  | `weight` | `'regular' \| 'medium' \| 'semibold'` | semibold | Heading | Typographic emphasis |
39
- | `tone` | `'inherit' \| 'default' \| 'muted' \| 'accent' \| 'info' \| 'success' \| 'warning' \| 'danger' \| 'inverse'` | inherit | Heading | Colour; inherit takes the colour of the surface |
39
+ | `tone` | `'inherit' \| 'default' \| 'muted' \| 'accent' \| 'info' \| 'success' \| 'warning' \| 'danger' \| 'inverse'` | inherit | Heading | Color; inherit takes the color of the surface |
40
40
  | `wrap` | `'normal' \| 'nowrap' \| 'balance' \| 'pretty'` | balance | Heading | How lines break; a heading is balanced by default |
41
41
  | `align` | `'start' \| 'center' \| 'end'` | — | Heading | Alignment |
42
42
  | `transform` | `'none' \| 'uppercase' \| 'capitalize'` | — | Heading | Letter case |
@@ -239,9 +239,9 @@ Excerpt — not a complete module
239
239
  <Upload defaultViewing="claim-form-2026-0914.pdf:248000:1" multiple />;
240
240
  ```
241
241
 
242
- ### Nine kinds, nine colours
242
+ ### Nine kinds, nine colors
243
243
 
244
- A PDF red, a word-processed document blue, a spreadsheet green, a deck orange, a picture teal, a film indigo, a recording magenta, an archive amber. The colours are a scale of the theme’s rather than five tones stretched over nine kinds, because the tones hold no second blue and no indigo at all.
244
+ A PDF red, a word-processed document blue, a spreadsheet green, a deck orange, a picture teal, a film indigo, a recording magenta, an archive amber. The colors are a scale of the theme’s rather than five tones stretched over nine kinds, because the tones hold no second blue and no indigo at all.
245
245
 
246
246
  Excerpt — not a complete module
247
247
 
@@ -285,7 +285,7 @@ Excerpt — not a complete module
285
285
 
286
286
  ### Every state the contract declares
287
287
 
288
- Disabled refuses the picker and the drop alike, because a drag is not routed through the input at all. Read-only keeps the list readable and takes every control away. Invalid retargets the focus ring to the danger colour. Loading and complete are the queue’s own two, and they are on the root.
288
+ Disabled refuses the picker and the drop alike, because a drag is not routed through the input at all. Read-only keeps the list readable and takes every control away. Invalid retargets the focus ring to the danger color. Loading and complete are the queue’s own two, and they are on the root.
289
289
 
290
290
  Excerpt — not a complete module
291
291
 
@@ -346,7 +346,7 @@ Excerpt — not a complete module
346
346
 
347
347
  <Upload
348
348
  maxSize={10 * 1024 * 1024}
349
- messages={{ rejection: { size: 'Máximo de 10 MB por arquivo; este tem {size}.' } }}
349
+ messages={{ rejection: { size: 'Maximum 10 MB per file; this one is {size}.' } }}
350
350
  />;
351
351
  ```
352
352
 
@@ -369,6 +369,6 @@ type UploadAdapter = {
369
369
  pausable?: boolean;
370
370
  };
371
371
 
372
- // A bare function is accepted and normalised to { send, pausable: false }.
372
+ // A bare function is accepted and normalized to { send, pausable: false }.
373
373
  <Upload adapter={(file, { signal }) => put(file, { signal })} />;
374
374
  ```