@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,7 +9,7 @@
9
9
  - **Release history** [CHANGELOG.md](../../CHANGELOG.md)
10
10
  - **Deprecations** none
11
11
  - **Optional peers** `shiki` — see `llms/peers.md`
12
- - **Themeable via** 16 parts, 25 custom properties — see this component's own `@csspart`/`@cssprop` list below
12
+ - **Themeable via** 21 parts, 42 custom properties — see this component's own `@csspart`/`@cssprop` list below
13
13
  - **Tokens by part** (prefer these over a `::part()` rule) `body`: `--lr-code-block-max-height`, `--lr-theme-scrollbar-color`, `--lr-theme-scrollbar-gutter`, `--lr-theme-scrollbar-width`; `code`: `--lr-code-block-font`; `header`: `--lr-code-block-language-bg`; `language`: `--lr-code-block-language-bg`, `--lr-code-block-language-color`; `pre`: `--lr-code-block-font`, `--lr-code-block-tab-size`
14
14
  - **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
15
15
 
@@ -41,8 +41,10 @@ highlighted markup.
41
41
 
42
42
  A `language` value absent from `languages` always renders the plain `<pre><code>` fallback — there is
43
43
  no default/full-table highlighter here to fall back to, unlike `<lr-code-block>`'s dynamic-import
44
- path for an unmapped language. That fallback is the _default_ rendering path, not a degraded one,
45
- same as `<lr-code-block>`'s own plain-text fallback. Everything else — `code`/`language`/
44
+ path for an unmapped language, and reports `:state(error)` with an `lr-load` whose `detail.highlighted` is `false`. That fallback is
45
+ the _default_ rendering path, not a degraded one, same as `<lr-code-block>`'s own plain-text
46
+ fallback. The custom states, `lr-load`, the `copy-button__*` parts and the syntax color properties
47
+ behave as described for `<lr-code-block>`. Everything else — `code`/`language`/
46
48
  `filename`/`withoutCopyButton`/`collapsible`/`collapsed`/`maxHeight`, the copy button, the collapse header
47
49
  toggle, the loading-skeleton behavior while the fine-grained highlighter resolves — matches
48
50
  `<lr-code-block>` exactly, including its CSS parts, themeable custom properties, and stylesheet
@@ -103,6 +105,9 @@ The collapse control keeps the constant `codeBlockToggle` name (`Toggle code`) i
103
105
  reports its state through `aria-expanded`.
104
106
  A synchronous write to `collapsed` in an `lr-toggle-request` listener owns the state change.
105
107
 
108
+ More properties: `without-copy`: see the component JSDoc. `without-dedent`: see the component JSDoc.
109
+ `wrap`: see the component JSDoc.
110
+
106
111
  **Methods:** `scrollToAnchor(target)` — resolves a `line-range` anchor (or a `highlights` id string
107
112
  resolving to one) by scrolling its start line into view within `[part="body"]`; resolves `false`
108
113
  when the anchor isn't a `line-range`, the id isn't found, or the start line is out of bounds.
@@ -110,9 +115,10 @@ when the anchor isn't a `line-range`, the id isn't found, or the start line is o
110
115
  Identical behavior to `<lr-code-block>`'s own method.
111
116
 
112
117
  **Events:** the same fulfilled-only `lr-copy`, generic `lr-error`, full `lr-copy-error`, cancelable
113
- `lr-toggle-request`, committed `lr-toggle`, and `lr-line-activate` contracts as `<lr-code-block>`;
114
- `lr-text-select` (`detail: { text, anchor, rects }` — a text selection inside the code
115
- body ended; `anchor` is a `line-range` anchor covering the selected lines).
118
+ `lr-toggle-request`, committed `lr-toggle`, `lr-load`, and `lr-line-activate` contracts as
119
+ `<lr-code-block>` (`lr-load` carries `detail: { highlighted }` once highlighting settles for the
120
+ current `language`); `lr-text-select` (`detail: { text, anchor, rects }` — a text selection inside
121
+ the code body ended; `anchor` is a `line-range` anchor covering the selected lines).
116
122
 
117
123
  **Slots:** `header-actions` — identical to `<lr-code-block>`'s own slot.
118
124
 
@@ -120,9 +126,16 @@ body ended; `anchor` is a `line-range` anchor covering the selected lines).
120
126
  `copy-button-icon`, `copy-button-control`, `header-actions`, `toggle`, `body`, `pre`, `code`, `line-highlight`, `line-button`, `limit` —
121
127
  identical set to `<lr-code-block>`.
122
128
 
129
+ Further CSS parts: `copy-button__button`: Alias of `copy-button-control`. `copy-button__copy-icon`:
130
+ The copy glyph at rest while `copyAppearance` is `'icon'`. `copy-button__error-icon`: The error
131
+ glyph after a failed copy while `copyAppearance` is `'icon'`. `copy-button__feedback`: Visually
132
+ hidden, `aria-hidden` mirror of the copy outcome text; empty at rest. `copy-button__success-icon`:
133
+ The check glyph after a successful copy while `copyAppearance` is `'icon'`.
134
+
123
135
  **Themeable custom properties:** identical to `<lr-code-block>`, including `--lr-code-block-padding`,
124
- `--lr-code-block-radius`, `--lr-code-block-header-bg`, `--lr-code-block-header-color` and
125
- `--lr-code-block-line-number-color`, and the `--lr-code-block-toggle-bg*` and
136
+ `--lr-code-block-radius`, `--lr-code-block-border`, `--lr-code-block-bg`,
137
+ `--lr-code-block-header-bg`, `--lr-code-block-header-padding`, `--lr-code-block-header-border`,
138
+ `--lr-code-block-header-color` and `--lr-code-block-line-number-color`, and the `--lr-code-block-toggle-bg*` and
126
139
  `--lr-code-block-gutter-bg*` state tokens. `--lr-code-block-max-height`
