@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
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
- **Release history** [CHANGELOG.md](../../CHANGELOG.md)
|
|
10
10
|
- **Deprecations** none
|
|
11
11
|
- **Optional peers** none
|
|
12
|
-
- **Themeable via** 23 parts,
|
|
12
|
+
- **Themeable via** 23 parts, 51 custom properties — see this component's own `@csspart`/`@cssprop` list below
|
|
13
13
|
- **Tokens by part** (prefer these over a `::part()` rule) `column`: `--lr-theme-scrollbar-color`
|
|
14
14
|
- **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
|
|
15
15
|
|
|
@@ -224,3 +224,10 @@ ancestor to change every unset time input beneath it.
|
|
|
224
224
|
import "@aceshooting/lyra-ui/components/lr-time-input.js";
|
|
225
225
|
</script>
|
|
226
226
|
```
|
|
227
|
+
|
|
228
|
+
Further custom properties:
|
|
229
|
+
|
|
230
|
+
- `--lr-form-control-label-line-height` (default `inherit`): Line height of the field label.
|
|
231
|
+
- `--lr-form-control-label-text-align` (default `inherit`): Text alignment of the field label.
|
|
232
|
+
- `--lr-form-control-label-text-transform` (default `inherit`): Text transform of the field label.
|
|
233
|
+
- `--lr-form-control-label-block-gap` (default `var(--lr-space-xs)`): Space between a label above the field and the field, in top placement and once a `label-placement="start"` row collapses.
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
- **Release history** [CHANGELOG.md](../../CHANGELOG.md)
|
|
10
10
|
- **Deprecations** none
|
|
11
11
|
- **Optional peers** none
|
|
12
|
-
- **Themeable via** 15 parts,
|
|
12
|
+
- **Themeable via** 15 parts, 8 custom properties — see this component's own `@csspart`/`@cssprop` list below
|
|
13
13
|
- **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
|
|
14
14
|
|
|
15
15
|
---
|
|
@@ -72,3 +72,7 @@ in both modes, following the country picker's event contract.
|
|
|
72
72
|
</script>
|
|
73
73
|
<lr-time-zone-picker name="zone" label="Time zone" value="UTC" searchable></lr-time-zone-picker>
|
|
74
74
|
```
|
|
75
|
+
|
|
76
|
+
Further custom properties:
|
|
77
|
+
|
|
78
|
+
- `--lr-form-control-label-block-gap` (default `var(--lr-space-xs)`): Space between a label above the field and the field, in top placement and once a `label-placement="start"` row collapses.
|
|
@@ -9,6 +9,6 @@
|
|
|
9
9
|
- **Release history** [CHANGELOG.md](../../CHANGELOG.md)
|
|
10
10
|
- **Deprecations** none
|
|
11
11
|
- **Optional peers** none
|
|
12
|
-
- **Themeable via**
|
|
12
|
+
- **Themeable via** 15 parts, 20 custom properties — see `lr-timeline.md`
|
|
13
13
|
- **Documented with** `lr-timeline`: see [lr-timeline.md](./lr-timeline.md).
|
|
14
14
|
- **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
- **Release history** [CHANGELOG.md](../../CHANGELOG.md)
|
|
10
10
|
- **Deprecations** none
|
|
11
11
|
- **Optional peers** none
|
|
12
|
-
- **Themeable via**
|
|
12
|
+
- **Themeable via** 2 parts, 13 custom properties — see this component's own `@csspart`/`@cssprop` list below
|
|
13
13
|
- **Documented with** `lr-timeline-item` (same section below)
|
|
14
14
|
- **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
|
|
15
15
|
|
|
@@ -26,6 +26,23 @@ item's `title`/`description` routinely hold focusable content, so wrapping the r
|
|
|
26
26
|
would trip `nested-interactive`). The opt-in clustered time scale adds only native count-marker
|
|
27
27
|
buttons; it does not make the individual rows interactive.
|
|
28
28
|
|
|
29
|
+
**`wa-timeline` / `wa-timeline-item` parity.** `lr-timeline` does not accept Web Awesome's
|
|
30
|
+
`orientation="auto"` yet (it would widen the published `orientation` read type; an unrecognized value
|
|
31
|
+
keeps `vertical`). It accepts `marker-placement: 'start' | 'end' | 'alternate' = 'start'` (`alternate` swaps
|
|
32
|
+
sides on every other item around a central rail and falls back to `start` under 30em; sides follow the
|
|
33
|
+
inline direction, so RTL mirrors), `marker-alignment: 'start' | 'center' = 'start'` (`center` centers the
|
|
34
|
+
marker on the item's height with the rail running above and below it), and `label` (accessible name; a
|
|
35
|
+
host `aria-label` wins, then `label`, then the localized default). `[part='base']` also carries the
|
|
36
|
+
`timeline` part. `lr-timeline-item` adds the `opposite` slot and part (a fixed share beside the rail,
|
|
37
|
+
`--lr-timeline-opposite-size`, default `30%`; above the marker when horizontal; the far column when
|
|
38
|
+
alternating), `with-opposite`, the `icon` slot (alias of `marker-icon`) and `with-icon` (server-render
|
|
39
|
+
hints that also force the column or icon marker), and the `connector` and `timeline-item` part aliases of
|
|
40
|
+
`rail` and `base`. Custom properties: `--lr-timeline-icon-marker-size` (defaults to the marker size),
|
|
41
|
+
`--lr-timeline-connector-color` / `--lr-timeline-connector-width` (aliases that win over the
|
|
42
|
+
`--lr-timeline-rail-*` pair) and `--lr-timeline-connector-gap` (default `0px`).
|
|
43
|
+
Migration: `wa-timeline`'s `--gap`, `--marker-size`, `--icon-marker-size`, `--connector-color`,
|
|
44
|
+
`--connector-width` and `--connector-gap` become the `--lr-timeline-*` names above.
|
|
45
|
+
|
|
29
46
|
A non-neutral `variant` adds a localized, visually hidden state to the item title. In forced colours, the marker and rail use system colours.
|
|
30
47
|
|
|
31
48
|
Every assigned item remains mounted; the timeline does not window large collections. Flow mode
|
|
@@ -150,6 +167,8 @@ removed on the last item, so marker alignment stays consistent), `content`, `hea
|
|
|
150
167
|
wrapping `title` and `timestamp`; wraps at narrow widths rather than truncating), `title`,
|
|
151
168
|
`timestamp` (hidden when there's nothing to show), `description`.
|
|
152
169
|
|
|
170
|
+
Further CSS parts: `connector`: Alias of `rail`. `timeline-item`: Alias of `base`.
|
|
171
|
+
|
|
153
172
|
**Themeable custom properties:** `--lr-timeline-gap` (default `var(--lr-space-l)`) — declared on
|
|
154
173
|
`lr-timeline` but consumed inside each item via inheritance across the slot boundary; it is both the
|
|
155
174
|
inter-item spacing and the length each rail bridges. `--lr-timeline-cluster-size` (default
|
|
@@ -178,3 +197,21 @@ Version 9 removes the legacy item `icon` slot; migrate marker glyphs to `slot="m
|
|
|
178
197
|
Timeline orientation/rail coordination now uses private implementation-prefixed cross-shadow
|
|
179
198
|
properties. The only supported spacing input remains `--lr-timeline-gap`; stop overriding the five
|
|
180
199
|
former `--lr-timeline-item-*` plumbing names.
|
|
200
|
+
|
|
201
|
+
More properties: `markerAlignment` (attribute `marker-alignment`, default `'start'`): Where the
|
|
202
|
+
marker sits along its item while the timeline runs as a column. `'start'` (the default) pins it to
|
|
203
|
+
the item's first line; `'center'` centers it on the item's full height and runs the rail through it
|
|
204
|
+
as one line, which suits cards. Ignored while the timeline runs as a row. `markerPlacement`
|
|
205
|
+
(attribute `marker-placement`, default `'start'`): Which side of its content each item's marker sits
|
|
206
|
+
on while the timeline runs as a column. `'start'` (the default) puts the marker before the content,
|
|
207
|
+
`'end'` after it, and `'alternate'` switches sides on every other item so the rail runs down the
|
|
208
|
+
middle, with an item's `opposite` content on the far side. Sides follow the inline direction, so
|
|
209
|
+
they mirror under RTL. An alternating timeline narrower than 30em lays every item out like `start`.
|
|
210
|
+
Ignored while the timeline runs as a row.
|
|
211
|
+
|
|
212
|
+
More properties: `withIcon` (attribute `with-icon`, default `false`): Server-render hint: set it
|
|
213
|
+
when `icon`/`marker-icon` content is slotted so the marker renders as an icon marker before the
|
|
214
|
+
element hydrates. Also forces the icon marker presentation. `withOpposite` (attribute
|
|
215
|
+
`with-opposite`, default `false`): Server-render hint: set it when `opposite` content is slotted so
|
|
216
|
+
the opposite column renders before the element hydrates. Also keeps the column even when the slot is
|
|
217
|
+
empty.
|
|
@@ -9,6 +9,6 @@
|
|
|
9
9
|
- **Release history** [CHANGELOG.md](../../CHANGELOG.md)
|
|
10
10
|
- **Deprecations** none
|
|
11
11
|
- **Optional peers** none
|
|
12
|
-
- **Themeable via**
|
|
12
|
+
- **Themeable via** 13 parts, 30 custom properties — see `lr-toast.md`
|
|
13
13
|
- **Documented with** `lr-toast`: see [lr-toast.md](./lr-toast.md).
|
|
14
14
|
- **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
- **Release history** [CHANGELOG.md](../../CHANGELOG.md)
|
|
10
10
|
- **Deprecations** none
|
|
11
11
|
- **Optional peers** none
|
|
12
|
-
- **Themeable via** 1 part,
|
|
12
|
+
- **Themeable via** 1 part, 12 custom properties — see this component's own `@csspart`/`@cssprop` list below
|
|
13
13
|
- **Documented with** `lr-toast-item` (same section below)
|
|
14
14
|
- **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
|
|
15
15
|
|
|
@@ -69,6 +69,11 @@ promise/result contract.
|
|
|
69
69
|
|
|
70
70
|
**Themeable custom properties:** `--lr-toast-gap` (default `var(--lr-space-s)`),
|
|
71
71
|
`--lr-toast-width` (default `var(--lr-size-28rem)`) — set directly on the `<lr-toast>` element.
|
|
72
|
+
`--lr-toast-inset-block` and `--lr-toast-inset-inline` (both default `var(--lr-space-l)`) set the
|
|
73
|
+
region's distance from the viewport's block (top/bottom) and inline (start/end) edges; the
|
|
74
|
+
`--lr-safe-area-*` insets still win wherever they are larger. Each placement is its own region
|
|
75
|
+
element, so scope either token to one region with a placement selector, for example
|
|
76
|
+
`lr-toast[placement^='bottom'] { --lr-toast-inset-block: var(--lr-space-m); }`.
|
|
72
77
|
The mapped `--gap` and `--width` names are compatibility aliases for those two Lyra-prefixed
|
|
73
78
|
properties; an explicitly set Lyra-prefixed property continues to take precedence.
|
|
74
79
|
Every `<lr-toast-item>` property below is also documented on the region, because custom properties
|
|
@@ -110,7 +115,7 @@ accepted show or hide interrupted by disconnection resumes after reconnection an
|
|
|
110
115
|
**Slots:** default (message), `icon`
|
|
111
116
|
|
|
112
117
|
**CSS parts:** `toast-item`, `accent`, `icon`, `content`, `close-button`, `close-icon`,
|
|
113
|
-
`close-icon__svg`, `progress-ring`, `progress-ring__base`, `progress-ring__indicator`,
|
|
118
|
+
`close-icon__svg`, `progress-ring`, `progress-ring__base`, `progress-ring__progress-ring` (same SVG as `progress-ring__base`), `progress-ring__indicator`,
|
|
114
119
|
`progress-ring__label`, `progress-ring__track`. The progress-ring tree is rendered for a finite,
|
|
115
120
|
positive auto-dismiss duration and surrounds the close glyph; its indicator pauses alongside the
|
|
116
121
|
auto-dismiss timer on hover or focus.
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
- **Release history** [CHANGELOG.md](../../CHANGELOG.md)
|
|
10
10
|
- **Deprecations** none
|
|
11
11
|
- **Optional peers** none
|
|
12
|
-
- **Themeable via**
|
|
12
|
+
- **Themeable via** 22 parts, 41 custom properties — see this component's own `@csspart`/`@cssprop` list below
|
|
13
13
|
- **Tokens by part** (prefer these over a `::part()` rule) `form-control-label`: `--lr-form-control-required-content`
|
|
14
14
|
- **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
|
|
15
15
|
|
|
@@ -52,8 +52,12 @@ preserves the inline editor, its draft, and its focus. A changed sequence ends t
|
|
|
52
52
|
property and the attribute are equivalent: `el.appearance = 'filled'` repaints the token row.
|
|
53
53
|
|
|
54
54
|
**Properties:** live, non-reflecting `value`, reflected `defaultValue` (attribute `value`, encoded
|
|
55
|
-
as a JSON string array
|
|
56
|
-
|
|
55
|
+
as a JSON string array; the attribute also accepts delimiter-separated text such as `value="a, b"`,
|
|
56
|
+
split on `delimiter` like a string assignment, while a JSON array is used verbatim and never split),
|
|
57
|
+
`customError` (`custom-error`), `label`, `hint`, `errorText`
|
|
58
|
+
(`error-text`), `withLabel`/`withHint` (`with-label`/`with-hint`, default `false` — server-rendering
|
|
59
|
+
hints that reserve the label and hint rows before slotted content is observed; an empty reserved
|
|
60
|
+
label never replaces the fallback accessible name), `placeholder`, `name` (`null` removes it),
|
|
57
61
|
`required`, `disabled`,
|
|
58
62
|
`readonly: boolean = false` (reflected — forwards native read-only behavior to the draft input and
|
|
59
63
|
the inline token editor, and blocks adding, removing or editing a token while leaving the draft
|
|
@@ -73,7 +77,7 @@ rounds the token row's corners by changing the private radius default to `--lr-r
|
|
|
73
77
|
chips share the public `--lr-token-input-radius` hook with the row, and an inherited or direct
|
|
74
78
|
value remains authoritative),
|
|
75
79
|
`allowDuplicates`
|
|
76
|
-
(`allow-duplicates`, default `false`), `editable` (reflected, default `false` — see below), and
|
|
80
|
+
(`allow-duplicates`, not reflected, default `false`), `editable` (reflected, default `false` — see below), and
|
|
77
81
|
`delimiter: string | null` (default `','` — see below).
|
|
78
82
|
`maxTokensVisible: number = 200` (attribute `max-tokens-visible`) limits the number of mounted
|
|
79
83
|
tokens. Omitting or removing the attribute, or supplying a non-finite limit, uses the 200-token
|
|
@@ -81,11 +85,20 @@ window; set `max-tokens-visible="0"` to keep mounting every token.
|
|
|
81
85
|
The `previous-page` and `next-page` buttons page through the tokens, including in a read-only
|
|
82
86
|
field. The `token-overflow` part shows how many tokens are outside the current window. The value
|
|
83
87
|
array and form submission always include every token.
|
|
84
|
-
The native text hints `autocomplete`, `inputmode` (`inputMode
|
|
85
|
-
(`enterKeyHint
|
|
88
|
+
The native text hints `autocomplete`, `inputmode` (`inputMode`; the lowercase `inputmode` property
|
|
89
|
+
is an alias), and `enterkeyhint` (`enterKeyHint`, likewise aliased) go to both the draft input and the inline token editor. Empty values leave the
|
|
86
90
|
optional native attributes unset. The default accessible name is localized as "Tokens" when the
|
|
87
91
|
field has no label, accessible-name override, or nonblank placeholder.
|
|
88
92
|
|
|
93
|
+
`resetValidity()` clears a `setCustomValidity()` message and recomputes the token constraints (a
|
|
94
|
+
`required` list with no tokens stays `valueMissing`). The static `validators` getter returns the
|
|
95
|
+
intrinsic validator catalog, reporting the current `required`/`min-tags`/`max-tags` validity under the
|
|
96
|
+
native `ValidityState` keys.
|
|
97
|
+
|
|
98
|
+
More properties: `withClear` (attribute `with-clear`, default `false`): Shows a button that removes
|
|
99
|
+
every token while there is at least one and the control is neither disabled nor readonly. Same as
|
|
100
|
+
`clearable`.
|
|
101
|
+
|
|
89
102
|
**Slots:** `label`, `hint`, `error`, `start` (adornment before the tokens), `end` (adornment after
|
|
90
103
|
the draft input) — both wrapped in a `hidden`-toggling span, mirroring `lr-combobox`'s identical
|
|
91
104
|
`start`/`end`.
|
|
@@ -105,6 +118,11 @@ unchanged), and `lr-token-edit-request`
|
|
|
105
118
|
cancelable; `preventDefault()` keeps the token in `value` unchanged and leaves the inline editor
|
|
106
119
|
open with the user's edited text intact, rather than closing and discarding it).
|
|
107
120
|
All three mutators share one veto contract.
|
|
121
|
+
`lr-create` (`detail: { inputValue }` — cancelable) fires once per typed or pasted candidate
|
|
122
|
+
before the batch-level `lr-token-add-request`; `preventDefault()` drops that one token, and when
|
|
123
|
+
every candidate is rejected the draft text stays in the input. `lr-clear` (`detail: null`) fires
|
|
124
|
+
after `input`/`change` when the clear button removed the tokens; each removal is first proposed
|
|
125
|
+
through `lr-token-remove-request`, so a vetoed token stays.
|
|
108
126
|
`lr-invalid` (`detail: null`) is emitted once as a bubbling/composed, cancelable alias when native
|
|
109
127
|
validity fails. Calling `preventDefault()` also cancels the native `invalid` event and suppresses
|
|
110
128
|
the browser’s validation bubble.
|
|
@@ -170,13 +188,41 @@ inline editor is open discards that uncommitted state without moving focus.
|
|
|
170
188
|
|
|
171
189
|
**`delimiter` is nullable, and only a single character acts as a commit key.** It does two separate
|
|
172
190
|
jobs: it splits a committed draft into several tokens, and — _only when it is exactly one
|
|
173
|
-
character_ — it is the keystroke that commits the draft. A multi-character delimiter
|
|
174
|
-
pasted or committed draft, but no keystroke can ever match
|
|
191
|
+
character_ — it is the keystroke that commits the draft. A multi-character delimiter is matched as
|
|
192
|
+
one literal sequence: it still splits a pasted or committed draft, but no keystroke can ever match
|
|
193
|
+
it, so nothing commits on typing. Pasting never commits by itself; the pasted text joins the draft.
|
|
175
194
|
Setting it to `null` disables both, so a token may contain the delimiter verbatim. **`delimiter="null"`
|
|
176
195
|
does not work** — that is the four-character string `null`. Use `delimiter="none"`, `delimiter=""`
|
|
177
196
|
(both of which the attribute converter maps to `null`), or a property binding
|
|
178
197
|
(`.delimiter=${null}`). Removing the attribute restores the `,` default.
|
|
179
198
|
|
|
199
|
+
**`max-tags` / `min-tags`** (`maxTags`/`minTags`, both `null` by default, so unset changes nothing).
|
|
200
|
+
At the maximum, typed or pasted text cannot commit and stays in the field (a split draft commits what fits
|
|
201
|
+
and leaves the rest); removal, inline editing and clearing keep working. A programmatic `value` longer than
|
|
202
|
+
`max-tags` reports `rangeOverflow`; a list shorter than `min-tags` reports `rangeUnderflow`, enforced only
|
|
203
|
+
once at least one token exists (use `required` for the empty case). Messages are localized
|
|
204
|
+
(`tokenInputTooFew`, `tokenInputTooMany`); disabled or readonly controls report neither.
|
|
205
|
+
|
|
206
|
+
**`with-clear` / `clearable`** show a `clear-button` (icon via the `clear-icon` slot) while there are tokens
|
|
207
|
+
and the control is neither disabled nor readonly. It proposes each removal through the cancelable
|
|
208
|
+
`lr-token-remove-request` (a vetoed token stays), then emits `input`/`change`/`lr-input`/`lr-change` and
|
|
209
|
+
`lr-clear`, and returns focus to the draft input.
|
|
210
|
+
|
|
211
|
+
**`value` and `inputValue`.** The array stays canonical, but assigning a string to `value` (or
|
|
212
|
+
`defaultValue`) splits it on the `delimiter` sequence (comma when none) into trimmed, non-empty tokens;
|
|
213
|
+
the reflected `value` attribute remains a JSON array. `inputValue` reads and writes the uncommitted draft
|
|
214
|
+
without committing it.
|
|
215
|
+
|
|
216
|
+
**`lr-create`** is a cancelable per-token proposal (`detail: { inputValue }`) emitted for every typed or pasted
|
|
217
|
+
candidate before the batch-level `lr-token-add-request`; `preventDefault()` drops that one token, and the
|
|
218
|
+
draft stays when every candidate is rejected.
|
|
219
|
+
|
|
220
|
+
**Part aliases and states.** `tag-input` (= `input-wrapper`), `tags` (display-contents wrapper around the
|
|
221
|
+
tokens), `tag` (= `token`), `tag__content` (the token text), `tag__remove-button` and
|
|
222
|
+
`tag__remove-button__button` (= `remove`) sit beside the existing parts. Because a part can now carry
|
|
223
|
+
several names, match parts with `[part~="token"]` rather than `[part="token"]`. `:state(blank)` matches
|
|
224
|
+
while there are no tokens and `:state(readonly)` while `readonly` is set.
|
|
225
|
+
|
|
180
226
|
**The required marker.** `required` with a non-empty `label` paints the library's shared marker on
|
|
181
227
|
`[part="form-control-label"]` — the one `::after` rule described under "The required-field marker"
|
|
182
228
|
above, not a copy of it, so `--lr-form-control-required-content`,
|
|
@@ -200,6 +246,9 @@ inline to `--lr-size-8rem`), `--lr-token-input-min-input-inline-size` (default `
|
|
|
200
246
|
floor that input keeps once tokens have consumed the row), and `--lr-token-input-editor-inline-size`
|
|
201
247
|
(default `--lr-size-6rem`, the inline size of the inline token editor opened by `editable`).
|
|
202
248
|
|
|
249
|
+
More themeable custom properties: `--lr-form-control-label-line-height` (default `inherit`): Line
|
|
250
|
+
height of the field label.
|
|
251
|
+
|
|
203
252
|
**Additional API surface:**
|
|
204
253
|
|
|
205
254
|
- `--lr-token-input-token-padding` — Per-token chip padding, scaled by `size`.
|
|
@@ -228,3 +277,10 @@ floor that input keeps once tokens have consumed the row), and `--lr-token-input
|
|
|
228
277
|
- `--lr-token-input-invalid-border-color` overrides the shared `--lr-form-control-invalid-border-color` on this row. The default is `--lr-color-danger`.
|
|
229
278
|
|
|
230
279
|
The start-placed label aligns to the first line of the field, measured with `--lr-form-control-height`.
|
|
280
|
+
|
|
281
|
+
Further custom properties:
|
|
282
|
+
|
|
283
|
+
- `--lr-form-control-label-block-gap` (default `var(--lr-space-xs)`): Space between a label above the field and the field, in top placement and once a `label-placement="start"` row collapses.
|
|
284
|
+
- `--lr-form-control-label-line-height` (default `inherit`): Line height of the field label.
|
|
285
|
+
- `--lr-form-control-label-text-align` (default `inherit`): Text alignment of the field label.
|
|
286
|
+
- `--lr-form-control-label-text-transform` (default `inherit`): Text transform of the field label.
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
- **Release history** [CHANGELOG.md](../../CHANGELOG.md)
|
|
10
10
|
- **Deprecations** none
|
|
11
11
|
- **Optional peers** none
|
|
12
|
-
- **Themeable via**
|
|
12
|
+
- **Themeable via** 10 parts, 13 custom properties — see this component's own `@csspart`/`@cssprop` list below
|
|
13
13
|
- **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
|
|
14
14
|
|
|
15
15
|
---
|
|
@@ -138,8 +138,8 @@ attribute documented above. Shoelace uses the default slot for the trigger and `
|
|
|
138
138
|
without one, an explicit content source (`slot="content"` or the `content` property) makes the
|
|
139
139
|
default slot unambiguously the trigger, matching Shoelace.
|
|
140
140
|
|
|
141
|
-
**CSS parts:** `popup base tooltip base__popup` are aliases on the same wrapper; `trigger`; `body`;
|
|
142
|
-
and `arrow base__arrow` (rendered unless suppressed). The arrow also carries the resolved side —
|
|
141
|
+
**CSS parts:** `popup base tooltip base__popup tooltip__popup` are aliases on the same wrapper; `trigger`; `body`;
|
|
142
|
+
and `arrow base__arrow tooltip__arrow` (rendered unless suppressed). The arrow also carries the resolved side —
|
|
143
143
|
`arrow-top`, `arrow-bottom`, `arrow-left`, or `arrow-right`.
|
|
144
144
|
|
|
145
145
|
**Themeable custom properties:** mapped `--max-width`, `--show-delay`, `--hide-delay`, and
|
|
@@ -9,6 +9,6 @@
|
|
|
9
9
|
- **Release history** [CHANGELOG.md](../../CHANGELOG.md)
|
|
10
10
|
- **Deprecations** none
|
|
11
11
|
- **Optional peers** none
|
|
12
|
-
- **Themeable via**
|
|
12
|
+
- **Themeable via** 31 parts, 32 custom properties — see `lr-tree.md`
|
|
13
13
|
- **Documented with** `lr-tree`: see [lr-tree.md](./lr-tree.md).
|
|
14
14
|
- **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
|
|
@@ -403,7 +403,8 @@ content is omitted from the spoken name. Host `aria-label` remains authoritative
|
|
|
403
403
|
**CSS parts:** `base` and `tree-item` are aliases on the same outer wrapper around the row and child
|
|
404
404
|
group; `row`, `toggle`, `icon`, `content`, `label`, `description`, `badge`, `group`, `item`,
|
|
405
405
|
`item--disabled`, `item--expanded`, `item--indeterminate`, `item--selected`, `indentation`,
|
|
406
|
-
`expand-button`, `spinner`, `spinner__base`, `children`, `checkbox`,
|
|
406
|
+
`expand-button`, `spinner`, `spinner__base`, `spinner__spinner` (same node as `spinner__base`), `children`, `checkbox`,
|
|
407
|
+
`checkbox__base`, `checkbox__checkbox` (same node as `checkbox__base`),
|
|
407
408
|
`checkbox__control`, `checkbox__control--checked`, `checkbox__control--indeterminate`,
|
|
408
409
|
`checkbox__checked-icon`, `checkbox__indeterminate-icon`, and `checkbox__label`. `badge`
|
|
409
410
|
is applied to every `item.badges` chip. The `reorder-handle` part is the touch drag grip shown
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
- **Release history** [CHANGELOG.md](../../CHANGELOG.md)
|
|
10
10
|
- **Deprecations** none
|
|
11
11
|
- **Optional peers** none
|
|
12
|
-
- **Themeable via** 15 parts,
|
|
12
|
+
- **Themeable via** 15 parts, 8 custom properties — see this component's own `@csspart`/`@cssprop` list below
|
|
13
13
|
- **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
|
|
14
14
|
|
|
15
15
|
---
|
|
@@ -70,3 +70,7 @@ in both modes, following the country picker's event contract.
|
|
|
70
70
|
</script>
|
|
71
71
|
<lr-unit-picker name="unit" label="Measurement unit" value="meter" searchable></lr-unit-picker>
|
|
72
72
|
```
|
|
73
|
+
|
|
74
|
+
Further custom properties:
|
|
75
|
+
|
|
76
|
+
- `--lr-form-control-label-block-gap` (default `var(--lr-space-xs)`): Space between a label above the field and the field, in top placement and once a `label-placement="start"` row collapses.
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
- **Release history** [CHANGELOG.md](../../CHANGELOG.md)
|
|
10
10
|
- **Deprecations** none
|
|
11
11
|
- **Optional peers** `@aceshooting/lyra-3d`, `dompurify` — see `llms/peers.md`
|
|
12
|
-
- **Themeable via**
|
|
12
|
+
- **Themeable via** 25 parts, 10 custom properties — see this component's own `@csspart`/`@cssprop` list below
|
|
13
13
|
- **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
|
|
14
14
|
|
|
15
15
|
---
|
|
@@ -123,10 +123,10 @@ is preserved exactly as an empty native-video name. Caption/subtitle tracks
|
|
|
123
123
|
selected for Lyra's custom overlay use native `mode="hidden"`, keeping cue activity available
|
|
124
124
|
without asking the browser to paint a duplicate native caption layer.
|
|
125
125
|
|
|
126
|
-
**CSS parts:** `base
|
|
126
|
+
**CSS parts:** `base`, `video-wrapper` and `player` (aliases on the same root node), `caption`,
|
|
127
127
|
`caption-overlay`, `controls`, `controls-overlay`, `error`, `poster-overlay`, `poster-play-button`,
|
|
128
128
|
`progress`, `thumbnail`, `timeline`, `timeline-indicator`, `timeline-thumb`, `timeline-track`,
|
|
129
|
-
`video`, and `video-title-overlay`.
|
|
129
|
+
`video` (also `body`, an alias on the same media element), and `video-title-overlay`.
|
|
130
130
|
Panorama parts (with `projection="equirectangular"`): `panorama` (the keyboard-operable spherical
|
|
131
131
|
viewport), `panorama-engine` (the optional renderer container), `panorama-notice` (localized
|
|
132
132
|
renderer loading or fallback feedback), `panorama-hotspots` (the paginated hotspot alternative)
|
|
@@ -140,7 +140,8 @@ than a raw number of seconds; `aria-describedby` points to the same text. The vo
|
|
|
140
140
|
remains in the DOM as a disabled `0..0` control with its value text and description intact,
|
|
141
141
|
avoiding a disappearing/reappearing semantic target.
|
|
142
142
|
|
|
143
|
-
**Themeable custom properties:** `--
|
|
143
|
+
**Themeable custom properties:** `--aspect-ratio` (default `16 / 9`, the player surface ratio),
|
|
144
|
+
`--controls-background` (default
|
|
144
145
|
`var(--lr-color-overlay-strong)`), `--controls-color` (default
|
|
145
146
|
`var(--lr-color-on-strong-overlay)`), and
|
|
146
147
|
`--poster-play-button-background` (default `var(--lr-color-surface-overlay)`). These exact names are
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
- **Release history** [CHANGELOG.md](../../CHANGELOG.md)
|
|
10
10
|
- **Deprecations** none
|
|
11
11
|
- **Optional peers** none
|
|
12
|
-
- **Themeable via** 19 parts,
|
|
12
|
+
- **Themeable via** 19 parts, 53 custom properties — see this component's own `@csspart`/`@cssprop` list below
|
|
13
13
|
- **Tokens by part** (prefer these over a `::part()` rule) `form-control-label`: `--lr-form-control-required-content`; `preview-button`: `--lr-voice-picker-trigger-border-color`
|
|
14
14
|
- **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
|
|
15
15
|
|
|
@@ -272,3 +272,10 @@ trigger), `expand-icon`, `empty`, `hint`, `error`.
|
|
|
272
272
|
- The preview button rests on `--lr-voice-picker-trigger-border-color` and `--lr-voice-picker-trigger-fill`, and takes `--lr-voice-picker-trigger-hover-border-color` on hover, so it follows the trigger beside it.
|
|
273
273
|
- `--lr-voice-picker-preview-hover-bg` — Preview hover fill. Default: `var(--lr-color-brand-quiet)`.
|
|
274
274
|
- `--lr-voice-picker-preview-hover-color` — Preview hover icon. Default: `var(--lr-color-brand)`.
|
|
275
|
+
|
|
276
|
+
Further custom properties:
|
|
277
|
+
|
|
278
|
+
- `--lr-form-control-label-block-gap` (default `var(--lr-space-xs)`): Space between a label above the field and the field, in top placement and once a `label-placement="start"` row collapses.
|
|
279
|
+
- `--lr-form-control-label-line-height` (default `inherit`): Line height of the field label.
|
|
280
|
+
- `--lr-form-control-label-text-align` (default `inherit`): Text alignment of the field label.
|
|
281
|
+
- `--lr-form-control-label-text-transform` (default `inherit`): Text transform of the field label.
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
- **Release history** [CHANGELOG.md](../../CHANGELOG.md)
|
|
10
10
|
- **Deprecations** none
|
|
11
11
|
- **Optional peers** none
|
|
12
|
-
- **Themeable via** 16 parts,
|
|
12
|
+
- **Themeable via** 16 parts, 22 custom properties — see this component's own `@csspart`/`@cssprop` list below
|
|
13
13
|
- **Tokens by part** (prefer these over a `::part()` rule) `actions`: `--lr-scroll-fade-size`; `backdrop`: `--lr-widget-backdrop-inset`, `--lr-widget-overlay-color`; `base`: `--lr-widget-fullscreen-inset`; `collapse-button`: `--lr-widget-collapse-button-hover-bg`, `--lr-widget-collapse-button-hover-color`; `fullscreen-button`: `--lr-widget-fullscreen-button-hover-bg`, `--lr-widget-fullscreen-button-hover-color`; `view-toggle`: `--lr-widget-view-toggle-hover-bg`, `--lr-widget-view-toggle-hover-color`; `view-toggles`: `--lr-scroll-fade-size`
|
|
14
14
|
- **Library-wide behavior** (events, form association, `locale`/`strings`, tokens, TS types): `llms/shared.md`
|
|
15
15
|
|
|
@@ -131,7 +131,7 @@ body is the block-axis scroll owner whenever the widget receives a constrained h
|
|
|
131
131
|
header remains fixed while deep body content scrolls.
|
|
132
132
|
|
|
133
133
|
For the docked frame, `--lr-widget-bg`, `--lr-widget-border-color` and `--lr-widget-radius`
|
|
134
|
-
control the fill, border and corners. `--lr-widget-header-padding`, `--lr-widget-body-padding`
|
|
134
|
+
control the fill, border and corners. `--lr-widget-header-divider` (default `var(--lr-border-width-thin) solid var(--lr-color-border-subtle)`) is the header's bottom rule as a border shorthand; `none` removes it. `--lr-widget-header-padding`, `--lr-widget-body-padding`
|
|
135
135
|
and `--lr-widget-gap` override the size tier's padding and header gap. The selected view has a
|
|
136
136
|
visible outline in forced colors. Collapsing a body that held focus returns focus to its toggle.
|
|
137
137
|
|
|
@@ -34,6 +34,14 @@ variants `--lr-icon-button-hover-bg`, `--lr-icon-button-active-bg`, `--lr-icon-b
|
|
|
34
34
|
values are accepted; active `data:`/`javascript:` and non-embeddable schemes are omitted.
|
|
35
35
|
- `srcdoc: string = ''` — inline iframe document. A present `srcdoc` wins over `src`, including an
|
|
36
36
|
explicitly empty `srcdoc` attribute.
|
|
37
|
+
- `allow: string = ''` — Permissions Policy, filtered: only `accelerometer`, `autoplay`,
|
|
38
|
+
`clipboard-write`, `encrypted-media`, `fullscreen`, `gyroscope`, `magnetometer`,
|
|
39
|
+
`picture-in-picture` and `web-share` survive, each limited to the `'self'`/`'src'`/`'none'`
|
|
40
|
+
keywords (no `*`, no origins). It never alters `sandbox`.
|
|
41
|
+
- `name: string = ''` — browsing-context name for `target="<name>"` links and forms; blank and
|
|
42
|
+
reserved `_`-prefixed values are ignored.
|
|
43
|
+
- `label: string = ''` — accessible name (iframe title); a host `aria-label` wins, blank uses the
|
|
44
|
+
localized default.
|
|
37
45
|
- `allowfullscreen: boolean = false`, `loading: LyraZoomableFrameLoading = 'eager'`
|
|
38
46
|
(`'eager' | 'lazy'`),
|
|
39
47
|
`referrerpolicy: string = ''`, and `sandbox: string = 'allow-same-origin'` forward the native
|