@aceshooting/lyra-ui 32.0.0 → 33.0.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 (468) hide show
  1. package/CHANGELOG.md +224 -1380
  2. package/README.md +36 -7
  3. package/custom-elements.slim.json +1 -0
  4. package/design-tokens.json +1 -1
  5. package/dist/accent-roles.css +1 -0
  6. package/dist/all.d.ts +1 -1
  7. package/dist/all.js +1 -1
  8. package/dist/autoloader.d.ts +10 -0
  9. package/dist/autoloader.js +1 -1
  10. package/dist/cli/migrate-wa.mjs +54 -44
  11. package/dist/cli/migration-contract.json.gz +0 -0
  12. package/dist/components/agent-tools/budget-meter/budget-meter.class.d.ts +1 -0
  13. package/dist/components/agent-tools/budget-meter/budget-meter.styles.js +1 -1
  14. package/dist/components/agent-tools/tool-call-chip/tool-call-chip.class.d.ts +1 -1
  15. package/dist/components/charts/chart/box-plot.class.d.ts +3 -0
  16. package/dist/components/charts/chart/chart-band.js +1 -1
  17. package/dist/components/charts/chart/chart-input-projection.js +1 -1
  18. package/dist/components/charts/chart/chart-surface.styles.js +1 -1
  19. package/dist/components/charts/chart/chart-types.d.ts +16 -2
  20. package/dist/components/charts/chart/chart.class.d.ts +4 -1
  21. package/dist/components/charts/chart/chart.class.js +3 -3
  22. package/dist/components/charts/chart/lite-chart.class.d.ts +3 -0
  23. package/dist/components/charts/chart/lite-chart.styles.js +1 -1
  24. package/dist/components/conversation/chat-composer/chat-composer.class.d.ts +10 -0
  25. package/dist/components/conversation/code-block/code-block-base.class.d.ts +31 -3
  26. package/dist/components/conversation/code-block/code-block-base.class.js +1 -1
  27. package/dist/components/conversation/code-block/code-block-core.class.d.ts +46 -2
  28. package/dist/components/conversation/code-block/code-block-core.class.js +1 -1
  29. package/dist/components/conversation/code-block/code-block-shared.d.ts +6 -2
  30. package/dist/components/conversation/code-block/code-block-shared.js +5 -4
  31. package/dist/components/conversation/code-block/code-block.class.d.ts +48 -3
  32. package/dist/components/conversation/code-block/code-block.class.js +1 -1
  33. package/dist/components/conversation/code-block/code-block.styles.js +1 -1
  34. package/dist/components/conversation/code-block/code-grammar-registry.d.ts +35 -0
  35. package/dist/components/conversation/code-block/code-grammar-registry.js +1 -0
  36. package/dist/components/conversation/markdown/markdown-core.class.d.ts +12 -0
  37. package/dist/components/conversation/markdown/markdown.class.d.ts +12 -0
  38. package/dist/components/conversation/markdown/markdown.styles.js +1 -1
  39. package/dist/components/conversation/model-select/model-select.class.d.ts +12 -5
  40. package/dist/components/conversation/selection-toolbar/selection-toolbar.class.d.ts +1 -1
  41. package/dist/components/conversation/suggestion-chips/suggestion-chips.class.d.ts +1 -0
  42. package/dist/components/conversation/suggestion-chips/suggestion-chips.styles.js +1 -1
  43. package/dist/components/conversation/thread-list/thread-list.class.d.ts +3 -0
  44. package/dist/components/conversation/thread-list/thread-list.styles.js +1 -1
  45. package/dist/components/conversation/usage-badge/usage-badge.class.d.ts +1 -1
  46. package/dist/components/conversation/voice-picker/voice-picker.class.d.ts +12 -5
  47. package/dist/components/data/graph-query-builder/graph-query-builder.class.d.ts +4 -0
  48. package/dist/components/data/heatmap/heatmap.class.d.ts +21 -2
  49. package/dist/components/data/heatmap/heatmap.class.js +2 -2
  50. package/dist/components/data/heatmap/heatmap.styles.js +1 -1
  51. package/dist/components/data/stat/stat.class.d.ts +24 -1
  52. package/dist/components/data/stat/stat.class.js +2 -2
  53. package/dist/components/data/stat/stat.styles.js +1 -1
  54. package/dist/components/data/table/table-row-attributes.js +1 -0
  55. package/dist/components/data/table/table-support.d.ts +64 -5
  56. package/dist/components/data/table/table-support.js +1 -1
  57. package/dist/components/data/table/table.class.d.ts +78 -7
  58. package/dist/components/data/table/table.class.js +10 -10
  59. package/dist/components/data/table/table.styles.js +1 -1
  60. package/dist/components/data/timeline/timeline-item.class.d.ts +27 -5
  61. package/dist/components/data/timeline/timeline-item.class.js +11 -7
  62. package/dist/components/data/timeline/timeline-item.styles.js +1 -1
  63. package/dist/components/data/timeline/timeline.class.d.ts +54 -8
  64. package/dist/components/data/timeline/timeline.class.js +11 -7
  65. package/dist/components/data/timeline/timeline.styles.js +1 -1
  66. package/dist/components/data/tree/tree-item.class.d.ts +2 -0
  67. package/dist/components/data/tree/tree-item.class.js +2 -2
  68. package/dist/components/data/tree/tree-item.styles.js +1 -1
  69. package/dist/components/forms/button/button.class.d.ts +13 -0
  70. package/dist/components/forms/button/button.styles.js +1 -1
  71. package/dist/components/forms/catalog-picker-base.d.ts +14 -1
  72. package/dist/components/forms/checkbox/checkbox.class.js +1 -1
  73. package/dist/components/forms/checkbox-group/checkbox-group.class.d.ts +28 -2
  74. package/dist/components/forms/checkbox-group/checkbox-group.class.js +3 -3
  75. package/dist/components/forms/checkbox-group/checkbox-group.styles.js +1 -1
  76. package/dist/components/forms/code-editor/code-editor.class.d.ts +18 -3
  77. package/dist/components/forms/code-editor/code-editor.styles.js +1 -1
  78. package/dist/components/forms/color-picker/color-picker.class.d.ts +25 -5
  79. package/dist/components/forms/color-picker/color-picker.class.js +3 -3
  80. package/dist/components/forms/color-picker/color-picker.styles.js +1 -1
  81. package/dist/components/forms/combobox/combobox-option-html.js +1 -0
  82. package/dist/components/forms/combobox/combobox.class.d.ts +140 -12
  83. package/dist/components/forms/combobox/combobox.class.js +113 -22
  84. package/dist/components/forms/combobox/combobox.styles.js +1 -1
  85. package/dist/components/forms/country-picker/country-picker.class.d.ts +4 -3
  86. package/dist/components/forms/currency-picker/currency-picker.class.d.ts +4 -3
  87. package/dist/components/forms/date-picker/date-input.class.d.ts +53 -3
  88. package/dist/components/forms/date-picker/date-input.class.js +2 -2
  89. package/dist/components/forms/date-picker/date-input.styles.js +1 -1
  90. package/dist/components/forms/emoji-picker/emoji-picker.class.d.ts +14 -0
  91. package/dist/components/forms/emoji-picker/emoji-picker.class.js +1 -1
  92. package/dist/components/forms/icon-button/icon-button.class.d.ts +2 -1
  93. package/dist/components/forms/icon-button/icon-button.styles.js +1 -1
  94. package/dist/components/forms/input/input-shared.d.ts +24 -3
  95. package/dist/components/forms/input/input.styles.js +1 -1
  96. package/dist/components/forms/input/time-input.class.d.ts +19 -4
  97. package/dist/components/forms/input/time-input.styles.js +1 -1
  98. package/dist/components/forms/locale-picker/locale-picker.class.d.ts +17 -5
  99. package/dist/components/forms/locale-picker/locale-picker.styles.js +1 -1
  100. package/dist/components/forms/otp-input/otp-input.class.d.ts +8 -3
  101. package/dist/components/forms/otp-input/otp-input.styles.js +1 -1
  102. package/dist/components/forms/phone-input/phone-input.class.d.ts +18 -3
  103. package/dist/components/forms/phone-input/phone-input.styles.js +1 -1
  104. package/dist/components/forms/radio/radio-group.class.d.ts +23 -2
  105. package/dist/components/forms/radio/radio-group.class.js +2 -2
  106. package/dist/components/forms/radio/radio-group.styles.js +1 -1
  107. package/dist/components/forms/radio/radio.class.js +2 -2
  108. package/dist/components/forms/rubric-form/rubric-form.class.d.ts +4 -0
  109. package/dist/components/forms/select/select.class.d.ts +16 -4
  110. package/dist/components/forms/select/select.class.js +1 -1
  111. package/dist/components/forms/select/select.styles.js +1 -1
  112. package/dist/components/forms/signature-pad/signature-pad.class.d.ts +8 -3
  113. package/dist/components/forms/signature-pad/signature-pad.styles.js +1 -1
  114. package/dist/components/forms/slider/slider.class.d.ts +29 -2
  115. package/dist/components/forms/slider/slider.class.js +3 -3
  116. package/dist/components/forms/slider/slider.styles.js +1 -1
  117. package/dist/components/forms/switch/switch.class.d.ts +2 -0
  118. package/dist/components/forms/switch/switch.styles.js +1 -1
  119. package/dist/components/forms/textarea/textarea.class.d.ts +20 -3
  120. package/dist/components/forms/textarea/textarea.styles.js +1 -1
  121. package/dist/components/forms/time-zone-picker/time-zone-picker.class.d.ts +4 -3
  122. package/dist/components/forms/token-input/token-input.class.d.ts +99 -21
  123. package/dist/components/forms/token-input/token-input.class.js +11 -8
  124. package/dist/components/forms/token-input/token-input.styles.js +1 -1
  125. package/dist/components/forms/unit-picker/unit-picker.class.d.ts +4 -3
  126. package/dist/components/layout/app-rail/app-rail.class.d.ts +3 -0
  127. package/dist/components/layout/app-rail/app-rail.styles.js +1 -1
  128. package/dist/components/layout/button-group/button-group.class.d.ts +4 -0
  129. package/dist/components/layout/button-group/button-group.class.js +1 -1
  130. package/dist/components/layout/card/card.class.d.ts +15 -1
  131. package/dist/components/layout/card/card.styles.js +1 -1
  132. package/dist/components/layout/command-palette/command-palette.class.d.ts +1 -1
  133. package/dist/components/layout/details/details.class.d.ts +6 -0
  134. package/dist/components/layout/details/details.styles.js +1 -1
  135. package/dist/components/layout/filter-bar/filter-bar.class.d.ts +6 -0
  136. package/dist/components/layout/filter-bar/filter-bar.styles.js +1 -1
  137. package/dist/components/layout/index.d.ts +1 -1
  138. package/dist/components/layout/index.js +1 -1
  139. package/dist/components/layout/menu/dropdown-item.class.d.ts +8 -2
  140. package/dist/components/layout/menu/dropdown-item.class.js +1 -1
  141. package/dist/components/layout/menu/menu-item.class.d.ts +7 -0
  142. package/dist/components/layout/menu/menu-item.styles.js +1 -1
  143. package/dist/components/layout/menu/menu-label.class.d.ts +5 -0
  144. package/dist/components/layout/menu/menu-label.class.js +1 -1
  145. package/dist/components/layout/menu/menu.class.d.ts +4 -1
  146. package/dist/components/layout/menu/menu.styles.js +1 -1
  147. package/dist/components/layout/navigation-menu-item/navigation-menu-item.class.d.ts +1 -1
  148. package/dist/components/layout/page/page.class.d.ts +9 -1
  149. package/dist/components/layout/page/page.class.js +2 -2
  150. package/dist/components/layout/segmented/segmented.class.d.ts +22 -3
  151. package/dist/components/layout/segmented/segmented.class.js +3 -4
  152. package/dist/components/layout/segmented/segmented.styles.js +1 -1
  153. package/dist/components/layout/stepper/step.class.d.ts +102 -0
  154. package/dist/components/layout/stepper/step.class.js +18 -0
  155. package/dist/components/layout/stepper/step.styles.js +1 -0
  156. package/dist/components/layout/stepper/stepper.class.d.ts +106 -13
  157. package/dist/components/layout/stepper/stepper.class.js +6 -2
  158. package/dist/components/layout/stepper/stepper.styles.js +1 -1
  159. package/dist/components/layout/tab-group/tab-group.class.d.ts +10 -1
  160. package/dist/components/layout/tab-group/tab-group.class.js +1 -1
  161. package/dist/components/layout/tab-group/tab-group.styles.js +1 -1
  162. package/dist/components/layout/tab-group/tab-panel.class.d.ts +1 -0
  163. package/dist/components/layout/tab-group/tab-panel.class.js +1 -1
  164. package/dist/components/layout/tab-group/tab.class.d.ts +4 -0
  165. package/dist/components/layout/widget/widget.class.d.ts +1 -0
  166. package/dist/components/layout/widget/widget.styles.js +1 -1
  167. package/dist/components/lr-code-block-core.d.ts +1 -1
  168. package/dist/components/lr-code-block.d.ts +1 -1
  169. package/dist/components/lr-counter.d.ts +1 -0
  170. package/dist/components/lr-counter.js +1 -0
  171. package/dist/components/lr-lightbox-item.d.ts +1 -0
  172. package/dist/components/lr-lightbox-item.js +1 -0
  173. package/dist/components/lr-lightbox.d.ts +1 -1
  174. package/dist/components/lr-lightbox.js +1 -1
  175. package/dist/components/lr-number-ticker.d.ts +1 -0
  176. package/dist/components/lr-number-ticker.js +1 -0
  177. package/dist/components/lr-step.d.ts +1 -0
  178. package/dist/components/lr-step.js +1 -0
  179. package/dist/components/media/file-input/file-input.class.d.ts +8 -1
  180. package/dist/components/media/file-input/file-input.class.js +2 -2
  181. package/dist/components/media/file-input/file-input.styles.js +1 -1
  182. package/dist/components/media/index.d.ts +1 -1
  183. package/dist/components/media/index.js +1 -1
  184. package/dist/components/media/lightbox/lightbox-item.class.d.ts +67 -0
  185. package/dist/components/media/lightbox/lightbox-item.class.js +9 -0
  186. package/dist/components/media/lightbox/lightbox-item.styles.js +1 -0
  187. package/dist/components/media/lightbox/lightbox-source.js +1 -1
  188. package/dist/components/media/lightbox/lightbox-types.d.ts +4 -1
  189. package/dist/components/media/lightbox/lightbox.class.d.ts +123 -30
  190. package/dist/components/media/lightbox/lightbox.class.js +18 -12
  191. package/dist/components/media/lightbox/lightbox.styles.js +1 -1
  192. package/dist/components/media/map/map-anchor-avoid.js +1 -1
  193. package/dist/components/media/map/map-drawing-controller.js +1 -1
  194. package/dist/components/media/map/map.class.d.ts +137 -7
  195. package/dist/components/media/map/map.class.js +6 -6
  196. package/dist/components/media/map/map.styles.js +1 -1
  197. package/dist/components/media/sequence-playback/sequence-playback.class.d.ts +9 -0
  198. package/dist/components/media/sequence-playback/sequence-playback.class.js +2 -2
  199. package/dist/components/media/sequence-playback/sequence-playback.styles.js +1 -1
  200. package/dist/components/media/video/video.class.d.ts +4 -0
  201. package/dist/components/media/video/video.class.js +2 -2
  202. package/dist/components/media/video/video.styles.js +1 -1
  203. package/dist/components/media/zoomable-frame/zoomable-frame.class.d.ts +15 -0
  204. package/dist/components/media/zoomable-frame/zoomable-frame.class.js +2 -2
  205. package/dist/components/overlays/badge/badge.class.d.ts +2 -0
  206. package/dist/components/overlays/badge/badge.styles.js +1 -1
  207. package/dist/components/overlays/badge/tag.class.d.ts +2 -0
  208. package/dist/components/overlays/badge/tag.class.js +1 -1
  209. package/dist/components/overlays/chip/chip-group.class.d.ts +31 -4
  210. package/dist/components/overlays/chip/chip-group.class.js +3 -3
  211. package/dist/components/overlays/context-menu/context-menu.class.d.ts +6 -1
  212. package/dist/components/overlays/context-menu/context-menu.class.js +1 -1
  213. package/dist/components/overlays/dialog/dialog.class.d.ts +54 -6
  214. package/dist/components/overlays/dialog/dialog.class.js +3 -3
  215. package/dist/components/overlays/dialog/dialog.styles.js +1 -1
  216. package/dist/components/overlays/dialog/prompt.d.ts +60 -0
  217. package/dist/components/overlays/dialog/prompt.js +1 -0
  218. package/dist/components/overlays/drawer/drawer.class.d.ts +22 -1
  219. package/dist/components/overlays/drawer/drawer.class.js +1 -1
  220. package/dist/components/overlays/empty/empty.class.d.ts +1 -0
  221. package/dist/components/overlays/empty/empty.class.js +1 -1
  222. package/dist/components/overlays/overlay/dropdown.class.d.ts +5 -1
  223. package/dist/components/overlays/overlay/dropdown.class.js +1 -1
  224. package/dist/components/overlays/overlay/overlay.styles.js +1 -1
  225. package/dist/components/overlays/overlay/popover.class.d.ts +30 -4
  226. package/dist/components/overlays/overlay/popover.class.js +2 -2
  227. package/dist/components/overlays/overlay/tooltip.class.d.ts +7 -0
  228. package/dist/components/overlays/overlay/tooltip.class.js +4 -4
  229. package/dist/components/overlays/toast/toast-item.class.d.ts +3 -2
  230. package/dist/components/overlays/toast/toast-item.class.js +1 -1
  231. package/dist/components/overlays/toast/toast-item.styles.js +1 -1
  232. package/dist/components/overlays/toast/toast.class.d.ts +6 -0
  233. package/dist/components/overlays/toast/toast.class.js +1 -1
  234. package/dist/components/retrieval/citation-badge/citation-badge.class.d.ts +1 -1
  235. package/dist/components/retrieval/entity-chip/entity-chip.class.d.ts +1 -1
  236. package/dist/components/utility/copy-button/copy-button.class.d.ts +4 -1
  237. package/dist/components/utility/copy-button/copy-button.class.js +2 -2
  238. package/dist/components/utility/counter/counter-time.d.ts +15 -0
  239. package/dist/components/utility/counter/counter-time.js +1 -0
  240. package/dist/components/utility/counter/counter.class.d.ts +67 -0
  241. package/dist/components/utility/counter/counter.class.js +1 -0
  242. package/dist/components/utility/counter/counter.styles.js +1 -0
  243. package/dist/components/utility/divider/divider.class.d.ts +21 -3
  244. package/dist/components/utility/divider/divider.class.js +5 -1
  245. package/dist/components/utility/export-button/export-button.class.d.ts +6 -1
  246. package/dist/components/utility/export-button/export-button.styles.js +1 -1
  247. package/dist/components/utility/icon/icon-library-bootstrap.d.ts +50 -0
  248. package/dist/components/utility/icon/icon-library-bootstrap.js +1 -0
  249. package/dist/components/utility/icon/icon-library-font-awesome.d.ts +68 -0
  250. package/dist/components/utility/icon/icon-library-font-awesome.js +1 -0
  251. package/dist/components/utility/icon/icon-library.d.ts +14 -1
  252. package/dist/components/utility/icon/icon-library.js +1 -1
  253. package/dist/components/utility/icon/icon-sprite.js +1 -0
  254. package/dist/components/utility/icon/icon.class.d.ts +4 -2
  255. package/dist/components/utility/icon/icon.class.js +2 -2
  256. package/dist/components/utility/index.d.ts +1 -1
  257. package/dist/components/utility/index.js +1 -1
  258. package/dist/components/utility/known-date/known-date.class.d.ts +14 -0
  259. package/dist/components/utility/mention-popover/mention-popover.class.d.ts +1 -1
  260. package/dist/components/utility/number-ticker/number-ticker.class.d.ts +66 -0
  261. package/dist/components/utility/number-ticker/number-ticker.class.js +1 -0
  262. package/dist/components/utility/number-ticker/number-ticker.styles.js +1 -0
  263. package/dist/components/utility/tour/tour.class.d.ts +1 -1
  264. package/dist/components/viewers/include/include.class.d.ts +4 -1
  265. package/dist/components/viewers/include/include.class.js +1 -1
  266. package/dist/components/viewers/pdf-viewer/pdf-viewer.class.d.ts +10 -1
  267. package/dist/components/viewers/pdf-viewer/pdf-viewer.class.js +2 -2
  268. package/dist/components/viewers/pdf-viewer/pdf-viewer.styles.js +1 -1
  269. package/dist/custom-elements-jsx.d.ts +1 -1
  270. package/dist/event-classes.d.ts +2342 -0
  271. package/dist/event-classes.js +1 -0
  272. package/dist/events.d.ts +48 -22
  273. package/dist/framework-types.d.ts +2 -2
  274. package/dist/internal/accessibility-visibility.js +1 -1
  275. package/dist/internal/all-defined-arguments.d.ts +19 -0
  276. package/dist/internal/all-defined-arguments.js +1 -0
  277. package/dist/internal/autoloader-manifest.js +1 -1
  278. package/dist/internal/autoloader-tags.d.ts +1 -1
  279. package/dist/internal/autoloader-tags.js +1 -1
  280. package/dist/internal/checked-control-label.js +1 -1
  281. package/dist/internal/component-loaders.generated.js +1 -1
  282. package/dist/internal/declarative-overlay-action.js +1 -0
  283. package/dist/internal/dedent.js +7 -0
  284. package/dist/internal/default-strings/forms.generated.js +1 -1
  285. package/dist/internal/default-strings/layout.generated.js +1 -1
  286. package/dist/internal/dev-mode-attribute-warning.development.js +1 -1
  287. package/dist/internal/document-token-css.generated.js +10 -0
  288. package/dist/internal/document-tokens.generated.js +2 -11
  289. package/dist/internal/document-tokens.js +2 -2
  290. package/dist/internal/dom-guards.js +1 -1
  291. package/dist/internal/external-label-association.js +1 -0
  292. package/dist/internal/focus-navigation.js +1 -1
  293. package/dist/internal/form-control/chrome.styles.js +1 -1
  294. package/dist/internal/form-control-labels.js +1 -1
  295. package/dist/internal/form-control.styles.js +1 -1
  296. package/dist/internal/interactive-control.styles.js +2 -2
  297. package/dist/internal/labeled-group.js +1 -1
  298. package/dist/internal/localization-runtime.d.ts +5 -0
  299. package/dist/internal/localization-runtime.js +1 -1
  300. package/dist/internal/localization-types.d.ts +1 -1
  301. package/dist/internal/localization.js +2 -2
  302. package/dist/internal/lyra-element.d.ts +11 -2
  303. package/dist/internal/lyra-element.js +2 -2
  304. package/dist/internal/lyra-event.d.ts +22 -0
  305. package/dist/internal/lyra-event.js +1 -0
  306. package/dist/internal/overlay-shared.d.ts +5 -2
  307. package/dist/internal/overlay-shared.js +1 -1
  308. package/dist/internal/package-metadata.js +1 -1
  309. package/dist/internal/root-registration-allowlist.js +1 -1
  310. package/dist/internal/scoped-definitions.generated.js +1 -1
  311. package/dist/internal/shiki/core.d.ts +4 -1
  312. package/dist/internal/shiki/tokenize.js +1 -1
  313. package/dist/internal/srcset.js +1 -0
  314. package/dist/internal/theme-observation.js +1 -1
  315. package/dist/lyra.d.ts +1 -1
  316. package/dist/lyra.js +1 -1
  317. package/dist/ssr/all.d.ts +1 -1
  318. package/dist/ssr/all.js +1 -1
  319. package/dist/ssr.d.ts +5 -5
  320. package/dist/ssr.js +1 -1
  321. package/dist/styles/native.css +1 -1
  322. package/dist/styles/palette.css +1 -0
  323. package/dist/styles/tokens-root.css +1 -1
  324. package/dist/styles/utilities.css +1 -1
  325. package/dist/svelte.d.ts +1 -1
  326. package/dist/testing/happy-dom-shims.d.ts +11 -2
  327. package/dist/testing/happy-dom-shims.js +1 -1
  328. package/dist/testing/index.d.ts +1 -1
  329. package/dist/testing/index.js +1 -1
  330. package/dist/testing/lyra-tag-event-map.d.ts +2 -2
  331. package/dist/testing/lyra-tag-event-map.js +1 -1
  332. package/dist/theme-core.css +1 -1
  333. package/dist/theme.css +1 -1
  334. package/dist/utilities/defined.d.ts +10 -1
  335. package/dist/utilities/defined.js +1 -1
  336. package/dist/utilities/form.d.ts +9 -0
  337. package/dist/utilities/form.js +1 -0
  338. package/dist/utilities/index.d.ts +1 -1
  339. package/dist/utilities/index.js +1 -1
  340. package/dist/vue.d.ts +1 -1
  341. package/llms/components/lr-app-rail.md +4 -2
  342. package/llms/components/lr-badge.md +4 -4
  343. package/llms/components/lr-bar-chart.md +1 -1
  344. package/llms/components/lr-box-plot.md +6 -1
  345. package/llms/components/lr-bubble-chart.md +1 -1
  346. package/llms/components/lr-budget-meter.md +2 -2
  347. package/llms/components/lr-button-group.md +7 -3
  348. package/llms/components/lr-button.md +11 -1
  349. package/llms/components/lr-card.md +11 -1
  350. package/llms/components/lr-chart.md +21 -7
  351. package/llms/components/lr-checkbox-group.md +11 -1
  352. package/llms/components/lr-chip.md +11 -1
  353. package/llms/components/lr-citation-badge.md +1 -1
  354. package/llms/components/lr-code-block-core.md +39 -9
  355. package/llms/components/lr-code-block.md +59 -6
  356. package/llms/components/lr-code-editor.md +11 -1
  357. package/llms/components/lr-color-picker.md +19 -6
  358. package/llms/components/lr-combobox.md +81 -9
  359. package/llms/components/lr-context-menu.md +6 -4
  360. package/llms/components/lr-copy-button.md +6 -4
  361. package/llms/components/lr-counter.md +60 -0
  362. package/llms/components/lr-country-picker.md +4 -0
  363. package/llms/components/lr-currency-picker.md +4 -0
  364. package/llms/components/lr-date-input.md +1 -1
  365. package/llms/components/lr-date-picker.md +25 -1
  366. package/llms/components/lr-details.md +6 -2
  367. package/llms/components/lr-dialog.md +101 -9
  368. package/llms/components/lr-divider.md +14 -5
  369. package/llms/components/lr-doughnut-chart.md +1 -1
  370. package/llms/components/lr-drawer.md +32 -7
  371. package/llms/components/lr-dropdown-item.md +1 -1
  372. package/llms/components/lr-dropdown.md +8 -4
  373. package/llms/components/lr-emoji-picker.md +10 -1
  374. package/llms/components/lr-empty.md +3 -2
  375. package/llms/components/lr-entity-chip.md +1 -1
  376. package/llms/components/lr-export-button.md +6 -3
  377. package/llms/components/lr-file-input.md +13 -1
  378. package/llms/components/lr-filter-bar.md +6 -2
  379. package/llms/components/lr-graph-query-builder.md +10 -1
  380. package/llms/components/lr-heatmap.md +20 -3
  381. package/llms/components/lr-histogram.md +7 -2
  382. package/llms/components/lr-icon-button.md +3 -1
  383. package/llms/components/lr-icon.md +104 -0
  384. package/llms/components/lr-include.md +3 -0
  385. package/llms/components/lr-input.md +9 -1
  386. package/llms/components/lr-known-date.md +10 -1
  387. package/llms/components/lr-lightbox-item.md +14 -0
  388. package/llms/components/lr-lightbox.md +119 -14
  389. package/llms/components/lr-line-chart.md +7 -2
  390. package/llms/components/lr-lite-chart.md +3 -2
  391. package/llms/components/lr-locale-picker.md +17 -1
  392. package/llms/components/lr-map.md +122 -11
  393. package/llms/components/lr-markdown-core.md +15 -4
  394. package/llms/components/lr-markdown.md +13 -4
  395. package/llms/components/lr-mention-popover.md +1 -1
  396. package/llms/components/lr-menu-item.md +1 -1
  397. package/llms/components/lr-menu-label.md +5 -2
  398. package/llms/components/lr-menu.md +22 -7
  399. package/llms/components/lr-model-select.md +13 -3
  400. package/llms/components/lr-native-time-input.md +11 -1
  401. package/llms/components/lr-number-input.md +11 -1
  402. package/llms/components/lr-number-ticker.md +60 -0
  403. package/llms/components/lr-otp-input.md +11 -1
  404. package/llms/components/lr-page.md +7 -1
  405. package/llms/components/lr-pagination.md +18 -0
  406. package/llms/components/lr-pdf-viewer.md +6 -1
  407. package/llms/components/lr-phone-input.md +11 -1
  408. package/llms/components/lr-pie-chart.md +1 -1
  409. package/llms/components/lr-polar-area-chart.md +1 -1
  410. package/llms/components/lr-popover.md +26 -6
  411. package/llms/components/lr-radar-chart.md +1 -1
  412. package/llms/components/lr-radio-group.md +11 -1
  413. package/llms/components/lr-rubric-form.md +7 -1
  414. package/llms/components/lr-scatter-chart.md +1 -1
  415. package/llms/components/lr-segmented.md +20 -2
  416. package/llms/components/lr-select.md +11 -3
  417. package/llms/components/lr-selection-toolbar.md +1 -1
  418. package/llms/components/lr-sequence-playback.md +8 -2
  419. package/llms/components/lr-signature-pad.md +8 -1
  420. package/llms/components/lr-slider.md +17 -4
  421. package/llms/components/lr-stat.md +20 -5
  422. package/llms/components/lr-step.md +67 -0
  423. package/llms/components/lr-stepper.md +64 -8
  424. package/llms/components/lr-suggestion-chips.md +3 -2
  425. package/llms/components/lr-switch.md +4 -3
  426. package/llms/components/lr-tab-group.md +10 -3
  427. package/llms/components/lr-tab-panel.md +2 -2
  428. package/llms/components/lr-table.md +87 -8
  429. package/llms/components/lr-tag.md +1 -1
  430. package/llms/components/lr-textarea.md +17 -1
  431. package/llms/components/lr-thread-list.md +4 -2
  432. package/llms/components/lr-time-input.md +9 -2
  433. package/llms/components/lr-time-zone-picker.md +4 -0
  434. package/llms/components/lr-timeline-item.md +1 -1
  435. package/llms/components/lr-timeline.md +47 -3
  436. package/llms/components/lr-toast-item.md +1 -1
  437. package/llms/components/lr-toast.md +8 -3
  438. package/llms/components/lr-token-input.md +68 -11
  439. package/llms/components/lr-tool-call-chip.md +1 -1
  440. package/llms/components/lr-tooltip.md +8 -3
  441. package/llms/components/lr-tree-item.md +1 -1
  442. package/llms/components/lr-tree.md +2 -1
  443. package/llms/components/lr-unit-picker.md +4 -0
  444. package/llms/components/lr-usage-badge.md +1 -1
  445. package/llms/components/lr-video.md +5 -4
  446. package/llms/components/lr-voice-picker.md +10 -2
  447. package/llms/components/lr-widget.md +2 -2
  448. package/llms/components/lr-zoomable-frame.md +8 -0
  449. package/llms/index.md +205 -201
  450. package/llms/migration.md +103 -16
  451. package/llms/peers.md +3 -3
  452. package/llms/shared/events-and-types.md +36 -0
  453. package/llms/shared/forms-and-accessibility.md +4 -1
  454. package/llms/shared/frameworks-and-ssr.md +10 -1
  455. package/llms/shared/imports-and-registration.md +68 -2
  456. package/llms/shared/localization-and-rtl.md +5 -0
  457. package/llms/shared/native-styles-and-utilities.md +142 -7
  458. package/llms/shared/styles-and-tokens.md +60 -6
  459. package/llms/shared/testing-and-utilities.md +30 -0
  460. package/llms/shared.md +354 -17
  461. package/llms/tokens.md +6 -1
  462. package/llms.txt +3 -3
  463. package/locales.json +1 -1
  464. package/package.json +48 -10
  465. package/registrations.json +1 -1
  466. package/skills/compose-lyra-interfaces/SKILL.md +1 -1
  467. package/skills/lyra-ui/SKILL.md +1 -1
  468. package/skills/lyra-ui/commands/migrate.md +1 -1
