@slotted/angular 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 (397) hide show
  1. package/docs/AGENTS.snippet.md +1 -1
  2. package/docs/accordion.json +5 -5
  3. package/docs/accordion.md +12 -12
  4. package/docs/action-bar.json +20 -20
  5. package/docs/action-bar.md +28 -28
  6. package/docs/action-sheet.json +4 -4
  7. package/docs/action-sheet.md +12 -12
  8. package/docs/alert.json +10 -10
  9. package/docs/alert.md +16 -16
  10. package/docs/app-shell.examples.md +7 -7
  11. package/docs/app-shell.json +13 -13
  12. package/docs/app-shell.md +3 -3
  13. package/docs/avatar-group.json +1 -1
  14. package/docs/avatar-group.md +1 -1
  15. package/docs/avatar.json +10 -10
  16. package/docs/avatar.md +9 -9
  17. package/docs/badge.json +3 -3
  18. package/docs/badge.md +3 -3
  19. package/docs/breadcrumb.json +2 -2
  20. package/docs/breadcrumb.md +2 -2
  21. package/docs/button-group.json +1 -1
  22. package/docs/button-group.md +1 -1
  23. package/docs/button.json +11 -11
  24. package/docs/button.md +7 -7
  25. package/docs/calendar.json +4 -4
  26. package/docs/calendar.md +3 -3
  27. package/docs/card.json +2 -2
  28. package/docs/card.md +2 -2
  29. package/docs/carousel.json +10 -10
  30. package/docs/carousel.md +11 -11
  31. package/docs/chart.examples.md +32 -32
  32. package/docs/chart.json +33 -33
  33. package/docs/chart.md +4 -4
  34. package/docs/checkbox-group.examples.md +13 -13
  35. package/docs/checkbox-group.json +7 -7
  36. package/docs/checkbox-group.md +2 -2
  37. package/docs/checkbox.examples.md +7 -7
  38. package/docs/checkbox.json +6 -6
  39. package/docs/checkbox.md +3 -3
  40. package/docs/code-block.json +1 -1
  41. package/docs/code-block.md +1 -1
  42. package/docs/collapsible.json +11 -11
  43. package/docs/collapsible.md +19 -19
  44. package/docs/color-picker.json +26 -26
  45. package/docs/color-picker.md +16 -16
  46. package/docs/combobox.json +2 -2
  47. package/docs/combobox.md +2 -2
  48. package/docs/context-menu.json +1 -1
  49. package/docs/context-menu.md +1 -1
  50. package/docs/currency-field.examples.md +3 -3
  51. package/docs/currency-field.json +6 -6
  52. package/docs/currency-field.md +4 -4
  53. package/docs/dashboard-grid.json +1 -1
  54. package/docs/data-grid.examples.md +1 -1
  55. package/docs/data-grid.json +2 -2
  56. package/docs/data-grid.props.md +1 -1
  57. package/docs/date-field.json +3 -3
  58. package/docs/date-field.md +5 -5
  59. package/docs/date-picker.json +1 -1
  60. package/docs/date-range-picker.json +1 -1
  61. package/docs/datetime-field.json +4 -4
  62. package/docs/datetime-field.md +9 -9
  63. package/docs/datetime-picker.json +1 -1
  64. package/docs/datetime-range-picker.examples.md +3 -3
  65. package/docs/datetime-range-picker.json +4 -4
  66. package/docs/datetime-range-picker.md +2 -2
  67. package/docs/description-list.json +5 -5
  68. package/docs/description-list.md +4 -4
  69. package/docs/detail-panel.json +10 -10
  70. package/docs/detail-panel.md +12 -12
  71. package/docs/dialog.examples.md +5 -5
  72. package/docs/dialog.json +10 -10
  73. package/docs/dialog.md +2 -2
  74. package/docs/dialog.props.md +2 -2
  75. package/docs/drawer.examples.md +13 -13
  76. package/docs/drawer.json +6 -6
  77. package/docs/event-calendar.examples.md +3 -3
  78. package/docs/event-calendar.json +5 -5
  79. package/docs/event-calendar.md +2 -2
  80. package/docs/field-group.json +6 -6
  81. package/docs/field-group.md +11 -11
  82. package/docs/field.examples.md +3 -3
  83. package/docs/field.json +4 -4
  84. package/docs/field.md +1 -1
  85. package/docs/form.json +8 -8
  86. package/docs/form.md +12 -12
  87. package/docs/fullscreen.json +4 -4
  88. package/docs/fullscreen.md +7 -7
  89. package/docs/guidelines/async-feedback.md +2 -2
  90. package/docs/guidelines/builders.md +1 -1
  91. package/docs/guidelines/composition.md +4 -4
  92. package/docs/guidelines/conversations.md +1 -1
  93. package/docs/guidelines/index.md +2 -2
  94. package/docs/guidelines/layout-alignment.md +5 -5
  95. package/docs/guidelines/overviews.md +3 -3
  96. package/docs/guidelines/own-elements.md +7 -7
  97. package/docs/guidelines/record-pages.md +1 -1
  98. package/docs/highlight.json +9 -9
  99. package/docs/highlight.md +14 -14
  100. package/docs/icon.json +2 -2
  101. package/docs/icon.md +2 -2
  102. package/docs/image.json +3 -3
  103. package/docs/image.md +3 -3
  104. package/docs/import-export-center.json +23 -23
  105. package/docs/import-export-center.md +17 -17
  106. package/docs/inline-message.json +15 -15
  107. package/docs/inline-message.md +22 -22
  108. package/docs/inline.json +1 -1
  109. package/docs/inline.md +1 -1
  110. package/docs/kbd.json +2 -2
  111. package/docs/kbd.md +2 -2
  112. package/docs/link.json +6 -6
  113. package/docs/link.md +6 -6
  114. package/docs/list-item.json +1 -1
  115. package/docs/list-item.md +1 -1
  116. package/docs/list.json +1 -1
  117. package/docs/listbox.json +1 -1
  118. package/docs/listbox.md +1 -1
  119. package/docs/loading-overlay.json +3 -3
  120. package/docs/loading-overlay.md +3 -3
  121. package/docs/message-scroller.json +1 -1
  122. package/docs/message-scroller.md +1 -1
  123. package/docs/message.json +11 -11
  124. package/docs/message.md +17 -17
  125. package/docs/multi-select.json +1 -1
  126. package/docs/notification-center.json +16 -16
  127. package/docs/notification-center.md +18 -22
  128. package/docs/number-field.examples.md +3 -3
  129. package/docs/number-field.json +3 -3
  130. package/docs/otp-input.json +10 -10
  131. package/docs/otp-input.md +13 -13
  132. package/docs/page-header.json +9 -9
  133. package/docs/page-header.md +20 -22
  134. package/docs/pagination.json +2 -2
  135. package/docs/pagination.md +1 -1
  136. package/docs/popover.examples.md +1 -1
  137. package/docs/popover.json +3 -3
  138. package/docs/popover.md +1 -1
  139. package/docs/progress-indicator.json +4 -4
  140. package/docs/progress-indicator.md +4 -4
  141. package/docs/prompt-composer.json +4 -4
  142. package/docs/prompt-composer.md +5 -5
  143. package/docs/prose.json +1 -1
  144. package/docs/prose.md +1 -1
  145. package/docs/radio-group.examples.md +19 -19
  146. package/docs/radio-group.json +12 -12
  147. package/docs/radio-group.md +3 -3
  148. package/docs/rating.json +23 -23
  149. package/docs/rating.md +25 -34
  150. package/docs/result-state.json +12 -12
  151. package/docs/result-state.md +17 -17
  152. package/docs/saved-views.json +1 -1
  153. package/docs/scroll-area.json +5 -5
  154. package/docs/scroll-area.md +6 -6
  155. package/docs/section.json +6 -6
  156. package/docs/section.md +12 -12
  157. package/docs/segmented-control.json +14 -14
  158. package/docs/segmented-control.md +32 -32
  159. package/docs/skeleton.json +1 -1
  160. package/docs/skeleton.md +1 -1
  161. package/docs/skills/build-own-element/SKILL.md +3 -3
  162. package/docs/skills/compose-screen/SKILL.md +2 -2
  163. package/docs/skills/index.md +2 -2
  164. package/docs/skills/review-screen/SKILL.md +3 -3
  165. package/docs/skills/theme-app/SKILL.md +9 -9
  166. package/docs/skills/waiting-states/SKILL.md +1 -1
  167. package/docs/slider.json +8 -8
  168. package/docs/slider.md +12 -12
  169. package/docs/sparkline.json +8 -8
  170. package/docs/sparkline.md +6 -6
  171. package/docs/split-button.json +11 -11
  172. package/docs/split-button.md +25 -27
  173. package/docs/stack.json +1 -1
  174. package/docs/stack.md +1 -1
  175. package/docs/stat-card.json +3 -3
  176. package/docs/stat-card.md +2 -2
  177. package/docs/status-indicator.json +8 -8
  178. package/docs/status-indicator.md +5 -5
  179. package/docs/stepper.json +4 -4
  180. package/docs/stepper.md +4 -4
  181. package/docs/switch.json +5 -5
  182. package/docs/switch.md +7 -7
  183. package/docs/table-of-contents.json +11 -11
  184. package/docs/table-of-contents.md +12 -12
  185. package/docs/table.examples.md +1 -1
  186. package/docs/table.json +1 -1
  187. package/docs/tabs.json +1 -1
  188. package/docs/tabs.md +1 -1
  189. package/docs/tag.json +17 -17
  190. package/docs/tag.md +14 -14
  191. package/docs/tags-input.json +1 -1
  192. package/docs/tags-input.md +1 -1
  193. package/docs/text-field.examples.md +6 -6
  194. package/docs/text-field.json +4 -4
  195. package/docs/textarea.examples.md +7 -7
  196. package/docs/textarea.json +3 -3
  197. package/docs/time-field.json +3 -3
  198. package/docs/time-field.md +6 -6
  199. package/docs/time-picker.json +5 -5
  200. package/docs/time-picker.md +6 -6
  201. package/docs/time-range-picker.examples.md +5 -5
  202. package/docs/time-range-picker.json +5 -5
  203. package/docs/time-range-picker.md +1 -1
  204. package/docs/toast.json +6 -6
  205. package/docs/toast.md +6 -6
  206. package/docs/toggle-group.json +12 -12
  207. package/docs/toggle-group.md +28 -28
  208. package/docs/toggle.json +8 -8
  209. package/docs/toggle.md +7 -7
  210. package/docs/tokens.md +15 -15
  211. package/docs/toolbar.json +11 -11
  212. package/docs/toolbar.md +23 -23
  213. package/docs/tooltip.json +3 -3
  214. package/docs/tooltip.md +3 -3
  215. package/docs/top-navigation.examples.md +11 -15
  216. package/docs/top-navigation.json +9 -9
  217. package/docs/top-navigation.md +7 -7
  218. package/docs/tour.json +9 -9
  219. package/docs/tour.md +6 -6
  220. package/docs/typography.json +2 -2
  221. package/docs/typography.md +2 -2
  222. package/docs/upload.examples.md +3 -3
  223. package/docs/upload.json +9 -9
  224. package/docs/upload.md +4 -4
  225. package/fesm2022/slotted-angular-alert.mjs +2 -2
  226. package/fesm2022/slotted-angular-alert.mjs.map +1 -1
  227. package/fesm2022/slotted-angular-app-shell.mjs +10 -10
  228. package/fesm2022/slotted-angular-app-shell.mjs.map +1 -1
  229. package/fesm2022/slotted-angular-avatar-group.mjs +4 -4
  230. package/fesm2022/slotted-angular-avatar-group.mjs.map +1 -1
  231. package/fesm2022/slotted-angular-avatar.mjs +3 -3
  232. package/fesm2022/slotted-angular-avatar.mjs.map +1 -1
  233. package/fesm2022/slotted-angular-badge.mjs +1 -1
  234. package/fesm2022/slotted-angular-badge.mjs.map +1 -1
  235. package/fesm2022/slotted-angular-breadcrumb.mjs +1 -1
  236. package/fesm2022/slotted-angular-breadcrumb.mjs.map +1 -1
  237. package/fesm2022/slotted-angular-button-group.mjs +1 -1
  238. package/fesm2022/slotted-angular-button-group.mjs.map +1 -1
  239. package/fesm2022/slotted-angular-button.mjs +2 -2
  240. package/fesm2022/slotted-angular-button.mjs.map +1 -1
  241. package/fesm2022/slotted-angular-card.mjs +1 -1
  242. package/fesm2022/slotted-angular-card.mjs.map +1 -1
  243. package/fesm2022/slotted-angular-chart.mjs +2 -2
  244. package/fesm2022/slotted-angular-chart.mjs.map +1 -1
  245. package/fesm2022/slotted-angular-checkbox.mjs +1 -1
  246. package/fesm2022/slotted-angular-checkbox.mjs.map +1 -1
  247. package/fesm2022/slotted-angular-code-block.mjs +1 -1
  248. package/fesm2022/slotted-angular-code-block.mjs.map +1 -1
  249. package/fesm2022/slotted-angular-collapsible.mjs +1 -1
  250. package/fesm2022/slotted-angular-collapsible.mjs.map +1 -1
  251. package/fesm2022/slotted-angular-color-picker.mjs +6 -6
  252. package/fesm2022/slotted-angular-color-picker.mjs.map +1 -1
  253. package/fesm2022/slotted-angular-column-manager.mjs +3 -1
  254. package/fesm2022/slotted-angular-column-manager.mjs.map +1 -1
  255. package/fesm2022/slotted-angular-currency-field.mjs +2 -2
  256. package/fesm2022/slotted-angular-currency-field.mjs.map +1 -1
  257. package/fesm2022/slotted-angular-data-grid.mjs +1 -1
  258. package/fesm2022/slotted-angular-data-grid.mjs.map +1 -1
  259. package/fesm2022/slotted-angular-datetime-field.mjs +1 -1
  260. package/fesm2022/slotted-angular-datetime-field.mjs.map +1 -1
  261. package/fesm2022/slotted-angular-datetime-range-picker.mjs +6 -6
  262. package/fesm2022/slotted-angular-datetime-range-picker.mjs.map +1 -1
  263. package/fesm2022/slotted-angular-description-list.mjs +3 -3
  264. package/fesm2022/slotted-angular-description-list.mjs.map +1 -1
  265. package/fesm2022/slotted-angular-dialog.mjs +3 -3
  266. package/fesm2022/slotted-angular-dialog.mjs.map +1 -1
  267. package/fesm2022/slotted-angular-drawer.mjs +1 -1
  268. package/fesm2022/slotted-angular-drawer.mjs.map +1 -1
  269. package/fesm2022/slotted-angular-event-calendar.mjs +3 -3
  270. package/fesm2022/slotted-angular-event-calendar.mjs.map +1 -1
  271. package/fesm2022/slotted-angular-field.mjs +2 -2
  272. package/fesm2022/slotted-angular-field.mjs.map +1 -1
  273. package/fesm2022/slotted-angular-form.mjs +6 -6
  274. package/fesm2022/slotted-angular-form.mjs.map +1 -1
  275. package/fesm2022/slotted-angular-grid.mjs +2 -2
  276. package/fesm2022/slotted-angular-grid.mjs.map +1 -1
  277. package/fesm2022/slotted-angular-highlight.mjs +1 -1
  278. package/fesm2022/slotted-angular-highlight.mjs.map +1 -1
  279. package/fesm2022/slotted-angular-icon.mjs +3 -3
  280. package/fesm2022/slotted-angular-icon.mjs.map +1 -1
  281. package/fesm2022/slotted-angular-import-export-center.mjs +10 -10
  282. package/fesm2022/slotted-angular-import-export-center.mjs.map +1 -1
  283. package/fesm2022/slotted-angular-inline-message.mjs +4 -4
  284. package/fesm2022/slotted-angular-inline-message.mjs.map +1 -1
  285. package/fesm2022/slotted-angular-inline.mjs +3 -3
  286. package/fesm2022/slotted-angular-inline.mjs.map +1 -1
  287. package/fesm2022/slotted-angular-kbd.mjs.map +1 -1
  288. package/fesm2022/slotted-angular-list.mjs +1 -1
  289. package/fesm2022/slotted-angular-list.mjs.map +1 -1
  290. package/fesm2022/slotted-angular-listbox.mjs +2 -2
  291. package/fesm2022/slotted-angular-listbox.mjs.map +1 -1
  292. package/fesm2022/slotted-angular-loading-overlay.mjs +3 -3
  293. package/fesm2022/slotted-angular-loading-overlay.mjs.map +1 -1
  294. package/fesm2022/slotted-angular-menu.mjs +2 -2
  295. package/fesm2022/slotted-angular-menu.mjs.map +1 -1
  296. package/fesm2022/slotted-angular-message-scroller.mjs +1 -1
  297. package/fesm2022/slotted-angular-message-scroller.mjs.map +1 -1
  298. package/fesm2022/slotted-angular-notification-center.mjs +3 -3
  299. package/fesm2022/slotted-angular-notification-center.mjs.map +1 -1
  300. package/fesm2022/slotted-angular-number-field.mjs +1 -1
  301. package/fesm2022/slotted-angular-number-field.mjs.map +1 -1
  302. package/fesm2022/slotted-angular-otp-input.mjs +1 -1
  303. package/fesm2022/slotted-angular-otp-input.mjs.map +1 -1
  304. package/fesm2022/slotted-angular-popover.mjs +2 -2
  305. package/fesm2022/slotted-angular-popover.mjs.map +1 -1
  306. package/fesm2022/slotted-angular-progress-indicator.mjs +2 -2
  307. package/fesm2022/slotted-angular-progress-indicator.mjs.map +1 -1
  308. package/fesm2022/slotted-angular-radio-group.mjs +2 -2
  309. package/fesm2022/slotted-angular-radio-group.mjs.map +1 -1
  310. package/fesm2022/slotted-angular-rating.mjs +5 -5
  311. package/fesm2022/slotted-angular-rating.mjs.map +1 -1
  312. package/fesm2022/slotted-angular-result-state.mjs.map +1 -1
  313. package/fesm2022/slotted-angular-segmented-control.mjs +1 -1
  314. package/fesm2022/slotted-angular-segmented-control.mjs.map +1 -1
  315. package/fesm2022/slotted-angular-slider.mjs +3 -3
  316. package/fesm2022/slotted-angular-slider.mjs.map +1 -1
  317. package/fesm2022/slotted-angular-stack.mjs +2 -2
  318. package/fesm2022/slotted-angular-stack.mjs.map +1 -1
  319. package/fesm2022/slotted-angular-status-indicator.mjs +1 -1
  320. package/fesm2022/slotted-angular-status-indicator.mjs.map +1 -1
  321. package/fesm2022/slotted-angular-switch.mjs.map +1 -1
  322. package/fesm2022/slotted-angular-table.mjs +2 -2
  323. package/fesm2022/slotted-angular-table.mjs.map +1 -1
  324. package/fesm2022/slotted-angular-tabs.mjs.map +1 -1
  325. package/fesm2022/slotted-angular-tag.mjs +1 -1
  326. package/fesm2022/slotted-angular-tag.mjs.map +1 -1
  327. package/fesm2022/slotted-angular-tags-input.mjs +1 -1
  328. package/fesm2022/slotted-angular-tags-input.mjs.map +1 -1
  329. package/fesm2022/slotted-angular-theme.mjs.map +1 -1
  330. package/fesm2022/slotted-angular-time-range-picker.mjs +6 -6
  331. package/fesm2022/slotted-angular-time-range-picker.mjs.map +1 -1
  332. package/fesm2022/slotted-angular-toast.mjs +2 -2
  333. package/fesm2022/slotted-angular-toast.mjs.map +1 -1
  334. package/fesm2022/slotted-angular-toggle-group.mjs.map +1 -1
  335. package/fesm2022/slotted-angular-toggle.mjs.map +1 -1
  336. package/fesm2022/slotted-angular-tour.mjs +3 -3
  337. package/fesm2022/slotted-angular-tour.mjs.map +1 -1
  338. package/fesm2022/slotted-angular-typography.mjs +1 -1
  339. package/fesm2022/slotted-angular-typography.mjs.map +1 -1
  340. package/fesm2022/slotted-angular-upload.mjs +2 -2
  341. package/fesm2022/slotted-angular-upload.mjs.map +1 -1
  342. package/fesm2022/slotted-angular-wizard.mjs +6 -6
  343. package/fesm2022/slotted-angular-wizard.mjs.map +1 -1
  344. package/package.json +15 -3
  345. package/types/slotted-angular-alert.d.ts +3 -3
  346. package/types/slotted-angular-app-shell.d.ts +4 -4
  347. package/types/slotted-angular-avatar-group.d.ts +3 -3
  348. package/types/slotted-angular-avatar.d.ts +6 -6
  349. package/types/slotted-angular-badge.d.ts +3 -3
  350. package/types/slotted-angular-breadcrumb.d.ts +1 -1
  351. package/types/slotted-angular-button-group.d.ts +1 -1
  352. package/types/slotted-angular-button.d.ts +2 -2
  353. package/types/slotted-angular-card.d.ts +1 -1
  354. package/types/slotted-angular-chart.d.ts +2 -2
  355. package/types/slotted-angular-checkbox.d.ts +1 -1
  356. package/types/slotted-angular-code-block.d.ts +1 -1
  357. package/types/slotted-angular-collapsible.d.ts +1 -1
  358. package/types/slotted-angular-color-picker.d.ts +6 -6
  359. package/types/slotted-angular-column-manager.d.ts +1 -1
  360. package/types/slotted-angular-column-manager.d.ts.map +1 -1
  361. package/types/slotted-angular-currency-field.d.ts +1 -1
  362. package/types/slotted-angular-data-grid.d.ts +1 -1
  363. package/types/slotted-angular-datetime-range-picker.d.ts +1 -1
  364. package/types/slotted-angular-description-list.d.ts +1 -1
  365. package/types/slotted-angular-field.d.ts +2 -2
  366. package/types/slotted-angular-form.d.ts +1 -1
  367. package/types/slotted-angular-highlight.d.ts +1 -1
  368. package/types/slotted-angular-icon.d.ts +2 -2
  369. package/types/slotted-angular-import-export-center.d.ts +9 -9
  370. package/types/slotted-angular-inline-message.d.ts +3 -3
  371. package/types/slotted-angular-inline.d.ts +1 -1
  372. package/types/slotted-angular-kbd.d.ts +1 -1
  373. package/types/slotted-angular-list.d.ts +1 -1
  374. package/types/slotted-angular-listbox.d.ts +2 -2
  375. package/types/slotted-angular-loading-overlay.d.ts +3 -3
  376. package/types/slotted-angular-menu.d.ts +1 -1
  377. package/types/slotted-angular-message-scroller.d.ts +1 -1
  378. package/types/slotted-angular-notification-center.d.ts +4 -4
  379. package/types/slotted-angular-otp-input.d.ts +1 -1
  380. package/types/slotted-angular-progress-indicator.d.ts +2 -2
  381. package/types/slotted-angular-radio-group.d.ts +2 -2
  382. package/types/slotted-angular-rating.d.ts +2 -2
  383. package/types/slotted-angular-result-state.d.ts +1 -1
  384. package/types/slotted-angular-segmented-control.d.ts +2 -2
  385. package/types/slotted-angular-status-indicator.d.ts +2 -2
  386. package/types/slotted-angular-switch.d.ts +1 -1
  387. package/types/slotted-angular-table.d.ts +1 -1
  388. package/types/slotted-angular-tabs.d.ts +1 -1
  389. package/types/slotted-angular-tag.d.ts +3 -3
  390. package/types/slotted-angular-tags-input.d.ts +1 -1
  391. package/types/slotted-angular-theme.d.ts +1 -1
  392. package/types/slotted-angular-time-range-picker.d.ts +1 -1
  393. package/types/slotted-angular-toast.d.ts +4 -4
  394. package/types/slotted-angular-toggle-group.d.ts +1 -1
  395. package/types/slotted-angular-toggle.d.ts +1 -1
  396. package/types/slotted-angular-tour.d.ts +2 -2
  397. package/types/slotted-angular-wizard.d.ts +1 -1