127
140
  (independently settable; an authored `max-height` attribute wins inline),
128
141
  `--lr-code-block-font`, `--lr-code-block-tab-size` (default `2`, applied to `[part='pre']`),
@@ -138,6 +151,21 @@ for the full rationale, including why `<lr-markdown>`/`<lr-markdown-core>` must
138
151
  fallback separately. `base` is a flex column and `body` grows to fill whatever block space a
139
152
  explicitly sized host gives it too, identically to `<lr-code-block>` above.
140
153
 
154
+ More themeable custom properties: `--comment-color`: Color of highlighted comments and quotes. Unset
155
+ keeps the theme color. `--constant-color`: Color of highlighted numbers, booleans, constants and
156
+ entities. Unset keeps the theme color. `--deleted-color`: Color of highlighted deleted diff lines.
157
+ Unset keeps the theme color. `--function-color`: Color of highlighted functions and decorators.
158
+ Unset keeps the theme color. `--inserted-color`: Color of highlighted inserted diff lines. Unset
159
+ keeps the theme color. `--keyword-color`: Color of highlighted keywords, storage modifiers, doctypes
160
+ and headings. Unset keeps the theme color. `--operator-color`: Color of highlighted operators and
161
+ punctuation. Unset keeps the theme color. `--property-color`: Color of highlighted properties, keys
162
+ and attribute names. Unset keeps the theme color. `--selector-color`: Color of highlighted CSS
163
+ selectors. Unset keeps the theme color. `--string-color`: Color of highlighted strings, regular
164
+ expressions, links and raw text. Unset keeps the theme color. `--tag-color`: Color of highlighted
165
+ markup tags. Unset keeps the theme color. `--type-color`: Color of highlighted types, classes and
166
+ built-ins. Unset keeps the theme color. `--variable-color`: Color of highlighted variables and
167
+ interpolations. Unset keeps the theme color.
168
+
141
169
  **Optional peer deps:** `shiki` (specifically its `shiki/core`, `shiki/engine/javascript` (the default), and `shiki/themes/github-{light,dark}.mjs` subpaths — never
142
170
  `shiki`'s main entry point, which is what carries the ~200-language table this component exists to
143
171
  avoid). Building the
@@ -9,7 +9,7 @@
9
9
  - **Release history** [CHANGELOG.md](../../CHANGELOG.md)
10
10
  - **Deprecations** none
11
11
  - **Optional peers** `shiki` — see `llms/peers.md`
12
- - **Themeable via** 16 parts, 25 custom properties — see this component's own `@csspart`/`@cssprop` list below
12
+ - **Themeable via** 21 parts, 42 custom properties — see this component's own `@csspart`/`@cssprop` list below
13
13
  - **Tokens by part** (prefer these over a `::part()` rule) `body`: `--lr-code-block-max-height`, `--lr-theme-scrollbar-color`, `--lr-theme-scrollbar-gutter`, `--lr-theme-scrollbar-width`; `code`: `--lr-code-block-font`; `header`: `--lr-code-block-language-bg`; `language`: `--lr-code-block-language-bg`, `--lr-code-block-language-color`; `pre`: `--lr-code-block-font`, `--lr-code-block-language-color`, `--lr-code-block-tab-size`
14
14
  - **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
15
15
 
@@ -19,8 +19,8 @@
19
19
 
20
20
  Assign new `languages` or `languageLoaders` maps to update available grammars. The component preserves the identity of a supplied concrete map.
21
21
 
22
- Fenced code display with optional lazy syntax highlighting and a copy button. First-party invention
23
- (no Web Awesome equivalent). It lazily loads the optional `shiki` peer for syntax highlighting and
22
+ Fenced code display with optional lazy syntax highlighting and a copy button. Mirrors Web Awesome's
23
+ `wa-code-highlighter`. It lazily loads the optional `shiki` peer for syntax highlighting and
24
24
  includes a compact GreyCat/GCL grammar because
25
25
  Shiki does not bundle one. It falls back to a plain `<pre><code>` when that peer isn't installed or
26
26
  `language` is unset/unrecognized. That
@@ -63,6 +63,15 @@ through an activatable gutter reuses the source lines and updates the previous a
63
63
  - `collapsible: boolean = false` (reflected) — shows the collapse/expand chevron button
64
64
  - `collapsed: boolean = false` (reflected) — only has a visible effect while `collapsible` is also
65
65
  true