@@ -9,7 +9,7 @@
9
9
  - **Release history** [CHANGELOG.md](../../CHANGELOG.md)
10
10
  - **Deprecations** none
11
11
  - **Optional peers** none
12
- - **Themeable via** 12 parts, 27 custom properties — see this component's own `@csspart`/`@cssprop` list below
12
+ - **Themeable via** 12 parts, 31 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
  ---
@@ -202,6 +202,9 @@ Active and invalid states are independently themeable through
202
202
 
203
203
  `--lr-otp-input-hover-border-color` (default `var(--lr-color-brand)`) is the border of a hovered segment that is neither active nor invalid.
204
204
 
205
+ More themeable custom properties: `--lr-form-control-label-line-height` (default `inherit`): Line
206
+ height of the field label.
207
+
205
208
  **CSS custom states:** `blank` (the empty-value state every other Lyra text and date control
206
209
  publishes), `--blank` (the same, kept for compatibility), `--filled`, `disabled`, and `readonly`,
207
210
  plus the shared form-associated validity states. The host carries `data-invalid` while it is invalid
@@ -244,3 +247,10 @@ control cannot be edited and restores the current intrinsic result when editing
244
247
  <a id="radio-group-controls"></a>
245
248
 
246
249
  The start-placed label aligns to the first line of the field, measured with `--lr-form-control-height`.