package/docs/toggle.json CHANGED
@@ -63,7 +63,7 @@
63
63
  "part": "root",
64
64
  "element": "the consumer’s own button, with slToggle on it",
65
65
  "required": true,
66
- "purpose": "The control. It carries data-ui=\"toggle\", aria-pressed in both states, data-pressed while it is on, and the two axes. Its border is always present, so turning it on changes a colour and never the geometry."
66
+ "purpose": "The control. It carries data-ui=\"toggle\", aria-pressed in both states, data-pressed while it is on, and the two axes. Its border is always present, so turning it on changes a color and never the geometry."
67
67
  },
68
68
  {
69
69
  "part": "icon",
@@ -105,7 +105,7 @@
105
105
  "type": "'outline' | 'ghost' | 'chips'",
106
106
  "defaultValue": "outline",
107
107
  "appliesTo": "slToggle",
108
- "description": "Whether the control draws its own edge before it is on, or is a chip pressed in the neutral tone ink. There is no tone axis: a mode is one colour when it is on, and an action that persists in one of five tones is button’s ToggleButton"
108
+ "description": "Whether the control draws its own edge before it is on, or is a chip pressed in the neutral tone ink. There is no tone axis: a mode is one color when it is on, and an action that persists in one of five tones is button’s ToggleButton"
109
109
  },
