@aceshooting/lyra-ui 32.0.0 → 32.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +203 -0
- package/README.md +24 -6
- package/design-tokens.json +1 -1
- package/dist/all.d.ts +1 -1
- package/dist/all.js +1 -1
- package/dist/autoloader.d.ts +10 -0
- package/dist/autoloader.js +1 -1
- package/dist/cli/migrate-wa.mjs +45 -37
- package/dist/cli/migration-contract.json.gz +0 -0
- package/dist/components/agent-tools/budget-meter/budget-meter.class.d.ts +1 -0
- package/dist/components/agent-tools/budget-meter/budget-meter.styles.js +1 -1
- package/dist/components/charts/chart/box-plot.class.d.ts +3 -0
- package/dist/components/charts/chart/chart-band.js +1 -1
- package/dist/components/charts/chart/chart-input-projection.js +1 -1
- package/dist/components/charts/chart/chart-surface.styles.js +1 -1
- package/dist/components/charts/chart/chart-types.d.ts +16 -2
- package/dist/components/charts/chart/chart.class.d.ts +4 -1
- package/dist/components/charts/chart/chart.class.js +3 -3
- package/dist/components/charts/chart/lite-chart.class.d.ts +3 -0
- package/dist/components/charts/chart/lite-chart.styles.js +1 -1
- package/dist/components/conversation/code-block/code-block-base.class.d.ts +29 -3
- package/dist/components/conversation/code-block/code-block-base.class.js +1 -1
- package/dist/components/conversation/code-block/code-block-core.class.d.ts +46 -2
- package/dist/components/conversation/code-block/code-block-core.class.js +1 -1
- package/dist/components/conversation/code-block/code-block-shared.d.ts +6 -2
- package/dist/components/conversation/code-block/code-block-shared.js +5 -4
- package/dist/components/conversation/code-block/code-block.class.d.ts +45 -1
- package/dist/components/conversation/code-block/code-block.class.js +1 -1
- package/dist/components/conversation/code-block/code-block.styles.js +1 -1
- package/dist/components/conversation/markdown/markdown-core.class.d.ts +12 -0
- package/dist/components/conversation/markdown/markdown.class.d.ts +12 -0
- package/dist/components/conversation/markdown/markdown.styles.js +1 -1
- package/dist/components/conversation/model-select/model-select.class.d.ts +6 -0
- package/dist/components/conversation/suggestion-chips/suggestion-chips.class.d.ts +1 -0
- package/dist/components/conversation/suggestion-chips/suggestion-chips.styles.js +1 -1
- package/dist/components/conversation/thread-list/thread-list.class.d.ts +3 -0
- package/dist/components/conversation/thread-list/thread-list.styles.js +1 -1
- package/dist/components/conversation/voice-picker/voice-picker.class.d.ts +6 -0
- package/dist/components/data/graph-query-builder/graph-query-builder.class.d.ts +4 -0
- package/dist/components/data/heatmap/heatmap.class.d.ts +21 -2
- package/dist/components/data/heatmap/heatmap.class.js +2 -2
- package/dist/components/data/heatmap/heatmap.styles.js +1 -1
- package/dist/components/data/stat/stat.class.d.ts +24 -1
- package/dist/components/data/stat/stat.class.js +2 -2
- package/dist/components/data/stat/stat.styles.js +1 -1
- package/dist/components/data/table/table-row-attributes.js +1 -0
- package/dist/components/data/table/table-support.d.ts +65 -5
- package/dist/components/data/table/table-support.js +1 -1
- package/dist/components/data/table/table.class.d.ts +77 -7
- package/dist/components/data/table/table.class.js +10 -10
- package/dist/components/data/table/table.styles.js +1 -1
- package/dist/components/data/timeline/timeline-item.class.d.ts +27 -5
- package/dist/components/data/timeline/timeline-item.class.js +11 -7
- package/dist/components/data/timeline/timeline-item.styles.js +1 -1
- package/dist/components/data/timeline/timeline.class.d.ts +40 -5
- package/dist/components/data/timeline/timeline.class.js +11 -7
- package/dist/components/data/timeline/timeline.styles.js +1 -1
- package/dist/components/data/tree/tree-item.class.d.ts +2 -0
- package/dist/components/data/tree/tree-item.class.js +2 -2
- package/dist/components/data/tree/tree-item.styles.js +1 -1
- package/dist/components/forms/button/button.class.d.ts +13 -0
- package/dist/components/forms/button/button.styles.js +1 -1
- package/dist/components/forms/checkbox-group/checkbox-group.class.d.ts +29 -2
- package/dist/components/forms/checkbox-group/checkbox-group.class.js +3 -3
- package/dist/components/forms/checkbox-group/checkbox-group.styles.js +1 -1
- package/dist/components/forms/code-editor/code-editor.class.d.ts +6 -0
- package/dist/components/forms/color-picker/color-picker.class.d.ts +9 -0
- package/dist/components/forms/color-picker/color-picker.class.js +3 -3
- package/dist/components/forms/color-picker/color-picker.styles.js +1 -1
- package/dist/components/forms/combobox/combobox.class.d.ts +114 -7
- package/dist/components/forms/combobox/combobox.class.js +9 -7
- package/dist/components/forms/combobox/combobox.styles.js +1 -1
- package/dist/components/forms/country-picker/country-picker.class.d.ts +2 -0
- package/dist/components/forms/currency-picker/currency-picker.class.d.ts +2 -0
- package/dist/components/forms/date-picker/date-input.class.d.ts +41 -0
- package/dist/components/forms/date-picker/date-input.class.js +2 -2
- package/dist/components/forms/date-picker/date-input.styles.js +1 -1
- package/dist/components/forms/emoji-picker/emoji-picker.class.d.ts +4 -0
- package/dist/components/forms/icon-button/icon-button.styles.js +1 -1
- package/dist/components/forms/input/input-shared.d.ts +12 -0
- package/dist/components/forms/input/input.styles.js +1 -1
- package/dist/components/forms/input/time-input.class.d.ts +6 -0
- package/dist/components/forms/input/time-input.styles.js +1 -1
- package/dist/components/forms/locale-picker/locale-picker.class.d.ts +11 -0
- package/dist/components/forms/locale-picker/locale-picker.styles.js +1 -1
- package/dist/components/forms/otp-input/otp-input.class.d.ts +6 -0
- package/dist/components/forms/phone-input/phone-input.class.d.ts +6 -0
- package/dist/components/forms/phone-input/phone-input.styles.js +1 -1
- package/dist/components/forms/radio/radio-group.class.d.ts +24 -2
- package/dist/components/forms/radio/radio-group.class.js +2 -2
- package/dist/components/forms/radio/radio-group.styles.js +1 -1
- package/dist/components/forms/rubric-form/rubric-form.class.d.ts +4 -0
- package/dist/components/forms/select/select.class.d.ts +13 -0
- package/dist/components/forms/select/select.class.js +1 -1
- package/dist/components/forms/select/select.styles.js +1 -1
- package/dist/components/forms/signature-pad/signature-pad.class.d.ts +6 -0
- package/dist/components/forms/signature-pad/signature-pad.styles.js +1 -1
- package/dist/components/forms/slider/slider.class.d.ts +28 -2
- package/dist/components/forms/slider/slider.class.js +3 -3
- package/dist/components/forms/slider/slider.styles.js +1 -1
- package/dist/components/forms/switch/switch.class.d.ts +2 -0
- package/dist/components/forms/switch/switch.styles.js +1 -1
- package/dist/components/forms/textarea/textarea.class.d.ts +8 -0
- package/dist/components/forms/textarea/textarea.styles.js +1 -1
- package/dist/components/forms/time-zone-picker/time-zone-picker.class.d.ts +2 -0
- package/dist/components/forms/token-input/token-input.class.d.ts +96 -18
- package/dist/components/forms/token-input/token-input.class.js +11 -8
- package/dist/components/forms/token-input/token-input.styles.js +1 -1
- package/dist/components/forms/unit-picker/unit-picker.class.d.ts +2 -0
- package/dist/components/layout/app-rail/app-rail.class.d.ts +3 -0
- package/dist/components/layout/app-rail/app-rail.styles.js +1 -1
- package/dist/components/layout/button-group/button-group.class.d.ts +4 -0
- package/dist/components/layout/button-group/button-group.class.js +1 -1
- package/dist/components/layout/card/card.class.d.ts +15 -1
- package/dist/components/layout/card/card.styles.js +1 -1
- package/dist/components/layout/details/details.class.d.ts +6 -0
- package/dist/components/layout/details/details.styles.js +1 -1
- package/dist/components/layout/filter-bar/filter-bar.class.d.ts +6 -0
- package/dist/components/layout/filter-bar/filter-bar.styles.js +1 -1
- package/dist/components/layout/index.d.ts +1 -1
- package/dist/components/layout/index.js +1 -1
- package/dist/components/layout/menu/dropdown-item.class.d.ts +8 -2
- package/dist/components/layout/menu/dropdown-item.class.js +1 -1
- package/dist/components/layout/menu/menu-item.class.d.ts +7 -0
- package/dist/components/layout/menu/menu-item.styles.js +1 -1
- package/dist/components/layout/menu/menu-label.class.d.ts +5 -0
- package/dist/components/layout/menu/menu-label.class.js +1 -1
- package/dist/components/layout/menu/menu.class.d.ts +3 -0
- package/dist/components/layout/menu/menu.styles.js +1 -1
- package/dist/components/layout/page/page.class.d.ts +9 -1
- package/dist/components/layout/page/page.class.js +2 -2
- package/dist/components/layout/segmented/segmented.class.d.ts +22 -3
- package/dist/components/layout/segmented/segmented.class.js +3 -4
- package/dist/components/layout/segmented/segmented.styles.js +1 -1
- package/dist/components/layout/stepper/step.class.d.ts +89 -0
- package/dist/components/layout/stepper/step.class.js +18 -0
- package/dist/components/layout/stepper/step.styles.js +1 -0
- package/dist/components/layout/stepper/stepper.class.d.ts +106 -13
- package/dist/components/layout/stepper/stepper.class.js +6 -2
- package/dist/components/layout/stepper/stepper.styles.js +1 -1
- package/dist/components/layout/tab-group/tab-group.class.d.ts +10 -1
- package/dist/components/layout/tab-group/tab-group.class.js +1 -1
- package/dist/components/layout/tab-group/tab-group.styles.js +1 -1
- package/dist/components/layout/tab-group/tab-panel.class.d.ts +1 -0
- package/dist/components/layout/tab-group/tab-panel.class.js +1 -1
- package/dist/components/layout/tab-group/tab.class.d.ts +4 -0
- package/dist/components/layout/widget/widget.class.d.ts +1 -0
- package/dist/components/layout/widget/widget.styles.js +1 -1
- package/dist/components/lr-code-block-core.d.ts +1 -1
- package/dist/components/lr-code-block.d.ts +1 -1
- package/dist/components/lr-counter.d.ts +1 -0
- package/dist/components/lr-counter.js +1 -0
- package/dist/components/lr-lightbox-item.d.ts +1 -0
- package/dist/components/lr-lightbox-item.js +1 -0
- package/dist/components/lr-lightbox.d.ts +1 -1
- package/dist/components/lr-lightbox.js +1 -1
- package/dist/components/lr-number-ticker.d.ts +1 -0
- package/dist/components/lr-number-ticker.js +1 -0
- package/dist/components/lr-step.d.ts +1 -0
- package/dist/components/lr-step.js +1 -0
- package/dist/components/media/file-input/file-input.class.d.ts +7 -1
- package/dist/components/media/file-input/file-input.class.js +2 -2
- package/dist/components/media/file-input/file-input.styles.js +1 -1
- package/dist/components/media/index.d.ts +1 -1
- package/dist/components/media/index.js +1 -1
- package/dist/components/media/lightbox/lightbox-item.class.d.ts +57 -0
- package/dist/components/media/lightbox/lightbox-item.class.js +9 -0
- package/dist/components/media/lightbox/lightbox-item.styles.js +1 -0
- package/dist/components/media/lightbox/lightbox.class.d.ts +90 -20
- package/dist/components/media/lightbox/lightbox.class.js +17 -12
- package/dist/components/media/lightbox/lightbox.styles.js +1 -1
- package/dist/components/media/map/map-anchor-avoid.js +1 -1
- package/dist/components/media/map/map-drawing-controller.js +1 -1
- package/dist/components/media/map/map.class.d.ts +137 -7
- package/dist/components/media/map/map.class.js +6 -6
- package/dist/components/media/map/map.styles.js +1 -1
- package/dist/components/media/sequence-playback/sequence-playback.class.d.ts +9 -0
- package/dist/components/media/sequence-playback/sequence-playback.class.js +2 -2
- package/dist/components/media/sequence-playback/sequence-playback.styles.js +1 -1
- package/dist/components/media/video/video.class.d.ts +4 -0
- package/dist/components/media/video/video.class.js +2 -2
- package/dist/components/media/video/video.styles.js +1 -1
- package/dist/components/media/zoomable-frame/zoomable-frame.class.d.ts +15 -0
- package/dist/components/media/zoomable-frame/zoomable-frame.class.js +2 -2
- package/dist/components/overlays/badge/badge.class.d.ts +2 -0
- package/dist/components/overlays/badge/badge.styles.js +1 -1
- package/dist/components/overlays/badge/tag.class.d.ts +2 -0
- package/dist/components/overlays/badge/tag.class.js +1 -1
- package/dist/components/overlays/chip/chip-group.class.d.ts +31 -4
- package/dist/components/overlays/chip/chip-group.class.js +3 -3
- package/dist/components/overlays/context-menu/context-menu.class.d.ts +5 -0
- package/dist/components/overlays/context-menu/context-menu.class.js +1 -1
- package/dist/components/overlays/dialog/dialog.class.d.ts +36 -4
- package/dist/components/overlays/dialog/dialog.class.js +3 -3
- package/dist/components/overlays/dialog/dialog.styles.js +1 -1
- package/dist/components/overlays/dialog/prompt.d.ts +60 -0
- package/dist/components/overlays/dialog/prompt.js +1 -0
- package/dist/components/overlays/drawer/drawer.class.d.ts +16 -1
- package/dist/components/overlays/drawer/drawer.class.js +1 -1
- package/dist/components/overlays/empty/empty.class.d.ts +1 -0
- package/dist/components/overlays/empty/empty.class.js +1 -1
- package/dist/components/overlays/overlay/dropdown.class.d.ts +4 -0
- package/dist/components/overlays/overlay/dropdown.class.js +1 -1
- package/dist/components/overlays/overlay/overlay.styles.js +1 -1
- package/dist/components/overlays/overlay/popover.class.d.ts +29 -3
- package/dist/components/overlays/overlay/popover.class.js +2 -2
- package/dist/components/overlays/overlay/tooltip.class.d.ts +2 -0
- package/dist/components/overlays/overlay/tooltip.class.js +2 -2
- package/dist/components/overlays/toast/toast-item.class.d.ts +1 -0
- package/dist/components/overlays/toast/toast-item.class.js +1 -1
- package/dist/components/overlays/toast/toast-item.styles.js +1 -1
- package/dist/components/overlays/toast/toast.class.d.ts +6 -0
- package/dist/components/overlays/toast/toast.class.js +1 -1
- package/dist/components/utility/copy-button/copy-button.class.d.ts +2 -0
- package/dist/components/utility/copy-button/copy-button.class.js +2 -2
- package/dist/components/utility/counter/counter-time.d.ts +15 -0
- package/dist/components/utility/counter/counter-time.js +1 -0
- package/dist/components/utility/counter/counter.class.d.ts +67 -0
- package/dist/components/utility/counter/counter.class.js +1 -0
- package/dist/components/utility/counter/counter.styles.js +1 -0
- package/dist/components/utility/divider/divider.class.d.ts +21 -3
- package/dist/components/utility/divider/divider.class.js +5 -1
- package/dist/components/utility/export-button/export-button.class.d.ts +5 -0
- package/dist/components/utility/export-button/export-button.styles.js +1 -1
- package/dist/components/utility/icon/icon-library.d.ts +14 -1
- package/dist/components/utility/icon/icon-library.js +1 -1
- package/dist/components/utility/icon/icon-sprite.js +1 -0
- package/dist/components/utility/icon/icon.class.d.ts +4 -2
- package/dist/components/utility/icon/icon.class.js +2 -2
- package/dist/components/utility/index.d.ts +1 -1
- package/dist/components/utility/index.js +1 -1
- package/dist/components/utility/known-date/known-date.class.d.ts +4 -0
- package/dist/components/utility/number-ticker/number-ticker.class.d.ts +58 -0
- package/dist/components/utility/number-ticker/number-ticker.class.js +1 -0
- package/dist/components/utility/number-ticker/number-ticker.styles.js +1 -0
- package/dist/components/viewers/include/include.class.d.ts +4 -1
- package/dist/components/viewers/include/include.class.js +1 -1
- package/dist/components/viewers/pdf-viewer/pdf-viewer.class.d.ts +10 -1
- package/dist/components/viewers/pdf-viewer/pdf-viewer.class.js +2 -2
- package/dist/components/viewers/pdf-viewer/pdf-viewer.styles.js +1 -1
- package/dist/custom-elements-jsx.d.ts +1 -1
- package/dist/event-classes.d.ts +2342 -0
- package/dist/event-classes.js +1 -0
- package/dist/events.d.ts +48 -22
- package/dist/framework-types.d.ts +2 -2
- package/dist/internal/all-defined-arguments.d.ts +19 -0
- package/dist/internal/all-defined-arguments.js +1 -0
- package/dist/internal/autoloader-tags.d.ts +1 -1
- package/dist/internal/autoloader-tags.js +1 -1
- package/dist/internal/checked-control-label.js +1 -1
- package/dist/internal/component-loaders.generated.js +1 -1
- package/dist/internal/dedent.js +7 -0
- package/dist/internal/default-strings/forms.generated.js +1 -1
- package/dist/internal/default-strings/layout.generated.js +1 -1
- package/dist/internal/dev-mode-attribute-warning.development.js +1 -1
- package/dist/internal/document-tokens.generated.js +3 -3
- package/dist/internal/form-control/chrome.styles.js +1 -1
- package/dist/internal/form-control.styles.js +1 -1
- package/dist/internal/interactive-control.styles.js +2 -2
- package/dist/internal/labeled-group.js +1 -1
- package/dist/internal/localization-runtime.d.ts +5 -0
- package/dist/internal/localization-runtime.js +1 -1
- package/dist/internal/localization-types.d.ts +1 -1
- package/dist/internal/localization.js +2 -2
- package/dist/internal/lyra-element.js +2 -2
- package/dist/internal/lyra-event.d.ts +22 -0
- package/dist/internal/lyra-event.js +1 -0
- package/dist/internal/overlay-shared.d.ts +5 -2
- package/dist/internal/overlay-shared.js +1 -1
- package/dist/internal/package-metadata.js +1 -1
- package/dist/internal/root-registration-allowlist.js +1 -1
- package/dist/internal/scoped-definitions.generated.js +1 -1
- package/dist/internal/shiki/core.d.ts +4 -1
- package/dist/internal/shiki/tokenize.js +1 -1
- package/dist/internal/srcset.js +1 -0
- package/dist/lyra.d.ts +1 -1
- package/dist/lyra.js +1 -1
- package/dist/ssr/all.d.ts +1 -1
- package/dist/ssr/all.js +1 -1
- package/dist/ssr.d.ts +5 -5
- package/dist/ssr.js +1 -1
- package/dist/styles/native.css +1 -1
- package/dist/styles/palette.css +1 -0
- package/dist/styles/tokens-root.css +1 -1
- package/dist/styles/utilities.css +1 -1
- package/dist/svelte.d.ts +1 -1
- package/dist/testing/happy-dom-shims.d.ts +11 -2
- package/dist/testing/happy-dom-shims.js +1 -1
- package/dist/testing/index.d.ts +1 -1
- package/dist/testing/index.js +1 -1
- package/dist/testing/lyra-tag-event-map.d.ts +2 -2
- package/dist/testing/lyra-tag-event-map.js +1 -1
- package/dist/theme-core.css +1 -1
- package/dist/theme.css +1 -1
- package/dist/utilities/defined.d.ts +10 -1
- package/dist/utilities/defined.js +1 -1
- package/dist/utilities/form.d.ts +9 -0
- package/dist/utilities/form.js +1 -0
- package/dist/utilities/index.d.ts +1 -1
- package/dist/utilities/index.js +1 -1
- package/dist/vue.d.ts +1 -1
- package/llms/components/lr-app-rail.md +4 -2
- package/llms/components/lr-badge.md +4 -4
- package/llms/components/lr-bar-chart.md +1 -1
- package/llms/components/lr-box-plot.md +6 -1
- package/llms/components/lr-bubble-chart.md +1 -1
- package/llms/components/lr-budget-meter.md +2 -2
- package/llms/components/lr-button-group.md +7 -3
- package/llms/components/lr-button.md +11 -1
- package/llms/components/lr-card.md +11 -1
- package/llms/components/lr-chart.md +21 -7
- package/llms/components/lr-checkbox-group.md +11 -1
- package/llms/components/lr-chip.md +11 -1
- package/llms/components/lr-code-block-core.md +36 -8
- package/llms/components/lr-code-block.md +45 -6
- package/llms/components/lr-code-editor.md +11 -1
- package/llms/components/lr-color-picker.md +17 -4
- package/llms/components/lr-combobox.md +62 -6
- package/llms/components/lr-context-menu.md +5 -3
- package/llms/components/lr-copy-button.md +2 -1
- package/llms/components/lr-counter.md +60 -0
- package/llms/components/lr-country-picker.md +5 -1
- package/llms/components/lr-currency-picker.md +5 -1
- package/llms/components/lr-date-input.md +1 -1
- package/llms/components/lr-date-picker.md +25 -1
- package/llms/components/lr-details.md +6 -2
- package/llms/components/lr-dialog.md +72 -8
- package/llms/components/lr-divider.md +14 -5
- package/llms/components/lr-doughnut-chart.md +1 -1
- package/llms/components/lr-drawer.md +26 -7
- package/llms/components/lr-dropdown-item.md +1 -1
- package/llms/components/lr-dropdown.md +8 -4
- package/llms/components/lr-emoji-picker.md +10 -1
- package/llms/components/lr-empty.md +3 -2
- package/llms/components/lr-export-button.md +5 -2
- package/llms/components/lr-file-input.md +13 -1
- package/llms/components/lr-filter-bar.md +6 -2
- package/llms/components/lr-graph-query-builder.md +10 -1
- package/llms/components/lr-heatmap.md +20 -3
- package/llms/components/lr-histogram.md +7 -2
- package/llms/components/lr-icon-button.md +3 -1
- package/llms/components/lr-icon.md +8 -0
- package/llms/components/lr-include.md +3 -0
- package/llms/components/lr-input.md +9 -1
- package/llms/components/lr-known-date.md +10 -1
- package/llms/components/lr-lightbox-item.md +14 -0
- package/llms/components/lr-lightbox.md +84 -5
- package/llms/components/lr-line-chart.md +7 -2
- package/llms/components/lr-lite-chart.md +3 -2
- package/llms/components/lr-locale-picker.md +17 -1
- package/llms/components/lr-map.md +122 -11
- package/llms/components/lr-markdown-core.md +15 -4
- package/llms/components/lr-markdown.md +13 -4
- package/llms/components/lr-menu-item.md +1 -1
- package/llms/components/lr-menu-label.md +5 -2
- package/llms/components/lr-menu.md +21 -6
- package/llms/components/lr-model-select.md +11 -1
- package/llms/components/lr-native-time-input.md +11 -1
- package/llms/components/lr-number-input.md +11 -1
- package/llms/components/lr-number-ticker.md +55 -0
- package/llms/components/lr-otp-input.md +11 -1
- package/llms/components/lr-page.md +7 -1
- package/llms/components/lr-pagination.md +18 -0
- package/llms/components/lr-pdf-viewer.md +6 -1
- package/llms/components/lr-phone-input.md +11 -1
- package/llms/components/lr-pie-chart.md +1 -1
- package/llms/components/lr-polar-area-chart.md +1 -1
- package/llms/components/lr-popover.md +25 -5
- package/llms/components/lr-radar-chart.md +1 -1
- package/llms/components/lr-radio-group.md +11 -1
- package/llms/components/lr-rubric-form.md +7 -1
- package/llms/components/lr-scatter-chart.md +1 -1
- package/llms/components/lr-segmented.md +20 -2
- package/llms/components/lr-select.md +10 -2
- package/llms/components/lr-sequence-playback.md +8 -2
- package/llms/components/lr-signature-pad.md +8 -1
- package/llms/components/lr-slider.md +17 -4
- package/llms/components/lr-stat.md +20 -5
- package/llms/components/lr-step.md +61 -0
- package/llms/components/lr-stepper.md +64 -8
- package/llms/components/lr-suggestion-chips.md +3 -2
- package/llms/components/lr-switch.md +4 -3
- package/llms/components/lr-tab-group.md +10 -3
- package/llms/components/lr-tab-panel.md +2 -2
- package/llms/components/lr-table.md +87 -8
- package/llms/components/lr-tag.md +1 -1
- package/llms/components/lr-textarea.md +17 -1
- package/llms/components/lr-thread-list.md +4 -2
- package/llms/components/lr-time-input.md +8 -1
- package/llms/components/lr-time-zone-picker.md +5 -1
- package/llms/components/lr-timeline-item.md +1 -1
- package/llms/components/lr-timeline.md +38 -1
- package/llms/components/lr-toast-item.md +1 -1
- package/llms/components/lr-toast.md +7 -2
- package/llms/components/lr-token-input.md +64 -8
- package/llms/components/lr-tooltip.md +3 -3
- package/llms/components/lr-tree-item.md +1 -1
- package/llms/components/lr-tree.md +2 -1
- package/llms/components/lr-unit-picker.md +5 -1
- package/llms/components/lr-video.md +5 -4
- package/llms/components/lr-voice-picker.md +8 -1
- package/llms/components/lr-widget.md +2 -2
- package/llms/components/lr-zoomable-frame.md +8 -0
- package/llms/index.md +145 -141
- package/llms/migration.md +20 -12
- package/llms/peers.md +2 -2
- package/llms/shared/events-and-types.md +36 -0
- package/llms/shared/imports-and-registration.md +60 -1
- package/llms/shared/native-styles-and-utilities.md +109 -3
- package/llms/shared/styles-and-tokens.md +2 -2
- package/llms/shared/testing-and-utilities.md +21 -0
- package/llms/shared.md +227 -6
- package/llms/tokens.md +6 -1
- package/llms.txt +3 -3
- package/locales.json +1 -1
- package/package.json +38 -9
- package/registrations.json +1 -1
- package/skills/compose-lyra-interfaces/SKILL.md +1 -1
- package/skills/lyra-ui/SKILL.md +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,208 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 32.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 5a820c9: The optional `chartjs-plugin-zoom` peer now accepts `^2.0.0 || ^3.0.0`. Charts with `zoomable` work
|
|
8
|
+
with the 3.x line, which recognizes pan and pinch gestures from native pointer events and no longer
|
|
9
|
+
installs `hammerjs`; existing 2.x installations keep working unchanged.
|
|
10
|
+
- cd597ad: Add `<lr-counter>`, a countdown and count-up clock with locale-aware unit labels, per-unit and
|
|
11
|
+
`finished` slots, `paused`, `delimiter`, `largest-unit`/`smallest-unit` and an `lr-finish` event, and
|
|
12
|
+
`<lr-number-ticker>`, a number that counts to its value when scrolled into view with `Intl.NumberFormat`
|
|
13
|
+
options, `eager`, `restart()` and an `lr-finish` event. Both honor reduced motion and keep the animated
|
|
14
|
+
text out of the accessibility tree.
|
|
15
|
+
- cd597ad: Spacing and type scales grow: `--lr-space-xl`, `--lr-space-3xl`, `--lr-space-4xl`, `--lr-font-size-4xl`
|
|
16
|
+
and `--lr-font-size-5xl` (derived from the existing theme inputs, so density and re-theming carry
|
|
17
|
+
through). `utilities.css` adds `lr-gap-2xs`, `lr-gap-xl` to `lr-gap-4xl`, `lr-text-2xl` to
|
|
18
|
+
`lr-text-5xl`, `lr-heading-5`/`lr-heading-6`, the `lr-flank`, `lr-split`, `lr-frame-*`, `lr-span-grid`
|
|
19
|
+
and `lr-container` compositions, `lr-link-plain`, `lr-list-plain`, `lr-placeholder`, `lr-scroll-lock`,
|
|
20
|
+
a fail-open `lr-cloak`, radius and text-transform utilities, and variant (`lr-brand`, `lr-danger`, ...)
|
|
21
|
+
and size (`lr-size-2xs` to `lr-size-xl`) classes for plain elements. `native.css` now styles
|
|
22
|
+
checkbox, radio, range, colour and file inputs, `progress`, `meter`, `details`, `dialog`, `mark` and
|
|
23
|
+
lists inside `.lr-native`. The new opt-in `palette.css` declares static hue ramps
|
|
24
|
+
(`--lr-color-<hue>-<step>`).
|
|
25
|
+
- cd597ad: Developer-experience additions. `allDefined()` also accepts an options object (`match`,
|
|
26
|
+
`additionalElements`, `root`, `timeout`) that warns and resolves once the timeout expires; the
|
|
27
|
+
`(root, options)` form is unchanged. `setDefaultIconFamily()`, `getDefaultIconFamily()` and
|
|
28
|
+
`getDefaultIconVariant()` give `<lr-icon>` a default family and variant, and an icon library can set
|
|
29
|
+
`spriteSheet: true` to render a same-origin `<use>` reference. The autoloader exports `startLoader`
|
|
30
|
+
and `stopLoader` aliases, and `@aceshooting/lyra-ui/utilities/form.js` adds `serialize(form)`.
|
|
31
|
+
`<lr-code-block>` and `<lr-code-block-core>` take their source from light-DOM text (dedented, or kept
|
|
32
|
+
as written with `without-dedent`), wrap long lines with `wrap`, and accept `label` and `without-copy`
|
|
33
|
+
aliases. The CDN recipe is in the imports guide.
|
|
34
|
+
- cd597ad: New `@aceshooting/lyra-ui/event-classes` subpath exports one class per event (`LyraChangeEvent`,
|
|
35
|
+
`LyraStepChangeEvent`, ...) plus the `LyraEvent` base, so `event instanceof LyraChangeEvent` narrows
|
|
36
|
+
`detail` and the instances components dispatch really are those classes. Components now dispatch a
|
|
37
|
+
`LyraEvent` (still a bubbling, composed `CustomEvent`; cancelable semantics and detail unchanged) and
|
|
38
|
+
never import the per-event classes, so the module is side-effect free and tree-shakable.
|
|
39
|
+
- cd597ad: `lr-lightbox` now mirrors `wa-lightbox`, and the new `lr-lightbox-item` mirrors `wa-lightbox-item`.
|
|
40
|
+
|
|
41
|
+
- Slot `<lr-lightbox-item>` children (links that work without JavaScript, `type="image|video"`, `srcset`/`sizes`, `width`/`height`, `thumbnail`, `alt`, a `caption` slot); the existing `images`/`imageSource` data mode is unchanged and still takes precedence.
|
|
42
|
+
- New lightbox members: `with-thumbnails`, `without-navigation`, `without-zoom`, `label`, `items`, `currentItem`, `zoomIn()`, `zoomOut()`, the `lr-item-change` event (alongside `lr-index-change`), icon slots (`close-icon`, `previous-icon`, `next-icon`, `zoom-in-icon`, `zoom-out-icon`), and the parts `dialog`, `scroll-container`, `navigation-button(-previous|-next)`, `image`, `slide`, `video`, `zoom-button`, `thumbnails`, `thumbnail` and `thumbnail-active`.
|
|
43
|
+
- Touch/pen swipe between items, video playback that pauses on slide change, and open/close/slide animation driven by `--show-duration`, `--hide-duration` and `--slide-gap` (plus `--thumbnail-size`, `--media-border-radius` and `--lr-lightbox-*` forms), stopped under reduced motion. `lr-after-show` and `lr-after-hide` keep their existing timing (after the open or closed render); the motion runs on after them. The toolbar zoom button is rendered for slotted items only, so `images`/`imageSource` galleries keep their existing chrome. `lr-item-change`, like `lr-index-change`, reports navigation and is not fired when `index` is written directly.
|
|
44
|
+
- Upstream-named styling hooks: the `--backdrop-color`, `--backdrop-filter`, `--controls-background`, `--controls-color` and `--spacing` properties (each `--lr-lightbox-*` token still wins, and the defaults keep the current look), the `open` and `zoomed` custom states on `lr-lightbox`, and the `active`, `empty` and `morphing` custom states on `lr-lightbox-item`. `label` and `without-counter` now reflect to their attributes. The inner frame's part is now `frame image`, so match it with `[part~="frame"]`.
|
|
45
|
+
- 110e2cd: `lyra-ui-migrate` now rewrites Web Awesome and Shoelace utility and theme classes (`wa-stack`, `wa-gap-*`, `wa-align-items-*`, `wa-dark`, `sl-theme-dark`, ...) in `class`, `className`, class bindings and `classList` calls, and maps theme, native and utility stylesheet imports and the autoloader entry to Lyra's `theme.css`, `native.css`, `utilities.css` and `autoloader-cdn.js`. Approximate matches rewrite with a review warning; classes and files with no Lyra counterpart (`wa-heading-*`, hue-pinned variants, `setBasePath`, `layers.css`) are reported and left unchanged.
|
|
46
|
+
- cd597ad: `lr-stepper` now mirrors the Web Awesome stepper alongside its data-driven `steps` mode, which is
|
|
47
|
+
unchanged. The new `lr-step` element (`name`, `completed`, `loading`, `disabled`, `variant`,
|
|
48
|
+
`attention`, `description` and `icon` slots, connector/marker/spinner/status parts, and the `active`, `completed`, `loading`, `disabled`, `locked` and `clickable` custom states) can be used as
|
|
49
|
+
children: the stepper then owns the current step through `active`, `linear`, `clickable` and
|
|
50
|
+
`label`, the `goTo()`, `next()` and `previous()` methods, `data-stepper="next|previous|goto <id>"`
|
|
51
|
+
invokers, and the cancelable `lr-before-step-change` plus `lr-step-change` events, with a roving
|
|
52
|
+
keyboard stop (RTL-aware), a localized status text and polite position announcements. `orientation`
|
|
53
|
+
also accepts `auto`, which stacks the steps when the stepper is too narrow, in both modes. New
|
|
54
|
+
strings: `stepperSteps`, `stepperStepPosition`, `stepperStateLoading` and `stepperStateDisabled`.
|
|
55
|
+
|
|
56
|
+
The stepper also exposes the `completed`, `loading` and `stacked` custom states and a `steps` part on
|
|
57
|
+
the step list (beside `base`), and both elements read the unprefixed `--marker-size`,
|
|
58
|
+
`--connector-color`, `--connector-color-active`, `--connector-width`, `--connector-gap`, `--gap` and
|
|
59
|
+
`--pulse-color` custom properties as aliases of their `--lr-stepper-*`/`--lr-step-*` counterparts.
|
|
60
|
+
- cd597ad: `<lr-timeline>` gains `orientation="auto"` (row when the timeline has room, column otherwise),
|
|
61
|
+
`marker-placement` (`start`, `end`, `alternate`), `marker-alignment` (`start`, `center`), a `label`
|
|
62
|
+
property and the `timeline` part. `<lr-timeline-item>` gains the `opposite` slot and part with
|
|
63
|
+
`with-opposite`, the `icon` slot (alias of `marker-icon`) with `with-icon`, and the `connector` and
|
|
64
|
+
`timeline-item` part aliases. New custom properties: `--lr-timeline-icon-marker-size`,
|
|
65
|
+
`--lr-timeline-connector-color`, `--lr-timeline-connector-width`, `--lr-timeline-connector-gap` and
|
|
66
|
+
`--lr-timeline-opposite-size`.
|
|
67
|
+
- 1a802da: New theming tokens, each defaulting to the current rendering:
|
|
68
|
+
|
|
69
|
+
- `lr-menu-item` and `lr-dropdown-item`: `--lr-menu-item-color` (resting text), `--lr-menu-item-font-weight`, `--lr-menu-item-letter-spacing`, `--lr-menu-item-details-font-size` and `--lr-menu-item-details-color`.
|
|
70
|
+
- `lr-menu-label`: `--lr-menu-label-font-weight` and `--lr-menu-label-letter-spacing`.
|
|
71
|
+
- `lr-stat`: `--lr-stat-value-color` (neutral headline), `--lr-stat-value-line-height`, `--lr-stat-value-margin` and `--lr-stat-value-row-align`.
|
|
72
|
+
- `lr-details`: `--lr-details-summary-hover-color`.
|
|
73
|
+
- `lr-thread-list`: `--lr-thread-list-search-bg`, `--lr-thread-list-search-border-color` and `--lr-thread-list-search-color`.
|
|
74
|
+
- `lr-suggestion-chips`: `--lr-suggestion-chips-hover-color`.
|
|
75
|
+
- `lr-dialog`: `--lr-dialog-heading-letter-spacing`.
|
|
76
|
+
- `lr-switch`: `--lr-switch-checked-label-font-weight`.
|
|
77
|
+
- `lr-code-block` and `lr-code-block-core`: `--lr-code-block-border`, `--lr-code-block-bg`, `--lr-code-block-header-padding` and `--lr-code-block-header-border`.
|
|
78
|
+
- `lr-app-rail`: `--lr-app-rail-frame-border` for the card frame; `--lr-app-rail-edge-border` still owns the inline-end edge.
|
|
79
|
+
- 1a802da: `@aceshooting/lyra-ui/testing` adds `installHappyDomResponseBytesShim()`, and `installHappyDomShims()` now calls it: it supplies `Response.prototype.bytes()` where Happy DOM lacks it. Shiki's inlined Oniguruma engine, which `lr-code-block` loads on demand, calls `bytes()` as it imports, so Happy DOM suites no longer see an unhandled rejection per highlighter load.
|
|
80
|
+
- 1a802da: `lr-map` adds `drawingFinishBehavior` (`'clear'` default, or `'keep'` to commit on Finish and keep the edit on the map, so a sticky mode re-arms only after cancel or Escape), `legendClearance` (`'row'` default, `'corner'` to clear only the control corners in the legend's own column, or `'none'` to place the legend from the map edge with its insets alone), `anchorFill` (the `anchor-body` stops scrolling and shrinks the slotted card to the panel, leaving `--lr-map-anchor-close-reservation` to the card's header), the control-group tokens `--lr-map-control-group-radius`, `--lr-map-control-group-border`, `--lr-map-control-button-radius` and `--lr-map-control-divider`, the scale tokens `--lr-map-scale-bg`, `--lr-map-scale-radius`, `--lr-map-scale-border`, `--lr-map-scale-padding-block`, `--lr-map-scale-padding-inline`, `--lr-map-scale-font-size` and `--lr-map-scale-color`, and the legend tokens `--lr-map-legend-row-gap`, `--lr-map-legend-group-columns`, `--lr-map-legend-border`, `--lr-map-legend-toggle-padding` and `--lr-map-legend-disclosure-padding`. Defaults are unchanged.
|
|
81
|
+
- 1a802da: `lr-markdown` and `lr-markdown-core` add `--lr-markdown-heading-margin-block-start` (the space before a heading; `--lr-markdown-block-gap` stays the space after every block) and `--lr-markdown-code-block-font-size` / `--lr-markdown-code-block-line-height` for fenced code. Each defaults to the current value.
|
|
82
|
+
- 1a802da: `lr-pdf-viewer` adds a reflected `fill` boolean, like `lr-heatmap`'s: inside a parent with a definite block size (a dialog body, a sized flex column) the viewer takes the parent's height, the toolbar keeps its row, and the page list takes the rest and becomes the single scroller. Without it the page list keeps its fixed `--lr-pdf-viewer-height`.
|
|
83
|
+
- 1a802da: `lr-stat` adds three layout and typography tokens, each defaulting to today's rendering:
|
|
84
|
+
|
|
85
|
+
- `--lr-stat-icon-box-size` sizes the icon chip box (inline and block size, padding included) with the glyph centred in it; `--lr-stat-icon-size` keeps sizing the glyph.
|
|
86
|
+
- `--lr-stat-value-letter-spacing` sets the headline value's letter spacing, alongside the existing label token.
|
|
87
|
+
- `--lr-stat-rows-gap` spaces the breakdown rows; the space between sections stays `--lr-stat-gap`.
|
|
88
|
+
- 1a802da: Additive theming hooks, all falling back to today's rendering when unset. `lr-table`: `--lr-table-filter-height` (honours `--lr-input-control-min-height`), `--lr-table-filter-font-size`, `--lr-table-filter-wrap` and `--lr-table-filter-basis` (stack the built-in filter under its label at narrow widths), `--lr-table-caption-*` (font size, weight, colour, text alignment, padding), `--lr-table-reveal-columns-min-size`, and `--lr-table-cell-link-font-weight`, `-text-decoration` plus hover variants. `lr-segmented`: `--lr-segmented-segment-min-size`. `lr-sequence-playback`: `--lr-sequence-playback-value-*` for the readout. `lr-card`: `--lr-card-border-color` colours the outer border only. `lr-stat`: `--lr-stat-radius`. `lr-badge`: `--lr-badge-font-weight`, `--lr-badge-line-height`. `lr-button`: inherited `--lr-button-label-wrap`. `lr-table`'s `lr-page-change` detail now also carries `pageSize` and `offset`, matching `lr-pagination`.
|
|
89
|
+
|
|
90
|
+
Further additive hooks. `lr-table`: `--lr-table-header-bg`, `--lr-table-header-border-color`, `--lr-table-group-bg`, `--lr-table-more-button-bg`, `--lr-table-reveal-columns-bg`. `lr-card`: `--lr-card-body-padding`. `lr-budget-meter`: `--lr-budget-meter-value-color`. `lr-stepper`: `--lr-stepper-index-border` with current/error variants. `lr-widget`: `--lr-widget-header-divider`. Form controls: `--lr-form-control-transition` (input, textarea, combobox, select), `--lr-form-control-focus-outline` and `--lr-select-open-shadow` (select).
|
|
91
|
+
- 1a802da: `lr-chip-group` gains an opt-in selection model: `selection="single|multiple"`, a `value` (string, or an array in `multiple`), an `lr-change` event, and `all-value` to name an "all" chip that clears the selection and cannot be un-pressed. With `selection` unset nothing changes.
|
|
92
|
+
- 1a802da: Form controls: `lr-slider`, `lr-radio-group` and `lr-checkbox-group` take `label-placement="start"` like the other fields, sharing the existing label-column layout and tokens. `lr-checkbox-group` adds `--lr-checkbox-group-option-row-gap` and `--lr-checkbox-group-option-column-gap` for wrapped options, `lr-input` (and `lr-number-input`) adds `--lr-input-font-variant-numeric`, every form-control label reads `--lr-form-control-label-line-height`, and `lr-locale-picker` adds `--lr-locale-picker-trigger-radius` for the trigger alone. Each token defaults to the current rendering.
|
|
93
|
+
- 1a802da: `lr-slider`: the label keeps inheriting the surrounding font size by default. To match the `lr-input` and `lr-select` label size, opt in with `--lr-form-control-label-font-size: var(--lr-font-size-md-sm)` on the slider or a containing form. The visible readout continues to show the localized number unless `value-display="formatted"` is set; this is now documented.
|
|
94
|
+
- 1a802da: `lr-chart` and its line and area family accept a custom dash pattern on `LyraChartSeries.dash` (`true` keeps the default `[4, 4]` dash; an array is a canvas `setLineDash()` pattern, an empty array draws solid) and a per-band `bandOpacity` on `type: 'band'` series, which overrides `--lr-chart-band-opacity` for that band's fill and legend swatch. Defaults are unchanged.
|
|
95
|
+
- 1a802da: `lr-heatmap` adds `fitBlock` (attribute `fit-block`: fits within the element's own `max-block-size` without a definite parent height, with the matrix grid as the single scroller) and the legend tokens `--lr-heatmap-legend-font-family` and `--lr-heatmap-legend-divider`. Defaults are unchanged.
|
|
96
|
+
- 1a802da: `lr-map` adds `anchorAvoidGap` (attribute `anchor-avoid-gap`: extra room kept beyond each edge an `anchorAvoid` obstacle reserves), `controlsAvoid` (observed application chrome whose overlap is added to `--lr-map-controls-inset-*`, so the control corners, legend and bars clear it), the single-corner insets `--lr-map-controls-<corner>-inset-block` and `--lr-map-controls-<corner>-inset-inline` for `top-left`, `top-right`, `bottom-left` and `bottom-right`, the attribution tokens `--lr-map-attribution-padding`, `--lr-map-attribution-link-padding`, `--lr-map-attribution-max-inline-size`, `--lr-map-attribution-font-family`, `--lr-map-attribution-font-size`, `--lr-map-attribution-line-height`, `--lr-map-attribution-toggle-size`, `--lr-map-attribution-toggle-radius` and `--lr-map-attribution-toggle-icon-size`, and the deferred-initialization tokens `--lr-map-initialization-placeholder-bg`, `--lr-map-initialization-skeleton-display` and `--lr-map-initialization-activate-label-display`. Defaults are unchanged.
|
|
97
|
+
- 1a802da: `lr-dialog` and `lr-drawer` sizing and panel hooks, each off or defaulting to the current rendering:
|
|
98
|
+
|
|
99
|
+
- `lr-dialog`: a `fullscreen-narrow` attribute that fills the viewport while it is at most `40rem` wide (followed live); `--lr-dialog-max-height` (panel block-size cap, viewport-capped); `--lr-dialog-viewport-inset` (gap between the viewport and the panel, default `var(--lr-space-l)`); `--lr-dialog-panel-bg` (fill of the panel only, so popups opened inside keep `--lr-overlay-surface`); and `--lr-dialog-divider-color` (header and footer rules, default the `--lr-overlay-border` chain).
|
|
100
|
+
- `lr-drawer`: `--lr-drawer-panel-bg` (panel-only fill, ahead of `--lr-dialog-panel-bg`); a `floating` attribute for an inset sheet with a `--lr-drawer-inset` gap (default `var(--lr-space-s)`) and corners rounded with `--lr-overlay-radius`; and `--lr-drawer-radius`. The default drawer stays square and edge-flush.
|
|
101
|
+
- 1a802da: `lr-menu`: `--lr-menu-max-block-size` sets the `[part="list"]` block-size ceiling (and a submenu surface's), default `var(--lr-size-20rem)` as before. Inside `lr-dropdown` the positioned available space still caps it.
|
|
102
|
+
- 1a802da: Anchored popup sizing hooks, each defaulting to the current rendering:
|
|
103
|
+
|
|
104
|
+
- `lr-popover` and `lr-dropdown`: `--lr-overlay-inline-size` (assertive popup width; the maximum falls back to it when no maximum is set) and `--lr-overlay-min-inline-size` (popup floor, capped by the available space), and a `full-width-trigger` attribute that stretches the host, the `trigger` part and the slotted trigger to the container width.
|
|
105
|
+
- `lr-popover`: `--lr-overlay-content-padding` for the `content` part (default `var(--lr-space-m)`).
|
|
106
|
+
- `lr-context-menu`: `--lr-context-menu-min-inline-size`, which wins over the shared `--lr-overlay-min-inline-size`.
|
|
107
|
+
- 1a802da: New `prompt()` helper next to `confirm()`, at `@aceshooting/lyra-ui/components/overlays/dialog/prompt.js` (a granular subpath, so the root barrel does not carry `lr-input`). It opens a transient `lr-dialog` with one labelled `lr-input` (initial `value`, optional `placeholder` and `description`), focuses the field, submits on the confirm button or Enter, keeps the dialog open with an optional `validate()` message, and resolves `Promise<string | null>` (`null` on cancel, Escape, backdrop or removal). Default action labels use the localized `confirm`/`cancel` messages.
|
|
108
|
+
- 1a802da: `lr-tab-group`: `--lr-tab-group-tab-padding`, `--lr-tab-group-tab-font-size` and `--lr-tab-group-tab-min-block-size` for the tab buttons, and `--lr-tab-group-track-width` for the strip rule (behind the upstream `--track-width` alias). All default to the current rendering.
|
|
109
|
+
- 1a802da: `lr-toast`: `--lr-toast-inset-block` and `--lr-toast-inset-inline` set a region's distance from the viewport edges (both default `var(--lr-space-l)`, safe-area insets still win). Each placement is its own region, so a placement selector scopes them per region.
|
|
110
|
+
- 67cef2a: `lr-table` gains opt-in structure controls. `stack-header` (`stackHeader: 'visible' | 'sortable' | 'hidden'`, default `'visible'`) chooses what the column header strip shows while rows are stacked: `'sortable'` keeps only the sortable headers as a compact sort strip and `'hidden'` keeps none. Headers left out stay in the accessibility tree and are shown while focused. A column's `rowHeader: true` renders its body cells as `<th scope="row" role="rowheader">`, styled like the row and tunable through `--lr-table-row-header-font-weight`. `without-header-row` (`withoutHeaderRow`) omits the `<thead>` for a header-less table named by its `caption` or `aria-label`. `rowAttributes(row, index)` adds `data-*` attributes and `aria-label`/`aria-description`/`aria-current`/`aria-rowindex` to each body row, and drops event handlers, `style` and every other name. A development build now warns when a `cellPart` result reuses one of the table's own part names, such as `cell-label`. A column's `wrap: 'wrap' | 'nowrap'` sets line wrapping for its body and footer cells (unset keeps today's wrapping; a `'nowrap'` column wraps while stacked). New tokens, each defaulting to today's rendering: `--lr-table-border` (the frame border shorthand), `--lr-table-cell-line-height` (body cells) and `--lr-table-sort-icon-vertical-align` (`middle`). New exported types: `TableStackHeader`, `TableRowAttributes`, `TableRowAttributeValue` and `TableColumnWrap`.
|
|
111
|
+
- 67cef2a: `lr-chart`, its typed aliases, `lr-box-plot` and `lr-lite-chart` add `--lr-chart-legend-justify` and `--lr-chart-legend-item-line-height`. Every default is unchanged, including `lr-lite-chart`'s centred legend.
|
|
112
|
+
- 67cef2a: `lr-markdown` and `lr-markdown-core` add `--lr-markdown-font-size`, `--lr-markdown-line-height`, `--lr-markdown-color`, `--lr-markdown-paragraph-gap` and `--lr-markdown-list-gap` (both gaps default to `--lr-markdown-block-gap`). Every default is unchanged.
|
|
113
|
+
- 67cef2a: `lr-stat` adds the `truncate` attribute (one ellipsized value line), `--lr-stat-align`, `--lr-stat-border-color` and `--lr-stat-label-line-height`; `lr-heatmap` adds `--lr-heatmap-legend-justify`, `--lr-heatmap-legend-offset` and `--lr-heatmap-legend-swatch-radius`. Every default is unchanged.
|
|
114
|
+
- 67cef2a: Form labels take `--lr-form-control-label-text-align`, `--lr-form-control-label-text-transform` and `--lr-form-control-label-block-gap` (the gap between a label above its field and the field, also in a collapsed `label-placement="start"` row). `lr-input` adds `--lr-input-line-height` and `--lr-input-number-direction` for numeric content; `lr-date-input` adds `--lr-date-input-action-color` for the resting clear and calendar actions; `lr-slider` adds `--lr-slider-thumb-border-width`, `--lr-slider-thumb-shadow`, `--lr-slider-value-color` and `--lr-slider-value-font-family`; `lr-locale-picker` adds `--lr-locale-picker-listbox-min-inline-size`; `lr-button` adds `--lr-button-line-height`, `--lr-button-link-text-decoration`, `--lr-button-link-hover-text-decoration` and `--lr-button-link-min-height`. Every default is unchanged.
|
|
115
|
+
- 67cef2a: `lr-segmented` adds `icon-placement="end"` (`LyraSegmentedIconPlacement`) and `full-width`. `lr-button-group` adds `--lr-button-group-justify`; `lr-filter-bar` adds `--lr-filter-bar-control-height` and `--lr-filter-bar-control-font-size` for every filter type and the reset button; `lr-menu-label` adds `--lr-menu-label-line-height`, `--lr-menu-label-font-family` and `--lr-menu-label-text-transform`; `lr-card` adds `--lr-card-min-block-size`, `--lr-card-body-justify` and `--lr-card-body-align`; `lr-details` adds `--lr-details-icon-color` and `--lr-details-icon-size`. Every default is unchanged.
|
|
116
|
+
- 67cef2a: `lr-map` adds `legend-flow="column"` (`LyraMapLegendFlow`) to fill legend columns top to bottom under spanning group headings, plus `--lr-map-legend-toggle-min-height`, `--lr-map-legend-disclosure-min-height`, `--lr-map-legend-toggle-font-weight`, `--lr-map-legend-disclosure-font-weight`, `--lr-map-legend-group-heading-color`, `--lr-map-legend-group-heading-padding` and `--lr-map-attribution-margin`. `lr-sequence-playback` adds `full-width`. Every default is unchanged.
|
|
117
|
+
- 67cef2a: `lr-dialog` adds `--lr-dialog-heading-line-height`, `--lr-dialog-header-border` and `--lr-dialog-body-overflow`; `lr-empty` adds `--lr-empty-icon-color`. Every default is unchanged.
|
|
118
|
+
- 67cef2a: `lr-export-button` adds `--lr-export-button-font-size`, `--lr-export-button-font-weight` and `--lr-export-button-padding-inline` for the trigger, with or without a `size` tier; the menu rows keep their own. Every default is unchanged.
|
|
119
|
+
- cd597ad: Additive Web Awesome 3.15 parity:
|
|
120
|
+
|
|
121
|
+
- `lr-divider`: a default-slot label with `label-placement` (`start`, `center`, `end`) and `with-label`, parts `line`, `line-start`, `line-end` and `label`, and `--label-spacing` / `--label-offset`.
|
|
122
|
+
- `lr-zoomable-frame`: `allow` (filtered to a short list of low-risk Permissions Policy features; it never alters the sandbox), `name` and `label` (a host `aria-label` still wins).
|
|
123
|
+
- `lr-video`: `--aspect-ratio` (default `16 / 9`) and the `player` and `body` parts.
|
|
124
|
+
- `lr-include`: `without-fragment` includes the whole sanitized remote document and ignores the hash.
|
|
125
|
+
- `lr-dialog` / `lr-drawer`: `--backdrop-color` alias of `--lr-dialog-overlay-color` and the `with-label` server-rendering hint.
|
|
126
|
+
- Component-named part aliases next to the existing names: `close-button__button` (dialog, drawer), `tooltip__popup` and `tooltip__arrow` (tooltip), `tooltip__body` (slider), `tab-panel` (tab panel), `format-button__button`, `eyedropper-button__button` and `form-control-input` (color picker), `tag__remove-button__button` (select), `button-group` (button group) and `copy-button` (copy button).
|
|
127
|
+
- cd597ad: `<lr-token-input>` gains `max-tags`/`min-tags` (localized `rangeOverflow`/`rangeUnderflow` validity), the
|
|
128
|
+
`with-clear`/`clearable` button (`clear-button` part, `clear-icon` slot, `lr-clear` event), the `blank` and
|
|
129
|
+
`readonly` custom states, an `inputValue` property, string assignment to `value`, the cancelable per-token
|
|
130
|
+
`lr-create` event, and the `tag-input`, `tags`, `tag`, `tag__content` and `tag__remove-button` part aliases.
|
|
131
|
+
`delimiter` keeps its existing meaning: a multi-character delimiter is matched as one literal
|
|
132
|
+
sequence and pasting does not commit by itself. Because a token part now carries several names,
|
|
133
|
+
shadow-root queries should match `[part~="token"]`; `::part(token)` selectors are unaffected. `<lr-combobox>` gains `dataSource` (a
|
|
134
|
+
single-argument `{ query, signal }` provider that may return option objects, option elements or option
|
|
135
|
+
markup, read as text only; `source` keeps its own call shape), `reload()` (alias of `refresh()`),
|
|
136
|
+
`filter-debounce` (alias of `source-delay`, keeping its 200ms default), the `lr-options-request` and
|
|
137
|
+
`lr-options-error` events, a `server` mode that announces requests and skips client-side filtering,
|
|
138
|
+
`currentOption`, the `empty`, `no-results` and `loading` slots with matching `status` parts, an in-field
|
|
139
|
+
`spinner` part shown while options load, the `loading` and `showing-loading-row` custom states, and the
|
|
140
|
+
`tag__remove-button__button` part alias. Match `[part~="tag__remove-button"]` in shadow-root queries.
|
|
141
|
+
|
|
142
|
+
`<lr-token-input>` also gains `with-label`/`with-hint`, `resetValidity()`, a static `validators`
|
|
143
|
+
catalog, the lowercase `inputmode`/`enterkeyhint` property aliases, a reflected `allow-duplicates`,
|
|
144
|
+
a `name` setter that accepts `null`, and a `value` attribute that accepts delimiter-separated text
|
|
145
|
+
beside the JSON array form (text that is not a JSON array now becomes tokens instead of an empty
|
|
146
|
+
list). The `value` property still reads a frozen `readonly string[]`.
|
|
147
|
+
- 110e2cd: `lr-popover` and `lr-dropdown` gain a property-only `virtualElement` that positions the popup against
|
|
148
|
+
a virtual element, any object with `getBoundingClientRect()` and an optional `contextElement` (new
|
|
149
|
+
`LyraPopoverVirtualElement` type), ahead of `anchor`; `anchor` and element anchors behave as before.
|
|
150
|
+
`lr-dropdown-item` exposes the `active`, `checked`, `disabled`, `has-submenu`, `link` and
|
|
151
|
+
`submenu-open` custom states. `lr-page` gains a reflected `disableSticky` property for the existing
|
|
152
|
+
`disable-sticky` attribute, and accepts and reflects `nonce` for migrated markup.
|
|
153
|
+
|
|
154
|
+
`lr-code-block` and `lr-code-block-core` expose the `loading`, `error` and `highlighted` custom
|
|
155
|
+
states and a new `lr-load` event (`detail: { highlighted }`, new `LyraCodeBlockLoadDetail` type):
|
|
156
|
+
`true` when highlighted output is produced, `false` when no grammar exists for `language` and the
|
|
157
|
+
code renders as plain text. `lr-error` keeps firing only when clipboard writing fails. Thirteen syntax colour properties (`--comment-color`,
|
|
158
|
+
`--keyword-color`, `--operator-color`, `--string-color`, `--constant-color`, `--function-color`,
|
|
159
|
+
`--type-color`, `--variable-color`, `--property-color`, `--tag-color`, `--selector-color`,
|
|
160
|
+
`--inserted-color`, `--deleted-color`) recolour highlighted tokens, and unset keeps the theme
|
|
161
|
+
colour. The copy button exposes the `copy-button__button`, `copy-button__copy-icon`,
|
|
162
|
+
`copy-button__success-icon`, `copy-button__error-icon` and `copy-button__feedback` parts, and
|
|
163
|
+
`without-copy` now reflects.
|
|
164
|
+
- 110e2cd: Part-name parity with the current upstream manifest, added alongside the existing names:
|
|
165
|
+
`lr-tag` exposes `remove-button__button`, `lr-tab-group` exposes `scroll-button__button`,
|
|
166
|
+
`lr-toast-item` exposes `progress-ring__progress-ring`, and `lr-tree-item` exposes
|
|
167
|
+
`checkbox__checkbox` and `spinner__spinner`. Each is a second token on the node that already
|
|
168
|
+
carried the corresponding `__base` part, so existing selectors keep matching.
|
|
169
|
+
|
|
170
|
+
### Patch Changes
|
|
171
|
+
|
|
172
|
+
- 1a802da: `lr-combobox` with `commit="text"`: assigning `value = ''` now means no value, as clearing the text already did, so the placeholder shows again and `required` reports `valueMissing`. The default `commit="value"` keeps `''` as a selectable option value.
|
|
173
|
+
- 1a802da: `lr-icon-button` keeps its exact `--lr-icon-button-size` square when the slotted glyph sits inside an inline wrapper (a `<span>` around an `<svg>`): the native button now sets `line-height: 1`, so a large root font size or a tall inherited line-height no longer grows the box past the token.
|
|
174
|
+
- 1a802da: `lr-map` reads `drawingSticky` when a completion edit ends rather than when it opened: an edit opened by `drawingCompleteBehavior = 'edit'` while `drawingSticky` was set no longer re-arms the previous `drawMode` after Finish, cancel, Escape or `cancelDrawing()` once `drawingSticky` has been cleared, so `drawMode` stays `'none'` as documented.
|
|
175
|
+
- cd597ad: Size ceilings follow reviewed measurements after the consumer-gap theming tokens and options. These are the form, overlay, map, chart, table and layout hooks, plus dialog `fullscreen-narrow` and panel tokens, drawer `floating`, popover sizing, toast insets, chip-group selection, label placement, and the shared form-control transition and focus-outline hooks. Measured gzip bytes:
|
|
176
|
+
|
|
177
|
+
- 1,815,368 for `dist/autoloader-cdn.js` and 1,815,250 for `dist/autoloader.js`
|
|
178
|
+
- 487,533 for the data barrel, 296,640 for forms, 401,656 for media, 160,986 for overlays and 248,451 for utility
|
|
179
|
+
- 152,747 for `dist/lyra.js`; `prompt()` stays on its granular subpath, so the root entry does not carry `lr-input`
|
|
180
|
+
- 95,916 for the standalone combobox and 153,922 for the component p95
|
|
181
|
+
- 39,447 initial marginal bytes for combobox and 16,827 for tooltip
|
|
182
|
+
|
|
183
|
+
In `@aceshooting/lyra-gen`, the same additions change how gen-view's lazy chunks split. Lazy raw JavaScript grows by only 362 bytes, but the per-file gzip sum reaches 257,942 bytes. Chat-composition lazy JavaScript measures 1,044,304 raw and 305,790 gzip bytes.
|
|
184
|
+
|
|
185
|
+
Each exceeded ceiling advances only to the next 64-byte boundary above its measurement. Passing ceilings, the headroom policy and optional-peer exclusions are unchanged.
|
|
186
|
+
- 67cef2a: Size ceilings follow reviewed measurements after the `lr-table` structure options (stacked headers, header-less rows, row headers, row attributes, cell wrapping and the `--lr-table-*` tokens) and the consumer theming tokens and options across forms, layout, overlays, utility, data, media, charts and conversation. Measured gzip bytes:
|
|
187
|
+
|
|
188
|
+
- 1,835,181 for `dist/autoloader-cdn.js`, 1,835,012 for `dist/autoloader.js`, 1,595,774 for `dist/all.js` and 1,859,275 for `dist/ssr/all.js`
|
|
189
|
+
- 491,093 for the data barrel, 298,510 for forms, 415,697 for layout, 407,286 for media and 253,095 for utility
|
|
190
|
+
- 153,301 for `dist/lyra.js`
|
|
191
|
+
- 39,626 initial marginal bytes for combobox
|
|
192
|
+
|
|
193
|
+
With their documented styling hooks, the lyra-ui package measures 24,321,454 unpacked bytes (npm estimate) and the generated IDE data 1,946,895 packed archive bytes.
|
|
194
|
+
|
|
195
|
+
In `@aceshooting/lyra-gen`, gen-view lazy JavaScript measures 259,887 gzip bytes and chat-composition lazy JavaScript 1,051,747 raw and 307,678 gzip bytes.
|
|
196
|
+
|
|
197
|
+
Each exceeded ceiling advances only to the next 64-byte boundary above its measurement. Passing ceilings, the headroom policy and optional-peer exclusions are unchanged.
|
|
198
|
+
- 67cef2a: `lr-table` in stacked mode: the `caption` now spans the cards instead of wrapping into a narrow column, and a `cellStyle` that preserves white space (`pre`, `pre-wrap`) no longer opens a blank line before a cell's `cell-label` caption. Body cell content is now bound flush to the cell, so the same style no longer adds blank lines in grid mode either.
|
|
199
|
+
- 16386bb: Fix the label of a server-rendered `lr-checkbox` staying hidden after hydration. The shared label-presence check now waits until the hydrating first render has reproduced the server markup, then reveals the slotted label on the next render.
|
|
200
|
+
- 16386bb: Fix a server-rendered `lr-copy-button` losing its `role="group"` markup fallback during hydration. Development builds also no longer warn about Lit SSR's `defer-hydration` and `hydrate-internals-*` attributes as unknown attributes.
|
|
201
|
+
- 16386bb: Fix server-rendered `Intl` text staying in the server's locale after hydration under an ancestor `lang` (`lr-format-number`, `lr-format-date`, `lr-format-bytes`, `lr-relative-time` and every other component that formats through the effective locale). The hydrating first render now formats in the locale the server resolved, and the next render commits the inherited locale.
|
|
202
|
+
- 16386bb: Fix `lr-tab-group` dropping its server-selected `active` tab during hydration and falling back to the first tab. Neither the server render nor the hydrating first update can see the tabs yet, so neither of them now repairs `active`.
|
|
203
|
+
- 110e2cd: The migration inventory now targets Web Awesome 3.15.0. It records `lr-stepper`/`lr-step`, `lr-token-input` and `lr-code-block` as the counterparts of `wa-stepper`/`wa-step`, `wa-tag-input` and `wa-code-highlighter`, and `lyra-ui-migrate` rewrites the exported parts that Web Awesome 3.15 deprecated to their replacements: `wa-tooltip` `base`/`base__popup`/`base__arrow`, `wa-button-group` and `wa-tab-panel` `base`, `wa-color-picker` `base`/`eyedropper-button__base`/`format-button__base`, `wa-dialog`/`wa-drawer` `close-button__base`, `wa-select` `label`/`tag__remove-button__base` and `wa-slider` `tooltip__base`. The reviewed Web Awesome Pro snapshots now record the 3.15 combobox async-options surface, the exported parts of `wa-date-input` and `wa-file-input`, and the stable status of date input, date picker, data grid, video and video playlist.
|
|
204
|
+
- 57b8822: `lr-zoomable-frame` no longer sets the native `allowfullscreen` attribute when its `allow` value already carries a `fullscreen` directive, so the browser stops warning that one overrides the other.
|
|
205
|
+
|
|
3
206
|
## 32.0.0
|
|
4
207
|
|
|
5
208
|
### Major Changes
|
package/README.md
CHANGED
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
library for accessible forms, dashboards, charts, data visualization, and AI chat/agent interfaces.
|
|
28
28
|
Built with [Lit](https://lit.dev), it works with Lit, React, Vue, Angular, Svelte, and plain JavaScript.
|
|
29
29
|
It is a practical open-source alternative to [Shoelace](https://shoelace.style/) and
|
|
30
|
-
[Web Awesome](https://webawesome.com/), with
|
|
30
|
+
[Web Awesome](https://webawesome.com/), with 321 custom elements, native custom-element APIs,
|
|
31
31
|
tree-shakeable, granular per-component imports, its own `--lr-*` design tokens, built-in localization and RTL support,
|
|
32
32
|
and no runtime dependency on either project.
|
|
33
33
|
|
|
@@ -102,6 +102,18 @@ approval" notice is safe: `pnpm approve @aceshooting/lyra-ui`.
|
|
|
102
102
|
npm install @aceshooting/lyra-ui
|
|
103
103
|
```
|
|
104
104
|
|
|
105
|
+
No build step? The companion `@aceshooting/lyra-cdn` loads Lyra from one script tag with its dependencies bundled, no import map needed. Only the
|
|
106
|
+
components the page uses are fetched:
|
|
107
|
+
|
|
108
|
+
```html
|
|
109
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aceshooting/lyra-cdn@VERSION/dist/theme.css">
|
|
110
|
+
<script type="module" src="https://cdn.jsdelivr.net/npm/@aceshooting/lyra-cdn@VERSION/dist/lyra-ui.loader.js"></script>
|
|
111
|
+
<lr-button variant="primary">Save</lr-button>
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
Options and the opt-out attribute:
|
|
115
|
+
[`imports-and-registration.md`](./llms/shared/imports-and-registration.md#single-script-tag-no-build-step-no-import-map).
|
|
116
|
+
|
|
105
117
|
Lit and Floating UI install transitively; everything else is an optional peer, installed only for the components that need it (full map: [`llms/peers.md`](./llms/peers.md)): `@aceshooting/lyra-flags`
|
|
106
118
|
(`<lr-flag>`), `@aceshooting/lyra-translations` (non-English locales, `loadLyraLocale()`), `libphonenumber-js`
|
|
107
119
|
(`<lr-phone-input>` adapter; E.164 input works without it), `d3-force`/`d3-drag`/`d3-zoom`/`d3-selection`
|
|
@@ -142,7 +154,7 @@ import "@aceshooting/lyra-ui/components/lr-option.js";
|
|
|
142
154
|
- **Family entries** (`@aceshooting/lyra-ui/components/forms`, likewise `overlays`, `agent-tools`, `charts`,
|
|
143
155
|
`conversation`, `data`, `layout`, `media`, `retrieval`, `utility`, `viewers`) register every tag in the family;
|
|
144
156
|
they are side-effectful and cannot be tree-shaken, so prefer granular paths.
|
|
145
|
-
- **Everything:** `import "@aceshooting/lyra-ui/all.js"` registers
|
|
157
|
+
- **Everything:** `import "@aceshooting/lyra-ui/all.js"` registers 306 tags — every component **except** the 15 optional-peer
|
|
146
158
|
tags (`<lr-chart>` and typed subclasses, `<lr-box-plot>`, `<lr-histogram>`, `<lr-map>`, `<lr-graph>`,
|
|
147
159
|
`<lr-knowledge-graph-explorer>`, `<lr-geojson-viewer>`), which need their own subpath import.
|
|
148
160
|
`<lr-flag>` with `country`/`language` also needs `@aceshooting/lyra-ui/components/media/flag/flag-peer.js` once.
|
|
@@ -318,7 +330,7 @@ A per-tag entry can register several elements (`components/lr-table.js` also def
|
|
|
318
330
|
|
|
319
331
|
## Components
|
|
320
332
|
|
|
321
|
-
All
|
|
333
|
+
All 321 tags appear below: the table lists components mirroring a Web Awesome or Shoelace tag, the lists after it the
|
|
322
334
|
original ones. Purpose and import path: [`llms/index.md`](./llms/index.md); full APIs: `llms/components/<tag>.md`
|
|
323
335
|
and the [live docs](https://aceshooting.github.io/lyra-ui/).
|
|
324
336
|
|
|
@@ -328,6 +340,7 @@ and the [live docs](https://aceshooting.github.io/lyra-ui/).
|
|
|
328
340
|
| `<lr-select>` | `wa-select` / `sl-select` | Closed-list single-select, button trigger (not a text input, no filtering); form-associated, shares `<lr-option>` with `lr-combobox` |
|
|
329
341
|
| `<lr-date-picker>` | `wa-date-picker` | Inline calendar, single + range |
|
|
330
342
|
| `<lr-date-input>` | `wa-date-input` | Date field + calendar popover, form-associated |
|
|
343
|
+
| `<lr-lightbox>` + `<lr-lightbox-item>` | `wa-lightbox` / `wa-lightbox-item` | Full-screen image and video viewer: slot `<lr-lightbox-item>` links (work without JavaScript) or drive it with `images`/`imageSource`; thumbnails, swipe, zoom, `lr-item-change` |
|
|
331
344
|
| `<lr-toast>` + `<lr-toast-item>` + `toast()` | `wa-toast` / `wa-toast-item` | Stacking notifications |
|
|
332
345
|
| `<lr-sparkline>` | `wa-sparkline` | Zero-dependency inline SVG |
|
|
333
346
|
| `<lr-textarea>` | `wa-textarea` / `sl-textarea` | Form-associated multiline field with label/hint/error chrome, auto-resize, native editing passthrough, and caret APIs |
|
|
@@ -393,10 +406,15 @@ and the [live docs](https://aceshooting.github.io/lyra-ui/).
|
|
|
393
406
|
| `<lr-details>` + `<lr-accordion>` + `<lr-accordion-item>` | `wa-details` / `wa-accordion` / `wa-accordion-item` / `sl-details` | Native disclosure and coordinated accordion panels |
|
|
394
407
|
| `<lr-breadcrumb>` + `<lr-breadcrumb-item>` | `wa-breadcrumb` / `wa-breadcrumb-item` / `sl-breadcrumb` / `sl-breadcrumb-item` | Responsive navigation trail |
|
|
395
408
|
| `<lr-format-number>` + `<lr-format-date>` + `<lr-format-bytes>` + `<lr-relative-time>` | `wa-format-*` / `wa-relative-time` / `sl-format-*` / `sl-relative-time` | Locale-aware formatting primitives |
|
|
409
|
+
| `<lr-counter>` | `wa-counter` | Countdown and count-up clock with locale-aware unit labels, per-unit slots and a `finished` slot |
|
|
410
|
+
| `<lr-number-ticker>` | `wa-number-ticker` | Number that counts to its value when scrolled into view, formatted with `Intl.NumberFormat` |
|
|
411
|
+
| `<lr-stepper>` + `<lr-step>` | `wa-stepper` / `wa-step` | Linear or free step navigation with per-step completed, loading, disabled and attention states; drive it with `<lr-step>` children or a `steps` array |
|
|
412
|
+
| `<lr-token-input>` | `wa-tag-input` | Form-associated list of short values entered as removable tags, with delimiters, duplicate control and minimum/maximum counts |
|
|
413
|
+
| `<lr-code-block>` | `wa-code-highlighter` | Syntax-highlighted code with a copy button, optional line numbers, line highlighting and collapsing |
|
|
396
414
|
|
|
397
415
|
**Original components, by area:**
|
|
398
|
-
- **Form controls, toasts, sparkline, and flags:** `<lr-currency-picker>`, `<lr-country-picker>`, `<lr-time-zone-picker>`, `<lr-unit-picker>`, `<lr-signature-pad>`, `<lr-phone-input>`, `<lr-native-time-input>`, `<lr-
|
|
399
|
-
- **Additional media and interaction primitives:** `<lr-avatar-group>`, `<lr-
|
|
416
|
+
- **Form controls, toasts, sparkline, and flags:** `<lr-currency-picker>`, `<lr-country-picker>`, `<lr-time-zone-picker>`, `<lr-unit-picker>`, `<lr-signature-pad>`, `<lr-phone-input>`, `<lr-native-time-input>`, `<lr-toggle>`, `<lr-toggle-group>`, `<lr-flag>`, `<lr-locale-picker>`.
|
|
417
|
+
- **Additional media and interaction primitives:** `<lr-avatar-group>`, `<lr-timeline>`, `<lr-timeline-item>`, `<lr-tour>`, `<lr-help>`.
|
|
400
418
|
- **Dashboard atoms:** `<lr-empty>`, `<lr-stat>`, `<lr-table>`, `<lr-gauge>`, `<lr-export-button>`, `<lr-multi-split>`, `<lr-widget>`, `<lr-word-cloud>`.
|
|
401
419
|
- **Part-to-whole, flow, and geographic charts:** `<lr-treemap>`, `<lr-sankey>`, `<lr-chord>`, `<lr-choropleth>`.
|
|
402
420
|
- **Temporal & graph:** `<lr-time-range>`, `<lr-sequence-playback>`, `<lr-heatmap>`, `<lr-funnel>`, `<lr-sequence-strip>`, `<lr-graph>`.
|
|
@@ -410,7 +428,7 @@ and the [live docs](https://aceshooting.github.io/lyra-ui/).
|
|
|
410
428
|
- **Overlays:** `<lr-context-menu>`, `<lr-help>`.
|
|
411
429
|
- **Charts:** `<lr-box-plot>`, `<lr-histogram>`, `<lr-lite-chart>`, `<lr-chart-3d>`.
|
|
412
430
|
- **Map & file-input:** `<lr-map>`, experimental `<lr-map-anchor>`, `<lr-drop-zone>`.
|
|
413
|
-
- **Conversation & Agent UI:** `<lr-chat-message>`, `<lr-message-parts>`, `<lr-chat-viewport>`, `<lr-prompt-input>`, `<lr-prompt-queue>`, `<lr-selection-toolbar>`, `<lr-realtime-session>`, `<lr-message-actions>`, `<lr-message-feedback>`, `<lr-branch-picker>`, `<lr-typing-indicator>`, `<lr-streaming-text>`, `<lr-streaming-text-core>`, `<lr-thinking-panel>`, `<lr-activity-feed>`, `<lr-task-list>`, `<lr-generation-metrics>`, `<lr-stream-status>`, `<lr-checkpoint>`, `<lr-handoff-divider>`, `<lr-code-block>`, `<lr-artifact-panel>`, `<lr-live-region>`, `<lr-chat-composer>`, `<lr-suggestion-chips>`, `<lr-emoji-picker>`, `<lr-attachment-chip>`, `<lr-attachment-trigger>`, `<lr-mention-popover>`, `<lr-tool-call-block>`, `<lr-tool-call-chip>`, `<lr-tool-result-view>`, `<lr-tool-result-dialog>`, `<lr-tool-approval-dialog>`, `<lr-confirm-bar>`, `<lr-tool-param-form>`, `<lr-change-review>`, `<lr-agent-question>`, `<lr-permission-rules>`, `<lr-permission-grant>`, `<lr-connector-manager>`, `<lr-background-runs>`, `<lr-research-progress>`, `<lr-budget-meter>`, `<lr-tool-select-dialog>`, `<lr-command-palette>`, `<lr-widget-renderer>`, `<lr-json-viewer>`, `<lr-citation-badge>`, `<lr-source-list>`, `<lr-source-card>`, `<lr-conversation-item>`, `<lr-virtual-list>`, `<lr-thread-list>`, `<lr-app-rail>`, `<lr-app-rail-item>`, `<lr-app-rail-group>`, `<lr-navigation-menu>`, `<lr-navigation-menu-item>`, `<lr-menubar>`, `<lr-menubar-item>`, `<lr-responsive-panel>`, `<lr-dock-panel>`, `<lr-model-select>`, `<lr-model-settings-panel>`, `<lr-voice-picker>`, `<lr-audio-visualizer>`, `<lr-push-to-talk>`, `<lr-transcript-feed>`, `<lr-context-meter>`, `<lr-usage-badge>`, `<lr-control-group>`, `<lr-reorder-list>`, `<lr-reorder-item>`, `<lr-pan-zoom>`, `<lr-chip>`, `<lr-chip-group>`, `<lr-kbd>`, `<lr-result-card>`, `<lr-result-field>`, `<lr-document-preview>`, `<lr-document-viewer>`, `<lr-svg-viewer>`, `<lr-image-viewer>`, `<lr-highlight-layer>`, `<lr-html-viewer>`, `<lr-xml-viewer>`, `<lr-dataset-viewer>`, `<lr-contact-viewer>`, `<lr-pdf-viewer>`, `<lr-page-rail>`, `<lr-av-player>`, `<lr-notebook-viewer>`, `<lr-spreadsheet-viewer>`, `<lr-csv-viewer>`, `<lr-geojson-viewer>`, `<lr-model-viewer>`, `<lr-docx-viewer>`, `<lr-email-viewer>`, `<lr-calendar-viewer>`, `<lr-archive-viewer>`, `<lr-ebook-viewer>`, `<lr-pptx-viewer>`, `<lr-file-icon>`, `<lr-media-card>`, `<lr-stepper>`, `<lr-segmented>`, `<lr-swatch-picker>`, `<lr-style-panel>`, `<lr-diff-view>`, `<lr-commit-card>`, `<lr-poll-status>`, `<lr-code-block-core>`, `<lr-code-editor>`, `<lr-terminal>`, `<lr-stack-trace>`, `<lr-trace-tree>`, `<lr-span-waterfall>`, `<lr-test-results>`, `<lr-env-list>`, `<lr-file-tree>`, `<lr-browser-frame>`, `<lr-compare-panel>`, `<lr-rubric-form>`, `<lr-calendar>`, `<lr-markdown-core>`.
|
|
431
|
+
- **Conversation & Agent UI:** `<lr-chat-message>`, `<lr-message-parts>`, `<lr-chat-viewport>`, `<lr-prompt-input>`, `<lr-prompt-queue>`, `<lr-selection-toolbar>`, `<lr-realtime-session>`, `<lr-message-actions>`, `<lr-message-feedback>`, `<lr-branch-picker>`, `<lr-typing-indicator>`, `<lr-streaming-text>`, `<lr-streaming-text-core>`, `<lr-thinking-panel>`, `<lr-activity-feed>`, `<lr-task-list>`, `<lr-generation-metrics>`, `<lr-stream-status>`, `<lr-checkpoint>`, `<lr-handoff-divider>`, `<lr-code-block>`, `<lr-artifact-panel>`, `<lr-live-region>`, `<lr-chat-composer>`, `<lr-suggestion-chips>`, `<lr-emoji-picker>`, `<lr-attachment-chip>`, `<lr-attachment-trigger>`, `<lr-mention-popover>`, `<lr-tool-call-block>`, `<lr-tool-call-chip>`, `<lr-tool-result-view>`, `<lr-tool-result-dialog>`, `<lr-tool-approval-dialog>`, `<lr-confirm-bar>`, `<lr-tool-param-form>`, `<lr-change-review>`, `<lr-agent-question>`, `<lr-permission-rules>`, `<lr-permission-grant>`, `<lr-connector-manager>`, `<lr-background-runs>`, `<lr-research-progress>`, `<lr-budget-meter>`, `<lr-tool-select-dialog>`, `<lr-command-palette>`, `<lr-widget-renderer>`, `<lr-json-viewer>`, `<lr-citation-badge>`, `<lr-source-list>`, `<lr-source-card>`, `<lr-conversation-item>`, `<lr-virtual-list>`, `<lr-thread-list>`, `<lr-app-rail>`, `<lr-app-rail-item>`, `<lr-app-rail-group>`, `<lr-navigation-menu>`, `<lr-navigation-menu-item>`, `<lr-menubar>`, `<lr-menubar-item>`, `<lr-responsive-panel>`, `<lr-dock-panel>`, `<lr-model-select>`, `<lr-model-settings-panel>`, `<lr-voice-picker>`, `<lr-audio-visualizer>`, `<lr-push-to-talk>`, `<lr-transcript-feed>`, `<lr-context-meter>`, `<lr-usage-badge>`, `<lr-control-group>`, `<lr-reorder-list>`, `<lr-reorder-item>`, `<lr-pan-zoom>`, `<lr-chip>`, `<lr-chip-group>`, `<lr-kbd>`, `<lr-result-card>`, `<lr-result-field>`, `<lr-document-preview>`, `<lr-document-viewer>`, `<lr-svg-viewer>`, `<lr-image-viewer>`, `<lr-highlight-layer>`, `<lr-html-viewer>`, `<lr-xml-viewer>`, `<lr-dataset-viewer>`, `<lr-contact-viewer>`, `<lr-pdf-viewer>`, `<lr-page-rail>`, `<lr-av-player>`, `<lr-notebook-viewer>`, `<lr-spreadsheet-viewer>`, `<lr-csv-viewer>`, `<lr-geojson-viewer>`, `<lr-model-viewer>`, `<lr-docx-viewer>`, `<lr-email-viewer>`, `<lr-calendar-viewer>`, `<lr-archive-viewer>`, `<lr-ebook-viewer>`, `<lr-pptx-viewer>`, `<lr-file-icon>`, `<lr-media-card>`, `<lr-stepper>`, `<lr-step>`, `<lr-segmented>`, `<lr-swatch-picker>`, `<lr-style-panel>`, `<lr-diff-view>`, `<lr-commit-card>`, `<lr-poll-status>`, `<lr-code-block-core>`, `<lr-code-editor>`, `<lr-terminal>`, `<lr-stack-trace>`, `<lr-trace-tree>`, `<lr-span-waterfall>`, `<lr-test-results>`, `<lr-env-list>`, `<lr-file-tree>`, `<lr-browser-frame>`, `<lr-compare-panel>`, `<lr-rubric-form>`, `<lr-calendar>`, `<lr-markdown-core>`.
|
|
414
432
|
|
|
415
433
|
### Citation → document recipe
|
|
416
434
|
|