@aceshooting/lyra-ui 32.0.0 → 32.1.0

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 (419) hide show
  1. package/CHANGELOG.md +203 -0
  2. package/README.md +24 -6
  3. package/design-tokens.json +1 -1
  4. package/dist/all.d.ts +1 -1
  5. package/dist/all.js +1 -1
  6. package/dist/autoloader.d.ts +10 -0
  7. package/dist/autoloader.js +1 -1
  8. package/dist/cli/migrate-wa.mjs +45 -37
  9. package/dist/cli/migration-contract.json.gz +0 -0
  10. package/dist/components/agent-tools/budget-meter/budget-meter.class.d.ts +1 -0
  11. package/dist/components/agent-tools/budget-meter/budget-meter.styles.js +1 -1
  12. package/dist/components/charts/chart/box-plot.class.d.ts +3 -0
  13. package/dist/components/charts/chart/chart-band.js +1 -1
  14. package/dist/components/charts/chart/chart-input-projection.js +1 -1
  15. package/dist/components/charts/chart/chart-surface.styles.js +1 -1
  16. package/dist/components/charts/chart/chart-types.d.ts +16 -2
  17. package/dist/components/charts/chart/chart.class.d.ts +4 -1
  18. package/dist/components/charts/chart/chart.class.js +3 -3
  19. package/dist/components/charts/chart/lite-chart.class.d.ts +3 -0
  20. package/dist/components/charts/chart/lite-chart.styles.js +1 -1
  21. package/dist/components/conversation/code-block/code-block-base.class.d.ts +29 -3
  22. package/dist/components/conversation/code-block/code-block-base.class.js +1 -1
  23. package/dist/components/conversation/code-block/code-block-core.class.d.ts +46 -2
  24. package/dist/components/conversation/code-block/code-block-core.class.js +1 -1
  25. package/dist/components/conversation/code-block/code-block-shared.d.ts +6 -2
  26. package/dist/components/conversation/code-block/code-block-shared.js +5 -4
  27. package/dist/components/conversation/code-block/code-block.class.d.ts +45 -1
  28. package/dist/components/conversation/code-block/code-block.class.js +1 -1
  29. package/dist/components/conversation/code-block/code-block.styles.js +1 -1
  30. package/dist/components/conversation/markdown/markdown-core.class.d.ts +12 -0
  31. package/dist/components/conversation/markdown/markdown.class.d.ts +12 -0
  32. package/dist/components/conversation/markdown/markdown.styles.js +1 -1
  33. package/dist/components/conversation/model-select/model-select.class.d.ts +6 -0
  34. package/dist/components/conversation/suggestion-chips/suggestion-chips.class.d.ts +1 -0
  35. package/dist/components/conversation/suggestion-chips/suggestion-chips.styles.js +1 -1
  36. package/dist/components/conversation/thread-list/thread-list.class.d.ts +3 -0
  37. package/dist/components/conversation/thread-list/thread-list.styles.js +1 -1
  38. package/dist/components/conversation/voice-picker/voice-picker.class.d.ts +6 -0
  39. package/dist/components/data/graph-query-builder/graph-query-builder.class.d.ts +4 -0
  40. package/dist/components/data/heatmap/heatmap.class.d.ts +21 -2
  41. package/dist/components/data/heatmap/heatmap.class.js +2 -2
  42. package/dist/components/data/heatmap/heatmap.styles.js +1 -1
  43. package/dist/components/data/stat/stat.class.d.ts +24 -1
  44. package/dist/components/data/stat/stat.class.js +2 -2
  45. package/dist/components/data/stat/stat.styles.js +1 -1
  46. package/dist/components/data/table/table-row-attributes.js +1 -0
  47. package/dist/components/data/table/table-support.d.ts +65 -5
  48. package/dist/components/data/table/table-support.js +1 -1
  49. package/dist/components/data/table/table.class.d.ts +77 -7
  50. package/dist/components/data/table/table.class.js +10 -10
  51. package/dist/components/data/table/table.styles.js +1 -1
  52. package/dist/components/data/timeline/timeline-item.class.d.ts +27 -5
  53. package/dist/components/data/timeline/timeline-item.class.js +11 -7
  54. package/dist/components/data/timeline/timeline-item.styles.js +1 -1
  55. package/dist/components/data/timeline/timeline.class.d.ts +40 -5
  56. package/dist/components/data/timeline/timeline.class.js +11 -7
  57. package/dist/components/data/timeline/timeline.styles.js +1 -1
  58. package/dist/components/data/tree/tree-item.class.d.ts +2 -0
  59. package/dist/components/data/tree/tree-item.class.js +2 -2
  60. package/dist/components/data/tree/tree-item.styles.js +1 -1
  61. package/dist/components/forms/button/button.class.d.ts +13 -0
  62. package/dist/components/forms/button/button.styles.js +1 -1
  63. package/dist/components/forms/checkbox-group/checkbox-group.class.d.ts +29 -2
  64. package/dist/components/forms/checkbox-group/checkbox-group.class.js +3 -3
  65. package/dist/components/forms/checkbox-group/checkbox-group.styles.js +1 -1
  66. package/dist/components/forms/code-editor/code-editor.class.d.ts +6 -0
  67. package/dist/components/forms/color-picker/color-picker.class.d.ts +9 -0
  68. package/dist/components/forms/color-picker/color-picker.class.js +3 -3
  69. package/dist/components/forms/color-picker/color-picker.styles.js +1 -1
  70. package/dist/components/forms/combobox/combobox.class.d.ts +114 -7
  71. package/dist/components/forms/combobox/combobox.class.js +9 -7
  72. package/dist/components/forms/combobox/combobox.styles.js +1 -1
  73. package/dist/components/forms/country-picker/country-picker.class.d.ts +2 -0
  74. package/dist/components/forms/currency-picker/currency-picker.class.d.ts +2 -0
  75. package/dist/components/forms/date-picker/date-input.class.d.ts +41 -0
  76. package/dist/components/forms/date-picker/date-input.class.js +2 -2
  77. package/dist/components/forms/date-picker/date-input.styles.js +1 -1
  78. package/dist/components/forms/emoji-picker/emoji-picker.class.d.ts +4 -0
  79. package/dist/components/forms/icon-button/icon-button.styles.js +1 -1
  80. package/dist/components/forms/input/input-shared.d.ts +12 -0
  81. package/dist/components/forms/input/input.styles.js +1 -1
  82. package/dist/components/forms/input/time-input.class.d.ts +6 -0
  83. package/dist/components/forms/input/time-input.styles.js +1 -1
  84. package/dist/components/forms/locale-picker/locale-picker.class.d.ts +11 -0
  85. package/dist/components/forms/locale-picker/locale-picker.styles.js +1 -1
  86. package/dist/components/forms/otp-input/otp-input.class.d.ts +6 -0
  87. package/dist/components/forms/phone-input/phone-input.class.d.ts +6 -0
  88. package/dist/components/forms/phone-input/phone-input.styles.js +1 -1
  89. package/dist/components/forms/radio/radio-group.class.d.ts +24 -2
  90. package/dist/components/forms/radio/radio-group.class.js +2 -2
  91. package/dist/components/forms/radio/radio-group.styles.js +1 -1
  92. package/dist/components/forms/rubric-form/rubric-form.class.d.ts +4 -0
  93. package/dist/components/forms/select/select.class.d.ts +13 -0
  94. package/dist/components/forms/select/select.class.js +1 -1
  95. package/dist/components/forms/select/select.styles.js +1 -1
  96. package/dist/components/forms/signature-pad/signature-pad.class.d.ts +6 -0
  97. package/dist/components/forms/signature-pad/signature-pad.styles.js +1 -1
  98. package/dist/components/forms/slider/slider.class.d.ts +28 -2
  99. package/dist/components/forms/slider/slider.class.js +3 -3
  100. package/dist/components/forms/slider/slider.styles.js +1 -1
  101. package/dist/components/forms/switch/switch.class.d.ts +2 -0
  102. package/dist/components/forms/switch/switch.styles.js +1 -1
  103. package/dist/components/forms/textarea/textarea.class.d.ts +8 -0
  104. package/dist/components/forms/textarea/textarea.styles.js +1 -1
  105. package/dist/components/forms/time-zone-picker/time-zone-picker.class.d.ts +2 -0
  106. package/dist/components/forms/token-input/token-input.class.d.ts +96 -18
  107. package/dist/components/forms/token-input/token-input.class.js +11 -8
  108. package/dist/components/forms/token-input/token-input.styles.js +1 -1
  109. package/dist/components/forms/unit-picker/unit-picker.class.d.ts +2 -0
  110. package/dist/components/layout/app-rail/app-rail.class.d.ts +3 -0
  111. package/dist/components/layout/app-rail/app-rail.styles.js +1 -1
  112. package/dist/components/layout/button-group/button-group.class.d.ts +4 -0
  113. package/dist/components/layout/button-group/button-group.class.js +1 -1
  114. package/dist/components/layout/card/card.class.d.ts +15 -1
  115. package/dist/components/layout/card/card.styles.js +1 -1
  116. package/dist/components/layout/details/details.class.d.ts +6 -0
  117. package/dist/components/layout/details/details.styles.js +1 -1
  118. package/dist/components/layout/filter-bar/filter-bar.class.d.ts +6 -0
  119. package/dist/components/layout/filter-bar/filter-bar.styles.js +1 -1
  120. package/dist/components/layout/index.d.ts +1 -1
  121. package/dist/components/layout/index.js +1 -1
  122. package/dist/components/layout/menu/dropdown-item.class.d.ts +8 -2
  123. package/dist/components/layout/menu/dropdown-item.class.js +1 -1
  124. package/dist/components/layout/menu/menu-item.class.d.ts +7 -0
  125. package/dist/components/layout/menu/menu-item.styles.js +1 -1
  126. package/dist/components/layout/menu/menu-label.class.d.ts +5 -0
  127. package/dist/components/layout/menu/menu-label.class.js +1 -1
  128. package/dist/components/layout/menu/menu.class.d.ts +3 -0
  129. package/dist/components/layout/menu/menu.styles.js +1 -1
  130. package/dist/components/layout/page/page.class.d.ts +9 -1
  131. package/dist/components/layout/page/page.class.js +2 -2
  132. package/dist/components/layout/segmented/segmented.class.d.ts +22 -3
  133. package/dist/components/layout/segmented/segmented.class.js +3 -4
  134. package/dist/components/layout/segmented/segmented.styles.js +1 -1
  135. package/dist/components/layout/stepper/step.class.d.ts +89 -0
  136. package/dist/components/layout/stepper/step.class.js +18 -0
  137. package/dist/components/layout/stepper/step.styles.js +1 -0
  138. package/dist/components/layout/stepper/stepper.class.d.ts +106 -13
  139. package/dist/components/layout/stepper/stepper.class.js +6 -2
  140. package/dist/components/layout/stepper/stepper.styles.js +1 -1
  141. package/dist/components/layout/tab-group/tab-group.class.d.ts +10 -1
  142. package/dist/components/layout/tab-group/tab-group.class.js +1 -1
  143. package/dist/components/layout/tab-group/tab-group.styles.js +1 -1
  144. package/dist/components/layout/tab-group/tab-panel.class.d.ts +1 -0
  145. package/dist/components/layout/tab-group/tab-panel.class.js +1 -1
  146. package/dist/components/layout/tab-group/tab.class.d.ts +4 -0
  147. package/dist/components/layout/widget/widget.class.d.ts +1 -0
  148. package/dist/components/layout/widget/widget.styles.js +1 -1
  149. package/dist/components/lr-code-block-core.d.ts +1 -1
  150. package/dist/components/lr-code-block.d.ts +1 -1
  151. package/dist/components/lr-counter.d.ts +1 -0
  152. package/dist/components/lr-counter.js +1 -0
  153. package/dist/components/lr-lightbox-item.d.ts +1 -0
  154. package/dist/components/lr-lightbox-item.js +1 -0
  155. package/dist/components/lr-lightbox.d.ts +1 -1
  156. package/dist/components/lr-lightbox.js +1 -1
  157. package/dist/components/lr-number-ticker.d.ts +1 -0
  158. package/dist/components/lr-number-ticker.js +1 -0
  159. package/dist/components/lr-step.d.ts +1 -0
  160. package/dist/components/lr-step.js +1 -0
  161. package/dist/components/media/file-input/file-input.class.d.ts +7 -1
  162. package/dist/components/media/file-input/file-input.class.js +2 -2
  163. package/dist/components/media/file-input/file-input.styles.js +1 -1
  164. package/dist/components/media/index.d.ts +1 -1
  165. package/dist/components/media/index.js +1 -1
  166. package/dist/components/media/lightbox/lightbox-item.class.d.ts +57 -0
  167. package/dist/components/media/lightbox/lightbox-item.class.js +9 -0
  168. package/dist/components/media/lightbox/lightbox-item.styles.js +1 -0
  169. package/dist/components/media/lightbox/lightbox.class.d.ts +90 -20
  170. package/dist/components/media/lightbox/lightbox.class.js +17 -12
  171. package/dist/components/media/lightbox/lightbox.styles.js +1 -1
  172. package/dist/components/media/map/map-anchor-avoid.js +1 -1
  173. package/dist/components/media/map/map-drawing-controller.js +1 -1
  174. package/dist/components/media/map/map.class.d.ts +137 -7
  175. package/dist/components/media/map/map.class.js +6 -6
  176. package/dist/components/media/map/map.styles.js +1 -1
  177. package/dist/components/media/sequence-playback/sequence-playback.class.d.ts +9 -0
  178. package/dist/components/media/sequence-playback/sequence-playback.class.js +2 -2
  179. package/dist/components/media/sequence-playback/sequence-playback.styles.js +1 -1
  180. package/dist/components/media/video/video.class.d.ts +4 -0
  181. package/dist/components/media/video/video.class.js +2 -2
  182. package/dist/components/media/video/video.styles.js +1 -1
  183. package/dist/components/media/zoomable-frame/zoomable-frame.class.d.ts +15 -0
  184. package/dist/components/media/zoomable-frame/zoomable-frame.class.js +2 -2
  185. package/dist/components/overlays/badge/badge.class.d.ts +2 -0
  186. package/dist/components/overlays/badge/badge.styles.js +1 -1
  187. package/dist/components/overlays/badge/tag.class.d.ts +2 -0
  188. package/dist/components/overlays/badge/tag.class.js +1 -1
  189. package/dist/components/overlays/chip/chip-group.class.d.ts +31 -4
  190. package/dist/components/overlays/chip/chip-group.class.js +3 -3
  191. package/dist/components/overlays/context-menu/context-menu.class.d.ts +5 -0
  192. package/dist/components/overlays/context-menu/context-menu.class.js +1 -1
  193. package/dist/components/overlays/dialog/dialog.class.d.ts +36 -4
  194. package/dist/components/overlays/dialog/dialog.class.js +3 -3
  195. package/dist/components/overlays/dialog/dialog.styles.js +1 -1
  196. package/dist/components/overlays/dialog/prompt.d.ts +60 -0
  197. package/dist/components/overlays/dialog/prompt.js +1 -0
  198. package/dist/components/overlays/drawer/drawer.class.d.ts +16 -1
  199. package/dist/components/overlays/drawer/drawer.class.js +1 -1
  200. package/dist/components/overlays/empty/empty.class.d.ts +1 -0
  201. package/dist/components/overlays/empty/empty.class.js +1 -1
  202. package/dist/components/overlays/overlay/dropdown.class.d.ts +4 -0
  203. package/dist/components/overlays/overlay/dropdown.class.js +1 -1
  204. package/dist/components/overlays/overlay/overlay.styles.js +1 -1
  205. package/dist/components/overlays/overlay/popover.class.d.ts +29 -3
  206. package/dist/components/overlays/overlay/popover.class.js +2 -2
  207. package/dist/components/overlays/overlay/tooltip.class.d.ts +2 -0
  208. package/dist/components/overlays/overlay/tooltip.class.js +2 -2
  209. package/dist/components/overlays/toast/toast-item.class.d.ts +1 -0
  210. package/dist/components/overlays/toast/toast-item.class.js +1 -1
  211. package/dist/components/overlays/toast/toast-item.styles.js +1 -1
  212. package/dist/components/overlays/toast/toast.class.d.ts +6 -0
  213. package/dist/components/overlays/toast/toast.class.js +1 -1
  214. package/dist/components/utility/copy-button/copy-button.class.d.ts +2 -0
  215. package/dist/components/utility/copy-button/copy-button.class.js +2 -2
  216. package/dist/components/utility/counter/counter-time.d.ts +15 -0
  217. package/dist/components/utility/counter/counter-time.js +1 -0
  218. package/dist/components/utility/counter/counter.class.d.ts +67 -0
  219. package/dist/components/utility/counter/counter.class.js +1 -0
  220. package/dist/components/utility/counter/counter.styles.js +1 -0
  221. package/dist/components/utility/divider/divider.class.d.ts +21 -3
  222. package/dist/components/utility/divider/divider.class.js +5 -1
  223. package/dist/components/utility/export-button/export-button.class.d.ts +5 -0
  224. package/dist/components/utility/export-button/export-button.styles.js +1 -1
  225. package/dist/components/utility/icon/icon-library.d.ts +14 -1
  226. package/dist/components/utility/icon/icon-library.js +1 -1
  227. package/dist/components/utility/icon/icon-sprite.js +1 -0
  228. package/dist/components/utility/icon/icon.class.d.ts +4 -2
  229. package/dist/components/utility/icon/icon.class.js +2 -2
  230. package/dist/components/utility/index.d.ts +1 -1
  231. package/dist/components/utility/index.js +1 -1
  232. package/dist/components/utility/known-date/known-date.class.d.ts +4 -0
  233. package/dist/components/utility/number-ticker/number-ticker.class.d.ts +58 -0
  234. package/dist/components/utility/number-ticker/number-ticker.class.js +1 -0
  235. package/dist/components/utility/number-ticker/number-ticker.styles.js +1 -0
  236. package/dist/components/viewers/include/include.class.d.ts +4 -1
  237. package/dist/components/viewers/include/include.class.js +1 -1
  238. package/dist/components/viewers/pdf-viewer/pdf-viewer.class.d.ts +10 -1
  239. package/dist/components/viewers/pdf-viewer/pdf-viewer.class.js +2 -2
  240. package/dist/components/viewers/pdf-viewer/pdf-viewer.styles.js +1 -1
  241. package/dist/custom-elements-jsx.d.ts +1 -1
  242. package/dist/event-classes.d.ts +2342 -0
  243. package/dist/event-classes.js +1 -0
  244. package/dist/events.d.ts +48 -22
  245. package/dist/framework-types.d.ts +2 -2
  246. package/dist/internal/all-defined-arguments.d.ts +19 -0
  247. package/dist/internal/all-defined-arguments.js +1 -0
  248. package/dist/internal/autoloader-tags.d.ts +1 -1
  249. package/dist/internal/autoloader-tags.js +1 -1
  250. package/dist/internal/checked-control-label.js +1 -1
  251. package/dist/internal/component-loaders.generated.js +1 -1
  252. package/dist/internal/dedent.js +7 -0
  253. package/dist/internal/default-strings/forms.generated.js +1 -1
  254. package/dist/internal/default-strings/layout.generated.js +1 -1
  255. package/dist/internal/dev-mode-attribute-warning.development.js +1 -1
  256. package/dist/internal/document-tokens.generated.js +3 -3
  257. package/dist/internal/form-control/chrome.styles.js +1 -1
  258. package/dist/internal/form-control.styles.js +1 -1
  259. package/dist/internal/interactive-control.styles.js +2 -2
  260. package/dist/internal/labeled-group.js +1 -1
  261. package/dist/internal/localization-runtime.d.ts +5 -0
  262. package/dist/internal/localization-runtime.js +1 -1
  263. package/dist/internal/localization-types.d.ts +1 -1
  264. package/dist/internal/localization.js +2 -2
  265. package/dist/internal/lyra-element.js +2 -2
  266. package/dist/internal/lyra-event.d.ts +22 -0
  267. package/dist/internal/lyra-event.js +1 -0
  268. package/dist/internal/overlay-shared.d.ts +5 -2
  269. package/dist/internal/overlay-shared.js +1 -1
  270. package/dist/internal/package-metadata.js +1 -1
  271. package/dist/internal/root-registration-allowlist.js +1 -1
  272. package/dist/internal/scoped-definitions.generated.js +1 -1
  273. package/dist/internal/shiki/core.d.ts +4 -1
  274. package/dist/internal/shiki/tokenize.js +1 -1
  275. package/dist/internal/srcset.js +1 -0
  276. package/dist/lyra.d.ts +1 -1
  277. package/dist/lyra.js +1 -1
  278. package/dist/ssr/all.d.ts +1 -1
  279. package/dist/ssr/all.js +1 -1
  280. package/dist/ssr.d.ts +5 -5
  281. package/dist/ssr.js +1 -1
  282. package/dist/styles/native.css +1 -1
  283. package/dist/styles/palette.css +1 -0
  284. package/dist/styles/tokens-root.css +1 -1
  285. package/dist/styles/utilities.css +1 -1
  286. package/dist/svelte.d.ts +1 -1
  287. package/dist/testing/happy-dom-shims.d.ts +11 -2
  288. package/dist/testing/happy-dom-shims.js +1 -1
  289. package/dist/testing/index.d.ts +1 -1
  290. package/dist/testing/index.js +1 -1
  291. package/dist/testing/lyra-tag-event-map.d.ts +2 -2
  292. package/dist/testing/lyra-tag-event-map.js +1 -1
  293. package/dist/theme-core.css +1 -1
  294. package/dist/theme.css +1 -1
  295. package/dist/utilities/defined.d.ts +10 -1
  296. package/dist/utilities/defined.js +1 -1
  297. package/dist/utilities/form.d.ts +9 -0
  298. package/dist/utilities/form.js +1 -0
  299. package/dist/utilities/index.d.ts +1 -1
  300. package/dist/utilities/index.js +1 -1
  301. package/dist/vue.d.ts +1 -1
  302. package/llms/components/lr-app-rail.md +4 -2
  303. package/llms/components/lr-badge.md +4 -4
  304. package/llms/components/lr-bar-chart.md +1 -1
  305. package/llms/components/lr-box-plot.md +6 -1
  306. package/llms/components/lr-bubble-chart.md +1 -1
  307. package/llms/components/lr-budget-meter.md +2 -2
  308. package/llms/components/lr-button-group.md +7 -3
  309. package/llms/components/lr-button.md +11 -1
  310. package/llms/components/lr-card.md +11 -1
  311. package/llms/components/lr-chart.md +21 -7
  312. package/llms/components/lr-checkbox-group.md +11 -1
  313. package/llms/components/lr-chip.md +11 -1
  314. package/llms/components/lr-code-block-core.md +36 -8
  315. package/llms/components/lr-code-block.md +45 -6
  316. package/llms/components/lr-code-editor.md +11 -1
  317. package/llms/components/lr-color-picker.md +17 -4
  318. package/llms/components/lr-combobox.md +62 -6
  319. package/llms/components/lr-context-menu.md +5 -3
  320. package/llms/components/lr-copy-button.md +2 -1
  321. package/llms/components/lr-counter.md +60 -0
  322. package/llms/components/lr-country-picker.md +5 -1
  323. package/llms/components/lr-currency-picker.md +5 -1
  324. package/llms/components/lr-date-input.md +1 -1
  325. package/llms/components/lr-date-picker.md +25 -1
  326. package/llms/components/lr-details.md +6 -2
  327. package/llms/components/lr-dialog.md +72 -8
  328. package/llms/components/lr-divider.md +14 -5
  329. package/llms/components/lr-doughnut-chart.md +1 -1
  330. package/llms/components/lr-drawer.md +26 -7
  331. package/llms/components/lr-dropdown-item.md +1 -1
  332. package/llms/components/lr-dropdown.md +8 -4
  333. package/llms/components/lr-emoji-picker.md +10 -1
  334. package/llms/components/lr-empty.md +3 -2
  335. package/llms/components/lr-export-button.md +5 -2
  336. package/llms/components/lr-file-input.md +13 -1
  337. package/llms/components/lr-filter-bar.md +6 -2
  338. package/llms/components/lr-graph-query-builder.md +10 -1
  339. package/llms/components/lr-heatmap.md +20 -3
  340. package/llms/components/lr-histogram.md +7 -2
  341. package/llms/components/lr-icon-button.md +3 -1
  342. package/llms/components/lr-icon.md +8 -0
  343. package/llms/components/lr-include.md +3 -0
  344. package/llms/components/lr-input.md +9 -1
  345. package/llms/components/lr-known-date.md +10 -1
  346. package/llms/components/lr-lightbox-item.md +14 -0
  347. package/llms/components/lr-lightbox.md +84 -5
  348. package/llms/components/lr-line-chart.md +7 -2
  349. package/llms/components/lr-lite-chart.md +3 -2
  350. package/llms/components/lr-locale-picker.md +17 -1
  351. package/llms/components/lr-map.md +122 -11
  352. package/llms/components/lr-markdown-core.md +15 -4
  353. package/llms/components/lr-markdown.md +13 -4
  354. package/llms/components/lr-menu-item.md +1 -1
  355. package/llms/components/lr-menu-label.md +5 -2
  356. package/llms/components/lr-menu.md +21 -6
  357. package/llms/components/lr-model-select.md +11 -1
  358. package/llms/components/lr-native-time-input.md +11 -1
  359. package/llms/components/lr-number-input.md +11 -1
  360. package/llms/components/lr-number-ticker.md +55 -0
  361. package/llms/components/lr-otp-input.md +11 -1
  362. package/llms/components/lr-page.md +7 -1
  363. package/llms/components/lr-pagination.md +18 -0
  364. package/llms/components/lr-pdf-viewer.md +6 -1
  365. package/llms/components/lr-phone-input.md +11 -1
  366. package/llms/components/lr-pie-chart.md +1 -1
  367. package/llms/components/lr-polar-area-chart.md +1 -1
  368. package/llms/components/lr-popover.md +25 -5
  369. package/llms/components/lr-radar-chart.md +1 -1
  370. package/llms/components/lr-radio-group.md +11 -1
  371. package/llms/components/lr-rubric-form.md +7 -1
  372. package/llms/components/lr-scatter-chart.md +1 -1
  373. package/llms/components/lr-segmented.md +20 -2
  374. package/llms/components/lr-select.md +10 -2
  375. package/llms/components/lr-sequence-playback.md +8 -2
  376. package/llms/components/lr-signature-pad.md +8 -1
  377. package/llms/components/lr-slider.md +17 -4
  378. package/llms/components/lr-stat.md +20 -5
  379. package/llms/components/lr-step.md +61 -0
  380. package/llms/components/lr-stepper.md +64 -8
  381. package/llms/components/lr-suggestion-chips.md +3 -2
  382. package/llms/components/lr-switch.md +4 -3
  383. package/llms/components/lr-tab-group.md +10 -3
  384. package/llms/components/lr-tab-panel.md +2 -2
  385. package/llms/components/lr-table.md +87 -8
  386. package/llms/components/lr-tag.md +1 -1
  387. package/llms/components/lr-textarea.md +17 -1
  388. package/llms/components/lr-thread-list.md +4 -2
  389. package/llms/components/lr-time-input.md +8 -1
  390. package/llms/components/lr-time-zone-picker.md +5 -1
  391. package/llms/components/lr-timeline-item.md +1 -1
  392. package/llms/components/lr-timeline.md +38 -1
  393. package/llms/components/lr-toast-item.md +1 -1
  394. package/llms/components/lr-toast.md +7 -2
  395. package/llms/components/lr-token-input.md +64 -8
  396. package/llms/components/lr-tooltip.md +3 -3
  397. package/llms/components/lr-tree-item.md +1 -1
  398. package/llms/components/lr-tree.md +2 -1
  399. package/llms/components/lr-unit-picker.md +5 -1
  400. package/llms/components/lr-video.md +5 -4
  401. package/llms/components/lr-voice-picker.md +8 -1
  402. package/llms/components/lr-widget.md +2 -2
  403. package/llms/components/lr-zoomable-frame.md +8 -0
  404. package/llms/index.md +145 -141
  405. package/llms/migration.md +20 -12
  406. package/llms/peers.md +2 -2
  407. package/llms/shared/events-and-types.md +36 -0
  408. package/llms/shared/imports-and-registration.md +60 -1
  409. package/llms/shared/native-styles-and-utilities.md +109 -3
  410. package/llms/shared/styles-and-tokens.md +2 -2
  411. package/llms/shared/testing-and-utilities.md +21 -0
  412. package/llms/shared.md +227 -6
  413. package/llms/tokens.md +6 -1
  414. package/llms.txt +3 -3
  415. package/locales.json +1 -1
  416. package/package.json +38 -9
  417. package/registrations.json +1 -1
  418. package/skills/compose-lyra-interfaces/SKILL.md +1 -1
  419. package/skills/lyra-ui/SKILL.md +1 -1
