@aceshooting/lyra-ui 30.9.0 → 31.1.1

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 (283) hide show
  1. package/CHANGELOG.md +361 -335
  2. package/dist/ai/adapters/ag-ui.js +1 -1
  3. package/dist/autoloader-cdn.js +1 -1
  4. package/dist/components/agent-tools/activity-feed/activity-feed.class.js +1 -1
  5. package/dist/components/agent-tools/budget-meter/budget-meter.class.d.ts +12 -1
  6. package/dist/components/agent-tools/budget-meter/budget-meter.class.js +4 -4
  7. package/dist/components/agent-tools/compare-panel/compare-panel.class.js +1 -1
  8. package/dist/components/agent-tools/eval-dataset/eval-dataset.class.js +1 -1
  9. package/dist/components/agent-tools/thinking-panel/thinking-panel.class.js +1 -1
  10. package/dist/components/agent-tools/tool-select-dialog/tool-select-dialog.class.js +1 -1
  11. package/dist/components/charts/chart/box-plot.class.js +2 -2
  12. package/dist/components/charts/chart/chart-sync.js +1 -1
  13. package/dist/components/charts/chart/chart.class.d.ts +1 -1
  14. package/dist/components/charts/chart/chart.class.js +4 -4
  15. package/dist/components/charts/chart/lite-chart-axis-layout.js +1 -1
  16. package/dist/components/charts/chart/lite-chart.class.js +2 -2
  17. package/dist/components/conversation/chat-composer/chat-composer.class.d.ts +26 -11
  18. package/dist/components/conversation/chat-composer/chat-composer.class.js +11 -9
  19. package/dist/components/conversation/chat-composer/chat-composer.styles.js +1 -1
  20. package/dist/components/conversation/chat-message/chat-message.class.d.ts +27 -3
  21. package/dist/components/conversation/chat-message/chat-message.class.js +14 -12
  22. package/dist/components/conversation/chat-message/chat-message.styles.js +1 -1
  23. package/dist/components/conversation/chat-viewport/chat-viewport.class.d.ts +29 -2
  24. package/dist/components/conversation/chat-viewport/chat-viewport.class.js +2 -2
  25. package/dist/components/conversation/chat-viewport/chat-viewport.styles.js +1 -1
  26. package/dist/components/conversation/code-block/code-block-shared.js +1 -1
  27. package/dist/components/conversation/markdown/markdown-base.class.d.ts +1 -1
  28. package/dist/components/conversation/markdown/markdown-base.class.js +1 -1
  29. package/dist/components/conversation/markdown/markdown-code-header.js +1 -1
  30. package/dist/components/conversation/markdown/markdown-core.class.d.ts +10 -0
  31. package/dist/components/conversation/markdown/markdown-core.class.js +1 -1
  32. package/dist/components/conversation/markdown/markdown-shared.d.ts +7 -2
  33. package/dist/components/conversation/markdown/markdown-shared.js +3 -3
  34. package/dist/components/conversation/markdown/markdown.class.d.ts +10 -0
  35. package/dist/components/conversation/markdown/markdown.class.js +1 -1
  36. package/dist/components/conversation/message-feedback/message-feedback.class.d.ts +11 -3
  37. package/dist/components/conversation/message-feedback/message-feedback.class.js +12 -6
  38. package/dist/components/conversation/message-feedback/message-feedback.styles.js +1 -1
  39. package/dist/components/conversation/message-parts/message-parts.class.js +1 -1
  40. package/dist/components/conversation/prompt-input/prompt-input.class.d.ts +8 -4
  41. package/dist/components/conversation/prompt-input/prompt-input.class.js +3 -2
  42. package/dist/components/conversation/push-to-talk/push-to-talk.class.js +1 -1
  43. package/dist/components/conversation/streaming-text/streaming-text-base.class.d.ts +4 -0
  44. package/dist/components/conversation/streaming-text/streaming-text-base.class.js +1 -1
  45. package/dist/components/conversation/streaming-text/streaming-text-core.class.d.ts +1 -1
  46. package/dist/components/conversation/streaming-text/streaming-text-core.class.js +1 -0
  47. package/dist/components/conversation/streaming-text/streaming-text.class.d.ts +1 -1
  48. package/dist/components/conversation/streaming-text/streaming-text.class.js +1 -0
  49. package/dist/components/conversation/suggestion-chips/suggestion-chips.class.d.ts +17 -3
  50. package/dist/components/conversation/suggestion-chips/suggestion-chips.class.js +3 -3
  51. package/dist/components/conversation/suggestion-chips/suggestion-chips.d.ts +1 -1
  52. package/dist/components/conversation/suggestion-chips/suggestion-chips.js +1 -1
  53. package/dist/components/conversation/suggestion-chips/suggestion-chips.styles.js +1 -1
  54. package/dist/components/conversation/thread-list/thread-list.class.d.ts +1 -1
  55. package/dist/components/conversation/thread-list/thread-list.class.js +3 -3
  56. package/dist/components/conversation/transcript-feed/transcript-feed.class.js +1 -1
  57. package/dist/components/data/data-grid/data-grid.class.d.ts +10 -10
  58. package/dist/components/data/data-grid/data-grid.class.js +1 -1
  59. package/dist/components/data/document-library/document-library-cursor.js +1 -0
  60. package/dist/components/data/document-library/document-library-types.d.ts +20 -0
  61. package/dist/components/data/document-library/document-library.class.d.ts +37 -26
  62. package/dist/components/data/document-library/document-library.class.js +20 -11
  63. package/dist/components/data/document-library/document-library.styles.js +1 -1
  64. package/dist/components/data/file-tree/file-tree.class.js +1 -1
  65. package/dist/components/data/flow-canvas/flow-canvas.class.d.ts +1 -1
  66. package/dist/components/data/flow-canvas/flow-canvas.class.js +2 -2
  67. package/dist/components/data/heatmap/heatmap.class.d.ts +1 -1
  68. package/dist/components/data/heatmap/heatmap.class.js +1 -1
  69. package/dist/components/data/pagination/pagination.class.js +1 -1
  70. package/dist/components/data/table/table.class.d.ts +31 -2
  71. package/dist/components/data/table/table.class.js +3 -3
  72. package/dist/components/data/table/table.styles.js +1 -1
  73. package/dist/components/data/timeline/timeline-cluster.js +1 -1
  74. package/dist/components/data/timeline/timeline-item.class.d.ts +10 -3
  75. package/dist/components/data/timeline/timeline-item.class.js +16 -12
  76. package/dist/components/data/timeline/timeline-item.styles.js +1 -1
  77. package/dist/components/data/timeline/timeline.class.d.ts +14 -2
  78. package/dist/components/data/timeline/timeline.class.js +9 -5
  79. package/dist/components/data/tree/tree-item.class.js +1 -1
  80. package/dist/components/data/tree/tree.class.d.ts +2 -0
  81. package/dist/components/data/tree/tree.class.js +1 -1
  82. package/dist/components/forms/button/button.class.d.ts +8 -6
  83. package/dist/components/forms/button/button.class.js +2 -2
  84. package/dist/components/forms/checkbox-group/checkbox-group.class.js +1 -1
  85. package/dist/components/forms/color-picker/color-core.js +1 -1
  86. package/dist/components/forms/combobox/combobox.class.d.ts +20 -12
  87. package/dist/components/forms/combobox/combobox.class.js +2 -2
  88. package/dist/components/forms/date-picker/date-input.class.d.ts +1 -1
  89. package/dist/components/forms/date-picker/date-input.class.js +1 -1
  90. package/dist/components/forms/icon-button/icon-button.class.d.ts +4 -2
  91. package/dist/components/forms/icon-button/icon-button.class.js +2 -2
  92. package/dist/components/forms/input/input-shared.js +2 -2
  93. package/dist/components/forms/input/number-input-locale.js +1 -0
  94. package/dist/components/forms/input/number-input.class.d.ts +19 -2
  95. package/dist/components/forms/input/number-input.class.js +2 -2
  96. package/dist/components/forms/locale-picker/locale-picker.class.d.ts +3 -3
  97. package/dist/components/forms/locale-picker/locale-picker.class.js +1 -1
  98. package/dist/components/layout/app-rail-group/app-rail-group.class.js +1 -1
  99. package/dist/components/layout/details/accordion-item.class.js +1 -1
  100. package/dist/components/layout/dock-panel/dock-panel.class.d.ts +1 -1
  101. package/dist/components/layout/dock-panel/dock-panel.class.js +1 -1
  102. package/dist/components/layout/menu/menu.class.js +1 -1
  103. package/dist/components/layout/multi-split/multi-split.class.js +1 -1
  104. package/dist/components/layout/navigation-menu-item/navigation-menu-item.class.js +1 -1
  105. package/dist/components/layout/page/page.class.d.ts +3 -3
  106. package/dist/components/layout/page/page.class.js +1 -1
  107. package/dist/components/layout/segmented/segmented.class.d.ts +20 -7
  108. package/dist/components/layout/segmented/segmented.class.js +34 -24
  109. package/dist/components/layout/segmented/segmented.styles.js +1 -1
  110. package/dist/components/layout/stepper/stepper.styles.js +1 -1
  111. package/dist/components/layout/tab-group/tab-group.class.d.ts +8 -1
  112. package/dist/components/layout/tab-group/tab-group.class.js +1 -1
  113. package/dist/components/layout/tab-group/tab.class.d.ts +7 -1
  114. package/dist/components/layout/tab-group/tab.class.js +1 -1
  115. package/dist/components/layout/virtual-list/virtual-list.class.d.ts +2 -2
  116. package/dist/components/layout/virtual-list/virtual-list.class.js +1 -1
  117. package/dist/components/media/animated-image/animated-image.class.js +1 -1
  118. package/dist/components/media/attachment-chip/attachment-chip.class.d.ts +21 -14
  119. package/dist/components/media/attachment-chip/attachment-chip.class.js +1 -1
  120. package/dist/components/media/attachment-trigger/attachment-trigger.class.d.ts +36 -12
  121. package/dist/components/media/attachment-trigger/attachment-trigger.class.js +3 -3
  122. package/dist/components/media/drop-zone/drop-zone.class.d.ts +23 -5
  123. package/dist/components/media/drop-zone/drop-zone.class.js +2 -2
  124. package/dist/components/media/drop-zone/drop-zone.styles.js +1 -1
  125. package/dist/components/media/file-icon/file-icon.class.js +1 -1
  126. package/dist/components/media/flag/flag-url-resolver.js +1 -1
  127. package/dist/components/media/image-viewer/image-viewer.class.d.ts +2 -2
  128. package/dist/components/media/image-viewer/image-viewer.class.js +1 -1
  129. package/dist/components/media/map/map-anchor-controller.js +1 -1
  130. package/dist/components/media/map/map-canvas-target.js +1 -0
  131. package/dist/components/media/map/map-owned-features.js +1 -1
  132. package/dist/components/media/map/map-scene-elevated-lines.js +2 -2
  133. package/dist/components/media/map/map-scene-render-controller.js +1 -1
  134. package/dist/components/media/map/map.class.d.ts +15 -6
  135. package/dist/components/media/map/map.class.js +4 -4
  136. package/dist/components/media/map/map.styles.js +1 -1
  137. package/dist/components/media/pan-zoom/pan-zoom.class.js +1 -1
  138. package/dist/components/media/sequence-playback/sequence-playback.class.d.ts +21 -9
  139. package/dist/components/media/sequence-playback/sequence-playback.class.js +7 -6
  140. package/dist/components/media/sequence-playback/sequence-playback.styles.js +1 -1
  141. package/dist/components/media/video/video.class.d.ts +3 -3
  142. package/dist/components/media/video/video.class.js +3 -1
  143. package/dist/components/media/video-playlist/video-playlist.class.js +1 -1
  144. package/dist/components/overlays/chip/chip.class.js +1 -1
  145. package/dist/components/overlays/overlay/dropdown.class.js +1 -1
  146. package/dist/components/overlays/overlay/overlay.styles.js +1 -1
  147. package/dist/components/overlays/overlay/tooltip.class.d.ts +5 -1
  148. package/dist/components/overlays/overlay/tooltip.class.js +3 -3
  149. package/dist/components/retrieval/embedding-explorer/embedding-explorer-engine.js +1 -1
  150. package/dist/components/retrieval/graph/graph-node-renderer.js +1 -1
  151. package/dist/components/retrieval/graph/graph-spatial-controller.js +1 -1
  152. package/dist/components/retrieval/graph/graph.class.d.ts +1 -1
  153. package/dist/components/retrieval/graph/graph.class.js +1 -1
  154. package/dist/components/retrieval/ingestion-queue/ingestion-queue-presentation.d.ts +11 -0
  155. package/dist/components/retrieval/ingestion-queue/ingestion-queue-presentation.js +1 -0
  156. package/dist/components/retrieval/ingestion-queue/ingestion-queue.class.d.ts +18 -7
  157. package/dist/components/retrieval/ingestion-queue/ingestion-queue.class.js +13 -26
  158. package/dist/components/retrieval/ingestion-queue/ingestion-queue.styles.js +1 -1
  159. package/dist/components/retrieval/mind-map/mind-map.class.js +1 -1
  160. package/dist/components/retrieval/neighbor-list/neighbor-list.class.d.ts +1 -1
  161. package/dist/components/retrieval/neighbor-list/neighbor-list.class.js +3 -3
  162. package/dist/components/retrieval/retrieval-results/retrieval-results.class.js +1 -1
  163. package/dist/components/utility/diff-view/diff-view.class.d.ts +5 -5
  164. package/dist/components/utility/diff-view/diff-view.class.js +1 -1
  165. package/dist/components/utility/icon/icon.class.js +1 -1
  166. package/dist/components/utility/json-viewer/json-viewer.class.d.ts +16 -1
  167. package/dist/components/utility/json-viewer/json-viewer.class.js +4 -4
  168. package/dist/components/utility/json-viewer/json-viewer.styles.js +1 -1
  169. package/dist/components/utility/known-date/known-date.class.js +1 -1
  170. package/dist/components/utility/mention-popover/mention-popover.class.js +1 -1
  171. package/dist/components/viewers/archive-viewer/archive-viewer.class.js +1 -1
  172. package/dist/components/viewers/calendar-viewer/calendar-viewer.class.js +1 -1
  173. package/dist/components/viewers/contact-viewer/contact-viewer.class.js +1 -1
  174. package/dist/components/viewers/csv-viewer/csv-viewer.class.js +1 -1
  175. package/dist/components/viewers/dataset-viewer/dataset-viewer.class.js +1 -1
  176. package/dist/components/viewers/document-preview/document-preview.class.js +2 -2
  177. package/dist/components/viewers/docx-viewer/docx-viewer.class.d.ts +1 -1
  178. package/dist/components/viewers/docx-viewer/docx-viewer.class.js +2 -2
  179. package/dist/components/viewers/ebook-viewer/ebook-viewer.class.js +1 -1
  180. package/dist/components/viewers/email-viewer/email-viewer.class.d.ts +1 -1
  181. package/dist/components/viewers/email-viewer/email-viewer.class.js +2 -2
  182. package/dist/components/viewers/html-viewer/html-viewer.class.js +1 -1
  183. package/dist/components/viewers/include/include.class.js +1 -1
  184. package/dist/components/viewers/model-viewer/model-viewer.class.js +1 -1
  185. package/dist/components/viewers/notebook-viewer/notebook-viewer.class.js +2 -2
  186. package/dist/components/viewers/pdf-viewer/pdf-viewer.class.d.ts +2 -2
  187. package/dist/components/viewers/pdf-viewer/pdf-viewer.class.js +2 -2
  188. package/dist/components/viewers/pptx-viewer/pptx-viewer.class.js +1 -1
  189. package/dist/components/viewers/spreadsheet-viewer/spreadsheet-viewer.class.js +1 -1
  190. package/dist/components/viewers/svg-viewer/svg-viewer.class.js +1 -1
  191. package/dist/components/viewers/table-viewer-shared.js +4 -4
  192. package/dist/components/viewers/xml-viewer/xml-viewer.class.js +2 -2
  193. package/dist/data-sources.d.ts +10 -0
  194. package/dist/events.d.ts +9 -4
  195. package/dist/framework-types.d.ts +1 -1
  196. package/dist/internal/anchored-overlay-runtime.js +1 -1
  197. package/dist/internal/catalog-picker.js +1 -1
  198. package/dist/internal/default-strings/conversation.generated.js +1 -1
  199. package/dist/internal/default-strings/data.generated.js +1 -1
  200. package/dist/internal/default-strings/retrieval.generated.js +1 -1
  201. package/dist/internal/document-tokens.js +2 -2
  202. package/dist/internal/drop-session-controller.js +1 -1
  203. package/dist/internal/engine-3d.js +1 -1
  204. package/dist/internal/icon-only-content.js +1 -1
  205. package/dist/internal/layered-layout.js +1 -1
  206. package/dist/internal/localization-types.d.ts +1 -1
  207. package/dist/internal/localization.js +1 -1
  208. package/dist/internal/lyra-element.js +2 -2
  209. package/dist/internal/map-custom-layer-controller.js +1 -1
  210. package/dist/internal/media-panorama.js +1 -1
  211. package/dist/internal/native-modal-context.js +1 -1
  212. package/dist/internal/overlay-manager.js +1 -1
  213. package/dist/internal/overlay-order.js +1 -1
  214. package/dist/internal/overlay-stack.js +1 -1
  215. package/dist/internal/package-metadata.js +1 -1
  216. package/dist/internal/runtime-diagnostics.js +1 -0
  217. package/dist/internal/safe-url.js +1 -1
  218. package/dist/internal/scoped-definitions.generated.js +1 -1
  219. package/dist/internal/scroll-overflow.js +1 -1
  220. package/dist/internal/source-cursor-controller.js +1 -0
  221. package/dist/internal/source-cursor-projection.js +1 -0
  222. package/dist/internal/source-page-scope.js +1 -1
  223. package/dist/internal/source-window-controller.js +1 -1
  224. package/dist/internal/text-quote.js +1 -1
  225. package/dist/internal/viewer-search.js +1 -1
  226. package/dist/lyra.d.ts +1 -1
  227. package/dist/sequence-time-binding.js +1 -1
  228. package/dist/simulation-clock.js +1 -1
  229. package/dist/styles/reservations.css +1 -1
  230. package/dist/styles/reservations.styles.js +1 -1
  231. package/dist/testing/happy-dom-shims.js +1 -1
  232. package/dist/theme/theme-bootstrap.js +1 -1
  233. package/dist/theme/theme.js +1 -1
  234. package/dist/utilities/overlay-manager.d.ts +2 -0
  235. package/llms/components/lr-attachment-chip.md +27 -12
  236. package/llms/components/lr-attachment-trigger.md +27 -7
  237. package/llms/components/lr-budget-meter.md +31 -0
  238. package/llms/components/lr-button.md +6 -4
  239. package/llms/components/lr-chat-composer.md +26 -9
  240. package/llms/components/lr-chat-message.md +44 -3
  241. package/llms/components/lr-chat-viewport.md +39 -2
  242. package/llms/components/lr-combobox.md +27 -1
  243. package/llms/components/lr-data-grid.md +2 -0
  244. package/llms/components/lr-dialog.md +10 -0
  245. package/llms/components/lr-diff-view.md +6 -0
  246. package/llms/components/lr-document-library.md +90 -6
  247. package/llms/components/lr-drop-zone.md +26 -2
  248. package/llms/components/lr-graph.md +5 -0
  249. package/llms/components/lr-icon-button.md +2 -1
  250. package/llms/components/lr-ingestion-queue.md +76 -8
  251. package/llms/components/lr-json-viewer.md +51 -0
  252. package/llms/components/lr-lite-chart.md +2 -1
  253. package/llms/components/lr-locale-picker.md +5 -0
  254. package/llms/components/lr-map.md +33 -0
  255. package/llms/components/lr-markdown-core.md +2 -1
  256. package/llms/components/lr-markdown.md +20 -4
  257. package/llms/components/lr-menu.md +3 -1
  258. package/llms/components/lr-message-feedback.md +38 -3
  259. package/llms/components/lr-number-input.md +28 -1
  260. package/llms/components/lr-page.md +4 -2
  261. package/llms/components/lr-prompt-input.md +6 -3
  262. package/llms/components/lr-segmented.md +30 -10
  263. package/llms/components/lr-sequence-playback.md +47 -12
  264. package/llms/components/lr-streaming-text-core.md +3 -2
  265. package/llms/components/lr-streaming-text.md +4 -1
  266. package/llms/components/lr-suggestion-chips.md +28 -5
  267. package/llms/components/lr-tab-group.md +13 -1
  268. package/llms/components/lr-tab.md +5 -0
  269. package/llms/components/lr-table.md +25 -4
  270. package/llms/components/lr-timeline-item.md +1 -1
  271. package/llms/components/lr-timeline.md +38 -4
  272. package/llms/components/lr-tooltip.md +3 -1
  273. package/llms/components/lr-tree.md +4 -0
  274. package/llms/components/lr-virtual-list.md +4 -1
  275. package/llms/peers.md +2 -2
  276. package/llms/shared/events-and-types.md +61 -2
  277. package/llms/shared/forms-and-accessibility.md +46 -4
  278. package/llms/shared/imports-and-registration.md +154 -110
  279. package/llms/shared/testing-and-utilities.md +5 -1
  280. package/llms/shared.md +266 -117
  281. package/locales.json +1 -1
  282. package/package.json +22 -21
  283. package/registrations.json +1 -1
