@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
package/llms/migration.md CHANGED
@@ -21,7 +21,15 @@ The supported upstream identities are `@awesome.me/webawesome` and `@awesome.me/
21
21
  for Web Awesome, plus `@shoelace-style/shoelace`. The tool scans HTML, standalone CSS,
22
22
  JavaScript, TypeScript, JSX, Vue, Svelte, MDX, and Markdown. It rewrites inventory-declared
23
23
  tags, members, defaults, and supported side-effect registration imports.
24
- Imports with bindings remain manual because exported names cannot be inferred safely. An
24
+ Tag selectors in standalone CSS, `<style>` blocks, `css` tagged templates and `::slotted()`, and
25
+ tags in selector strings passed to an element-scoped `querySelector()`, `querySelectorAll()`,
26
+ `closest()` or `matches()`, are renamed when the mapping is automatic. On a renamed Shoelace form
27
+ control, the validation attribute selectors (`[data-user-invalid]`, `[data-invalid]`,
28
+ `[data-user-valid]`, `[data-valid]`, `[data-required]`, `[data-optional]`) become the matching
29
+ `:state()` when the Lyra target documents it, and report `VALIDATION_STATE_REVIEW` when it does not.
30
+ Translation side-effect imports and recognized named utility imports are routed to Lyra
31
+ subpaths; see the utility migration notes in `llms/shared/native-styles-and-utilities.md`.
32
+ Other imports with bindings remain manual because exported names cannot be inferred safely. An
25
33
  aliased component value that uses a rewritten member blocks that mapping across the scanned
26
34
  target set, preventing a registration import from changing while an old member remains. A root
27
35
  Web Awesome or Shoelace registration import changes only when that package identity and tier
@@ -36,7 +44,12 @@ Migrated Web Awesome and Shoelace icon tags emit `BEHAVIOR_REVIEW_REQUIRED` beca
36
44
  dependency-free default library contains only `add`, `check`, `close`, `search`, `menu`,
37
45
  `chevron-left`, `chevron-right`, `chevron-down`, `calendar`, `command`, and `trash`.
38
46
  Replace other names explicitly or provide their vocabulary with
39
- `registerIconLibrary('default', { resolver })`.
47
+ `registerIconLibrary('default', { resolver })`. Web Awesome's Font Awesome names keep working
48
+ after `registerFontAwesomeIconLibrary({ name: 'default' })` from
49
+ `components/utility/icon/icon-library-font-awesome.js` (add `kitCode` for Pro families), and
50
+ Shoelace's Bootstrap Icons names after `registerBootstrapIconLibrary({ name: 'default' })` from
51
+ `components/utility/icon/icon-library-bootstrap.js` (add `basePath` to self-host). Each review
52
+ message names the preset for its upstream.
40
53
  Re-running the tool is idempotent; comments, prose, partial strings, and unrelated packages are
41
54
  left alone.
42
55
 
@@ -1885,6 +1898,71 @@ reported as `GLOBAL_REVIEW`, acknowledged as `lyra-migrate-reviewed: GLOBAL_REVI
1885
1898
  | locale-key | `xmlViewerExpandNode` | `xmlViewerToggleNode` | Reported only. lr-xml-viewer names its node toggle with one constant key while aria-expanded reports the state; a string override under the old key no longer applies. |
1886
1899
  | part | `<lr-thread-list> ::part(pin-glyph)` | Style the pin indicator through pin-icon. | Reported only. The pin indicator part is named pin-icon, like the without-pin-icon attribute that hides it. |
1887
1900
 
1901
+ ## Migrating from Lyra 32 to Lyra 33 (`--origin=lyra-v32`)
1902
+
1903
+ Lyra 32 minor releases and Lyra 33 rename some Lyra-only attributes, properties, events, CSS parts,
1904
+ custom properties and slots. Previous names still supported by the installed release are deprecated aliases.
1905
+ A removal floor is not an automatic removal date. Names and defaults in the pinned upstream's current, nondeprecated API remain mirrored.
1906
+ Run the CLI of the installed package after upgrading, within Lyra 32 or to Lyra 33. It
1907
+ applies only the entries the installed release ships, so running it again after a later upgrade
1908
+ picks up the rest:
1909
+
1910
+ ```bash
1911
+ npx lyra-ui-migrate --origin=lyra-v32 --diff src > lyra-v32.patch
1912
+ npx lyra-ui-migrate --origin=lyra-v32 --check --report=lyra-v32-migration.json src
1913
+ ```
1914
+
1915
+ `--diff` prints a patch and writes nothing. The profile rewrites a name only where the rewrite
1916
+ cannot change what the site reaches: attribute, property and slot bindings on the component in
1917
+ HTML, Lit, JSX, Vue, Svelte and Angular templates; `exportparts` and `::part()` or attribute
1918
+ selectors that name the component; and calls rooted at `querySelector('lr-…')`, `closest()` or
1919
+ `createElement()`. Events bubble and custom properties inherit, so a listener moves only when no
1920
+ other component already dispatches the new name, and an unowned listener or any custom-property
1921
+ use only when, in addition, every component with the old name renamed it the same way and the
1922
+ scanned code never dispatches the old name itself. Everything else is reported with a location;
1923
+ the old name keeps working meanwhile.
1924
+
1925
+ | Code | Reported when |
1926
+ |---|---|
1927
+ | `RENAME_REVIEW` | An old name at a site that does not prove its component, or where another component keeps the name. |
1928
+ | `RENAME_TARGET_SHARED_REVIEW` | The new name is already used by another component, so renaming would widen the site. |
1929
+ | `NAME_GAINED_OWNER_REVIEW` | A listener, `::part()` selector or declaration of a name that more components use after the upgrade. |
1930
+ | `POLARITY_REVIEW` | A boolean replaced by its inverse is bound, assigned or selected, or set statically where a framework assigns properties. |
1931
+ | `DETAIL_SHAPE_REVIEW` | A listener may receive an event whose detail changed; details cannot be aliased. |
1932
+ | `RETIRED_EVENT_REVIEW` | A listener or event-name string may use an alias already removed in the target release; review its replacement and listener reach. |
1933
+ | `PROPERTY_CHANGE_REVIEW` | A property keeps its name but changes its accepted values or behavior; review the assignment without rewriting an ambiguous runtime value. |
1934
+ | `DEPRECATED_MEMBER_REVIEW`, `DEPRECATED_CONTENT_REVIEW` | A deprecated member, tag or kind of slotted content without a mechanical replacement. |
1935
+ | `DEPRECATED_MODULE_REVIEW` | A deprecated module, stylesheet, named export, window event or root attribute. Its replacement needs a semantic review. |
1936
+ | `GLOBAL_REVIEW` | A moved package specifier, removed root export or removed localization key that cannot be rewritten safely. |
1937
+ | `THEME_SCOPE_CSS_INPUT_REVIEW`, `THEME_SCOPE_OUTPUT_REVIEW`, `THEME_SCOPE_DYNAMIC_INPUT_REVIEW`, `THEME_SCOPE_REPEATED_REVIEW`, `THEME_SCOPE_DOUBLE_LAYER_REVIEW` | The `theme-scopes` rule found an input, shared output or marker that needs a theme scope by hand, or `tokens-root.css` imported next to `theme.css`, which already carries the layer. |
1938
+ | `MODULE_NAMESPACE_REVIEW` | A namespace, dynamic import or CommonJS module access whose exported bindings need review. |
1939
+ | `RENAME_CONFLICT_REVIEW` | The element already binds the new name, or the same receiver already listens to it with the same handler. |
1940
+ | `UNUSED_ACKNOWLEDGEMENT` | An acknowledgement comment matches no report. |
1941
+
1942
+ After reviewing a site, add a comment containing `lyra-migrate-reviewed: CODE:name` (for example
1943
+ `DETAIL_SHAPE_REVIEW:lr-close`) on the reported line, alone on the line above it, or directly before
1944
+ the element's opening tag. Acknowledged reports no longer fail `--check`. Re-running the profile
1945
+ is idempotent. Templates rendered on the server must be re-rendered after migrating, because Lit
1946
+ hydration compares template strings.
1947
+
1948
+ | Component | Property | Semantic change in Lyra 33 (reported, never rewritten) |
1949
+ |---|---|---|
1950
+ | `<lr-copy-button>` | `feedbackDuration` | An omitted feedback-duration now shows the copied or failed feedback for 1000 ms instead of 1500 ms, matching Web Awesome and Shoelace; set feedback-duration="1500" to keep the longer feedback. |
1951
+ | `<lr-timeline>` | `orientation` | orientation="auto" is now accepted instead of falling back to vertical: an auto timeline runs as a row while its measured inline size gives every item about 10em, and the property's type includes 'auto', so review code that switches over orientation (read effectiveOrientation for the axis in effect). |
1952
+ | `<lr-token-input>` | `delimiter` | Each character of delimiter is now a separate delimiter (";," splits at every semicolon and every comma, and typing either commits); a multi-character value no longer matches only as one whole string, so review a delimiter longer than one character. |
1953
+
1954
+ Entries no component owns. A module specifier is rewritten where it is provably an import, re-export,
1955
+ dynamic import, `require()`, CSS `@import`, `<link href>`/`<script src>` or a `node_modules/` path, and in any
1956
+ string of a JSON file such as `.vscode/settings.json` (pass it as an explicit target); anywhere else it is
1957
+ reported. A removed root or barrel export is re-bound as `New as Old` in the import clause, so local references keep
1958
+ working. A removed custom property whose replacement is one custom property is rewritten to it. Other uses (a
1959
+ deep import, a namespace member), prefix or prose custom-property guidance and removed localization keys are
1960
+ reported as `GLOBAL_REVIEW`, acknowledged as `lyra-migrate-reviewed: GLOBAL_REVIEW:<name>`.
1961
+
1962
+ | Kind | From | To | Handling |
1963
+ |---|---|---|---|
1964
+ | css-property | `--lr-form-control-label-block-gap` | --lr-form-control-label-gap | Rewritten; custom properties inherit, so the reach is unchanged. One label gap spaces a label above the field as well as a label-placement="start" column, so a value set for the start column now also spaces top labels; scope it to the start-placed controls if only the column should change. |
1965
+
1888
1966
  ## Upstream compatibility spellings