110
110
  {
111
111
  "name": "disabled",
@@ -262,9 +262,9 @@
262
262
  {
263
263
  "id": "variant",
264
264
  "title": "Framed, or bare until it is on",
265
- "note": "outline draws its own edge and stands beside a field; ghost is the toggle inside something already framed — a toolbar, a card header. Both turn on into the same accent pair, so “on” is one colour wherever the control is.",
265
+ "note": "outline draws its own edge and stands beside a field; ghost is the toggle inside something already framed — a toolbar, a card header. Both turn on into the same accent pair, so “on” is one color wherever the control is.",
266
266
  "language": "html",
267
- "source": "<button slToggle variant=\"ghost\">\n <ng-icon slToggleIcon name=\"lucidePin\" />\n Fixar cabeçalho\n</button>\n",
267
+ "source": "<button slToggle variant=\"ghost\">\n <ng-icon slToggleIcon name=\"lucidePin\" />\n Pin header\n</button>\n",
268
268
  "verdict": "excerpt"
269
269
  },
270
270
  {
@@ -278,7 +278,7 @@
278
278
  {
279
279
  "id": "iconOnly",
280
280
  "title": "A mark and no words",
281
- "note": "Without children the toggle draws square from the control height and the mark is centred in it. The name comes from aria-label, and the type makes nothing of that: the reference page is where the rule is stated, and the harness photographs it.",
281
+ "note": "Without children the toggle draws square from the control height and the mark is centerd in it. The name comes from aria-label, and the type makes nothing of that: the reference page is where the rule is stated, and the harness photographs it.",
282
282
  "language": "html",
283
283
  "source": "<button slToggle aria-label=\"Negrito\" defaultPressed>\n <ng-icon slToggleIcon name=\"lucideBold\" />\n</button>\n",
284
284
  "verdict": "excerpt"
@@ -288,7 +288,7 @@
288
288
  "title": "Every state the contract declares",
289
289
  "note": "Hover takes the neutral ground when off and the accent ground’s own hover step when on. Disabled keeps both facts of a toggle that is on: the ground says unavailable and the edge still says on, so the reader learns the mode from a control they cannot change.",
290
290
  "language": "html",
291
- "source": "<button slToggle defaultPressed disabled>\n <ng-icon slToggleIcon name=\"lucidePin\" />\n Fixar cabeçalho\n</button>\n",
291
+ "source": "<button slToggle defaultPressed disabled>\n <ng-icon slToggleIcon name=\"lucidePin\" />\n Pin header\n</button>\n",
292
292
  "verdict": "excerpt"
293
293
  },
294
294
  {
@@ -296,7 +296,7 @@
296
296
  "title": "Inside a toolbar",
297
297
  "note": "The bar is one tab stop with arrow navigation across every control it holds, and a toggle is one of those controls: Tab reaches the bar once, the arrows reach the toggle, Space presses it. The family writes no listener of its own.",
298
298
  "language": "html",
299
- "source": "<div slToolbar aria-label=\"Editor\">\n <button slToggle variant=\"ghost\" aria-label=\"Negrito\">\n <ng-icon slToggleIcon name=\"lucideBold\" />\n </button>\n <button slToggle variant=\"ghost\" aria-label=\"Itálico\">\n <ng-icon slToggleIcon name=\"lucideItalic\" />\n </button>\n <hr slToolbarSeparator />\n <button slToggle variant=\"ghost\">\n <ng-icon slToggleIcon name=\"lucideWrapText\" />\n Quebrar\n </button>\n</div>\n",
299
+ "source": "<div slToolbar aria-label=\"Editor\">\n <button slToggle variant=\"ghost\" aria-label=\"Negrito\">\n <ng-icon slToggleIcon name=\"lucideBold\" />\n </button>\n <button slToggle variant=\"ghost\" aria-label=\"Italic\">\n <ng-icon slToggleIcon name=\"lucideItalic\" />\n </button>\n <hr slToolbarSeparator />\n <button slToggle variant=\"ghost\">\n <ng-icon slToggleIcon name=\"lucideWrapText\" />\n Quebrar\n </button>\n</div>\n",
300
300
  "verdict": "excerpt"
301
301
  },
302
302
  {
@@ -326,7 +326,7 @@
326
326
  {
327
327
  "id": "versus",
328
328
  "title": "Toggle, or ToggleButton",
329
- "note": "A mode is one colour and true the moment it is pressed: Toggle. An action that persists — Follow, Subscribe — reaches a server, waits, and stands in one of five tones beside the other actions of a page: button’s ToggleButton. Same state model, different meaning.",
329
+ "note": "A mode is one color and true the moment it is pressed: Toggle. An action that persists — Follow, Subscribe — reaches a server, waits, and stands in one of five tones beside the other actions of a page: button’s ToggleButton. Same state model, different meaning.",
330
330
  "language": "html",
331
331
  "source": "<button slToggle>\n <ng-icon slToggleIcon name=\"lucideWrapText\" />\n Quebrar linhas\n</button>\n<button\n slToggleButton\n [loading]=\"following()\"\n [pressed]=\"followed()\"\n (pressedChange)=\"follow($event)\"\n>\n Seguir\n</button>\n",
332
332
  "verdict": "excerpt"
package/docs/toggle.md CHANGED
@@ -37,7 +37,7 @@ Excerpt — not a complete module
37
37
  | `pressed` | `boolean` | — | slToggle | Bound, the consumer owns the state for the life of the component. Unbound, the toggle owns it and starts from defaultPressed |
38
38
  | `defaultPressed` | `boolean` | false | slToggle | What an uncontrolled toggle starts from, read once. A later change to it does not silently become new state |
39
39
  | `size` | `'sm' \| 'md' \| 'lg'` | md | slToggle | The control step. It reads the control scale, so the toggle is as tall as the field beside it |
40
- | `variant` | `'outline' \| 'ghost' \| 'chips'` | outline | slToggle | Whether the control draws its own edge before it is on, or is a chip pressed in the neutral tone ink. There is no tone axis: a mode is one colour when it is on, and an action that persists in one of five tones is button’s ToggleButton |
40
+ | `variant` | `'outline' \| 'ghost' \| 'chips'` | outline | slToggle | Whether the control draws its own edge before it is on, or is a chip pressed in the neutral tone ink. There is no tone axis: a mode is one color when it is on, and an action that persists in one of five tones is button’s ToggleButton |
41
41
  | `disabled` | `boolean` | false | slToggle | The native attribute, which is also what makes the browser refuse focus. A toggle that is on and unavailable keeps saying both |
42
42
  | `type` | `'button' \| 'submit' \| 'reset'` | button | slToggle | The native attribute, kept when the consumer wrote it. A toggle in a form is not a form control — checkbox and switch are — so it is a button unless the consumer says otherwise |
43
43
  | `slToggle` | `directive on a button` | — | the consumer’s element | The component is a directive on the consumer’s own button: every attribute, every listener and every structural directive around it stay as written. It stays a button, because aria-pressed on a link is a link announcing a state a link does not hold |
@@ -89,14 +89,14 @@ Excerpt — not a complete module
89
89
 
90
90
  ### Framed, or bare until it is on
91
91
 
92
- outline draws its own edge and stands beside a field; ghost is the toggle inside something already framed — a toolbar, a card header. Both turn on into the same accent pair, so “on” is one colour wherever the control is.
92
+ outline draws its own edge and stands beside a field; ghost is the toggle inside something already framed — a toolbar, a card header. Both turn on into the same accent pair, so “on” is one color wherever the control is.
93
93
 
94
94
  Excerpt — not a complete module
95
95
 
96
96
  ```html
97
97
  <button slToggle variant="ghost">
98
98
  <ng-icon slToggleIcon name="lucidePin" />
99
- Fixar cabeçalho
99
+ Pin header
100
100
  </button>
101
101
  ```
102
102
 
@@ -115,7 +115,7 @@ Excerpt — not a complete module
115
115
 
116
116
  ### A mark and no words
117
117
 
118
- Without children the toggle draws square from the control height and the mark is centred in it. The name comes from aria-label, and the type makes nothing of that: the reference page is where the rule is stated, and the harness photographs it.
118
+ Without children the toggle draws square from the control height and the mark is centerd in it. The name comes from aria-label, and the type makes nothing of that: the reference page is where the rule is stated, and the harness photographs it.
119
119
 
120
120
  Excerpt — not a complete module
121
121
 
@@ -134,7 +134,7 @@ Excerpt — not a complete module
134
134
  ```html
135
135
  <button slToggle defaultPressed disabled>
136
136
  <ng-icon slToggleIcon name="lucidePin" />
137
- Fixar cabeçalho
137
+ Pin header
138
138
  </button>
139
139
  ```
140
140
 
@@ -149,7 +149,7 @@ Excerpt — not a complete module
149
149
  <button slToggle variant="ghost" aria-label="Negrito">
150
150
  <ng-icon slToggleIcon name="lucideBold" />
151
151
  </button>
152
- <button slToggle variant="ghost" aria-label="Itálico">
152
+ <button slToggle variant="ghost" aria-label="Italic">
153
153
  <ng-icon slToggleIcon name="lucideItalic" />
154
154
  </button>
155
155
  <hr slToolbarSeparator />
@@ -202,7 +202,7 @@ Excerpt — not a complete module
202
202
 
203
203
  ### Toggle, or ToggleButton
204
204
 
205
- A mode is one colour and true the moment it is pressed: Toggle. An action that persists — Follow, Subscribe — reaches a server, waits, and stands in one of five tones beside the other actions of a page: button’s ToggleButton. Same state model, different meaning.
205
+ A mode is one color and true the moment it is pressed: Toggle. An action that persists — Follow, Subscribe — reaches a server, waits, and stands in one of five tones beside the other actions of a page: button’s ToggleButton. Same state model, different meaning.
206
206
 
207
207
  Excerpt — not a complete module
208
208
 
package/docs/tokens.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  The theme states every value the families draw with. An element of the application's own reads the groups on this page, never a literal, and never a token of a group under "Read by their family only" (CP-05, OE-01).
4
4
 
5
- A primitive is a step on a scale; a semantic token says what a value is for. Values are the default theme's. A colour has no value here: it changes with the scheme — light, dark, high-contrast — and is chosen by its role. A value that follows density is given for comfortable, compact and dense.
5
+ A primitive is a step on a scale; a semantic token says what a value is for. Values are the default theme's. A color has no value here: it changes with the scheme — light, dark, high-contrast — and is chosen by its role. A value that follows density is given for comfortable, compact and dense.
6
6
 
7
7
  ## space
8
8
 
@@ -205,7 +205,7 @@ Names: --slotted-z-index-{layer}
205
205
 
206
206
  ## shadow
207
207
 
208
- What elevation a surface has above the one under it, smallest first; under forced colours every step is none.
208
+ What elevation a surface has above the one under it, smallest first; under forced colors every step is none.
209
209
 
210
210
  Names: --slotted-shadow-{step}
211
211
 
@@ -228,12 +228,12 @@ The grounds content stands on.
228
228
  | `--slotted-surface-inverse` | A ground in the opposite lightness, with `--slotted-text-inverse` on it. | by scheme |
229
229
  | `--slotted-surface-inverse-hover` | The inverse ground under the pointer: `--slotted-surface-inverse` moved a share toward the opposite lightness. | by scheme |
230
230
  | `--slotted-surface-inverse-active` | The inverse ground while pressed, a step beyond the hover. | by scheme |
231
- | `--slotted-surface-material` | The ground of a bar that floats over scrolling content, drawn as a material: `--slotted-surface` at a partial share over transparency, behind `--slotted-material-backdrop`. Under `prefers-reduced-transparency: reduce` it is `--slotted-surface`, and under forced colours the Canvas system colour. | by scheme |
232
- | `--slotted-material-backdrop` | The backdrop filter a material is drawn with: the content scrolling under it, saturated and blurred. Each scheme states its own, because a light page holds less contrast for a blur to keep. Under `prefers-reduced-transparency: reduce` and forced colours it is `none`. | by scheme |
231
+ | `--slotted-surface-material` | The ground of a bar that floats over scrolling content, drawn as a material: `--slotted-surface` at a partial share over transparency, behind `--slotted-material-backdrop`. Under `prefers-reduced-transparency: reduce` it is `--slotted-surface`, and under forced colors the Canvas system color. | by scheme |
232
+ | `--slotted-material-backdrop` | The backdrop filter a material is drawn with: the content scrolling under it, saturated and blurred. Each scheme states its own, because a light page holds less contrast for a blur to keep. Under `prefers-reduced-transparency: reduce` and forced colors it is `none`. | by scheme |
233
233
 
234
234
  ## text
235
235
 
236
- The colours text is painted in.
236
+ The colors text is painted in.
237
237
 
238
238
  | Token | Meaning | Default value |
239
239
  | --- | --- | --- |
@@ -243,7 +243,7 @@ The colours text is painted in.
243
243
 
244
244
  ## border
245
245
 
246
- The colours of lines between and inside surfaces.
246
+ The colors of lines between and inside surfaces.
247
247
 
248
248
  | Token | Meaning | Default value |
249
249
  | --- | --- | --- |
@@ -270,8 +270,8 @@ The outline every focused element draws.
270
270
  | --- | --- | --- |
271
271
  | `--slotted-focus-ring-width` | The thickness of the focus outline. | 2px |
272
272
  | `--slotted-focus-ring-offset` | The distance between the element and its focus outline. | 2px |
273
- | `--slotted-focus-ring-color` | The colour of the focus outline. | by scheme |
274
- | `--slotted-focus-ring-color-invalid` | The colour of the focus outline of a control in error; an element in error points `--slotted-focus-ring-color` at it. | by scheme |
273
+ | `--slotted-focus-ring-color` | The color of the focus outline. | by scheme |
274
+ | `--slotted-focus-ring-color-invalid` | The color of the focus outline of a control in error; an element in error points `--slotted-focus-ring-color` at it. | by scheme |
275
275
 
276
276
  ## target
277
277
 
@@ -292,7 +292,7 @@ Names: --slotted-tone-{tone}-{role}
292
292
  | --- | --- |
293
293
  | accent | The product's intent: the primary action, the chosen option, the current place. |
294
294
  | secondary | A second intent beside accent, for an action or a mark that must not compete with it. |
295
- | neutral | Ink: the inverse surface as a fill and the text colour as a label, for a primary action in a product that keeps the accent for data. |
295
+ | neutral | Ink: the inverse surface as a fill and the text color as a label, for a primary action in a product that keeps the accent for data. |
296
296
  | info | A fact the reader is told with no judgement of it: a note, a transfer, a change of state that is neither good nor bad. Its own seed, so it stays apart from an accent that shares a hue with success. |
297
297
  | success | A result that completed or a state that is healthy. |
298
298
  | warning | A state that needs attention before it becomes a failure. |
@@ -356,12 +356,12 @@ What a control's text and frame look like at every size.
356
356
  | `--slotted-control-letter-spacing` | The letter spacing of a control's text. | 0 |
357
357
  | `--slotted-control-border-width` | The edge width of a control at rest. | 1px |
358
358
  | `--slotted-control-radius` | The corner of a control. | 4px |
359
- | `--slotted-control-shadow-focus-geometry` | Offset, blur and spread of the shadow a focused control draws, with no colour; drawn with `--slotted-focus-ring-color`. | 0 1px 4px -1px |
359
+ | `--slotted-control-shadow-focus-geometry` | Offset, blur and spread of the shadow a focused control draws, with no color; drawn with `--slotted-focus-ring-color`. | 0 1px 4px -1px |
360
360
  | `--slotted-control-transition-duration` | How long a control takes to change state. | 120ms; 1ms under reduced motion |
361
361
  | `--slotted-control-transition-easing` | The curve of a control's change of state. | cubic-bezier(0.2, 0, 0, 1) |
362
- | `--slotted-control-invalid-edge-width` | The edge an invalid control adds inside its border, so the state reads where colour cannot. | 1px |
362
+ | `--slotted-control-invalid-edge-width` | The edge an invalid control adds inside its border, so the state reads where color cannot. | 1px |
363
363
  | `--slotted-control-focus-ring-offset` | The distance between a field's frame and its focus outline; set to the negative of `--slotted-control-border-width`, a field's ring lies flush over its border while a button keeps `--slotted-focus-ring-offset`. | 2px |
364
- | `--slotted-control-border-color` | The edge colour of a control at rest. | by scheme |
364
+ | `--slotted-control-border-color` | The edge color of a control at rest. | by scheme |
365
365
  | `--slotted-control-surface` | The ground of a control at rest: a field, a select, a segmented control. | by scheme |
366
366
  | `--slotted-control-shadow` | The shadow of a control at rest. | by scheme |
367
367
 
@@ -440,7 +440,7 @@ How the place the reader is on is marked.
440
440
 
441
441
  ## state
442
442
 
443
- Translucent layers laid over whatever surface an element stands on, so a hovered, pressed or selected row reads the same on the page and on a raised surface. Each is the scheme's text colour at a small share over transparency. Under forced colours every layer is the Canvas system colour: the state is carried by the system colours the family draws, Highlight for selection and an outline for focus.
443
+ Translucent layers laid over whatever surface an element stands on, so a hovered, pressed or selected row reads the same on the page and on a raised surface. Each is the scheme's text color at a small share over transparency. Under forced colors every layer is the Canvas system color: the state is carried by the system colors the family draws, Highlight for selection and an outline for focus.
444
444
 
445
445
  | Token | Meaning | Default value |
446
446
  | --- | --- | --- |
@@ -461,7 +461,7 @@ The veil under a modal surface.
461
461
  A family adjusts these for itself. An element of the application's own does not read them.
462
462
 
463
463
  - icon: The geometry of an icon a family draws itself; an icon of the application's own is drawn with the icon family. Names: --slotted-icon-{glyph}
464
- - upload-kind: The tile colours of file kinds in upload and attachment. Names: --slotted-upload-kind-{kind}
465
- - code: The colours of syntax scopes in code-block. Names: --slotted-code-{scope}
464
+ - upload-kind: The tile colors of file kinds in upload and attachment. Names: --slotted-upload-kind-{kind}
465
+ - code: The colors of syntax scopes in code-block. Names: --slotted-code-{scope}
466
466
  - rating: The edge of a star in rating. Names: --slotted-rating-edge
467
467
  - avatar-size: The sizes of avatar, smallest first. Names: --slotted-avatar-size-{size}
package/docs/toolbar.json CHANGED
@@ -152,7 +152,7 @@
152
152
  "type": "string | ((hidden: number) => string)",
153
153
  "defaultValue": "counted",
154
154
  "appliesTo": "sl-toolbar-overflow",
155
- "description": "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, and an aria-label written on the host wins over both"
155
+ "description": "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, and an aria-label written on the host wins over both"
156
156
  },
157
157
  {
158
158
  "name": "align, side, size",
@@ -234,7 +234,7 @@
234
234
  "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.",
235
235
  "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.",
236
236
  "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.",
237
- "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."
237
+ "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."
238
238
  ]
239
239
  }
240
240
  },
@@ -293,15 +293,15 @@
293
293
  "title": "Playground",
294
294
  "note": "One bar with every axis on it, driven by the controls below the canvas. Tab into it once, then use the arrows: the whole bar is a single stop however many controls it holds.",
295
295
  "language": "html",
296
- "source": "<div slToolbar aria-label=\"Formatação\">\n <button slButton variant=\"ghost\">Negrito</button>\n <button slButton variant=\"ghost\">Itálico</button>\n <div slToolbarSeparator></div>\n <button slButton variant=\"ghost\">Link</button>\n</div>\n",
296
+ "source": "<div slToolbar aria-label=\"Formatting\">\n <button slButton variant=\"ghost\">Bold</button>\n <button slButton variant=\"ghost\">Italic</button>\n <div slToolbarSeparator></div>\n <button slButton variant=\"ghost\">Link</button>\n</div>\n",
297
297
  "verdict": "excerpt"
298
298
  },
