@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
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
- **Family** `components/retrieval/` — see `llms/index.md` for its siblings
|
|
8
8
|
- **Status** `stable` since `4.0.0` — see the maturity and deprecation policy in `llms/shared.md`
|
|
9
9
|
- **Release history** [CHANGELOG.md](../../CHANGELOG.md); family-wide breaking-change summaries: [retrieval](https://github.com/aceshooting/lyra-ui/blob/main/packages/lyra-ui/llms/retrieval.md)
|
|
10
|
-
- **
|
|
10
|
+
- **Deprecations** none
|
|
11
11
|
- **Optional peers** none
|
|
12
12
|
- **Themeable via** 16 parts, 2 custom properties — see this component's own `@csspart`/`@cssprop` list below
|
|
13
13
|
- **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
|
|
@@ -39,7 +39,7 @@ number; sourceId: string; title?: string; page?: string | number; anchor?: LyraC
|
|
|
39
39
|
already holds instead of forcing a full offset/identity rebuild
|
|
40
40
|
- `activeChunkId: string = ''` (attribute `active-chunk-id`)
|
|
41
41
|
- `expandedChunkIds: string[] = []` (attribute: false) — ids of the chunks whose text is expanded.
|
|
42
|
-
The inspector updates its own copy on toggle _then_ emits `lr-
|
|
42
|
+
The inspector updates its own copy on toggle _then_ emits `lr-toggle`; reassign to control
|
|
43
43
|
(a composing list keeps expansion here across scrolling and re-sorting)
|
|
44
44
|
- `virtualizeAt: number = 50` (attribute `virtualize-at`)
|
|
45
45
|
- `size: LyraSize = 'm'` (reflected) — row density on the shared size scale. `s` (and the smaller
|
|
@@ -55,9 +55,8 @@ number; sourceId: string; title?: string; page?: string | number; anchor?: LyraC
|
|
|
55
55
|
|
|
56
56
|
**Events:** `lr-chunk-open` (`detail: { chunkId, sourceId, anchor? }`, a chunk's title/open button was
|
|
57
57
|
activated — the event a host routes into `lr-document-viewer`, setting `src` from `sourceId` and
|
|
58
|
-
`anchor` from the chunk's own), `lr-
|
|
59
|
-
|
|
60
|
-
for the same disclosure. The internal virtual list's scroll and range
|
|
58
|
+
`anchor` from the chunk's own), `lr-toggle` (`detail: { expanded, itemId }`, a chunk's text
|
|
59
|
+
toggle was activated, expanding or collapsing it). The internal virtual list's scroll and range
|
|
61
60
|
events stay inside the component.
|
|
62
61
|
|
|
63
62
|
**Slots:** none.
|
|
@@ -122,7 +122,7 @@ no background tint, for citations that carry no confidence/verification signal a
|
|
|
122
122
|
**Known gotchas:**
|
|
123
123
|
|
|
124
124
|
- Enter and Space are given distinct meanings (Enter = activate via native `<button>` click, Space =
|
|
125
|
-
open) — Space's native click-on-keyup is
|
|
125
|
+
open) — Space's native click-on-keyup is preempted with `preventDefault()` on keydown so it fires
|
|
126
126
|
`lr-citation-open` instead of triggering a second `lr-citation-activate`.
|
|
127
127
|
- Escape closes the popover but calls `stopPropagation()`, so it won't also close a surrounding
|
|
128
128
|
`<lr-dialog>` that has its own Escape-to-close handler.
|
|
@@ -22,7 +22,7 @@ covers every language it will ever render. Where `<lr-code-block>` can call
|
|
|
22
22
|
lookup table a bundler can't statically narrow away even when a consumer never actually uses it —
|
|
23
23
|
this component's own module never imports or calls that function at all. It only ever calls
|
|
24
24
|
`loadShikiHighlighterCore(languages)` (shiki's "fine-grained bundle" recipe: `createHighlighterCore()`
|
|
25
|
-
plus
|
|
25
|
+
plus the JavaScript engine by default, seeded with the resolved grammars in `languages`; a lazy grammar
|
|
26
26
|
is loaded only when requested), so a consumer
|
|
27
27
|
importing this entry point instead of `code-block.js` gets a build genuinely free of shiki's full
|
|
28
28
|
language table.
|
|
@@ -128,9 +128,7 @@ for the full rationale, including why `<lr-markdown>`/`<lr-markdown-core>` must
|
|
|
128
128
|
fallback separately. `base` is a flex column and `body` grows to fill whatever block space a
|
|
129
129
|
explicitly sized host gives it too, identically to `<lr-code-block>` above.
|
|
130
130
|
|
|
131
|
-
**Optional peer deps:** `shiki` (specifically its `shiki/core`, `shiki/engine/
|
|
132
|
-
Oniguruma binary (the default; select `shiki/engine/javascript` instead via
|
|
133
|
-
`setShikiCoreEngine('javascript')`), and `shiki/themes/github-{light,dark}.mjs` subpaths — never
|
|
131
|
+
**Optional peer deps:** `shiki` (specifically its `shiki/core`, `shiki/engine/javascript` (the default), and `shiki/themes/github-{light,dark}.mjs` subpaths — never
|
|
134
132
|
`shiki`'s main entry point, which is what carries the ~200-language table this component exists to
|
|
135
133
|
avoid). Building the
|
|
136
134
|
fine-grained highlighter is cached per `languages` object identity. A bounded weak cache also shares
|
|
@@ -58,9 +58,9 @@ shortcut?, keywords?: readonly string[], disabled?, icon?, onSelect? }`. The seq
|
|
|
58
58
|
not an array is ignored, as are non-string members, without dropping otherwise-valid commands.
|
|
59
59
|
Filtering is case-insensitive
|
|
60
60
|
substring matching over `label` + `description` + `group` + `keywords` joined together (not
|
|
61
|
-
fuzzy/subsequence), memoized per `commands` array identity —
|
|
62
|
-
in place. Consecutive commands sharing a `group` render one `[part='group']` heading, so pre-sort
|
|
63
|
-
by group yourself.
|
|
61
|
+
fuzzy/subsequence), memoized per `commands` array identity — assign a new array, never mutate it
|
|
62
|
+
in place (assigning the same mutated array is ignored). Consecutive commands sharing a `group` render one `[part='group']` heading, so pre-sort
|
|
63
|
+
by group yourself. Assign a new array to update; mutating an array and assigning it again does not.
|
|
64
64
|
- `hotkey: string = 'mod+k'` — exact global activation chord parsed as `+`-separated parts; `mod`
|
|
65
65
|
resolves to Cmd on Mac and Ctrl elsewhere. Detection prefers Client Hints, then falls back to
|
|
66
66
|
the legacy platform string and reduced user-agent string rather than trusting
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
- **Family** `components/retrieval/` — see `llms/index.md` for its siblings
|
|
8
8
|
- **Status** `stable` since `4.0.0` — see the maturity and deprecation policy in `llms/shared.md`
|
|
9
9
|
- **Release history** [CHANGELOG.md](../../CHANGELOG.md); family-wide breaking-change summaries: [retrieval](https://github.com/aceshooting/lyra-ui/blob/main/packages/lyra-ui/llms/retrieval.md)
|
|
10
|
-
- **
|
|
10
|
+
- **Deprecations** none
|
|
11
11
|
- **Optional peers** none
|
|
12
12
|
- **Themeable via** 11 parts, 3 custom properties — see this component's own `@csspart`/`@cssprop` list below
|
|
13
13
|
- **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
|
|
@@ -41,7 +41,7 @@ string; summary?: string; memberCount?: number }`; `memberCount` is a non-negati
|
|
|
41
41
|
|
|
42
42
|
**Events:** `lr-drill` (`detail: { communityId }`, the drill button, header, or overflow chip — all three
|
|
43
43
|
mean "show me this whole community"), `lr-entity-select` (`detail: { entityId }`, a member chip was
|
|
44
|
-
activated
|
|
44
|
+
activated).
|
|
45
45
|
|
|
46
46
|
**Slots:** `actions` — extra header actions alongside the built-in drill button.
|
|
47
47
|
|
|
@@ -108,7 +108,7 @@ Inline month-grid calendar, not form-associated (used standalone or embedded ins
|
|
|
108
108
|
The active button carries `aria-pressed="true"` and `data-active`. The same
|
|
109
109
|
`label`/`start`/`end`/`id` shape as `<lr-time-range>`'s `TimeRangePreset`, with ISO dates instead
|
|
110
110
|
of numbers; unlike the time range, a bound may be left open. `appliedPreset` is the caller's own
|
|
111
|
-
entry object on both
|
|
111
|
+
entry object on both. Assign a new array to update; mutating an array and assigning it again does not.
|
|
112
112
|
- `appliedPreset: LyraDateRangePreset | undefined` (read-only, new in 11.1.0) — the preset whose
|
|
113
113
|
button produced the current `value`, or `undefined` when the range was picked by hand, cleared, or changed externally.
|
|
114
114
|
`clear()` removes identity before synchronous `input`/`change` listeners run; an external value
|
|
@@ -210,8 +210,8 @@ or disabled. Activating one never toggles the panel: a click whose
|
|
|
210
210
|
composed path crosses `[part~="header-actions"]` is exempted from disclosure activation. Its wrapper
|
|
211
211
|
is hidden and reclaims layout space whenever the slot is empty.
|
|
212
212
|
|
|
213
|
-
**CSS parts:** accordion exposes `base`. Accordion item exposes `
|
|
214
|
-
|
|
213
|
+
**CSS parts:** accordion exposes `base`. Accordion item exposes `accordion-item` on its
|
|
214
|
+
outer wrapper, plus `heading`, `button`, `label`, `icon`, `panel`, and `content`. Details
|
|
215
215
|
exposes `base` and `details` on the same outer container, plus `header`, `summary`, `icon`,
|
|
216
216
|
`header-actions`, and `content`. The native `<details>` is private; `content` is inside its
|
|
217
217
|
findable `hidden="until-found"` closed-state gate.
|
|
@@ -142,8 +142,8 @@ shared tokens `--lr-color-border`/`-border-subtle`/`-surface`/`-success`/`-succe
|
|
|
142
142
|
`-danger-quiet`/`-text`, `--lr-radius`, `--lr-space-xs`/`-s`, `--lr-font-size-sm`,
|
|
143
143
|
`--lr-line-height-snug`, `--lr-focus-ring-*`.
|
|
144
144
|
|
|
145
|
-
**Optional peer deps:** `shiki` (the same fine-grained `shiki/core`/`shiki/engine/
|
|
146
|
-
|
|
145
|
+
**Optional peer deps:** `shiki` (the same fine-grained `shiki/core`/`shiki/engine/javascript` subset
|
|
146
|
+
`lr-code-block-core` uses by default, never `shiki`'s full ~200-language
|
|
147
147
|
main entry point) — only loaded once both `language` and a matching `languages` entry are set;
|
|
148
148
|
unset/unmatched leaves the plain unhighlighted diff text untouched.
|
|
149
149
|
|
|
@@ -7,8 +7,7 @@
|
|
|
7
7
|
- **Family** `components/layout/` — see `llms/index.md` for its siblings
|
|
8
8
|
- **Status** `stable` since `4.0.0` — see the maturity and deprecation policy in `llms/shared.md`
|
|
9
9
|
- **Release history** [CHANGELOG.md](../../CHANGELOG.md)
|
|
10
|
-
- **
|
|
11
|
-
- **Deprecated event** `lr-collapse-request` since `26.0.0`; use event `@lr-toggle-request`; removal not before `28.0.0` — The shared cancelable toggle request carries the same expanded proposal; the older name remains emitted during migration.
|
|
10
|
+
- **Deprecations** none
|
|
12
11
|
- **Optional peers** none
|
|
13
12
|
- **Themeable via** 4 parts, 6 custom properties — see this component's own `@csspart`/`@cssprop` list below
|
|
14
13
|
- **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
|
|
@@ -73,13 +72,9 @@ resolved in the host's owner realm.
|
|
|
73
72
|
lost capture, disconnect/adoption, live policy/geometry mutation, no-op attempts, and a prevented
|
|
74
73
|
`lr-resize-request` all emit nothing.
|
|
75
74
|
- `lr-toggle-request` (cancelable) and `lr-toggle` (accepted) are the shared disclosure pair;
|
|
76
|
-
their fresh frozen details contain `{ expanded }`. The former can veto a built-in toggle
|
|
77
|
-
`
|
|
78
|
-
|
|
79
|
-
unchanged. Not fired when a consumer assigns `collapsed` directly), `lr-collapse-change`
|
|
80
|
-
(non-cancelable; `detail: { expanded }` is
|
|
81
|
-
the accepted built-in-toggle state. Not fired when a consumer assigns `collapsed` directly)
|
|
82
|
-
remain available but are deprecated. Both details are fresh readonly/frozen snapshots.
|
|
75
|
+
their fresh frozen details contain `{ expanded }`. The former can veto a built-in toggle
|
|
76
|
+
(`preventDefault()` leaves the host `collapsed` property unchanged). Neither is fired when a
|
|
77
|
+
consumer assigns `collapsed` directly. Both details are fresh readonly/frozen snapshots.
|
|
83
78
|
|
|
84
79
|
Events bubble and are composed, so a listener on an ancestor (for example an `lr-multi-split` that
|
|
85
80
|
contains this panel and listens for its own `lr-resize-request`) should ignore events whose `target`
|
|
@@ -128,7 +123,7 @@ being dragged. `--lr-dock-panel-handle-hit-area` requests a resize target width
|
|
|
128
123
|
const panel = document.querySelector("lr-dock-panel");
|
|
129
124
|
panel.addEventListener("lr-resize-input", (e) => updateLayoutPreview(e.detail.extent));
|
|
130
125
|
panel.addEventListener("lr-resize-change", (e) => persistExtent(e.detail.extent));
|
|
131
|
-
panel.addEventListener("lr-
|
|
126
|
+
panel.addEventListener("lr-toggle", (e) => console.log(e.detail.expanded));
|
|
132
127
|
</script>
|
|
133
128
|
```
|
|
134
129
|
|
|
@@ -120,21 +120,27 @@ for the native download action's hover and pressed backgrounds.
|
|
|
120
120
|
- `LyraDocumentFile` — readonly file data `{ name, mimeType, src, anchor?, highlights?, alt? }`
|
|
121
121
|
passed to renderer matching and wrapped by discriminated payloads. Adapter and legacy-render
|
|
122
122
|
boundaries snapshot it; highlights use the shared trimmed, nonempty, first-wins identity projection.
|
|
123
|
-
- `LyraDocumentRendererPayload` — readonly `kind: 'document' | 'av'` discriminated input
|
|
124
|
-
immutable `file`. The AV branch adds readonly `cues` and `tracks`; snapshots retain at
|
|
125
|
-
cues and 64 tracks, clone and freeze every retained record, and bound every retained
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
123
|
+
- `LyraDocumentRendererPayload` — readonly `kind: 'document' | 'av' | 'model'` discriminated input
|
|
124
|
+
wrapping an immutable `file`. The AV branch adds readonly `cues` and `tracks`; snapshots retain at
|
|
125
|
+
most 10,000 cues and 64 tracks, clone and freeze every retained record, and bound every retained
|
|
126
|
+
string. The model branch adds an optional `format` (rejected unless it is a supported model
|
|
127
|
+
format) and an optional `camera` (copied, finite-checked and frozen like `<lr-model-viewer>`'s).
|
|
128
|
+
- `LyraGenericDocumentRendererPayload` / `LyraAvDocumentRendererPayload` /
|
|
129
|
+
`LyraModelDocumentRendererPayload` — the concrete `kind: 'document'`, `kind: 'av'` and
|
|
130
|
+
`kind: 'model'` branches. `LyraDocumentRendererPayloadKind` names their kind union, and
|
|
131
|
+
`LyraDocumentRendererPayloadFor<K>` extracts one branch for adapter authoring.
|
|
129
132
|
- `LyraDocumentRendererAdapterDefinition<K>` / `LyraDocumentRendererAdapter` — strongly typed
|
|
130
133
|
authoring input and its factory-created, type-erased registry form. The callbacks adapt the legacy
|
|
131
134
|
file to one payload kind, derive capabilities from that retained payload, and render it.
|
|
132
135
|
- `LyraDocumentRendererDefinition` — a validated direct
|
|
133
|
-
`{ render, matches?, capabilities? }`, adapted `{ adapter, matches? }`,
|
|
134
|
-
`{ load, matches?, capabilities? }`
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
136
|
+
`{ render, matches?, capabilities? }`, adapted `{ adapter, matches? }`, lazy
|
|
137
|
+
`{ load, matches?, capabilities? }` or lazy-adapted `{ rendererKind: 'adapted', load, matches? }`
|
|
138
|
+
definition; exactly one of `render`, `adapter`, and `load` is required. Static capabilities are
|
|
139
|
+
rejected on adapted and lazy-adapted definitions so the payload adapter remains the single source
|
|
140
|
+
of truth. Adapted definitions register eagerly; a lazy definition resolves a legacy direct
|
|
141
|
+
renderer, while `LazyAdaptedDocumentRendererDefinition` declares `rendererKind: 'adapted'` and
|
|
142
|
+
resolves an adapted definition (a loaded definition of the other kind is rejected). That keeps
|
|
143
|
+
the static and payload-derived capability branches distinct.
|
|
138
144
|
- `LyraAdaptedDocumentRendererDefinition` / `LyraResolvedDocumentRendererDefinition` — the adapted
|
|
139
145
|
registry branch and the union of both immediately renderable branches. `LyraAdaptedDocumentRenderer`
|
|
140
146
|
is the frozen payload/capabilities/render invocation returned by `adaptDocumentRenderer()`.
|
|
@@ -153,15 +159,16 @@ for the native download action's hover and pressed backgrounds.
|
|
|
153
159
|
registry snapshots created later; it never mutates existing instances.
|
|
154
160
|
- `findDocumentRenderer(file, registry?)` — checks normalized MIME essence (case-insensitive and
|
|
155
161
|
parameter-independent), then the first matching `matches()` entry in registration order.
|
|
156
|
-
- `loadDocumentRenderer(definition)` — resolves and identity-caches a lazy direct
|
|
157
|
-
rejected loads are retried on the next call.
|
|
162
|
+
- `loadDocumentRenderer(definition)` — resolves and identity-caches a lazy direct or lazy-adapted
|
|
163
|
+
definition; rejected loads are retried on the next call.
|
|
158
164
|
|
|
159
165
|
Every built-in kind ships a lazy, register-only entry named `<kind>-viewer-register.js`
|
|
160
166
|
(`archive-viewer-register.js`, `ebook-viewer-register.js`, `pdf-viewer-register.js`,
|
|
161
167
|
`docx-viewer-register.js`, `pptx-viewer-register.js`, `spreadsheet-viewer-register.js`,
|
|
162
168
|
`csv-viewer-register.js`, `xml-viewer-register.js`, `notebook-viewer-register.js`,
|
|
163
169
|
`dataset-viewer-register.js`, `email-viewer-register.js`, `calendar-viewer-register.js`,
|
|
164
|
-
`contact-viewer-register.js`, `html-viewer-register.js`, `svg-viewer-register.js
|
|
170
|
+
`contact-viewer-register.js`, `html-viewer-register.js`, `svg-viewer-register.js`,
|
|
171
|
+
`model-viewer-register.js`), which installs
|
|
165
172
|
that kind's registration — including its declared `capabilities`, available before anything loads —
|
|
166
173
|
without pulling its element class module into the importing graph until a matching file is
|
|
167
174
|
actually opened, and exports a `<KIND>_VIEWER_TAG` string constant naming the tag it eventually
|
|
@@ -8,16 +8,31 @@
|
|
|
8
8
|
- **Status** `stable` since `6.2.0` — see the maturity and deprecation policy in `llms/shared.md`
|
|
9
9
|
- **Release history** [CHANGELOG.md](../../CHANGELOG.md); family-wide breaking-change summaries: [retrieval](https://github.com/aceshooting/lyra-ui/blob/main/packages/lyra-ui/llms/retrieval.md)
|
|
10
10
|
- **Deprecations** none
|
|
11
|
-
- **Optional peers**
|
|
12
|
-
- **Themeable via**
|
|
11
|
+
- **Optional peers** `@aceshooting/lyra-3d` — see `llms/peers.md`
|
|
12
|
+
- **Themeable via** 17 parts, 10 custom properties — see this component's own `@csspart`/`@cssprop` list below
|
|
13
13
|
- **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
|
|
14
14
|
|
|
15
15
|
---
|
|
16
16
|
|
|
17
17
|
## `lr-embedding-explorer`
|
|
18
18
|
|
|
19
|
-
|
|
20
|
-
the component
|
|
19
|
+
Accessible embedding projection viewer with a dependency-free SVG default. Coordinates are
|
|
20
|
+
projected by the host; the component normalizes them, colors clusters and emits selection events.
|
|
21
|
+
|
|
22
|
+
`engine: Engine3dPreference = 'builtin'` accepts `'builtin'` or `'webgl'`; invalid values use
|
|
23
|
+
`'builtin'`. WebGL lazily requests `@aceshooting/lyra-3d/points`; failure falls back to the
|
|
24
|
+
built-in view and then the text alternative. `lr-engine-fallback` carries `{ from, to, reason }`,
|
|
25
|
+
with reason `'unavailable'`, `'unsupported'`, `'context-lost'` or `'error'`. Source mode retains
|
|
26
|
+
its density renderer and reports unsupported fallback when WebGL is requested.
|
|
27
|
+
|
|
28
|
+
`pointColumns: LyraPointColumns | null = null` (property only) replaces `points`; non-null
|
|
29
|
+
`source` wins over both. Columns support 1,000,000 rows with required string `ids`, Float32Array
|
|
30
|
+
`x`/`y`, optional Float32Array `z`, optional Uint16Array `cluster`, and optional string arrays
|
|
31
|
+
`clusters`/`labels`. Publish changes with a new immutable object; column arrays remain caller-owned.
|
|
32
|
+
Validation occurs once per assignment. Empty or invalid columns do not restore stale arrays.
|
|
33
|
+
Built-in/text alternatives page 200 rows; WebGL renders every admitted row. `lr-point-select`
|
|
34
|
+
retains the point payload and adds `id` and admitted row `index` (`sourceIndex` in source mode).
|
|
35
|
+
Additional parts: `engine`, `engine-notice`, `rows`, `row`, `pagination`, `page-button`.
|
|
21
36
|
|
|
22
37
|
**Complete spatial source:** `source: LyraSpatialPointSource<EmbeddingPoint & LyraSpatialPoint>
|
|
23
38
|
| null = null` (attribute: false) takes precedence over `points` without copying the complete
|
|
@@ -81,6 +96,8 @@ sourceIndex. Activating a density bin emits noncancelable `lr-spatial-bin-select
|
|
|
81
96
|
adds `bin` and `error` parts; `limit` reports the complete global count/domain and current viewport
|
|
82
97
|
count/domain with density and overlay counts distinguished. The cluster legend describes retained
|
|
83
98
|
point overlays rather than certifying all global clusters.
|
|
99
|
+
With `engine="webgl"`, `lr-engine-fallback` (`detail: { from, to, reason }`, frozen; `reason` is
|
|
100
|
+
`'unavailable'`, `'unsupported'`, `'context-lost'` or `'error'`) reports each step down the fallback chain.
|
|
84
101
|
|
|
85
102
|
Reassign even the same source, or call a keyless `requestUpdate()`, after revision/state changes.
|
|
86
103
|
Named style/strings updates reuse admitted data. Replacement, refresh, disconnect and adoption
|
|
@@ -128,6 +145,9 @@ cancel unfinished work, and reconnect resumes from the current source.
|
|
|
128
145
|
`limit` (the "showing N of M" sampling notice), `empty`.
|
|
129
146
|
Spatial-source parts: `bin` (a focusable density region, separate from representative point
|
|
130
147
|
overlays) and `error` (invalid or unavailable spatial-source feedback).
|
|
148
|
+
WebGL parts (with `engine="webgl"`): `engine` (the canvas container), `engine-notice` (localized
|
|
149
|
+
loading or fallback feedback), `rows` (the paginated text alternative) with one focusable `row` per
|
|
150
|
+
point, and `pagination` with its `page-button` previous and next actions.
|
|
131
151
|
|
|
132
152
|
**Themeable custom properties:** `--lr-embedding-explorer-selected-stroke` (default
|
|
133
153
|
`var(--lr-color-brand)`) — stroke color of the selected point; `--lr-embedding-explorer-height`
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
- **Family** `components/retrieval/` — see `llms/index.md` for its siblings
|
|
8
8
|
- **Status** `stable` since `4.1.0` — see the maturity and deprecation policy in `llms/shared.md`
|
|
9
9
|
- **Release history** [CHANGELOG.md](../../CHANGELOG.md); family-wide breaking-change summaries: [retrieval](https://github.com/aceshooting/lyra-ui/blob/main/packages/lyra-ui/llms/retrieval.md)
|
|
10
|
-
- **
|
|
10
|
+
- **Deprecations** none
|
|
11
11
|
- **Optional peers** none
|
|
12
12
|
- **Themeable via** 9 parts, 0 custom properties — see this component's own `@csspart`/`@cssprop` list below
|
|
13
13
|
- **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
|
|
@@ -59,9 +59,8 @@ shape?: 'circle' | 'square' | 'diamond' }`, the `lr-graph.nodeTypes` entry shape
|
|
|
59
59
|
**Events:** composed child events reach the host (`composed: true`), with the direct supporting
|
|
60
60
|
chunk toggle qualified by its section and tab changes projected to `tabId`: `lr-entity-select` (`detail: { entityId, occurrenceIndex? }`, surfaced from the
|
|
61
61
|
embedded entity card, neighbor list, or the provenance panel's community card or path strip, which
|
|
62
|
-
add `occurrenceIndex`),
|
|
63
|
-
`lr-chunk-open` (`detail: { chunkId, sourceId, anchor? }`), `lr-
|
|
64
|
-
expanded }`), `lr-toggle` (`detail: { section, expanded, itemId? }`; the direct supporting-chunk
|
|
62
|
+
add `occurrenceIndex`), `lr-node-expand` (`detail: { nodeId }`),
|
|
63
|
+
`lr-chunk-open` (`detail: { chunkId, sourceId, anchor? }`), `lr-toggle` (`detail: { section, expanded, itemId? }`; the direct supporting-chunk
|
|
65
64
|
inspector adds `section: 'chunks'`, while provenance-panel toggles pass through), and `lr-tab-show`
|
|
66
65
|
(`detail: { tabId: LyraEntityDossierTab }`, where `LyraEntityDossierTab = 'relationships' | 'chunks'
|
|
67
66
|
| 'provenance'` — also the `lr-tab-group` slot/tab ids). The Provenance tab's own controls reach the
|
|
@@ -39,8 +39,8 @@ expectedOutput?: string; tags?: readonly string[]; metadata?: Record<string, unk
|
|
|
39
39
|
strings (not structured payloads), rendered as plain text by every column's `cell()`. Fully
|
|
40
40
|
controlled: add/remove/import/export are all _requests_; the host mutates and passes the array
|
|
41
41
|
back. The bounded readonly outer snapshot retains at most the first 10,000 examples; records and
|
|
42
|
-
opaque `metadata` retain identity.
|
|
43
|
-
|
|
42
|
+
opaque `metadata` retain identity. Assign a new `examples` array after editing records;
|
|
43
|
+
assigning the same array again is ignored. A keyless `requestUpdate()` also refreshes the normalized rows and
|
|
44
44
|
search corpus. Other clone-owned collections retain the 10,000-entry/50,000-node safety budgets.
|
|
45
45
|
Empty/blank ids and later duplicate ids are omitted before selection, filtering, mutation requests, and the
|
|
46
46
|
nested grid are derived. Distinct tag chips are ordered with the component's effective-locale
|
|
@@ -49,7 +49,7 @@ expectedOutput?: string; tags?: readonly string[]; metadata?: Record<string, unk
|
|
|
49
49
|
tags. A localized `limit` note reports the omitted count. Search and tag filtering still use all
|
|
50
50
|
admitted examples and tags, including tags
|
|
51
51
|
outside the displayed facet window. Filtering and the tag corpus are reused across unrelated
|
|
52
|
-
disabled or selection changes
|
|
52
|
+
disabled or selection changes. Assign a new array to update; mutating an array and assigning it again does not.
|
|
53
53
|
- `searchable: boolean = false` (reflected) — built-in free-text search over `input`,
|
|
54
54
|
`expectedOutput`, and `tags` (case-insensitive substring)
|
|
55
55
|
- `autocomplete: string = ''`, `spellcheck: boolean = true`, `autocapitalize: string = ''`,
|
|
@@ -43,7 +43,7 @@ active? }`. `label` and `variant` customize application-defined lifecycle displa
|
|
|
43
43
|
empty/blank ids and later duplicate example ids are omitted before progress, disclosure state, and correlated child
|
|
44
44
|
events are derived. A valid-id streaming example whose `status`, `input`, or `output` has not
|
|
45
45
|
arrived yet remains visible: status defaults to idle and either missing content payload renders
|
|
46
|
-
as empty Markdown until the host replaces the collection
|
|
46
|
+
as empty Markdown until the host replaces the collection. Assign a new array to update; mutating an array and assigning it again does not.
|
|
47
47
|
- `total: number | null = null` — the batch's expected total example count. `null` derives it from
|
|
48
48
|
`examples.length`; set it explicitly while a batch is still streaming and the eventual total is
|
|
49
49
|
already known. An explicit total below the current observed count is raised to `examples.length`,
|
|
@@ -53,6 +53,12 @@ active? }`. `label` and `variant` customize application-defined lifecycle displa
|
|
|
53
53
|
- `headingLevel: LyraHeadingLevel = '4'` (attribute `heading-level`) — level of each example's
|
|
54
54
|
section headings (input, output, grounding, tool trace); `'none'` drops heading semantics
|
|
55
55
|
|
|
56
|
+
**Announcements:** nothing is announced for the first render. After it, a change of an example's status
|
|
57
|
+
is announced politely, and `error` assertively. `running`, `done`, `error`, `cancelled`, `waiting-input`
|
|
58
|
+
and `waiting-approval` have their own localized sentence ("{label} started", "{label} needs input", ...);
|
|
59
|
+
`queued`, `collecting` and application-defined statuses announce "{label}: {status}" using the status's
|
|
60
|
+
localized name or its `label`; `idle` is silent.
|
|
61
|
+
|
|
56
62
|
**Events:** `lr-example-toggle` (`detail: EvalExampleToggleDetail` = `{ exampleId: string; expanded:
|
|
57
63
|
boolean }`), `lr-example-citation-select` (`detail: EvalCitationSelectDetail` = `{ exampleId:
|
|
58
64
|
string; citation: Citation }` — the nested `lr-grounding-summary`'s own `{ citation }` correlated
|
|
@@ -7,10 +7,9 @@
|
|
|
7
7
|
- **Family** `components/media/` — see `llms/index.md` for its siblings
|
|
8
8
|
- **Status** `stable` since `4.0.0` — see the maturity and deprecation policy in `llms/shared.md`
|
|
9
9
|
- **Release history** [CHANGELOG.md](../../CHANGELOG.md); family-wide breaking-change summaries: [media](https://github.com/aceshooting/lyra-ui/blob/main/packages/lyra-ui/llms/media.md)
|
|
10
|
-
- **
|
|
11
|
-
- **Deprecated part** `label` since `8.2.3`; use part `::part(form-control-label)`; removal not before `10.0.0` — The form-control-label part follows the shared form-control vocabulary; label remains on that same node during the compatibility window. That version is a policy floor, not a plan: `wa-file-input` still publishes its own deprecated `label` part, so this alias is removed only when upstream's is.
|
|
10
|
+
- **Deprecations** none
|
|
12
11
|
- **Optional peers** none
|
|
13
|
-
- **Themeable via**
|
|
12
|
+
- **Themeable via** 20 parts, 21 custom properties — see this component's own `@csspart`/`@cssprop` list below
|
|
14
13
|
- **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
|
|
15
14
|
|
|
16
15
|
---
|
|
@@ -208,10 +207,10 @@ The semantic button describes its rendered owned error and hint in that order. A
|
|
|
208
207
|
after interaction, while a custom validity message is immediately visible and survives native form
|
|
209
208
|
reset until `resetValidity()` or `setCustomValidity('')` clears it.
|
|
210
209
|
|
|
211
|
-
**CSS parts:** `file-input` (
|
|
212
|
-
|
|
213
|
-
`
|
|
214
|
-
|
|
210
|
+
**CSS parts:** `file-input` (the native dropzone button, visually behind but semantically beside
|
|
211
|
+
the slotted content) and `form-control` (the complete form-control
|
|
212
|
+
frame), `form-control-label`, `hint`, `error`, `dropzone`, `dropzone-icon`, `dropzone-text`,
|
|
213
|
+
`input`, `file-list`, `file`, `file-thumbnail`, `file-image`, `file-icon`,
|
|
215
214
|
`file-details`, `file-name`, `file-size`, `remove-button`, `status` (a visually-hidden,
|
|
216
215
|
`aria-hidden` mirror of the drag accept/reject state and the aggregate accepted/rejected count),
|
|
217
216
|
`rejection` (a **visible** region, rendered only while a rejection exists, listing each
|
|
@@ -251,7 +250,7 @@ here exactly as they do on `lr-input`. See `llms/shared.md` → "The required-fi
|
|
|
251
250
|
|
|
252
251
|
**Themeable custom properties:** `--lr-file-input-gap` (default `var(--lr-space-xs)`) — gap between
|
|
253
252
|
the dropzone's slotted children; `--lr-file-input-radius` (default `var(--lr-radius)`) — corner
|
|
254
|
-
radius of `[part='
|
|
253
|
+
radius of `[part='file-input']`. At `size="s"` or `size="small"`,
|
|
255
254
|
`--lr-file-input-compact-padding`, `--lr-file-input-compact-gap`, and
|
|
256
255
|
`--lr-file-input-compact-font-size` optionally override the padding, content gap, and instruction
|
|
257
256
|
font size. They take precedence over the corresponding dropzone padding/font and general gap
|
|
@@ -267,7 +266,7 @@ unset, medium, or other sizes. `--lr-file-input-font-size` (default
|
|
|
267
266
|
validation error, each file's formatted size). Each documented default is the `m`/`medium` tier, and
|
|
268
267
|
each is re-declared per `size` tier — so an unset or default-size control renders exactly as before,
|
|
269
268
|
while `size="xl"` scales the dropzone coherently instead of enlarging the label alone. The drag accept/reject
|
|
270
|
-
highlight on `[part='
|
|
269
|
+
highlight on `[part='file-input'][data-drag-state='accept'|'reject']` is independently overridable too:
|
|
271
270
|
`--lr-file-input-accept-border-color` (default `var(--lr-color-success)`) and
|
|
272
271
|
`--lr-file-input-accept-bg` (default `color-mix(in srgb, var(--lr-color-success) 8%, transparent)`)
|
|
273
272
|
for the drag-accept state; `--lr-file-input-reject-border-color` (default `var(--lr-color-danger)`)
|
|
@@ -283,11 +282,11 @@ itself is unchanged), and `--lr-file-input-dropzone-hover-border-color` (default
|
|
|
283
282
|
`var(--lr-color-brand)`), which recolours the edge whether the pointer is over the button or over
|
|
284
283
|
the content stacked on it. The shared field halo `--lr-form-control-focus-shadow` (default `none`)
|
|
285
284
|
paints a `box-shadow` while the dropzone holds focus; it is additive, so the
|
|
286
|
-
`[part='
|
|
285
|
+
`[part='file-input']:focus-visible` outline is untouched. Plus shared
|
|
287
286
|
tokens — `--lr-space-xs`, `--lr-space-l`,
|
|
288
287
|
`--lr-color-border`, `--lr-color-border-subtle` (the selected-file rows' edge), `--lr-radius`,
|
|
289
288
|
`--lr-color-surface`, `--lr-color-text-quiet`,
|
|
290
|
-
`--lr-focus-ring-width/-color/-offset` (`[part="
|
|
289
|
+
`--lr-focus-ring-width/-color/-offset` (`[part="file-input"]:focus-visible` outline),
|
|
291
290
|
`--lr-opacity-disabled` (`:host([disabled])` dimming).
|
|
292
291
|
|
|
293
292
|
**Optional peer deps:** none.
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
- **Family** `components/data/` — see `llms/index.md` for its siblings
|
|
8
8
|
- **Status** `stable` since `4.0.0` — see the maturity and deprecation policy in `llms/shared.md`
|
|
9
9
|
- **Release history** [CHANGELOG.md](../../CHANGELOG.md)
|
|
10
|
-
- **
|
|
10
|
+
- **Deprecations** none
|
|
11
11
|
- **Optional peers** none
|
|
12
12
|
- **Themeable via** 12 parts, 15 custom properties — see this component's own `@csspart`/`@cssprop` list below
|
|
13
13
|
- **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
|
|
@@ -56,8 +56,7 @@ owns none of that.
|
|
|
56
56
|
|
|
57
57
|
**Events:** none — purely presentational, activation/drag/connect all live on `lr-flow-canvas`.
|
|
58
58
|
|
|
59
|
-
**Slots:** default (body content), `start` (leading header glyph
|
|
60
|
-
slot), `header` (replaces the built-in
|
|
59
|
+
**Slots:** default (body content), `start` (leading header glyph), `header` (replaces the built-in
|
|
61
60
|
heading row entirely), `toolbar` (action row at the block-end edge; revealed by hover/focus on
|
|
62
61
|
hover-capable devices and always visible with a coarse pointer or no hover; it also stays revealed
|
|
63
62
|
while an `lr-dropdown`, `lr-popover`, `lr-context-menu` or picker (`lr-select`, `lr-combobox`,
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
- **Status** `stable` since `9.0.0` — see the maturity and deprecation policy in `llms/shared.md`
|
|
9
9
|
- **Release history** [CHANGELOG.md](../../CHANGELOG.md)
|
|
10
10
|
- **Deprecations** none
|
|
11
|
-
- **Optional peers** `@aceshooting/lyra-map`, `maplibre-gl` — see `llms/peers.md`
|
|
11
|
+
- **Optional peers** `@aceshooting/lyra-map`, `dompurify`, `maplibre-gl` — see `llms/peers.md`
|
|
12
12
|
- **Themeable via** 7 parts, 1 custom property — see this component's own `@csspart`/`@cssprop` list below
|
|
13
13
|
- **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
|
|
14
14
|
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
- **Status** `stable` since `4.0.0` — see the maturity and deprecation policy in `llms/shared.md`
|
|
9
9
|
- **Release history** [CHANGELOG.md](../../CHANGELOG.md); family-wide breaking-change summaries: [retrieval](https://github.com/aceshooting/lyra-ui/blob/main/packages/lyra-ui/llms/retrieval.md)
|
|
10
10
|
- **Deprecations** none
|
|
11
|
-
- **Optional peers** `d3-drag`, `d3-force`, `d3-selection`, `d3-zoom` — see `llms/peers.md`
|
|
11
|
+
- **Optional peers** `@aceshooting/lyra-3d`, `d3-drag`, `d3-force`, `d3-selection`, `d3-zoom` — see `llms/peers.md`
|
|
12
12
|
- **Themeable via** 33 parts, 17 custom properties — see this component's own `@csspart`/`@cssprop` list below
|
|
13
13
|
- **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
|
|
14
14
|
|
|
@@ -16,6 +16,23 @@
|
|
|
16
16
|
|
|
17
17
|
## `lr-graph`
|
|
18
18
|
|
|
19
|
+
**Optional WebGL engine:** `engine: Engine3dPreference = 'builtin'` accepts `'builtin'`
|
|
20
|
+
or `'webgl'`; invalid values normalize to `'builtin'`. The 3D view lazily requests
|
|
21
|
+
`@aceshooting/lyra-3d/graph` when WebGL is selected; 2D ignores this preference. Failure falls
|
|
22
|
+
back to built-in spatial rendering and then the paginated list. Localized feedback accompanies
|
|
23
|
+
`lr-engine-fallback` with `{ from, to, reason }`; reasons are `'unavailable'`, `'unsupported'`,
|
|
24
|
+
`'context-lost'` or `'error'`.
|
|
25
|
+
|
|
26
|
+
`graphColumns: LyraGraphColumns | undefined` (property only) replaces local arrays in 3D/list;
|
|
27
|
+
`graphSource` remains authoritative. Columns support 200,000 nodes and 1,000,000 edges.
|
|
28
|
+
Required `ids` supplies string node IDs; optional Float32Array columns are `x`, `y`, `z`, `size`;
|
|
29
|
+
optional Uint16Array columns are `category`, `edgeCategory`. Required Uint32Array `source` and
|
|
30
|
+
`target` contain node indices. Optional `categories`/`labels` are string arrays. Validation
|
|
31
|
+
checks lengths, coordinates and indices; coordinates are bounded to ±10,000,000 graph units.
|
|
32
|
+
Assign a new immutable object after changes. Column edge IDs are `column-edge-${row}`.
|
|
33
|
+
Built-in/list alternatives page all admitted rows in groups of 200. Columns in 2D report invalid
|
|
34
|
+
data rather than displaying stale arrays.
|
|
35
|
+
|
|
19
36
|
A node-link diagram whose default 2D force layout uses `d3-force`. Set `view="3d"` for an
|
|
20
37
|
orbitable perspective view of real x/y/z positions, or `view="list"` for a visible, paginated
|
|
21
38
|
list of all admitted graph items. The 3D and list views require no optional peer.
|
|
@@ -60,7 +77,7 @@ units. All three must be finite own data properties; inherited or accessor-backe
|
|
|
60
77
|
read. Coordinates clamp to ±1,000,000. Missing/invalid positions receive deterministic spherical
|
|
61
78
|
placement keyed by node id, with genuine z separation. Inputs are never moved or modified. In 3D,
|
|
62
79
|
`renderer`, `layout`, `chargeStrength`, `edgeDistance` and `seed` have no effect: there is no force
|
|
63
|
-
solver, settling animation, auto-rotation or inertia.
|
|
80
|
+
solver, settling animation, auto-rotation or inertia. The built-in renderer uses original perspective math
|
|
64
81
|
and a Canvas 2D raster surface, with near-plane clipping, depth-ordered node/edge segments and
|
|
65
82
|
frontmost picking. Adaptive edge subdivision approximates crossings; this is not a mesh renderer or
|
|
66
83
|
a guarantee of perfect translucent intersections. Use modest graphs, typically low hundreds;
|
|
@@ -259,6 +276,8 @@ Enter/Space activations within 500ms — regardless of `LyraGraphNode.expandable
|
|
|
259
276
|
`lr-camera-change` (`detail: { camera: LyraGraphCamera }`, a copied immutable spatial camera after a gesture, fit or focus,
|
|
260
277
|
coalesced to one event per frame), and `lr-view-change` (`detail: { view: LyraGraphView }`, a user toolbar view switch).
|
|
261
278
|
Direct camera and view property assignments are silent.
|
|
279
|
+
With `engine="webgl"`, `lr-engine-fallback` (`detail: { from, to, reason }`, frozen; `reason` is
|
|
280
|
+
`'unavailable'`, `'unsupported'`, `'context-lost'` or `'error'`) reports each step down the fallback chain.
|
|
262
281
|
|
|
263
282
|
**Slots:** none.
|
|
264
283
|
|
|
@@ -37,7 +37,7 @@ label?: string }`. Independent of `assessment`; empty omits the whole evidence s
|
|
|
37
37
|
`span` that is `null` or not a `{ start, end }` pair of numbers is treated as absent — the
|
|
38
38
|
citation stays in the list
|
|
39
39
|
Evidence badges share one Tab stop; ArrowUp/ArrowDown/Home/End move among them. A focused badge
|
|
40
|
-
still activates and opens its preview with its existing keys.
|
|
40
|
+
still activates and opens its preview with its existing keys. Assign a new array to update; mutating an array and assigning it again does not.
|
|
41
41
|
- `thresholds: LyraScoreThresholds = { high: 0.8, medium: 0.5 }` (attribute: false) —
|
|
42
42
|
readonly `LyraScoreThresholds { high: number; medium: number }`, with both
|
|
43
43
|
0–1 fractions,
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
- **Family** `components/utility/` — see `llms/index.md` for its siblings
|
|
8
8
|
- **Status** `stable` since `4.0.0` — see the maturity and deprecation policy in `llms/shared.md`
|
|
9
9
|
- **Release history** [CHANGELOG.md](../../CHANGELOG.md)
|
|
10
|
-
- **
|
|
10
|
+
- **Deprecations** none
|
|
11
11
|
- **Optional peers** `dompurify` — see `llms/peers.md`
|
|
12
12
|
- **Themeable via** 4 parts, 44 custom properties — see this component's own `@csspart`/`@cssprop` list below
|
|
13
13
|
- **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
|
|
@@ -55,8 +55,6 @@ Pairs with `lr-icon-button` (see `llms/components/lr-icon-button.md`).
|
|
|
55
55
|
- `canvas?: 'fixed' | 'auto' | 'square' | 'roomy'` (reflected, type `LyraIconCanvas`) — sizes the
|
|
56
56
|
layout box. Unset behaves as `fixed` (1.25em × 1em); `auto` follows the SVG's intrinsic width at
|
|
57
57
|
1em high; `square` is 1.25em × 1.25em; `roomy` is 1.5em × 1.5em. All scale with `font-size`.
|
|
58
|
-
- `autoWidth: boolean = false` (attribute `auto-width`, reflected, deprecated) — compatibility
|
|
59
|
-
alias for `canvas="auto"`; an explicit `canvas` wins.
|
|
60
58
|
- `swapOpacity: boolean = false` (attribute `swap-opacity`, reflected) — swaps the primary and
|
|
61
59
|
secondary opacity hooks on SVGs that carry `.fa-primary`/`.fa-secondary` duotone layers.
|
|
62
60
|
- `animation?: LyraIconAnimation` (reflected) — one of `beat`, `fade`, `beat-fade`, `bounce`,
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
- **Status** `stable` since `4.0.0` — see the maturity and deprecation policy in `llms/shared.md`
|
|
9
9
|
- **Release history** [CHANGELOG.md](../../CHANGELOG.md); family-wide breaking-change summaries: [media](https://github.com/aceshooting/lyra-ui/blob/main/packages/lyra-ui/llms/media.md)
|
|
10
10
|
- **Deprecations** none
|
|
11
|
-
- **Optional peers**
|
|
12
|
-
- **Themeable via**
|
|
11
|
+
- **Optional peers** `@aceshooting/lyra-3d` — see `llms/peers.md`
|
|
12
|
+
- **Themeable via** 24 parts, 19 custom properties — see this component's own `@csspart`/`@cssprop` list below
|
|
13
13
|
- **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
|
|
14
14
|
|
|
15
15
|
---
|
|
@@ -21,6 +21,26 @@ landing surface for `region`-anchored citations. Distinct from `<lr-svg-viewer>`
|
|
|
21
21
|
documents) and `<lr-image-comparer>` (before/after slotted surfaces). Adopts `DocumentAnchorTarget`
|
|
22
22
|
with `anchorKinds: ['region']` only — no text selection is bound.
|
|
23
23
|
|
|
24
|
+
**Optional panorama:** `projection: LyraMediaProjection = 'flat'` accepts `'flat'` or
|
|
25
|
+
`'equirectangular'`. Set `projection="equirectangular"` and `engine="webgl"` together to request
|
|
26
|
+
spherical rendering from optional `@aceshooting/lyra-3d/panorama`. The default
|
|
27
|
+
`engine: Engine3dPreference = 'builtin'` retains flat media. Invalid values normalize to defaults.
|
|
28
|
+
Missing companion, unavailable WebGL2, errors or context loss retain native flat media with
|
|
29
|
+
localized feedback. `lr-engine-fallback` carries `{ from, to, reason }`, where reason is
|
|
30
|
+
`'unavailable'`, `'unsupported'`, `'context-lost'` or `'error'`.
|
|
31
|
+
|
|
32
|
+
`panoramaCamera: LyraPanoramaCamera` (property only) defaults to
|
|
33
|
+
`{ yaw: 0, pitch: 0, fieldOfView: 75 }`. Yaw/pitch are radians; vertical fieldOfView is degrees,
|
|
34
|
+
clamped to 20–100. Authored writes are silent. Arrow keys look around (horizontal keys honor
|
|
35
|
+
RTL), +/- zoom, and Home resets. `lr-panorama-camera-change` carries `{ camera }` after gestures
|
|
36
|
+
or keyboard changes.
|
|
37
|
+
|
|
38
|
+
`hotspots: readonly LyraPanoramaHotspot[] = []` (property only) accepts
|
|
39
|
+
`{ id, yaw, pitch, label? }`, with radians and pitch within ±π/2. Invalid rows are omitted;
|
|
40
|
+
first valid unique ID wins. Reassign after changes. A visible keyboard alternative pages 200
|
|
41
|
+
hotspots with arrows, Home/End and Previous/Next navigation. `lr-panorama-hotspot-select` carries
|
|
42
|
+
`{ hotspot, id, index }`.
|
|
43
|
+
|
|
24
44
|
Disabled fit, rotate and annotate controls retain their resting paint on hover and press. Enabled
|
|
25
45
|
controls keep their token-driven feedback.
|
|
26
46
|
|
|
@@ -67,6 +87,9 @@ which also fire for programmatic changes, `lr-annotatable-change` (`detail: { an
|
|
|
67
87
|
annotate toggle only), `lr-highlight-activate` (`detail: { highlightId }`), `lr-annotation-create` (`detail: { anchor }`, kind
|
|
68
88
|
`'region'`), `lr-anchor-result` (`detail: { found }`), and `lr-render-error` (`detail: { error
|
|
69
89
|
}`).
|
|
90
|
+
With the optional panorama, `lr-panorama-camera-change` (`detail: { camera }`, after a user gesture or
|
|
91
|
+
keyboard change), `lr-panorama-hotspot-select` (`detail: { hotspot, id, index }`) and
|
|
92
|
+
`lr-engine-fallback` (`detail: { from, to, reason }`) are emitted; none is cancelable.
|
|
70
93
|
|
|
71
94
|
`lr-text-select` is not part of this raster viewer's event contract because it binds no selectable
|
|
72
95
|
text.
|
|
@@ -78,6 +101,10 @@ embedded `lr-pan-zoom`), forwarded aliases `frame-viewport`, `frame-content`, `f
|
|
|
78
101
|
`annotation-box`, `error`, and `anchor-live-region` (an aria-hidden, non-live shadow mirror of the
|
|
79
102
|
latest anchor-jump message; the spoken copy is appended to the shared document-level polite sink
|
|
80
103
|
only while the viewer and its composed ancestors are exposed to the accessibility tree).
|
|
104
|
+
Panorama parts (with `projection="equirectangular"`): `panorama` (the keyboard-operable spherical
|
|
105
|
+
viewport), `panorama-engine` (the optional renderer container), `panorama-notice` (localized
|
|
106
|
+
renderer loading or fallback feedback), `panorama-hotspots` (the paginated hotspot alternative)
|
|
107
|
+
with one `panorama-hotspot` button per hotspot, and `panorama-page` (a hotspot page action).
|
|
81
108
|
|
|
82
109
|
`error` is ordinary localized visible text, not a shadow live region. A fresh post-mount image
|
|
83
110
|
failure or transition to an unsafe source appends the localized message to the document's
|
|
@@ -50,7 +50,7 @@ embeddedChunkCount?: number; attempts?: number; error?: string }` (exported here
|
|
|
50
50
|
`error` renders only while `stage === 'failed'`. A missing or unrecognized runtime stage renders
|
|
51
51
|
as a localized neutral `unknown` state with no progress, retry, or cancel affordance, allowing a
|
|
52
52
|
newer backend stage to fail safely. A blank `document.name` shows the localized "untitled source"
|
|
53
|
-
in the row and its retry/cancel names. Controlled — pass a new array to update
|
|
53
|
+
in the row and its retry/cancel names. Controlled — pass a new array to update; mutating an array and assigning it again does not.
|
|
54
54
|
- `label?: string` — fallback name for the stable region; omission uses localized
|
|
55
55
|
`ingestionQueueLabel`. A non-empty host `aria-label` makes the host the sole overall owner (the
|
|
56
56
|
region omits its duplicate role/name); an explicitly empty host label stays empty
|