250
+
251
+ Further custom properties:
252
+
253
+ - `--lr-form-control-label-gap` also spaces a label above the field.
254
+ - `--lr-form-control-label-line-height` (default `inherit`): Line height of the field label.
255
+ - `--lr-form-control-label-text-align` (default `inherit`): Text alignment of the field label.
256
+ - `--lr-form-control-label-text-transform` (default `inherit`): Text transform of the field label.
@@ -49,6 +49,12 @@ and event listeners survive every breakpoint crossing.
49
49
  - `autoStickyOffsets: boolean = false` (attribute `auto-sticky-offsets`, reflected) — positions
50
50
  sticky regions below the measured banner, header, and subheader. Their height properties still
51
51
  set minimum sizes and provide offsets during server rendering and before measurement.
52
+ - `disableSticky: string | null` (accessor over the existing `disable-sticky` attribute; reads `null` when absent, `null` removes it) — the
53
+ whitespace-separated regions whose sticky positioning is disabled (see below); `null` keeps every
54
+ region sticky.
55
+ - `nonce` (reflected, no default) — accepted so migrated `wa-page` markup keeps it; it changes
56
+ nothing, because the Page injects no `<style>` or `<script>` element (its styles are constructable
57
+ stylesheets, which a `style-src` nonce does not govern).
52
58
  - `navigationPlacement: 'start' | 'end' = 'start'` (attribute `navigation-placement`, reflected) —