299
299
  {
300
300
  "id": "orientation",
301
301
  "title": "Which way the bar runs",
302
- "note": "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.",
302
+ "note": "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.",
303
303
  "language": "html",
304
- "source": "<div slToolbar aria-label=\"Ferramentas\" orientation=\"vertical\">\n <button slButton variant=\"ghost\">Lápis</button>\n <button slButton variant=\"ghost\">Pincel</button>\n <div slToolbarSeparator></div>\n <button slButton variant=\"ghost\">Borracha</button>\n</div>\n",
304
+ "source": "<div slToolbar aria-label=\"Tools\" orientation=\"vertical\">\n <button slButton variant=\"ghost\">Pencil</button>\n <button slButton variant=\"ghost\">Brush</button>\n <div slToolbarSeparator></div>\n <button slButton variant=\"ghost\">Borracha</button>\n</div>\n",
305
305
  "verdict": "excerpt"
306
306
  },
307
307
  {
@@ -325,7 +325,7 @@
325
325
  "title": "Runs that belong together",
326
326
  "note": "A group carries a name a screen reader announces and a boundary the eye reads, and a rule draws the same boundary the other way — which is what keeps a destructive action off a frequent one.",
327
327
  "language": "html",
328
- "source": "<div slToolbar aria-label=\"Seleção\" variant=\"outline\">\n <div slToolbarGroup aria-label=\"Alinhamento\">\n <button slButton variant=\"outline\">Início</button>\n <button slButton variant=\"outline\" pressed>Centro</button>\n </div>\n <div slToolbarSeparator></div>\n <div slToolbarSpacer></div>\n <button slButton tone=\"danger\">Excluir</button>\n</div>\n",
328
+ "source": "<div slToolbar aria-label=\"Selection\" variant=\"outline\">\n <div slToolbarGroup aria-label=\"Alignment\">\n <button slButton variant=\"outline\">Start</button>\n <button slButton variant=\"outline\" pressed>Center</button>\n </div>\n <div slToolbarSeparator></div>\n <div slToolbarSpacer></div>\n <button slButton tone=\"danger\">Delete</button>\n</div>\n",
329
329
  "verdict": "excerpt"
330
330
  },
