@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
@@ -57,11 +57,11 @@ Excerpt — not a complete module
57
57
  ```tsx
58
58
  <CheckboxGroup defaultValue={['pix']} variant="tile">
59
59
  <Grid minItemWidth="sm">
60
- <Checkbox description="Compensação imediata." value="pix">
61
- Pix
60
+ <Checkbox description="Instant settlement." value="pix">
61
+ Zelle
62
62
  </Checkbox>
63
- <Checkbox description="Parcelamento em até doze vezes." value="card">
64
- Cartão de crédito
63
+ <Checkbox description="Installments up to twelve times." value="card">
64
+ Credit card
65
65
  </Checkbox>
66
66
  </Grid>
67
67
  </CheckboxGroup>;
@@ -207,10 +207,10 @@ Excerpt — not a complete module
207
207
 
208
208
  ```tsx
209
209
  <FieldGroup required>
210
- <FieldGroupLegend>Notificações</FieldGroupLegend>
210
+ <FieldGroupLegend>Notifications</FieldGroupLegend>
211
211
  <CheckboxGroup name="alerts">
212
- <Checkbox value="approved">Pedido aprovado</Checkbox>
213
- <Checkbox value="refused">Pedido recusado</Checkbox>
212
+ <Checkbox value="approved">Order approved</Checkbox>
213
+ <Checkbox value="refused">Order refused</Checkbox>
214
214
  </CheckboxGroup>
215
215
  </FieldGroup>;
216
216
  ```
@@ -224,9 +224,9 @@ Excerpt — not a complete module
224
224
  ```tsx
225
225
  <CheckboxGroup orientation="horizontal">
226
226
  <Checkbox value="a">
227
- Autorizo o uso dos dados de navegação para personalizar as recomendações
227
+ I authorize the use of browsing data to personalize the recommendations
228
228
  </Checkbox>
229
- <Checkbox value="b">E também para medir o alcance das campanhas</Checkbox>
229
+ <Checkbox value="b">And also to measure the reach of campaigns</Checkbox>
230
230
  </CheckboxGroup>;
231
231
  ```
232
232
 
@@ -239,7 +239,7 @@ Excerpt — not a complete module
239
239
  ```tsx
240
240
  <CheckboxGroupDefaultsProvider orientation="horizontal" size="sm">
241
241
  <CheckboxGroup>
242
- <Checkbox value="a">Herda os três</Checkbox>
242
+ <Checkbox value="a">Inherits all three</Checkbox>
243
243
  </CheckboxGroup>
244
244
  </CheckboxGroupDefaultsProvider>;
245
245
 
@@ -261,8 +261,8 @@ Excerpt — not a complete module
261
261
  // The group binds no key at all: each box is a native checkbox, so Tab
262
262
  // reaches every one of them and Space toggles the one that has focus.
263
263
  <CheckboxGroup allValues={['a', 'b']}>
264
- <Checkbox value="a">Tab até aqui</Checkbox>
265
- <Checkbox value="b">E de novo até aqui</Checkbox>
264
+ <Checkbox value="a">Tab to here</Checkbox>
265
+ <Checkbox value="b">And again to here</Checkbox>
266
266
  </CheckboxGroup>;