53
59
  a logical placement: `start` is left in LTR and right in RTL; `end` is the reverse.
54
60
  - `tabindex: string = '-1'` (reflected) — the host fragment target's native focusability. The Page
@@ -64,7 +70,7 @@ and event listeners survive every breakpoint crossing.
64
70
  `toggleNavigation(): void` update `navOpen`. `visiblePixelsInViewport(element: HTMLElement | null):
65
71
  number` returns the element's finite, viewport-clamped vertical intersection in CSS pixels (`0` for
66
72
  `null`, invalid geometry, no intersection, or an element in a detached document with no viewport).
67
- This is a deliberate owner-realm safety divergence from Web Awesome 3.11, whose method returns
73
+ This is a deliberate owner-realm safety divergence from Web Awesome 3.15, whose method returns
68
74
  `null` for a null input and measures detached-document geometry against the ambient page viewport;
69
75
  code migrating from `wa-page` should treat Lyra's always-finite `number` result as canonical.
70
76
 
@@ -75,6 +75,24 @@ The pager revalidates the requested page after `lr-before-page-change` returns.
75
75
  pager.offset = detail.offset;
76
76
  });
77
77
  ```
78
+
79
+ **Migrating a page-first pager to offset-first.** `lr-page-change.detail` is `{ page, pageSize, offset }`
80
+ on every path of `<lr-pagination>` (numbered buttons, previous/next/first/last, the compact page jump) and
81
+ of `<lr-table>`'s built-in pager; `lr-page-size-change` carries the same triple for a size change. `page`
82
+ is one-based and `offset = (page - 1) * pageSize`, so the conversion lives in the component:
83
+
84
+ ```js
85
+ // before: page-first, converting by hand
86
+ pager.addEventListener('lr-page-change', ({ detail }) => load({ page: detail.page, size: pager.pageSize }));
87
+ pager.page = state.page;
88
+ // after: offset-first, nothing to convert
89
+ pager.addEventListener('lr-page-change', ({ detail }) => load({ offset: detail.offset, limit: detail.pageSize }));
90
+ pager.pageSize = state.limit;
91
+ pager.offset = state.offset; // derives page = floor(offset / pageSize) + 1
92
+ ```
93
+
94
+ Drop the manual `(page - 1) * size` and `Math.floor(offset / size) + 1` conversions. `<lr-data-grid>` is
95
+ already offset-first with a zero-based `page`.
78
96
  - `total: number = 0` (attribute `total`) — total item count; finite values are truncated
79
97
  to a non-negative integer for display and page-count calculations, except for the exact sentinel
80
98
  `-1`, which enters indeterminate mode (see below) instead of clamping to the ordinary empty state.
@@ -40,7 +40,12 @@ current page and
40
40
  `zoom: number = 1` is clamped to `0.25`–`4`. `maxHeight: string = ''` (attribute `max-height`) is a
41
41
  CSS length that, once set, overrides `--lr-pdf-viewer-height` — the block size of the virtualized
42
42
  page list — declaratively, writing it inline on `[part="base"]`; invalid CSS `max-height` values,
43
- declaration breaks, and `url()` are ignored. `workerSrc: string = ''` (attribute `worker-src`) is the
43
+ declaration breaks, and `url()` are ignored. `fill: boolean = false` (reflected) fills a parent with
44
+ a definite block size, such as a dialog body or a sized flex column: the host takes
45
+ `block-size: 100%`, the toolbar keeps its row, and the page list takes the rest and becomes the
46
+ single scroller, replacing the fixed `--lr-pdf-viewer-height` / `max-height` size while set.
47
+ Against an auto-height parent `100%` resolves to `auto`, so give the parent a height.
48
+ `workerSrc: string = ''` (attribute `worker-src`) is the
44
49
  URL of the PDF.js web worker chunk — see **Configuring the PDF.js worker** below.
45
50
  `anchorKinds: readonly LyraAnchorKind[] = ['page',
46
51
  'text-quote', 'region']` (this viewer's supported `LyraAnchor.kind` values for the shared
@@ -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, 27 custom properties — see this component's own `@csspart`/`@cssprop` list below
12
+ - **Themeable via** 15 parts, 31 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
  ---
@@ -255,6 +255,9 @@ The native country selector's hover and press backgrounds are supplemented in fo
255
255
  with dashed/solid `Highlight` outlines, so those states do not collapse when the UA flattens the
256
256
  background tint to `Canvas`.
257
257
 
258
+ More themeable custom properties: `--lr-form-control-label-line-height` (default `inherit`): Line
259
+ height of the field label.
260
+
258
261
  **Optional peer deps:** `libphonenumber-js` is declared optional but never imported by Lyra itself.
259
262
  For full national parsing/formatting, install it in the consuming app and pass it through the
260
263
  consumer-supplied lazy loader below. Because the import expression lives in consumer code, no
@@ -337,3 +340,10 @@ import "@aceshooting/lyra-ui/components/media/flag/flag-peer.js";
337
340
  <a id="time-range-controls"></a>
338
341
 
339
342
  The start-placed label aligns to the first line of the field, measured with `--lr-form-control-height`.
343
+
344
+ Further custom properties:
345
+
346
+ - `--lr-form-control-label-line-height` (default `inherit`): Line height of the field label.
347
+ - `--lr-form-control-label-text-align` (default `inherit`): Text alignment of the field label.
348
+ - `--lr-form-control-label-text-transform` (default `inherit`): Text transform of the field label.
349
+ - `--lr-form-control-label-gap` also spaces a label above the field.
@@ -9,6 +9,6 @@
9
9
  - **Release history** [CHANGELOG.md](../../CHANGELOG.md); family-wide breaking-change summaries: [charts](https://github.com/aceshooting/lyra-ui/blob/main/packages/lyra-ui/llms/charts.md)
10
10
  - **Deprecations** none
11
11
  - **Optional peers** `chart.js`, `chartjs-plugin-annotation`, `chartjs-plugin-datalabels`, `chartjs-plugin-zoom` — see `llms/peers.md`
12
- - **Themeable via** 19 parts, 52 custom properties — see `lr-line-chart.md`
12
+ - **Themeable via** 19 parts, 54 custom properties — see `lr-line-chart.md`
13
13
  - **Documented with** `lr-line-chart`: see [lr-line-chart.md](./lr-line-chart.md).
14
14
  - **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
@@ -9,6 +9,6 @@
9
9
  - **Release history** [CHANGELOG.md](../../CHANGELOG.md); family-wide breaking-change summaries: [charts](https://github.com/aceshooting/lyra-ui/blob/main/packages/lyra-ui/llms/charts.md)
10
10
  - **Deprecations** none
11
11
  - **Optional peers** `chart.js`, `chartjs-plugin-annotation`, `chartjs-plugin-datalabels`, `chartjs-plugin-zoom` — see `llms/peers.md`
12
- - **Themeable via** 19 parts, 52 custom properties — see `lr-line-chart.md`
12
+ - **Themeable via** 19 parts, 54 custom properties — see `lr-line-chart.md`
13
13
  - **Documented with** `lr-line-chart`: see [lr-line-chart.md](./lr-line-chart.md).
14
14
  - **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
@@ -9,7 +9,8 @@
9
9
  - **Release history** [CHANGELOG.md](../../CHANGELOG.md)
10
10
  - **Deprecations** none
11
11
  - **Optional peers** none
12
- - **Themeable via** 9 parts, 11 custom properties — see this component's own `@csspart`/`@cssprop` list below
12
+ - **Themeable via** 9 parts, 14 custom properties — see this component's own `@csspart`/`@cssprop` list below
13
+ - **Tokens by part** (prefer these over a `::part()` rule) `content`: `--lr-overlay-content-padding`
13
14
  - **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
14
15
 
15
16
  ---
@@ -146,9 +147,18 @@ If the import fails, leave the native disclosure visible and usable.
146
147
  if (row && card.forElement !== row) card.forElement = row;
147
148
  });
148
149
  ```
