@aceshooting/lyra-ui 5.0.0 → 5.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/README.md +30 -12
- package/custom-elements.json +2150 -220
- package/dist/components/agent-tools/activity-feed/activity-feed.class.d.ts +2 -0
- package/dist/components/agent-tools/activity-feed/activity-feed.class.d.ts.map +1 -1
- package/dist/components/agent-tools/activity-feed/activity-feed.class.js +2 -0
- package/dist/components/agent-tools/activity-feed/activity-feed.class.js.map +1 -1
- package/dist/components/agent-tools/agent-run/agent-run.class.d.ts +1 -0
- package/dist/components/agent-tools/agent-run/agent-run.class.d.ts.map +1 -1
- package/dist/components/agent-tools/agent-run/agent-run.class.js +1 -0
- package/dist/components/agent-tools/agent-run/agent-run.class.js.map +1 -1
- package/dist/components/agent-tools/compare-panel/compare-panel.class.d.ts +2 -0
- package/dist/components/agent-tools/compare-panel/compare-panel.class.d.ts.map +1 -1
- package/dist/components/agent-tools/compare-panel/compare-panel.class.js +2 -0
- package/dist/components/agent-tools/compare-panel/compare-panel.class.js.map +1 -1
- package/dist/components/agent-tools/stack-trace/stack-trace.class.d.ts +5 -0
- package/dist/components/agent-tools/stack-trace/stack-trace.class.d.ts.map +1 -1
- package/dist/components/agent-tools/stack-trace/stack-trace.class.js +5 -0
- package/dist/components/agent-tools/stack-trace/stack-trace.class.js.map +1 -1
- package/dist/components/agent-tools/terminal/terminal.class.d.ts +3 -0
- package/dist/components/agent-tools/terminal/terminal.class.d.ts.map +1 -1
- package/dist/components/agent-tools/terminal/terminal.class.js +3 -0
- package/dist/components/agent-tools/terminal/terminal.class.js.map +1 -1
- package/dist/components/agent-tools/thinking-panel/thinking-panel.class.d.ts +2 -0
- package/dist/components/agent-tools/thinking-panel/thinking-panel.class.d.ts.map +1 -1
- package/dist/components/agent-tools/thinking-panel/thinking-panel.class.js +2 -0
- package/dist/components/agent-tools/thinking-panel/thinking-panel.class.js.map +1 -1
- package/dist/components/agent-tools/tool-approval-dialog/tool-approval-dialog.class.d.ts +2 -0
- package/dist/components/agent-tools/tool-approval-dialog/tool-approval-dialog.class.d.ts.map +1 -1
- package/dist/components/agent-tools/tool-approval-dialog/tool-approval-dialog.class.js +2 -0
- package/dist/components/agent-tools/tool-approval-dialog/tool-approval-dialog.class.js.map +1 -1
- package/dist/components/agent-tools/tool-call-chip/tool-call-chip.class.d.ts +3 -0
- package/dist/components/agent-tools/tool-call-chip/tool-call-chip.class.d.ts.map +1 -1
- package/dist/components/agent-tools/tool-call-chip/tool-call-chip.class.js +3 -0
- package/dist/components/agent-tools/tool-call-chip/tool-call-chip.class.js.map +1 -1
- package/dist/components/agent-tools/tool-result-view/tool-result-view.class.d.ts +1 -0
- package/dist/components/agent-tools/tool-result-view/tool-result-view.class.d.ts.map +1 -1
- package/dist/components/agent-tools/tool-result-view/tool-result-view.class.js +1 -0
- package/dist/components/agent-tools/tool-result-view/tool-result-view.class.js.map +1 -1
- package/dist/components/agent-tools/tool-select-dialog/tool-select-dialog.class.d.ts +1 -0
- package/dist/components/agent-tools/tool-select-dialog/tool-select-dialog.class.d.ts.map +1 -1
- package/dist/components/agent-tools/tool-select-dialog/tool-select-dialog.class.js +1 -0
- package/dist/components/agent-tools/tool-select-dialog/tool-select-dialog.class.js.map +1 -1
- package/dist/components/agent-tools/tool-timeline/tool-timeline.class.d.ts +2 -0
- package/dist/components/agent-tools/tool-timeline/tool-timeline.class.d.ts.map +1 -1
- package/dist/components/agent-tools/tool-timeline/tool-timeline.class.js +2 -0
- package/dist/components/agent-tools/tool-timeline/tool-timeline.class.js.map +1 -1
- package/dist/components/charts/chart/chart.class.d.ts +15 -0
- package/dist/components/charts/chart/chart.class.d.ts.map +1 -1
- package/dist/components/charts/chart/chart.class.js +15 -0
- package/dist/components/charts/chart/chart.class.js.map +1 -1
- package/dist/components/conversation/audio-visualizer/audio-visualizer.class.d.ts +2 -0
- package/dist/components/conversation/audio-visualizer/audio-visualizer.class.d.ts.map +1 -1
- package/dist/components/conversation/audio-visualizer/audio-visualizer.class.js +2 -0
- package/dist/components/conversation/audio-visualizer/audio-visualizer.class.js.map +1 -1
- package/dist/components/conversation/branch-picker/branch-picker.class.d.ts +2 -0
- package/dist/components/conversation/branch-picker/branch-picker.class.d.ts.map +1 -1
- package/dist/components/conversation/branch-picker/branch-picker.class.js +2 -0
- package/dist/components/conversation/branch-picker/branch-picker.class.js.map +1 -1
- package/dist/components/conversation/chat-message/chat-message.class.d.ts +5 -1
- package/dist/components/conversation/chat-message/chat-message.class.d.ts.map +1 -1
- package/dist/components/conversation/chat-message/chat-message.class.js +5 -1
- package/dist/components/conversation/chat-message/chat-message.class.js.map +1 -1
- package/dist/components/conversation/chat-message/chat-message.styles.d.ts.map +1 -1
- package/dist/components/conversation/chat-message/chat-message.styles.js +15 -2
- package/dist/components/conversation/chat-message/chat-message.styles.js.map +1 -1
- package/dist/components/conversation/code-block/code-block.class.d.ts +4 -0
- package/dist/components/conversation/code-block/code-block.class.d.ts.map +1 -1
- package/dist/components/conversation/code-block/code-block.class.js +4 -0
- package/dist/components/conversation/code-block/code-block.class.js.map +1 -1
- package/dist/components/conversation/conversation-item/conversation-item.class.d.ts +2 -0
- package/dist/components/conversation/conversation-item/conversation-item.class.d.ts.map +1 -1
- package/dist/components/conversation/conversation-item/conversation-item.class.js +2 -0
- package/dist/components/conversation/conversation-item/conversation-item.class.js.map +1 -1
- package/dist/components/conversation/markdown/markdown.class.d.ts +2 -0
- package/dist/components/conversation/markdown/markdown.class.d.ts.map +1 -1
- package/dist/components/conversation/markdown/markdown.class.js +2 -0
- package/dist/components/conversation/markdown/markdown.class.js.map +1 -1
- package/dist/components/conversation/push-to-talk/push-to-talk.class.d.ts +2 -0
- package/dist/components/conversation/push-to-talk/push-to-talk.class.d.ts.map +1 -1
- package/dist/components/conversation/push-to-talk/push-to-talk.class.js +2 -0
- package/dist/components/conversation/push-to-talk/push-to-talk.class.js.map +1 -1
- package/dist/components/conversation/stream-status/stream-status.class.d.ts +5 -0
- package/dist/components/conversation/stream-status/stream-status.class.d.ts.map +1 -1
- package/dist/components/conversation/stream-status/stream-status.class.js +5 -0
- package/dist/components/conversation/stream-status/stream-status.class.js.map +1 -1
- package/dist/components/conversation/streaming-text/streaming-text.class.d.ts +2 -0
- package/dist/components/conversation/streaming-text/streaming-text.class.d.ts.map +1 -1
- package/dist/components/conversation/streaming-text/streaming-text.class.js +2 -0
- package/dist/components/conversation/streaming-text/streaming-text.class.js.map +1 -1
- package/dist/components/conversation/transcript-feed/transcript-feed.class.d.ts +1 -0
- package/dist/components/conversation/transcript-feed/transcript-feed.class.d.ts.map +1 -1
- package/dist/components/conversation/transcript-feed/transcript-feed.class.js +1 -0
- package/dist/components/conversation/transcript-feed/transcript-feed.class.js.map +1 -1
- package/dist/components/data/calendar/calendar.class.d.ts +6 -0
- package/dist/components/data/calendar/calendar.class.d.ts.map +1 -1
- package/dist/components/data/calendar/calendar.class.js +6 -0
- package/dist/components/data/calendar/calendar.class.js.map +1 -1
- package/dist/components/data/context-meter/context-meter.class.d.ts +1 -0
- package/dist/components/data/context-meter/context-meter.class.d.ts.map +1 -1
- package/dist/components/data/context-meter/context-meter.class.js +1 -0
- package/dist/components/data/context-meter/context-meter.class.js.map +1 -1
- package/dist/components/data/data-grid/data-grid.class.d.ts +1 -0
- package/dist/components/data/data-grid/data-grid.class.d.ts.map +1 -1
- package/dist/components/data/data-grid/data-grid.class.js +1 -0
- package/dist/components/data/data-grid/data-grid.class.js.map +1 -1
- package/dist/components/data/flow-canvas/flow-canvas.class.d.ts +3 -1
- package/dist/components/data/flow-canvas/flow-canvas.class.d.ts.map +1 -1
- package/dist/components/data/flow-canvas/flow-canvas.class.js +3 -1
- package/dist/components/data/flow-canvas/flow-canvas.class.js.map +1 -1
- package/dist/components/data/flow-minimap/flow-minimap.class.d.ts +2 -2
- package/dist/components/data/flow-minimap/flow-minimap.class.js +2 -2
- package/dist/components/data/flow-node/flow-node.class.d.ts +1 -1
- package/dist/components/data/flow-node/flow-node.class.js +1 -1
- package/dist/components/data/heatmap/heatmap.class.d.ts +51 -2
- package/dist/components/data/heatmap/heatmap.class.d.ts.map +1 -1
- package/dist/components/data/heatmap/heatmap.class.js +42 -6
- package/dist/components/data/heatmap/heatmap.class.js.map +1 -1
- package/dist/components/data/heatmap/heatmap.styles.d.ts.map +1 -1
- package/dist/components/data/heatmap/heatmap.styles.js +19 -0
- package/dist/components/data/heatmap/heatmap.styles.js.map +1 -1
- package/dist/components/data/sequence-strip/sequence-strip.class.d.ts +20 -0
- package/dist/components/data/sequence-strip/sequence-strip.class.d.ts.map +1 -1
- package/dist/components/data/sequence-strip/sequence-strip.class.js +35 -0
- package/dist/components/data/sequence-strip/sequence-strip.class.js.map +1 -1
- package/dist/components/data/sequence-strip/sequence-strip.styles.d.ts.map +1 -1
- package/dist/components/data/sequence-strip/sequence-strip.styles.js +29 -0
- package/dist/components/data/sequence-strip/sequence-strip.styles.js.map +1 -1
- package/dist/components/data/table/table.class.d.ts +11 -0
- package/dist/components/data/table/table.class.d.ts.map +1 -1
- package/dist/components/data/table/table.class.js +11 -0
- package/dist/components/data/table/table.class.js.map +1 -1
- package/dist/components/data/timeline/timeline-item.class.d.ts +17 -0
- package/dist/components/data/timeline/timeline-item.class.d.ts.map +1 -1
- package/dist/components/data/timeline/timeline-item.class.js +17 -0
- package/dist/components/data/timeline/timeline-item.class.js.map +1 -1
- package/dist/components/data/timeline/timeline.styles.d.ts.map +1 -1
- package/dist/components/data/timeline/timeline.styles.js +6 -3
- package/dist/components/data/timeline/timeline.styles.js.map +1 -1
- package/dist/components/data/tree/tree-node.class.d.ts +3 -0
- package/dist/components/data/tree/tree-node.class.d.ts.map +1 -1
- package/dist/components/data/tree/tree-node.class.js +3 -0
- package/dist/components/data/tree/tree-node.class.js.map +1 -1
- package/dist/components/forms/button/button.class.d.ts +24 -0
- package/dist/components/forms/button/button.class.d.ts.map +1 -1
- package/dist/components/forms/button/button.class.js +24 -0
- package/dist/components/forms/button/button.class.js.map +1 -1
- package/dist/components/forms/code-editor/code-editor.class.d.ts +28 -12
- package/dist/components/forms/code-editor/code-editor.class.d.ts.map +1 -1
- package/dist/components/forms/code-editor/code-editor.class.js +44 -14
- package/dist/components/forms/code-editor/code-editor.class.js.map +1 -1
- package/dist/components/forms/code-editor/code-editor.styles.d.ts.map +1 -1
- package/dist/components/forms/code-editor/code-editor.styles.js +4 -0
- package/dist/components/forms/code-editor/code-editor.styles.js.map +1 -1
- package/dist/components/forms/combobox/combobox.class.d.ts +10 -0
- package/dist/components/forms/combobox/combobox.class.d.ts.map +1 -1
- package/dist/components/forms/combobox/combobox.class.js +16 -0
- package/dist/components/forms/combobox/combobox.class.js.map +1 -1
- package/dist/components/forms/combobox/option.class.d.ts +3 -3
- package/dist/components/forms/combobox/option.class.d.ts.map +1 -1
- package/dist/components/forms/combobox/option.class.js +9 -0
- package/dist/components/forms/combobox/option.class.js.map +1 -1
- package/dist/components/forms/date-picker/date-input.class.d.ts +3 -0
- package/dist/components/forms/date-picker/date-input.class.d.ts.map +1 -1
- package/dist/components/forms/date-picker/date-input.class.js +3 -0
- package/dist/components/forms/date-picker/date-input.class.js.map +1 -1
- package/dist/components/forms/emoji-picker/emoji-picker.class.d.ts +37 -2
- package/dist/components/forms/emoji-picker/emoji-picker.class.d.ts.map +1 -1
- package/dist/components/forms/emoji-picker/emoji-picker.class.js +113 -10
- package/dist/components/forms/emoji-picker/emoji-picker.class.js.map +1 -1
- package/dist/components/forms/emoji-picker/emoji-picker.styles.d.ts.map +1 -1
- package/dist/components/forms/emoji-picker/emoji-picker.styles.js +30 -0
- package/dist/components/forms/emoji-picker/emoji-picker.styles.js.map +1 -1
- package/dist/components/forms/icon-button/icon-button.class.d.ts +4 -0
- package/dist/components/forms/icon-button/icon-button.class.d.ts.map +1 -1
- package/dist/components/forms/icon-button/icon-button.class.js +4 -0
- package/dist/components/forms/icon-button/icon-button.class.js.map +1 -1
- package/dist/components/forms/input/input.class.d.ts +11 -3
- package/dist/components/forms/input/input.class.d.ts.map +1 -1
- package/dist/components/forms/input/input.class.js +3 -0
- package/dist/components/forms/input/input.class.js.map +1 -1
- package/dist/components/forms/input/time-input.class.d.ts +12 -0
- package/dist/components/forms/input/time-input.class.d.ts.map +1 -1
- package/dist/components/forms/input/time-input.class.js +27 -0
- package/dist/components/forms/input/time-input.class.js.map +1 -1
- package/dist/components/forms/rubric-form/rubric-form.class.d.ts +7 -0
- package/dist/components/forms/rubric-form/rubric-form.class.d.ts.map +1 -1
- package/dist/components/forms/rubric-form/rubric-form.class.js +7 -0
- package/dist/components/forms/rubric-form/rubric-form.class.js.map +1 -1
- package/dist/components/forms/select/select.class.d.ts +8 -0
- package/dist/components/forms/select/select.class.d.ts.map +1 -1
- package/dist/components/forms/select/select.class.js +8 -0
- package/dist/components/forms/select/select.class.js.map +1 -1
- package/dist/components/forms/swatch-picker/swatch-picker.class.d.ts +1 -1
- package/dist/components/forms/swatch-picker/swatch-picker.class.js +1 -1
- package/dist/components/forms/switch/switch.class.d.ts +6 -0
- package/dist/components/forms/switch/switch.class.d.ts.map +1 -1
- package/dist/components/forms/switch/switch.class.js +6 -0
- package/dist/components/forms/switch/switch.class.js.map +1 -1
- package/dist/components/forms/token-input/token-input.class.d.ts +2 -0
- package/dist/components/forms/token-input/token-input.class.d.ts.map +1 -1
- package/dist/components/forms/token-input/token-input.class.js +2 -0
- package/dist/components/forms/token-input/token-input.class.js.map +1 -1
- package/dist/components/layout/app-rail/app-rail.class.d.ts +8 -0
- package/dist/components/layout/app-rail/app-rail.class.d.ts.map +1 -1
- package/dist/components/layout/app-rail/app-rail.class.js +8 -0
- package/dist/components/layout/app-rail/app-rail.class.js.map +1 -1
- package/dist/components/layout/button-group/button-group.class.d.ts +1 -1
- package/dist/components/layout/button-group/button-group.class.js +1 -1
- package/dist/components/layout/command-palette/command-palette.class.d.ts +12 -0
- package/dist/components/layout/command-palette/command-palette.class.d.ts.map +1 -1
- package/dist/components/layout/command-palette/command-palette.class.js +12 -0
- package/dist/components/layout/command-palette/command-palette.class.js.map +1 -1
- package/dist/components/layout/control-group/control-group.class.d.ts +1 -1
- package/dist/components/layout/control-group/control-group.class.js +1 -1
- package/dist/components/layout/dashboard-grid/dashboard-grid.class.d.ts +7 -0
- package/dist/components/layout/dashboard-grid/dashboard-grid.class.d.ts.map +1 -1
- package/dist/components/layout/dashboard-grid/dashboard-grid.class.js +7 -0
- package/dist/components/layout/dashboard-grid/dashboard-grid.class.js.map +1 -1
- package/dist/components/layout/dock-panel/dock-panel.class.d.ts +3 -0
- package/dist/components/layout/dock-panel/dock-panel.class.d.ts.map +1 -1
- package/dist/components/layout/dock-panel/dock-panel.class.js +3 -0
- package/dist/components/layout/dock-panel/dock-panel.class.js.map +1 -1
- package/dist/components/layout/responsive-panel/responsive-panel.class.d.ts +2 -0
- package/dist/components/layout/responsive-panel/responsive-panel.class.d.ts.map +1 -1
- package/dist/components/layout/responsive-panel/responsive-panel.class.js +2 -0
- package/dist/components/layout/responsive-panel/responsive-panel.class.js.map +1 -1
- package/dist/components/layout/scroller/scroller.class.d.ts +2 -2
- package/dist/components/layout/scroller/scroller.class.js +2 -2
- package/dist/components/layout/segmented/segmented.class.d.ts +6 -0
- package/dist/components/layout/segmented/segmented.class.d.ts.map +1 -1
- package/dist/components/layout/segmented/segmented.class.js +6 -0
- package/dist/components/layout/segmented/segmented.class.js.map +1 -1
- package/dist/components/layout/split/split.class.d.ts +68 -15
- package/dist/components/layout/split/split.class.d.ts.map +1 -1
- package/dist/components/layout/split/split.class.js +80 -21
- package/dist/components/layout/split/split.class.js.map +1 -1
- package/dist/components/layout/stepper/stepper.class.d.ts +52 -11
- package/dist/components/layout/stepper/stepper.class.d.ts.map +1 -1
- package/dist/components/layout/stepper/stepper.class.js +69 -17
- package/dist/components/layout/stepper/stepper.class.js.map +1 -1
- package/dist/components/layout/virtual-list/virtual-list.class.d.ts +3 -0
- package/dist/components/layout/virtual-list/virtual-list.class.d.ts.map +1 -1
- package/dist/components/layout/virtual-list/virtual-list.class.js +3 -0
- package/dist/components/layout/virtual-list/virtual-list.class.js.map +1 -1
- package/dist/components/layout/widget/widget.class.d.ts +6 -0
- package/dist/components/layout/widget/widget.class.d.ts.map +1 -1
- package/dist/components/layout/widget/widget.class.js +6 -0
- package/dist/components/layout/widget/widget.class.js.map +1 -1
- package/dist/components/media/attachment-chip/attachment-chip.class.d.ts +13 -0
- package/dist/components/media/attachment-chip/attachment-chip.class.d.ts.map +1 -1
- package/dist/components/media/attachment-chip/attachment-chip.class.js +13 -0
- package/dist/components/media/attachment-chip/attachment-chip.class.js.map +1 -1
- package/dist/components/media/avatar/avatar.class.d.ts +6 -0
- package/dist/components/media/avatar/avatar.class.d.ts.map +1 -1
- package/dist/components/media/avatar/avatar.class.js +6 -0
- package/dist/components/media/avatar/avatar.class.js.map +1 -1
- package/dist/components/media/media-card/media-card.class.d.ts +2 -0
- package/dist/components/media/media-card/media-card.class.d.ts.map +1 -1
- package/dist/components/media/media-card/media-card.class.js +2 -0
- package/dist/components/media/media-card/media-card.class.js.map +1 -1
- package/dist/components/media/playback/playback.class.d.ts +2 -0
- package/dist/components/media/playback/playback.class.d.ts.map +1 -1
- package/dist/components/media/playback/playback.class.js +2 -0
- package/dist/components/media/playback/playback.class.js.map +1 -1
- package/dist/components/media/zoomable-frame/zoomable-frame.class.d.ts +3 -0
- package/dist/components/media/zoomable-frame/zoomable-frame.class.d.ts.map +1 -1
- package/dist/components/media/zoomable-frame/zoomable-frame.class.js +3 -0
- package/dist/components/media/zoomable-frame/zoomable-frame.class.js.map +1 -1
- package/dist/components/overlays/badge/badge.class.d.ts +6 -0
- package/dist/components/overlays/badge/badge.class.d.ts.map +1 -1
- package/dist/components/overlays/badge/badge.class.js +6 -0
- package/dist/components/overlays/badge/badge.class.js.map +1 -1
- package/dist/components/overlays/callout/callout.class.d.ts +6 -0
- package/dist/components/overlays/callout/callout.class.d.ts.map +1 -1
- package/dist/components/overlays/callout/callout.class.js +6 -0
- package/dist/components/overlays/callout/callout.class.js.map +1 -1
- package/dist/components/overlays/chip/chip.class.d.ts +18 -0
- package/dist/components/overlays/chip/chip.class.d.ts.map +1 -1
- package/dist/components/overlays/chip/chip.class.js +18 -0
- package/dist/components/overlays/chip/chip.class.js.map +1 -1
- package/dist/components/overlays/dialog/dialog.class.d.ts +6 -0
- package/dist/components/overlays/dialog/dialog.class.d.ts.map +1 -1
- package/dist/components/overlays/dialog/dialog.class.js +6 -0
- package/dist/components/overlays/dialog/dialog.class.js.map +1 -1
- package/dist/components/overlays/drawer/drawer.class.d.ts +6 -0
- package/dist/components/overlays/drawer/drawer.class.d.ts.map +1 -1
- package/dist/components/overlays/drawer/drawer.class.js +6 -0
- package/dist/components/overlays/drawer/drawer.class.js.map +1 -1
- package/dist/components/overlays/progress/progress-ring.class.d.ts +1 -0
- package/dist/components/overlays/progress/progress-ring.class.d.ts.map +1 -1
- package/dist/components/overlays/progress/progress-ring.class.js +1 -0
- package/dist/components/overlays/progress/progress-ring.class.js.map +1 -1
- package/dist/components/overlays/skeleton/skeleton.class.d.ts +2 -0
- package/dist/components/overlays/skeleton/skeleton.class.d.ts.map +1 -1
- package/dist/components/overlays/skeleton/skeleton.class.js +2 -0
- package/dist/components/overlays/skeleton/skeleton.class.js.map +1 -1
- package/dist/components/overlays/spinner/spinner.class.d.ts +4 -0
- package/dist/components/overlays/spinner/spinner.class.d.ts.map +1 -1
- package/dist/components/overlays/spinner/spinner.class.js +4 -0
- package/dist/components/overlays/spinner/spinner.class.js.map +1 -1
- package/dist/components/overlays/toast/toast-item.class.d.ts +11 -0
- package/dist/components/overlays/toast/toast-item.class.d.ts.map +1 -1
- package/dist/components/overlays/toast/toast-item.class.js +11 -0
- package/dist/components/overlays/toast/toast-item.class.js.map +1 -1
- package/dist/components/overlays/toast/toast.class.d.ts +15 -0
- package/dist/components/overlays/toast/toast.class.d.ts.map +1 -1
- package/dist/components/overlays/toast/toast.class.js +15 -0
- package/dist/components/overlays/toast/toast.class.js.map +1 -1
- package/dist/components/retrieval/citation-badge/citation-badge.class.d.ts +8 -0
- package/dist/components/retrieval/citation-badge/citation-badge.class.d.ts.map +1 -1
- package/dist/components/retrieval/citation-badge/citation-badge.class.js +8 -0
- package/dist/components/retrieval/citation-badge/citation-badge.class.js.map +1 -1
- package/dist/components/retrieval/entity-chip/entity-chip.class.d.ts +1 -0
- package/dist/components/retrieval/entity-chip/entity-chip.class.d.ts.map +1 -1
- package/dist/components/retrieval/entity-chip/entity-chip.class.js +1 -0
- package/dist/components/retrieval/entity-chip/entity-chip.class.js.map +1 -1
- package/dist/components/retrieval/ingestion-queue/ingestion-queue.class.d.ts +2 -0
- package/dist/components/retrieval/ingestion-queue/ingestion-queue.class.d.ts.map +1 -1
- package/dist/components/retrieval/ingestion-queue/ingestion-queue.class.js +2 -0
- package/dist/components/retrieval/ingestion-queue/ingestion-queue.class.js.map +1 -1
- package/dist/components/retrieval/retrieval-trace/retrieval-trace.class.d.ts +1 -0
- package/dist/components/retrieval/retrieval-trace/retrieval-trace.class.d.ts.map +1 -1
- package/dist/components/retrieval/retrieval-trace/retrieval-trace.class.js +1 -0
- package/dist/components/retrieval/retrieval-trace/retrieval-trace.class.js.map +1 -1
- package/dist/components/utility/diff-view/diff-view.class.d.ts +1 -0
- package/dist/components/utility/diff-view/diff-view.class.d.ts.map +1 -1
- package/dist/components/utility/diff-view/diff-view.class.js +1 -0
- package/dist/components/utility/diff-view/diff-view.class.js.map +1 -1
- package/dist/components/utility/icon/icon.class.d.ts +1 -0
- package/dist/components/utility/icon/icon.class.d.ts.map +1 -1
- package/dist/components/utility/icon/icon.class.js +1 -0
- package/dist/components/utility/icon/icon.class.js.map +1 -1
- package/dist/components/utility/json-viewer/json-viewer.class.d.ts +3 -0
- package/dist/components/utility/json-viewer/json-viewer.class.d.ts.map +1 -1
- package/dist/components/utility/json-viewer/json-viewer.class.js +3 -0
- package/dist/components/utility/json-viewer/json-viewer.class.js.map +1 -1
- package/dist/components/utility/known-date/known-date.class.d.ts +11 -0
- package/dist/components/utility/known-date/known-date.class.d.ts.map +1 -1
- package/dist/components/utility/known-date/known-date.class.js +11 -0
- package/dist/components/utility/known-date/known-date.class.js.map +1 -1
- package/dist/components/viewers/calendar-viewer/calendar-viewer.class.d.ts +2 -0
- package/dist/components/viewers/calendar-viewer/calendar-viewer.class.d.ts.map +1 -1
- package/dist/components/viewers/calendar-viewer/calendar-viewer.class.js +2 -0
- package/dist/components/viewers/calendar-viewer/calendar-viewer.class.js.map +1 -1
- package/dist/components/viewers/dataset-viewer/dataset-viewer.class.d.ts +5 -0
- package/dist/components/viewers/dataset-viewer/dataset-viewer.class.d.ts.map +1 -1
- package/dist/components/viewers/dataset-viewer/dataset-viewer.class.js +5 -0
- package/dist/components/viewers/dataset-viewer/dataset-viewer.class.js.map +1 -1
- package/dist/components/viewers/document-compare/document-compare.class.d.ts +1 -1
- package/dist/components/viewers/document-compare/document-compare.class.js +1 -1
- package/dist/components/viewers/document-preview/document-preview.class.d.ts +3 -0
- package/dist/components/viewers/document-preview/document-preview.class.d.ts.map +1 -1
- package/dist/components/viewers/document-preview/document-preview.class.js +3 -0
- package/dist/components/viewers/document-preview/document-preview.class.js.map +1 -1
- package/dist/components/viewers/email-viewer/email-viewer.class.d.ts +2 -0
- package/dist/components/viewers/email-viewer/email-viewer.class.d.ts.map +1 -1
- package/dist/components/viewers/email-viewer/email-viewer.class.js +2 -0
- package/dist/components/viewers/email-viewer/email-viewer.class.js.map +1 -1
- package/dist/components/viewers/html-viewer/html-viewer.class.d.ts +2 -0
- package/dist/components/viewers/html-viewer/html-viewer.class.d.ts.map +1 -1
- package/dist/components/viewers/html-viewer/html-viewer.class.js +2 -0
- package/dist/components/viewers/html-viewer/html-viewer.class.js.map +1 -1
- package/dist/components/viewers/pdf-viewer/pdf-viewer.class.d.ts.map +1 -1
- package/dist/components/viewers/pdf-viewer/pdf-viewer.class.js +41 -9
- package/dist/components/viewers/pdf-viewer/pdf-viewer.class.js.map +1 -1
- package/dist/internal/css-length.d.ts +40 -0
- package/dist/internal/css-length.d.ts.map +1 -0
- package/dist/internal/css-length.js +72 -0
- package/dist/internal/css-length.js.map +1 -0
- package/dist/internal/orientation-breakpoint.d.ts +12 -0
- package/dist/internal/orientation-breakpoint.d.ts.map +1 -0
- package/dist/internal/orientation-breakpoint.js +127 -0
- package/dist/internal/orientation-breakpoint.js.map +1 -0
- package/dist/lyra.d.ts +2 -2
- package/dist/lyra.d.ts.map +1 -1
- package/dist/lyra.js.map +1 -1
- package/llms/components/lr-accordion-item.md +23 -0
- package/llms/components/lr-accordion.md +23 -0
- package/llms/components/lr-activity-feed.md +45 -0
- package/llms/components/lr-agent-run.md +66 -0
- package/llms/components/lr-agent-trace.md +42 -0
- package/llms/components/lr-agent-workspace.md +109 -0
- package/llms/components/lr-animated-image.md +66 -0
- package/llms/components/lr-animation.md +73 -0
- package/llms/components/lr-app-rail-item.md +218 -0
- package/llms/components/lr-app-rail.md +218 -0
- package/llms/components/lr-archive-viewer.md +36 -0
- package/llms/components/lr-artifact-panel.md +60 -0
- package/llms/components/lr-attachment-chip.md +131 -0
- package/llms/components/lr-attachment-trigger.md +90 -0
- package/llms/components/lr-audio-visualizer.md +43 -0
- package/llms/components/lr-av-player.md +50 -0
- package/llms/components/lr-avatar-group.md +69 -0
- package/llms/components/lr-avatar.md +69 -0
- package/llms/components/lr-badge.md +25 -0
- package/llms/components/lr-bar-chart.md +70 -0
- package/llms/components/lr-box-plot.md +67 -0
- package/llms/components/lr-branch-picker.md +32 -0
- package/llms/components/lr-breadcrumb-item.md +30 -0
- package/llms/components/lr-breadcrumb.md +30 -0
- package/llms/components/lr-browser-frame.md +51 -0
- package/llms/components/lr-bubble-chart.md +70 -0
- package/llms/components/lr-button-group.md +30 -0
- package/llms/components/lr-button.md +89 -0
- package/llms/components/lr-calendar-viewer.md +32 -0
- package/llms/components/lr-calendar.md +52 -0
- package/llms/components/lr-callout.md +37 -0
- package/llms/components/lr-card.md +67 -0
- package/llms/components/lr-carousel-item.md +29 -0
- package/llms/components/lr-carousel.md +43 -0
- package/llms/components/lr-chart.md +148 -0
- package/llms/components/lr-chat-composer.md +139 -0
- package/llms/components/lr-chat-message.md +145 -0
- package/llms/components/lr-chat-viewport.md +70 -0
- package/llms/components/lr-checkbox-group.md +21 -0
- package/llms/components/lr-checkbox.md +79 -0
- package/llms/components/lr-checkpoint.md +48 -0
- package/llms/components/lr-chip-group.md +152 -0
- package/llms/components/lr-chip.md +152 -0
- package/llms/components/lr-chunk-inspector.md +66 -0
- package/llms/components/lr-citation-badge.md +102 -0
- package/llms/components/lr-code-block-core.md +113 -0
- package/llms/components/lr-code-block.md +146 -0
- package/llms/components/lr-code-editor.md +72 -0
- package/llms/components/lr-color-picker.md +21 -0
- package/llms/components/lr-combobox.md +196 -0
- package/llms/components/lr-command-palette.md +50 -0
- package/llms/components/lr-commit-card.md +33 -0
- package/llms/components/lr-community-card.md +54 -0
- package/llms/components/lr-compare-panel.md +38 -0
- package/llms/components/lr-confirm-bar.md +48 -0
- package/llms/components/lr-contact-viewer.md +34 -0
- package/llms/components/lr-context-inspector.md +50 -0
- package/llms/components/lr-context-meter.md +92 -0
- package/llms/components/lr-control-group.md +46 -0
- package/llms/components/lr-conversation-item.md +118 -0
- package/llms/components/lr-copy-button.md +52 -0
- package/llms/components/lr-csv-viewer.md +49 -0
- package/llms/components/lr-dashboard-grid.md +34 -0
- package/llms/components/lr-data-grid.md +47 -0
- package/llms/components/lr-dataset-viewer.md +60 -0
- package/llms/components/lr-date-input.md +201 -0
- package/llms/components/lr-date-picker.md +201 -0
- package/llms/components/lr-details.md +23 -0
- package/llms/components/lr-dialog.md +185 -0
- package/llms/components/lr-diff-view.md +86 -0
- package/llms/components/lr-divider.md +28 -0
- package/llms/components/lr-dock-panel.md +110 -0
- package/llms/components/lr-document-compare.md +22 -0
- package/llms/components/lr-document-library.md +21 -0
- package/llms/components/lr-document-preview.md +179 -0
- package/llms/components/lr-document-viewer.md +84 -0
- package/llms/components/lr-docx-viewer.md +63 -0
- package/llms/components/lr-doughnut-chart.md +70 -0
- package/llms/components/lr-drawer.md +48 -0
- package/llms/components/lr-drilldown-panel.md +25 -0
- package/llms/components/lr-dropdown-item.md +171 -0
- package/llms/components/lr-dropdown.md +24 -0
- package/llms/components/lr-ebook-viewer.md +60 -0
- package/llms/components/lr-email-viewer.md +51 -0
- package/llms/components/lr-emoji-picker.md +71 -0
- package/llms/components/lr-empty.md +56 -0
- package/llms/components/lr-entity-card.md +64 -0
- package/llms/components/lr-entity-chip.md +50 -0
- package/llms/components/lr-entity-dossier.md +71 -0
- package/llms/components/lr-env-list.md +27 -0
- package/llms/components/lr-eval-dataset.md +45 -0
- package/llms/components/lr-eval-result.md +45 -0
- package/llms/components/lr-evaluation-run.md +50 -0
- package/llms/components/lr-export-button.md +104 -0
- package/llms/components/lr-file-icon.md +34 -0
- package/llms/components/lr-file-input.md +104 -0
- package/llms/components/lr-file-tree.md +29 -0
- package/llms/components/lr-filter-bar.md +20 -0
- package/llms/components/lr-flag.md +122 -0
- package/llms/components/lr-flow-canvas.md +112 -0
- package/llms/components/lr-flow-controls.md +47 -0
- package/llms/components/lr-flow-minimap.md +52 -0
- package/llms/components/lr-flow-node.md +56 -0
- package/llms/components/lr-flow-run-overlay.md +56 -0
- package/llms/components/lr-format-bytes.md +31 -0
- package/llms/components/lr-format-date.md +33 -0
- package/llms/components/lr-format-number.md +41 -0
- package/llms/components/lr-gauge.md +65 -0
- package/llms/components/lr-generation-status.md +105 -0
- package/llms/components/lr-geojson-view.md +43 -0
- package/llms/components/lr-graph-legend.md +64 -0
- package/llms/components/lr-graph-query-builder.md +27 -0
- package/llms/components/lr-graph.md +224 -0
- package/llms/components/lr-grounding-summary.md +57 -0
- package/llms/components/lr-handoff-divider.md +27 -0
- package/llms/components/lr-heatmap.md +232 -0
- package/llms/components/lr-highlight-layer.md +31 -0
- package/llms/components/lr-histogram.md +69 -0
- package/llms/components/lr-html-viewer.md +30 -0
- package/llms/components/lr-icon-button.md +39 -0
- package/llms/components/lr-icon.md +36 -0
- package/llms/components/lr-image-comparer.md +38 -0
- package/llms/components/lr-image-viewer.md +35 -0
- package/llms/components/lr-include.md +53 -0
- package/llms/components/lr-ingestion-queue.md +60 -0
- package/llms/components/lr-input.md +82 -0
- package/llms/components/lr-intersection-observer.md +25 -0
- package/llms/components/lr-json-viewer.md +98 -0
- package/llms/components/lr-kbd.md +74 -0
- package/llms/components/lr-knowledge-base.md +64 -0
- package/llms/components/lr-knowledge-graph-explorer.md +92 -0
- package/llms/components/lr-known-date.md +84 -0
- package/llms/components/lr-lightbox.md +79 -0
- package/llms/components/lr-line-chart.md +70 -0
- package/llms/components/lr-lite-chart.md +143 -0
- package/llms/components/lr-live-region.md +105 -0
- package/llms/components/lr-map.md +127 -0
- package/llms/components/lr-markdown-core.md +70 -0
- package/llms/components/lr-markdown.md +171 -0
- package/llms/components/lr-media-card.md +106 -0
- package/llms/components/lr-memory-panel.md +67 -0
- package/llms/components/lr-mention-popover.md +139 -0
- package/llms/components/lr-menu-item.md +171 -0
- package/llms/components/lr-menu.md +171 -0
- package/llms/components/lr-message-actions.md +48 -0
- package/llms/components/lr-message-feedback.md +37 -0
- package/llms/components/lr-mind-map.md +64 -0
- package/llms/components/lr-model-select.md +144 -0
- package/llms/components/lr-model-settings-panel.md +99 -0
- package/llms/components/lr-mutation-observer.md +27 -0
- package/llms/components/lr-neighbor-list.md +56 -0
- package/llms/components/lr-node-palette.md +67 -0
- package/llms/components/lr-notebook-viewer.md +65 -0
- package/llms/components/lr-number-input.md +44 -0
- package/llms/components/lr-option.md +196 -0
- package/llms/components/lr-page-rail.md +37 -0
- package/llms/components/lr-pagination.md +88 -0
- package/llms/components/lr-path-strip.md +55 -0
- package/llms/components/lr-pdf-viewer.md +78 -0
- package/llms/components/lr-phone-input.md +162 -0
- package/llms/components/lr-pie-chart.md +70 -0
- package/llms/components/lr-playback.md +74 -0
- package/llms/components/lr-polar-area-chart.md +70 -0
- package/llms/components/lr-policy-summary.md +33 -0
- package/llms/components/lr-poll-status.md +71 -0
- package/llms/components/lr-popover.md +31 -0
- package/llms/components/lr-pptx-viewer.md +35 -0
- package/llms/components/lr-progress-bar.md +22 -0
- package/llms/components/lr-progress-ring.md +26 -0
- package/llms/components/lr-provenance-panel.md +58 -0
- package/llms/components/lr-push-to-talk.md +50 -0
- package/llms/components/lr-qr-code.md +20 -0
- package/llms/components/lr-query-builder.md +21 -0
- package/llms/components/lr-radar-chart.md +70 -0
- package/llms/components/lr-radio-group.md +25 -0
- package/llms/components/lr-radio.md +31 -0
- package/llms/components/lr-random-content.md +62 -0
- package/llms/components/lr-rating.md +21 -0
- package/llms/components/lr-relative-time.md +31 -0
- package/llms/components/lr-resize-observer.md +25 -0
- package/llms/components/lr-responsive-panel.md +112 -0
- package/llms/components/lr-result-card.md +88 -0
- package/llms/components/lr-result-field.md +88 -0
- package/llms/components/lr-retrieval-results.md +84 -0
- package/llms/components/lr-retrieval-search.md +70 -0
- package/llms/components/lr-retrieval-trace.md +59 -0
- package/llms/components/lr-rubric-form.md +37 -0
- package/llms/components/lr-scatter-chart.md +70 -0
- package/llms/components/lr-scroller.md +47 -0
- package/llms/components/lr-segmented.md +74 -0
- package/llms/components/lr-select.md +113 -0
- package/llms/components/lr-sequence-strip.md +95 -0
- package/llms/components/lr-skeleton.md +53 -0
- package/llms/components/lr-slider.md +92 -0
- package/llms/components/lr-source-card.md +131 -0
- package/llms/components/lr-source-list.md +131 -0
- package/llms/components/lr-source-picker.md +63 -0
- package/llms/components/lr-span-waterfall.md +42 -0
- package/llms/components/lr-sparkline.md +60 -0
- package/llms/components/lr-spinner.md +32 -0
- package/llms/components/lr-split.md +191 -0
- package/llms/components/lr-spreadsheet-viewer.md +47 -0
- package/llms/components/lr-stack-trace.md +77 -0
- package/llms/components/lr-stat.md +89 -0
- package/llms/components/lr-stepper.md +118 -0
- package/llms/components/lr-stream-status.md +128 -0
- package/llms/components/lr-streaming-text.md +101 -0
- package/llms/components/lr-suggestion-chips.md +40 -0
- package/llms/components/lr-svg-viewer.md +47 -0
- package/llms/components/lr-swatch-picker.md +91 -0
- package/llms/components/lr-switch.md +82 -0
- package/llms/components/lr-table.md +201 -0
- package/llms/components/lr-tabs.md +80 -0
- package/llms/components/lr-tag.md +25 -0
- package/llms/components/lr-task-list.md +42 -0
- package/llms/components/lr-terminal.md +44 -0
- package/llms/components/lr-test-results.md +38 -0
- package/llms/components/lr-textarea.md +111 -0
- package/llms/components/lr-thinking-panel.md +93 -0
- package/llms/components/lr-thread-list.md +97 -0
- package/llms/components/lr-time-input.md +53 -0
- package/llms/components/lr-time-range.md +91 -0
- package/llms/components/lr-timeline-item.md +65 -0
- package/llms/components/lr-timeline.md +65 -0
- package/llms/components/lr-toast-item.md +123 -0
- package/llms/components/lr-toast.md +123 -0
- package/llms/components/lr-token-input.md +31 -0
- package/llms/components/lr-tool-approval-dialog.md +131 -0
- package/llms/components/lr-tool-call-chip.md +101 -0
- package/llms/components/lr-tool-param-form.md +148 -0
- package/llms/components/lr-tool-result-dialog.md +106 -0
- package/llms/components/lr-tool-result-view.md +162 -0
- package/llms/components/lr-tool-select-dialog.md +124 -0
- package/llms/components/lr-tool-timeline.md +56 -0
- package/llms/components/lr-tooltip.md +47 -0
- package/llms/components/lr-tour.md +100 -0
- package/llms/components/lr-trace-tree.md +35 -0
- package/llms/components/lr-transcript-feed.md +45 -0
- package/llms/components/lr-tree-node.md +133 -0
- package/llms/components/lr-tree.md +133 -0
- package/llms/components/lr-typing-indicator.md +80 -0
- package/llms/components/lr-usage-badge.md +44 -0
- package/llms/components/lr-virtual-list.md +145 -0
- package/llms/components/lr-voice-picker.md +78 -0
- package/llms/components/lr-widget-renderer.md +78 -0
- package/llms/components/lr-widget.md +104 -0
- package/llms/components/lr-word-cloud.md +112 -0
- package/llms/components/lr-xml-viewer.md +58 -0
- package/llms/components/lr-zoomable-frame.md +57 -0
- package/llms/index.md +301 -0
- package/llms/migration.md +86 -0
- package/llms/peers.md +41 -0
- package/llms/shared.md +321 -0
- package/llms/tokens.md +533 -0
- package/llms-full.txt +10731 -8563
- package/llms.txt +64 -121
- package/package.json +14 -2
- package/vscode-css-data.json +1424 -185
- package/vscode-html-data.json +128 -107
- package/web-types.json +853 -118
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
<!-- GENERATED by scripts/build-llms.mjs from llms/media.md — do not edit this file. -->
|
|
2
|
+
|
|
3
|
+
# `lr-avatar-group`
|
|
4
|
+
|
|
5
|
+
- **Import** `import '@aceshooting/lyra-ui/components/media/avatar-group/avatar-group.js';` (registers the tag; side-effect import)
|
|
6
|
+
- **Class** `LyraAvatarGroup`, also available unregistered from `@aceshooting/lyra-ui/components/media/avatar-group/avatar-group.class.js`
|
|
7
|
+
- **Family** `components/media/` — see `llms/index.md` for its siblings
|
|
8
|
+
- **Optional peers** none
|
|
9
|
+
- **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## `lr-avatar-group`
|
|
14
|
+
|
|
15
|
+
Stacks slotted `<lr-avatar>` children into one overlapping row and, past `max`, collapses the
|
|
16
|
+
excess into a localized "+N" badge. Composed over `<lr-avatar>` via plain light-DOM slotted content
|
|
17
|
+
(no `.items` array); it does **not** import/register `<lr-avatar>` — the consumer does that.
|
|
18
|
+
|
|
19
|
+
**Properties:**
|
|
20
|
+
- `max?: number` — how many assigned children stay visible before the rest collapse behind the
|
|
21
|
+
badge. Unset (the default) means no limit. Any assigned value is sanitized to a finite,
|
|
22
|
+
non-negative integer. Flattened slot-forwarded children count the same as direct children.
|
|
23
|
+
- `size: AvatarSize = 'md'` (reflected) — `'sm' | 'md' | 'lg'`, reused from `<lr-avatar>`.
|
|
24
|
+
- `shape: AvatarShape = 'circle'` (reflected) — `'circle' | 'square'`.
|
|
25
|
+
- `tone: AvatarTone = 'neutral'` (reflected) — `'neutral' | 'brand' | 'success' | 'warning' |
|
|
26
|
+
'danger'`; recolors the overflow badge only.
|
|
27
|
+
- `label: string = ''` — the group's `role="group"` accessible name. A host-level `aria-label` wins
|
|
28
|
+
if both are set; with neither, no `aria-label` is rendered.
|
|
29
|
+
|
|
30
|
+
**Events:** `lr-overflow-click` (`detail: { hiddenCount: number; hiddenAvatars: LyraAvatar[] }`) —
|
|
31
|
+
the badge was activated by click or Enter/Space. Non-cancelable, purely informational: the
|
|
32
|
+
component keeps rendering the same collapsed stack, and a host typically wires this to its own
|
|
33
|
+
popover/dialog listing the hidden members. There is no `expanded` state and no `aria-expanded`.
|
|
34
|
+
|
|
35
|
+
**Slots:** default slot — `<lr-avatar>` elements (any content works, but the avatar pairing is the
|
|
36
|
+
intended usage). Children past `max` have their native `hidden` attribute set.
|
|
37
|
+
|
|
38
|
+
**CSS parts:** `base` (the outer inline-flex container holding the slot and the badge),
|
|
39
|
+
`overflow-badge` (the "+N" `<button>`; only rendered while `max` is actively overflowing).
|
|
40
|
+
|
|
41
|
+
**Themeable custom properties:** `--lr-avatar-group-avatar-size` (default `var(--lr-size-2rem)`,
|
|
42
|
+
swapped to `1.5rem`/`2.5rem` per `size`), `--lr-avatar-group-overlap` (default
|
|
43
|
+
`var(--lr-size-neg-6px)`, swapped per `size`; a logical `margin-inline-start`, so it auto-mirrors
|
|
44
|
+
under `dir="rtl"` — setting `0` or a positive length turns the stack into normal spacing),
|
|
45
|
+
`--lr-avatar-group-ring-color` (default `var(--lr-color-surface)`),
|
|
46
|
+
`--lr-avatar-group-ring-width` (default `var(--lr-border-width-medium)`),
|
|
47
|
+
`--lr-avatar-group-badge-bg` (default `var(--lr-color-border)`, swapped per `tone`),
|
|
48
|
+
`--lr-avatar-group-badge-color` (default `var(--lr-color-text)`, swapped per `tone`).
|
|
49
|
+
|
|
50
|
+
**Optional peer deps:** none.
|
|
51
|
+
|
|
52
|
+
```html
|
|
53
|
+
<lr-avatar-group max="3" label="Project members">
|
|
54
|
+
<lr-avatar initials="JS"></lr-avatar>
|
|
55
|
+
<lr-avatar initials="AM"></lr-avatar>
|
|
56
|
+
<lr-avatar initials="RT"></lr-avatar>
|
|
57
|
+
<lr-avatar initials="KL"></lr-avatar>
|
|
58
|
+
</lr-avatar-group>
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
**Known gotchas:**
|
|
62
|
+
- `size`/`shape`/`tone` do **not** cascade onto slotted avatars — they only drive this component's
|
|
63
|
+
own ring, overlap, and badge. Each `<lr-avatar>`'s own `--lr-avatar-size` lives in its own
|
|
64
|
+
shadow-scoped `:host` block and unconditionally overrides an inherited value, so set a matching
|
|
65
|
+
`size`/`shape` on both the group and every child.
|
|
66
|
+
- the row never wraps (`flex-wrap` stays `nowrap`) — wrapping an overlapping stack breaks the
|
|
67
|
+
visual.
|
|
68
|
+
- avatars are non-interactive, so there is no roving tabindex / arrow-key handling; the badge is the
|
|
69
|
+
only tab stop.
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
<!-- GENERATED by scripts/build-llms.mjs from llms/media.md — do not edit this file. -->
|
|
2
|
+
|
|
3
|
+
# `lr-avatar`
|
|
4
|
+
|
|
5
|
+
- **Import** `import '@aceshooting/lyra-ui/components/media/avatar/avatar.js';` (registers the tag; side-effect import)
|
|
6
|
+
- **Class** `LyraAvatar`, also available unregistered from `@aceshooting/lyra-ui/components/media/avatar/avatar.class.js`
|
|
7
|
+
- **Family** `components/media/` — see `llms/index.md` for its siblings
|
|
8
|
+
- **Optional peers** none
|
|
9
|
+
- **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## `lr-avatar`
|
|
14
|
+
|
|
15
|
+
A small, fixed-size identity marker: default-slotted icon/glyph content, an image, or a fallback of
|
|
16
|
+
initials text — in that priority order, whichever is set takes over from the next. First-party
|
|
17
|
+
invention (no Web Awesome equivalent) — purely presentational, with no built-in interactivity; wrap
|
|
18
|
+
it in a `<button>`/`<lr-menu>` trigger for a user-menu affordance.
|
|
19
|
+
|
|
20
|
+
**Properties:**
|
|
21
|
+
- `initials: string = ''` — fallback text (typically 1-2 characters), shown whenever no slotted icon
|
|
22
|
+
and no image is set, or the image fails to load.
|
|
23
|
+
- `src?: string` — image URL; takes priority over `initials` when set and loads successfully (but
|
|
24
|
+
never over slotted icon content), falling back to `initials` on a load error.
|
|
25
|
+
- `alt: string = ''` — image alt text; set alongside `src` for accessibility, and also the source of
|
|
26
|
+
the accessible name for the icon-slot and initials cases (the glyph is `aria-hidden`, and the
|
|
27
|
+
initials text is hidden from AT once `alt` supplies a name, so `[part="base"]` carries
|
|
28
|
+
`role="img"` + that name instead).
|
|
29
|
+
- host `aria-label` — overrides `alt` as the image/fallback accessible name without changing the
|
|
30
|
+
visible initials or image
|
|
31
|
+
- `size: 'sm' | 'md' | 'lg' = 'md'` (reflected).
|
|
32
|
+
- `shape: 'circle' | 'square' = 'circle'` (reflected).
|
|
33
|
+
- `tone: 'neutral' | 'brand' | 'success' | 'warning' | 'danger' = 'neutral'` (reflected) — recolors
|
|
34
|
+
the initials-fallback background/text, mirroring `lr-chip`'s `tone` vocabulary; `neutral` (the
|
|
35
|
+
default) reads as a plain, unaccented circle.
|
|
36
|
+
|
|
37
|
+
**Events:** none.
|
|
38
|
+
|
|
39
|
+
**Slots:** default slot — icon/glyph content (e.g. an inline SVG), shown in place of the image and
|
|
40
|
+
initials, e.g. to mark a chat avatar as "AI" vs. "user" with a role glyph. Takes priority over both
|
|
41
|
+
`src` and `initials`. The glyph is treated as decorative (`aria-hidden`) — set `alt` alongside it
|
|
42
|
+
for an accessible name.
|
|
43
|
+
|
|
44
|
+
**CSS parts:** `base` (the outer circle/square container), `icon` (wrapper around the slotted
|
|
45
|
+
icon/glyph, only shown while the slot has assigned content), `image` (the `<img>`, only rendered
|
|
46
|
+
while `src` is set, hasn't failed to load, and no icon is slotted), `initials` (the fallback
|
|
47
|
+
initials text, rendered whenever neither `icon` nor `image` is).
|
|
48
|
+
|
|
49
|
+
**Themeable custom properties:** `--lr-avatar-size` (default `2rem`, swapped to `1.5rem`/`2.5rem`
|
|
50
|
+
per `size="sm"`/`"lg"`), `--lr-avatar-bg` (default `var(--lr-color-surface-alt,
|
|
51
|
+
var(--lr-color-border))`, swapped per `tone`), `--lr-avatar-color` (default
|
|
52
|
+
`var(--lr-color-text)`, swapped per `tone`), plus shared tokens `--lr-radius`/`-pill`,
|
|
53
|
+
`--lr-font-size-sm`, `--lr-font-weight-semibold`.
|
|
54
|
+
|
|
55
|
+
**Optional peer deps:** none.
|
|
56
|
+
|
|
57
|
+
```html
|
|
58
|
+
<lr-avatar initials="JS" tone="brand"></lr-avatar>
|
|
59
|
+
<lr-avatar src="/users/42/photo.jpg" alt="Jane Smith" size="lg"></lr-avatar>
|
|
60
|
+
<lr-avatar alt="Assistant"><svg viewBox="0 0 24 24"><!-- role glyph --></svg></lr-avatar>
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
**Known gotchas:**
|
|
64
|
+
- an image load failure falls back to `initials` automatically. Changing `src` clears the failure
|
|
65
|
+
state so the replacement URL gets its own load attempt.
|
|
66
|
+
- when `alt` or host `aria-label` supplies a name, the base preserves that name through the
|
|
67
|
+
initials fallback while hiding duplicate initials text from assistive technology.
|
|
68
|
+
|
|
69
|
+
---
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
<!-- GENERATED by scripts/build-llms.mjs from llms/overlays.md — do not edit this file. -->
|
|
2
|
+
|
|
3
|
+
# `lr-badge`
|
|
4
|
+
|
|
5
|
+
- **Import** `import '@aceshooting/lyra-ui/components/overlays/badge/badge.js';` (registers the tag; side-effect import)
|
|
6
|
+
- **Class** `LyraBadge`, also available unregistered from `@aceshooting/lyra-ui/components/overlays/badge/badge.class.js`
|
|
7
|
+
- **Family** `components/overlays/` — see `llms/index.md` for its siblings
|
|
8
|
+
- **Optional peers** none
|
|
9
|
+
- **Documented with** `lr-tag` (same section below)
|
|
10
|
+
- **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
|
|
11
|
+
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
## `lr-badge` and `lr-tag`
|
|
15
|
+
|
|
16
|
+
Compact status labels. Both expose `variant: 'neutral' | 'brand' | 'success' | 'warning' | 'danger'`.
|
|
17
|
+
The two tags share the same visual contract; `lr-tag` is a semantic alias for migration-friendly
|
|
18
|
+
markup.
|
|
19
|
+
|
|
20
|
+
**Slots:** default content. **CSS parts:** `base`.
|
|
21
|
+
|
|
22
|
+
**Themeable custom properties:** `--lr-badge-background`, `--lr-badge-color`, `--lr-badge-border`
|
|
23
|
+
— the trio each `:host([variant])` rule rewrites (`neutral` defaults to
|
|
24
|
+
`--lr-color-surface`/`-text`/`-border`; the other four to the matching `*-quiet` fill with the loud
|
|
25
|
+
color for text and border). Set one directly on the element for a tint outside the five variants.
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
<!-- GENERATED by scripts/build-llms.mjs from llms/charts.md — do not edit this file. -->
|
|
2
|
+
|
|
3
|
+
# `lr-bar-chart`
|
|
4
|
+
|
|
5
|
+
- **Import** `import '@aceshooting/lyra-ui/components/charts/chart/bar-chart.js';` (registers the tag; side-effect import)
|
|
6
|
+
- **Class** `LyraBarChart`, also available unregistered from `@aceshooting/lyra-ui/components/charts/chart/bar-chart.class.js`
|
|
7
|
+
- **Family** `components/charts/` — see `llms/index.md` for its siblings
|
|
8
|
+
- **Optional peers** `chart.js`, `chartjs-plugin-zoom` — see `llms/peers.md`
|
|
9
|
+
- **Documented with** `lr-line-chart`, `lr-pie-chart`, `lr-doughnut-chart`, `lr-radar-chart`, `lr-polar-area-chart`, `lr-bubble-chart`, `lr-scatter-chart` (same section below)
|
|
10
|
+
- **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
|
|
11
|
+
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
## Typed subclasses: `lr-line-chart`, `lr-bar-chart`, `lr-pie-chart`, `lr-doughnut-chart`, `lr-radar-chart`, `lr-polar-area-chart`, `lr-bubble-chart`, `lr-scatter-chart`
|
|
15
|
+
|
|
16
|
+
Each is `LyraChart` with `type` locked to a fixed value — respectively `line`, `bar`, `pie`,
|
|
17
|
+
`doughnut`, `radar`, `polarArea`, `bubble`, `scatter` — via a real `get`/`set` accessor pair the
|
|
18
|
+
shared `lockChartType()` helper installs on the subclass's own prototype (`declare type: '…'`
|
|
19
|
+
narrows the TS type at compile time; the runtime lock is the `Object.defineProperty` pair alongside
|
|
20
|
+
it — the same helper `lr-histogram` uses), not merely a class-field default a later assignment
|
|
21
|
+
could still override.
|
|
22
|
+
|
|
23
|
+
Everything else is inherited verbatim from `lr-chart`; each name below has the same type, default,
|
|
24
|
+
and behavior there. **See `llms/components/lr-chart.md` for the details, code example, and gotchas
|
|
25
|
+
of every entry in these lists.**
|
|
26
|
+
|
|
27
|
+
**Properties:** `labels`, `datasets`, `legend`, `legendPosition` (attribute `legend-position`),
|
|
28
|
+
`valueFormatter`, `area`, `zoom`, `height`, `xLabel` (`x-label`), `yLabel` (`y-label`), `y2Label`
|
|
29
|
+
(`y2-label`), `beginAtZero` (`begin-at-zero`), `horizontal`, `stacked`, `config`, `accessibleLabel`
|
|
30
|
+
(`accessible-label`), `accessibleDescription` (`accessible-description`), `showDataTable`
|
|
31
|
+
(`show-data-table`), `chartArea` (readonly). `type` is the only member that differs: read-only,
|
|
32
|
+
locked to this tag's value.
|
|
33
|
+
|
|
34
|
+
**Methods:** `resetZoom()`, `refreshTheme()`.
|
|
35
|
+
|
|
36
|
+
**Events:** `lr-zoom` (`detail: { zoomed: boolean }`), `lr-point-click` (`detail: { datasetIndex,
|
|
37
|
+
index, label, value }`).
|
|
38
|
+
|
|
39
|
+
**Slots:** `data-table`, `center`.
|
|
40
|
+
|
|
41
|
+
**CSS parts:** `base`, `canvas`, `reset-zoom-button`, `description`, `data-table`, `center`.
|
|
42
|
+
|
|
43
|
+
**Themeable custom properties:** `--lr-chart-height`, `--lr-chart-grid-color`,
|
|
44
|
+
`--lr-chart-tick-color`, `--lr-chart-legend-color`, `--lr-chart-tooltip-bg`,
|
|
45
|
+
`--lr-chart-tooltip-text`.
|
|
46
|
+
|
|
47
|
+
**Optional peer deps:** same as `lr-chart` — `chart.js`, plus `chartjs-plugin-zoom` only once
|
|
48
|
+
`zoom` is set.
|
|
49
|
+
|
|
50
|
+
```html
|
|
51
|
+
<lr-bar-chart legend></lr-bar-chart>
|
|
52
|
+
<lr-pie-chart></lr-pie-chart>
|
|
53
|
+
<script>
|
|
54
|
+
document.querySelector('lr-bar-chart').labels = ['A', 'B'];
|
|
55
|
+
document.querySelector('lr-bar-chart').datasets = [{ label: 'Count', data: [4, 9] }];
|
|
56
|
+
|
|
57
|
+
document.querySelector('lr-pie-chart').labels = ['A', 'B', 'C'];
|
|
58
|
+
document.querySelector('lr-pie-chart').datasets = [{ label: 'Share', data: [30, 45, 25], color: ['#2563eb', '#16a34a', '#dc2626'] }];
|
|
59
|
+
</script>
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
**Known gotchas (in addition to the core `lr-chart` list in `llms/components/lr-chart.md`):**
|
|
63
|
+
- `type` truly is locked per subclass: `<lr-pie-chart type="bar">` or `el.type = 'bar'` at runtime
|
|
64
|
+
is a genuine no-op (the accessor's setter silently ignores the write), not a footgun like a plain
|
|
65
|
+
overridden class-field default would be.
|
|
66
|
+
- `lr-bubble-chart` needs `Series.points` entries with an `x`/`y`/`r` triple, but `Series.points`
|
|
67
|
+
is typed as `{x, y, label?}[]` with no `r` field — cast the array through `as unknown as
|
|
68
|
+
Series['points']` (or a local `BubblePoint` type) when constructing bubble data.
|
|
69
|
+
|
|
70
|
+
---
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
<!-- GENERATED by scripts/build-llms.mjs from llms/charts.md — do not edit this file. -->
|
|
2
|
+
|
|
3
|
+
# `lr-box-plot`
|
|
4
|
+
|
|
5
|
+
- **Import** `import '@aceshooting/lyra-ui/components/charts/chart/box-plot.js';` (registers the tag; side-effect import)
|
|
6
|
+
- **Class** `LyraBoxPlot`, also available unregistered from `@aceshooting/lyra-ui/components/charts/chart/box-plot.class.js`
|
|
7
|
+
- **Family** `components/charts/` — see `llms/index.md` for its siblings
|
|
8
|
+
- **Optional peers** `@sgratzl/chartjs-chart-boxplot`, `chart.js`, `chartjs-plugin-zoom` — see `llms/peers.md`
|
|
9
|
+
- **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## `lr-box-plot`
|
|
14
|
+
|
|
15
|
+
Box-and-whisker chart from a precomputed five-number summary (no raw sample data sent to the
|
|
16
|
+
browser). Does **not** extend `LyraChart` — a deliberately bespoke API.
|
|
17
|
+
|
|
18
|
+
**Properties:**
|
|
19
|
+
- `labels: string[] = []` (attribute: false)
|
|
20
|
+
- `boxes: BoxPlotSeries[] = []` (attribute: false) — `BoxPlotSeries { label: string; data:
|
|
21
|
+
BoxPlotPoint[]; color?: string }`, `BoxPlotPoint { min, q1, median, q3, max }`
|
|
22
|
+
- `legend: boolean = false`
|
|
23
|
+
- `height: string = '280px'`
|
|
24
|
+
- `yLabel: string = ''` (attribute `y-label`)
|
|
25
|
+
- `beginAtZero: boolean = true` (attribute `begin-at-zero`)
|
|
26
|
+
- `accessibleLabel: string = ''` (attribute `accessible-label`) — canvas name override; host
|
|
27
|
+
`aria-label` wins
|
|
28
|
+
- `accessibleDescription: string = ''` (attribute `accessible-description`) — overrides the
|
|
29
|
+
localized five-number summary
|
|
30
|
+
- `showDataTable: boolean = false` (attribute `show-data-table`) — reveals the accessible data table
|
|
31
|
+
|
|
32
|
+
**Methods:** `refreshTheme()` re-reads canvas theme custom properties after an ancestor theme change.
|
|
33
|
+
|
|
34
|
+
**Events:** none.
|
|
35
|
+
|
|
36
|
+
**Slots:** `data-table` — an optional consumer-provided accessible table alternative.
|
|
37
|
+
|
|
38
|
+
**CSS parts:** `base`, `canvas`, `description`, `data-table`
|
|
39
|
+
|
|
40
|
+
**Themeable custom properties:** `--lr-chart-height`, `--lr-chart-grid-color`,
|
|
41
|
+
`--lr-chart-tick-color`, `--lr-chart-legend-color`, `--lr-chart-tooltip-bg`,
|
|
42
|
+
`--lr-chart-tooltip-text` — same host-level mechanism, token names, and defaults as `lr-chart`
|
|
43
|
+
(also `getComputedStyle`-resolved on every draw), but declared in its own stylesheet, not a
|
|
44
|
+
re-export: `lr-box-plot` has no `zoom`, so no `reset-zoom-button` chrome exists here.
|
|
45
|
+
|
|
46
|
+
**Optional peer deps:** `@sgratzl/chartjs-chart-boxplot` (plus `chart.js` transitively, loaded
|
|
47
|
+
independently of the base `chart-loader.ts`).
|
|
48
|
+
|
|
49
|
+
```html
|
|
50
|
+
<lr-box-plot y-label="Latency (ms)"></lr-box-plot>
|
|
51
|
+
<script>
|
|
52
|
+
const bp = document.querySelector('lr-box-plot');
|
|
53
|
+
bp.labels = ['Run A', 'Run B'];
|
|
54
|
+
bp.boxes = [{ label: 'p50–p99', data: [{ min: 10, q1: 20, median: 30, q3: 45, max: 90 }, { min: 12, q1: 18, median: 25, q3: 35, max: 60 }] }];
|
|
55
|
+
</script>
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
**Known gotchas:**
|
|
59
|
+
- no raw `config` passthrough — limited to the properties above; can't reach the underlying
|
|
60
|
+
controller's own options (`itemRadius`, `outlierRadius`, `coef`).
|
|
61
|
+
- Chart.js receives `effectiveLocale`; generated numeric summaries use it, the y axis moves to
|
|
62
|
+
logical start in RTL, canvas tooltip/axis colors are token-driven, and animation is disabled
|
|
63
|
+
under reduced motion.
|
|
64
|
+
- If `@sgratzl/chartjs-chart-boxplot` fails to load, the component warns to the console and
|
|
65
|
+
resolves to no chart rather than throwing.
|
|
66
|
+
|
|
67
|
+
---
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
<!-- GENERATED by scripts/build-llms.mjs from llms/conversation.md — do not edit this file. -->
|
|
2
|
+
|
|
3
|
+
# `lr-branch-picker`
|
|
4
|
+
|
|
5
|
+
- **Import** `import '@aceshooting/lyra-ui/components/conversation/branch-picker/branch-picker.js';` (registers the tag; side-effect import)
|
|
6
|
+
- **Class** `LyraBranchPicker`, also available unregistered from `@aceshooting/lyra-ui/components/conversation/branch-picker/branch-picker.class.js`
|
|
7
|
+
- **Family** `components/conversation/` — see `llms/index.md` for its siblings
|
|
8
|
+
- **Optional peers** none
|
|
9
|
+
- **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## `lr-branch-picker`
|
|
14
|
+
|
|
15
|
+
The "‹ 2 / 5 ›" navigator across regenerated/edited variants of one message. Pure controlled: it
|
|
16
|
+
never mutates its own `index` — the same contract `<lr-pagination>` already establishes for
|
|
17
|
+
`page`. The host listens for `lr-branch-change`, swaps the displayed branch content, and applies
|
|
18
|
+
the new `index` back. Renders nothing at all while `count < 2`, so a host can bind it unconditionally
|
|
19
|
+
on every message regardless of whether that message actually has multiple branches yet.
|
|
20
|
+
|
|
21
|
+
**Properties:** `index: number = 0` (reflected) and `count: number = 1` (reflected) — the current
|
|
22
|
+
0-based branch and the total branch count. `label: string = ''`.
|
|
23
|
+
|
|
24
|
+
**Methods:** `focus()` and `blur()` forward to the group wrapper.
|
|
25
|
+
|
|
26
|
+
**Events:** `lr-branch-change` — a branch navigation was requested. `detail: { index }`, always a
|
|
27
|
+
valid target (never past either bound); the consumer applies `index` after switching the displayed
|
|
28
|
+
branch content.
|
|
29
|
+
|
|
30
|
+
**CSS parts:** `base` (the group wrapper, `role="group"`), `previous-button`, `next-button`,
|
|
31
|
+
`previous-glyph` and `next-glyph` (the chevron inside each button — target these to swap the
|
|
32
|
+
arrow without restyling the button), and `position` (the visible "2 / 5" text).
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
<!-- GENERATED by scripts/build-llms.mjs from llms/layout.md — do not edit this file. -->
|
|
2
|
+
|
|
3
|
+
# `lr-breadcrumb-item`
|
|
4
|
+
|
|
5
|
+
- **Import** `import '@aceshooting/lyra-ui/components/layout/breadcrumb/breadcrumb-item.js';` (registers the tag; side-effect import)
|
|
6
|
+
- **Class** `LyraBreadcrumbItem`, also available unregistered from `@aceshooting/lyra-ui/components/layout/breadcrumb/breadcrumb-item.class.js`
|
|
7
|
+
- **Family** `components/layout/` — see `llms/index.md` for its siblings
|
|
8
|
+
- **Optional peers** none
|
|
9
|
+
- **Documented with** `lr-breadcrumb` (same section below)
|
|
10
|
+
- **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
|
|
11
|
+
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
## `lr-breadcrumb` and `lr-breadcrumb-item`
|
|
15
|
+
|
|
16
|
+
Responsive navigation trail primitives.
|
|
17
|
+
|
|
18
|
+
**`lr-breadcrumb` properties:** `accessibleLabel: string = ''` (attribute `aria-label`) — overrides
|
|
19
|
+
the localized `"Breadcrumb"` name on the shadow-root `<nav>` landmark, which never inherits a host
|
|
20
|
+
attribute on its own.
|
|
21
|
+
|
|
22
|
+
**`lr-breadcrumb-item` properties:** `href: string = ''` (URL-sanitized; an unsafe scheme renders the
|
|
23
|
+
non-link form) and `current: boolean = false` (reflected — renders a `<span aria-current="page">`
|
|
24
|
+
instead of an `<a>`, even when `href` is set). Each item sets `role="listitem"` on itself.
|
|
25
|
+
|
|
26
|
+
**Slots:** breadcrumb's default slot takes `lr-breadcrumb-item` children; an item's default slot is
|
|
27
|
+
its label.
|
|
28
|
+
|
|
29
|
+
**CSS parts:** breadcrumb `base` (the `<nav>`) and `list` (the `role="list"` flex row wrapping the
|
|
30
|
+
slotted items); item `base` (the `<a>` or `<span>`).
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
<!-- GENERATED by scripts/build-llms.mjs from llms/layout.md — do not edit this file. -->
|
|
2
|
+
|
|
3
|
+
# `lr-breadcrumb`
|
|
4
|
+
|
|
5
|
+
- **Import** `import '@aceshooting/lyra-ui/components/layout/breadcrumb/breadcrumb.js';` (registers the tag; side-effect import)
|
|
6
|
+
- **Class** `LyraBreadcrumb`, also available unregistered from `@aceshooting/lyra-ui/components/layout/breadcrumb/breadcrumb.class.js`
|
|
7
|
+
- **Family** `components/layout/` — see `llms/index.md` for its siblings
|
|
8
|
+
- **Optional peers** none
|
|
9
|
+
- **Documented with** `lr-breadcrumb-item` (same section below)
|
|
10
|
+
- **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
|
|
11
|
+
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
## `lr-breadcrumb` and `lr-breadcrumb-item`
|
|
15
|
+
|
|
16
|
+
Responsive navigation trail primitives.
|
|
17
|
+
|
|
18
|
+
**`lr-breadcrumb` properties:** `accessibleLabel: string = ''` (attribute `aria-label`) — overrides
|
|
19
|
+
the localized `"Breadcrumb"` name on the shadow-root `<nav>` landmark, which never inherits a host
|
|
20
|
+
attribute on its own.
|
|
21
|
+
|
|
22
|
+
**`lr-breadcrumb-item` properties:** `href: string = ''` (URL-sanitized; an unsafe scheme renders the
|
|
23
|
+
non-link form) and `current: boolean = false` (reflected — renders a `<span aria-current="page">`
|
|
24
|
+
instead of an `<a>`, even when `href` is set). Each item sets `role="listitem"` on itself.
|
|
25
|
+
|
|
26
|
+
**Slots:** breadcrumb's default slot takes `lr-breadcrumb-item` children; an item's default slot is
|
|
27
|
+
its label.
|
|
28
|
+
|
|
29
|
+
**CSS parts:** breadcrumb `base` (the `<nav>`) and `list` (the `role="list"` flex row wrapping the
|
|
30
|
+
slotted items); item `base` (the `<a>` or `<span>`).
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
<!-- GENERATED by scripts/build-llms.mjs from llms/agent-tools.md — do not edit this file. -->
|
|
2
|
+
|
|
3
|
+
# `lr-browser-frame`
|
|
4
|
+
|
|
5
|
+
- **Import** `import '@aceshooting/lyra-ui/components/agent-tools/browser-frame/browser-frame.js';` (registers the tag; side-effect import)
|
|
6
|
+
- **Class** `LyraBrowserFrame`, also available unregistered from `@aceshooting/lyra-ui/components/agent-tools/browser-frame/browser-frame.class.js`
|
|
7
|
+
- **Family** `components/agent-tools/` — see `llms/index.md` for its siblings
|
|
8
|
+
- **Optional peers** none
|
|
9
|
+
- **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## `lr-browser-frame`
|
|
14
|
+
|
|
15
|
+
Presentational "agent computer" viewport: a screenshot/frame stream (or slotted live media), a
|
|
16
|
+
read-only URL display, action-ping overlays, and take-over/stop affordances. No automation transport
|
|
17
|
+
(no CDP/WebRTC/WebSocket) and no input relay — take-over is an event; the host swaps in its own
|
|
18
|
+
interactive element (e.g. an iframe). No replay scrubber (compose `lr-playback` driving `frame-src`
|
|
19
|
+
from a screenshot array); no console/network drawers (compose `lr-terminal`/`lr-json-viewer`); no
|
|
20
|
+
pan/zoom of the frame content (slot the image/video inside a `lr-zoomable-frame` instead, though
|
|
21
|
+
the pings overlay assumes the unzoomed content box in that composition).
|
|
22
|
+
|
|
23
|
+
**Properties:** `frameSrc: string = ''` (attribute `frame-src`) — image/MJPEG stream URL rendered as
|
|
24
|
+
an `<img>` (safe-URL-gated via `safeMediaSrc`); ignored once the default slot has content. `url:
|
|
25
|
+
string = ''` — address shown read-only in the toolbar (`dir="ltr"`, truncating, full value in
|
|
26
|
+
`title`). `status: 'idle' | 'connecting' | 'streaming' | 'stalled' = 'idle'` (reflected). `controller:
|
|
27
|
+
'agent' | 'user' = 'agent'` (reflected) — who is driving; switches the take-over button's label.
|
|
28
|
+
`pings: BrowserPing[] = []` (attribute: false, each `{ id, x, y, kind: 'click' | 'type' | 'scroll' |
|
|
29
|
+
'move' }` — `x`/`y` are percent (0–100) of the frame's `object-fit: contain` content box,
|
|
30
|
+
letterboxing-aware). `controls: boolean = true` — render the built-in take-over/stop buttons.
|
|
31
|
+
|
|
32
|
+
**Slots:** default — host-owned live element (e.g. `<video>` or an interactive `<iframe>`), replacing
|
|
33
|
+
the `frame-src` image. `actions` — extra toolbar controls.
|
|
34
|
+
|
|
35
|
+
**Events:** `lr-take-over` — `detail: { controller }`, the *requested* controller (`'user'` when
|
|
36
|
+
"Take over" is pressed, `'agent'` when "Hand back" is). `lr-stop` — stop the agent's browser
|
|
37
|
+
session, no detail.
|
|
38
|
+
|
|
39
|
+
**CSS parts:** `base` (`role="group"`), `toolbar`, `url`, `status` (`role="status"`),
|
|
40
|
+
`controller-badge`, `actions`, `take-over-button`, `stop-button`, `viewport`, `frame` (the
|
|
41
|
+
`frame-src` `<img>`, absent once the default slot is populated), `ping` (one action-ping marker,
|
|
42
|
+
carries `data-kind`).
|
|
43
|
+
|
|
44
|
+
**Themeable custom properties:** `--lr-browser-frame-aspect-ratio` (default `16 / 9`) — the
|
|
45
|
+
viewport's aspect ratio.
|
|
46
|
+
|
|
47
|
+
```html
|
|
48
|
+
<lr-browser-frame status="streaming" url="https://example.com" .pings=${pings}
|
|
49
|
+
@lr-take-over=${(e) => setController(e.detail.controller)} @lr-stop=${() => stopSession()}
|
|
50
|
+
></lr-browser-frame>
|
|
51
|
+
```
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
<!-- GENERATED by scripts/build-llms.mjs from llms/charts.md — do not edit this file. -->
|
|
2
|
+
|
|
3
|
+
# `lr-bubble-chart`
|
|
4
|
+
|
|
5
|
+
- **Import** `import '@aceshooting/lyra-ui/components/charts/chart/bubble-chart.js';` (registers the tag; side-effect import)
|
|
6
|
+
- **Class** `LyraBubbleChart`, also available unregistered from `@aceshooting/lyra-ui/components/charts/chart/bubble-chart.class.js`
|
|
7
|
+
- **Family** `components/charts/` — see `llms/index.md` for its siblings
|
|
8
|
+
- **Optional peers** `chart.js`, `chartjs-plugin-zoom` — see `llms/peers.md`
|
|
9
|
+
- **Documented with** `lr-line-chart`, `lr-bar-chart`, `lr-pie-chart`, `lr-doughnut-chart`, `lr-radar-chart`, `lr-polar-area-chart`, `lr-scatter-chart` (same section below)
|
|
10
|
+
- **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
|
|
11
|
+
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
## Typed subclasses: `lr-line-chart`, `lr-bar-chart`, `lr-pie-chart`, `lr-doughnut-chart`, `lr-radar-chart`, `lr-polar-area-chart`, `lr-bubble-chart`, `lr-scatter-chart`
|
|
15
|
+
|
|
16
|
+
Each is `LyraChart` with `type` locked to a fixed value — respectively `line`, `bar`, `pie`,
|
|
17
|
+
`doughnut`, `radar`, `polarArea`, `bubble`, `scatter` — via a real `get`/`set` accessor pair the
|
|
18
|
+
shared `lockChartType()` helper installs on the subclass's own prototype (`declare type: '…'`
|
|
19
|
+
narrows the TS type at compile time; the runtime lock is the `Object.defineProperty` pair alongside
|
|
20
|
+
it — the same helper `lr-histogram` uses), not merely a class-field default a later assignment
|
|
21
|
+
could still override.
|
|
22
|
+
|
|
23
|
+
Everything else is inherited verbatim from `lr-chart`; each name below has the same type, default,
|
|
24
|
+
and behavior there. **See `llms/components/lr-chart.md` for the details, code example, and gotchas
|
|
25
|
+
of every entry in these lists.**
|
|
26
|
+
|
|
27
|
+
**Properties:** `labels`, `datasets`, `legend`, `legendPosition` (attribute `legend-position`),
|
|
28
|
+
`valueFormatter`, `area`, `zoom`, `height`, `xLabel` (`x-label`), `yLabel` (`y-label`), `y2Label`
|
|
29
|
+
(`y2-label`), `beginAtZero` (`begin-at-zero`), `horizontal`, `stacked`, `config`, `accessibleLabel`
|
|
30
|
+
(`accessible-label`), `accessibleDescription` (`accessible-description`), `showDataTable`
|
|
31
|
+
(`show-data-table`), `chartArea` (readonly). `type` is the only member that differs: read-only,
|
|
32
|
+
locked to this tag's value.
|
|
33
|
+
|
|
34
|
+
**Methods:** `resetZoom()`, `refreshTheme()`.
|
|
35
|
+
|
|
36
|
+
**Events:** `lr-zoom` (`detail: { zoomed: boolean }`), `lr-point-click` (`detail: { datasetIndex,
|
|
37
|
+
index, label, value }`).
|
|
38
|
+
|
|
39
|
+
**Slots:** `data-table`, `center`.
|
|
40
|
+
|
|
41
|
+
**CSS parts:** `base`, `canvas`, `reset-zoom-button`, `description`, `data-table`, `center`.
|
|
42
|
+
|
|
43
|
+
**Themeable custom properties:** `--lr-chart-height`, `--lr-chart-grid-color`,
|
|
44
|
+
`--lr-chart-tick-color`, `--lr-chart-legend-color`, `--lr-chart-tooltip-bg`,
|
|
45
|
+
`--lr-chart-tooltip-text`.
|
|
46
|
+
|
|
47
|
+
**Optional peer deps:** same as `lr-chart` — `chart.js`, plus `chartjs-plugin-zoom` only once
|
|
48
|
+
`zoom` is set.
|
|
49
|
+
|
|
50
|
+
```html
|
|
51
|
+
<lr-bar-chart legend></lr-bar-chart>
|
|
52
|
+
<lr-pie-chart></lr-pie-chart>
|
|
53
|
+
<script>
|
|
54
|
+
document.querySelector('lr-bar-chart').labels = ['A', 'B'];
|
|
55
|
+
document.querySelector('lr-bar-chart').datasets = [{ label: 'Count', data: [4, 9] }];
|
|
56
|
+
|
|
57
|
+
document.querySelector('lr-pie-chart').labels = ['A', 'B', 'C'];
|
|
58
|
+
document.querySelector('lr-pie-chart').datasets = [{ label: 'Share', data: [30, 45, 25], color: ['#2563eb', '#16a34a', '#dc2626'] }];
|
|
59
|
+
</script>
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
**Known gotchas (in addition to the core `lr-chart` list in `llms/components/lr-chart.md`):**
|
|
63
|
+
- `type` truly is locked per subclass: `<lr-pie-chart type="bar">` or `el.type = 'bar'` at runtime
|
|
64
|
+
is a genuine no-op (the accessor's setter silently ignores the write), not a footgun like a plain
|
|
65
|
+
overridden class-field default would be.
|
|
66
|
+
- `lr-bubble-chart` needs `Series.points` entries with an `x`/`y`/`r` triple, but `Series.points`
|
|
67
|
+
is typed as `{x, y, label?}[]` with no `r` field — cast the array through `as unknown as
|
|
68
|
+
Series['points']` (or a local `BubblePoint` type) when constructing bubble data.
|
|
69
|
+
|
|
70
|
+
---
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
<!-- GENERATED by scripts/build-llms.mjs from llms/layout.md — do not edit this file. -->
|
|
2
|
+
|
|
3
|
+
# `lr-button-group`
|
|
4
|
+
|
|
5
|
+
- **Import** `import '@aceshooting/lyra-ui/components/layout/button-group/button-group.js';` (registers the tag; side-effect import)
|
|
6
|
+
- **Class** `LyraButtonGroup`, also available unregistered from `@aceshooting/lyra-ui/components/layout/button-group/button-group.class.js`
|
|
7
|
+
- **Family** `components/layout/` — see `llms/index.md` for its siblings
|
|
8
|
+
- **Optional peers** none
|
|
9
|
+
- **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## `lr-button-group`
|
|
14
|
+
|
|
15
|
+
Responsive semantic grouping primitive for related action controls. It preserves the slotted
|
|
16
|
+
controls and exposes `role="group"` on its internal wrapper.
|
|
17
|
+
|
|
18
|
+
**Properties:**
|
|
19
|
+
- `orientation: 'horizontal' | 'vertical' = 'horizontal'` (reflected)
|
|
20
|
+
- `label: string = ''` — accessible group name; a host `aria-label` is used when `label` is empty
|
|
21
|
+
|
|
22
|
+
**Slots:** default action controls.
|
|
23
|
+
|
|
24
|
+
**CSS parts:** `base` (the `role="group"` flex wrapper; wraps, and goes full-width below a 20rem
|
|
25
|
+
container inline-size).
|
|
26
|
+
|
|
27
|
+
**Themeable custom properties:** `--lr-button-group-gap` (default `var(--lr-space-2xs)`) — gap
|
|
28
|
+
between slotted controls on both axes.
|
|
29
|
+
|
|
30
|
+
---
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
<!-- GENERATED by scripts/build-llms.mjs from llms/forms.md — do not edit this file. -->
|
|
2
|
+
|
|
3
|
+
# `lr-button`
|
|
4
|
+
|
|
5
|
+
- **Import** `import '@aceshooting/lyra-ui/components/forms/button/button.js';` (registers the tag; side-effect import)
|
|
6
|
+
- **Class** `LyraButton`, also available unregistered from `@aceshooting/lyra-ui/components/forms/button/button.class.js`
|
|
7
|
+
- **Family** `components/forms/` — see `llms/index.md` for its siblings
|
|
8
|
+
- **Optional peers** none
|
|
9
|
+
- **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## `lr-button`
|
|
14
|
+
|
|
15
|
+
A generic action-button primitive. Renders an internal native `<button>`; `type="submit"`/
|
|
16
|
+
`type="reset"` are handled by the component itself via the host's own `closest('form')`, since a
|
|
17
|
+
shadow-internal native button doesn't participate in an ancestor form's submission on its own.
|
|
18
|
+
|
|
19
|
+
**Properties:**
|
|
20
|
+
- `variant: 'neutral' | 'brand' | 'success' | 'warning' | 'danger' = 'neutral'` (reflected)
|
|
21
|
+
- `appearance: 'accent' | 'filled' | 'outlined' | 'plain' | 'quiet' | 'link' = 'filled'` (reflected)
|
|
22
|
+
— `'accent'` is a
|
|
23
|
+
loud, high-contrast filled tier,
|
|
24
|
+
distinct from `'filled'` for `variant="neutral"` specifically (`'filled'` reads the ambient
|
|
25
|
+
surface color there; `'accent'` reads a solid neutral fill). `'quiet'` is a de-emphasized tier:
|
|
26
|
+
transparent background with a bordered, muted-text chrome that fills to `--lr-color-surface` on
|
|
27
|
+
hover; its text/border tokens are **not** variant-swapped, so `variant` has no effect on it.
|
|
28
|
+
`'link'` is a true inline-link tier:
|
|
29
|
+
zero chrome (no padding, border, border-radius, or `min-block-size` floor), underlined
|
|
30
|
+
(`text-underline-offset: var(--lr-size-0-15rem)`), colored from `--lr-button-accent` (the same token `'plain'`
|
|
31
|
+
uses, so `variant` still selects the link color) and inheriting the surrounding font-size/weight
|
|
32
|
+
— for a text link that flows within a sentence rather than a button-shaped control. Declared
|
|
33
|
+
after the per-`size` rules, so it overrides them whatever `size` is set
|
|
34
|
+
- `size: '2xs' | 'xs' | 's' | 'm' | 'l' | 'xl' = 'm'` (reflected) — `'2xs'` is the tightest tier,
|
|
35
|
+
below `'xs'`, for dense chrome; `'m'` is the standard one
|
|
36
|
+
- `type: 'button' | 'submit' | 'reset' = 'button'`
|
|
37
|
+
- `loading: boolean = false` (reflected) — shows an internal spinner and disables the button without
|
|
38
|
+
clearing `disabled`
|
|
39
|
+
- `disabled: boolean = false` (reflected)
|
|
40
|
+
|
|
41
|
+
The shared `m` size uses `--lr-font-size-m`. The internal button follows the host's inline size through `--lr-button-width` (default
|
|
42
|
+
`100%`), and each size tier's `min-block-size` floor is exposed as its own token (see below).
|
|
43
|
+
|
|
44
|
+
**Getters/methods:** `click()`, `focus(options?)`, and `blur()` — forwarded to the internal native
|
|
45
|
+
`<button>`; `click()` also runs the component's submit/reset behavior.
|
|
46
|
+
|
|
47
|
+
**Events:** none (a plain native `click` bubbles and composes through the shadow boundary
|
|
48
|
+
unmodified; disabled while `disabled` or `loading`).
|
|
49
|
+
|
|
50
|
+
**Slots:** default (label content), `start` (leading icon/content), `end` (trailing icon/content).
|
|
51
|
+
|
|
52
|
+
**CSS parts:** `base`, `label`, `start`, `end`, `spinner` (present only while `loading`).
|
|
53
|
+
|
|
54
|
+
**Themeable custom properties:** `--lr-button-width`, `--lr-button-accent`, `--lr-button-fill`,
|
|
55
|
+
`--lr-button-on-fill`, `--lr-button-border` (each swapped by the active `variant`, default
|
|
56
|
+
`neutral` falls back to plain text/surface/border tokens), `--lr-button-accent-fill`,
|
|
57
|
+
`--lr-button-accent-on-fill` (the `appearance="accent"` fill/foreground pair; `neutral` falls
|
|
58
|
+
back to `--lr-color-neutral`/`--lr-color-on-neutral`, every other variant reuses that variant's own
|
|
59
|
+
loud fill token), `--lr-button-outlined-border` (default `--lr-color-border-strong`, the
|
|
60
|
+
`appearance="outlined"` border color — variant-independent, unlike `--lr-button-border`),
|
|
61
|
+
`--lr-button-quiet-text` (default `--lr-color-text-quiet`) and `--lr-button-quiet-border` (default
|
|
62
|
+
`--lr-color-border`) — the `appearance="quiet"` foreground/border pair, also variant-independent,
|
|
63
|
+
`--lr-button-hover-brightness` (default `1.08`, the `:hover` filter intensity),
|
|
64
|
+
`--lr-button-active-scale` (default `0.9875`, the `:active` press-scale, disabled under
|
|
65
|
+
`prefers-reduced-motion`), `--lr-button-spinner-duration` (default `1s`, the `loading` spinner's
|
|
66
|
+
rotation period; forced to `0.001ms` under `prefers-reduced-motion`), and the per-`size`
|
|
67
|
+
`min-block-size` floors `--lr-button-size-2xs` (`1.25rem`), `--lr-button-size-xs` (`1.5rem`),
|
|
68
|
+
`--lr-button-size-s` (`1.75rem`), `--lr-button-size-m` (`2rem`), `--lr-button-size-l` (`2.5rem`),
|
|
69
|
+
`--lr-button-size-xl` (`3rem`) — each read only by its own `size` tier, and all ignored by
|
|
70
|
+
`appearance="link"`.
|
|
71
|
+
|
|
72
|
+
**Optional peer deps:** none.
|
|
73
|
+
|
|
74
|
+
```html
|
|
75
|
+
<lr-button variant="brand" appearance="filled">Save</lr-button>
|
|
76
|
+
<lr-button variant="neutral" appearance="accent">Save</lr-button>
|
|
77
|
+
<lr-button appearance="plain" aria-label="Close dialog"><svg slot="start">...</svg></lr-button>
|
|
78
|
+
<p>The message failed. <lr-button appearance="link" variant="brand">Retry</lr-button></p>
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
**Known gotchas:**
|
|
82
|
+
- A host `aria-label` is forwarded to the internal button as a literal string (for an icon-only
|
|
83
|
+
button); an external `aria-labelledby`/`aria-describedby` idref is not copied across the shadow
|
|
84
|
+
boundary.
|
|
85
|
+
- Is form-associated (`static formAssociated = true` + `attachInternals()`), so it participates in
|
|
86
|
+
an ancestor `<form>.elements` the same way `wa-button` does — a sibling text field's own
|
|
87
|
+
Enter-to-submit lookup (which scans `form.elements` for a `type === 'submit'` control) finds it.
|
|
88
|
+
|
|
89
|
+
---
|