267
267
  ```
268
268
 
@@ -221,7 +221,7 @@
221
221
  }
222
222
  ],
223
223
  "accessibility": [
224
- "The WAI-ARIA Authoring Practices have no pattern for a group of checkboxes: the Checkbox pattern covers one box, and grouping is a question of naming rather than of keyboard behaviour. The sources are the ARIA group role and the Providing Accessible Names and Descriptions practice (w3.org/WAI/ARIA/apg/practices/names-and-descriptions/).",
224
+ "The WAI-ARIA Authoring Practices have no pattern for a group of checkboxes: the Checkbox pattern covers one box, and grouping is a question of naming rather than of keyboard behavior. The sources are the ARIA group role and the Providing Accessible Names and Descriptions practice (w3.org/WAI/ARIA/apg/practices/names-and-descriptions/).",
225
225
  "Every box is its own tab stop, and Space toggles the box that has focus. The platform provides this whole keyboard model. It is what sets a checkbox group apart from a radio group, where the set is a single tab stop and the arrow keys move the choice.",
226
226
  "The role depends on the container. A field group is a fieldset with a legend, which is already a named group to assistive technology; a role=\"group\" inside it, named by the same legend, would announce the set twice. Inside a field group the checkbox group renders no role, and the legend names the set. Inside a field, the field’s label names the group through aria-labelledby.",
227
227
  "The group writes aria-required, never the native required on a box. The native attribute on a checkbox demands that one particular box be checked, which is not what \"choose at least one\" means, and it turns on browser constraint validation.",
@@ -258,7 +258,7 @@
258
258
  "title": "A set of framed choices",
259
259
  "note": "The variant belongs to the group, not to each box: a set with one plain choice among four tiles is a set nobody meant to write. Arrangement is not the group’s — Grid already owns columns, minItemWidth and a stretching alignment, so tiles in a row come out the same width and the same height.",
260
260
  "language": "tsx",
261
- "source": "<CheckboxGroup defaultValue={['pix']} variant=\"tile\">\n <Grid minItemWidth=\"sm\">\n <Checkbox description=\"Compensação imediata.\" value=\"pix\">\n Pix\n </Checkbox>\n <Checkbox description=\"Parcelamento em até doze vezes.\" value=\"card\">\n Cartão de crédito\n </Checkbox>\n </Grid>\n</CheckboxGroup>;\n",
261
+ "source": "<CheckboxGroup defaultValue={['pix']} variant=\"tile\">\n <Grid minItemWidth=\"sm\">\n <Checkbox description=\"Instant settlement.\" value=\"pix\">\n Zelle\n </Checkbox>\n <Checkbox description=\"Installments up to twelve times.\" value=\"card\">\n Credit card\n </Checkbox>\n </Grid>\n</CheckboxGroup>;\n",
262
262
  "verdict": "excerpt"
263
263
  },
264
264
  {
@@ -290,7 +290,7 @@
290
290
  "title": "Inside a group of fields",
291
291
  "note": "The fieldset and its legend are what group and name the set, so this group withdraws its own role rather than announcing the same set twice — and a disabled fieldset disables every box with nothing passed down.",
292
292
  "language": "tsx",
293
- "source": "<FieldGroup required>\n <FieldGroupLegend>Notificações</FieldGroupLegend>\n <CheckboxGroup name=\"alerts\">\n <Checkbox value=\"approved\">Pedido aprovado</Checkbox>\n <Checkbox value=\"refused\">Pedido recusado</Checkbox>\n </CheckboxGroup>\n</FieldGroup>;\n",
293
+ "source": "<FieldGroup required>\n <FieldGroupLegend>Notifications</FieldGroupLegend>\n <CheckboxGroup name=\"alerts\">\n <Checkbox value=\"approved\">Order approved</Checkbox>\n <Checkbox value=\"refused\">Order refused</Checkbox>\n </CheckboxGroup>\n</FieldGroup>;\n",
294
294
  "verdict": "excerpt"
295
295
  },
296
296
  {
@@ -298,7 +298,7 @@
298
298
  "title": "Content the family did not choose",
299
299
  "note": "A set of long options keeps every box on the first line of its own label, a narrow column turns a horizontal set into a stack without a media query, and a right-to-left set mirrors whole rather than rearranging.",
300
300
  "language": "tsx",
301
- "source": "<CheckboxGroup orientation=\"horizontal\">\n <Checkbox value=\"a\">\n Autorizo o uso dos dados de navegação para personalizar as recomendações\n </Checkbox>\n <Checkbox value=\"b\">E também para medir o alcance das campanhas</Checkbox>\n</CheckboxGroup>;\n",
301
+ "source": "<CheckboxGroup orientation=\"horizontal\">\n <Checkbox value=\"a\">\n I authorize the use of browsing data to personalize the recommendations\n </Checkbox>\n <Checkbox value=\"b\">And also to measure the reach of campaigns</Checkbox>\n</CheckboxGroup>;\n",
302
302
  "verdict": "excerpt"
303
303
  },
304
304
  {
@@ -306,7 +306,7 @@
306
306
  "title": "Setting it once, and reaching past it",
307
307
  "note": "The provider carries the three decisions an application takes once, render substitutes the root so a set can be a real list, and useCheckboxGroup reads the same state a box reads.",
308
308
  "language": "tsx",
309
- "source": "<CheckboxGroupDefaultsProvider orientation=\"horizontal\" size=\"sm\">\n <CheckboxGroup>\n <Checkbox value=\"a\">Herda os três</Checkbox>\n </CheckboxGroup>\n</CheckboxGroupDefaultsProvider>;\n\n// The root becomes a real list, and each box a list item.\n<CheckboxGroup render={(props) => <ul {...props} />}>\n <Checkbox render={(props) => <li {...props} />} value=\"a\">\n Um item\n </Checkbox>\n</CheckboxGroup>;\n",
309
+ "source": "<CheckboxGroupDefaultsProvider orientation=\"horizontal\" size=\"sm\">\n <CheckboxGroup>\n <Checkbox value=\"a\">Inherits all three</Checkbox>\n </CheckboxGroup>\n</CheckboxGroupDefaultsProvider>;\n\n// The root becomes a real list, and each box a list item.\n<CheckboxGroup render={(props) => <ul {...props} />}>\n <Checkbox render={(props) => <li {...props} />} value=\"a\">\n Um item\n </Checkbox>\n</CheckboxGroup>;\n",
310
310
  "verdict": "excerpt"
311
311
  },
312
312
  {
@@ -314,7 +314,7 @@
314
314
  "title": "What the keyboard does, and who implements it",
315
315
  "note": "Every box is its own tab stop and Space toggles it, because a checkbox is one choice made on its own — which is exactly what tells this family apart from a radio group, where the whole set is one stop.",
316
316
  "language": "tsx",
317
- "source": "// The group binds no key at all: each box is a native checkbox, so Tab\n// reaches every one of them and Space toggles the one that has focus.\n<CheckboxGroup allValues={['a', 'b']}>\n <Checkbox value=\"a\">Tab até aqui</Checkbox>\n <Checkbox value=\"b\">E de novo até aqui</Checkbox>\n</CheckboxGroup>;\n",
317
+ "source": "// The group binds no key at all: each box is a native checkbox, so Tab\n// reaches every one of them and Space toggles the one that has focus.\n<CheckboxGroup allValues={['a', 'b']}>\n <Checkbox value=\"a\">Tab to here</Checkbox>\n <Checkbox value=\"b\">And again to here</Checkbox>\n</CheckboxGroup>;\n",
318
318
  "verdict": "excerpt"
319
319
  },
320
320
  {
@@ -83,7 +83,7 @@ export default function CheckboxGroupBasic() {
83
83
 
84
84
  ## Rules
85
85
 
86
- - The WAI-ARIA Authoring Practices have no pattern for a group of checkboxes: the Checkbox pattern covers one box, and grouping is a question of naming rather than of keyboard behaviour. The sources are the ARIA group role and the Providing Accessible Names and Descriptions practice (w3.org/WAI/ARIA/apg/practices/names-and-descriptions/).
86
+ - The WAI-ARIA Authoring Practices have no pattern for a group of checkboxes: the Checkbox pattern covers one box, and grouping is a question of naming rather than of keyboard behavior. The sources are the ARIA group role and the Providing Accessible Names and Descriptions practice (w3.org/WAI/ARIA/apg/practices/names-and-descriptions/).
87
87
  - Every box is its own tab stop, and Space toggles the box that has focus. The platform provides this whole keyboard model. It is what sets a checkbox group apart from a radio group, where the set is a single tab stop and the arrow keys move the choice.
88
88
  - The role depends on the container. A field group is a fieldset with a legend, which is already a named group to assistive technology; a role="group" inside it, named by the same legend, would announce the set twice. Inside a field group the checkbox group renders no role, and the legend names the set. Inside a field, the field’s label names the group through aria-labelledby.
89
89
  - The group writes aria-required, never the native required on a box. The native attribute on a checkbox demands that one particular box be checked, which is not what "choose at least one" means, and it turns on browser constraint validation.
@@ -12,8 +12,8 @@ One box with every axis on it, driven by the controls below the canvas. Click th
12
12
  Excerpt — not a complete module
13
13
 
14
14
  ```tsx
