@aceshooting/lyra-ui 19.0.1 → 20.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +159 -0
- package/custom-elements.json +1 -1
- package/dist/cli/migration-contract.json +1 -1
- package/dist/components/agent-tools/activity-feed/activity-feed.class.d.ts +14 -4
- package/dist/components/agent-tools/activity-feed/activity-feed.styles.js +1 -1
- package/dist/components/agent-tools/approval-queue/approval-queue.class.d.ts +1 -0
- package/dist/components/agent-tools/approval-queue/approval-queue.class.js +4 -3
- package/dist/components/agent-tools/approval-queue/approval-queue.styles.js +1 -1
- package/dist/components/agent-tools/artifact-panel/artifact-panel.class.d.ts +3 -1
- package/dist/components/agent-tools/context-inspector/context-inspector.class.d.ts +1 -0
- package/dist/components/agent-tools/context-inspector/context-inspector.class.js +4 -3
- package/dist/components/agent-tools/context-inspector/context-inspector.styles.js +1 -1
- package/dist/components/agent-tools/eval-dataset/eval-dataset.class.js +1 -1
- package/dist/components/agent-tools/eval-result/eval-result.class.js +1 -1
- package/dist/components/agent-tools/evaluation-run/evaluation-run.class.d.ts +1 -0
- package/dist/components/agent-tools/evaluation-run/evaluation-run.class.js +4 -3
- package/dist/components/agent-tools/evaluation-run/evaluation-run.styles.js +1 -1
- package/dist/components/agent-tools/policy-summary/policy-summary.class.d.ts +1 -0
- package/dist/components/agent-tools/policy-summary/policy-summary.class.js +4 -3
- package/dist/components/agent-tools/policy-summary/policy-summary.styles.js +1 -1
- package/dist/components/agent-tools/prompt-studio/prompt-studio.class.js +1 -1
- package/dist/components/agent-tools/schema-viewer/schema-viewer.class.d.ts +10 -1
- package/dist/components/agent-tools/schema-viewer/schema-viewer.class.js +3 -3
- package/dist/components/agent-tools/subagent-panel/subagent-panel.class.js +1 -1
- package/dist/components/agent-tools/thinking-panel/thinking-panel.class.d.ts +6 -3
- package/dist/components/agent-tools/thinking-panel/thinking-panel.styles.js +1 -1
- package/dist/components/agent-tools/tool-call-chip/tool-call-chip.class.d.ts +14 -3
- package/dist/components/agent-tools/tool-call-chip/tool-call-chip.class.js +2 -2
- package/dist/components/agent-tools/tool-param-form/tool-param-form.class.d.ts +12 -2
- package/dist/components/agent-tools/tool-param-form/tool-param-form.class.js +3 -1
- package/dist/components/charts/chart/box-plot.class.d.ts +15 -3
- package/dist/components/charts/chart/box-plot.class.js +3 -3
- package/dist/components/charts/chart/box-plot.styles.js +1 -1
- package/dist/components/charts/chart/chart.class.d.ts +23 -5
- package/dist/components/charts/chart/chart.class.js +2 -2
- package/dist/components/charts/chart/chart.styles.js +1 -1
- package/dist/components/charts/chart/lite-chart.class.js +1 -1
- package/dist/components/charts/chart/lite-chart.styles.js +1 -1
- package/dist/components/conversation/audio-visualizer/audio-visualizer.class.d.ts +4 -2
- package/dist/components/conversation/audio-visualizer/audio-visualizer.class.js +1 -1
- package/dist/components/conversation/branch-picker/branch-picker.class.d.ts +4 -2
- package/dist/components/conversation/branch-picker/branch-picker.class.js +1 -1
- package/dist/components/conversation/chat-viewport/chat-viewport.class.d.ts +4 -3
- package/dist/components/conversation/chat-viewport/chat-viewport.class.js +1 -1
- package/dist/components/conversation/code-block/code-block-core.class.d.ts +6 -11
- package/dist/components/conversation/code-block/code-block-core.class.js +1 -1
- package/dist/components/conversation/code-block/code-block-shared.d.ts +29 -1
- package/dist/components/conversation/code-block/code-block-shared.js +1 -1
- package/dist/components/conversation/code-block/code-block.class.d.ts +6 -11
- package/dist/components/conversation/code-block/code-block.class.js +1 -1
- package/dist/components/conversation/markdown/markdown-shared.js +2 -2
- package/dist/components/conversation/message-actions/message-actions.class.d.ts +4 -2
- package/dist/components/conversation/message-actions/message-actions.class.js +2 -2
- package/dist/components/conversation/message-parts/message-parts.class.d.ts +17 -2
- package/dist/components/conversation/model-select/model-select.class.js +1 -0
- package/dist/components/conversation/model-select/model-select.styles.js +1 -1
- package/dist/components/conversation/prompt-input/prompt-input.class.d.ts +5 -1
- package/dist/components/conversation/prompt-input/prompt-input.class.js +2 -2
- package/dist/components/conversation/prompt-queue/prompt-queue.class.d.ts +6 -1
- package/dist/components/conversation/prompt-queue/prompt-queue.class.js +2 -2
- package/dist/components/conversation/realtime-session/realtime-session.class.d.ts +5 -1
- package/dist/components/conversation/realtime-session/realtime-session.class.js +1 -1
- package/dist/components/conversation/selection-toolbar/selection-toolbar.class.d.ts +5 -1
- package/dist/components/conversation/selection-toolbar/selection-toolbar.class.js +1 -1
- package/dist/components/conversation/voice-picker/voice-picker.class.d.ts +13 -2
- package/dist/components/conversation/voice-picker/voice-picker.class.js +5 -3
- package/dist/components/conversation/voice-picker/voice-picker.styles.js +1 -1
- package/dist/components/data/calendar/calendar.class.d.ts +9 -0
- package/dist/components/data/calendar/calendar.class.js +2 -2
- package/dist/components/data/calendar/calendar.styles.js +1 -1
- package/dist/components/data/condition-builder/condition-builder.class.d.ts +5 -1
- package/dist/components/data/context-meter/context-meter.class.d.ts +4 -0
- package/dist/components/data/context-meter/context-meter.styles.js +1 -1
- package/dist/components/data/data-grid/data-grid.class.d.ts +8 -2
- package/dist/components/data/data-grid/data-grid.class.js +1 -2
- package/dist/components/data/flow-node/flow-node.class.d.ts +7 -4
- package/dist/components/data/flow-node/flow-node.styles.js +1 -1
- package/dist/components/data/funnel/funnel.class.d.ts +5 -0
- package/dist/components/data/funnel/funnel.class.js +4 -3
- package/dist/components/data/funnel/funnel.styles.js +1 -1
- package/dist/components/data/gauge/gauge.class.d.ts +12 -1
- package/dist/components/data/gauge/gauge.styles.js +1 -1
- package/dist/components/data/graph-query-builder/graph-query-builder.class.d.ts +50 -13
- package/dist/components/data/graph-query-builder/graph-query-builder.class.js +2 -2
- package/dist/components/data/graph-query-builder/graph-query-builder.styles.js +1 -1
- package/dist/components/data/heatmap/heatmap.class.d.ts +27 -9
- package/dist/components/data/heatmap/heatmap.class.js +5 -3
- package/dist/components/data/sequence-strip/sequence-strip.class.d.ts +2 -0
- package/dist/components/data/sequence-strip/sequence-strip.styles.js +1 -1
- package/dist/components/data/table/table.class.d.ts +8 -0
- package/dist/components/data/table/table.class.js +2 -1
- package/dist/components/data/tree/tree.class.d.ts +20 -1
- package/dist/components/data/tree/tree.class.js +1 -1
- package/dist/components/data/word-cloud/word-cloud.class.d.ts +4 -1
- package/dist/components/data/word-cloud/word-cloud.class.js +2 -2
- package/dist/components/forms/button/button.class.js +1 -1
- package/dist/components/forms/checkbox/checkbox.class.d.ts +11 -8
- package/dist/components/forms/checkbox/checkbox.class.js +1 -1
- package/dist/components/forms/checkbox/checkbox.styles.js +1 -1
- package/dist/components/forms/checkbox-group/checkbox-group.class.d.ts +2 -2
- package/dist/components/forms/checkbox-group/checkbox-group.class.js +1 -1
- package/dist/components/forms/code-editor/code-editor.class.d.ts +2 -0
- package/dist/components/forms/code-editor/code-editor.class.js +1 -1
- package/dist/components/forms/code-editor/code-editor.styles.js +1 -1
- package/dist/components/forms/color-picker/color-picker.class.d.ts +11 -1
- package/dist/components/forms/color-picker/color-picker.class.js +4 -3
- package/dist/components/forms/combobox/combobox.class.d.ts +67 -18
- package/dist/components/forms/combobox/combobox.class.js +7 -6
- package/dist/components/forms/combobox/combobox.styles.js +1 -1
- package/dist/components/forms/date-picker/date-input.class.d.ts +22 -2
- package/dist/components/forms/date-picker/date-input.class.js +4 -2
- package/dist/components/forms/date-picker/date-input.styles.js +1 -1
- package/dist/components/forms/emoji-picker/emoji-data-loader.d.ts +18 -4
- package/dist/components/forms/emoji-picker/emoji-data-loader.js +1 -1
- package/dist/components/forms/emoji-picker/emoji-picker.class.d.ts +18 -4
- package/dist/components/forms/emoji-picker/emoji-picker.class.js +1 -1
- package/dist/components/forms/emoji-picker/emoji-picker.styles.js +1 -1
- package/dist/components/forms/icon-button/icon-button.class.d.ts +1 -1
- package/dist/components/forms/input/time-input.class.d.ts +11 -1
- package/dist/components/forms/input/time-input.class.js +4 -3
- package/dist/components/forms/input/time-input.styles.js +1 -1
- package/dist/components/forms/locale-picker/locale-picker.class.d.ts +17 -3
- package/dist/components/forms/locale-picker/locale-picker.class.js +3 -2
- package/dist/components/forms/locale-picker/locale-picker.styles.js +1 -1
- package/dist/components/forms/otp-input/otp-input.class.d.ts +13 -5
- package/dist/components/forms/otp-input/otp-input.class.js +2 -2
- package/dist/components/forms/otp-input/otp-input.styles.js +1 -1
- package/dist/components/forms/phone-input/phone-input.class.d.ts +10 -3
- package/dist/components/forms/phone-input/phone-input.class.js +6 -2
- package/dist/components/forms/phone-input/phone-input.styles.js +1 -1
- package/dist/components/forms/radio/radio-group.class.d.ts +1 -1
- package/dist/components/forms/radio/radio-group.class.js +2 -2
- package/dist/components/forms/rubric-form/rubric-form.class.d.ts +9 -1
- package/dist/components/forms/rubric-form/rubric-form.class.js +5 -3
- package/dist/components/forms/select/select.class.d.ts +4 -0
- package/dist/components/forms/select/select.styles.js +1 -1
- package/dist/components/forms/slider/slider.class.d.ts +5 -1
- package/dist/components/forms/slider/slider.class.js +3 -3
- package/dist/components/forms/switch/switch.class.d.ts +6 -5
- package/dist/components/forms/switch/switch.class.js +1 -1
- package/dist/components/forms/time-range/time-range.class.d.ts +2 -2
- package/dist/components/forms/token-input/token-input.class.d.ts +13 -3
- package/dist/components/forms/token-input/token-input.class.js +3 -1
- package/dist/components/layout/carousel/carousel.class.d.ts +4 -1
- package/dist/components/layout/carousel/carousel.class.js +1 -1
- package/dist/components/layout/command-palette/command-palette.class.d.ts +8 -2
- package/dist/components/layout/command-palette/command-palette.class.js +1 -1
- package/dist/components/layout/command-palette/command-palette.styles.js +1 -1
- package/dist/components/layout/details/accordion.class.js +1 -1
- package/dist/components/layout/dock-panel/dock-panel.class.d.ts +10 -7
- package/dist/components/layout/dock-panel/dock-panel.class.js +2 -2
- package/dist/components/layout/dock-panel/dock-panel.styles.js +1 -1
- package/dist/components/layout/menu/menu.class.d.ts +13 -3
- package/dist/components/layout/menu/menu.class.js +4 -3
- package/dist/components/layout/menu/menu.styles.js +1 -1
- package/dist/components/layout/page/page.class.d.ts +7 -1
- 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/segmented/segmented.class.d.ts +2 -0
- package/dist/components/layout/segmented/segmented.styles.js +1 -1
- package/dist/components/layout/virtual-list/virtual-list.styles.js +1 -1
- package/dist/components/layout/widget/widget.class.d.ts +15 -2
- package/dist/components/layout/widget/widget.class.js +1 -1
- package/dist/components/layout/widget/widget.styles.js +1 -1
- package/dist/components/media/avatar/avatar.class.d.ts +4 -0
- package/dist/components/media/avatar/avatar.styles.js +1 -1
- package/dist/components/media/avatar-group/avatar-group.class.d.ts +8 -1
- package/dist/components/media/avatar-group/avatar-group.styles.js +1 -1
- package/dist/components/media/drop-zone/drop-zone.class.d.ts +10 -4
- package/dist/components/media/drop-zone/drop-zone.class.js +2 -2
- package/dist/components/media/drop-zone/drop-zone.styles.js +1 -1
- package/dist/components/media/flag/flag.class.js +1 -1
- package/dist/components/media/map/map.class.d.ts +19 -5
- package/dist/components/media/map/map.class.js +3 -3
- package/dist/components/media/video-playlist/video-playlist.class.d.ts +6 -3
- package/dist/components/media/video-playlist/video-playlist.class.js +1 -1
- package/dist/components/overlays/callout/callout.class.d.ts +4 -1
- package/dist/components/overlays/dialog/dialog.class.d.ts +4 -1
- package/dist/components/overlays/overlay/overlay.styles.js +1 -1
- package/dist/components/overlays/overlay/popover.class.d.ts +9 -1
- package/dist/components/overlays/overlay/popover.class.js +3 -2
- package/dist/components/overlays/overlay/tooltip.class.d.ts +14 -4
- package/dist/components/overlays/overlay/tooltip.class.js +3 -2
- package/dist/components/overlays/popup/popup.class.d.ts +15 -1
- package/dist/components/overlays/popup/popup.class.js +3 -3
- package/dist/components/overlays/popup/popup.styles.js +1 -1
- package/dist/components/overlays/progress/progress-bar.class.d.ts +2 -0
- package/dist/components/overlays/progress/progress.styles.js +1 -1
- package/dist/components/retrieval/citation-badge/citation-badge.class.d.ts +4 -2
- package/dist/components/retrieval/citation-badge/citation-badge.class.js +1 -1
- package/dist/components/retrieval/claim-evidence/claim-evidence.class.d.ts +4 -0
- package/dist/components/retrieval/claim-evidence/claim-evidence.class.js +4 -3
- package/dist/components/retrieval/claim-evidence/claim-evidence.styles.js +1 -1
- package/dist/components/retrieval/community-card/community-card.class.d.ts +6 -1
- package/dist/components/retrieval/community-card/community-card.styles.js +1 -1
- package/dist/components/retrieval/embedding-explorer/embedding-explorer.class.d.ts +9 -1
- package/dist/components/retrieval/embedding-explorer/embedding-explorer.class.js +4 -3
- package/dist/components/retrieval/entity-card/entity-card.styles.js +1 -1
- package/dist/components/retrieval/entity-chip/entity-chip.class.d.ts +4 -2
- package/dist/components/retrieval/entity-chip/entity-chip.class.js +1 -1
- package/dist/components/retrieval/entity-dossier/entity-dossier.class.js +2 -2
- package/dist/components/retrieval/graph-legend/graph-legend.class.d.ts +18 -4
- package/dist/components/retrieval/graph-legend/graph-legend.class.js +2 -2
- package/dist/components/retrieval/grounding-summary/grounding-summary.class.d.ts +7 -0
- package/dist/components/retrieval/grounding-summary/grounding-summary.class.js +4 -3
- package/dist/components/retrieval/grounding-summary/grounding-summary.styles.js +1 -1
- package/dist/components/retrieval/memory-panel/memory-panel.class.d.ts +6 -0
- package/dist/components/retrieval/memory-panel/memory-panel.class.js +4 -3
- package/dist/components/retrieval/memory-panel/memory-panel.styles.js +1 -1
- package/dist/components/retrieval/mind-map/mind-map-layout.d.ts +17 -1
- package/dist/components/retrieval/mind-map/mind-map-layout.js +1 -1
- package/dist/components/retrieval/mind-map/mind-map.class.d.ts +8 -1
- package/dist/components/retrieval/mind-map/mind-map.class.js +3 -2
- package/dist/components/retrieval/rag-eval-dashboard/rag-eval-dashboard.class.d.ts +5 -0
- package/dist/components/retrieval/rag-eval-dashboard/rag-eval-dashboard.class.js +6 -5
- package/dist/components/retrieval/rag-eval-dashboard/rag-eval-dashboard.styles.js +1 -1
- package/dist/components/retrieval/retrieval-compare/retrieval-compare.class.js +5 -5
- package/dist/components/retrieval/retrieval-compare/retrieval-compare.styles.js +1 -1
- package/dist/components/retrieval/source-list/source-list.class.d.ts +21 -2
- package/dist/components/retrieval/source-list/source-list.class.js +2 -2
- package/dist/components/retrieval/source-list/source-list.styles.js +1 -1
- package/dist/components/retrieval/source-picker/source-picker.class.d.ts +3 -1
- package/dist/components/retrieval/source-picker/source-picker.class.js +2 -2
- package/dist/components/utility/diff-view/diff-view.class.d.ts +105 -8
- package/dist/components/utility/diff-view/diff-view.class.js +21 -5
- package/dist/components/utility/diff-view/diff-view.styles.js +1 -1
- package/dist/components/utility/export-button/export-button.class.d.ts +26 -2
- package/dist/components/utility/export-button/export-button.class.js +4 -2
- package/dist/components/utility/export-button/export-button.styles.js +1 -1
- package/dist/components/utility/mention-popover/mention-popover.class.d.ts +19 -1
- package/dist/components/utility/mention-popover/mention-popover.class.js +3 -2
- package/dist/components/utility/mention-popover/mention-popover.styles.js +1 -1
- package/dist/components/utility/tour/tour.class.d.ts +1 -3
- package/dist/components/utility/tour/tour.class.js +1 -1
- package/dist/components/viewers/archive-viewer/archive-viewer.class.d.ts +20 -3
- package/dist/components/viewers/archive-viewer/archive-viewer.class.js +1 -1
- package/dist/components/viewers/ebook-viewer/ebook-viewer.class.js +1 -1
- package/dist/components/viewers/geojson-view/geojson-view.styles.js +1 -1
- package/dist/components/viewers/geojson-view/geojson-viewer.class.d.ts +5 -0
- package/dist/components/viewers/geojson-view/geojson-viewer.class.js +6 -3
- package/dist/components/viewers/pdf-viewer/pdf-viewer.class.d.ts +7 -1
- package/dist/components/viewers/pdf-viewer/pdf-viewer.class.js +1 -1
- package/dist/components/viewers/pptx-viewer/pptx-viewer.class.d.ts +7 -1
- package/dist/components/viewers/pptx-viewer/pptx-viewer.class.js +1 -1
- package/dist/components/viewers/xml-viewer/xml-viewer.class.d.ts +5 -0
- 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 +79 -30
- package/dist/internal/accessibility-visibility.js +1 -1
- package/dist/internal/aria-reflection.js +1 -1
- package/dist/internal/catalog-picker.d.ts +14 -3
- package/dist/internal/catalog-picker.js +1 -1
- package/dist/internal/default-strings.generated.d.ts +1 -1
- package/dist/internal/default-strings.generated.js +2 -2
- package/dist/internal/localization-types.d.ts +1 -1
- package/dist/internal/localization.js +2 -2
- package/dist/internal/lyra-element.d.ts +17 -0
- package/dist/internal/lyra-element.js +2 -2
- package/dist/internal/package-metadata.d.ts +1 -1
- package/dist/internal/package-metadata.js +1 -1
- package/dist/svelte.d.ts +1 -1
- package/dist/testing/lyra-tag-event-map.js +1 -1
- package/dist/translations/ar/agent-tools.js +1 -1
- package/dist/translations/ar/data.js +1 -1
- package/dist/translations/ar/retrieval.js +1 -1
- package/dist/translations/ar/shared.js +1 -1
- package/dist/translations/ar/viewers.js +1 -1
- package/dist/translations/de/agent-tools.js +1 -1
- package/dist/translations/de/data.js +1 -1
- package/dist/translations/de/retrieval.js +1 -1
- package/dist/translations/de/shared.js +1 -1
- package/dist/translations/de/viewers.js +1 -1
- package/dist/translations/es/agent-tools.js +1 -1
- package/dist/translations/es/data.js +1 -1
- package/dist/translations/es/retrieval.js +1 -1
- package/dist/translations/es/shared.js +1 -1
- package/dist/translations/es/viewers.js +1 -1
- package/dist/translations/fa/agent-tools.js +1 -1
- package/dist/translations/fa/data.js +1 -1
- package/dist/translations/fa/retrieval.js +1 -1
- package/dist/translations/fa/shared.js +1 -1
- package/dist/translations/fa/viewers.js +1 -1
- package/dist/translations/fr/agent-tools.js +1 -1
- package/dist/translations/fr/data.js +1 -1
- package/dist/translations/fr/retrieval.js +1 -1
- package/dist/translations/fr/shared.js +1 -1
- package/dist/translations/fr/viewers.js +1 -1
- package/dist/translations/he/agent-tools.js +1 -1
- package/dist/translations/he/data.js +1 -1
- package/dist/translations/he/retrieval.js +1 -1
- package/dist/translations/he/shared.js +1 -1
- package/dist/translations/he/viewers.js +1 -1
- package/dist/translations/it/agent-tools.js +1 -1
- package/dist/translations/it/data.js +1 -1
- package/dist/translations/it/retrieval.js +1 -1
- package/dist/translations/it/shared.js +1 -1
- package/dist/translations/it/viewers.js +1 -1
- package/dist/translations/ja/agent-tools.js +1 -1
- package/dist/translations/ja/data.js +1 -1
- package/dist/translations/ja/retrieval.js +1 -1
- package/dist/translations/ja/shared.js +1 -1
- package/dist/translations/ja/viewers.js +1 -1
- package/dist/translations/pt-BR/agent-tools.js +1 -1
- package/dist/translations/pt-BR/data.js +1 -1
- package/dist/translations/pt-BR/retrieval.js +1 -1
- package/dist/translations/pt-BR/shared.js +1 -1
- package/dist/translations/pt-BR/viewers.js +1 -1
- package/dist/translations/ro/agent-tools.js +1 -1
- package/dist/translations/ro/data.js +1 -1
- package/dist/translations/ro/retrieval.js +1 -1
- package/dist/translations/ro/shared.js +1 -1
- package/dist/translations/ro/viewers.js +1 -1
- package/dist/translations/ru/agent-tools.js +1 -1
- package/dist/translations/ru/data.js +1 -1
- package/dist/translations/ru/retrieval.js +1 -1
- package/dist/translations/ru/shared.js +1 -1
- package/dist/translations/ru/viewers.js +1 -1
- package/dist/translations/zh-CN/agent-tools.js +1 -1
- package/dist/translations/zh-CN/data.js +1 -1
- package/dist/translations/zh-CN/retrieval.js +1 -1
- package/dist/translations/zh-CN/shared.js +1 -1
- package/dist/translations/zh-CN/viewers.js +1 -1
- package/dist/vue.d.ts +1 -1
- package/llms/components/lr-activity-feed.md +20 -9
- package/llms/components/lr-approval-queue.md +3 -2
- package/llms/components/lr-archive-viewer.md +8 -1
- package/llms/components/lr-artifact-panel.md +3 -1
- package/llms/components/lr-audio-visualizer.md +3 -1
- package/llms/components/lr-avatar-group.md +13 -6
- package/llms/components/lr-avatar.md +6 -2
- package/llms/components/lr-bar-chart.md +6 -3
- package/llms/components/lr-box-plot.md +6 -2
- package/llms/components/lr-branch-picker.md +3 -1
- package/llms/components/lr-bubble-chart.md +6 -3
- package/llms/components/lr-calendar.md +10 -3
- package/llms/components/lr-carousel.md +4 -2
- package/llms/components/lr-chart.md +12 -4
- package/llms/components/lr-chat-viewport.md +3 -2
- package/llms/components/lr-checkbox.md +8 -5
- package/llms/components/lr-citation-badge.md +2 -0
- package/llms/components/lr-claim-evidence.md +6 -2
- package/llms/components/lr-code-editor.md +3 -1
- package/llms/components/lr-color-picker.md +20 -8
- package/llms/components/lr-combobox.md +26 -3
- package/llms/components/lr-command-palette.md +6 -3
- package/llms/components/lr-community-card.md +7 -4
- package/llms/components/lr-context-inspector.md +3 -2
- package/llms/components/lr-context-meter.md +13 -5
- package/llms/components/lr-data-grid.md +2 -0
- package/llms/components/lr-date-input.md +12 -3
- package/llms/components/lr-date-picker.md +11 -2
- package/llms/components/lr-diff-view.md +46 -5
- package/llms/components/lr-doughnut-chart.md +6 -3
- package/llms/components/lr-drop-zone.md +7 -3
- package/llms/components/lr-embedding-explorer.md +8 -2
- package/llms/components/lr-emoji-picker.md +5 -1
- package/llms/components/lr-entity-chip.md +2 -0
- package/llms/components/lr-eval-run.md +3 -2
- package/llms/components/lr-export-button.md +5 -2
- package/llms/components/lr-flow-node.md +7 -4
- package/llms/components/lr-funnel.md +7 -2
- package/llms/components/lr-gauge.md +7 -2
- package/llms/components/lr-geojson-view.md +10 -2
- package/llms/components/lr-geojson-viewer.md +10 -2
- package/llms/components/lr-graph-legend.md +6 -3
- package/llms/components/lr-graph-query-builder.md +21 -11
- package/llms/components/lr-grounding-summary.md +8 -2
- package/llms/components/lr-heatmap.md +5 -2
- package/llms/components/lr-histogram.md +4 -2
- package/llms/components/lr-json-schema-viewer.md +7 -5
- package/llms/components/lr-line-chart.md +6 -3
- package/llms/components/lr-locale-picker.md +4 -1
- package/llms/components/lr-map.md +5 -3
- package/llms/components/lr-memory-panel.md +6 -2
- package/llms/components/lr-mention-popover.md +7 -4
- package/llms/components/lr-message-actions.md +3 -1
- package/llms/components/lr-message-parts.md +8 -2
- package/llms/components/lr-mind-map.md +11 -2
- package/llms/components/lr-option.md +25 -2
- package/llms/components/lr-otp-input.md +3 -1
- package/llms/components/lr-phone-input.md +9 -5
- package/llms/components/lr-pie-chart.md +6 -3
- package/llms/components/lr-polar-area-chart.md +6 -3
- package/llms/components/lr-policy-summary.md +3 -2
- package/llms/components/lr-progress-bar.md +4 -1
- package/llms/components/lr-prompt-input.md +4 -1
- package/llms/components/lr-prompt-queue.md +5 -2
- package/llms/components/lr-radar-chart.md +6 -3
- package/llms/components/lr-rag-eval-dashboard.md +7 -2
- package/llms/components/lr-realtime-session.md +3 -1
- package/llms/components/lr-rubric-form.md +6 -1
- package/llms/components/lr-scatter-chart.md +6 -3
- package/llms/components/lr-segmented.md +3 -1
- package/llms/components/lr-select.md +7 -1
- package/llms/components/lr-selection-toolbar.md +4 -1
- package/llms/components/lr-sequence-strip.md +7 -3
- package/llms/components/lr-source-card.md +16 -1
- package/llms/components/lr-source-list.md +17 -2
- package/llms/components/lr-source-picker.md +3 -1
- package/llms/components/lr-subagent-panel.md +6 -3
- package/llms/components/lr-switch.md +4 -3
- package/llms/components/lr-table.md +6 -1
- package/llms/components/lr-thinking-panel.md +8 -5
- package/llms/components/lr-token-input.md +15 -1
- package/llms/components/lr-tool-call-chip.md +2 -0
- package/llms/components/lr-tool-param-form.md +15 -4
- package/llms/components/lr-tooltip.md +8 -4
- package/llms/components/lr-trace-tree.md +7 -4
- package/llms/components/lr-video-playlist.md +7 -5
- package/llms/components/lr-voice-picker.md +7 -4
- package/llms/components/lr-widget.md +15 -2
- package/llms/migration.md +4 -4
- package/llms-full.txt +552 -159
- package/package.json +11 -9
- package/registrations.json +1 -1
- package/vscode-css-data.json +1 -1
- package/vscode-html-data.json +1 -1
- package/web-types.json +1 -1
|
@@ -7,9 +7,12 @@
|
|
|
7
7
|
- **Family** `components/data/` — 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: [llms-full.txt](../../llms-full.txt)
|
|
10
|
-
- **
|
|
10
|
+
- **Deprecated event** `lr-before-query-delete` since `19.0.1`; use event `addEventListener('lr-query-delete-request', ...)`; removal not before `21.0.0` — Renamed to the library's dominant *-request veto-event convention; both names fire from the same gesture with an identical detail during the compatibility window, and either may veto.
|
|
11
|
+
- **Deprecated event** `lr-before-query-load` since `19.0.1`; use event `addEventListener('lr-query-load-request', ...)`; removal not before `21.0.0` — Renamed to the library's dominant *-request veto-event convention; both names fire from the same gesture with an identical detail during the compatibility window, and either may veto.
|
|
12
|
+
- **Deprecated event** `lr-before-query-run` since `19.0.1`; use event `addEventListener('lr-query-run-request', ...)`; removal not before `21.0.0` — Renamed to the library's dominant *-request veto-event convention; both names fire from the same gesture with an identical detail during the compatibility window, and either may veto.
|
|
13
|
+
- **Deprecated event** `lr-before-query-save` since `19.0.1`; use event `addEventListener('lr-query-save-request', ...)`; removal not before `21.0.0` — Renamed to the library's dominant *-request veto-event convention; both names fire from the same gesture with an identical detail during the compatibility window, and either may veto.
|
|
11
14
|
- **Optional peers** none
|
|
12
|
-
- **Themeable via**
|
|
15
|
+
- **Themeable via** 28 parts, 16 custom properties — see this component's own `@csspart`/`@cssprop` list below
|
|
13
16
|
- **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
|
|
14
17
|
|
|
15
18
|
---
|
|
@@ -72,21 +75,28 @@ visible label element, so slotted/property/localized label text is also the anno
|
|
|
72
75
|
effective native validity, including custom errors and own/fieldset validation barring.
|
|
73
76
|
`lr-invalid` is a cancelable bubbling/composed alias; vetoing it suppresses the native invalid
|
|
74
77
|
default. Run, save, load, and delete share one two-phase contract: cancelable
|
|
75
|
-
`lr-
|
|
76
|
-
`lr-
|
|
78
|
+
`lr-query-run-request`, `lr-query-save-request`, `lr-query-load-request`, and
|
|
79
|
+
`lr-query-delete-request` requests precede any local effect; non-cancelable `lr-query-run`,
|
|
77
80
|
`lr-query-save`, `lr-query-load`, and `lr-query-delete` notifications follow only when accepted.
|
|
78
|
-
The matching
|
|
81
|
+
The matching request/accepted pair reuses one frozen payload: `{ query }` for run,
|
|
79
82
|
`{ name, query }` for save, `{ queryId, query }` for load, and `{ queryId }` for delete.
|
|
80
83
|
Run validates before its request. Save veto preserves the draft name. Load requests frozen
|
|
81
84
|
`{ queryId, query }` before changing `value`, so veto preserves the current query; its accepted event
|
|
82
85
|
fires after the new value is applied. Delete remains controlled, so the host removes the accepted
|
|
83
|
-
id from `savedQueries`.
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
`lr-query
|
|
86
|
+
id from `savedQueries`. Each request also fires a **deprecated** `lr-before-query-run` /
|
|
87
|
+
`lr-before-query-save` / `lr-before-query-load` / `lr-before-query-delete` alias immediately after
|
|
88
|
+
its canonical `-request` counterpart, from the same gesture with the same frozen detail; either
|
|
89
|
+
event may veto. The aliases are slated for removal in 21.0.0 — migrate listeners to the
|
|
90
|
+
`lr-query-*-request` names. The full set is `lr-input`, `lr-validity-change`, `lr-invalid`, and
|
|
91
|
+
those twelve phased action events (four requests, four deprecated aliases, four accepted
|
|
92
|
+
notifications).
|
|
93
|
+
|
|
94
|
+
Migration note: veto save in `lr-query-save-request` (or its deprecated `lr-before-query-save`
|
|
95
|
+
alias), not `lr-query-save`; the existing `lr-query-*` action events are accepted, non-cancelable
|
|
96
|
+
notifications. **Slots:** `actions`,
|
|
88
97
|
`label`, `hint`, `error`. **CSS
|
|
89
|
-
parts:** `base`, `label
|
|
98
|
+
parts:** `base`, `form-control-label` (`label` remains as a compatibility alias on the same node),
|
|
99
|
+
`hint`, `error` (the three form-control chrome parts every
|
|
90
100
|
form-associated control in this library exposes — see `lr-select`), `path-fields`, `start-input`,
|
|
91
101
|
`end-input`, `relationship-picker`, `relationship-chips`, `node-type-picker`, `node-type-chips`,
|
|
92
102
|
`direction`, `filter-group`, `min-hops`, `max-hops`, `footer`, `run-button`, `save-button`,
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
- **Release history** [CHANGELOG.md](../../CHANGELOG.md); family-wide breaking-change summaries: [llms-full.txt](../../llms-full.txt)
|
|
10
10
|
- **Deprecations** none
|
|
11
11
|
- **Optional peers** none
|
|
12
|
-
- **Themeable via**
|
|
12
|
+
- **Themeable via** 17 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
|
---
|
|
@@ -53,6 +53,11 @@ rendering, or events. Usable display fields are captured once while emitted sele
|
|
|
53
53
|
objects retain their original identity. Malformed rows and later duplicate ids are omitted; the
|
|
54
54
|
first valid occurrence wins.
|
|
55
55
|
|
|
56
|
+
At most 500 citations render as `evidence-item` rows; a `citations` array past that length still
|
|
57
|
+
reports its true count in `evidence-count` but renders a localized `limit` notice after the list
|
|
58
|
+
rather than mounting an unbounded number of rows. The full citation set is still forwarded to the
|
|
59
|
+
composed `lr-claim-evidence` for claim-to-citation lookup, which applies its own render cap.
|
|
60
|
+
|
|
56
61
|
**Events:** `lr-citation-select` (`detail: CitationSelectEventDetail` from
|
|
57
62
|
`@aceshooting/lyra-ui/ai` = `{ citation: Citation }`) — emitted when an evidence badge is activated.
|
|
58
63
|
The inner `lr-citation-badge`'s generic activation is stopped at this composition boundary; this
|
|
@@ -69,7 +74,8 @@ row), `warnings` (omitted when there are none), `warnings-heading`, `warnings-co
|
|
|
69
74
|
its semantics survive list-style resets),
|
|
70
75
|
`evidence-item` (one `<li>` containing a badge + always-visible label/span text),
|
|
71
76
|
`evidence-label` (omitted when `Citation.label` is unset), `evidence-span` (the formatted
|
|
72
|
-
`Citation.span` range, omitted when unset), `
|
|
77
|
+
`Citation.span` range, omitted when unset), `limit` (localized notice shown when `citations` exceeds
|
|
78
|
+
the 500-citation render ceiling), `claims` (the claim/evidence region), `empty`
|
|
73
79
|
(shown when `assessment` is `null`).
|
|
74
80
|
|
|
75
81
|
**Themeable custom properties:** shared tokens only.
|
|
@@ -348,8 +348,11 @@ color?: string; label?: string; partOfRamp?: boolean }`: a discrete legend key r
|
|
|
348
348
|
"no data" color next to an N-step ramp) to exclude just that stop from the comparison; defaults to
|
|
349
349
|
`true`. A caption-only stop (no `color`) is already excluded regardless of this flag.
|
|
350
350
|
|
|
351
|
-
**Getters/methods:** `exportData('png')` returns a
|
|
352
|
-
|
|
351
|
+
**Getters/methods:** `exportData('csv'|'png')` returns a spreadsheet-safe CSV snapshot of the
|
|
352
|
+
underlying matrix/calendar values or a PNG data URL for the most recently completed canvas paint.
|
|
353
|
+
The CSV form reads `data` directly (not any bounded render cache) and omits no-data cells — one
|
|
354
|
+
`row,column,value` row per real matrix cell, or `date,value` per real calendar day. The PNG form
|
|
355
|
+
includes the painted axes, cells, focus/selection/annotation overlays, and frozen
|
|
353
356
|
label bands while `stickyLabels` is enabled; the DOM legend, tooltip, and accessible-cell buttons
|
|
354
357
|
are deliberately excluded. It returns `''` before a completed paint, while rendering is deferred or
|
|
355
358
|
zero-sized, after disconnect, or when the browser cannot encode the snapshot. `refreshTheme()` —
|
|
@@ -48,10 +48,12 @@ maxSamples?)` appends finite raw samples and optionally retains only the newest
|
|
|
48
48
|
`appendData()` remains a working compatibility adapter (no longer deprecated); prefer
|
|
49
49
|
`appendSamples()` for new code.
|
|
50
50
|
|
|
51
|
-
**Events:** `lr-zoom`, `lr-datum-activate`, `lr-point-click`, `lr-
|
|
52
|
-
(cancelable), `lr-datum-visibility-change`, `lr-
|
|
51
|
+
**Events:** `lr-zoom`, `lr-datum-activate`, `lr-point-click`, `lr-datum-visibility-change-request`
|
|
52
|
+
(cancelable), `lr-datum-visibility-change`, `lr-legend-visibility-change-request` (cancelable), and
|
|
53
53
|
`lr-legend-visibility-change` — inherited; `lr-point-click`'s `index` is the bucket index and
|
|
54
54
|
`label` the generated bucket range string (`"lo–hi"`, both bounds at one decimal place).
|
|
55
|
+
`lr-before-datum-visibility-change`/`lr-before-legend-visibility-change` are deprecated aliases of
|
|
56
|
+
the two `*-request` events above (removal not before 21.0.0).
|
|
55
57
|
The inherited datum-visibility events apply only to radial controllers; the histogram keeps its
|
|
56
58
|
bar controller and dataset legend even with `legend-mode="datum"`.
|
|
57
59
|
|
|
@@ -54,11 +54,13 @@ caps visual nesting indentation while preserving complete JSON Pointer paths;
|
|
|
54
54
|
only.
|
|
55
55
|
|
|
56
56
|
Rendering is capped independently at 500 schema nodes and 500 validation issues; `limit` and
|
|
57
|
-
`issue-limit` show their respective truncation as ordinary, non-live status text.
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
57
|
+
`issue-limit` show their respective truncation as ordinary, non-live status text. When `selectedPath`
|
|
58
|
+
resolves beyond the 500-node ceiling, that node and its resolvable ancestor chain reserve positions
|
|
59
|
+
inside the cap ahead of ordinary traversal order, so the controlled selection remains visible. Newly
|
|
60
|
+
reaching or changing either ceiling after the initial baseline appends the localized message to the
|
|
61
|
+
shared polite light-DOM announcement sink; initial and reconnect renders stay silent. Issues are
|
|
62
|
+
indexed by path once before recursive rendering instead of rescanning the full input for every node.
|
|
63
|
+
Cycles stop at the repeated node rather than recursing. **Slots:** none. **Optional peer deps:** none.
|
|
62
64
|
|
|
63
65
|
```ts
|
|
64
66
|
import '@aceshooting/lyra-ui/components/lr-json-schema-viewer.js';
|
|
@@ -41,11 +41,14 @@ of every entry in these lists.**
|
|
|
41
41
|
`refreshTheme()`.
|
|
42
42
|
|
|
43
43
|
**Events:** `lr-zoom` (`detail: { zoomed: boolean }`), `lr-datum-activate`, `lr-point-click` (`detail: { datasetIndex,
|
|
44
|
-
index, label, value }`), `lr-
|
|
44
|
+
index, label, value }`), `lr-legend-visibility-change-request` (cancelable), and
|
|
45
45
|
`lr-legend-visibility-change` (commit; both legend events carry `datasetIndex`, `visible`, and the
|
|
46
|
-
complete `hiddenDatasets` snapshot).
|
|
47
|
-
|
|
46
|
+
complete `hiddenDatasets` snapshot). `lr-before-legend-visibility-change` is a **deprecated** alias
|
|
47
|
+
of `lr-legend-visibility-change-request` (removal not before 21.0.0).
|
|
48
|
+
Radial category legends additionally emit `lr-datum-visibility-change-request` (cancelable) and
|
|
48
49
|
`lr-datum-visibility-change`, carrying `index`, `visible` and the frozen `hiddenDatums` snapshot.
|
|
50
|
+
`lr-before-datum-visibility-change` is a **deprecated** alias of `lr-datum-visibility-change-request`
|
|
51
|
+
(removal not before 21.0.0).
|
|
49
52
|
|
|
50
53
|
**Slots:** default JSON configuration script, `data-table`, `center`.
|
|
51
54
|
|
|
@@ -38,7 +38,10 @@ wrapper can override size-tier fallbacks; a value set directly on the element st
|
|
|
38
38
|
readonly LyraLocaleEntry[]`, `LyraLocaleEntry { tag: string; label?: string; country?: string }`.
|
|
39
39
|
`undefined` (the default) auto-discovers the registry; every supplied array (either form),
|
|
40
40
|
including an authoritative `[]`, overrides it entirely — a curated subset, custom order,
|
|
41
|
-
custom labels, or a locale offered before its strings are registered.
|
|
41
|
+
custom labels, or a locale offered before its strings are registered. An entry's `label` overrides
|
|
42
|
+
the derived `localeNativeName(tag)` endonym only when it is non-blank; an explicitly blank (or
|
|
43
|
+
whitespace-only) `label` is treated the same as an omitted one and still falls back to
|
|
44
|
+
`localeNativeName(tag)`. Explicit catalogs are
|
|
42
45
|
capped, cloned and frozen at assignment; mutate a new array/entry and reassign it to update the
|
|
43
46
|
list. `country` (ISO 3166-1 alpha-2 or alpha-3) overrides a row's derived flag — e.g.
|
|
44
47
|
showing Lebanon's flag for an `'ar'` row instead of the library's default Saudi Arabia mapping;
|
|
@@ -420,10 +420,12 @@ large collection is invisible until someone walks the data by hand. Both `chorop
|
|
|
420
420
|
reduced figure in the feature — a log, a bucket, an index — and keep the exact value in your own
|
|
421
421
|
payload beside the map.
|
|
422
422
|
|
|
423
|
-
- `label
|
|
423
|
+
- `label?: string` — purpose-specific accessible name for MapLibre's actual focusable canvas.
|
|
424
424
|
A nonempty host `aria-label` remains on the host and is not duplicated onto the canvas; the canvas
|
|
425
|
-
uses `label` or the localized map name.
|
|
426
|
-
empty
|
|
425
|
+
uses `label` or the localized map name. Omitting `label` localizes the default `map` message; an
|
|
426
|
+
explicit empty string suppresses that default and renders an empty canvas name. An explicitly
|
|
427
|
+
empty host `aria-label` is separately preserved as an empty canvas name. The non-semantic
|
|
428
|
+
`[part="base"]` wrapper is not named instead.
|
|
427
429
|
|
|
428
430
|
**Authoring types:** `LyraMapLegendEntry`, `LyraMapLegendPattern`, `LyraMapLegendProjection`, `LyraMapChoroplethLayer`,
|
|
429
431
|
`LyraMapGeoJsonDataLayer`, `LyraMapDataLayerKind`, `LyraMapClusterOptions`, `LyraMapHeatmapOptions`,
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
- **Release history** [CHANGELOG.md](../../CHANGELOG.md); family-wide breaking-change summaries: [llms-full.txt](../../llms-full.txt)
|
|
10
10
|
- **Deprecations** none
|
|
11
11
|
- **Optional peers** none
|
|
12
|
-
- **Themeable via**
|
|
12
|
+
- **Themeable via** 19 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`
|
|
14
14
|
|
|
15
15
|
---
|
|
@@ -45,6 +45,9 @@ duplicates are omitted first-wins before empty state, focus/disclosure state, co
|
|
|
45
45
|
rendering, or actions. Rows whose `text` is missing, nonstring, blank, or whitespace-only are also
|
|
46
46
|
omitted without hiding later valid memories.
|
|
47
47
|
|
|
48
|
+
At most 500 items per section render as `item` rows; a section's list past that length renders a
|
|
49
|
+
localized `limit` notice after that section's list rather than mounting an unbounded number of rows.
|
|
50
|
+
|
|
48
51
|
**Events:**
|
|
49
52
|
|
|
50
53
|
- `lr-add` (`detail: LyraMemoryAddDetail` = `{ memory: LyraMemoryItem }`) — a pending "promote to
|
|
@@ -66,7 +69,8 @@ somewhere to land after a confirmation resolves), `item-row`, `item-text`, `conf
|
|
|
66
69
|
`data-tone`; omitted when `confidence` is unset), `expand-toggle` / `item-body` (both omitted when
|
|
67
70
|
`provenance` is unset; `item-body` is `hidden` while collapsed), `item-actions`, `add-button`,
|
|
68
71
|
`remove-button`, `forget-all-button`, `forget-all-confirm` (the `lr-confirm-bar` that replaces
|
|
69
|
-
`forget-all-button` while the bulk confirmation is pending)
|
|
72
|
+
`forget-all-button` while the bulk confirmation is pending), `limit` (localized notice shown when a
|
|
73
|
+
section's items exceed the 500-item render ceiling).
|
|
70
74
|
|
|
71
75
|
**Keyboard/focus contract:** activating an action from the keyboard replaces that control with an
|
|
72
76
|
`lr-confirm-bar`, and focus moves into the bar (landing on Deny, the safe action) rather than
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
- **Release history** [CHANGELOG.md](../../CHANGELOG.md); family-wide breaking-change summaries: [llms-full.txt](../../llms-full.txt)
|
|
10
10
|
- **Deprecations** none
|
|
11
11
|
- **Optional peers** none
|
|
12
|
-
- **Themeable via** 6 parts,
|
|
12
|
+
- **Themeable via** 6 parts, 8 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
|
---
|
|
@@ -113,13 +113,16 @@ renders `open="false"` on first paint)
|
|
|
113
113
|
`--lr-color-brand-quiet` token, so a consumer can retheme just this highlighted/active row without
|
|
114
114
|
repainting every other component that reuses the same shared token.
|
|
115
115
|
`--lr-mention-popover-option-disabled-opacity` (default `0.5`) — opacity of a row whose `items`
|
|
116
|
-
entry sets `disabled`.
|
|
116
|
+
entry sets `disabled`. `--lr-mention-popover-option-active-color` (default `var(--lr-color-brand)`)
|
|
117
|
+
— text color of the `aria-selected="true"` (keyboard-highlighted) suggestion row, independent of
|
|
118
|
+
`--lr-mention-popover-option-active-bg`: the same component-scoped indirection over
|
|
119
|
+
`--lr-color-brand`, applied to the row's own sibling text-color rule. Plus shared tokens —
|
|
117
120
|
`--lr-space-xs`/`-s`/`-m` (popup padding,
|
|
118
121
|
row padding/gap), `--lr-radius`
|
|
119
122
|
(row corners — the popup's own corner is the overlay family's, below),
|
|
120
123
|
`--lr-transition-fast` (open/close
|
|
121
|
-
transition),
|
|
122
|
-
|
|
124
|
+
transition),
|
|
125
|
+
`--lr-color-text-quiet`/`--lr-color-text` (description text, full-contrast on the active
|
|
123
126
|
row), and `--lr-popover-viewport-clamp` (default `92vw`) — the shared narrow-viewport ceiling the
|
|
124
127
|
popup's max-inline-size is `min()`ed against, alongside its own `24rem` cap and the positioner's
|
|
125
128
|
available space. See `lr-tour` for the shared-clamp note.
|
|
@@ -48,7 +48,9 @@ opens). `feedbackPending: boolean` (read-only, nonreflecting) — true only whil
|
|
|
48
48
|
feedback control awaits settlement; it has no `feedback-pending` attribute or change event.
|
|
49
49
|
`revealOnInteraction: boolean = false` (reflected, attribute `reveal-on-interaction`) — hides
|
|
50
50
|
the bar until the closest `lr-chat-message` ancestor is hovered, or the toolbar contains focus.
|
|
51
|
-
`label
|
|
51
|
+
`label?: string` — accessible name override for the toolbar. Omitting it localizes the default
|
|
52
|
+
`messageActionsLabel` message; an explicit empty string suppresses that default and renders no
|
|
53
|
+
label. `accessibleLabel: string | null =
|
|
52
54
|
null` (attribute `aria-label`) — overrides the toolbar's computed accessible name, winning over
|
|
53
55
|
`label` and the localized default; attribute-reflects from a host-level `aria-label`.
|
|
54
56
|
|
|
@@ -34,8 +34,14 @@ are still derived from the full sequence first, in the same linear prepass, so a
|
|
|
34
34
|
stays stable even once an earlier citation rolls out of the rendered window. Opt in for a message
|
|
35
35
|
that can grow an unusually large number of interleaved parts (e.g. a long agentic run with many
|
|
36
36
|
tool-call/tool-result pairs), where unbounded live DOM can visibly stall the main thread.
|
|
37
|
-
`renderPart?: MessagePartRenderer` (attribute: false)
|
|
38
|
-
|
|
37
|
+
`renderPart?: MessagePartRenderer` (attribute: false) — returning `undefined` for a part delegates
|
|
38
|
+
it to the built-in renderer, keeping every built-in affordance intact; any other return fully
|
|
39
|
+
replaces that part's built-in rendering, including every interactive affordance the built-in
|
|
40
|
+
renderer would otherwise wire up for it (the `error` part's retry button's `lr-part-retry`, a
|
|
41
|
+
`citation` part's activation `lr-citation-select`, and the composed `<lr-tool-call-chip>`/
|
|
42
|
+
`<lr-tool-result-view>`/`<lr-attachment-chip>`/`<lr-widget-renderer>` children's own events) — a
|
|
43
|
+
host overriding an interactive part type must reimplement whatever of that interaction it still
|
|
44
|
+
wants; `accessibleLabel: string | null = null` (attribute `aria-label`).
|
|
39
45
|
|
|
40
46
|
Unsupported direct or `content-mode` attribute values normalize and reflect as `markdown`.
|
|
41
47
|
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
- **Release history** [CHANGELOG.md](../../CHANGELOG.md); family-wide breaking-change summaries: [llms-full.txt](../../llms-full.txt)
|
|
10
10
|
- **Deprecations** none
|
|
11
11
|
- **Optional peers** none
|
|
12
|
-
- **Themeable via**
|
|
12
|
+
- **Themeable via** 9 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
|
---
|
|
@@ -32,6 +32,14 @@ LyraTopic[] }`; a single root sits at the center, multiple roots hang off an imp
|
|
|
32
32
|
ring); expansion state afterward is component-managed per topic id and survives `topics`
|
|
33
33
|
reassignment
|
|
34
34
|
|
|
35
|
+
Above 500 currently-visible nodes (per the current expand/collapse state), the SVG and the
|
|
36
|
+
parallel sr-only tree both render a deterministic, connectivity-preserving, subtree-size-weighted
|
|
37
|
+
sample instead of every node: a kept node's parent, if any, is always kept too (no floating nodes
|
|
38
|
+
with a dangling connector or a gap in the `role="tree"` walk), and a larger branch keeps
|
|
39
|
+
proportionally more of its own nodes than a small one, sampled evenly across a wide/flat branch's
|
|
40
|
+
own child list rather than dropping its tail outright. A surviving node keeps the position the
|
|
41
|
+
full layout gave it. A localized "showing N of M" notice appears in `[part="limit"]`.
|
|
42
|
+
|
|
35
43
|
**Events:** `lr-topic-select` (`detail: { topicId }`, a _leaf_ topic was activated),
|
|
36
44
|
`lr-topic-toggle` (`detail: { topicId, expanded }`, a parent topic was activated, or auto-expanded by
|
|
37
45
|
keyboard descent).
|
|
@@ -39,7 +47,8 @@ keyboard descent).
|
|
|
39
47
|
**Slots:** none.
|
|
40
48
|
|
|
41
49
|
**CSS parts:** `base`, `svg` (the single-tab-stop focus target), `node`, `node-label`, `link`
|
|
42
|
-
(parent-child connector), `focus-ring` (keyboard focus ring), `
|
|
50
|
+
(parent-child connector), `focus-ring` (keyboard focus ring), `limit` (the "showing N of M"
|
|
51
|
+
render-cap notice, present only above 500 currently-visible nodes), `live-region` (visually hidden
|
|
43
52
|
announcement region), `empty` (shown when `topics` is empty).
|
|
44
53
|
|
|
45
54
|
**Themeable custom properties:** `--lr-mind-map-ring-gap` (default `6rem`, radius step per depth
|
|
@@ -153,7 +153,22 @@ An async `source` row can carry the same two fields (`start`, `end`) alongside i
|
|
|
153
153
|
none. A blank return falls back to the raw value. Not consulted while an async `source` fetch has
|
|
154
154
|
never yet resolved for this element — see "Unknown committed values" below; `loadingText` covers
|
|
155
155
|
that window instead, since the value is not yet known to be unmatched at all
|
|
156
|
-
- `
|
|
156
|
+
- `loading: boolean = false` (reflected) — mirrors `lr-select`'s own `loading`: whether a
|
|
157
|
+
committed value's real label may still be pending because its `<lr-option>` catalog hasn't
|
|
158
|
+
arrived yet (e.g. mounted asynchronously with no `source` involved). While `true`, a committed
|
|
159
|
+
value that currently matches no option/row renders the localized `loadingText` placeholder in the
|
|
160
|
+
trigger label or the relevant `multiple` tag instead of the raw value, with no
|
|
161
|
+
`notInCatalog`/`[part='unknown-value']` badge, and the open listbox shows the same loading row a
|
|
162
|
+
`source` fetch in flight shows. Independent of `source`'s own async lifecycle — either condition
|
|
163
|
+
alone suppresses the unknown-value presentation. Never mutates `value`/`selectedOptions` itself,
|
|
164
|
+
and does not itself disable the trigger
|
|
165
|
+
- `appearance: 'accent' | 'filled' | 'outlined' | 'filled-outlined' | 'plain' = 'outlined'`
|
|
166
|
+
(reflected) — the library's shared field-surface vocabulary, matching `lr-select`'s trigger.
|
|
167
|
+
`outlined` (the default) is a bordered surface; `filled` swaps the border for a raised fill;
|
|
168
|
+
`filled-outlined` keeps both; `plain` drops both; `accent` paints the loud brand fill with
|
|
169
|
+
on-brand text (the placeholder, expand icon, adornments and `multiple` tags all ride that
|
|
170
|
+
on-brand color rather than the quiet-text tokens). An unsupported value, including a raw
|
|
171
|
+
attribute/property write outside this type, clamps to the `'outlined'` default
|
|
157
172
|
- `placement: 'top' | 'bottom' = 'bottom'` (reflected; flip/shift can still keep the listbox in view)
|
|
158
173
|
- `positioningStrategy: PlaceStrategy = 'fixed'` (attribute `positioning-strategy`, reflected) —
|
|
159
174
|
the CSS positioning scheme the listbox is laid out with, spelled the same as on `lr-select`,
|
|
@@ -493,6 +508,11 @@ standard size supplies an aligned default), plus shared tokens. `--lr-combobox-g
|
|
|
493
508
|
`--lr-space-xs`, the gap inside `[part='combobox']`) and `--lr-combobox-radius` (default
|
|
494
509
|
`--lr-radius`, its corner radius) are both retunable without a `::part(combobox)` rule but, unlike
|
|
495
510
|
the properties above, do not vary by `size` — the same `--lr-button-gap`/`-radius` pattern.
|
|
511
|
+
`--lr-combobox-tag-bg` (default `var(--lr-color-brand-quiet)`), `--lr-combobox-tag-color` (default
|
|
512
|
+
`var(--lr-color-text)`) and `--lr-combobox-tag-radius` (default `var(--lr-radius)`) retint a
|
|
513
|
+
selected tag's background, text color and corner radius without a `::part(tag)` rule; `-tag-bg` is
|
|
514
|
+
scoped independently of `--lr-combobox-option-active-bg`/`-option-badge-bg` below, which already
|
|
515
|
+
scope the same shared `--lr-color-brand-quiet` token for their own purposes.
|
|
496
516
|
|
|
497
517
|
The trigger row's own surface became public in 16.0.0, having been a private pair until then:
|
|
498
518
|
`--lr-combobox-fill` (default `var(--lr-color-surface)`) and `--lr-combobox-border-color` (default
|
|
@@ -503,7 +523,10 @@ here wins over every treatment. `--lr-combobox-open-border-color` (default
|
|
|
503
523
|
border before. Read the name as the state the listbox opens in rather than as a synonym for `open`:
|
|
504
524
|
it is bound to `:focus-within`, so it also paints on a focused row whose listbox is closed — after
|
|
505
525
|
an Escape dismissal, say. It is named for symmetry with `lr-select`'s
|
|
506
|
-
`--lr-select-open-border-color`, which really is gated on `open`.
|
|
526
|
+
`--lr-select-open-border-color`, which really is gated on `open`. `--lr-combobox-text-color`
|
|
527
|
+
(default `inherit`) recolors the trigger's own text the same way; `appearance="accent"` defaults it
|
|
528
|
+
instead to `var(--lr-color-on-brand)`, keeping placeholder, adornments and tag text readable on the
|
|
529
|
+
loud brand fill.
|
|
507
530
|
|
|
508
531
|
The shared field halo `--lr-form-control-focus-shadow` (default `none`) paints a `box-shadow`
|
|
509
532
|
while this control is focused — one name for every field-shaped control in the library, so a
|
|
@@ -45,7 +45,9 @@ Public `--lr-otp-input-*` theme inputs stay undeclared on the host, so an ancest
|
|
|
45
45
|
can override appearance fallbacks; a value set directly on the element still wins.
|
|
46
46
|
|
|
47
47
|
**Properties:** `label`, `hint`, `errorText` (`error-text`);
|
|
48
|
-
`appearance: 'outlined' | 'filled' | 'filled-outlined' | 'contained' = 'outlined'` (reflected)
|
|
48
|
+
`appearance: 'outlined' | 'filled' | 'filled-outlined' | 'contained' = 'outlined'` (reflected) —
|
|
49
|
+
does not implement the shared vocabulary's `accent`/`plain` tiers; an unsupported value, including
|
|
50
|
+
a raw attribute/property write outside this type, clamps to the `'outlined'` default;
|
|
49
51
|
`autofocus: boolean = false`; `autosubmit: boolean = false` (reflected);
|
|
50
52
|
`size: LyraSize = 'm'` (reflected after an explicit property/attribute write, accepting
|
|
51
53
|
`2xs`/`xs`/`s`/`m`/`l`/`xl` and the shared aliases). While unset, its generic font/radius/height
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
- **Release history** [CHANGELOG.md](../../CHANGELOG.md); family-wide breaking-change summaries: [llms-full.txt](../../llms-full.txt)
|
|
10
10
|
- **Deprecations** none
|
|
11
11
|
- **Optional peers** none
|
|
12
|
-
- **Themeable via**
|
|
12
|
+
- **Themeable via** 15 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
|
|
|
15
15
|
---
|
|
@@ -187,9 +187,13 @@ the reset default, or prior interaction state.
|
|
|
187
187
|
`form.reset()` restores the original declarative `value` and the default country.
|
|
188
188
|
|
|
189
189
|
**Slots:** `label`, `hint`, `error`, `country-prefix` (optional visual before the country selector,
|
|
190
|
-
such as a consumer-owned `<lr-flag>`; no flag package is imported automatically)
|
|
190
|
+
such as a consumer-owned `<lr-flag>`; no flag package is imported automatically), `start` (alias
|
|
191
|
+
for `country-prefix`, matching the leading-adornment slot name every other forms/ single-line
|
|
192
|
+
field uses — both feed the same wrapper), `end` (optional trailing adornment after the telephone
|
|
193
|
+
input, matching the trailing-adornment slot name every other forms/ single-line field uses).
|
|
191
194
|
|
|
192
|
-
**CSS parts:** `form-control`, `form-control-label`, `input-wrapper`, `country-prefix
|
|
195
|
+
**CSS parts:** `form-control`, `form-control-label`, `input-wrapper`, `country-prefix` (also
|
|
196
|
+
receives the `start` alias slot's content), `end`, `country`
|
|
193
197
|
(the selector region: invisible native select layered over the visual trigger), `country-select`,
|
|
194
198
|
`country-trigger` (visible, `aria-hidden` closed-state box), `flag` (the `<lr-flag>`, only with
|
|
195
199
|
`flags`), `country-code` (selected alpha-2 code, `data-placeholder` when no country exists),
|
|
@@ -268,8 +272,8 @@ import "@aceshooting/lyra-ui/components/media/flag/flag-peer.js";
|
|
|
268
272
|
- The component never imports `@aceshooting/lyra-flags` itself, with `flags` or without. `flags`
|
|
269
273
|
lazily registers only the `<lr-flag>` element; the artwork resolver comes from the consumer's own
|
|
270
274
|
`flag-peer.js` import (plus the installed peer package), so forgetting either shows a flagless
|
|
271
|
-
trigger rather than erroring. `country-prefix` remains available for a
|
|
272
|
-
adornment instead.
|
|
275
|
+
trigger rather than erroring. `country-prefix` (or its `start` alias) remains available for a
|
|
276
|
+
fully consumer-owned adornment instead.
|
|
273
277
|
- The visible trigger (`country-trigger` and everything inside it) is `aria-hidden` by design; the
|
|
274
278
|
layered native select is the accessible control. Don't move interactive content into those parts
|
|
275
279
|
via `::part` styling tricks, and don't expect the flag inside the open popup list — a native
|
|
@@ -41,11 +41,14 @@ of every entry in these lists.**
|
|
|
41
41
|
`refreshTheme()`.
|
|
42
42
|
|
|
43
43
|
**Events:** `lr-zoom` (`detail: { zoomed: boolean }`), `lr-datum-activate`, `lr-point-click` (`detail: { datasetIndex,
|
|
44
|
-
index, label, value }`), `lr-
|
|
44
|
+
index, label, value }`), `lr-legend-visibility-change-request` (cancelable), and
|
|
45
45
|
`lr-legend-visibility-change` (commit; both legend events carry `datasetIndex`, `visible`, and the
|
|
46
|
-
complete `hiddenDatasets` snapshot).
|
|
47
|
-
|
|
46
|
+
complete `hiddenDatasets` snapshot). `lr-before-legend-visibility-change` is a **deprecated** alias
|
|
47
|
+
of `lr-legend-visibility-change-request` (removal not before 21.0.0).
|
|
48
|
+
Radial category legends additionally emit `lr-datum-visibility-change-request` (cancelable) and
|
|
48
49
|
`lr-datum-visibility-change`, carrying `index`, `visible` and the frozen `hiddenDatums` snapshot.
|
|
50
|
+
`lr-before-datum-visibility-change` is a **deprecated** alias of `lr-datum-visibility-change-request`
|
|
51
|
+
(removal not before 21.0.0).
|
|
49
52
|
|
|
50
53
|
**Slots:** default JSON configuration script, `data-table`, `center`.
|
|
51
54
|
|
|
@@ -41,11 +41,14 @@ of every entry in these lists.**
|
|
|
41
41
|
`refreshTheme()`.
|
|
42
42
|
|
|
43
43
|
**Events:** `lr-zoom` (`detail: { zoomed: boolean }`), `lr-datum-activate`, `lr-point-click` (`detail: { datasetIndex,
|
|
44
|
-
index, label, value }`), `lr-
|
|
44
|
+
index, label, value }`), `lr-legend-visibility-change-request` (cancelable), and
|
|
45
45
|
`lr-legend-visibility-change` (commit; both legend events carry `datasetIndex`, `visible`, and the
|
|
46
|
-
complete `hiddenDatasets` snapshot).
|
|
47
|
-
|
|
46
|
+
complete `hiddenDatasets` snapshot). `lr-before-legend-visibility-change` is a **deprecated** alias
|
|
47
|
+
of `lr-legend-visibility-change-request` (removal not before 21.0.0).
|
|
48
|
+
Radial category legends additionally emit `lr-datum-visibility-change-request` (cancelable) and
|
|
48
49
|
`lr-datum-visibility-change`, carrying `index`, `visible` and the frozen `hiddenDatums` snapshot.
|
|
50
|
+
`lr-before-datum-visibility-change` is a **deprecated** alias of `lr-datum-visibility-change-request`
|
|
51
|
+
(removal not before 21.0.0).
|
|
49
52
|
|
|
50
53
|
**Slots:** default JSON configuration script, `data-table`, `center`.
|
|
51
54
|
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
- **Release history** [CHANGELOG.md](../../CHANGELOG.md); family-wide breaking-change summaries: [llms-full.txt](../../llms-full.txt)
|
|
10
10
|
- **Deprecations** none
|
|
11
11
|
- **Optional peers** none
|
|
12
|
-
- **Themeable via**
|
|
12
|
+
- **Themeable via** 13 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`
|
|
14
14
|
|
|
15
15
|
---
|
|
@@ -37,7 +37,8 @@ resolve/acknowledge action — see `lr-tool-approval-dialog`/`lr-confirm-bar` fo
|
|
|
37
37
|
gate.
|
|
38
38
|
|
|
39
39
|
**CSS parts:** `base`, `empty`, `summary`, `count`, `state-badge`,
|
|
40
|
-
`list`, `decision`, `decision-header`, `category`, `label`, `detail`, `explanation
|
|
40
|
+
`list`, `decision`, `decision-header`, `category`, `label`, `detail`, `explanation`, `limit`
|
|
41
|
+
(localized notice shown when `decisions` exceeds the 500-row render ceiling).
|
|
41
42
|
|
|
42
43
|
**Themeable custom properties:** `--lr-policy-summary-count-allow-color` (default
|
|
43
44
|
`var(--lr-color-success)`), `--lr-policy-summary-count-deny-color` (default
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
- **Release history** [CHANGELOG.md](../../CHANGELOG.md); family-wide breaking-change summaries: [llms-full.txt](../../llms-full.txt)
|
|
10
10
|
- **Deprecations** none
|
|
11
11
|
- **Optional peers** none
|
|
12
|
-
- **Themeable via** 5 parts,
|
|
12
|
+
- **Themeable via** 5 parts, 12 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
|
---
|
|
@@ -47,6 +47,9 @@ presence-based, so an explicitly empty value remains empty rather than invoking
|
|
|
47
47
|
fallback, and the private `--_lr-progress-track-height` is the `size` property's own tier value,
|
|
48
48
|
`1rem` at the `m` default, unchanged),
|
|
49
49
|
`--lr-progress-track-color` (default `var(--lr-color-brand-quiet)`),
|
|
50
|
+
`--lr-progress-track-radius` (default `var(--lr-radius-pill)`; `indicator`'s `border-radius:
|
|
51
|
+
inherit` picks up the same value, so retuning the track retunes both without a
|
|
52
|
+
`::part(track)`/`::part(indicator)` rule),
|
|
50
53
|
`--lr-progress-indicator-color` (default `var(--lr-progress-indicator-variant-color)`), and
|
|
51
54
|
`--lr-progress-label-color` (default `var(--lr-color-text)`). Upstream aliases are `--height` and
|
|
52
55
|
`--track-height`, plus `--track-color`, `--indicator-color`, and `--label-color`.
|
|
@@ -44,7 +44,10 @@ LyraAttachmentCapability[] = ['files', 'image', 'audio']`, `mentionItems: readon
|
|
|
44
44
|
`voiceCatalog?: LyraCatalog<LyraVoiceCatalogEntry>`,
|
|
45
45
|
`sources: readonly LyraSourceEntry[] = []`, `selectedSourceIds: readonly string[] = []`, and `queue:
|
|
46
46
|
readonly PromptQueueItem[] = []` (all attribute: false); `model: string = ''`; `voice: string = ''`;
|
|
47
|
-
`label
|
|
47
|
+
`label?: string` — accessible name for the prompt section. Omitting it localizes the default
|
|
48
|
+
`promptInputLabel` message; an explicit empty string suppresses that default and renders no label.
|
|
49
|
+
`accessibleLabel: string | null = null` (attribute `aria-label`) — wins over `label` and the
|
|
50
|
+
localized default.
|
|
48
51
|
Source roots and queued prompts require unique nonblank `id` values; malformed rows and later
|
|
49
52
|
duplicates are omitted first-wins before section gating and child forwarding. Controlled selected
|
|
50
53
|
source ids use the same unique nonblank projection.
|
|
@@ -25,13 +25,16 @@ receives focus. Removing an unfocused row does not move focus.
|
|
|
25
25
|
|
|
26
26
|
**Properties:** `items: readonly PromptQueueItem[] = []` (attribute: false); `editable: boolean = true`
|
|
27
27
|
(reflected, string-aware true-default converter); `disabled: boolean = false` (reflected);
|
|
28
|
-
`label
|
|
28
|
+
`label?: string`; `accessibleLabel: string | null = null` (attribute `aria-label`).
|
|
29
29
|
`PromptQueueItem = { id: string; value: string; attachments?: readonly DocumentRef[]; createdAt?: number;
|
|
30
30
|
metadata?: Record<string, unknown> }`.
|
|
31
31
|
|
|
32
32
|
Item ids are occurrence identities. Empty ids and later duplicates are ignored before rendering or
|
|
33
33
|
proposing a mutation, preserving one unambiguous `itemId`. Attachment names render visibly for both
|
|
34
|
-
editable and read-only rows; the host `label` is also the visible queue heading.
|
|
34
|
+
editable and read-only rows; the host `label` is also the visible queue heading. Omitting `label`
|
|
35
|
+
localizes the default `promptQueueLabel` message; an explicit empty string suppresses that default
|
|
36
|
+
and renders no visible heading (`accessibleLabel` still overrides the region's accessible name
|
|
37
|
+
independently).
|
|
35
38
|
|
|
36
39
|
Supported item and attachment fields are read once when `items` is assigned; create and reassign a
|
|
37
40
|
new collection after changes, because changing an assigned record or reassigning the same mutated
|
|
@@ -41,11 +41,14 @@ of every entry in these lists.**
|
|
|
41
41
|
`refreshTheme()`.
|
|
42
42
|
|
|
43
43
|
**Events:** `lr-zoom` (`detail: { zoomed: boolean }`), `lr-datum-activate`, `lr-point-click` (`detail: { datasetIndex,
|
|
44
|
-
index, label, value }`), `lr-
|
|
44
|
+
index, label, value }`), `lr-legend-visibility-change-request` (cancelable), and
|
|
45
45
|
`lr-legend-visibility-change` (commit; both legend events carry `datasetIndex`, `visible`, and the
|
|
46
|
-
complete `hiddenDatasets` snapshot).
|
|
47
|
-
|
|
46
|
+
complete `hiddenDatasets` snapshot). `lr-before-legend-visibility-change` is a **deprecated** alias
|
|
47
|
+
of `lr-legend-visibility-change-request` (removal not before 21.0.0).
|
|
48
|
+
Radial category legends additionally emit `lr-datum-visibility-change-request` (cancelable) and
|
|
48
49
|
`lr-datum-visibility-change`, carrying `index`, `visible` and the frozen `hiddenDatums` snapshot.
|
|
50
|
+
`lr-before-datum-visibility-change` is a **deprecated** alias of `lr-datum-visibility-change-request`
|
|
51
|
+
(removal not before 21.0.0).
|
|
49
52
|
|
|
50
53
|
**Slots:** default JSON configuration script, `data-table`, `center`.
|
|
51
54
|
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
- **Release history** [CHANGELOG.md](../../CHANGELOG.md); family-wide breaking-change summaries: [llms-full.txt](../../llms-full.txt)
|
|
10
10
|
- **Deprecations** none
|
|
11
11
|
- **Optional peers** none
|
|
12
|
-
- **Themeable via**
|
|
12
|
+
- **Themeable via** 15 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
|
---
|
|
@@ -36,13 +36,18 @@ Metrics and runs are canonicalized independently by nonblank `id`. Malformed row
|
|
|
36
36
|
duplicates are omitted first-wins before metric fallback, slice derivation/filtering, cards, charts,
|
|
37
37
|
history, counts, rendering, or actions.
|
|
38
38
|
|
|
39
|
+
At most 500 of the currently filtered runs render as `run` buttons and feed the trend chart; a
|
|
40
|
+
filtered set past that length renders a localized `limit` notice after the run history rather than
|
|
41
|
+
mounting an unbounded number of rows.
|
|
42
|
+
|
|
39
43
|
**Events:** `lr-metric-change` (`{ metricId }`), `lr-slice-change` (`{ slice }`), and
|
|
40
44
|
`lr-run-change` (`{ run }`). All are controlled intents; the component does not mutate the
|
|
41
45
|
corresponding selection properties.
|
|
42
46
|
|
|
43
47
|
**CSS parts:** `base`, `heading`, `slices`, `slice`, `slice-selected`, `metrics`, `metric`,
|
|
44
48
|
`metric-selected`, `metric-category` (the caller-supplied category rendered visibly on each metric),
|
|
45
|
-
`chart`, `runs`, `runs-heading`, `run`, `
|
|
49
|
+
`chart`, `runs`, `runs-heading`, `run`, `limit` (localized notice shown when the filtered runs
|
|
50
|
+
exceed the 500-run render ceiling), `empty`.
|
|
46
51
|
|
|
47
52
|
**Themeable custom properties:** `--lr-rag-eval-dashboard-selected-border-color` (default
|
|
48
53
|
`var(--lr-color-brand)`) — border color shared by the controlled active slice and metric.
|
|
@@ -27,7 +27,9 @@ clamped by the composed visualizer); `stream: MediaStream | null = null`; `sessi
|
|
|
27
27
|
entry announcement identity; `entries: LyraTranscriptEntry[] = []` (attribute: false);
|
|
28
28
|
`muted: boolean = false` (reflected);
|
|
29
29
|
`showCapture: boolean = true` (attribute `show-capture`, reflected, string-aware true-default
|
|
30
|
-
converter); `label
|
|
30
|
+
converter); `label?: string` — accessible name for the session shell. Omitting it localizes the
|
|
31
|
+
default `realtimeSessionLabel` message; an explicit empty string suppresses that default and
|
|
32
|
+
renders no label. Invalid attribute or direct-property values for `state` and
|
|
31
33
|
`voiceState` normalize to their safe defaults (`'disconnected'` and `'idle'`) through the same
|
|
32
34
|
closed-set converter.
|
|
33
35
|
|