331
331
  {
@@ -333,13 +333,13 @@
333
333
  "title": "The APG table, and where focus lands",
334
334
  "note": "Tab enters the bar once and returns to the control that last had focus; the arrows of the flow axis move and wrap, the cross axis duplicates them, and Home and End reach the ends.",
335
335
  "language": "html",
336
- "source": "<!-- Every focusable control inside the bar is an item, found in the DOM rather\n than wrapped in a component of its own — so this library's own families,\n and a consumer's own control, drop in unwrapped. -->\n<div slToolbar aria-label=\"Formatação\">\n <button slButton variant=\"ghost\">Negrito</button>\n <span slCheckbox><input slCheckboxControl type=\"checkbox\" /></span>\n <a slLink href=\"/ajuda\">Ajuda</a>\n</div>\n",
336
+ "source": "<!-- Every focusable control inside the bar is an item, found in the DOM rather\n than wrapped in a component of its own — so this library's own families,\n and a consumer's own control, drop in unwrapped. -->\n<div slToolbar aria-label=\"Formatting\">\n <button slButton variant=\"ghost\">Bold</button>\n <span slCheckbox><input slCheckboxControl type=\"checkbox\" /></span>\n <a slLink href=\"/ajuda\">Ajuda</a>\n</div>\n",
337
337
  "verdict": "excerpt"
338
338
  },