1889
1967
 
1890
1968
  The deprecated upstream compatibility spellings have retired; see the v29 to v30 migration guide for their replacements and review requirements.
@@ -1895,11 +1973,11 @@ For `lr-icon`, the retired `auto-width` attribute migrates to `canvas="auto"`. R
1895
1973
 
1896
1974
  | Ecosystem | Exact | Rewritten | Warning required | Conceptual only | Unsupported | Automatic | Manual |
1897
1975
  |---|---:|---:|---:|---:|---:|---:|---:|
1898
- | Web Awesome | 30 | 38 | 19 | 0 | 0 | 68 | 19 |
1976
+ | Web Awesome | 30 | 44 | 21 | 0 | 1 | 74 | 22 |
1899
1977
  | Shoelace | 18 | 28 | 12 | 0 | 0 | 46 | 12 |
1900
- | **Total** | **48** | **66** | **31** | **0** | **0** | **114** | **31** |
1978
+ | **Total** | **48** | **72** | **33** | **0** | **1** | **120** | **34** |
1901
1979
 
1902
- ## Web Awesome (87)
1980
+ ## Web Awesome (96)
1903
1981
 
1904
1982
  The pinned Web Awesome manifest is authoritative for this inventory; only rows marked automatic are codemod inputs.
1905
1983
 
@@ -1916,7 +1994,7 @@ The pinned Web Awesome manifest is authoritative for this inventory; only rows m
1916
1994
  | `<wa-breadcrumb-item>` | `<lr-breadcrumb-item>` | `exact` | Automatic: tag and supported side-effect registration import. Responsive navigation trail. |
1917
1995
  | `<wa-bubble-chart>` | `<lr-bubble-chart>` | `exact` | Automatic: tag and supported side-effect registration import. Typed `<lr-chart>` subclasses with tag-specific defaults and the full writable `LyraChartType` vocabulary — same optional peer deps as `<lr-chart>`. |
1918
1996
  | `<wa-button>` | `<lr-button>` | `rewritten` | Automatic: tag/import plus events: wa-invalid → lr-invalid. Equivalent surface representation: name defaults null ≡ ; no source rewrite. |
1919
- | `<wa-button-group>` | `<lr-button-group>` | `exact` | Automatic: tag and supported side-effect registration import. Responsive semantic grouping for related action controls. |
1997
+ | `<wa-button-group>` | `<lr-button-group>` | `rewritten` | Automatic: tag/import plus parts: base → button-group. |
1920
1998
  | `<wa-callout>` | `<lr-callout>` | `exact` | Automatic: tag and supported side-effect registration import. Dismissible inline status, warning, and error message surface. |
1921
1999
  | `<wa-card>` | `<lr-card>` | `exact` | Automatic: tag and supported side-effect registration import. Generic bordered content container (`header`/`media`/`footer`/`actions` slots) — a direct `<lr-*>` counterpart to `wa-card`. |
1922
2000
  | `<wa-carousel>` | `<lr-carousel>` | `warning-required` | Manual: Lyra accepts arbitrary HTMLElement slides, so its slide-change detail is wider than the upstream carousel-item class; in v9 the slides member is a read-only live composition count rather than a writable reflected attribute. Migrated handlers that rely on item-specific members or write slides require review. |
