@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/llms/shared.md
CHANGED
|
@@ -125,7 +125,7 @@ The entry points, then:
|
|
|
125
125
|
or future exports. Prefer the owning entry for that component's complete contract and smaller
|
|
126
126
|
bundles.
|
|
127
127
|
|
|
128
|
-
- **`all.js` compatibility entry.** `import '@aceshooting/lyra-ui/all.js';` registers the
|
|
128
|
+
- **`all.js` compatibility entry.** `import '@aceshooting/lyra-ui/all.js';` registers the 306
|
|
129
129
|
root-included tags — everything **except** the 15 inventory-designated optional-peer-family tags:
|
|
130
130
|
`lr-chart` and its 8 typed subclasses (`lr-line-chart`, `lr-bar-chart`, `lr-pie-chart`,
|
|
131
131
|
`lr-doughnut-chart`, `lr-radar-chart`, `lr-polar-area-chart`, `lr-bubble-chart`,
|
|
@@ -277,6 +277,37 @@ exports `normalizeLyraSpanKind` and `normalizeLyraSpanStatus`; the widget regist
|
|
|
277
277
|
only `DEFAULT_WIDGET_TYPE_REGISTRY`. Import a component registration entry separately when the page
|
|
278
278
|
also renders that component.
|
|
279
279
|
|
|
280
|
+
### Single script tag (no build step, no import map)
|
|
281
|
+
|
|
282
|
+
`@aceshooting/lyra-cdn` is a companion package with a pre-bundled build of the same components: lit,
|
|
283
|
+
tslib and Floating UI are inlined into relative, code-split chunks, so one tag is the whole install.
|
|
284
|
+
Only the components the page renders are fetched (the autoloader's lazy loaders become chunks).
|
|
285
|
+
|
|
286
|
+
```html
|
|
287
|
+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@aceshooting/lyra-cdn@VERSION/dist/theme.css">
|
|
288
|
+
<script type="module" src="https://cdn.jsdelivr.net/npm/@aceshooting/lyra-cdn@VERSION/dist/lyra-ui.loader.js"></script>
|
|
289
|
+
|
|
290
|
+
<lr-button variant="primary">Save</lr-button>
|
|
291
|
+
```
|
|
292
|
+
|
|
293
|
+
It versions together with `@aceshooting/lyra-ui`; pin an exact version in production. Also published
|
|
294
|
+
beside the loader: `theme.css`, `theme-core.css`, `density.css`, `accents.css`, `design-tokens.css`,
|
|
295
|
+
`native.css` and `utilities.css`.
|
|
296
|
+
|
|
297
|
+
- The loader starts the autoloader on `DOMContentLoaded` (immediately when the document is already
|
|
298
|
+
parsed) and keeps watching insertions. It injects no styles or inline script.
|
|
299
|
+
- Script attributes: `data-lyra-optional-peers="dompurify,postal-mime"` (or `all`),
|
|
300
|
+
`data-lyra-autoload-events`, the opt-out `data-lyra-autoload="false"` (alias
|
|
301
|
+
`data-lyra-no-autoload`), which loads the module without starting it (it re-exports `start`,
|
|
302
|
+
`stop` and `discover`), and `data-lyra-cloak-timeout` (milliseconds, default `2000`).
|
|
303
|
+
- Cloaking: elements carrying class or attribute `lr-cloak` are revealed when the first scan
|
|
304
|
+
settles, or when the cloak timeout elapses, whichever comes first. Pair it with `.lr-fouce-hidden`
|
|
305
|
+
from `utilities.css` to hide not-yet-defined tags.
|
|
306
|
+
- Optional peers and the non-English catalogs of `@aceshooting/lyra-translations` are not bundled.
|
|
307
|
+
A component that needs one takes its usual localized fallback until the dependency resolves, for
|
|
308
|
+
example through an import map to a CDN URL.
|
|
309
|
+
- Bundler users keep importing `@aceshooting/lyra-ui` itself; the CDN build ships no source maps.
|
|
310
|
+
|
|
280
311
|
### Optional autoloader
|
|
281
312
|
|
|
282
313
|
`@aceshooting/lyra-ui/autoloader.js` exports `discover(root?, options?)`, `start(root?, options?)`
|
|
@@ -331,6 +362,34 @@ when `document` exists and reads `data-lyra-optional-peers="peer-a,peer-b"` plus
|
|
|
331
362
|
an ESM CDN executes the package entry behind a wrapper URL. Neither entry imports the root barrel,
|
|
332
363
|
and both are safe to import in plain Node.
|
|
333
364
|
|
|
365
|
+
### Loading from a CDN with no build step
|
|
366
|
+
|
|
367
|
+
An import map lets plain HTML use the same bare specifiers as an application. The ESM CDN rewrites
|
|
368
|
+
each package's own dependencies, so map only the entries you import:
|
|
369
|
+
|
|
370
|
+
```html
|
|
371
|
+
<script type="importmap">
|
|
372
|
+
{
|
|
373
|
+
"imports": {
|
|
374
|
+
"@aceshooting/lyra-ui/": "https://esm.sh/@aceshooting/lyra-ui@30/",
|
|
375
|
+
"lit": "https://esm.sh/lit@3",
|
|
376
|
+
"lit/": "https://esm.sh/lit@3/"
|
|
377
|
+
}
|
|
378
|
+
}
|
|
379
|
+
</script>
|
|
380
|
+
<script type="module">
|
|
381
|
+
import '@aceshooting/lyra-ui/autoloader-cdn.js'; // defines each lr-* tag when it first appears
|
|
382
|
+
import { allDefined } from '@aceshooting/lyra-ui/utilities/defined.js';
|
|
383
|
+
await allDefined({ timeout: 5000 }); // resolves after the page's lr-* tags are defined
|
|
384
|
+
</script>
|
|
385
|
+
<lr-button>Hello</lr-button>
|
|
386
|
+
```
|
|
387
|
+
|
|
388
|
+
Pin an exact version for production, and import `components/lr-<tag>.js` instead of the autoloader
|
|
389
|
+
when the page uses only a few tags. Add `data-lyra-autoloader` to the autoloader `<script>` if the
|
|
390
|
+
CDN serves the entry behind a wrapper URL. Without an import map, use the full CDN URL in each
|
|
391
|
+
`import`. `startLoader`/`stopLoader` are accepted aliases of the autoloader's `start`/`stop`.
|
|
392
|
+
|
|
334
393
|
## Optional native scoped registries
|
|
335
394
|
|
|
336
395
|
`utilities/scoped-registry.js` exports `supportsScopedRegistries()` and
|
|
@@ -482,6 +541,25 @@ Those nested detail fields are separate from deprecated event names and are not
|
|
|
482
541
|
type graph, so add it once (a root `main.ts`, or a `.d.ts` in the project's `include`). A direct
|
|
483
542
|
element reference never needs it — `LyraElement` overrides `addEventListener`, so
|
|
484
543
|
`table.addEventListener('lr-sort', …)` resolves through `LyraTableEventMap` first either way.
|
|
544
|
+
- **`instanceof` narrowing: `@aceshooting/lyra-ui/event-classes`.** Every event a component dispatches
|
|
545
|
+
is a `LyraEvent` (a bubbling, composed `CustomEvent`), and this subpath exports one class per event
|
|
546
|
+
name — `lr-step-change` → `LyraStepChangeEvent` — whose `instanceof` is true for exactly those events
|
|
547
|
+
and narrows `detail`. Each constructor takes `(detail, options?)`, where the options record is
|
|
548
|
+
`LyraEventOptions { cancelable?: boolean }`:
|
|
549
|
+
|
|
550
|
+
```ts
|
|
551
|
+
import { LyraChangeEvent } from "@aceshooting/lyra-ui/event-classes";
|
|
552
|
+
|
|
553
|
+
document.addEventListener("lr-change", (event) => {
|
|
554
|
+
if (event instanceof LyraChangeEvent) event.detail; // typed
|
|
555
|
+
});
|
|
556
|
+
```
|
|
557
|
+
|
|
558
|
+
A class is also constructible (`new LyraChangeEvent(detail, { cancelable })`) for tests or for
|
|
559
|
+
re-dispatching. The classes are side-effect free and tree-shakable, components never import them, and
|
|
560
|
+
the names match the type aliases in `@aceshooting/lyra-ui/events` (import from one subpath per
|
|
561
|
+
file). Events created for an element adopted into another window keep that window's `CustomEvent`
|
|
562
|
+
constructor but still match.
|
|
485
563
|
`LyraGlobalEventMap` is exported as well, for writing your own typed helper over it.
|
|
486
564
|
|
|
487
565
|
- **The surface is per-event type aliases, not runtime event classes.** `LyraSortEvent` and its
|
|
@@ -1365,10 +1443,10 @@ needs to sit inside a Lyra UI without looking foreign, and the file's header lis
|
|
|
1365
1443
|
| Ambient colour | `--lr-color-surface`, `--lr-color-surface-raised`, `--lr-color-surface-overlay`, `--lr-color-overlay`, `--lr-color-text`, `--lr-color-text-quiet`, `--lr-color-border`, `--lr-color-border-strong`, `--lr-color-border-subtle` |
|
|
1366
1444
|
| The semantic grid | all 45 `--lr-color-{brand,success,warning,danger,neutral}-{fill,border,on}-{quiet,normal,loud}` slots |
|
|
1367
1445
|
| Flat colour aliases | `--lr-color-{brand,success,warning,danger,neutral}`, `--lr-color-{brand,success,warning,danger}-quiet`, `--lr-color-on-{brand,success,warning,danger,neutral}` |
|
|
1368
|
-
| Spacing | `--lr-space-2xs`, `--lr-space-xs`, `--lr-space-s`, `--lr-space-m`, `--lr-space-l`, `--lr-space-2xl`
|
|
1446
|
+
| Spacing | `--lr-space-2xs`, `--lr-space-xs`, `--lr-space-s`, `--lr-space-m`, `--lr-space-l`, `--lr-space-xl`, `--lr-space-2xl`, `--lr-space-3xl`, `--lr-space-4xl` (`xl`, `3xl`, `4xl` derive from the `l`/`2xl` theme inputs, so density and re-theming carry through) |
|
|
1369
1447
|
| Geometry | `--lr-radius-xs`, `--lr-radius`, `--lr-radius-pill`, `--lr-border-width-thin`, `--lr-border-width-medium`, `--lr-border-width-thick` |
|
|
1370
1448
|
| Elevation | `--lr-shadow-color`, `--lr-shadow-xs`, `--lr-shadow-s`, `--lr-shadow-m`, `--lr-shadow-l`, `--lr-shadow-xl`, `--lr-shadow` |
|
|
1371
|
-
| Typography | `--lr-font`, `--lr-font-mono`, the
|
|
1449
|
+
| Typography | `--lr-font`, `--lr-font-mono`, the twelve `--lr-font-size-*` steps (`--lr-font-size-4xl` and `-5xl` derive from the `3xl` theme input at 1.25x and 1.5x), the four `--lr-font-weight-*` steps |
|
|
1372
1450
|
| State and motion | `--lr-focus-ring`, `--lr-focus-ring-color`, `--lr-focus-ring-width`, `--lr-focus-ring-offset`, `--lr-opacity-disabled`, `--lr-opacity-muted`, `--lr-duration-fast`, `--lr-duration-base`, `--lr-easing-standard`, `--lr-easing-emphasized`, `--lr-transition-fast`, `--lr-transition-base`, `--lr-transition-interactive` |
|
|
1373
1451
|
|
|
1374
1452
|
The grid is stable as a whole because its [contrast contract](#semantic-colour-contrast-contract)
|
|
@@ -2364,13 +2442,17 @@ the first connected Lyra element would otherwise adopt, available before any com
|
|
|
2364
2442
|
| Flex direction and wrapping | `lr-row`, `lr-column`, `lr-wrap`, `lr-nowrap`, `lr-grow`, `lr-grow-0`, `lr-shrink`, `lr-shrink-0` |
|
|
2365
2443
|
| Item alignment | `lr-items-start`, `lr-items-center`, `lr-items-end`, `lr-items-stretch`, `lr-items-baseline`, `lr-self-start`, `lr-self-center`, `lr-self-end`, `lr-self-stretch` |
|
|
2366
2444
|
| Distribution | `lr-justify-start`, `lr-justify-center`, `lr-justify-end`, `lr-justify-between`, `lr-justify-around` |
|
|
2367
|
-
| Gaps | `lr-gap-0`, `lr-gap-xs`, `lr-gap-s`, `lr-gap-m`, `lr-gap-l`, `lr-gap-2xl`
|
|
2445
|
+
| Gaps | `lr-gap-0`, `lr-gap-2xs`, `lr-gap-xs`, `lr-gap-s`, `lr-gap-m`, `lr-gap-l`, `lr-gap-xl`, `lr-gap-2xl`, `lr-gap-3xl`, `lr-gap-4xl` |
|
|
2446
|
+
| Compositions | `lr-flank`, `lr-flank-end`, `lr-split`, `lr-split-column`, `lr-frame`, `lr-frame-square`, `lr-frame-landscape`, `lr-frame-portrait`, `lr-span-grid`, `lr-container` |
|
|
2447
|
+
| Plain-element helpers | `lr-link-plain`, `lr-list-plain`, `lr-placeholder`, `lr-scroll-lock`, `lr-cloak` |
|
|
2448
|
+
| Radius and case | `lr-radius-none`, `lr-radius-xs`, `lr-radius-m`, `lr-radius-container`, `lr-radius-pill`, `lr-radius-circle`, `lr-uppercase`, `lr-lowercase`, `lr-capitalize`, `lr-normal-case` |
|
|
2449
|
+
| Variant and size | `lr-neutral`, `lr-brand`, `lr-success`, `lr-warning`, `lr-danger`; `lr-size-2xs`, `lr-size-xs`, `lr-size-s`, `lr-size-m`, `lr-size-l`, `lr-size-xl` (`lr-size-full` stays the 100% box) |
|
|
2368
2450
|
| Logical sizing | `lr-inline-full`, `lr-block-full`, `lr-size-full`, `lr-min-inline-0`, `lr-min-block-0`, `lr-max-inline-full`, `lr-max-inline-prose`, `lr-center` |
|
|
2369
2451
|
| Overflow | `lr-overflow-auto`, `lr-overflow-hidden` |
|
|
2370
|
-
| Text alignment and size | `lr-text-start`, `lr-text-center`, `lr-text-end`, `lr-text-xs`, `lr-text-sm`, `lr-text-base`, `lr-text-lg`, `lr-text-xl`, `lr-text-quiet` |
|
|
2452
|
+
| Text alignment and size | `lr-text-start`, `lr-text-center`, `lr-text-end`, `lr-text-xs`, `lr-text-sm`, `lr-text-base`, `lr-text-lg`, `lr-text-xl`, `lr-text-2xl` – `lr-text-5xl`, `lr-text-quiet` |
|
|
2371
2453
|
| Font | `lr-font-normal`, `lr-font-medium`, `lr-font-semibold`, `lr-font-bold`, `lr-font-mono` |
|
|
2372
2454
|
| Text flow | `lr-text-break`, `lr-text-nowrap`, `lr-truncate`, `lr-text-balance`, `lr-text-pretty`, `lr-prose` |
|
|
2373
|
-
| Typography | `lr-typography`, `lr-not-typography`, `lr-heading-1`, `lr-heading-2`, `lr-heading-3`, `lr-heading-4`, `lr-inline-code` |
|
|
2455
|
+
| Typography | `lr-typography`, `lr-not-typography`, `lr-heading-1`, `lr-heading-2`, `lr-heading-3`, `lr-heading-4`, `lr-heading-5`, `lr-heading-6`, `lr-inline-code` |
|
|
2374
2456
|
| Visibility and focus | `lr-visually-hidden`, `lr-visually-hidden-focusable`, `lr-fouce-hidden`, `lr-hidden` |
|
|
2375
2457
|
| Page allocation | `lr-page-mobile-only`, `lr-page-desktop-only` |
|
|
2376
2458
|
|
|
@@ -2391,6 +2473,43 @@ properties, so these two widths are fixed. Source order is reading order at ever
|
|
|
2391
2473
|
</section>
|
|
2392
2474
|
```
|
|
2393
2475
|
|
|
2476
|
+
### Compositions and small utilities
|
|
2477
|
+
|
|
2478
|
+
All spacing here reads `--lr-layout-gap` (default `--lr-space-m`).
|
|
2479
|
+
|
|
2480
|
+
- **`lr-flank` / `lr-flank-end`** — a flex row where the first (or, for `-end`, the last) child keeps
|
|
2481
|
+
its own width (`--lr-flank-inline-size`, default `auto`) and the other fills the rest. The filling
|
|
2482
|
+
child wraps onto its own row below `--lr-flank-content-min-inline-size` (default `50%`).
|
|
2483
|
+
- **`lr-split` / `lr-split-column`** — items pushed to the two ends of a wrapping row, or of a
|
|
2484
|
+
column. Logical, so the ends swap under `dir="rtl"`.
|
|
2485
|
+
- **`lr-frame`, `lr-frame-square` (1/1), `lr-frame-landscape` (16/9), `lr-frame-portrait` (3/4)** —
|
|
2486
|
+
a clipped aspect-ratio box; a direct `img`, `picture`, `video`, `canvas`, `svg` or `iframe` child
|
|
2487
|
+
fills it with `object-fit: cover`. A bare `lr-frame` reads `--lr-frame-ratio` (default `1 / 1`).
|
|
2488
|
+
- **`lr-span-grid`** — takes the whole row of its grid parent, including inside `lr-grid-12` at every
|
|
2489
|
+
container width. **`lr-container`** makes an element an inline-size query container.
|
|
2490
|
+
- **`lr-link-plain`** — inherited colour, no underline until hover. **`lr-list-plain`** — no
|
|
2491
|
+
marker, no indent, no margin (an `ul`/`ol` that keeps `role="list"` stays announced as a list).
|
|
2492
|
+
- **`lr-placeholder`** — a quiet neutral block (`--lr-placeholder-block-size`, default `1em`) that
|
|
2493
|
+
pulses only when `prefers-reduced-motion: no-preference`.
|
|
2494
|
+
- **`lr-radius-*`** read the radius tokens; `lr-radius-circle` is `50%`. **`lr-uppercase`,
|
|
2495
|
+
`lr-lowercase`, `lr-capitalize`, `lr-normal-case`** set `text-transform`.
|
|
2496
|
+
- **Variants** `lr-neutral|brand|success|warning|danger` (the `variant` vocabulary) colour the
|
|
2497
|
+
element's text and native-control accent with that tone's loud fill and publish
|
|
2498
|
+
`--lr-variant-fill-quiet`, `--lr-variant-fill-loud`, `--lr-variant-on-quiet` and
|
|
2499
|
+
`--lr-variant-border` for your own rules. **Sizes** `lr-size-2xs … lr-size-xl` (the `size` ladder;
|
|
2500
|
+
`small`/`medium`/`large` spellings are not classes) set the type size and scale the native control
|
|
2501
|
+
block size and padding that `.lr-native` reads.
|
|
2502
|
+
- **`lr-scroll-lock`** is pure CSS (`overflow: hidden`, `overscroll-behavior: contain`, plus a stable
|
|
2503
|
+
scrollbar gutter on `html`). Put it on `html`, `body` or a scroll container. It is independent of
|
|
2504
|
+
the lock a modal component takes: both can be active, and the component's lock sees the stable
|
|
2505
|
+
gutter and adds no padding.
|
|
2506
|
+
- **`lr-cloak`** on `html`/`body` (or any root) hides the root with `visibility: hidden` while any
|
|
2507
|
+
custom element beneath it still matches `:not(:defined)`, then reveals it as soon as they are
|
|
2508
|
+
all defined. It fails open: after `--lr-cloak-timeout` (default `3s`) the root becomes visible
|
|
2509
|
+
regardless, so a script that never loads cannot leave a blank page. The fail-open is a
|
|
2510
|
+
visibility switch, not motion, so it needs no reduced-motion branch. Only light-DOM descendants
|
|
2511
|
+
are seen; for a single element use `lr-fouce-hidden`.
|
|
2512
|
+
|
|
2394
2513
|
`lr-fouce-hidden` hides only an opted-in custom element while it matches `:not(:defined)`, then
|
|
2395
2514
|
reveals it automatically after registration. `lr-visually-hidden-focusable` becomes visible on
|
|
2396
2515
|
focus or when a descendant receives focus, making it suitable for skip links.
|
|
@@ -2702,6 +2821,70 @@ the surface layer and disables Glass in the same way as an unlayered rule. Keep
|
|
|
2702
2821
|
`:not(.lr-surface-chrome)`. See [Cascade layers](./shared/styles-and-tokens.md#cascade-layers) for the full
|
|
2703
2822
|
order.
|
|
2704
2823
|
|
|
2824
|
+
### Native control extensions
|
|
2825
|
+
|
|
2826
|
+
Inside `.lr-native`, `native.css` also styles: **checkbox, radio and range** (`accent-color` from the
|
|
2827
|
+
brand token, a `--lr-native-check-size` box, hover shifts to the loud border tone); **colour and file
|
|
2828
|
+
inputs** (control border and radius, a styled `::file-selector-button`, pointer cursor with hover);
|
|
2829
|
+
**`progress` and `meter`** (a pill track of `--lr-native-meter-block-size`, brand bar, semantic
|
|
2830
|
+
optimum/sub-optimum/even-less-good meter colours); **`details`/`summary`** (subtle bounded block, open
|
|
2831
|
+
rule under the summary); **`dialog`** (overlay surface, container radius, `--lr-color-overlay` scrim);
|
|
2832
|
+
**`mark`** (quiet warning fill and its paired foreground); and **lists** (`--lr-native-list-indent`
|
|
2833
|
+
logical start inset, quiet markers). Disabled controls use `not-allowed`, every control shows the
|
|
2834
|
+
shared focus ring, and `forced-colors: active` maps accents and bars to system colours. Dark mode
|
|
2835
|
+
follows the tokens.
|
|
2836
|
+
|
|
2837
|
+
### Migrating Web Awesome and Shoelace classes and stylesheets
|
|
2838
|
+
|
|
2839
|
+
`lyra-ui-migrate` (no `--origin`) rewrites the upstream utility and theme classes that have a Lyra
|
|
2840
|
+
counterpart, and only whole class tokens in class positions: `class`/`className` values,
|
|
2841
|
+
`:class`, `[class]` and `[ngClass]` bindings, `className={...}`, `classMap()`, `classList.add/remove/
|
|
2842
|
+
toggle/contains/replace()`, `.className =` and `setAttribute('class', ...)`. Selectors, prose, other
|
|
2843
|
+
attributes and `${}`/`{{}}` interpolations are never read. A name the tool does not list is left alone,
|
|
2844
|
+
because it is as likely your own class as an upstream one.
|
|
2845
|
+
|
|
2846
|
+
| Upstream | Lyra |
|
|
2847
|
+
| -------- | ---- |
|
|
2848
|
+
| `wa-stack`, `wa-cluster`, `wa-flank`, `wa-split`, `wa-frame` (with `:end`, `:column`, `:square`, `:landscape`, `:portrait`) | `lr-stack`, `lr-cluster`, `lr-flank`/`lr-flank-end`, `lr-split`/`lr-split-column`, `lr-frame`/`lr-frame-*` |
|
|
2849
|
+
| `wa-grid`, `wa-span-grid` | `lr-grid-auto`, `lr-span-grid` |
|
|
2850
|
+
| `wa-gap-<step>` | `lr-gap-<step>`, mapped by resolved length: the two spacing scales are offset by one step, so `wa-gap-m` (1rem) is `lr-gap-l` |
|
|
2851
|
+
| `wa-align-items-*`, `wa-align-self-*`, `wa-justify-content-*`, `wa-flex-wrap`/`wa-flex-nowrap` | `lr-items-*`, `lr-self-*`, `lr-justify-*`, `lr-wrap`/`lr-nowrap` |
|
|
2852
|
+
| `wa-text-*`, `wa-font-weight-*`, `wa-color-text-quiet`, `wa-link-plain`, `wa-list-plain`, `wa-prose`, `wa-visually-hidden`, `wa-cloak`, `wa-placeholder`, `wa-scroll-lock` | the same helper under `lr-`; see the inventory above |
|
|
2853
|
+
| `wa-brand`, `wa-neutral`, `wa-success`, `wa-warning`, `wa-danger`, `wa-size-*` | `lr-brand`, `lr-neutral`, `lr-success`, `lr-warning`, `lr-danger`, `lr-size-*` |
|
|
2854
|
+
| `wa-dark`, `wa-light`, `sl-theme-dark`, `sl-theme-light` | `lr-dark`, `lr-light` |
|
|
2855
|
+
|
|
2856
|
+
`wa-font-size-*`, `wa-body-*` and `wa-border-radius-s`/`-m` rewrite to the nearest class
|
|
2857
|
+
(`lr-text-*`, `lr-radius-*`) and report `UPSTREAM_CLASS_APPROXIMATE_REVIEW`: the type and radius scales
|
|
2858
|
+
are not value-aligned. `wa-heading-*`, `wa-caption-*`, `wa-longform-*`, the hue-pinned variants
|
|
2859
|
+
(`wa-brand-blue`), `wa-theme-*`, the `native.css` opt-ins (`wa-button`, `wa-zebra-rows`, ...), the
|
|
2860
|
+
`wa-form-control-*` classes and the gaps Lyra has no step for are reported as `UPSTREAM_CLASS_REVIEW`
|
|
2861
|
+
with the nearest alternative and are not rewritten.
|
|
2862
|
+
|
|
2863
|
+
Stylesheet and loader imports (`import '...'` and CSS `@import`) map to real package subpaths:
|
|
2864
|
+
`dist/styles/webawesome.css` becomes `theme.css`, `native.css` and `utilities.css`;
|
|
2865
|
+
`styles/native.css`, `styles/utilities.css`, `styles/themes/default.css` and Shoelace
|
|
2866
|
+
`themes/light.css`/`dark.css` become the matching one. `native.css` styles only inside `.lr-native`, and
|
|
2867
|
+
`dark.css` is mode switching with `lr-dark`, so both carry an `UPSTREAM_ASSET_REVIEW` note. The
|
|
2868
|
+
self-starting loaders (`webawesome.loader.js`, `shoelace-autoloader.js`) become
|
|
2869
|
+
`@aceshooting/lyra-ui/autoloader-cdn.js` and, like the all-components entries (`webawesome.js`,
|
|
2870
|
+
`shoelace.js`), are rewritten only when the scanned files have no manual uses left. `setBasePath` and
|
|
2871
|
+
`utilities/base-path`, `layers.css`, the `awesome` and `shoelace` themes and the colour palettes have no
|
|
2872
|
+
Lyra counterpart and are reported as `UPSTREAM_ASSET_REVIEW`.
|
|
2873
|
+
|
|
2874
|
+
### Hue palette
|
|
2875
|
+
|
|
2876
|
+
```css
|
|
2877
|
+
@import "@aceshooting/lyra-ui/palette.css";
|
|
2878
|
+
```
|
|
2879
|
+
|
|
2880
|
+
Declares static `--lr-color-<hue>-<step>` ramps on `:root` and every `[data-lr-theme-scope]`, for
|
|
2881
|
+
hues `gray`, `red`, `orange`, `yellow`, `green`, `cyan`, `blue`, `purple` and `pink` and steps `05 10
|
|
2882
|
+
20 30 40 50 60 70 80 90 95` (near-black to near-white). `gray`, `red`, `orange`, `green` and `blue`
|
|
2883
|
+
are the neutral, danger, warning, success and brand tooling ramps; the others are the brand ramp
|
|
2884
|
+
rotated in hue at the same lightness. The values do not change with light/dark mode: use them for
|
|
2885
|
+
tags, charts, avatars and illustrations, and keep UI chrome on the semantic grid. To recolour the
|
|
2886
|
+
semantic roles themselves, use `setLyraStyle({ accent: { success, warning, danger, neutral } })`.
|
|
2887
|
+
|
|
2705
2888
|
## Localization: `locale`, `strings`, and the locale runtime
|
|
2706
2889
|
|
|
2707
2890
|
Every built-in string — button labels, accessible names, descriptions, validation messages, status
|
|
@@ -3570,6 +3753,12 @@ An existing platform collection is never replaced, and plain Node remains unchan
|
|
|
3570
3753
|
`Element.part` (Happy DOM), rendering does not throw, and highlighted lines keep their
|
|
3571
3754
|
`line-highlight` part wherever CSS parts exist. `installHappyDomShims()` does not install one.
|
|
3572
3755
|
|
|
3756
|
+
`installHappyDomShims()` also calls `installHappyDomResponseBytesShim()`, which adds
|
|
3757
|
+
`Response.prototype.bytes()` (read through `arrayBuffer()`) where Happy DOM 21 lacks it. Shiki's
|
|
3758
|
+
inlined Oniguruma engine, which `lr-code-block` loads on demand, calls `bytes()` as it imports, so
|
|
3759
|
+
without it each highlighter load leaves an unhandled rejection. It is a no-op where `bytes()`
|
|
3760
|
+
exists, takes an optional prototype, and returns a function that removes the method again.
|
|
3761
|
+
|
|
3573
3762
|
When Happy DOM lacks the HTML `dir="ltr"`/`dir="rtl"` presentational hints,
|
|
3574
3763
|
`installHappyDomShims()` adds zero-specificity direction rules to the document head. This restores
|
|
3575
3764
|
computed direction and inherited component direction while preserving explicit author CSS.
|
|
@@ -4130,6 +4319,18 @@ boolean; set defaultChecked(next: boolean) }`.
|
|
|
4130
4319
|
`RecencyBucket<T> { label; items }`.
|
|
4131
4320
|
The callable signature is `groupByRecency<T>(items: T[], options?:
|
|
4132
4321
|
GroupByRecencyOptions<T>): RecencyBucket<T>[]`.
|
|
4322
|
+
- **`allDefined({ match?, additionalElements?, root?, timeout? })`** — options form of the helper
|
|
4323
|
+
below. Without `match` it waits like the root form; with `match` it waits for every undefined
|
|
4324
|
+
element under `root` (default `document`) whose lowercase tag the function accepts.
|
|
4325
|
+
`additionalElements` (a tag or tags) names elements that may not be on the page yet. After
|
|
4326
|
+
`timeout` ms (default `2000`, `Infinity` disables it) it logs a console warning listing the tags
|
|
4327
|
+
still undefined and resolves anyway. A negative or `NaN` timeout throws `RangeError`. The
|
|
4328
|
+
`(root, options)` form never times out.
|
|
4329
|
+
- **`form` → `serialize(form): Record<string, FormDataEntryValue | FormDataEntryValue[]>`** — a
|
|
4330
|
+
form's successful controls as a plain object; a name that occurs more than once becomes an array
|
|
4331
|
+
in document order (`serializeFormData(formData: FormData): Record<string, FormDataEntryValue |
|
|
4332
|
+
FormDataEntryValue[]>` is the same fold over any `FormData`). The result
|
|
4333
|
+
has a `null` prototype, so a field named `__proto__` is just a key.
|
|
4133
4334
|
- **`defined` → `allDefined(root?, options?): Promise<void>`** — iteratively waits for every
|
|
4134
4335
|
currently rendered, inventory-known Lyra tag below a `Document`, `DocumentFragment`/open
|
|
4135
4336
|
`ShadowRoot`, or `Element` to be defined in its owning/scoped registry. It also waits for each
|
|
@@ -4146,6 +4347,9 @@ GroupByRecencyOptions<T>): RecencyBucket<T>[]`.
|
|
|
4146
4347
|
The exact options record is `AllDefinedOptions { readonly maxPasses?: number; readonly
|
|
4147
4348
|
maxElements?: number; readonly maxRoots?: number; readonly maxDepth?: number; readonly maxWork?:
|
|
4148
4349
|
number }`.
|
|
4350
|
+
The options form takes `AllDefinedWaitOptions { readonly match?: (tagName: string) => boolean;
|
|
4351
|
+
readonly additionalElements?: string | readonly string[]; readonly root?: LyraDefinitionRoot;
|
|
4352
|
+
readonly timeout?: number }`.
|
|
4149
4353
|
- **`css-length` → `resolveCssLength(value, options?)`** — resolves finite numbers and CSS
|
|
4150
4354
|
`px`/`rem`/`em`/`%`/`vw`/`vh` lengths to pixels without allocating DOM. Supply `host` for live
|
|
4151
4355
|
font and owner-realm context, `percentBase` for percentages, and an optional `viewportBasis` for
|
|
@@ -5607,6 +5811,7 @@ These named interfaces and helper signatures are available to typed integrations
|
|
|
5607
5811
|
'lr-control-group': LyraControlGroupReactProps;
|
|
5608
5812
|
'lr-conversation-item': LyraConversationItemReactProps;
|
|
5609
5813
|
'lr-copy-button': LyraCopyButtonReactProps;
|
|
5814
|
+
'lr-counter': LyraCounterReactProps;
|
|
5610
5815
|
'lr-country-picker': LyraCountryPickerReactProps;
|
|
5611
5816
|
'lr-csv-viewer': LyraCsvViewerReactProps;
|
|
5612
5817
|
'lr-currency-picker': LyraCurrencyPickerReactProps;
|
|
@@ -5687,6 +5892,7 @@ These named interfaces and helper signatures are available to typed integrations
|
|
|
5687
5892
|
'lr-knowledge-graph-explorer': LyraKnowledgeGraphExplorerReactProps;
|
|
5688
5893
|
'lr-known-date': LyraKnownDateReactProps;
|
|
5689
5894
|
'lr-lightbox': LyraLightboxReactProps;
|
|
5895
|
+
'lr-lightbox-item': LyraLightboxItemReactProps;
|
|
5690
5896
|
'lr-line-chart': LyraLineChartReactProps;
|
|
5691
5897
|
'lr-lite-chart': LyraLiteChartReactProps;
|
|
5692
5898
|
'lr-live-region': LyraLiveRegionReactProps;
|
|
@@ -5720,6 +5926,7 @@ These named interfaces and helper signatures are available to typed integrations
|
|
|
5720
5926
|
'lr-node-palette': LyraNodePaletteReactProps;
|
|
5721
5927
|
'lr-notebook-viewer': LyraNotebookViewerReactProps;
|
|
5722
5928
|
'lr-number-input': LyraNumberInputReactProps;
|
|
5929
|
+
'lr-number-ticker': LyraNumberTickerReactProps;
|
|
5723
5930
|
'lr-option': LyraOptionReactProps;
|
|
5724
5931
|
'lr-otp-input': LyraOtpInputReactProps;
|
|
5725
5932
|
'lr-page': LyraPageReactProps;
|
|
@@ -5789,6 +5996,7 @@ These named interfaces and helper signatures are available to typed integrations
|
|
|
5789
5996
|
'lr-spreadsheet-viewer': LyraSpreadsheetViewerReactProps;
|
|
5790
5997
|
'lr-stack-trace': LyraStackTraceReactProps;
|
|
5791
5998
|
'lr-stat': LyraStatReactProps;
|
|
5999
|
+
'lr-step': LyraStepReactProps;
|
|
5792
6000
|
'lr-stepper': LyraStepperReactProps;
|
|
5793
6001
|
'lr-stream-status': LyraStreamStatusReactProps;
|
|
5794
6002
|
'lr-streaming-text': LyraStreamingTextReactProps;
|
|
@@ -6055,6 +6263,7 @@ These named interfaces and helper signatures are available to typed integrations
|
|
|
6055
6263
|
'lr-control-group': LyraComponentTypeMap['lr-control-group']['element'];
|
|
6056
6264
|
'lr-conversation-item': LyraComponentTypeMap['lr-conversation-item']['element'];
|
|
6057
6265
|
'lr-copy-button': LyraComponentTypeMap['lr-copy-button']['element'];
|
|
6266
|
+
'lr-counter': LyraComponentTypeMap['lr-counter']['element'];
|
|
6058
6267
|
'lr-country-picker': LyraComponentTypeMap['lr-country-picker']['element'];
|
|
6059
6268
|
'lr-csv-viewer': LyraComponentTypeMap['lr-csv-viewer']['element'];
|
|
6060
6269
|
'lr-currency-picker': LyraComponentTypeMap['lr-currency-picker']['element'];
|
|
@@ -6135,6 +6344,7 @@ These named interfaces and helper signatures are available to typed integrations
|
|
|
6135
6344
|
'lr-knowledge-graph-explorer': LyraComponentTypeMap['lr-knowledge-graph-explorer']['element'];
|
|
6136
6345
|
'lr-known-date': LyraComponentTypeMap['lr-known-date']['element'];
|
|
6137
6346
|
'lr-lightbox': LyraComponentTypeMap['lr-lightbox']['element'];
|
|
6347
|
+
'lr-lightbox-item': LyraComponentTypeMap['lr-lightbox-item']['element'];
|
|
6138
6348
|
'lr-line-chart': LyraComponentTypeMap['lr-line-chart']['element'];
|
|
6139
6349
|
'lr-lite-chart': LyraComponentTypeMap['lr-lite-chart']['element'];
|
|
6140
6350
|
'lr-live-region': LyraComponentTypeMap['lr-live-region']['element'];
|
|
@@ -6168,6 +6378,7 @@ These named interfaces and helper signatures are available to typed integrations
|
|
|
6168
6378
|
'lr-node-palette': LyraComponentTypeMap['lr-node-palette']['element'];
|
|
6169
6379
|
'lr-notebook-viewer': LyraComponentTypeMap['lr-notebook-viewer']['element'];
|
|
6170
6380
|
'lr-number-input': LyraComponentTypeMap['lr-number-input']['element'];
|
|
6381
|
+
'lr-number-ticker': LyraComponentTypeMap['lr-number-ticker']['element'];
|
|
6171
6382
|
'lr-option': LyraComponentTypeMap['lr-option']['element'];
|
|
6172
6383
|
'lr-otp-input': LyraComponentTypeMap['lr-otp-input']['element'];
|
|
6173
6384
|
'lr-page': LyraComponentTypeMap['lr-page']['element'];
|
|
@@ -6237,6 +6448,7 @@ These named interfaces and helper signatures are available to typed integrations
|
|
|
6237
6448
|
'lr-spreadsheet-viewer': LyraComponentTypeMap['lr-spreadsheet-viewer']['element'];
|
|
6238
6449
|
'lr-stack-trace': LyraComponentTypeMap['lr-stack-trace']['element'];
|
|
6239
6450
|
'lr-stat': LyraComponentTypeMap['lr-stat']['element'];
|
|
6451
|
+
'lr-step': LyraComponentTypeMap['lr-step']['element'];
|
|
6240
6452
|
'lr-stepper': LyraComponentTypeMap['lr-stepper']['element'];
|
|
6241
6453
|
'lr-stream-status': LyraComponentTypeMap['lr-stream-status']['element'];
|
|
6242
6454
|
'lr-streaming-text': LyraComponentTypeMap['lr-streaming-text']['element'];
|
|
@@ -6374,6 +6586,7 @@ These named interfaces and helper signatures are available to typed integrations
|
|
|
6374
6586
|
'lr-control-group': LyraControlGroupSvelteProps;
|
|
6375
6587
|
'lr-conversation-item': LyraConversationItemSvelteProps;
|
|
6376
6588
|
'lr-copy-button': LyraCopyButtonSvelteProps;
|
|
6589
|
+
'lr-counter': LyraCounterSvelteProps;
|
|
6377
6590
|
'lr-country-picker': LyraCountryPickerSvelteProps;
|
|
6378
6591
|
'lr-csv-viewer': LyraCsvViewerSvelteProps;
|
|
6379
6592
|
'lr-currency-picker': LyraCurrencyPickerSvelteProps;
|
|
@@ -6454,6 +6667,7 @@ These named interfaces and helper signatures are available to typed integrations
|
|
|
6454
6667
|
'lr-knowledge-graph-explorer': LyraKnowledgeGraphExplorerSvelteProps;
|
|
6455
6668
|
'lr-known-date': LyraKnownDateSvelteProps;
|
|
6456
6669
|
'lr-lightbox': LyraLightboxSvelteProps;
|
|
6670
|
+
'lr-lightbox-item': LyraLightboxItemSvelteProps;
|
|
6457
6671
|
'lr-line-chart': LyraLineChartSvelteProps;
|
|
6458
6672
|
'lr-lite-chart': LyraLiteChartSvelteProps;
|
|
6459
6673
|
'lr-live-region': LyraLiveRegionSvelteProps;
|
|
@@ -6487,6 +6701,7 @@ These named interfaces and helper signatures are available to typed integrations
|
|
|
6487
6701
|
'lr-node-palette': LyraNodePaletteSvelteProps;
|
|
6488
6702
|
'lr-notebook-viewer': LyraNotebookViewerSvelteProps;
|
|
6489
6703
|
'lr-number-input': LyraNumberInputSvelteProps;
|
|
6704
|
+
'lr-number-ticker': LyraNumberTickerSvelteProps;
|
|
6490
6705
|
'lr-option': LyraOptionSvelteProps;
|
|
6491
6706
|
'lr-otp-input': LyraOtpInputSvelteProps;
|
|
6492
6707
|
'lr-page': LyraPageSvelteProps;
|
|
@@ -6556,6 +6771,7 @@ These named interfaces and helper signatures are available to typed integrations
|
|
|
6556
6771
|
'lr-spreadsheet-viewer': LyraSpreadsheetViewerSvelteProps;
|
|
6557
6772
|
'lr-stack-trace': LyraStackTraceSvelteProps;
|
|
6558
6773
|
'lr-stat': LyraStatSvelteProps;
|
|
6774
|
+
'lr-step': LyraStepSvelteProps;
|
|
6559
6775
|
'lr-stepper': LyraStepperSvelteProps;
|
|
6560
6776
|
'lr-stream-status': LyraStreamStatusSvelteProps;
|
|
6561
6777
|
'lr-streaming-text': LyraStreamingTextSvelteProps;
|
|
@@ -6627,6 +6843,7 @@ These named interfaces and helper signatures are available to typed integrations
|
|
|
6627
6843
|
`flattenCascadeLayers(css: string): string`
|
|
6628
6844
|
`installHappyDomAriaControlsShim(proto: object | undefined = globalThis.Element?.prototype): void`
|
|
6629
6845
|
`installHappyDomCascadeLayerShim(proto: SheetTextMethods | undefined = globalThis.CSSStyleSheet?.prototype, misbehaves: () => boolean = cascadeLayerRulesDropped): () => void`
|
|
6846
|
+
`installHappyDomResponseBytesShim(proto: BytesBody | undefined = globalThis.Response?.prototype as BytesBody | undefined): () => void`
|
|
6630
6847
|
`installHappyDomShims(): void`
|
|
6631
6848
|
`installStubInternalsForTest(host: Element): StubElementInternals`
|
|
6632
6849
|
|
|
@@ -6851,6 +7068,7 @@ These named interfaces and helper signatures are available to typed integrations
|
|
|
6851
7068
|
'lr-control-group': LyraControlGroupVueProps;
|
|
6852
7069
|
'lr-conversation-item': LyraConversationItemVueProps;
|
|
6853
7070
|
'lr-copy-button': LyraCopyButtonVueProps;
|
|
7071
|
+
'lr-counter': LyraCounterVueProps;
|
|
6854
7072
|
'lr-country-picker': LyraCountryPickerVueProps;
|
|
6855
7073
|
'lr-csv-viewer': LyraCsvViewerVueProps;
|
|
6856
7074
|
'lr-currency-picker': LyraCurrencyPickerVueProps;
|
|
@@ -6931,6 +7149,7 @@ These named interfaces and helper signatures are available to typed integrations
|
|
|
6931
7149
|
'lr-knowledge-graph-explorer': LyraKnowledgeGraphExplorerVueProps;
|
|
6932
7150
|
'lr-known-date': LyraKnownDateVueProps;
|
|
6933
7151
|
'lr-lightbox': LyraLightboxVueProps;
|
|
7152
|
+
'lr-lightbox-item': LyraLightboxItemVueProps;
|
|
6934
7153
|
'lr-line-chart': LyraLineChartVueProps;
|
|
6935
7154
|
'lr-lite-chart': LyraLiteChartVueProps;
|
|
6936
7155
|
'lr-live-region': LyraLiveRegionVueProps;
|
|
@@ -6964,6 +7183,7 @@ These named interfaces and helper signatures are available to typed integrations
|
|
|
6964
7183
|
'lr-node-palette': LyraNodePaletteVueProps;
|
|
6965
7184
|
'lr-notebook-viewer': LyraNotebookViewerVueProps;
|
|
6966
7185
|
'lr-number-input': LyraNumberInputVueProps;
|
|
7186
|
+
'lr-number-ticker': LyraNumberTickerVueProps;
|
|
6967
7187
|
'lr-option': LyraOptionVueProps;
|
|
6968
7188
|
'lr-otp-input': LyraOtpInputVueProps;
|
|
6969
7189
|
'lr-page': LyraPageVueProps;
|
|
@@ -7033,6 +7253,7 @@ These named interfaces and helper signatures are available to typed integrations
|
|
|
7033
7253
|
'lr-spreadsheet-viewer': LyraSpreadsheetViewerVueProps;
|
|
7034
7254
|
'lr-stack-trace': LyraStackTraceVueProps;
|
|
7035
7255
|
'lr-stat': LyraStatVueProps;
|
|
7256
|
+
'lr-step': LyraStepVueProps;
|
|
7036
7257
|
'lr-stepper': LyraStepperVueProps;
|
|
7037
7258
|
'lr-stream-status': LyraStreamStatusVueProps;
|
|
7038
7259
|
'lr-streaming-text': LyraStreamingTextVueProps;
|
package/llms/tokens.md
CHANGED
|
@@ -343,7 +343,7 @@ These work on any element, theme scope or not. Every other `--lr-theme-*` input
|
|
|
343
343
|
| `--lr-transition-fast` | `--lr-theme-transition-fast` | `120ms ease-out` | reducedMotion: `0.001ms linear` |
|
|
344
344
|
| `--lr-word-break` | `--lr-theme-word-break` | `inherit` | — |
|
|
345
345
|
|
|
346
|
-
## Derived and fixed tokens (
|
|
346
|
+
## Derived and fixed tokens (82)
|
|
347
347
|
|
|
348
348
|
These do not directly read a `--lr-theme-*` input. Aliases and computed values still follow
|
|
349
349
|
the tokens or environment values they reference; fixed contract constants are intentionally
|
|
@@ -368,6 +368,8 @@ not CSS custom properties declared by component hosts. Use the semantic `--lr-co
|
|
|
368
368
|
| `--lr-color-warning` | `var(--lr-color-warning-fill-loud)` | forcedColors: `CanvasText` |
|
|
369
369
|
| `--lr-color-warning-quiet` | `var(--lr-color-warning-fill-quiet)` | forcedColors: `Canvas` |
|
|
370
370
|
| `--lr-focus-ring` | `var(--lr-focus-ring-width) solid var(--lr-focus-ring-color)` | — |
|
|
371
|
+
| `--lr-font-size-4xl` | `calc(var(--lr-theme-font-size-3xl, 2rem) * 1.25)` | — |
|
|
372
|
+
| `--lr-font-size-5xl` | `calc(var(--lr-theme-font-size-3xl, 2rem) * 1.5)` | — |
|
|
371
373
|
| `--lr-mask-opaque` | `#000` | — |
|
|
372
374
|
| `--lr-ramp-brand-05` | `#000002` | — |
|
|
373
375
|
| `--lr-ramp-brand-10` | `#00030f` | — |
|
|
@@ -429,4 +431,7 @@ not CSS custom properties declared by component hosts. Use the semantic `--lr-co
|
|
|
429
431
|
| `--lr-safe-area-inline-start` | `env(safe-area-inset-left, 0px)` | — |
|
|
430
432
|
| `--lr-safe-area-top` | `env(safe-area-inset-top, 0px)` | — |
|
|
431
433
|
| `--lr-shadow` | `var(--lr-shadow-m)` | — |
|
|
434
|
+
| `--lr-space-3xl` | `calc(var(--lr-theme-space-2xl, 2rem) * 1.5)` | — |
|
|
435
|
+
| `--lr-space-4xl` | `calc(var(--lr-theme-space-2xl, 2rem) * 2)` | — |
|
|
436
|
+
| `--lr-space-xl` | `calc((var(--lr-theme-space-l, 1rem) + var(--lr-theme-space-2xl, 2rem)) / 2)` | — |
|
|
432
437
|
| `--lr-transition-interactive` | `background-color var(--lr-transition-fast), color var(--lr-transition-fast), border-color var(--lr-transition-fast)` | — |
|
package/llms.txt
CHANGED
|
@@ -89,13 +89,13 @@ privacy rules.
|
|
|
89
89
|
|
|
90
90
|
- **Data display, dashboards & flow canvas** (`components/data/`, 30) — `lr-sparkline`, `lr-stat`, `lr-data-grid`, `lr-table`, `lr-pagination`, `lr-gauge`, `lr-funnel`, `lr-word-cloud`, `lr-heatmap`, `lr-sequence-strip`, `lr-tree`, `lr-tree-item`, `lr-flow-canvas`, `lr-flow-node`, `lr-flow-minimap`, `lr-flow-controls`, `lr-flow-run-status`, `lr-context-meter`, `lr-calendar`, `lr-timeline`, `lr-timeline-item`, `lr-file-tree`, `lr-env-list`, `lr-document-library`, `lr-graph-query-builder`, `lr-condition-builder`, `lr-treemap`, `lr-sankey`, `lr-chord`, `lr-choropleth`
|
|
91
91
|
|
|
92
|
-
- **Layout, navigation & structure** (`components/layout/`,
|
|
92
|
+
- **Layout, navigation & structure** (`components/layout/`, 41) — `lr-multi-split`, `lr-split-panel`, `lr-widget`, `lr-carousel`, `lr-carousel-item`, `lr-button-group`, `lr-scroller`, `lr-tab-group`, `lr-stepper`, `lr-tab`, `lr-step`, `lr-tab-panel`, `lr-control-group`, `lr-reorder-list`, `lr-reorder-item`, `lr-segmented`, `lr-virtual-list`, `lr-app-rail`, `lr-app-rail-item`, `lr-app-rail-group`, `lr-responsive-panel`, `lr-menu-label`, `lr-menu`, `lr-menu-item`, `lr-dropdown-item`, `lr-menubar`, `lr-menubar-item`, `lr-dock-panel`, `lr-card`, `lr-command-palette`, `lr-details`, `lr-accordion`, `lr-accordion-item`, `lr-breadcrumb`, `lr-breadcrumb-item`, `lr-dashboard-grid`, `lr-drilldown-panel`, `lr-filter-bar`, `lr-page`, `lr-navigation-menu`, `lr-navigation-menu-item`
|
|
93
93
|
|
|
94
94
|
- **Overlays, status & feedback** (`components/overlays/`, 23) — `lr-toast`, `lr-toast-item`, `lr-empty`, `lr-skeleton`, `lr-drawer`, `lr-dialog`, `lr-chip`, `lr-chip-group`, `lr-kbd`, `lr-popup`, `lr-popover`, `lr-tooltip`, `lr-dropdown`, `lr-context-menu`, `lr-spinner`, `lr-progress-bar`, `lr-progress-ring`, `lr-badge`, `lr-tag`, `lr-alert`, `lr-callout`, `lr-rating`, `lr-help`
|
|
95
95
|
|
|
96
|
-
- **Utilities, formatting & observers** (`components/utility/`,
|
|
96
|
+
- **Utilities, formatting & observers** (`components/utility/`, 23) — `lr-export-button`, `lr-copy-button`, `lr-resize-observer`, `lr-intersection-observer`, `lr-mutation-observer`, `lr-json-viewer`, `lr-live-region`, `lr-poll-status`, `lr-mention-popover`, `lr-diff-view`, `lr-icon`, `lr-visually-hidden`, `lr-divider`, `lr-format-number`, `lr-format-date`, `lr-format-bytes`, `lr-relative-time`, `lr-known-date`, `lr-random-content`, `lr-tour`, `lr-style-panel`, `lr-counter`, `lr-number-ticker`
|
|
97
97
|
|
|
98
|
-
- **Media, files & maps** (`components/media/`,
|
|
98
|
+
- **Media, files & maps** (`components/media/`, 24) — `lr-flag`, `lr-sequence-playback`, `lr-map`, `lr-map-anchor`, `lr-drop-zone`, `lr-file-input`, `lr-image-comparer`, `lr-zoomable-frame`, `lr-pan-zoom`, `lr-attachment-chip`, `lr-file-icon`, `lr-media-card`, `lr-attachment-trigger`, `lr-avatar`, `lr-animated-image`, `lr-animation`, `lr-avatar-group`, `lr-lightbox`, `lr-lightbox-item`, `lr-qr-code`, `lr-image-viewer`, `lr-av-player`, `lr-video`, `lr-video-playlist`
|
|
99
99
|
|
|
100
100
|
- **Charts** (`components/charts/`, 13) — `lr-chart`, `lr-lite-chart`, `lr-line-chart`, `lr-bar-chart`, `lr-pie-chart`, `lr-doughnut-chart`, `lr-radar-chart`, `lr-polar-area-chart`, `lr-bubble-chart`, `lr-scatter-chart`, `lr-histogram`, `lr-box-plot`, `lr-chart-3d`
|
|
101
101
|
|