66
+ - `wrap: boolean = false` (reflected) — wraps long lines instead of scrolling horizontally, in plain
67
+ and highlighted rendering alike.
68
+ - Light-DOM source: with an empty `code`, the element's own text (text nodes, `<script
69
+ type="text/plain">` or `<template>`; children with a `slot` attribute are skipped) is the source,
70
+ dedented, and edits are followed. `withoutDedent: boolean = false` (attribute `without-dedent`,
71
+ reflected) keeps it as written except the newline right after the opening tag. A non-empty `code`
72
+ wins and is never dedented.
73
+ - Aliases: `label` (accessible name; host `aria-label` wins) and `without-copy`
74
+ (= `without-copy-button`; `withoutCopy: boolean = false`, reflected whichever spelling set it).
66
75
  - `withoutCopyButton: boolean = false` (attribute `without-copy-button`, reflected) — hides the
67
76
  copy-to-clipboard button, which is shown by default.
68
77
  - `maxHeight: string = ''` (attribute `max-height`) — a CSS length (e.g. `"20rem"`); once set, the
@@ -123,7 +132,11 @@ when the anchor isn't a `line-range`, the id isn't found, or the start line is o
123
132
 
124
133
  **Events:** `lr-copy` (frozen `detail: { ok: true, text }` — fires only after the raw `code` value
125
134
  was written successfully), `lr-error` (`detail: null` — generic notification when clipboard writing
126
- fails), `lr-copy-error` (frozen `detail: { ok: false, text, reason, error }`, where `reason` is
135
+ fails; `lr-copy-error` carries the full failure), `lr-load` (`detail: { highlighted: boolean }` —
136
+ `true` when the grammar loaded and the code was highlighted, fired again whenever new highlighted
137
+ output replaces the old; `false` once when no grammar exists for the current `language` and the code
138
+ renders as plain text, alongside `:state(error)`; unlike `wa-error`, a missing grammar never fires
139
+ `lr-error`), `lr-copy-error` (frozen `detail: { ok: false, text, reason, error }`, where `reason` is
127
140
  `'unsupported' | 'denied' | 'failed'`), `lr-toggle-request` (cancelable;
128
141
  `detail: { expanded }` is the proposed next state; canceling leaves the host `collapsed` property
129
142
  unchanged),
@@ -133,7 +146,8 @@ unchanged),
133
146
  `lr-text-select` (`detail: { text, anchor, rects }` — a text selection inside the code body ended;
134
147
  `anchor` is a `line-range` anchor covering the selected lines)
135
148
 
136
- **Slots:** `header-actions` — extra controls for the header row, rendered after the copy control.
149
+ **Slots:** default — the code as light-DOM text when `code` is empty (read as source, not
150
+ projected; see light-DOM source above). `header-actions` — extra controls for the header row, rendered after the copy control.
137
151
  Their presence alone is enough to render the header, and appending or removing such a child at any
138
152
  time brings the header into existence or retires it (the host's own light DOM is observed; no
139
153
  property write is needed).
@@ -142,7 +156,11 @@ property write is needed).
142
156
  `copy-button` (the copy control, a composed `<lr-icon-button>` as of 16.0.0; it also carries
143
157
  `copy-button-text` or `copy-button-icon` for the active `copyAppearance`, so match it by token —
144
158
  `[part~="copy-button"]` — not by exact value), `copy-button-text` / `copy-button-icon` (the copy
145
- control in each appearance), `copy-button-control` (the copy control's own native `<button>`),
159
+ control in each appearance), `copy-button-control` (the copy control's own native `<button>`;
160
+ `copy-button__button` is the same node), `copy-button__copy-icon` / `copy-button__success-icon` /
161
+ `copy-button__error-icon` (the icon-appearance glyph at rest, after a successful copy and after a
162
+ failed one), `copy-button__feedback` (visually hidden, `aria-hidden` mirror of the copy outcome text,
163
+ empty at rest),
146
164
  `header-actions` (the wrapper around the `header-actions` slot; it carries the `hidden` attribute
147
165
  and computes to `display: none` whenever nothing is assigned, so an empty slot contributes no
148
166
  header gap — a rule that sets `display` on it must qualify itself with `:not([hidden])`),
@@ -166,9 +184,30 @@ border simply has no default to relay, which is different from border theming be
166
184
  remains the one exception that does not cross this way: use `--lr-theme-icon-button-size`, never
167
185
  `--lr-icon-button-size`, as noted above.
168
186
 
187
+ **Custom states:** `:state(loading)` (a `language` is set and its grammar or the highlighter is
188
+ still loading), `:state(error)` (no grammar exists for the current `language`; plain text renders),
189
+ `:state(highlighted)` (the code is rendered with syntax highlighting). None applies while
190
+ `language` is unset or the source exceeds the highlighting ceiling.
191
+
192
+ **Syntax colors:** `--comment-color`, `--keyword-color`, `--operator-color`, `--string-color`,
193
+ `--constant-color`, `--function-color`, `--type-color`, `--variable-color`, `--property-color`,
194
+ `--tag-color`, `--selector-color`, `--inserted-color` and `--deleted-color` recolor highlighted
195
+ tokens of that category in both the light and dark themes. Each is unset by default, which keeps
196
+ the Shiki theme's own token color. Tokens are classified from their TextMate scopes; the plain-text
197
+ fallback has no tokens to recolor.
198
+
199
+ ```css
200
+ lr-code-block { --keyword-color: var(--lr-color-brand); --string-color: var(--lr-color-success); }
201
+ ```
202
+
169
203
  **Themeable custom properties:** `--lr-code-block-padding` controls code padding, `--lr-code-block-radius`
170
204
  controls the frame corners, and `--lr-code-block-header-bg`, `--lr-code-block-header-color` and
171
205
  `--lr-code-block-line-number-color` set the header background, filename color and gutter color.
206
+ `--lr-code-block-border` (default `var(--lr-border-width-thin) solid var(--lr-color-border-subtle)`)
207
+ and `--lr-code-block-bg` (default `var(--lr-color-surface)`; highlighted code paints its theme
208
+ background over it) style the frame; `--lr-code-block-header-padding` (default `var(--lr-space-xs)
209
+ var(--lr-space-s)`) and `--lr-code-block-header-border` (default `var(--lr-border-width-thin) solid
210
+ var(--lr-color-border-subtle)`, the rule under the header) style the header.
172
211
  `--lr-code-block-toggle-bg`, `--lr-code-block-toggle-hover-bg`, and `--lr-code-block-toggle-active-bg`
173
212
  style the disclosure. `--lr-code-block-gutter-bg`, `--lr-code-block-gutter-hover-bg`, and
174
213
  `--lr-code-block-gutter-active-bg` style the line buttons. Each token applies to its own state.
@@ -9,7 +9,7 @@
9
9
  - **Release history** [CHANGELOG.md](../../CHANGELOG.md)
10
10
  - **Deprecations** none
11
11
  - **Optional peers** none
12
- - **Themeable via** 8 parts, 29 custom properties — see this component's own `@csspart`/`@cssprop` list below
12
+ - **Themeable via** 8 parts, 34 custom properties — see this component's own `@csspart`/`@cssprop` list below
13
13
  - **Tokens by part** (prefer these over a `::part()` rule) `editor`: `--lr-code-editor-radius`, `--lr-theme-scrollbar-width`, `--lr-theme-scrollbar-gutter`, `--lr-theme-scrollbar-color`
14
14
  - **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
15
15
 
@@ -165,6 +165,9 @@ of them on `:root` or any ancestor for one declaration to retheme every internal
165
165
  the library, including `lr-table`,
166
166
  `lr-virtual-list`, `lr-scroller`, `lr-carousel`, and `lr-code-block`.
167
167
 
168
+ More themeable custom properties: `--lr-form-control-label-line-height` (default `inherit`): Line
169
+ height of the field label.
170
+
168
171
  **Known gotchas:**
169
172
 
170
173
  - Keyboard contract (no keyboard trap, WCAG 2.1.2): Tab inserts one indent unit of spaces at the
@@ -180,3 +183,10 @@ the library, including `lr-table`,
180
183
  **Additional API surface:** `click()` activates the internal editing surface.
181
184
 
182
185
  The start-placed label aligns to the first line of the field, measured with `--lr-form-control-height`.
186
+
187
+ Further custom properties:
188
+
189
+ - `--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.
190
+ - `--lr-form-control-label-line-height` (default `inherit`): Line height of the field label.
191
+ - `--lr-form-control-label-text-align` (default `inherit`): Text alignment of the field label.
192
+ - `--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** 44 parts, 44 custom properties — see this component's own `@csspart`/`@cssprop` list below
12
+ - **Themeable via** 47 parts, 49 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
  ---
@@ -231,7 +231,7 @@ layer closes.
231
231
  **CSS parts:** `base` (permanent compatibility name on the same field wrapper as `color-picker`),
232
232
  `color-picker` (the field wrapper; it is the same node as `base` and `form-control`),
233
233
  `form-control` (the field wrapper; it is the same node as `base` and `color-picker`),
234
- `form-control-label` (the label; `label` is its permanent compatibility name), `trigger-container`
234
+ `form-control-label` (the label; `label` is its permanent compatibility name), `trigger-container` (also `form-control-input`)
235
235
  (the row wrapping the trigger), `trigger` (the swatch button that
236
236
  opens the panel), `panel` (the positioned `role="dialog"` surface), `grid` (the
237
237
  saturation/brightness square) and `grid-handle` (its draggable, keyboard-operable handle),
@@ -240,11 +240,11 @@ saturation/brightness square) and `grid-handle` (its draggable, keyboard-operabl
240
240
  token, so `::part(slider)` styles both ramps while `::part(hue-slider)` reaches only one; the
241
241
  opacity pair renders only with `opacity` set), `preview` (the current-colour dot beside the ramps),
242
242
  `input` (the text field holding the serialized value), `format-button` (the format-cycling button,
243
- absent with either format-toggle suppression property), plus `format-button__base`,
243
+ absent with either format-toggle suppression property), plus `format-button__base` and `format-button__button` (same node),
244
244
  `format-button__start`/`format-button__prefix`, `format-button__label`,
245
245
  `format-button__end`/`format-button__suffix`, and `format-button__caret`;
246
246
  `eyedropper-button` / `eye-dropper-button` (rendered only where the browser exposes the EyeDropper
247
- API), with the corresponding `eyedropper-button__base|start|label|end|caret` and Shoelace
247
+ API), with the corresponding `eyedropper-button__base|button|start|label|end|caret` and Shoelace
248
248
  `eye-dropper-button__base|prefix|label|suffix|caret` aliases; `swatches` (the palette container, rendered only when the normalized `swatches`
249
249
  list is non-empty), `swatch` (one palette entry), `swatch-icon` (a swatch entry's optional
250
250
  decorative icon, inert and `aria-hidden`), `swatch-selected` (a token **added to** the
@@ -263,6 +263,9 @@ above, not a copy of it, so `--lr-form-control-required-content`,
263
263
  here exactly as they do on `lr-input`. With no label text the part is hidden and no glyph is
264
264
  painted. Also `swatch-check` (the check-mark icon inside the selected swatch).
265
265
 
266
+ Further CSS parts: `eyedropper-button__button`: Web Awesome-named alias on the same node as
267
+ `eyedropper-button`.
268
+
266
269
  **Themeable custom properties:** `--lr-color-picker-swatch-size` sizes the centered visible swatch,
267
270
  not the button's minimum target. Its private default follows `size` (default `'m'` reads `2.25rem`,
268
271
  `'2xs'` reads `1.25rem`, etc.), matching the visual-density ladder `lr-input` uses. The trigger's
@@ -322,6 +325,9 @@ over it; otherwise it wins over this control's own mirrored `absolute` default.
322
325
  `:root`, a theme, or a single clipping ancestor changes every unset color picker beneath it instead
323
326
  of authoring `positioning-strategy`/`hoist` on each instance.
324
327
 
328
+ More themeable custom properties: `--lr-form-control-label-line-height` (default `inherit`): Line
329
+ height of the field label.
330
+
325
331
  **Additional API surface:**
326
332
 
327
333
  - `click()` — In popup mode activates the trigger, opening or closing the panel; in inline mode
@@ -383,3 +389,10 @@ of authoring `positioning-strategy`/`hoist` on each instance.
383
389
  entry in the text field is discarded rather than reappearing on the next open.
384
390
 
385
391
  The start-placed label aligns to the first line of the field, measured with `--lr-form-control-height`.
392
+
393
+ Further custom properties:
394
+
395
+ - `--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.
396
+ - `--lr-form-control-label-line-height` (default `inherit`): Line height of the field label.
397
+ - `--lr-form-control-label-text-align` (default `inherit`): Text alignment of the field label.
398
+ - `--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** 35 parts, 49 custom properties — see this component's own `@csspart`/`@cssprop` list below
12
+ - **Themeable via** 41 parts, 54 custom properties — see this component's own `@csspart`/`@cssprop` list below
13
13
  - **Tokens by part** (prefer these over a `::part()` rule) `combobox`: `--lr-combobox-gap`, `--lr-combobox-radius`; `form-control-label`: `--lr-form-control-required-content`; `listbox`: `--lr-theme-scrollbar-color`, `--lr-theme-scrollbar-gutter`, `--lr-theme-scrollbar-width`; `option-badge`: `--lr-combobox-option-badge-bg`
14
14
  - **Documented with** `lr-option` (same section below)
15
15
  - **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
@@ -173,6 +173,8 @@ zoom on focus; see "Touch font floor".
173
173
  otherwise followed by implicit form submission) and when focus leaves; the text stays after blur,
174
174
  and reopening edits it in place instead of blanking the field. Escape closes the list and drops
175
175
  an uncommitted edit. No `allow-custom-value` is needed, and no unknown-value badge is shown.
176
+ `value = ''` means no value here, like clearing the text: the placeholder shows and `required`
177
+ reports `valueMissing`.
176
178
  The list opens on focus in every mode, and a press on the already-focused input reopens it:
177
179
 
178
180
  ```html
