@slotted/angular 0.1.0-beta.3 → 0.1.0-beta.31

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 (740) hide show
  1. package/docs/AGENTS.snippet.md +3 -1
  2. package/docs/accordion.json +5 -5
  3. package/docs/accordion.md +12 -12
  4. package/docs/action-bar.json +23 -22
  5. package/docs/action-bar.md +30 -30
  6. package/docs/action-sheet.json +391 -64
  7. package/docs/action-sheet.md +259 -0
  8. package/docs/alert.json +31 -14
  9. package/docs/alert.md +29 -18
  10. package/docs/app-shell.examples.md +8 -8
  11. package/docs/app-shell.json +38 -21
  12. package/docs/app-shell.md +9 -7
  13. package/docs/avatar-group.json +1 -1
  14. package/docs/avatar-group.md +1 -1
  15. package/docs/avatar.json +32 -11
  16. package/docs/avatar.md +13 -11
  17. package/docs/badge.json +10 -4
  18. package/docs/badge.md +5 -5
  19. package/docs/breadcrumb.json +2 -2
  20. package/docs/breadcrumb.md +2 -2
  21. package/docs/button-group.json +2 -1
  22. package/docs/button-group.md +2 -2
  23. package/docs/button.examples.md +15 -0
  24. package/docs/button.json +134 -14
  25. package/docs/button.md +32 -8
  26. package/docs/calendar.json +31 -6
  27. package/docs/calendar.md +9 -6
  28. package/docs/card.json +3 -2
  29. package/docs/card.md +3 -3
  30. package/docs/carousel.json +10 -10
  31. package/docs/carousel.md +11 -11
  32. package/docs/cascader.json +2 -0
  33. package/docs/cascader.md +1 -1
  34. package/docs/chart.examples.md +45 -31
  35. package/docs/chart.json +40 -35
  36. package/docs/chart.md +7 -7
  37. package/docs/checkbox-group.examples.md +13 -13
  38. package/docs/checkbox-group.json +7 -7
  39. package/docs/checkbox-group.md +2 -2
  40. package/docs/checkbox.examples.md +7 -7
  41. package/docs/checkbox.json +6 -6
  42. package/docs/checkbox.md +3 -3
  43. package/docs/code-block.json +93 -93
  44. package/docs/code-block.md +70 -70
  45. package/docs/collapsible.json +12 -11
  46. package/docs/collapsible.md +20 -20
  47. package/docs/color-picker.json +26 -26
  48. package/docs/color-picker.md +16 -16
  49. package/docs/combobox.json +6 -2
  50. package/docs/combobox.md +3 -3
  51. package/docs/command-palette.json +2 -0
  52. package/docs/command-palette.md +1 -1
  53. package/docs/context-menu.json +1 -1
  54. package/docs/context-menu.md +1 -1
  55. package/docs/currency-field.examples.md +3 -3
  56. package/docs/currency-field.json +14 -6
  57. package/docs/currency-field.md +6 -5
  58. package/docs/dashboard-grid.json +53 -10
  59. package/docs/dashboard-grid.md +18 -6
  60. package/docs/data-grid.examples.md +3 -3
  61. package/docs/data-grid.json +37 -11
  62. package/docs/data-grid.md +2 -1
  63. package/docs/data-grid.props.md +7 -5
  64. package/docs/data-list.json +2 -1
  65. package/docs/data-list.md +1 -1
  66. package/docs/date-field.json +12 -4
  67. package/docs/date-field.md +8 -7
  68. package/docs/date-picker.examples.md +36 -0
  69. package/docs/date-picker.json +32 -5
  70. package/docs/date-picker.md +7 -5
  71. package/docs/date-range-picker.json +11 -0
  72. package/docs/date-range-picker.md +2 -1
  73. package/docs/datetime-field.json +5 -4
  74. package/docs/datetime-field.md +10 -10
  75. package/docs/datetime-picker.json +11 -1
  76. package/docs/datetime-picker.md +2 -1
  77. package/docs/datetime-range-picker.examples.md +3 -3
  78. package/docs/datetime-range-picker.json +14 -3
  79. package/docs/datetime-range-picker.md +4 -3
  80. package/docs/description-list.json +16 -7
  81. package/docs/description-list.md +8 -7
  82. package/docs/detail-panel.json +14 -12
  83. package/docs/detail-panel.md +20 -15
  84. package/docs/dialog.examples.md +143 -141
  85. package/docs/dialog.json +58 -24
  86. package/docs/dialog.md +6 -4
  87. package/docs/dialog.props.md +9 -7
  88. package/docs/drawer.examples.md +14 -14
  89. package/docs/drawer.json +44 -17
  90. package/docs/drawer.md +10 -8
  91. package/docs/entity-picker.json +22 -4
  92. package/docs/entity-picker.md +8 -6
  93. package/docs/event-calendar.examples.md +3 -3
  94. package/docs/event-calendar.json +5 -5
  95. package/docs/event-calendar.md +4 -4
  96. package/docs/field-group.json +21 -6
  97. package/docs/field-group.md +14 -12
  98. package/docs/field.examples.md +3 -3
  99. package/docs/field.json +20 -5
  100. package/docs/field.md +4 -2
  101. package/docs/filter-bar.json +118 -118
  102. package/docs/filter-bar.md +79 -79
  103. package/docs/form.json +24 -12
  104. package/docs/form.md +15 -13
  105. package/docs/fullscreen.json +4 -4
  106. package/docs/fullscreen.md +7 -7
  107. package/docs/guidelines/README.md +2 -2
  108. package/docs/guidelines/async-feedback.md +25 -4
  109. package/docs/guidelines/builders.md +1 -1
  110. package/docs/guidelines/composition.md +37 -11
  111. package/docs/guidelines/conversations.md +1 -1
  112. package/docs/guidelines/errors-and-conflicts.md +7 -6
  113. package/docs/guidelines/forms.md +111 -1
  114. package/docs/guidelines/index.md +27 -7
  115. package/docs/guidelines/layout-alignment.md +24 -14
  116. package/docs/guidelines/list-pages.md +44 -3
  117. package/docs/guidelines/overviews.md +39 -9
  118. package/docs/guidelines/own-elements.md +8 -8
  119. package/docs/guidelines/reading-permissions.md +2 -2
  120. package/docs/guidelines/record-pages.md +1 -1
  121. package/docs/guidelines/reports.md +1 -1
  122. package/docs/highlight.json +9 -9
  123. package/docs/highlight.md +14 -14
  124. package/docs/icon.json +5 -3
  125. package/docs/icon.md +4 -4
  126. package/docs/image.json +3 -3
  127. package/docs/image.md +3 -3
  128. package/docs/import-export-center.json +24 -23
  129. package/docs/import-export-center.md +18 -18
  130. package/docs/index.md +3 -2
  131. package/docs/inline-message.json +34 -21
  132. package/docs/inline-message.md +32 -30
  133. package/docs/inline.json +1 -1
  134. package/docs/inline.md +1 -1
  135. package/docs/kbd.json +5 -2
  136. package/docs/kbd.md +3 -3
  137. package/docs/link.json +22 -6
  138. package/docs/link.md +9 -7
  139. package/docs/list-item.json +20 -4
  140. package/docs/list-item.md +20 -17
  141. package/docs/list.examples.md +907 -0
  142. package/docs/list.json +121 -33
  143. package/docs/list.md +73 -137
  144. package/docs/listbox.json +1 -2
  145. package/docs/listbox.md +2 -2
  146. package/docs/loading-overlay.json +3 -3
  147. package/docs/loading-overlay.md +3 -3
  148. package/docs/markdown.json +86 -79
  149. package/docs/markdown.md +66 -65
  150. package/docs/media-viewer.json +521 -0
  151. package/docs/media-viewer.md +188 -0
  152. package/docs/menu.json +15 -1
  153. package/docs/menu.md +3 -1
  154. package/docs/message-scroller.json +2 -2
  155. package/docs/message-scroller.md +1 -1
  156. package/docs/message.json +18 -12
  157. package/docs/message.md +20 -20
  158. package/docs/multi-select.json +4 -1
  159. package/docs/multi-select.md +1 -1
  160. package/docs/navigation-menu.json +1 -0
  161. package/docs/navigation-menu.md +1 -1
  162. package/docs/notification-center.json +21 -16
  163. package/docs/notification-center.md +20 -24
  164. package/docs/number-field.examples.md +3 -3
  165. package/docs/number-field.json +4 -3
  166. package/docs/number-field.md +1 -1
  167. package/docs/otp-input.json +11 -10
  168. package/docs/otp-input.md +14 -14
  169. package/docs/page-header.json +31 -14
  170. package/docs/page-header.md +25 -25
  171. package/docs/page.json +4 -2
  172. package/docs/page.md +3 -2
  173. package/docs/pagination.json +2 -2
  174. package/docs/pagination.md +1 -1
  175. package/docs/popover.examples.md +1 -1
  176. package/docs/popover.json +5 -3
  177. package/docs/popover.md +2 -2
  178. package/docs/progress-indicator.json +7 -5
  179. package/docs/progress-indicator.md +7 -7
  180. package/docs/prompt-composer.json +53 -6
  181. package/docs/prompt-composer.md +12 -6
  182. package/docs/prose.json +1 -1
  183. package/docs/prose.md +1 -1
  184. package/docs/radio-group.examples.md +19 -19
  185. package/docs/radio-group.json +12 -12
  186. package/docs/radio-group.md +3 -3
  187. package/docs/rating.json +28 -26
  188. package/docs/rating.md +28 -37
  189. package/docs/result-state.json +13 -12
  190. package/docs/result-state.md +18 -18
  191. package/docs/saved-views.json +1 -1
  192. package/docs/scroll-area.json +266 -64
  193. package/docs/scroll-area.md +188 -0
  194. package/docs/section.json +44 -22
  195. package/docs/section.md +34 -31
  196. package/docs/segmented-control.json +21 -25
  197. package/docs/segmented-control.md +33 -33
  198. package/docs/select.json +4 -0
  199. package/docs/select.md +1 -1
  200. package/docs/side-navigation.json +1 -0
  201. package/docs/side-navigation.md +1 -1
  202. package/docs/skeleton.json +1 -1
  203. package/docs/skeleton.md +1 -1
  204. package/docs/skills/build-own-element/SKILL.md +9 -9
  205. package/docs/skills/compose-screen/SKILL.md +59 -18
  206. package/docs/skills/index.md +2 -2
  207. package/docs/skills/review-screen/SKILL.md +29 -17
  208. package/docs/skills/theme-app/SKILL.md +66 -20
  209. package/docs/skills/waiting-states/SKILL.md +15 -11
  210. package/docs/slider.json +8 -8
  211. package/docs/slider.md +12 -12
  212. package/docs/sparkline.json +12 -9
  213. package/docs/sparkline.md +9 -9
  214. package/docs/split-button.json +14 -12
  215. package/docs/split-button.md +28 -30
  216. package/docs/splitter.json +279 -64
  217. package/docs/splitter.md +215 -0
  218. package/docs/stack.json +1 -1
  219. package/docs/stack.md +1 -1
  220. package/docs/stat-card.json +36 -9
  221. package/docs/stat-card.md +11 -8
  222. package/docs/status-indicator.json +22 -11
  223. package/docs/status-indicator.md +8 -6
  224. package/docs/stepper.json +4 -4
  225. package/docs/stepper.md +4 -4
  226. package/docs/switch.json +5 -5
  227. package/docs/switch.md +7 -7
  228. package/docs/table-of-contents.json +13 -12
  229. package/docs/table-of-contents.md +14 -14
  230. package/docs/table.examples.md +3 -3
  231. package/docs/table.json +17 -3
  232. package/docs/table.md +3 -1
  233. package/docs/tabs.json +16 -3
  234. package/docs/tabs.md +3 -2
  235. package/docs/tag.json +38 -26
  236. package/docs/tag.md +17 -17
  237. package/docs/tags-input.json +30 -3
  238. package/docs/tags-input.md +5 -2
  239. package/docs/text-field.examples.md +6 -6
  240. package/docs/text-field.json +6 -5
  241. package/docs/text-field.md +2 -2
  242. package/docs/textarea.examples.md +7 -7
  243. package/docs/textarea.json +4 -3
  244. package/docs/textarea.md +1 -1
  245. package/docs/time-field.json +4 -3
  246. package/docs/time-field.md +7 -7
  247. package/docs/time-picker.json +15 -5
  248. package/docs/time-picker.md +8 -7
  249. package/docs/time-range-picker.examples.md +5 -5
  250. package/docs/time-range-picker.json +15 -4
  251. package/docs/time-range-picker.md +3 -2
  252. package/docs/timeline.json +138 -132
  253. package/docs/timeline.md +125 -125
  254. package/docs/toast.json +15 -7
  255. package/docs/toast.md +8 -8
  256. package/docs/toggle-group.json +12 -12
  257. package/docs/toggle-group.md +28 -28
  258. package/docs/toggle.json +8 -8
  259. package/docs/toggle.md +7 -7
  260. package/docs/tokens.md +53 -26
  261. package/docs/toolbar.json +11 -11
  262. package/docs/toolbar.md +23 -23
  263. package/docs/tooltip.json +4 -3
  264. package/docs/tooltip.md +4 -4
  265. package/docs/top-navigation.examples.md +11 -15
  266. package/docs/top-navigation.json +9 -9
  267. package/docs/top-navigation.md +7 -7
  268. package/docs/tour.json +10 -9
  269. package/docs/tour.md +7 -7
  270. package/docs/typography.json +6 -4
  271. package/docs/typography.md +5 -5
  272. package/docs/upload.examples.md +3 -3
  273. package/docs/upload.json +9 -9
  274. package/docs/upload.md +4 -4
  275. package/fesm2022/slotted-angular-accordion.mjs +4 -2
  276. package/fesm2022/slotted-angular-accordion.mjs.map +1 -1
  277. package/fesm2022/slotted-angular-action-bar.mjs +27 -12
  278. package/fesm2022/slotted-angular-action-bar.mjs.map +1 -1
  279. package/fesm2022/slotted-angular-action-sheet.mjs +48 -29
  280. package/fesm2022/slotted-angular-action-sheet.mjs.map +1 -1
  281. package/fesm2022/slotted-angular-alert.mjs +56 -18
  282. package/fesm2022/slotted-angular-alert.mjs.map +1 -1
  283. package/fesm2022/slotted-angular-app-shell.mjs +85 -56
  284. package/fesm2022/slotted-angular-app-shell.mjs.map +1 -1
  285. package/fesm2022/slotted-angular-aspect-ratio.mjs +4 -2
  286. package/fesm2022/slotted-angular-aspect-ratio.mjs.map +1 -1
  287. package/fesm2022/slotted-angular-attachment.mjs +33 -22
  288. package/fesm2022/slotted-angular-attachment.mjs.map +1 -1
  289. package/fesm2022/slotted-angular-avatar-group.mjs +13 -10
  290. package/fesm2022/slotted-angular-avatar-group.mjs.map +1 -1
  291. package/fesm2022/slotted-angular-avatar.mjs +17 -10
  292. package/fesm2022/slotted-angular-avatar.mjs.map +1 -1
  293. package/fesm2022/slotted-angular-badge.mjs +15 -11
  294. package/fesm2022/slotted-angular-badge.mjs.map +1 -1
  295. package/fesm2022/slotted-angular-breadcrumb.mjs +27 -19
  296. package/fesm2022/slotted-angular-breadcrumb.mjs.map +1 -1
  297. package/fesm2022/slotted-angular-button-group.mjs +8 -5
  298. package/fesm2022/slotted-angular-button-group.mjs.map +1 -1
  299. package/fesm2022/slotted-angular-button.mjs +163 -28
  300. package/fesm2022/slotted-angular-button.mjs.map +1 -1
  301. package/fesm2022/slotted-angular-calendar.mjs +263 -65
  302. package/fesm2022/slotted-angular-calendar.mjs.map +1 -1
  303. package/fesm2022/slotted-angular-card.mjs +19 -17
  304. package/fesm2022/slotted-angular-card.mjs.map +1 -1
  305. package/fesm2022/slotted-angular-carousel.mjs +22 -11
  306. package/fesm2022/slotted-angular-carousel.mjs.map +1 -1
  307. package/fesm2022/slotted-angular-cascader.mjs +179 -65
  308. package/fesm2022/slotted-angular-cascader.mjs.map +1 -1
  309. package/fesm2022/slotted-angular-chart.mjs +26 -5
  310. package/fesm2022/slotted-angular-chart.mjs.map +1 -1
  311. package/fesm2022/slotted-angular-checkbox-group.mjs +5 -3
  312. package/fesm2022/slotted-angular-checkbox-group.mjs.map +1 -1
  313. package/fesm2022/slotted-angular-checkbox.mjs +14 -9
  314. package/fesm2022/slotted-angular-checkbox.mjs.map +1 -1
  315. package/fesm2022/slotted-angular-code-block.mjs +30 -16
  316. package/fesm2022/slotted-angular-code-block.mjs.map +1 -1
  317. package/fesm2022/slotted-angular-collapsible.mjs +21 -16
  318. package/fesm2022/slotted-angular-collapsible.mjs.map +1 -1
  319. package/fesm2022/slotted-angular-color-picker.mjs +83 -28
  320. package/fesm2022/slotted-angular-color-picker.mjs.map +1 -1
  321. package/fesm2022/slotted-angular-column-manager.mjs +71 -32
  322. package/fesm2022/slotted-angular-column-manager.mjs.map +1 -1
  323. package/fesm2022/slotted-angular-combobox.mjs +108 -35
  324. package/fesm2022/slotted-angular-combobox.mjs.map +1 -1
  325. package/fesm2022/slotted-angular-command-palette.mjs +162 -54
  326. package/fesm2022/slotted-angular-command-palette.mjs.map +1 -1
  327. package/fesm2022/slotted-angular-container.mjs +6 -4
  328. package/fesm2022/slotted-angular-container.mjs.map +1 -1
  329. package/fesm2022/slotted-angular-context-menu.mjs +5 -4
  330. package/fesm2022/slotted-angular-context-menu.mjs.map +1 -1
  331. package/fesm2022/slotted-angular-currency-field.mjs +100 -34
  332. package/fesm2022/slotted-angular-currency-field.mjs.map +1 -1
  333. package/fesm2022/slotted-angular-dashboard-grid.mjs +384 -88
  334. package/fesm2022/slotted-angular-dashboard-grid.mjs.map +1 -1
  335. package/fesm2022/slotted-angular-data-grid.mjs +461 -129
  336. package/fesm2022/slotted-angular-data-grid.mjs.map +1 -1
  337. package/fesm2022/slotted-angular-data-list.mjs +83 -50
  338. package/fesm2022/slotted-angular-data-list.mjs.map +1 -1
  339. package/fesm2022/slotted-angular-date-field.mjs +78 -27
  340. package/fesm2022/slotted-angular-date-field.mjs.map +1 -1
  341. package/fesm2022/slotted-angular-date-picker.mjs +135 -40
  342. package/fesm2022/slotted-angular-date-picker.mjs.map +1 -1
  343. package/fesm2022/slotted-angular-date-range-picker.mjs +68 -22
  344. package/fesm2022/slotted-angular-date-range-picker.mjs.map +1 -1
  345. package/fesm2022/slotted-angular-datetime-field.mjs +49 -17
  346. package/fesm2022/slotted-angular-datetime-field.mjs.map +1 -1
  347. package/fesm2022/slotted-angular-datetime-picker.mjs +64 -29
  348. package/fesm2022/slotted-angular-datetime-picker.mjs.map +1 -1
  349. package/fesm2022/slotted-angular-datetime-range-picker.mjs +144 -54
  350. package/fesm2022/slotted-angular-datetime-range-picker.mjs.map +1 -1
  351. package/fesm2022/slotted-angular-description-list.mjs +47 -24
  352. package/fesm2022/slotted-angular-description-list.mjs.map +1 -1
  353. package/fesm2022/slotted-angular-detail-panel.mjs +48 -30
  354. package/fesm2022/slotted-angular-detail-panel.mjs.map +1 -1
  355. package/fesm2022/slotted-angular-dialog.mjs +81 -39
  356. package/fesm2022/slotted-angular-dialog.mjs.map +1 -1
  357. package/fesm2022/slotted-angular-divider.mjs +7 -5
  358. package/fesm2022/slotted-angular-divider.mjs.map +1 -1
  359. package/fesm2022/slotted-angular-drawer.mjs +236 -105
  360. package/fesm2022/slotted-angular-drawer.mjs.map +1 -1
  361. package/fesm2022/slotted-angular-entity-picker.mjs +474 -75
  362. package/fesm2022/slotted-angular-entity-picker.mjs.map +1 -1
  363. package/fesm2022/slotted-angular-event-calendar.mjs +262 -105
  364. package/fesm2022/slotted-angular-event-calendar.mjs.map +1 -1
  365. package/fesm2022/slotted-angular-field-group.mjs +30 -9
  366. package/fesm2022/slotted-angular-field-group.mjs.map +1 -1
  367. package/fesm2022/slotted-angular-field.mjs +49 -18
  368. package/fesm2022/slotted-angular-field.mjs.map +1 -1
  369. package/fesm2022/slotted-angular-filter-bar.mjs +111 -44
  370. package/fesm2022/slotted-angular-filter-bar.mjs.map +1 -1
  371. package/fesm2022/slotted-angular-form.mjs +48 -17
  372. package/fesm2022/slotted-angular-form.mjs.map +1 -1
  373. package/fesm2022/slotted-angular-fullscreen.mjs +14 -8
  374. package/fesm2022/slotted-angular-fullscreen.mjs.map +1 -1
  375. package/fesm2022/slotted-angular-grid.mjs +6 -4
  376. package/fesm2022/slotted-angular-grid.mjs.map +1 -1
  377. package/fesm2022/slotted-angular-highlight.mjs +6 -4
  378. package/fesm2022/slotted-angular-highlight.mjs.map +1 -1
  379. package/fesm2022/slotted-angular-hover-card.mjs +5 -4
  380. package/fesm2022/slotted-angular-hover-card.mjs.map +1 -1
  381. package/fesm2022/slotted-angular-icon.mjs +191 -90
  382. package/fesm2022/slotted-angular-icon.mjs.map +1 -1
  383. package/fesm2022/slotted-angular-image.mjs +13 -10
  384. package/fesm2022/slotted-angular-image.mjs.map +1 -1
  385. package/fesm2022/slotted-angular-import-export-center.mjs +185 -109
  386. package/fesm2022/slotted-angular-import-export-center.mjs.map +1 -1
  387. package/fesm2022/slotted-angular-inline-message.mjs +98 -23
  388. package/fesm2022/slotted-angular-inline-message.mjs.map +1 -1
  389. package/fesm2022/slotted-angular-inline.mjs +7 -5
  390. package/fesm2022/slotted-angular-inline.mjs.map +1 -1
  391. package/fesm2022/slotted-angular-kbd.mjs +11 -7
  392. package/fesm2022/slotted-angular-kbd.mjs.map +1 -1
  393. package/fesm2022/slotted-angular-link.mjs +13 -4
  394. package/fesm2022/slotted-angular-link.mjs.map +1 -1
  395. package/fesm2022/slotted-angular-list-item.mjs +63 -23
  396. package/fesm2022/slotted-angular-list-item.mjs.map +1 -1
  397. package/fesm2022/slotted-angular-list.mjs +15 -11
  398. package/fesm2022/slotted-angular-list.mjs.map +1 -1
  399. package/fesm2022/slotted-angular-listbox.mjs +41 -23
  400. package/fesm2022/slotted-angular-listbox.mjs.map +1 -1
  401. package/fesm2022/slotted-angular-loading-overlay.mjs +62 -25
  402. package/fesm2022/slotted-angular-loading-overlay.mjs.map +1 -1
  403. package/fesm2022/slotted-angular-markdown.mjs +57 -31
  404. package/fesm2022/slotted-angular-markdown.mjs.map +1 -1
  405. package/fesm2022/slotted-angular-media-viewer.mjs +962 -0
  406. package/fesm2022/slotted-angular-media-viewer.mjs.map +1 -0
  407. package/fesm2022/slotted-angular-menu.mjs +62 -39
  408. package/fesm2022/slotted-angular-menu.mjs.map +1 -1
  409. package/fesm2022/slotted-angular-menubar.mjs +6 -3
  410. package/fesm2022/slotted-angular-menubar.mjs.map +1 -1
  411. package/fesm2022/slotted-angular-message-scroller.mjs +35 -16
  412. package/fesm2022/slotted-angular-message-scroller.mjs.map +1 -1
  413. package/fesm2022/slotted-angular-message.mjs +119 -51
  414. package/fesm2022/slotted-angular-message.mjs.map +1 -1
  415. package/fesm2022/slotted-angular-multi-select.mjs +163 -60
  416. package/fesm2022/slotted-angular-multi-select.mjs.map +1 -1
  417. package/fesm2022/slotted-angular-navigation-menu.mjs +34 -26
  418. package/fesm2022/slotted-angular-navigation-menu.mjs.map +1 -1
  419. package/fesm2022/slotted-angular-notification-center.mjs +111 -68
  420. package/fesm2022/slotted-angular-notification-center.mjs.map +1 -1
  421. package/fesm2022/slotted-angular-number-field.mjs +24 -12
  422. package/fesm2022/slotted-angular-number-field.mjs.map +1 -1
  423. package/fesm2022/slotted-angular-otp-input.mjs +14 -9
  424. package/fesm2022/slotted-angular-otp-input.mjs.map +1 -1
  425. package/fesm2022/slotted-angular-page-header.mjs +90 -48
  426. package/fesm2022/slotted-angular-page-header.mjs.map +1 -1
  427. package/fesm2022/slotted-angular-page.mjs +60 -12
  428. package/fesm2022/slotted-angular-page.mjs.map +1 -1
  429. package/fesm2022/slotted-angular-pagination.mjs +35 -22
  430. package/fesm2022/slotted-angular-pagination.mjs.map +1 -1
  431. package/fesm2022/slotted-angular-popover.mjs +34 -21
  432. package/fesm2022/slotted-angular-popover.mjs.map +1 -1
  433. package/fesm2022/slotted-angular-progress-indicator.mjs +238 -54
  434. package/fesm2022/slotted-angular-progress-indicator.mjs.map +1 -1
  435. package/fesm2022/slotted-angular-prompt-composer.mjs +132 -22
  436. package/fesm2022/slotted-angular-prompt-composer.mjs.map +1 -1
  437. package/fesm2022/slotted-angular-prose.mjs +14 -11
  438. package/fesm2022/slotted-angular-prose.mjs.map +1 -1
  439. package/fesm2022/slotted-angular-radio-group.mjs +17 -11
  440. package/fesm2022/slotted-angular-radio-group.mjs.map +1 -1
  441. package/fesm2022/slotted-angular-rating.mjs +143 -87
  442. package/fesm2022/slotted-angular-rating.mjs.map +1 -1
  443. package/fesm2022/slotted-angular-result-state.mjs +16 -12
  444. package/fesm2022/slotted-angular-result-state.mjs.map +1 -1
  445. package/fesm2022/slotted-angular-saved-views.mjs +43 -16
  446. package/fesm2022/slotted-angular-saved-views.mjs.map +1 -1
  447. package/fesm2022/slotted-angular-scroll-area.mjs +13 -5
  448. package/fesm2022/slotted-angular-scroll-area.mjs.map +1 -1
  449. package/fesm2022/slotted-angular-section.mjs +81 -19
  450. package/fesm2022/slotted-angular-section.mjs.map +1 -1
  451. package/fesm2022/slotted-angular-segmented-control.mjs +16 -10
  452. package/fesm2022/slotted-angular-segmented-control.mjs.map +1 -1
  453. package/fesm2022/slotted-angular-select.mjs +189 -69
  454. package/fesm2022/slotted-angular-select.mjs.map +1 -1
  455. package/fesm2022/slotted-angular-side-navigation.mjs +46 -35
  456. package/fesm2022/slotted-angular-side-navigation.mjs.map +1 -1
  457. package/fesm2022/slotted-angular-skeleton.mjs +32 -16
  458. package/fesm2022/slotted-angular-skeleton.mjs.map +1 -1
  459. package/fesm2022/slotted-angular-slider.mjs +34 -14
  460. package/fesm2022/slotted-angular-slider.mjs.map +1 -1
  461. package/fesm2022/slotted-angular-sparkline.mjs +41 -14
  462. package/fesm2022/slotted-angular-sparkline.mjs.map +1 -1
  463. package/fesm2022/slotted-angular-split-button.mjs +37 -11
  464. package/fesm2022/slotted-angular-split-button.mjs.map +1 -1
  465. package/fesm2022/slotted-angular-splitter.mjs +11 -9
  466. package/fesm2022/slotted-angular-splitter.mjs.map +1 -1
  467. package/fesm2022/slotted-angular-stack.mjs +6 -4
  468. package/fesm2022/slotted-angular-stack.mjs.map +1 -1
  469. package/fesm2022/slotted-angular-stat-card.mjs +120 -41
  470. package/fesm2022/slotted-angular-stat-card.mjs.map +1 -1
  471. package/fesm2022/slotted-angular-status-indicator.mjs +51 -20
  472. package/fesm2022/slotted-angular-status-indicator.mjs.map +1 -1
  473. package/fesm2022/slotted-angular-stepper.mjs +40 -15
  474. package/fesm2022/slotted-angular-stepper.mjs.map +1 -1
  475. package/fesm2022/slotted-angular-switch.mjs +15 -10
  476. package/fesm2022/slotted-angular-switch.mjs.map +1 -1
  477. package/fesm2022/slotted-angular-table-of-contents.mjs +29 -21
  478. package/fesm2022/slotted-angular-table-of-contents.mjs.map +1 -1
  479. package/fesm2022/slotted-angular-table.mjs +162 -79
  480. package/fesm2022/slotted-angular-table.mjs.map +1 -1
  481. package/fesm2022/slotted-angular-tabs.mjs +42 -18
  482. package/fesm2022/slotted-angular-tabs.mjs.map +1 -1
  483. package/fesm2022/slotted-angular-tag.mjs +20 -13
  484. package/fesm2022/slotted-angular-tag.mjs.map +1 -1
  485. package/fesm2022/slotted-angular-tags-input.mjs +254 -29
  486. package/fesm2022/slotted-angular-tags-input.mjs.map +1 -1
  487. package/fesm2022/slotted-angular-text-field.mjs +55 -15
  488. package/fesm2022/slotted-angular-text-field.mjs.map +1 -1
  489. package/fesm2022/slotted-angular-textarea.mjs +5 -3
  490. package/fesm2022/slotted-angular-textarea.mjs.map +1 -1
  491. package/fesm2022/slotted-angular-theme.mjs +6 -3
  492. package/fesm2022/slotted-angular-theme.mjs.map +1 -1
  493. package/fesm2022/slotted-angular-time-field.mjs +48 -14
  494. package/fesm2022/slotted-angular-time-field.mjs.map +1 -1
  495. package/fesm2022/slotted-angular-time-picker.mjs +55 -20
  496. package/fesm2022/slotted-angular-time-picker.mjs.map +1 -1
  497. package/fesm2022/slotted-angular-time-range-picker.mjs +142 -52
  498. package/fesm2022/slotted-angular-time-range-picker.mjs.map +1 -1
  499. package/fesm2022/slotted-angular-timeline.mjs +147 -64
  500. package/fesm2022/slotted-angular-timeline.mjs.map +1 -1
  501. package/fesm2022/slotted-angular-toast.mjs +50 -38
  502. package/fesm2022/slotted-angular-toast.mjs.map +1 -1
  503. package/fesm2022/slotted-angular-toggle-group.mjs +10 -6
  504. package/fesm2022/slotted-angular-toggle-group.mjs.map +1 -1
  505. package/fesm2022/slotted-angular-toggle.mjs +9 -4
  506. package/fesm2022/slotted-angular-toggle.mjs.map +1 -1
  507. package/fesm2022/slotted-angular-toolbar.mjs +27 -12
  508. package/fesm2022/slotted-angular-toolbar.mjs.map +1 -1
  509. package/fesm2022/slotted-angular-tooltip.mjs +15 -6
  510. package/fesm2022/slotted-angular-tooltip.mjs.map +1 -1
  511. package/fesm2022/slotted-angular-top-navigation.mjs +64 -44
  512. package/fesm2022/slotted-angular-top-navigation.mjs.map +1 -1
  513. package/fesm2022/slotted-angular-tour.mjs +49 -24
  514. package/fesm2022/slotted-angular-tour.mjs.map +1 -1
  515. package/fesm2022/slotted-angular-transfer.mjs +69 -30
  516. package/fesm2022/slotted-angular-transfer.mjs.map +1 -1
  517. package/fesm2022/slotted-angular-tree.mjs +80 -26
  518. package/fesm2022/slotted-angular-tree.mjs.map +1 -1
  519. package/fesm2022/slotted-angular-typography.mjs +9 -5
  520. package/fesm2022/slotted-angular-typography.mjs.map +1 -1
  521. package/fesm2022/slotted-angular-upload.mjs +127 -59
  522. package/fesm2022/slotted-angular-upload.mjs.map +1 -1
  523. package/fesm2022/slotted-angular-visually-hidden.mjs +4 -2
  524. package/fesm2022/slotted-angular-visually-hidden.mjs.map +1 -1
  525. package/fesm2022/slotted-angular-wizard.mjs +169 -71
  526. package/fesm2022/slotted-angular-wizard.mjs.map +1 -1
  527. package/package.json +19 -3
  528. package/types/slotted-angular-accordion.d.ts.map +1 -1
  529. package/types/slotted-angular-action-bar.d.ts +2 -0
  530. package/types/slotted-angular-action-bar.d.ts.map +1 -1
  531. package/types/slotted-angular-action-sheet.d.ts.map +1 -1
  532. package/types/slotted-angular-alert.d.ts +17 -8
  533. package/types/slotted-angular-alert.d.ts.map +1 -1
  534. package/types/slotted-angular-app-shell.d.ts +10 -8
  535. package/types/slotted-angular-app-shell.d.ts.map +1 -1
  536. package/types/slotted-angular-aspect-ratio.d.ts.map +1 -1
  537. package/types/slotted-angular-attachment.d.ts +2 -1
  538. package/types/slotted-angular-attachment.d.ts.map +1 -1
  539. package/types/slotted-angular-avatar-group.d.ts +3 -3
  540. package/types/slotted-angular-avatar-group.d.ts.map +1 -1
  541. package/types/slotted-angular-avatar.d.ts +17 -9
  542. package/types/slotted-angular-avatar.d.ts.map +1 -1
  543. package/types/slotted-angular-badge.d.ts +4 -4
  544. package/types/slotted-angular-badge.d.ts.map +1 -1
  545. package/types/slotted-angular-breadcrumb.d.ts +1 -1
  546. package/types/slotted-angular-breadcrumb.d.ts.map +1 -1
  547. package/types/slotted-angular-button-group.d.ts +2 -2
  548. package/types/slotted-angular-button-group.d.ts.map +1 -1
  549. package/types/slotted-angular-button.d.ts +45 -12
  550. package/types/slotted-angular-button.d.ts.map +1 -1
  551. package/types/slotted-angular-calendar.d.ts +43 -2
  552. package/types/slotted-angular-calendar.d.ts.map +1 -1
  553. package/types/slotted-angular-card.d.ts +1 -1
  554. package/types/slotted-angular-card.d.ts.map +1 -1
  555. package/types/slotted-angular-carousel.d.ts.map +1 -1
  556. package/types/slotted-angular-cascader.d.ts.map +1 -1
  557. package/types/slotted-angular-chart.d.ts +14 -11
  558. package/types/slotted-angular-chart.d.ts.map +1 -1
  559. package/types/slotted-angular-checkbox-group.d.ts.map +1 -1
  560. package/types/slotted-angular-checkbox.d.ts +1 -1
  561. package/types/slotted-angular-checkbox.d.ts.map +1 -1
  562. package/types/slotted-angular-code-block.d.ts +3 -2
  563. package/types/slotted-angular-code-block.d.ts.map +1 -1
  564. package/types/slotted-angular-collapsible.d.ts +3 -2
  565. package/types/slotted-angular-collapsible.d.ts.map +1 -1
  566. package/types/slotted-angular-color-picker.d.ts +6 -6
  567. package/types/slotted-angular-color-picker.d.ts.map +1 -1
  568. package/types/slotted-angular-column-manager.d.ts +1 -1
  569. package/types/slotted-angular-column-manager.d.ts.map +1 -1
  570. package/types/slotted-angular-combobox.d.ts +6 -1
  571. package/types/slotted-angular-combobox.d.ts.map +1 -1
  572. package/types/slotted-angular-command-palette.d.ts +10 -1
  573. package/types/slotted-angular-command-palette.d.ts.map +1 -1
  574. package/types/slotted-angular-container.d.ts.map +1 -1
  575. package/types/slotted-angular-context-menu.d.ts.map +1 -1
  576. package/types/slotted-angular-currency-field.d.ts +40 -14
  577. package/types/slotted-angular-currency-field.d.ts.map +1 -1
  578. package/types/slotted-angular-dashboard-grid.d.ts +65 -7
  579. package/types/slotted-angular-dashboard-grid.d.ts.map +1 -1
  580. package/types/slotted-angular-data-grid.d.ts +63 -5
  581. package/types/slotted-angular-data-grid.d.ts.map +1 -1
  582. package/types/slotted-angular-data-list.d.ts.map +1 -1
  583. package/types/slotted-angular-date-field.d.ts +12 -1
  584. package/types/slotted-angular-date-field.d.ts.map +1 -1
  585. package/types/slotted-angular-date-picker.d.ts +39 -12
  586. package/types/slotted-angular-date-picker.d.ts.map +1 -1
  587. package/types/slotted-angular-date-range-picker.d.ts +1 -1
  588. package/types/slotted-angular-date-range-picker.d.ts.map +1 -1
  589. package/types/slotted-angular-datetime-field.d.ts.map +1 -1
  590. package/types/slotted-angular-datetime-picker.d.ts +1 -1
  591. package/types/slotted-angular-datetime-picker.d.ts.map +1 -1
  592. package/types/slotted-angular-datetime-range-picker.d.ts +2 -2
  593. package/types/slotted-angular-datetime-range-picker.d.ts.map +1 -1
  594. package/types/slotted-angular-description-list.d.ts +12 -4
  595. package/types/slotted-angular-description-list.d.ts.map +1 -1
  596. package/types/slotted-angular-detail-panel.d.ts.map +1 -1
  597. package/types/slotted-angular-dialog.d.ts +11 -3
  598. package/types/slotted-angular-dialog.d.ts.map +1 -1
  599. package/types/slotted-angular-divider.d.ts.map +1 -1
  600. package/types/slotted-angular-drawer.d.ts +29 -3
  601. package/types/slotted-angular-drawer.d.ts.map +1 -1
  602. package/types/slotted-angular-entity-picker.d.ts +63 -15
  603. package/types/slotted-angular-entity-picker.d.ts.map +1 -1
  604. package/types/slotted-angular-event-calendar.d.ts.map +1 -1
  605. package/types/slotted-angular-field-group.d.ts +10 -2
  606. package/types/slotted-angular-field-group.d.ts.map +1 -1
  607. package/types/slotted-angular-field.d.ts +12 -4
  608. package/types/slotted-angular-field.d.ts.map +1 -1
  609. package/types/slotted-angular-filter-bar.d.ts.map +1 -1
  610. package/types/slotted-angular-form.d.ts +11 -2
  611. package/types/slotted-angular-form.d.ts.map +1 -1
  612. package/types/slotted-angular-fullscreen.d.ts.map +1 -1
  613. package/types/slotted-angular-grid.d.ts.map +1 -1
  614. package/types/slotted-angular-highlight.d.ts +1 -1
  615. package/types/slotted-angular-highlight.d.ts.map +1 -1
  616. package/types/slotted-angular-hover-card.d.ts.map +1 -1
  617. package/types/slotted-angular-icon.d.ts +15 -5
  618. package/types/slotted-angular-icon.d.ts.map +1 -1
  619. package/types/slotted-angular-image.d.ts.map +1 -1
  620. package/types/slotted-angular-import-export-center.d.ts +9 -9
  621. package/types/slotted-angular-import-export-center.d.ts.map +1 -1
  622. package/types/slotted-angular-inline-message.d.ts +32 -31
  623. package/types/slotted-angular-inline-message.d.ts.map +1 -1
  624. package/types/slotted-angular-inline.d.ts +1 -1
  625. package/types/slotted-angular-inline.d.ts.map +1 -1
  626. package/types/slotted-angular-kbd.d.ts +1 -1
  627. package/types/slotted-angular-kbd.d.ts.map +1 -1
  628. package/types/slotted-angular-link.d.ts +8 -2
  629. package/types/slotted-angular-link.d.ts.map +1 -1
  630. package/types/slotted-angular-list-item.d.ts +5 -1
  631. package/types/slotted-angular-list-item.d.ts.map +1 -1
  632. package/types/slotted-angular-list.d.ts +1 -1
  633. package/types/slotted-angular-list.d.ts.map +1 -1
  634. package/types/slotted-angular-listbox.d.ts +2 -2
  635. package/types/slotted-angular-listbox.d.ts.map +1 -1
  636. package/types/slotted-angular-loading-overlay.d.ts +3 -3
  637. package/types/slotted-angular-loading-overlay.d.ts.map +1 -1
  638. package/types/slotted-angular-markdown.d.ts +6 -1
  639. package/types/slotted-angular-markdown.d.ts.map +1 -1
  640. package/types/slotted-angular-media-viewer.d.ts +140 -0
  641. package/types/slotted-angular-media-viewer.d.ts.map +1 -0
  642. package/types/slotted-angular-menu.d.ts +17 -3
  643. package/types/slotted-angular-menu.d.ts.map +1 -1
  644. package/types/slotted-angular-menubar.d.ts +5 -4
  645. package/types/slotted-angular-menubar.d.ts.map +1 -1
  646. package/types/slotted-angular-message-scroller.d.ts +1 -1
  647. package/types/slotted-angular-message-scroller.d.ts.map +1 -1
  648. package/types/slotted-angular-message.d.ts +1 -1
  649. package/types/slotted-angular-message.d.ts.map +1 -1
  650. package/types/slotted-angular-multi-select.d.ts +6 -1
  651. package/types/slotted-angular-multi-select.d.ts.map +1 -1
  652. package/types/slotted-angular-navigation-menu.d.ts.map +1 -1
  653. package/types/slotted-angular-notification-center.d.ts +5 -5
  654. package/types/slotted-angular-notification-center.d.ts.map +1 -1
  655. package/types/slotted-angular-number-field.d.ts.map +1 -1
  656. package/types/slotted-angular-otp-input.d.ts +1 -1
  657. package/types/slotted-angular-otp-input.d.ts.map +1 -1
  658. package/types/slotted-angular-page-header.d.ts +15 -6
  659. package/types/slotted-angular-page-header.d.ts.map +1 -1
  660. package/types/slotted-angular-page.d.ts +7 -1
  661. package/types/slotted-angular-page.d.ts.map +1 -1
  662. package/types/slotted-angular-pagination.d.ts.map +1 -1
  663. package/types/slotted-angular-popover.d.ts.map +1 -1
  664. package/types/slotted-angular-progress-indicator.d.ts +10 -3
  665. package/types/slotted-angular-progress-indicator.d.ts.map +1 -1
  666. package/types/slotted-angular-prompt-composer.d.ts +35 -3
  667. package/types/slotted-angular-prompt-composer.d.ts.map +1 -1
  668. package/types/slotted-angular-prose.d.ts.map +1 -1
  669. package/types/slotted-angular-radio-group.d.ts +2 -2
  670. package/types/slotted-angular-radio-group.d.ts.map +1 -1
  671. package/types/slotted-angular-rating.d.ts +3 -3
  672. package/types/slotted-angular-rating.d.ts.map +1 -1
  673. package/types/slotted-angular-result-state.d.ts +1 -1
  674. package/types/slotted-angular-result-state.d.ts.map +1 -1
  675. package/types/slotted-angular-saved-views.d.ts.map +1 -1
  676. package/types/slotted-angular-scroll-area.d.ts.map +1 -1
  677. package/types/slotted-angular-section.d.ts +14 -4
  678. package/types/slotted-angular-section.d.ts.map +1 -1
  679. package/types/slotted-angular-segmented-control.d.ts +2 -2
  680. package/types/slotted-angular-segmented-control.d.ts.map +1 -1
  681. package/types/slotted-angular-select.d.ts +13 -2
  682. package/types/slotted-angular-select.d.ts.map +1 -1
  683. package/types/slotted-angular-side-navigation.d.ts.map +1 -1
  684. package/types/slotted-angular-skeleton.d.ts.map +1 -1
  685. package/types/slotted-angular-slider.d.ts.map +1 -1
  686. package/types/slotted-angular-sparkline.d.ts +7 -1
  687. package/types/slotted-angular-sparkline.d.ts.map +1 -1
  688. package/types/slotted-angular-split-button.d.ts +2 -2
  689. package/types/slotted-angular-split-button.d.ts.map +1 -1
  690. package/types/slotted-angular-splitter.d.ts.map +1 -1
  691. package/types/slotted-angular-stack.d.ts.map +1 -1
  692. package/types/slotted-angular-stat-card.d.ts +31 -7
  693. package/types/slotted-angular-stat-card.d.ts.map +1 -1
  694. package/types/slotted-angular-status-indicator.d.ts +15 -5
  695. package/types/slotted-angular-status-indicator.d.ts.map +1 -1
  696. package/types/slotted-angular-stepper.d.ts +2 -1
  697. package/types/slotted-angular-stepper.d.ts.map +1 -1
  698. package/types/slotted-angular-switch.d.ts +1 -1
  699. package/types/slotted-angular-switch.d.ts.map +1 -1
  700. package/types/slotted-angular-table-of-contents.d.ts.map +1 -1
  701. package/types/slotted-angular-table.d.ts +21 -4
  702. package/types/slotted-angular-table.d.ts.map +1 -1
  703. package/types/slotted-angular-tabs.d.ts +4 -5
  704. package/types/slotted-angular-tabs.d.ts.map +1 -1
  705. package/types/slotted-angular-tag.d.ts +5 -5
  706. package/types/slotted-angular-tag.d.ts.map +1 -1
  707. package/types/slotted-angular-tags-input.d.ts +34 -2
  708. package/types/slotted-angular-tags-input.d.ts.map +1 -1
  709. package/types/slotted-angular-text-field.d.ts.map +1 -1
  710. package/types/slotted-angular-textarea.d.ts.map +1 -1
  711. package/types/slotted-angular-theme.d.ts +8 -6
  712. package/types/slotted-angular-theme.d.ts.map +1 -1
  713. package/types/slotted-angular-time-field.d.ts.map +1 -1
  714. package/types/slotted-angular-time-picker.d.ts +1 -1
  715. package/types/slotted-angular-time-picker.d.ts.map +1 -1
  716. package/types/slotted-angular-time-range-picker.d.ts +2 -2
  717. package/types/slotted-angular-time-range-picker.d.ts.map +1 -1
  718. package/types/slotted-angular-timeline.d.ts +1 -1
  719. package/types/slotted-angular-timeline.d.ts.map +1 -1
  720. package/types/slotted-angular-toast.d.ts +9 -7
  721. package/types/slotted-angular-toast.d.ts.map +1 -1
  722. package/types/slotted-angular-toggle-group.d.ts +1 -1
  723. package/types/slotted-angular-toggle-group.d.ts.map +1 -1
  724. package/types/slotted-angular-toggle.d.ts +1 -1
  725. package/types/slotted-angular-toggle.d.ts.map +1 -1
  726. package/types/slotted-angular-toolbar.d.ts +2 -0
  727. package/types/slotted-angular-toolbar.d.ts.map +1 -1
  728. package/types/slotted-angular-tooltip.d.ts.map +1 -1
  729. package/types/slotted-angular-top-navigation.d.ts.map +1 -1
  730. package/types/slotted-angular-tour.d.ts +2 -2
  731. package/types/slotted-angular-tour.d.ts.map +1 -1
  732. package/types/slotted-angular-transfer.d.ts.map +1 -1
  733. package/types/slotted-angular-tree.d.ts.map +1 -1
  734. package/types/slotted-angular-typography.d.ts +1 -1
  735. package/types/slotted-angular-typography.d.ts.map +1 -1
  736. package/types/slotted-angular-upload.d.ts +4 -2
  737. package/types/slotted-angular-upload.d.ts.map +1 -1
  738. package/types/slotted-angular-visually-hidden.d.ts.map +1 -1
  739. package/types/slotted-angular-wizard.d.ts +1 -1
  740. package/types/slotted-angular-wizard.d.ts.map +1 -1