15
- <Checkbox description="Enviaremos o recibo por e-mail." defaultChecked>
16
- Enviar recibo
15
+ <Checkbox description="We will send the receipt by email." defaultChecked>
16
+ Send receipt
17
17
  </Checkbox>;
18
18
  ```
19
19
 
@@ -196,10 +196,10 @@ Excerpt — not a complete module
196
196
 
197
197
  ```tsx
198
198
  <FieldGroup required>
199
- <FieldGroupLegend>Notificações</FieldGroupLegend>
199
+ <FieldGroupLegend>Notifications</FieldGroupLegend>
200
200
  <CheckboxGroup name="alerts">
201
- <Checkbox value="approved">Pedido aprovado</Checkbox>
202
- <Checkbox value="refused">Pedido recusado</Checkbox>
201
+ <Checkbox value="approved">Order approved</Checkbox>
202
+ <Checkbox value="refused">Order refused</Checkbox>
203
203
  </CheckboxGroup>
204
204
  </FieldGroup>;
205
205
  ```
@@ -211,9 +211,9 @@ A label that wraps to three lines keeps the box on the first of them rather than
211
211
  Excerpt — not a complete module
212
212
 
213
213
  ```tsx
214
- <Checkbox description="A caixa continua na primeira linha do rótulo.">
215
- Concordo em receber comunicações sobre alterações contratuais, prazos de entrega e mudanças na
216
- política de devolução.
214
+ <Checkbox description="The box stays on the first line of the label.">
215
+ I agree to receive communications about contract changes, delivery deadlines and changes to the
216
+ returns policy.
217
217
  </Checkbox>;
218
218
 
219
219
  <Checkbox dir="rtl">أوافق على تلقي رسائل حول التغييرات في العقد.</Checkbox>;
@@ -198,7 +198,7 @@
198
198
  "type": "(props: CheckboxRootProps) => ReactNode",
199
199
  "defaultValue": "—",
200
200
  "appliesTo": "Checkbox",
201
- "description": "Replaces the root element and receives every attribute it would carry. The props are typed against HTMLAttributes<HTMLElement>, so they can be spread onto a li or a label. The input cannot be replaced, because it holds the value and the platform’s keyboard behaviour."
201
+ "description": "Replaces the root element and receives every attribute it would carry. The props are typed against HTMLAttributes<HTMLElement>, so they can be spread onto a li or a label. The input cannot be replaced, because it holds the value and the platform’s keyboard behavior."
202
202
  },
203
203
  {
204
204
  "name": "ref",
@@ -242,13 +242,13 @@
242
242
  }
243
243
  ],
244
244
  "accessibility": [
245
- "Checkbox follows the WAI-ARIA Authoring Practices checkbox pattern (w3.org/WAI/ARIA/apg/patterns/checkbox/), and the native input supplies every part of it: the role, the checked and mixed states, Space to toggle, Enter left to the form, and disabled behaviour. Checkbox adds no key listener, so the keyboard behaviour is the platform’s in every language and in right-to-left documents.",
245
+ "Checkbox follows the WAI-ARIA Authoring Practices checkbox pattern (w3.org/WAI/ARIA/apg/patterns/checkbox/), and the native input supplies every part of it: the role, the checked and mixed states, Space to toggle, Enter left to the form, and disabled behavior. Checkbox adds no key listener, so the keyboard behavior is the platform’s in every language and in right-to-left documents.",
246
246
  "The label names the control through for, which points at an identifier Checkbox generates when you pass no id. The description sits outside the label and reaches the control through aria-describedby, so it is read as a description, and a press on it toggles nothing.",
247
247
  "Inside a required field the control carries aria-required, never the native required, because the native attribute turns on browser constraint validation and changes how the form submits. Pass required on the box to opt into the platform’s validation; Checkbox leaves it unchanged. disabled is the native attribute.",
248
248
  "A native checkbox has no read-only state, so Checkbox enforces one: it refuses the click that a pointer and Space both produce, and aria-readonly announces the state. The box keeps its tab stop, its focus ring and its full contrast, because a read-only value is real and must not look disabled.",
249
- "The invalid state does not rely on colour alone. In the high-contrast scheme the theme paints every border the same colour, so an invalid box also draws a thicker border. The message that says what is wrong belongs to the field or field group.",
249
+ "The invalid state does not rely on color alone. In the high-contrast scheme the theme paints every border the same color, so an invalid box also draws a thicker border. The message that says what is wrong belongs to the field or field group.",
250
250
  "The target is larger than the box. A 24-pixel square around the box meets WCAG 2.2 success criterion 2.5.8 at every size and density, including size=\"sm\", where the box is 14 pixels. The label extends the target to the end of its text, and the hover wash covers exactly that area. The target is drawn around the box, so the row keeps its line height.",
251
- "The mark stays visible under forced colours. It is a mask over a background colour, and forced colours replace both, so Checkbox restates the pair in system colours."
251
+ "The mark stays visible under forced colors. It is a mask over a background color, and forced colors replace both, so Checkbox restates the pair in system colors."
252
252
  ]
253
253
  }
254
254
  },
@@ -360,7 +360,7 @@
360
360
  "title": "Playground",