package/llms/shared.md CHANGED
@@ -1,21 +1,18 @@
1
1
  <!-- GENERATED by scripts/build-llms.mjs from llms/shared/*.md — do not edit this file. -->
2
2
  ## Component status, versioning, and deprecation
3
3
 
4
- Every public `lr-*` component has an explicit status and `since` version in the package metadata.
5
- `since` is the earliest published Lyra UI release manifest that contained the tag; for a component
6
- introduced by the current release, it is the current package version.
7
-
8
- - **Stable** components are supported for production use. An incompatible public API or behavior
9
- change requires a semver-major release.
10
- - **Experimental** components are still open to design review, but they are not exempt from
11
- compatibility promises: once published, their public APIs receive the same full-semver protection
12
- as stable components until they are formally deprecated and removed.
13
-
14
- Deprecation is explicit metadata, not an implication from status. Each deprecated component or
15
- member names a replacement, a deprecation version, a rationale, and the earliest permitted removal
16
- version. If an API is deprecated in major version M, it remains available for the complete M+1
17
- release line and cannot be removed before M+2. This policy applies equally to stable and
18
- experimental public APIs.
4
+ Every public `lr-*` component records a status and `since` version in package metadata. `since`
5
+ is the earliest published release manifest containing the tag, or the current version for a new tag.
6
+
7
+ - **Stable** components support production use.
8
+ - **Experimental** components remain open to design review.
9
+
10
+ Once published, both statuses have full-semver protection until formal deprecation and removal; an incompatible
11
+ public API or behavior change requires a semver-major release.
12
+
13
+ Deprecation is explicit metadata, independent of status: it records a replacement, deprecation version,
14
+ rationale and earliest removal version. An API deprecated in major M remains available throughout
15
+ M+1 and cannot be removed before M+2, for stable and experimental APIs alike.
19
16
 
20
17
  **9.0.0 took a one-time exception to that policy, and says so rather than quietly breaking it.**
21
18
  Three members whose recorded removal window had genuinely opened were removed normally
@@ -31,36 +28,30 @@ customary M+1 warning period — `lr-usage-badge`'s `compact`, `lr-chart`'s `hor
31
28
  a mechanical migration listed in the 9.0.0 changelog entry and in `migration.md`. From 9.0.0 onward
32
29
  the M+2 rule applies as written; treat the above as a documented exception, not a precedent.
33
30
 
34
- Deprecation records also cover contracts that are not a single member. Deprecated **slot
35
- content** is a kind of content inside a slot that stays supported (for example, content other than
36
- items in a menu's default slot); the slot's own description says which content is deprecated.
37
- Deprecated **package entry points**, **stylesheets**, **exported types/functions/constants**, and
38
- **global events/root attributes** are listed under "Deprecated package exports" at the end of
39
- `llms/index.md`. Deprecated named exports also carry `@deprecated` in their declarations for editor
40
- feedback. Each component's own deprecations
41
- are listed in its `llms/components/<tag>.md` header and in `custom-elements.json` (from `@aceshooting/lyra-ide`; the declaration's
42
- `deprecations`, with a member's `deprecationRef` identifying its record as `kind:name`).
43
- The standard `deprecated` field remains available to generic CEM readers. These records are the complete
44
- list of deprecated APIs; audit an upgrade against them, not against console output.
45
-
46
- **Development warnings.** The `development` package condition includes runtime diagnostics; the
47
- default production condition omits them. Some deprecations log a development-mode `console.warn` naming the
48
- element or package module, the deprecated API, and its replacement. A warning only ever fires for
49
- usage that can be observed cheaply and exactly — setting a deprecated property or attribute,
50
- connecting a deprecated tag, vetoing through a deprecated alias event, or calling a deprecated
51
- function — and **not every deprecated API
52
- warns**: many deprecations have no runtime warning, among them deprecated slot content,
53
- `lr-stat`'s default-slot icon and `lr-menu`'s non-item default-slot content. Deprecated CSS parts, custom properties, and
54
- custom states are styling hooks a component cannot observe, so they never warn. A silent console
55
- is therefore not evidence that an application uses no deprecated API. Where a warning exists, it
56
- fires once per page for each element name or module and deprecated API, and only when Lit runs its
57
- development build; production builds never warn. The deprecated form keeps working either
58
- way, and moving to the replacement removes the warning. A test suite that fails on console output
59
- while deliberately exercising a deprecated form can pre-seed Lit's development-mode
60
- `globalThis.litIssuedWarnings` set, before the element renders, with the key
61
- `lyra-deprecated:<owner>:<kind>:<name>` — `<kind>` and `<name>` as in the deprecation record.
62
- `<owner>` is the element name or package-relative module specifier. Theme migration guidance is in
63
- [styles and tokens](./shared/styles-and-tokens.md).
31
+ Deprecation also covers **slot content** inside a supported slot, such as non-item menu content;
32
+ the slot description identifies it. Deprecated **package entry points**, **stylesheets**,
33
+ **exported types/functions/constants**, and **global events/root attributes** appear under
34
+ "Deprecated package exports" in `llms/index.md`. Named exports also carry `@deprecated` for editors.
35
+ Component records appear in the `llms/components/<tag>.md` header and `custom-elements.json`
36
+ (from `@aceshooting/lyra-ide`): declaration `deprecations` contain records, and a member's
37
+ `deprecationRef` identifies one as `kind:name`. Generic CEM readers can use `deprecated`.
38
+ These records are exhaustive; audit upgrades against them, not console output.
39
+
40
+ **Development warnings.** The `development` package condition includes deprecation diagnostics;
41
+ the default production condition omits them. With Lit's development build, some deprecated usages
42
+ emit `console.warn` naming the element or module, API and replacement, once per page for each
43
+ owner/API. Observable usages include setting a deprecated property/attribute, connecting a tag,
44
+ vetoing through an alias event or calling a function. Deprecated forms keep working; adopting the
45
+ replacement removes the warning. Production never emits these deprecation warnings.
46
+
47
+ Warnings require cheap, exact observation. Many deprecations never warn, including slot content
48
+ (`lr-stat`'s default-slot icon and `lr-menu`'s non-item default-slot content) and unobservable CSS
49
+ parts, custom properties and custom states. A silent console does not prove absence of deprecated
50
+ usage. Tests deliberately exercising it can pre-seed Lit's development-mode
51
+ `globalThis.litIssuedWarnings` set before rendering with
52
+ `lyra-deprecated:<owner>:<kind>:<name>`: `<kind>`/`<name>` come from the record; `<owner>` is the
53
+ element name or package-relative module specifier. See [styles and tokens](./shared/styles-and-tokens.md)
54
+ for theme migration.
64
55
 
65
56
  ### Release history and upgrade notes
66
57
 
@@ -76,16 +67,12 @@ registration-free `.class.js` subpath, the split SSR/hydration entries, and the
76
67
 
77
68
  ### The support window
78
69
 
79
- Compatibility promises are bounded by a published support window, not by "evergreen browsers":
80
- Chromium 120+, Gecko 121+, WebKit 16.4+, and Node 22+ (ESM only; there is no CommonJS entry point).
81
- Those floors are derived from platform features the source actually uses — `:dir()`, `:has()`,
82
- `@container`, `color-mix()`, `ElementInternals` form association — because the package ships
83
- untranspiled ES2022 modules with no polyfills and no build-time downleveling. There is deliberately
84
- no `browserslist` field: it would describe a build step this package does not have. The version
85
- floors are derived from those platform features rather than individually verified version-by-version.
86
- Raising any floor is a semver-major change. Full policy, including the known WebKit
87
- cross-shadow-selection gap and the
88
- rule for when a `@supports` fallback may be dropped:
70
+ The published support window is Chromium 120+, Gecko 121+, WebKit 16.4+ and Node 22+ (ESM only,
71
+ no CommonJS entry). These floors derive from `:dir()`, `:has()`, `@container`, `color-mix()` and
72
+ `ElementInternals` form association, not individual version-by-version verification. Lyra ships
73
+ untranspiled ES2022 modules without polyfills or build-time downleveling. There is no `browserslist`
74
+ field: it would describe a build step Lyra does not have. Raising a floor is semver-major. Full policy, including WebKit's
75
+ cross-shadow-selection gap and conditions for dropping a `@supports` fallback:
89
76
  <https://github.com/aceshooting/lyra-ui/blob/main/docs/support-policy.md>.
90
77
 
91
78
  ## Importing and registering components
@@ -98,9 +85,8 @@ import "@aceshooting/lyra-ui/components/lr-combobox.js"; // registers <lr-combob
98
85
  import "@aceshooting/lyra-ui/components/lr-table.js"; // registers <lr-table>
99
86
  ```
100
87
 
101
- Family barrel entries remain supported and register their family. Class-only `.class.js` entries
102
- use their owning family/component path because they intentionally expose source organization and
103
- do not register a tag.
88
+ Family barrels register their family. Registration-free `.class.js` entries retain the owning
89
+ family/component path, exposing source organization.
104
90
 
105
91
  New application code can import any component through its stable tag-shaped path:
106
92
 
@@ -110,8 +96,8 @@ import "@aceshooting/lyra-ui/components/lr-menubar.js";
110
96
  import "@aceshooting/lyra-ui/components/lr-tool-call-block.js";
111
97
  ```
112
98
 
113
- `llms/index.md` lists every tag and its owning implementation module. The stable tag-shaped alias
114
- and the supported family barrel each resolve through the package's component exports.
99
+ `llms/index.md` lists tags and implementation modules; stable aliases and family barrels resolve
100
+ through component exports.
115
101
 
116
102
  The package root is a pure, side-effect-free export surface. Import a component entry to register
117
103
  only that tag, or use the explicit `all.js` entry when whole-library registration is needed:
@@ -120,11 +106,9 @@ only that tag, or use the explicit `all.js` entry when whole-library registratio
120
106
  import "@aceshooting/lyra-ui/all.js"; // explicitly registers the root-included tags
121
107
  ```
122
108
 
123
- The package root does not re-export component constructors. Import a class from its owning
124
- component's `.class.js` subpath; import the stable tag-shaped entry to register it. The root remains
125
- a side-effect-free home for shared utilities and types. Family registration barrels and `all.js`
126
- remain side-effectful convenience entries; prefer tag-shaped imports for smaller application
127
- bundles.
109
+ The root exports shared utilities/types, not component constructors. Use a component's owning
110
+ `.class.js` for its class and tag-shaped entry to register it. Family barrels and `all.js` remain
111
+ side-effectful conveniences; prefer tag imports for smaller bundles.
128
112
 
129
113
  The entry points, then:
130
114
 
@@ -137,11 +121,11 @@ The entry points, then:
137
121
  one warning for that exact conflict with the existing/incoming package versions, constructor
138
122
  names, and both constructor references. An existing non-Lyra definition is reported with an
139
123
  `unknown` existing version rather than guessed provenance.
140
- - **Root barrel.** `import '@aceshooting/lyra-ui';` registers **nothing**. It re-exports a broad
141
- compatibility surface of commonly used classes, helpers, and types,
142
- but it is not an exhaustive promise that every component-owned type or future export is present.
143
- Prefer the owning component entry in application code, both for the smallest bundle and the
144
- complete contract of that component.
124
+ - **Root barrel.** `import '@aceshooting/lyra-ui';` registers **nothing**. Its broad compatibility
125
+ surface of commonly used classes, helpers and types is not exhaustive for component-owned types
126
+ or future exports. Prefer the owning entry for that component's complete contract and smaller
127
+ bundles.
128
+
145
129
  - **`all.js` compatibility entry.** `import '@aceshooting/lyra-ui/all.js';` registers the 296
146
130
  root-included tags — everything **except** the 15 inventory-designated optional-peer-family tags:
147
131
  `lr-chart` and its 8 typed subclasses (`lr-line-chart`, `lr-bar-chart`, `lr-pie-chart`,
@@ -192,11 +176,76 @@ The entry points, then:
192
176
  `waitForLyraElement()`/`waitForToast()` for awaiting a lazily registered mount),
193
177
  `@aceshooting/lyra-ui/utilities/*` (the curated shared helpers, all documented below).
194
178
 
179
+ ### One runtime per document
180
+
181
+ Active Lyra components and overlay utilities in a `Document`, including lazy chunks, must share
182
+ one evaluated `@aceshooting/lyra-ui` graph. Identical versions/archive bytes can still produce
183
+ separate runtimes through different optional-peer contexts. Matching versions or avoiding tag
184
+ conflicts does not share Escape, focus, modal inertness, scroll-lock or native-modal coordination.
185
+ Shadow roots/scoped registries do not isolate these resources; separate documents are independent.
186
+
187
+ Choose the application that owns UI and its required optional peers. For a Vite application whose
188
+ project root directly depends on UI, configure
189
+ [`resolve.dedupe`](https://vite.dev/config/shared-options#resolve-dedupe):
190
+
191
+ ```js
192
+ import { defineConfig } from 'vite';
193
+
194
+ export default defineConfig({
195
+ resolve: { dedupe: ['@aceshooting/lyra-ui'] },
196
+ });
197
+ ```
198
+
199
+ A shared build root without that dependency must explicitly select the owning application's
200
+ public UI exports. For Vite 8, this example uses a
201
+ [pre-enforced resolver](https://vite.dev/guide/api-plugin#plugin-ordering) and the same resolver
202
+ in [dependency optimization](https://vite.dev/config/dep-optimization-options#optimizedeps-rolldownoptions):
203
+
204
+ ```js
205
+ import { createRequire } from 'node:module';
206
+ import { defineConfig } from 'vite';
207
+
208
+ const application = createRequire(new URL('./app/package.json', import.meta.url));
209
+ const resolveUi = () => ({
210
+ name: 'application-ui-runtime',
211
+ resolveId(source) {
212
+ return /^@aceshooting\/lyra-ui(?:\/.*)?$/u.test(source)
213
+ ? application.resolve(source)
214
+ : null;
215
+ },
216
+ });
217
+
218
+ export default defineConfig({
219
+ resolve: { dedupe: ['@aceshooting/lyra-ui'] },
220
+ plugins: [{ ...resolveUi(), enforce: 'pre' }],
221
+ optimizeDeps: { rolldownOptions: { plugins: [resolveUi()] } },
222
+ });
223
+ ```
224
+
225
+ Replace `./app/package.json` with the owning application's manifest. UI's current default public
226
+ exports support `createRequire().resolve()` without assuming install layout or importing CommonJS.
227
+ Import-only companion exports instead require an ESM entry resolved in their owning application.
228
+ Retain that UI context's required optional peers and companion worker/renderer identity checks;
229
+ deduplicating incompatible peers does not repair them.
230
+
231
+ Reusable libraries should peer-depend on UI and externalize its root and every public subpath,
232
+ without bundling a separate copy. Verify actually served development dependencies and production
233
+ module graphs, including lazy imports: development optimization can collapse copies that remain
234
+ split in production. Alias the whole package, never an internal owner or diagnostic module.
235
+
236
+ Active use of a second instrumented runtime emits one `[lr-runtime-duplicate]` warning per
237
+ document, including when versions match. It detects an unsupported split runtime; it does not
238
+ merge or repair overlay state. Passive imports and SSR do not claim a document. If the document's
239
+ diagnostic marker cannot be used, `[lr-runtime-diagnostic-unavailable]` is bounded to once per
240
+ runtime per document; components continue to operate. A throwing console logger does not abort
241
+ connection or overlay acquisition. Silence is not proof of correct bundling: older uninstrumented
242
+ copies and partial internal deduplication can escape detection. Keep the whole-package singleton
243
+ configuration even when no warning appears.
244
+
195
245
  ### Registration-free component helpers
196
246
 
197
- The following focused helpers are public, side-effect-free modules. They do not define a custom
198
- element, so they are suitable for server code, workers, or applications that need the same data
199
- normalization as a component without registering it:
247
+ These public, side-effect-free helpers share component data normalization without defining custom
248
+ elements, for server, worker or application code:
200
249
 
201
250
  ```ts
202
251
  import {
@@ -231,17 +280,17 @@ also renders that component.
231
280
 
232
281
  ### Optional autoloader
233
282
 
234
- `@aceshooting/lyra-ui/autoloader.js` exports `discover(root?, options?)`, `start(root?, options?)`,
235
- and `stop()`. It can load each known Lyra tag independently, allowing bundlers to split components
236
- while granular imports remain independent. Importing this entry alone has no side effect and
237
- registers nothing.
238
-
239
- - `discover()` scans once. `start()` performs the same initial scan, then observes dynamic and
240
- Turbo-style replacement subtrees; a later `start()` stops the previous watcher. `stop()` is
241
- idempotent, disconnects it, invalidates pending definitions, and removes loader-owned markers.
242
- - The optional root is a `Document`, `DocumentFragment`/open `ShadowRoot`, or `Element`; the default
243
- is `document`. Caller-owned open shadow roots are traversed iteratively. Each element resolves
244
- against its owning/scoped custom-element registry rather than an unrelated global registry.
283
+ `@aceshooting/lyra-ui/autoloader.js` exports `discover(root?, options?)`, `start(root?, options?)`
284
+ and `stop()`. It independently loads known tags for component splitting; granular imports stay
285
+ independent. Importing it has no side effects or registrations.
286
+
287
+ - `discover()` scans once. `start()` scans, then watches dynamic/Turbo-style replacement subtrees,
288
+ stopping any previous watcher. Idempotent `stop()` disconnects it, invalidates pending definitions
289
+ and removes loader-owned markers.
290
+ - Root defaults to `document`: accept a `Document`, `DocumentFragment`/open `ShadowRoot` or
291
+ `Element`. Traverse caller-owned open shadows iteratively and use each element's owning/scoped
292
+ custom-element registry, never an unrelated global registry.
293
+
245
294
  - `maxElements` (default `10_000`), `maxRoots` (`2_000`), `maxDepth` (`256`), and `maxWork`
246
295
  (`100_000`) bound one complete discovery operation. `maxConcurrency` (`16`) bounds concurrent
247
296
  definition and first-update tasks. Invalid limits throw `RangeError`; an initial `discover()` or
@@ -286,9 +335,9 @@ and both are safe to import in plain Node.
286
335
  ## Optional native scoped registries
287
336
 
288
337
  `utilities/scoped-registry.js` exports `supportsScopedRegistries()` and
289
- `createScopedRegistry(definitions, { document? })`. Native support is optional and checked at
290
- runtime; unsupported browsers and SSR reject creation explicitly. No polyfill or global fallback
291
- is installed. Ordinary component registration imports keep their existing global behavior.
338
+ `createScopedRegistry(definitions, { document? })`. Creation checks optional native support and
339
+ rejects unsupported browsers/SSR; no polyfill or global fallback is installed. Ordinary registration
340
+ imports retain global behavior.
292
341
 
293
342
  Use class-only imports and provide full tag names, including composed children:
294
343
 
@@ -337,29 +386,24 @@ creation in third-party factories is not intercepted; those factories must use t
337
386
 
338
387
  ## Collection identity
339
388
 
340
- Every host-supplied collection has one explicit identity policy. An actionable or keyed collection
341
- uses a stable, nonempty business identity and ignores malformed identities plus later duplicates
342
- before rendering, counting, focus reconciliation, selection lookup, persistence, or event dispatch.
343
- The first valid occurrence wins and reordering the input does not turn its array position into its
344
- identity. When repeated values are intentionally meaningful, the component keeps them and exposes
345
- an occurrence index in every state or event that must address one occurrence; the relevant
346
- component section says so.
347
-
348
- Lyra-owned controlled properties and action details name the domain instead of overloading the
349
- platform's `HTMLElement.id`: for example `panelId`, `commandId`, `cellId`, `stepId`, `viewId`,
350
- `attachmentId`, `cueId`, `highlightId`, and `spanId`. Controlled active/persisted fields and event
351
- details use the same domain name. Compound identities retain every required scope field (for
352
- example `{ invocationId, sourceKey }`). Published input-record schemas may retain an established
353
- generic `id`/`key`/`path` spelling; the component still applies its documented uniqueness or
354
- occurrence policy and exposes domain-named controlled state and action details.
355
-
356
- Treat an empty or whitespace-only required identity as missing. Unless a component's contract
357
- explicitly documents and tests an input normalization such as trimming surrounding whitespace,
358
- Lyra does not rewrite a valid retained identity merely to validate it. When normalization is part
359
- of that contract, the normalized value is the identity used consistently for duplicate detection,
360
- selection, persistence, keyed DOM ownership, and event details. Assign a new collection when the
361
- data changes, and keep the business identity stable across object replacement so those consumers
362
- continue to follow the same logical record.
389
+ Each host collection declares an identity policy. Actionable/keyed collections require stable,
390
+ nonempty business identities: ignore malformed identities and later duplicates before rendering,
391
+ counting, focus reconciliation, selection lookup, persistence or events. First valid occurrence
392
+ wins; reordering never makes array position its identity. Intentionally repeated values remain,
393
+ with an occurrence index in every state/event addressing one; the component documents this.
394
+
395
+ Controlled properties, persisted/active fields and action details use the same domain names rather than
396
+ `HTMLElement.id`: e.g. `panelId`, `commandId`, `cellId`, `stepId`, `viewId`, `attachmentId`, `cueId`,
397
+ `highlightId` and `spanId`. Compound identities retain all scope fields, e.g.
398
+ `{ invocationId, sourceKey }`. Published input records may retain established `id`/`key`/`path`
399
+ spellings while applying their documented uniqueness/occurrence policy and exposing domain-named
400
+ controlled state/action details.
401
+
402
+ Empty/whitespace-only required identities are missing. Valid retained identities are not rewritten
403
+ for validation unless the component explicitly documents and tests normalization, such as trimming.
404
+ Then use the normalized identity consistently for duplicates, selection, persistence, keyed DOM
405
+ ownership and event details. Assign a new collection when data changes; retain business identities
406
+ across object replacement so consumers follow the same logical records.
363
407
 
364
408
  ## Events
365
409
 
@@ -485,8 +529,9 @@ a capped prefix does not provide access to a million-record source.
485
529
 
486
530
  The host owns each source and its indexes, storage and query work. Keep its revision, counts,
487
531
  records and returned projections immutable for a request snapshot. Revisions are nonempty strings
488
- or finite numbers; counts, offsets and record orders are nonnegative safe integers. Nonempty keys
489
- identify logical records, and `order` is canonical source order independent of query sorting.
532
+ or finite numbers; where present, counts, offsets and record orders are nonnegative safe integers.
533
+ Nonempty keys identify logical records, and a counted record's `order` is canonical source order
534
+ independent of query sorting. Cursor records instead carry only key/value identity.
490
535
  A provider can generate or fetch a requested window without allocating an array for the entire collection.
491
536
  Arbitrary work inside a host callback remains the host's responsibility.
492
537
 
@@ -509,6 +554,14 @@ Choose the access shape that matches the host's data:
509
554
  `total` describes every query match, not loaded rows; group ranges describe the globally
510
555
  ordered query and facets describe the full source catalogue. A declared `Summary` is required
511
556
  in each result, while the default `undefined` summary can be omitted.
557
+ - `LyraCursorSource<T, Q>` supplies unknown-total continuation batches without `total`, `order`,
558
+ lookup or locate. Its nonempty `scope` is an identity namespace; a compatible scope keeps keys
559
+ meaningful across query/revision changes. `query(request: LyraCursorRequest<Q>)` receives
560
+ `{ scope, revision, locale, signal, query, cursor, limit }` and resolves `LyraCursorResult<T>`:
561
+ `{ rows: readonly LyraCursorRecord<T>[]; nextCursor: string | null }`, where each record is
562
+ readonly `{ key: string; value: T }`. `cursor: null` starts a query and `nextCursor: null` ends
563
+ continuation; nonempty string tokens remain opaque and may continue an empty/short batch. They do
564
+ not promise another record or a total. The provider applies the full query before paging.
512
565
  - `LyraTabularSource` has separate column metadata and zero-based body rows, using either
513
566
  `cellAt` or bounded rectangular `readCells`. `LyraWorkbookSource` names sheets separately.
514
567
  Search results use a bounded hit list, `total: null` when the global total is unknown, and
@@ -522,6 +575,26 @@ Choose the access shape that matches the host's data:
522
575
  bins. Global node/edge totals, scene coverage and displayed counts have distinct meanings;
523
576
  a neighborhood or aggregate scene is not a complete graph layout.
524
577
 
578
+ Cursor binding is supported by **`lr-document-library.cursorSource` only**; the type declaration
579
+ does not enable it on other provider components. Choose exactly one of that input and its
580
+ counted `dataSource`. The table shows the current batch, `sourcePage` is inactive, and
581
+ `sourceTotal` remains `null`, including at the end. No facet catalogue, match total, absolute
582
+ membership or global selection is inferred from batches. Selected IDs are explicit unverified
583
+ intent; page selection preserves off-page IDs and the host validates them before mutations. A
584
+ different scope clears prior intent; assign the new `cursorSource` before restoring selected IDs.
585
+
586
+ The document cursor adapter bounds requests to 1–500 rows (default 100), scope/string-revision/
587
+ token text to 8,192 UTF-16 units, and visited request-cursor history to 32 entries including current.
588
+ Previous refetches; Start over discards history. It retains no old page rows, persisted tokens or
589
+ prefetch work. `LyraCursorSourceStatus` and the frozen `LyraCursorNavigationState` expose only
590
+ `status`, `canGoBack`, `canGoForward`, `atEnd` and `historyTruncated`; tokens never enter public
591
+ navigation state or events. User search edits emit `lr-query-change` without a match count;
592
+ existing counted `lr-filter-change` keeps its numeric contract. Source reassignment, refresh,
593
+ query/locale/limit change or reconnect starts at `null`; named visual paints do not refetch.
594
+ Callbacks must settle promptly on abort because the physical query permit is held until actual
595
+ settlement. See [document-library](./components/lr-document-library.md) for row/input admission bounds,
596
+ retry semantics, method results, selection binding order and navigation parts.
597
+
525
598
  Numeric helpers inspect all source positions in bounded chunks. Preparation has total O(n)
526
599
  source-read work per pass, plus reducer work, even though each chunk and the retained result are
527
600
  bounded. The default `batchSize` is 2,048 and its maximum is 8,192; it must be a positive safe
@@ -734,6 +807,31 @@ activation.
734
807
  `lr-time-range` is form-associated only for fieldset-cascaded disablement: no submission value,
735
808
  no state restoration.
736
809
 
810
+ ### Hiding the label visually: `label-display`
811
+
812
+ On controls that expose `labelDisplay: LyraLabelDisplay` (`'visible' | 'hidden'`, reflected as
813
+ `label-display`), use `label-display="hidden"` to visually hide the existing field caption without
814
+ removing its accessible-name relationship. The caption leaves normal layout but remains available
815
+ to assistive technology. Keep a meaningful `label` or documented label slot; the display setting
816
+ does not supply a label. A host `aria-label` retains its documented naming precedence.
817
+
818
+ The display choice affects the `form-control-label` part only: hint/error text, their description
819
+ relationships, required semantics and validation are unchanged. It does not hide the whole control.
820
+ The default is `'visible'` on `lr-input`, `lr-number-input`, `lr-time-input`, `lr-textarea`,
821
+ `lr-select`, `lr-combobox`, `lr-date-input`, `lr-phone-input`, `lr-token-input`, `lr-locale-picker`,
822
+ `lr-country-picker`, `lr-currency-picker`, `lr-time-zone-picker`, `lr-unit-picker`, `lr-model-select`
823
+ and `lr-voice-picker`. `lr-segmented` uses the same vocabulary but defaults to `'hidden'`; set
824
+ `label-display="visible"` to add its field caption. Supporting text follows each component's own
825
+ hint/error API; `lr-segmented` provides a hint, not form validation or an error field.
826
+
827
+ ```js
828
+ import '@aceshooting/lyra-ui/components/lr-select.js';
829
+ ```
830
+
831
+ ```html
832
+ <lr-select label="Sort order" label-display="hidden"></lr-select>
833
+ ```
834
+
737
835
  ### Enter submits the form
738
836
 
739
837
  A native `<input>` submits its form owner when the user presses Enter. The `<input>` these controls
@@ -2078,14 +2176,31 @@ upgrade:
2078
2176
  ```
2079
2177
 
2080
2178
  It styles **only** `:not(:defined)` elements, inside an `@layer lr-reservations`, so it becomes inert
2081
- the moment a definition upgrades and can never fight a component's own layout. It sets no colors and
2082
- no `:root` rules.
2179
+ the moment a definition upgrades and can never fight a component's own layout. It sets no `:root`
2180
+ rules and no colors except a timeline's marker and rail (below).
2083
2181
 
2084
2182
  **Every reservation is expressed with the same custom property and fallback token the component's
2085
2183
  own stylesheet uses** — `--lr-chart-height` / `--lr-size-280px` for the chart family,
2086
2184
  `--lr-map-height` for `lr-map`, `--lr-canvas-reserved-height` for graph/canvas surfaces,
2087
- `--lr-flag-aspect-ratio` for `lr-flag`, `--lr-form-control-height` for the field controls, and so
2088
- on. That is the point of shipping it rather than documenting measured pixel values: a hand-written
2185
+ `--lr-flag-aspect-ratio` for `lr-flag`, `--lr-form-control-height` for the field controls,
2186
+ `--lr-checkbox-label-indent` and `--lr-icon-button-size` for `lr-checkbox`, `--lr-badge-min-height`,
2187
+ `--lr-badge-padding-inline` and `--lr-badge-font-size` for `lr-badge`, `--lr-chat-composer-padding`
2188
+ for `lr-chat-composer` (plus its `--lr-line-height-normal` textarea line under
2189
+ `actions-layout="below"`), and so on.
2190
+
2191
+ Covered tags: the chart family, `lr-map`, `lr-flag`, `lr-flow-canvas`, `lr-graph`,
2192
+ `lr-knowledge-graph-explorer`, the inline form-control row (`lr-input`, `lr-number-input`,
2193
+ `lr-select`, `lr-combobox`, `lr-date-input`, `lr-phone-input`, `lr-color-picker`, `lr-button`,
2194
+ `lr-icon-button`), `lr-checkbox`, `lr-badge`, `lr-chat-composer`, the vertical flow
2195
+ `lr-timeline`/`lr-timeline-item` pair, and the tab trio `lr-tab-group`/`lr-tab`/`lr-tab-panel`.
2196
+ A timeline is the one reservation that paints color: its markers and rail, from the
2197
+ `--lr-timeline-marker-*`/`--lr-timeline-rail-*` tokens, plus CSS-counter step numbers for an
2198
+ `ordered` timeline, so a static page reads as a complete list before upgrade. Before upgrade a tab group lays its descriptors out as one
2199
+ row of tab-sized boxes and shows only the panel that will be shown (the one marked `active`, else
2200
+ the first), for the default top `placement`. The text-bearing reservations (`lr-checkbox`,
2201
+ `lr-badge`, the tab trio) also set `font-family: var(--lr-font)`, as every defined Lyra host does,
2202
+ because the reserved box is measured from the same text. The badge and checkbox reservations cover
2203
+ their default `m` size; a non-default `size` reserves the default footprint. That is the point of shipping it rather than documenting measured pixel values: a hand-written
2089
2204
  reservation rots silently the moment a component's default changes, whereas these track it, and
2090
2205
  theming a component through its documented custom property re-themes its reservation with it.
2091
2206
 
@@ -4026,7 +4141,11 @@ animationName: string, options?: LyraGetAnimationOptions): LyraResolvedElementAn
4026
4141
  - **`overlay-manager` → `activateOverlay(options): OverlayHandle` and
4027
4142
  `suspendLyraModalsFor(externalModal): () => void`** — per-`Document` coordination used by Lyra's
4028
4143
  modal and focus-returning overlay surfaces, including dialogs/drawers, Page/app navigation,
4029
- command/tool surfaces, lightbox/tour, and responsive/floating/fullscreen panels. All entries share
4144
+ command/tool surfaces, lightbox/tour, and responsive/floating/fullscreen panels. Components and
4145
+ utility imports must use [one application-owned runtime per document](./shared/imports-and-registration.md#one-runtime-per-document),
4146
+ including lazy chunks; equal versions do not make separate package copies coordinate.
4147
+ `[lr-runtime-duplicate]` detects unsupported split-runtime use without merging its state.
4148
+ All entries in the supported runtime share
4030
4149
  one topmost stack: only the top entry handles Escape, Tab
4031
4150
  trapping, and backdrop dismissal. Content outside the active modal's composed path is inert,
4032
4151
  including lower overlays and page content added while it is open. Focus traversal crosses slots
@@ -4708,6 +4827,36 @@ These named interfaces and helper signatures are available to typed integrations
4708
4827
  scene(request: LyraGraphSceneRequest): Promise<LyraGraphScene<N, E>>;
4709
4828
  overview?(request: LyraSourceContext & { readonly limit: number }): Promise<LyraGraphOverview>;
4710
4829
  }`
4830
+ `LyraCursorRecord<T> {
4831
+ readonly key: string;
4832
+ readonly value: T;
4833
+ }`
4834
+ `LyraCursorRequest<Q> extends LyraSourceContext {
4835
+ readonly revision: LyraSourceRevision;
4836
+ readonly locale: string;
4837
+ readonly signal: AbortSignal;
4838
+ readonly scope: string;
4839
+ readonly query: Q;
4840
+ readonly cursor: string | null;
4841
+ readonly limit: number;
4842
+ }`
4843
+ `LyraCursorResult<T> {
4844
+ readonly rows: readonly LyraCursorRecord<T>[];
4845
+ readonly nextCursor: string | null;
4846
+ }`
4847
+ `LyraCursorSource<T, Q> {
4848
+ readonly revision: LyraSourceRevision;
4849
+ readonly scope: string;
4850
+ query(request: LyraCursorRequest<Q>): Promise<LyraCursorResult<T>>;
4851
+ }`
4852
+ `LyraCursorSourceStatus = 'idle' | 'loading' | 'ready' | 'error'`
4853
+ `LyraCursorNavigationState {
4854
+ readonly status: LyraCursorSourceStatus;
4855
+ readonly canGoBack: boolean;
4856
+ readonly canGoForward: boolean;
4857
+ readonly atEnd: boolean;
4858
+ readonly historyTruncated: boolean;
4859
+ }`
4711
4860
 
4712
4861
  - **`utilities-data-preparation-contracts`** — Public staged numeric helpers and result contracts from `utilities/data-preparation.js`. Preparation reads the full immutable source in bounded chunks; retained summaries are distinct from source counts. Inherited fields are repeated for reference. Defaulted options may be omitted.
4713
4862