@@ -1924,18 +2002,20 @@ The pinned Web Awesome manifest is authoritative for this inventory; only rows m
1924
2002
  | `<wa-chart>` | `<lr-chart>` | `exact` | Automatic: tag and supported side-effect registration import. Core Chart.js wrapper (`LyraChartSeries`-based, plus raw `config` passthrough) with bounded `appendData()` streaming and `exportData('csv'. |
1925
2003
  | `<wa-checkbox>` | `<lr-checkbox>` | `rewritten` | Automatic: tag/import plus events: wa-invalid → lr-invalid. Equivalent surface representation: name defaults null ≡ ; no source rewrite. |
1926
2004
  | `<wa-checkbox-group>` | `<lr-checkbox-group>` | `exact` | Automatic: tag and supported side-effect registration import. Form-associated group of checkboxes with array values and group validation. |
1927
- | `<wa-color-picker>` | `<lr-color-picker>` | `rewritten` | Automatic: tag/import plus events: wa-after-hide → lr-after-hide; events: wa-after-show → lr-after-show; events: wa-hide → lr-hide; events: wa-invalid → lr-invalid; events: wa-show → lr-show. Equivalent surface representation: name defaults null ≡ ; no source rewrite. |
2005
+ | `<wa-code-highlighter>` | `<lr-code-block>` | `warning-required` | Manual: lr-code-block exposes its code as a named, focusable role="group" surface where wa-code-highlighter exposes a region landmark, so assistive-technology navigation that relies on the region landmark needs review. Highlighting also needs the optional shiki peer. A global registerCodeGrammar() call maps to registerCodeGrammar() from the root barrel or @aceshooting/lyra-ui/components/conversation/code-block/code-grammar-registry.js, which also accepts lazy loaders and aliases. |
2006
+ | `<wa-color-picker>` | `<lr-color-picker>` | `rewritten` | Automatic: tag/import plus events: wa-after-hide → lr-after-hide; events: wa-after-show → lr-after-show; events: wa-hide → lr-hide; events: wa-invalid → lr-invalid; events: wa-show → lr-show; parts: base → color-picker; parts: eyedropper-button__base → eyedropper-button__button; parts: format-button__base → format-button__button. Equivalent surface representation: name defaults null ≡ ; no source rewrite. |
1928
2007
  | `<wa-combobox>` | `<lr-combobox>` | `warning-required` | Manual: Native input/change notifications on lr-combobox are bubbling, composed Event instances without a detail payload. Its lr-input/lr-change aliases carry the frozen readonly value, previousValue and row data, narrowed by the picker value generic; migrated handlers reading or mutating upstream CustomEvent detail must use the prefixed aliases and review the narrower single-select type. Its appearance also accepts the full shared LyraAppearance vocabulary (accent and plain in addition to the three upstream values) since 20.0.0; every upstream value keeps its meaning, so only exhaustive TypeScript switches over the narrower upstream union need review. |
1929
2008
  | `<wa-comparison>` | `<lr-image-comparer>` | `exact` | Automatic: tag and supported side-effect registration import. Before/after slotted surfaces with a keyboard-accessible range divider. |
1930
- | `<wa-copy-button>` | `<lr-copy-button>` | `rewritten` | Automatic: tag/import plus events: wa-copy → lr-copy; events: wa-error → lr-error; insert feedback-duration=1000. Equivalent surface representation: feedbackDuration defaults 1000 ≡ 1500; no source rewrite. |
2009
+ | `<wa-copy-button>` | `<lr-copy-button>` | `rewritten` | Automatic: tag/import plus events: wa-copy → lr-copy; events: wa-error → lr-error. |
2010
+ | `<wa-counter>` | `<lr-counter>` | `rewritten` | Automatic: tag/import plus events: wa-finish → lr-finish. |
1931
2011
  | `<wa-data-grid>` | `<lr-data-grid>` | `warning-required` | Manual: Lyra snapshots collection inputs and event details synchronously into frozen readonly values, removes the redundant wa-data-request alias, and deprecates the unprefixed request event in favor of lr-request. Migrated code that mutates arrays or event details in place, assigns derived collections, listens for the removed alias, or relies on the unprefixed request event must be reviewed. |
1932
2012
  | `<wa-date-input>` | `<lr-date-input>` | `warning-required` | Manual: Since 20.0.0 lr-date-input accepts the full shared LyraAppearance vocabulary (accent and plain in addition to the three upstream values). Every upstream value keeps its meaning, so migrated markup is unaffected; only exhaustive TypeScript switches over the narrower upstream union need review. Its lr-hide is cancelable except when disabling the field or making it readonly closes an open popup, which a listener cannot veto; handlers that rely on vetoing every hide need review. |
1933
2013
  | `<wa-date-picker>` | `<lr-date-picker>` | `rewritten` | Automatic: tag/import plus events: wa-focus-day → lr-focus-day; events: wa-view-change → lr-view-change. |
1934
2014
  | `<wa-details>` | `<lr-details>` | `rewritten` | Automatic: tag/import plus events: wa-after-hide → lr-after-hide; events: wa-after-show → lr-after-show; events: wa-hide → lr-hide; events: wa-show → lr-show. |
1935
- | `<wa-dialog>` | `<lr-dialog>` | `rewritten` | Automatic: tag/import plus events: wa-after-hide → lr-after-hide; events: wa-after-show → lr-after-show; events: wa-hide → lr-hide; events: wa-show → lr-show. |
2015
+ | `<wa-dialog>` | `<lr-dialog>` | `rewritten` | Automatic: tag/import plus events: wa-after-hide → lr-after-hide; events: wa-after-show → lr-after-show; events: wa-hide → lr-hide; events: wa-show → lr-show; parts: close-button__base → close-button__button. |
1936
2016
  | `<wa-divider>` | `<lr-divider>` | `exact` | Automatic: tag and supported side-effect registration import. Horizontal or vertical semantic separator. |
1937
2017
  | `<wa-doughnut-chart>` | `<lr-doughnut-chart>` | `exact` | Automatic: tag and supported side-effect registration import. Typed `<lr-chart>` subclasses with tag-specific defaults and the full writable `LyraChartType` vocabulary — same optional peer deps as `<lr-chart>`. |
1938
- | `<wa-drawer>` | `<lr-drawer>` | `rewritten` | Automatic: tag/import plus events: wa-after-hide → lr-after-hide; events: wa-after-show → lr-after-show; events: wa-hide → lr-hide; events: wa-show → lr-show. |
2018
+ | `<wa-drawer>` | `<lr-drawer>` | `rewritten` | Automatic: tag/import plus events: wa-after-hide → lr-after-hide; events: wa-after-show → lr-after-show; events: wa-hide → lr-hide; events: wa-show → lr-show; parts: close-button__base → close-button__button. |
1939
2019
  | `<wa-dropdown>` | `<lr-dropdown>` | `rewritten` | Automatic: tag/import plus events: wa-after-hide → lr-after-hide; events: wa-after-show → lr-after-show; events: wa-hide → lr-hide; events: wa-select → lr-select; events: wa-show → lr-show. |
1940
2020
  | `<wa-dropdown-item>` | `<lr-dropdown-item>` | `rewritten` | Automatic: tag/import plus attributes: submenuOpen → submenu-open. |
1941
2021
  | `<wa-file-input>` | `<lr-file-input>` | `warning-required` | Manual: Lyra exposes dragging and fileCount as getter-only derived state. Migrated code that assigned either upstream field must instead drive them through drag interaction or the selected-files input contract. |
@@ -1947,13 +2027,16 @@ The pinned Web Awesome manifest is authoritative for this inventory; only rows m
1947
2027
  | `<wa-input>` | `<lr-input>` | `rewritten` | Automatic: tag/import plus events: wa-clear → lr-clear; events: wa-invalid → lr-invalid. Equivalent surface representation: name defaults null ≡ ; no source rewrite. |
1948
2028
  | `<wa-intersection-observer>` | `<lr-intersection-observer>` | `rewritten` | Automatic: tag/import plus events: wa-intersect → lr-intersect. |
1949
2029
  | `<wa-known-date>` | `<lr-known-date>` | `rewritten` | Automatic: tag/import plus events: wa-invalid → lr-invalid; parts: label → form-control-label. |
2030
+ | `<wa-lightbox>` | `<lr-lightbox>` | `rewritten` | Automatic: tag/import plus events: wa-after-hide → lr-after-hide; events: wa-after-show → lr-after-show; events: wa-hide → lr-hide; events: wa-item-change → lr-item-change; events: wa-show → lr-show. |
2031
+ | `<wa-lightbox-item>` | `<lr-lightbox-item>` | `exact` | Automatic: tag and supported side-effect registration import. Full-screen image and video viewer: slot `<lr-lightbox-item>` links (work without JavaScript) or drive it with `images`/`imageSource`; thumbnails, swipe, zoom, `lr-item-change`. |
1950
2032
  | `<wa-line-chart>` | `<lr-line-chart>` | `exact` | Automatic: tag and supported side-effect registration import. Typed `<lr-chart>` subclasses with tag-specific defaults and the full writable `LyraChartType` vocabulary — same optional peer deps as `<lr-chart>`. |
1951
2033
  | `<wa-markdown>` | `<lr-markdown>` | `warning-required` | Manual: The source and target light-DOM Markdown content models and optional-peer runtime requirements are not mechanically equivalent; migration leaves the use unchanged and reports the required review. |
1952
2034
  | `<wa-mutation-observer>` | `<lr-mutation-observer>` | `rewritten` | Automatic: tag/import plus events: wa-mutation → lr-mutation. |
1953
2035
  | `<wa-number-input>` | `<lr-number-input>` | `rewritten` | Automatic: tag/import plus events: wa-invalid → lr-invalid. Equivalent surface representation: name defaults null ≡ ; no source rewrite. |
2036
+ | `<wa-number-ticker>` | `<lr-number-ticker>` | `rewritten` | Automatic: tag/import plus events: wa-finish → lr-finish. Equivalent surface representation: easing defaults DEFAULT_EASING ≡ cubic-bezier(0.16, 1, 0.3, 1); no source rewrite. |
1954
2037
  | `<wa-option>` | `<lr-option>` | `exact` | Automatic: tag and supported side-effect registration import. Filterable single/multi select, form-associated; options separate live `selected` from attribute-backed/reset `defaultSelected`; `xs`–`xl` sizing; async rich rows and retained selection payloads via `source`/`selectedRows`; virtual scrolling with `max-render`. |
1955
2038
  | `<wa-otp-input>` | `<lr-otp-input>` | `rewritten` | Automatic: tag/import plus events: wa-clear → lr-clear; events: wa-complete → lr-complete; events: wa-invalid → lr-invalid. Equivalent surface representation: name defaults null ≡ ; no source rewrite. |
1956
- | `<wa-page>` | `<lr-page>` | `warning-required` | Manual: Lyra returns a finite 0 for null and for an element in a detached document with no viewport; Web Awesome 3.11 returns null for null and measures detached-document geometry against the ambient page viewport. |
2039
+ | `<wa-page>` | `<lr-page>` | `warning-required` | Manual: Lyra returns a finite 0 for null and for an element in a detached document with no viewport; Web Awesome 3.15 returns null for null and measures detached-document geometry against the ambient page viewport. |
1957
2040
  | `<wa-pagination>` | `<lr-pagination>` | `warning-required` | Manual: The page-change events are covered by deterministic member rewrites. `label` is now optional with no declared default (was `string = ''`) so an explicit empty string can suppress the localized fallback without a never-set value doing the same -- a default-value divergence with no rewrite rule to express it, so migrating consumers get a warning instead of a silent rename. |
1958
2041
  | `<wa-pie-chart>` | `<lr-pie-chart>` | `exact` | Automatic: tag and supported side-effect registration import. Typed `<lr-chart>` subclasses with tag-specific defaults and the full writable `LyraChartType` vocabulary — same optional peer deps as `<lr-chart>`. |
1959
2042
  | `<wa-polar-area-chart>` | `<lr-polar-area-chart>` | `exact` | Automatic: tag and supported side-effect registration import. Typed `<lr-chart>` subclasses with tag-specific defaults and the full writable `LyraChartType` vocabulary — same optional peer deps as `<lr-chart>`. |
@@ -1969,24 +2052,28 @@ The pinned Web Awesome manifest is authoritative for this inventory; only rows m
1969
2052
  | `<wa-rating>` | `<lr-rating>` | `rewritten` | Automatic: tag/import plus events: wa-hover → lr-hover; events: wa-invalid → lr-invalid. Equivalent surface representation: name defaults null ≡ ; getSymbol is analyzer-inferred for property-only getSymbol; no source rewrite. |
1970
2053
  | `<wa-relative-time>` | `<lr-relative-time>` | `exact` | Automatic: tag and supported side-effect registration import. Locale-aware formatting primitives. |
1971
2054
  | `<wa-resize-observer>` | `<lr-resize-observer>` | `warning-required` | Manual: Lyra freezes the entries array into an immutable snapshot at dispatch time; migrated code that mutates the array in place must create its own copy. |
2055
+ | `<wa-rich-text-editor>` | — | `unsupported` | Manual: Lyra UI ships no rich-text editor. lr-docx-editor in @aceshooting/lyra-docs edits DOCX documents through a different public contract, so it is not a migration target for this tag; keep the upstream element or choose an editor by hand. |
1972
2056
  | `<wa-scatter-chart>` | `<lr-scatter-chart>` | `exact` | Automatic: tag and supported side-effect registration import. Typed `<lr-chart>` subclasses with tag-specific defaults and the full writable `LyraChartType` vocabulary — same optional peer deps as `<lr-chart>`. |
1973
2057
  | `<wa-scroller>` | `<lr-scroller>` | `exact` | Automatic: tag and supported side-effect registration import. Responsive overflow surface with optional navigation controls. |
1974
- | `<wa-select>` | `<lr-select>` | `rewritten` | Automatic: tag/import plus events: wa-after-hide → lr-after-hide; events: wa-after-show → lr-after-show; events: wa-clear → lr-clear; events: wa-hide → lr-hide; events: wa-invalid → lr-invalid; events: wa-show → lr-show. |
2058
+ | `<wa-select>` | `<lr-select>` | `rewritten` | Automatic: tag/import plus events: wa-after-hide → lr-after-hide; events: wa-after-show → lr-after-show; events: wa-clear → lr-clear; events: wa-hide → lr-hide; events: wa-invalid → lr-invalid; events: wa-show → lr-show; parts: label → form-control-label; parts: tag__remove-button__base → tag__remove-button__button. |
1975
2059
  | `<wa-skeleton>` | `<lr-skeleton>` | `exact` | Automatic: tag and supported side-effect registration import. Loading placeholder (pulse/sheen). |
1976
- | `<wa-slider>` | `<lr-slider>` | `rewritten` | Automatic: tag/import plus events: wa-invalid → lr-invalid. |
2060
+ | `<wa-slider>` | `<lr-slider>` | `rewritten` | Automatic: tag/import plus events: wa-invalid → lr-invalid; parts: tooltip__base → tooltip__tooltip. |
1977
2061
  | `<wa-sparkline>` | `<lr-sparkline>` | `rewritten` | Automatic: tag/import plus parts: base → sparkline. |
1978
2062
  | `<wa-spinner>` | `<lr-spinner>` | `exact` | Automatic: tag and supported side-effect registration import. Localized indeterminate busy indicator with reduced-motion support. |
1979
2063
  | `<wa-split-panel>` | `<lr-split-panel>` | `rewritten` | Automatic: tag/import plus events: wa-reposition → lr-reposition. |
2064
+ | `<wa-step>` | `<lr-step>` | `exact` | Automatic: tag and supported side-effect registration import. Linear or free step navigation with per-step completed, loading, disabled and attention states; drive it with `<lr-step>` children or a `steps` array. |
2065
+ | `<wa-stepper>` | `<lr-stepper>` | `warning-required` | Manual: The pinned Web Awesome manifest lists an event named `detail` typed WaStepChangeEvent beside wa-before-step-change and wa-step-change. No documented API dispatches an event of that name: it is the step-change event class recorded a second time, so Lyra maps the two documented events and a listener for `detail` requires review. |
1980
2066
  | `<wa-switch>` | `<lr-switch>` | `warning-required` | Manual: Native input notifications are Event instances. Migrated handlers must not require InputEvent-specific fields. |
1981
2067
  | `<wa-tab>` | `<lr-tab>` | `exact` | Automatic: tag and supported side-effect registration import. Tab strip with `placement` (logical `start`/`end` turn it vertical) and `activation="auto"`/`"manual"`; composed from the upstream `<lr-tab>`/`<lr-tab-panel>` child pairs. |
1982
2068
  | `<wa-tab-group>` | `<lr-tab-group>` | `rewritten` | Automatic: tag/import plus events: wa-tab-hide → lr-tab-hide; events: wa-tab-show → lr-tab-show. |
1983
- | `<wa-tab-panel>` | `<lr-tab-panel>` | `exact` | Automatic: tag and supported side-effect registration import. Tab strip with `placement` (logical `start`/`end` turn it vertical) and `activation="auto"`/`"manual"`; composed from the upstream `<lr-tab>`/`<lr-tab-panel>` child pairs. |
2069
+ | `<wa-tab-panel>` | `<lr-tab-panel>` | `rewritten` | Automatic: tag/import plus parts: base → tab-panel. |
1984
2070
  | `<wa-tag>` | `<lr-tag>` | `rewritten` | Automatic: tag/import plus events: wa-remove → lr-remove. |
2071
+ | `<wa-tag-input>` | `<lr-token-input>` | `rewritten` | Automatic: tag/import plus events: wa-clear → lr-clear; events: wa-create → lr-create; events: wa-invalid → lr-invalid; parts: tag__remove-button__base → tag__remove-button__button. |
1985
2072
  | `<wa-textarea>` | `<lr-textarea>` | `rewritten` | Automatic: tag/import plus events: wa-invalid → lr-invalid. Equivalent surface representation: name defaults null ≡ ; no source rewrite. |
1986
2073
  | `<wa-time-input>` | `<lr-time-input>` | `rewritten` | Automatic: tag/import plus events: wa-after-hide → lr-after-hide; events: wa-after-show → lr-after-show; events: wa-clear → lr-clear; events: wa-hide → lr-hide; events: wa-invalid → lr-invalid; events: wa-show → lr-show. |
1987
2074
  | `<wa-toast>` | `<lr-toast>` | `warning-required` | Manual: Lyra's create() overloads reference the Lyra*-prefixed LyraToastOptions/LyraToastCreateOptions type names (renamed from the unprefixed spellings in 9.0.0) instead of the upstream's own ToastCreateOptions text; the method's actual parameter count, order, and runtime shape are unchanged, only the printed TypeScript type names differ. |
1988
2075
  | `<wa-toast-item>` | `<lr-toast-item>` | `rewritten` | Automatic: tag/import plus events: wa-after-hide → lr-after-hide; events: wa-after-show → lr-after-show; events: wa-hide → lr-hide; events: wa-show → lr-show. |
1989
- | `<wa-tooltip>` | `<lr-tooltip>` | `rewritten` | Automatic: tag/import plus events: wa-after-hide → lr-after-hide; events: wa-after-show → lr-after-show; events: wa-hide → lr-hide; events: wa-show → lr-show. Equivalent surface representation: for defaults null ≡ ; no source rewrite. |
2076
+ | `<wa-tooltip>` | `<lr-tooltip>` | `rewritten` | Automatic: tag/import plus events: wa-after-hide → lr-after-hide; events: wa-after-show → lr-after-show; events: wa-hide → lr-hide; events: wa-show → lr-show; parts: base → tooltip; parts: base__popup → tooltip__popup; parts: base__arrow → tooltip__arrow. Equivalent surface representation: for defaults null ≡ ; no source rewrite. |
1990
2077
  | `<wa-tree>` | `<lr-tree>` | `warning-required` | Manual: Lyra freezes each selection snapshot and exposes it as readonly so listeners cannot mutate component-owned selection state. Migrated handlers that modify the event array in place must create their own copy. |
1991
2078
  | `<wa-tree-item>` | `<lr-tree-item>` | `rewritten` | Automatic: tag/import plus events: wa-after-collapse → lr-after-collapse; events: wa-after-expand → lr-after-expand; events: wa-collapse → lr-collapse; events: wa-expand → lr-expand; events: wa-lazy-change → lr-lazy-change; events: wa-lazy-load → lr-lazy-load. |
1992
2079
  | `<wa-video>` | `<lr-video>` | `warning-required` | Manual: Lyra exposes playing as read-only live state that is reflected but not observed as an attribute; migrated code that assigned playing or authored the playing attribute must call play() or pause() instead. |
@@ -2013,7 +2100,7 @@ Shoelace relationships are classified independently; a same-suffix tag is never
2013
2100
  | `<sl-carousel-item>` | `<lr-carousel-item>` | `exact` | Automatic: tag and supported side-effect registration import. Optional semantic slide wrapper for carousel content. |
2014
2101
  | `<sl-checkbox>` | `<lr-checkbox>` | `warning-required` | Manual: Lyra uses the checked attribute as the reset default while Shoelace reflects the live checked state; migration leaves the use unchanged and reports the reflection-sensitive CSS, observer, serialization, and property-write difference. |
2015
2102
  | `<sl-color-picker>` | `<lr-color-picker>` | `rewritten` | Automatic: tag/import plus events: sl-blur → blur; events: sl-change → lr-change; events: sl-focus → focus; events: sl-input → lr-input; events: sl-invalid → lr-invalid. Equivalent surface representation: form defaults ≡ null; size defaults medium ≡ m; no source rewrite. |
2016
- | `<sl-copy-button>` | `<lr-copy-button>` | `rewritten` | Automatic: tag/import plus events: sl-copy → lr-copy; events: sl-error → lr-error; insert feedback-duration=1000. Equivalent surface representation: feedbackDuration defaults 1000 ≡ 1500; no source rewrite. |
2103
+ | `<sl-copy-button>` | `<lr-copy-button>` | `rewritten` | Automatic: tag/import plus events: sl-copy → lr-copy; events: sl-error → lr-error. |
2017
2104
  | `<sl-details>` | `<lr-details>` | `rewritten` | Automatic: tag/import plus events: sl-after-hide → lr-after-hide; events: sl-after-show → lr-after-show; events: sl-hide → lr-hide; events: sl-show → lr-show. |
2018
2105
  | `<sl-dialog>` | `<lr-dialog>` | `warning-required` | Manual: Pinned runtime evidence shows Shoelace emits non-cancelable state-change lifecycle notifications while Lyra provides synchronous pre-state veto events; automatic migration therefore requires review of listener timing and preventDefault() behavior. |
2019
2106
  | `<sl-divider>` | `<lr-divider>` | `exact` | Automatic: tag and supported side-effect registration import. Horizontal or vertical semantic separator. |
package/llms/peers.md CHANGED
@@ -40,18 +40,18 @@ for the page.
40
40
  | `@aceshooting/lyra-3d` | `^1.2.0` | `lr-chart-3d`, `lr-embedding-explorer`, `lr-graph`, `lr-image-viewer`, `lr-knowledge-graph-explorer`, `lr-model-viewer`, `lr-video` |
41
41
  | `@aceshooting/lyra-flags` | `^2.3.1` | opt-in `lr-flag` entries `./components/media/flag/flag-peer-bulk-standard.js`, `./components/media/flag/flag-peer-bulk.js`, `./components/media/flag/flag-peer.js` |
42
42
  | `@aceshooting/lyra-map` | `^1.5.2 \|\| ^2.0.0` | `lr-geojson-viewer`, `lr-map` |
43
- | `@aceshooting/lyra-translations` | `^32.0.0` | _(not referenced by any component)_ |
43
+ | `@aceshooting/lyra-translations` | `^33.0.0` | _(not referenced by any component)_ |
44
44
  | `@aiden0z/pptx-renderer` | `^1.4.0` | `lr-pptx-viewer` |
45
45
  | `@sgratzl/chartjs-chart-boxplot` | `^4.0.0` | `lr-box-plot` |
46
46
  | `chart.js` | `^4.0.1` | `lr-bar-chart`, `lr-box-plot`, `lr-bubble-chart`, `lr-chart`, `lr-doughnut-chart`, `lr-histogram`, `lr-line-chart`, `lr-pie-chart`, `lr-polar-area-chart`, `lr-radar-chart`, `lr-scatter-chart` |
47
47
  | `chartjs-plugin-annotation` | `^3.0.0` | `lr-bar-chart`, `lr-bubble-chart`, `lr-chart`, `lr-doughnut-chart`, `lr-histogram`, `lr-line-chart`, `lr-pie-chart`, `lr-polar-area-chart`, `lr-radar-chart`, `lr-scatter-chart` |
48
48
  | `chartjs-plugin-datalabels` | `^2.2.0` | `lr-bar-chart`, `lr-bubble-chart`, `lr-chart`, `lr-doughnut-chart`, `lr-histogram`, `lr-line-chart`, `lr-pie-chart`, `lr-polar-area-chart`, `lr-radar-chart`, `lr-scatter-chart` |
49
- | `chartjs-plugin-zoom` | `^2.0.0` | `lr-bar-chart`, `lr-bubble-chart`, `lr-chart`, `lr-doughnut-chart`, `lr-histogram`, `lr-line-chart`, `lr-pie-chart`, `lr-polar-area-chart`, `lr-radar-chart`, `lr-scatter-chart` |
49
+ | `chartjs-plugin-zoom` | `^2.0.0 \|\| ^3.0.0` | `lr-bar-chart`, `lr-bubble-chart`, `lr-chart`, `lr-doughnut-chart`, `lr-histogram`, `lr-line-chart`, `lr-pie-chart`, `lr-polar-area-chart`, `lr-radar-chart`, `lr-scatter-chart` |
50
50
  | `d3-drag` | `^3.0.1` | `lr-graph`, `lr-knowledge-graph-explorer` |
51
51
  | `d3-force` | `^3.0.1` | `lr-graph`, `lr-knowledge-graph-explorer` |
52
52
  | `d3-selection` | `^3.0.1` | `lr-graph`, `lr-knowledge-graph-explorer` |
53
53
  | `d3-zoom` | `^3.0.1` | `lr-graph`, `lr-knowledge-graph-explorer` |
54
- | `dompurify` | `^3.4.14` | `lr-agent-workspace`, `lr-dashboard-grid`, `lr-docx-viewer`, `lr-email-viewer`, `lr-eval-run`, `lr-geojson-viewer`, `lr-html-viewer`, `lr-icon`, `lr-icon-button`, `lr-include`, `lr-map`, `lr-markdown`, `lr-markdown-core`, `lr-message-parts`, `lr-notebook-viewer`, `lr-rag-answer`, `lr-streaming-text`, `lr-streaming-text-core`, `lr-svg-viewer`, `lr-video`, `lr-video-playlist`, `lr-widget-renderer` |
54
+ | `dompurify` | `^3.4.14` | `lr-agent-workspace`, `lr-combobox`, `lr-dashboard-grid`, `lr-docx-viewer`, `lr-email-viewer`, `lr-eval-run`, `lr-geojson-viewer`, `lr-html-viewer`, `lr-icon`, `lr-icon-button`, `lr-include`, `lr-map`, `lr-markdown`, `lr-markdown-core`, `lr-message-parts`, `lr-notebook-viewer`, `lr-rag-answer`, `lr-streaming-text`, `lr-streaming-text-core`, `lr-svg-viewer`, `lr-video`, `lr-video-playlist`, `lr-widget-renderer` |
55
55
  | `emoji-picker-element-data` | `^1.8.0` | `lr-emoji-picker` |
56
56
  | `epubjs` | `^0.3.93` | `lr-ebook-viewer` |
57
57
  | `ical.js` | `^2.2.1` | `lr-calendar-viewer` |
@@ -78,6 +78,25 @@ Those nested detail fields are separate from deprecated event names and are not
78
78
  type graph, so add it once (a root `main.ts`, or a `.d.ts` in the project's `include`). A direct
79
79
  element reference never needs it — `LyraElement` overrides `addEventListener`, so
80
80
  `table.addEventListener('lr-sort', …)` resolves through `LyraTableEventMap` first either way.
81
+ - **`instanceof` narrowing: `@aceshooting/lyra-ui/event-classes`.** Every event a component dispatches
82
+ is a `LyraEvent` (a bubbling, composed `CustomEvent`), and this subpath exports one class per event
83
+ name — `lr-step-change` → `LyraStepChangeEvent` — whose `instanceof` is true for exactly those events
84
+ and narrows `detail`. Each constructor takes `(detail, options?)`, where the options record is
85
+ `LyraEventOptions { cancelable?: boolean }`:
86
+
87
+ ```ts
88
+ import { LyraChangeEvent } from "@aceshooting/lyra-ui/event-classes";
89
+
90
+ document.addEventListener("lr-change", (event) => {
91
+ if (event instanceof LyraChangeEvent) event.detail; // typed
92
+ });
93
+ ```
94
+
95
+ A class is also constructible (`new LyraChangeEvent(detail, { cancelable })`) for tests or for
96
+ re-dispatching. The classes are side-effect free and tree-shakable, components never import them, and
97
+ the names match the type aliases in `@aceshooting/lyra-ui/events` (import from one subpath per
98
+ file). Events created for an element adopted into another window keep that window's `CustomEvent`
99
+ constructor but still match.
81
100
  `LyraGlobalEventMap` is exported as well, for writing your own typed helper over it.
82
101
 
83
102
  - **The surface is per-event type aliases, not runtime event classes.** `LyraSortEvent` and its
@@ -1140,6 +1159,7 @@ These named interfaces and helper signatures are available to typed integrations
1140
1159
  'lr-control-group': LyraControlGroupReactProps;
1141
1160
  'lr-conversation-item': LyraConversationItemReactProps;
1142
1161
  'lr-copy-button': LyraCopyButtonReactProps;
1162
+ 'lr-counter': LyraCounterReactProps;
1143
1163
  'lr-country-picker': LyraCountryPickerReactProps;
1144
1164
  'lr-csv-viewer': LyraCsvViewerReactProps;
1145
1165
  'lr-currency-picker': LyraCurrencyPickerReactProps;
@@ -1220,6 +1240,7 @@ These named interfaces and helper signatures are available to typed integrations
1220
1240
  'lr-knowledge-graph-explorer': LyraKnowledgeGraphExplorerReactProps;
1221
1241
  'lr-known-date': LyraKnownDateReactProps;
1222
1242
  'lr-lightbox': LyraLightboxReactProps;
1243
+ 'lr-lightbox-item': LyraLightboxItemReactProps;
1223
1244
  'lr-line-chart': LyraLineChartReactProps;
1224
1245
  'lr-lite-chart': LyraLiteChartReactProps;
1225
1246
  'lr-live-region': LyraLiveRegionReactProps;
@@ -1253,6 +1274,7 @@ These named interfaces and helper signatures are available to typed integrations
1253
1274
  'lr-node-palette': LyraNodePaletteReactProps;
1254
1275
  'lr-notebook-viewer': LyraNotebookViewerReactProps;
1255
1276
  'lr-number-input': LyraNumberInputReactProps;
1277
+ 'lr-number-ticker': LyraNumberTickerReactProps;
1256
1278
  'lr-option': LyraOptionReactProps;
1257
1279
  'lr-otp-input': LyraOtpInputReactProps;
1258
1280
  'lr-page': LyraPageReactProps;
@@ -1322,6 +1344,7 @@ These named interfaces and helper signatures are available to typed integrations
1322
1344
  'lr-spreadsheet-viewer': LyraSpreadsheetViewerReactProps;
1323
1345
  'lr-stack-trace': LyraStackTraceReactProps;
1324
1346
  'lr-stat': LyraStatReactProps;
1347
+ 'lr-step': LyraStepReactProps;
1325
1348
  'lr-stepper': LyraStepperReactProps;
1326
1349
  'lr-stream-status': LyraStreamStatusReactProps;
1327
1350
  'lr-streaming-text': LyraStreamingTextReactProps;
@@ -1588,6 +1611,7 @@ These named interfaces and helper signatures are available to typed integrations
1588
1611
  'lr-control-group': LyraComponentTypeMap['lr-control-group']['element'];
1589
1612
  'lr-conversation-item': LyraComponentTypeMap['lr-conversation-item']['element'];
1590
1613
  'lr-copy-button': LyraComponentTypeMap['lr-copy-button']['element'];
1614
+ 'lr-counter': LyraComponentTypeMap['lr-counter']['element'];
1591
1615
  'lr-country-picker': LyraComponentTypeMap['lr-country-picker']['element'];
1592
1616
  'lr-csv-viewer': LyraComponentTypeMap['lr-csv-viewer']['element'];
1593
1617
  'lr-currency-picker': LyraComponentTypeMap['lr-currency-picker']['element'];
@@ -1668,6 +1692,7 @@ These named interfaces and helper signatures are available to typed integrations
1668
1692
  'lr-knowledge-graph-explorer': LyraComponentTypeMap['lr-knowledge-graph-explorer']['element'];
1669
1693
  'lr-known-date': LyraComponentTypeMap['lr-known-date']['element'];
1670
1694
  'lr-lightbox': LyraComponentTypeMap['lr-lightbox']['element'];
1695
+ 'lr-lightbox-item': LyraComponentTypeMap['lr-lightbox-item']['element'];
1671
1696
  'lr-line-chart': LyraComponentTypeMap['lr-line-chart']['element'];
1672
1697
  'lr-lite-chart': LyraComponentTypeMap['lr-lite-chart']['element'];
1673
1698
  'lr-live-region': LyraComponentTypeMap['lr-live-region']['element'];
@@ -1701,6 +1726,7 @@ These named interfaces and helper signatures are available to typed integrations
1701
1726
  'lr-node-palette': LyraComponentTypeMap['lr-node-palette']['element'];
1702
1727
  'lr-notebook-viewer': LyraComponentTypeMap['lr-notebook-viewer']['element'];
1703
1728
  'lr-number-input': LyraComponentTypeMap['lr-number-input']['element'];
1729
+ 'lr-number-ticker': LyraComponentTypeMap['lr-number-ticker']['element'];
1704
1730
  'lr-option': LyraComponentTypeMap['lr-option']['element'];
1705
1731
  'lr-otp-input': LyraComponentTypeMap['lr-otp-input']['element'];
1706
1732
  'lr-page': LyraComponentTypeMap['lr-page']['element'];
@@ -1770,6 +1796,7 @@ These named interfaces and helper signatures are available to typed integrations
1770
1796
  'lr-spreadsheet-viewer': LyraComponentTypeMap['lr-spreadsheet-viewer']['element'];
1771
1797
  'lr-stack-trace': LyraComponentTypeMap['lr-stack-trace']['element'];
1772
1798
  'lr-stat': LyraComponentTypeMap['lr-stat']['element'];
1799
+ 'lr-step': LyraComponentTypeMap['lr-step']['element'];
1773
1800
  'lr-stepper': LyraComponentTypeMap['lr-stepper']['element'];
1774
1801
  'lr-stream-status': LyraComponentTypeMap['lr-stream-status']['element'];
1775
1802
  'lr-streaming-text': LyraComponentTypeMap['lr-streaming-text']['element'];
@@ -1907,6 +1934,7 @@ These named interfaces and helper signatures are available to typed integrations
1907
1934
  'lr-control-group': LyraControlGroupSvelteProps;
1908
1935
  'lr-conversation-item': LyraConversationItemSvelteProps;
1909
1936
  'lr-copy-button': LyraCopyButtonSvelteProps;
1937
+ 'lr-counter': LyraCounterSvelteProps;
1910
1938
  'lr-country-picker': LyraCountryPickerSvelteProps;
1911
1939
  'lr-csv-viewer': LyraCsvViewerSvelteProps;
1912
1940
  'lr-currency-picker': LyraCurrencyPickerSvelteProps;
@@ -1987,6 +2015,7 @@ These named interfaces and helper signatures are available to typed integrations
1987
2015
  'lr-knowledge-graph-explorer': LyraKnowledgeGraphExplorerSvelteProps;
1988
2016
  'lr-known-date': LyraKnownDateSvelteProps;
1989
2017
  'lr-lightbox': LyraLightboxSvelteProps;
2018
+ 'lr-lightbox-item': LyraLightboxItemSvelteProps;
1990
2019
  'lr-line-chart': LyraLineChartSvelteProps;
1991
2020
  'lr-lite-chart': LyraLiteChartSvelteProps;
1992
2021
  'lr-live-region': LyraLiveRegionSvelteProps;
@@ -2020,6 +2049,7 @@ These named interfaces and helper signatures are available to typed integrations
2020
2049
  'lr-node-palette': LyraNodePaletteSvelteProps;
2021
2050
  'lr-notebook-viewer': LyraNotebookViewerSvelteProps;
2022
2051
  'lr-number-input': LyraNumberInputSvelteProps;
2052
+ 'lr-number-ticker': LyraNumberTickerSvelteProps;
2023
2053
  'lr-option': LyraOptionSvelteProps;
2024
2054
  'lr-otp-input': LyraOtpInputSvelteProps;
2025
2055
  'lr-page': LyraPageSvelteProps;
@@ -2089,6 +2119,7 @@ These named interfaces and helper signatures are available to typed integrations
2089
2119
  'lr-spreadsheet-viewer': LyraSpreadsheetViewerSvelteProps;
2090
2120
  'lr-stack-trace': LyraStackTraceSvelteProps;
2091
2121
  'lr-stat': LyraStatSvelteProps;
2122
+ 'lr-step': LyraStepSvelteProps;
2092
2123
  'lr-stepper': LyraStepperSvelteProps;
2093
2124
  'lr-stream-status': LyraStreamStatusSvelteProps;
2094
2125
  'lr-streaming-text': LyraStreamingTextSvelteProps;
@@ -2160,6 +2191,7 @@ These named interfaces and helper signatures are available to typed integrations
2160
2191
  `flattenCascadeLayers(css: string): string`
2161
2192
  `installHappyDomAriaControlsShim(proto: object | undefined = globalThis.Element?.prototype): void`
2162
2193
  `installHappyDomCascadeLayerShim(proto: SheetTextMethods | undefined = globalThis.CSSStyleSheet?.prototype, misbehaves: () => boolean = cascadeLayerRulesDropped): () => void`
2194
+ `installHappyDomResponseBytesShim(proto: BytesBody | undefined = globalThis.Response?.prototype as BytesBody | undefined): () => void`
2163
2195
  `installHappyDomShims(): void`
2164
2196
  `installStubInternalsForTest(host: Element): StubElementInternals`
2165
2197
 
@@ -2384,6 +2416,7 @@ These named interfaces and helper signatures are available to typed integrations
2384
2416
  'lr-control-group': LyraControlGroupVueProps;
2385
2417
  'lr-conversation-item': LyraConversationItemVueProps;
2386
2418
  'lr-copy-button': LyraCopyButtonVueProps;
2419
+ 'lr-counter': LyraCounterVueProps;
2387
2420
  'lr-country-picker': LyraCountryPickerVueProps;
2388
2421
  'lr-csv-viewer': LyraCsvViewerVueProps;
2389
2422
  'lr-currency-picker': LyraCurrencyPickerVueProps;
@@ -2464,6 +2497,7 @@ These named interfaces and helper signatures are available to typed integrations
2464
2497
  'lr-knowledge-graph-explorer': LyraKnowledgeGraphExplorerVueProps;
2465
2498
  'lr-known-date': LyraKnownDateVueProps;
2466
2499
  'lr-lightbox': LyraLightboxVueProps;
2500
+ 'lr-lightbox-item': LyraLightboxItemVueProps;
2467
2501
  'lr-line-chart': LyraLineChartVueProps;
2468
2502
  'lr-lite-chart': LyraLiteChartVueProps;
2469
2503
  'lr-live-region': LyraLiveRegionVueProps;
@@ -2497,6 +2531,7 @@ These named interfaces and helper signatures are available to typed integrations
2497
2531
  'lr-node-palette': LyraNodePaletteVueProps;
2498
2532
  'lr-notebook-viewer': LyraNotebookViewerVueProps;
2499
2533
  'lr-number-input': LyraNumberInputVueProps;
2534
+ 'lr-number-ticker': LyraNumberTickerVueProps;
2500
2535
  'lr-option': LyraOptionVueProps;
2501
2536
  'lr-otp-input': LyraOtpInputVueProps;
2502
2537
  'lr-page': LyraPageVueProps;
@@ -2566,6 +2601,7 @@ These named interfaces and helper signatures are available to typed integrations
2566
2601
  'lr-spreadsheet-viewer': LyraSpreadsheetViewerVueProps;
2567
2602
  'lr-stack-trace': LyraStackTraceVueProps;
2568
2603
  'lr-stat': LyraStatVueProps;
2604
+ 'lr-step': LyraStepVueProps;
2569
2605
  'lr-stepper': LyraStepperVueProps;
2570
2606
  'lr-stream-status': LyraStreamStatusVueProps;
2571
2607
  'lr-streaming-text': LyraStreamingTextVueProps;
@@ -40,7 +40,10 @@ labels are inserted, removed, retargeted, or edited. A host `aria-label` always
40
40
  controls such as `lr-tool-param-form`, `lr-rubric-form`, and `lr-time-range` put that aggregate name
41
41
  on an internal `role="group"` while retaining the more specific names of their fields/handles.
42
42
  Disabled controls, including controls disabled by an ancestor `<fieldset disabled>`, ignore label
43
- activation.
43
+ activation. A label already associated when a control connects is applied in its first update. The
44
+ indexed observer that tracks later association changes is a separate chunk under code splitting,
45
+ loaded only once some control has a label or a mutation could give it one; changes made before it
46
+ first arrives are replayed when it does, so pages that never use external labels never load it.
44
47
 
45
48
  - **Read `effectiveDisabled`, not `disabled`, for the merged state.** `effectiveDisabled` is own
46
49
  `disabled` OR an ancestor `<fieldset disabled>`'s cascaded state.
@@ -60,7 +60,7 @@ page that does not use `theme.css` links `styles/tokens-root.css`, the layer alo
60
60
  <link rel="stylesheet" href="/node_modules/@aceshooting/lyra-ui/dist/theme.css" />
61
61
  ```