361
361
  "note": "One box with every axis on it, driven by the controls below the canvas. Click the label, not only the box: the target runs from the square to the end of the text.",
362
362
  "language": "tsx",
363
- "source": "<Checkbox description=\"Enviaremos o recibo por e-mail.\" defaultChecked>\n Enviar recibo\n</Checkbox>;\n",
363
+ "source": "<Checkbox description=\"We will send the receipt by email.\" defaultChecked>\n Send receipt\n</Checkbox>;\n",
364
364
  "verdict": "excerpt"
365
365
  },
366
366
  {
@@ -416,7 +416,7 @@
416
416
  "title": "Inside a field, and inside a group of fields",
417
417
  "note": "The box reads the field for its step and its four shared states and never for its identifier: it owns its own label, and a field’s label would name the same control twice.",
418
418
  "language": "tsx",
419
- "source": "<FieldGroup required>\n <FieldGroupLegend>Notificações</FieldGroupLegend>\n <CheckboxGroup name=\"alerts\">\n <Checkbox value=\"approved\">Pedido aprovado</Checkbox>\n <Checkbox value=\"refused\">Pedido recusado</Checkbox>\n </CheckboxGroup>\n</FieldGroup>;\n",
419
+ "source": "<FieldGroup required>\n <FieldGroupLegend>Notifications</FieldGroupLegend>\n <CheckboxGroup name=\"alerts\">\n <Checkbox value=\"approved\">Order approved</Checkbox>\n <Checkbox value=\"refused\">Order refused</Checkbox>\n </CheckboxGroup>\n</FieldGroup>;\n",
420
420
  "verdict": "excerpt"
421
421
  },
422
422
  {
@@ -424,7 +424,7 @@
424
424
  "title": "Content the family did not choose",
425
425
  "note": "A label that wraps to three lines keeps the box on the first of them rather than in the middle of the block, an unbroken token breaks instead of taking the page with it, and a right-to-left label mirrors the whole row.",
426
426
  "language": "tsx",
427
- "source": "<Checkbox description=\"A caixa continua na primeira linha do rótulo.\">\n Concordo em receber comunicações sobre alterações contratuais, prazos de entrega e mudanças na\n política de devolução.\n</Checkbox>;\n\n<Checkbox dir=\"rtl\">أوافق على تلقي رسائل حول التغييرات في العقد.</Checkbox>;\n",
427
+ "source": "<Checkbox description=\"The box stays on the first line of the label.\">\n I agree to receive communications about contract changes, delivery deadlines and changes to the\n returns policy.\n</Checkbox>;\n\n<Checkbox dir=\"rtl\">أوافق على تلقي رسائل حول التغييرات في العقد.</Checkbox>;\n",
428
428
  "verdict": "excerpt"
429
429
  },