@@ -9,14 +9,16 @@
9
9
  - **Release history** [CHANGELOG.md](../../CHANGELOG.md)
10
10
  - **Deprecations** none
11
11
  - **Optional peers** none
12
- - **Themeable via** 30 parts, 34 custom properties — see this component's own `@csspart`/`@cssprop` list below
13
- - **Tokens by part** (prefer these over a `::part()` rule) `form-control-label`: `--lr-form-control-required-content`; `marks`: `--lr-slider-mark-bg`
12
+ - **Themeable via** 31 parts, 44 custom properties — see this component's own `@csspart`/`@cssprop` list below
13
+ - **Tokens by part** (prefer these over a `::part()` rule) `form-control-label`: `--lr-form-control-required-content`; `marks`: `--lr-slider-mark-bg`; `value`: `--lr-slider-value-color`, `--lr-slider-value-font-family`
14
14
  - **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
15
15
 
16
16
  ---
17
17
 
18
18
  ## `lr-slider`
19
19
 
20
+ **Label and readout.** The label inherits the surrounding font size by default; set `--lr-form-control-label-font-size: var(--lr-font-size-md-sm)` on the slider or a containing form to match the `lr-input`/`lr-select` label size. `label-placement="start"` (see "Label beside the field") puts the label in a column beside a horizontal track. `with-value` shows the **localized number** by default, even when a `valueFormatter` is set and even with `value-placement="label"`; the formatter feeds `aria-valuetext` and the tooltip only. Set `value-display="formatted"` to show the formatter's text in the readout. This is deliberate: a formatter written for assistive text (`"40 percent"`) would otherwise change the visible readout of every existing slider.
21
+
20
22
  Labelled `marks` render in the `marks` part: one `mark` per tick, a `mark-label` per label, and
