@aceshooting/lyra-ui 29.2.2 → 30.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.
- package/CHANGELOG.md +126 -106
- package/README.md +8 -7
- package/dist/ai/snapshot.js +1 -1
- package/dist/all.d.ts +1 -1
- package/dist/all.js +1 -1
- package/dist/autoloader.js +1 -1
- package/dist/cli/component-inventory.mjs +1 -1
- package/dist/cli/lyra-rename-ledger.mjs +1 -1
- package/dist/cli/migrate-wa.mjs +7 -3
- package/dist/cli/migration-analysis.mjs +1 -1
- package/dist/cli/migration-contract.json +1 -1
- package/dist/cli/migration-contract.mjs +1 -1
- package/dist/cli/migration-immutable-collections.mjs +6 -0
- package/dist/cli/migration-renames.mjs +1 -1
- package/dist/cli/migration-transforms.mjs +1 -1
- package/dist/components/agent-tools/activity-feed/activity-feed.class.d.ts +1 -1
- package/dist/components/agent-tools/agent-eval-dashboard/agent-eval-dashboard.class.d.ts +1 -2
- package/dist/components/agent-tools/agent-eval-dashboard/agent-eval-dashboard.class.js +1 -1
- package/dist/components/agent-tools/agent-run/agent-run.class.d.ts +3 -4
- package/dist/components/agent-tools/agent-run/agent-run.class.js +1 -1
- package/dist/components/agent-tools/agent-trace/agent-trace.class.d.ts +1 -1
- package/dist/components/agent-tools/agent-trace/agent-trace.class.js +2 -2
- package/dist/components/agent-tools/background-runs/background-runs.class.d.ts +1 -2
- package/dist/components/agent-tools/background-runs/background-runs.class.js +1 -1
- package/dist/components/agent-tools/change-review/change-review.class.d.ts +1 -2
- package/dist/components/agent-tools/change-review/change-review.class.js +1 -1
- package/dist/components/agent-tools/eval-dataset/eval-dataset.class.d.ts +3 -2
- package/dist/components/agent-tools/eval-dataset/eval-dataset.class.js +1 -1
- package/dist/components/agent-tools/evaluation-run/evaluation-run.class.d.ts +7 -1
- package/dist/components/agent-tools/evaluation-run/evaluation-run.class.js +1 -1
- package/dist/components/agent-tools/prompt-studio/prompt-studio.class.d.ts +2 -2
- package/dist/components/agent-tools/prompt-studio/prompt-studio.class.js +3 -3
- package/dist/components/agent-tools/span-waterfall/span-waterfall.class.d.ts +1 -1
- package/dist/components/agent-tools/subagent-panel/subagent-panel.class.d.ts +1 -2
- package/dist/components/agent-tools/subagent-panel/subagent-panel.class.js +2 -2
- package/dist/components/agent-tools/task-list/task-list.class.d.ts +1 -1
- package/dist/components/agent-tools/test-results/test-results.class.d.ts +1 -1
- package/dist/components/agent-tools/tool-call-chip/tool-call-chip.class.d.ts +3 -4
- package/dist/components/agent-tools/tool-call-chip/tool-call-chip.class.js +1 -5
- package/dist/components/agent-tools/tool-timeline/tool-timeline.class.d.ts +3 -3
- package/dist/components/agent-tools/trace-tree/trace-tree.class.d.ts +1 -0
- package/dist/components/agent-tools/trace-tree/trace-tree.class.js +1 -1
- package/dist/components/charts/chart/chart.class.js +3 -3
- package/dist/components/charts/chart-3d/chart-3d-data.d.ts +50 -0
- package/dist/components/charts/chart-3d/chart-3d-data.js +1 -0
- package/dist/components/charts/chart-3d/chart-3d-engine.js +1 -0
- package/dist/components/charts/chart-3d/chart-3d.class.d.ts +96 -0
- package/dist/components/charts/chart-3d/chart-3d.class.js +47 -0
- package/dist/components/charts/chart-3d/chart-3d.d.ts +1 -0
- package/dist/components/charts/chart-3d/chart-3d.js +1 -0
- package/dist/components/charts/chart-3d/chart-3d.styles.js +1 -0
- package/dist/components/charts/index.d.ts +1 -1
- package/dist/components/charts/index.js +1 -1
- package/dist/components/conversation/agent-workspace/agent-workspace.class.d.ts +3 -3
- package/dist/components/conversation/agent-workspace/agent-workspace.class.js +4 -5
- package/dist/components/conversation/code-block/code-block-base.class.js +1 -1
- package/dist/components/conversation/code-block/shiki-oniguruma.d.ts +3 -0
- package/dist/components/conversation/code-block/shiki-oniguruma.js +1 -0
- package/dist/components/conversation/code-block/shiki-types.d.ts +3 -5
- package/dist/components/conversation/code-block/shiki-types.js +1 -1
- package/dist/components/conversation/generation-metrics/generation-metrics.class.js +1 -1
- package/dist/components/conversation/markdown/markdown-progressive.js +1 -1
- package/dist/components/conversation/message-actions/message-actions.class.js +1 -1
- package/dist/components/conversation/message-parts/message-parts.class.js +1 -1
- package/dist/components/conversation/model-select/model-select.class.js +1 -1
- package/dist/components/conversation/model-settings-panel/model-settings-panel.class.js +1 -1
- package/dist/components/conversation/prompt-input/prompt-input.class.js +3 -4
- package/dist/components/conversation/prompt-queue/prompt-queue.class.d.ts +1 -1
- package/dist/components/conversation/push-to-talk/push-to-talk.class.js +1 -1
- package/dist/components/conversation/selection-toolbar/selection-toolbar.class.js +1 -1
- package/dist/components/conversation/thread-list/thread-list.class.d.ts +2 -2
- package/dist/components/conversation/thread-list/thread-list.class.js +1 -1
- package/dist/components/conversation/widget-renderer/registry.js +1 -1
- package/dist/components/conversation/widget-renderer/resolve.js +1 -1
- package/dist/components/data/calendar/calendar.class.d.ts +3 -1
- package/dist/components/data/data-grid/data-grid.class.js +2 -2
- package/dist/components/data/flow-canvas/flow-canvas.class.js +2 -2
- package/dist/components/data/flow-canvas/flow-source.js +1 -1
- package/dist/components/data/flow-node/flow-node.class.d.ts +2 -3
- package/dist/components/data/flow-node/flow-node.class.js +2 -4
- package/dist/components/data/heatmap/heatmap.class.js +1 -1
- package/dist/components/data/sparkline/sparkline.class.d.ts +0 -1
- package/dist/components/data/sparkline/sparkline.class.js +1 -1
- package/dist/components/data/table/table.class.js +1 -1
- package/dist/components/forms/color-picker/color-core.js +1 -1
- package/dist/components/forms/date-picker/calendar-core.js +1 -1
- package/dist/components/forms/otp-input/otp-input.class.js +1 -1
- package/dist/components/forms/signature-pad/signature-pad.class.d.ts +4 -3
- package/dist/components/forms/signature-pad/signature-pad.class.js +1 -1
- package/dist/components/forms/swatch-picker/swatch-picker.class.d.ts +3 -2
- package/dist/components/forms/swatch-picker/swatch-picker.class.js +1 -1
- package/dist/components/layout/app-rail/app-rail-item.class.d.ts +0 -2
- package/dist/components/layout/app-rail/app-rail-item.class.js +1 -1
- package/dist/components/layout/app-rail/app-rail.class.d.ts +3 -3
- package/dist/components/layout/command-palette/command-palette.class.d.ts +1 -1
- package/dist/components/layout/details/accordion-item.class.d.ts +1 -2
- package/dist/components/layout/details/accordion-item.class.js +1 -1
- package/dist/components/layout/dock-panel/dock-panel.class.d.ts +4 -11
- package/dist/components/layout/dock-panel/dock-panel.class.js +1 -1
- package/dist/components/layout/drilldown-panel/drilldown-panel.class.js +1 -1
- package/dist/components/layout/menu/menu.class.js +1 -1
- package/dist/components/layout/menubar/menubar-item.class.d.ts +1 -1
- package/dist/components/layout/menubar/menubar.class.d.ts +1 -1
- package/dist/components/layout/multi-split/multi-split.class.d.ts +1 -1
- package/dist/components/layout/multi-split/multi-split.class.js +1 -1
- package/dist/components/layout/navigation-menu/navigation-menu.class.d.ts +2 -6
- package/dist/components/layout/navigation-menu/navigation-menu.class.js +1 -1
- package/dist/components/layout/tab-group/tab-group.class.js +1 -1
- package/dist/components/layout/virtual-list/virtual-list.class.d.ts +3 -2
- package/dist/components/layout/virtual-list/virtual-list.class.js +1 -1
- package/dist/components/layout/widget/widget.class.d.ts +5 -14
- package/dist/components/layout/widget/widget.class.js +2 -2
- package/dist/components/lr-chart-3d.js +1 -0
- package/dist/components/lr-model-viewer.js +1 -0
- package/dist/components/media/av-player/av-metadata.d.ts +1 -13
- package/dist/components/media/av-player/av-metadata.js +1 -1
- package/dist/components/media/av-player/av-player.class.js +1 -1
- package/dist/components/media/file-input/file-input.class.d.ts +10 -13
- package/dist/components/media/file-input/file-input.class.js +3 -3
- package/dist/components/media/file-input/file-input.styles.js +1 -1
- package/dist/components/media/image-viewer/image-viewer-panorama.d.ts +5 -0
- package/dist/components/media/image-viewer/image-viewer-panorama.js +8 -0
- package/dist/components/media/image-viewer/image-viewer-panorama.styles.js +1 -0
- package/dist/components/media/image-viewer/image-viewer.class.d.ts +29 -5
- package/dist/components/media/image-viewer/image-viewer.class.js +8 -5
- package/dist/components/media/image-viewer/image-viewer.styles.js +1 -1
- package/dist/components/media/map/map-anchor-controller.js +1 -0
- package/dist/components/media/map/map-anchor-options.d.ts +14 -0
- package/dist/components/media/map/map-anchor-options.js +1 -0
- package/dist/components/media/map/map-camera.d.ts +34 -0
- package/dist/components/media/map/map-camera.js +1 -0
- package/dist/components/media/map/map-construction-scheduler.d.ts +13 -0
- package/dist/components/media/map/map-construction-scheduler.js +1 -0
- package/dist/components/media/map/map-control-options.d.ts +39 -0
- package/dist/components/media/map/map-control-options.js +1 -0
- package/dist/components/media/map/map-controls-lifecycle.js +1 -0
- package/dist/components/media/map/map-cursor.js +1 -0
- package/dist/components/media/map/map-data-layer-model.d.ts +40 -0
- package/dist/components/media/map/map-data-layer-model.js +1 -0
- package/dist/components/media/map/map-drawing-controller.js +1 -0
- package/dist/components/media/map/map-drawing-gesture.js +1 -0
- package/dist/components/media/map/map-drawing-pan.js +1 -0
- package/dist/components/media/map/map-drawing-pointer.js +1 -0
- package/dist/components/media/map/map-drawing.d.ts +29 -0
- package/dist/components/media/map/map-drawing.js +1 -0
- package/dist/components/media/map/map-empty-style.d.ts +8 -0
- package/dist/components/media/map/map-empty-style.js +1 -0
- package/dist/components/media/map/map-engine-events.js +1 -0
- package/dist/components/media/map/map-export-attribution.js +1 -0
- package/dist/components/media/map/map-external-source-effects.js +1 -0
- package/dist/components/media/map/map-feature-loader-core.js +1 -0
- package/dist/components/media/map/map-feature-loader.js +1 -0
- package/dist/components/media/map/map-feature-state-router.d.ts +16 -0
- package/dist/components/media/map/map-feature-state-router.js +1 -0
- package/dist/components/media/map/map-feature-state-routes.js +1 -0
- package/dist/components/media/map/map-feature-state.d.ts +16 -0
- package/dist/components/media/map/map-feature-state.js +1 -0
- package/dist/components/media/map/map-hash-option.js +1 -0
- package/dist/components/media/map/map-hash-owner.js +1 -0
- package/dist/components/media/map/map-hash.js +1 -0
- package/dist/components/media/map/map-hit-test.d.ts +17 -0
- package/dist/components/media/map/map-hit-test.js +1 -0
- package/dist/components/media/map/map-image-admission.d.ts +7 -0
- package/dist/components/media/map/map-image-admission.js +1 -0
- package/dist/components/media/map/map-image-export-controller.js +1 -0
- package/dist/components/media/map/map-image-export-error.d.ts +3 -0
- package/dist/components/media/map/map-image-export-error.js +1 -0
- package/dist/components/media/map/map-image-export.d.ts +15 -0
- package/dist/components/media/map/map-image-export.js +5 -0
- package/dist/components/media/map/map-image-limits.d.ts +4 -0
- package/dist/components/media/map/map-image-limits.js +1 -0
- package/dist/components/media/map/map-image-metadata.js +3 -0
- package/dist/components/media/map/map-image-provider.d.ts +33 -0
- package/dist/components/media/map/map-image-provider.js +1 -0
- package/dist/components/media/map/map-images.d.ts +9 -0
- package/dist/components/media/map/map-images.js +1 -0
- package/dist/components/media/map/map-interaction-options.d.ts +26 -0
- package/dist/components/media/map/map-interaction-options.js +1 -0
- package/dist/components/media/map/map-layer-order.js +1 -0
- package/dist/components/media/map/map-loader.d.ts +35 -5
- package/dist/components/media/map/map-loader.js +1 -1
- package/dist/components/media/map/map-local-image-url.js +1 -0
- package/dist/components/media/map/map-local-image.js +1 -0
- package/dist/components/media/map/map-overlay-admission.d.ts +13 -0
- package/dist/components/media/map/map-overlay-admission.js +1 -0
- package/dist/components/media/map/map-owned-feature-input.js +1 -0
- package/dist/components/media/map/map-owned-features.js +1 -0
- package/dist/components/media/map/map-owned-resources.js +1 -0
- package/dist/components/media/map/map-paint-batch.js +1 -0
- package/dist/components/media/map/map-readers.js +1 -0
- package/dist/components/media/map/map-readiness.js +1 -0
- package/dist/components/media/map/map-resource-feature-loaders.js +1 -0
- package/dist/components/media/map/map-source-updates.js +1 -0
- package/dist/components/media/map/map-style-input.js +1 -0
- package/dist/components/media/map/map-style-lifecycle.js +1 -0
- package/dist/components/media/map/map-style-override-admission.d.ts +10 -0
- package/dist/components/media/map/map-style-override-admission.js +1 -0
- package/dist/components/media/map/map-style-overrides.js +1 -0
- package/dist/components/media/map/map-style-value.d.ts +3 -0
- package/dist/components/media/map/map-style-value.js +1 -0
- package/dist/components/media/map/map-vector-style.d.ts +10 -0
- package/dist/components/media/map/map-vector-style.js +1 -0
- package/dist/components/media/map/map.class.d.ts +558 -51
- package/dist/components/media/map/map.class.js +58 -11
- package/dist/components/media/map/map.styles.js +1 -1
- package/dist/components/media/qr-code/qr-code.class.d.ts +1 -3
- package/dist/components/media/qr-code/qr-code.class.js +1 -1
- package/dist/components/media/qr-code/qr-code.styles.js +1 -1
- package/dist/components/media/video/video.class.d.ts +25 -4
- package/dist/components/media/video/video.class.js +11 -3
- package/dist/components/media/video/video.styles.js +1 -1
- package/dist/components/media/video-playlist/video-playlist.class.d.ts +0 -1
- package/dist/components/media/video-playlist/video-playlist.class.js +1 -1
- package/dist/components/overlays/chip/chip-group.class.d.ts +1 -1
- package/dist/components/overlays/chip/chip-group.class.js +1 -1
- package/dist/components/overlays/dialog/confirm.js +1 -1
- package/dist/components/overlays/overlay/popover.class.d.ts +1 -1
- package/dist/components/overlays/overlay/popover.class.js +2 -1
- package/dist/components/overlays/overlay/tooltip.class.js +1 -1
- package/dist/components/retrieval/chunk-inspector/chunk-inspector.class.d.ts +4 -7
- package/dist/components/retrieval/chunk-inspector/chunk-inspector.class.js +2 -2
- package/dist/components/retrieval/claim-evidence/claim-evidence.class.d.ts +2 -2
- package/dist/components/retrieval/community-card/community-card.class.d.ts +1 -4
- package/dist/components/retrieval/community-card/community-card.class.js +1 -1
- package/dist/components/retrieval/embedding-explorer/embedding-explorer-data.d.ts +12 -0
- package/dist/components/retrieval/embedding-explorer/embedding-explorer-data.js +1 -0
- package/dist/components/retrieval/embedding-explorer/embedding-explorer-engine.js +1 -0
- package/dist/components/retrieval/embedding-explorer/embedding-explorer.class.d.ts +26 -7
- package/dist/components/retrieval/embedding-explorer/embedding-explorer.class.js +35 -4
- package/dist/components/retrieval/embedding-explorer/embedding-explorer.styles.js +1 -1
- package/dist/components/retrieval/entity-dossier/entity-dossier.class.d.ts +3 -9
- package/dist/components/retrieval/graph/graph-builtin-3d-engine.js +1 -0
- package/dist/components/retrieval/graph/graph-engine-adapter.js +1 -0
- package/dist/components/retrieval/graph/graph-engine-columns.js +1 -0
- package/dist/components/retrieval/graph/graph-model.js +1 -1
- package/dist/components/retrieval/graph/graph-spatial-controller.js +13 -8
- package/dist/components/retrieval/graph/graph-webgl-engine.js +1 -0
- package/dist/components/retrieval/graph/graph.class.d.ts +18 -5
- package/dist/components/retrieval/graph/graph.class.js +4 -4
- package/dist/components/retrieval/graph/graph.styles.js +1 -1
- package/dist/components/retrieval/grounding-summary/grounding-summary.class.d.ts +1 -1
- package/dist/components/retrieval/ingestion-queue/ingestion-queue.class.d.ts +1 -1
- package/dist/components/retrieval/ingestion-queue/ingestion-queue.class.js +2 -2
- package/dist/components/retrieval/knowledge-graph-explorer/knowledge-graph-explorer.class.d.ts +6 -3
- package/dist/components/retrieval/knowledge-graph-explorer/knowledge-graph-explorer.class.js +3 -3
- package/dist/components/retrieval/memory-panel/memory-panel.class.d.ts +3 -10
- package/dist/components/retrieval/memory-panel/memory-panel.class.js +1 -1
- package/dist/components/retrieval/node-palette/node-palette.class.d.ts +1 -1
- package/dist/components/retrieval/path-strip/path-strip.class.d.ts +1 -4
- package/dist/components/retrieval/path-strip/path-strip.class.js +1 -1
- package/dist/components/retrieval/provenance-panel/provenance-panel.class.d.ts +2 -8
- package/dist/components/retrieval/rag-answer/rag-answer.class.d.ts +2 -2
- package/dist/components/retrieval/rag-answer/rag-answer.class.js +2 -3
- package/dist/components/retrieval/rag-eval-dashboard/rag-eval-dashboard.class.d.ts +1 -11
- package/dist/components/retrieval/rag-eval-dashboard/rag-eval-dashboard.class.js +1 -1
- package/dist/components/retrieval/retrieval-results/retrieval-results.class.d.ts +8 -12
- package/dist/components/retrieval/retrieval-results/retrieval-results.class.js +5 -6
- package/dist/components/retrieval/retrieval-search/retrieval-search.class.d.ts +1 -1
- package/dist/components/retrieval/retrieval-trace/retrieval-trace.class.d.ts +4 -7
- package/dist/components/retrieval/retrieval-trace/retrieval-trace.class.js +2 -3
- package/dist/components/retrieval/source-card/source-card.class.d.ts +6 -9
- package/dist/components/retrieval/source-card/source-card.class.js +1 -1
- package/dist/components/retrieval/source-picker/source-picker.class.d.ts +1 -4
- package/dist/components/retrieval/source-picker/source-picker.class.js +1 -1
- package/dist/components/utility/diff-view/diff-view.class.js +1 -1
- package/dist/components/utility/format/format-options.js +1 -1
- package/dist/components/utility/icon/icon.class.d.ts +0 -5
- package/dist/components/utility/icon/icon.class.js +2 -2
- package/dist/components/utility/icon/icon.styles.js +1 -1
- package/dist/components/utility/json-viewer/json-viewer.class.js +1 -1
- package/dist/components/utility/known-date/known-date.class.d.ts +0 -3
- package/dist/components/utility/known-date/known-date.class.js +1 -1
- package/dist/components/utility/mention-popover/mention-popover.class.d.ts +3 -2
- package/dist/components/utility/mention-popover/mention-popover.class.js +1 -1
- package/dist/components/viewers/archive-viewer/archive-viewer.class.js +1 -1
- package/dist/components/viewers/calendar-viewer/calendar-viewer.class.js +1 -1
- package/dist/components/viewers/contact-viewer/contact-viewer.class.js +1 -1
- package/dist/components/viewers/document-preview/document-preview.class.js +1 -1
- package/dist/components/viewers/document-viewer/document-viewer-kinds.d.ts +1 -1
- package/dist/components/viewers/document-viewer/document-viewer-kinds.js +1 -1
- package/dist/components/viewers/document-viewer/document-viewer.class.js +1 -1
- package/dist/components/viewers/document-viewer/registry.d.ts +1 -69
- package/dist/components/viewers/document-viewer/registry.js +1 -1
- package/dist/components/viewers/docx-viewer/docx-viewer.class.js +1 -1
- package/dist/components/viewers/email-viewer/email-viewer.class.js +1 -1
- package/dist/components/viewers/html-viewer/html-viewer.class.js +1 -1
- package/dist/components/viewers/include/include.class.js +1 -1
- package/dist/components/viewers/index.d.ts +1 -1
- package/dist/components/viewers/index.js +1 -1
- package/dist/components/viewers/model-viewer/model-viewer-document.js +1 -0
- package/dist/components/viewers/model-viewer/model-viewer-loader.js +1 -0
- package/dist/components/viewers/model-viewer/model-viewer-register.d.ts +1 -0
- package/dist/components/viewers/model-viewer/model-viewer-register.js +1 -0
- package/dist/components/viewers/model-viewer/model-viewer-source.d.ts +1 -0
- package/dist/components/viewers/model-viewer/model-viewer-source.js +1 -0
- package/dist/components/viewers/model-viewer/model-viewer.class.d.ts +61 -0
- package/dist/components/viewers/model-viewer/model-viewer.class.js +9 -0
- package/dist/components/viewers/model-viewer/model-viewer.d.ts +1 -0
- package/dist/components/viewers/model-viewer/model-viewer.js +1 -0
- package/dist/components/viewers/model-viewer/model-viewer.styles.js +1 -0
- package/dist/components/viewers/notebook-viewer/notebook-viewer.class.js +2 -2
- package/dist/components/viewers/page-rail/page-rail.class.js +1 -1
- package/dist/components/viewers/pdf-viewer/pdf-viewer.class.js +1 -1
- package/dist/components/viewers/pptx-viewer/pptx-viewer.class.js +3 -3
- package/dist/components/viewers/svg-viewer/svg-viewer.class.js +1 -1
- package/dist/components/viewers/table-viewer-shared.js +1 -1
- package/dist/components/viewers/xml-viewer/xml-viewer.class.js +1 -1
- package/dist/custom-elements-jsx.d.ts +1 -1
- package/dist/events.d.ts +137 -92
- package/dist/framework-types.d.ts +2 -2
- package/dist/hydration.d.ts +1 -1
- package/dist/internal/ansi.d.ts +3 -1
- package/dist/internal/ansi.js +1 -1
- package/dist/internal/autoloader-manifest.js +1 -1
- package/dist/internal/autoloader-tags.d.ts +1 -1
- package/dist/internal/autoloader-tags.js +1 -1
- package/dist/internal/av-metadata.d.ts +13 -0
- package/dist/internal/av-metadata.js +1 -0
- package/dist/internal/collection-snapshot.js +1 -1
- package/dist/internal/component-loaders.generated.js +1 -1
- package/dist/internal/data-descriptors.d.ts +30 -0
- package/dist/internal/default-strings/agent-tools.generated.js +1 -1
- package/dist/internal/default-strings/charts.generated.js +1 -1
- package/dist/internal/default-strings/conversation.generated.js +1 -1
- package/dist/internal/default-strings/media.generated.js +1 -1
- package/dist/internal/default-strings/shared.generated.js +1 -1
- package/dist/internal/default-strings/viewers.generated.js +1 -1
- package/dist/internal/document-renderer-registry.d.ts +75 -0
- package/dist/internal/document-renderer-registry.js +1 -0
- package/dist/internal/drop-session-controller.js +1 -1
- package/dist/internal/engine-3d-loader.d.ts +47 -0
- package/dist/internal/engine-3d-loader.js +1 -0
- package/dist/internal/engine-3d.d.ts +57 -0
- package/dist/internal/engine-3d.js +1 -0
- package/dist/internal/hierarchy-source-controller.js +1 -1
- package/dist/internal/localization-runtime.js +1 -1
- package/dist/internal/localization-types.d.ts +1 -1
- package/dist/internal/localization.js +1 -1
- package/dist/internal/lyra-element.d.ts +2 -2
- package/dist/internal/lyra-element.js +1 -1
- package/dist/internal/model-viewer-contract.d.ts +5 -0
- package/dist/internal/model-viewer-contract.js +1 -0
- package/dist/internal/package-metadata.js +1 -1
- package/dist/internal/positioner.js +1 -1
- package/dist/internal/rendered-state.js +1 -1
- package/dist/internal/root-registration-allowlist.js +1 -1
- package/dist/internal/scoped-definitions.generated.js +1 -1
- package/dist/internal/typed-columns.d.ts +39 -0
- package/dist/internal/typed-columns.js +1 -0
- package/dist/localization.js +1 -1
- package/dist/lyra.d.ts +1 -1
- package/dist/lyra.js +1 -1
- package/dist/ssr/all.d.ts +1 -1
- package/dist/ssr/all.js +1 -1
- package/dist/ssr.d.ts +4 -4
- package/dist/ssr.js +1 -1
- package/dist/svelte.d.ts +1 -1
- package/dist/testing/lyra-tag-event-map.d.ts +2 -2
- package/dist/testing/lyra-tag-event-map.js +1 -1
- package/dist/theme/theme-bootstrap.js +1 -1
- package/dist/theme/theme.js +1 -1
- package/dist/vue.d.ts +1 -1
- package/llms/components/lr-accordion-item.md +2 -2
- package/llms/components/lr-agent-eval-dashboard.md +3 -3
- package/llms/components/lr-agent-run.md +3 -3
- package/llms/components/lr-agent-trace.md +1 -1
- package/llms/components/lr-agent-workspace.md +1 -1
- package/llms/components/lr-app-rail-item.md +1 -1
- package/llms/components/lr-app-rail.md +5 -6
- package/llms/components/lr-background-runs.md +4 -4
- package/llms/components/lr-calendar.md +1 -1
- package/llms/components/lr-change-review.md +5 -5
- package/llms/components/lr-chart-3d.md +164 -0
- package/llms/components/lr-chunk-inspector.md +4 -5
- package/llms/components/lr-citation-badge.md +1 -1
- package/llms/components/lr-code-block-core.md +2 -4
- package/llms/components/lr-command-palette.md +3 -3
- package/llms/components/lr-community-card.md +2 -2
- package/llms/components/lr-date-picker.md +1 -1
- package/llms/components/lr-details.md +2 -2
- package/llms/components/lr-diff-view.md +2 -2
- package/llms/components/lr-dock-panel.md +5 -10
- package/llms/components/lr-document-viewer.md +21 -14
- package/llms/components/lr-embedding-explorer.md +24 -4
- package/llms/components/lr-entity-dossier.md +3 -4
- package/llms/components/lr-eval-dataset.md +3 -3
- package/llms/components/lr-eval-run.md +7 -1
- package/llms/components/lr-file-input.md +10 -11
- package/llms/components/lr-flow-node.md +2 -3
- package/llms/components/lr-geojson-viewer.md +1 -1
- package/llms/components/lr-graph.md +21 -2
- package/llms/components/lr-grounding-summary.md +1 -1
- package/llms/components/lr-icon.md +1 -3
- package/llms/components/lr-image-viewer.md +29 -2
- package/llms/components/lr-ingestion-queue.md +1 -1
- package/llms/components/lr-knowledge-base-admin.md +2 -2
- package/llms/components/lr-knowledge-graph-explorer.md +7 -1
- package/llms/components/lr-known-date.md +3 -10
- package/llms/components/lr-lite-chart.md +1 -1
- package/llms/components/lr-map.md +861 -49
- package/llms/components/lr-markdown-core.md +1 -2
- package/llms/components/lr-memory-panel.md +4 -8
- package/llms/components/lr-model-viewer.md +170 -0
- package/llms/components/lr-navigation-menu.md +3 -4
- package/llms/components/lr-node-palette.md +1 -1
- package/llms/components/lr-path-strip.md +2 -3
- package/llms/components/lr-provenance-panel.md +3 -5
- package/llms/components/lr-qr-code.md +3 -4
- package/llms/components/lr-rag-answer.md +1 -1
- package/llms/components/lr-rag-eval-dashboard.md +2 -5
- package/llms/components/lr-retrieval-results.md +6 -7
- package/llms/components/lr-retrieval-trace.md +3 -4
- package/llms/components/lr-signature-pad.md +4 -3
- package/llms/components/lr-source-card.md +1 -1
- package/llms/components/lr-source-list.md +5 -5
- package/llms/components/lr-source-picker.md +2 -3
- package/llms/components/lr-span-waterfall.md +4 -3
- package/llms/components/lr-sparkline.md +3 -3
- package/llms/components/lr-subagent-panel.md +3 -3
- package/llms/components/lr-tool-call-chip.md +6 -6
- package/llms/components/lr-tool-timeline.md +1 -1
- package/llms/components/lr-video-playlist.md +3 -3
- package/llms/components/lr-video.md +29 -2
- package/llms/components/lr-virtual-list.md +3 -2
- package/llms/components/lr-widget.md +6 -13
- package/llms/index.md +98 -95
- package/llms/migration.md +27 -38
- package/llms/peers.md +7 -6
- package/llms/shared/ai-and-peers.md +1 -1
- package/llms/shared/events-and-types.md +8 -0
- package/llms/shared/imports-and-registration.md +2 -2
- package/llms/shared/v29-to-v30-migration.md +256 -0
- package/llms/shared.md +11 -3
- package/llms.txt +4 -4
- package/locales.json +1 -2328
- package/package.json +41 -13
- package/registrations.json +1 -1
- package/skills/lyra-ui/SKILL.md +4 -3
- /package/dist/{components/viewers/document-viewer → internal}/deferred-teardown.js +0 -0
- /package/dist/{components/viewers/document-viewer/registry-ownership.js → internal/document-renderer-registry-ownership.js} +0 -0
package/llms/migration.md
CHANGED
|
@@ -52,8 +52,8 @@ rename on a Lyra component. The inventory records these exclusions explicitly.
|
|
|
52
52
|
|
|
53
53
|
Lyra 21 minor releases and Lyra 22 rename some Lyra-only attributes, properties, events, CSS parts,
|
|
54
54
|
custom properties and slots. Published names retired in this installed release remain migration inputs.
|
|
55
|
-
Removed aliases no longer work at runtime. Names
|
|
56
|
-
|
|
55
|
+
Removed aliases no longer work at runtime. Names and defaults in the pinned upstream's current, nondeprecated API remain mirrored.
|
|
56
|
+
Run the CLI of the installed package after upgrading; historical profiles remain available. It
|
|
57
57
|
applies only the entries the installed release ships, so running it again after a later upgrade
|
|
58
58
|
picks up the rest:
|
|
59
59
|
|
|
@@ -206,7 +206,7 @@ hydration compares template strings.
|
|
|
206
206
|
| `<lr-checkpoint>` | property | `confirmRestore` | `withoutRestoreConfirmation` | Inverted boolean: static HTML and Lit attributes rewritten, everything else reported |
|
|
207
207
|
| `<lr-checkpoint>` | property | `restorable` | `withoutRestore` | Inverted boolean: static HTML and Lit attributes rewritten, everything else reported |
|
|
208
208
|
| `<lr-chip>` | event | `lr-chip-select` | `lr-chip-toggle-request` | Rewritten where the reach is unchanged, otherwise reported |
|
|
209
|
-
| `<lr-chunk-inspector>` | event | `lr-expand` | `lr-
|
|
209
|
+
| `<lr-chunk-inspector>` | event | `lr-expand` | `lr-toggle` | Rewritten where the reach is unchanged, otherwise reported |
|
|
210
210
|
| `<lr-code-block>` | attribute | `copyable` | `without-copy-button` | Inverted boolean: static HTML and Lit attributes rewritten, everything else reported |
|
|
211
211
|
| `<lr-code-block>` | part | `copy-button__control` | `copy-button-control` | Rewritten where the component is proven |
|
|
212
212
|
| `<lr-code-block>` | property | `copyable` | `withoutCopyButton` | Inverted boolean: static HTML and Lit attributes rewritten, everything else reported |
|
|
@@ -290,7 +290,7 @@ hydration compares template strings.
|
|
|
290
290
|
| `<lr-entity-card>` | attribute | `show-focus-button` | `without-focus-button` | Inverted boolean: static HTML and Lit attributes rewritten, everything else reported |
|
|
291
291
|
| `<lr-entity-card>` | property | `showFocusButton` | `withoutFocusButton` | Inverted boolean: static HTML and Lit attributes rewritten, everything else reported |
|
|
292
292
|
| `<lr-entity-dossier>` | attribute | `show-focus-button` | `without-focus-button` | Inverted boolean: static HTML and Lit attributes rewritten, everything else reported |
|
|
293
|
-
| `<lr-entity-dossier>` | event | `lr-expand` | `lr-
|
|
293
|
+
| `<lr-entity-dossier>` | event | `lr-expand` | `lr-toggle` | Rewritten where the reach is unchanged, otherwise reported |
|
|
294
294
|
| `<lr-entity-dossier>` | property | `showFocusButton` | `withoutFocusButton` | Inverted boolean: static HTML and Lit attributes rewritten, everything else reported |
|
|
295
295
|
| `<lr-env-list>` | attribute | `copyable` | `without-copy-button` | Inverted boolean: static HTML and Lit attributes rewritten, everything else reported |
|
|
296
296
|
| `<lr-env-list>` | attribute | `revealable` | `without-reveal` | Inverted boolean: static HTML and Lit attributes rewritten, everything else reported |
|
|
@@ -408,7 +408,7 @@ hydration compares template strings.
|
|
|
408
408
|
| `<lr-markdown-core>` | property | `gfm` | `withoutGfm` | Inverted boolean: static HTML and Lit attributes rewritten, everything else reported |
|
|
409
409
|
| `<lr-markdown-core>` | property | `highlightCode` | `withoutSyntaxHighlighting` | Inverted boolean: static HTML and Lit attributes rewritten, everything else reported |
|
|
410
410
|
| `<lr-media-card>` | event | `lr-before-media-download` | `lr-media-download-request` | Rewritten where the reach is unchanged, otherwise reported |
|
|
411
|
-
| `<lr-memory-panel>` | event | `lr-expand` | `lr-
|
|
411
|
+
| `<lr-memory-panel>` | event | `lr-expand` | `lr-toggle` | Rewritten where the reach is unchanged, otherwise reported |
|
|
412
412
|
| `<lr-menu-item>` | event | `lr-menu-item-change` | `lr-menu-item-change-request` | Rewritten where the reach is unchanged, otherwise reported |
|
|
413
413
|
| `<lr-message-actions>` | part | `edit-button__control` | `edit-button-control` | Rewritten where the component is proven |
|
|
414
414
|
| `<lr-message-actions>` | part | `regenerate-button__control` | `regenerate-button-control` | Rewritten where the component is proven |
|
|
@@ -460,7 +460,7 @@ hydration compares template strings.
|
|
|
460
460
|
| `<lr-prompt-queue>` | attribute | `editable` | `readonly` | Inverted boolean: static HTML and Lit attributes rewritten, everything else reported |
|
|
461
461
|
| `<lr-prompt-queue>` | property | `editable` | `readonly` | Inverted boolean: static HTML and Lit attributes rewritten, everything else reported |
|
|
462
462
|
| `<lr-prompt-studio>` | event | `lr-message-reorder` | `lr-message-reorder-request` | Rewritten where the reach is unchanged, otherwise reported |
|
|
463
|
-
| `<lr-provenance-panel>` | event | `lr-expand` | `lr-
|
|
463
|
+
| `<lr-provenance-panel>` | event | `lr-expand` | `lr-toggle` | Rewritten where the reach is unchanged, otherwise reported |
|
|
464
464
|
| `<lr-push-to-talk>` | attribute | `show-timer` | `without-timer` | Inverted boolean: static HTML and Lit attributes rewritten, everything else reported |
|
|
465
465
|
| `<lr-push-to-talk>` | property | `showTimer` | `withoutTimer` | Inverted boolean: static HTML and Lit attributes rewritten, everything else reported |
|
|
466
466
|
| `<lr-qr-code>` | css-property | `--lr-qr-code-background` | `--lr-qr-code-bg` | Rewritten where the reach is unchanged, otherwise reported |
|
|
@@ -789,8 +789,8 @@ need manual inspection. Review event detail, saved preferences and selector scop
|
|
|
789
789
|
|
|
790
790
|
Lyra 22 minor releases and Lyra 23 rename some Lyra-only attributes, properties, events, CSS parts,
|
|
791
791
|
custom properties and slots. Published names retired in this installed release remain migration inputs.
|
|
792
|
-
Removed aliases no longer work at runtime. Names
|
|
793
|
-
|
|
792
|
+
Removed aliases no longer work at runtime. Names and defaults in the pinned upstream's current, nondeprecated API remain mirrored.
|
|
793
|
+
Run the CLI of the installed package after upgrading; historical profiles remain available. It
|
|
794
794
|
applies only the entries the installed release ships, so running it again after a later upgrade
|
|
795
795
|
picks up the rest:
|
|
796
796
|
|
|
@@ -1510,9 +1510,9 @@ need manual inspection. Review event detail, saved preferences and selector scop
|
|
|
1510
1510
|
## Migrating from Lyra 25 to Lyra 26 (`--origin=lyra-v25`)
|
|
1511
1511
|
|
|
1512
1512
|
Lyra 25 minor releases and Lyra 26 rename some Lyra-only attributes, properties, events, CSS parts,
|
|
1513
|
-
custom properties and slots.
|
|
1514
|
-
|
|
1515
|
-
|
|
1513
|
+
custom properties and slots. Published names retired in this installed release remain migration inputs.
|
|
1514
|
+
Removed aliases no longer work at runtime. Names and defaults in the pinned upstream's current, nondeprecated API remain mirrored.
|
|
1515
|
+
Run the CLI of the installed package after upgrading; historical profiles remain available. It
|
|
1516
1516
|
applies only the entries the installed release ships, so running it again after a later upgrade
|
|
1517
1517
|
picks up the rest:
|
|
1518
1518
|
|
|
@@ -1529,7 +1529,7 @@ selectors that name the component; and calls rooted at `querySelector('lr-…')`
|
|
|
1529
1529
|
other component already dispatches the new name, and an unowned listener or any custom-property
|
|
1530
1530
|
use only when, in addition, every component with the old name renamed it the same way and the
|
|
1531
1531
|
scanned code never dispatches the old name itself. Everything else is reported with a location;
|
|
1532
|
-
|
|
1532
|
+
review removed names before running the migrated application.
|
|
1533
1533
|
|
|
1534
1534
|
| Code | Reported when |
|
|
1535
1535
|
|---|---|
|
|
@@ -1591,9 +1591,9 @@ hydration compares template strings.
|
|
|
1591
1591
|
## Migrating from Lyra 26 to Lyra 27 (`--origin=lyra-v26`)
|
|
1592
1592
|
|
|
1593
1593
|
Lyra 26 minor releases and Lyra 27 rename some Lyra-only attributes, properties, events, CSS parts,
|
|
1594
|
-
custom properties and slots.
|
|
1595
|
-
|
|
1596
|
-
|
|
1594
|
+
custom properties and slots. Previous names still supported by the installed release are deprecated aliases.
|
|
1595
|
+
A removal floor is not an automatic removal date. Names and defaults in the pinned upstream's current, nondeprecated API remain mirrored.
|
|
1596
|
+
Run the CLI of the installed package after upgrading, within Lyra 26 or to Lyra 27. It
|
|
1597
1597
|
applies only the entries the installed release ships, so running it again after a later upgrade
|
|
1598
1598
|
picks up the rest:
|
|
1599
1599
|
|
|
@@ -1685,30 +1685,19 @@ It adds `data-lr-theme-scope` to elements whose inline style sets a token-layer
|
|
|
1685
1685
|
markers inside loops, and stylesheet rules that set an input or a shared output outside a theme scope
|
|
1686
1686
|
(`THEME_SCOPE_*_REVIEW`, acknowledged like any other code).
|
|
1687
1687
|
|
|
1688
|
-
## Upstream
|
|
1688
|
+
## Upstream compatibility spellings
|
|
1689
1689
|
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
| Lyra surface | Retained spelling | Preferred spelling for new code |
|
|
1693
|
-
|---|---|---|
|
|
1694
|
-
| `<lr-accordion-item>` | `::part(base)` | `::part(accordion-item)` |
|
|
1695
|
-
| `<lr-file-input>` | `::part(base)` | `::part(file-input)` |
|
|
1696
|
-
| `<lr-file-input>` | `::part(label)` | `::part(form-control-label)` |
|
|
1697
|
-
| `<lr-icon>` | `autoWidth / auto-width` | `canvas="auto"` |
|
|
1698
|
-
| `<lr-known-date>` | `::part(label)` | `::part(form-control-label)` |
|
|
1699
|
-
| `<lr-qr-code>` | `::part(base)` | `::part(qr-code)` |
|
|
1700
|
-
| `<lr-sparkline>` | `::part(base)` | `::part(sparkline)` |
|
|
1701
|
-
| `<lr-video-playlist>` | `::part(base)` | `::part(video-playlist)` |
|
|
1690
|
+
The deprecated upstream compatibility spellings have retired; see the v29 to v30 migration guide for their replacements and review requirements.
|
|
1702
1691
|
|
|
1703
|
-
For `lr-icon`, `
|
|
1692
|
+
For `lr-icon`, the retired `auto-width` attribute migrates to `canvas="auto"`. Review selector reach before changing existing `[auto-width]` rules.
|
|
1704
1693
|
|
|
1705
1694
|
## Classification summary
|
|
1706
1695
|
|
|
1707
1696
|
| Ecosystem | Exact | Rewritten | Warning required | Conceptual only | Unsupported | Automatic | Manual |
|
|
1708
1697
|
|---|---:|---:|---:|---:|---:|---:|---:|
|
|
1709
|
-
| Web Awesome |
|
|
1698
|
+
| Web Awesome | 30 | 38 | 19 | 0 | 0 | 68 | 19 |
|
|
1710
1699
|
| Shoelace | 18 | 28 | 12 | 0 | 0 | 46 | 12 |
|
|
1711
|
-
| **Total** | **
|
|
1700
|
+
| **Total** | **48** | **66** | **31** | **0** | **0** | **114** | **31** |
|
|
1712
1701
|
|
|
1713
1702
|
## Web Awesome (87)
|
|
1714
1703
|
|
|
@@ -1717,7 +1706,7 @@ The pinned Web Awesome manifest is authoritative for this inventory; only rows m
|
|
|
1717
1706
|
| From | Lyra target or candidate | Classification | Disposition |
|
|
1718
1707
|
|---|---|---|---|
|
|
1719
1708
|
| `<wa-accordion>` | `<lr-accordion>` | `warning-required` | Manual: Lyra snapshots each expand/collapse event detail into a frozen readonly value at dispatch time rather than exposing a live mutable item reference; migrated handlers that mutate the event detail in place must be reviewed. |
|
|
1720
|
-
| `<wa-accordion-item>` | `<lr-accordion-item>` | `
|
|
1709
|
+
| `<wa-accordion-item>` | `<lr-accordion-item>` | `rewritten` | Automatic: tag/import plus parts: base → accordion-item. |
|
|
1721
1710
|
| `<wa-animated-image>` | `<lr-animated-image>` | `rewritten` | Automatic: tag/import plus events: wa-error → lr-error; events: wa-load → lr-load. |
|
|
1722
1711
|
| `<wa-animation>` | `<lr-animation>` | `rewritten` | Automatic: tag/import plus events: wa-cancel → lr-cancel; events: wa-finish → lr-finish; events: wa-start → lr-start. |
|
|
1723
1712
|
| `<wa-avatar>` | `<lr-avatar>` | `rewritten` | Automatic: tag/import plus events: wa-error → lr-error. |
|
|
@@ -1753,11 +1742,11 @@ The pinned Web Awesome manifest is authoritative for this inventory; only rows m
|
|
|
1753
1742
|
| `<wa-format-bytes>` | `<lr-format-bytes>` | `exact` | Automatic: tag and supported side-effect registration import. |
|
|
1754
1743
|
| `<wa-format-date>` | `<lr-format-date>` | `exact` | Automatic: tag and supported side-effect registration import. |
|
|
1755
1744
|
| `<wa-format-number>` | `<lr-format-number>` | `exact` | Automatic: tag and supported side-effect registration import. |
|
|
1756
|
-
| `<wa-icon>` | `<lr-icon>` | `rewritten` | Automatic: tag/import plus events: wa-error → lr-error; events: wa-load → lr-load. |
|
|
1745
|
+
| `<wa-icon>` | `<lr-icon>` | `rewritten` | Automatic: tag/import plus attributes: auto-width → canvas; properties: autoWidth → canvas; events: wa-error → lr-error; events: wa-load → lr-load. |
|
|
1757
1746
|
| `<wa-include>` | `<lr-include>` | `warning-required` | Manual: Lyra intentionally sanitizes included markup and keeps a same-origin default; uses that depend on cross-origin or script-executing behavior require an explicit security warning rather than a silent rename. |
|
|
1758
1747
|
| `<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. |
|
|
1759
1748
|
| `<wa-intersection-observer>` | `<lr-intersection-observer>` | `rewritten` | Automatic: tag/import plus events: wa-intersect → lr-intersect. |
|
|
1760
|
-
| `<wa-known-date>` | `<lr-known-date>` | `rewritten` | Automatic: tag/import plus events: wa-invalid → lr-invalid. |
|
|
1749
|
+
| `<wa-known-date>` | `<lr-known-date>` | `rewritten` | Automatic: tag/import plus events: wa-invalid → lr-invalid; parts: label → form-control-label. |
|
|
1761
1750
|
| `<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>`. |
|
|
1762
1751
|
| `<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. |
|
|
1763
1752
|
| `<wa-mutation-observer>` | `<lr-mutation-observer>` | `rewritten` | Automatic: tag/import plus events: wa-mutation → lr-mutation. |
|
|
@@ -1772,7 +1761,7 @@ The pinned Web Awesome manifest is authoritative for this inventory; only rows m
|
|
|
1772
1761
|
| `<wa-popup>` | `<lr-popup>` | `rewritten` | Automatic: tag/import plus events: wa-reposition → lr-reposition. Equivalent surface representation: autoSizeBoundary is analyzer-inferred for property-only autoSizeBoundary; flipBoundary is analyzer-inferred for property-only flipBoundary; shiftBoundary is analyzer-inferred for property-only shiftBoundary; no source rewrite. |
|
|
1773
1762
|
| `<wa-progress-bar>` | `<lr-progress-bar>` | `exact` | Automatic: tag and supported side-effect registration import. Determinate or indeterminate progress indicators. |
|
|
1774
1763
|
| `<wa-progress-ring>` | `<lr-progress-ring>` | `exact` | Automatic: tag and supported side-effect registration import. Determinate or indeterminate progress indicators. |
|
|
1775
|
-
| `<wa-qr-code>` | `<lr-qr-code>` | `
|
|
1764
|
+
| `<wa-qr-code>` | `<lr-qr-code>` | `rewritten` | Automatic: tag/import plus parts: base → qr-code. |
|
|
1776
1765
|
| `<wa-radar-chart>` | `<lr-radar-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>`. |
|
|
1777
1766
|
| `<wa-radio>` | `<lr-radio>` | `exact` | Automatic: tag and supported side-effect registration import. Equivalent surface representation: name defaults null ≡ ; no source rewrite. Form-associated single-choice controls with roving arrow-key navigation and group validation; Lyra's group `name` defaults empty while Shoelace defaults to `option`, so the codemod inserts `name="option"` (set it for a manual rename). |
|
|
1778
1767
|
| `<wa-radio-group>` | `<lr-radio-group>` | `warning-required` | Manual: Native input notifications are Event instances. Migrated handlers must not require InputEvent-specific fields. |
|
|
@@ -1785,7 +1774,7 @@ The pinned Web Awesome manifest is authoritative for this inventory; only rows m
|
|
|
1785
1774
|
| `<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. |
|
|
1786
1775
|
| `<wa-skeleton>` | `<lr-skeleton>` | `exact` | Automatic: tag and supported side-effect registration import. Loading placeholder (pulse/sheen). |
|
|
1787
1776
|
| `<wa-slider>` | `<lr-slider>` | `rewritten` | Automatic: tag/import plus events: wa-invalid → lr-invalid. |
|
|
1788
|
-
| `<wa-sparkline>` | `<lr-sparkline>` | `
|
|
1777
|
+
| `<wa-sparkline>` | `<lr-sparkline>` | `rewritten` | Automatic: tag/import plus parts: base → sparkline. |
|
|
1789
1778
|
| `<wa-spinner>` | `<lr-spinner>` | `exact` | Automatic: tag and supported side-effect registration import. Localized indeterminate busy indicator with reduced-motion support. |
|
|
1790
1779
|
| `<wa-split-panel>` | `<lr-split-panel>` | `rewritten` | Automatic: tag/import plus events: wa-reposition → lr-reposition. |
|
|
1791
1780
|
| `<wa-switch>` | `<lr-switch>` | `warning-required` | Manual: Native input notifications are Event instances. Migrated handlers must not require InputEvent-specific fields. |
|
|
@@ -1801,7 +1790,7 @@ The pinned Web Awesome manifest is authoritative for this inventory; only rows m
|
|
|
1801
1790
|
| `<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. |
|
|
1802
1791
|
| `<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. |
|
|
1803
1792
|
| `<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. |
|
|
1804
|
-
| `<wa-video-playlist>` | `<lr-video-playlist>` | `rewritten` | Automatic: tag/import plus events: wa-video-change → lr-video-change. |
|
|
1793
|
+
| `<wa-video-playlist>` | `<lr-video-playlist>` | `rewritten` | Automatic: tag/import plus events: wa-video-change → lr-video-change; parts: base → video-playlist. |
|
|
1805
1794
|
| `<wa-zoomable-frame>` | `<lr-zoomable-frame>` | `warning-required` | Manual: Lyra always renders a sandbox with an `allow-same-origin` default, rejects active and non-embeddable URL schemes, and drops `allow-same-origin` when paired with `allow-scripts`; migration leaves the use unchanged and reports the security-sensitive difference. |
|
|
1806
1795
|
|
|
1807
1796
|
## Shoelace (58)
|
|
@@ -1846,7 +1835,7 @@ Shoelace relationships are classified independently; a same-suffix tag is never
|
|
|
1846
1835
|
| `<sl-popup>` | `<lr-popup>` | `rewritten` | Automatic: tag/import plus events: sl-reposition → lr-reposition. Equivalent surface representation: autoSizeBoundary is analyzer-inferred for property-only autoSizeBoundary; flipBoundary is analyzer-inferred for property-only flipBoundary; shiftBoundary is analyzer-inferred for property-only shiftBoundary; no source rewrite. |
|
|
1847
1836
|
| `<sl-progress-bar>` | `<lr-progress-bar>` | `exact` | Automatic: tag and supported side-effect registration import. Built-in status copy is localized through Lyra's runtime. |
|
|
1848
1837
|
| `<sl-progress-ring>` | `<lr-progress-ring>` | `exact` | Automatic: tag and supported side-effect registration import. Determinate or indeterminate progress indicators. |
|
|
1849
|
-
| `<sl-qr-code>` | `<lr-qr-code>` | `rewritten` | Automatic: tag/import plus insert background=white; insert fill=black. |
|
|
1838
|
+
| `<sl-qr-code>` | `<lr-qr-code>` | `rewritten` | Automatic: tag/import plus parts: base → qr-code; insert background=white; insert fill=black. |
|
|
1850
1839
|
| `<sl-radio>` | `<lr-radio>` | `rewritten` | Automatic: tag/import plus events: sl-blur → blur; events: sl-focus → focus. Equivalent surface representation: size defaults medium ≡ m; no source rewrite. |
|
|
1851
1840
|
| `<sl-radio-button>` | `<lr-radio-button>` | `rewritten` | Automatic: tag/import plus events: sl-blur → blur; events: sl-focus → focus. Equivalent surface representation: size defaults medium ≡ m; no source rewrite. |
|
|
1852
1841
|
| `<sl-radio-group>` | `<lr-radio-group>` | `rewritten` | Automatic: tag/import plus events: sl-change → lr-change; events: sl-input → lr-input; events: sl-invalid → lr-invalid; insert name=option. Equivalent surface representation: form defaults ≡ null; size defaults medium ≡ m; no source rewrite. |
|
package/llms/peers.md
CHANGED
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
# Optional peer dependencies
|
|
4
4
|
|
|
5
|
-
All
|
|
5
|
+
All 32 peers are **optional**: nothing here is needed to install or use the library,
|
|
6
6
|
but they have two deliberately different roles.
|
|
7
7
|
|
|
8
8
|
**Framework declaration peers (3).** React, Svelte, and Vue are compile-time peers
|
|
9
9
|
only when a project imports their matching opt-in declaration entry. Those entry points emit empty
|
|
10
10
|
JavaScript, no component imports these frameworks, and Lyra ships no runtime wrapper.
|
|
11
11
|
|
|
12
|
-
**Component-loaded peers (
|
|
12
|
+
**Component-loaded peers (29).** No component imports one eagerly. Install a
|
|
13
13
|
peer only when you use a component that needs it.
|
|
14
14
|
|
|
15
15
|
**How they load.** Most component-loaded peers resolve through a dynamic `import()` on first use.
|
|
@@ -37,9 +37,10 @@ for the page.
|
|
|
37
37
|
|
|
38
38
|
| Peer | Range | Needed by |
|
|
39
39
|
|---|---|---|
|
|
40
|
-
| `@aceshooting/lyra-
|
|
41
|
-
| `@aceshooting/lyra-
|
|
42
|
-
| `@aceshooting/lyra-
|
|
40
|
+
| `@aceshooting/lyra-3d` | `^1.0.0` | `lr-chart-3d`, `lr-embedding-explorer`, `lr-graph`, `lr-image-viewer`, `lr-knowledge-graph-explorer`, `lr-model-viewer`, `lr-video` |
|
|
41
|
+
| `@aceshooting/lyra-flags` | `^2.3.1` | _(loaded by a shared internal module)_ |
|
|
42
|
+
| `@aceshooting/lyra-map` | `^1.3.0` | `lr-geojson-viewer`, `lr-map` |
|
|
43
|
+
| `@aceshooting/lyra-translations` | `^30.0.0` | _(not referenced by any component)_ |
|
|
43
44
|
| `@aiden0z/pptx-renderer` | `^1.4.0` | `lr-pptx-viewer` |
|
|
44
45
|
| `@sgratzl/chartjs-chart-boxplot` | `^4.0.0` | `lr-box-plot` |
|
|
45
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` |
|
|
@@ -50,7 +51,7 @@ for the page.
|
|
|
50
51
|
| `d3-force` | `^3.0.0` | `lr-graph`, `lr-knowledge-graph-explorer` |
|
|
51
52
|
| `d3-selection` | `^3.0.0` | `lr-graph`, `lr-knowledge-graph-explorer` |
|
|
52
53
|
| `d3-zoom` | `^3.0.0` | `lr-graph`, `lr-knowledge-graph-explorer` |
|
|
53
|
-
| `dompurify` | `^3.4.14` | `lr-agent-workspace`, `lr-dashboard-grid`, `lr-docx-viewer`, `lr-email-viewer`, `lr-eval-run`, `lr-html-viewer`, `lr-icon`, `lr-icon-button`, `lr-include`, `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-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
55
|
| `emoji-picker-element-data` | `^1.8.0` | `lr-emoji-picker` |
|
|
55
56
|
| `epubjs` | `^0.3.93` | `lr-ebook-viewer` |
|
|
56
57
|
| `ical.js` | `^2.2.1` | `lr-calendar-viewer` |
|
|
@@ -118,7 +118,7 @@ preferred in production.
|
|
|
118
118
|
|
|
119
119
|
## Optional peer dependencies
|
|
120
120
|
|
|
121
|
-
All
|
|
121
|
+
All 32 peers are optional, in two groups. The 29 component-facing peers remain outside the default
|
|
122
122
|
install; components load them on demand where applicable. React, Svelte, and Vue are
|
|
123
123
|
compile-time-only peers for their matching
|
|
124
124
|
opt-in declaration entries (`custom-elements-jsx`, `svelte`, and `vue`): those entries emit empty
|
|
@@ -1025,6 +1025,7 @@ These named interfaces and helper signatures are available to typed integrations
|
|
|
1025
1025
|
'lr-carousel-item': LyraCarouselItemReactProps;
|
|
1026
1026
|
'lr-change-review': LyraChangeReviewReactProps;
|
|
1027
1027
|
'lr-chart': LyraChartReactProps;
|
|
1028
|
+
'lr-chart-3d': LyraChart3dReactProps;
|
|
1028
1029
|
'lr-chat-composer': LyraChatComposerReactProps;
|
|
1029
1030
|
'lr-chat-message': LyraChatMessageReactProps;
|
|
1030
1031
|
'lr-chat-viewport': LyraChatViewportReactProps;
|
|
@@ -1156,6 +1157,7 @@ These named interfaces and helper signatures are available to typed integrations
|
|
|
1156
1157
|
'lr-mind-map': LyraMindMapReactProps;
|
|
1157
1158
|
'lr-model-select': LyraModelSelectReactProps;
|
|
1158
1159
|
'lr-model-settings-panel': LyraModelSettingsPanelReactProps;
|
|
1160
|
+
'lr-model-viewer': LyraModelViewerReactProps;
|
|
1159
1161
|
'lr-multi-split': LyraMultiSplitReactProps;
|
|
1160
1162
|
'lr-mutation-observer': LyraMutationObserverReactProps;
|
|
1161
1163
|
'lr-native-time-input': LyraNativeTimeInputReactProps;
|
|
@@ -1464,6 +1466,7 @@ These named interfaces and helper signatures are available to typed integrations
|
|
|
1464
1466
|
'lr-carousel-item': LyraComponentTypeMap['lr-carousel-item']['element'];
|
|
1465
1467
|
'lr-change-review': LyraComponentTypeMap['lr-change-review']['element'];
|
|
1466
1468
|
'lr-chart': LyraComponentTypeMap['lr-chart']['element'];
|
|
1469
|
+
'lr-chart-3d': LyraComponentTypeMap['lr-chart-3d']['element'];
|
|
1467
1470
|
'lr-chat-composer': LyraComponentTypeMap['lr-chat-composer']['element'];
|
|
1468
1471
|
'lr-chat-message': LyraComponentTypeMap['lr-chat-message']['element'];
|
|
1469
1472
|
'lr-chat-viewport': LyraComponentTypeMap['lr-chat-viewport']['element'];
|
|
@@ -1595,6 +1598,7 @@ These named interfaces and helper signatures are available to typed integrations
|
|
|
1595
1598
|
'lr-mind-map': LyraComponentTypeMap['lr-mind-map']['element'];
|
|
1596
1599
|
'lr-model-select': LyraComponentTypeMap['lr-model-select']['element'];
|
|
1597
1600
|
'lr-model-settings-panel': LyraComponentTypeMap['lr-model-settings-panel']['element'];
|
|
1601
|
+
'lr-model-viewer': LyraComponentTypeMap['lr-model-viewer']['element'];
|
|
1598
1602
|
'lr-multi-split': LyraComponentTypeMap['lr-multi-split']['element'];
|
|
1599
1603
|
'lr-mutation-observer': LyraComponentTypeMap['lr-mutation-observer']['element'];
|
|
1600
1604
|
'lr-native-time-input': LyraComponentTypeMap['lr-native-time-input']['element'];
|
|
@@ -1774,6 +1778,7 @@ These named interfaces and helper signatures are available to typed integrations
|
|
|
1774
1778
|
'lr-carousel-item': LyraCarouselItemSvelteProps;
|
|
1775
1779
|
'lr-change-review': LyraChangeReviewSvelteProps;
|
|
1776
1780
|
'lr-chart': LyraChartSvelteProps;
|
|
1781
|
+
'lr-chart-3d': LyraChart3dSvelteProps;
|
|
1777
1782
|
'lr-chat-composer': LyraChatComposerSvelteProps;
|
|
1778
1783
|
'lr-chat-message': LyraChatMessageSvelteProps;
|
|
1779
1784
|
'lr-chat-viewport': LyraChatViewportSvelteProps;
|
|
@@ -1905,6 +1910,7 @@ These named interfaces and helper signatures are available to typed integrations
|
|
|
1905
1910
|
'lr-mind-map': LyraMindMapSvelteProps;
|
|
1906
1911
|
'lr-model-select': LyraModelSelectSvelteProps;
|
|
1907
1912
|
'lr-model-settings-panel': LyraModelSettingsPanelSvelteProps;
|
|
1913
|
+
'lr-model-viewer': LyraModelViewerSvelteProps;
|
|
1908
1914
|
'lr-multi-split': LyraMultiSplitSvelteProps;
|
|
1909
1915
|
'lr-mutation-observer': LyraMutationObserverSvelteProps;
|
|
1910
1916
|
'lr-native-time-input': LyraNativeTimeInputSvelteProps;
|
|
@@ -2231,6 +2237,7 @@ These named interfaces and helper signatures are available to typed integrations
|
|
|
2231
2237
|
'lr-carousel-item': LyraCarouselItemVueProps;
|
|
2232
2238
|
'lr-change-review': LyraChangeReviewVueProps;
|
|
2233
2239
|
'lr-chart': LyraChartVueProps;
|
|
2240
|
+
'lr-chart-3d': LyraChart3dVueProps;
|
|
2234
2241
|
'lr-chat-composer': LyraChatComposerVueProps;
|
|
2235
2242
|
'lr-chat-message': LyraChatMessageVueProps;
|
|
2236
2243
|
'lr-chat-viewport': LyraChatViewportVueProps;
|
|
@@ -2362,6 +2369,7 @@ These named interfaces and helper signatures are available to typed integrations
|
|
|
2362
2369
|
'lr-mind-map': LyraMindMapVueProps;
|
|
2363
2370
|
'lr-model-select': LyraModelSelectVueProps;
|
|
2364
2371
|
'lr-model-settings-panel': LyraModelSettingsPanelVueProps;
|
|
2372
|
+
'lr-model-viewer': LyraModelViewerVueProps;
|
|
2365
2373
|
'lr-multi-split': LyraMultiSplitVueProps;
|
|
2366
2374
|
'lr-mutation-observer': LyraMutationObserverVueProps;
|
|
2367
2375
|
'lr-native-time-input': LyraNativeTimeInputVueProps;
|
|
@@ -50,7 +50,7 @@ element or package module, the deprecated API, and its replacement. A warning on
|
|
|
50
50
|
usage that can be observed cheaply and exactly — setting a deprecated property or attribute,
|
|
51
51
|
connecting a deprecated tag, vetoing through a deprecated alias event, or calling a deprecated
|
|
52
52
|
function — and **not every deprecated API
|
|
53
|
-
warns**: many deprecations have no runtime warning, among them
|
|
53
|
+
warns**: many deprecations have no runtime warning, among them deprecated slot content,
|
|
54
54
|
`lr-stat`'s default-slot icon and `lr-menu`'s non-item default-slot content. Deprecated CSS parts, custom properties, and
|
|
55
55
|
custom states are styling hooks a component cannot observe, so they never warn. A silent console
|
|
56
56
|
is therefore not evidence that an application uses no deprecated API. Where a warning exists, it
|
|
@@ -143,7 +143,7 @@ The entry points, then:
|
|
|
143
143
|
but it is not an exhaustive promise that every component-owned type or future export is present.
|
|
144
144
|
Prefer the owning component entry in application code, both for the smallest bundle and the
|
|
145
145
|
complete contract of that component.
|
|
146
|
-
- **`all.js` compatibility entry.** `import '@aceshooting/lyra-ui/all.js';` registers the
|
|
146
|
+
- **`all.js` compatibility entry.** `import '@aceshooting/lyra-ui/all.js';` registers the 295
|
|
147
147
|
root-included tags — everything **except** the 15 inventory-designated optional-peer-family tags:
|
|
148
148
|
`lr-chart` and its 8 typed subclasses (`lr-line-chart`, `lr-bar-chart`, `lr-pie-chart`,
|
|
149
149
|
`lr-doughnut-chart`, `lr-radar-chart`, `lr-polar-area-chart`, `lr-bubble-chart`,
|
|
@@ -0,0 +1,256 @@
|
|
|
1
|
+
# Upgrading from v29 to v30
|
|
2
|
+
|
|
3
|
+
## Migration scope
|
|
4
|
+
|
|
5
|
+
For Lyra UI 29 → v30, pin the tested package version and verify registry availability before
|
|
6
|
+
updating production. Public tags remain unchanged. For import, style, event and SSR contracts see: [imports and registration](./imports-and-registration.md),
|
|
7
|
+
[events and types](./events-and-types.md) and [styles and tokens](./styles-and-tokens.md).
|
|
8
|
+
|
|
9
|
+
## Migrate a project in reviewable steps
|
|
10
|
+
|
|
11
|
+
1. **Record the baseline:** installed Lyra version, lockfile and unrelated edits (`git status`).
|
|
12
|
+
Isolate migration work in a branch or disposable worktree.
|
|
13
|
+
2. **Upgrade only Lyra and its lockfile** to the exact v30 build; confirm the resolved version.
|
|
14
|
+
3. **Run the installed CLI's collections review.** It reports without editing source, including
|
|
15
|
+
[Map](#map) `center` assignments. Review each site manually; see [Collections](#collections)
|
|
16
|
+
for acknowledgement comments:
|
|
17
|
+
|
|
18
|
+
```sh
|
|
19
|
+
npx lyra-ui-migrate --rule=immutable-collections --check \
|
|
20
|
+
--report=lyra-immutable-collections.json src
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
4. **Fix reported sites** as described below, then rerun until clean. Also review mutations in
|
|
24
|
+
helpers or template bindings: a zero exit cannot validate uses outside the scan's reach.
|
|
25
|
+
5. **Verify the application:** typecheck, test, and exercise every screen mutating a listed collection.
|
|
26
|
+
|
|
27
|
+
## Removed deprecated names
|
|
28
|
+
|
|
29
|
+
V30 removes the 36 deprecated names whose compatibility window ended. Every replacement already
|
|
30
|
+
works in v29, so update first, then upgrade. Run `npx lyra-ui-migrate --origin=lyra-v25 --check src`
|
|
31
|
+
to preview safe event renames and report changed payloads, slot content, and listeners whose reach would widen; a `wa-`/`sl-` project is migrated by the upstream
|
|
32
|
+
run, which now maps the removed part names and `auto-width`. `wa-file-input` still requires manual review; use its canonical parts after completing that review.
|
|
33
|
+
|
|
34
|
+
| Component | Removed | Use instead |
|
|
35
|
+
| --- | --- | --- |
|
|
36
|
+
| `lr-agent-run`, `lr-subagent-panel` | event `lr-cancel` | `lr-run-cancel` |
|
|
37
|
+
| `lr-agent-eval-dashboard`, `lr-rag-eval-dashboard` | event `lr-metric-change` | `lr-metric-change-request` |
|
|
38
|
+
| `lr-background-runs` | event `lr-run-open` | `lr-run-activate` |
|
|
39
|
+
| `lr-change-review` | event `lr-change-decision` | `lr-change-decision-request` |
|
|
40
|
+
| `lr-community-card`, `lr-path-strip`, `lr-entity-dossier`, `lr-memory-panel`, `lr-provenance-panel` | event `lr-entity-activate` | `lr-entity-select` |
|
|
41
|
+
| `lr-chunk-inspector` | event `lr-chunk-toggle` | `lr-toggle` |
|
|
42
|
+
| `lr-memory-panel` | event `lr-memory-toggle` | `lr-toggle` |
|
|
43
|
+
| `lr-source-card` | event `lr-expand` | `lr-toggle` |
|
|
44
|
+
| `lr-retrieval-trace` | event `lr-stage-toggle` | `lr-toggle` |
|
|
45
|
+
| `lr-navigation-menu` | event `lr-expanded-change` | `lr-toggle` |
|
|
46
|
+
| `lr-dock-panel`, `lr-widget` | event `lr-collapse-change` | `lr-toggle` (`expanded` is the opposite of `collapsed`) |
|
|
47
|
+
| `lr-dock-panel`, `lr-widget` | event `lr-collapse-request` | `lr-toggle-request` |
|
|
48
|
+
| `lr-rag-eval-dashboard` | events `lr-run-change`, `lr-slice-change` | `lr-run-activate`, `lr-slice-change-request` |
|
|
49
|
+
| `lr-retrieval-results` | event `lr-select` | `lr-selection-change` |
|
|
50
|
+
| `lr-source-picker` | event `lr-sources-change` | `lr-selection-change` |
|
|
51
|
+
| `lr-app-rail-item`, `lr-flow-node`, `lr-widget` | slot `icon` | slot `start` |
|
|
52
|
+
| `lr-tool-call-chip` | slot `icon` | slot `status-icon` |
|
|
53
|
+
| `lr-accordion-item`, `lr-file-input`, `lr-qr-code`, `lr-sparkline`, `lr-video-playlist` | part `base` | the part named after the component, e.g. `::part(accordion-item)` |
|
|
54
|
+
| `lr-file-input`, `lr-known-date` | part `label` | `::part(form-control-label)` |
|
|
55
|
+
| `lr-icon` | `autoWidth` / `auto-width` | `canvas="auto"` |
|
|
56
|
+
|
|
57
|
+
The disclosure events pass `expanded` (and `itemId` where several items share a component); the
|
|
58
|
+
removed names reported the older shapes, so read the new detail rather than renaming blindly.
|
|
59
|
+
Content left in a removed `icon` slot is no longer projected.
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
### Review-required replacement recipes
|
|
63
|
+
|
|
64
|
+
A rename is automatic only when it preserves both the payload and which events or content reach
|
|
65
|
+
that site. The CLI reports ambiguous sites instead of changing them. Merge an existing canonical
|
|
66
|
+
listener with the legacy listener deliberately, and update matching `removeEventListener` calls.
|
|
67
|
+
|
|
68
|
+
| Reviewed source | Concrete replacement |
|
|
69
|
+
| --- | --- |
|
|
70
|
+
| `lr-chunk-inspector` `lr-chunk-toggle` | Listen to `lr-toggle`; replace `detail.chunkId` with `detail.itemId`, keeping `detail.expanded`. |
|
|
71
|
+
| `lr-source-card` `lr-expand` | Listen to `lr-toggle`; replace `detail.sourceId` with `detail.itemId`, keeping `detail.expanded`. |
|
|
72
|
+
| `lr-retrieval-trace` `lr-stage-toggle` | Listen to `lr-toggle`; ignore events whose `detail.stageId` is defined, because those report a nested chunk toggle. For the remaining stage disclosures, use `detail.itemId` as the former `stageId`. |
|
|
73
|
+
| `lr-retrieval-results` `lr-select` | Listen to `lr-selection-change`; replace `detail.chunkIds` with `detail.selectedChunkIds`. `detail.chunks` stays available. |
|
|
74
|
+
| `lr-widget` `lr-collapse-change` / `lr-collapse-request` | Listen to `lr-toggle` / `lr-toggle-request`; replace every read of `detail.collapsed` with `!detail.expanded`. Keep request vetoes on `lr-toggle-request` by calling `preventDefault()` before committing application state. |
|
|
75
|
+
| `lr-memory-panel` `lr-memory-toggle` | Listen to `lr-toggle`. To keep only whole-memory disclosure, ignore details whose `section` is defined, then require `memoryId` and `scope` before consuming them with `expanded`. Section disclosures carry the same event name. |
|
|
76
|
+
| `lr-rag-eval-dashboard` `lr-run-change` | Listen to `lr-run-activate`; keep reading `detail.run`. The canonical detail also includes `runId`; when passing the old exact payload to another API, construct `{ run: event.detail.run }` explicitly. |
|
|
77
|
+
| `lr-entity-dossier`, `lr-memory-panel`, `lr-provenance-panel` `lr-entity-activate` | Listen to `lr-entity-select`. To preserve the former conduit reach, accept community-card/path-strip origins only; canonical events from entity-card/chip/neighbor-list are additional sources. Inspect `composedPath()` rather than a retargeted `event.target`. |
|
|
78
|
+
|
|
79
|
+
For example, preserve an old collapsed-state consumer without reversing its behavior:
|
|
80
|
+
|
|
81
|
+
```ts
|
|
82
|
+
widget.addEventListener('lr-toggle-request', event => {
|
|
83
|
+
const proposedCollapsed = !event.detail.expanded;
|
|
84
|
+
if (!allowCollapsed(proposedCollapsed)) event.preventDefault();
|
|
85
|
+
});
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
For the three entity conduits, an origin filter can preserve the old source set:
|
|
89
|
+
|
|
90
|
+
```ts
|
|
91
|
+
panel.addEventListener('lr-entity-select', event => {
|
|
92
|
+
const origin = event.composedPath().find(node => node instanceof Element &&
|
|
93
|
+
node.matches('lr-community-card, lr-path-strip, lr-entity-card, lr-entity-chip, lr-neighbor-list'));
|
|
94
|
+
if (!(origin instanceof Element) || !origin.matches('lr-community-card, lr-path-strip')) return;
|
|
95
|
+
selectEntity(event.detail.entityId);
|
|
96
|
+
});
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
Move retired `icon` content to `start` on `lr-app-rail-item`, `lr-flow-node` and `lr-widget`, or
|
|
100
|
+
`status-icon` on `lr-tool-call-chip`. The canonical slot previously won over the `icon` fallback:
|
|
101
|
+
keep canonical content and remove unused fallback, or render only one conditional branch.
|
|
102
|
+
Renaming both slots would incorrectly display both:
|
|
103
|
+
|
|
104
|
+
```html
|
|
105
|
+
<!-- Before: only Canonical was visible. -->
|
|
106
|
+
<lr-widget label="Example"><span slot="start">Canonical</span><span slot="icon">Fallback</span></lr-widget>
|
|
107
|
+
<!-- After: preserve the same visible content. -->
|
|
108
|
+
<lr-widget label="Example"><span slot="start">Canonical</span></lr-widget>
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
An owned listener can still need review when its canonical event name is also dispatched by
|
|
112
|
+
nested components. Choose whether to accept those additional events or filter their origin;
|
|
113
|
+
renaming a string alone does not preserve listener reach.
|
|
114
|
+
|
|
115
|
+
## Map
|
|
116
|
+
|
|
117
|
+
`lr-map` `center` is compared by value. Assigning a new array that holds the coordinates the map
|
|
118
|
+
was last given is a no-op, even after the user has panned or zoomed: before v30 it moved the map
|
|
119
|
+
back, so a framework re-render that rebuilt an equal array (or a "reset view" button that assigned
|
|
120
|
+
the same home coordinates) re-centred it. A different value still moves the camera, and an initial
|
|
121
|
+
`center` is unchanged.
|
|
122
|
+
|
|
123
|
+
To re-centre explicitly, call a camera command, which also writes the result back to `center` and
|
|
124
|
+
`zoom` and reports `lr-map-view-change` with `source: 'command'`:
|
|
125
|
+
|
|
126
|
+
Before:
|
|
127
|
+
|
|
128
|
+
```ts
|
|
129
|
+
const map = document.querySelector('lr-map');
|
|
130
|
+
resetButton.addEventListener('click', () => {
|
|
131
|
+
map.center = home; // moved the map back over the user's pan
|
|
132
|
+
});
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
After:
|
|
136
|
+
|
|
137
|
+
```ts
|
|
138
|
+
resetButton.addEventListener('click', () => {
|
|
139
|
+
map.jumpTo({ center: home }); // flyTo() / easeTo() animate, honoring reduced motion
|
|
140
|
+
});
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
A binding that only publishes the application's own centre (`.center=${center}` where `center`
|
|
144
|
+
changes when the application wants a new view) needs no change. The `immutable-collections` rule
|
|
145
|
+
reports every `<receiver>.center = …` assignment in a file that names `lr-map` or `LyraMap` as
|
|
146
|
+
`MAP_CENTER_REVIEW`, because a scan cannot tell a re-centre from an initial value. Once a site is
|
|
147
|
+
correct, acknowledge it with `lyra-migrate-reviewed: MAP_CENTER_REVIEW:center` on the reported line
|
|
148
|
+
or alone on the line above it. The rule never edits source.
|
|
149
|
+
|
|
150
|
+
## Collections
|
|
151
|
+
|
|
152
|
+
Identity-preserving collections (feeds, queues, traces, task lists, virtual lists and similar)
|
|
153
|
+
now ignore reassignment of their current array. Before v30, reassigning it rendered item edits
|
|
154
|
+
and in-place mutations such as `push()`, `splice()` or `sort()`. Now:
|
|
155
|
+
|
|
156
|
+
- **Create a new array to publish a change.** `el.items = [...el.items, item]`,
|
|
157
|
+
`el.items = el.items.filter(...)`, `el.items = el.items.map(...)` and `el.items = next` where
|
|
158
|
+
`next` is a different array all update the component.
|
|
159
|
+
- **Mutating an array and assigning it again does not update.** `el.items.push(item);
|
|
160
|
+
el.items = el.items;` and `const rows = el.items; rows.push(item); el.items = rows;` are ignored,
|
|
161
|
+
and so is assigning the snapshot the getter returned.
|
|
162
|
+
- **Item objects keep their identity.** Editing a field of an item and assigning the same array does
|
|
163
|
+
not update the view either; assign a new array (it may contain the same, edited item objects).
|
|
164
|
+
- Opaque indexed sources keep their own refresh rule: `lr-virtual-list` `source`, and the
|
|
165
|
+
components' `treeSource`, `dataSource` and similar provider objects, refresh when you assign the
|
|
166
|
+
same provider again or call `requestUpdate()`. The map `choropleth` object does the same.
|
|
167
|
+
|
|
168
|
+
Before:
|
|
169
|
+
|
|
170
|
+
```ts
|
|
171
|
+
const queue = document.querySelector('lr-prompt-queue');
|
|
172
|
+
queue.items.push(next);
|
|
173
|
+
queue.items = queue.items; // re-read the mutated array
|
|
174
|
+
|
|
175
|
+
const feed = document.querySelector('lr-activity-feed');
|
|
176
|
+
feed.entries[0].text = 'Updated';
|
|
177
|
+
feed.entries = feed.entries;
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
After:
|
|
181
|
+
|
|
182
|
+
```ts
|
|
183
|
+
queue.items = [...queue.items, next];
|
|
184
|
+
|
|
185
|
+
feed.entries = feed.entries.map((entry, index) =>
|
|
186
|
+
index === 0 ? { ...entry, text: 'Updated' } : entry);
|
|
187
|
+
```
|
|
188
|
+
|
|
189
|
+
Declarative templates (`.items=${items}` in Lit, a bound property in a framework) behave the same:
|
|
190
|
+
return a new array from your state update instead of mutating the one already bound. A framework
|
|
191
|
+
that already replaces state immutably needs no change.
|
|
192
|
+
|
|
193
|
+
### Affected properties
|
|
194
|
+
|
|
195
|
+
| Component | Properties |
|
|
196
|
+
| --- | --- |
|
|
197
|
+
| `lr-activity-feed` | `entries` |
|
|
198
|
+
| `lr-agent-trace`, `lr-span-waterfall`, `lr-trace-tree` | `spans` |
|
|
199
|
+
| `lr-calendar` | `events` |
|
|
200
|
+
| `lr-claim-evidence` | `claims`, `citations` |
|
|
201
|
+
| `lr-command-palette` | `commands` |
|
|
202
|
+
| `lr-date-picker` | `presets` |
|
|
203
|
+
| `lr-eval-dataset`, `lr-eval-run` | `examples` |
|
|
204
|
+
| `lr-grounding-summary` | `citations` |
|
|
205
|
+
| `lr-ingestion-queue`, `lr-node-palette`, `lr-prompt-queue`, `lr-task-list`, `lr-virtual-list`, `lr-mention-popover`, `lr-swatch-picker` | `items` |
|
|
206
|
+
| `lr-map` | `markers`, `dataLayers`, `images`, `styleOverrides` |
|
|
207
|
+
| `lr-memory-panel` | `shortTerm`, `longTerm` |
|
|
208
|
+
| `lr-retrieval-results` | `chunks` |
|
|
209
|
+
| `lr-test-results` | `suites` |
|
|
210
|
+
| `lr-thread-list` | `threads` (already ignored the same array before v30) |
|
|
211
|
+
| `lr-tool-timeline` | `entries` |
|
|
212
|
+
|
|
213
|
+
Properties that copy their input (most other array properties) already behaved this way: they
|
|
214
|
+
ignore the same array and their getter returns a frozen snapshot. `lr-stepper`, `lr-file-tree`,
|
|
215
|
+
`lr-document-library` and `lr-sequence-strip` ignore a repeated assignment of the same array too.
|
|
216
|
+
|
|
217
|
+
### The migration rule
|
|
218
|
+
|
|
219
|
+
`lyra-ui-migrate --rule=immutable-collections` scans HTML, JavaScript, TypeScript, JSX and
|
|
220
|
+
Vue/Svelte/Astro sources, runs without `--origin`, and reports the warning code
|
|
221
|
+
`IMMUTABLE_COLLECTION_REVIEW` with a file, line and column for:
|
|
222
|
+
|
|
223
|
+
- `<receiver>.<property>.push|splice|pop|shift|unshift|sort|reverse|fill|copyWithin(` on a property
|
|
224
|
+
from the table, when the file mentions a component that owns it (its `lr-` tag or class name);
|
|
225
|
+
- `<receiver>.<property> = <receiver>.<property>` with nothing else on the right;
|
|
226
|
+
- a local alias of the bound array that is changed in place and then assigned back;
|
|
227
|
+
- `<receiver>.center = …` in a file that names `lr-map` or `LyraMap`, as `MAP_CENTER_REVIEW` (see
|
|
228
|
+
[Map](#map)).
|
|
229
|
+
|
|
230
|
+
It does not follow arrays across files or into helpers, and it cannot see a mutation behind a
|
|
231
|
+
template binding, so also search for the table's properties in code that edits shared state in
|
|
232
|
+
place. After you have reviewed a site and it is correct, add a comment containing
|
|
233
|
+
`lyra-migrate-reviewed: IMMUTABLE_COLLECTION_REVIEW:<property>` (for example
|
|
234
|
+
`IMMUTABLE_COLLECTION_REVIEW:items`) on the reported line or alone on the line above it; the site no
|
|
235
|
+
longer fails `--check`.
|
|
236
|
+
|
|
237
|
+
### Removed opt-in
|
|
238
|
+
|
|
239
|
+
`immutableSourceCollectionProperties`, the protected static list that `lr-thread-list` used to opt
|
|
240
|
+
into this behavior, is removed from `LyraElement`: the rule is now the default for every identity
|
|
241
|
+
collection, so a custom subclass that declared it needs no replacement.
|
|
242
|
+
|
|
243
|
+
## Fine-grained syntax highlighting engines
|
|
244
|
+
|
|
245
|
+
Core renderers and explicit `languages`/`languageLoaders` paths now use Shiki's JavaScript engine
|
|
246
|
+
by default. The full components' automatic language highlighting keeps its existing engine.
|
|
247
|
+
Custom grammars may require Oniguruma; replace `setShikiCoreEngine('oniguruma')` with:
|
|
248
|
+
|
|
249
|
+
```js
|
|
250
|
+
import { setShikiCoreEngine } from '@aceshooting/lyra-ui/components/lr-code-block-core.js';
|
|
251
|
+
import { createShikiOnigurumaEngine } from '@aceshooting/lyra-ui/components/conversation/code-block/shiki-oniguruma.js';
|
|
252
|
+
setShikiCoreEngine(createShikiOnigurumaEngine);
|
|
253
|
+
```
|
|
254
|
+
|
|
255
|
+
Configure the factory before rendering. The JavaScript preset and custom engine factories remain
|
|
256
|
+
supported. The opt-in import keeps the packaged binary outside default component import graphs.
|