@aceshooting/lyra-ui 29.0.2 → 29.1.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 +37 -0
- package/README.md +19 -26
- package/design-tokens.json +1 -1
- package/dist/cli/migrate-wa.mjs +2 -0
- package/dist/components/agent-tools/activity-feed/activity-feed.class.d.ts +5 -3
- package/dist/components/agent-tools/activity-feed/activity-feed.class.js +4 -3
- package/dist/components/agent-tools/activity-feed/activity-feed.styles.js +1 -1
- package/dist/components/agent-tools/agent-trace/agent-trace.class.d.ts +21 -5
- package/dist/components/agent-tools/agent-trace/agent-trace.class.js +14 -11
- package/dist/components/agent-tools/agent-trace/agent-trace.styles.js +1 -1
- package/dist/components/agent-tools/confirm-bar/confirm-bar.class.js +2 -2
- package/dist/components/agent-tools/eval-dataset/eval-dataset.class.d.ts +34 -7
- package/dist/components/agent-tools/eval-dataset/eval-dataset.class.js +25 -11
- package/dist/components/agent-tools/eval-result/eval-result-source.js +1 -0
- package/dist/components/agent-tools/eval-result/eval-result.class.d.ts +31 -11
- package/dist/components/agent-tools/eval-result/eval-result.class.js +29 -15
- package/dist/components/agent-tools/eval-result/eval-result.styles.js +1 -1
- package/dist/components/agent-tools/eval-result/eval-run-result.d.ts +10 -0
- package/dist/components/agent-tools/span-waterfall/span-waterfall.class.d.ts +26 -5
- package/dist/components/agent-tools/span-waterfall/span-waterfall.class.js +16 -6
- package/dist/components/agent-tools/span-waterfall/span-waterfall.d.ts +1 -1
- package/dist/components/agent-tools/span-waterfall/span-waterfall.js +1 -1
- package/dist/components/agent-tools/span-waterfall/span-waterfall.styles.js +1 -1
- package/dist/components/agent-tools/task-list/task-list.class.d.ts +29 -6
- package/dist/components/agent-tools/task-list/task-list.class.js +13 -7
- package/dist/components/agent-tools/task-list/task-list.d.ts +1 -1
- package/dist/components/agent-tools/task-list/task-list.js +1 -1
- package/dist/components/agent-tools/task-list/task-list.styles.js +1 -1
- package/dist/components/agent-tools/terminal/terminal.class.d.ts +9 -5
- package/dist/components/agent-tools/terminal/terminal.class.js +8 -8
- package/dist/components/agent-tools/test-results/test-results.class.d.ts +16 -4
- package/dist/components/agent-tools/test-results/test-results.class.js +15 -6
- package/dist/components/agent-tools/test-results/test-results.d.ts +1 -0
- package/dist/components/agent-tools/test-results/test-results.js +1 -1
- package/dist/components/agent-tools/test-results/test-results.styles.js +1 -1
- package/dist/components/agent-tools/tool-timeline/tool-timeline.class.d.ts +7 -4
- package/dist/components/agent-tools/tool-timeline/tool-timeline.class.js +2 -1
- package/dist/components/agent-tools/trace-tree/span-projection.js +1 -0
- package/dist/components/agent-tools/trace-tree/span-shared.d.ts +29 -0
- package/dist/components/agent-tools/trace-tree/span-shared.js +1 -0
- package/dist/components/agent-tools/trace-tree/span.d.ts +5 -35
- package/dist/components/agent-tools/trace-tree/span.js +1 -1
- package/dist/components/agent-tools/trace-tree/trace-tree.class.d.ts +27 -5
- package/dist/components/agent-tools/trace-tree/trace-tree.class.js +19 -9
- package/dist/components/agent-tools/trace-tree/trace-tree.d.ts +1 -1
- package/dist/components/agent-tools/trace-tree/trace-tree.js +1 -1
- package/dist/components/agent-tools/trace-tree/trace-tree.styles.js +1 -1
- package/dist/components/charts/chart/bar-chart.class.d.ts +5 -1
- package/dist/components/charts/chart/box-plot.class.d.ts +2 -2
- package/dist/components/charts/chart/box-plot.class.js +3 -3
- package/dist/components/charts/chart/bubble-chart.class.d.ts +5 -1
- package/dist/components/charts/chart/chart-prepared-data.d.ts +9 -0
- package/dist/components/charts/chart/chart-prepared-data.js +1 -0
- package/dist/components/charts/chart/chart-spatial-data.js +2 -0
- package/dist/components/charts/chart/chart-sync.js +1 -1
- package/dist/components/charts/chart/chart-table-sampling.js +1 -1
- package/dist/components/charts/chart/chart.class.d.ts +56 -6
- package/dist/components/charts/chart/chart.class.js +18 -8
- package/dist/components/charts/chart/chart.styles.js +1 -1
- package/dist/components/charts/chart/doughnut-chart.class.d.ts +5 -1
- package/dist/components/charts/chart/histogram-buckets.d.ts +1 -1
- package/dist/components/charts/chart/histogram-buckets.js +1 -1
- package/dist/components/charts/chart/histogram.class.d.ts +19 -4
- package/dist/components/charts/chart/histogram.class.js +1 -1
- package/dist/components/charts/chart/line-chart.class.d.ts +5 -1
- package/dist/components/charts/chart/lite-chart.class.d.ts +51 -11
- package/dist/components/charts/chart/lite-chart.class.js +33 -27
- package/dist/components/charts/chart/lite-chart.styles.js +1 -1
- package/dist/components/charts/chart/pie-chart.class.d.ts +5 -1
- package/dist/components/charts/chart/polar-area-chart.class.d.ts +5 -1
- package/dist/components/charts/chart/radar-chart.class.d.ts +5 -1
- package/dist/components/charts/chart/scatter-chart.class.d.ts +5 -1
- package/dist/components/conversation/agent-workspace/agent-workspace.class.d.ts +6 -3
- package/dist/components/conversation/agent-workspace/agent-workspace.class.js +6 -5
- package/dist/components/conversation/agent-workspace/agent-workspace.styles.js +1 -1
- package/dist/components/conversation/chat-viewport/chat-viewport.class.d.ts +8 -0
- package/dist/components/conversation/chat-viewport/chat-viewport.class.js +1 -1
- package/dist/components/conversation/code-block/code-block-base.class.d.ts +5 -3
- package/dist/components/conversation/code-block/code-block-base.class.js +1 -1
- package/dist/components/conversation/code-block/code-block-core.class.d.ts +4 -1
- package/dist/components/conversation/code-block/code-block-core.class.js +1 -1
- package/dist/components/conversation/code-block/code-block-shared.d.ts +6 -4
- package/dist/components/conversation/code-block/code-block-shared.js +3 -2
- package/dist/components/conversation/code-block/code-block.class.d.ts +11 -4
- package/dist/components/conversation/code-block/code-block.class.js +1 -1
- package/dist/components/conversation/code-block/code-block.d.ts +1 -1
- package/dist/components/conversation/code-block/code-block.styles.js +1 -1
- package/dist/components/conversation/code-block/shiki-types.d.ts +2 -0
- package/dist/components/conversation/code-block/shiki-types.js +1 -1
- package/dist/components/conversation/markdown/markdown-base.class.d.ts +6 -4
- package/dist/components/conversation/markdown/markdown-base.class.js +1 -1
- package/dist/components/conversation/markdown/markdown-code-header.d.ts +2 -2
- package/dist/components/conversation/markdown/markdown-code-header.js +1 -1
- package/dist/components/conversation/markdown/markdown-core.class.d.ts +8 -3
- package/dist/components/conversation/markdown/markdown-progressive.js +2 -2
- package/dist/components/conversation/markdown/markdown-shared.d.ts +5 -10
- package/dist/components/conversation/markdown/markdown-shared.js +5 -5
- package/dist/components/conversation/markdown/markdown-streaming-tail.js +1 -1
- package/dist/components/conversation/markdown/markdown.class.d.ts +17 -10
- package/dist/components/conversation/markdown/markdown.class.js +1 -1
- package/dist/components/conversation/markdown/markdown.styles.js +1 -1
- package/dist/components/conversation/model-select/model-select.class.d.ts +4 -3
- package/dist/components/conversation/model-select/model-select.class.js +3 -2
- package/dist/components/conversation/model-select/model-select.styles.js +1 -1
- package/dist/components/conversation/model-settings-panel/model-settings-panel.class.d.ts +2 -1
- package/dist/components/conversation/model-settings-panel/model-settings-panel.class.js +2 -1
- package/dist/components/conversation/model-settings-panel/model-settings-panel.styles.js +1 -1
- package/dist/components/conversation/prompt-input/prompt-input.class.d.ts +3 -2
- package/dist/components/conversation/prompt-input/prompt-input.class.js +2 -1
- package/dist/components/conversation/prompt-input/prompt-input.styles.js +1 -1
- package/dist/components/conversation/prompt-queue/prompt-queue.class.d.ts +10 -2
- package/dist/components/conversation/prompt-queue/prompt-queue.class.js +15 -6
- package/dist/components/conversation/prompt-queue/prompt-queue.styles.js +1 -1
- package/dist/components/conversation/realtime-session/realtime-session.class.d.ts +3 -1
- package/dist/components/conversation/realtime-session/realtime-session.class.js +2 -1
- package/dist/components/conversation/realtime-session/realtime-session.styles.js +1 -1
- package/dist/components/conversation/streaming-text/markdown-detection.d.ts +2 -0
- package/dist/components/conversation/streaming-text/markdown-detection.js +4 -1
- package/dist/components/conversation/streaming-text/streaming-text-base.class.d.ts +6 -2
- package/dist/components/conversation/streaming-text/streaming-text-base.class.js +3 -3
- package/dist/components/conversation/streaming-text/streaming-text-core.class.js +1 -1
- package/dist/components/conversation/streaming-text/streaming-text.class.js +1 -0
- package/dist/components/conversation/thread-list/thread-list.class.d.ts +34 -4
- package/dist/components/conversation/thread-list/thread-list.class.js +22 -15
- package/dist/components/conversation/thread-list/thread-list.d.ts +1 -1
- package/dist/components/conversation/thread-list/thread-list.js +1 -1
- package/dist/components/conversation/thread-list/thread-list.styles.js +1 -1
- package/dist/components/conversation/transcript-feed/transcript-feed.class.d.ts +6 -2
- package/dist/components/conversation/transcript-feed/transcript-feed.class.js +3 -2
- package/dist/components/conversation/transcript-feed/transcript-feed.styles.js +1 -1
- package/dist/components/conversation/voice-picker/voice-picker.class.d.ts +3 -2
- package/dist/components/conversation/voice-picker/voice-picker.class.js +3 -2
- package/dist/components/conversation/voice-picker/voice-picker.styles.js +1 -1
- package/dist/components/data/calendar/calendar.class.d.ts +5 -2
- package/dist/components/data/calendar/calendar.class.js +1 -1
- package/dist/components/data/data-grid/data-grid-processing.js +2 -2
- package/dist/components/data/data-grid/data-grid.class.d.ts +22 -8
- package/dist/components/data/data-grid/data-grid.class.js +20 -19
- package/dist/components/data/data-grid/data-grid.styles.js +1 -1
- package/dist/components/data/document-library/document-library.class.d.ts +31 -4
- package/dist/components/data/document-library/document-library.class.js +25 -12
- package/dist/components/data/document-library/document-library.styles.js +1 -1
- package/dist/components/data/file-tree/file-tree.class.d.ts +30 -6
- package/dist/components/data/file-tree/file-tree.class.js +4 -3
- package/dist/components/data/file-tree/file-tree.d.ts +1 -0
- package/dist/components/data/file-tree/file-tree.js +1 -1
- package/dist/components/data/flow-canvas/flow-canvas.class.d.ts +31 -6
- package/dist/components/data/flow-canvas/flow-canvas.class.js +40 -19
- package/dist/components/data/flow-canvas/flow-canvas.styles.js +1 -1
- package/dist/components/data/flow-canvas/flow-model.js +1 -1
- package/dist/components/data/flow-canvas/flow-source.js +1 -0
- package/dist/components/data/flow-canvas/flow-types.d.ts +4 -2
- package/dist/components/data/flow-canvas/flow-viewport-index.js +1 -0
- package/dist/components/data/flow-minimap/flow-minimap.class.d.ts +9 -3
- package/dist/components/data/flow-minimap/flow-minimap.class.js +11 -2
- package/dist/components/data/flow-minimap/flow-minimap.styles.js +1 -1
- package/dist/components/data/funnel/funnel.class.d.ts +7 -3
- package/dist/components/data/funnel/funnel.class.js +2 -2
- package/dist/components/data/heatmap/calendar-grid.d.ts +1 -1
- package/dist/components/data/heatmap/calendar-grid.js +1 -1
- package/dist/components/data/heatmap/heatmap-grid-navigation.js +1 -1
- package/dist/components/data/heatmap/heatmap-limits.d.ts +1 -1
- package/dist/components/data/heatmap/heatmap-matrix-source-controller.js +1 -0
- package/dist/components/data/heatmap/heatmap-matrix-source.d.ts +5 -0
- package/dist/components/data/heatmap/heatmap-matrix-source.js +1 -0
- package/dist/components/data/heatmap/heatmap-scale.d.ts +0 -16
- package/dist/components/data/heatmap/heatmap-scale.js +1 -1
- package/dist/components/data/heatmap/heatmap.class.d.ts +40 -11
- package/dist/components/data/heatmap/heatmap.class.js +26 -6
- package/dist/components/data/heatmap/heatmap.styles.js +1 -1
- package/dist/components/data/pagination/pagination.class.js +1 -1
- package/dist/components/data/sequence-strip/sequence-strip-item.d.ts +17 -0
- package/dist/components/data/sequence-strip/sequence-strip-source-controller.js +1 -0
- package/dist/components/data/sequence-strip/sequence-strip-source.d.ts +5 -0
- package/dist/components/data/sequence-strip/sequence-strip-source.js +1 -0
- package/dist/components/data/sequence-strip/sequence-strip.class.d.ts +24 -19
- package/dist/components/data/sequence-strip/sequence-strip.class.js +23 -4
- package/dist/components/data/sequence-strip/sequence-strip.styles.js +1 -1
- package/dist/components/data/sparkline/sparkline.class.d.ts +17 -4
- package/dist/components/data/sparkline/sparkline.class.js +3 -3
- package/dist/components/data/sparkline/sparkline.styles.js +1 -1
- package/dist/components/data/table/table.class.d.ts +14 -10
- package/dist/components/data/table/table.class.js +17 -16
- package/dist/components/data/timeline/timeline.class.d.ts +5 -2
- package/dist/components/data/timeline/timeline.class.js +1 -1
- package/dist/components/data/tree/tree-item.class.js +1 -1
- package/dist/components/data/tree/tree-owner-controller.js +1 -1
- package/dist/components/data/tree/tree.class.d.ts +28 -6
- package/dist/components/data/tree/tree.class.js +3 -3
- package/dist/components/data/tree/tree.d.ts +1 -0
- package/dist/components/data/tree/tree.js +1 -1
- package/dist/components/data/word-cloud/word-cloud.class.d.ts +17 -7
- package/dist/components/data/word-cloud/word-cloud.class.js +6 -4
- package/dist/components/data/word-cloud/word-cloud.styles.js +1 -1
- package/dist/components/forms/catalog-picker-base.d.ts +1 -1
- package/dist/components/forms/catalog-picker-base.js +6 -6
- package/dist/components/forms/catalog-picker-base.styles.js +1 -1
- package/dist/components/forms/combobox/combobox.class.d.ts +7 -3
- package/dist/components/forms/combobox/combobox.class.js +1 -1
- package/dist/components/forms/combobox/option.class.d.ts +4 -2
- package/dist/components/forms/combobox/option.class.js +2 -2
- package/dist/components/forms/country-picker/country-picker.class.d.ts +3 -1
- package/dist/components/forms/country-picker/country-picker.class.js +1 -1
- package/dist/components/forms/currency-picker/currency-picker.class.d.ts +2 -0
- package/dist/components/forms/currency-picker/currency-picker.class.js +1 -1
- package/dist/components/forms/currency-picker/currency-presentation.js +1 -1
- package/dist/components/forms/emoji-picker/emoji-picker.class.d.ts +6 -2
- package/dist/components/forms/emoji-picker/emoji-picker.class.js +3 -2
- package/dist/components/forms/emoji-picker/emoji-picker.styles.js +1 -1
- package/dist/components/forms/locale-picker/locale-picker.class.d.ts +8 -2
- package/dist/components/forms/locale-picker/locale-picker.class.js +5 -4
- package/dist/components/forms/locale-picker/locale-picker.styles.js +1 -1
- package/dist/components/forms/select/select.class.d.ts +11 -3
- package/dist/components/forms/select/select.class.js +4 -4
- package/dist/components/forms/time-zone-picker/time-zone-picker.class.d.ts +2 -0
- package/dist/components/forms/time-zone-picker/time-zone-picker.class.js +1 -1
- package/dist/components/forms/token-input/token-input.class.d.ts +6 -1
- package/dist/components/forms/token-input/token-input.class.js +15 -13
- package/dist/components/forms/unit-picker/unit-picker.class.d.ts +2 -0
- package/dist/components/forms/unit-picker/unit-picker.class.js +1 -1
- package/dist/components/layout/app-rail/app-rail.class.d.ts +1 -1
- package/dist/components/layout/app-rail/app-rail.class.js +1 -1
- package/dist/components/layout/command-palette/command-palette.class.d.ts +5 -2
- package/dist/components/layout/command-palette/command-palette.class.js +2 -1
- package/dist/components/layout/command-palette/command-palette.styles.js +1 -1
- package/dist/components/layout/menu/menu-item.class.d.ts +2 -2
- package/dist/components/layout/menu/menu-item.class.js +2 -2
- package/dist/components/layout/menu/menu.class.d.ts +1 -1
- package/dist/components/layout/menu/menu.class.js +1 -1
- package/dist/components/layout/menubar/menubar.class.d.ts +1 -1
- package/dist/components/layout/menubar/menubar.class.js +1 -1
- package/dist/components/layout/reorder-list/reorder-item.class.d.ts +2 -2
- package/dist/components/layout/reorder-list/reorder-item.class.js +2 -2
- package/dist/components/layout/reorder-list/reorder-list.class.d.ts +1 -1
- package/dist/components/layout/reorder-list/reorder-list.class.js +1 -1
- package/dist/components/layout/virtual-list/virtual-list.class.d.ts +13 -9
- package/dist/components/layout/virtual-list/virtual-list.class.js +21 -17
- package/dist/components/media/av-player/av-cue-index.js +1 -0
- package/dist/components/media/av-player/av-cue-source.d.ts +13 -0
- package/dist/components/media/av-player/av-cue-source.js +1 -0
- package/dist/components/media/av-player/av-metadata.d.ts +2 -2
- package/dist/components/media/av-player/av-metadata.js +1 -1
- package/dist/components/media/av-player/av-player-cue-source-controller.js +1 -0
- package/dist/components/media/av-player/av-player.class.d.ts +34 -12
- package/dist/components/media/av-player/av-player.class.js +15 -10
- package/dist/components/media/flag/flag.class.js +1 -1
- package/dist/components/media/flag/language-map.js +1 -1
- package/dist/components/media/lightbox/lightbox-source.js +1 -0
- package/dist/components/media/lightbox/lightbox-types.d.ts +15 -0
- package/dist/components/media/lightbox/lightbox.class.d.ts +22 -21
- package/dist/components/media/lightbox/lightbox.class.js +6 -4
- package/dist/components/media/lightbox/lightbox.styles.js +1 -1
- package/dist/components/media/map/map-geojson-diff.d.ts +6 -6
- package/dist/components/media/map/map-geojson-diff.js +1 -1
- package/dist/components/media/map/map-loader.d.ts +5 -1
- package/dist/components/media/map/map.class.d.ts +24 -6
- package/dist/components/media/map/map.class.js +2 -2
- package/dist/components/media/map/map.styles.js +1 -1
- package/dist/components/media/video-playlist/video-playlist.class.d.ts +2 -1
- package/dist/components/media/video-playlist/video-playlist.class.js +1 -1
- package/dist/components/overlays/chip/chip.class.d.ts +1 -1
- package/dist/components/overlays/chip/chip.class.js +1 -1
- package/dist/components/retrieval/embedding-explorer/embedding-explorer.class.d.ts +30 -8
- package/dist/components/retrieval/embedding-explorer/embedding-explorer.class.js +22 -8
- package/dist/components/retrieval/embedding-explorer/embedding-explorer.styles.js +1 -1
- package/dist/components/retrieval/graph/graph-canvas.js +1 -1
- package/dist/components/retrieval/graph/graph-source-composition.js +1 -0
- package/dist/components/retrieval/graph/graph-source-controller.js +1 -0
- package/dist/components/retrieval/graph/graph-spatial-controller.js +2 -2
- package/dist/components/retrieval/graph/graph-spatial-model.js +1 -0
- package/dist/components/retrieval/graph/graph-spatial.js +1 -1
- package/dist/components/retrieval/graph/graph.class.d.ts +31 -6
- package/dist/components/retrieval/graph/graph.class.js +26 -5
- package/dist/components/retrieval/graph/graph.d.ts +1 -1
- package/dist/components/retrieval/graph/graph.js +1 -1
- package/dist/components/retrieval/graph/graph.styles.js +1 -1
- package/dist/components/retrieval/ingestion-queue/ingestion-queue.class.d.ts +33 -4
- package/dist/components/retrieval/ingestion-queue/ingestion-queue.class.js +27 -17
- package/dist/components/retrieval/ingestion-queue/ingestion-queue.d.ts +1 -1
- package/dist/components/retrieval/ingestion-queue/ingestion-queue.js +1 -1
- package/dist/components/retrieval/ingestion-queue/ingestion-queue.styles.js +1 -1
- package/dist/components/retrieval/knowledge-base/knowledge-base.class.d.ts +27 -4
- package/dist/components/retrieval/knowledge-base/knowledge-base.class.js +29 -14
- package/dist/components/retrieval/knowledge-base/knowledge-base.styles.js +1 -1
- package/dist/components/retrieval/knowledge-base-admin/knowledge-base-admin.class.d.ts +17 -3
- package/dist/components/retrieval/knowledge-base-admin/knowledge-base-admin.class.js +15 -10
- package/dist/components/retrieval/knowledge-base-admin/knowledge-base-admin.styles.js +1 -1
- package/dist/components/retrieval/knowledge-graph-explorer/knowledge-graph-explorer.class.d.ts +24 -5
- package/dist/components/retrieval/knowledge-graph-explorer/knowledge-graph-explorer.class.js +17 -10
- package/dist/components/retrieval/knowledge-graph-explorer/knowledge-graph-explorer.d.ts +1 -1
- package/dist/components/retrieval/knowledge-graph-explorer/knowledge-graph-explorer.js +1 -1
- package/dist/components/retrieval/knowledge-graph-explorer/knowledge-graph-explorer.styles.js +1 -1
- package/dist/components/retrieval/mind-map/mind-map-layout.js +1 -1
- package/dist/components/retrieval/mind-map/mind-map-model.js +1 -0
- package/dist/components/retrieval/mind-map/mind-map.class.d.ts +27 -4
- package/dist/components/retrieval/mind-map/mind-map.class.js +11 -7
- package/dist/components/retrieval/mind-map/mind-map.d.ts +1 -0
- package/dist/components/retrieval/mind-map/mind-map.js +1 -1
- package/dist/components/retrieval/mind-map/mind-map.styles.js +1 -1
- package/dist/components/retrieval/neighbor-list/neighbor-list.class.d.ts +24 -2
- package/dist/components/retrieval/neighbor-list/neighbor-list.class.js +17 -3
- package/dist/components/retrieval/neighbor-list/neighbor-list.d.ts +1 -1
- package/dist/components/retrieval/neighbor-list/neighbor-list.js +1 -1
- package/dist/components/retrieval/neighbor-list/neighbor-list.styles.js +1 -1
- package/dist/components/retrieval/rag-eval-dashboard/rag-eval-dashboard.class.d.ts +8 -4
- package/dist/components/retrieval/rag-eval-dashboard/rag-eval-dashboard.class.js +11 -7
- package/dist/components/retrieval/rag-eval-dashboard/rag-eval-dashboard.styles.js +1 -1
- package/dist/components/retrieval/retrieval-compare/retrieval-compare.class.d.ts +12 -6
- package/dist/components/retrieval/retrieval-compare/retrieval-compare.class.js +30 -17
- package/dist/components/retrieval/retrieval-compare/retrieval-compare.styles.js +1 -1
- package/dist/components/retrieval/retrieval-results/retrieval-results-model.js +1 -0
- package/dist/components/retrieval/retrieval-results/retrieval-results.class.d.ts +46 -5
- package/dist/components/retrieval/retrieval-results/retrieval-results.class.js +31 -9
- package/dist/components/retrieval/retrieval-results/retrieval-results.d.ts +1 -1
- package/dist/components/retrieval/retrieval-results/retrieval-results.js +1 -1
- package/dist/components/retrieval/retrieval-results/retrieval-results.styles.js +1 -1
- package/dist/components/utility/diff-view/diff-view.class.d.ts +16 -8
- package/dist/components/utility/diff-view/diff-view.class.js +3 -2
- package/dist/components/utility/diff-view/diff-view.styles.js +1 -1
- package/dist/components/utility/json-viewer/json-viewer.class.d.ts +31 -3
- package/dist/components/utility/json-viewer/json-viewer.class.js +13 -4
- package/dist/components/utility/json-viewer/json-viewer.d.ts +1 -0
- package/dist/components/utility/json-viewer/json-viewer.js +1 -1
- package/dist/components/utility/json-viewer/json-viewer.styles.js +1 -1
- package/dist/components/utility/mention-popover/mention-popover.class.d.ts +6 -4
- package/dist/components/utility/mention-popover/mention-popover.class.js +6 -5
- package/dist/components/viewers/csv-viewer/csv-viewer.class.d.ts +34 -7
- package/dist/components/viewers/csv-viewer/csv-viewer.class.js +9 -7
- package/dist/components/viewers/dataset-viewer/dataset-viewer.class.d.ts +28 -4
- package/dist/components/viewers/dataset-viewer/dataset-viewer.class.js +12 -11
- package/dist/components/viewers/geojson-view/geojson-viewer.class.d.ts +3 -1
- package/dist/components/viewers/geojson-view/geojson-viewer.class.js +17 -16
- package/dist/components/viewers/geojson-view/geojson-viewer.d.ts +1 -1
- package/dist/components/viewers/geojson-view/geojson-viewer.js +1 -1
- package/dist/components/viewers/spreadsheet-viewer/spreadsheet-viewer.class.d.ts +31 -5
- package/dist/components/viewers/spreadsheet-viewer/spreadsheet-viewer.class.js +11 -8
- package/dist/components/viewers/table-viewer-shared.js +19 -3
- package/dist/components/viewers/viewer-search-limits.js +1 -1
- package/dist/components/viewers/xml-viewer/xml-viewer.class.d.ts +35 -3
- package/dist/components/viewers/xml-viewer/xml-viewer.class.js +20 -5
- package/dist/components/viewers/xml-viewer/xml-viewer.d.ts +1 -1
- package/dist/components/viewers/xml-viewer/xml-viewer.js +1 -1
- package/dist/components/viewers/xml-viewer/xml-viewer.styles.js +1 -1
- package/dist/countries.js +1 -1
- package/dist/data-sources.d.ts +34 -0
- package/dist/data-sources.js +1 -0
- package/dist/events.d.ts +51 -7
- package/dist/framework-types.d.ts +1 -1
- package/dist/internal/accessibility-visibility.d.ts +4 -2
- package/dist/internal/accessibility-visibility.js +1 -1
- package/dist/internal/accessible-text-controller.js +1 -1
- package/dist/internal/anchor-target.js +2 -2
- package/dist/internal/catalog-picker.d.ts +1 -7
- package/dist/internal/catalog-picker.js +1 -1
- package/dist/internal/collection-snapshot.js +1 -1
- 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/data.generated.js +1 -1
- package/dist/internal/default-strings/forms.generated.js +1 -1
- package/dist/internal/default-strings/layout.generated.js +1 -1
- package/dist/internal/default-strings/media.generated.js +1 -1
- package/dist/internal/default-strings/retrieval.generated.js +1 -1
- package/dist/internal/default-strings/shared.generated.js +1 -1
- package/dist/internal/default-strings/utility.generated.js +1 -1
- package/dist/internal/delimited-data.js +1 -1
- package/dist/internal/fixed-containing-block.js +1 -1
- package/dist/internal/flow-scene-envelope.js +1 -0
- package/dist/internal/graph-scene-controller.js +1 -0
- package/dist/internal/hierarchy-source-controller.js +1 -0
- package/dist/internal/hierarchy-source-view.js +29 -0
- package/dist/internal/hierarchy-source-view.styles.js +1 -0
- package/dist/internal/inherited-attribute-hub.d.ts +6 -0
- package/dist/internal/inherited-attribute-hub.js +1 -1
- package/dist/internal/intl-cache.js +1 -1
- package/dist/internal/keyed-index.js +1 -0
- package/dist/internal/localization-types.d.ts +1 -1
- package/dist/internal/localization.js +2 -2
- package/dist/internal/lyra-element.d.ts +2 -2
- package/dist/internal/lyra-element.js +3 -2
- package/dist/internal/native-modal-context.js +1 -1
- package/dist/internal/option-selection.js +1 -1
- package/dist/internal/package-metadata.js +1 -1
- package/dist/internal/positioner.js +1 -1
- package/dist/internal/resource-loader.d.ts +2 -0
- package/dist/internal/resource-loader.js +1 -1
- package/dist/internal/scoped-definitions.generated.js +1 -1
- package/dist/internal/search-haystack.js +1 -0
- package/dist/internal/selection-catalog.d.ts +5 -0
- package/dist/internal/selection-catalog.js +1 -1
- package/dist/internal/shiki-language-sources.js +1 -0
- package/dist/internal/source-page-controller.js +1 -0
- package/dist/internal/source-page-scope.js +1 -0
- package/dist/internal/source-request-controller.js +1 -0
- package/dist/internal/source-window-controller.js +1 -0
- package/dist/internal/spatial-source-controller.js +1 -0
- package/dist/internal/text-quote.d.ts +2 -6
- package/dist/internal/text-quote.js +1 -1
- package/dist/internal/theme-watcher.js +1 -1
- package/dist/internal/virtual-list-composition.js +1 -0
- package/dist/lyra.d.ts +1 -1
- package/dist/lyra.js +1 -1
- package/dist/testing/interaction-drivers.js +1 -1
- package/dist/testing/lyra-tag-event-map.js +1 -1
- package/dist/units.js +1 -1
- package/dist/utilities/data-preparation.d.ts +56 -0
- package/dist/utilities/data-preparation.js +1 -0
- package/dist/utilities/data-spatial.d.ts +26 -0
- package/dist/utilities/data-spatial.js +1 -0
- package/dist/utilities/index.d.ts +1 -1
- package/dist/utilities/index.js +1 -1
- package/llms/components/lr-activity-feed.md +7 -2
- package/llms/components/lr-agent-trace.md +49 -9
- package/llms/components/lr-agent-workspace.md +15 -8
- package/llms/components/lr-av-player.md +180 -10
- package/llms/components/lr-bar-chart.md +1 -1
- package/llms/components/lr-box-plot.md +8 -0
- package/llms/components/lr-bubble-chart.md +1 -1
- package/llms/components/lr-calendar.md +26 -3
- package/llms/components/lr-chart.md +310 -23
- package/llms/components/lr-chat-viewport.md +6 -0
- package/llms/components/lr-code-block-core.md +12 -7
- package/llms/components/lr-code-block.md +23 -9
- package/llms/components/lr-combobox.md +27 -15
- package/llms/components/lr-command-palette.md +16 -3
- package/llms/components/lr-country-picker.md +23 -6
- package/llms/components/lr-csv-viewer.md +95 -12
- package/llms/components/lr-currency-picker.md +23 -3
- package/llms/components/lr-data-grid.md +24 -6
- package/llms/components/lr-dataset-viewer.md +92 -11
- package/llms/components/lr-dialog.md +1 -1
- package/llms/components/lr-diff-view.md +19 -6
- package/llms/components/lr-document-library.md +60 -5
- package/llms/components/lr-doughnut-chart.md +1 -1
- package/llms/components/lr-embedding-explorer.md +89 -9
- package/llms/components/lr-emoji-picker.md +7 -2
- package/llms/components/lr-eval-dataset.md +56 -7
- package/llms/components/lr-eval-result.md +89 -4
- package/llms/components/lr-export-button.md +1 -1
- package/llms/components/lr-file-tree.md +60 -6
- package/llms/components/lr-flag.md +5 -2
- package/llms/components/lr-flow-canvas.md +152 -14
- package/llms/components/lr-flow-minimap.md +32 -4
- package/llms/components/lr-funnel.md +14 -0
- package/llms/components/lr-geojson-viewer.md +27 -10
- package/llms/components/lr-graph.md +43 -7
- package/llms/components/lr-heatmap.md +161 -5
- package/llms/components/lr-histogram.md +55 -9
- package/llms/components/lr-ingestion-queue.md +54 -3
- package/llms/components/lr-json-viewer.md +87 -7
- package/llms/components/lr-knowledge-base-admin.md +60 -4
- package/llms/components/lr-knowledge-base.md +121 -9
- package/llms/components/lr-knowledge-graph-explorer.md +106 -11
- package/llms/components/lr-lightbox.md +42 -6
- package/llms/components/lr-line-chart.md +28 -5
- package/llms/components/lr-lite-chart.md +96 -31
- package/llms/components/lr-locale-picker.md +6 -4
- package/llms/components/lr-map.md +67 -8
- package/llms/components/lr-markdown-core.md +10 -5
- package/llms/components/lr-markdown.md +23 -6
- package/llms/components/lr-mention-popover.md +11 -6
- package/llms/components/lr-mind-map.md +91 -10
- package/llms/components/lr-model-select.md +8 -4
- package/llms/components/lr-model-settings-panel.md +10 -2
- package/llms/components/lr-navigation-menu.md +1 -1
- package/llms/components/lr-neighbor-list.md +69 -2
- package/llms/components/lr-pie-chart.md +1 -1
- package/llms/components/lr-polar-area-chart.md +1 -1
- package/llms/components/lr-prompt-input.md +9 -2
- package/llms/components/lr-prompt-queue.md +11 -3
- package/llms/components/lr-radar-chart.md +1 -1
- package/llms/components/lr-rag-eval-dashboard.md +9 -2
- package/llms/components/lr-realtime-session.md +6 -2
- package/llms/components/lr-reorder-list.md +4 -0
- package/llms/components/lr-retrieval-compare.md +9 -4
- package/llms/components/lr-retrieval-results.md +104 -6
- package/llms/components/lr-scatter-chart.md +1 -1
- package/llms/components/lr-select.md +20 -10
- package/llms/components/lr-sequence-strip.md +92 -2
- package/llms/components/lr-span-waterfall.md +78 -8
- package/llms/components/lr-sparkline.md +42 -11
- package/llms/components/lr-spreadsheet-viewer.md +109 -14
- package/llms/components/lr-streaming-text-core.md +4 -2
- package/llms/components/lr-streaming-text.md +5 -1
- package/llms/components/lr-table.md +96 -115
- package/llms/components/lr-task-list.md +93 -9
- package/llms/components/lr-terminal.md +9 -0
- package/llms/components/lr-test-results.md +77 -3
- package/llms/components/lr-thread-list.md +86 -1
- package/llms/components/lr-time-zone-picker.md +8 -3
- package/llms/components/lr-timeline.md +5 -0
- package/llms/components/lr-token-input.md +7 -2
- package/llms/components/lr-tool-timeline.md +13 -4
- package/llms/components/lr-trace-tree.md +96 -10
- package/llms/components/lr-transcript-feed.md +9 -2
- package/llms/components/lr-tree.md +87 -15
- package/llms/components/lr-unit-picker.md +8 -3
- package/llms/components/lr-video-playlist.md +2 -0
- package/llms/components/lr-virtual-list.md +17 -8
- package/llms/components/lr-voice-picker.md +8 -3
- package/llms/components/lr-word-cloud.md +128 -12
- package/llms/components/lr-xml-viewer.md +106 -9
- package/llms/index.md +1 -1
- package/llms/peers.md +1 -1
- package/llms/shared/events-and-types.md +725 -264
- package/llms/shared/forms-and-accessibility.md +3 -17
- package/llms/shared/imports-and-registration.md +3 -17
- package/llms/shared/localization-and-rtl.md +0 -2
- package/llms/shared/styles-and-tokens.md +27 -36
- package/llms/shared/testing-and-utilities.md +4 -5
- package/llms/shared.md +770 -349
- package/llms.txt +1 -2
- package/locales.json +139 -139
- package/package.json +13 -4
- package/registrations.json +1 -1
- package/skills/compose-lyra-interfaces/SKILL.md +6 -8
- package/skills/lyra-ui/SKILL.md +20 -51
- package/skills/lyra-ui/commands/review.md +16 -33
- package/skills/lyra-ui/commands/update.md +6 -5
- package/skills/lyra-ui/online-api.md +15 -0
- package/skills/lyra-ui/reporting.md +2 -1
|
@@ -9,7 +9,7 @@
|
|
|
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
|
-
- **Themeable via**
|
|
12
|
+
- **Themeable via** 17 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`
|
|
14
14
|
|
|
15
15
|
---
|
|
@@ -22,19 +22,92 @@ no force simulation, no communities, no edge labels (that's `lr-graph`). Zero-de
|
|
|
22
22
|
radial layout is closed-form arithmetic, in its own `mind-map-layout.ts` module, mirroring
|
|
23
23
|
`lr-word-cloud`'s dependency-free precedent.
|
|
24
24
|
|
|
25
|
+
**Complete source topics:** `treeSource: MindMapSource | undefined`
|
|
26
|
+
(attribute: false) takes precedence over `topics`. Invalid defined sources fail visibly without
|
|
27
|
+
legacy fallback; only `undefined` restores the current legacy topics and their expansion state.
|
|
28
|
+
|
|
29
|
+
```ts
|
|
30
|
+
import "@aceshooting/lyra-ui/components/lr-mind-map.js";
|
|
31
|
+
import type { MindMapSource, LyraTopic } from
|
|
32
|
+
"@aceshooting/lyra-ui/components/retrieval/mind-map/mind-map.class.js";
|
|
33
|
+
import type { LyraHierarchySource, LyraHierarchyQuery, LyraHierarchyRow } from
|
|
34
|
+
"@aceshooting/lyra-ui/data-sources.js";
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
`MindMapSource = LyraHierarchySource<LyraTopic, LyraHierarchyQuery>`; its exact shared protocols
|
|
38
|
+
are in [shared source contracts](../shared/events-and-types.md). The provider implements
|
|
39
|
+
`project({ revision, locale, signal, query, state, action })`, with fixed query
|
|
40
|
+
`{ search: '', hiddenKinds: [] }`. Revision is a nonempty string or finite number. A projection
|
|
41
|
+
supplies a nonempty immutable `state` token of at most 65,536 UTF-16 units, global logical `total`,
|
|
42
|
+
a complete visible-preorder `rows` view and optional `focusIndex`. `rows.count <= total`, and the view is either indexed
|
|
43
|
+
`count`/`itemAt`/`keyAt`/`indexOfKey`, or ranged `count`/`read`/`indexOfKey` with exact in-bounds
|
|
44
|
+
reads and direct key resolution. Provider preorder, parent keys, one-based `level`, `position`
|
|
45
|
+
and `setSize`, `childCount`, `expanded`, `selected`, optional `disabled` and `selectionState`
|
|
46
|
+
remain authoritative. This route never reads nested `value.children`, seeds expansion from
|
|
47
|
+
`expandDepth`, or applies local expansion overrides.
|
|
48
|
+
|
|
49
|
+
The semantic tree navigator reaches the complete provider-visible preorder, with global
|
|
50
|
+
Home/End, Up/Down, RTL-aware expansion/parent keys and disabled-row handling.
|
|
51
|
+
`revealSourceKey(key: string): Promise<boolean>` asks the provider to reveal any logical key and
|
|
52
|
+
focuses its returned `focusIndex`; false means unset/invalid/absent/disabled, failed focus
|
|
53
|
+
transfer or superseded work. Reveal, refresh and reconnect emit no topic event.
|
|
54
|
+
|
|
55
|
+
The SVG is a bounded view of one connected represented subtree drawn from ready mounted
|
|
56
|
+
navigator rows, at most 301. Its local root is the first represented row whose parent is absent
|
|
57
|
+
from that mounted set. Only exact represented parent links join the subtree; omitted ancestors
|
|
58
|
+
and other disconnected branches are not fabricated. The local root need not be the global root.
|
|
59
|
+
The navigator keeps full global depth/sibling metadata even when ancestry lies outside the cache.
|
|
60
|
+
The diagram uses provider child counts and expansion flags, so a clipped parent is still a parent.
|
|
61
|
+
A localized `limit` notice reports diagram nodes shown versus the complete visible-preorder
|
|
62
|
+
count, rather than implying the SVG contains the full source. `source-diagram` has a bounded
|
|
63
|
+
`var(--lr-size-20rem)` block size; the global navigator remains available with that view.
|
|
64
|
+
No full-source layout or second provider collection is built.
|
|
65
|
+
|
|
66
|
+
Only own data fields `id` and `label` are projected; `id` must be nonblank and equal `row.key`,
|
|
67
|
+
nonstring labels normalize to empty text, and accessor-backed/oversized fields fail visibly.
|
|
68
|
+
Each normalized row's key, parent key, id and label share a 65,536 UTF-16-unit budget; retained
|
|
69
|
+
rows, focused reserve and pending admission share a 2,000,000-unit payload ceiling. Four 100-row
|
|
70
|
+
pages retain at most 400 rows plus one focused row; at most 301 navigator rows mount and at most
|
|
71
|
+
two physical range reads run. Projection work permits one physical call plus only the latest
|
|
72
|
+
queued intent. Ignored aborts keep physical permits until settlement; providers should settle
|
|
73
|
+
promptly after cancellation. Diagram rows reference only current normalized mounted rows and
|
|
74
|
+
bounded geometry; provider storage/index construction remains caller-owned.
|
|
75
|
+
|
|
76
|
+
Accepted current user parent expansion emits the existing `lr-topic-toggle { topicId, expanded }`;
|
|
77
|
+
accepted current leaf selection emits `lr-topic-select { topicId }`, always with the original key.
|
|
78
|
+
Source activations delegate provider actions instead of mutating legacy expansion state. Diagram
|
|
79
|
+
keyboard navigation delegates to the global navigator. Loading, failure and obsolete actions
|
|
80
|
+
cannot emit events against a replacement row, even if it reuses the key. Source parts are
|
|
81
|
+
`source-list`, `source-row`, `source-toggle`, `source-label`, `source-status`, `source-error` and
|
|
82
|
+
`source-diagram`; localized loading, complete visible/logical counts, empty and projection/row
|
|
83
|
+
failure with retry are distinct states.
|
|
84
|
+
|
|
85
|
+
Reassign even the same source or call a keyless `requestUpdate()` after revision/state changes.
|
|
86
|
+
Named local paints, resize and direction changes reuse admitted rows; effective locale/revision
|
|
87
|
+
changes request a new projection. Replacement, superseding project/reveal, unset, disconnect and
|
|
88
|
+
adoption revoke old diagram rows, navigation callbacks and actions; reconnect requests current
|
|
89
|
+
input. The accepted request's original revision/signal remains authoritative during normalization,
|
|
90
|
+
so a reentrant source change cannot finish an obsolete display record.
|
|
91
|
+
|
|
92
|
+
The following array admission, initial-depth expansion and 500-node sampling rules apply with
|
|
93
|
+
`treeSource` unset.
|
|
94
|
+
|
|
25
95
|
**Properties:**
|
|
26
96
|
|
|
27
|
-
- `topics: LyraTopic[] = []` (attribute: false) — `LyraTopic { id: string; label: string; children?:
|
|
28
|
-
LyraTopic[] }`; a single root sits at the center, multiple roots hang off an implicit center hub.
|
|
29
|
-
|
|
30
|
-
|
|
97
|
+
- `topics: readonly LyraTopic[] = []` (attribute: false) — `LyraTopic { id: string; label: string; children?:
|
|
98
|
+
readonly LyraTopic[] }`; a single root sits at the center, multiple roots hang off an implicit center hub.
|
|
99
|
+
Assignment copies own data fields without invoking accessors, inspecting at most 50,000 source
|
|
100
|
+
positions breadth-first and retaining at most 64 descendant levels. Invalid entries consume
|
|
101
|
+
the inspection allowance. Shared occurrences keep the existing depth-first first-ID layout
|
|
102
|
+
behavior
|
|
31
103
|
- `label?: string` — accessible name for the SVG group and the implicit hub's text; omission uses
|
|
32
104
|
the localized mind-map label, while an explicit empty string stays empty
|
|
33
105
|
- `expandDepth: number = 1` (attribute `expand-depth`) — initial expansion depth (root + first
|
|
34
106
|
ring); expansion state afterward is component-managed per topic id and survives `topics`
|
|
35
107
|
reassignment
|
|
36
108
|
|
|
37
|
-
|
|
109
|
+
With `treeSource` unset, above 500 currently-visible nodes (per the current expand/collapse state),
|
|
110
|
+
the SVG and the
|
|
38
111
|
parallel sr-only tree both render a deterministic, connectivity-preserving, subtree-size-weighted
|
|
39
112
|
sample instead of every node: a kept node's parent, if any, is always kept too (no floating nodes
|
|
40
113
|
with a dangling connector or a gap in the `role="tree"` walk), and a larger branch keeps
|
|
@@ -42,6 +115,9 @@ proportionally more of its own nodes than a small one, sampled evenly across a w
|
|
|
42
115
|
own child list rather than dropping its tail outright. A surviving node keeps the position the
|
|
43
116
|
full layout gave it. A localized "showing N of M" notice appears in `[part="limit"]`.
|
|
44
117
|
|
|
118
|
+
The legacy `input-limit` part reports omitted branches even when collapsed. Unseen descendant
|
|
119
|
+
totals are not counted; the render-decimation notice describes only the retained hierarchy.
|
|
120
|
+
|
|
45
121
|
**Events:** `lr-topic-select` (`detail: { topicId }`, a _leaf_ topic was activated),
|
|
46
122
|
`lr-topic-toggle` (`detail: { topicId, expanded }`, a parent topic was activated, or auto-expanded by
|
|
47
123
|
keyboard descent).
|
|
@@ -50,8 +126,13 @@ keyboard descent).
|
|
|
50
126
|
|
|
51
127
|
**CSS parts:** `base`, `svg` (the single-tab-stop focus target), `node`, `node-label`, `link`
|
|
52
128
|
(parent-child connector), `focus-ring` (keyboard focus ring), `limit` (the "showing N of M"
|
|
53
|
-
render-cap notice, present
|
|
54
|
-
|
|
129
|
+
render-cap notice, present above 500 legacy visible nodes and always in source mode),
|
|
130
|
+
`input-limit` (legacy input-admission notice), `live-region` (visually hidden
|
|
131
|
+
announcement region), `empty` (shown when legacy `topics` is empty).
|
|
132
|
+
Source-mode parts: `source-diagram` (the bounded connected subtree), `source-list` (the global
|
|
133
|
+
virtualized navigator), `source-row` (a hierarchy row with global position metadata),
|
|
134
|
+
`source-toggle` (expand, collapse or retry action), `source-label` (topic label), `source-status`
|
|
135
|
+
(loading, empty and global-count status), and `source-error` (failure and retry status).
|
|
55
136
|
|
|
56
137
|
**Themeable custom properties:** `--lr-mind-map-ring-gap` (default `6rem`, radius step per depth
|
|
57
138
|
ring, read on each relayout: connect, resize, `dir`/`lang`, data or expansion change). `--lr-mind-map-node-hover-halo` (default `var(--lr-color-brand-quiet)`) — stroke color of
|
|
@@ -82,13 +163,13 @@ clickable" feedback keyboard users already get from the drawn `focus-ring` part.
|
|
|
82
163
|
|
|
83
164
|
**Known gotchas:**
|
|
84
165
|
|
|
85
|
-
-
|
|
166
|
+
- With `treeSource` unset, a user's explicit expand/collapse only ever overrides the `depth < expandDepth` default in the
|
|
86
167
|
direction chosen — reassigning `topics` (even with the same ids) never silently discards that
|
|
87
168
|
override.
|
|
88
169
|
- Node-position transitions use `--lr-transition-base`, which already collapses to near-zero under
|
|
89
170
|
`prefers-reduced-motion: reduce` globally, so expansion snaps rather than tweening for a
|
|
90
171
|
reduced-motion user with no extra branching in this component.
|
|
91
|
-
-
|
|
172
|
+
- Legacy topic ids must be nonblank and unique across the complete hierarchy. Later depth-first duplicates
|
|
92
173
|
and their subtrees are omitted before layout, navigation, expansion state, rendering, or events.
|
|
93
174
|
|
|
94
175
|
---
|
|
@@ -9,14 +9,14 @@
|
|
|
9
9
|
- **Release history** [CHANGELOG.md](../../CHANGELOG.md); family-wide breaking-change summaries: [conversation](https://github.com/aceshooting/lyra-ui/blob/main/packages/lyra-ui/llms/conversation.md)
|
|
10
10
|
- **Deprecations** none
|
|
11
11
|
- **Optional peers** none
|
|
12
|
-
- **Themeable via**
|
|
12
|
+
- **Themeable via** 16 parts, 30 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-model-select`
|
|
18
18
|
|
|
19
|
-
The model list follows the [shared surface treatment](shared/styles-and-tokens.md);
|
|
19
|
+
The model list follows the [shared surface treatment](../shared/styles-and-tokens.md);
|
|
20
20
|
its editing field retains an opaque fill.
|
|
21
21
|
|
|
22
22
|
A provider/model picker that renders as a closed dropdown when a fixed `catalog` is available, or as a
|
|
@@ -76,7 +76,11 @@ focus move.
|
|
|
76
76
|
- `catalog?: LyraCatalog<LyraModelCatalogEntry>` (attribute: false) — the full model list. Omit (or
|
|
77
77
|
leave empty) to fall back to plain free-text entry. Ids use the shared unique, nonempty,
|
|
78
78
|
first-wins catalog rule above. The array is clone-owned, bounded, and frozen; reassign a new
|
|
79
|
-
catalog array after changing its rows.
|
|
79
|
+
catalog array after changing its rows. Admission retains the first 1,024 source rows within the
|
|
80
|
+
shared 50,000-value deep snapshot budget; normalization examines that admitted prefix. The
|
|
81
|
+
localized `limit` part reports omitted input through `catalogPickerInputLimit`. A synthetic row
|
|
82
|
+
for a committed value outside the catalog can still be appended. Closed listboxes contain no
|
|
83
|
+
option rows after their exit transition; trigger labels and free-text behavior remain available.
|
|
80
84
|
- `allowCustom: boolean = false` (attribute `allow-custom`, reflected) — let the user type/commit a
|
|
81
85
|
value that isn't in `catalog`, even when `catalog` is non-empty.
|
|
82
86
|
- `label: string = ''` — optional visible title above the control, rendered alongside the `label`
|
|
@@ -208,7 +212,7 @@ constraint validation — its own `disabled` or `readonly`, or an ancestor `<fie
|
|
|
208
212
|
reports no violation and publishes neither `:state(invalid)` nor
|
|
209
213
|
`:state(user-invalid)`, matching native `:invalid`. `required`/`optional` keep publishing.
|
|
210
214
|
|
|
211
|
-
**CSS parts:** `form-control` (the complete label, control, hint, error, and listbox frame),
|
|
215
|
+
**CSS parts:** `limit` (input-loss notice), `form-control` (the complete label, control, hint, error, and listbox frame),
|
|
212
216
|
`form-control-label` (the `<label>` element containing the `label` property and slot), `trigger` (closed-dropdown mode's
|
|
213
217
|
`<button role="combobox">`, also its positioning anchor), `combobox` (free-text mode's input
|
|
214
218
|
container, also its positioning anchor), `combobox-input` (the free-text `<input>`),
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
- **Release history** [CHANGELOG.md](../../CHANGELOG.md); family-wide breaking-change summaries: [conversation](https://github.com/aceshooting/lyra-ui/blob/main/packages/lyra-ui/llms/conversation.md)
|
|
10
10
|
- **Deprecations** none
|
|
11
11
|
- **Optional peers** none
|
|
12
|
-
- **Themeable via**
|
|
12
|
+
- **Themeable via** 8 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
|
|
|
15
15
|
---
|
|
@@ -52,6 +52,13 @@ of `catalog`/`allowCustom` and `temperatureMin`/`temperatureMax`/`temperatureSte
|
|
|
52
52
|
reach either, since a form-associated control's own `disabled` IDL property/attribute is never
|
|
53
53
|
mutated by fieldset cascading.
|
|
54
54
|
|
|
55
|
+
The panel snapshots `catalog` before forwarding it to the model picker. Its own deep input budget
|
|
56
|
+
can omit rows before the child reaches its catalog ceiling. A localized `catalogPickerInputLimit`
|
|
57
|
+
notice in the panel's `part="limit"` discloses that outer loss from the original assignment,
|
|
58
|
+
independently of the child's notice. Rebinding the retained snapshot preserves it; a fresh input
|
|
59
|
+
below the limit clears it. Initial mounting and reconnecting are quiet; later changed input loss
|
|
60
|
+
is politely announced.
|
|
61
|
+
|
|
55
62
|
**Events:** `lr-change` — `detail: { model: string; inCatalog: boolean; temperature: number }`.
|
|
56
63
|
Fires whenever _either_ child control's own `lr-change` fires, and always carries the full current
|
|
57
64
|
settings snapshot, not just whichever field actually changed. `inCatalog` is recomputed fresh from
|
|
@@ -63,7 +70,8 @@ assigned directly instead of via the child's own event. The nested selector's na
|
|
|
63
70
|
**Slots:** none — this is a fixed two-control composition, not a generic layout shell.
|
|
64
71
|
|
|
65
72
|
**CSS parts:** `base`, `model-row`, `model-select`, `model-label` (forwarded visible internal
|
|
66
|
-
selector label), `temperature-row`, `temperature-label`, `temperature-value`
|
|
73
|
+
selector label), `temperature-row`, `temperature-label`, `temperature-value`, `limit` (outer catalog
|
|
74
|
+
input-loss notice)
|
|
67
75
|
|
|
68
76
|
**Themeable custom properties:** `--lr-model-settings-panel-max-inline-size` — the card's own width
|
|
69
77
|
ceiling (default `var(--lr-size-28rem)`). Set a length to retune it, or `none` for a full-width
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
|
|
18
18
|
## `lr-navigation-menu`
|
|
19
19
|
|
|
20
|
-
Floating navigation disclosures follow the [shared surface treatment](shared/styles-and-tokens.md);
|
|
20
|
+
Floating navigation disclosures follow the [shared surface treatment](../shared/styles-and-tokens.md);
|
|
21
21
|
inline disclosures retain their flow presentation.
|
|
22
22
|
|
|
23
23
|
Site-header navigation following the WAI-ARIA **disclosure navigation** pattern (first-party, no
|
|
@@ -9,7 +9,7 @@
|
|
|
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
|
-
- **Themeable via**
|
|
12
|
+
- **Themeable via** 13 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`
|
|
14
14
|
|
|
15
15
|
---
|
|
@@ -20,6 +20,70 @@ One entity's relationship rows: relation, direction, neighbor, with per-row navi
|
|
|
20
20
|
expand-in-graph affordances. Never computes neighbors itself (the host derives rows from its own
|
|
21
21
|
graph data) and never mutates a graph.
|
|
22
22
|
|
|
23
|
+
With `graphSource` unset, the `limit` part reports retained/source relationship-row counts when input admission omits
|
|
24
|
+
rows. Virtualization covers the retained rows; it does not recover omitted source rows.
|
|
25
|
+
|
|
26
|
+
**Full-source neighborhood:** `graphSource: NeighborListSource | undefined`
|
|
27
|
+
(attribute: false) takes precedence over `rows`; invalid defined providers fail visibly.
|
|
28
|
+
Setting `undefined` restores the latest legacy rows. `NeighborListSource` aliases the public
|
|
29
|
+
`GraphSource` contract. This adapter queries its `records` only; it never requests a graph scene,
|
|
30
|
+
scans adjacency or copies the complete neighborhood.
|
|
31
|
+
|
|
32
|
+
```ts
|
|
33
|
+
import type { NeighborListSource, NeighborSourceDirection } from
|
|
34
|
+
"@aceshooting/lyra-ui/components/retrieval/neighbor-list/neighbor-list.class.js";
|
|
35
|
+
import type { LyraGraphSourceQuery, LyraGraphSourceSummary } from
|
|
36
|
+
"@aceshooting/lyra-ui/data-sources.js";
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
`centerKey: string | null = null` (attribute: false) is a canonical `'node:' + originalId` key;
|
|
40
|
+
null shows a localized choose-center state with no query. Nonblank canonical node keys are at most
|
|
41
|
+
65,536 UTF-16 units. `sourceDirection: NeighborSourceDirection = 'both'` (`source-direction`)
|
|
42
|
+
accepts `'in' | 'out' | 'both'`. Property-only
|
|
43
|
+
`sourceNodeTypes: readonly string[] = []` accepts at most 500 input entries, then deduplicates/sorts
|
|
44
|
+
nonblank type IDs, each at
|
|
45
|
+
most 65,536 UTF-16 units and together at most 2,000,000 units. Invalid scopes fail visibly.
|
|
46
|
+
Scope/page-size changes reset page zero.
|
|
47
|
+
|
|
48
|
+
`sourcePage: number = 0` (`source-page`) is zero-based;
|
|
49
|
+
`sourcePageSize: number = 100` (`source-page-size`) normalizes to 1–500. Readonly
|
|
50
|
+
`sourceTotal: number | null` reports the authoritative matching neighborhood count after success,
|
|
51
|
+
or `null` without a source/center or while unavailable. A total shrink receives at most one
|
|
52
|
+
corrective last-page request. Pager navigation reaches the complete matching domain with at most
|
|
53
|
+
500 current native-button rows, independent of the legacy `virtualizeAt` threshold.
|
|
54
|
+
|
|
55
|
+
Source and `records` revisions must agree and remain immutable (nonempty string or finite number).
|
|
56
|
+
`records.query({ revision, locale, signal, page, pageSize, query })` receives
|
|
57
|
+
`{ kind: 'nodes', search: '', centerKey, direction: sourceDirection, nodeTypes: sourceNodeTypes }`.
|
|
58
|
+
It returns `{ rows, total, summary: { nodes, edges } }`; all counts are safe nonnegative integers,
|
|
59
|
+
with `total <= summary.nodes`. Each row is `{ key, order, value: { kind: 'node', value: node } }`,
|
|
60
|
+
where `key === 'node:' + node.id`, `order` is a safe canonical source ordinal, and page keys/orders
|
|
61
|
+
are unique. Returned rows exactly fill the requested in-bounds page. Closed own-data node
|
|
62
|
+
snapshots retain only `id`, optional `label`, `accessibleLabel` and `type`; strings are at most
|
|
63
|
+
65,536 units each and the page's projected text shares a 2,000,000-unit bound. Malformed/oversized
|
|
64
|
+
pages fail atomically. Group/facet metadata is not accepted. The provider owns full-source
|
|
65
|
+
indexing, order, neighborhood membership and summary truth beyond bounded consistency checks.
|
|
66
|
+
|
|
67
|
+
Source mode presents node neighbors without invented relation, per-row direction or group headers;
|
|
68
|
+
`groupByRelation` and legacy relation/direction/type-degree chrome do not apply. `expandable`
|
|
69
|
+
retains the native expand button. Activation emits unchanged `lr-entity-select { entityId }` and
|
|
70
|
+
`lr-node-expand { nodeId }` with original entity IDs, excluding the canonical `'node:'` prefix.
|
|
71
|
+
|
|
72
|
+
`revealSourceKey(key: string): Promise<boolean>` uses `records.locate(key, query, context)` to
|
|
73
|
+
find a matching global node, loads its page and focuses its exact row. It emits no select/expand
|
|
74
|
+
event. Invalid, absent, failed, superseded or disconnected requests resolve `false`; a same-page
|
|
75
|
+
reveal preserves live row/expand actions without another page query. Global lookup is required by
|
|
76
|
+
the records contract, but ordinary paging/reveal does not enumerate other pages or request scenes.
|
|
77
|
+
|
|
78
|
+
Reassign even the same source, or call a keyless `requestUpdate()`, after revision/state changes.
|
|
79
|
+
Named presentation updates reuse accepted data. Replacement, scope/page changes, disconnect and
|
|
80
|
+
adoption revoke obsolete controls/reveals. Page/lookup/locate lanes allow one physical provider
|
|
81
|
+
call each and only the latest queued intent; ignored aborts occupy their permits until settlement.
|
|
82
|
+
Bounded current/in-progress pages are retained, with no complete neighbor index. `source-status`,
|
|
83
|
+
`source-retry` and `source-summary` expose localized choose/loading/error/empty and shown/global
|
|
84
|
+
count states. Existing `base`, `row`, `node-label` and `expand-button` parts apply to source rows.
|
|
85
|
+
The following relationship-array rules describe the legacy route.
|
|
86
|
+
|
|
23
87
|
**Properties:**
|
|
24
88
|
|
|
25
89
|
- `rows: LyraNeighborRow[] = []` (attribute: false) — `LyraNeighborRow { relation: string; direction:
|
|
@@ -46,8 +110,11 @@ name and detail shape as `lr-graph`'s own event, so one host handler serves both
|
|
|
46
110
|
name), `row` (`role="listitem"`; above `virtualizeAt` this is the internal virtual-list's own row
|
|
47
111
|
wrapper, re-exported under the same name), `direction` (`aria-hidden` glyph), `relation`,
|
|
48
112
|
`node-label`, `node-meta` (secondary type/degree text, when present), `expand-button` (only when
|
|
49
|
-
`expandable`), `empty` (shown when `rows` is empty). Every part presents identically either side of
|
|
113
|
+
`expandable`), `limit` (input-admission notice), `empty` (shown when `rows` is empty). Every part presents identically either side of
|
|
50
114
|
`virtualizeAt`.
|
|
115
|
+
Source-mode parts: `source-status` (loading, failure, empty or missing-center feedback),
|
|
116
|
+
`source-summary` (exact neighborhood total and current page count), and `source-retry`
|
|
117
|
+
(the current failed request's retry action).
|
|
51
118
|
|
|
52
119
|
**Themeable custom properties:** shared tokens only.
|
|
53
120
|
|
|
@@ -9,6 +9,6 @@
|
|
|
9
9
|
- **Release history** [CHANGELOG.md](../../CHANGELOG.md); family-wide breaking-change summaries: [charts](https://github.com/aceshooting/lyra-ui/blob/main/packages/lyra-ui/llms/charts.md)
|
|
10
10
|
- **Deprecations** none
|
|
11
11
|
- **Optional peers** `chart.js`, `chartjs-plugin-annotation`, `chartjs-plugin-datalabels`, `chartjs-plugin-zoom` — see `llms/peers.md`
|
|
12
|
-
- **Themeable via**
|
|
12
|
+
- **Themeable via** 18 parts, 39 custom properties — see `lr-line-chart.md`
|
|
13
13
|
- **Documented with** `lr-line-chart`: see [lr-line-chart.md](./lr-line-chart.md).
|
|
14
14
|
- **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
|
|
@@ -9,6 +9,6 @@
|
|
|
9
9
|
- **Release history** [CHANGELOG.md](../../CHANGELOG.md); family-wide breaking-change summaries: [charts](https://github.com/aceshooting/lyra-ui/blob/main/packages/lyra-ui/llms/charts.md)
|
|
10
10
|
- **Deprecations** none
|
|
11
11
|
- **Optional peers** `chart.js`, `chartjs-plugin-annotation`, `chartjs-plugin-datalabels`, `chartjs-plugin-zoom` — see `llms/peers.md`
|
|
12
|
-
- **Themeable via**
|
|
12
|
+
- **Themeable via** 18 parts, 39 custom properties — see `lr-line-chart.md`
|
|
13
13
|
- **Documented with** `lr-line-chart`: see [lr-line-chart.md](./lr-line-chart.md).
|
|
14
14
|
- **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
- **Release history** [CHANGELOG.md](../../CHANGELOG.md); family-wide breaking-change summaries: [conversation](https://github.com/aceshooting/lyra-ui/blob/main/packages/lyra-ui/llms/conversation.md)
|
|
10
10
|
- **Deprecations** none
|
|
11
11
|
- **Optional peers** none
|
|
12
|
-
- **Themeable via**
|
|
12
|
+
- **Themeable via** 11 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
|
|
|
15
15
|
---
|
|
@@ -65,6 +65,13 @@ Every array-valued property above is a clone-owned, bounded, frozen readonly sna
|
|
|
65
65
|
nested source children and queued attachments. Mutating a previously assigned collection has no
|
|
66
66
|
effect; create and reassign a new array after changes.
|
|
67
67
|
|
|
68
|
+
The outer snapshot can omit `modelCatalog`, `voiceCatalog`, `mentionItems`, or `commandItems`
|
|
69
|
+
before the corresponding child reaches its own input ceiling. The prompt's `part="limit"` uses
|
|
70
|
+
`promptInputInputLimit` to disclose that original assignment loss, including when no valid child
|
|
71
|
+
catalog remains to render. Rebinding a retained snapshot preserves the notice; a fresh input below
|
|
72
|
+
the limit clears it. Initial mounting and reconnecting are quiet; later changed input loss is
|
|
73
|
+
politely announced.
|
|
74
|
+
|
|
68
75
|
`LyraPromptSuggestion` extends `LyraMentionItem { suggestionId, label, description?, icon?, disabled? }`
|
|
69
76
|
with optional `insertText` (defaults to `label`). The selected occurrence's original, pre-filter `index`
|
|
70
77
|
is preserved in the event detail. `LyraPromptInputAttachment` replaces `DocumentRef.id` with
|
|
@@ -102,7 +109,7 @@ host can play its own TTS preview (call `preventDefault()`) for catalog entries
|
|
|
102
109
|
replaces the built-in composer action.
|
|
103
110
|
|
|
104
111
|
**CSS parts:** `base`, `controls`, `sources`, `sources-summary`, `source-picker`, `queue`,
|
|
105
|
-
`composer`, `start`, `chips`, `footer
|
|
112
|
+
`composer`, `start`, `chips`, `footer`, `limit` (outer suggestion or catalog input-loss notice).
|
|
106
113
|
|
|
107
114
|
**Themeable custom properties:** `--lr-prompt-input-control-width` (default `--lr-size-12rem`) is
|
|
108
115
|
the preferred width of each generated model, voice, and source control before wrapping.
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
- **Release history** [CHANGELOG.md](../../CHANGELOG.md); family-wide breaking-change summaries: [conversation](https://github.com/aceshooting/lyra-ui/blob/main/packages/lyra-ui/llms/conversation.md)
|
|
10
10
|
- **Deprecations** none
|
|
11
11
|
- **Optional peers** none
|
|
12
|
-
- **Themeable via**
|
|
12
|
+
- **Themeable via** 16 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`
|
|
14
14
|
|
|
15
15
|
---
|
|
@@ -18,6 +18,10 @@
|
|
|
18
18
|
|
|
19
19
|
Controlled editable queue of follow-up turns. Reordering, editing, and removal emit a complete
|
|
20
20
|
proposed queue; send-now emits the complete selected item.
|
|
21
|
+
Admission inspects at most 10,000 item positions and 10,000 attachment positions across one
|
|
22
|
+
assignment, including invalid positions. Internal pages contain at most 20 rows, with localized
|
|
23
|
+
first/previous/next/last controls reaching every admitted item. Each row previews at most 50
|
|
24
|
+
retained attachment names. Separate notices distinguish input loss from the attachment preview.
|
|
21
25
|
|
|
22
26
|
When a focused row action requests removal and the host applies the proposed queue, focus moves to
|
|
23
27
|
the equivalent action on the nearest surviving row. If the queue becomes empty, its stable region
|
|
@@ -44,14 +48,18 @@ Supported item and attachment fields are read once when `items` is assigned; cre
|
|
|
44
48
|
new collection after changes, because changing an assigned record or reassigning the same mutated
|
|
45
49
|
array does not update the view. Rows or attachments without valid direct data are ignored. Duplicate IDs are resolved
|
|
46
50
|
after validation, so the first valid item wins. `metadata` is opaque and retains identity in
|
|
47
|
-
proposed queue/send-now payloads
|
|
51
|
+
proposed queue/send-now payloads. Proposals contain the complete admitted queue in a frozen array;
|
|
52
|
+
unchanged frozen exported rows and attachment arrays are reused, including after the host accepts
|
|
53
|
+
a proposal. Send-now includes all retained attachments. Draft text survives page navigation.
|
|
48
54
|
|
|
49
55
|
**Events:** `lr-queue-change` (`PromptQueueChangeDetail = { items, reason, itemId }`, with
|
|
50
56
|
`reason: 'edit' | 'remove' | 'reorder'`), `lr-send-now` (`{ item }`). The queue is controlled:
|
|
51
57
|
these events propose complete next values without mutating `items`.
|
|
52
58
|
|
|
53
59
|
**CSS parts:** `base`, `heading`, `list`, `item`, `value`, `editor`, `attachments`, `attachment`,
|
|
54
|
-
`actions`, `action`, `empty
|
|
60
|
+
`actions`, `action`, `empty`, `input-limit`, `attachment-limit`, `pagination`, `page-status`,
|
|
61
|
+
`page-button`. Initial input-limit notes are quiet; later changed omissions and user page changes
|
|
62
|
+
are politely announced.
|
|
55
63
|
|
|
56
64
|
**Slots:** none. **Optional peer deps:** none.
|
|
57
65
|
|
|
@@ -9,6 +9,6 @@
|
|
|
9
9
|
- **Release history** [CHANGELOG.md](../../CHANGELOG.md); family-wide breaking-change summaries: [charts](https://github.com/aceshooting/lyra-ui/blob/main/packages/lyra-ui/llms/charts.md)
|
|
10
10
|
- **Deprecations** none
|
|
11
11
|
- **Optional peers** `chart.js`, `chartjs-plugin-annotation`, `chartjs-plugin-datalabels`, `chartjs-plugin-zoom` — see `llms/peers.md`
|
|
12
|
-
- **Themeable via**
|
|
12
|
+
- **Themeable via** 18 parts, 39 custom properties — see `lr-line-chart.md`
|
|
13
13
|
- **Documented with** `lr-line-chart`: see [lr-line-chart.md](./lr-line-chart.md).
|
|
14
14
|
- **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
- **Deprecated event** `lr-run-change` since `26.0.0`; use event `@lr-run-activate`; removal not before `28.0.0` — lr-run-activate matches the activate vocabulary of the library's other run lists; the alias fires right after it for one major.
|
|
12
12
|
- **Deprecated event** `lr-slice-change` since `26.0.0`; use event `@lr-slice-change-request`; removal not before `28.0.0` — lr-slice-change-request names a request the application decides on; the old event fires right after it for one major.
|
|
13
13
|
- **Optional peers** none
|
|
14
|
-
- **Themeable via**
|
|
14
|
+
- **Themeable via** 17 parts, 1 custom property — see this component's own `@csspart`/`@cssprop` list below
|
|
15
15
|
- **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
|
|
16
16
|
|
|
17
17
|
---
|
|
@@ -45,6 +45,13 @@ history, counts, rendering, or actions.
|
|
|
45
45
|
At most the 500 most recent of the currently filtered runs (the array end is newest) render as
|
|
46
46
|
`run` buttons and feed the trend chart; a filtered set past that length renders a localized
|
|
47
47
|
`limit` notice after the run history rather than mounting an unbounded number of rows.
|
|
48
|
+
Input admission itself retains the newest bounded run tail and reports any earlier loss in
|
|
49
|
+
`input-limit`. Latest metric cards still consider every admitted filtered run, including a finite
|
|
50
|
+
metric outside the 500-row history window. Slice controls are capped at 500 including All: at most
|
|
51
|
+
499 named slices, reserving the selected slice when it exists. `slices-limit` reports the displayed
|
|
52
|
+
and full admitted slice counts. Run, metric, and slice projections are reused across presentation
|
|
53
|
+
updates; localized formatting remains live. Initial and reconnect omission notes are quiet;
|
|
54
|
+
later changed omissions are politely announced.
|
|
48
55
|
|
|
49
56
|
**Events:** `lr-metric-change-request` (`{ metricId }`), `lr-slice-change-request` (`{ slice }`) and
|
|
50
57
|
`lr-run-activate` (`{ runId, run }`). All are controlled intents; the component does not mutate the
|
|
@@ -54,7 +61,7 @@ corresponding selection properties. The deprecated `lr-metric-change`, `lr-slice
|
|
|
54
61
|
**CSS parts:** `base`, `heading`, `slices`, `slice`, `slice-selected`, `metrics`, `metric`,
|
|
55
62
|
`metric-selected`, `metric-category` (the caller-supplied category rendered visibly on each metric),
|
|
56
63
|
`chart`, `runs`, `runs-heading`, `run`, `limit` (localized notice that only the most recent 500
|
|
57
|
-
filtered runs are shown), `empty`.
|
|
64
|
+
filtered runs are shown), `input-limit`, `slices-limit`, `empty`.
|
|
58
65
|
|
|
59
66
|
**Themeable custom properties:** `--lr-rag-eval-dashboard-selected-border-color` (default
|
|
60
67
|
`var(--lr-color-brand)`) — border color shared by the controlled active slice and metric.
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
- **Release history** [CHANGELOG.md](../../CHANGELOG.md); family-wide breaking-change summaries: [conversation](https://github.com/aceshooting/lyra-ui/blob/main/packages/lyra-ui/llms/conversation.md)
|
|
10
10
|
- **Deprecations** none
|
|
11
11
|
- **Optional peers** none
|
|
12
|
-
- **Themeable via**
|
|
12
|
+
- **Themeable via** 13 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`
|
|
14
14
|
|
|
15
15
|
---
|
|
@@ -18,6 +18,10 @@
|
|
|
18
18
|
|
|
19
19
|
Provider-neutral realtime voice shell composing connection state, `lr-audio-visualizer`,
|
|
20
20
|
`lr-push-to-talk`, and `lr-transcript-feed`. Transport/authentication/playback remain host-owned.
|
|
21
|
+
When the shell's own admission drops older entries, its `input-limit` note reports the original
|
|
22
|
+
assigned count and retained count. The child transcript's smaller rendered window remains a
|
|
23
|
+
separate limit. Initial and reconnect notes are quiet; later changed omissions are politely
|
|
24
|
+
announced.
|
|
21
25
|
|
|
22
26
|
**Properties:** `state: RealtimeConnectionState = 'disconnected'` (reflected), where the closed set
|
|
23
27
|
is `'disconnected' | 'connecting' | 'connected' | 'reconnecting' | 'error'`; `voiceState:
|
|
@@ -50,7 +54,7 @@ The composed transcript's internal `lr-follow-change` event is contained and is
|
|
|
50
54
|
session shell's public event surface.
|
|
51
55
|
|
|
52
56
|
**CSS parts:** `base`, `header`, `status`, `activity`, `controls`, `connect`, `disconnect`, `mute`,
|
|
53
|
-
`interrupt`, `capture`, `transcript`, `error`.
|
|
57
|
+
`interrupt`, `capture`, `transcript`, `error`, `input-limit`.
|
|
54
58
|
|
|
55
59
|
Visible status and error text remain ordinary, non-live content. After the initial baseline,
|
|
56
60
|
non-error `state` transitions are appended to the shared polite light-DOM announcement sink and a
|
|
@@ -39,6 +39,10 @@ controls; making it invalid disables them. Identity edits do not emit a reorder
|
|
|
39
39
|
value attribute from a standalone item renders it as absent while preserving `null` readback; an
|
|
40
40
|
explicit empty string remains supplied and later valid values recover.
|
|
41
41
|
|
|
42
|
+
Movement boundaries reconcile once after an accepted internal move; native slot changes and item
|
|
43
|
+
identity changes remain authoritative. An explicit item `aria-label` avoids content-name
|
|
44
|
+
observation; otherwise the item refreshes its cached accessible name when slotted content changes.
|
|
45
|
+
|
|
42
46
|
### `lr-reorder-list`
|
|
43
47
|
|
|
44
48
|
**Properties:**
|
|
@@ -9,7 +9,7 @@
|
|
|
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
|
-
- **Themeable via**
|
|
12
|
+
- **Themeable via** 19 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
|
|
|
15
15
|
---
|
|
@@ -21,7 +21,7 @@ dense/sparse/rerank/final score breakdowns.
|
|
|
21
21
|
|
|
22
22
|
**Properties:** `sets: RetrievalComparisonSet[] = []` (attribute: false), where
|
|
23
23
|
`RetrievalComparisonSet = { id: string; label: string; chunks: RetrievalChunk[] }`;
|
|
24
|
-
`topK: number = 10` (attribute `top-k`, finite integer
|
|
24
|
+
`topK: number = 10` (attribute `top-k`, finite integer clamped to 1–100);
|
|
25
25
|
`selectedChunkId: string = ''` (attribute `selected-chunk-id`); `headingLevel: LyraHeadingLevel =
|
|
26
26
|
'3'` (attribute `heading-level`, each set heading; `'none'` keeps the visible text without heading
|
|
27
27
|
semantics); `label?: string` (fallback name for the overall comparison region; a non-empty host `aria-label` makes the host the sole overall
|
|
@@ -40,10 +40,15 @@ controlled selection, rendering, or events.
|
|
|
40
40
|
**Events:** `lr-chunk-select` (`{ setId, chunk }`).
|
|
41
41
|
|
|
42
42
|
**CSS parts:** `base`, `overlap`, `sets`, `set`, `set-heading`, `chunks`, `chunk`,
|
|
43
|
-
`chunk-selected`, `chunk-rank`, `chunk-title`, `chunk-text`, `scores`, `score`, `empty
|
|
43
|
+
`chunk-selected`, `chunk-rank`, `chunk-title`, `chunk-text`, `scores`, `score`, `empty`,
|
|
44
|
+
`input-limit`, `result-limit`, `pagination`, `page-status`, `page-button`.
|
|
44
45
|
|
|
45
46
|
Chunks are ordered by effective rank, then score, then input order before the top-k slice. Overlap
|
|
46
|
-
is pairwise Jaccard similarity across those visible chunk ids
|
|
47
|
+
is pairwise Jaccard similarity across those visible chunk ids on the current page. Internal pages
|
|
48
|
+
contain at most eight sets, so at most 28 overlap pairs are computed. Localized first/previous/next/
|
|
49
|
+
last controls reach every admitted set. `input-limit` discloses input admission loss, while each
|
|
50
|
+
`result-limit` reports visible top-k rows against that set's retained result count. Ranking and
|
|
51
|
+
overlap projections are reused for presentation-only updates. Selection is controlled. A result
|
|
47
52
|
button is named by its rank and source title (a blank name shows the localized "untitled source");
|
|
48
53
|
its text and scores are the button's description.
|
|
49
54
|
**Slots:** none. **Optional peer deps:** none.
|