21
23
  `mark-label-thinned` on a label hidden for overlapping its neighbour.
22
24
 
@@ -205,7 +207,7 @@ well, so `::part(thumb)` styles both while `::part(thumb-min)` reaches only one)
205
207
  live value bubble per handle, present only with `with-tooltip`), `tooltip-visible` (added _to the
206
208
  `tooltip` element's part list_ while that handle is focused or dragged — visibility is encoded in
207
209
  the part name because `::part(tooltip)[data-visible]` is invalid CSS and never matches; write
208
- `::part(tooltip-visible)`). The tooltip also exposes `tooltip__tooltip`, `tooltip__content`, and
210
+ `::part(tooltip-visible)`). The tooltip also exposes `tooltip__tooltip`, `tooltip__content` (also `tooltip__body`), and
209
211
  `tooltip__arrow`. `value` is the opt-in readout; `label-row` contains the separate label and value
210
212
  nodes when `withValue` and `valuePlacement="label"` are enabled. `marks` is the container for
211
213
  `marks` (present only while at least one mark is in range), `mark` one tick, `mark-label` one
@@ -256,7 +258,11 @@ than overriding this runtime value. `--lr-slider-track-bg` (default `var(--lr-co
256
258
  `--lr-slider-thumb-bg` (default `var(--lr-color-brand)`), `--lr-slider-thumb-border-color`
257
259
  (default `var(--lr-color-surface)`), `--lr-slider-thumb-hover-ring-color` (default
258
260
  `var(--lr-color-brand-quiet)`), and `--lr-slider-thumb-active-ring-color` (defaulting through the
259
- hover ring). Everything else is shared tokens —
261
+ hover ring), plus `--lr-slider-thumb-border-width` (default `var(--lr-border-width-medium)`) and
262
+ `--lr-slider-thumb-shadow` (default `var(--lr-shadow-s)`; the hover and active rings are appended to
263
+ it, so flatten it with `0 0 transparent`, not `none`). The `value` readout takes
264
+ `--lr-slider-value-color` (default `var(--lr-color-text-quiet)`) and `--lr-slider-value-font-family`
265
+ (default `inherit`). Everything else is shared tokens —
260
266
  `--lr-space-s`, `--lr-color-border/-brand/-surface/-text-quiet`, `--lr-shadow`,
261
267
  `--lr-focus-ring-width/-color/-offset`, `--lr-opacity-disabled`.
262
268
 
@@ -352,3 +358,10 @@ is present for upstream form-surface parity but adds no missing-value constraint
352
358
  takes up no layout space.
353
359
 
354
360
  ---
361
+
362
+ `labelPlacement: 'top' | 'start' = 'top'` (attribute `label-placement`, reflected) puts the label in an inline-start column, sized by `--lr-form-control-label-inline-size`, `--lr-form-control-label-gap` and `--lr-form-control-label-collapse-inline-size`; every form-control label also reads `--lr-form-control-label-line-height` (default `inherit`). See "Label beside the field: `label-placement`".
363
+
364
+ Further custom properties:
365
+
366
+ - `--lr-form-control-label-text-align` (default `inherit`): Text alignment of the field label.
367
+ - `--lr-form-control-label-text-transform` (default `inherit`): Text transform of the field label.
@@ -9,8 +9,8 @@
9
9
  - **Release history** [CHANGELOG.md](../../CHANGELOG.md)
10
10
  - **Deprecations** none
11
11
  - **Optional peers** none
12
- - **Themeable via** 16 parts, 36 custom properties — see this component's own `@csspart`/`@cssprop` list below
13
- - **Tokens by part** (prefer these over a `::part()` rule) `base`: `--lr-stat-gap`, `--lr-stat-padding`
12
+ - **Themeable via** 16 parts, 47 custom properties — see this component's own `@csspart`/`@cssprop` list below
13
+ - **Tokens by part** (prefer these over a `::part()` rule) `base`: `--lr-stat-gap`, `--lr-stat-padding`; `row`: `--lr-stat-rows-gap`; `rows`: `--lr-stat-rows-gap`
14
14
  - **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
15
15
 
16
16
  ---
@@ -29,6 +29,14 @@ Removing `caption` or `sub` omits the attribute fallback without hiding assigned
29
29
  Removal retains `null` property readback; explicit empty strings remain empty and later supplied
30
30
  values render normally.
31
31
 
32
+ `truncate: boolean = false` (reflected) keeps the value on one line and ellipsizes what does not
33
+ fit; unset, a long value wraps. `--lr-stat-align` (default `normal`) aligns the vertical tile's
34
+ stacked content: `center` centres the label, value row, icon and trend chips and their text, and
35
+ `start`/`end` work too. `--lr-stat-border-color` (default `var(--lr-color-border-subtle)`, or
36
+ `var(--lr-color-border)` on a linked tile) is the resting edge colour; hover and press keep their
37
+ `--lr-stat-link-*` tokens. `--lr-stat-label-line-height` (default `inherit`) sets the label's line
38
+ height.
39
+
32
40
  **Renamed in 8.0.0 — breaking:** `appearance` is now `frame`. Library-wide, `appearance` means only
33
41
  "how a control fills itself" and `frame` means "whether a container draws itself as a bounded card";
34
42
  this property was always the second. There is no alias — `appearance` on `<lr-stat>` is an unknown
@@ -135,18 +143,21 @@ and includes the unit in its name. Values without a label or unit remain plain t
135
143
  `[part="base"]`'s RESTING background — the tier a dashboard sits at all day, and the companion to
136
144
  the linked card's existing pressed `--lr-stat-link-active-bg` (whose own default now mixes from
137
145
  `--lr-stat-bg`, so one override retints both); `frame="plain"` still drops the fill entirely.
138
- `--lr-stat-padding` (default `var(--lr-space-m)`) and
146
+ `--lr-stat-radius` (default `var(--lr-radius)`) sets the card's corner radius. `--lr-stat-padding` (default `var(--lr-space-m)`) and
139
147
  `--lr-stat-gap` (default `var(--lr-space-xs)`) control `[part="base"]`'s padding and gap in every
140
148
  rendering path — the default card, the compact density (`size="s"` and below; own defaults `var(--lr-space-s)` /
141
149
  `var(--lr-size-0-125rem)`), `frame="plain"` (own default `0` for padding), and the internal
142
150
  `.linked-content` wrapper used when `href` is set, so one override reaches a linked and an
143
- unlinked stat identically. `--lr-stat-trend-good-color` (default `var(--lr-color-success)`)
151
+ unlinked stat identically; that gap is also the space between the caption, sub, spark and rows
152
+ sections. `--lr-stat-rows-gap` (default `var(--lr-size-0-125rem)`) spaces the breakdown rows inside
153
+ `[part="rows"]`. `--lr-stat-trend-good-color` (default `var(--lr-color-success)`)
144
154
  and `--lr-stat-trend-good-bg` (default `color-mix(in srgb, var(--lr-color-success) 8%,
145
155
  transparent)`) — text/background of `[part="trend"]` when its polarity (per `goodDirection`) is
146
156
  "good"; `--lr-stat-trend-bad-color` (default `var(--lr-color-danger)`) and `--lr-stat-trend-bad-bg`
147
157
  (default `color-mix(in srgb, var(--lr-color-danger) 8%, transparent)`) — the "bad"-polarity
148
158
  counterparts. All four are independent of the headline value's `variant="success"`/`"danger"` tint,
149
159
  so retinting the trend pill doesn't also recolor the value, and vice versa.
160
+ `--lr-stat-value-color` (default `inherit`) colors a neutral headline value;
150
161
  `--lr-stat-value-brand-color` (default `var(--lr-color-brand)`),
151
162
  `--lr-stat-value-success-color` (default `var(--lr-color-success)`),
152
163
  `--lr-stat-value-warning-color` (default `var(--lr-color-warning)`), and
@@ -162,6 +173,9 @@ counterparts), and `--lr-stat-link-active-bg` (defaulting to the existing active
162
173
  are point-of-use fallbacks, so values inherit from a theme ancestor and a value on `lr-stat` wins.
163
174
  Typography follows the application type scale through `--lr-stat-value-font-size` (default
164
175
  `var(--lr-font-size-2xl)`), `--lr-stat-value-font-weight` (default `var(--lr-font-weight-bold)`),
176
+ `--lr-stat-value-letter-spacing` (default `normal`), `--lr-stat-value-line-height` (default
177
+ `inherit`), `--lr-stat-value-margin` (default `0`), `--lr-stat-value-row-align` (default `baseline`,
178
+ the value row's `align-items`),
165
179
  `--lr-stat-label-font-size` (default `var(--lr-font-size-xs)`), `--lr-stat-label-font-weight`
166
180
  (default `var(--lr-font-weight-semibold)`), `--lr-stat-label-color` (default
167
181
  `var(--lr-color-text-quiet)`), `--lr-stat-label-letter-spacing` (default `var(--lr-size-0-04em)`),
@@ -170,7 +184,8 @@ Typography follows the application type scale through `--lr-stat-value-font-size
170
184
  `--lr-stat-caption-font-size` (default `var(--lr-font-size-sm)`) and `--lr-stat-caption-color`
171
185
  (default `var(--lr-color-text-quiet)`); `prose` keeps its own smaller value style. The `start` icon
172
186
  container becomes a chip through `--lr-stat-icon-size` (default `inherit`, its font size),
173
- `--lr-stat-icon-padding` (default `0`), `--lr-stat-icon-radius` (default `0`), `--lr-stat-icon-bg`
187
+ `--lr-stat-icon-box-size` (default `auto`; the chip's inline and block size, padding included, with
188
+ the glyph's line box centred in it), `--lr-stat-icon-padding` (default `0`), `--lr-stat-icon-radius` (default `0`), `--lr-stat-icon-bg`
174
189
  (default `transparent`) and `--lr-stat-icon-color` (default `var(--lr-color-text-quiet)`).
175
190
 
176
191
  **Optional peer deps:** none.
@@ -0,0 +1,61 @@
1
+ <!-- GENERATED by scripts/build-llms.mjs from llms/layout.md — do not edit this file. -->
2
+
3
+ # `lr-step`
4
+
5
+ - **Import** `import '@aceshooting/lyra-ui/components/lr-step.js';` (stable tag alias; registers the tag)
6
+ - **Class** `LyraStep`, also available unregistered from `@aceshooting/lyra-ui/components/layout/stepper/step.class.js`
7
+ - **Family** `components/layout/` — see `llms/index.md` for its siblings
8
+ - **Status** `experimental` since `32.1.0` — see the maturity and deprecation policy in `llms/shared.md`
9
+ - **Release history** [CHANGELOG.md](../../CHANGELOG.md)
10
+ - **Deprecations** none
11
+ - **Optional peers** none
12
+ - **Themeable via** 9 parts, 10 custom properties — see this component's own `@csspart`/`@cssprop` list below
13
+ - **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
14
+
15
+ ---
16
+
17
+ ## `lr-step`
18
+
19
+ One stage inside a child-driven `<lr-stepper>`: marker (number, check mark, spinner or `icon` slot),
20
+ label, optional description and status text. Mirrors `wa-step`. Granular import:
21
+ `@aceshooting/lyra-ui/components/lr-step.js`.
22
+
23
+ **Properties:** `name: string = ''` (reflected; matched by the stepper's `active`, `goTo()` and events);
24
+ `completed`, `loading` (spinner, `aria-busy`), `disabled` (unreachable; a disabled button while the
25
+ stepper is `clickable`) — booleans, reflected; `variant: 'neutral' | 'brand' | 'success' | 'warning' |
26
+ 'danger' = 'brand'` (cosmetic marker color; an upcoming `brand` step keeps a neutral outline);
27
+ `attention: 'none' | 'pulse' | 'bounce' = 'none'` (marker animation, off under
28
+ `prefers-reduced-motion`); `active` (reflected; the stepper keeps it in sync); `with-description`
29
+ (server rendering hint). The stepper sets the step's number, `locked` state (a `linear` stepper) and
30
+ `clickable`; nothing else needs setting by hand.
31
+
32
+ More properties: `focus` (`focus()`): Focuses the step's button when the stepper is `clickable`.
33
+ `withDescription` (attribute `with-description`, default `false`): Server rendering only: set it
34
+ when a `description` is slotted so the server markup includes it before hydration.
35
+
36
+ **Slots:** default (label), `description`, `icon` (replaces number/check/spinner).
37
+ **CSS parts:** `step`, `connector` (both half lines), `button` (only while the stepper is `clickable`),
38
+ `marker`, `spinner`, `content`, `label`, `status` (visually hidden: Completed, Loading, Unavailable,
39
+ Locked or Not started), `description`. **Custom property:** `--lr-step-pulse-color`, also spelled
40
+ `--pulse-color` (the unprefixed name wins when both are set); layout hooks are the stepper's
41
+ `--lr-stepper-*` properties and their unprefixed aliases. **Custom states:** `:state(active)`, `:state(completed)`,
42
+ `:state(loading)`, `:state(disabled)`, `:state(locked)` and `:state(clickable)`, e.g.
43
+ `lr-step:state(locked) { opacity: 0.6; }`. **Accessibility:** host `role="listitem"`; `aria-current="step"`
44
+ sits on the focused element (the inner button while clickable, the host otherwise).
45
+
46
+ ```html
47
+ <lr-stepper><lr-step name="a" completed>Account</lr-step><lr-step name="b" attention="pulse">Billing</lr-step></lr-stepper>
48
+ ```
49
+
50
+ ---
51
+
52
+ More themeable custom properties: `--lr-stepper-active-bg`: Background of a pressed, enabled
53
+ clickable step. `--lr-stepper-connector-active-color`: Color of the line after a completed step;
54
+ unset, it follows the completed step's variant. `--lr-stepper-connector-color` (default
55
+ `var(--lr-color-neutral-fill-normal)`): Color of the line after a step that is not completed.
56
+ `--lr-stepper-connector-gap` (default `var(--lr-size-0-35em)`): Gap between the marker edge and the
57
+ line on both sides. `--lr-stepper-connector-width` (default `var(--lr-border-width-medium)`):
58
+ Thickness of the line. `--lr-stepper-hover-bg`: Background of a hovered, enabled clickable step.
59
+ `--lr-stepper-marker-size` (default `var(--lr-size-2rem)`): Diameter of the marker. Set on the
60
+ stepper or an ancestor. `--lr-stepper-step-gap` (default `var(--lr-space-m)`): Block spacing between
61
+ steps while the stepper is laid out vertically.
@@ -9,7 +9,7 @@
9
9
  - **Release history** [CHANGELOG.md](../../CHANGELOG.md)
10
10
  - **Deprecations** none
11
11
  - **Optional peers** none
12
- - **Themeable via** 7 parts, 15 custom properties — see this component's own `@csspart`/`@cssprop` list below
12
+ - **Themeable via** 10 parts, 30 custom properties — see this component's own `@csspart`/`@cssprop` list below
13
13
  - **Tokens by part** (prefer these over a `::part()` rule) `step`: `--lr-stepper-current-font-weight`; `step-check`: `--lr-stepper-check-color`; `step-index`: `--lr-stepper-current-index-bg`, `--lr-stepper-index-bg`
14
14
  - **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
15
15
 
@@ -23,10 +23,59 @@ The host `aria-label`, the `accessibleLabel` property, and the `label` fallback
23
23
 
24
24
  Ordered multi-step wizard/form navigation: an index/label per step, independent
25
25
  `pending`/`current`/`completed`/`error` progress plus disabled availability, and click-to-jump.
26
- First-party invention (no `wa-*`/`sl-*` counterpart). Fully
27
- data-driven and controlled, like `lr-table`'s `columns`/`rows` — it never mutates `steps` itself; a
28
- click, or Enter/Space on a non-disabled step, fires a non-cancelable `lr-step-select`, and the host
29
- decides whether/how `steps` changes in response.
26
+ Mirrors `wa-stepper` (its `wa-step` children are `<lr-step>`) and has two authoring modes.
27
+
28
+ **Data-driven mode** (the original contract): fully data-driven and controlled, like `lr-table`'s
29
+ `columns`/`rows` — it never mutates `steps` itself; a click, or Enter/Space on a non-disabled step,
30
+ fires a non-cancelable `lr-step-select`, and the host decides whether/how `steps` changes in response.
31
+
32
+ **Child mode**: with an empty `steps` array and `<lr-step>` children, the stepper owns the current
33
+ step. A non-empty `steps` array always wins.
34
+
35
+ ```html
36
+ <button data-stepper="previous flow">Back</button>
37
+ <button data-stepper="next flow">Next</button>
38
+ <lr-stepper id="flow" label="Checkout" active="shipping" linear clickable orientation="auto">
39
+ <lr-step name="cart" completed>Cart</lr-step>
40
+ <lr-step name="shipping">Shipping<span slot="description">Where should it go?</span></lr-step>
41
+ <lr-step name="pay">Payment</lr-step>
42
+ </lr-stepper>
43
+ <script type="module">
44
+ const flow = document.querySelector("#flow");
45
+ flow.addEventListener("lr-before-step-change", (e) => {
46
+ if (!formIsValid()) e.preventDefault(); // vetoes the move
47
+ });
48
+ flow.addEventListener("lr-step-change", (e) => console.log(e.detail.name, e.detail.previousName));
49
+ </script>
50
+ ```
51
+
52
+ - `active: string = ''` (reflected) — `name` of the current step; the first step when unset or unmatched.
53
+ - `linear: boolean = false` (reflected) — a step cannot be reached until every step before it is
54
+ `completed`; later steps render locked (`next()`, `goTo()`, invokers and clicks all respect it).
55
+ - `clickable: boolean = false` (reflected) — steps become buttons (one roving tab stop; Left/Right swap
56
+ under RTL, Up/Down while stacked, Home/End) and a click or Enter/Space jumps to the step. The wrapper is
57
+ then a `<nav>` landmark; otherwise a labelled `role="group"`.
58
+ - `orientation: 'horizontal' | 'vertical' | 'auto' = 'horizontal'` — `'auto'` rows the steps and stacks
59
+ them when the stepper's measured inline size cannot give each step about 6em; it also works with
60
+ `steps`. The live axis is `effectiveOrientation` / `data-effective-orientation`.
61
+ - `label` names the group (localized "Steps" when unset); the host `aria-label` wins.
62
+ - Methods `goTo(name)`, `next()`, `previous()` ask first and no-op for an unknown, `disabled` or (while
63
+ `linear`) unreachable step. `data-stepper="next <id>"`, `"previous <id>"` and `"goto <id> <step name>"` on
64
+ any element click-drive the stepper with that `id`; inside a stepper the `<id>` may be omitted.
65
+ - Events: `lr-before-step-change` (cancelable) and `lr-step-change`, both
66
+ `detail: { name, previousName, step, previousStep }`. The new position ("Step 2 of 3") is announced politely.
67
+ - Slot: default (`<lr-step>` elements). Extra parts: `stepper`, `summary` (visually hidden "Step X of Y"),
68
+ `steps` (the step list; the same node as `base`).
69
+ - Custom properties for child mode: `--lr-stepper-marker-size`, `--lr-stepper-connector-color`,
70
+ `--lr-stepper-connector-active-color`, `--lr-stepper-connector-width`, `--lr-stepper-connector-gap`,
71
+ `--lr-stepper-step-gap`, each also readable under its unprefixed name (`--marker-size`,
72
+ `--connector-color`, `--connector-color-active`, `--connector-width`, `--connector-gap`, and `--gap`
73
+ for the stacked step spacing), which wins when both are set.
74
+ - Custom states: `:state(completed)` (every step completed, in either mode), `:state(loading)` (a child
75
+ step is loading) and `:state(stacked)` (the steps are laid out vertically, however that came about),
76
+ e.g. `lr-stepper:state(stacked) { --gap: 1.5rem; }`.
77
+ - New string keys: `stepperSteps`, `stepperStepPosition` (`{current}`/`{total}`), `stepperStateLoading`,
78
+ `stepperStateDisabled` (plus the existing completed/pending/locked keys for status text).
30
79
 
31
80
  **Properties:**
32
81
 
@@ -112,9 +161,12 @@ string; state: LyraStepState; disabled?: boolean; title?: string; icon?: unknown
112
161
  focused, on a non-`disabled` step. Never fired while `readonly`. It is non-cancelable because the
113
162
  component takes no default action to veto: it never mutates `steps`. `lr-stepper-orientation-change`
114
163
  (`detail: { orientation }`) — fired only when an enabled `orientationBreakpoint` actually changes
115
- `effectiveOrientation`.
164
+ `effectiveOrientation`. In child mode, cancelable `lr-before-step-change`
165
+ (`detail: { name, previousName, step, previousStep }`) fires before `active` changes —
166
+ `preventDefault()` keeps the current step — and `lr-step-change` (same detail) fires after `active`
167
+ changed and the steps re-rendered.
116
168
 
117
- **Slots:** none.
169
+ **Slots:** none in data-driven mode; the default slot takes `<lr-step>` children in child mode.
118
170
 
119
171
  **CSS parts:** `base` (root wrapper, `role="list"`), `step-item` (the `role="listitem"` wrapper for
120
172
  one step), `step` (a single native button — or a non-interactive `<div>` carrying the same part
@@ -126,6 +178,10 @@ rendered when the step has one, additionally to — never instead of — `step-i
126
178
  (the completed-checkmark glyph, shown for `completed` steps instead of `step-index`), `step-label`
127
179
  (the step's label text).
128
180
 
181
+ Further CSS parts: `stepper`: Child mode: the outer wrapper, a `<nav>` landmark while `clickable`,
182
+ otherwise a labelled `role="group"`. `summary`: Child mode: visually hidden "Step X of Y" text for
183
+ assistive technology.
184
+
129
185
  **Themeable custom properties:** `--lr-stepper-hover-bg` (default
130
186
  `var(--lr-color-brand-quiet)`) and `--lr-stepper-hover-color` (default
131
187
  `var(--lr-color-text)`) style a hovered non-disabled step. `--lr-stepper-active-bg` (default
@@ -139,7 +195,7 @@ text color of an `error` step. `--lr-stepper-current-index-bg` (default `var(--l
139
195
  `--lr-stepper-current-index-color` (default `var(--lr-color-on-brand)`) — background and text color
140
196
  of the `current` step's numbered `step-index` chip. The text color reads the dedicated on-brand
141
197
  foreground token, not `--lr-color-surface`, so the chip stays legible in dark mode and under forced
142
- colors, where surface and on-brand diverge. `--lr-stepper-index-bg` / `--lr-stepper-index-color`
198
+ colors, where surface and on-brand diverge. `--lr-stepper-index-border` (default `none`; `--lr-stepper-current-index-border` and `--lr-stepper-error-index-border` fall back to it) draws a border on the index circle without resizing it. `--lr-stepper-index-bg` / `--lr-stepper-index-color`
143
199
  (defaults `var(--lr-color-neutral-fill-normal)` / `var(--lr-color-neutral-on-normal)`) paint every
144
200
  other step's index, `--lr-stepper-error-index-bg` / `--lr-stepper-error-index-color` (same defaults)
145
201
  an `error` step's index, and `--lr-stepper-check-color` (default `var(--lr-color-success)`) the
@@ -9,7 +9,7 @@
9
9
  - **Release history** [CHANGELOG.md](../../CHANGELOG.md)
10
10
  - **Deprecations** none
11
11
  - **Optional peers** none
12
- - **Themeable via** 6 parts, 12 custom properties — see this component's own `@csspart`/`@cssprop` list below
12
+ - **Themeable via** 6 parts, 13 custom properties — see this component's own `@csspart`/`@cssprop` list below
13
13
  - **Tokens by part** (prefer these over a `::part()` rule) `base`: `--lr-suggestion-chips-justify`; `chip-label`: `--lr-suggestion-chips-label-lines`
14
14
  - **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
15
15
 
@@ -65,7 +65,8 @@ every line, the wrapped final one included, which styling `::part(base)` as a ce
65
65
  cannot do (once the chips wrap, the row fills the available inline size and each line packs to the
66
66
  start). `--lr-suggestion-chips-hover-bg` (default `var(--lr-color-brand-quiet)`) — a `chip`'s
67
67
  background on hover. `--lr-suggestion-chips-hover-border-color` (default `var(--lr-color-brand)`) — a
68
- `chip`'s border color on hover. All three are declared as `var()` fallbacks at the point of use, not
68
+ `chip`'s border color on hover. `--lr-suggestion-chips-hover-color` (default the chip's
69
+ `--lr-suggestion-chips-chip-color`) — a `chip`'s text color on hover and press. All of these are declared as `var()` fallbacks at the point of use, not
69
70
  on `:host`. `--lr-suggestion-chips-disabled-opacity` (default `var(--lr-opacity-disabled)`) — opacity of a chip whose
70
71
  suggestion sets `disabled`. `--lr-suggestion-chips-label-lines` (default `1`; `3` when `wrap` is
71
72
  set) — how many lines a `chip-label` shows before it is clamped with an ellipsis, so full-question
@@ -9,8 +9,8 @@
9
9
  - **Release history** [CHANGELOG.md](../../CHANGELOG.md)
10
10
  - **Deprecations** none
11
11
  - **Optional peers** none
12
- - **Themeable via** 12 parts, 19 custom properties — see this component's own `@csspart`/`@cssprop` list below
13
- - **Tokens by part** (prefer these over a `::part()` rule) `label`: `--lr-switch-label-font-size`, `--lr-switch-label-color`, `--lr-switch-checked-label-color`; `track`: `--lr-switch-invalid-border-color`, `--lr-switch-track-fill`, `--lr-switch-track-border`, `--lr-switch-checked-track-border`
12
+ - **Themeable via** 12 parts, 20 custom properties — see this component's own `@csspart`/`@cssprop` list below
13
+ - **Tokens by part** (prefer these over a `::part()` rule) `label`: `--lr-switch-label-font-size`, `--lr-switch-label-color`, `--lr-switch-checked-label-color`, `--lr-switch-checked-label-font-weight`; `track`: `--lr-switch-invalid-border-color`, `--lr-switch-track-fill`, `--lr-switch-track-border`, `--lr-switch-checked-track-border`
14
14
  - **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
15
15
 
16
16
  ---
@@ -161,7 +161,8 @@ unchecked thumb untouched.
161
161
  `--lr-switch-label-font-size` (default `var(--lr-font-size-md-sm)`) sets `[part='label']`'s text size.
162
162
  `--lr-switch-label-color` (default `var(--lr-color-text)`) controls `[part='label']`'s text color,
163
163
  and is also the checked-state fallback. `--lr-switch-checked-label-color` (default
164
- `var(--lr-switch-label-color)`) independently retints the label only while checked. Both label hooks
164
+ `var(--lr-switch-label-color)`) independently retints the label only while checked, and
165
+ `--lr-switch-checked-label-font-weight` (default `inherit`) weights it. The checked label hooks
165
166
  read the switch's **live** checked state (the same `:state(checked)` custom state the class doc's
166
167
  `@cssstate checked` documents), not the `checked` *attribute* — which instead reflects
167
168
  `defaultChecked`, the form-reset value — so the checked-state hook tracks user interaction correctly
@@ -10,7 +10,7 @@
10
10
  - **Release history** [CHANGELOG.md](../../CHANGELOG.md)
11
11
  - **Deprecations** none
12
12
  - **Optional peers** none
13
- - **Themeable via** 16 parts, 17 custom properties — see this component's own `@csspart`/`@cssprop` list below
13
+ - **Themeable via** 17 parts, 21 custom properties — see this component's own `@csspart`/`@cssprop` list below
14
14
  - **Tokens by part** (prefer these over a `::part()` rule) `panel`: `--lr-tab-group-panel-hover-outline-color`, `--lr-tab-group-panel-hover-outline-offset`, `--lr-tab-group-panel-hover-outline-style`, `--lr-tab-group-panel-hover-outline-width`
15
15
  - **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
16
16
 
@@ -191,7 +191,7 @@ projection slot a standalone `<lr-tab>` uses before a hydrated group assigns its
191
191
  panels; `nav` (the row wrapping the
192
192
  tablist together with the two overflow scroll controls; mirrors the upstream part of the same name),
193
193
  `tablist` and `tabs` (aliases on the `role="tablist"` row of tab buttons and scroll container),
194
- `body` (wrapper around all panels), `scroll-button` and `scroll-button__base` (aliases shared by
194
+ `body` (wrapper around all panels), `scroll-button`, `scroll-button__base` and `scroll-button__button` (aliases shared by
195
195
  both overflow controls), `scroll-button-start`/`scroll-button--start` and
196
196
  `scroll-button-end`/`scroll-button--end` (aliases on the individual
197
197
  controls that scroll the tabs toward their inline start and end — under RTL "start" is the
@@ -219,7 +219,14 @@ an attribute selector after `::part()`), which previously left overriding the li
219
219
  repainting everything else that reads them. Unset, each falls back to the token its rule used
220
220
  before, so rendering is unchanged. The upstream hooks `--indicator-color` (selected indicator),
221
221
  `--track-color` (resting strip rule), and `--track-width` (resting strip-rule thickness) are read
222
- first, with the Lyra/token values as fallbacks. `--lr-tab-group-vertical-nav-max-inline-size`
222
+ first, with the Lyra/token values as fallbacks; `--lr-tab-group-track-width` (default
223
+ `var(--lr-border-width-thin)`) is the Lyra-prefixed strip-rule thickness behind `--track-width`, on
224
+ whichever edge `placement` puts the rule, and the selected underline keeps overlapping it exactly.
225
+ The tab buttons themselves take `--lr-tab-group-tab-padding` (default
226
+ `var(--lr-space-s) var(--lr-space-xs)`), `--lr-tab-group-tab-font-size` (default `inherit`) and
227
+ `--lr-tab-group-tab-min-block-size` (default `auto`, for a taller touch-friendly strip); because the
228
+ group renders the real tab button, these are set on the group or an ancestor, not on `<lr-tab>`.
229
+ `--lr-tab-group-vertical-nav-max-inline-size`
223
230
  (default `var(--lr-size-12rem)`) caps a `start`/`end` nav's logical inline size while still allowing
224
231
  it to shrink in a constrained allocation. Its inline fallback means it can be set on the group or
225
232
  an ancestor; long single-line tab labels ellipsize within the cap rather than expanding the group or
@@ -9,7 +9,7 @@
9
9
  - **Release history** [CHANGELOG.md](../../CHANGELOG.md)
10
10
  - **Deprecations** none
11
11
  - **Optional peers** none
12
- - **Themeable via** 1 part, 1 custom property — see this component's own `@csspart`/`@cssprop` list below
12
+ - **Themeable via** 2 parts, 1 custom property — see this component's own `@csspart`/`@cssprop` list below
13
13
  - **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
14
14
 
15
15
  ---
@@ -25,7 +25,7 @@ announced twice. Show/hide is the group's job too — this element is always pre
25
25
 
26
26
  **Properties:** `name: string = ''` (reflected) — matches the `panel` of the `<lr-tab>` that reveals
27
27
  it; `active: boolean = false` (reflected) — SSR visibility hint, synchronized by the owning group
28
- after hydration. **Events:** none. **Slots:** default (the panel's content). **CSS parts:** `base`
28
+ after hydration. **Events:** none. **Slots:** default (the panel's content). **CSS parts:** `base`, also named `tab-panel`
29
29
  (the content wrapper); the owning group also exposes its outer `panel` wrapper. **Themeable custom
30
30
  properties:** `--padding` (default `0`) — inner padding on the panel's own `base` wrapper.
31
31
 
@@ -9,8 +9,8 @@
9
9
  - **Release history** [CHANGELOG.md](../../CHANGELOG.md)
10
10
  - **Deprecations** none
11
11
  - **Optional peers** none
12
- - **Themeable via** 59 parts, 41 custom properties — see this component's own `@csspart`/`@cssprop` list below
13
- - **Tokens by part** (prefer these over a `::part()` rule) `base`: `--lr-theme-scrollbar-color`, `--lr-theme-scrollbar-gutter`, `--lr-theme-scrollbar-width`; `header-cell`: `--lr-table-header-sorted-bg`; `row`: `--lr-table-row-selected-bg`
12
+ - **Themeable via** 59 parts, 64 custom properties — see this component's own `@csspart`/`@cssprop` list below
13
+ - **Tokens by part** (prefer these over a `::part()` rule) `base`: `--lr-table-border`, `--lr-theme-scrollbar-color`, `--lr-theme-scrollbar-gutter`, `--lr-theme-scrollbar-width`; `caption`: `--lr-table-caption-color`, `--lr-table-caption-font-size`, `--lr-table-caption-font-weight`, `--lr-table-caption-padding`, `--lr-table-caption-text-align`; `header-cell`: `--lr-table-header-sorted-bg`; `row`: `--lr-table-row-selected-bg`
14
14
  - **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
15
15
 
16
16
  ---
@@ -51,7 +51,7 @@ unchanged.
51
51
  bounded to the first 10,000 source positions; blank keys and later duplicates are omitted first-wins
52
52
  before header, cell, sort, focus, and event paths; reassign to update) — `{ key, label, ariaLabel?,
53
53
  headerCell?, width?, minWidth?, maxWidth?,
54
- resizable?, sortable?, sortValue?, defaultSortDir?: 'asc'|'desc', align?: 'start'|'end',
54
+ resizable?, sortable?, rowHeader?: boolean, wrap?: 'wrap'|'nowrap', sortValue?, defaultSortDir?: 'asc'|'desc', align?: 'start'|'end',
55
55
  priority?: 'medium'|'low',
56
56
  sticky?: 'start'|'end', editTrigger?: 'double-click'|'always', editValue?, editLabel?: (row) => string,
57
57
  editType?: 'text'|'number'|'select',
@@ -67,7 +67,15 @@ cell: (row) => unknown }` — `cell` is required for every `editTrigger` except
67
67
  `[part~='cell-content']` element that also carries every whitespace-separated name returned
68
68
  (non-string results are ignored; no wrapper renders when `cellPart` is omitted, and none inside
69
69
  an open inline editor), and a `part` attribute written inside a `cell()` template is equally a
70
- part of the table. Prefix those names (`cell-…`) so they never collide with the table's own parts:
70
+ part of the table. Prefix those names (`cell-…`) so they never collide with the table's own parts.
71
+ **Reserved part names:** every part listed under Parts below — `cell`, `cell-content`,
72
+ `cell-label`, `cell-link`, `cell-editor`, `row`, `header-cell`, `empty-*`, `error-*`,
73
+ `pagination-*` and the rest — is the table's own. A `cellPart` result reusing one (for example
74
+ `cell-label`, which then also matches every `::part(cell-label)` rule for the stacked caption)
75
+ still applies, but a development build warns once per colliding name. For text layout
76
+ (`white-space`, line clamping, `text-overflow`) prefer `cellPart` plus a `::part()` rule over
77
+ `cellStyle`: the wrapper holds only the value, while `cellStyle` lands on the whole `<td>`, which
78
+ in stacked mode also holds the `cell-label` caption:
71
79
 
72
80
  ```ts
73
81
  columns = [{ key: 'name', label: 'Name',
@@ -147,6 +155,18 @@ cell: (row) => unknown }` — `cell` is required for every `editTrigger` except
147
155
  overrides that editor's accessible name — omit it and each editor takes the localized
148
156
  `tableEditCellInRow` name (`Edit {column}, row {row}`) instead, or `tableEditCell` while only one
149
157
  row renders (see the accessibility note under `editTrigger` below)
158
+ `rowHeader: true` renders that column's body cells as `<th scope="row" role="rowheader">` instead
159
+ of `<td role="gridcell">`, so screen readers announce the cell as the row's name while moving
160
+ across its other cells — usually the identifying column. The cell keeps `part="cell"`, gains
161
+ `[data-row-header]`, and looks like its row (`--lr-table-row-header-font-weight`, default
162
+ `inherit`, sets its weight); header clicks, sorting and header keyboard navigation never treat it
163
+ as a column header;
164
+ `wrap: 'wrap' | 'nowrap'` sets line wrapping for that column's body and footer cells (the header
165
+ keeps its single line): `'nowrap'` keeps each value on one line and widens the column instead
166
+ (ids, dates, amounts); `'wrap'` wraps and also breaks an unbroken token (a URL, a hash) inside a
167
+ narrow or fixed-width column. Omitted, values wrap at spaces exactly as before. While stacked, a
168
+ `'nowrap'` column wraps, since a card cannot scroll sideways. The cell carries `[data-wrap]`;
169
+ unknown values are ignored;
150
170
  `cellTitle(row) => string | undefined` is the `title` analogue of `cellStyle`, applied directly to
151
171
  the generated `<td>` — e.g. the untruncated text behind an ellipsized cell, or a formatted
152
172
  timestamp behind a relative one;
@@ -225,7 +245,46 @@ cell: (row) => unknown }` — `cell` is required for every `editTrigger` except
225
245
  The grid/row/gridcell roles, sortable headers (wrapped into a strip above the cards), selection,
226
246
  activation, editing, expansion and `href` links keep working; `sticky` columns stop pinning while
227
247
  stacked. `--lr-table-stack-label-inline-size` (default `40%`) sets the caption's inline size. Unsupported
228
- values normalize to `'never'`, which renders exactly the previous markup
248
+ values normalize to `'never'`, which renders exactly the previous markup. While stacked, the
249
+ `caption` spans the cards' full width.
250
+ - `stackHeader: 'visible'|'sortable'|'hidden' = 'visible'` (`stack-header`, reflected) — what the
251
+ column header strip shows while rows are stacked; no effect on the grid. `'visible'` keeps every
252
+ header wrapped into a strip above the cards. `'sortable'` keeps only the sortable headers, as a
253
+ compact sort strip (no strip at all when no column is sortable); `'hidden'` keeps none, since each
254
+ card's `cell-label` captions already name its values. A header left out of the strip is visually
255
+ hidden, not removed: it still names its column's cells for assistive technology, and it is shown
256
+ again while it holds keyboard focus. Unsupported values normalize to `'visible'`.
257
+
258
+ ```html
259
+ <lr-table caption="Accounts" stack="auto" stack-header="sortable"></lr-table>
260
+ ```
261
+ - `withoutHeaderRow: boolean = false` (`without-header-row`, reflected) — omits the `<thead>`
262
+ entirely, for a table whose columns need no headings (a key/value summary, ideally with a
263
+ `rowHeader` column). Header sorting, column resizing and header keyboard navigation have nothing
264
+ to act on; rows, selection, editing, expansion, sticky columns, priority hiding and the footer
265
+ keep working. Name the grid with `caption` or a host `aria-label`. Same spelling as
266
+ `lr-csv-viewer`'s `without-header-row`.
267
+ - `rowAttributes?: (row, index) => Record<string, string | number | boolean | null | undefined> | undefined`
268
+ (property only) — extra attributes for each body `<tr part="row">`; `index` is the row's 0-based
269
+ position among the rows currently rendered (after sorting, filtering and pagination). Only
270
+ lowercase `data-*` names — except the table's own `data-row-key`/`data-stripe` and the
271
+ `data-lr-*` namespace — plus `aria-label`, `aria-description`, `aria-current` and `aria-rowindex`
272
+ are written. Event handlers (`on*`), `style`, `class`, `id`, `role`, `tabindex` and every other
273
+ name are dropped with a development-build warning. A string or finite number is written as text,
274
+ `true` as an empty attribute, `false`/`null`/`undefined` leave it off, and a name returned on one
275
+ render but not the next is removed. A throwing callback writes nothing for that row. Applied in
276
+ the browser, not in server-rendered markup.
277
+
278
+ ```ts
279
+ table.rowAttributes = (row) => ({ 'data-testid': `account-${row.id}`, 'data-overdue': row.overdue });
280
+ // A delegated listener reads them from the composed path:
281
+ table.addEventListener('click', (event) => {
282
+ const tr = event.composedPath().find((n) => n instanceof HTMLElement && n.localName === 'tr');
283
+ if (tr instanceof HTMLElement && tr.hasAttribute('data-overdue')) openReminder(tr.dataset.testid);
284
+ });
285
+ ```
286
+ Only pseudo-classes may follow `::part()`, so `lr-table::part(row)[data-overdue]` is not valid
287
+ CSS; style a row state through `cellPart` instead.
229
288
  - `layout: 'auto'|'fixed' = 'auto'` (reflected) — a **floor** on the `<table>`'s `table-layout`, not
230
289
  an override. `'fixed'` forces the fixed algorithm even when no column declares a `width`, so every
231
290
  column shares the available width evenly and long cell content is clipped/wrapped instead of
@@ -520,7 +579,7 @@ enabled — fired both from a row activation and from a `selectionMode` flip to
520
579
  an existing multi-row selection down to one key (skipped on the very first render, since an
521
580
  already-inconsistent initial `selectionMode`/`selectedRowKeys` pairing is a starting state, not a
522
581
  live transition), `lr-filter-change`
523
- (frozen readonly `detail: { filterText }`), and `lr-page-change` (frozen readonly `detail: { page }`) from the
582
+ (frozen readonly `detail: { filterText }`), and `lr-page-change` (frozen readonly `detail: { page, pageSize, offset }`) from the
524
583
  filter/pagination surfaces, and `lr-cell-edit` (`detail: { row, columnKey, value }`) for editable
525
584
  columns, and `lr-column-resize` (`detail: { columnKey, width }`, `width` in CSS pixels) on every pointer or
526
585
  keyboard resize step. These notifications are non-cancelable. A final pointer width or keyboard step
@@ -609,7 +668,22 @@ continue to determine row height. Cell content can always grow a row beyond the
609
668
  `--lr-table-cell-link-hover-color` — an anchor returned from a column's `cell(row)` renders inside
610
669
  the component's shadow root, where page CSS cannot reach it and `::part()` cannot select past the
611
670
  first compound selector to reach it either, so without these it computes to the UA default link
612
- blue; set `revert` for the UA default. `--lr-table-cell-padding` (default `var(--lr-space-s)`) sets
671
+ blue; set `revert` for the UA default. `--lr-table-cell-link-font-weight` (default `inherit`) and
672
+ `--lr-table-cell-link-text-decoration` (default `revert`, the UA underline; `none` removes it) restyle
673
+ that anchor at rest, and `--lr-table-cell-link-hover-font-weight` /
674
+ `--lr-table-cell-link-hover-text-decoration` (each falling back to its resting twin) restyle it on hover,
675
+ `:focus-visible` and press. The built-in `filterable` field takes `--lr-table-filter-height` (default
676
+ `var(--lr-input-control-min-height, auto)`, so it lines up with `lr-input`) and
677
+ `--lr-table-filter-font-size` (default `inherit`); `--lr-table-filter-wrap: wrap` with a
678
+ `--lr-table-filter-basis` (for example `12rem`) stacks the field under its label text once the row is too
679
+ narrow for both. The `caption` takes `--lr-table-caption-font-size`, `--lr-table-caption-font-weight`, `--lr-table-caption-color`,
680
+ `--lr-table-caption-text-align` (default `revert`: the UA centring; `start` aligns with the first column) and `--lr-table-caption-padding`.
681
+ `--lr-table-reveal-columns-min-size` (default `0`) sets the minimum inline and block size of the
682
+ reveal-columns button for a larger touch target. `--lr-table-header-bg` fills header cells (the sorted header's `--lr-table-header-sorted-bg` still wins),
683
+ `--lr-table-header-border-color` colours the rule under the header apart from the body rules
684
+ (default `--lr-table-cell-border-color`), `--lr-table-group-bg` fills group cells, and
685
+ `--lr-table-more-button-bg` / `--lr-table-reveal-columns-bg` set the resting fill of those two buttons
686
+ (default none; hover and press keep their own fills). `--lr-table-cell-padding` (default `var(--lr-space-s)`) sets
613
687
  the padding of a header cell, a body cell, and the row-total cell; `--lr-table-cell-padding-compact`
614
688
  (default `var(--lr-space-xs) var(--lr-space-s)`) is the same hook for the group-header cell and the
615
689
  footer cell, which default to a tighter block/inline shorthand rather than sharing the first token
@@ -645,9 +719,14 @@ Every header cell at rest reads `--lr-table-header-color` (default `inherit`),
645
719
  `var(--lr-font-weight-semibold)`). `--lr-table-cell-border-color` (default
646
720
  `var(--lr-color-border-subtle)`) colors the rules between rows: the header cell's bottom rule, every
647
721
  body, group, total, expansion and footer cell rule, and the seam beside a `sticky` column; the outer
648
- frame keeps its own edge.
722
+ frame keeps its own edge, drawn from `--lr-table-border` (a border shorthand, default
723
+ `var(--lr-border-width-thin) solid var(--lr-color-border-subtle)`; `none` drops the frame).
724
+ `--lr-table-cell-line-height` (default `inherit`) sets the line height of body cells only.
649
725
  The `sort-icon` part styles only the indicator; these tokens style the header cell. Use `::part(sort-icon-inactive)` and
650
726
  `::part(sort-icon-active)` to style the two indicator states without private selectors.
727
+ `--lr-table-sort-icon-vertical-align` (default `middle`) moves the icon against the label text, for
728
+ example `text-bottom` or `-0.125em`. Changing the icon's `display` (to `inline-flex`, say) does not
729
+ change its alignment; this token does.
651
730
  `--lr-table-sticky-offset` (default `0`) is measured and written inline per column by the component
652
731
  so multiple `sticky` columns stack instead of overlapping; it is a read-out, not a knob you set.
653
732
  `--lr-table-heat-t` is likewise component-written (each `[data-heat]` cell's position on the ramp).
@@ -9,6 +9,6 @@
9
9
  - **Release history** [CHANGELOG.md](../../CHANGELOG.md)
10
10
  - **Deprecations** none
11
11
  - **Optional peers** none
12
- - **Themeable via** 8 parts, 26 custom properties — see `lr-badge.md`
12
+ - **Themeable via** 9 parts, 28 custom properties — see `lr-badge.md`
13
13
  - **Documented with** `lr-badge`: see [lr-badge.md](./lr-badge.md).
14
14
  - **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
@@ -9,7 +9,7 @@
9
9
  - **Release history** [CHANGELOG.md](../../CHANGELOG.md)
10
10
  - **Deprecations** none
11
11
  - **Optional peers** none
12
- - **Themeable via** 13 parts, 24 custom properties — see this component's own `@csspart`/`@cssprop` list below
12
+ - **Themeable via** 13 parts, 30 custom properties — see this component's own `@csspart`/`@cssprop` list below
13
13
  - **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
14
14
 
15
15
  ---
@@ -250,6 +250,15 @@ With no label text the part is hidden and no glyph is painted.
250
250
  - `--lr-form-control-focus-shadow` (default `none`) — the shared field halo, painted as a
251
251
  `box-shadow` while the field holds focus. One name for every field-shaped control in the library,
252
252
  so a halo is configured once instead of per component; additive to the brand border.
253
+ - `--lr-form-control-transition` (default `none`) — opt-in `transition` for the field's border and halo
254
+ (for example `border-color 150ms, box-shadow 150ms`), honoured by `lr-input`, `lr-textarea`,
255
+ `lr-combobox` and `lr-select` (the textarea default stays its border-color ease); always off under `prefers-reduced-motion: reduce`.
256
+ - `--lr-form-control-focus-outline` (`lr-select` trigger; default the standard focus ring) — opt-in
257
+ `outline` shorthand that replaces the keyboard outline so an app's own halo can stand in. Pair it with
258
+ `--lr-form-control-focus-shadow` or a border colour that still marks focus: a visible indicator is the
259
+ accessibility contract, and forced colours always restores the standard ring.
260
+ - `--lr-select-open-shadow` (`lr-select`; default `--lr-form-control-focus-shadow`) — the halo while the
261
+ listbox is open.
253
262
 
254
263
  `<lr-textarea>` fills an explicitly sized host: give the host a block size (`block-size: 100%`
255
264
  inside a container with a resolved block size, a pixel size, or a flex/grid allocation) and the
@@ -267,3 +276,10 @@ including when that allocation shrinks after the content renders.
267
276
  ---
268
277
 
269
278
  The start-placed label aligns to the first line of the field, measured with `--lr-form-control-height`.
279
+
280
+ Further custom properties:
281
+
282
+ - `--lr-form-control-label-block-gap` (default `var(--lr-space-xs)`): Space between a label above the field and the field, in top placement and once a `label-placement="start"` row collapses.
283
+ - `--lr-form-control-label-line-height` (default `inherit`): Line height of the field label.
284
+ - `--lr-form-control-label-text-align` (default `inherit`): Text alignment of the field label.
285
+ - `--lr-form-control-label-text-transform` (default `inherit`): Text transform of the field label.
@@ -9,7 +9,7 @@
9
9
  - **Release history** [CHANGELOG.md](../../CHANGELOG.md)
10
10
  - **Deprecations** none
11
11
  - **Optional peers** none
12
- - **Themeable via** 46 parts, 37 custom properties — see this component's own `@csspart`/`@cssprop` list below
12
+ - **Themeable via** 46 parts, 40 custom properties — see this component's own `@csspart`/`@cssprop` list below
13
13
  - **Tokens by part** (prefer these over a `::part()` rule) `search-input`: `--lr-thread-list-search-hover-border-color`
14
14
  - **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
15
15
 
@@ -391,7 +391,9 @@ resolves them to that tier's shared form-control height and font size.
391
391
  `--lr-thread-list-search-padding-block` (default `var(--lr-space-xs)`) and
392
392
  `--lr-thread-list-search-radius` (default `var(--lr-radius)`) are replaced by the tier's shared
393
393
  form-control values when `size` is set. `--lr-thread-list-search-clear-size` (default
394
- `var(--lr-icon-button-size)`) is the clear button's box; it never follows `size`, because that button is
394
+ `var(--lr-icon-button-size)`) is the clear button's box; `--lr-thread-list-search-bg` (default
395
+ `var(--lr-color-surface)`), `--lr-thread-list-search-border-color` (default `var(--lr-color-border)`)
396
+ and `--lr-thread-list-search-color` (default `var(--lr-color-text)`) paint the search field; it never follows `size`, because that button is
395
397
  a tap target floored at `--lr-icon-button-size` rather than a text box, so only a larger value changes it. Every one of these wins over
396
398
  the tier, so a consumer can take a tier and then move one value.
397
399
  `--lr-thread-list-search-hover-border-color` (default `var(--lr-color-brand)`) is the hovered search