339
339
  {
340
340
  "id": "keyOwners",
341
341
  "title": "An item that keeps the arrows",
342
- "note": "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.",
342
+ "note": "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.",
343
343
  "language": "html",
344
344
  "source": "<div slToolbar aria-label=\"Filtro\">\n <button slButton variant=\"outline\">Todos</button>\n <div slToolbarSpacer></div>\n <!-- Inferred from the kind of control; data-toolbar-keys states it where the\n kind cannot say — \"none\", \"inline\", \"block\" or \"all\". -->\n <span slTextField><input slTextFieldControl type=\"search\" aria-label=\"Buscar\" /></span>\n</div>\n",
345
345
  "verdict": "excerpt"
@@ -349,7 +349,7 @@
349
349
  "title": "A bar out of action",
350
350
  "note": "A fieldset around the bar disables every control inside it natively, and because a natively disabled control cannot be focused, the arrows skip exactly those — the platform answers it in two lines.",
351
351
  "language": "html",
352
- "source": "<fieldset [disabled]=\"readOnly()\">\n <div slToolbar aria-label=\"Somente leitura\">\n <button slButton variant=\"outline\">Editar</button>\n <div slToolbarSeparator></div>\n <button slButton tone=\"danger\">Excluir</button>\n </div>\n</fieldset>\n",
352
+ "source": "<fieldset [disabled]=\"readOnly()\">\n <div slToolbar aria-label=\"Read only\">\n <button slButton variant=\"outline\">Edit</button>\n <div slToolbarSeparator></div>\n <button slButton tone=\"danger\">Delete</button>\n </div>\n</fieldset>\n",
353
353
  "verdict": "excerpt"
354
354
  },
