@aceshooting/lyra-ui 2.3.0 → 2.5.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 +32 -3
- package/custom-elements.json +552 -90
- package/dist/components/app-rail/app-rail-item.class.d.ts.map +1 -1
- package/dist/components/app-rail/app-rail-item.class.js +6 -1
- package/dist/components/app-rail/app-rail-item.class.js.map +1 -1
- package/dist/components/app-rail/app-rail.class.js +1 -1
- package/dist/components/app-rail/app-rail.class.js.map +1 -1
- package/dist/components/attachment-chip/attachment-chip.class.d.ts +9 -1
- package/dist/components/attachment-chip/attachment-chip.class.d.ts.map +1 -1
- package/dist/components/attachment-chip/attachment-chip.class.js +31 -9
- package/dist/components/attachment-chip/attachment-chip.class.js.map +1 -1
- package/dist/components/attachment-trigger/attachment-trigger.class.d.ts +4 -4
- package/dist/components/attachment-trigger/attachment-trigger.class.d.ts.map +1 -1
- package/dist/components/attachment-trigger/attachment-trigger.class.js +8 -7
- package/dist/components/attachment-trigger/attachment-trigger.class.js.map +1 -1
- package/dist/components/avatar/avatar.class.d.ts +26 -12
- package/dist/components/avatar/avatar.class.d.ts.map +1 -1
- package/dist/components/avatar/avatar.class.js +60 -13
- package/dist/components/avatar/avatar.class.js.map +1 -1
- package/dist/components/avatar/avatar.styles.d.ts.map +1 -1
- package/dist/components/avatar/avatar.styles.js +16 -1
- package/dist/components/avatar/avatar.styles.js.map +1 -1
- package/dist/components/chart/box-plot.class.d.ts.map +1 -1
- package/dist/components/chart/box-plot.class.js +26 -14
- package/dist/components/chart/box-plot.class.js.map +1 -1
- package/dist/components/chart/chart.class.d.ts.map +1 -1
- package/dist/components/chart/chart.class.js +24 -9
- package/dist/components/chart/chart.class.js.map +1 -1
- package/dist/components/chart/histogram.class.d.ts +1 -0
- package/dist/components/chart/histogram.class.d.ts.map +1 -1
- package/dist/components/chart/histogram.class.js +8 -2
- package/dist/components/chart/histogram.class.js.map +1 -1
- package/dist/components/chart/lite-chart.class.d.ts +5 -3
- package/dist/components/chart/lite-chart.class.d.ts.map +1 -1
- package/dist/components/chart/lite-chart.class.js +27 -18
- package/dist/components/chart/lite-chart.class.js.map +1 -1
- package/dist/components/chart/lite-chart.d.ts +1 -0
- package/dist/components/chart/lite-chart.d.ts.map +1 -1
- package/dist/components/chart/lite-chart.js +1 -0
- package/dist/components/chart/lite-chart.js.map +1 -1
- package/dist/components/chart/lite-chart.styles.js +7 -7
- package/dist/components/chat-composer/chat-composer.class.d.ts +6 -1
- package/dist/components/chat-composer/chat-composer.class.d.ts.map +1 -1
- package/dist/components/chat-composer/chat-composer.class.js +18 -6
- package/dist/components/chat-composer/chat-composer.class.js.map +1 -1
- package/dist/components/chat-message/chat-message.class.d.ts +1 -0
- package/dist/components/chat-message/chat-message.class.d.ts.map +1 -1
- package/dist/components/chat-message/chat-message.class.js +12 -11
- package/dist/components/chat-message/chat-message.class.js.map +1 -1
- package/dist/components/chat-message/chat-message.styles.d.ts.map +1 -1
- package/dist/components/chat-message/chat-message.styles.js +15 -0
- package/dist/components/chat-message/chat-message.styles.js.map +1 -1
- package/dist/components/checkbox/checkbox.class.d.ts.map +1 -1
- package/dist/components/checkbox/checkbox.class.js +1 -1
- package/dist/components/checkbox/checkbox.class.js.map +1 -1
- package/dist/components/chip/chip-group.class.d.ts +4 -1
- package/dist/components/chip/chip-group.class.d.ts.map +1 -1
- package/dist/components/chip/chip-group.class.js +3 -1
- package/dist/components/chip/chip-group.class.js.map +1 -1
- package/dist/components/chip/chip.class.d.ts +31 -13
- package/dist/components/chip/chip.class.d.ts.map +1 -1
- package/dist/components/chip/chip.class.js +46 -18
- package/dist/components/chip/chip.class.js.map +1 -1
- package/dist/components/citation-badge/citation-badge.class.d.ts +5 -1
- package/dist/components/citation-badge/citation-badge.class.d.ts.map +1 -1
- package/dist/components/citation-badge/citation-badge.class.js +15 -12
- package/dist/components/citation-badge/citation-badge.class.js.map +1 -1
- package/dist/components/code-block/code-block-core.class.d.ts +3 -0
- package/dist/components/code-block/code-block-core.class.d.ts.map +1 -1
- package/dist/components/code-block/code-block-core.class.js +4 -3
- package/dist/components/code-block/code-block-core.class.js.map +1 -1
- package/dist/components/code-block/code-block-shared.d.ts +18 -0
- package/dist/components/code-block/code-block-shared.d.ts.map +1 -0
- package/dist/components/code-block/code-block-shared.js +21 -0
- package/dist/components/code-block/code-block-shared.js.map +1 -0
- package/dist/components/code-block/code-block.class.d.ts +3 -0
- package/dist/components/code-block/code-block.class.d.ts.map +1 -1
- package/dist/components/code-block/code-block.class.js +4 -3
- package/dist/components/code-block/code-block.class.js.map +1 -1
- package/dist/components/code-block/code-block.styles.d.ts.map +1 -1
- package/dist/components/code-block/code-block.styles.js +9 -0
- package/dist/components/code-block/code-block.styles.js.map +1 -1
- package/dist/components/combobox/combobox.class.d.ts +3 -2
- package/dist/components/combobox/combobox.class.d.ts.map +1 -1
- package/dist/components/combobox/combobox.class.js +15 -13
- package/dist/components/combobox/combobox.class.js.map +1 -1
- package/dist/components/combobox/combobox.styles.d.ts.map +1 -1
- package/dist/components/combobox/combobox.styles.js +3 -0
- package/dist/components/combobox/combobox.styles.js.map +1 -1
- package/dist/components/context-meter/context-meter.class.d.ts +7 -0
- package/dist/components/context-meter/context-meter.class.d.ts.map +1 -1
- package/dist/components/context-meter/context-meter.class.js +30 -12
- package/dist/components/context-meter/context-meter.class.js.map +1 -1
- package/dist/components/conversation-item/conversation-item.class.js +2 -2
- package/dist/components/conversation-item/conversation-item.class.js.map +1 -1
- package/dist/components/date-picker/date-input.class.d.ts +3 -1
- package/dist/components/date-picker/date-input.class.d.ts.map +1 -1
- package/dist/components/date-picker/date-input.class.js +16 -9
- package/dist/components/date-picker/date-input.class.js.map +1 -1
- package/dist/components/date-picker/date-picker.class.d.ts +6 -2
- package/dist/components/date-picker/date-picker.class.d.ts.map +1 -1
- package/dist/components/date-picker/date-picker.class.js +23 -6
- package/dist/components/date-picker/date-picker.class.js.map +1 -1
- package/dist/components/date-picker/date-picker.styles.d.ts.map +1 -1
- package/dist/components/date-picker/date-picker.styles.js +16 -1
- package/dist/components/date-picker/date-picker.styles.js.map +1 -1
- package/dist/components/dialog/confirm.d.ts +2 -2
- package/dist/components/dialog/confirm.d.ts.map +1 -1
- package/dist/components/dialog/confirm.js +10 -7
- package/dist/components/dialog/confirm.js.map +1 -1
- package/dist/components/diff-view/diff-view.class.d.ts +3 -0
- package/dist/components/diff-view/diff-view.class.d.ts.map +1 -1
- package/dist/components/diff-view/diff-view.class.js +24 -3
- package/dist/components/diff-view/diff-view.class.js.map +1 -1
- package/dist/components/dock-panel/dock-panel.class.js +2 -2
- package/dist/components/dock-panel/dock-panel.class.js.map +1 -1
- package/dist/components/document-preview/document-preview.class.d.ts.map +1 -1
- package/dist/components/document-preview/document-preview.class.js +11 -11
- package/dist/components/document-preview/document-preview.class.js.map +1 -1
- package/dist/components/document-preview/document-preview.styles.d.ts.map +1 -1
- package/dist/components/document-preview/document-preview.styles.js +6 -1
- package/dist/components/document-preview/document-preview.styles.js.map +1 -1
- package/dist/components/export-button/export-button.class.d.ts +17 -1
- package/dist/components/export-button/export-button.class.d.ts.map +1 -1
- package/dist/components/export-button/export-button.class.js +36 -4
- package/dist/components/export-button/export-button.class.js.map +1 -1
- package/dist/components/file-input/file-input.class.d.ts +4 -0
- package/dist/components/file-input/file-input.class.d.ts.map +1 -1
- package/dist/components/file-input/file-input.class.js +18 -8
- package/dist/components/file-input/file-input.class.js.map +1 -1
- package/dist/components/file-input/file-input.styles.d.ts.map +1 -1
- package/dist/components/file-input/file-input.styles.js +0 -7
- package/dist/components/file-input/file-input.styles.js.map +1 -1
- package/dist/components/gauge/gauge.class.d.ts.map +1 -1
- package/dist/components/gauge/gauge.class.js +16 -6
- package/dist/components/gauge/gauge.class.js.map +1 -1
- package/dist/components/generation-status/generation-status.class.d.ts.map +1 -1
- package/dist/components/generation-status/generation-status.class.js +39 -20
- package/dist/components/generation-status/generation-status.class.js.map +1 -1
- package/dist/components/graph/graph.class.d.ts +10 -0
- package/dist/components/graph/graph.class.d.ts.map +1 -1
- package/dist/components/graph/graph.class.js +35 -9
- package/dist/components/graph/graph.class.js.map +1 -1
- package/dist/components/graph/graph.styles.d.ts.map +1 -1
- package/dist/components/graph/graph.styles.js +4 -0
- package/dist/components/graph/graph.styles.js.map +1 -1
- package/dist/components/heatmap/heatmap.class.d.ts +12 -10
- package/dist/components/heatmap/heatmap.class.d.ts.map +1 -1
- package/dist/components/heatmap/heatmap.class.js +43 -25
- package/dist/components/heatmap/heatmap.class.js.map +1 -1
- package/dist/components/heatmap/heatmap.styles.js +1 -1
- package/dist/components/json-viewer/json-viewer.class.d.ts.map +1 -1
- package/dist/components/json-viewer/json-viewer.class.js +26 -6
- package/dist/components/json-viewer/json-viewer.class.js.map +1 -1
- package/dist/components/kbd/kbd.class.d.ts +13 -3
- package/dist/components/kbd/kbd.class.d.ts.map +1 -1
- package/dist/components/kbd/kbd.class.js +57 -33
- package/dist/components/kbd/kbd.class.js.map +1 -1
- package/dist/components/map/map.class.d.ts +4 -0
- package/dist/components/map/map.class.d.ts.map +1 -1
- package/dist/components/map/map.class.js +24 -2
- package/dist/components/map/map.class.js.map +1 -1
- package/dist/components/map/map.styles.d.ts.map +1 -1
- package/dist/components/map/map.styles.js +5 -0
- package/dist/components/map/map.styles.js.map +1 -1
- package/dist/components/markdown/markdown.class.d.ts +3 -0
- package/dist/components/markdown/markdown.class.d.ts.map +1 -1
- package/dist/components/markdown/markdown.class.js +3 -0
- package/dist/components/markdown/markdown.class.js.map +1 -1
- package/dist/components/media-card/media-card.class.d.ts +4 -1
- package/dist/components/media-card/media-card.class.d.ts.map +1 -1
- package/dist/components/media-card/media-card.class.js +6 -4
- package/dist/components/media-card/media-card.class.js.map +1 -1
- package/dist/components/mention-popover/mention-popover.class.d.ts +9 -0
- package/dist/components/mention-popover/mention-popover.class.d.ts.map +1 -1
- package/dist/components/mention-popover/mention-popover.class.js +14 -2
- package/dist/components/mention-popover/mention-popover.class.js.map +1 -1
- package/dist/components/menu/menu.class.d.ts +21 -2
- package/dist/components/menu/menu.class.d.ts.map +1 -1
- package/dist/components/menu/menu.class.js +40 -9
- package/dist/components/menu/menu.class.js.map +1 -1
- package/dist/components/model-select/model-select.class.d.ts +9 -0
- package/dist/components/model-select/model-select.class.d.ts.map +1 -1
- package/dist/components/model-select/model-select.class.js +20 -5
- package/dist/components/model-select/model-select.class.js.map +1 -1
- package/dist/components/model-settings-panel/model-settings-panel.class.d.ts.map +1 -1
- package/dist/components/model-settings-panel/model-settings-panel.class.js +4 -3
- package/dist/components/model-settings-panel/model-settings-panel.class.js.map +1 -1
- package/dist/components/playback/playback.class.d.ts +4 -0
- package/dist/components/playback/playback.class.d.ts.map +1 -1
- package/dist/components/playback/playback.class.js +6 -2
- package/dist/components/playback/playback.class.js.map +1 -1
- package/dist/components/poll-status/poll-status.class.d.ts +3 -2
- package/dist/components/poll-status/poll-status.class.d.ts.map +1 -1
- package/dist/components/poll-status/poll-status.class.js +10 -7
- package/dist/components/poll-status/poll-status.class.js.map +1 -1
- package/dist/components/poll-status/poll-status.styles.d.ts.map +1 -1
- package/dist/components/poll-status/poll-status.styles.js +8 -1
- package/dist/components/poll-status/poll-status.styles.js.map +1 -1
- package/dist/components/segmented/segmented.class.d.ts +6 -0
- package/dist/components/segmented/segmented.class.d.ts.map +1 -1
- package/dist/components/segmented/segmented.class.js +12 -2
- package/dist/components/segmented/segmented.class.js.map +1 -1
- package/dist/components/select/select.class.d.ts +7 -1
- package/dist/components/select/select.class.d.ts.map +1 -1
- package/dist/components/select/select.class.js +14 -4
- package/dist/components/select/select.class.js.map +1 -1
- package/dist/components/skeleton/skeleton.class.d.ts.map +1 -1
- package/dist/components/skeleton/skeleton.class.js +2 -1
- package/dist/components/skeleton/skeleton.class.js.map +1 -1
- package/dist/components/source-card/source-card.class.d.ts +5 -1
- package/dist/components/source-card/source-card.class.d.ts.map +1 -1
- package/dist/components/source-card/source-card.class.js +4 -2
- package/dist/components/source-card/source-card.class.js.map +1 -1
- package/dist/components/source-list/source-list.class.d.ts +8 -7
- package/dist/components/source-list/source-list.class.d.ts.map +1 -1
- package/dist/components/source-list/source-list.class.js +9 -8
- package/dist/components/source-list/source-list.class.js.map +1 -1
- package/dist/components/source-list/source-list.styles.d.ts.map +1 -1
- package/dist/components/source-list/source-list.styles.js +10 -0
- package/dist/components/source-list/source-list.styles.js.map +1 -1
- package/dist/components/sparkline/sparkline.styles.js +2 -2
- package/dist/components/split/split.class.d.ts +1 -1
- package/dist/components/split/split.class.d.ts.map +1 -1
- package/dist/components/split/split.class.js +50 -2
- package/dist/components/split/split.class.js.map +1 -1
- package/dist/components/stat/stat.class.js +2 -2
- package/dist/components/stat/stat.class.js.map +1 -1
- package/dist/components/stepper/stepper.class.d.ts +6 -1
- package/dist/components/stepper/stepper.class.d.ts.map +1 -1
- package/dist/components/stepper/stepper.class.js +4 -1
- package/dist/components/stepper/stepper.class.js.map +1 -1
- package/dist/components/stream-status/stream-status.class.d.ts.map +1 -1
- package/dist/components/stream-status/stream-status.class.js +5 -11
- package/dist/components/stream-status/stream-status.class.js.map +1 -1
- package/dist/components/switch/switch.class.d.ts.map +1 -1
- package/dist/components/switch/switch.class.js +1 -1
- package/dist/components/switch/switch.class.js.map +1 -1
- package/dist/components/table/table.class.d.ts +7 -5
- package/dist/components/table/table.class.d.ts.map +1 -1
- package/dist/components/table/table.class.js +41 -9
- package/dist/components/table/table.class.js.map +1 -1
- package/dist/components/table/table.styles.d.ts.map +1 -1
- package/dist/components/table/table.styles.js +9 -0
- package/dist/components/table/table.styles.js.map +1 -1
- package/dist/components/thinking-panel/thinking-panel.class.d.ts +2 -1
- package/dist/components/thinking-panel/thinking-panel.class.d.ts.map +1 -1
- package/dist/components/thinking-panel/thinking-panel.class.js +14 -5
- package/dist/components/thinking-panel/thinking-panel.class.js.map +1 -1
- package/dist/components/time-range/time-range.class.d.ts +8 -3
- package/dist/components/time-range/time-range.class.d.ts.map +1 -1
- package/dist/components/time-range/time-range.class.js +10 -5
- package/dist/components/time-range/time-range.class.js.map +1 -1
- package/dist/components/time-range/time-range.styles.d.ts.map +1 -1
- package/dist/components/time-range/time-range.styles.js +16 -0
- package/dist/components/time-range/time-range.styles.js.map +1 -1
- package/dist/components/toast/toast-item.class.js +2 -2
- package/dist/components/toast/toast-item.class.js.map +1 -1
- package/dist/components/tool-approval-dialog/tool-approval-dialog.class.d.ts.map +1 -1
- package/dist/components/tool-approval-dialog/tool-approval-dialog.class.js +11 -6
- package/dist/components/tool-approval-dialog/tool-approval-dialog.class.js.map +1 -1
- package/dist/components/tool-call-chip/tool-call-chip.class.d.ts +8 -4
- package/dist/components/tool-call-chip/tool-call-chip.class.d.ts.map +1 -1
- package/dist/components/tool-call-chip/tool-call-chip.class.js +46 -16
- package/dist/components/tool-call-chip/tool-call-chip.class.js.map +1 -1
- package/dist/components/tool-param-form/tool-param-form.class.d.ts +3 -0
- package/dist/components/tool-param-form/tool-param-form.class.d.ts.map +1 -1
- package/dist/components/tool-param-form/tool-param-form.class.js +21 -16
- package/dist/components/tool-param-form/tool-param-form.class.js.map +1 -1
- package/dist/components/tool-param-form/tool-param-form.styles.d.ts.map +1 -1
- package/dist/components/tool-param-form/tool-param-form.styles.js +5 -0
- package/dist/components/tool-param-form/tool-param-form.styles.js.map +1 -1
- package/dist/components/tool-result-dialog/tool-result-dialog.class.d.ts +5 -5
- package/dist/components/tool-result-dialog/tool-result-dialog.class.d.ts.map +1 -1
- package/dist/components/tool-result-dialog/tool-result-dialog.class.js +34 -14
- package/dist/components/tool-result-dialog/tool-result-dialog.class.js.map +1 -1
- package/dist/components/tool-result-view/registry.d.ts +3 -3
- package/dist/components/tool-result-view/registry.js +3 -3
- package/dist/components/tool-select-dialog/tool-select-dialog.class.d.ts.map +1 -1
- package/dist/components/tool-select-dialog/tool-select-dialog.class.js +27 -9
- package/dist/components/tool-select-dialog/tool-select-dialog.class.js.map +1 -1
- package/dist/components/tree/tree-node.class.d.ts +1 -0
- package/dist/components/tree/tree-node.class.d.ts.map +1 -1
- package/dist/components/tree/tree-node.class.js +3 -66
- package/dist/components/tree/tree-node.class.js.map +1 -1
- package/dist/components/tree/tree-node.styles.d.ts +2 -0
- package/dist/components/tree/tree-node.styles.d.ts.map +1 -0
- package/dist/components/tree/tree-node.styles.js +68 -0
- package/dist/components/tree/tree-node.styles.js.map +1 -0
- package/dist/components/tree/tree.class.d.ts +3 -1
- package/dist/components/tree/tree.class.d.ts.map +1 -1
- package/dist/components/tree/tree.class.js +6 -1
- package/dist/components/tree/tree.class.js.map +1 -1
- package/dist/components/typing-indicator/typing-indicator.class.d.ts +14 -11
- package/dist/components/typing-indicator/typing-indicator.class.d.ts.map +1 -1
- package/dist/components/typing-indicator/typing-indicator.class.js +16 -12
- package/dist/components/typing-indicator/typing-indicator.class.js.map +1 -1
- package/dist/components/widget/widget.class.d.ts +34 -8
- package/dist/components/widget/widget.class.d.ts.map +1 -1
- package/dist/components/widget/widget.class.js +36 -16
- package/dist/components/widget/widget.class.js.map +1 -1
- package/dist/components/word-cloud/word-cloud.class.d.ts +6 -0
- package/dist/components/word-cloud/word-cloud.class.d.ts.map +1 -1
- package/dist/components/word-cloud/word-cloud.class.js +23 -9
- package/dist/components/word-cloud/word-cloud.class.js.map +1 -1
- package/dist/internal/group-by-recency.d.ts +3 -2
- package/dist/internal/group-by-recency.d.ts.map +1 -1
- package/dist/internal/group-by-recency.js.map +1 -1
- package/dist/internal/localization.d.ts +1 -1
- package/dist/internal/localization.d.ts.map +1 -1
- package/dist/internal/localization.js +245 -0
- package/dist/internal/localization.js.map +1 -1
- package/dist/lyra.d.ts +13 -0
- package/dist/lyra.d.ts.map +1 -1
- package/dist/lyra.js.map +1 -1
- package/package.json +1 -1
package/custom-elements.json
CHANGED
|
@@ -2080,12 +2080,36 @@
|
|
|
2080
2080
|
"type": {
|
|
2081
2081
|
"text": "number"
|
|
2082
2082
|
}
|
|
2083
|
+
},
|
|
2084
|
+
{
|
|
2085
|
+
"name": "unitLabel",
|
|
2086
|
+
"default": "(unit) => unit",
|
|
2087
|
+
"type": {
|
|
2088
|
+
"text": "(unit: (typeof BYTE_UNITS)[number]) => string"
|
|
2089
|
+
}
|
|
2083
2090
|
}
|
|
2084
2091
|
],
|
|
2085
|
-
"description": "`512` -> `\"512 B\"`; `2415919` -> `\"2.3 MB\"`. Whole bytes never get a\ndecimal (there's no meaningful fraction of a byte); every unit past that\ngets exactly one decimal place. Returns `\"\"` for a negative/non-finite\ninput so a missing/unknown size renders nothing instead of `\"NaN B\"
|
|
2092
|
+
"description": "`512` -> `\"512 B\"`; `2415919` -> `\"2.3 MB\"`. Whole bytes never get a\ndecimal (there's no meaningful fraction of a byte); every unit past that\ngets exactly one decimal place. Returns `\"\"` for a negative/non-finite\ninput so a missing/unknown size renders nothing instead of `\"NaN B\"`.\n`unitLabel` resolves each abbreviation to its displayed label -- defaults\nto the identity function (today's plain English abbreviations), so every\nexisting single-argument call site/test is unaffected."
|
|
2093
|
+
},
|
|
2094
|
+
{
|
|
2095
|
+
"kind": "variable",
|
|
2096
|
+
"name": "FILE_SIZE_UNIT_KEYS",
|
|
2097
|
+
"type": {
|
|
2098
|
+
"text": "Record<(typeof BYTE_UNITS)[number], string>"
|
|
2099
|
+
},
|
|
2100
|
+
"default": "{ B: 'fileSizeUnitB', KB: 'fileSizeUnitKb', MB: 'fileSizeUnitMb', GB: 'fileSizeUnitGb', TB: 'fileSizeUnitTb', }",
|
|
2101
|
+
"description": "Maps each BYTE_UNITS abbreviation to its LyraMessageKey, for callers that\nwant a localized unit label (see formatFileSize's unitLabel parameter)."
|
|
2086
2102
|
}
|
|
2087
2103
|
],
|
|
2088
2104
|
"exports": [
|
|
2105
|
+
{
|
|
2106
|
+
"kind": "js",
|
|
2107
|
+
"name": "FILE_SIZE_UNIT_KEYS",
|
|
2108
|
+
"declaration": {
|
|
2109
|
+
"name": "FILE_SIZE_UNIT_KEYS",
|
|
2110
|
+
"module": "src/components/attachment-chip/attachment-chip.class.ts"
|
|
2111
|
+
}
|
|
2112
|
+
},
|
|
2089
2113
|
{
|
|
2090
2114
|
"kind": "js",
|
|
2091
2115
|
"name": "LyraAttachmentChip",
|
|
@@ -2313,7 +2337,7 @@
|
|
|
2313
2337
|
"type": {
|
|
2314
2338
|
"text": "string | undefined"
|
|
2315
2339
|
},
|
|
2316
|
-
"description": "Overrides the single-capability trigger button's `aria-label`, which\notherwise comes from `
|
|
2340
|
+
"description": "Overrides the single-capability trigger button's `aria-label`, which\notherwise comes from `this.localize()` (e.g. `'Attach files'`, localizable\nvia `.strings`/`registerLyraLocale()`). Set this for a one-off override;\nleave it unset to keep the localized default. Only affects the\nsingle-capability button ([part='trigger']) — the multi-capability\nmenu's own trigger keeps its own `'Add attachment'` label regardless.",
|
|
2317
2341
|
"attribute": "trigger-label"
|
|
2318
2342
|
},
|
|
2319
2343
|
{
|
|
@@ -2597,7 +2621,7 @@
|
|
|
2597
2621
|
"type": {
|
|
2598
2622
|
"text": "string | undefined"
|
|
2599
2623
|
},
|
|
2600
|
-
"description": "Overrides the single-capability trigger button's `aria-label`, which\notherwise comes from `
|
|
2624
|
+
"description": "Overrides the single-capability trigger button's `aria-label`, which\notherwise comes from `this.localize()` (e.g. `'Attach files'`, localizable\nvia `.strings`/`registerLyraLocale()`). Set this for a one-off override;\nleave it unset to keep the localized default. Only affects the\nsingle-capability button ([part='trigger']) — the multi-capability\nmenu's own trigger keeps its own `'Add attachment'` label regardless.",
|
|
2601
2625
|
"fieldName": "triggerLabel"
|
|
2602
2626
|
},
|
|
2603
2627
|
{
|
|
@@ -2657,7 +2681,7 @@
|
|
|
2657
2681
|
"declarations": [
|
|
2658
2682
|
{
|
|
2659
2683
|
"kind": "class",
|
|
2660
|
-
"description": "`<lyra-avatar>` — a small, fixed-size identity marker:
|
|
2684
|
+
"description": "`<lyra-avatar>` — a small, fixed-size identity marker: default-slotted icon/glyph content, an\nimage, or an initials fallback, in that priority order (whichever's set takes over from the\nnext). First-party invention (no Web Awesome equivalent) -- purely presentational, no built-in\ninteractivity; a consumer wraps it in their own `<button>`/`<lyra-menu>` trigger for a\nuser-menu affordance.",
|
|
2661
2685
|
"name": "LyraAvatar",
|
|
2662
2686
|
"cssParts": [
|
|
2663
2687
|
{
|
|
@@ -2665,14 +2689,24 @@
|
|
|
2665
2689
|
"name": "base"
|
|
2666
2690
|
},
|
|
2667
2691
|
{
|
|
2668
|
-
"description": "
|
|
2692
|
+
"description": "Wrapper around the default-slotted icon/glyph content. Only rendered while the slot has assigned content.",
|
|
2693
|
+
"name": "icon"
|
|
2694
|
+
},
|
|
2695
|
+
{
|
|
2696
|
+
"description": "The `<img>`, only rendered while `src` is set and has not failed to load (and no icon content is slotted).",
|
|
2669
2697
|
"name": "image"
|
|
2670
2698
|
},
|
|
2671
2699
|
{
|
|
2672
|
-
"description": "The fallback initials text, rendered whenever `image`
|
|
2700
|
+
"description": "The fallback initials text, rendered whenever neither slotted content nor `image` is.",
|
|
2673
2701
|
"name": "initials"
|
|
2674
2702
|
}
|
|
2675
2703
|
],
|
|
2704
|
+
"slots": [
|
|
2705
|
+
{
|
|
2706
|
+
"description": "Icon/glyph content (e.g. an inline SVG) shown in place of the image/initials, e.g. to mark a chat message avatar as \"AI\" vs. \"user\" with a role glyph instead of a photo or initials. Takes priority over both `src` and `initials`. The glyph itself is treated as decorative (`aria-hidden`); set `alt` alongside it for an accessible name.",
|
|
2707
|
+
"name": ""
|
|
2708
|
+
}
|
|
2709
|
+
],
|
|
2676
2710
|
"members": [
|
|
2677
2711
|
{
|
|
2678
2712
|
"kind": "field",
|
|
@@ -2681,7 +2715,7 @@
|
|
|
2681
2715
|
"text": "string"
|
|
2682
2716
|
},
|
|
2683
2717
|
"default": "''",
|
|
2684
|
-
"description": "
|
|
2718
|
+
"description": "Alt text -- required alongside `src` for accessibility, and also used as the accessible\nname (via `aria-label`) when showing icon-only slotted content, since a decorative glyph\nhas no text of its own for a screen reader to read.",
|
|
2685
2719
|
"attribute": "alt"
|
|
2686
2720
|
},
|
|
2687
2721
|
{
|
|
@@ -2712,6 +2746,15 @@
|
|
|
2712
2746
|
"module": "src/internal/lyra-element.ts"
|
|
2713
2747
|
}
|
|
2714
2748
|
},
|
|
2749
|
+
{
|
|
2750
|
+
"kind": "field",
|
|
2751
|
+
"name": "hasIcon",
|
|
2752
|
+
"type": {
|
|
2753
|
+
"text": "boolean"
|
|
2754
|
+
},
|
|
2755
|
+
"privacy": "private",
|
|
2756
|
+
"default": "false"
|
|
2757
|
+
},
|
|
2715
2758
|
{
|
|
2716
2759
|
"kind": "field",
|
|
2717
2760
|
"name": "imageFailed",
|
|
@@ -2728,7 +2771,7 @@
|
|
|
2728
2771
|
"text": "string"
|
|
2729
2772
|
},
|
|
2730
2773
|
"default": "''",
|
|
2731
|
-
"description": "Fallback text (typically 1-2 characters) shown when no image is set, or the image
|
|
2774
|
+
"description": "Fallback text (typically 1-2 characters) shown when no icon/image is set, or the image\nfails to load.",
|
|
2732
2775
|
"attribute": "initials"
|
|
2733
2776
|
},
|
|
2734
2777
|
{
|
|
@@ -2746,6 +2789,11 @@
|
|
|
2746
2789
|
"module": "src/internal/lyra-element.ts"
|
|
2747
2790
|
}
|
|
2748
2791
|
},
|
|
2792
|
+
{
|
|
2793
|
+
"kind": "field",
|
|
2794
|
+
"name": "onIconSlotChange",
|
|
2795
|
+
"privacy": "private"
|
|
2796
|
+
},
|
|
2749
2797
|
{
|
|
2750
2798
|
"kind": "field",
|
|
2751
2799
|
"name": "onImageError",
|
|
@@ -2769,7 +2817,7 @@
|
|
|
2769
2817
|
"text": "AvatarSize"
|
|
2770
2818
|
},
|
|
2771
2819
|
"default": "'md'",
|
|
2772
|
-
"description": "Visual size. `'
|
|
2820
|
+
"description": "Visual size. `'lg'` matches `--lyra-icon-button-size` (2.5rem); `'md'` (the default) is 2rem.",
|
|
2773
2821
|
"attribute": "size",
|
|
2774
2822
|
"reflects": true
|
|
2775
2823
|
},
|
|
@@ -2779,7 +2827,7 @@
|
|
|
2779
2827
|
"type": {
|
|
2780
2828
|
"text": "string | undefined"
|
|
2781
2829
|
},
|
|
2782
|
-
"description": "Image URL. Takes priority over `initials` when set and loads successfully; falls back to
|
|
2830
|
+
"description": "Image URL. Takes priority over `initials` when set and loads successfully (but not over\nslotted icon content); falls back to `initials` on a load error.",
|
|
2783
2831
|
"attribute": "src"
|
|
2784
2832
|
},
|
|
2785
2833
|
{
|
|
@@ -2968,7 +3016,7 @@
|
|
|
2968
3016
|
"text": "string"
|
|
2969
3017
|
},
|
|
2970
3018
|
"default": "''",
|
|
2971
|
-
"description": "
|
|
3019
|
+
"description": "Alt text -- required alongside `src` for accessibility, and also used as the accessible\nname (via `aria-label`) when showing icon-only slotted content, since a decorative glyph\nhas no text of its own for a screen reader to read.",
|
|
2972
3020
|
"fieldName": "alt"
|
|
2973
3021
|
},
|
|
2974
3022
|
{
|
|
@@ -2977,7 +3025,7 @@
|
|
|
2977
3025
|
"text": "string"
|
|
2978
3026
|
},
|
|
2979
3027
|
"default": "''",
|
|
2980
|
-
"description": "Fallback text (typically 1-2 characters) shown when no image is set, or the image
|
|
3028
|
+
"description": "Fallback text (typically 1-2 characters) shown when no icon/image is set, or the image\nfails to load.",
|
|
2981
3029
|
"fieldName": "initials"
|
|
2982
3030
|
},
|
|
2983
3031
|
{
|
|
@@ -3008,7 +3056,7 @@
|
|
|
3008
3056
|
"text": "AvatarSize"
|
|
3009
3057
|
},
|
|
3010
3058
|
"default": "'md'",
|
|
3011
|
-
"description": "Visual size. `'
|
|
3059
|
+
"description": "Visual size. `'lg'` matches `--lyra-icon-button-size` (2.5rem); `'md'` (the default) is 2rem.",
|
|
3012
3060
|
"fieldName": "size"
|
|
3013
3061
|
},
|
|
3014
3062
|
{
|
|
@@ -3016,7 +3064,7 @@
|
|
|
3016
3064
|
"type": {
|
|
3017
3065
|
"text": "string | undefined"
|
|
3018
3066
|
},
|
|
3019
|
-
"description": "Image URL. Takes priority over `initials` when set and loads successfully; falls back to
|
|
3067
|
+
"description": "Image URL. Takes priority over `initials` when set and loads successfully (but not over\nslotted icon content); falls back to `initials` on a load error.",
|
|
3020
3068
|
"fieldName": "src"
|
|
3021
3069
|
},
|
|
3022
3070
|
{
|
|
@@ -8567,7 +8615,8 @@
|
|
|
8567
8615
|
"type": {
|
|
8568
8616
|
"text": "string"
|
|
8569
8617
|
},
|
|
8570
|
-
"default": "'
|
|
8618
|
+
"default": "''",
|
|
8619
|
+
"description": "Dataset label used for the legend/tooltip/accessible summary. Falls back to a localized \"Frequency\" when unset.",
|
|
8571
8620
|
"attribute": "label"
|
|
8572
8621
|
},
|
|
8573
8622
|
{
|
|
@@ -9232,7 +9281,8 @@
|
|
|
9232
9281
|
"type": {
|
|
9233
9282
|
"text": "string"
|
|
9234
9283
|
},
|
|
9235
|
-
"default": "'
|
|
9284
|
+
"default": "''",
|
|
9285
|
+
"description": "Dataset label used for the legend/tooltip/accessible summary. Falls back to a localized \"Frequency\" when unset.",
|
|
9236
9286
|
"fieldName": "label"
|
|
9237
9287
|
},
|
|
9238
9288
|
{
|
|
@@ -10619,6 +10669,15 @@
|
|
|
10619
10669
|
}
|
|
10620
10670
|
],
|
|
10621
10671
|
"members": [
|
|
10672
|
+
{
|
|
10673
|
+
"kind": "field",
|
|
10674
|
+
"name": "accessibleLabel",
|
|
10675
|
+
"type": {
|
|
10676
|
+
"text": "string | undefined"
|
|
10677
|
+
},
|
|
10678
|
+
"description": "Overrides the `<svg>`'s auto-derived `aria-label` (`datasets.map(d => d.label).join(', ') ||\n'Chart'`) — for a consumer with a real, localized chart description. Unset (the default)\nkeeps today's auto-derived (English-fallback) label exactly. Named `accessible-label` to\nmatch the same override on `lyra-chart`/`lyra-box-plot`.",
|
|
10679
|
+
"attribute": "accessible-label"
|
|
10680
|
+
},
|
|
10622
10681
|
{
|
|
10623
10682
|
"kind": "field",
|
|
10624
10683
|
"name": "activeMarkIndex",
|
|
@@ -10665,15 +10724,6 @@
|
|
|
10665
10724
|
"default": "true",
|
|
10666
10725
|
"attribute": "begin-at-zero"
|
|
10667
10726
|
},
|
|
10668
|
-
{
|
|
10669
|
-
"kind": "field",
|
|
10670
|
-
"name": "chartLabel",
|
|
10671
|
-
"type": {
|
|
10672
|
-
"text": "string | undefined"
|
|
10673
|
-
},
|
|
10674
|
-
"description": "Overrides the `<svg>`'s auto-derived `aria-label` (`datasets.map(d => d.label).join(', ') ||\n'Chart'`) — for a consumer with a real, localized chart description. Unset (the default)\nkeeps today's auto-derived (English-fallback) label exactly.",
|
|
10675
|
-
"attribute": "chart-label"
|
|
10676
|
-
},
|
|
10677
10727
|
{
|
|
10678
10728
|
"kind": "field",
|
|
10679
10729
|
"name": "datasets",
|
|
@@ -10767,12 +10817,11 @@
|
|
|
10767
10817
|
},
|
|
10768
10818
|
{
|
|
10769
10819
|
"kind": "field",
|
|
10770
|
-
"name": "
|
|
10820
|
+
"name": "liveRegion",
|
|
10771
10821
|
"type": {
|
|
10772
|
-
"text": "
|
|
10822
|
+
"text": "LyraLiveRegion | undefined"
|
|
10773
10823
|
},
|
|
10774
|
-
"privacy": "private"
|
|
10775
|
-
"default": "''"
|
|
10824
|
+
"privacy": "private"
|
|
10776
10825
|
},
|
|
10777
10826
|
{
|
|
10778
10827
|
"kind": "field",
|
|
@@ -11586,6 +11635,14 @@
|
|
|
11586
11635
|
}
|
|
11587
11636
|
],
|
|
11588
11637
|
"attributes": [
|
|
11638
|
+
{
|
|
11639
|
+
"name": "accessible-label",
|
|
11640
|
+
"type": {
|
|
11641
|
+
"text": "string | undefined"
|
|
11642
|
+
},
|
|
11643
|
+
"description": "Overrides the `<svg>`'s auto-derived `aria-label` (`datasets.map(d => d.label).join(', ') ||\n'Chart'`) — for a consumer with a real, localized chart description. Unset (the default)\nkeeps today's auto-derived (English-fallback) label exactly. Named `accessible-label` to\nmatch the same override on `lyra-chart`/`lyra-box-plot`.",
|
|
11644
|
+
"fieldName": "accessibleLabel"
|
|
11645
|
+
},
|
|
11589
11646
|
{
|
|
11590
11647
|
"name": "bar-gap-ratio",
|
|
11591
11648
|
"type": {
|
|
@@ -11611,14 +11668,6 @@
|
|
|
11611
11668
|
"default": "true",
|
|
11612
11669
|
"fieldName": "beginAtZero"
|
|
11613
11670
|
},
|
|
11614
|
-
{
|
|
11615
|
-
"name": "chart-label",
|
|
11616
|
-
"type": {
|
|
11617
|
-
"text": "string | undefined"
|
|
11618
|
-
},
|
|
11619
|
-
"description": "Overrides the `<svg>`'s auto-derived `aria-label` (`datasets.map(d => d.label).join(', ') ||\n'Chart'`) — for a consumer with a real, localized chart description. Unset (the default)\nkeeps today's auto-derived (English-fallback) label exactly.",
|
|
11620
|
-
"fieldName": "chartLabel"
|
|
11621
|
-
},
|
|
11622
11671
|
{
|
|
11623
11672
|
"name": "height",
|
|
11624
11673
|
"type": {
|
|
@@ -16304,6 +16353,17 @@
|
|
|
16304
16353
|
"module": "src/internal/lyra-element.ts"
|
|
16305
16354
|
}
|
|
16306
16355
|
},
|
|
16356
|
+
{
|
|
16357
|
+
"kind": "field",
|
|
16358
|
+
"name": "stoppable",
|
|
16359
|
+
"type": {
|
|
16360
|
+
"text": "boolean"
|
|
16361
|
+
},
|
|
16362
|
+
"default": "true",
|
|
16363
|
+
"description": "When `false`, the built-in button never renders as a Stop/cancel control\nwhile busy -- instead it stays a (disabled) Send button, since there is\nno cancellation operation to offer. Defaults to `true`, reproducing\ntoday's Stop-button behavior for every `status` other than `'idle'`.",
|
|
16364
|
+
"attribute": "stoppable",
|
|
16365
|
+
"reflects": true
|
|
16366
|
+
},
|
|
16307
16367
|
{
|
|
16308
16368
|
"kind": "field",
|
|
16309
16369
|
"name": "strings",
|
|
@@ -16578,7 +16638,7 @@
|
|
|
16578
16638
|
"name": "lyra-input"
|
|
16579
16639
|
},
|
|
16580
16640
|
{
|
|
16581
|
-
"description": "Fired by the built-in button while `status` is `\"sending\"` or `\"streaming\"
|
|
16641
|
+
"description": "Fired by the built-in button while `status` is `\"sending\"` or `\"streaming\"` and `stoppable` is `true` (the default). No detail.",
|
|
16582
16642
|
"name": "lyra-stop"
|
|
16583
16643
|
},
|
|
16584
16644
|
{
|
|
@@ -16632,6 +16692,15 @@
|
|
|
16632
16692
|
"default": "'idle'",
|
|
16633
16693
|
"fieldName": "status"
|
|
16634
16694
|
},
|
|
16695
|
+
{
|
|
16696
|
+
"name": "stoppable",
|
|
16697
|
+
"type": {
|
|
16698
|
+
"text": "boolean"
|
|
16699
|
+
},
|
|
16700
|
+
"default": "true",
|
|
16701
|
+
"description": "When `false`, the built-in button never renders as a Stop/cancel control\nwhile busy -- instead it stays a (disabled) Send button, since there is\nno cancellation operation to offer. Defaults to `true`, reproducing\ntoday's Stop-button behavior for every `status` other than `'idle'`.",
|
|
16702
|
+
"fieldName": "stoppable"
|
|
16703
|
+
},
|
|
16635
16704
|
{
|
|
16636
16705
|
"name": "submit-on-enter",
|
|
16637
16706
|
"type": {
|
|
@@ -18557,7 +18626,7 @@
|
|
|
18557
18626
|
"text": "boolean"
|
|
18558
18627
|
},
|
|
18559
18628
|
"default": "false",
|
|
18560
|
-
"description": "Opt-in toggle/pressed mode --
|
|
18629
|
+
"description": "Opt-in toggle/pressed mode -- the current pressed value. Setting `selected` (to `true`, the\ncommon way to start a chip already pressed) opts the chip into toggle mode automatically, so\n`<lyra-chip selected>` alone is enough: `[part='base']` becomes focusable and\nkeyboard-activatable (Enter/Space, mirroring native `<button>` behavior), reflects\n`aria-pressed`, and toggles on click/activation, emitting `lyra-chip-select`. That opt-in\n(tracked by `toggleable`, see below) persists once made, so toggling `selected` back to\n`false` never strips the chip's interactivity -- a chip a user has clicked \"off\" must stay\nclickable to turn it back \"on\". Has no effect (no interactive semantics added to\n`[part='base']`) when combined with `removable`, since the remove button already nests inside\n`[part='base']` -- axe-core's `nested-interactive` rule forbids a focusable descendant of a\n`role=\"button\"` ancestor, and this component's two real use cases (a chart-series visibility\ntoggle, a category filter chip) never need both at once. `false` (the default, with\n`toggleable` also left at its default) reproduces today's exact passive-label-pill output.",
|
|
18561
18630
|
"attribute": "selected",
|
|
18562
18631
|
"reflects": true
|
|
18563
18632
|
},
|
|
@@ -18586,6 +18655,17 @@
|
|
|
18586
18655
|
"module": "src/internal/lyra-element.ts"
|
|
18587
18656
|
}
|
|
18588
18657
|
},
|
|
18658
|
+
{
|
|
18659
|
+
"kind": "field",
|
|
18660
|
+
"name": "toggleable",
|
|
18661
|
+
"type": {
|
|
18662
|
+
"text": "boolean"
|
|
18663
|
+
},
|
|
18664
|
+
"default": "false",
|
|
18665
|
+
"description": "Explicit opt-in into `selected`'s toggle/pressed interactive mode, independent of the\n*current* value of `selected`. Setting `selected` to `true` at any point opts in\nautomatically (see its doc comment) and keeps this `true` from then on, which is enough for\na chip that starts already pressed. Set `toggleable` directly for a chip that must be\nclickable from the outset while starting **unselected** -- e.g. an initially-inactive\ncategory filter chip -- since `selected`'s own default (`false`) can't be distinguished from\n\"never opted in\" on its own.",
|
|
18666
|
+
"attribute": "toggleable",
|
|
18667
|
+
"reflects": true
|
|
18668
|
+
},
|
|
18589
18669
|
{
|
|
18590
18670
|
"kind": "field",
|
|
18591
18671
|
"name": "tone",
|
|
@@ -18751,7 +18831,7 @@
|
|
|
18751
18831
|
],
|
|
18752
18832
|
"events": [
|
|
18753
18833
|
{
|
|
18754
|
-
"description": "Fired on click, or Enter/Space while focused,
|
|
18834
|
+
"description": "Fired on click, or Enter/Space while focused, once the chip has opted into toggle mode (via `selected` or `toggleable`) and `removable` is not set. `detail: { value, selected }` -- the chip has already toggled its own `selected` state by the time this fires.",
|
|
18755
18835
|
"name": "lyra-chip-select"
|
|
18756
18836
|
},
|
|
18757
18837
|
{
|
|
@@ -18788,9 +18868,18 @@
|
|
|
18788
18868
|
"text": "boolean"
|
|
18789
18869
|
},
|
|
18790
18870
|
"default": "false",
|
|
18791
|
-
"description": "Opt-in toggle/pressed mode --
|
|
18871
|
+
"description": "Opt-in toggle/pressed mode -- the current pressed value. Setting `selected` (to `true`, the\ncommon way to start a chip already pressed) opts the chip into toggle mode automatically, so\n`<lyra-chip selected>` alone is enough: `[part='base']` becomes focusable and\nkeyboard-activatable (Enter/Space, mirroring native `<button>` behavior), reflects\n`aria-pressed`, and toggles on click/activation, emitting `lyra-chip-select`. That opt-in\n(tracked by `toggleable`, see below) persists once made, so toggling `selected` back to\n`false` never strips the chip's interactivity -- a chip a user has clicked \"off\" must stay\nclickable to turn it back \"on\". Has no effect (no interactive semantics added to\n`[part='base']`) when combined with `removable`, since the remove button already nests inside\n`[part='base']` -- axe-core's `nested-interactive` rule forbids a focusable descendant of a\n`role=\"button\"` ancestor, and this component's two real use cases (a chart-series visibility\ntoggle, a category filter chip) never need both at once. `false` (the default, with\n`toggleable` also left at its default) reproduces today's exact passive-label-pill output.",
|
|
18792
18872
|
"fieldName": "selected"
|
|
18793
18873
|
},
|
|
18874
|
+
{
|
|
18875
|
+
"name": "toggleable",
|
|
18876
|
+
"type": {
|
|
18877
|
+
"text": "boolean"
|
|
18878
|
+
},
|
|
18879
|
+
"default": "false",
|
|
18880
|
+
"description": "Explicit opt-in into `selected`'s toggle/pressed interactive mode, independent of the\n*current* value of `selected`. Setting `selected` to `true` at any point opts in\nautomatically (see its doc comment) and keeps this `true` from then on, which is enough for\na chip that starts already pressed. Set `toggleable` directly for a chip that must be\nclickable from the outset while starting **unselected** -- e.g. an initially-inactive\ncategory filter chip -- since `selected`'s own default (`false`) can't be distinguished from\n\"never opted in\" on its own.",
|
|
18881
|
+
"fieldName": "toggleable"
|
|
18882
|
+
},
|
|
18794
18883
|
{
|
|
18795
18884
|
"name": "tone",
|
|
18796
18885
|
"type": {
|
|
@@ -20031,6 +20120,116 @@
|
|
|
20031
20120
|
}
|
|
20032
20121
|
]
|
|
20033
20122
|
},
|
|
20123
|
+
{
|
|
20124
|
+
"kind": "javascript-module",
|
|
20125
|
+
"path": "src/components/code-block/code-block-shared.ts",
|
|
20126
|
+
"declarations": [
|
|
20127
|
+
{
|
|
20128
|
+
"kind": "function",
|
|
20129
|
+
"name": "codeBlockBodyLabel",
|
|
20130
|
+
"return": {
|
|
20131
|
+
"type": {
|
|
20132
|
+
"text": "string"
|
|
20133
|
+
}
|
|
20134
|
+
},
|
|
20135
|
+
"parameters": [
|
|
20136
|
+
{
|
|
20137
|
+
"name": "localize",
|
|
20138
|
+
"type": {
|
|
20139
|
+
"text": "LyraLocalizeFn"
|
|
20140
|
+
}
|
|
20141
|
+
},
|
|
20142
|
+
{
|
|
20143
|
+
"name": "filename",
|
|
20144
|
+
"type": {
|
|
20145
|
+
"text": "string"
|
|
20146
|
+
}
|
|
20147
|
+
},
|
|
20148
|
+
{
|
|
20149
|
+
"name": "language",
|
|
20150
|
+
"type": {
|
|
20151
|
+
"text": "string"
|
|
20152
|
+
}
|
|
20153
|
+
}
|
|
20154
|
+
],
|
|
20155
|
+
"description": "The `[part=\"body\"]` region's `aria-label`: the filename when set, else a\nlanguage-aware \"Code\" region label."
|
|
20156
|
+
},
|
|
20157
|
+
{
|
|
20158
|
+
"kind": "function",
|
|
20159
|
+
"name": "codeBlockCopyLabel",
|
|
20160
|
+
"return": {
|
|
20161
|
+
"type": {
|
|
20162
|
+
"text": "string"
|
|
20163
|
+
}
|
|
20164
|
+
},
|
|
20165
|
+
"parameters": [
|
|
20166
|
+
{
|
|
20167
|
+
"name": "localize",
|
|
20168
|
+
"type": {
|
|
20169
|
+
"text": "LyraLocalizeFn"
|
|
20170
|
+
}
|
|
20171
|
+
},
|
|
20172
|
+
{
|
|
20173
|
+
"name": "justCopied",
|
|
20174
|
+
"type": {
|
|
20175
|
+
"text": "boolean"
|
|
20176
|
+
}
|
|
20177
|
+
}
|
|
20178
|
+
],
|
|
20179
|
+
"description": "The copy-to-clipboard header button's `aria-label`."
|
|
20180
|
+
},
|
|
20181
|
+
{
|
|
20182
|
+
"kind": "function",
|
|
20183
|
+
"name": "codeBlockToggleLabel",
|
|
20184
|
+
"return": {
|
|
20185
|
+
"type": {
|
|
20186
|
+
"text": "string"
|
|
20187
|
+
}
|
|
20188
|
+
},
|
|
20189
|
+
"parameters": [
|
|
20190
|
+
{
|
|
20191
|
+
"name": "localize",
|
|
20192
|
+
"type": {
|
|
20193
|
+
"text": "LyraLocalizeFn"
|
|
20194
|
+
}
|
|
20195
|
+
},
|
|
20196
|
+
{
|
|
20197
|
+
"name": "collapsed",
|
|
20198
|
+
"type": {
|
|
20199
|
+
"text": "boolean"
|
|
20200
|
+
}
|
|
20201
|
+
}
|
|
20202
|
+
],
|
|
20203
|
+
"description": "The collapse/expand header toggle button's `aria-label`."
|
|
20204
|
+
}
|
|
20205
|
+
],
|
|
20206
|
+
"exports": [
|
|
20207
|
+
{
|
|
20208
|
+
"kind": "js",
|
|
20209
|
+
"name": "codeBlockBodyLabel",
|
|
20210
|
+
"declaration": {
|
|
20211
|
+
"name": "codeBlockBodyLabel",
|
|
20212
|
+
"module": "src/components/code-block/code-block-shared.ts"
|
|
20213
|
+
}
|
|
20214
|
+
},
|
|
20215
|
+
{
|
|
20216
|
+
"kind": "js",
|
|
20217
|
+
"name": "codeBlockCopyLabel",
|
|
20218
|
+
"declaration": {
|
|
20219
|
+
"name": "codeBlockCopyLabel",
|
|
20220
|
+
"module": "src/components/code-block/code-block-shared.ts"
|
|
20221
|
+
}
|
|
20222
|
+
},
|
|
20223
|
+
{
|
|
20224
|
+
"kind": "js",
|
|
20225
|
+
"name": "codeBlockToggleLabel",
|
|
20226
|
+
"declaration": {
|
|
20227
|
+
"name": "codeBlockToggleLabel",
|
|
20228
|
+
"module": "src/components/code-block/code-block-shared.ts"
|
|
20229
|
+
}
|
|
20230
|
+
}
|
|
20231
|
+
]
|
|
20232
|
+
},
|
|
20034
20233
|
{
|
|
20035
20234
|
"kind": "javascript-module",
|
|
20036
20235
|
"path": "src/components/code-block/code-block.class.ts",
|
|
@@ -21104,7 +21303,8 @@
|
|
|
21104
21303
|
"type": {
|
|
21105
21304
|
"text": "string"
|
|
21106
21305
|
},
|
|
21107
|
-
"default": "'
|
|
21306
|
+
"default": "''",
|
|
21307
|
+
"description": "Status copy shown in the listbox when no rows match. Empty string falls back to a localized message.",
|
|
21108
21308
|
"attribute": "empty-text"
|
|
21109
21309
|
},
|
|
21110
21310
|
{
|
|
@@ -21236,8 +21436,8 @@
|
|
|
21236
21436
|
"type": {
|
|
21237
21437
|
"text": "string"
|
|
21238
21438
|
},
|
|
21239
|
-
"default": "'
|
|
21240
|
-
"description": "Status copy shown in the listbox while a `source` fetch is in flight.",
|
|
21439
|
+
"default": "''",
|
|
21440
|
+
"description": "Status copy shown in the listbox while a `source` fetch is in flight. Empty string falls back to a localized message.",
|
|
21241
21441
|
"attribute": "loading-text"
|
|
21242
21442
|
},
|
|
21243
21443
|
{
|
|
@@ -21373,8 +21573,8 @@
|
|
|
21373
21573
|
"type": {
|
|
21374
21574
|
"text": "string"
|
|
21375
21575
|
},
|
|
21376
|
-
"default": "'
|
|
21377
|
-
"description": "Status copy shown when `maxRender` caps the row list; `{n}` is replaced with the hidden count.",
|
|
21576
|
+
"default": "''",
|
|
21577
|
+
"description": "Status copy shown when `maxRender` caps the row list; `{n}` is replaced with the hidden count. Empty string falls back to a localized message.",
|
|
21378
21578
|
"attribute": "overflow-text"
|
|
21379
21579
|
},
|
|
21380
21580
|
{
|
|
@@ -21946,7 +22146,8 @@
|
|
|
21946
22146
|
"type": {
|
|
21947
22147
|
"text": "string"
|
|
21948
22148
|
},
|
|
21949
|
-
"default": "'
|
|
22149
|
+
"default": "''",
|
|
22150
|
+
"description": "Status copy shown in the listbox when no rows match. Empty string falls back to a localized message.",
|
|
21950
22151
|
"fieldName": "emptyText"
|
|
21951
22152
|
},
|
|
21952
22153
|
{
|
|
@@ -21978,8 +22179,8 @@
|
|
|
21978
22179
|
"type": {
|
|
21979
22180
|
"text": "string"
|
|
21980
22181
|
},
|
|
21981
|
-
"default": "'
|
|
21982
|
-
"description": "Status copy shown in the listbox while a `source` fetch is in flight.",
|
|
22182
|
+
"default": "''",
|
|
22183
|
+
"description": "Status copy shown in the listbox while a `source` fetch is in flight. Empty string falls back to a localized message.",
|
|
21983
22184
|
"fieldName": "loadingText"
|
|
21984
22185
|
},
|
|
21985
22186
|
{
|
|
@@ -22038,8 +22239,8 @@
|
|
|
22038
22239
|
"type": {
|
|
22039
22240
|
"text": "string"
|
|
22040
22241
|
},
|
|
22041
|
-
"default": "'
|
|
22042
|
-
"description": "Status copy shown when `maxRender` caps the row list; `{n}` is replaced with the hidden count.",
|
|
22242
|
+
"default": "''",
|
|
22243
|
+
"description": "Status copy shown when `maxRender` caps the row list; `{n}` is replaced with the hidden count. Empty string falls back to a localized message.",
|
|
22043
22244
|
"fieldName": "overflowText"
|
|
22044
22245
|
},
|
|
22045
22246
|
{
|
|
@@ -22571,6 +22772,16 @@
|
|
|
22571
22772
|
}
|
|
22572
22773
|
],
|
|
22573
22774
|
"members": [
|
|
22775
|
+
{
|
|
22776
|
+
"kind": "field",
|
|
22777
|
+
"name": "clampedUsedTotal",
|
|
22778
|
+
"type": {
|
|
22779
|
+
"text": "{ used: number; total: number }"
|
|
22780
|
+
},
|
|
22781
|
+
"privacy": "private",
|
|
22782
|
+
"description": "`usedTotal` and `total`, both clamped the same way ratios() clamps the\nvisual fill -- a segments array that sums past total must not report an\nimpossible \"160 of 100 used\"/aria-valuenow > aria-valuemax while the\nbar/ring visibly caps at 100%. Shared by `summary` and `willUpdate`'s\naria-value* trio so the announced text and the queryable numeric value\ncan never diverge.",
|
|
22783
|
+
"readonly": true
|
|
22784
|
+
},
|
|
22574
22785
|
{
|
|
22575
22786
|
"kind": "field",
|
|
22576
22787
|
"name": "effectiveDirection",
|
|
@@ -24452,7 +24663,7 @@
|
|
|
24452
24663
|
"text": "string"
|
|
24453
24664
|
},
|
|
24454
24665
|
"default": "'Choose date'",
|
|
24455
|
-
"description": "Accessible name for the calendar popover dialog.
|
|
24666
|
+
"description": "Accessible name for the calendar popover dialog. Left at the built-in default it\nroutes through `this.localize()` so a locale/`.strings` override applies without\nrequiring this to be set; an explicit override wins verbatim.",
|
|
24456
24667
|
"attribute": "dialog-label"
|
|
24457
24668
|
},
|
|
24458
24669
|
{
|
|
@@ -25247,7 +25458,7 @@
|
|
|
25247
25458
|
"text": "string"
|
|
25248
25459
|
},
|
|
25249
25460
|
"default": "'Choose date'",
|
|
25250
|
-
"description": "Accessible name for the calendar popover dialog.
|
|
25461
|
+
"description": "Accessible name for the calendar popover dialog. Left at the built-in default it\nroutes through `this.localize()` so a locale/`.strings` override applies without\nrequiring this to be set; an explicit override wins verbatim.",
|
|
25251
25462
|
"fieldName": "dialogLabel"
|
|
25252
25463
|
},
|
|
25253
25464
|
{
|
|
@@ -25694,7 +25905,7 @@
|
|
|
25694
25905
|
"text": "string"
|
|
25695
25906
|
},
|
|
25696
25907
|
"default": "'Next month'",
|
|
25697
|
-
"description": "Accessible label for the next-month button.
|
|
25908
|
+
"description": "Accessible label for the next-month button. Left at the built-in default it\nroutes through `this.localize()` so a locale/`.strings` override applies without\nrequiring this to be set; an explicit override wins verbatim.",
|
|
25698
25909
|
"attribute": "next-label"
|
|
25699
25910
|
},
|
|
25700
25911
|
{
|
|
@@ -25709,7 +25920,7 @@
|
|
|
25709
25920
|
"text": "string"
|
|
25710
25921
|
},
|
|
25711
25922
|
"default": "'Previous month'",
|
|
25712
|
-
"description": "Accessible label for the previous-month button.
|
|
25923
|
+
"description": "Accessible label for the previous-month button. Left at the built-in default it\nroutes through `this.localize()` so a locale/`.strings` override applies without\nrequiring this to be set; an explicit override wins verbatim.",
|
|
25713
25924
|
"attribute": "previous-label"
|
|
25714
25925
|
},
|
|
25715
25926
|
{
|
|
@@ -26471,7 +26682,7 @@
|
|
|
26471
26682
|
"text": "string"
|
|
26472
26683
|
},
|
|
26473
26684
|
"default": "'Next month'",
|
|
26474
|
-
"description": "Accessible label for the next-month button.
|
|
26685
|
+
"description": "Accessible label for the next-month button. Left at the built-in default it\nroutes through `this.localize()` so a locale/`.strings` override applies without\nrequiring this to be set; an explicit override wins verbatim.",
|
|
26475
26686
|
"fieldName": "nextLabel"
|
|
26476
26687
|
},
|
|
26477
26688
|
{
|
|
@@ -26480,7 +26691,7 @@
|
|
|
26480
26691
|
"text": "string"
|
|
26481
26692
|
},
|
|
26482
26693
|
"default": "'Previous month'",
|
|
26483
|
-
"description": "Accessible label for the previous-month button.
|
|
26694
|
+
"description": "Accessible label for the previous-month button. Left at the built-in default it\nroutes through `this.localize()` so a locale/`.strings` override applies without\nrequiring this to be set; an explicit override wins verbatim.",
|
|
26484
26695
|
"fieldName": "previousLabel"
|
|
26485
26696
|
},
|
|
26486
26697
|
{
|
|
@@ -27191,6 +27402,14 @@
|
|
|
27191
27402
|
}
|
|
27192
27403
|
],
|
|
27193
27404
|
"members": [
|
|
27405
|
+
{
|
|
27406
|
+
"kind": "field",
|
|
27407
|
+
"name": "copyTimeoutId",
|
|
27408
|
+
"type": {
|
|
27409
|
+
"text": "ReturnType<typeof setTimeout> | undefined"
|
|
27410
|
+
},
|
|
27411
|
+
"privacy": "private"
|
|
27412
|
+
},
|
|
27194
27413
|
{
|
|
27195
27414
|
"kind": "field",
|
|
27196
27415
|
"name": "copyable",
|
|
@@ -27229,6 +27448,15 @@
|
|
|
27229
27448
|
"module": "src/internal/lyra-element.ts"
|
|
27230
27449
|
}
|
|
27231
27450
|
},
|
|
27451
|
+
{
|
|
27452
|
+
"kind": "field",
|
|
27453
|
+
"name": "justCopied",
|
|
27454
|
+
"type": {
|
|
27455
|
+
"text": "boolean"
|
|
27456
|
+
},
|
|
27457
|
+
"privacy": "private",
|
|
27458
|
+
"default": "false"
|
|
27459
|
+
},
|
|
27232
27460
|
{
|
|
27233
27461
|
"kind": "field",
|
|
27234
27462
|
"name": "locale",
|
|
@@ -29353,6 +29581,15 @@
|
|
|
29353
29581
|
}
|
|
29354
29582
|
],
|
|
29355
29583
|
"members": [
|
|
29584
|
+
{
|
|
29585
|
+
"kind": "field",
|
|
29586
|
+
"name": "_isFirstUpdate",
|
|
29587
|
+
"type": {
|
|
29588
|
+
"text": "boolean"
|
|
29589
|
+
},
|
|
29590
|
+
"privacy": "private",
|
|
29591
|
+
"default": "true"
|
|
29592
|
+
},
|
|
29356
29593
|
{
|
|
29357
29594
|
"kind": "field",
|
|
29358
29595
|
"name": "cleanup",
|
|
@@ -29394,6 +29631,16 @@
|
|
|
29394
29631
|
"module": "src/internal/lyra-element.ts"
|
|
29395
29632
|
}
|
|
29396
29633
|
},
|
|
29634
|
+
{
|
|
29635
|
+
"kind": "field",
|
|
29636
|
+
"name": "effectiveLabel",
|
|
29637
|
+
"type": {
|
|
29638
|
+
"text": "string"
|
|
29639
|
+
},
|
|
29640
|
+
"privacy": "private",
|
|
29641
|
+
"description": "Resolves `label`'s effective text: an explicit override wins verbatim; left at the\nbuilt-in default it instead routes through `this.localize()` so a locale/`.strings`\noverride applies without requiring `label` itself to be set.",
|
|
29642
|
+
"readonly": true
|
|
29643
|
+
},
|
|
29397
29644
|
{
|
|
29398
29645
|
"kind": "field",
|
|
29399
29646
|
"name": "effectiveLocale",
|
|
@@ -29432,7 +29679,7 @@
|
|
|
29432
29679
|
"text": "string"
|
|
29433
29680
|
},
|
|
29434
29681
|
"default": "'Export'",
|
|
29435
|
-
"description": "Trigger button text, also feeds the format menu's `aria-label` (as\n\"`${label} format`\") so assistive tech gets an accessible name for it.",
|
|
29682
|
+
"description": "Trigger button text, also feeds the format menu's `aria-label` (as\n\"`${label} format`\") so assistive tech gets an accessible name for it.\nLeft at its default English `'Export'`, the rendered text instead\ncomes from `this.localize('exportButtonLabel', ...)` -- override-able\nvia `.strings`/`registerLyraLocale()` -- same convention as\n`lyra-attachment-chip`'s `removeLabel`/`retryLabel`. Set this\nattribute explicitly for a one-off override that always wins.",
|
|
29436
29683
|
"attribute": "label"
|
|
29437
29684
|
},
|
|
29438
29685
|
{
|
|
@@ -29804,6 +30051,14 @@
|
|
|
29804
30051
|
{
|
|
29805
30052
|
"description": "Fired after a non-cancelled download completes.",
|
|
29806
30053
|
"name": "lyra-export-complete"
|
|
30054
|
+
},
|
|
30055
|
+
{
|
|
30056
|
+
"description": "The format menu closed. Same first-render guard as `lyra-show`.",
|
|
30057
|
+
"name": "lyra-hide"
|
|
30058
|
+
},
|
|
30059
|
+
{
|
|
30060
|
+
"description": "The format menu opened. Not fired for markup that renders open from the start.",
|
|
30061
|
+
"name": "lyra-show"
|
|
29807
30062
|
}
|
|
29808
30063
|
],
|
|
29809
30064
|
"attributes": [
|
|
@@ -29829,7 +30084,7 @@
|
|
|
29829
30084
|
"text": "string"
|
|
29830
30085
|
},
|
|
29831
30086
|
"default": "'Export'",
|
|
29832
|
-
"description": "Trigger button text, also feeds the format menu's `aria-label` (as\n\"`${label} format`\") so assistive tech gets an accessible name for it.",
|
|
30087
|
+
"description": "Trigger button text, also feeds the format menu's `aria-label` (as\n\"`${label} format`\") so assistive tech gets an accessible name for it.\nLeft at its default English `'Export'`, the rendered text instead\ncomes from `this.localize('exportButtonLabel', ...)` -- override-able\nvia `.strings`/`registerLyraLocale()` -- same convention as\n`lyra-attachment-chip`'s `removeLabel`/`retryLabel`. Set this\nattribute explicitly for a one-off override that always wins.",
|
|
29833
30088
|
"fieldName": "label"
|
|
29834
30089
|
},
|
|
29835
30090
|
{
|
|
@@ -30038,6 +30293,16 @@
|
|
|
30038
30293
|
"module": "src/internal/lyra-element.ts"
|
|
30039
30294
|
}
|
|
30040
30295
|
},
|
|
30296
|
+
{
|
|
30297
|
+
"kind": "field",
|
|
30298
|
+
"name": "effectiveLabel",
|
|
30299
|
+
"type": {
|
|
30300
|
+
"text": "string"
|
|
30301
|
+
},
|
|
30302
|
+
"privacy": "private",
|
|
30303
|
+
"description": "Resolves `label`'s effective text: an explicit override wins verbatim; left at the\nbuilt-in default it instead routes through `this.localize()` so a locale/`.strings`\noverride applies without requiring `label` itself to be set.",
|
|
30304
|
+
"readonly": true
|
|
30305
|
+
},
|
|
30041
30306
|
{
|
|
30042
30307
|
"kind": "field",
|
|
30043
30308
|
"name": "effectiveLocale",
|
|
@@ -32153,6 +32418,10 @@
|
|
|
32153
32418
|
"description": "A visually hidden list alternative for graph data.",
|
|
32154
32419
|
"name": "data-list"
|
|
32155
32420
|
},
|
|
32421
|
+
{
|
|
32422
|
+
"description": "The empty-state message, shown when `nodes` is empty.",
|
|
32423
|
+
"name": "empty"
|
|
32424
|
+
},
|
|
32156
32425
|
{
|
|
32157
32426
|
"description": "A node label.",
|
|
32158
32427
|
"name": "label"
|
|
@@ -32727,7 +32996,8 @@
|
|
|
32727
32996
|
"text": "() => void"
|
|
32728
32997
|
}
|
|
32729
32998
|
}
|
|
32730
|
-
]
|
|
32999
|
+
],
|
|
33000
|
+
"description": "The forward physical arrow key (`ArrowRight` in LTR, `ArrowLeft` under\n`dir=\"rtl\"` — see `isRtl()`) moves to the next roving-tabindex item, the\nbackward one to the previous, in flat array order (`simNodes` then\n`simLinks`) — the same `forwardKey`/`backwardKey` swap this library's\nother \"physical arrow key drives sequential previous/next\" components\n(`<lyra-tabs>`, `<lyra-slider>`, `<lyra-segmented>`) apply under RTL.\n`ArrowDown`/`ArrowUp` always mean next/previous regardless of direction."
|
|
32731
33001
|
},
|
|
32732
33002
|
{
|
|
32733
33003
|
"kind": "method",
|
|
@@ -34570,7 +34840,7 @@
|
|
|
34570
34840
|
}
|
|
34571
34841
|
}
|
|
34572
34842
|
],
|
|
34573
|
-
"description": "Locale-derived weekday-axis labels for the 7 rows drawn down the left of\nthe calendar grid.
|
|
34843
|
+
"description": "Locale-derived weekday-axis labels for the 7 rows drawn down the left of\nthe calendar grid. The labeled weekdays are always Monday, Wednesday, and\nFriday — matching today's sparse every-other-day label density — the\nrest stay blank. Which *row* each one lands on depends on\n`firstDayOfWeek`, since `buildCalendarGrid()` anchors `firstWeekStart`\n(and therefore row 0) at that weekday. For each target weekday (using\nthe standard JS convention, Sunday=0..Saturday=6, so Monday=1,\nWednesday=3, Friday=5), the row is `(weekday - firstDayOfWeek + 7) % 7`;\nwith the default `firstDayOfWeek` of 0 this reduces to rows 1/3/5,\nunchanged. The label *text* for each computed row is derived via\n`Intl.DateTimeFormat` on a real UTC date that actually falls on that row,\nso it follows the runtime locale instead of a hardcoded English array\n(see `calendarCellText()`'s tooltip text for the same pattern)."
|
|
34574
34844
|
}
|
|
34575
34845
|
],
|
|
34576
34846
|
"events": [
|
|
@@ -35766,6 +36036,13 @@
|
|
|
35766
36036
|
"type": {
|
|
35767
36037
|
"text": "boolean"
|
|
35768
36038
|
}
|
|
36039
|
+
},
|
|
36040
|
+
{
|
|
36041
|
+
"name": "localize",
|
|
36042
|
+
"optional": true,
|
|
36043
|
+
"type": {
|
|
36044
|
+
"text": "KbdLocalize"
|
|
36045
|
+
}
|
|
35769
36046
|
}
|
|
35770
36047
|
],
|
|
35771
36048
|
"description": "Splits a `keys` string (e.g. `'mod+shift+p'`) into its resolved token\nlabels, dropping empty segments from stray/leading/trailing `+`s."
|
|
@@ -35790,9 +36067,16 @@
|
|
|
35790
36067
|
"type": {
|
|
35791
36068
|
"text": "boolean"
|
|
35792
36069
|
}
|
|
36070
|
+
},
|
|
36071
|
+
{
|
|
36072
|
+
"name": "localize",
|
|
36073
|
+
"optional": true,
|
|
36074
|
+
"type": {
|
|
36075
|
+
"text": "KbdLocalize"
|
|
36076
|
+
}
|
|
35793
36077
|
}
|
|
35794
36078
|
],
|
|
35795
|
-
"description": "Resolves one `+`-separated token of a `keys` string to its rendered glyph\nand spelled-out word, given whether the shortcut is being shown on macOS.\n\nExported as a pure function (parameterized on `isMac` rather than reading\nthe module-scope platform constant directly) so both the macOS and\nnon-macOS branches are directly unit-testable without having to spoof\n`navigator` in a browser test environment that only ever runs as one\nplatform."
|
|
36079
|
+
"description": "Resolves one `+`-separated token of a `keys` string to its rendered glyph\nand spelled-out word, given whether the shortcut is being shown on macOS.\n\nExported as a pure function (parameterized on `isMac` rather than reading\nthe module-scope platform constant directly) so both the macOS and\nnon-macOS branches are directly unit-testable without having to spoof\n`navigator` in a browser test environment that only ever runs as one\nplatform. `localize`, likewise, is an optional parameter (rather than this\nfunction reaching for a component instance's `this.localize()` itself) for\nthe same reason -- every existing 2-arg call keeps returning the literal\nbuilt-in English defaults unchanged; only `<lyra-kbd>`'s own `render()`\npasses one, bound to `this.localize()`."
|
|
35796
36080
|
}
|
|
35797
36081
|
],
|
|
35798
36082
|
"exports": [
|
|
@@ -36446,6 +36730,16 @@
|
|
|
36446
36730
|
},
|
|
36447
36731
|
"privacy": "private"
|
|
36448
36732
|
},
|
|
36733
|
+
{
|
|
36734
|
+
"kind": "field",
|
|
36735
|
+
"name": "label",
|
|
36736
|
+
"type": {
|
|
36737
|
+
"text": "string"
|
|
36738
|
+
},
|
|
36739
|
+
"default": "''",
|
|
36740
|
+
"description": "Accessible name for the map region, applied as `[part=\"base\"]`'s `aria-label` so\nscreen-reader users get a description of an otherwise purely visual control.\nEmpty (the default) falls back to the localized `'map'` message.",
|
|
36741
|
+
"attribute": "label"
|
|
36742
|
+
},
|
|
36449
36743
|
{
|
|
36450
36744
|
"kind": "field",
|
|
36451
36745
|
"name": "legend",
|
|
@@ -36747,6 +37041,15 @@
|
|
|
36747
37041
|
"default": "[0, 0]",
|
|
36748
37042
|
"fieldName": "center"
|
|
36749
37043
|
},
|
|
37044
|
+
{
|
|
37045
|
+
"name": "label",
|
|
37046
|
+
"type": {
|
|
37047
|
+
"text": "string"
|
|
37048
|
+
},
|
|
37049
|
+
"default": "''",
|
|
37050
|
+
"description": "Accessible name for the map region, applied as `[part=\"base\"]`'s `aria-label` so\nscreen-reader users get a description of an otherwise purely visual control.\nEmpty (the default) falls back to the localized `'map'` message.",
|
|
37051
|
+
"fieldName": "label"
|
|
37052
|
+
},
|
|
36750
37053
|
{
|
|
36751
37054
|
"name": "locale",
|
|
36752
37055
|
"type": {
|
|
@@ -36918,10 +37221,22 @@
|
|
|
36918
37221
|
"description": "Every rendered `<img>`.",
|
|
36919
37222
|
"name": "img"
|
|
36920
37223
|
},
|
|
37224
|
+
{
|
|
37225
|
+
"description": "Every rendered inline `<code>` span (backtick spans, not fenced blocks).",
|
|
37226
|
+
"name": "inline-code"
|
|
37227
|
+
},
|
|
36921
37228
|
{
|
|
36922
37229
|
"description": "Every rendered `<a>`.",
|
|
36923
37230
|
"name": "link"
|
|
36924
37231
|
},
|
|
37232
|
+
{
|
|
37233
|
+
"description": "Every rendered `<ul>`/`<ol>`.",
|
|
37234
|
+
"name": "list"
|
|
37235
|
+
},
|
|
37236
|
+
{
|
|
37237
|
+
"description": "Every rendered `<p>`.",
|
|
37238
|
+
"name": "paragraph"
|
|
37239
|
+
},
|
|
36925
37240
|
{
|
|
36926
37241
|
"description": "Every rendered `<table>`.",
|
|
36927
37242
|
"name": "table"
|
|
@@ -38146,6 +38461,26 @@
|
|
|
38146
38461
|
"module": "src/internal/lyra-element.ts"
|
|
38147
38462
|
}
|
|
38148
38463
|
},
|
|
38464
|
+
{
|
|
38465
|
+
"kind": "field",
|
|
38466
|
+
"name": "effectiveEmptyText",
|
|
38467
|
+
"type": {
|
|
38468
|
+
"text": "string"
|
|
38469
|
+
},
|
|
38470
|
+
"privacy": "private",
|
|
38471
|
+
"description": "Resolves `emptyText`'s effective text: an explicit override wins verbatim; left at the\nbuilt-in default it instead routes through `this.localize()` so a locale/`.strings`\noverride applies without requiring `emptyText` itself to be set.",
|
|
38472
|
+
"readonly": true
|
|
38473
|
+
},
|
|
38474
|
+
{
|
|
38475
|
+
"kind": "field",
|
|
38476
|
+
"name": "effectiveLabel",
|
|
38477
|
+
"type": {
|
|
38478
|
+
"text": "string"
|
|
38479
|
+
},
|
|
38480
|
+
"privacy": "private",
|
|
38481
|
+
"description": "Resolves `label`'s effective text: an explicit override wins verbatim; left at the\nbuilt-in default it instead routes through `this.localize()` so a locale/`.strings`\noverride applies without requiring `label` itself to be set.",
|
|
38482
|
+
"readonly": true
|
|
38483
|
+
},
|
|
38149
38484
|
{
|
|
38150
38485
|
"kind": "field",
|
|
38151
38486
|
"name": "effectiveLocale",
|
|
@@ -39108,7 +39443,7 @@
|
|
|
39108
39443
|
"declarations": [
|
|
39109
39444
|
{
|
|
39110
39445
|
"kind": "class",
|
|
39111
|
-
"description": "`<lyra-menu>` — an anchored dropdown of `<lyra-menu-item>` actions, opened\nfrom a consumer-supplied trigger (typically an icon button). A close, drop-\nin-shaped replacement for reaching outside this library for a third-party\ndropdown to build a gear menu, an avatar menu, or a history row's overflow\nmenu: click the trigger, a positioned menu appears, clicking an item both\nperforms the action *and* closes the menu.\n\n**ARIA pattern — `role=\"menu\"`/`role=\"menuitem\"` with real roving DOM\nfocus, not a listbox.** Two coherent, mutually-exclusive shapes were\navailable here: (a) `role=\"listbox\"`/`role=\"option\"` with\n`aria-activedescendant`, the pattern `<lyra-select>`'s trigger-button +\npopup listbox uses, where DOM focus never leaves the trigger; or (b)\n`role=\"menu\"`/`role=\"menuitem\"` with real focus moving between actual\nfocusable rows, the WAI-ARIA \"menu button\" pattern. This picks (b):\n`<lyra-menu-item>` rows are real, independently-focusable elements (see\nthat class's own doc), which is the more natural fit for a menu\nspecifically — unlike a listbox's rows, a menu's rows are conventionally\nbutton-/link-shaped, and every well-known native/OS menu (and this\nfamily's own `<lyra-tree>`/`<lyra-tree-node>` pair, which this component's\nroving-tabindex plumbing directly mirrors) already moves real focus rather\nthan merely a virtual `aria-activedescendant` pointer. `role`/`tabIndex`\nare consistently the menu-button shape throughout — never mixed with\nlistbox/option.\n\nInteraction contract (mirrors the WAI-ARIA APG \"menu button\" pattern):\n- Click the trigger (or Enter/Space on it, via the trigger's own native\n `click` activation) toggles the menu, moving focus to the first\n non-disabled item on open.\n- ArrowDown/ArrowUp on the trigger while closed also open it, focusing the\n first/last non-disabled item respectively.\n- Once open, ArrowDown/ArrowUp move the roving focus among non-disabled\n items (wrapping past either end — the recommended, and more common,\n menu-widget behavior, unlike `<lyra-select>`'s clamped listbox nav).\n Home/End jump to the first/last non-disabled item. Enter/Space activate\n the focused item. Escape closes and returns focus to the trigger. Tab\n closes the menu without trapping focus (the browser's own default Tab\n behavior proceeds untouched). A printable keypress runs type-ahead:\n roving focus jumps to the next non-disabled item whose text starts with\n the accumulated buffer, cycling from just after the active item (mirrors\n `<lyra-select>`'s identical listbox type-ahead).\n- A click outside both the trigger and the open popup closes it (mirrors\n `<lyra-select>`'s `onDocPointer` exactly) — this does *not* refocus the\n trigger, since the outside click itself already moved focus somewhere\n the user chose; Escape and a committed selection *do* refocus the\n trigger, since those are dismissals with nowhere else for focus to go.\n\nThe trigger element itself is read from the `trigger` slot's assigned\nelement (first one, if several are assigned) and enhanced imperatively\nwith `aria-haspopup=\"menu\"`/`aria-expanded`/`aria-controls` — the same\n\"reach into a consumer-owned light-DOM element to complete its a11y\nwiring\" approach `<lyra-dialog>` documents for its own heading detection,\nnecessary here because those attributes belong on the actual interactive\ntrigger, which lives outside this component's own shadow root.\n\nThe popup is always rendered (never `display:none`) so `.focus()` calls on\nits content work synchronously the instant it opens — visually hidden via\n`visibility`/`opacity` instead (identical to `<lyra-select>`'s own\n`[part=\"listbox\"]`). `visibility` is an inherited CSS property that\npierces the `<slot>` projection boundary, so every closed-state\n`<lyra-menu-item>` is automatically excluded from sequential (Tab-key)\nnavigation with no separate JS bookkeeping.",
|
|
39446
|
+
"description": "`<lyra-menu>` — an anchored dropdown of `<lyra-menu-item>` actions, opened\nfrom a consumer-supplied trigger (typically an icon button). A close, drop-\nin-shaped replacement for reaching outside this library for a third-party\ndropdown to build a gear menu, an avatar menu, or a history row's overflow\nmenu: click the trigger, a positioned menu appears, clicking an item both\nperforms the action *and* closes the menu.\n\n**ARIA pattern — `role=\"menu\"`/`role=\"menuitem\"` with real roving DOM\nfocus, not a listbox.** Two coherent, mutually-exclusive shapes were\navailable here: (a) `role=\"listbox\"`/`role=\"option\"` with\n`aria-activedescendant`, the pattern `<lyra-select>`'s trigger-button +\npopup listbox uses, where DOM focus never leaves the trigger; or (b)\n`role=\"menu\"`/`role=\"menuitem\"` with real focus moving between actual\nfocusable rows, the WAI-ARIA \"menu button\" pattern. This picks (b):\n`<lyra-menu-item>` rows are real, independently-focusable elements (see\nthat class's own doc), which is the more natural fit for a menu\nspecifically — unlike a listbox's rows, a menu's rows are conventionally\nbutton-/link-shaped, and every well-known native/OS menu (and this\nfamily's own `<lyra-tree>`/`<lyra-tree-node>` pair, which this component's\nroving-tabindex plumbing directly mirrors) already moves real focus rather\nthan merely a virtual `aria-activedescendant` pointer. `role`/`tabIndex`\nare consistently the menu-button shape throughout — never mixed with\nlistbox/option.\n\nInteraction contract (mirrors the WAI-ARIA APG \"menu button\" pattern):\n- Click the trigger (or Enter/Space on it, via the trigger's own native\n `click` activation) toggles the menu, moving focus to the first\n non-disabled item on open.\n- ArrowDown/ArrowUp on the trigger while closed also open it, focusing the\n first/last non-disabled item respectively.\n- Once open, ArrowDown/ArrowUp move the roving focus among non-disabled\n items (wrapping past either end — the recommended, and more common,\n menu-widget behavior, unlike `<lyra-select>`'s clamped listbox nav).\n Home/End jump to the first/last non-disabled item. Enter/Space activate\n the focused item. Escape closes and returns focus to the trigger. Tab\n closes the menu without trapping focus (the browser's own default Tab\n behavior proceeds untouched). A printable keypress runs type-ahead:\n roving focus jumps to the next non-disabled item whose text starts with\n the accumulated buffer, cycling from just after the active item (mirrors\n `<lyra-select>`'s identical listbox type-ahead). All of the above (except\n Escape) only respond to keydowns from a real `<lyra-menu-item>` target,\n so a slotted non-item control (e.g. a date input) keeps its own full\n default keyboard behavior. Escape from such a slotted control closes the\n menu too, but only when `closeOnEscapeAnywhere` is set — it defaults to\n `false`, so existing consumers keep today's behavior unchanged.\n- A click outside both the trigger and the open popup closes it (mirrors\n `<lyra-select>`'s `onDocPointer` exactly) — this does *not* refocus the\n trigger, since the outside click itself already moved focus somewhere\n the user chose; Escape and a committed selection *do* refocus the\n trigger, since those are dismissals with nowhere else for focus to go.\n\nThe trigger element itself is read from the `trigger` slot's assigned\nelement (first one, if several are assigned) and enhanced imperatively\nwith `aria-haspopup=\"menu\"`/`aria-expanded`/`aria-controls` — the same\n\"reach into a consumer-owned light-DOM element to complete its a11y\nwiring\" approach `<lyra-dialog>` documents for its own heading detection,\nnecessary here because those attributes belong on the actual interactive\ntrigger, which lives outside this component's own shadow root.\n\nThe popup is always rendered (never `display:none`) so `.focus()` calls on\nits content work synchronously the instant it opens — visually hidden via\n`visibility`/`opacity` instead (identical to `<lyra-select>`'s own\n`[part=\"listbox\"]`). `visibility` is an inherited CSS property that\npierces the `<slot>` projection boundary, so every closed-state\n`<lyra-menu-item>` is automatically excluded from sequential (Tab-key)\nnavigation with no separate JS bookkeeping.",
|
|
39112
39447
|
"name": "LyraMenu",
|
|
39113
39448
|
"cssParts": [
|
|
39114
39449
|
{
|
|
@@ -39161,6 +39496,16 @@
|
|
|
39161
39496
|
},
|
|
39162
39497
|
"privacy": "private"
|
|
39163
39498
|
},
|
|
39499
|
+
{
|
|
39500
|
+
"kind": "field",
|
|
39501
|
+
"name": "closeOnEscapeAnywhere",
|
|
39502
|
+
"type": {
|
|
39503
|
+
"text": "boolean"
|
|
39504
|
+
},
|
|
39505
|
+
"default": "false",
|
|
39506
|
+
"description": "Extends the Escape-closes-and-refocuses-trigger behavior to keydown\nevents originating from slotted non-item content within `[part=\"list\"]`\n(e.g. a date input or a custom section slotted alongside\n`<lyra-menu-item>`s), not just from a real `<lyra-menu-item>`. Default\n`false` leaves Escape from slotted non-item content with full default\nkeyboard behavior, matching every existing consumer. Arrow/Home/End/\nEnter/Space stay scoped to real `<lyra-menu-item>` targets regardless of\nthis property — only Escape is affected.",
|
|
39507
|
+
"attribute": "close-on-escape-anywhere"
|
|
39508
|
+
},
|
|
39164
39509
|
{
|
|
39165
39510
|
"kind": "field",
|
|
39166
39511
|
"name": "effectiveDirection",
|
|
@@ -39175,6 +39520,16 @@
|
|
|
39175
39520
|
"module": "src/internal/lyra-element.ts"
|
|
39176
39521
|
}
|
|
39177
39522
|
},
|
|
39523
|
+
{
|
|
39524
|
+
"kind": "field",
|
|
39525
|
+
"name": "effectiveLabel",
|
|
39526
|
+
"type": {
|
|
39527
|
+
"text": "string"
|
|
39528
|
+
},
|
|
39529
|
+
"privacy": "private",
|
|
39530
|
+
"description": "Resolves `label`'s effective text: an explicit override wins verbatim; left at the\nbuilt-in default it instead routes through `this.localize()` so a locale/`.strings`\noverride applies without requiring `label` itself to be set.",
|
|
39531
|
+
"readonly": true
|
|
39532
|
+
},
|
|
39178
39533
|
{
|
|
39179
39534
|
"kind": "field",
|
|
39180
39535
|
"name": "effectiveLocale",
|
|
@@ -39213,7 +39568,7 @@
|
|
|
39213
39568
|
"text": "string"
|
|
39214
39569
|
},
|
|
39215
39570
|
"default": "'Menu'",
|
|
39216
|
-
"description": "Accessible name for the `role=\"menu\"` popup — override with something\nspecific (e.g. \"Row actions\") when a page has more than one menu.",
|
|
39571
|
+
"description": "Accessible name for the `role=\"menu\"` popup — override with something\nspecific (e.g. \"Row actions\") when a page has more than one menu.\nLocalized (`menuLabel`) when left at its default.",
|
|
39217
39572
|
"attribute": "label"
|
|
39218
39573
|
},
|
|
39219
39574
|
{
|
|
@@ -39664,13 +40019,22 @@
|
|
|
39664
40019
|
}
|
|
39665
40020
|
],
|
|
39666
40021
|
"attributes": [
|
|
40022
|
+
{
|
|
40023
|
+
"name": "close-on-escape-anywhere",
|
|
40024
|
+
"type": {
|
|
40025
|
+
"text": "boolean"
|
|
40026
|
+
},
|
|
40027
|
+
"default": "false",
|
|
40028
|
+
"description": "Extends the Escape-closes-and-refocuses-trigger behavior to keydown\nevents originating from slotted non-item content within `[part=\"list\"]`\n(e.g. a date input or a custom section slotted alongside\n`<lyra-menu-item>`s), not just from a real `<lyra-menu-item>`. Default\n`false` leaves Escape from slotted non-item content with full default\nkeyboard behavior, matching every existing consumer. Arrow/Home/End/\nEnter/Space stay scoped to real `<lyra-menu-item>` targets regardless of\nthis property — only Escape is affected.",
|
|
40029
|
+
"fieldName": "closeOnEscapeAnywhere"
|
|
40030
|
+
},
|
|
39667
40031
|
{
|
|
39668
40032
|
"name": "label",
|
|
39669
40033
|
"type": {
|
|
39670
40034
|
"text": "string"
|
|
39671
40035
|
},
|
|
39672
40036
|
"default": "'Menu'",
|
|
39673
|
-
"description": "Accessible name for the `role=\"menu\"` popup — override with something\nspecific (e.g. \"Row actions\") when a page has more than one menu.",
|
|
40037
|
+
"description": "Accessible name for the `role=\"menu\"` popup — override with something\nspecific (e.g. \"Row actions\") when a page has more than one menu.\nLocalized (`menuLabel`) when left at its default.",
|
|
39674
40038
|
"fieldName": "label"
|
|
39675
40039
|
},
|
|
39676
40040
|
{
|
|
@@ -40342,6 +40706,17 @@
|
|
|
40342
40706
|
"module": "src/internal/lyra-element.ts"
|
|
40343
40707
|
}
|
|
40344
40708
|
},
|
|
40709
|
+
{
|
|
40710
|
+
"kind": "method",
|
|
40711
|
+
"name": "emitValueEvents",
|
|
40712
|
+
"privacy": "private",
|
|
40713
|
+
"return": {
|
|
40714
|
+
"type": {
|
|
40715
|
+
"text": "void"
|
|
40716
|
+
}
|
|
40717
|
+
},
|
|
40718
|
+
"description": "Dispatches the platform-style value-event pair alongside `lyra-change`,\nmirroring `<lyra-select>`/`<lyra-combobox>` so native form bindings and\nframework `v-model` handlers behave consistently across the picker\nfamily."
|
|
40719
|
+
},
|
|
40345
40720
|
{
|
|
40346
40721
|
"kind": "method",
|
|
40347
40722
|
"name": "formDisabledCallback",
|
|
@@ -40625,6 +41000,20 @@
|
|
|
40625
41000
|
}
|
|
40626
41001
|
],
|
|
40627
41002
|
"events": [
|
|
41003
|
+
{
|
|
41004
|
+
"name": "change",
|
|
41005
|
+
"type": {
|
|
41006
|
+
"text": "Event"
|
|
41007
|
+
},
|
|
41008
|
+
"description": "Fired alongside `lyra-change`, mirroring `<lyra-select>`/`<lyra-combobox>`'s native-style value-change pair so native form bindings/framework `v-model` handlers behave consistently across the picker family."
|
|
41009
|
+
},
|
|
41010
|
+
{
|
|
41011
|
+
"name": "input",
|
|
41012
|
+
"type": {
|
|
41013
|
+
"text": "Event"
|
|
41014
|
+
},
|
|
41015
|
+
"description": "Fired alongside `change`/`lyra-change` (see `change`)."
|
|
41016
|
+
},
|
|
40628
41017
|
{
|
|
40629
41018
|
"description": "The selected/typed value changed. `detail: { value: string; inCatalog: boolean }`.",
|
|
40630
41019
|
"name": "lyra-change"
|
|
@@ -41361,6 +41750,7 @@
|
|
|
41361
41750
|
"text": "number"
|
|
41362
41751
|
},
|
|
41363
41752
|
"default": "0",
|
|
41753
|
+
"description": "The current step, in `[0, length)`.",
|
|
41364
41754
|
"attribute": "index"
|
|
41365
41755
|
},
|
|
41366
41756
|
{
|
|
@@ -41370,6 +41760,7 @@
|
|
|
41370
41760
|
"text": "number"
|
|
41371
41761
|
},
|
|
41372
41762
|
"default": "900",
|
|
41763
|
+
"description": "Delay between ticks, in milliseconds, while playing. Clamped to\n`[MIN_INTERVAL_MS, MAX_TIMEOUT_MS]` — see `scheduleTick()`.",
|
|
41373
41764
|
"attribute": "interval-ms"
|
|
41374
41765
|
},
|
|
41375
41766
|
{
|
|
@@ -41379,6 +41770,7 @@
|
|
|
41379
41770
|
"text": "number"
|
|
41380
41771
|
},
|
|
41381
41772
|
"default": "0",
|
|
41773
|
+
"description": "Total number of steps to play through; the index range is `[0, length)`.",
|
|
41382
41774
|
"attribute": "length"
|
|
41383
41775
|
},
|
|
41384
41776
|
{
|
|
@@ -41738,6 +42130,7 @@
|
|
|
41738
42130
|
"text": "number"
|
|
41739
42131
|
},
|
|
41740
42132
|
"default": "0",
|
|
42133
|
+
"description": "The current step, in `[0, length)`.",
|
|
41741
42134
|
"fieldName": "index"
|
|
41742
42135
|
},
|
|
41743
42136
|
{
|
|
@@ -41746,6 +42139,7 @@
|
|
|
41746
42139
|
"text": "number"
|
|
41747
42140
|
},
|
|
41748
42141
|
"default": "900",
|
|
42142
|
+
"description": "Delay between ticks, in milliseconds, while playing. Clamped to\n`[MIN_INTERVAL_MS, MAX_TIMEOUT_MS]` — see `scheduleTick()`.",
|
|
41749
42143
|
"fieldName": "intervalMs"
|
|
41750
42144
|
},
|
|
41751
42145
|
{
|
|
@@ -41754,6 +42148,7 @@
|
|
|
41754
42148
|
"text": "number"
|
|
41755
42149
|
},
|
|
41756
42150
|
"default": "0",
|
|
42151
|
+
"description": "Total number of steps to play through; the index range is `[0, length)`.",
|
|
41757
42152
|
"fieldName": "length"
|
|
41758
42153
|
},
|
|
41759
42154
|
{
|
|
@@ -41833,7 +42228,7 @@
|
|
|
41833
42228
|
"declarations": [
|
|
41834
42229
|
{
|
|
41835
42230
|
"kind": "class",
|
|
41836
|
-
"description": "`<lyra-poll-status>` — a \"next scheduled refresh\" countdown with a built-in pause control: a\nticking `M:SS` display counting down to the next scheduled action, a \"Refreshing…\" state at\nzero, and a
|
|
42231
|
+
"description": "`<lyra-poll-status>` — a \"next scheduled refresh\" countdown with a built-in pause control: a\nticking `M:SS` display counting down to the next scheduled action, a \"Refreshing…\" state at\nzero, a \"Paused\" state while `paused` (instead of freezing on a stale value), and a\npause/resume toggle. First-party invention (no Web Awesome equivalent); the\nclosest existing component, `lyra-stream-status`, is scoped to transport/connection-health\nphases, a different concern from a scheduled-interval countdown -- this mirrors its internal\n`<lyra-live-region>` composition for accessible phase-transition announcements.",
|
|
41837
42232
|
"name": "LyraPollStatus",
|
|
41838
42233
|
"cssParts": [
|
|
41839
42234
|
{
|
|
@@ -41841,7 +42236,7 @@
|
|
|
41841
42236
|
"name": "base"
|
|
41842
42237
|
},
|
|
41843
42238
|
{
|
|
41844
|
-
"description": "The `M:SS` (or \"Refreshing…\")
|
|
42239
|
+
"description": "The `M:SS` text (or \"Refreshing…\" once due, or \"Paused\" while `paused`).",
|
|
41845
42240
|
"name": "countdown"
|
|
41846
42241
|
},
|
|
41847
42242
|
{
|
|
@@ -43702,6 +44097,16 @@
|
|
|
43702
44097
|
"default": "[]",
|
|
43703
44098
|
"description": "The button row's items."
|
|
43704
44099
|
},
|
|
44100
|
+
{
|
|
44101
|
+
"kind": "field",
|
|
44102
|
+
"name": "label",
|
|
44103
|
+
"type": {
|
|
44104
|
+
"text": "string"
|
|
44105
|
+
},
|
|
44106
|
+
"default": "''",
|
|
44107
|
+
"description": "Accessible name for the radiogroup, used when no visible label context\nexists around it (e.g. no wrapping `<label>` or adjacent heading). Set\nas `aria-label` on the `role=\"radiogroup\"` element. A plain `aria-label`\nattribute on the host itself is honored as a fallback when this is left\nunset, matching `<lyra-slider>`.",
|
|
44108
|
+
"attribute": "label"
|
|
44109
|
+
},
|
|
43705
44110
|
{
|
|
43706
44111
|
"kind": "field",
|
|
43707
44112
|
"name": "locale",
|
|
@@ -43943,6 +44348,15 @@
|
|
|
43943
44348
|
}
|
|
43944
44349
|
],
|
|
43945
44350
|
"attributes": [
|
|
44351
|
+
{
|
|
44352
|
+
"name": "label",
|
|
44353
|
+
"type": {
|
|
44354
|
+
"text": "string"
|
|
44355
|
+
},
|
|
44356
|
+
"default": "''",
|
|
44357
|
+
"description": "Accessible name for the radiogroup, used when no visible label context\nexists around it (e.g. no wrapping `<label>` or adjacent heading). Set\nas `aria-label` on the `role=\"radiogroup\"` element. A plain `aria-label`\nattribute on the host itself is honored as a fallback when this is left\nunset, matching `<lyra-slider>`.",
|
|
44358
|
+
"fieldName": "label"
|
|
44359
|
+
},
|
|
43946
44360
|
{
|
|
43947
44361
|
"name": "locale",
|
|
43948
44362
|
"type": {
|
|
@@ -44033,6 +44447,10 @@
|
|
|
44033
44447
|
"description": "The `<label>` element.",
|
|
44034
44448
|
"name": "form-control-label"
|
|
44035
44449
|
},
|
|
44450
|
+
{
|
|
44451
|
+
"description": "An option group's heading row (shown when any option declares a `group`).",
|
|
44452
|
+
"name": "group-label"
|
|
44453
|
+
},
|
|
44036
44454
|
{
|
|
44037
44455
|
"description": "The hint message.",
|
|
44038
44456
|
"name": "hint"
|
|
@@ -44891,7 +45309,7 @@
|
|
|
44891
45309
|
],
|
|
44892
45310
|
"events": [
|
|
44893
45311
|
{
|
|
44894
|
-
"description": "The selection changed.",
|
|
45312
|
+
"description": "The selection changed. Deliberately unprefixed, mirroring native `<select>`'s own event name -- contrast `<lyra-slider>`, which uses `lyra-input`/`lyra-change` for its analogous value-change pair. Which form controls mirror native unprefixed DOM event names (this one, matching `<select>`) versus which use the `lyra-` prefix (`<lyra-slider>`, matching `<input type=\"range\">` via a custom name) is a deliberate per-control choice, not an incidental divergence.",
|
|
44895
45313
|
"name": "change"
|
|
44896
45314
|
},
|
|
44897
45315
|
{
|
|
@@ -46570,7 +46988,7 @@
|
|
|
46570
46988
|
"declarations": [
|
|
46571
46989
|
{
|
|
46572
46990
|
"kind": "class",
|
|
46573
|
-
"description": "`<lyra-source-list>` — a collapsible \"Sources\" panel for one chat message,\ngrouping a set of `<lyra-source-card>` children (its default-slot light-DOM\nchildren, plain composition — no `.items` array prop, the same shape\n`<lyra-split>`'s panels take) behind a single clickable header.\n\nThis library has no built-in
|
|
46991
|
+
"description": "`<lyra-source-list>` — a collapsible \"Sources\" panel for one chat message,\ngrouping a set of `<lyra-source-card>` children (its default-slot light-DOM\nchildren, plain composition — no `.items` array prop, the same shape\n`<lyra-split>`'s panels take) behind a single clickable header.\n\nThis library has no built-in pluralization (see `<lyra-empty>`'s plain\n`description` prop for a similar stance), so anything beyond the final\nfallback is entirely consumer-supplied: `label-plural` (e.g. `\"3 sources\"`)\nwins when set, falling back to `label`, falling back to a localized\n`\"Sources\"` (via `this.localize()`) — see each property's own doc.\n`sourceCount` (a read-only, live-updated count of the currently-slotted\nchildren) is exposed for a consumer who wants to build that string\nreactively instead of hand-counting DOM children.\n\nThe card list is removed from the accessibility tree (not just visually\nhidden) while collapsed, via the native `hidden` attribute on\n`[part=\"list\"]` — a screen reader user tabbing past the header never lands\non off-screen source cards they can't currently see.",
|
|
46574
46992
|
"name": "LyraSourceList",
|
|
46575
46993
|
"cssParts": [
|
|
46576
46994
|
{
|
|
@@ -47456,7 +47874,7 @@
|
|
|
47456
47874
|
"type": {
|
|
47457
47875
|
"text": "(index: number, panelCount: number) => string | undefined"
|
|
47458
47876
|
},
|
|
47459
|
-
"description": "Overrides the auto-inserted divider's `aria-label` — receives the divider's 0-based index\nand the total panel count (`lyra-split` supports N panels, so a single fixed string can't\nexpress every divider's label; a function can). Unset (the default) keeps today's exact\
|
|
47877
|
+
"description": "Overrides the auto-inserted divider's `aria-label` — receives the divider's 0-based index\nand the total panel count (`lyra-split` supports N panels, so a single fixed string can't\nexpress every divider's label; a function can). Unset (the default) keeps today's exact\nlocalized `Resize divider between panel {a} and panel {b}` template (see `this.localize()`)."
|
|
47460
47878
|
},
|
|
47461
47879
|
{
|
|
47462
47880
|
"kind": "field",
|
|
@@ -49036,7 +49454,7 @@
|
|
|
49036
49454
|
"text": "StepItem[]"
|
|
49037
49455
|
},
|
|
49038
49456
|
"default": "[]",
|
|
49039
|
-
"description": "Ordered step data. Never mutated by this component -- see the class doc's controlled-\ncomponent contract. Empty (the default) renders nothing."
|
|
49457
|
+
"description": "Ordered step data. Never mutated by this component -- see the class doc's controlled-\ncomponent contract. Empty (the default) renders nothing. Each step's optional `title`\nrenders as a native `title` tooltip on that step's button -- e.g. to explain why a\n`disabled` step is locked."
|
|
49040
49458
|
},
|
|
49041
49459
|
{
|
|
49042
49460
|
"kind": "field",
|
|
@@ -50907,7 +51325,7 @@
|
|
|
50907
51325
|
"declarations": [
|
|
50908
51326
|
{
|
|
50909
51327
|
"kind": "class",
|
|
50910
|
-
"description": "`<lyra-table>` — a presentational, sort/select-aware data table.\n\nHeader/row activation is delegated: one `click` and one `keydown`\nlistener on `<table>` resolve the target via `closest('[data-col-key]'\n| '[data-row-key]')` and a key→object lookup map, instead of allocating\nfresh per-column/per-row closures on every render. Both listeners guard\nagainst nested interactive `cell()` content first (see\n`INTERACTIVE_SELECTOR`) so a button/link/input inside a cell owns its own\nactivation instead of triggering `lyra-row-click`.\n\nKeyboard focus follows a roving-tabindex pattern (one `tabindex=\"0\"` stop\namong the header cells, one among the body rows — see `focusedColKey()` /\n`focusedRowKey()`), matching this repo's other `role=\"grid\"`/composite\nwidgets. Left/Right/Home/End move within the header row; Up/Down/Home/End\nmove within the body; Down from the header enters the body's roving stop,\nand Up from the body's first row returns to the header's roving stop.\nEnter/Space still only sort/activate (see `activateColumn()` /\n`activateRow()`).\n\nSet `aria-label` on the host to give the `role=\"grid\"` element an\naccessible name; it's forwarded into the shadow DOM's `<table>`.\n\n`columns[].priority` ('medium' | 'low') hides that column under\n`[part='base']`'s `@container` breakpoints; `[part='reveal-columns-button']`\nforces them all back into view. Rather than a *static* check of whether any\ncolumn merely declares a `priority`, the button (and the public\n`columnsHidden` property, see below) reflects whether a `priority` column\nis *actually* hidden right now — measured via `ResizeObserver` on\n`[part='base']` plus a post-render DOM check — or `showAllColumns`\nforce-visible mode is currently active (so there's still a way to toggle\nit back off). `columns[].sticky` pins a column's header/cells to the\ninline-start edge while the table scrolls horizontally.",
|
|
51328
|
+
"description": "`<lyra-table>` — a presentational, sort/select-aware data table.\n\nHeader/row activation is delegated: one `click` and one `keydown`\nlistener on `<table>` resolve the target via `closest('[data-col-key]'\n| '[data-row-key]')` and a key→object lookup map, instead of allocating\nfresh per-column/per-row closures on every render. Both listeners guard\nagainst nested interactive `cell()` content first (see\n`INTERACTIVE_SELECTOR`) so a button/link/input inside a cell owns its own\nactivation instead of triggering `lyra-row-click`.\n\nKeyboard focus follows a roving-tabindex pattern (one `tabindex=\"0\"` stop\namong the header cells, one among the body rows — see `focusedColKey()` /\n`focusedRowKey()`), matching this repo's other `role=\"grid\"`/composite\nwidgets. Left/Right/Home/End move within the header row; Up/Down/Home/End\nmove within the body; Down from the header enters the body's roving stop,\nand Up from the body's first row returns to the header's roving stop.\nEnter/Space still only sort/activate (see `activateColumn()` /\n`activateRow()`).\n\nSet `aria-label` on the host to give the `role=\"grid\"` element an\naccessible name; it's forwarded into the shadow DOM's `<table>`.\n\n`columns[].priority` ('medium' | 'low') hides that column under\n`[part='base']`'s `@container` breakpoints; `[part='reveal-columns-button']`\nforces them all back into view. Rather than a *static* check of whether any\ncolumn merely declares a `priority`, the button (and the public\n`columnsHidden` property, see below) reflects whether a `priority` column\nis *actually* hidden right now — measured via `ResizeObserver` on\n`[part='base']` plus a post-render DOM check — or `showAllColumns`\nforce-visible mode is currently active (so there's still a way to toggle\nit back off). `columns[].sticky` pins a column's header/cells to the\ninline-start (default/`true`) or inline-end (`'end'`) edge while the table scrolls horizontally.",
|
|
50911
51329
|
"name": "LyraTable",
|
|
50912
51330
|
"cssParts": [
|
|
50913
51331
|
{
|
|
@@ -52448,7 +52866,7 @@
|
|
|
52448
52866
|
"text": "string"
|
|
52449
52867
|
},
|
|
52450
52868
|
"default": "'Thinking'",
|
|
52451
|
-
"description": "Header text.",
|
|
52869
|
+
"description": "Header text. Localized (`thinkingPanelLabel`) when left at its default\n`'Thinking'`; any other value is shown as-is.",
|
|
52452
52870
|
"attribute": "label"
|
|
52453
52871
|
},
|
|
52454
52872
|
{
|
|
@@ -52717,7 +53135,7 @@
|
|
|
52717
53135
|
"text": "string"
|
|
52718
53136
|
},
|
|
52719
53137
|
"default": "'Thinking'",
|
|
52720
|
-
"description": "Header text.",
|
|
53138
|
+
"description": "Header text. Localized (`thinkingPanelLabel`) when left at its default\n`'Thinking'`; any other value is shown as-is.",
|
|
52721
53139
|
"fieldName": "label"
|
|
52722
53140
|
},
|
|
52723
53141
|
{
|
|
@@ -52791,7 +53209,7 @@
|
|
|
52791
53209
|
"declarations": [
|
|
52792
53210
|
{
|
|
52793
53211
|
"kind": "class",
|
|
52794
|
-
"description": "`<lyra-time-range>` — a two-handle brush/scrubber over a numeric domain.\nCallers map their own time axis to `[min, max]`; no date logic lives here\n(matches the no-date-library constraint used elsewhere in this library).\n\nOptionally paired with a row of discrete presets (`presets`) — e.g. \"Last\n7 days\" / \"Last 30 days\" — rendered above the track; picking one is just a\nshortcut that sets both handles at once, the continuous brush underneath\nis unaffected and both interaction modes coexist.\n\nForm-associated
|
|
53212
|
+
"description": "`<lyra-time-range>` — a two-handle brush/scrubber over a numeric domain.\nCallers map their own time axis to `[min, max]`; no date logic lives here\n(matches the no-date-library constraint used elsewhere in this library).\n\nOptionally paired with a row of discrete presets (`presets`) — e.g. \"Last\n7 days\" / \"Last 30 days\" — rendered above the track; picking one is just a\nshortcut that sets both handles at once, the continuous brush underneath\nis unaffected and both interaction modes coexist.\n\nForm-associated only for the `<fieldset disabled>` cascade, not for a\nsubmitted value: it attaches `ElementInternals` (like `<lyra-combobox>`'s\nminimal pattern, rather than the single-string-value `FormAssociated`\nmixin, which doesn't fit a two-handle range) purely so an ancestor\n`<fieldset disabled>` disables both handles and every preset button\nthrough `effectiveDisabled`, the same way it would a native `<input>`,\nwithout touching the consumer-facing `disabled` property/attribute itself.\nUnlike `<lyra-combobox>`, it never calls `internals.setFormValue()` and\nhas no `name` — the selected range is not included in the owning form's\n`FormData` on submit; read `start`/`end` directly (e.g. from `lyra-change`)\ninstead of relying on native form submission.",
|
|
52795
53213
|
"name": "LyraTimeRange",
|
|
52796
53214
|
"cssParts": [
|
|
52797
53215
|
{
|
|
@@ -54978,7 +55396,7 @@
|
|
|
54978
55396
|
"declarations": [
|
|
54979
55397
|
{
|
|
54980
55398
|
"kind": "class",
|
|
54981
|
-
"description": "`<lyra-tool-call-chip>` — a compact inline pill representing one tool/\nfunction call an agent made mid-conversation, e.g.\n`web_search: Searching web…` with a `running` spinner. It owns no detail\nsurface of its own: clicking (or Enter/Space-activating) it only fires\n`lyra-tool-chip-select` — a consumer wires that to opening a\n`<lyra-tool-result-dialog>` (or anything else) at the call site. Keeping\nthe two decoupled means a chip can be reused wherever a compact call\nsummary is useful, with or without a detail surface behind it.\n\nThe default slot is *not* the chip's visible content — the chip's own\nlabel is always built from `name`/`summary`/`status`/`duration-ms`. It's\nreserved for optional rich detail content (e.g. the tool's raw arguments,\na short preview) shown in a floating tooltip on hover/focus, positioned\nwith `internal/positioner.js`'s `place()` the same way `<lyra-combobox>`\npositions its listbox. No tooltip is shown at all when the slot carries no\ncontent — hovering an empty chip does nothing. Hover and keyboard focus are\ntracked as independent reasons to keep the tooltip open (mirrors\n`<lyra-citation-badge>`'s popover), so releasing one modality while the\nother is still active doesn't close it, and the trigger button's\n`aria-describedby` points at the tooltip's id whenever it's open and has\ncontent, so the association reaches assistive tech too.\n\nThe `icon` slot overrides the built-in per-status glyph entirely via the\nplatform's own slot-fallback-content mechanism (`<slot\nname=\"icon\">${fallback}</slot>` — the same pattern `<lyra-stat>`'s\n`caption` slot and `<lyra-file-input>`'s default slot already use):\nwhatever is assigned to `slot=\"icon\"` wins; otherwise the `icon` prop is\nrendered as a literal hint (e.g. an emoji); otherwise the built-in glyph\nfor the current `status` is used.",
|
|
55399
|
+
"description": "`<lyra-tool-call-chip>` — a compact inline pill representing one tool/\nfunction call an agent made mid-conversation, e.g.\n`web_search: Searching web…` with a `running` spinner. It owns no detail\nsurface of its own: clicking (or Enter/Space-activating) it only fires\n`lyra-tool-call-chip-select` (plus, for one minor cycle, the deprecated\n`lyra-tool-chip-select` alias) — a consumer wires that to opening a\n`<lyra-tool-result-dialog>` (or anything else) at the call site. Keeping\nthe two decoupled means a chip can be reused wherever a compact call\nsummary is useful, with or without a detail surface behind it.\n\nThe default slot is *not* the chip's visible content — the chip's own\nlabel is always built from `name`/`summary`/`status`/`duration-ms`. It's\nreserved for optional rich detail content (e.g. the tool's raw arguments,\na short preview) shown in a floating tooltip on hover/focus, positioned\nwith `internal/positioner.js`'s `place()` the same way `<lyra-combobox>`\npositions its listbox. No tooltip is shown at all when the slot carries no\ncontent — hovering an empty chip does nothing. Hover and keyboard focus are\ntracked as independent reasons to keep the tooltip open (mirrors\n`<lyra-citation-badge>`'s popover), so releasing one modality while the\nother is still active doesn't close it, and the trigger button's\n`aria-describedby` points at the tooltip's id whenever it's open and has\ncontent, so the association reaches assistive tech too.\n\nThe `icon` slot overrides the built-in per-status glyph entirely via the\nplatform's own slot-fallback-content mechanism (`<slot\nname=\"icon\">${fallback}</slot>` — the same pattern `<lyra-stat>`'s\n`caption` slot and `<lyra-file-input>`'s default slot already use):\nwhatever is assigned to `slot=\"icon\"` wins; otherwise the `icon` prop is\nrendered as a literal hint (e.g. an emoji); otherwise the built-in glyph\nfor the current `status` is used.",
|
|
54982
55400
|
"name": "LyraToolCallChip",
|
|
54983
55401
|
"cssParts": [
|
|
54984
55402
|
{
|
|
@@ -55049,7 +55467,7 @@
|
|
|
55049
55467
|
"text": "string"
|
|
55050
55468
|
},
|
|
55051
55469
|
"default": "''",
|
|
55052
|
-
"description": "Unique identifier for this specific invocation — echoed back in `lyra-tool-chip-select`'s\ndetail so a listener can correlate the click with the call it fired for.",
|
|
55470
|
+
"description": "Unique identifier for this specific invocation — echoed back in `lyra-tool-call-chip-select`'s\ndetail so a listener can correlate the click with the call it fired for.",
|
|
55053
55471
|
"attribute": "call-id"
|
|
55054
55472
|
},
|
|
55055
55473
|
{
|
|
@@ -55440,6 +55858,10 @@
|
|
|
55440
55858
|
"events": [
|
|
55441
55859
|
{
|
|
55442
55860
|
"description": "The chip was activated (click or Enter/Space while focused). `detail: { name, callId }`.",
|
|
55861
|
+
"name": "lyra-tool-call-chip-select"
|
|
55862
|
+
},
|
|
55863
|
+
{
|
|
55864
|
+
"description": "Deprecated alias for `lyra-tool-call-chip-select`, fired alongside it for one minor cycle so existing listeners keep working. Removed in the next major.",
|
|
55443
55865
|
"name": "lyra-tool-chip-select"
|
|
55444
55866
|
}
|
|
55445
55867
|
],
|
|
@@ -55450,7 +55872,7 @@
|
|
|
55450
55872
|
"text": "string"
|
|
55451
55873
|
},
|
|
55452
55874
|
"default": "''",
|
|
55453
|
-
"description": "Unique identifier for this specific invocation — echoed back in `lyra-tool-chip-select`'s\ndetail so a listener can correlate the click with the call it fired for.",
|
|
55875
|
+
"description": "Unique identifier for this specific invocation — echoed back in `lyra-tool-call-chip-select`'s\ndetail so a listener can correlate the click with the call it fired for.",
|
|
55454
55876
|
"fieldName": "callId"
|
|
55455
55877
|
},
|
|
55456
55878
|
{
|
|
@@ -55579,6 +56001,10 @@
|
|
|
55579
56001
|
"description": "A field's helper text, from `schema.description`.",
|
|
55580
56002
|
"name": "description"
|
|
55581
56003
|
},
|
|
56004
|
+
{
|
|
56005
|
+
"description": "The message shown when `schema.properties` has no entries.",
|
|
56006
|
+
"name": "empty"
|
|
56007
|
+
},
|
|
55582
56008
|
{
|
|
55583
56009
|
"description": "A field-level or form-level validation message.",
|
|
55584
56010
|
"name": "error"
|
|
@@ -55590,6 +56016,10 @@
|
|
|
55590
56016
|
{
|
|
55591
56017
|
"description": "A field's label.",
|
|
55592
56018
|
"name": "label"
|
|
56019
|
+
},
|
|
56020
|
+
{
|
|
56021
|
+
"description": "The fallback note rendered in place of a control for a property whose `type` is outside this renderer's scope.",
|
|
56022
|
+
"name": "unsupported"
|
|
55593
56023
|
}
|
|
55594
56024
|
],
|
|
55595
56025
|
"members": [
|
|
@@ -56709,7 +57139,7 @@
|
|
|
56709
57139
|
"text": "boolean"
|
|
56710
57140
|
},
|
|
56711
57141
|
"default": "false",
|
|
56712
|
-
"description": "Whether the dialog is open. Set this (or call `close()`) — there is no\nseparate `show()`/`hide()` pair. Both paths restore focus to the trigger\nelement identically; only `close()` additionally fires\n`lyra-
|
|
57142
|
+
"description": "Whether the dialog is open. Set this (or call `close()`) — there is no\nseparate `show()`/`hide()` pair. Both paths restore focus to the trigger\nelement identically; only `close()` additionally fires\n`lyra-close`, since a direct assignment carries no reason string\nto attach to that event.",
|
|
56713
57143
|
"attribute": "open",
|
|
56714
57144
|
"reflects": true
|
|
56715
57145
|
},
|
|
@@ -56847,7 +57277,7 @@
|
|
|
56847
57277
|
}
|
|
56848
57278
|
}
|
|
56849
57279
|
],
|
|
56850
|
-
"description": "Close the dialog and return focus to whatever had it before the dialog\nopened. `reason` is forwarded as the `lyra-
|
|
57280
|
+
"description": "Close the dialog and return focus to whatever had it before the dialog\nopened. `reason` is forwarded as the `lyra-close` detail --\nbuilt-in triggers pass `'escape'`/`'backdrop'`/`'close-button'`; a\nconsumer's own close affordance (e.g. a footer action button) should\ncall this directly with its own reason string, so every dismissal path\nfunnels through the same event instead of the consumer having to also\ntoggle `open` itself.\n\nFocus restoration follows the `open` lifecycle, so a direct `.open =\nfalse` assignment restores focus identically to calling `close()` -- the\none thing a direct assignment still can't do is fire\n`lyra-close`, since there's no reason string to attach without\ngoing through this method."
|
|
56851
57281
|
},
|
|
56852
57282
|
{
|
|
56853
57283
|
"kind": "method",
|
|
@@ -56971,7 +57401,7 @@
|
|
|
56971
57401
|
"events": [
|
|
56972
57402
|
{
|
|
56973
57403
|
"description": "`detail: ToolResultDialogCloseReason`. Fired exactly once per dismissal, via Escape, a backdrop click, the built-in close button, or a `close()` call.",
|
|
56974
|
-
"name": "lyra-
|
|
57404
|
+
"name": "lyra-close"
|
|
56975
57405
|
},
|
|
56976
57406
|
{
|
|
56977
57407
|
"description": "`detail: boolean` (the new `maximized` state), fired when the header's maximize/restore toggle is clicked.",
|
|
@@ -57015,7 +57445,7 @@
|
|
|
57015
57445
|
"text": "boolean"
|
|
57016
57446
|
},
|
|
57017
57447
|
"default": "false",
|
|
57018
|
-
"description": "Whether the dialog is open. Set this (or call `close()`) — there is no\nseparate `show()`/`hide()` pair. Both paths restore focus to the trigger\nelement identically; only `close()` additionally fires\n`lyra-
|
|
57448
|
+
"description": "Whether the dialog is open. Set this (or call `close()`) — there is no\nseparate `show()`/`hide()` pair. Both paths restore focus to the trigger\nelement identically; only `close()` additionally fires\n`lyra-close`, since a direct assignment carries no reason string\nto attach to that event.",
|
|
57019
57449
|
"fieldName": "open"
|
|
57020
57450
|
},
|
|
57021
57451
|
{
|
|
@@ -58323,6 +58753,10 @@
|
|
|
58323
58753
|
"description": "The optional node badge.",
|
|
58324
58754
|
"name": "badge"
|
|
58325
58755
|
},
|
|
58756
|
+
{
|
|
58757
|
+
"description": "The wrapper around a node's expanded child items.",
|
|
58758
|
+
"name": "group"
|
|
58759
|
+
},
|
|
58326
58760
|
{
|
|
58327
58761
|
"description": "The node label.",
|
|
58328
58762
|
"name": "label"
|
|
@@ -58747,7 +59181,12 @@
|
|
|
58747
59181
|
"name": "LyraTree",
|
|
58748
59182
|
"cssParts": [
|
|
58749
59183
|
{
|
|
59184
|
+
"description": "The tree's root wrapper (role=\"tree\").",
|
|
58750
59185
|
"name": "base"
|
|
59186
|
+
},
|
|
59187
|
+
{
|
|
59188
|
+
"description": "The empty-state message shown when `data` is empty.",
|
|
59189
|
+
"name": "empty"
|
|
58751
59190
|
}
|
|
58752
59191
|
],
|
|
58753
59192
|
"slots": [
|
|
@@ -59254,7 +59693,7 @@
|
|
|
59254
59693
|
"declarations": [
|
|
59255
59694
|
{
|
|
59256
59695
|
"kind": "class",
|
|
59257
|
-
"description": "`<lyra-typing-indicator>` — a purely presentational \"assistant is\nresponding\" presence cue. No events, no interactivity: a consumer mounts\nit while a response is being generated and removes it (or hides it) once\nreal content has arrived.\n\nThree visual variants share one component rather than three separate tags\nbecause callers pick between them along a single axis — how the\nsurrounding surface wants the cue to read — and nothing else about the\ncomponent differs:\n- `dots` (default) — three dots with a staggered bounce, the classic\n \"typing…\" affordance for a standalone status line.\n- `pulse` — a single breathing dot, a quieter cue for a tighter space\n (e.g. next to an avatar).\n- `cursor` — a blinking vertical bar, meant to sit inline at the tail end\n of streamed text that is still being appended to.\n\nAccessibility: this indicator typically mounts and unmounts around a real\ngeneration lifecycle (appears when a response starts, disappears once one\narrives) rather than emitting a stream of updates of its own, so it does\n*not* route through `<lyra-live-region>`/`Announcer`\n(`../../internal/announcer.js`) — that machinery exists to coalesce many\nrapidly-changing announcements into one, and there is only ever a single\nannouncement here: the mount itself. A plain `role=\"status\"` plus an\naccessible name derived from `label` is sufficient, set both as an\n`aria-label` on the host *and* as a visually-hidden text node in the\nshadow tree, so the name survives even if only one of the two is picked up\nby a given assistive-tech/browser pairing. An empty or
|
|
59696
|
+
"description": "`<lyra-typing-indicator>` — a purely presentational \"assistant is\nresponding\" presence cue. No events, no interactivity: a consumer mounts\nit while a response is being generated and removes it (or hides it) once\nreal content has arrived.\n\nThree visual variants share one component rather than three separate tags\nbecause callers pick between them along a single axis — how the\nsurrounding surface wants the cue to read — and nothing else about the\ncomponent differs:\n- `dots` (default) — three dots with a staggered bounce, the classic\n \"typing…\" affordance for a standalone status line.\n- `pulse` — a single breathing dot, a quieter cue for a tighter space\n (e.g. next to an avatar).\n- `cursor` — a blinking vertical bar, meant to sit inline at the tail end\n of streamed text that is still being appended to.\n\nAccessibility: this indicator typically mounts and unmounts around a real\ngeneration lifecycle (appears when a response starts, disappears once one\narrives) rather than emitting a stream of updates of its own, so it does\n*not* route through `<lyra-live-region>`/`Announcer`\n(`../../internal/announcer.js`) — that machinery exists to coalesce many\nrapidly-changing announcements into one, and there is only ever a single\nannouncement here: the mount itself. A plain `role=\"status\"` plus an\naccessible name derived from `label` is sufficient, set both as an\n`aria-label` on the host *and* as a visually-hidden text node in the\nshadow tree, so the name survives even if only one of the two is picked up\nby a given assistive-tech/browser pairing. An untouched-default, empty, or\nwhitespace-only `label` falls back to the localized \"Thinking…\" copy in\nboth places, rather than leaving the component with no accessible name at\nall. The animated dots/pulse/cursor\nshape is `aria-hidden=\"true\"` — it's decorative; `label` is the entire\naccessible content, so nothing narrates individual animation frames.",
|
|
59258
59697
|
"name": "LyraTypingIndicator",
|
|
59259
59698
|
"cssParts": [
|
|
59260
59699
|
{
|
|
@@ -59282,7 +59721,7 @@
|
|
|
59282
59721
|
"text": "string"
|
|
59283
59722
|
},
|
|
59284
59723
|
"privacy": "private",
|
|
59285
|
-
"description": "The accessible name actually used, falling back to the
|
|
59724
|
+
"description": "The accessible name actually used, falling back to the localized\n`'thinking'` message (`\"Thinking…\"` in English) when `label` is left at\nits untouched default or set to an empty/whitespace-only string --\notherwise both the `aria-label` and the sr-only text node would go\nblank, leaving this purely-decorative component with no accessible name\nat all. A caller-customized `label` is used verbatim (not a translation\nconcern), same convention as `<lyra-date-picker>`'s `previousLabel`.",
|
|
59286
59725
|
"readonly": true
|
|
59287
59726
|
},
|
|
59288
59727
|
{
|
|
@@ -59320,7 +59759,7 @@
|
|
|
59320
59759
|
"text": "string"
|
|
59321
59760
|
},
|
|
59322
59761
|
"default": "'Thinking…'",
|
|
59323
|
-
"description": "Accessible name, exposed via `role=\"status\"`. Not re-announced on every\nanimation frame — only mount (and any later change to this property)\nproduces a new announcement. An empty or
|
|
59762
|
+
"description": "Accessible name, exposed via `role=\"status\"`. Not re-announced on every\nanimation frame — only mount (and any later change to this property)\nproduces a new announcement. An untouched-default, empty, or\nwhitespace-only value falls back to the localized \"Thinking…\" copy (see\n`accessibleLabel`) so the component never loses its accessible name.",
|
|
59324
59763
|
"attribute": "label"
|
|
59325
59764
|
},
|
|
59326
59765
|
{
|
|
@@ -59545,7 +59984,7 @@
|
|
|
59545
59984
|
"text": "string"
|
|
59546
59985
|
},
|
|
59547
59986
|
"default": "'Thinking…'",
|
|
59548
|
-
"description": "Accessible name, exposed via `role=\"status\"`. Not re-announced on every\nanimation frame — only mount (and any later change to this property)\nproduces a new announcement. An empty or
|
|
59987
|
+
"description": "Accessible name, exposed via `role=\"status\"`. Not re-announced on every\nanimation frame — only mount (and any later change to this property)\nproduces a new announcement. An untouched-default, empty, or\nwhitespace-only value falls back to the localized \"Thinking…\" copy (see\n`accessibleLabel`) so the component never loses its accessible name.",
|
|
59549
59988
|
"fieldName": "label"
|
|
59550
59989
|
},
|
|
59551
59990
|
{
|
|
@@ -60538,6 +60977,14 @@
|
|
|
60538
60977
|
"description": "Header action controls, rendered before the collapse/expand buttons.",
|
|
60539
60978
|
"name": "actions"
|
|
60540
60979
|
},
|
|
60980
|
+
{
|
|
60981
|
+
"description": "Overrides the built-in chevron glyph inside the collapse/expand toggle button entirely, via the platform's own slot-fallback-content mechanism (same convention as `<lyra-tool-call-chip>`'s `icon` slot): whatever is assigned wins, otherwise the default chevron renders. Only meaningful while `collapsible`.",
|
|
60982
|
+
"name": "collapse-icon"
|
|
60983
|
+
},
|
|
60984
|
+
{
|
|
60985
|
+
"description": "Overrides the built-in expand/close glyph inside the fullscreen toggle button entirely, using the same mechanism -- the override replaces *both* the \"expand\" and \"exit fullscreen\" default icons, so a consumer supplying one is responsible for its own expand/exit distinction (e.g. by reading the `fullscreen` attribute). Only meaningful while `expandable`.",
|
|
60986
|
+
"name": "fullscreen-icon"
|
|
60987
|
+
},
|
|
60541
60988
|
{
|
|
60542
60989
|
"description": "Optional leading icon in the title row.",
|
|
60543
60990
|
"name": "icon"
|
|
@@ -60549,6 +60996,10 @@
|
|
|
60549
60996
|
{
|
|
60550
60997
|
"description": "Rich sublabel content (overrides the `sublabel` attribute).",
|
|
60551
60998
|
"name": "sublabel"
|
|
60999
|
+
},
|
|
61000
|
+
{
|
|
61001
|
+
"description": "Content for the view whose `WidgetView.id` matches `{id}`, rendered when `views` is non-empty.",
|
|
61002
|
+
"name": "view-{id}"
|
|
60552
61003
|
}
|
|
60553
61004
|
],
|
|
60554
61005
|
"members": [
|
|
@@ -60826,7 +61277,7 @@
|
|
|
60826
61277
|
"text": "WidgetView[]"
|
|
60827
61278
|
},
|
|
60828
61279
|
"default": "[]",
|
|
60829
|
-
"description": "Named alternate views for the panel body -- e.g. a chart/table toggle inside the same card\nchrome. Each entry gets a header toggle button and a `<slot name=\"view-${id}\">`. Empty (the\ndefault) renders today's single unnamed default slot as the sole view, unchanged."
|
|
61280
|
+
"description": "Named alternate views for the panel body -- e.g. a chart/table toggle inside the same card\nchrome. Each entry gets a header toggle button and a `<slot name=\"view-${id}\">`. Empty (the\ndefault) renders today's single unnamed default slot as the sole view, unchanged. An entry's\n`label` is optional -- see `WidgetView`'s own doc for the icon-only (`ariaLabel`) case."
|
|
60830
61281
|
},
|
|
60831
61282
|
{
|
|
60832
61283
|
"kind": "method",
|
|
@@ -60993,15 +61444,15 @@
|
|
|
60993
61444
|
],
|
|
60994
61445
|
"events": [
|
|
60995
61446
|
{
|
|
60996
|
-
"description": "`detail:
|
|
61447
|
+
"description": "`detail: { collapsed }` (the new `collapsed` state).",
|
|
60997
61448
|
"name": "lyra-collapse-change"
|
|
60998
61449
|
},
|
|
60999
61450
|
{
|
|
61000
|
-
"description": "`detail:
|
|
61451
|
+
"description": "`detail: { fullscreen }` (the new `fullscreen` state).",
|
|
61001
61452
|
"name": "lyra-fullscreen-change"
|
|
61002
61453
|
},
|
|
61003
61454
|
{
|
|
61004
|
-
"description": "Fired when the active view changes via a header toggle click. `detail:
|
|
61455
|
+
"description": "Fired when the active view changes via a header toggle click. `detail: { viewId }` (the new view's `id`).",
|
|
61005
61456
|
"name": "lyra-view-change"
|
|
61006
61457
|
}
|
|
61007
61458
|
],
|
|
@@ -61603,6 +62054,17 @@
|
|
|
61603
62054
|
}
|
|
61604
62055
|
}
|
|
61605
62056
|
},
|
|
62057
|
+
{
|
|
62058
|
+
"kind": "method",
|
|
62059
|
+
"name": "fontWeight",
|
|
62060
|
+
"privacy": "private",
|
|
62061
|
+
"return": {
|
|
62062
|
+
"type": {
|
|
62063
|
+
"text": "string"
|
|
62064
|
+
}
|
|
62065
|
+
},
|
|
62066
|
+
"description": "Reads the actual `--lyra-font-weight-semibold` value the same way\n`fontFamily()` reads `--lyra-font` -- must match `[part='word']`'s\n`font-weight` in word-cloud.styles.ts, so a theme/consumer override of\nthat token can't silently desync canvas text measurement (used for the\nspiral layout's collision boxes) from the actually rendered glyph width."
|
|
62067
|
+
},
|
|
61606
62068
|
{
|
|
61607
62069
|
"kind": "method",
|
|
61608
62070
|
"name": "localize",
|