@aceshooting/lyra-ui 32.0.0 → 33.0.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 +224 -1380
- package/README.md +36 -7
- package/custom-elements.slim.json +1 -0
- package/design-tokens.json +1 -1
- package/dist/accent-roles.css +1 -0
- 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 +54 -44
- 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/agent-tools/tool-call-chip/tool-call-chip.class.d.ts +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/chat-composer/chat-composer.class.d.ts +10 -0
- package/dist/components/conversation/code-block/code-block-base.class.d.ts +31 -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 +48 -3
- 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/code-block/code-grammar-registry.d.ts +35 -0
- package/dist/components/conversation/code-block/code-grammar-registry.js +1 -0
- 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 +12 -5
- package/dist/components/conversation/selection-toolbar/selection-toolbar.class.d.ts +1 -1
- 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/usage-badge/usage-badge.class.d.ts +1 -1
- package/dist/components/conversation/voice-picker/voice-picker.class.d.ts +12 -5
- 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 +64 -5
- package/dist/components/data/table/table-support.js +1 -1
- package/dist/components/data/table/table.class.d.ts +78 -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 +54 -8
- 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/catalog-picker-base.d.ts +14 -1
- package/dist/components/forms/checkbox/checkbox.class.js +1 -1
- package/dist/components/forms/checkbox-group/checkbox-group.class.d.ts +28 -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 +18 -3
- package/dist/components/forms/code-editor/code-editor.styles.js +1 -1
- package/dist/components/forms/color-picker/color-picker.class.d.ts +25 -5
- 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-option-html.js +1 -0
- package/dist/components/forms/combobox/combobox.class.d.ts +140 -12
- package/dist/components/forms/combobox/combobox.class.js +113 -22
- package/dist/components/forms/combobox/combobox.styles.js +1 -1
- package/dist/components/forms/country-picker/country-picker.class.d.ts +4 -3
- package/dist/components/forms/currency-picker/currency-picker.class.d.ts +4 -3
- package/dist/components/forms/date-picker/date-input.class.d.ts +53 -3
- 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 +14 -0
- package/dist/components/forms/emoji-picker/emoji-picker.class.js +1 -1
- package/dist/components/forms/icon-button/icon-button.class.d.ts +2 -1
- package/dist/components/forms/icon-button/icon-button.styles.js +1 -1
- package/dist/components/forms/input/input-shared.d.ts +24 -3
- package/dist/components/forms/input/input.styles.js +1 -1
- package/dist/components/forms/input/time-input.class.d.ts +19 -4
- package/dist/components/forms/input/time-input.styles.js +1 -1
- package/dist/components/forms/locale-picker/locale-picker.class.d.ts +17 -5
- package/dist/components/forms/locale-picker/locale-picker.styles.js +1 -1
- package/dist/components/forms/otp-input/otp-input.class.d.ts +8 -3
- package/dist/components/forms/otp-input/otp-input.styles.js +1 -1
- package/dist/components/forms/phone-input/phone-input.class.d.ts +18 -3
- package/dist/components/forms/phone-input/phone-input.styles.js +1 -1
- package/dist/components/forms/radio/radio-group.class.d.ts +23 -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/radio/radio.class.js +2 -2
- package/dist/components/forms/rubric-form/rubric-form.class.d.ts +4 -0
- package/dist/components/forms/select/select.class.d.ts +16 -4
- 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 +8 -3
- package/dist/components/forms/signature-pad/signature-pad.styles.js +1 -1
- package/dist/components/forms/slider/slider.class.d.ts +29 -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 +20 -3
- package/dist/components/forms/textarea/textarea.styles.js +1 -1
- package/dist/components/forms/time-zone-picker/time-zone-picker.class.d.ts +4 -3
- package/dist/components/forms/token-input/token-input.class.d.ts +99 -21
- 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 +4 -3
- 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/command-palette/command-palette.class.d.ts +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 +4 -1
- package/dist/components/layout/menu/menu.styles.js +1 -1
- package/dist/components/layout/navigation-menu-item/navigation-menu-item.class.d.ts +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 +102 -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 +8 -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 +67 -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-source.js +1 -1
- package/dist/components/media/lightbox/lightbox-types.d.ts +4 -1
- package/dist/components/media/lightbox/lightbox.class.d.ts +123 -30
- package/dist/components/media/lightbox/lightbox.class.js +18 -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 +6 -1
- package/dist/components/overlays/context-menu/context-menu.class.js +1 -1
- package/dist/components/overlays/dialog/dialog.class.d.ts +54 -6
- 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 +22 -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 +5 -1
- 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 +30 -4
- package/dist/components/overlays/overlay/popover.class.js +2 -2
- package/dist/components/overlays/overlay/tooltip.class.d.ts +7 -0
- package/dist/components/overlays/overlay/tooltip.class.js +4 -4
- package/dist/components/overlays/toast/toast-item.class.d.ts +3 -2
- 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/retrieval/citation-badge/citation-badge.class.d.ts +1 -1
- package/dist/components/retrieval/entity-chip/entity-chip.class.d.ts +1 -1
- package/dist/components/utility/copy-button/copy-button.class.d.ts +4 -1
- 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 +6 -1
- package/dist/components/utility/export-button/export-button.styles.js +1 -1
- package/dist/components/utility/icon/icon-library-bootstrap.d.ts +50 -0
- package/dist/components/utility/icon/icon-library-bootstrap.js +1 -0
- package/dist/components/utility/icon/icon-library-font-awesome.d.ts +68 -0
- package/dist/components/utility/icon/icon-library-font-awesome.js +1 -0
- 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 +14 -0
- package/dist/components/utility/mention-popover/mention-popover.class.d.ts +1 -1
- package/dist/components/utility/number-ticker/number-ticker.class.d.ts +66 -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/utility/tour/tour.class.d.ts +1 -1
- 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/accessibility-visibility.js +1 -1
- package/dist/internal/all-defined-arguments.d.ts +19 -0
- package/dist/internal/all-defined-arguments.js +1 -0
- package/dist/internal/autoloader-manifest.js +1 -1
- 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/declarative-overlay-action.js +1 -0
- 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-token-css.generated.js +10 -0
- package/dist/internal/document-tokens.generated.js +2 -11
- package/dist/internal/document-tokens.js +2 -2
- package/dist/internal/dom-guards.js +1 -1
- package/dist/internal/external-label-association.js +1 -0
- package/dist/internal/focus-navigation.js +1 -1
- package/dist/internal/form-control/chrome.styles.js +1 -1
- package/dist/internal/form-control-labels.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.d.ts +11 -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/internal/theme-observation.js +1 -1
- 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-citation-badge.md +1 -1
- package/llms/components/lr-code-block-core.md +39 -9
- package/llms/components/lr-code-block.md +59 -6
- package/llms/components/lr-code-editor.md +11 -1
- package/llms/components/lr-color-picker.md +19 -6
- package/llms/components/lr-combobox.md +81 -9
- package/llms/components/lr-context-menu.md +6 -4
- package/llms/components/lr-copy-button.md +6 -4
- package/llms/components/lr-counter.md +60 -0
- package/llms/components/lr-country-picker.md +4 -0
- package/llms/components/lr-currency-picker.md +4 -0
- 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 +101 -9
- package/llms/components/lr-divider.md +14 -5
- package/llms/components/lr-doughnut-chart.md +1 -1
- package/llms/components/lr-drawer.md +32 -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-entity-chip.md +1 -1
- package/llms/components/lr-export-button.md +6 -3
- 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 +104 -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 +119 -14
- 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-mention-popover.md +1 -1
- package/llms/components/lr-menu-item.md +1 -1
- package/llms/components/lr-menu-label.md +5 -2
- package/llms/components/lr-menu.md +22 -7
- package/llms/components/lr-model-select.md +13 -3
- 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 +60 -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 +26 -6
- 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 +11 -3
- package/llms/components/lr-selection-toolbar.md +1 -1
- 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 +67 -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 +9 -2
- package/llms/components/lr-time-zone-picker.md +4 -0
- package/llms/components/lr-timeline-item.md +1 -1
- package/llms/components/lr-timeline.md +47 -3
- package/llms/components/lr-toast-item.md +1 -1
- package/llms/components/lr-toast.md +8 -3
- package/llms/components/lr-token-input.md +68 -11
- package/llms/components/lr-tool-call-chip.md +1 -1
- package/llms/components/lr-tooltip.md +8 -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 +4 -0
- package/llms/components/lr-usage-badge.md +1 -1
- package/llms/components/lr-video.md +5 -4
- package/llms/components/lr-voice-picker.md +10 -2
- package/llms/components/lr-widget.md +2 -2
- package/llms/components/lr-zoomable-frame.md +8 -0
- package/llms/index.md +205 -201
- package/llms/migration.md +103 -16
- package/llms/peers.md +3 -3
- package/llms/shared/events-and-types.md +36 -0
- package/llms/shared/forms-and-accessibility.md +4 -1
- package/llms/shared/frameworks-and-ssr.md +10 -1
- package/llms/shared/imports-and-registration.md +68 -2
- package/llms/shared/localization-and-rtl.md +5 -0
- package/llms/shared/native-styles-and-utilities.md +142 -7
- package/llms/shared/styles-and-tokens.md +60 -6
- package/llms/shared/testing-and-utilities.md +30 -0
- package/llms/shared.md +354 -17
- package/llms/tokens.md +6 -1
- package/llms.txt +3 -3
- package/locales.json +1 -1
- package/package.json +48 -10
- package/registrations.json +1 -1
- package/skills/compose-lyra-interfaces/SKILL.md +1 -1
- package/skills/lyra-ui/SKILL.md +1 -1
- package/skills/lyra-ui/commands/migrate.md +1 -1
|
@@ -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.
|
|
@@ -125,7 +130,7 @@ follow `size`, from a compact `2xs` up to a roomier `xl` — and `--lr-toast-acc
|
|
|
125
130
|
fill). Inherited or direct public values remain authoritative across every size and variant.
|
|
126
131
|
|
|
127
132
|
`--lr-toast-item-gap` (default `var(--lr-space-s)`) controls the gap between the item's icon,
|
|
128
|
-
message, and close action; `--lr-toast-item-radius` (default `var(--lr-radius)`) controls the item
|
|
133
|
+
message, and close action; `--lr-toast-item-radius` (default `var(--lr-radius-container)`) controls the item
|
|
129
134
|
surface and accent-bar start corners, ahead of the shared `--lr-overlay-radius`. They are
|
|
130
135
|
deliberately separate from `--lr-toast-gap`, which continues to control only the region's stack
|
|
131
136
|
spacing. The item joins the shared overlay-surface family for its fill and edge
|
|
@@ -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, 40 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.
|
|
@@ -168,15 +186,44 @@ remove button from the tab order, never blocks `focus()`, and never excludes the
|
|
|
168
186
|
`FormData` on submit — only `disabled` does that. Turning it on while a draft is half-typed or an
|
|
169
187
|
inline editor is open discards that uncommitted state without moving focus.
|
|
170
188
|
|
|
171
|
-
**`delimiter` is
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
189
|
+
**`delimiter` is a set of single characters, and it is nullable.** Each character of the string is
|
|
190
|
+
a delimiter on its own: `delimiter=";,"` splits at every semicolon and at every comma, and typing
|
|
191
|
+
either one commits the draft. It does two jobs: it splits
|
|
192
|
+
a committed draft (and a string assigned to `value`) into several tokens, and it supplies the
|
|
193
|
+
keystrokes that commit the draft. Characters are code points, so an emoji delimiter stays whole.
|
|
194
|
+
Pasting never commits by itself; the pasted text joins the draft.
|
|
175
195
|
Setting it to `null` disables both, so a token may contain the delimiter verbatim. **`delimiter="null"`
|
|
176
|
-
does not work** — that
|
|
196
|
+
does not work** — that makes `n`, `u` and `l` delimiters. Use `delimiter="none"`, `delimiter=""`
|
|
177
197
|
(both of which the attribute converter maps to `null`), or a property binding
|
|
178
198
|
(`.delimiter=${null}`). Removing the attribute restores the `,` default.
|
|
179
199
|
|
|
200
|
+
**`max-tags` / `min-tags`** (`maxTags`/`minTags`, both `null` by default, so unset changes nothing).
|
|
201
|
+
At the maximum, typed or pasted text cannot commit and stays in the field (a split draft commits what fits
|
|
202
|
+
and leaves the rest); removal, inline editing and clearing keep working. A programmatic `value` longer than
|
|
203
|
+
`max-tags` reports `rangeOverflow`; a list shorter than `min-tags` reports `rangeUnderflow`, enforced only
|
|
204
|
+
once at least one token exists (use `required` for the empty case). Messages are localized
|
|
205
|
+
(`tokenInputTooFew`, `tokenInputTooMany`); disabled or readonly controls report neither.
|
|
206
|
+
|
|
207
|
+
**`with-clear` / `clearable`** show a `clear-button` (icon via the `clear-icon` slot) while there are tokens
|
|
208
|
+
and the control is neither disabled nor readonly. It proposes each removal through the cancelable
|
|
209
|
+
`lr-token-remove-request` (a vetoed token stays), then emits `input`/`change`/`lr-input`/`lr-change` and
|
|
210
|
+
`lr-clear`, and returns focus to the draft input.
|
|
211
|
+
|
|
212
|
+
**`value` and `inputValue`.** The array stays canonical, but assigning a string to `value` (or
|
|
213
|
+
`defaultValue`) splits it at each character of `delimiter` (comma when none) into trimmed, non-empty tokens;
|
|
214
|
+
the reflected `value` attribute remains a JSON array. `inputValue` reads and writes the uncommitted draft
|
|
215
|
+
without committing it.
|
|
216
|
+
|
|
217
|
+
**`lr-create`** is a cancelable per-token proposal (`detail: { inputValue }`) emitted for every typed or pasted
|
|
218
|
+
candidate before the batch-level `lr-token-add-request`; `preventDefault()` drops that one token, and the
|
|
219
|
+
draft stays when every candidate is rejected.
|
|
220
|
+
|
|
221
|
+
**Part aliases and states.** `tag-input` (= `input-wrapper`), `tags` (display-contents wrapper around the
|
|
222
|
+
tokens), `tag` (= `token`), `tag__content` (the token text), `tag__remove-button` and
|
|
223
|
+
`tag__remove-button__button` (= `remove`) sit beside the existing parts. Because a part can now carry
|
|
224
|
+
several names, match parts with `[part~="token"]` rather than `[part="token"]`. `:state(blank)` matches
|
|
225
|
+
while there are no tokens and `:state(readonly)` while `readonly` is set.
|
|
226
|
+
|
|
180
227
|
**The required marker.** `required` with a non-empty `label` paints the library's shared marker on
|
|
181
228
|
`[part="form-control-label"]` — the one `::after` rule described under "The required-field marker"
|
|
182
229
|
above, not a copy of it, so `--lr-form-control-required-content`,
|
|
@@ -200,6 +247,9 @@ inline to `--lr-size-8rem`), `--lr-token-input-min-input-inline-size` (default `
|
|
|
200
247
|
floor that input keeps once tokens have consumed the row), and `--lr-token-input-editor-inline-size`
|
|
201
248
|
(default `--lr-size-6rem`, the inline size of the inline token editor opened by `editable`).
|
|
202
249
|
|
|
250
|
+
More themeable custom properties: `--lr-form-control-label-line-height` (default `inherit`): Line
|
|
251
|
+
height of the field label.
|
|
252
|
+
|
|
203
253
|
**Additional API surface:**
|
|
204
254
|
|
|
205
255
|
- `--lr-token-input-token-padding` — Per-token chip padding, scaled by `size`.
|
|
@@ -228,3 +278,10 @@ floor that input keeps once tokens have consumed the row), and `--lr-token-input
|
|
|
228
278
|
- `--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
279
|
|
|
230
280
|
The start-placed label aligns to the first line of the field, measured with `--lr-form-control-height`.
|
|
281
|
+
|
|
282
|
+
Further custom properties:
|
|
283
|
+
|
|
284
|
+
- `--lr-form-control-label-gap` also spaces a label above the field.
|
|
285
|
+
- `--lr-form-control-label-line-height` (default `inherit`): Line height of the field label.
|
|
286
|
+
- `--lr-form-control-label-text-align` (default `inherit`): Text alignment of the field label.
|
|
287
|
+
- `--lr-form-control-label-text-transform` (default `inherit`): Text transform of the field label.
|
|
@@ -97,7 +97,7 @@ The anchored detail tooltip is a floating surface and paints from the **shared o
|
|
|
97
97
|
`--lr-overlay-surface` (default `var(--lr-color-surface-overlay)`), `--lr-overlay-border` (default
|
|
98
98
|
`var(--lr-color-border-subtle)`) and `--lr-overlay-shadow-anchored` (default `var(--lr-shadow-m)`). None is
|
|
99
99
|
declared on `:host`, so one declaration on `:root` — or on any ancestor, to scope it — retints this
|
|
100
|
-
surface together with every other floating surface in the library. `--lr-overlay-radius` (default `var(--lr-radius)`) is the matching corner radius.
|
|
100
|
+
surface together with every other floating surface in the library. `--lr-overlay-radius` (default `var(--lr-radius-container)`) is the matching corner radius.
|
|
101
101
|
|
|
102
102
|
`--lr-positioning-strategy` (16.0.0) — the detail tooltip reads this same cascading
|
|
103
103
|
`absolute`/`fixed` override documented on `<lr-popover>` when it is (re)positioned, falling back to
|
|
@@ -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
|
---
|
|
@@ -86,6 +86,11 @@ later text renders normally.
|
|
|
86
86
|
`arrowPlacement: 'anchor'|'start'|'end'|'center' = 'anchor'` (attribute `arrow-placement`) and
|
|
87
87
|
`arrowPadding: number = 0` (attribute `arrow-padding`) — the same arrow trio `<lr-popover>`
|
|
88
88
|
documents (`llms/components/lr-popover.md`).
|
|
89
|
+
- `fullWidthTrigger: boolean = false` (attribute `full-width-trigger`, reflected) — lays the
|
|
90
|
+
trigger out at full width, as on `<lr-popover>`: the host becomes a block box and the `trigger`
|
|
91
|
+
part and the slotted trigger stretch to the host's inline size, so a block trigger such as an
|
|
92
|
+
actionable card in a grid cell fills its column (and a truncated title inside it can ellipsize).
|
|
93
|
+
Off by default, which keeps the `inline-block` trigger. Positioning is unaffected.
|
|
89
94
|
- `content: string = ''` — plain-text tooltip content, used when nothing is slotted. Whitespace-only
|
|
90
95
|
text in the content slot (template indentation around a `slot="trigger"` element) counts as
|
|
91
96
|
nothing, so `content` still supplies the tooltip text.
|
|
@@ -138,8 +143,8 @@ attribute documented above. Shoelace uses the default slot for the trigger and `
|
|
|
138
143
|
without one, an explicit content source (`slot="content"` or the `content` property) makes the
|
|
139
144
|
default slot unambiguously the trigger, matching Shoelace.
|
|
140
145
|
|
|
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 —
|
|
146
|
+
**CSS parts:** `popup base tooltip base__popup tooltip__popup` are aliases on the same wrapper; `trigger`; `body`;
|
|
147
|
+
and `arrow base__arrow tooltip__arrow` (rendered unless suppressed). The arrow also carries the resolved side —
|
|
143
148
|
`arrow-top`, `arrow-bottom`, `arrow-left`, or `arrow-right`.
|
|
144
149
|
|
|
145
150
|
**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
|
|
@@ -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-gap` also spaces a label above the field.
|
|
@@ -58,7 +58,7 @@ family** (16.0.0): `--lr-overlay-surface` (default `var(--lr-color-surface-overl
|
|
|
58
58
|
`--lr-overlay-border` (default `var(--lr-color-border-subtle)`) and `--lr-overlay-shadow-anchored` (default
|
|
59
59
|
`var(--lr-shadow-m)`). None is declared on `:host`, so one declaration on `:root` — or on any
|
|
60
60
|
ancestor, to scope it — retints this surface together with every other floating surface in the
|
|
61
|
-
library. `--lr-overlay-radius` (default `var(--lr-radius)`) is the matching corner radius.
|
|
61
|
+
library. `--lr-overlay-radius` (default `var(--lr-radius-container)`) is the matching corner radius.
|
|
62
62
|
|
|
63
63
|
`--lr-positioning-strategy` (16.0.0) — the breakdown tooltip reads this same cascading
|
|
64
64
|
`absolute`/`fixed` override documented on `<lr-popover>` when it is (re)positioned, falling back to
|
|
@@ -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, 52 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
|
|
|
@@ -237,7 +237,8 @@ trigger), `expand-icon`, `empty`, `hint`, `error`.
|
|
|
237
237
|
`var(--lr-color-border)` — the control tier, not the decorative `var(--lr-color-border-subtle)`
|
|
238
238
|
floating panels default to, because the listbox belongs to the form control it opens from.
|
|
239
239
|
- `--lr-overlay-radius` — Shared floating-surface corner radius, reached only as the middle arm of
|
|
240
|
-
`--lr-voice-picker-radius`, which still wins when set
|
|
240
|
+
`--lr-voice-picker-radius`, which still wins when set; left unset, the listbox keeps the
|
|
241
|
+
component's own radius default.
|
|
241
242
|
- `--lr-overlay-shadow-anchored` — Elevation of the anchored listbox. Default: `var(--lr-shadow-m)`.
|
|
242
243
|
None of the four is declared on `:host`, so one declaration on `:root` — or on any ancestor, to
|
|
243
244
|
scope it — retints this listbox together with every other floating surface in the library.
|
|
@@ -272,3 +273,10 @@ trigger), `expand-icon`, `empty`, `hint`, `error`.
|
|
|
272
273
|
- 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
274
|
- `--lr-voice-picker-preview-hover-bg` — Preview hover fill. Default: `var(--lr-color-brand-quiet)`.
|
|
274
275
|
- `--lr-voice-picker-preview-hover-color` — Preview hover icon. Default: `var(--lr-color-brand)`.
|
|
276
|
+
|
|
277
|
+
Further custom properties:
|
|
278
|
+
|
|
279
|
+
- `--lr-form-control-label-gap` also spaces a label above the field.
|
|
280
|
+
- `--lr-form-control-label-line-height` (default `inherit`): Line height of the field label.
|
|
281
|
+
- `--lr-form-control-label-text-align` (default `inherit`): Text alignment of the field label.
|
|
282
|
+
- `--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
|