@@ -176,8 +176,8 @@
176
176
  "docs": {
177
177
  "entity-picker": {
178
178
  "imports": {
179
- "source": "import { SlEntityPicker, SlEntityPickerChip, SlEntityPickerOption, provideEntityPickerDefaults } from '@slotted/angular/entity-picker';",
180
- "selector": "sl-entity-picker, ng-template[slEntityPickerOption], ng-template[slEntityPickerChip]",
179
+ "source": "import { SlEntityPicker, SlEntityPickerChip, SlEntityPickerOption, SlEntityPickerOptionDescription, SlEntityPickerOptionLabel, SlEntityPickerOptionMedia, SlEntityPickerOptionMeta, provideEntityPickerDefaults } from '@slotted/angular/entity-picker';",
180
+ "selector": "sl-entity-picker, ng-template[slEntityPickerOption], ng-template[slEntityPickerChip], [slEntityPickerOptionLabel], [slEntityPickerOptionDescription], [slEntityPickerOptionMeta], [slEntityPickerOptionMedia]",
181
181
  "exportAs": "slEntityPicker"
182
182
  },
183
183
  "anatomy": [
@@ -610,12 +610,26 @@
610
610
  "appliesTo": "sl-entity-picker",
611
611
  "description": "The name when no field labels it"
612
612
  },
613
+ {
614
+ "name": "virtualize",
615
+ "type": "boolean",
616
+ "defaultValue": "above 100 options without headings",
617
+ "appliesTo": "sl-entity-picker",
618
+ "description": "Draws only the options in view and a few either side; the keyboard, aria-activedescendant and scrolling to the highlight reach every option. A list with section headings is drawn whole"
619
+ },
620
+ {
621
+ "name": "estimatedRowHeight",
622
+ "type": "number",
623
+ "defaultValue": "48",
624
+ "appliesTo": "sl-entity-picker",
625
+ "description": "The height an option is counted at until it has been drawn and measured"
626
+ },
613
627
  {
614
628
  "name": "slEntityPickerOption",
615
629
  "type": "ng-template, context { $implicit, query, selected, current, disabled }",
616
630
  "defaultValue": "—",
617
631
  "appliesTo": "option content",
618
- "description": "The content of an option"
632
+ "description": "The content of an option, written with slEntityPickerOptionLabel, slEntityPickerOptionDescription, slEntityPickerOptionMeta and slEntityPickerOptionMedia, which place it in the row. With media=\"none\" an option draws its own face in slEntityPickerOptionMedia"
619
633
  },
620
634
  {
621
635
  "name": "slEntityPickerChip",
@@ -687,6 +701,7 @@
687
701
  "--slotted-border-width-thin",
688
702
  "--slotted-control-border-color",
689
703
  "--slotted-control-border-width",
704
+ "--slotted-control-focus-ring-offset",
690
705
  "--slotted-control-font-family",
691
706
  "--slotted-control-font-size-lg",
692
707
  "--slotted-control-font-size-md",
@@ -729,6 +744,7 @@
729
744
  "--slotted-entity-picker-background",
730
745
  "--slotted-entity-picker-border-color",
731
746
  "--slotted-entity-picker-color",
747
+ "--slotted-entity-picker-content-backdrop-filter",
732
748
  "--slotted-entity-picker-content-border-color",
733
749
  "--slotted-entity-picker-content-radius",
734
750
  "--slotted-entity-picker-content-shadow",
@@ -740,6 +756,7 @@
740
756
  "--slotted-entity-picker-error-color",
741
757
  "--slotted-entity-picker-field-basis",
742
758
  "--slotted-entity-picker-field-min",
759
+ "--slotted-entity-picker-group-label-height",
743
760
  "--slotted-entity-picker-highlight",
744
761
  "--slotted-entity-picker-highlight-active",
745
762
  "--slotted-entity-picker-highlight-ring",
@@ -774,6 +791,7 @@
774
791
  "--slotted-font-weight-semibold",
775
792
  "--slotted-line-height-md",
776
793
  "--slotted-line-height-sm",
794
+ "--slotted-overlay-max-block-size",
777
795
  "--slotted-radius-lg",
778
796
  "--slotted-radius-none",
779
797
  "--slotted-shadow-md",
@@ -939,7 +957,7 @@
939
957
  "title": "Composition",
940
958
  "note": "An option template adds the team after the address; a chip template adds the role; provideSlotted says every sentence in Portuguese once.",
941
959
  "language": "html",
942
- "source": "<sl-entity-picker aria-label=\"Reviewers\" selectionMode=\"multiple\" [source]=\"directory\">\n <ng-template slEntityPickerOption let-person>\n <span data-part=\"label\">{{ person.label }}</span>\n <span data-part=\"description\">{{ person.description }} · Northwind</span>\n </ng-template>\n <ng-template slEntityPickerChip let-person>{{ person.label }} · {{ person.meta }}</ng-template>\n</sl-entity-picker>\n",
960
+ "source": "<sl-entity-picker aria-label=\"Reviewers\" selectionMode=\"multiple\" [source]=\"directory\">\n <ng-template slEntityPickerOption let-person>\n <span slEntityPickerOptionLabel>{{ person.label }}</span>\n <span slEntityPickerOptionDescription>{{ person.description }} · Northwind</span>\n </ng-template>\n <ng-template slEntityPickerChip let-person>{{ person.label }} · {{ person.meta }}</ng-template>\n</sl-entity-picker>\n",
943
961
  "verdict": "excerpt"
944
962
  }
945
963
  ]
@@ -6,10 +6,10 @@
6
6
  ## Import
7
7
 
8
8
  ```ts
9
- import { SlEntityPicker, SlEntityPickerChip, SlEntityPickerOption, provideEntityPickerDefaults } from '@slotted/angular/entity-picker';
9
+ import { SlEntityPicker, SlEntityPickerChip, SlEntityPickerOption, SlEntityPickerOptionDescription, SlEntityPickerOptionLabel, SlEntityPickerOptionMedia, SlEntityPickerOptionMeta, provideEntityPickerDefaults } from '@slotted/angular/entity-picker';
10
10
  ```
11
11
 
12
- Selector: `sl-entity-picker, ng-template[slEntityPickerOption], ng-template[slEntityPickerChip]` · exportAs: `slEntityPicker`
12
+ Selector: `sl-entity-picker, ng-template[slEntityPickerOption], ng-template[slEntityPickerChip], [slEntityPickerOptionLabel], [slEntityPickerOptionDescription], [slEntityPickerOptionMeta], [slEntityPickerOptionMedia]` · exportAs: `slEntityPicker`
13
13
 
14
14
  ## Minimal example
15
15
 
@@ -98,7 +98,9 @@ Excerpt — not a complete module
98
98
  | `locale` | `string` | — | sl-entity-picker | BCP 47. The language in force when absent |
99
99
  | `messages` | `Partial<EntityPickerMessages>` | — | sl-entity-picker | Words laid over the language in force, key by key; {count}, {query}, {label}, {id} and {max} are slots |
100
100
  | `aria-label` | `string` | — | sl-entity-picker | The name when no field labels it |
101
- | `slEntityPickerOption` | `ng-template, context { $implicit, query, selected, current, disabled }` | — | option content | The content of an option |
101
+ | `virtualize` | `boolean` | above 100 options without headings | sl-entity-picker | Draws only the options in view and a few either side; the keyboard, aria-activedescendant and scrolling to the highlight reach every option. A list with section headings is drawn whole |
102
+ | `estimatedRowHeight` | `number` | 48 | sl-entity-picker | The height an option is counted at until it has been drawn and measured |
103
+ | `slEntityPickerOption` | `ng-template, context { $implicit, query, selected, current, disabled }` | — | option content | The content of an option, written with slEntityPickerOptionLabel, slEntityPickerOptionDescription, slEntityPickerOptionMeta and slEntityPickerOptionMedia, which place it in the row. With media="none" an option draws its own face in slEntityPickerOptionMedia |
102
104
  | `slEntityPickerChip` | `ng-template, context { $implicit }` | — | chip words | The words of a chip |
103
105
  | `provideEntityPickerDefaults` | `(defaults) => Provider` | — | an injector | The decisions an application takes once |
104
106
 
@@ -147,7 +149,7 @@ Excerpt — not a complete module
147
149
 
148
150
  ## Tokens
149
151
 
150
- `--slotted-avatar-size-md`, `--slotted-avatar-size-sm`, `--slotted-avatar-size-xs`, `--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-border-color`, `--slotted-control-border-width`, `--slotted-control-font-family`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-gap-lg`, `--slotted-control-gap-md`, `--slotted-control-gap-sm`, `--slotted-control-height-lg`, `--slotted-control-height-md`, `--slotted-control-height-sm`, `--slotted-control-icon-size-lg`, `--slotted-control-icon-size-md`, `--slotted-control-icon-size-sm`, `--slotted-control-inner-size-lg`, `--slotted-control-inner-size-md`, `--slotted-control-inner-size-sm`, `--slotted-control-invalid-edge-width`, `--slotted-control-padding-inline-lg`, `--slotted-control-padding-inline-md`, `--slotted-control-padding-inline-sm`, `--slotted-control-radius`, `--slotted-control-shadow`, `--slotted-control-shadow-focus-geometry`, `--slotted-control-surface`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-background`, `--slotted-disabled-border`, `--slotted-disabled-foreground`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-easing-standard`, `--slotted-entity-picker-action-active-background`, `--slotted-entity-picker-action-color`, `--slotted-entity-picker-action-hover-background`, `--slotted-entity-picker-action-size`, `--slotted-entity-picker-autofill-background`, `--slotted-entity-picker-background`, `--slotted-entity-picker-border-color`, `--slotted-entity-picker-color`, `--slotted-entity-picker-content-border-color`, `--slotted-entity-picker-content-radius`, `--slotted-entity-picker-content-shadow`, `--slotted-entity-picker-content-text`, `--slotted-entity-picker-content-text-muted`, `--slotted-entity-picker-disabled-background`, `--slotted-entity-picker-disabled-border-color`, `--slotted-entity-picker-disabled-color`, `--slotted-entity-picker-error-color`, `--slotted-entity-picker-field-basis`, `--slotted-entity-picker-field-min`, `--slotted-entity-picker-highlight`, `--slotted-entity-picker-highlight-active`, `--slotted-entity-picker-highlight-ring`, `--slotted-entity-picker-hover-border-color`, `--slotted-entity-picker-icon-size-min`, `--slotted-entity-picker-invalid-border-color`, `--slotted-entity-picker-invalid-edge-width`, `--slotted-entity-picker-invalid-focus-ring-color`, `--slotted-entity-picker-item-radius`, `--slotted-entity-picker-measure`, `--slotted-entity-picker-meta-measure`, `--slotted-entity-picker-offer-color`, `--slotted-entity-picker-open-border-color`, `--slotted-entity-picker-placeholder-color`, `--slotted-entity-picker-plain-hover-background`, `--slotted-entity-picker-radius`, `--slotted-entity-picker-readonly-background`, `--slotted-entity-picker-scope-inline-size`, `--slotted-entity-picker-selected-color`, `--slotted-entity-picker-shadow`, `--slotted-entity-picker-subtle-background`, `--slotted-entity-picker-subtle-border-color`, `--slotted-entity-picker-subtle-hover-background`, `--slotted-entity-picker-surface`, `--slotted-focus-ring-color`, `--slotted-focus-ring-color-invalid`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-family-sans`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-semibold`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-radius-lg`, `--slotted-radius-none`, `--slotted-shadow-md`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-surface-raised`, `--slotted-surface-sunken`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-border`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-danger-border`, `--slotted-tone-danger-text`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-z-index-popover`
152
+ `--slotted-avatar-size-md`, `--slotted-avatar-size-sm`, `--slotted-avatar-size-xs`, `--slotted-border-subtle`, `--slotted-border-width-thin`, `--slotted-control-border-color`, `--slotted-control-border-width`, `--slotted-control-focus-ring-offset`, `--slotted-control-font-family`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-gap-lg`, `--slotted-control-gap-md`, `--slotted-control-gap-sm`, `--slotted-control-height-lg`, `--slotted-control-height-md`, `--slotted-control-height-sm`, `--slotted-control-icon-size-lg`, `--slotted-control-icon-size-md`, `--slotted-control-icon-size-sm`, `--slotted-control-inner-size-lg`, `--slotted-control-inner-size-md`, `--slotted-control-inner-size-sm`, `--slotted-control-invalid-edge-width`, `--slotted-control-padding-inline-lg`, `--slotted-control-padding-inline-md`, `--slotted-control-padding-inline-sm`, `--slotted-control-radius`, `--slotted-control-shadow`, `--slotted-control-shadow-focus-geometry`, `--slotted-control-surface`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-background`, `--slotted-disabled-border`, `--slotted-disabled-foreground`, `--slotted-duration-medium`, `--slotted-duration-short`, `--slotted-easing-enter`, `--slotted-easing-exit`, `--slotted-easing-standard`, `--slotted-entity-picker-action-active-background`, `--slotted-entity-picker-action-color`, `--slotted-entity-picker-action-hover-background`, `--slotted-entity-picker-action-size`, `--slotted-entity-picker-autofill-background`, `--slotted-entity-picker-background`, `--slotted-entity-picker-border-color`, `--slotted-entity-picker-color`, `--slotted-entity-picker-content-backdrop-filter`, `--slotted-entity-picker-content-border-color`, `--slotted-entity-picker-content-radius`, `--slotted-entity-picker-content-shadow`, `--slotted-entity-picker-content-text`, `--slotted-entity-picker-content-text-muted`, `--slotted-entity-picker-disabled-background`, `--slotted-entity-picker-disabled-border-color`, `--slotted-entity-picker-disabled-color`, `--slotted-entity-picker-error-color`, `--slotted-entity-picker-field-basis`, `--slotted-entity-picker-field-min`, `--slotted-entity-picker-group-label-height`, `--slotted-entity-picker-highlight`, `--slotted-entity-picker-highlight-active`, `--slotted-entity-picker-highlight-ring`, `--slotted-entity-picker-hover-border-color`, `--slotted-entity-picker-icon-size-min`, `--slotted-entity-picker-invalid-border-color`, `--slotted-entity-picker-invalid-edge-width`, `--slotted-entity-picker-invalid-focus-ring-color`, `--slotted-entity-picker-item-radius`, `--slotted-entity-picker-measure`, `--slotted-entity-picker-meta-measure`, `--slotted-entity-picker-offer-color`, `--slotted-entity-picker-open-border-color`, `--slotted-entity-picker-placeholder-color`, `--slotted-entity-picker-plain-hover-background`, `--slotted-entity-picker-radius`, `--slotted-entity-picker-readonly-background`, `--slotted-entity-picker-scope-inline-size`, `--slotted-entity-picker-selected-color`, `--slotted-entity-picker-shadow`, `--slotted-entity-picker-subtle-background`, `--slotted-entity-picker-subtle-border-color`, `--slotted-entity-picker-subtle-hover-background`, `--slotted-entity-picker-surface`, `--slotted-focus-ring-color`, `--slotted-focus-ring-color-invalid`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-family-sans`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-semibold`, `--slotted-line-height-md`, `--slotted-line-height-sm`, `--slotted-overlay-max-block-size`, `--slotted-radius-lg`, `--slotted-radius-none`, `--slotted-shadow-md`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-4`, `--slotted-space-5`, `--slotted-surface-raised`, `--slotted-surface-sunken`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-border`, `--slotted-tone-accent-surface`, `--slotted-tone-accent-text`, `--slotted-tone-danger-border`, `--slotted-tone-danger-text`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`, `--slotted-z-index-popover`
151
153
 
152
154
  ## Examples
153
155
 
@@ -357,8 +359,8 @@ Excerpt — not a complete module
357
359
  ```html
358
360
  <sl-entity-picker aria-label="Reviewers" selectionMode="multiple" [source]="directory">
359
361
  <ng-template slEntityPickerOption let-person>
360
- <span data-part="label">{{ person.label }}</span>
361
- <span data-part="description">{{ person.description }} · Northwind</span>
362
+ <span slEntityPickerOptionLabel>{{ person.label }}</span>
363
+ <span slEntityPickerOptionDescription>{{ person.description }} · Northwind</span>
362
364
  </ng-template>
363
365
  <ng-template slEntityPickerChip let-person>{{ person.label }} · {{ person.meta }}</ng-template>
364
366
  </sl-entity-picker>
@@ -101,9 +101,9 @@ Excerpt — not a complete module
101
101
  <div slEventCalendar [events]="shifts" [timeZone]="zone" defaultView="day"></div>
102
102
  ```
103
103
 
104
- ### Calendars and their colours
104
+ ### Calendars and their colors
105
105
 
106
- Each calendar takes a slot of the data palette in order and never cycles. The filter is a menu of checkboxes; a predicate composes a search on top. Colour is identity only: the calendar is also in every event’s name.
106
+ Each calendar takes a slot of the data palette in order and never cycles. The filter is a menu of checkboxes; a predicate composes a search on top. Color is identity only: the calendar is also in every event’s name.
107
107
 
108
108
  Excerpt — not a complete module
109
109
 
@@ -250,7 +250,7 @@ Excerpt — not a complete module
250
250
 
251
251
  ### On a phone
252
252
 
253
- Below 600 pixels the month and the week draw as a list of the same days and the view does not change. With compact="keep" the grid stays: events become marks of colour, the day is the target, and each keeps its name. At that width the “+N” panel and the detail are sheets from the bottom edge rather than popovers.
253
+ Below 600 pixels the month and the week draw as a list of the same days and the view does not change. With compact="keep" the grid stays: events become marks of color, the day is the target, and each keeps its name. At that width the “+N” panel and the detail are sheets from the bottom edge rather than popovers.
254
254
 
255
255
  Excerpt — not a complete module
256
256
 
@@ -543,7 +543,7 @@
543
543
  "type": "readonly EventCalendarCalendar[]",
544
544
  "defaultValue": "[]",
545
545
  "appliesTo": "slEventCalendar",
546
- "description": "Key, label and an optional colour slot 1–8"
546
+ "description": "Key, label and an optional color slot 1–8"
547
547
  },
548
548
  {
549
549
  "name": "date",
@@ -908,7 +908,7 @@
908
908
  ],
909
909
  "accessibility": [
910
910
  "No Authoring Practices pattern covers a calendar of events. The month and the week are the layout grid of the Grid pattern with the day as its cell: one cell holds the tab stop, arrows move the day, Enter goes into the day’s widgets and Escape or F2 comes back out.",
911
- "Every event is named by its own content and a visually hidden continuation: the whole range, the calendar, the status and whether it repeats. Position and colour state nothing the words do not; a multi-day bar is heard as continuing on each day it crosses.",
911
+ "Every event is named by its own content and a visually hidden continuation: the whole range, the calendar, the status and whether it repeats. Position and color state nothing the words do not; a multi-day bar is heard as continuing on each day it crosses.",
912
912
  "The title is a heading and a polite live region, so paging by key announces the new period; a chosen stretch is announced once through the shared live announcer, and a wait once when its indicator appears.",
913
913
  "The title and the list days are role=\"heading\" with aria-level from the level input, because an Angular template cannot choose an element’s tag at run time; the React binding writes h2 to h6. Both expose the same heading to a screen reader.",
914
914
  "Every move a pointer makes has a key: with an editable event focused, Alt and the arrows move it a slot or a day, and Alt with Shift moves its end. The request is announced once with the title and the new range, and focus stays on the event where it lands. A destination canDrop refuses is passed over for the next allowed one; with none in reach the event stays and the refusal is announced.",
@@ -1087,8 +1087,8 @@
1087
1087
  },
1088
1088
  {
1089
1089
  "id": "calendars",
1090
- "title": "Calendars and their colours",
1091
- "note": "Each calendar takes a slot of the data palette in order and never cycles. The filter is a menu of checkboxes; a predicate composes a search on top. Colour is identity only: the calendar is also in every event’s name.",
1090
+ "title": "Calendars and their colors",
1091
+ "note": "Each calendar takes a slot of the data palette in order and never cycles. The filter is a menu of checkboxes; a predicate composes a search on top. Color is identity only: the calendar is also in every event’s name.",
1092
1092
  "language": "html",
1093
1093
  "source": "<div\n slEventCalendar\n [calendars]=\"calendars\"\n [events]=\"events\"\n [(visibleCalendars)]=\"visible\"\n [filter]=\"matches\"\n>\n <div slTextField slEventCalendarActions size=\"sm\">\n <input slTextFieldInput type=\"search\" aria-label=\"Search events\" (input)=\"search($event)\" />\n </div>\n</div>\n",
1094
1094
  "verdict": "excerpt"
@@ -1168,7 +1168,7 @@
1168
1168
  {
1169
1169
  "id": "compact",
1170
1170
  "title": "On a phone",
1171
- "note": "Below 600 pixels the month and the week draw as a list of the same days and the view does not change. With compact=\"keep\" the grid stays: events become marks of colour, the day is the target, and each keeps its name. At that width the “+N” panel and the detail are sheets from the bottom edge rather than popovers.",
1171
+ "note": "Below 600 pixels the month and the week draw as a list of the same days and the view does not change. With compact=\"keep\" the grid stays: events become marks of color, the day is the target, and each keeps its name. At that width the “+N” panel and the detail are sheets from the bottom edge rather than popovers.",
1172
1172
  "language": "html",
1173
1173
  "source": "<div slEventCalendar [events]=\"events\" compact=\"keep\"></div>\n",
1174
1174
  "verdict": "excerpt"
@@ -109,7 +109,7 @@ Excerpt — not a complete module
109
109
  | Name | Type | Default | Applies to | Description |
110
110
  | --- | --- | --- | --- | --- |
111
111
  | `events` | `readonly CalendarEvent[]` | [] | slEventCalendar | The consumer’s events; a start without a time is all-day |
112
- | `calendars` | `readonly EventCalendarCalendar[]` | [] | slEventCalendar | Key, label and an optional colour slot 1–8 |
112
+ | `calendars` | `readonly EventCalendarCalendar[]` | [] | slEventCalendar | Key, label and an optional color slot 1–8 |
113
113
  | `date` | `model<PlainDate \| undefined>` | — | slEventCalendar | The day the calendar is on; [(date)] two-way |
114
114
  | `defaultDate` | `PlainDate` | today in timeZone | slEventCalendar | Read once; pass it when rendering on a server |
115
115
  | `now` | `PlainDateTime` | the clock in timeZone, ticked each minute | slEventCalendar | Present means the consumer owns it: the clock is no longer read, and today and the now line follow it. A page dated by its content passes it. |
@@ -178,15 +178,15 @@ Excerpt — not a complete module
178
178
  | `listRange` | `week`, `month` | `week` |
179
179
  | `compact` | `list`, `keep` | `list` |
180
180
  | `selectionMode` | `none`, `range` | `none` |
181
- | `weekNumbers` | `off`, `on` | `false` |
182
- | `fixedWeeks` | `off`, `on` | `false` |
181
+ | `weekNumbers` | `off`, `on` | false |
182
+ | `fixedWeeks` | `off`, `on` | false |
183
183
  | `status` | `confirmed`, `tentative`, `cancelled` | — |
184
184
  | `color` | `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8` | — |
185
185
 
186
186
  ## Rules
187
187
 
188
188
  - No Authoring Practices pattern covers a calendar of events. The month and the week are the layout grid of the Grid pattern with the day as its cell: one cell holds the tab stop, arrows move the day, Enter goes into the day’s widgets and Escape or F2 comes back out.
189
- - Every event is named by its own content and a visually hidden continuation: the whole range, the calendar, the status and whether it repeats. Position and colour state nothing the words do not; a multi-day bar is heard as continuing on each day it crosses.
189
+ - Every event is named by its own content and a visually hidden continuation: the whole range, the calendar, the status and whether it repeats. Position and color state nothing the words do not; a multi-day bar is heard as continuing on each day it crosses.
190
190
  - The title is a heading and a polite live region, so paging by key announces the new period; a chosen stretch is announced once through the shared live announcer, and a wait once when its indicator appears.
191
191
  - The title and the list days are role="heading" with aria-level from the level input, because an Angular template cannot choose an element’s tag at run time; the React binding writes h2 to h6. Both expose the same heading to a screen reader.
192
192
  - Every move a pointer makes has a key: with an editable event focused, Alt and the arrows move it a slot or a day, and Alt with Shift moves its end. The request is announced once with the title and the new range, and focus stays on the event where it lands. A destination canDrop refuses is passed over for the next allowed one; with none in reach the event stays and the refusal is announced.
@@ -7,6 +7,10 @@
7
7
  "summary": "Fieldset that groups related fields."
8
8
  },
9
9
  "axes": {
10
+ "kind": [
11
+ "question",
12
+ "section"
13
+ ],
10
14
  "size": [
11
15
  "sm",
12
16
  "md",
@@ -27,6 +31,7 @@
27
31
  "fieldGroup": {
28
32
  "nativeElement": "fieldset",
29
33
  "defaults": {
34
+ "kind": "question",
30
35
  "size": "md",
31
36
  "orientation": "vertical",
32
37
  "necessity": "mark"
@@ -112,6 +117,13 @@
112
117
  "appliesTo": "slFieldGroup",
113
118
  "description": "How the set’s necessity is said on its legend — an asterisk, (optional) on an optional set only, both words, or nothing — and the style provided to every field inside"
114
119
  },
120
+ {
121
+ "name": "kind",
122
+ "type": "'question' | 'section'",
123
+ "defaultValue": "question",
124
+ "appliesTo": "slFieldGroup",
125
+ "description": "A section names a topic rather than asking something, so its legend draws no necessity, its fields keep the style the application set, and its first field stands --slotted-field-group-section-content-gap (1.25rem) below the legend; a question's choices stand --slotted-field-group-content-gap (the field row gap) below it"
126
+ },
115
127
  {
116
128
  "name": "messages",
117
129
  "type": "Partial<FieldMessages>",
@@ -249,7 +261,9 @@
249
261
  "--slotted-field-group-mark-gap",
250
262
  "--slotted-field-group-mark-text-color",
251
263
  "--slotted-field-group-message-gap",
264
+ "--slotted-field-group-section-content-gap",
252
265
  "--slotted-field-group-track-min",
266
+ "--slotted-field-row-gap",
253
267
  "--slotted-font-family-heading",
254
268
  "--slotted-font-family-sans",
255
269
  "--slotted-font-size-xs",
@@ -258,6 +272,7 @@
258
272
  "--slotted-font-weight-semibold",
259
273
  "--slotted-line-height-sm",
260
274
  "--slotted-space-2",
275
+ "--slotted-space-3",
261
276
  "--slotted-space-6",
262
277
  "--slotted-space-7",
263
278
  "--slotted-text",
@@ -270,7 +285,7 @@
270
285
  "title": "Playground",
271
286
  "note": "A group with its legend, its help and two fields, driven by the controls below the canvas. Switch orientation to horizontal and narrow the window to see the row wrap rather than squeeze.",
272
287
  "language": "html",
273
- "source": "<fieldset slFieldGroup>\n <legend slFieldGroupLegend>Endereço de cobrança</legend>\n <span slFieldGroupDescription>Precisamos dele para emitir a nota fiscal.</span>\n <div slField>\n <label slFieldLabel>Logradouro</label>\n <input slFieldControl />\n </div>\n</fieldset>\n",
288
+ "source": "<fieldset slFieldGroup>\n <legend slFieldGroupLegend>Billing address</legend>\n <span slFieldGroupDescription>We need it to issue the invoice.</span>\n <div slField>\n <label slFieldLabel>Street</label>\n <input slFieldControl />\n </div>\n</fieldset>\n",
274
289
  "verdict": "excerpt"
275
290
  },
276
291
  {
@@ -278,7 +293,7 @@
278
293
  "title": "A column of fields, or a row",
279
294
  "note": "A row wraps rather than squeezing: each field keeps enough width to hold a date or a document number, and drops to the next line instead of clipping what is being typed into it.",
280
295
  "language": "html",
281
- "source": "<fieldset slFieldGroup orientation=\"horizontal\">\n <legend slFieldGroupLegend>Vigência do contrato</legend>\n <div slField>…</div>\n <div slField>…</div>\n</fieldset>\n",
296
+ "source": "<fieldset slFieldGroup orientation=\"horizontal\">\n <legend slFieldGroupLegend>Contract term</legend>\n <div slField>…</div>\n <div slField>…</div>\n</fieldset>\n",
282
297
  "verdict": "excerpt"
283
298
  },
284
299
  {
@@ -286,7 +301,7 @@
286
301
  "title": "Disabled by the platform, invalid by the group",
287
302
  "note": "Nothing is passed down for disabled: the browser disables every control inside a disabled fieldset. What the family adds is the muting of the words — a legend is not a control, and a section that turned off while keeping its name at full strength reads as available.",
288
303
  "language": "html",
289
- "source": "<fieldset slFieldGroup disabled>\n <legend slFieldGroupLegend>Repasse automático</legend>\n <div slField>…</div>\n</fieldset>\n",
304
+ "source": "<fieldset slFieldGroup disabled>\n <legend slFieldGroupLegend>Automatic payout</legend>\n <div slField>…</div>\n</fieldset>\n",
290
305
  "verdict": "excerpt"
291
306
  },
292
307
  {
@@ -294,7 +309,7 @@
294
309
  "title": "What is said about the set, before the set",
295
310
  "note": "The description and the error come between the legend and the fields — where GOV.UK’s fieldset example puts them, and the opposite of where a single field puts its own. Both ids go on the fieldset, so a reader entering any control hears them once.",
296
311
  "language": "html",
297
- "source": "<fieldset slFieldGroup invalid required>\n <legend slFieldGroupLegend>Nacionalidade</legend>\n <span slFieldGroupDescription>Marque todas as que se aplicam.</span>\n <span slFieldGroupError>Escolha ao menos uma nacionalidade.</span>\n <label for=\"nat-br\"><input id=\"nat-br\" type=\"checkbox\" /> Brasileira</label>\n</fieldset>\n",
312
+ "source": "<fieldset slFieldGroup invalid required>\n <legend slFieldGroupLegend>Nationality</legend>\n <span slFieldGroupDescription>Check all that apply.</span>\n <span slFieldGroupError>Choose at least one nationality.</span>\n <label for=\"nat-us\"><input id=\"nat-us\" type=\"checkbox\" /> American</label>\n</fieldset>\n",
298
313
  "verdict": "excerpt"
299
314
  },
300
315
  {
@@ -310,7 +325,7 @@
310
325
  "title": "A legend that is also the page heading",
311
326
  "note": "GOV.UK recommends it on a page asking one question, so a reader hears the question once rather than twice. The heading keeps its own type and loses only the block break that would drop the necessity words onto a line of their own.",
312
327
  "language": "html",
313
- "source": "<fieldset slFieldGroup required necessity=\"words\">\n <legend slFieldGroupLegend><h1>Qual é a sua nacionalidade?</h1></legend>\n</fieldset>\n",
328
+ "source": "<fieldset slFieldGroup required necessity=\"words\">\n <legend slFieldGroupLegend><h1>What is your nationality?</h1></legend>\n</fieldset>\n",
314
329
  "verdict": "excerpt"
315
330
  },
316
331
  {
@@ -318,7 +333,7 @@
318
333
  "title": "Composition and escape hatches",
319
334
  "note": "A group inside a group inherits what the outer one decided and restates the rest; exportAs hands the template the identifiers the group derived, and the content slot holds anything — checkboxes written directly, not one field each.",
320
335
  "language": "html",
321
- "source": "<fieldset slFieldGroup size=\"sm\">\n <fieldset slFieldGroup necessity=\"none\" orientation=\"horizontal\">\n <legend slFieldGroupLegend>Vigência</legend>\n <div slField>…</div>\n </fieldset>\n</fieldset>\n",
336
+ "source": "<fieldset slFieldGroup size=\"sm\">\n <fieldset slFieldGroup necessity=\"none\" orientation=\"horizontal\">\n <legend slFieldGroupLegend>Term</legend>\n <div slField>…</div>\n </fieldset>\n</fieldset>\n",
322
337
  "verdict": "excerpt"
323
338
  },
324
339
  {
@@ -22,10 +22,10 @@ Excerpt — not a complete module
22
22
 
23
23
  ```html
24
24
  <fieldset slFieldGroup>
25
- <legend slFieldGroupLegend>Endereço de cobrança</legend>
26
- <span slFieldGroupDescription>Precisamos dele para emitir a nota fiscal.</span>
25
+ <legend slFieldGroupLegend>Billing address</legend>
26
+ <span slFieldGroupDescription>We need it to issue the invoice.</span>
27
27
  <div slField>
28
- <label slFieldLabel>Logradouro</label>
28
+ <label slFieldLabel>Street</label>
29
29
  <input slFieldControl />
30
30
  </div>
31
31
  </fieldset>
@@ -47,6 +47,7 @@ Excerpt — not a complete module
47
47
  | `size` | `'sm' \| 'md' \| 'lg'` | md | slFieldGroup | The type step of the legend, and the step provided to every field inside. The legend reads the control type scale one step above the labels under it, so a group in a dense table shrinks with them |
48
48
  | `orientation` | `'vertical' \| 'horizontal'` | vertical | slFieldGroup | How the fields inside flow. A row wraps rather than squeezing, so a field keeps enough width to hold what is being typed into it |
49
49
  | `necessity` | `'mark' \| 'optional' \| 'words' \| 'none'` | mark | slFieldGroup | How the set’s necessity is said on its legend — an asterisk, (optional) on an optional set only, both words, or nothing — and the style provided to every field inside |
50
+ | `kind` | `'question' \| 'section'` | question | slFieldGroup | A section names a topic rather than asking something, so its legend draws no necessity, its fields keep the style the application set, and its first field stands --slotted-field-group-section-content-gap (1.25rem) below the legend; a question's choices stand --slotted-field-group-content-gap (the field row gap) below it |
50
51
  | `messages` | `Partial<FieldMessages>` | — | slFieldGroup | Words laid over the language in force for the legend’s necessity word (optional, required); a field inside states its own |
51
52
  | `labelPlacement` | `'top' \| 'side'` | from the field token | slFieldGroup | Provided to every field inside. The group has no label of its own, so this is the one input it carries only to pass on |
52
53
  | `required` | `boolean` | — | slFieldGroup | Draws the necessity marker on the legend. It is deliberately not provided to the fields: required is a fact about one value, and a section cannot know it |
@@ -67,6 +68,7 @@ Excerpt — not a complete module
67
68
 
68
69
  | Axis | Values | Default |
69
70
  | --- | --- | --- |
71
+ | `kind` | `question`, `section` | `question` |
70
72
  | `size` | `sm`, `md`, `lg` | `md` |
71
73
  | `orientation` | `vertical`, `horizontal` | `vertical` |
72
74
  | `necessity` | `mark`, `optional`, `words`, `none` | `mark` |
@@ -82,7 +84,7 @@ Excerpt — not a complete module
82
84
 
83
85
  ## Tokens
84
86
 
85
- `--slotted-control-font-family`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-foreground`, `--slotted-field-group-content-gap`, `--slotted-field-group-field-gap`, `--slotted-field-group-font-family`, `--slotted-field-group-legend-color`, `--slotted-field-group-legend-font-weight`, `--slotted-field-group-line-height`, `--slotted-field-group-mark-color`, `--slotted-field-group-mark-gap`, `--slotted-field-group-mark-text-color`, `--slotted-field-group-message-gap`, `--slotted-field-group-track-min`, `--slotted-font-family-heading`, `--slotted-font-family-sans`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-regular`, `--slotted-font-weight-semibold`, `--slotted-line-height-sm`, `--slotted-space-2`, `--slotted-space-6`, `--slotted-space-7`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-danger-text`
87
+ `--slotted-control-font-family`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-foreground`, `--slotted-field-group-content-gap`, `--slotted-field-group-field-gap`, `--slotted-field-group-font-family`, `--slotted-field-group-legend-color`, `--slotted-field-group-legend-font-weight`, `--slotted-field-group-line-height`, `--slotted-field-group-mark-color`, `--slotted-field-group-mark-gap`, `--slotted-field-group-mark-text-color`, `--slotted-field-group-message-gap`, `--slotted-field-group-section-content-gap`, `--slotted-field-group-track-min`, `--slotted-field-row-gap`, `--slotted-font-family-heading`, `--slotted-font-family-sans`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-regular`, `--slotted-font-weight-semibold`, `--slotted-line-height-sm`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-6`, `--slotted-space-7`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-danger-text`
86
88
 
87
89
  ## Examples
88
90
 
@@ -94,7 +96,7 @@ Excerpt — not a complete module
94
96
 
95
97
  ```html
96
98
  <fieldset slFieldGroup orientation="horizontal">
97
- <legend slFieldGroupLegend>Vigência do contrato</legend>
99
+ <legend slFieldGroupLegend>Contract term</legend>
98
100
  <div slField>…</div>
99
101
  <div slField>…</div>
100
102
  </fieldset>
@@ -108,7 +110,7 @@ Excerpt — not a complete module
108
110
 
109
111
  ```html
110
112
  <fieldset slFieldGroup disabled>
111
- <legend slFieldGroupLegend>Repasse automático</legend>
113
+ <legend slFieldGroupLegend>Automatic payout</legend>
112
114
  <div slField>…</div>
113
115
  </fieldset>
114
116
  ```
@@ -121,10 +123,10 @@ Excerpt — not a complete module
121
123
 
122
124
  ```html
123
125
  <fieldset slFieldGroup invalid required>
124
- <legend slFieldGroupLegend>Nacionalidade</legend>
125
- <span slFieldGroupDescription>Marque todas as que se aplicam.</span>
126
- <span slFieldGroupError>Escolha ao menos uma nacionalidade.</span>
127
- <label for="nat-br"><input id="nat-br" type="checkbox" /> Brasileira</label>
126
+ <legend slFieldGroupLegend>Nationality</legend>
127
+ <span slFieldGroupDescription>Check all that apply.</span>
128
+ <span slFieldGroupError>Choose at least one nationality.</span>
129
+ <label for="nat-us"><input id="nat-us" type="checkbox" /> American</label>
128
130
  </fieldset>
129
131
  ```
130
132
 
@@ -149,7 +151,7 @@ Excerpt — not a complete module
149
151
 
150
152
  ```html
151
153
  <fieldset slFieldGroup required necessity="words">
152
- <legend slFieldGroupLegend><h1>Qual é a sua nacionalidade?</h1></legend>
154
+ <legend slFieldGroupLegend><h1>What is your nationality?</h1></legend>
153
155
  </fieldset>
154
156
  ```
155
157
 
@@ -162,7 +164,7 @@ Excerpt — not a complete module
162
164
  ```html
163
165
  <fieldset slFieldGroup size="sm">
164
166
  <fieldset slFieldGroup necessity="none" orientation="horizontal">
165
- <legend slFieldGroupLegend>Vigência</legend>
167
+ <legend slFieldGroupLegend>Term</legend>
166
168
  <div slField>…</div>
167
169
  </fieldset>
168
170
  </fieldset>
@@ -129,7 +129,7 @@ export class FieldSizes {}
129
129
 
130
130
  ### The four states a field can be in
131
131
 
132
- The label never turns red when the field is invalid: the error already says so in words and in colour, and a red marker on a red label is a marker nobody can see. Read-only stays legible and focusable; disabled is muted to a measured colour rather than faded.
132
+ The label never turns red when the field is invalid: the error already says so in words and in color, and a red marker on a red label is a marker nobody can see. Read-only stays legible and focusable; disabled is muted to a measured color rather than faded.
133
133
 
134
134
  Example
135
135
 
@@ -482,7 +482,7 @@ import { SlField, SlFieldControl, SlFieldDescription, SlFieldLabel } from '@slot
482
482
  imports: [SlField, SlFieldControl, SlFieldDescription, SlFieldLabel],
483
483
  template: `
484
484
  <div slField>
485
- <label slFieldLabel>Brand colour</label>
485
+ <label slFieldLabel>Brand color</label>
486
486
  <input slFieldControl type="color" value="#2f6fde" />
487
487
  <span slFieldDescription>Used on invoices and in the customer portal.</span>
488
488
  </div>
@@ -550,7 +550,7 @@ import { SlTextField, SlTextFieldInput } from '@slotted/angular/text-field';
550
550
  <div slStack [gap]="5">
551
551
  <div slField required>
552
552
  <div slFieldHeader>
553
- <label slFieldLabel>Cost centre</label>
553
+ <label slFieldLabel>Cost center</label>
554
554
  <button
555
555
  slFieldHelp="The four-digit code finance assigns to your team. It appears on every invoice line."
556
556
  ></button>
package/docs/field.json CHANGED
@@ -21,6 +21,11 @@
21
21
  "optional",
22
22
  "words",
23
23
  "none"
24
+ ],
25
+ "width": [
26
+ "full",
27
+ "medium",
28
+ "short"
24
29
  ]