@@ -309,7 +311,7 @@ matches"` in the built-in English locale); any supplied string, including `''`,
309
311
  A supplied template wins verbatim over `.strings`, including when it equals that English
310
312
  template or is empty; `{n}` is still replaced with the locale-formatted hidden count
311
313
  - `filter: OptionFilter | null = null` (attribute: false — `(option, query) => boolean`; default
312
- matches `label`/`searchText` case-insensitively; ignored while `source` is set)
314
+ matches `label`/`searchText` case-insensitively; ignored while `source` is set or `server` is on)
313
315
  - `source: ComboboxSource | null = null` (attribute: false — `(query: string, options: { signal:
314
316
  AbortSignal; limit: number }) => Promise<readonly ComboboxSourceRow[] | { rows, total? }>`; when set, replaces the light-DOM `<lr-option>`
315
317
  list with an async lookup, debounced by `sourceDelay` ms after each keystroke and re-run on
@@ -328,7 +330,33 @@ AbortSignal; limit: number }) => Promise<readonly ComboboxSourceRow[] | { rows,
328
330
  including an identical retry, while raw caught error text stays out of the UI.)
329
331
  - `sourceDelay: number = 200` (attribute `source-delay` — debounce in ms between the last keystroke
330
332
  and the `source` call; `0` fires on every keystroke. Sanitized to a finite non-negative duration,
331
- falling back to `200` for a non-finite value)
333
+ falling back to `200` for a non-finite value). `filterDebounce` (attribute `filter-debounce`) is the
334
+ same setting under its upstream name.
335
+ Unset, it stays `200`, where Web Awesome's `filter-debounce` defaults to `250`; write
336
+ `filter-debounce="250"` to match that timing.
337
+ - `dataSource: ((request: ComboboxRequest) => Promise<ComboboxOptions> | ComboboxOptions) | null = null`
338
+ (attribute: false) — the single-argument provider shape: it receives `{ query, signal }` and returns
339
+ option objects (`{ value, label, disabled? }` plus any `source` row field), option elements, a
340
+ `{ rows, total }` envelope, or a string of option markup, directly or as a promise. Elements and
341
+ markup contribute only their `value` attribute, label text and `disabled` state; markup is parsed
342
+ into an inert document and never inserted, so nothing in it runs; only its top-level `<option>` or
343
+ `*-option` elements become rows. It drives the same pipeline as
344
+ `source` (debounce, `lr-options-request`, cancellation, loading and failed states, row ceilings).
345
+ Assigning either provider replaces the other, and `dataSource` reads `null` once `source` is
346
+ assigned; `source` keeps its `(query, { signal, limit })` shape.
347
+ - `server: boolean = false` (attribute `server`, reflected) — server mode without a provider:
348
+ client-side filtering is off (`filter` is ignored and every `<lr-option>` child shows), and each
349
+ request is announced through `lr-options-request` instead. Typing requests after the
350
+ `source-delay`/`filter-debounce` wait; opening the listbox and `reload()` request at once.
351
+ Scheduling a request sets `loading`; the host replaces the `<lr-option>` children for
352
+ `detail.query`, then sets `loading = false`, and drops an answer whose `detail.signal` has aborted.
353
+ Options already shown stay visible while `loading` is set, with the in-field `spinner`; the
354
+ `loading` row appears only while no option is shown. A `source`/`dataSource` provider takes
355
+ precedence over the flag.
356
+ - `currentOption: LyraOption | undefined` — the `<lr-option>` behind the keyboard-active
357
+ row, or `undefined` while none is active, the listbox is closed, or the active row is an async or
358
+ synthetic row with no option element. It clears as soon as that option stops being available. Assigning a shown, available option moves
359
+ the highlight to it (selecting nothing, emitting nothing); any other value clears the highlight.
332
360
  - `maxRender: number = 200` (attribute `max-render`) — ordinary suggestion-prefix size, retaining