62
62
 
63
- Hydration then skips the constructed copy. An application's **own** declarative shadow roots that
63
+ Hydration then skips the constructed copy and never requests the layer's script. An application's **own** declarative shadow roots that
64
64
  contain theme scopes (for example a `.lr-dark` region or a `data-lr-theme-scope` wrapper) include the
65
65
  same `<link rel="stylesheet" href="…/tokens-root.css">` inside their template: document styles do not
66
66
  reach into a shadow root until hydration adopts the layer there. Without any link and without
@@ -98,6 +98,15 @@ corrects itself on the next update, so a slotted override lands one frame after
98
98
  browser-only mount is unaffected and renders the final result the first time. Layout/observer/canvas/media work
99
99
  begins after hydration, and remote content is client-only.
100
100
 
101
+ **Localized server output.** The server renderer gives a component no ancestors, so an ancestor
102
+ `lang` (`<html lang="fr">`, `<div lang="fr">`) reaches only the browser. The server resolves
103
+ messages and number/date formats from the host's own `locale`/`lang`, else the active locale. To
104
+ serve translated text, import the catalog on the server and call `setLyraLocale(requestLocale)`
105
+ around the render (clear it with `setLyraLocale('')` afterwards), matching the page's `lang`; also
106
+ import the catalog in the browser before hydration. The hydrated page then keeps the server text
107
+ with no flash. When the server rendered a different locale than the browser inherits, the
108
+ hydrating render reproduces the server's text and the next update commits the inherited locale.
109
+
101
110
  **If hydration never runs at all** — a page that intentionally ships no script bundle, a reader