355
355
  {
@@ -357,7 +357,7 @@
357
357
  "title": "More controls than room",
358
358
  "note": "wrap keeps every control visible on a second row, and the arrows wrap from row to row because the item list is linear; scroll keeps the bar to one line and scrolls past its controls rather than squeezing them.",
359
359
  "language": "html",
360
- "source": "<div slToolbar aria-label=\"Muitas ações\" overflow=\"wrap\"></div>\n<div slToolbar aria-label=\"Muitas ações, rolando\" overflow=\"scroll\"></div>\n",
360
+ "source": "<div slToolbar aria-label=\"Many actions\" overflow=\"wrap\"></div>\n<div slToolbar aria-label=\"Many actions, scrolling\" overflow=\"scroll\"></div>\n",
361
361
  "verdict": "excerpt"
362
362
  },
363
363
  {
@@ -373,7 +373,7 @@
373
373
  "title": "Setting it once, and standing beside other families",
374
374
  "note": "The provider carries the five decisions an application takes once, and the bar is what belongs in a tab list’s actions slot — one tab stop for however many actions the page puts there.",
375
375
  "language": "ts",
376
- "source": "// One decision for every bar in the application, in the bootstrap file.\nbootstrapApplication(App, {\n providers: [provideToolbarDefaults({ size: 'sm', variant: 'outline' })],\n});\n\n// And in a template, the actions slot of a tab list is where a bar goes:\n// <div slTabActions><div slToolbar aria-label=\"Ações\">…</div></div>\n",
376
+ "source": "// One decision for every bar in the application, in the bootstrap file.\nbootstrapApplication(App, {\n providers: [provideToolbarDefaults({ size: 'sm', variant: 'outline' })],\n});\n\n// And in a template, the actions slot of a tab list is where a bar goes:\n// <div slTabActions><div slToolbar aria-label=\"Actions\">…</div></div>\n",
377
377
  "verdict": "excerpt"
378
378
  }
379
379
  ]
package/docs/toolbar.md CHANGED
@@ -16,9 +16,9 @@ Selector: `[slToolbar], [slToolbarGroup], [slToolbarItem], sl-toolbar-overflow,
16
16
  Excerpt — not a complete module
17
17
 
18
18
  ```html
19
- <div slToolbar aria-label="Formatação">
20
- <button slButton variant="ghost">Negrito</button>
21
- <button slButton variant="ghost">Itálico</button>
19
+ <div slToolbar aria-label="Formatting">
20
+ <button slButton variant="ghost">Bold</button>
21
+ <button slButton variant="ghost">Italic</button>
22
22
  <div slToolbarSeparator></div>
23
23
  <button slButton variant="ghost">Link</button>
24
24
  </div>
@@ -45,7 +45,7 @@ Excerpt — not a complete module
45
45
  | `overflow` | `'wrap' \| 'scroll' \| 'menu'` | wrap | slToolbar, provideToolbarDefaults | 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 sl-toolbar-overflow in it has nothing to give way to, so it scrolls |
46
46
  | `overflowChange` | `output<number>` | — | slToolbar | How many units gave way, once per change. There is no two-way binding 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 |
47
47
  | `slToolbarItemCounterpart, slToolbarGroupCounterpart` | `TemplateRef` | — | slToolbarItem, slToolbarGroup | What the unit becomes in the surface when the bar has no room for it, rendered through NgTemplateOutlet only while it is collapsed. A unit that declares none is pinned — pinning is the absence of a counterpart rather than a second input, so the two can never disagree. It is not called overflow, because that word is the bar’s own axis |
48
- | `label` | `string \| ((hidden: number) => string)` | counted | sl-toolbar-overflow | 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, and an aria-label written on the host wins over both |
48
+ | `label` | `string \| ((hidden: number) => string)` | counted | sl-toolbar-overflow | 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, and an aria-label written on the host wins over both |
49
49
  | `align, side, size` | `MenuAlign \| MenuSide \| MenuSize` | from provideMenuDefaults | sl-toolbar-overflow | Where the surface sits against the trigger, and its own measure. Everything else about the layer an application sets once with provideMenuDefaults(): a second configuration surface over the same layer would be two answers to one question |
50
50
  | `loop` | `boolean` | true | slToolbar, provideToolbarDefaults | Whether the arrows wrap past the ends of the bar |
51
51
  | `aria-label` | `string` | — | slToolbar, slToolbarGroup | 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 |
@@ -73,7 +73,7 @@ Excerpt — not a complete module
73
73
  - 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.
74
74
  - 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.
75
75
  - 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.
76
- - 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.
76
+ - 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.
77
77
 
78
78
  ## Tokens
79
79
 
@@ -83,14 +83,14 @@ Excerpt — not a complete module
83
83
 
84
84
  ### Which way the bar runs
85
85
 
86
- 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.
86
+ 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.
87
87
 
88
88
  Excerpt — not a complete module
89
89
 
90
90
  ```html
91
- <div slToolbar aria-label="Ferramentas" orientation="vertical">
92
- <button slButton variant="ghost">Lápis</button>
93
- <button slButton variant="ghost">Pincel</button>
91
+ <div slToolbar aria-label="Tools" orientation="vertical">
92
+ <button slButton variant="ghost">Pencil</button>
93
+ <button slButton variant="ghost">Brush</button>
94
94
  <div slToolbarSeparator></div>
95
95
  <button slButton variant="ghost">Borracha</button>
96
96
  </div>
@@ -126,14 +126,14 @@ A group carries a name a screen reader announces and a boundary the eye reads, a
126
126
  Excerpt — not a complete module
127
127
 
128
128
  ```html
129
- <div slToolbar aria-label="Seleção" variant="outline">
130
- <div slToolbarGroup aria-label="Alinhamento">
131
- <button slButton variant="outline">Início</button>
132
- <button slButton variant="outline" pressed>Centro</button>
129
+ <div slToolbar aria-label="Selection" variant="outline">
130
+ <div slToolbarGroup aria-label="Alignment">
131
+ <button slButton variant="outline">Start</button>
132
+ <button slButton variant="outline" pressed>Center</button>
133
133
  </div>
134
134
  <div slToolbarSeparator></div>
135
135
  <div slToolbarSpacer></div>
136
- <button slButton tone="danger">Excluir</button>
136
+ <button slButton tone="danger">Delete</button>
137
137
  </div>
138
138
  ```
139
139
 
@@ -147,8 +147,8 @@ Excerpt — not a complete module
147
147
  <!-- Every focusable control inside the bar is an item, found in the DOM rather
148
148
  than wrapped in a component of its own — so this library's own families,
149
149
  and a consumer's own control, drop in unwrapped. -->
150
- <div slToolbar aria-label="Formatação">
151
- <button slButton variant="ghost">Negrito</button>
150
+ <div slToolbar aria-label="Formatting">
151
+ <button slButton variant="ghost">Bold</button>
152
152
  <span slCheckbox><input slCheckboxControl type="checkbox" /></span>
153
153
  <a slLink href="/ajuda">Ajuda</a>
154
154
  </div>
@@ -156,7 +156,7 @@ Excerpt — not a complete module
156
156
 
157
157
  ### An item that keeps the arrows
158
158
 
159
- 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.
159
+ 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.
160
160
 
161
161
  Excerpt — not a complete module
162
162
 
@@ -178,10 +178,10 @@ Excerpt — not a complete module
178
178
 
179
179
  ```html
180
180
  <fieldset [disabled]="readOnly()">
181
- <div slToolbar aria-label="Somente leitura">
182
- <button slButton variant="outline">Editar</button>
181
+ <div slToolbar aria-label="Read only">
182
+ <button slButton variant="outline">Edit</button>
183
183
  <div slToolbarSeparator></div>
184
- <button slButton tone="danger">Excluir</button>
184
+ <button slButton tone="danger">Delete</button>
185
185
  </div>
186
186
  </fieldset>
187
187
  ```
@@ -193,8 +193,8 @@ wrap keeps every control visible on a second row, and the arrows wrap from row t
193
193
  Excerpt — not a complete module
194
194
 
195
195
  ```html