333
361
  active and selected options within an absolute 1,000-row ceiling. The active option has priority;
334
362
  selections remain committed even when every selected row cannot mount. Zero omits the ordinary
@@ -397,7 +425,8 @@ minimum at zero when empty-query label lookup or immediate catalog browsing is r
397
425
  **Methods:** `focus(options?)`, `blur()`, `select()`, `setSelectionRange()`, and `setRangeText()`
398
426
  forward to the internal input. `setRangeText()` synchronizes the filter query and visible options.
399
427
  `show(): Promise<void>` and `hide(): Promise<void>` settle after `lr-after-show` and
400
- `lr-after-hide`, respectively. `refresh(): void` re-runs the current `source` query without changing
428
+ `lr-after-hide`, respectively. `reload(): void` is an alias of `refresh()`; in `server` mode both
429
+ announce a fresh `lr-options-request`. `refresh(): void` re-runs the current `source` query without changing
401
430
  the source's identity, its debounce controller, or its delay. Reassigning `source` is a provider
402
431
  change and clears the fetched rows and pending-selection cache; `refresh()` does not. It queues for
403
432
  the next open while the listbox is closed, and is a no-op without a `source`. `resetValidity()`
@@ -502,6 +531,11 @@ never shows the raw error. A current request that rejects with `AbortError` (one
502
531
  not abort itself) is a failure like any other rejection; the previous query's results are not kept
