@aceshooting/lyra-ui 14.0.0 → 14.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +149 -19
- package/custom-elements.json +1 -1
- package/dist/components/agent-tools/commit-card/commit-card.class.d.ts +3 -1
- package/dist/components/agent-tools/commit-card/commit-card.class.js +2 -2
- package/dist/components/agent-tools/compare-panel/compare-panel.class.d.ts +2 -1
- package/dist/components/agent-tools/compare-panel/compare-panel.styles.js +1 -1
- package/dist/components/agent-tools/prompt-studio/prompt-studio.class.d.ts +6 -2
- package/dist/components/agent-tools/prompt-studio/prompt-studio.class.js +4 -4
- package/dist/components/agent-tools/result-card/result-card.class.d.ts +1 -1
- package/dist/components/agent-tools/result-card/result-card.class.js +1 -1
- package/dist/components/agent-tools/result-card/result-field.class.d.ts +1 -1
- package/dist/components/agent-tools/result-card/result-field.class.js +1 -1
- package/dist/components/agent-tools/stack-trace/stack-trace.class.d.ts +1 -1
- package/dist/components/agent-tools/stack-trace/stack-trace.class.js +1 -1
- package/dist/components/agent-tools/terminal/terminal.class.d.ts +1 -1
- package/dist/components/agent-tools/terminal/terminal.class.js +2 -2
- package/dist/components/agent-tools/tool-call-chip/tool-call-chip.class.d.ts +2 -2
- package/dist/components/agent-tools/tool-call-chip/tool-call-chip.class.js +1 -1
- package/dist/components/agent-tools/tool-param-form/tool-param-form.class.js +1 -1
- package/dist/components/agent-tools/tool-result-dialog/tool-result-dialog.class.js +2 -2
- package/dist/components/agent-tools/tool-select-dialog/tool-select-dialog.class.js +4 -4
- package/dist/components/agent-tools/trace-tree/span.d.ts +3 -1
- package/dist/components/agent-tools/trace-tree/span.js +1 -1
- package/dist/components/charts/chart/box-plot.class.d.ts +2 -0
- package/dist/components/charts/chart/box-plot.class.js +1 -1
- package/dist/components/charts/chart/chart.class.d.ts +6 -1
- package/dist/components/charts/chart/chart.class.js +1 -1
- package/dist/components/charts/chart/lite-chart.class.d.ts +20 -11
- package/dist/components/charts/chart/lite-chart.class.js +10 -8
- package/dist/components/conversation/chat-message/chat-message.class.d.ts +4 -3
- package/dist/components/conversation/code-block/code-block-core.class.d.ts +4 -3
- package/dist/components/conversation/code-block/code-block-core.class.js +1 -1
- package/dist/components/conversation/code-block/code-block-shared.d.ts +3 -3
- package/dist/components/conversation/code-block/code-block-shared.js +2 -2
- package/dist/components/conversation/code-block/code-block.class.d.ts +4 -3
- package/dist/components/conversation/code-block/code-block.class.js +1 -1
- package/dist/components/conversation/code-block/shiki-types.d.ts +2 -0
- package/dist/components/conversation/code-block/shiki-types.js +1 -1
- package/dist/components/conversation/conversation-item/conversation-item.class.js +1 -1
- package/dist/components/conversation/markdown/markdown-base.class.js +1 -1
- package/dist/components/conversation/markdown/markdown-core.class.d.ts +1 -1
- package/dist/components/conversation/markdown/markdown.class.d.ts +1 -1
- package/dist/components/conversation/message-actions/message-actions.class.d.ts +2 -0
- package/dist/components/conversation/message-actions/message-actions.class.js +1 -1
- package/dist/components/conversation/message-feedback/message-feedback.class.d.ts +3 -1
- package/dist/components/conversation/message-feedback/message-feedback.class.js +2 -2
- package/dist/components/conversation/message-parts/message-parts.class.d.ts +3 -0
- package/dist/components/conversation/model-select/model-select.class.js +3 -3
- package/dist/components/conversation/thread-list/thread-list.class.js +1 -1
- package/dist/components/conversation/transcript-feed/transcript-feed.class.d.ts +2 -0
- package/dist/components/conversation/transcript-feed/transcript-feed.class.js +1 -1
- package/dist/components/conversation/typing-indicator/typing-indicator.class.d.ts +2 -1
- package/dist/components/conversation/typing-indicator/typing-indicator.class.js +1 -1
- package/dist/components/conversation/usage-badge/usage-badge-overlay-runtime.d.ts +3 -0
- package/dist/components/conversation/usage-badge/usage-badge-overlay-runtime.js +1 -0
- package/dist/components/conversation/usage-badge/usage-badge.class.d.ts +4 -2
- package/dist/components/conversation/usage-badge/usage-badge.class.js +1 -1
- package/dist/components/conversation/voice-picker/voice-picker.class.js +3 -3
- package/dist/components/conversation/widget-renderer/resolve.d.ts +4 -6
- package/dist/components/conversation/widget-renderer/resolve.js +1 -1
- package/dist/components/data/calendar/calendar.class.d.ts +6 -3
- package/dist/components/data/calendar/calendar.class.js +1 -1
- package/dist/components/data/calendar/calendar.styles.js +1 -1
- package/dist/components/data/condition-builder/condition-builder.class.d.ts +3 -1
- package/dist/components/data/condition-builder/condition-builder.class.js +15 -1
- package/dist/components/data/context-meter/context-meter.class.js +2 -2
- package/dist/components/data/data-grid/data-grid.class.d.ts +6 -2
- package/dist/components/data/data-grid/data-grid.class.js +1 -1
- package/dist/components/data/document-library/document-library.class.d.ts +5 -2
- package/dist/components/data/document-library/document-library.class.js +1 -1
- package/dist/components/data/file-tree/file-tree.class.d.ts +2 -1
- package/dist/components/data/file-tree/file-tree.class.js +1 -1
- package/dist/components/data/flow-canvas/flow-canvas.class.d.ts +5 -2
- package/dist/components/data/flow-canvas/flow-canvas.styles.js +1 -1
- package/dist/components/data/flow-canvas/flow-model.js +1 -1
- package/dist/components/data/flow-canvas/flow-types.d.ts +2 -1
- package/dist/components/data/funnel/funnel.class.d.ts +1 -0
- package/dist/components/data/funnel/funnel.class.js +1 -1
- package/dist/components/data/gauge/gauge.class.d.ts +4 -1
- package/dist/components/data/gauge/gauge.class.js +6 -6
- package/dist/components/data/graph-query-builder/graph-query-builder.class.d.ts +5 -2
- package/dist/components/data/graph-query-builder/graph-query-builder.class.js +15 -1
- package/dist/components/data/heatmap/heatmap.class.d.ts +7 -4
- package/dist/components/data/heatmap/heatmap.class.js +1 -1
- package/dist/components/data/sparkline/sparkline.class.d.ts +2 -1
- package/dist/components/data/sparkline/sparkline.class.js +1 -1
- package/dist/components/data/stat/stat.class.d.ts +6 -2
- package/dist/components/data/stat/stat.class.js +1 -1
- package/dist/components/data/table/table.class.d.ts +5 -2
- package/dist/components/data/table/table.class.js +2 -2
- package/dist/components/data/timeline/timeline.class.d.ts +7 -2
- package/dist/components/data/timeline/timeline.class.js +1 -1
- package/dist/components/data/timeline/timeline.styles.js +1 -1
- package/dist/components/data/tree/tree-item.class.d.ts +3 -1
- package/dist/components/data/tree/tree-item.class.js +1 -1
- package/dist/components/data/tree/tree.class.d.ts +4 -1
- package/dist/components/data/tree/tree.class.js +1 -1
- package/dist/components/data/word-cloud/word-cloud-layout.d.ts +2 -1
- package/dist/components/data/word-cloud/word-cloud-layout.js +1 -1
- package/dist/components/data/word-cloud/word-cloud.class.d.ts +2 -1
- package/dist/components/forms/button/button.class.d.ts +5 -3
- package/dist/components/forms/button/button.class.js +1 -1
- package/dist/components/forms/checkbox/checkbox.class.d.ts +3 -0
- package/dist/components/forms/checkbox/checkbox.class.js +1 -1
- package/dist/components/forms/code-editor/code-editor.class.d.ts +11 -3
- package/dist/components/forms/code-editor/code-editor.class.js +6 -7
- package/dist/components/forms/code-editor/code-editor.styles.js +1 -1
- package/dist/components/forms/color-picker/color-picker.class.d.ts +5 -1
- package/dist/components/forms/color-picker/color-picker.class.js +4 -4
- package/dist/components/forms/combobox/combobox.class.d.ts +19 -8
- package/dist/components/forms/combobox/combobox.class.js +3 -3
- package/dist/components/forms/combobox/option.class.d.ts +4 -0
- package/dist/components/forms/combobox/option.class.js +2 -2
- package/dist/components/forms/date-picker/calendar-core.d.ts +1 -1
- package/dist/components/forms/date-picker/calendar-core.js +1 -1
- package/dist/components/forms/date-picker/date-input.class.d.ts +20 -10
- package/dist/components/forms/date-picker/date-input.class.js +4 -4
- package/dist/components/forms/date-picker/date-picker.class.d.ts +24 -13
- package/dist/components/forms/date-picker/date-picker.class.js +7 -7
- package/dist/components/forms/date-picker/date-picker.styles.js +1 -1
- package/dist/components/forms/emoji-picker/emoji-picker.class.d.ts +11 -3
- package/dist/components/forms/emoji-picker/emoji-picker.class.js +3 -3
- package/dist/components/forms/emoji-picker/emoji-types.d.ts +2 -2
- package/dist/components/forms/icon-button/icon-button.class.d.ts +4 -2
- package/dist/components/forms/icon-button/icon-button.class.js +1 -1
- package/dist/components/forms/input/input.class.d.ts +5 -1
- package/dist/components/forms/input/input.class.js +1 -1
- package/dist/components/forms/input/native-time-input.class.d.ts +3 -0
- package/dist/components/forms/input/number-input.class.d.ts +3 -0
- package/dist/components/forms/input/time-input.class.d.ts +3 -0
- package/dist/components/forms/input/time-input.class.js +1 -1
- package/dist/components/forms/locale-picker/locale-picker.class.d.ts +5 -1
- package/dist/components/forms/locale-picker/locale-picker.class.js +2 -2
- package/dist/components/forms/otp-input/otp-input.class.d.ts +5 -1
- package/dist/components/forms/otp-input/otp-input.class.js +1 -1
- package/dist/components/forms/phone-input/phone-input.class.d.ts +21 -8
- package/dist/components/forms/phone-input/phone-input.class.js +1 -1
- package/dist/components/forms/radio/radio-button.class.d.ts +4 -0
- package/dist/components/forms/radio/radio-group.class.d.ts +4 -1
- package/dist/components/forms/radio/radio-group.class.js +1 -1
- package/dist/components/forms/radio/radio.class.d.ts +6 -2
- package/dist/components/forms/radio/radio.class.js +1 -1
- package/dist/components/forms/rubric-form/rubric-form.class.d.ts +7 -1
- package/dist/components/forms/rubric-form/rubric-form.class.js +3 -3
- package/dist/components/forms/select/select.class.d.ts +8 -2
- package/dist/components/forms/select/select.class.js +2 -2
- package/dist/components/forms/slider/slider.class.d.ts +12 -6
- package/dist/components/forms/slider/slider.class.js +2 -2
- package/dist/components/forms/swatch-picker/swatch-picker.class.d.ts +4 -0
- package/dist/components/forms/swatch-picker/swatch-picker.class.js +1 -1
- package/dist/components/forms/switch/switch.class.d.ts +5 -1
- package/dist/components/forms/switch/switch.class.js +1 -1
- package/dist/components/forms/textarea/textarea.class.d.ts +3 -0
- package/dist/components/forms/textarea/textarea.class.js +1 -1
- package/dist/components/forms/time-range/time-range.class.d.ts +3 -0
- package/dist/components/forms/time-range/time-range.class.js +1 -1
- package/dist/components/forms/token-input/token-input.class.d.ts +8 -2
- package/dist/components/forms/token-input/token-input.class.js +2 -2
- package/dist/components/forms/token-input/token-input.styles.js +1 -1
- package/dist/components/layout/app-rail/app-rail.class.d.ts +3 -1
- package/dist/components/layout/app-rail/app-rail.class.js +1 -1
- package/dist/components/layout/carousel/carousel.class.d.ts +3 -2
- package/dist/components/layout/carousel/carousel.class.js +1 -1
- package/dist/components/layout/command-palette/command-palette.class.js +1 -1
- package/dist/components/layout/dashboard-grid/dashboard-grid.class.d.ts +2 -0
- package/dist/components/layout/dashboard-grid/dashboard-grid.class.js +1 -1
- package/dist/components/layout/details/details.class.d.ts +3 -3
- package/dist/components/layout/filter-bar/filter-bar.class.d.ts +3 -1
- package/dist/components/layout/filter-bar/filter-bar.class.js +1 -1
- package/dist/components/layout/menu/menu-label.class.d.ts +3 -3
- package/dist/components/layout/menu/menu.class.d.ts +4 -1
- package/dist/components/layout/menu/menu.class.js +1 -1
- package/dist/components/layout/multi-split/multi-split.class.d.ts +9 -3
- package/dist/components/layout/multi-split/multi-split.class.js +1 -1
- package/dist/components/layout/multi-split/multi-split.styles.js +1 -1
- package/dist/components/layout/reorder-list/reorder-item.class.d.ts +2 -1
- package/dist/components/layout/reorder-list/reorder-item.class.js +1 -1
- package/dist/components/layout/reorder-list/reorder-list.class.js +1 -1
- package/dist/components/layout/reorder-list/reorder-owner.js +1 -1
- package/dist/components/layout/split-panel/split-panel.class.d.ts +2 -1
- package/dist/components/layout/split-panel/split-panel.class.js +1 -1
- package/dist/components/layout/tab-group/tab-group.class.d.ts +3 -1
- package/dist/components/layout/tab-group/tab-group.class.js +1 -1
- package/dist/components/layout/widget/widget.class.d.ts +6 -2
- package/dist/components/layout/widget/widget.class.js +1 -1
- package/dist/components/media/animation/animation.class.d.ts +3 -2
- package/dist/components/media/animation/animation.class.js +1 -1
- package/dist/components/media/attachment-chip/attachment-chip.class.d.ts +4 -3
- package/dist/components/media/attachment-chip/attachment-chip.class.js +1 -1
- package/dist/components/media/av-player/av-metadata.d.ts +3 -2
- package/dist/components/media/av-player/av-player.class.d.ts +4 -3
- package/dist/components/media/av-player/av-player.class.js +3 -3
- package/dist/components/media/av-player/av-player.styles.js +1 -1
- package/dist/components/media/avatar/avatar.class.d.ts +2 -1
- package/dist/components/media/avatar/avatar.class.js +1 -1
- package/dist/components/media/file-input/file-input.class.d.ts +4 -2
- package/dist/components/media/file-input/file-input.class.js +1 -1
- package/dist/components/media/file-input/file-input.styles.js +1 -1
- package/dist/components/media/image-viewer/image-viewer.class.d.ts +2 -1
- package/dist/components/media/image-viewer/image-viewer.class.js +1 -1
- package/dist/components/media/image-viewer/image-viewer.styles.js +1 -1
- package/dist/components/media/map/map.class.d.ts +5 -3
- package/dist/components/media/map/map.class.js +1 -1
- package/dist/components/media/map/map.styles.js +1 -1
- package/dist/components/media/media-card/media-card.class.d.ts +1 -1
- package/dist/components/media/media-card/media-card.class.js +1 -1
- package/dist/components/media/pan-zoom/pan-zoom.class.js +1 -1
- package/dist/components/media/sequence-playback/sequence-playback.class.d.ts +1 -1
- package/dist/components/media/sequence-playback/sequence-playback.styles.js +1 -1
- package/dist/components/media/video/video.class.d.ts +2 -1
- package/dist/components/media/video/video.styles.js +1 -1
- package/dist/components/media/zoomable-frame/zoomable-frame.class.d.ts +3 -2
- package/dist/components/media/zoomable-frame/zoomable-frame.class.js +2 -2
- package/dist/components/overlays/chip/chip-group.class.d.ts +2 -0
- package/dist/components/overlays/chip/chip-group.class.js +1 -1
- package/dist/components/overlays/dialog/dialog.class.d.ts +2 -0
- package/dist/components/overlays/dialog/dialog.class.js +1 -1
- package/dist/components/overlays/empty/empty.class.d.ts +2 -0
- package/dist/components/overlays/empty/empty.class.js +1 -1
- package/dist/components/overlays/kbd/kbd.class.d.ts +2 -0
- package/dist/components/overlays/kbd/kbd.class.js +1 -1
- package/dist/components/overlays/overlay/popover.class.d.ts +3 -1
- package/dist/components/overlays/overlay/popover.class.js +1 -1
- package/dist/components/overlays/overlay/tooltip.class.d.ts +3 -1
- package/dist/components/overlays/overlay/tooltip.class.js +1 -1
- package/dist/components/overlays/rating/rating.class.d.ts +2 -0
- package/dist/components/overlays/rating/rating.class.js +1 -1
- package/dist/components/retrieval/embedding-explorer/embedding-explorer.class.js +2 -2
- package/dist/components/retrieval/entity-card/entity-card.class.d.ts +5 -2
- package/dist/components/retrieval/entity-card/entity-card.class.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/graph/graph-canvas.js +1 -1
- package/dist/components/retrieval/graph/graph.class.d.ts +9 -7
- package/dist/components/retrieval/graph/graph.class.js +1 -1
- package/dist/components/retrieval/grounding-summary/grounding-summary.class.d.ts +1 -3
- package/dist/components/retrieval/ingestion-queue/ingestion-queue.class.d.ts +2 -0
- package/dist/components/retrieval/ingestion-queue/ingestion-queue.class.js +1 -1
- package/dist/components/retrieval/knowledge-graph-explorer/knowledge-graph-explorer.class.d.ts +3 -2
- package/dist/components/retrieval/knowledge-graph-explorer/knowledge-graph-explorer.class.js +7 -3
- package/dist/components/retrieval/provenance-panel/provenance-panel.class.d.ts +2 -1
- package/dist/components/retrieval/provenance-panel/provenance-panel.class.js +1 -1
- package/dist/components/retrieval/source-picker/source-picker.class.d.ts +2 -1
- package/dist/components/retrieval/source-picker/source-picker.class.js +1 -1
- package/dist/components/utility/format/format-number.class.d.ts +3 -1
- package/dist/components/utility/format/format-options.js +1 -1
- package/dist/components/utility/json-viewer/json-viewer.class.d.ts +3 -2
- package/dist/components/utility/json-viewer/json-viewer.class.js +2 -2
- package/dist/components/utility/known-date/known-date.class.d.ts +9 -5
- package/dist/components/utility/known-date/known-date.class.js +2 -2
- package/dist/components/utility/known-date/known-date.styles.js +1 -1
- package/dist/components/utility/mention-popover/mention-popover.class.d.ts +3 -1
- package/dist/components/utility/mention-popover/mention-popover.class.js +1 -1
- package/dist/components/utility/poll-status/poll-status.class.d.ts +3 -0
- package/dist/components/utility/poll-status/poll-status.styles.js +1 -1
- package/dist/components/viewers/calendar-viewer/calendar-viewer.class.d.ts +1 -0
- package/dist/components/viewers/calendar-viewer/calendar-viewer.class.js +1 -1
- package/dist/components/viewers/dataset-viewer/dataset-viewer.class.d.ts +2 -1
- package/dist/components/viewers/dataset-viewer/dataset-viewer.styles.js +1 -1
- package/dist/components/viewers/document-preview/document-preview.class.d.ts +4 -2
- package/dist/components/viewers/document-preview/document-preview.class.js +1 -1
- package/dist/components/viewers/document-preview/document-preview.styles.js +1 -1
- package/dist/components/viewers/document-viewer/document-viewer.class.d.ts +3 -2
- package/dist/components/viewers/document-viewer/document-viewer.class.js +2 -2
- package/dist/components/viewers/document-viewer/registry-ownership.d.ts +1 -0
- package/dist/components/viewers/document-viewer/registry-ownership.js +1 -0
- package/dist/components/viewers/document-viewer/registry.js +1 -1
- package/dist/components/viewers/ebook-viewer/ebook-viewer.class.d.ts +7 -1
- package/dist/components/viewers/ebook-viewer/ebook-viewer.class.js +1 -1
- package/dist/components/viewers/email-viewer/email-viewer.class.d.ts +2 -1
- package/dist/components/viewers/email-viewer/email-viewer.class.js +2 -2
- package/dist/components/viewers/include/include-resource.js +1 -1
- package/dist/components/viewers/include/include.class.d.ts +3 -1
- package/dist/components/viewers/notebook-viewer/notebook-viewer.class.d.ts +4 -2
- package/dist/components/viewers/notebook-viewer/notebook-viewer.class.js +4 -4
- package/dist/components/viewers/notebook-viewer/notebook-viewer.styles.js +1 -1
- package/dist/components/viewers/passive-markup.js +1 -1
- package/dist/components/viewers/svg-viewer/svg-viewer.class.d.ts +2 -1
- package/dist/components/viewers/svg-viewer/svg-viewer.styles.js +1 -1
- package/dist/components/viewers/xml-viewer/xml-viewer.class.d.ts +2 -1
- package/dist/components/viewers/xml-viewer/xml-viewer.class.js +1 -1
- package/dist/components/viewers/xml-viewer/xml-viewer.js +1 -1
- package/dist/custom-elements-jsx.d.ts +1 -1
- package/dist/internal/aria-reflection.js +1 -1
- 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 +1 -1
- package/dist/internal/dev-mode-attribute-warning.d.ts +3 -0
- package/dist/internal/dev-mode-attribute-warning.js +1 -1
- package/dist/internal/form-associated.js +1 -1
- package/dist/internal/localization-types.d.ts +1 -1
- package/dist/internal/localization.js +1 -1
- package/dist/internal/lyra-element.js +1 -1
- package/dist/internal/native-control-description.d.ts +7 -0
- package/dist/internal/native-control-description.js +1 -0
- package/dist/internal/option-selection.js +1 -1
- package/dist/internal/overlay-order.d.ts +6 -0
- package/dist/internal/overlay-order.js +1 -0
- package/dist/internal/overlay-stack.d.ts +1 -1
- package/dist/internal/overlay-stack.js +1 -1
- package/dist/internal/package-metadata.d.ts +1 -1
- package/dist/internal/package-metadata.js +1 -1
- package/dist/internal/positioner.d.ts +5 -4
- package/dist/internal/reactive-property-writes.d.ts +1 -0
- package/dist/internal/reactive-property-writes.js +1 -0
- package/dist/internal/svg-title.d.ts +3 -0
- package/dist/internal/svg-title.js +1 -0
- package/dist/svelte.d.ts +1 -1
- package/dist/translations/ar.js +1 -1
- package/dist/translations/de.js +1 -1
- package/dist/translations/es.js +1 -1
- package/dist/translations/fa.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/translations/he.js +1 -1
- package/dist/translations/ja.js +1 -1
- package/dist/translations/pt-BR.js +1 -1
- package/dist/translations/ru.js +1 -1
- package/dist/translations/zh-CN.js +1 -1
- package/dist/vue.d.ts +1 -1
- package/llms/components/lr-accordion-item.md +4 -0
- package/llms/components/lr-accordion.md +4 -0
- package/llms/components/lr-agent-trace.md +3 -0
- package/llms/components/lr-animation.md +4 -0
- package/llms/components/lr-app-rail-item.md +4 -2
- package/llms/components/lr-app-rail.md +4 -2
- package/llms/components/lr-attachment-chip.md +6 -0
- package/llms/components/lr-av-player.md +14 -0
- package/llms/components/lr-avatar.md +4 -0
- package/llms/components/lr-box-plot.md +6 -0
- package/llms/components/lr-button.md +11 -3
- package/llms/components/lr-calendar-viewer.md +4 -0
- package/llms/components/lr-calendar.md +5 -0
- package/llms/components/lr-carousel.md +5 -0
- package/llms/components/lr-chart.md +13 -4
- package/llms/components/lr-chat-message.md +4 -0
- package/llms/components/lr-checkbox.md +3 -0
- package/llms/components/lr-chip-group.md +3 -0
- package/llms/components/lr-chip.md +3 -0
- package/llms/components/lr-code-block-core.md +16 -4
- package/llms/components/lr-code-block.md +7 -0
- package/llms/components/lr-code-editor.md +18 -5
- package/llms/components/lr-color-picker.md +9 -0
- package/llms/components/lr-combobox.md +35 -4
- package/llms/components/lr-command-palette.md +4 -0
- package/llms/components/lr-commit-card.md +3 -0
- package/llms/components/lr-compare-panel.md +7 -0
- package/llms/components/lr-condition-builder.md +5 -0
- package/llms/components/lr-conversation-item.md +3 -0
- package/llms/components/lr-copy-button.md +6 -0
- package/llms/components/lr-dashboard-grid.md +5 -0
- package/llms/components/lr-data-grid.md +11 -1
- package/llms/components/lr-dataset-viewer.md +3 -2
- package/llms/components/lr-date-input.md +46 -6
- package/llms/components/lr-date-picker.md +46 -6
- package/llms/components/lr-details.md +4 -0
- package/llms/components/lr-dialog.md +4 -0
- package/llms/components/lr-document-library.md +4 -0
- package/llms/components/lr-document-preview.md +7 -1
- package/llms/components/lr-document-viewer.md +9 -3
- package/llms/components/lr-dropdown-item.md +4 -0
- package/llms/components/lr-dropdown.md +3 -0
- package/llms/components/lr-ebook-viewer.md +4 -0
- package/llms/components/lr-email-viewer.md +5 -0
- package/llms/components/lr-emoji-picker.md +17 -3
- package/llms/components/lr-empty.md +3 -0
- package/llms/components/lr-entity-card.md +3 -0
- package/llms/components/lr-entity-chip.md +4 -0
- package/llms/components/lr-file-input.md +7 -0
- package/llms/components/lr-file-tree.md +5 -1
- package/llms/components/lr-filter-bar.md +5 -0
- package/llms/components/lr-flow-canvas.md +8 -1
- package/llms/components/lr-flow-node.md +2 -1
- package/llms/components/lr-flow-run-status.md +1 -1
- package/llms/components/lr-format-number.md +4 -0
- package/llms/components/lr-funnel.md +4 -0
- package/llms/components/lr-gauge.md +4 -0
- package/llms/components/lr-generation-metrics.md +5 -0
- package/llms/components/lr-graph-query-builder.md +6 -0
- package/llms/components/lr-graph.md +8 -2
- package/llms/components/lr-heatmap.md +13 -0
- package/llms/components/lr-icon-button.md +7 -0
- package/llms/components/lr-image-viewer.md +9 -0
- package/llms/components/lr-include.md +5 -0
- package/llms/components/lr-ingestion-queue.md +4 -0
- package/llms/components/lr-input.md +22 -8
- package/llms/components/lr-json-viewer.md +4 -0
- package/llms/components/lr-kbd.md +3 -0
- package/llms/components/lr-knowledge-graph-explorer.md +7 -0
- package/llms/components/lr-known-date.md +7 -0
- package/llms/components/lr-lite-chart.md +21 -4
- package/llms/components/lr-live-region.md +3 -0
- package/llms/components/lr-locale-picker.md +6 -0
- package/llms/components/lr-map.md +8 -0
- package/llms/components/lr-markdown-core.md +4 -0
- package/llms/components/lr-markdown.md +8 -4
- package/llms/components/lr-media-card.md +5 -2
- package/llms/components/lr-mention-popover.md +5 -0
- package/llms/components/lr-menu-item.md +4 -0
- package/llms/components/lr-menu-label.md +4 -3
- package/llms/components/lr-menu.md +4 -0
- package/llms/components/lr-message-actions.md +3 -0
- package/llms/components/lr-message-feedback.md +4 -0
- package/llms/components/lr-message-parts.md +3 -2
- package/llms/components/lr-model-select.md +8 -0
- package/llms/components/lr-multi-split.md +15 -6
- package/llms/components/lr-native-time-input.md +10 -0
- package/llms/components/lr-node-palette.md +3 -0
- package/llms/components/lr-notebook-viewer.md +4 -1
- package/llms/components/lr-number-input.md +12 -1
- package/llms/components/lr-option.md +35 -4
- package/llms/components/lr-otp-input.md +10 -0
- package/llms/components/lr-pan-zoom.md +1 -2
- package/llms/components/lr-phone-input.md +20 -5
- package/llms/components/lr-poll-status.md +4 -0
- package/llms/components/lr-popover.md +3 -0
- package/llms/components/lr-popup.md +3 -2
- package/llms/components/lr-prompt-studio.md +7 -0
- package/llms/components/lr-provenance-panel.md +3 -0
- package/llms/components/lr-push-to-talk.md +3 -0
- package/llms/components/lr-radio-button.md +13 -4
- package/llms/components/lr-radio-group.md +5 -0
- package/llms/components/lr-radio.md +9 -0
- package/llms/components/lr-rating.md +3 -0
- package/llms/components/lr-reorder-item.md +6 -0
- package/llms/components/lr-reorder-list.md +6 -0
- package/llms/components/lr-result-card.md +3 -0
- package/llms/components/lr-result-field.md +3 -0
- package/llms/components/lr-rubric-form.md +12 -0
- package/llms/components/lr-select.md +9 -0
- package/llms/components/lr-sequence-playback.md +4 -0
- package/llms/components/lr-slider.md +16 -4
- package/llms/components/lr-source-picker.md +4 -0
- package/llms/components/lr-span-waterfall.md +3 -0
- package/llms/components/lr-sparkline.md +4 -0
- package/llms/components/lr-split-panel.md +4 -0
- package/llms/components/lr-stack-trace.md +3 -0
- package/llms/components/lr-stat.md +10 -0
- package/llms/components/lr-subagent-panel.md +3 -2
- package/llms/components/lr-svg-viewer.md +3 -0
- package/llms/components/lr-swatch-picker.md +4 -0
- package/llms/components/lr-switch.md +6 -0
- package/llms/components/lr-tab-group.md +4 -0
- package/llms/components/lr-table.md +10 -2
- package/llms/components/lr-terminal.md +3 -0
- package/llms/components/lr-textarea.md +9 -0
- package/llms/components/lr-thread-list.md +6 -3
- package/llms/components/lr-time-input.md +3 -0
- package/llms/components/lr-time-range.md +5 -0
- package/llms/components/lr-timeline-item.md +6 -0
- package/llms/components/lr-timeline.md +6 -0
- package/llms/components/lr-token-input.md +14 -0
- package/llms/components/lr-tool-call-chip.md +5 -3
- package/llms/components/lr-tool-param-form.md +4 -0
- package/llms/components/lr-tool-result-dialog.md +4 -0
- package/llms/components/lr-tool-select-dialog.md +4 -0
- package/llms/components/lr-tooltip.md +6 -0
- package/llms/components/lr-trace-tree.md +3 -0
- package/llms/components/lr-transcript-feed.md +3 -0
- package/llms/components/lr-tree-item.md +12 -5
- package/llms/components/lr-tree.md +12 -5
- package/llms/components/lr-typing-indicator.md +3 -0
- package/llms/components/lr-usage-badge.md +4 -0
- package/llms/components/lr-video.md +8 -2
- package/llms/components/lr-virtual-list.md +5 -3
- package/llms/components/lr-voice-picker.md +8 -0
- package/llms/components/lr-widget-renderer.md +9 -0
- package/llms/components/lr-widget.md +4 -2
- package/llms/components/lr-word-cloud.md +4 -0
- package/llms/components/lr-xml-viewer.md +9 -2
- package/llms/components/lr-zoomable-frame.md +6 -3
- package/llms-full.txt +4080 -2711
- package/package.json +2 -2
- package/vscode-css-data.json +1 -1
- package/vscode-html-data.json +1 -1
- package/web-types.json +1 -1
|
@@ -24,6 +24,10 @@ and animated panel. The two components intentionally keep distinct vocabularies:
|
|
|
24
24
|
use `expanded`, `label`, and `expand()`/`collapse()`/`toggle()`, while `open`, `summary`, and
|
|
25
25
|
`show()`/`hide()` belong only to Details.
|
|
26
26
|
|
|
27
|
+
`lr-toggle` reports the direction and source of an accepted Details transition. Accordion
|
|
28
|
+
coordinates only its direct `lr-accordion-item` children; Details retains independent state and
|
|
29
|
+
optional grouping through a shared non-empty `name`.
|
|
30
|
+
|
|
27
31
|
**Breaking in 9.0.0:** an accordion coordinates direct `lr-accordion-item` children only. Direct
|
|
28
32
|
`lr-details` panels used to be accepted as well; they are not any more. A `lr-details` slotted into
|
|
29
33
|
an accordion today is ordinary content owning its own disclosure lifecycle — the group applies
|
|
@@ -24,6 +24,10 @@ and animated panel. The two components intentionally keep distinct vocabularies:
|
|
|
24
24
|
use `expanded`, `label`, and `expand()`/`collapse()`/`toggle()`, while `open`, `summary`, and
|
|
25
25
|
`show()`/`hide()` belong only to Details.
|
|
26
26
|
|
|
27
|
+
`lr-toggle` reports the direction and source of an accepted Details transition. Accordion
|
|
28
|
+
coordinates only its direct `lr-accordion-item` children; Details retains independent state and
|
|
29
|
+
optional grouping through a shared non-empty `name`.
|
|
30
|
+
|
|
27
31
|
**Breaking in 9.0.0:** an accordion coordinates direct `lr-accordion-item` children only. Direct
|
|
28
32
|
`lr-details` panels used to be accepted as well; they are not any more. A `lr-details` slotted into
|
|
29
33
|
an accordion today is ordinary content owning its own disclosure lifecycle — the group applies
|
|
@@ -19,6 +19,9 @@
|
|
|
19
19
|
Provider-neutral agent/LLM trace view combining span-kind filters, handoff quick-jumps, and a
|
|
20
20
|
hierarchical trace tree from one shared `spans` array.
|
|
21
21
|
|
|
22
|
+
Span views omit whitespace-only IDs and preserve every nonblank business ID exactly, including
|
|
23
|
+
surrounding whitespace. The first valid admitted duplicate continues to win.
|
|
24
|
+
|
|
22
25
|
**Properties:**
|
|
23
26
|
|
|
24
27
|
- `spans: LyraSpan[] = []` (attribute: false) — the full, unfiltered array; identical contract to
|
|
@@ -18,6 +18,10 @@
|
|
|
18
18
|
|
|
19
19
|
Declaratively animates one slotted element through the native Web Animations API.
|
|
20
20
|
|
|
21
|
+
An initial playing mount creates one native animation and emits one `lr-start`. A real target or
|
|
22
|
+
timing change still rebuilds the animation, while replay and reconnect retain their normal
|
|
23
|
+
start/finish lifecycle, including reduced motion.
|
|
24
|
+
|
|
21
25
|
**Properties:**
|
|
22
26
|
|
|
23
27
|
- `name: string = 'none'` — accepts any animation registry name. The built-in names are `'none' |
|
|
@@ -122,8 +122,10 @@ vetoing that one would leave `open` stuck `true` in a mode where it's meaningles
|
|
|
122
122
|
`preventDefault()` to keep the overlay as it is for the other triggers),
|
|
123
123
|
`lr-rail-resize-request` (`detail: LyraAppRailResizeDetail` = `{ widthPx: number }`; a cancelable
|
|
124
124
|
proposed width from drag or keyboard stepping, emitted before the component assigns
|
|
125
|
-
`railWidthPx` — call `preventDefault()` to keep the current width.
|
|
126
|
-
|
|
125
|
+
`railWidthPx` — call `preventDefault()` to keep the current width. A synchronous request listener
|
|
126
|
+
that disables resizing, leaves full mode, or disconnects the rail also cancels the proposal,
|
|
127
|
+
preserving any width the listener assigned and publishing no accepted resize. Assigning only
|
|
128
|
+
`railWidthPx` does not veto the proposal. It is not fired when a consumer sets `railWidthPx` directly), and `lr-rail-resize` (`detail: LyraAppRailResizeDetail` =
|
|
127
129
|
`{ widthPx: number }`; non-cancelable committed width, emitted immediately for a genuine keyboard
|
|
128
130
|
step and once at pointerup for a genuine drag. Clamped/no-op steps, canceled/lost gestures, and
|
|
129
131
|
consumer property writes emit no committed event).
|
|
@@ -121,8 +121,10 @@ vetoing that one would leave `open` stuck `true` in a mode where it's meaningles
|
|
|
121
121
|
`preventDefault()` to keep the overlay as it is for the other triggers),
|
|
122
122
|
`lr-rail-resize-request` (`detail: LyraAppRailResizeDetail` = `{ widthPx: number }`; a cancelable
|
|
123
123
|
proposed width from drag or keyboard stepping, emitted before the component assigns
|
|
124
|
-
`railWidthPx` — call `preventDefault()` to keep the current width.
|
|
125
|
-
|
|
124
|
+
`railWidthPx` — call `preventDefault()` to keep the current width. A synchronous request listener
|
|
125
|
+
that disables resizing, leaves full mode, or disconnects the rail also cancels the proposal,
|
|
126
|
+
preserving any width the listener assigned and publishing no accepted resize. Assigning only
|
|
127
|
+
`railWidthPx` does not veto the proposal. It is not fired when a consumer sets `railWidthPx` directly), and `lr-rail-resize` (`detail: LyraAppRailResizeDetail` =
|
|
126
128
|
`{ widthPx: number }`; non-cancelable committed width, emitted immediately for a genuine keyboard
|
|
127
129
|
step and once at pointerup for a genuine drag. Clamped/no-op steps, canceled/lost gestures, and
|
|
128
130
|
consumer property writes emit no committed event).
|
|
@@ -26,6 +26,12 @@ wins when both are present. When a real `File` or `preview-src` is available, th
|
|
|
26
26
|
localized action that emits a plain, non-cancelable `lr-preview-request`; it never registers or owns a viewer
|
|
27
27
|
or overlay, so the host composes the desired preview surface.
|
|
28
28
|
|
|
29
|
+
An error already present at first mount or reconnection renders as existing state without an
|
|
30
|
+
announcement, including a failure assigned while detached and reconnected before the next render. A
|
|
31
|
+
new connected transition to error still appends one localized failure announcement; repeated
|
|
32
|
+
connected failures remain separately announced, including a retry whose uploading and error writes
|
|
33
|
+
coalesce into one update.
|
|
34
|
+
|
|
29
35
|
**Properties:**
|
|
30
36
|
|
|
31
37
|
- `file?: File` (attribute `false`, i.e. property-only) — when set, `name`/`bytes`/`mimeType`/the
|
|
@@ -25,6 +25,20 @@ distinct from `<lr-transcript-feed>` (live captions for an in-progress voice ses
|
|
|
25
25
|
`anchorKinds: ['time-range']` only — no text selection is bound. The transcript virtualizes through
|
|
26
26
|
`<lr-virtual-list>` the same way `lr-pdf-viewer` virtualizes pages.
|
|
27
27
|
|
|
28
|
+
Removing `mime-type` consumes the absent hint safely and restores automatic video fallback unless
|
|
29
|
+
`kind` explicitly selects audio. Attribute removal keeps its `null` property readback; an explicit
|
|
30
|
+
empty hint remains empty, and a later audio MIME value restores audio detection.
|
|
31
|
+
|
|
32
|
+
A cue with no `end` extends to the next strictly chronological applicable start, or remains
|
|
33
|
+
open-ended when none exists. Equal starts do not end each other. The player indexes starts on cue
|
|
34
|
+
assignment in at most O(n log n) work and reconciles each seek/time update in O(n) work. Caller
|
|
35
|
+
order, first ID admission, explicit ends and overlap arbitration are retained; a paused seek uses
|
|
36
|
+
replacement cues immediately, even before rendering. Duration changes preserve the same
|
|
37
|
+
effective-start rules.
|
|
38
|
+
|
|
39
|
+
An unavailable timeline keeps its resting border and background under hover and press. Enabled
|
|
40
|
+
seeking retains token-driven pointer feedback.
|
|
41
|
+
|
|
28
42
|
The default document-viewer renderer advertises `time-range` anchors but not search: the generic
|
|
29
43
|
document payload has no cue/transcript field, so advertising search there would expose a control
|
|
30
44
|
whose result is always empty. Standalone `<lr-av-player>` search remains available whenever the
|
|
@@ -22,6 +22,10 @@ named `icon` slot, label and image-load error event) and adds this library's sha
|
|
|
22
22
|
`variant` vocabulary. Purely presentational, with no built-in interactivity; wrap it in a
|
|
23
23
|
`<button>`/`<lr-menu>` trigger for a user-menu affordance.
|
|
24
24
|
|
|
25
|
+
Removing the attribute consumes the label as absent while preserving its `null` property readback.
|
|
26
|
+
Explicit empty labels remain empty, host `aria-label` precedence remains intact, and later label
|
|
27
|
+
values restore the image or fallback name.
|
|
28
|
+
|
|
25
29
|
**Properties:**
|
|
26
30
|
|
|
27
31
|
- `initials: string = ''` — fallback text (typically 1-2 characters), shown whenever no glyph and no
|
|
@@ -19,6 +19,12 @@
|
|
|
19
19
|
Box-and-whisker chart from a precomputed five-number summary (no raw sample data sent to the
|
|
20
20
|
browser). Does **not** extend `LyraChart` — a deliberately bespoke API.
|
|
21
21
|
|
|
22
|
+
With `IntersectionObserver` available, canvas construction waits for its first delivered visibility
|
|
23
|
+
decision. An off-screen box plot stays unconstructed until visible. Without the observer, drawing
|
|
24
|
+
starts when the peers and canvas are ready; an empty delivered callback retains the visible
|
|
25
|
+
fallback. Peer loading and accessible DOM can settle while visibility is pending. These rules also
|
|
26
|
+
apply when the component reconnects.
|
|
27
|
+
|
|
22
28
|
**Properties:**
|
|
23
29
|
- `labels: readonly string[] = []` (attribute: false)
|
|
24
30
|
- `datasets: readonly LyraBoxPlotSeries[] = []` (attribute: false) — each series contains readonly
|
|
@@ -24,6 +24,13 @@ light-DOM form's submission on its own. They remain default actions of the compo
|
|
|
24
24
|
runs, while `stopPropagation()` alone does not. Canceling the form's later `submit` or `reset`
|
|
25
25
|
event remains an independent veto point.
|
|
26
26
|
|
|
27
|
+
External descriptions follow the current source element identity when an element with the same ID
|
|
28
|
+
replaces it, when a source is removed or reinserted, and when the control reconnects or moves to
|
|
29
|
+
another document. Host-root lookup and ordering follow the current `aria-describedby` list,
|
|
30
|
+
including unresolved IDs and duplicates. Switching between native button and anchor modes keeps the
|
|
31
|
+
relationship on the current action. Existing accessible names and `aria-controls` relationships
|
|
32
|
+
retain their separate contracts.
|
|
33
|
+
|
|
27
34
|
Set `href` to a safe link URL and the root renders as a real `<a part="base" href=…>` instead — a
|
|
28
35
|
link styled as a button (e.g. a CTA). Native navigation is then the activation, so the submit/reset
|
|
29
36
|
handling and `type` have no effect in that mode. A disabled link button (its own `disabled` or an
|
|
@@ -340,9 +347,10 @@ box no matter what tier or override is in play.
|
|
|
340
347
|
an ancestor `<form>.elements` the same way `wa-button` does — a sibling text field's own
|
|
341
348
|
Enter-to-submit lookup (which scans `form.elements` for a `type === 'submit'` control) finds it.
|
|
342
349
|
- **`SubmitEvent.submitter` is not this element** whenever `name`/`value` or any `form*` override is
|
|
343
|
-
set: it is the transient native `<button>` described above
|
|
344
|
-
|
|
345
|
-
|
|
350
|
+
set: it is the transient native `<button>` described above. That native submitter remains
|
|
351
|
+
connected throughout synchronous `requestSubmit()` handling, so a `submit` listener can read
|
|
352
|
+
its `name`, `value` and `form*` fields and construct `FormData` with it. It is removed after
|
|
353
|
+
submission handling returns; its identity is distinct from the `lr-button` host.
|
|
346
354
|
- The `form*` overrides and `type` are all inert while `href` renders the anchor — native navigation
|
|
347
355
|
is the activation there, and an anchor has no submit/reset concept.
|
|
348
356
|
|
|
@@ -21,6 +21,10 @@ plain text, including its title, start/end time, location, and description. RFC
|
|
|
21
21
|
remain all-day dates rather than fabricated midnight times, and an all-day `DTEND` is displayed as
|
|
22
22
|
the exclusive boundary it represents (14–17 renders as 14–16). No HTML is injected.
|
|
23
23
|
|
|
24
|
+
Valid early all-day dates, including years `0001`, `0099`, and `0100`, retain their UTC calendar
|
|
25
|
+
year when parsed through `ical.js`; the exclusive `DTEND` display rule remains unchanged. The peer
|
|
26
|
+
may normalize malformed raw date fields before Lyra receives them.
|
|
27
|
+
|
|
24
28
|
**Properties:** `src: string = ''`, `name: string = ''`, and `maxHeight: string = ''` (attribute
|
|
25
29
|
`max-height`); invalid CSS
|
|
26
30
|
`max-height` values, declaration breaks, and `url()` are ignored. A host `aria-label` takes
|
|
@@ -18,6 +18,11 @@
|
|
|
18
18
|
|
|
19
19
|
Responsive month calendar with event markers and an agenda view.
|
|
20
20
|
|
|
21
|
+
Early ISO dates such as `0001`, `0099`, and `0100` retain their authored local year in the month
|
|
22
|
+
grid and month navigation. Valid colored agenda actions preserve their foreground/background pairing
|
|
23
|
+
through hover and press, with the existing state tokens remaining overridable. Arbitrary caller
|
|
24
|
+
colors still require the caller to choose an accessible contrast pair.
|
|
25
|
+
|
|
21
26
|
**Properties:**
|
|
22
27
|
|
|
23
28
|
- `events: CalendarEvent[] = []` (attribute: false) — `{ readonly id?, readonly date, readonly
|
|
@@ -27,6 +27,11 @@ native or authored semantics, and an explicit `role`, `aria-roledescription`, or
|
|
|
27
27
|
temporarily makes off-page slides inert and aria-hidden, then restores their retained author state
|
|
28
28
|
when they become visible, are removed, or the carousel disconnects.
|
|
29
29
|
|
|
30
|
+
**Keyboard:** focus the `scroll-container` viewport to navigate with Arrow keys (horizontal LTR/RTL
|
|
31
|
+
or vertical), Home, and End. Keys originating in a native input, textarea, contenteditable surface,
|
|
32
|
+
or supported custom control remain owned by that editor, including when the editor is the assigned
|
|
33
|
+
slide itself; they do not change the active slide or move focus away from it.
|
|
34
|
+
|
|
30
35
|
**Properties:**
|
|
31
36
|
|
|
32
37
|
- `currentSlide: number = 0` (attribute `current-slide`, reflected) — zero-based index of the first
|
|
@@ -21,6 +21,10 @@ Chart.js wrapper used directly and by the eight typed Chart.js tags plus `lr-his
|
|
|
21
21
|
series surface and a raw Chart.js `config` passthrough (mirrors Web Awesome's `wa-chart` `config`
|
|
22
22
|
property).
|
|
23
23
|
|
|
24
|
+
For horizontal scalar bars, tooltip values come from parsed x rather than the category y, including
|
|
25
|
+
an effective raw `config.options.indexAxis` override. Both formatter APIs follow this rule;
|
|
26
|
+
structured points retain their y-value formatting.
|
|
27
|
+
|
|
24
28
|
**Properties:**
|
|
25
29
|
- `type: LyraChartType = 'bar'` — `LyraChartType = 'line' | 'bar' | 'scatter' | 'pie' | 'doughnut' |
|
|
26
30
|
'radar' | 'polarArea' | 'bubble'` — every named default used by a typed `lr-*-chart` is
|
|
@@ -86,7 +90,9 @@ property).
|
|
|
86
90
|
splitting the series in two.
|
|
87
91
|
- `segmentColors` colors each *segment* (the line drawn between two consecutive points) by the
|
|
88
92
|
segment's **starting** point index, so `['red', 'green']` over 3 points paints the first
|
|
89
|
-
segment red and the second green; a shorter array cycles.
|
|
93
|
+
segment red and the second green; a shorter array cycles. When rows are sampled, each
|
|
94
|
+
represented segment retains the original source starting-point index modulo the palette length.
|
|
95
|
+
Wired to Chart.js's
|
|
90
96
|
`segment.borderColor` scriptable option, so it is only meaningful for line-type series.
|
|
91
97
|
Typical use is threshold/anomaly banding along one line. A series that omits it (or passes an
|
|
92
98
|
empty array) emits no `segment` key at all, leaving line rendering exactly as before.
|
|
@@ -427,9 +433,12 @@ announced. In particular, unavailable data labels do not remove generated table
|
|
|
427
433
|
The raw `config` passthrough is deep-merged with `__proto__`/`constructor`/`prototype` keys skipped
|
|
428
434
|
unconditionally, so a JSON-sourced `config` (e.g. parsed from an API response) can't reach up and
|
|
429
435
|
pollute `Object.prototype` through the merge.
|
|
430
|
-
- lazy-redraw + change gating:
|
|
431
|
-
|
|
432
|
-
|
|
436
|
+
- lazy-redraw + change gating: with `IntersectionObserver` available, canvas construction waits
|
|
437
|
+
for its first delivered visibility decision. Off-screen charts remain unconstructed until
|
|
438
|
+
visible, and later off-screen property changes skip redraws until visibility returns. Without
|
|
439
|
+
the observer, drawing starts when the peer and canvas are ready. An empty delivered callback
|
|
440
|
+
retains the visible fallback. Peer loading and accessible DOM may settle while visibility is
|
|
441
|
+
pending. Independently, `updated()` only reaches
|
|
433
442
|
Chart.js when at least one of `type`, `labels`, `datasets`, `description`, `grid`, `indexAxis`,
|
|
434
443
|
`label`, `hiddenDatasets`, `legendPosition`, `min`, `max`, `plugins`, the internal resolved auto legend
|
|
435
444
|
position, `valueFormatter`, `formatter`, `area`, `height`, `xLabel`, `yLabel`, `y2Label`, `beginAtZero`,
|
|
@@ -27,6 +27,10 @@ else). No built-in copy button is rendered — slot a copy control into `actions
|
|
|
27
27
|
`<lr-code-block>`'s copy-affordance contract for anything listening at the conversation-surface
|
|
28
28
|
level).
|
|
29
29
|
|
|
30
|
+
Compose `lr-copy-button` in `actions` with its `value` set to the intended message source. The shell
|
|
31
|
+
does not infer that source or write the clipboard itself; the composed control emits success only
|
|
32
|
+
after the write fulfills.
|
|
33
|
+
|
|
30
34
|
**Properties:**
|
|
31
35
|
|
|
32
36
|
- `messageRole: ChatMessageRole = 'assistant'` (`'user' | 'assistant' | 'system'`, attribute
|
|
@@ -20,6 +20,9 @@ A boolean form control. `role="checkbox"` with an `aria-checked` that can also b
|
|
|
20
20
|
visual box/checkmark. Structurally the same idea as `<lr-switch>` (form-associated via
|
|
21
21
|
`ElementInternals`, click and Space toggle) but with checkbox semantics.
|
|
22
22
|
|
|
23
|
+
Removing `error-text` safely omits the message while preserving native `null` property readback.
|
|
24
|
+
Explicit empty text stays empty; later supplied text renders normally.
|
|
25
|
+
|
|
23
26
|
**Properties:**
|
|
24
27
|
|
|
25
28
|
- `checked: boolean = false` — the live, non-reflecting state
|
|
@@ -24,6 +24,9 @@ clicking its remove (×) button only fires `lr-remove` — the chip never remove
|
|
|
24
24
|
on its own interaction, the same contract `<lr-attachment-chip>`/`<lr-conversation-item>`
|
|
25
25
|
already follow.
|
|
26
26
|
|
|
27
|
+
Collapsed groups reapply `max-visible` when assigned children are replaced or reordered at the same
|
|
28
|
+
count, preserving authored hidden/inert state and releasing departed visibility leases.
|
|
29
|
+
|
|
27
30
|
**Two breaks in 8.0.0.** `tone` is now `variant`, with no alias — one concept, one spelling,
|
|
28
31
|
library-wide. And a chip is **no longer a pill by default**: `--lr-chip-radius` used to be
|
|
29
32
|
`var(--lr-radius-pill)` unconditionally, is now `var(--lr-radius)` (a rounded rectangle), and the
|
|
@@ -24,6 +24,9 @@ clicking its remove (×) button only fires `lr-remove` — the chip never remove
|
|
|
24
24
|
on its own interaction, the same contract `<lr-attachment-chip>`/`<lr-conversation-item>`
|
|
25
25
|
already follow.
|
|
26
26
|
|
|
27
|
+
Collapsed groups reapply `max-visible` when assigned children are replaced or reordered at the same
|
|
28
|
+
count, preserving authored hidden/inert state and releasing departed visibility leases.
|
|
29
|
+
|
|
27
30
|
**Two breaks in 8.0.0.** `tone` is now `variant`, with no alias — one concept, one spelling,
|
|
28
31
|
library-wide. And a chip is **no longer a pill by default**: `--lr-chip-radius` used to be
|
|
29
32
|
`var(--lr-radius-pill)` unconditionally, is now `var(--lr-radius)` (a rounded rectangle), and the
|
|
@@ -26,6 +26,13 @@ plus an explicit oniguruma engine, seeded with _only_ the grammars in `languages
|
|
|
26
26
|
importing this entry point instead of `code-block.js` gets a build genuinely free of shiki's full
|
|
27
27
|
language table.
|
|
28
28
|
|
|
29
|
+
Removing `code`, `language`, or `highlight-lines` treats that input as absent: source becomes empty,
|
|
30
|
+
an absent language selects plain text, and attribute-based emphasis clears. Removal preserves Lit's
|
|
31
|
+
`null` property readback; an explicitly empty attribute stays an empty string, and a later value
|
|
32
|
+
resumes normal rendering. Highlighted gutter labels and locale-formatted line numbers follow live
|
|
33
|
+
`.strings` and inherited or explicit locale changes. Unrelated updates retain the existing
|
|
34
|
+
highlighted markup.
|
|
35
|
+
|
|
29
36
|
A `language` value absent from `languages` always renders the plain `<pre><code>` fallback — there is
|
|
30
37
|
no default/full-table highlighter here to fall back to, unlike `<lr-code-block>`'s dynamic-import
|
|
31
38
|
path for an unmapped language. That fallback is the _default_ rendering path, not a degraded one,
|
|
@@ -106,8 +113,12 @@ fallback separately.
|
|
|
106
113
|
**Optional peer deps:** `shiki` (specifically its `shiki/core`, `shiki/engine/oniguruma`,
|
|
107
114
|
`shiki/wasm`, and `shiki/themes/github-{light,dark}.mjs` subpaths — never `shiki`'s main entry point,
|
|
108
115
|
which is what carries the ~200-language table this component exists to avoid). Building the
|
|
109
|
-
fine-grained highlighter is cached per `languages` object identity
|
|
110
|
-
|
|
116
|
+
fine-grained highlighter is cached per `languages` object identity. A bounded weak cache also shares
|
|
117
|
+
recently used equivalent, deeply frozen plain grammar maps, including the detached snapshots owned
|
|
118
|
+
by separate component instances. Grammar contents and property/array order must agree completely;
|
|
119
|
+
mutable or unusual inputs keep identity-only caching. Highlighters returned by the public loader
|
|
120
|
+
can therefore be shared across equivalent frozen maps. Passing a stable module-level `languages`
|
|
121
|
+
constant also avoids repeated component snapshots.
|
|
111
122
|
|
|
112
123
|
```ts
|
|
113
124
|
import { html } from "lit";
|
|
@@ -128,7 +139,8 @@ const view = html`<lr-code-block-core
|
|
|
128
139
|
added to `languages` will never highlight, no matter how common that language is elsewhere. Reach
|
|
129
140
|
for `<lr-code-block>` instead if you need to support an open-ended set of languages without
|
|
130
141
|
pre-declaring each one.
|
|
131
|
-
-
|
|
132
|
-
|
|
142
|
+
- Pass a stable, module-level `languages` constant to avoid repeated snapshots on parent renders.
|
|
143
|
+
Equivalent frozen maps can share a recently used highlighter, but that bounded weak reuse is an
|
|
144
|
+
optimization: callers must not depend on distinct frozen map objects producing distinct cores.
|
|
133
145
|
|
|
134
146
|
---
|
|
@@ -24,6 +24,13 @@ Shiki does not bundle one. It falls back to a plain `<pre><code>` when that peer
|
|
|
24
24
|
fallback is the _default_ rendering path, not a degraded one: unhighlighted code is perfectly usable,
|
|
25
25
|
and it's what every instance renders at zero extra bytes until shiki resolves.
|
|
26
26
|
|
|
27
|
+
Removing `code`, `language`, or `highlight-lines` treats that input as absent: source becomes empty,
|
|
28
|
+
an absent language selects plain text, and attribute-based emphasis clears. Removal preserves Lit's
|
|
29
|
+
`null` property readback; an explicitly empty attribute stays an empty string, and a later value
|
|
30
|
+
resumes normal rendering. Highlighted gutter labels and locale-formatted line numbers follow live
|
|
31
|
+
`.strings` and inherited or explicit locale changes. Unrelated updates retain the existing
|
|
32
|
+
highlighted markup.
|
|
33
|
+
|
|
27
34
|
**Properties:**
|
|
28
35
|
|
|
29
36
|
- `code: string = ''` — the raw source text
|
|
@@ -20,6 +20,15 @@ Long translated form chrome wraps within the host, while long source stays reach
|
|
|
20
20
|
editor's internal scroll extent instead of widening the page. The `Narrow RTL long content
|
|
21
21
|
(320px)` story covers both boundaries together.
|
|
22
22
|
|
|
23
|
+
`form.reset()` restores the default value and pristine interaction feedback. Required and custom
|
|
24
|
+
validity constraints remain; a required-empty editor is still invalid. Removing `label`, `hint`, or
|
|
25
|
+
`error-text` treats the removed value as absent for rendering while retaining native
|
|
26
|
+
attribute-removal property readback.
|
|
27
|
+
|
|
28
|
+
Host `aria-describedby` references resolve in the host root onto the native textarea before its
|
|
29
|
+
local error/hint guidance. Target replacement, removal, reinsertion, unresolved IDs, reconnect, and
|
|
30
|
+
adoption keep that relationship current.
|
|
31
|
+
|
|
23
32
|
Dependency-free, form-associated multiline code editor built around a native textarea, with an
|
|
24
33
|
optional line-number gutter. No syntax highlighting: `language` is metadata only.
|
|
25
34
|
|
|
@@ -29,9 +38,11 @@ optional line-number gutter. No syntax highlighting: `language` is metadata only
|
|
|
29
38
|
`data-language`; purely a consumer-reachable styling/metadata hook, nothing tokenizes the text
|
|
30
39
|
- `lineNumbers: boolean = true` (attribute `line-numbers`, reflected) — renders the `gutter` part,
|
|
31
40
|
one row per `\n`-separated line
|
|
32
|
-
- `tabSize: number = 2` (attribute `tab-size`) — spaces inserted per Tab press
|
|
33
|
-
|
|
34
|
-
|
|
41
|
+
- `tabSize: number = 2` (attribute `tab-size`) — spaces inserted per Tab press and the tab width
|
|
42
|
+
shared by the native textarea and text measurement. Explicit property/attribute assignment wins
|
|
43
|
+
over `--lr-code-editor-tab-size`; otherwise the token controls the rendered tab width. Sanitized
|
|
44
|
+
on assignment to a finite integer clamped to `1..16`, so a `NaN`/`Infinity` value can neither
|
|
45
|
+
empty the insert nor throw out of `String.repeat()`.
|
|
35
46
|
- `label: string = ''`, `hint: string = ''`, `errorText: string = ''` (attribute `error-text`),
|
|
36
47
|
`placeholder: string = ''`
|
|
37
48
|
- `readonly: boolean = false` (reflected) — also disables Tab indentation
|
|
@@ -47,8 +58,10 @@ optional line-number gutter. No syntax highlighting: `language` is metadata only
|
|
|
47
58
|
`lr-textarea`/`lr-input`/`lr-select`, accepting both spellings of every tier (`2xs`/`xs`/`s`/`m`/
|
|
48
59
|
`l`/`xl` and `small`/`medium`/`large`). Governs the gutter's and textarea's padding and font size,
|
|
49
60
|
plus the editor frame's minimum block size.
|
|
50
|
-
- `wrap: 'off' | 'soft' | 'hard' = 'off'` — native textarea wrapping
|
|
51
|
-
the `editor` part the single horizontal scroll viewport.
|
|
61
|
+
- `wrap: 'off' | 'soft' | 'hard' = 'off'` — native textarea wrapping. `'off'` (the default) makes
|
|
62
|
+
the `editor` part the single horizontal scroll viewport. Soft/hard text wraps within the editor
|
|
63
|
+
allocation, with the caret and logical line-number gutter following the wrapped lines as the
|
|
64
|
+
allocation changes; the editor frame owns scrolling. `hard` uses the owner realm's native
|
|
52
65
|
textarea serializer, so FormData receives platform-equivalent `cols` wrapping while the live
|
|
53
66
|
`value` remains unwrapped.
|
|
54
67
|
- `spellcheck: boolean = false` — off by default for code, and parsed with a string-aware converter
|
|
@@ -21,6 +21,15 @@ opens a popover holding a saturation/brightness grid, a hue slider, an optional
|
|
|
21
21
|
field accepting any parseable CSS colour, an optional predefined palette, and — where the browser
|
|
22
22
|
supports it — a screen eyedropper.
|
|
23
23
|
|
|
24
|
+
Host `aria-describedby` references resolve in the host's root and precede the trigger's local error,
|
|
25
|
+
hint and current-value guidance. Same-ID target replacement, removal, reinsertion, reconnection and
|
|
26
|
+
document adoption keep those relationships current. Inline mode has no trigger.
|
|
27
|
+
|
|
28
|
+
Own or fieldset disablement discards an unfinished native text draft without committing it and
|
|
29
|
+
blocks palette/format actions immediately, including before disabled rendering settles. A valid
|
|
30
|
+
enabled draft still commits on normal blur or Enter. Format changes retain their existing
|
|
31
|
+
programmatic event silence. Pointer and eyedropper cancellation behavior remains unchanged.
|
|
32
|
+
|
|
24
33
|
**Rewritten in 8.0.0.** It used to wrap a bare native `<input type="color">`; it is now a real
|
|
25
34
|
picker built from the pieces above. Two consequences for existing code:
|
|
26
35
|
|
|
@@ -21,6 +21,32 @@ Filterable single/multi-select combining a text input with a listbox. Mirrors th
|
|
|
21
21
|
`<wa-combobox>` API under the `lr-` prefix. **Form-associated** (hand-rolled internals, not the
|
|
22
22
|
shared `FormAssociated` mixin — see gotchas).
|
|
23
23
|
|
|
24
|
+
Consumer writes on mounted options immediately update the owning picker and its submission,
|
|
25
|
+
without changing the reset default or emitting picker input/change events. Owner synchronization
|
|
26
|
+
does not echo as a consumer selected write.
|
|
27
|
+
|
|
28
|
+
A mounted `option.selected` assignment updates the live picker value and form submission
|
|
29
|
+
immediately, including deselection and equal-value writes; it emits no user input/change event.
|
|
30
|
+
|
|
31
|
+
When `multiple` becomes false, the public value, live option flags, and popup `aria-selected` expose
|
|
32
|
+
one selected occurrence. The retained multiple-selection history returns if multiple is enabled
|
|
33
|
+
again without another selection write.
|
|
34
|
+
|
|
35
|
+
Composing keyboard events (`isComposing` or legacy key code 229) remain with filter editing; they do
|
|
36
|
+
not navigate, select/create a value, or dismiss the popup.
|
|
37
|
+
|
|
38
|
+
Source options with `inert`, including inherited inertness, are unavailable through the popup. Live
|
|
39
|
+
inert changes refresh row availability. Text, insertion, replacement, removal, slot
|
|
40
|
+
reassignment/removal, and relevant attributes of `start`/`end`/`prefix`/`suffix` adornments refresh
|
|
41
|
+
the corresponding cloned presentation; unchanged presentation retains its clone identity while
|
|
42
|
+
filtering.
|
|
43
|
+
|
|
44
|
+
Host `aria-describedby` resolves external descriptions onto the native combobox filter before local
|
|
45
|
+
error/hint guidance. References track missing targets, replacement, removal/reinsertion, reconnect,
|
|
46
|
+
and adoption. Removing `label`, `hint`, or `error-text` safely omits the content while leaving
|
|
47
|
+
removed string properties at their native `null` readback; explicit empty strings remain supplied
|
|
48
|
+
empty strings.
|
|
49
|
+
|
|
24
50
|
**First-interaction registration.** Where initial-route weight is stricter than a static combobox
|
|
25
51
|
registration allows, keep a labelled native `<input list>` as the working pre-JavaScript control
|
|
26
52
|
and import only the granular combobox registration on its first focus. Copy the native value after
|
|
@@ -206,9 +232,12 @@ AbortSignal; limit: number }) => Promise<readonly ComboboxSourceRow[] | { rows,
|
|
|
206
232
|
- `value: string | string[]` — a getter/setter: plain `string` in single mode, `string[]` in
|
|
207
233
|
`multiple` mode
|
|
208
234
|
- `customError: string | null` (attribute `custom-error`) — reflected consumer validation message
|
|
209
|
-
- `selectedRows: ComboboxSourceRow[]`
|
|
210
|
-
selection, including any opaque `data` payload supplied by an async source.
|
|
211
|
-
|
|
235
|
+
- `selectedRows` (read: `ComboboxSourceRow[]`; write: `readonly ComboboxSourceRow[]`) — structured
|
|
236
|
+
rows for the current selection, including any opaque `data` payload supplied by an async source.
|
|
237
|
+
Reads return detached row snapshots. Writes select stable row values resolved against the
|
|
238
|
+
current or deferred source, dropping duplicate and detached values without emitting selection
|
|
239
|
+
events. Selected async rows remain available after the query changes or a later source result
|
|
240
|
+
no longer contains them
|
|
212
241
|
- `selectionStart`, `selectionEnd`, and `selectionDirection` — selection getters/setters forwarded
|
|
213
242
|
to the internal input
|
|
214
243
|
|
|
@@ -264,7 +293,9 @@ selection. It is the supported way to read that text; reaching into the shadow r
|
|
|
264
293
|
`[part="combobox-input"]`'s value is not. Named `lr-filter` rather than `lr-input` precisely because
|
|
265
294
|
`lr-input`'s detail on `<lr-input>` is the committed value, and the two must not share a name while
|
|
266
295
|
carrying different strings. It fires for user edits only. Picking a row, `form.reset()`, dismissing
|
|
267
|
-
the listbox, a programmatic `value` write
|
|
296
|
+
the listbox, and a programmatic `value` write blank the filter silently. `setRangeText()` silently
|
|
297
|
+
replaces the requested or selected native text range, synchronizes the resulting query and visible
|
|
298
|
+
options, and refreshes an async source when present; it preserves the committed selection.
|
|
268
299
|
Activating the clear button is a user edit: when a query existed it emits `lr-filter` with
|
|
269
300
|
`value: ''` before the clear transaction finishes.
|
|
270
301
|
`lr-show` and `lr-hide` report the start of listbox visibility transitions. `lr-show` is a
|
|
@@ -20,6 +20,10 @@ Searchable application command menu. Renders nothing at all while closed. Uses t
|
|
|
20
20
|
overlay infrastructure as `lr-dialog` (focus-trapping Tab, Escape dismissal, backdrop-click
|
|
21
21
|
dismissal, ref-counted document scroll lock).
|
|
22
22
|
|
|
23
|
+
Valid string keywords still participate in search alongside the command's label, description, and
|
|
24
|
+
group. Unsafe keyword entries are skipped without invoking accessors, and selection returns the
|
|
25
|
+
original command object.
|
|
26
|
+
|
|
23
27
|
**Properties:**
|
|
24
28
|
|
|
25
29
|
- `open: boolean = false` (reflected) — after the initial silent render, property and attribute
|
|
@@ -19,6 +19,9 @@
|
|
|
19
19
|
A compact commit summary (subject, author/time, diffstat, per-file changes) that links file rows out
|
|
20
20
|
to a diff view.
|
|
21
21
|
|
|
22
|
+
Removing the `message` attribute clears the displayed subject and body; the property retains the
|
|
23
|
+
normal `null` readback of a removed string attribute.
|
|
24
|
+
|
|
22
25
|
**Properties:** `hash: string = ''`, `message: string = ''`, `author: string = ''`, `timestamp?:
|
|
23
26
|
number` (attribute: false, epoch milliseconds), `files: CommitFileChange[] = []` (attribute: false) —
|
|
24
27
|
`CommitFileChange { path: string; additions: number; deletions: number; status?: GitStatus }`
|
|
@@ -19,6 +19,13 @@
|
|
|
19
19
|
Side-by-side A/B output comparison with a winner vote (LMSYS-arena / LangSmith-pairwise style): two
|
|
20
20
|
slotted panes, a vote bar, synchronized reading.
|
|
21
21
|
|
|
22
|
+
Disabled vote buttons retain their resting colors during hover and press, including an existing
|
|
23
|
+
selected vote.
|
|
24
|
+
|
|
25
|
+
At narrow widths, stacked response panes size to their content up to
|
|
26
|
+
`--lr-compare-panel-max-height`. Short responses remain fully readable; longer responses retain the
|
|
27
|
+
configured height limit and scrolling.
|
|
28
|
+
|
|
22
29
|
**Properties:** `labelA: string = ''` (attribute `label-a`) and `labelB: string = ''` (attribute
|
|
23
30
|
`label-b`) — pane headings. `vote: 'a' | 'b' | 'tie' | 'both-bad' | null = null` (reflected) — the
|
|
24
31
|
recorded winner, host-writable to reflect a previously-recorded vote back. `itemId: string = ''`
|
|
@@ -19,6 +19,11 @@
|
|
|
19
19
|
Composable flat condition builder for tabular or dashboard data: condition rows combined with an
|
|
20
20
|
AND/OR combinator, distinct by name and model from `lr-graph-query-builder`.
|
|
21
21
|
|
|
22
|
+
A field or operator select choice updates the builder once and emits one `lr-input` carrying the
|
|
23
|
+
complete `{ value: ConditionBuilderValue }` snapshot. Child native `input`/`change`, prefixed value
|
|
24
|
+
aliases and listbox show/hide lifecycle events remain inside those pickers. Programmatic `value`
|
|
25
|
+
assignments remain silent.
|
|
26
|
+
|
|
22
27
|
**9.0 migration:** `lr-query-builder` / `LyraQueryBuilder` / `QueryBuilder*` were renamed without
|
|
23
28
|
aliases to `lr-condition-builder` / `LyraConditionBuilder` / `ConditionBuilder*`. Update the tag,
|
|
24
29
|
granular import path, class/type imports, selectors, and framework bindings together.
|
|
@@ -20,6 +20,9 @@ A selectable row representing one chat session in a history sidebar list. Usable
|
|
|
20
20
|
`renderItem()` payload of `<lr-virtual-list>`; has no dependency on that (or any) other component.
|
|
21
21
|
First-party invention (no Web Awesome equivalent).
|
|
22
22
|
|
|
23
|
+
Inline rename keeps IME composition keys in the editor; ordinary Enter commits and Escape cancels
|
|
24
|
+
after composition.
|
|
25
|
+
|
|
23
26
|
**Properties:**
|
|
24
27
|
|
|
25
28
|
- `conversationId: string = ''` (attribute `conversation-id`) — stable domain identity carried by
|
|
@@ -21,6 +21,12 @@ A standalone copy-to-clipboard affordance for a plain text `value` or a source e
|
|
|
21
21
|
settles; a consumer-provided default-slot trigger can replace that button. The component takes no
|
|
22
22
|
positioning opinion of its own.
|
|
23
23
|
|
|
24
|
+
The CopyFailure example temporarily supplies a denied clipboard operation during click capture,
|
|
25
|
+
including after a held pointer press, then restores the original own property descriptor or removes
|
|
26
|
+
its temporary override when the clipboard was inherited. Pointer gestures that end without a click
|
|
27
|
+
do not install an override. This example does not change the clipboard contract of ordinary copy
|
|
28
|
+
buttons.
|
|
29
|
+
|
|
24
30
|
**Properties:**
|
|
25
31
|
|
|
26
32
|
- `value: string = ''` — the plain text to copy.
|
|
@@ -19,6 +19,11 @@
|
|
|
19
19
|
Responsive, keyboard-accessible controlled widget grid. It positions layout entries and emits
|
|
20
20
|
move, resize, collision, and layout-change requests; the host owns persistence and applies updates.
|
|
21
21
|
|
|
22
|
+
Pointer move and resize gestures measure the rendered column/row pitch, including the gutter, so
|
|
23
|
+
movement by four painted tracks proposes four logical columns in either LTR or RTL. Row-height and
|
|
24
|
+
gap overrides also govern vertical pointer snapping. The component continues to emit controlled
|
|
25
|
+
layout proposals; the caller accepts them by assigning `layout`.
|
|
26
|
+
|
|
22
27
|
**Properties:** `layout: readonly LyraDashboardCell[] = []` (attribute: false, never mutated by the component),
|
|
23
28
|
`columns: number = 12`, `rowHeight: number = 80` (px, also the row snap pitch), `gap: number = 8`
|
|
24
29
|
(px, both axes), `collision: 'reject' | 'push' | 'overlap' = 'reject'`, `cellsDraggable: boolean = false`
|
|
@@ -20,6 +20,12 @@ Virtualized client/server data grid with multi-sort, column filters, global sear
|
|
|
20
20
|
trees, row details, paging, pinning, resizing, reordering, selection, copy, and CSV export. Import
|
|
21
21
|
the granular registration module when the root bundle is not already loaded:
|
|
22
22
|
|
|
23
|
+
Repeated references to an admitted root row appear once in processed rows, pagination, facets, and
|
|
24
|
+
CSV, matching rendered canonical identity. The retained occurrence remains the original caller-owned
|
|
25
|
+
record. Clicking a supported interactive descendant, including a native control inside its open
|
|
26
|
+
shadow root, runs that control without also emitting `lr-cell-click`. Passive cell content continues
|
|
27
|
+
to activate the cell.
|
|
28
|
+
|
|
23
29
|
```js
|
|
24
30
|
import "@aceshooting/lyra-ui/components/data/data-grid/data-grid.js";
|
|
25
31
|
```
|
|
@@ -114,7 +120,11 @@ are `text`, `equals`, `number-range`, `date-range`, `set`, `includes-any`, and `
|
|
|
114
120
|
|
|
115
121
|
**Methods:**
|
|
116
122
|
|
|
117
|
-
- `autoSizeColumn(columnId)
|
|
123
|
+
- `autoSizeColumn(columnId)` and `autoSizeColumns()` manage measured widths. `sizeColumnsToFit()`
|
|
124
|
+
reserves visible effective zero-flex column widths and selection-control allocation before
|
|
125
|
+
dividing the remaining width proportionally among flexible columns. Fixed widths are preserved;
|
|
126
|
+
min/max clamps still apply, and an all-fixed grid is unchanged. Maximum clamps can leave unused
|
|
127
|
+
space, while incompatible minimum widths can still overflow.
|
|
118
128
|
- `collapseAllRows()`, `collapseRow(key)`, `expandAllRows()`, and `expandRow(key)` update expansion
|
|
119
129
|
without emitting the user-only row events.
|
|
120
130
|
- `copySelectedRows(options?: DataGridCopyOptions)` copies selected rows (or all processed rows
|
|
@@ -34,8 +34,9 @@ rather than a phantom success, and a header-row target scrolls with the same
|
|
|
34
34
|
`max-height`), and `scrollMode: DatasetViewerScrollMode = 'self'` (attribute `scroll-mode`,
|
|
35
35
|
reflected). Invalid CSS `max-height` values, declaration breaks, and `url()` are ignored.
|
|
36
36
|
`scrollMode='self'` preserves contained horizontal scrolling and applies `maxHeight`.
|
|
37
|
-
`scrollMode='page'`
|
|
38
|
-
|
|
37
|
+
`scrollMode='page'` removes intervening scroll containers and the height cap, so a populated table's
|
|
38
|
+
sticky header follows the page scrollport while rows continue below it. The border and rounded
|
|
39
|
+
header corners remain; a wide dataset can overflow its host in page mode.
|
|
39
40
|
Unsupported attribute and untyped property values normalize to `'self'`.
|
|
40
41
|
Host `aria-label` names the table by attribute presence, including an explicitly empty value;
|
|
41
42
|
`name` and the localized row-count caption are fallbacks. The same computed name (host `aria-label`,
|