430
430
  {
@@ -55,7 +55,7 @@ export default function CheckboxBasic() {
55
55
  | `required` | `boolean` | — | Checkbox | The native attribute, passed through unchanged; Checkbox never writes it. A field marks necessity with aria-required instead, because the native attribute turns on browser constraint validation. |
56
56
  | `description` | `ReactNode` | — | Checkbox | Help text under the label, referenced by aria-describedby. It sits outside the label, so it describes the control instead of naming it. |
57
57
  | `name / value` | `string` | — / on | Checkbox | The native submission pair: a checked box submits value under name. Inside a checkbox group, a box without a name takes the group’s, and value is the entry the group’s selection holds. |
58
- | `render` | `(props: CheckboxRootProps) => ReactNode` | — | Checkbox | Replaces the root element and receives every attribute it would carry. The props are typed against HTMLAttributes<HTMLElement>, so they can be spread onto a li or a label. The input cannot be replaced, because it holds the value and the platform’s keyboard behaviour. |
58
+ | `render` | `(props: CheckboxRootProps) => ReactNode` | — | Checkbox | Replaces the root element and receives every attribute it would carry. The props are typed against HTMLAttributes<HTMLElement>, so they can be spread onto a li or a label. The input cannot be replaced, because it holds the value and the platform’s keyboard behavior. |
59
59
  | `ref` | `Ref<HTMLInputElement>` | — | Checkbox | Reaches the input. focus() and click() are the element’s own methods. |
60
60
  | `className / style` | `string / CSSProperties` | — | Checkbox | Reach the root. Every other native prop reaches the input. |
61
61
  | `CheckboxDefaultsProvider` | `{ size, variant, labelPlacement }` | — | a subtree | Sets size, variant and labelPlacement once for every box under it, merged over an outer provider. A box that states a value keeps it. A checkbox group around the box outranks the provider for all three, and a field or field group outranks it for size. |
@@ -78,13 +78,13 @@ export default function CheckboxBasic() {
78
78
 
79
79
  ## Rules
80
80
 
81
- - Checkbox follows the WAI-ARIA Authoring Practices checkbox pattern (w3.org/WAI/ARIA/apg/patterns/checkbox/), and the native input supplies every part of it: the role, the checked and mixed states, Space to toggle, Enter left to the form, and disabled behaviour. Checkbox adds no key listener, so the keyboard behaviour is the platform’s in every language and in right-to-left documents.
81
+ - Checkbox follows the WAI-ARIA Authoring Practices checkbox pattern (w3.org/WAI/ARIA/apg/patterns/checkbox/), and the native input supplies every part of it: the role, the checked and mixed states, Space to toggle, Enter left to the form, and disabled behavior. Checkbox adds no key listener, so the keyboard behavior is the platform’s in every language and in right-to-left documents.
82
82
  - The label names the control through for, which points at an identifier Checkbox generates when you pass no id. The description sits outside the label and reaches the control through aria-describedby, so it is read as a description, and a press on it toggles nothing.
83
83
  - Inside a required field the control carries aria-required, never the native required, because the native attribute turns on browser constraint validation and changes how the form submits. Pass required on the box to opt into the platform’s validation; Checkbox leaves it unchanged. disabled is the native attribute.
84
84
  - A native checkbox has no read-only state, so Checkbox enforces one: it refuses the click that a pointer and Space both produce, and aria-readonly announces the state. The box keeps its tab stop, its focus ring and its full contrast, because a read-only value is real and must not look disabled.
85
- - The invalid state does not rely on colour alone. In the high-contrast scheme the theme paints every border the same colour, so an invalid box also draws a thicker border. The message that says what is wrong belongs to the field or field group.
85
+ - The invalid state does not rely on color alone. In the high-contrast scheme the theme paints every border the same color, so an invalid box also draws a thicker border. The message that says what is wrong belongs to the field or field group.
86
86
  - The target is larger than the box. A 24-pixel square around the box meets WCAG 2.2 success criterion 2.5.8 at every size and density, including size="sm", where the box is 14 pixels. The label extends the target to the end of its text, and the hover wash covers exactly that area. The target is drawn around the box, so the row keeps its line height.
87
- - The mark stays visible under forced colours. It is a mask over a background colour, and forced colours replace both, so Checkbox restates the pair in system colours.
87
+ - The mark stays visible under forced colors. It is a mask over a background color, and forced colors replace both, so Checkbox restates the pair in system colors.
88
88
 
89
89
  ## Tokens
90
90
 
@@ -509,7 +509,7 @@
509
509
  "title": "Text first, tokens when they arrive",
510
510
  "note": "The block draws the plain text on the first paint and swaps in the tokens line by line when the engine answers: the height does not change, because each line is a row of the grid. The colors are the theme’s --slotted-code-* scale, and change with the scheme.",
511
511
  "language": "tsx",
512
- "source": "<CodeBlock\n code={source}\n highlight={async (code, language) => tokenise(code, language)}\n language=\"ts\"\n/>;\n",
512
+ "source": "<CodeBlock\n code={source}\n highlight={async (code, language) => tokenize(code, language)}\n language=\"ts\"\n/>;\n",
513
513
  "verdict": "excerpt"
514
514
  },
515
515
  {
@@ -115,7 +115,7 @@ Excerpt — not a complete module
115
115
  ```tsx
116
116
  <CodeBlock
117
117
  code={source}
118
- highlight={async (code, language) => tokenise(code, language)}
118
+ highlight={async (code, language) => tokenize(code, language)}
119
119
  language="ts"
120
120
  />;
121
121
  ```
@@ -127,7 +127,7 @@
127
127
  "part": "description",
128
128
  "element": "span",
129
129
  "required": false,
130
- "purpose": "A second line under the title. It is inside the trigger, so it is part of the accessible name — “Entrega, 3 de 12 itens” is what a reader hears."
130
+ "purpose": "A second line under the title. It is inside the trigger, so it is part of the accessible name — “Delivery, 3 of 12 items” is what a reader hears."
131
131
  },
132
132
  {
133
133
  "part": "actions",
@@ -297,7 +297,7 @@
297
297
  "The heading is real. level renders h1 to h6 and the trigger is its only element, which is what the pattern requires; an accordion sets the level once for a whole set. level=\"none\" writes no heading semantics at all, for a disclosure that belongs to no outline.",
298
298
  "aria-disabled appears on the trigger only when an Accordion refuses to let this panel close. That is the pattern’s own instruction for a set that requires one panel to stay open, and it leaves the control focusable and announced rather than removing it from the reader’s path.",
299
299
  "The element is a button and a region rather than details and summary. What that costs is written down: a page with JavaScript disabled cannot open a panel. What it buys is the accordion pattern — a summary cannot be wrapped in a heading — a value the consumer can own, a request that carries a reason, and a panel that animates without interpolate-size.",
300
- "The mark is never the only thing that says the state: aria-expanded says it to a reader, and the indicator turns rather than changing colour, so the high-contrast scheme and forced colours both keep it."
300
+ "The mark is never the only thing that says the state: aria-expanded says it to a reader, and the indicator turns rather than changing color, so the high-contrast scheme and forced colors both keep it."
301
301
  ]
302
302
  }
303
303
  },
@@ -362,7 +362,7 @@
362
362
  "title": "Playground",
363
363
  "note": "One disclosure with every axis on it, driven by the controls below the canvas. Tab lands on the trigger; Enter and Space are the platform’s.",
364
364
  "language": "tsx",
365
- "source": "<Collapsible defaultOpen>\n <CollapsibleHeader>\n <CollapsibleTrigger>Endereço de entrega</CollapsibleTrigger>\n </CollapsibleHeader>\n <CollapsiblePanel>Rua das Laranjeiras, 402 — Rio de Janeiro.</CollapsiblePanel>\n</Collapsible>;\n",
365
+ "source": "<Collapsible defaultOpen>\n <CollapsibleHeader>\n <CollapsibleTrigger>Delivery address</CollapsibleTrigger>\n </CollapsibleHeader>\n <CollapsiblePanel>402 Maple Street — Seattle.</CollapsiblePanel>\n</Collapsible>;\n",
366
366
  "verdict": "excerpt"
367
367
  },
368
368
  {
@@ -370,7 +370,7 @@
370
370
  "title": "The three ways it is drawn",
371
371
  "note": "plain paints no chrome, ruled puts a hairline above the header so a stack reads as one list, and framed is a card. All three keep the same geometry.",
372
372
  "language": "tsx",
373
- "source": "<Collapsible variant=\"framed\" defaultOpen>\n <CollapsibleHeader>\n <CollapsibleTrigger>Formas de pagamento</CollapsibleTrigger>\n </CollapsibleHeader>\n <CollapsiblePanel>Cartão de crédito, boleto e Pix.</CollapsiblePanel>\n</Collapsible>;\n",
373
+ "source": "<Collapsible variant=\"framed\" defaultOpen>\n <CollapsibleHeader>\n <CollapsibleTrigger>Payment methods</CollapsibleTrigger>\n </CollapsibleHeader>\n <CollapsiblePanel>Credit card, ACH transfer and Zelle.</CollapsiblePanel>\n</Collapsible>;\n",
374
374
  "verdict": "excerpt"
375
375
  },