503
532
  as its answer.
504
533
  Rejections from superseded or disconnected requests are ignored.
534
+ `lr-options-request` fires before each `source`/`dataSource` call and for each `server`-mode request (after the debounce, only while the call is still
535
+ current): `detail: { query, signal }`, where `signal` is the `AbortSignal` the source receives, aborted
536
+ when a newer request supersedes it, `source` is reassigned, or the control disconnects. It is bubbling,
537
+ composed and not cancelable. `lr-options-error` fires with `lr-source-error` for the same rejection with
538
+ `detail: { error, request: { query } }`; both events stay.
505
539
  `lr-retry-request` is cancelable; the built-in failed-load action calls `refresh()`, and `preventDefault()`
506
540
  leaves the failure on screen. While the failure state is the only popup content, the popup swaps
507
541
  `role="listbox"` for `role="dialog"` (the input gains the matching `aria-haspopup="dialog"` and
@@ -572,13 +606,17 @@ attribute when provided), plus two adornment slots:
572
606
  - `source-error` — replaces the built-in failed-`source` state, retry control included. Deliberately
573
607
  named apart from the form-control `error` slot: they are different failures and a field has to be
574
608
  able to show both.
609
+ - `empty`, `no-results` and `loading` — replace the listbox status row shown while no option is
610
+ available and nothing is typed, while the typed query matches nothing, and while options load.
611
+ Each falls back to `empty-text`/`loading-text`, else the localized `noMatches`/`loading` copy.
575
612
 
576
613
  **CSS parts:** `form-control`, `form-control-label`, `label`, `form-control-input`, `combobox`,
577
614
  `start` and `end` (the two
578
615
  adornment-slot wrappers, each `hidden` while nothing is slotted into it), `tags`, `tag`,