196
- <div slToolbar aria-label="Muitas ações" overflow="wrap"></div>
197
- <div slToolbar aria-label="Muitas ações, rolando" overflow="scroll"></div>
196
+ <div slToolbar aria-label="Many actions" overflow="wrap"></div>
197
+ <div slToolbar aria-label="Many actions, scrolling" overflow="scroll"></div>
198
198
  ```
199
199
 
200
200
  ### What is left over, behind one control
@@ -236,5 +236,5 @@ bootstrapApplication(App, {
236
236
  });
237
237
 
238
238
  // And in a template, the actions slot of a tab list is where a bar goes:
239
- // <div slTabActions><div slToolbar aria-label="Ações">…</div></div>
239
+ // <div slTabActions><div slToolbar aria-label="Actions">…</div></div>
240
240
  ```
package/docs/tooltip.json CHANGED
@@ -180,7 +180,7 @@
180
180
  "type": "'inverse' | 'surface'",
181
181
  "defaultValue": "inverse",
182
182
  "appliesTo": "slTooltip",
183
- "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."
183
+ "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."
184
184
  },
185
185
  {
186
186
  "name": "size",
@@ -215,7 +215,7 @@
215
215
  "type": "'start' | 'center' | 'end'",
216
216
  "defaultValue": "center",
217
217
  "appliesTo": "slTooltip",
218
- "description": "Where the tooltip sits along the edge it took: at the start of the trigger, at its centre or at its end."
218
+ "description": "Where the tooltip sits along the edge it took: at the start of the trigger, at its center or at its end."
219
219
  },
220
220
  {
221
221
  "name": "mount",
@@ -278,7 +278,7 @@
278
278
  "type": "boolean",
279
279
  "defaultValue": "true",
280
280
  "appliesTo": "slTooltip",
281
- "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."
281
+ "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."
282
282
  },
283
283
  {
284
284
  "name": "disabled",
package/docs/tooltip.md CHANGED
@@ -70,12 +70,12 @@ export class TooltipBasic {}
70
70
  | --- | --- | --- | --- | --- |
71
71
  | `open` | `boolean` | false | slTooltip | Whether the tooltip is open. It is two-way: bind [(open)] to a signal to read and set the state, or leave it unbound and the tooltip keeps its own. |
72
72
  | `defaultOpen` | `boolean` | false | slTooltip | The state an uncontrolled tooltip starts in, read once in ngOnInit. |
73
- | `variant` | `'inverse' \| 'surface'` | inverse | slTooltip | 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. |
73
+ | `variant` | `'inverse' \| 'surface'` | inverse | slTooltip | 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. |
74
74
  | `size` | `'sm' \| 'md'` | md | slTooltip | 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. |
75
75
  | `describes` | `'description' \| 'label' \| 'none'` | description | slTooltip | 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. |
76
76
  | `openOn` | `'hover' \| 'focus' \| 'manual'` | hover | slTooltip | 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, show() or hide(). |
77
77
  | `side` | `'top' \| 'bottom' \| 'inline-start' \| 'inline-end' \| 'left' \| 'right'` | top | slTooltip | 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. |
78
- | `align` | `'start' \| 'center' \| 'end'` | center | slTooltip | Where the tooltip sits along the edge it took: at the start of the trigger, at its centre or at its end. |
78
+ | `align` | `'start' \| 'center' \| 'end'` | center | slTooltip | Where the tooltip sits along the edge it took: at the start of the trigger, at its center or at its end. |
79
79
  | `mount` | `'active' \| 'lazy' \| 'eager'` | active | slTooltip | 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. |
80
80
  | `strategy` | `'absolute' \| 'fixed'` | absolute | slTooltip | The CSS position of the layer. Use fixed for a trigger inside an overflow: hidden ancestor, and absolute for one inside a transformed ancestor. |
81
81
  | `arrow` | `boolean` | true | slTooltip | Whether the layer draws the arrow. |
@@ -84,7 +84,7 @@ export class TooltipBasic {}
84
84
  | `flip` | `boolean` | true | slTooltip | Whether the tooltip moves to the opposite edge when the preferred edge has no room. |
85
85
  | `shift` | `boolean` | true | slTooltip | Whether the tooltip slides along its edge to stay inside the boundary. |
86
86
  | `hideWhenDetached` | `boolean` | true | slTooltip | 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. |
87
- | `portal` | `boolean` | true | slTooltip | 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. |
87
+ | `portal` | `boolean` | true | slTooltip | 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. |
88
88
  | `disabled` | `boolean` | false | slTooltip | Turns the tooltip off: it never opens and renders no layer. The disabled state of the trigger is set on the trigger itself. |
89
89
  | `whenClipped` | `boolean` | false | slTooltip | 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. |
90
90
  | `openDelay` | `number` | 600 | slTooltip | Milliseconds the pointer rests on the trigger before the tooltip opens. Keyboard focus opens it without waiting. |
@@ -46,12 +46,12 @@ Excerpt — not a complete module
46
46
 
47
47
  ```html
48
48
  <ul slTopNavigationList>
49
- <li slTopNavigationItem value="painel" priority="high">
50
- <a slTopNavigationLink href="/painel">Painel</a>
49
+ <li slTopNavigationItem value="dashboard" priority="high">
50
+ <a slTopNavigationLink href="/dashboard">Dashboard</a>
51
51
  </li>
52
- <li slTopNavigationItem value="rotas"><a slTopNavigationLink href="/rotas">Rotas</a></li>
52
+ <li slTopNavigationItem value="routes"><a slTopNavigationLink href="/routes">Routes</a></li>
53
53
  <li slTopNavigationItem value="faturacao" priority="low">
54
- <a slTopNavigationLink href="/faturacao">Faturação</a>
54
+ <a slTopNavigationLink href="/faturacao">Billing</a>
55
55
  </li>
56
56
  </ul>
57
57
  ```
@@ -95,7 +95,7 @@ Excerpt — not a complete module
95
95
  <button slTopNavigationTrigger>Frota</button>
96
96
  <div slNavigationMenuContent>
97
97
  <ul slNavigationMenuLinks>
98
- <li><a slNavigationMenuLink routerLink="/fleet/vehicles">Veículos</a></li>
98
+ <li><a slNavigationMenuLink routerLink="/fleet/vehicles">Vehicles</a></li>
99
99
  </ul>
100
100
  </div>
101
101
  </li>
@@ -113,7 +113,7 @@ Excerpt — not a complete module
113
113
 
114
114
  ### The global controls
115
115
 
116
- 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.
116
+ 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.
117
117
 
118
118
  Excerpt — not a complete module
119
119
 
@@ -121,11 +121,7 @@ Excerpt — not a complete module
121
121
  <div slTopNavigationActions>
122
122
  <a slTopNavigationHelp href="/ajuda"></a>
123
123
  <ng-container slPopover>
124
- <button
125
- slTopNavigationAction
126
- slPopoverTrigger
127
- [label]="'Aprovações, ' + pending() + ' pendentes'"
128
- >
124
+ <button slTopNavigationAction slPopoverTrigger [label]="'Approvals, ' + pending() + ' pending'">
129
125
  <ng-icon name="lucideClipboardCheck" />
130
126
  <span slTopNavigationCount>{{ pending() }}</span>
131
127
  </button>
@@ -153,11 +149,11 @@ Excerpt — not a complete module
153
149
  ```html
154
150
  <div slTopNavigationContext>
155
151
  <button slButton size="sm" tone="secondary" variant="ghost" [slMenuTriggerFor]="workspaces">
156
- Porto · Operações
152
+ Portland · Operations
157
153
  <span slButtonEnd><ng-icon name="lucideChevronsUpDown" /></span>
158
154
  </button>
159
155
  <sl-menu #workspaces>…</sl-menu>
160
- <span slBadge size="sm" tone="warning" variant="soft">Homologação</span>
156
+ <span slBadge size="sm" tone="warning" variant="soft">Staging</span>
161
157
  </div>
162
158
  ```
163
159
 
@@ -179,7 +175,7 @@ Excerpt — not a complete module
179
175
 
180
176
  ```html
181
177
  <li slTopNavigationItem value="faturacao" disabled>
182
- <a slTopNavigationLink href="/faturacao">Faturação</a>
178
+ <a slTopNavigationLink href="/faturacao">Billing</a>
183
179
  </li>
184
180
  ```
185
181
 
@@ -205,7 +201,7 @@ Excerpt — not a complete module
205
201
  ```html
206
202
  <div slAppShell>
207
203
  <header slAppShellBanner>
208
- <div slTopNavigation value="painel">
204
+ <div slTopNavigation value="dashboard">
209
205
  <div slTopNavigationBrand>
210
206
  <button slAppShellNavToggle></button>
211
207
  <a slTopNavigationHome href="/">…</a>