376
376
  {
@@ -378,7 +378,7 @@
378
378
  "title": "The step the header sits at",
379
379
  "note": "The title comes from the type scale, because a header is prose; the row’s height, padding, gap and mark come from the control scales, so a dense page is tighter rather than smaller.",
380
380
  "language": "tsx",
381
- "source": "<Collapsible size=\"lg\" defaultOpen>\n <CollapsibleHeader>\n <CollapsibleTrigger description=\"3 de 12 itens\">Resumo</CollapsibleTrigger>\n </CollapsibleHeader>\n <CollapsiblePanel>Entrega prevista para 12 de setembro.</CollapsiblePanel>\n</Collapsible>;\n",
381
+ "source": "<Collapsible size=\"lg\" defaultOpen>\n <CollapsibleHeader>\n <CollapsibleTrigger description=\"3 of 12 items\">Summary</CollapsibleTrigger>\n </CollapsibleHeader>\n <CollapsiblePanel>Delivery scheduled for September 12.</CollapsiblePanel>\n</Collapsible>;\n",
382
382
  "verdict": "excerpt"
383
383
  },
384
384
  {
@@ -386,7 +386,7 @@
386
386
  "title": "The mark, and which side it stands on",
387
387
  "note": "The chevron turns rather than pointing along the inline axis, so a right-to-left document needs no mirrored artwork; plus-minus is one pair drawn on one grid, and none draws nothing.",
388
388
  "language": "tsx",
389
- "source": "<Collapsible indicator=\"plus-minus\" togglePlacement=\"start\">\n <CollapsibleHeader>\n <CollapsibleTrigger>Nota fiscal</CollapsibleTrigger>\n </CollapsibleHeader>\n <CollapsiblePanel>Emitida em 3 de setembro.</CollapsiblePanel>\n</Collapsible>;\n",
389
+ "source": "<Collapsible indicator=\"plus-minus\" togglePlacement=\"start\">\n <CollapsibleHeader>\n <CollapsibleTrigger>Invoice</CollapsibleTrigger>\n </CollapsibleHeader>\n <CollapsiblePanel>Issued on September 3.</CollapsiblePanel>\n</Collapsible>;\n",
390
390
  "verdict": "excerpt"
391
391
  },
392
392
  {
@@ -394,7 +394,7 @@
394
394
  "title": "Where it sits in the outline",
395
395
  "note": "level renders the heading element itself, so a screen reader’s heading list holds the disclosure at the right depth. none renders a div, for a control that belongs to no outline.",
396
396
  "language": "tsx",
397
- "source": "<Collapsible level=\"3\">\n <CollapsibleHeader>\n <CollapsibleTrigger>Condições de devolução</CollapsibleTrigger>\n </CollapsibleHeader>\n <CollapsiblePanel>Trinta dias corridos.</CollapsiblePanel>\n</Collapsible>;\n",
397
+ "source": "<Collapsible level=\"3\">\n <CollapsibleHeader>\n <CollapsibleTrigger>Return conditions</CollapsibleTrigger>\n </CollapsibleHeader>\n <CollapsiblePanel>Thirty calendar days.</CollapsiblePanel>\n</Collapsible>;\n",
398
398
  "verdict": "excerpt"
399
399
  },
400
400
  {
@@ -410,7 +410,7 @@
410
410
  "title": "A control beside the heading",
411
411
  "note": "It is a sibling of the heading rather than a child, because the pattern requires the button to be the only element inside it — and a control inside a button is invalid besides.",
412
412
  "language": "tsx",
413
- "source": "<Collapsible variant=\"framed\" defaultOpen>\n <CollapsibleHeader>\n <CollapsibleTrigger>Regras de frete</CollapsibleTrigger>\n </CollapsibleHeader>\n <CollapsibleActions>\n <Toolbar aria-label=\"Ações da regra\" size=\"sm\">\n <Button size=\"sm\" variant=\"ghost\">\n Editar\n </Button>\n </Toolbar>\n </CollapsibleActions>\n <CollapsiblePanel>Frete grátis acima de R$ 250,00.</CollapsiblePanel>\n</Collapsible>;\n",
413
+ "source": "<Collapsible variant=\"framed\" defaultOpen>\n <CollapsibleHeader>\n <CollapsibleTrigger>Regras de frete</CollapsibleTrigger>\n </CollapsibleHeader>\n <CollapsibleActions>\n <Toolbar aria-label=\"Rule actions\" size=\"sm\">\n <Button size=\"sm\" variant=\"ghost\">\n Edit\n </Button>\n </Toolbar>\n </CollapsibleActions>\n <CollapsiblePanel>Free shipping over $250.00.</CollapsiblePanel>\n</Collapsible>;\n",
414
414
  "verdict": "excerpt"
415
415
  },
416
416
  {
@@ -418,7 +418,7 @@
418
418
  "title": "When the content exists",
419
419
  "note": "eager builds it up front so the panel can transition closed, lazy builds it on the first open, active drops it each time, and until-found lets the browser’s own page search open the panel. A closed item under active commits once and reads no layout and no computed style; it creates no observer and no portal. Fifty closed items inside an Accordion, measured in Chrome: 7 ms of script and 23 ms to layout with a production build of React, 46 ms of script and 83 ms to layout with its development build.",
420
420
  "language": "tsx",
421
- "source": "<Collapsible mount=\"until-found\">\n <CollapsibleHeader>\n <CollapsibleTrigger>Histórico de entregas</CollapsibleTrigger>\n </CollapsibleHeader>\n <CollapsiblePanel>Entregue em 2 de setembro por Ana Ribeiro.</CollapsiblePanel>\n</Collapsible>;\n",
421
+ "source": "<Collapsible mount=\"until-found\">\n <CollapsibleHeader>\n <CollapsibleTrigger>Delivery history</CollapsibleTrigger>\n </CollapsibleHeader>\n <CollapsiblePanel>Delivered on September 2 by Anna Rivers.</CollapsiblePanel>\n</Collapsible>;\n",
422
422
  "verdict": "excerpt"
423
423
  },