579
616
  `tag-overflow` (the "+N" indicator, carried alongside `tag` past `max-options-visible`,
580
617
  mirroring `lr-select`'s identical two-part overflow chip), `tag-label`, `tag__content`,
581
- `tag__remove-button`, `tag__remove-button__base`, `combobox-input`,
618
+ `tag__remove-button`, `tag__remove-button__base`, `tag__remove-button__button` (an alias on the
619
+ same remove button), `combobox-input`,
582
620
  `clear-button`, `unknown-value` (the dashed/italic badge shown next to the closed single-select
583
621
  input, or on a `multiple`-mode tag, when the committed value matches no current option/row),
584
622
  `expand-icon`, `listbox` (the scrolling popup; it honors the theme-level
@@ -596,7 +634,13 @@ secondary line, when `sub` is set), `option-badge` (an async row's trailing meta
596
634
  `source-error-row` (the listbox row holding the failed-`source` state), `source-error` (the shared
597
635
  failed-load state itself, with `source-error-base`, `source-error-icon`, `source-error-heading`,
598
636
  `source-error-description` and `source-error-actions` forwarded from the composed `<lr-empty>`),
599
- `retry-button`, `error`, `hint`
637
+ `retry-button`, `status` (the listbox status row, which also carries `empty`, `no-results` or
638
+ `loading`), `empty`, `no-results`, `loading`, `spinner` (the decorative in-field spinner shown while
639
+ options load and the listbox is not showing its loading row), `error`, `hint`
640
+
641
+ **Custom states** add `:state(loading)` (`loading` is set or a `source`/`dataSource` request is in
642
+ flight) and `:state(showing-loading-row)` (the open listbox shows its loading row, so the in-field
643
+ spinner is hidden) to `blank`, `disabled` and the shared validity states.
600
644
 
601
645
  `--lr-form-control-invalid-border-color` (default `var(--lr-color-danger)`) themes the resting border while the field matches `:state(user-invalid)`; a component-specific invalid border, where one exists, overrides it.
602
646
 
@@ -695,6 +739,9 @@ see "exact-height hatches" under `lr-input` for why `auto` is not a way to opt b
695
739
  for a single-row combobox: in `multiple` mode, a tag row long enough to wrap overflows the pinned
696
740
  box visibly (nothing is clipped or made unreachable), so leave it unset there.
697
741
 
742
+ More themeable custom properties: `--lr-form-control-label-line-height` (default `inherit`): Line
743
+ height of the field label.
744
+
698
745
  **CSS custom states:** `blank`, `disabled`, `required`, `optional`, `valid`, `invalid`,
699
746
  `user-valid`, and `user-invalid`.
700
747
 
@@ -860,3 +907,12 @@ synchronous and fires no `input`/`change`/`lr-change` event.
860
907
  <a id="popup-select-keyboard"></a>
861
908
 
862
909
  The start-placed label aligns to the first line of the field, measured with `--lr-form-control-height`.
910
+
911
+ `--lr-form-control-transition` (default `none`) is the shared opt-in `transition` for the field's border and halo; see the shared form-control tokens.
912
+
913
+ Further custom properties:
914
+
915
+ - `--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.
916
+ - `--lr-form-control-label-line-height` (default `inherit`): Line height of the field label.
917
+ - `--lr-form-control-label-text-align` (default `inherit`): Text alignment of the field label.
918
+ - `--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** 2 parts, 8 custom properties — see this component's own `@csspart`/`@cssprop` list below
12
+ - **Themeable via** 2 parts, 10 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
  ---
@@ -187,8 +187,10 @@ parent; set `lr-context-menu { display: block }` to get a box.
187
187
  (`var(--lr-overlay-max-inline-size, var(--lr-size-20rem))`), `--lr-overlay-surface`
188
188
  (`var(--lr-color-surface-overlay)`), `--lr-overlay-border` (`var(--lr-color-border-subtle)`),
189
189
  `--lr-overlay-radius` (`var(--lr-radius)`), `--lr-overlay-shadow-anchored` (`var(--lr-shadow-m)`),
190
- `--lr-overlay-max-inline-size` (`var(--lr-size-20rem)`), and `--show-duration` / `--hide-duration`
191
- (`var(--lr-transition-fast)`). Row styling uses the `--lr-menu-item-*` properties on your rows.
190
+ `--lr-overlay-max-inline-size` (`var(--lr-size-20rem)`), `--lr-context-menu-min-inline-size`
191
+ (the menu's minimum inline size, capped by the available space; it wins over the shared
192
+ `--lr-overlay-min-inline-size`, default `0px`, which it falls back to while unset), and
193
+ `--show-duration` / `--hide-duration` (`var(--lr-transition-fast)`). Row styling uses the `--lr-menu-item-*` properties on your rows.
192
194
  The popup always uses fixed positioning (the anchor is a viewport point), so the cascading
193
195
  `--lr-positioning-strategy` is not consulted. Like `lr-dropdown`, it is promoted to the top layer
194
196
  only when a transformed, filtered or contained ancestor (such as an `lr-virtual-list` row) would
@@ -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, 2 custom properties — see this component's own `@csspart`/`@cssprop` list below
12
+ - **Themeable via** 14 parts, 2 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
  ---
@@ -113,6 +113,7 @@ the built-in button. Exactly one named icon is rendered at a time.
113
113
  not reliably announced (JAWS with Firefox ignores one outright). Assert against that
114
114
  document-level region rather than `::part(feedback)`; the part is a styling and inspection
115
115
  surface, and still tells you what the button last announced.
116
+ - `copy-button` — the Web Awesome-named outer wrapper (the nested tooltip element holding the trigger).
116
117
  - `tooltip__base`, `tooltip__base__popup`, `tooltip__base__arrow`, `tooltip__body` — exported nested
117
118
  tooltip parts.
118
119
 
@@ -0,0 +1,60 @@
1
+ <!-- GENERATED by scripts/build-llms.mjs from llms/utility.md — do not edit this file. -->
2
+
3
+ # `lr-counter`
4
+
5
+ - **Import** `import '@aceshooting/lyra-ui/components/lr-counter.js';` (stable tag alias; registers the tag)
6
+ - **Class** `LyraCounter`, also available unregistered from `@aceshooting/lyra-ui/components/utility/counter/counter.class.js`
7
+ - **Family** `components/utility/` — 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** 6 parts, 1 custom property — 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-counter`
18
+
19
+ Countdown or count-up clock. Counts down to `date` (or for `duration` ms from connect) and up from
20
+ `date` with `direction="up"`, ticking through years, months, days, hours, minutes and seconds. Years
21
+ and months follow the local calendar; days and smaller are exact elapsed time. Unit labels and the
22
+ spoken phrase come from `Intl.NumberFormat` units in the effective locale, so the element has no
23
+ library strings to translate.
24
+
25
+ **Properties:**
26
+
27
+ - `date?: Date | string | number` — use ISO 8601 strings; a number is epoch ms. Invalid shows zeros
28
+ - `duration?: number` — ms to count down from once connected; changing it restarts. Ignored when `date` is set or `direction="up"`
29
+ - `direction: 'down' | 'up' = 'down'` (reflected)
30
+ - `label: string = ''` — accessible name of the timer
31
+ - `largestUnit` / `smallestUnit: 'years' | 'months' | 'days' | 'hours' | 'minutes' | 'seconds' = 'days' | 'seconds'` (`largest-unit`, `smallest-unit`); larger time rolls into the largest unit, smaller is dropped; an invalid or inverted pair falls back to days through seconds
32
+ - `format: 'long' | 'short' | 'narrow' = 'long'` — label style
33
+ - `withoutLabels: boolean = false` (`without-labels`, reflected) — clock style: hides labels, keeps every unit and stays left to right under `dir="rtl"`
34
+ - `delimiter: string = ''` — text between units, e.g. `:`
35
+ - `paused: boolean = false` (reflected) — clearing it continues from the time shown
36
+ - `valueFormatter?: (value: number, unit) => string` — property only; the spoken phrase keeps the raw value
37
+
38
+ **Slots:** `years`, `months`, `days`, `hours`, `minutes`, `seconds` — replace one unit's label;
39
+ `finished` — shown instead of the units when a countdown is at zero (including a date already past).
40
+
41
+ **CSS parts:** `base`, `unit`, `value`, `label`, `delimiter`, `finished`.
42
+ **CSS custom property:** `--lr-counter-gap` (default `0.5em`). **CSS state:** `:state(finished)`.
43
+
44
+ **Events:** `lr-finish` (`null` detail) — a running countdown reached zero; fires once and not for a
45
+ date that was already past when the counter started.
46
+
47
+ **Accessibility:** the base part is a `role="timer"` named by `label`, with the current time as
48
+ visually hidden text and the visual units `aria-hidden`. `role="timer"` is not live, so nothing is
49
+ announced each second. The timer stops on disconnect and resumes on reconnect; it renders zeros during
50
+ SSR and starts on the client.
51
+
52
+ ```html
53
+ <script type="module">
54
+ import '@aceshooting/lyra-ui/components/lr-counter.js';
55
+ </script>
56
+
57
+ <lr-counter label="Sale ends" date="2031-01-01T00:00:00Z"></lr-counter>
58
+ <lr-counter label="Doors open" date="2031-01-01T00:00:00Z" without-labels delimiter=":"></lr-counter>
59
+ <lr-counter label="Launch" duration="60000"><strong slot="finished">We are live</strong></lr-counter>
60
+ ```
@@ -9,7 +9,7 @@
9
9
  - **Release history** [CHANGELOG.md](../../CHANGELOG.md)
10
10
  - **Deprecations** none
11
11
  - **Optional peers** none
12
- - **Themeable via** 16 parts, 7 custom properties — see this component's own `@csspart`/`@cssprop` list below
12
+ - **Themeable via** 16 parts, 8 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
  ---
@@ -139,3 +139,7 @@ including RTL and dark themes. `--lr-form-control-invalid-border-color` themes t
139
139
  </script>
140
140
  <lr-country-picker name="country" label="Country" searchable></lr-country-picker>
141
141
  ```
142
+
143
+ Further custom properties:
144
+
145
+ - `--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.
@@ -9,7 +9,7 @@
9
9
  - **Release history** [CHANGELOG.md](../../CHANGELOG.md)
10
10
  - **Deprecations** none
11
11
  - **Optional peers** none
12
- - **Themeable via** 15 parts, 7 custom properties — see this component's own `@csspart`/`@cssprop` list below
12
+ - **Themeable via** 15 parts, 8 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
  ---
@@ -145,3 +145,7 @@ preserve their shared part names and inherit shared form-control and surface tok
145
145
 
146
146
  <lr-currency-picker name="currency" label="Display currency" value="EUR"></lr-currency-picker>
147
147
  ```
148
+
149
+ Further custom properties:
150
+
151
+ - `--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.
@@ -9,6 +9,6 @@
9
9
  - **Release history** [CHANGELOG.md](../../CHANGELOG.md)
10
10
  - **Deprecations** none
11
11
  - **Optional peers** none
12
- - **Themeable via** 22 parts, 38 custom properties — see `lr-date-picker.md`
12
+ - **Themeable via** 55 parts, 44 custom properties — see `lr-date-picker.md`
13
13
  - **Documented with** `lr-date-picker`: see [lr-date-picker.md](./lr-date-picker.md).
14
14
  - **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
@@ -222,6 +222,9 @@ while its range is the current value),
222
222
  day-cell/grid-column size; its private default follows the `size` tier — `2xs`/`xs`/`s`/`l`/`xl`;
223
223
  `m` keeps the default). An inherited or direct public value remains authoritative in every tier.
224
224
 
225
+ More themeable custom properties: `--lr-form-control-label-line-height` (default `inherit`): Line
226
+ height of the field label.
227
+
225
228
  **Optional peer deps:** none.
226
229
 
227
230
  ### `lr-date-input`
@@ -395,7 +398,20 @@ from outside — new in 11.1.0), `end`, `expand-button`,
395
398
  `input-wrapper`, `popup`, `range-separator`, `segment`, `segment-literal`, `start`, permanent
396
399
  compatibility name `base` (a nested wrapper inside `date-input`), and permanent compatibility name
397
400
  `label` (the inner label-content wrapper inside `form-control-label`). Lyra additionally retains
398
- `error`.
401
+ `error`. Every nested `lr-date-picker` part is also forwarded under a `date-picker__` prefix, the
402
+ names Web Awesome's date input exports, which exist only while the calendar is rendered:
403
+ `date-picker__date-picker`, `date-picker__day`, `date-picker__day-disabled`,
404
+ `date-picker__day-label`, `date-picker__day-outside`, `date-picker__day-placeholder`,
405
+ `date-picker__day-range-end`, `date-picker__day-range-inner`, `date-picker__day-range-preview`,
406
+ `date-picker__day-range-start`, `date-picker__day-selected`, `date-picker__day-today`,
407
+ `date-picker__day-weekend`, `date-picker__footer`, `date-picker__grid`, `date-picker__header`,
408
+ `date-picker__month`, `date-picker__month-label`, `date-picker__months`, `date-picker__next`,
409
+ `date-picker__previous`, `date-picker__title`, `date-picker__view-cell`, `date-picker__view-grid`,
410
+ `date-picker__view-item`, `date-picker__view-item-disabled`, `date-picker__view-item-selected`,
411
+ `date-picker__view-item-today`, `date-picker__view-row`, `date-picker__weekday`,
412
+ `date-picker__weekdays`, `date-picker__weeknumber`, `date-picker__weeknumbers`
413
+ (`::part(date-picker__day-selected)`). `date-picker__date-picker` is the picker's own root, the
414
+ replacement for Web Awesome's deprecated `date-picker__base`.
399
415
 
400
416
  On `lr-date-input`, `--lr-form-control-invalid-border-color` (default `var(--lr-color-danger)`) themes the resting border while the field matches `:state(user-invalid)`; a component-specific invalid border, where one exists, overrides it.
401
417
 
@@ -432,6 +448,7 @@ set. If it forces a row below its target size, the action overflows instead of s
432
448
 
433
449
  The mapped `--show-duration` and `--hide-duration` hooks independently retime the popup's enter
434
450
  and exit transitions; both default to `var(--lr-transition-fast)`. Clear and calendar action
451
+ resting colour is `--lr-date-input-action-color` (default `var(--lr-color-text-quiet)`); their
435
452
  state hooks are `--lr-date-input-action-hover-color`, `--lr-date-input-action-hover-bg`, and
436
453
  `--lr-date-input-action-hover-radius` (defaults: text, transparent, and the input radius), plus
437
454
  `--lr-date-input-action-active-color`, `--lr-date-input-action-active-bg`, and
@@ -571,4 +588,11 @@ and `dateTimeFormat(locale, options)`.
571
588
  - `--lr-form-control-focus-shadow` — The shared field halo, painted as a `box-shadow` while the row
572
589
  holds focus. Default: `none`. Additive — the focused brand border is never replaced by it.
573
590
 
591
+ Further custom properties:
592
+
593
+ - `--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.
594
+ - `--lr-form-control-label-line-height` (default `inherit`): Line height of the field label.
595
+ - `--lr-form-control-label-text-align` (default `inherit`): Text alignment of the field label.
596
+ - `--lr-form-control-label-text-transform` (default `inherit`): Text transform of the field label.
597
+
574
598
  ---