149
- - `anchor: Element | null = null` (property only) — positioning-only direct anchor, taking priority
150
- over `for` and the interaction owner but never receiving click listeners or generated ARIA; a
151
- `showAt()` virtual anchor still wins
150
+ - `anchor: Element | null = null` (property only) — positioning-only element anchor, taking
151
+ priority over `for` and the interaction owner but never receiving click listeners or generated
152
+ ARIA; a `showAt()` virtual anchor and a `virtualElement` still win.
153
+ - `virtualElement: LyraPopoverVirtualElement | null = null` (property only) — positioning-only
154
+ virtual element: any object with `getBoundingClientRect()` and an optional `contextElement`
155
+ (scroll, scale and direction context), such as a text-selection range or a cursor point. It wins
156
+ over `anchor`, `for` and the interaction owner; a `showAt()` virtual anchor still wins. Unlike
157
+ `showAt()`, it persists across close and reopen until replaced; assign a new object to move the
158
+ popover. Clearing it while open closes the popover when nothing else anchors it; a value with no
159
+ callable `getBoundingClientRect` is ignored. Web Awesome's `wa-popover` takes the virtual element
160
+ through `anchor` itself; here `anchor` keeps its element-only contract.
161
+ `popover.virtualElement = { getBoundingClientRect: () => range.getBoundingClientRect() };`
152
162
  - `interactionBoundary: Element | null = null` (property only) — additional light-dismiss