25
30
  },
26
31
  "members": {
@@ -29,7 +34,8 @@
29
34
  "defaults": {
30
35
  "size": "md",
31
36
  "labelPlacement": "top",
32
- "necessity": "mark"
37
+ "necessity": "mark",
38
+ "width": "full"
33
39
  },
34
40
  "capabilities": [
35
41
  "appearance",
@@ -152,6 +158,13 @@
152
158
  "appliesTo": "slField",
153
159
  "description": "How necessity is written: an asterisk on a required field, (optional) on a field a reader may skip, both words, or nothing, for a form that says once that every field is required."
154
160
  },
161
+ {
162
+ "name": "width",
163
+ "type": "'short' | 'medium' | 'full'",
164
+ "defaultValue": "full",
165
+ "appliesTo": "slField",
166
+ "description": "The longest the control stands, as a cue to the length of its answer: short (--slotted-field-width-short, 6rem) for an integer of up to four digits, medium (--slotted-field-width-medium, 15rem) for an amount, a code or a short word, full for free text, a name or a picker of records. The control still shrinks below the bound in a narrower field."
167
+ },
155
168
  {
156
169
  "name": "messages",
157
170
  "type": "Partial<FieldMessages>",
@@ -171,7 +184,7 @@
171
184
  "type": "boolean",
172
185
  "defaultValue": "—",
173
186
  "appliesTo": "slField, slFieldCounter",
174
- "description": "On slField: unset rather than false; writes aria-invalid on the control and data-invalid on the field, and leaves the label’s colour unchanged. On slFieldCounter: the count has passed its limit, which can happen before validation runs, so it is the counter’s own state and defaults to false."
187
+ "description": "On slField: unset rather than false; writes aria-invalid on the control and data-invalid on the field, and leaves the label’s color unchanged. On slFieldCounter: the count has passed its limit, which can happen before validation runs, so it is the counter’s own state and defaults to false."
175
188
  },
176
189
  {
177
190
  "name": "disabled",
@@ -359,6 +372,8 @@
359
372
  "--slotted-field-mark-gap",
360
373
  "--slotted-field-mark-text-color",
361
374
  "--slotted-field-row-gap",
375
+ "--slotted-field-width-medium",
376
+ "--slotted-field-width-short",
362
377
  "--slotted-focus-ring-color",
363
378
  "--slotted-focus-ring-offset",
364
379
  "--slotted-focus-ring-width",
@@ -415,7 +430,7 @@
415
430
  {
416
431
  "id": "states",
417
432
  "title": "The four states a field can be in",
418
- "note": "The label never turns red when the field is invalid: the error already says so in words and in colour, and a red marker on a red label is a marker nobody can see. Read-only stays legible and focusable; disabled is muted to a measured colour rather than faded.",
433
+ "note": "The label never turns red when the field is invalid: the error already says so in words and in color, and a red marker on a red label is a marker nobody can see. Read-only stays legible and focusable; disabled is muted to a measured color rather than faded.",
419
434
  "language": "ts",
420
435
  "source": "import { Component } from '@angular/core';\nimport { SlField, SlFieldDescription, SlFieldError, SlFieldLabel } from '@slotted/angular/field';\nimport { SlStack } from '@slotted/angular/stack';\nimport { SlTextField, SlTextFieldInput } from '@slotted/angular/text-field';\n\n@Component({\n selector: 'app-field-states',\n imports: [\n SlField,\n SlFieldDescription,\n SlFieldError,\n SlFieldLabel,\n SlStack,\n SlTextField,\n SlTextFieldInput,\n ],\n template: `\n <div slStack [gap]=\"5\">\n <div slField invalid required>\n <label slFieldLabel>Card number</label>\n <div slTextField>\n <input slTextFieldInput inputmode=\"numeric\" defaultValue=\"4242 4242 42\" />\n </div>\n <span slFieldError>Six digits are missing.</span>\n </div>\n <div slField readOnly>\n <label slFieldLabel>Account ID</label>\n <div slTextField><input slTextFieldInput defaultValue=\"acct_9f2c41\" /></div>\n <span slFieldDescription>Quote this ID when you contact support.</span>\n </div>\n <div slField disabled>\n <label slFieldLabel>Workspace URL</label>\n <div slTextField><input slTextFieldInput defaultValue=\"northwind.slotted.app\" /></div>\n <span slFieldDescription>Only the workspace owner can change the URL.</span>\n </div>\n </div>\n `,\n})\nexport class FieldStates {}\n",
421
436
  "verdict": "example"
@@ -489,7 +504,7 @@
489
504
  "title": "custom-control.ts",
490
505
  "note": null,
491
506
  "language": "ts",
492
- "source": "import { Component } from '@angular/core';\nimport { SlField, SlFieldControl, SlFieldDescription, SlFieldLabel } from '@slotted/angular/field';\n\n@Component({\n selector: 'app-field-custom-control',\n imports: [SlField, SlFieldControl, SlFieldDescription, SlFieldLabel],\n template: `\n <div slField>\n <label slFieldLabel>Brand colour</label>\n <input slFieldControl type=\"color\" value=\"#2f6fde\" />\n <span slFieldDescription>Used on invoices and in the customer portal.</span>\n </div>\n `,\n})\nexport class FieldCustomControl {}\n",
507
+ "source": "import { Component } from '@angular/core';\nimport { SlField, SlFieldControl, SlFieldDescription, SlFieldLabel } from '@slotted/angular/field';\n\n@Component({\n selector: 'app-field-custom-control',\n imports: [SlField, SlFieldControl, SlFieldDescription, SlFieldLabel],\n template: `\n <div slField>\n <label slFieldLabel>Brand color</label>\n <input slFieldControl type=\"color\" value=\"#2f6fde\" />\n <span slFieldDescription>Used on invoices and in the customer portal.</span>\n </div>\n `,\n})\nexport class FieldCustomControl {}\n",
493
508
  "verdict": "example"
494
509
  },
495
510
  {
@@ -505,7 +520,7 @@
505
520
  "title": "help.ts",
506
521
  "note": null,
507
522
  "language": "ts",
508
- "source": "import { Component } from '@angular/core';\nimport { SlField, SlFieldHeader, SlFieldHelp, SlFieldLabel } from '@slotted/angular/field';\nimport { SlStack } from '@slotted/angular/stack';\nimport { SlTextField, SlTextFieldInput } from '@slotted/angular/text-field';\n\n@Component({\n selector: 'app-field-help',\n imports: [\n SlField,\n SlFieldHeader,\n SlFieldHelp,\n SlFieldLabel,\n SlStack,\n SlTextField,\n SlTextFieldInput,\n ],\n template: `\n <div slStack [gap]=\"5\">\n <div slField required>\n <div slFieldHeader>\n <label slFieldLabel>Cost centre</label>\n <button\n slFieldHelp=\"The four-digit code finance assigns to your team. It appears on every invoice line.\"\n ></button>\n </div>\n <div slTextField><input slTextFieldInput inputmode=\"numeric\" defaultValue=\"4120\" /></div>\n </div>\n <div slField disabled>\n <div slFieldHeader>\n <label slFieldLabel>Billing currency</label>\n <button\n slFieldHelp=\"Set when the workspace was created. Contact support to change it.\"\n ></button>\n </div>\n <div slTextField><input slTextFieldInput defaultValue=\"USD — US dollar\" /></div>\n </div>\n </div>\n `,\n})\nexport class FieldHelp {}\n",
523
+ "source": "import { Component } from '@angular/core';\nimport { SlField, SlFieldHeader, SlFieldHelp, SlFieldLabel } from '@slotted/angular/field';\nimport { SlStack } from '@slotted/angular/stack';\nimport { SlTextField, SlTextFieldInput } from '@slotted/angular/text-field';\n\n@Component({\n selector: 'app-field-help',\n imports: [\n SlField,\n SlFieldHeader,\n SlFieldHelp,\n SlFieldLabel,\n SlStack,\n SlTextField,\n SlTextFieldInput,\n ],\n template: `\n <div slStack [gap]=\"5\">\n <div slField required>\n <div slFieldHeader>\n <label slFieldLabel>Cost center</label>\n <button\n slFieldHelp=\"The four-digit code finance assigns to your team. It appears on every invoice line.\"\n ></button>\n </div>\n <div slTextField><input slTextFieldInput inputmode=\"numeric\" defaultValue=\"4120\" /></div>\n </div>\n <div slField disabled>\n <div slFieldHeader>\n <label slFieldLabel>Billing currency</label>\n <button\n slFieldHelp=\"Set when the workspace was created. Contact support to change it.\"\n ></button>\n </div>\n <div slTextField><input slTextFieldInput defaultValue=\"USD — US dollar\" /></div>\n </div>\n </div>\n `,\n})\nexport class FieldHelp {}\n",
509
524
  "verdict": "example"
510
525
  },
511
526
  {
package/docs/field.md CHANGED
@@ -69,9 +69,10 @@ export class FieldBasic {}
69
69
  | `size` | `'sm' \| 'md' \| 'lg'` | md | slField | The type step, matching the control the field wraps. The label, the messages and the counter read the control type scale, which the theme restates per density. |
70
70
  | `labelPlacement` | `'top' \| 'side'` | top | slField | Where the label sits. side reflows to top when the field’s own inline size is below 320 pixels; the query is a container query, not a viewport query. |
71
71
  | `necessity` | `'mark' \| 'optional' \| 'words' \| 'none'` | mark | slField | How necessity is written: an asterisk on a required field, (optional) on a field a reader may skip, both words, or nothing, for a form that says once that every field is required. |
72
+ | `width` | `'short' \| 'medium' \| 'full'` | full | slField | The longest the control stands, as a cue to the length of its answer: short (--slotted-field-width-short, 6rem) for an integer of up to four digits, medium (--slotted-field-width-medium, 15rem) for an amount, a code or a short word, full for free text, a name or a picker of records. The control still shrinks below the bound in a narrower field. |
72
73
  | `messages` | `Partial<FieldMessages>` | — | slField | Words that replace the active language’s, key by key: the necessity words (optional, required) and the help button’s name (help). |
73
74
  | `required` | `boolean` | — | slField | Unset rather than false. Reaches the control as aria-required, never as the native required, which would turn on browser constraint validation and change how the form submits. |
74
- | `invalid` | `boolean` | — | slField, slFieldCounter | On slField: unset rather than false; writes aria-invalid on the control and data-invalid on the field, and leaves the label’s colour unchanged. On slFieldCounter: the count has passed its limit, which can happen before validation runs, so it is the counter’s own state and defaults to false. |
75
+ | `invalid` | `boolean` | — | slField, slFieldCounter | On slField: unset rather than false; writes aria-invalid on the control and data-invalid on the field, and leaves the label’s color unchanged. On slFieldCounter: the count has passed its limit, which can happen before validation runs, so it is the counter’s own state and defaults to false. |
75
76
  | `disabled` | `boolean` | from the group, then the token | slField, provideFieldDefaults | Unset rather than false, so a field follows the slFieldGroup around it. A stated value wins, and it reaches the control as the native attribute. |
76
77
  | `readOnly` | `boolean` | from the group, then the token | slField, provideFieldDefaults | Unset rather than false. Reaches the control as the native readonly, which keeps the value focusable and copyable. |
77
78
  | `id` | `string` | generated | slField | A static attribute, read with HostAttributeToken, that is the base of <id>-control, <id>-label, <id>-indicator, <id>-help, <id>-description, <id>-counter and <id>-error. When unset, an application-scoped factory generates it, so two applications in one server process do not collide. |
@@ -104,6 +105,7 @@ export class FieldBasic {}
104
105
  | `size` | `sm`, `md`, `lg` | `md` |
105
106
  | `labelPlacement` | `top`, `side` | `top` |
106
107
  | `necessity` | `mark`, `optional`, `words`, `none` | `mark` |
108
+ | `width` | `full`, `medium`, `short` | `full` |
107
109
 
108
110
  ## Rules
109
111
 
@@ -120,7 +122,7 @@ export class FieldBasic {}
120
122
 
121
123
  ## Tokens
122
124
 
123
- `--slotted-control-font-family`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-height-lg`, `--slotted-control-height-md`, `--slotted-control-height-sm`, `--slotted-control-icon-size-md`, `--slotted-control-icon-size-sm`, `--slotted-control-inner-size-md`, `--slotted-control-inner-size-sm`, `--slotted-control-radius`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-foreground`, `--slotted-field-action-color`, `--slotted-field-action-color-active`, `--slotted-field-action-color-hover`, `--slotted-field-action-radius`, `--slotted-field-column-gap`, `--slotted-field-counter-color`, `--slotted-field-counter-invalid-color`, `--slotted-field-font-family`, `--slotted-field-header-gap`, `--slotted-field-help-color`, `--slotted-field-help-radius`, `--slotted-field-help-surface-active`, `--slotted-field-help-surface-hover`, `--slotted-field-icon-size-min`, `--slotted-field-label-color`, `--slotted-field-label-font-weight`, `--slotted-field-label-inline-size`, `--slotted-field-line-height`, `--slotted-field-mark-color`, `--slotted-field-mark-gap`, `--slotted-field-mark-text-color`, `--slotted-field-row-gap`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-regular`, `--slotted-line-height-sm`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-5`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-text`, `--slotted-tone-danger-text`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`
125
+ `--slotted-control-font-family`, `--slotted-control-font-size-lg`, `--slotted-control-font-size-md`, `--slotted-control-font-size-sm`, `--slotted-control-height-lg`, `--slotted-control-height-md`, `--slotted-control-height-sm`, `--slotted-control-icon-size-md`, `--slotted-control-icon-size-sm`, `--slotted-control-inner-size-md`, `--slotted-control-inner-size-sm`, `--slotted-control-radius`, `--slotted-control-transition-duration`, `--slotted-control-transition-easing`, `--slotted-disabled-foreground`, `--slotted-field-action-color`, `--slotted-field-action-color-active`, `--slotted-field-action-color-hover`, `--slotted-field-action-radius`, `--slotted-field-column-gap`, `--slotted-field-counter-color`, `--slotted-field-counter-invalid-color`, `--slotted-field-font-family`, `--slotted-field-header-gap`, `--slotted-field-help-color`, `--slotted-field-help-radius`, `--slotted-field-help-surface-active`, `--slotted-field-help-surface-hover`, `--slotted-field-icon-size-min`, `--slotted-field-label-color`, `--slotted-field-label-font-weight`, `--slotted-field-label-inline-size`, `--slotted-field-line-height`, `--slotted-field-mark-color`, `--slotted-field-mark-gap`, `--slotted-field-mark-text-color`, `--slotted-field-row-gap`, `--slotted-field-width-medium`, `--slotted-field-width-short`, `--slotted-focus-ring-color`, `--slotted-focus-ring-offset`, `--slotted-focus-ring-width`, `--slotted-font-size-xs`, `--slotted-font-weight-medium`, `--slotted-font-weight-regular`, `--slotted-line-height-sm`, `--slotted-space-1`, `--slotted-space-2`, `--slotted-space-3`, `--slotted-space-5`, `--slotted-target-comfortable`, `--slotted-target-min`, `--slotted-text`, `--slotted-text-muted`, `--slotted-tone-accent-text`, `--slotted-tone-danger-text`, `--slotted-tone-secondary-subtle-active`, `--slotted-tone-secondary-subtle-hover`
124
126
 
125
127
  ## Examples
126
128