424
424
  {
@@ -426,7 +426,7 @@
426
426
  "title": "Every state the family paints",
427
427
  "note": "Hover lays a wash under the row and press goes one step further; disabled answers neither, because the browser has already taken the control out of action; loading holds the box open and says so.",
428
428
  "language": "tsx",
429
- "source": "<Collapsible loading defaultOpen mount=\"lazy\">\n <CollapsibleHeader>\n <CollapsibleTrigger>Histórico de entregas</CollapsibleTrigger>\n </CollapsibleHeader>\n <CollapsiblePanel>\n <Skeleton shape=\"text\" />\n </CollapsiblePanel>\n</Collapsible>;\n",
429
+ "source": "<Collapsible loading defaultOpen mount=\"lazy\">\n <CollapsibleHeader>\n <CollapsibleTrigger>Delivery history</CollapsibleTrigger>\n </CollapsibleHeader>\n <CollapsiblePanel>\n <Skeleton shape=\"text\" />\n </CollapsiblePanel>\n</Collapsible>;\n",
430
430
  "verdict": "excerpt"
431
431
  },
432
432
  {
@@ -434,7 +434,7 @@
434
434
  "title": "Content the family did not choose",
435
435
  "note": "A long title grows the row instead of pushing the mark off the line, truncate clips it to one line with the whole string still in the DOM, and a title in another script reads its own way.",
436
436
  "language": "tsx",
437
- "source": "<Collapsible truncate>\n <CollapsibleHeader>\n <CollapsibleTrigger>Condições de devolução para pedidos internacionais</CollapsibleTrigger>\n </CollapsibleHeader>\n <CollapsiblePanel>Trinta dias corridos.</CollapsiblePanel>\n</Collapsible>;\n",
437
+ "source": "<Collapsible truncate>\n <CollapsibleHeader>\n <CollapsibleTrigger>Return conditions for international orders</CollapsibleTrigger>\n </CollapsibleHeader>\n <CollapsiblePanel>Thirty calendar days.</CollapsiblePanel>\n</Collapsible>;\n",
438
438
  "verdict": "excerpt"
439
439
  },
440
440
  {
@@ -450,7 +450,7 @@
450
450
  "title": "The pattern’s table, and which device asked",
451
451
  "note": "Enter and Space toggle because the trigger is a button; Tab reaches it like any other control, because the pattern keeps every disclosure in the page tab sequence.",
452
452
  "language": "tsx",
453
- "source": "<Collapsible onOpenChange={(open, request) => report(request.reason)}>\n <CollapsibleHeader>\n <CollapsibleTrigger>Com o ponteiro, depois com o teclado</CollapsibleTrigger>\n </CollapsibleHeader>\n <CollapsiblePanel>A razão muda com o dispositivo.</CollapsiblePanel>\n</Collapsible>;\n",
453
+ "source": "<Collapsible onOpenChange={(open, request) => report(request.reason)}>\n <CollapsibleHeader>\n <CollapsibleTrigger>With the pointer, then with the keyboard</CollapsibleTrigger>\n </CollapsibleHeader>\n <CollapsiblePanel>The reason changes with the device.</CollapsiblePanel>\n</Collapsible>;\n",
454
454
  "verdict": "excerpt"
455
455
  }
456
456
  ]
@@ -16,9 +16,9 @@ Excerpt — not a complete module
16
16
  ```tsx
17
17
  <Collapsible defaultOpen>
18
18
  <CollapsibleHeader>
19
- <CollapsibleTrigger>Endereço de entrega</CollapsibleTrigger>
19
+ <CollapsibleTrigger>Delivery address</CollapsibleTrigger>
20
20
  </CollapsibleHeader>
21
- <CollapsiblePanel>Rua das Laranjeiras, 402 — Rio de Janeiro.</CollapsiblePanel>
21
+ <CollapsiblePanel>402 Maple Street — Seattle.</CollapsiblePanel>
22
22
  </Collapsible>;
23
23
  ```
24
24
 
@@ -85,7 +85,7 @@ Excerpt — not a complete module
85
85
  - The heading is real. level renders h1 to h6 and the trigger is its only element, which is what the pattern requires; an accordion sets the level once for a whole set. level="none" writes no heading semantics at all, for a disclosure that belongs to no outline.
86
86
  - aria-disabled appears on the trigger only when an Accordion refuses to let this panel close. That is the pattern’s own instruction for a set that requires one panel to stay open, and it leaves the control focusable and announced rather than removing it from the reader’s path.
87
87
  - The element is a button and a region rather than details and summary. What that costs is written down: a page with JavaScript disabled cannot open a panel. What it buys is the accordion pattern — a summary cannot be wrapped in a heading — a value the consumer can own, a request that carries a reason, and a panel that animates without interpolate-size.
88
- - The mark is never the only thing that says the state: aria-expanded says it to a reader, and the indicator turns rather than changing colour, so the high-contrast scheme and forced colours both keep it.
88
+ - The mark is never the only thing that says the state: aria-expanded says it to a reader, and the indicator turns rather than changing color, so the high-contrast scheme and forced colors both keep it.
89
89
 
90
90
  ## Tokens
91
91
 