102
111
  that fetches the raw HTML, or a crawler — a `render-and-hydrate` tag's declarative-shadow-DOM
103
112
  output is either permanently complete and correct on its own, or only ever promised once hydration
@@ -78,13 +78,20 @@ cross-shadow-selection gap and conditions for dropping a `@supports` fallback:
78
78
  ## Importing and registering components
79
79
 
80
80
  Every component has a stable, tag-shaped side-effect entry point that registers its own tag. Use
81
- `components/<tag>.js`; this public boundary stays unchanged if the internal family folders move:
81
+ `components/<tag>.js`; this public boundary stays unchanged if the internal family folders move.
82
+ Load the token stylesheet first — `theme.css`, or `tokens-root.css` (the document token layer
83
+ alone) when the page does not use `theme.css` — with a `<link>` in `<head>` or a bundler CSS import:
82
84
 
83
85
  ```js
86
+ import "@aceshooting/lyra-ui/theme.css"; // or tokens-root.css; once per page, before any component
84
87
  import "@aceshooting/lyra-ui/components/lr-combobox.js"; // registers <lr-combobox>
85
88
  import "@aceshooting/lyra-ui/components/lr-table.js"; // registers <lr-table>
86
89
  ```
87
90
 
91
+ Without either stylesheet, the first registration loads the layer as a separate script on demand
92
+ and components hold their first render until it arrives, so a missed import still renders
93
+ correctly, one request later.
94
+
88
95
  Family barrels register their family. Registration-free `.class.js` entries retain the owning
