@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
|
@@ -38,6 +38,20 @@ export interface ComboboxSourceResult{readonly rows:readonly ComboboxSourceRow[]
|
|
|
38
38
|
* cancellation signal. A one-parameter `(query) => …` function remains assignable under
|
|
39
39
|
* TypeScript's ordinary function-parameter compatibility rules. */
|
|
40
40
|
export type ComboboxSource=(query:string,options:{signal:AbortSignal;limit:number;})=>Promise<readonly ComboboxSourceRow[]|ComboboxSourceResult>;export type LyraComboboxSelectionDirection=LyraSelectionDirection;
|
|
41
|
+
/** The single argument a {@link LyraCombobox.dataSource} provider receives: the query text and an
|
|
42
|
+
* `AbortSignal` that aborts when a newer request supersedes this one. */
|
|
43
|
+
export interface ComboboxRequest{readonly query:string;readonly signal:AbortSignal;}
|
|
44
|
+
/** One option object a `dataSource` provider may return. Every other `ComboboxSourceRow` field
|
|
45
|
+
* is accepted too. */
|
|
46
|
+
export interface ComboboxOption{readonly value:string;readonly label:string;readonly disabled?:boolean;}
|
|
47
|
+
/** What a `dataSource` provider may return: option objects, option elements, a `{ rows, total }`
|
|
48
|
+
* envelope, or a string of option markup. Elements and markup are read for their `value`, label
|
|
49
|
+
* text and `disabled` state only -- markup is parsed into an inert document and never inserted, so
|
|
50
|
+
* nothing in it runs. */
|
|
51
|
+
export type ComboboxOptions=readonly(ComboboxOption|ComboboxSourceRow|Element)[]|ComboboxSourceResult|string;
|
|
52
|
+
/** An upstream-shaped async option provider: one `{ query, signal }` argument, options or a
|
|
53
|
+
* promise of them back. */
|
|
54
|
+
export type ComboboxDataSource=(request:ComboboxRequest)=>Promise<ComboboxOptions> |ComboboxOptions;
|
|
41
55
|
/** Detail of `lr-filter`: the in-progress filter text, never the committed selection.*/
|
|
42
56
|
export interface ComboboxFilterDetail{value:string;}export type{LyraPickerDetailValue,LyraPickerValue};export interface LyraComboboxEventMap<Multiple extends boolean=boolean>{'lr-invalid':CustomEvent<null>;'lr-show':CustomEvent<null>;'lr-after-show':CustomEvent<null>;'lr-hide':CustomEvent<null>;'lr-after-hide':CustomEvent<null>;'lr-clear':CustomEvent<null>;'lr-create':CustomEvent<{inputValue:string;}>;'lr-filter':CustomEvent<ComboboxFilterDetail>;
|
|
43
57
|
/** `detail.data` is index-aligned with `detail.value`: `data[i]` is the opaque `data` payload
|
|
@@ -45,7 +59,11 @@ export interface ComboboxFilterDetail{value:string;}export type{LyraPickerDetail
|
|
|
45
59
|
* reference and never deep-cloned, or `undefined` for a value resolving to no live row/option. */
|
|
46
60
|
'lr-input':CustomEvent<LyraEventDetailSnapshot<{readonly value:LyraPickerDetailValue<Multiple>;readonly previousValue:LyraPickerDetailValue<Multiple>;readonly data:readonly unknown[];}>>;
|
|
47
61
|
/** Same detail as `lr-input`.*/
|
|
48
|
-
'lr-change':CustomEvent<LyraEventDetailSnapshot<{readonly value:LyraPickerDetailValue<Multiple>;readonly previousValue:LyraPickerDetailValue<Multiple>;readonly data:readonly unknown[];}>>;'lr-change-request':LyraComboboxEventMap<Multiple>['lr-change'];'lr-activate':CustomEvent<{value:string;}>;'lr-source-error':CustomEvent<{error:unknown;query:string;}>;
|
|
62
|
+
'lr-change':CustomEvent<LyraEventDetailSnapshot<{readonly value:LyraPickerDetailValue<Multiple>;readonly previousValue:LyraPickerDetailValue<Multiple>;readonly data:readonly unknown[];}>>;'lr-change-request':LyraComboboxEventMap<Multiple>['lr-change'];'lr-activate':CustomEvent<{value:string;}>;'lr-source-error':CustomEvent<{error:unknown;query:string;}>;
|
|
63
|
+
/** A `source` call is about to be made; `signal` aborts when the request is superseded.*/
|
|
64
|
+
'lr-options-request':CustomEvent<{query:string;signal:AbortSignal;}>;
|
|
65
|
+
/** A `source` call rejected; same moment as `lr-source-error`, in the upstream detail shape.*/
|
|
66
|
+
'lr-options-error':CustomEvent<{error:unknown;request:{query:string;};}>;'lr-retry-request':CustomEvent<null>;input:Event;change:Event;blur:FocusEvent;focus:FocusEvent;}
|
|
49
67
|
/**
|
|
50
68
|
* Stable per-event aliases, so a host can name one event's type without restating the detail
|
|
51
69
|
* schema (or re-deriving it from `LyraComboboxEventMap`). Each narrows with the same `Multiple`
|
|
@@ -121,6 +139,12 @@ export type LyraComboboxChangeEvent<Multiple extends boolean=boolean> =LyraCombo
|
|
|
121
139
|
* expand icon — so consumer content never sits outboard of the dropdown chevron.
|
|
122
140
|
* @slot clear-icon - Replaces the clear button's built-in icon.
|
|
123
141
|
* @slot expand-icon - Replaces the dropdown indicator's built-in icon.
|
|
142
|
+
* @slot empty - Replaces the status row shown while no option is available and nothing has been
|
|
143
|
+
* typed. Falls back to `empty-text`, else the localized `noMatches` copy.
|
|
144
|
+
* @slot no-results - Replaces the status row shown while the typed query matches nothing. Falls
|
|
145
|
+
* back to `empty-text`, else the localized `noMatches` copy.
|
|
146
|
+
* @slot loading - Replaces the status row shown while options are loading. Falls back to
|
|
147
|
+
* `loading-text`, else the localized `loading` copy.
|
|
124
148
|
* @event {Event} input - Bubbling, composed, non-cancelable native input notification for filter
|
|
125
149
|
* edits or selection changes.
|
|
126
150
|
* @event {Event} change - Bubbling, composed, non-cancelable native notification that the user
|
|
@@ -148,10 +172,19 @@ export type LyraComboboxChangeEvent<Multiple extends boolean=boolean> =LyraCombo
|
|
|
148
172
|
* query, not necessarily `this.query`/`inputValue`, which may have moved on (or been cleared by
|
|
149
173
|
* closing the listbox) by the time the rejection settles. Not cancelable — the failure has
|
|
150
174
|
* already happened and the error row is already what rendered, so there is nothing to veto.
|
|
175
|
+
* @event lr-options-request - A `source`/`dataSource` call is about to be made, or a `server`-mode
|
|
176
|
+
* request starts, once per call and after the
|
|
177
|
+
* debounce. `detail: { query, signal }`; `signal` is the same `AbortSignal` the source receives and
|
|
178
|
+
* aborts when a newer request supersedes this one, when `source` is reassigned, or when the control
|
|
179
|
+
* is disconnected or adopted. Not cancelable. Emitted only while the call is still current.
|
|
180
|
+
* @event lr-options-error - An async `source` call rejected; fires with `lr-source-error`.
|
|
181
|
+
* `detail: { error, request: { query } }`. Not cancelable.
|
|
151
182
|
* @event lr-retry-request - Cancelable retry proposal before the default retry action. `detail: null`.
|
|
152
183
|
* The failed-load state's `[part='retry-button']` was activated. Cancelable —
|
|
153
184
|
* the built-in action calls `refresh()`, and `preventDefault()` leaves the failure on screen for
|
|
154
185
|
* a host that owns its own retry timing.
|
|
186
|
+
* @method reload - `reload(): void` -- alias of `refresh()`, which in `server` mode also
|
|
187
|
+
* announces a fresh `lr-options-request`.
|
|
155
188
|
* @method refresh - `refresh(): void` — re-runs the current `source` query without changing the
|
|
156
189
|
* source's identity, its debounce controller, or its delay. Queues for the next open when the
|
|
157
190
|
* listbox is closed; does not call a source while the query is below `minQueryLength`, and
|
|
@@ -194,6 +227,8 @@ export type LyraComboboxChangeEvent<Multiple extends boolean=boolean> =LyraCombo
|
|
|
194
227
|
* `label-placement="start"`.
|
|
195
228
|
* @cssprop [--lr-form-control-label-gap=var(--lr-space-m)] - Space between the label column and
|
|
196
229
|
* the field while `label-placement="start"`.
|
|
230
|
+
* @cssprop [--lr-form-control-label-block-gap=var(--lr-space-xs)] - Space between a label above
|
|
231
|
+
* the field and the field, in top placement and once a `label-placement="start"` row collapses.
|
|
197
232
|
* @cssprop [--lr-form-control-label-collapse-inline-size=var(--lr-size-20rem)] - Control width
|
|
198
233
|
* below which `label-placement="start"` returns the label above the field.
|
|
199
234
|
* @cssprop [--lr-form-control-invalid-border-color=var(--lr-color-danger)] - Resting border while the
|
|
@@ -203,6 +238,9 @@ export type LyraComboboxChangeEvent<Multiple extends boolean=boolean> =LyraCombo
|
|
|
203
238
|
* @cssprop [--lr-form-control-label-font-size=var(--lr-font-size-md-sm)] - Font size of the field label.
|
|
204
239
|
* @cssprop [--lr-form-control-label-font-weight=var(--lr-font-weight-semibold)] - Font weight of the field label.
|
|
205
240
|
* @cssprop [--lr-form-control-label-color=inherit] - Text color of the field label.
|
|
241
|
+
* @cssprop [--lr-form-control-label-line-height=inherit] - Line height of the field label.
|
|
242
|
+
* @cssprop [--lr-form-control-label-text-align=inherit] - Text alignment of the field label.
|
|
243
|
+
* @cssprop [--lr-form-control-label-text-transform=inherit] - Text transform of the field label.
|
|
206
244
|
* @csspart form-control-label - The `<label>` element.
|
|
207
245
|
* @csspart label - Compatibility wrapper around the visible label content.
|
|
208
246
|
* @csspart form-control-input - Compatibility wrapper around the editable control.
|
|
@@ -237,12 +275,20 @@ export type LyraComboboxChangeEvent<Multiple extends boolean=boolean> =LyraCombo
|
|
|
237
275
|
* @csspart tag__content - Compatibility wrapper around a selected tag's visible content.
|
|
238
276
|
* @csspart tag__remove-button - A tag's remove button.
|
|
239
277
|
* @csspart tag__remove-button__base - Compatibility name on a tag's remove button.
|
|
278
|
+
* @csspart tag__remove-button__button - Web Awesome-named alias on the same remove button.
|
|
240
279
|
* @csspart tag-overflow - The "+N" indicator standing in for the selections past
|
|
241
280
|
* `max-options-visible`.
|
|
242
281
|
* @csspart clear-button - The clear button.
|
|
243
282
|
* @csspart expand-icon - The dropdown indicator.
|
|
244
283
|
* @csspart error - Ordinary form-validation text referenced by the internal input; it is not a
|
|
245
284
|
* live region, avoiding a second announcement alongside native validation/focus feedback.
|
|
285
|
+
* @csspart status - The status row shown in place of options; it also carries `empty`,
|
|
286
|
+
* `no-results` or `loading` naming which state it reports.
|
|
287
|
+
* @csspart empty - The status row shown while no option is available and nothing is typed.
|
|
288
|
+
* @csspart no-results - The status row shown while the typed query matches nothing.
|
|
289
|
+
* @csspart loading - The status row shown while options are loading.
|
|
290
|
+
* @csspart spinner - The decorative in-field spinner shown while options load and the listbox is
|
|
291
|
+
* not showing its own loading row.
|
|
246
292
|
* @csspart source-error-row - The listbox row holding the failed-`source` state.
|
|
247
293
|
* @csspart source-error - The shared failed-load state itself, with `source-error-base`,
|
|
248
294
|
* `source-error-icon`, `source-error-heading`, `source-error-description` and
|
|
@@ -311,6 +357,8 @@ export type LyraComboboxChangeEvent<Multiple extends boolean=boolean> =LyraCombo
|
|
|
311
357
|
* `box-shadow` while this control is focused. One name for every field-shaped control in the
|
|
312
358
|
* library, so a halo is configured once rather than per component. Additive: the focus outline and
|
|
313
359
|
* border cue are the accessibility answer to focus and are never replaced by it.
|
|
360
|
+
* @cssprop [--lr-form-control-transition=none] - Opt-in `transition` for this field's border and halo (for
|
|
361
|
+
* example `border-color 150ms, box-shadow 150ms`). Unset, nothing animates; reduced motion always disables it.
|
|
314
362
|
* @cssprop [--lr-form-control-required-content=' *'] - The required marker appended to
|
|
315
363
|
* `form-control-label` while `required` is set. Set it to `''` to suppress the marker, or to any
|
|
316
364
|
* other quoted string (`' (required)'`, a localized word) to replace it.
|
|
@@ -330,6 +378,10 @@ export type LyraComboboxChangeEvent<Multiple extends boolean=boolean> =LyraCombo
|
|
|
330
378
|
* popup.
|
|
331
379
|
* @cssstate blank - Matches while no value is selected.
|
|
332
380
|
* @cssstate disabled - Matches while disabled directly or by an ancestor fieldset.
|
|
381
|
+
* @cssstate loading - Matches while options are loading: `loading` is set or a `source` or
|
|
382
|
+
* `dataSource` request is in flight.
|
|
383
|
+
* @cssstate showing-loading-row - Matches while the open listbox shows its loading row, which is
|
|
384
|
+
* when the in-field spinner is hidden.
|
|
333
385
|
* @cssstate required - Matches while `required` is set, so a consumer can mark the field without
|
|
334
386
|
* duplicating that flag in their own markup.
|
|
335
387
|
* @cssstate optional - Matches while `required` is not set (the complement of `required`).
|
|
@@ -352,6 +404,7 @@ export type LyraComboboxChangeEvent<Multiple extends boolean=boolean> =LyraCombo
|
|
|
352
404
|
* scrolling `listbox`; see `--lr-theme-scrollbar-width`.
|
|
353
405
|
* @cssprop [--lr-theme-scrollbar-color=auto] - Opt-in theme-level `scrollbar-color` (thumb then
|
|
354
406
|
* track) honored by the scrolling `listbox`; see `--lr-theme-scrollbar-width`.
|
|
407
|
+
* @cssprop [--lr-form-control-label-line-height=inherit] - Line height of the field label.
|
|
355
408
|
* @status stable
|
|
356
409
|
* @since 4.0.0
|
|
357
410
|
*/
|
|
@@ -359,7 +412,7 @@ export declare class LyraCombobox<Multiple extends boolean=boolean>extends LyraF
|
|
|
359
412
|
/** `data` carries opaque per-row caller payload -- preserve each item's identity through the
|
|
360
413
|
* frozen event envelope instead of recursively cloning unknown data, the same policy
|
|
361
414
|
* `<lr-prompt-queue>`'s `lr-queue-change` detail uses for its own `items`. */
|
|
362
|
-
protected static readonly identityEventDetailCollectionItems:Readonly<{'lr-input':readonly string[];'lr-change':readonly string[];'lr-change-request':readonly string[];}>;static formAssociated:boolean;static styles:import("lit").CSSResultGroup[];static properties:{customError:{attribute:string;reflect:boolean;noAccessor:boolean;};multiple:{type:BooleanConstructor;reflect:boolean;noAccessor:boolean;};disabled:{type:BooleanConstructor;reflect:boolean;noAccessor:boolean;};required:{type:BooleanConstructor;reflect:boolean;noAccessor:boolean;};readonly:{type:BooleanConstructor;reflect:boolean;noAccessor:boolean;};value:{noAccessor:boolean;};defaultValue:{attribute:string;noAccessor:boolean;};name:{reflect:boolean;noAccessor:boolean;converter:import("lit").ComplexAttributeConverter<string,unknown>;};maxOptionsVisible:{converter:import("lit").ComplexAttributeConverter<number,unknown>;attribute:string;noAccessor:boolean;};maxRender:{converter:import("lit").ComplexAttributeConverter<number,unknown>;attribute:string;noAccessor:boolean;};sourceDelay:{converter:import("lit").ComplexAttributeConverter<number,unknown>;attribute:string;noAccessor:boolean;};minQueryLength:{converter:import("lit").ComplexAttributeConverter<number,unknown>;attribute:string;noAccessor:boolean;};};
|
|
415
|
+
protected static readonly identityEventDetailCollectionItems:Readonly<{'lr-input':readonly string[];'lr-change':readonly string[];'lr-change-request':readonly string[];}>;static formAssociated:boolean;static styles:import("lit").CSSResultGroup[];static properties:{customError:{attribute:string;reflect:boolean;noAccessor:boolean;};multiple:{type:BooleanConstructor;reflect:boolean;noAccessor:boolean;};disabled:{type:BooleanConstructor;reflect:boolean;noAccessor:boolean;};required:{type:BooleanConstructor;reflect:boolean;noAccessor:boolean;};readonly:{type:BooleanConstructor;reflect:boolean;noAccessor:boolean;};value:{noAccessor:boolean;};defaultValue:{attribute:string;noAccessor:boolean;};name:{reflect:boolean;noAccessor:boolean;converter:import("lit").ComplexAttributeConverter<string,unknown>;};maxOptionsVisible:{converter:import("lit").ComplexAttributeConverter<number,unknown>;attribute:string;noAccessor:boolean;};maxRender:{converter:import("lit").ComplexAttributeConverter<number,unknown>;attribute:string;noAccessor:boolean;};sourceDelay:{converter:import("lit").ComplexAttributeConverter<number,unknown>;attribute:string;noAccessor:boolean;};filterDebounce:{converter:import("lit").ComplexAttributeConverter<number,unknown>;attribute:string;noAccessor:boolean;};minQueryLength:{converter:import("lit").ComplexAttributeConverter<number,unknown>;attribute:string;noAccessor:boolean;};};
|
|
363
416
|
/** Placeholder shown in the filter input while empty; hidden once a single-select value is chosen.*/
|
|
364
417
|
placeholder:string;label:string;
|
|
365
418
|
/**
|
|
@@ -393,8 +446,8 @@ allowCustomValue:boolean;
|
|
|
393
446
|
* option's label into `value` (so the form value is the text) and reports the option's `data` in
|
|
394
447
|
* the `lr-change` detail, typed text is committed on Enter or when focus leaves, and the text is
|
|
395
448
|
* kept after blur and is editable in place when the list reopens. `'text'` already accepts any
|
|
396
|
-
* text, so it needs no `allow-custom-value`.
|
|
397
|
-
* normalize to `'value'`.
|
|
449
|
+
* text, so it needs no `allow-custom-value`. An empty-string `value` is no value in this mode.
|
|
450
|
+
* Ignored while `multiple` is set. Unsupported values normalize to `'value'`.
|
|
398
451
|
* @default 'value'
|
|
399
452
|
*/
|
|
400
453
|
get commit():LyraComboboxCommit;set commit(next:LyraComboboxCommit);private _commit;
|
|
@@ -547,6 +600,48 @@ filter:OptionFilter|null;
|
|
|
547
600
|
/** Optional bounded async row source. Receives `{ signal, limit: 2000 }`; may return a legacy
|
|
548
601
|
* readonly row array or `{ rows, total? }`. Results are clone-normalized under row/text ceilings. */
|
|
549
602
|
source:ComboboxSource|null;
|
|
603
|
+
/**
|
|
604
|
+
* Async option provider in the single-argument call shape: it receives `{ query, signal }` and
|
|
605
|
+
* returns options, or a promise of them. Accepted results are option objects
|
|
606
|
+
* (`{ value, label, disabled? }`, plus any other `source` row field), option elements, a
|
|
607
|
+
* `{ rows, total }` envelope, or a string of option markup. Elements and markup contribute only
|
|
608
|
+
* their `value` attribute, label text and `disabled` state; markup is parsed into an inert
|
|
609
|
+
* document and is never inserted, so it cannot run script; only its top-level `<option>` or
|
|
610
|
+
* `*-option` elements become rows. Results then pass the same row and
|
|
611
|
+
* text ceilings as `source`.
|
|
612
|
+
*
|
|
613
|
+
* It drives the same async pipeline as {@link source} -- debounce, `lr-options-request`,
|
|
614
|
+
* cancellation, the loading and failed states -- and assigning either provider replaces the
|
|
615
|
+
* other: this property reads `null` once `source` is assigned. `source` keeps its own
|
|
616
|
+
* `(query, { signal, limit })` call shape.
|
|
617
|
+
* @default null
|
|
618
|
+
*/
|
|
619
|
+
get dataSource():((request:ComboboxRequest)=>Promise<ComboboxOptions> |ComboboxOptions)|null;set dataSource(next:((request:ComboboxRequest)=>Promise<ComboboxOptions> |ComboboxOptions)|null);private _dataSource;private dataSourceAdapter;
|
|
620
|
+
/**
|
|
621
|
+
* Server mode without a provider function: client-side filtering is switched off (`filter` is
|
|
622
|
+
* ignored and every `<lr-option>` child is shown), and each request is announced through
|
|
623
|
+
* `lr-options-request` instead. Typing requests after the `source-delay`/`filter-debounce`
|
|
624
|
+
* wait; opening the listbox and `reload()` request at once. Scheduling a request sets `loading`;
|
|
625
|
+
* the host replaces the `<lr-option>` children for `detail.query` and then sets `loading` back to
|
|
626
|
+
* `false`. A request whose `detail.signal` has aborted was superseded, so its answer should be
|
|
627
|
+
* dropped. While `loading` is set and options are already shown, they stay visible and the
|
|
628
|
+
* in-field `spinner` reports the request; the `loading` row appears only while no option is shown.
|
|
629
|
+
* A `source` or `dataSource` provider takes precedence over this flag.
|
|
630
|
+
* @default false
|
|
631
|
+
*/
|
|
632
|
+
server:boolean;
|
|
633
|
+
/**
|
|
634
|
+
* The option the keyboard is currently on (the `aria-activedescendant` row), or `undefined`
|
|
635
|
+
* while no row is active, the listbox is closed, or the active row has no `<lr-option>` behind
|
|
636
|
+
* it -- an async `source`/`dataSource` row or a synthetic create/unknown-value row. It becomes
|
|
637
|
+
* `undefined` as soon as that option stops being available, for example when a response removes
|
|
638
|
+
* it, and Enter then does nothing to it.
|
|
639
|
+
*
|
|
640
|
+
* Assigning an option moves the keyboard highlight to its row while the listbox is open and the
|
|
641
|
+
* option is shown and available; assigning anything else, including `undefined`, clears the
|
|
642
|
+
* highlight. The write selects nothing and emits no event.
|
|
643
|
+
*/
|
|
644
|
+
get currentOption():LyraOption|undefined;set currentOption(next:LyraOption|undefined);private get serverRequests();
|
|
550
645
|
/** Web Awesome's boolean `autocorrect` IDL; its HTML attribute uses `on`/`off`.*/
|
|
551
646
|
get autocorrect():boolean;set autocorrect(next:boolean);
|
|
552
647
|
/** Lowercase mapped IDL aliases for the remaining camel-case native spellings.*/
|
|
@@ -615,7 +710,9 @@ get readonly():boolean;set readonly(next:boolean);
|
|
|
615
710
|
* Every string, including `''`, is instead a candidate value: `<lr-option value="">` (or a
|
|
616
711
|
* matching async row) is a legitimate row, and assigning `''` selects it when present,
|
|
617
712
|
* mirroring what picking that row already did. A `''`/string assignment that matches nothing
|
|
618
|
-
* still commits, exactly like any other unmatched string -- see `isUnknownValue()`.
|
|
713
|
+
* still commits, exactly like any other unmatched string -- see `isUnknownValue()`. Under
|
|
714
|
+
* `commit="text"` (a free-text field) `''` means no value instead, as clearing the text does:
|
|
715
|
+
* the placeholder shows and `required` reports `valueMissing`.
|
|
619
716
|
*
|
|
620
717
|
* `LyraPickerValue<Multiple>` narrows to `string` on a `LyraCombobox<false>` and `string[]` on a
|
|
621
718
|
* `LyraCombobox<true>`; the unnarrowed default resolves to the published union below, which is
|
|
@@ -653,6 +750,14 @@ get maxRender():number;
|
|
|
653
750
|
* duration clamped to `[0, browser-timer-ceiling]`; `0` fires on every keystroke, a
|
|
654
751
|
* non-finite value falls back to the `200` default. */
|
|
655
752
|
get sourceDelay():number;set sourceDelay(next:number);
|
|
753
|
+
/**
|
|
754
|
+
* Alias of {@link sourceDelay} (attribute `filter-debounce`): the typing debounce before a
|
|
755
|
+
* `source`/`dataSource` call or a `server`-mode request. Its default stays `200`, this
|
|
756
|
+
* component's established typing debounce, where Web Awesome waits `250`; set
|
|
757
|
+
* `filter-debounce="250"` to match that timing exactly.
|
|
758
|
+
* @default 200
|
|
759
|
+
*/
|
|
760
|
+
get filterDebounce():number;set filterDebounce(next:number);
|
|
656
761
|
/** Minimum Unicode code points in the trimmed query before suggestions or source calls are
|
|
657
762
|
* allowed. Counting never changes the displayed or provider query. Zero preserves unrestricted
|
|
658
763
|
* opening and selected-value source warmup; positive values also gate that empty-query warmup.
|
|
@@ -668,7 +773,7 @@ get sourceTruncated():boolean;
|
|
|
668
773
|
* first row, and the write is silent like `value`. A property binding that arrives before local
|
|
669
774
|
* options or async rows is deferred until that source resolves. Read rows remain detached
|
|
670
775
|
* snapshots. */
|
|
671
|
-
get selectedRows():ComboboxSourceRow[];private resolveSelectedRowSlots;private get multipleOccurrences();private rowForOccurrence;private get committed();private rowsByValue;private localRowsByValue;set selectedRows(next:readonly ComboboxSourceRow[]);private get barredFromValidation();private syncValidatorAttributeObserver;private updateValidity;private syncCustomStates;private syncFormValue;
|
|
776
|
+
get selectedRows():ComboboxSourceRow[];private resolveSelectedRowSlots;private get multipleOccurrences();private rowForOccurrence;private get committed();private rowsByValue;private localRowsByValue;set selectedRows(next:readonly ComboboxSourceRow[]);private get barredFromValidation();private syncValidatorAttributeObserver;private updateValidity;private syncCustomStates;private loadingRowShown;private syncLoadingStates;private syncFormValue;
|
|
672
777
|
/** Effective disabled state: this element's own `disabled` OR an ancestor
|
|
673
778
|
* `<fieldset disabled>`'s inherited state -- mirrors native `<input>`, whose
|
|
674
779
|
* own `disabled` IDL property/attribute is never mutated by a fieldset. */
|
|
@@ -715,4 +820,6 @@ hide():Promise<void>;private finalizeCloseState;private activateListboxOverlay;p
|
|
|
715
820
|
* the component's existing "only queries while open" behaviour. Without a `source` it does
|
|
716
821
|
* nothing at all -- local `<lr-option>` children are already live DOM.
|
|
717
822
|
*/
|
|
718
|
-
refresh():void;
|
|
823
|
+
refresh():void;
|
|
824
|
+
/** Alias of {@link refresh}.*/
|
|
825
|
+
reload():void;private runSource;private runSourceRequest;private clearSourceTimer;private onInputBlur;private onComboFocusOut;private onInputFocus;private onKeyDown;private onComboMouseDown;private onListboxMouseDown;private onListboxClick;private renderRows;private renderTag;private statusText;render():TemplateResult;}declare global{interface HTMLElementTagNameMap{'lr-combobox':LyraCombobox;}}
|