@@ -102,9 +102,9 @@ Excerpt — not a complete module
102
102
  ```tsx
103
103
  <Collapsible variant="framed" defaultOpen>
104
104
  <CollapsibleHeader>
105
- <CollapsibleTrigger>Formas de pagamento</CollapsibleTrigger>
105
+ <CollapsibleTrigger>Payment methods</CollapsibleTrigger>
106
106
  </CollapsibleHeader>
107
- <CollapsiblePanel>Cartão de crédito, boleto e Pix.</CollapsiblePanel>
107
+ <CollapsiblePanel>Credit card, ACH transfer and Zelle.</CollapsiblePanel>
108
108
  </Collapsible>;
109
109
  ```
110
110
 
@@ -117,9 +117,9 @@ Excerpt — not a complete module
117
117
  ```tsx
118
118
  <Collapsible size="lg" defaultOpen>
119
119
  <CollapsibleHeader>
120
- <CollapsibleTrigger description="3 de 12 itens">Resumo</CollapsibleTrigger>
120
+ <CollapsibleTrigger description="3 of 12 items">Summary</CollapsibleTrigger>
121
121
  </CollapsibleHeader>
122
- <CollapsiblePanel>Entrega prevista para 12 de setembro.</CollapsiblePanel>
122
+ <CollapsiblePanel>Delivery scheduled for September 12.</CollapsiblePanel>
123
123
  </Collapsible>;
124
124
  ```
125
125
 
@@ -132,9 +132,9 @@ Excerpt — not a complete module
132
132
  ```tsx
133
133
  <Collapsible indicator="plus-minus" togglePlacement="start">
134
134
  <CollapsibleHeader>
135
- <CollapsibleTrigger>Nota fiscal</CollapsibleTrigger>
135
+ <CollapsibleTrigger>Invoice</CollapsibleTrigger>
136
136
  </CollapsibleHeader>
137
- <CollapsiblePanel>Emitida em 3 de setembro.</CollapsiblePanel>
137
+ <CollapsiblePanel>Issued on September 3.</CollapsiblePanel>
138
138
  </Collapsible>;
139
139
  ```
140
140
 
@@ -147,9 +147,9 @@ Excerpt — not a complete module
147
147
  ```tsx
148
148
  <Collapsible level="3">
149
149
  <CollapsibleHeader>
150
- <CollapsibleTrigger>Condições de devolução</CollapsibleTrigger>
150
+ <CollapsibleTrigger>Return conditions</CollapsibleTrigger>
151
151
  </CollapsibleHeader>
152
- <CollapsiblePanel>Trinta dias corridos.</CollapsiblePanel>
152
+ <CollapsiblePanel>Thirty calendar days.</CollapsiblePanel>
153
153
  </Collapsible>;
154
154
  ```
155
155
 
@@ -175,13 +175,13 @@ Excerpt — not a complete module
175
175
  <CollapsibleTrigger>Regras de frete</CollapsibleTrigger>
176
176
  </CollapsibleHeader>
177
177
  <CollapsibleActions>
178
- <Toolbar aria-label="Ações da regra" size="sm">
178
+ <Toolbar aria-label="Rule actions" size="sm">
179
179
  <Button size="sm" variant="ghost">
180
- Editar
180
+ Edit
181
181
  </Button>
182
182
  </Toolbar>
183
183
  </CollapsibleActions>
184
- <CollapsiblePanel>Frete grátis acima de R$ 250,00.</CollapsiblePanel>
184
+ <CollapsiblePanel>Free shipping over $250.00.</CollapsiblePanel>
185
185
  </Collapsible>;
186
186
  ```
187
187
 
@@ -194,9 +194,9 @@ Excerpt — not a complete module
194
194
  ```tsx
195
195
  <Collapsible mount="until-found">
196
196
  <CollapsibleHeader>
197
- <CollapsibleTrigger>Histórico de entregas</CollapsibleTrigger>
197
+ <CollapsibleTrigger>Delivery history</CollapsibleTrigger>
198
198
  </CollapsibleHeader>
199
- <CollapsiblePanel>Entregue em 2 de setembro por Ana Ribeiro.</CollapsiblePanel>
199
+ <CollapsiblePanel>Delivered on September 2 by Anna Rivers.</CollapsiblePanel>
200
200
  </Collapsible>;
201
201
  ```
202
202
 
@@ -209,7 +209,7 @@ Excerpt — not a complete module
209
209
  ```tsx
210
210
  <Collapsible loading defaultOpen mount="lazy">
211
211
  <CollapsibleHeader>
212
- <CollapsibleTrigger>Histórico de entregas</CollapsibleTrigger>
212
+ <CollapsibleTrigger>Delivery history</CollapsibleTrigger>
213
213
  </CollapsibleHeader>
214
214
  <CollapsiblePanel>
215
215
  <Skeleton shape="text" />
@@ -226,9 +226,9 @@ Excerpt — not a complete module
226
226
  ```tsx
227
227
  <Collapsible truncate>
228
228
  <CollapsibleHeader>
229
- <CollapsibleTrigger>Condições de devolução para pedidos internacionais</CollapsibleTrigger>
229
+ <CollapsibleTrigger>Return conditions for international orders</CollapsibleTrigger>
230
230
  </CollapsibleHeader>
231
- <CollapsiblePanel>Trinta dias corridos.</CollapsiblePanel>
231
+ <CollapsiblePanel>Thirty calendar days.</CollapsiblePanel>
232
232
  </Collapsible>;
233
233
  ```
234
234
 
@@ -253,8 +253,8 @@ Excerpt — not a complete module
253
253
  ```tsx
254
254
  <Collapsible onOpenChange={(open, request) => report(request.reason)}>
255
255
  <CollapsibleHeader>
256
- <CollapsibleTrigger>Com o ponteiro, depois com o teclado</CollapsibleTrigger>
256
+ <CollapsibleTrigger>With the pointer, then with the keyboard</CollapsibleTrigger>
257
257
  </CollapsibleHeader>
258
- <CollapsiblePanel>A razão muda com o dispositivo.</CollapsiblePanel>
258
+ <CollapsiblePanel>The reason changes with the device.</CollapsiblePanel>
259
259
  </Collapsible>;
260
260
  ```