89
96
  family/component path, exposing source organization.
90
97
 
@@ -126,7 +133,7 @@ The entry points, then:
126
133
  or future exports. Prefer the owning entry for that component's complete contract and smaller
127
134
  bundles.
128
135
 
129
- - **`all.js` compatibility entry.** `import '@aceshooting/lyra-ui/all.js';` registers the 302
136
+ - **`all.js` compatibility entry.** `import '@aceshooting/lyra-ui/all.js';` registers the 306
130
137
  root-included tags — everything **except** the 15 inventory-designated optional-peer-family tags:
131
138
  `lr-chart` and its 8 typed subclasses (`lr-line-chart`, `lr-bar-chart`, `lr-pie-chart`,
132
139
  `lr-doughnut-chart`, `lr-radar-chart`, `lr-polar-area-chart`, `lr-bubble-chart`,
@@ -278,6 +285,37 @@ exports `normalizeLyraSpanKind` and `normalizeLyraSpanStatus`; the widget regist
278
285
  only `DEFAULT_WIDGET_TYPE_REGISTRY`. Import a component registration entry separately when the page
279
286
  also renders that component.
280
287
 
288
+ ### Single script tag (no build step, no import map)
289
+
290
+ `@aceshooting/lyra-cdn` is a companion package with a pre-bundled build of the same components: lit,
291
+ tslib and Floating UI are inlined into relative, code-split chunks, so one tag is the whole install.
292
+ Only the components the page renders are fetched (the autoloader's lazy loaders become chunks).
293
+
294
+ ```html
295
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aceshooting/lyra-cdn@VERSION/dist/theme.css">
296
+ <script type="module" src="https://cdn.jsdelivr.net/npm/@aceshooting/lyra-cdn@VERSION/dist/lyra-ui.loader.js"></script>
297
+
298
+ <lr-button variant="primary">Save</lr-button>
299
+ ```
300
+
301
+ It versions together with `@aceshooting/lyra-ui`; pin an exact version in production. Also published
302
+ beside the loader: `theme.css`, `theme-core.css`, `density.css`, `accents.css`, `design-tokens.css`,
303
+ `native.css` and `utilities.css`.
304
+
305
+ - The loader starts the autoloader on `DOMContentLoaded` (immediately when the document is already
306
+ parsed) and keeps watching insertions. It injects no styles or inline script.
307
+ - Script attributes: `data-lyra-optional-peers="dompurify,postal-mime"` (or `all`),
308
+ `data-lyra-autoload-events`, the opt-out `data-lyra-autoload="false"` (alias
309
+ `data-lyra-no-autoload`), which loads the module without starting it (it re-exports `start`,
310
+ `stop` and `discover`), and `data-lyra-cloak-timeout` (milliseconds, default `2000`).
311
+ - Cloaking: elements carrying class or attribute `lr-cloak` are revealed when the first scan
312
+ settles, or when the cloak timeout elapses, whichever comes first. Pair it with `.lr-fouce-hidden`
313
+ from `utilities.css` to hide not-yet-defined tags.
314
+ - Optional peers and the non-English catalogs of `@aceshooting/lyra-translations` are not bundled.
315
+ A component that needs one takes its usual localized fallback until the dependency resolves, for
316
+ example through an import map to a CDN URL.
317
+ - Bundler users keep importing `@aceshooting/lyra-ui` itself; the CDN build ships no source maps.
318
+
281
319
  ### Optional autoloader
282
320
 
283
321
  `@aceshooting/lyra-ui/autoloader.js` exports `discover(root?, options?)`, `start(root?, options?)`
@@ -332,6 +370,34 @@ when `document` exists and reads `data-lyra-optional-peers="peer-a,peer-b"` plus
332
370
  an ESM CDN executes the package entry behind a wrapper URL. Neither entry imports the root barrel,
333
371
  and both are safe to import in plain Node.
334
372
 
373
+ ### Loading from a CDN with no build step
374
+
375
+ An import map lets plain HTML use the same bare specifiers as an application. The ESM CDN rewrites
376
+ each package's own dependencies, so map only the entries you import:
377
+
378
+ ```html
379
+ <script type="importmap">
380
+ {
381
+ "imports": {
382
+ "@aceshooting/lyra-ui/": "https://esm.sh/@aceshooting/lyra-ui@30/",
383
+ "lit": "https://esm.sh/lit@3",
384
+ "lit/": "https://esm.sh/lit@3/"
385
+ }
386
+ }
387
+ </script>
388
+ <script type="module">
389
+ import '@aceshooting/lyra-ui/autoloader-cdn.js'; // defines each lr-* tag when it first appears
390
+ import { allDefined } from '@aceshooting/lyra-ui/utilities/defined.js';
391
+ await allDefined({ timeout: 5000 }); // resolves after the page's lr-* tags are defined
392
+ </script>
393
+ <lr-button>Hello</lr-button>
394
+ ```
395
+
396
+ Pin an exact version for production, and import `components/lr-<tag>.js` instead of the autoloader
397
+ when the page uses only a few tags. Add `data-lyra-autoloader` to the autoloader `<script>` if the
398
+ CDN serves the entry behind a wrapper URL. Without an import map, use the full CDN URL in each
399
+ `import`. `startLoader`/`stopLoader` are accepted aliases of the autoloader's `start`/`stop`.
400
+
335
401
  ## Optional native scoped registries
336
402
 
337
403
  `utilities/scoped-registry.js` exports `supportsScopedRegistries()` and
@@ -80,6 +80,11 @@ writing direction remain live references: loading or extending the parent later
80
80
  components. Ordinary `registerLyraLocale()` calls can extend the delta without discarding its
81
81
  parent. Self-references, cycles and parent chains beyond 32 edges reject before changing the outer
82
82
  registration. Delta catalogs do not become reverse fallbacks for another tag sharing the language.
83
+
84
+ The full fallback chain (truncation, implied script, regional siblings and delta parents) is
85
+ installed by the first registration. Until then every message is the built-in English default, so
86
+ only the inherited tag itself is consulted, for plural selection and number formatting. Register
87
+ catalogs before the first render, as usual, to render localized text without a re-render.
83
88
  The existing complete built-in regional catalogs retain their original messages.
84
89
 
85
90
  ```js