153
163
  containment for DOM anchoring. Pointer presses within this connected element and its composed
154
164
  descendants keep the popup open, so a collection's own activation handler can change `.anchor`
@@ -168,6 +178,11 @@ If the import fails, leave the native disclosure visible and usable.
168
178
  middle of the edge regardless of where the anchor is
169
179
  - `arrowPadding: number = 0` (attribute `arrow-padding`) — keeps the arrow this many px from the
170
180
  popup's corners
181
+ - `fullWidthTrigger: boolean = false` (attribute `full-width-trigger`, reflected) — lays the
182
+ trigger out at full width: the host becomes `display: block` and the `trigger` part and the
183
+ slotted trigger element stretch to the host's inline size (a trigger in a form column or
184
+ sidebar). Unset, the host and trigger stay `inline-block`. It does not size the popup; pair it
185
+ with `--lr-overlay-inline-size` (or `lr-dropdown`'s `sync`) for that.
171
186
  - `accessibleLabel: string = ''` (attribute **`aria-label`**) — names the popup. An authored host
172
187
  attribute wins by presence, including `aria-label=""` (whitespace-only is ignored); otherwise the property
173
188
  or localized "Popover" ("Menu" when `popupRole` is `menu`) fallback apply
@@ -293,12 +308,17 @@ match; the state is in the part name.
293
308
 
294
309
  **Themeable custom properties:** mapped `--max-width`, `--arrow-size`, `--show-duration`, and
295
310
  `--hide-duration`, with retained `--lr-overlay-max-inline-size` and `--lr-overlay-arrow-size`
296
- fallbacks. Arrow size is half the square's width. Rendering the arrow switches `[part~="popup"]` to
311
+ fallbacks. Arrow size is half the square's width. `--lr-overlay-inline-size` (default `auto`, the
312
+ popup shrink-wraps) is an assertive popup width; with it set and no maximum given, the maximum
313
+ falls back to that width instead of `20rem`, and the available viewport space is always a hard
314
+ limit. `--lr-overlay-min-inline-size` (default `0px`) floors the popup for short content, itself
315
+ capped by the available space. `--lr-overlay-content-padding` (default `var(--lr-space-m)`) pads
316
+ `[part~="content"]`. Rendering the arrow switches `[part~="popup"]` to
297
317
  `overflow: visible` so it is not clipped, moving the scroll container onto `[part~="content"]`.
298
318
 
299
319
  The popup and its arrow paint from the **shared overlay-surface family** (16.0.0):
300
320
  `--lr-overlay-surface` (default `var(--lr-color-surface-overlay)`), `--lr-overlay-border` (default
301
- `var(--lr-color-border-subtle)`), `--lr-overlay-radius` (default `var(--lr-radius)`) and
321
+ `var(--lr-color-border-subtle)`), `--lr-overlay-radius` (default `var(--lr-radius-container)`) and
302
322
  `--lr-overlay-shadow-anchored` (default `var(--lr-shadow-m)`). The arrow takes the fill and the
303
323
  edge but never the radius — its corners are already cut by its clip path. None of the four is
304
324
  declared on `:host`, so a single declaration on `:root` retints every floating surface in the
@@ -9,6 +9,6 @@
9
9
  - **Release history** [CHANGELOG.md](../../CHANGELOG.md); family-wide breaking-change summaries: [charts](https://github.com/aceshooting/lyra-ui/blob/main/packages/lyra-ui/llms/charts.md)
10
10
  - **Deprecations** none
11
11
  - **Optional peers** `chart.js`, `chartjs-plugin-annotation`, `chartjs-plugin-datalabels`, `chartjs-plugin-zoom` — see `llms/peers.md`
12
- - **Themeable via** 19 parts, 52 custom properties — see `lr-line-chart.md`
12
+ - **Themeable via** 19 parts, 54 custom properties — see `lr-line-chart.md`
13
13
  - **Documented with** `lr-line-chart`: see [lr-line-chart.md](./lr-line-chart.md).
14
14
  - **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
@@ -10,7 +10,7 @@
10
10
  - **Release history** [CHANGELOG.md](../../CHANGELOG.md)
11
11
  - **Deprecations** none
12
12
  - **Optional peers** none
13
- - **Themeable via** 12 parts, 10 custom properties — see this component's own `@csspart`/`@cssprop` list below
13
+ - **Themeable via** 12 parts, 17 custom properties — see this component's own `@csspart`/`@cssprop` list below
14
14
  - **Tokens by part** (prefer these over a `::part()` rule) `form-control-label`: `--lr-form-control-required-content`
15
15
  - **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
16
16
 
@@ -18,6 +18,8 @@
18
18
 
19
19
  ## `lr-radio-group`
20
20
 
21
+ `label-placement="start"` (default `top`) puts the label in an inline-start column, shared with the other fields (see "Label beside the field"); the toolbar slot then follows the options.
22
+
21
23
  Style the label with `--lr-form-control-label-font-size`, `--lr-form-control-label-font-weight`, and
22
24
  `--lr-form-control-label-color`. The default label size follows `--lr-form-control-font-size`.
23
25
 
@@ -133,3 +135,11 @@ group has no selected radio. `focus()` moves focus to the selected (or first ena
133
135
  `blur()` releases whichever owned radio currently contains deep focus, and `click()` mirrors
134
136
  `focus()` by activating the selected/first enabled radio. All three are inert under direct or
135
137
  fieldset disablement, so the group behaves like one native control.
138
+
139
+ `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`".
140
+
141
+ Further custom properties:
142
+
143
+ - `--lr-form-control-label-gap` also spaces a label above the field.
144
+ - `--lr-form-control-label-text-align` (default `inherit`): Text alignment of the field label.
145
+ - `--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** 21 parts, 18 custom properties — see this component's own `@csspart`/`@cssprop` list below
12
+ - **Themeable via** 21 parts, 21 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
  ---
@@ -141,3 +141,9 @@ paint use `--lr-rubric-form-submit-hover-bg`, `--lr-rubric-form-submit-hover-bor
141
141
  `--lr-rubric-form-skip-active-bg` for its pointer states. All preserve the existing shared-token
142
142
  and color-mix treatments as fallbacks. Disabled actions still dim through `--lr-opacity-disabled`,
143
143
  the same library-wide token every other disabled control reads.
144
+
145
+ Further custom properties:
146
+
147
+ - `--lr-form-control-label-line-height` (default `inherit`): Line height of the field label.
148
+ - `--lr-form-control-label-text-align` (default `inherit`): Text alignment of the field label.
149
+ - `--lr-form-control-label-text-transform` (default `inherit`): Text transform of the field label.
@@ -9,6 +9,6 @@
9
9
  - **Release history** [CHANGELOG.md](../../CHANGELOG.md); family-wide breaking-change summaries: [charts](https://github.com/aceshooting/lyra-ui/blob/main/packages/lyra-ui/llms/charts.md)
10
10
  - **Deprecations** none
11
11
  - **Optional peers** `chart.js`, `chartjs-plugin-annotation`, `chartjs-plugin-datalabels`, `chartjs-plugin-zoom` — see `llms/peers.md`
12
- - **Themeable via** 19 parts, 52 custom properties — see `lr-line-chart.md`
12
+ - **Themeable via** 19 parts, 54 custom properties — see `lr-line-chart.md`
13
13
  - **Documented with** `lr-line-chart`: see [lr-line-chart.md](./lr-line-chart.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** 7 parts, 25 custom properties — see this component's own `@csspart`/`@cssprop` list below
12
+ - **Themeable via** 7 parts, 30 custom properties — see this component's own `@csspart`/`@cssprop` list below
13
13
  - **Tokens by part** (prefer these over a `::part()` rule) `base`: `--lr-segmented-track-bg`, `--lr-segmented-track-border-color`, `--lr-segmented-track-height`, `--lr-segmented-track-min-height`
14
14
  - **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
15
15
 
@@ -42,6 +42,12 @@ string; label: string; icon?: unknown; disabled?: boolean }`; `icon` renders as
42
42
  action or accessible name. Input is read through a realm-neutral bounded schema snapshot (at most
43
43
  256 positions); malformed/hostile entries are skipped, later duplicate values use
44
44
  first-valid-value-wins, and the frozen returned array/records never alias caller-owned objects.
45
+ - `iconPlacement: LyraSegmentedIconPlacement = 'start'` (attribute `icon-placement`, reflected once
46
+ set) — `'start' | 'end'`, the logical side of the label each item's `icon` renders on; unsupported
47
+ values normalize to `'start'`.
48
+ - `fullWidth: boolean = false` (attribute `full-width`, reflected) — stretches the control across
49
+ its container and grows the segments to share the spare width, in every `layout`; a `'scroll'` row
50
+ whose segments no longer fit still scrolls.
45
51
  - `value: string = ''` — the currently selected item's `value`.
46
52
  - `label: string = ''` — field caption and accessible-name fallback. Property-only naming keeps
47
53
  its existing `aria-label` value on the internal `role="radiogroup"`.
@@ -115,7 +121,8 @@ label-click action, form association or validation API.
115
121
  **CSS parts:** `form-control` (caption, track and hint wrapper), `form-control-label` (caption),
116
122
  `hint` (supporting text), `base` (the `role="radiogroup"` root and horizontal scroll owner),
117
123
  `segment` (a single `role="radio"` button), `segment-icon` (an optional inert, `aria-hidden`
118
- decorative leading icon), `segment-label` (the segment's label text).
124
+ decorative icon, before the label or after it with `icon-placement="end"`), `segment-label` (the
125
+ segment's label text).
119
126
 
120
127
  **Themeable custom properties:** `--lr-scroll-fade-size` (default `2rem`) — width of the mask fade
121
128
  at each horizontal scroll edge of the track, painted only while the track actually overflows (a row
@@ -172,6 +179,9 @@ Otherwise shared tokens — `--lr-color-border`/`-surface`/`-text`/
172
179
  `--lr-opacity-disabled`, `--lr-focus-ring-*`, and the `--lr-form-control-*` knobs the `size` tier
173
180
  resolves.
174
181
 
182
+ More themeable custom properties: `--lr-form-control-label-line-height` (default `inherit`): Line
183
+ height of the field label.
184
+
175
185
  **Optional peer deps:** none.
176
186
 
177
187
  ```html
@@ -209,6 +219,7 @@ resolves.
209
219
 
210
220
  **Additional API surface:**
211
221
 
222
+ - `--lr-segmented-segment-min-size` — Minimum inline and block size of each segment's hit area. Default: `var(--lr-size-24px)`.
212
223
  - `--lr-segmented-track-gap` — Gap between segments. Default: `var(--lr-size-0-125rem)`.
213
224
  - `--lr-segmented-track-radius` — Track corner radius. Default: `var(--lr-radius)`.
214
225
  - `--lr-segmented-segment-radius` — Each segment's own corner radius, independent of the track's.
@@ -219,4 +230,11 @@ resolves.
219
230
  - `--lr-segmented-track-border-color` — Border color of the `base` track, which previously read
220
231
  `--lr-color-border` as a literal with no override hook. Default: `var(--lr-color-border)`.
221
232
 
233
+ Further custom properties:
234
+
235
+ - `--lr-form-control-label-gap` (default `var(--lr-space-xs)`): Space between the label above the field and the field.
236
+ - `--lr-form-control-label-line-height` (default `inherit`): Line height of the field label.
237
+ - `--lr-form-control-label-text-align` (default `inherit`): Text alignment of the field label.
238
+ - `--lr-form-control-label-text-transform` (default `inherit`): Text transform of the field label.
239
+
222
240
  ---
@@ -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, 52 custom properties — see this component's own `@csspart`/`@cssprop` list below
12
+ - **Themeable via** 36 parts, 58 custom properties — see this component's own `@csspart`/`@cssprop` list below
13
13
  - **Tokens by part** (prefer these over a `::part()` rule) `form-control-label`: `--lr-form-control-required-content`; `listbox`: `--lr-theme-scrollbar-color`, `--lr-theme-scrollbar-gutter`, `--lr-theme-scrollbar-width`; `option-badge`: `--lr-select-option-badge-bg`; `tag__remove-button`: `--lr-select-tag-remove-hover-bg`; `unknown-value`: `--lr-select-unknown-value-border-style`
14
14
  - **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
15
15
 
@@ -368,7 +368,7 @@ text are part of the focused control's accessible description.
368
368
  **CSS parts:** `form-control`, `form-control-label`, `label`, `form-control-input`, `combobox`,
369
369
  `trigger`, `display-input`, `start`, `prefix`, `end`, `suffix`, `tags` (the legal sibling
370
370
  `multiple`-mode chip row), `tag`/`tag__base` (one selected-value chip), `tag-label`/`tag__content`,
371
- `tag__remove-button`/`tag__remove-button__base`, and `tag-overflow` (the "+N" chip standing in for the selections past
371
+ `tag__remove-button`/`tag__remove-button__base`/`tag__remove-button__button` (all on the same button), and `tag-overflow` (the "+N" chip standing in for the selections past
372
372
  `max-options-visible` — it carries **both** `tag` and `tag-overflow`, so `::part(tag)` styles every
373
373
  chip while `::part(tag-overflow)` reaches only that one; state after `::part()` never matches, so it
374
374
  is encoded in the part name instead), `unknown-value` (the dashed/italic badge shown next to the
@@ -425,7 +425,7 @@ Mapped hooks `--tag-max-size` (default `var(--lr-size-12rem)`), `--show-duration
425
425
 
426
426
  The listbox is a floating surface and paints from the **shared overlay-surface family** (16.0.0):
427
427
  `--lr-overlay-surface` (default `var(--lr-color-surface-overlay)`), `--lr-overlay-border` (default
428
- `var(--lr-color-border)`), `--lr-overlay-radius` (default `var(--lr-radius)`) and
428
+ `var(--lr-color-border)`), `--lr-overlay-radius` (default `var(--lr-radius-container)`) and
429
429
  `--lr-overlay-shadow-anchored` (default `var(--lr-shadow-m)`). None is declared on `:host`, so one
430
430
  declaration on `:root` — or on any ancestor, to scope it — retints this listbox together with every
431
431
  other floating surface; the trigger it drops from is untouched and keeps the hooks below.
@@ -586,3 +586,11 @@ state mixes from this same token. Scoped independently of `--lr-select-trigger-h
586
586
  <a id="date-and-range-controls"></a>
587
587
 
588
588
  The start-placed label aligns to the first line of the field, measured with `--lr-form-control-height`.
589
+
590
+ `--lr-form-control-focus-outline` (default the standard focus ring) replaces the trigger's keyboard outline, `--lr-form-control-transition` (default `none`) is the shared opt-in border and halo `transition`, `--lr-select-open-shadow` (default `--lr-form-control-focus-shadow`) is the halo while the listbox is open, and `--lr-form-control-label-line-height` (default `inherit`) sets the label line height.
591
+
592
+ Further custom properties:
593
+
594
+ - `--lr-form-control-label-gap` also spaces a label above the field.
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.
@@ -82,7 +82,7 @@ The toolbar is a floating surface and paints from the **shared overlay-surface f
82
82
  `--lr-overlay-surface` (default `var(--lr-color-surface-overlay)`), `--lr-overlay-border` (default
83
83
  `var(--lr-color-border-subtle)`) and `--lr-overlay-shadow-anchored` (default `var(--lr-shadow-m)`). None is
84
84
  declared on `:host`, so one declaration on `:root` — or on any ancestor, to scope it — retints this
85
- surface together with every other floating surface in the library. `--lr-overlay-radius` (default `var(--lr-radius)`) is the matching corner radius.
85
+ surface together with every other floating surface in the library. `--lr-overlay-radius` (default `var(--lr-radius-container)`) is the matching corner radius.
86
86
 
87
87
  **Slots:** `actions` — extra actions rendered after the built-in ask/quote/cite/copy buttons,
88
88
  inside the same `role="toolbar"` element and roving-tabindex group. **Optional peer deps:** none.
@@ -9,7 +9,8 @@
9
9
  - **Release history** [CHANGELOG.md](../../CHANGELOG.md)
10
10
  - **Deprecations** none
11
11
  - **Optional peers** none
12
- - **Themeable via** 4 parts, 4 custom properties — see this component's own `@csspart`/`@cssprop` list below
12
+ - **Themeable via** 4 parts, 9 custom properties — see this component's own `@csspart`/`@cssprop` list below
13
+ - **Tokens by part** (prefer these over a `::part()` rule) `value`: `--lr-sequence-playback-value-font-family`, `--lr-sequence-playback-value-font-size`, `--lr-sequence-playback-value-font-weight`, `--lr-sequence-playback-value-min-width`, `--lr-sequence-playback-value-text-align`
13
14
  - **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
14
15
 
15
16
  ---
@@ -45,6 +46,8 @@ keeps its own purpose name. A whitespace-only or empty host label leaves the hos
45
46
  Mutating playback inside the callback discards its result without immediately retrying it.
46
47
  - `withValue: boolean = false` (attribute `with-value`) — show a non-live position readout below
47
48
  the range. Hidden by default; it duplicates the range's text and is `aria-hidden`.
49
+ - `fullWidth: boolean = false` (attribute `full-width`, reflected) — stretches the control across its
50
+ container, the range taking the spare width; off by default, so it keeps its content width.
48
51
  - `hidden: boolean = false` (reflected; re-declared over the native IDL property so Lit's
49
52
  change-tracking sees it and auto-pauses on `hidden = true`)
50
53
 
@@ -88,7 +91,10 @@ date, or state instead; enable `with-value` when sighted users also need that te
88
91
  called at most once per render and both presentations share its result. The visible text wraps at narrow
89
92
  allocations and is not a live region, avoiding unsolicited announcements on every timer tick.
90
93
 
91
- **Themeable custom properties:** `--lr-sequence-playback-icon-size` (default
94
+ **Themeable custom properties:** the `with-value` readout takes `--lr-sequence-playback-value-font-family`
95
+ (default `inherit`), `--lr-sequence-playback-value-font-size` (default `var(--lr-font-size-sm)`), `--lr-sequence-playback-value-font-weight` (default `inherit`),
96
+ `--lr-sequence-playback-value-min-width` (default `0`; reserve room so a changing number does not shift the slider) and `--lr-sequence-playback-value-text-align`
97
+ (default `inherit`). `--lr-sequence-playback-icon-size` (default
92
98
  `calc(var(--lr-icon-button-size) * 0.35)` — the play/pause glyph's size; applied as the button's
93
99
  `font-size`, and the inline SVG renders at `1em`).
94
100
  `--lr-sequence-playback-play-button-active-bg` (default
@@ -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, 21 custom properties — see this component's own `@csspart`/`@cssprop` list below
12
+ - **Themeable via** 8 parts, 24 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
  ---
@@ -140,3 +140,10 @@ Color-picker's `lr-input` includes `{ value }`. Combobox filter typing keeps its
140
140
  contract; typed value events describe committed selections, not the filter query.
141
141
 
142
142
  The start-placed label aligns to the first line of the field, measured with `--lr-form-control-height`.
143
+
144
+ Further custom properties:
145
+
146
+ - `--lr-form-control-label-gap` also spaces a label above the field.
147
+ - `--lr-form-control-label-line-height` (default `inherit`): Line height of the field label.
148
+ - `--lr-form-control-label-text-align` (default `inherit`): Text alignment of the field label.
149
+ - `--lr-form-control-label-text-transform` (default `inherit`): Text transform of the field label.
@@ -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 uses the form-control label size, `var(--lr-font-size-md-sm)`, like `lr-input` and `lr-select`; set `--lr-form-control-label-font-size: 1em` on the slider to follow the surrounding font size instead. `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.