@aceshooting/lyra-ui 3.4.0 → 3.6.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/README.md +110 -2
- package/custom-elements.json +50145 -41814
- package/dist/components/animated-image/animated-image.class.d.ts +131 -0
- package/dist/components/animated-image/animated-image.class.d.ts.map +1 -0
- package/dist/components/animated-image/animated-image.class.js +296 -0
- package/dist/components/animated-image/animated-image.class.js.map +1 -0
- package/dist/components/animated-image/animated-image.d.ts +2 -0
- package/dist/components/animated-image/animated-image.d.ts.map +1 -0
- package/dist/components/animated-image/animated-image.js +5 -0
- package/dist/components/animated-image/animated-image.js.map +1 -0
- package/dist/components/animated-image/animated-image.styles.d.ts +2 -0
- package/dist/components/animated-image/animated-image.styles.d.ts.map +1 -0
- package/dist/components/animated-image/animated-image.styles.js +117 -0
- package/dist/components/animated-image/animated-image.styles.js.map +1 -0
- package/dist/components/animation/animation.class.d.ts +119 -0
- package/dist/components/animation/animation.class.d.ts.map +1 -0
- package/dist/components/animation/animation.class.js +420 -0
- package/dist/components/animation/animation.class.js.map +1 -0
- package/dist/components/animation/animation.d.ts +2 -0
- package/dist/components/animation/animation.d.ts.map +1 -0
- package/dist/components/animation/animation.js +5 -0
- package/dist/components/animation/animation.js.map +1 -0
- package/dist/components/animation/animation.styles.d.ts +2 -0
- package/dist/components/animation/animation.styles.d.ts.map +1 -0
- package/dist/components/animation/animation.styles.js +18 -0
- package/dist/components/animation/animation.styles.js.map +1 -0
- package/dist/components/app-rail/app-rail-item.class.d.ts +1 -0
- package/dist/components/app-rail/app-rail-item.class.d.ts.map +1 -1
- package/dist/components/app-rail/app-rail-item.class.js +13 -2
- package/dist/components/app-rail/app-rail-item.class.js.map +1 -1
- package/dist/components/attachment-chip/attachment-chip.d.ts +0 -1
- package/dist/components/attachment-chip/attachment-chip.d.ts.map +1 -1
- package/dist/components/attachment-chip/attachment-chip.js +0 -1
- package/dist/components/attachment-chip/attachment-chip.js.map +1 -1
- package/dist/components/avatar-group/avatar-group.class.d.ts +110 -0
- package/dist/components/avatar-group/avatar-group.class.d.ts.map +1 -0
- package/dist/components/avatar-group/avatar-group.class.js +182 -0
- package/dist/components/avatar-group/avatar-group.class.js.map +1 -0
- package/dist/components/avatar-group/avatar-group.d.ts +2 -0
- package/dist/components/avatar-group/avatar-group.d.ts.map +1 -0
- package/dist/components/avatar-group/avatar-group.js +5 -0
- package/dist/components/avatar-group/avatar-group.js.map +1 -0
- package/dist/components/avatar-group/avatar-group.styles.d.ts +2 -0
- package/dist/components/avatar-group/avatar-group.styles.d.ts.map +1 -0
- package/dist/components/avatar-group/avatar-group.styles.js +112 -0
- package/dist/components/avatar-group/avatar-group.styles.js.map +1 -0
- package/dist/components/breadcrumb/breadcrumb-item.class.d.ts.map +1 -1
- package/dist/components/breadcrumb/breadcrumb-item.class.js +2 -1
- package/dist/components/breadcrumb/breadcrumb-item.class.js.map +1 -1
- package/dist/components/breadcrumb/breadcrumb-item.styles.d.ts +2 -0
- package/dist/components/breadcrumb/breadcrumb-item.styles.d.ts.map +1 -0
- package/dist/components/breadcrumb/breadcrumb-item.styles.js +20 -0
- package/dist/components/breadcrumb/breadcrumb-item.styles.js.map +1 -0
- package/dist/components/calendar/calendar.class.d.ts +17 -1
- package/dist/components/calendar/calendar.class.d.ts.map +1 -1
- package/dist/components/calendar/calendar.class.js +31 -13
- package/dist/components/calendar/calendar.class.js.map +1 -1
- package/dist/components/calendar/calendar.styles.d.ts.map +1 -1
- package/dist/components/calendar/calendar.styles.js +4 -1
- package/dist/components/calendar/calendar.styles.js.map +1 -1
- package/dist/components/calendar-viewer/calendar-viewer.class.d.ts +1 -1
- package/dist/components/calendar-viewer/calendar-viewer.class.d.ts.map +1 -1
- package/dist/components/calendar-viewer/calendar-viewer.class.js +2 -2
- package/dist/components/calendar-viewer/calendar-viewer.class.js.map +1 -1
- package/dist/components/callout/callout.class.js +1 -1
- package/dist/components/callout/callout.class.js.map +1 -1
- package/dist/components/chart/box-plot.class.d.ts.map +1 -1
- package/dist/components/chart/box-plot.class.js +1 -3
- package/dist/components/chart/box-plot.class.js.map +1 -1
- package/dist/components/chart/chart.class.d.ts.map +1 -1
- package/dist/components/chart/chart.class.js +10 -4
- package/dist/components/chart/chart.class.js.map +1 -1
- package/dist/components/chart/histogram.class.d.ts.map +1 -1
- package/dist/components/chart/histogram.class.js +6 -2
- package/dist/components/chart/histogram.class.js.map +1 -1
- package/dist/components/checkbox-group/checkbox-group.class.js +2 -2
- package/dist/components/checkbox-group/checkbox-group.class.js.map +1 -1
- package/dist/components/checkbox-group/checkbox-group.styles.js +1 -1
- package/dist/components/code-editor/code-editor.class.d.ts +9 -2
- package/dist/components/code-editor/code-editor.class.d.ts.map +1 -1
- package/dist/components/code-editor/code-editor.class.js +38 -6
- package/dist/components/code-editor/code-editor.class.js.map +1 -1
- package/dist/components/code-editor/code-editor.styles.d.ts.map +1 -1
- package/dist/components/code-editor/code-editor.styles.js +7 -4
- package/dist/components/code-editor/code-editor.styles.js.map +1 -1
- package/dist/components/command-palette/command-palette.class.d.ts +8 -2
- package/dist/components/command-palette/command-palette.class.d.ts.map +1 -1
- package/dist/components/command-palette/command-palette.class.js +77 -17
- package/dist/components/command-palette/command-palette.class.js.map +1 -1
- package/dist/components/command-palette/command-palette.styles.js +1 -1
- package/dist/components/contact-viewer/contact-viewer.class.d.ts +4 -1
- package/dist/components/contact-viewer/contact-viewer.class.d.ts.map +1 -1
- package/dist/components/contact-viewer/contact-viewer.class.js +5 -2
- package/dist/components/contact-viewer/contact-viewer.class.js.map +1 -1
- package/dist/components/data-grid/data-grid.class.d.ts.map +1 -1
- package/dist/components/data-grid/data-grid.class.js +4 -4
- package/dist/components/data-grid/data-grid.class.js.map +1 -1
- package/dist/components/data-grid/data-grid.styles.js +1 -1
- package/dist/components/document-preview/document-preview.class.d.ts +3 -6
- package/dist/components/document-preview/document-preview.class.d.ts.map +1 -1
- package/dist/components/document-preview/document-preview.class.js +19 -42
- package/dist/components/document-preview/document-preview.class.js.map +1 -1
- package/dist/components/email-viewer/email-viewer.class.d.ts +4 -1
- package/dist/components/email-viewer/email-viewer.class.d.ts.map +1 -1
- package/dist/components/email-viewer/email-viewer.class.js +5 -2
- package/dist/components/email-viewer/email-viewer.class.js.map +1 -1
- package/dist/components/empty/empty.class.d.ts.map +1 -1
- package/dist/components/empty/empty.class.js +8 -2
- package/dist/components/empty/empty.class.js.map +1 -1
- package/dist/components/format/format-bytes.class.d.ts +0 -1
- package/dist/components/format/format-bytes.class.d.ts.map +1 -1
- package/dist/components/format/format-bytes.class.js +0 -4
- package/dist/components/format/format-bytes.class.js.map +1 -1
- package/dist/components/format/format-date.class.d.ts +0 -1
- package/dist/components/format/format-date.class.d.ts.map +1 -1
- package/dist/components/format/format-date.class.js +0 -4
- package/dist/components/format/format-date.class.js.map +1 -1
- package/dist/components/format/format-number.class.d.ts +0 -1
- package/dist/components/format/format-number.class.d.ts.map +1 -1
- package/dist/components/format/format-number.class.js +0 -4
- package/dist/components/format/format-number.class.js.map +1 -1
- package/dist/components/format/relative-time.class.d.ts +0 -1
- package/dist/components/format/relative-time.class.d.ts.map +1 -1
- package/dist/components/format/relative-time.class.js +0 -4
- package/dist/components/format/relative-time.class.js.map +1 -1
- package/dist/components/graph/graph.class.d.ts.map +1 -1
- package/dist/components/graph/graph.class.js +1 -3
- package/dist/components/graph/graph.class.js.map +1 -1
- package/dist/components/heatmap/heatmap.class.d.ts.map +1 -1
- package/dist/components/heatmap/heatmap.class.js +3 -12
- package/dist/components/heatmap/heatmap.class.js.map +1 -1
- package/dist/components/heatmap/heatmap.styles.d.ts.map +1 -1
- package/dist/components/heatmap/heatmap.styles.js +0 -3
- package/dist/components/heatmap/heatmap.styles.js.map +1 -1
- package/dist/components/html-viewer/dompurify-loader.js +4 -0
- package/dist/components/html-viewer/dompurify-loader.js.map +1 -1
- package/dist/components/icon/icon.class.d.ts +11 -0
- package/dist/components/icon/icon.class.d.ts.map +1 -1
- package/dist/components/icon/icon.class.js +51 -2
- package/dist/components/icon/icon.class.js.map +1 -1
- package/dist/components/icon/icon.styles.d.ts.map +1 -1
- package/dist/components/icon/icon.styles.js +1 -1
- package/dist/components/icon/icon.styles.js.map +1 -1
- package/dist/components/image-comparer/image-comparer.styles.d.ts.map +1 -1
- package/dist/components/image-comparer/image-comparer.styles.js +12 -0
- package/dist/components/image-comparer/image-comparer.styles.js.map +1 -1
- package/dist/components/include/include.class.d.ts +104 -0
- package/dist/components/include/include.class.d.ts.map +1 -0
- package/dist/components/include/include.class.js +149 -0
- package/dist/components/include/include.class.js.map +1 -0
- package/dist/components/include/include.d.ts +2 -0
- package/dist/components/include/include.d.ts.map +1 -0
- package/dist/components/include/include.js +5 -0
- package/dist/components/include/include.js.map +1 -0
- package/dist/components/include/include.styles.d.ts +2 -0
- package/dist/components/include/include.styles.d.ts.map +1 -0
- package/dist/components/include/include.styles.js +14 -0
- package/dist/components/include/include.styles.js.map +1 -0
- package/dist/components/intersection-observer/intersection-observer.class.d.ts +0 -1
- package/dist/components/intersection-observer/intersection-observer.class.d.ts.map +1 -1
- package/dist/components/intersection-observer/intersection-observer.class.js +7 -6
- package/dist/components/intersection-observer/intersection-observer.class.js.map +1 -1
- package/dist/components/kbd/kbd.class.d.ts.map +1 -1
- package/dist/components/kbd/kbd.class.js +1 -11
- package/dist/components/kbd/kbd.class.js.map +1 -1
- package/dist/components/known-date/known-date.class.d.ts +208 -0
- package/dist/components/known-date/known-date.class.d.ts.map +1 -0
- package/dist/components/known-date/known-date.class.js +588 -0
- package/dist/components/known-date/known-date.class.js.map +1 -0
- package/dist/components/known-date/known-date.d.ts +2 -0
- package/dist/components/known-date/known-date.d.ts.map +1 -0
- package/dist/components/known-date/known-date.js +5 -0
- package/dist/components/known-date/known-date.js.map +1 -0
- package/dist/components/known-date/known-date.styles.d.ts +2 -0
- package/dist/components/known-date/known-date.styles.d.ts.map +1 -0
- package/dist/components/known-date/known-date.styles.js +134 -0
- package/dist/components/known-date/known-date.styles.js.map +1 -0
- package/dist/components/lightbox/lightbox.class.d.ts +187 -0
- package/dist/components/lightbox/lightbox.class.d.ts.map +1 -0
- package/dist/components/lightbox/lightbox.class.js +415 -0
- package/dist/components/lightbox/lightbox.class.js.map +1 -0
- package/dist/components/lightbox/lightbox.d.ts +3 -0
- package/dist/components/lightbox/lightbox.d.ts.map +1 -0
- package/dist/components/lightbox/lightbox.js +6 -0
- package/dist/components/lightbox/lightbox.js.map +1 -0
- package/dist/components/lightbox/lightbox.styles.d.ts +2 -0
- package/dist/components/lightbox/lightbox.styles.d.ts.map +1 -0
- package/dist/components/lightbox/lightbox.styles.js +179 -0
- package/dist/components/lightbox/lightbox.styles.js.map +1 -0
- package/dist/components/map/map.class.d.ts +1 -1
- package/dist/components/map/map.class.d.ts.map +1 -1
- package/dist/components/map/map.class.js +2 -24
- package/dist/components/map/map.class.js.map +1 -1
- package/dist/components/menu/menu.class.d.ts +1 -1
- package/dist/components/model-select/model-select.class.d.ts +1 -0
- package/dist/components/model-select/model-select.class.d.ts.map +1 -1
- package/dist/components/model-select/model-select.class.js +2 -1
- package/dist/components/model-select/model-select.class.js.map +1 -1
- package/dist/components/model-select/model-select.styles.js +1 -1
- package/dist/components/model-settings-panel/model-settings-panel.class.d.ts.map +1 -1
- package/dist/components/model-settings-panel/model-settings-panel.class.js +1 -10
- package/dist/components/model-settings-panel/model-settings-panel.class.js.map +1 -1
- package/dist/components/mutation-observer/mutation-observer.class.d.ts +0 -1
- package/dist/components/mutation-observer/mutation-observer.class.d.ts.map +1 -1
- package/dist/components/mutation-observer/mutation-observer.class.js +0 -5
- package/dist/components/mutation-observer/mutation-observer.class.js.map +1 -1
- package/dist/components/pdf-viewer/pdf-viewer.class.js +1 -1
- package/dist/components/pdf-viewer/pdf-viewer.class.js.map +1 -1
- package/dist/components/phone-input/phone-input.class.d.ts +15 -0
- package/dist/components/phone-input/phone-input.class.d.ts.map +1 -1
- package/dist/components/phone-input/phone-input.class.js +46 -0
- package/dist/components/phone-input/phone-input.class.js.map +1 -1
- package/dist/components/progress/progress-bar.class.js +1 -1
- package/dist/components/progress/progress-bar.class.js.map +1 -1
- package/dist/components/progress/progress.styles.d.ts.map +1 -1
- package/dist/components/progress/progress.styles.js +4 -2
- package/dist/components/progress/progress.styles.js.map +1 -1
- package/dist/components/qr-code/qr-code-loader.d.ts +15 -0
- package/dist/components/qr-code/qr-code-loader.d.ts.map +1 -0
- package/dist/components/qr-code/qr-code-loader.js +28 -0
- package/dist/components/qr-code/qr-code-loader.js.map +1 -0
- package/dist/components/qr-code/qr-code.class.d.ts +121 -0
- package/dist/components/qr-code/qr-code.class.d.ts.map +1 -0
- package/dist/components/qr-code/qr-code.class.js +392 -0
- package/dist/components/qr-code/qr-code.class.js.map +1 -0
- package/dist/components/qr-code/qr-code.d.ts +2 -0
- package/dist/components/qr-code/qr-code.d.ts.map +1 -0
- package/dist/components/qr-code/qr-code.js +5 -0
- package/dist/components/qr-code/qr-code.js.map +1 -0
- package/dist/components/qr-code/qr-code.styles.d.ts +2 -0
- package/dist/components/qr-code/qr-code.styles.d.ts.map +1 -0
- package/dist/components/qr-code/qr-code.styles.js +48 -0
- package/dist/components/qr-code/qr-code.styles.js.map +1 -0
- package/dist/components/radio/radio-group.class.d.ts +2 -0
- package/dist/components/radio/radio-group.class.d.ts.map +1 -1
- package/dist/components/radio/radio-group.class.js +6 -2
- package/dist/components/radio/radio-group.class.js.map +1 -1
- package/dist/components/radio/radio-group.styles.d.ts.map +1 -1
- package/dist/components/radio/radio-group.styles.js +1 -0
- package/dist/components/radio/radio-group.styles.js.map +1 -1
- package/dist/components/radio/radio.class.d.ts +4 -0
- package/dist/components/radio/radio.class.d.ts.map +1 -1
- package/dist/components/radio/radio.class.js +18 -0
- package/dist/components/radio/radio.class.js.map +1 -1
- package/dist/components/random-content/random-content.class.d.ts +99 -0
- package/dist/components/random-content/random-content.class.d.ts.map +1 -0
- package/dist/components/random-content/random-content.class.js +268 -0
- package/dist/components/random-content/random-content.class.js.map +1 -0
- package/dist/components/random-content/random-content.d.ts +2 -0
- package/dist/components/random-content/random-content.d.ts.map +1 -0
- package/dist/components/random-content/random-content.js +5 -0
- package/dist/components/random-content/random-content.js.map +1 -0
- package/dist/components/random-content/random-content.styles.d.ts +2 -0
- package/dist/components/random-content/random-content.styles.d.ts.map +1 -0
- package/dist/components/random-content/random-content.styles.js +94 -0
- package/dist/components/random-content/random-content.styles.js.map +1 -0
- package/dist/components/resize-observer/resize-observer.class.d.ts.map +1 -1
- package/dist/components/resize-observer/resize-observer.class.js +12 -0
- package/dist/components/resize-observer/resize-observer.class.js.map +1 -1
- package/dist/components/responsive-panel/responsive-panel.class.d.ts +14 -5
- package/dist/components/responsive-panel/responsive-panel.class.d.ts.map +1 -1
- package/dist/components/responsive-panel/responsive-panel.class.js +18 -6
- package/dist/components/responsive-panel/responsive-panel.class.js.map +1 -1
- package/dist/components/result-card/result-card.class.d.ts +9 -8
- package/dist/components/result-card/result-card.class.d.ts.map +1 -1
- package/dist/components/result-card/result-card.class.js +7 -26
- package/dist/components/result-card/result-card.class.js.map +1 -1
- package/dist/components/result-card/result-field.class.d.ts.map +1 -1
- package/dist/components/result-card/result-field.class.js +1 -11
- package/dist/components/result-card/result-field.class.js.map +1 -1
- package/dist/components/scroller/scroller.class.js +2 -2
- package/dist/components/scroller/scroller.class.js.map +1 -1
- package/dist/components/segmented/segmented.class.d.ts.map +1 -1
- package/dist/components/segmented/segmented.class.js +1 -1
- package/dist/components/segmented/segmented.class.js.map +1 -1
- package/dist/components/slider/slider.class.d.ts.map +1 -1
- package/dist/components/slider/slider.class.js +1 -19
- package/dist/components/slider/slider.class.js.map +1 -1
- package/dist/components/source-card/source-card.class.d.ts +8 -7
- package/dist/components/source-card/source-card.class.d.ts.map +1 -1
- package/dist/components/source-card/source-card.class.js +6 -25
- package/dist/components/source-card/source-card.class.js.map +1 -1
- package/dist/components/sparkline/sparkline.class.d.ts.map +1 -1
- package/dist/components/sparkline/sparkline.class.js +10 -7
- package/dist/components/sparkline/sparkline.class.js.map +1 -1
- package/dist/components/split/split.class.d.ts.map +1 -1
- package/dist/components/split/split.class.js +9 -2
- package/dist/components/split/split.class.js.map +1 -1
- package/dist/components/stat/stat.class.js +1 -1
- package/dist/components/stat/stat.class.js.map +1 -1
- package/dist/components/stat/stat.styles.d.ts.map +1 -1
- package/dist/components/stat/stat.styles.js +9 -0
- package/dist/components/stat/stat.styles.js.map +1 -1
- package/dist/components/stepper/stepper.class.d.ts.map +1 -1
- package/dist/components/stepper/stepper.class.js +1 -1
- package/dist/components/stepper/stepper.class.js.map +1 -1
- package/dist/components/streaming-text/streaming-text.class.d.ts.map +1 -1
- package/dist/components/streaming-text/streaming-text.class.js +5 -5
- package/dist/components/streaming-text/streaming-text.class.js.map +1 -1
- package/dist/components/switch/switch.class.d.ts +7 -0
- package/dist/components/switch/switch.class.d.ts.map +1 -1
- package/dist/components/switch/switch.class.js +9 -0
- package/dist/components/switch/switch.class.js.map +1 -1
- package/dist/components/table/table.class.d.ts +14 -0
- package/dist/components/table/table.class.d.ts.map +1 -1
- package/dist/components/table/table.class.js +52 -1
- package/dist/components/table/table.class.js.map +1 -1
- package/dist/components/time-range/time-range.class.d.ts.map +1 -1
- package/dist/components/time-range/time-range.class.js +1 -21
- package/dist/components/time-range/time-range.class.js.map +1 -1
- package/dist/components/timeline/timeline-item.class.d.ts +120 -0
- package/dist/components/timeline/timeline-item.class.d.ts.map +1 -0
- package/dist/components/timeline/timeline-item.class.js +203 -0
- package/dist/components/timeline/timeline-item.class.js.map +1 -0
- package/dist/components/timeline/timeline-item.d.ts +3 -0
- package/dist/components/timeline/timeline-item.d.ts.map +1 -0
- package/dist/components/timeline/timeline-item.js +10 -0
- package/dist/components/timeline/timeline-item.js.map +1 -0
- package/dist/components/timeline/timeline-item.styles.d.ts +2 -0
- package/dist/components/timeline/timeline-item.styles.d.ts.map +1 -0
- package/dist/components/timeline/timeline-item.styles.js +149 -0
- package/dist/components/timeline/timeline-item.styles.js.map +1 -0
- package/dist/components/timeline/timeline.class.d.ts +59 -0
- package/dist/components/timeline/timeline.class.d.ts.map +1 -0
- package/dist/components/timeline/timeline.class.js +100 -0
- package/dist/components/timeline/timeline.class.js.map +1 -0
- package/dist/components/timeline/timeline.d.ts +2 -0
- package/dist/components/timeline/timeline.d.ts.map +1 -0
- package/dist/components/timeline/timeline.js +5 -0
- package/dist/components/timeline/timeline.js.map +1 -0
- package/dist/components/timeline/timeline.styles.d.ts +2 -0
- package/dist/components/timeline/timeline.styles.d.ts.map +1 -0
- package/dist/components/timeline/timeline.styles.js +52 -0
- package/dist/components/timeline/timeline.styles.js.map +1 -0
- package/dist/components/toast/toast-item.class.d.ts.map +1 -1
- package/dist/components/toast/toast-item.class.js +1 -3
- package/dist/components/toast/toast-item.class.js.map +1 -1
- package/dist/components/token-input/token-input.class.d.ts +19 -0
- package/dist/components/token-input/token-input.class.d.ts.map +1 -1
- package/dist/components/token-input/token-input.class.js +59 -10
- package/dist/components/token-input/token-input.class.js.map +1 -1
- package/dist/components/token-input/token-input.styles.js +1 -1
- package/dist/components/tool-select-dialog/tool-select-dialog.class.d.ts +4 -0
- package/dist/components/tool-select-dialog/tool-select-dialog.class.d.ts.map +1 -1
- package/dist/components/tool-select-dialog/tool-select-dialog.class.js +9 -1
- package/dist/components/tool-select-dialog/tool-select-dialog.class.js.map +1 -1
- package/dist/components/tour/tour.class.d.ts +250 -0
- package/dist/components/tour/tour.class.d.ts.map +1 -0
- package/dist/components/tour/tour.class.js +530 -0
- package/dist/components/tour/tour.class.js.map +1 -0
- package/dist/components/tour/tour.d.ts +2 -0
- package/dist/components/tour/tour.d.ts.map +1 -0
- package/dist/components/tour/tour.js +5 -0
- package/dist/components/tour/tour.js.map +1 -0
- package/dist/components/tour/tour.styles.d.ts +2 -0
- package/dist/components/tour/tour.styles.d.ts.map +1 -0
- package/dist/components/tour/tour.styles.js +165 -0
- package/dist/components/tour/tour.styles.js.map +1 -0
- package/dist/components/virtual-list/virtual-list.class.d.ts.map +1 -1
- package/dist/components/virtual-list/virtual-list.class.js +1 -3
- package/dist/components/virtual-list/virtual-list.class.js.map +1 -1
- package/dist/components/widget/widget.class.d.ts.map +1 -1
- package/dist/components/widget/widget.class.js +2 -6
- package/dist/components/widget/widget.class.js.map +1 -1
- package/dist/components/widget/widget.styles.d.ts.map +1 -1
- package/dist/components/widget/widget.styles.js +4 -0
- package/dist/components/widget/widget.styles.js.map +1 -1
- package/dist/components/word-cloud/word-cloud.class.d.ts.map +1 -1
- package/dist/components/word-cloud/word-cloud.class.js +1 -8
- package/dist/components/word-cloud/word-cloud.class.js.map +1 -1
- package/dist/components/zoomable-frame/zoomable-frame.class.d.ts +15 -0
- package/dist/components/zoomable-frame/zoomable-frame.class.d.ts.map +1 -1
- package/dist/components/zoomable-frame/zoomable-frame.class.js +19 -1
- package/dist/components/zoomable-frame/zoomable-frame.class.js.map +1 -1
- package/dist/internal/a11y.d.ts +4 -0
- package/dist/internal/a11y.d.ts.map +1 -1
- package/dist/internal/a11y.js +17 -0
- package/dist/internal/a11y.js.map +1 -1
- package/dist/internal/canvas.d.ts +8 -0
- package/dist/internal/canvas.d.ts.map +1 -0
- package/dist/internal/canvas.js +14 -0
- package/dist/internal/canvas.js.map +1 -0
- package/dist/internal/localization.d.ts +1 -1
- package/dist/internal/localization.d.ts.map +1 -1
- package/dist/internal/localization.js +20 -2
- package/dist/internal/localization.js.map +1 -1
- package/dist/internal/motion.d.ts +5 -0
- package/dist/internal/motion.d.ts.map +1 -0
- package/dist/internal/motion.js +7 -0
- package/dist/internal/motion.js.map +1 -0
- package/dist/internal/numbers.d.ts +11 -0
- package/dist/internal/numbers.d.ts.map +1 -1
- package/dist/internal/numbers.js +21 -0
- package/dist/internal/numbers.js.map +1 -1
- package/dist/internal/positioner.d.ts +14 -0
- package/dist/internal/positioner.d.ts.map +1 -1
- package/dist/internal/positioner.js +27 -0
- package/dist/internal/positioner.js.map +1 -1
- package/dist/internal/root-registration-allowlist.d.ts +1 -1
- package/dist/internal/root-registration-allowlist.d.ts.map +1 -1
- package/dist/internal/root-registration-allowlist.js +11 -0
- package/dist/internal/root-registration-allowlist.js.map +1 -1
- package/dist/internal/rtl.d.ts +0 -11
- package/dist/internal/rtl.d.ts.map +1 -1
- package/dist/internal/rtl.js +0 -13
- package/dist/internal/rtl.js.map +1 -1
- package/dist/internal/safe-css.d.ts +15 -0
- package/dist/internal/safe-css.d.ts.map +1 -0
- package/dist/internal/safe-css.js +25 -0
- package/dist/internal/safe-css.js.map +1 -0
- package/dist/internal/strip-host-title.d.ts +24 -0
- package/dist/internal/strip-host-title.d.ts.map +1 -0
- package/dist/internal/strip-host-title.js +46 -0
- package/dist/internal/strip-host-title.js.map +1 -0
- package/dist/internal/tokens.styles.d.ts.map +1 -1
- package/dist/internal/tokens.styles.js +4 -0
- package/dist/internal/tokens.styles.js.map +1 -1
- package/dist/lyra.d.ts +33 -0
- package/dist/lyra.d.ts.map +1 -1
- package/dist/lyra.js +22 -0
- package/dist/lyra.js.map +1 -1
- package/llms-full.txt +104 -0
- package/llms.txt +3 -0
- package/package.json +43 -6
- package/vscode-css-data.json +719 -0
- package/vscode-html-data.json +10579 -0
- package/web-types.json +12161 -0
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import { css } from 'lit';
|
|
2
|
+
export const styles = css `
|
|
3
|
+
:host {
|
|
4
|
+
display: block;
|
|
5
|
+
--lyra-known-date-field-padding-block: var(--lyra-space-s);
|
|
6
|
+
--lyra-known-date-field-padding-inline: var(--lyra-space-s);
|
|
7
|
+
--lyra-known-date-field-font-size: var(--lyra-font-size-md-sm);
|
|
8
|
+
--lyra-known-date-field-gap: var(--lyra-space-s);
|
|
9
|
+
--lyra-known-date-year-field-width: var(--lyra-size-5em);
|
|
10
|
+
--lyra-known-date-day-field-width: var(--lyra-size-3-5em);
|
|
11
|
+
--lyra-known-date-month-field-width: var(--lyra-size-3-5em);
|
|
12
|
+
}
|
|
13
|
+
:host([size='xs']) {
|
|
14
|
+
--lyra-known-date-field-padding-block: var(--lyra-size-0-125rem);
|
|
15
|
+
--lyra-known-date-field-padding-inline: var(--lyra-space-xs);
|
|
16
|
+
--lyra-known-date-field-font-size: var(--lyra-font-size-xs);
|
|
17
|
+
}
|
|
18
|
+
:host([size='s']) {
|
|
19
|
+
--lyra-known-date-field-padding-block: var(--lyra-space-xs);
|
|
20
|
+
--lyra-known-date-field-padding-inline: var(--lyra-space-xs);
|
|
21
|
+
--lyra-known-date-field-font-size: var(--lyra-font-size-sm);
|
|
22
|
+
}
|
|
23
|
+
:host([size='l']) {
|
|
24
|
+
--lyra-known-date-field-padding-block: var(--lyra-space-m);
|
|
25
|
+
--lyra-known-date-field-padding-inline: var(--lyra-space-m);
|
|
26
|
+
--lyra-known-date-field-font-size: var(--lyra-font-size-lg);
|
|
27
|
+
}
|
|
28
|
+
:host([size='xl']) {
|
|
29
|
+
--lyra-known-date-field-padding-block: var(--lyra-space-l);
|
|
30
|
+
--lyra-known-date-field-padding-inline: var(--lyra-space-l);
|
|
31
|
+
--lyra-known-date-field-font-size: var(--lyra-font-size-xl);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
[part='form-control'] {
|
|
35
|
+
min-inline-size: 0;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
[part='fieldset'] {
|
|
39
|
+
margin: 0;
|
|
40
|
+
padding: 0;
|
|
41
|
+
border: none;
|
|
42
|
+
min-inline-size: 0;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
[part='legend'] {
|
|
46
|
+
display: block;
|
|
47
|
+
padding: 0;
|
|
48
|
+
margin-block-end: var(--lyra-space-xs);
|
|
49
|
+
color: var(--lyra-color-text);
|
|
50
|
+
font-size: var(--lyra-font-size-md-sm);
|
|
51
|
+
font-weight: var(--lyra-font-weight-semibold);
|
|
52
|
+
}
|
|
53
|
+
/* [part] always contains a literal <slot> child regardless of assigned
|
|
54
|
+
content, so :empty never matches -- real emptiness is tracked in JS
|
|
55
|
+
(hasLabelSlot) and reflected via [hidden] instead (same fix as every
|
|
56
|
+
other lyra form control's label/hint/error chrome). Without this the
|
|
57
|
+
required-asterisk ::after below (attached to this box) would render a
|
|
58
|
+
stray ' *' with nothing before it whenever no label is set. */
|
|
59
|
+
[part='legend'][hidden] {
|
|
60
|
+
display: none;
|
|
61
|
+
}
|
|
62
|
+
:host([required]) [part='legend']::after {
|
|
63
|
+
content: ' *';
|
|
64
|
+
color: var(--lyra-color-danger);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
[part='fields'] {
|
|
68
|
+
display: flex;
|
|
69
|
+
flex-wrap: wrap;
|
|
70
|
+
gap: var(--lyra-known-date-field-gap);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
[part='field'] {
|
|
74
|
+
display: flex;
|
|
75
|
+
flex-direction: column;
|
|
76
|
+
gap: var(--lyra-space-2xs);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
[part='field-label'] {
|
|
80
|
+
font-size: var(--lyra-font-size-sm);
|
|
81
|
+
color: var(--lyra-color-text-quiet);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
[part='field-input'] {
|
|
85
|
+
box-sizing: border-box;
|
|
86
|
+
padding-block: var(--lyra-known-date-field-padding-block);
|
|
87
|
+
padding-inline: var(--lyra-known-date-field-padding-inline);
|
|
88
|
+
border: var(--lyra-border-width-thin) solid var(--lyra-color-border);
|
|
89
|
+
border-radius: var(--lyra-radius);
|
|
90
|
+
background: var(--lyra-color-surface);
|
|
91
|
+
color: var(--lyra-color-text);
|
|
92
|
+
font-family: inherit;
|
|
93
|
+
font-size: var(--lyra-known-date-field-font-size);
|
|
94
|
+
text-align: center;
|
|
95
|
+
}
|
|
96
|
+
[part='field'][data-field='day'] [part='field-input'] {
|
|
97
|
+
inline-size: var(--lyra-known-date-day-field-width);
|
|
98
|
+
}
|
|
99
|
+
[part='field'][data-field='month'] [part='field-input'] {
|
|
100
|
+
inline-size: var(--lyra-known-date-month-field-width);
|
|
101
|
+
}
|
|
102
|
+
[part='field'][data-field='year'] [part='field-input'] {
|
|
103
|
+
inline-size: var(--lyra-known-date-year-field-width);
|
|
104
|
+
}
|
|
105
|
+
[part='field-input']:focus-visible {
|
|
106
|
+
outline: var(--lyra-focus-ring-width) solid var(--lyra-focus-ring-color);
|
|
107
|
+
outline-offset: var(--lyra-focus-ring-offset);
|
|
108
|
+
}
|
|
109
|
+
:host([data-invalid]) [part='field-input'] {
|
|
110
|
+
border-color: var(--lyra-color-danger);
|
|
111
|
+
}
|
|
112
|
+
[part='field-input']:disabled {
|
|
113
|
+
opacity: var(--lyra-opacity-disabled);
|
|
114
|
+
cursor: not-allowed;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
[part='hint'] {
|
|
118
|
+
margin-block-start: var(--lyra-space-xs);
|
|
119
|
+
font-size: var(--lyra-font-size-sm);
|
|
120
|
+
color: var(--lyra-color-text-quiet);
|
|
121
|
+
}
|
|
122
|
+
[part='hint'][hidden] {
|
|
123
|
+
display: none;
|
|
124
|
+
}
|
|
125
|
+
[part='error'] {
|
|
126
|
+
margin-block-start: var(--lyra-space-xs);
|
|
127
|
+
font-size: var(--lyra-font-size-sm);
|
|
128
|
+
color: var(--lyra-color-danger);
|
|
129
|
+
}
|
|
130
|
+
[part='error'][hidden] {
|
|
131
|
+
display: none;
|
|
132
|
+
}
|
|
133
|
+
`;
|
|
134
|
+
//# sourceMappingURL=known-date.styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"known-date.styles.js","sourceRoot":"","sources":["../../../src/components/known-date/known-date.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmIxB,CAAC"}
|
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
import { type TemplateResult, type PropertyValues } from 'lit';
|
|
2
|
+
import { LyraElement } from '../../internal/lyra-element.js';
|
|
3
|
+
import '../zoomable-frame/zoomable-frame.class.js';
|
|
4
|
+
/** One image in the set `<lyra-lightbox>` browses. `alt`/`caption` are caller-supplied data
|
|
5
|
+
* (like a filename), not routed through `localize()` -- only the component's own chrome
|
|
6
|
+
* strings are. */
|
|
7
|
+
export interface LyraLightboxImage {
|
|
8
|
+
/** Full-resolution URL. Passed straight through to the embedded `<lyra-zoomable-frame>`'s own
|
|
9
|
+
* `src`, which already runs it through `safeMediaSrc()` -- no separate validation needed here. */
|
|
10
|
+
src: string;
|
|
11
|
+
/** Accessible alt text. Defaults to `''` (decorative) when omitted; consumers should supply
|
|
12
|
+
* real alt text for meaningful images. */
|
|
13
|
+
alt?: string;
|
|
14
|
+
/** Optional visible caption for this image, rendered in `part="caption"` below the stage. */
|
|
15
|
+
caption?: string;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Reason a lightbox was dismissed, forwarded as the `lyra-lightbox-close` event detail --
|
|
19
|
+
* 1:1 copy of `<lyra-dialog>`'s own `DialogCloseReason` contract. `'escape'` and `'backdrop'`
|
|
20
|
+
* are emitted by the lightbox's own built-in dismiss triggers; `'close-button'` by the built-in
|
|
21
|
+
* close button; `'unmount'` is emitted when the lightbox is removed from the DOM while still
|
|
22
|
+
* open by something other than its own `close()`; any other string is whatever a caller passes
|
|
23
|
+
* to `close()` directly.
|
|
24
|
+
*/
|
|
25
|
+
export type LyraLightboxCloseReason = 'escape' | 'backdrop' | 'close-button' | 'api' | 'unmount' | (string & Record<never, never>);
|
|
26
|
+
export interface LyraLightboxEventMap {
|
|
27
|
+
'lyra-lightbox-close': CustomEvent<LyraLightboxCloseReason>;
|
|
28
|
+
'lyra-index-change': CustomEvent<{
|
|
29
|
+
index: number;
|
|
30
|
+
}>;
|
|
31
|
+
/** Not emitted by `LyraLightbox` itself -- the embedded `<lyra-zoomable-frame>` already
|
|
32
|
+
* dispatches this via a composed, bubbling `emit()` call, which continues through this
|
|
33
|
+
* element's own shadow boundary with no re-dispatch needed. Listed here purely for
|
|
34
|
+
* discoverability. */
|
|
35
|
+
'lyra-zoom-change': CustomEvent<{
|
|
36
|
+
zoom: number;
|
|
37
|
+
}>;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* `<lyra-lightbox>` — a full-screen, modal, click-to-enlarge image viewer with prev/next
|
|
41
|
+
* navigation across an ordered set of images. It has no Web Awesome/Shoelace counterpart, so
|
|
42
|
+
* its API follows this library's own conventions.
|
|
43
|
+
*
|
|
44
|
+
* **Not a form-associated control** -- no `label`/`hint`/`errorText` chrome; its
|
|
45
|
+
* `accessibleLabel` only overrides the dialog's own accessible name. The native-wrapper/
|
|
46
|
+
* editing-assistance-passthrough guarantees don't apply either (no internal `<input>`/
|
|
47
|
+
* `<textarea>`).
|
|
48
|
+
*
|
|
49
|
+
* This renders its own dialog panel rather than nesting a `<lyra-dialog>` in its shadow
|
|
50
|
+
* template -- shared overlay infrastructure (`src/internal/overlay-manager.ts`) coordinates
|
|
51
|
+
* stacking, focus trapping, Escape/backdrop dismissal, scroll lock, and focus return with every
|
|
52
|
+
* other overlay in the same document, the same way `<lyra-dialog>`/`<lyra-command-palette>`/
|
|
53
|
+
* `<lyra-widget>` (fullscreen mode)/`<lyra-app-rail>` (mobile mode)/`<lyra-responsive-panel>`
|
|
54
|
+
* already do. Per-image pan/zoom is delegated to one stable embedded `<lyra-zoomable-frame>`
|
|
55
|
+
* instance (its `src`/`alt` swapped per navigation) rather than reimplementing pan/zoom --
|
|
56
|
+
* composing a small sibling leaf component directly in the render template, the same way
|
|
57
|
+
* `<lyra-tool-select-dialog>` composes `<lyra-checkbox>`/`<lyra-switch>`.
|
|
58
|
+
*
|
|
59
|
+
* Zoom/pan reset on navigation is imperative (`LyraZoomableFrame.resetView()`, called from
|
|
60
|
+
* `updated()`) rather than a Lit property binding -- a binding whose value never changes across
|
|
61
|
+
* renders (e.g. `.zoom=${1}`) would only apply once, silently failing to reset on the *second*
|
|
62
|
+
* navigation once the user has interactively zoomed. Recreating the frame element on every
|
|
63
|
+
* navigation (e.g. via Lit's `keyed()` directive) was considered and rejected: it would also
|
|
64
|
+
* reset zoom/pan, but destroying/recreating the element would steal focus from a keyboard user
|
|
65
|
+
* who had Tabbed into the frame's viewport mid-navigation.
|
|
66
|
+
*
|
|
67
|
+
* **Scope for v1 (deliberate, not oversights):** no default slot / no arbitrary slotted content
|
|
68
|
+
* per image (data-driven via `images` only); no dot-style indicators (a textual counter scales
|
|
69
|
+
* better to photo-set sizes); no open/close transition or animation (matches `<lyra-dialog>`'s
|
|
70
|
+
* own precedent of having none -- `prefers-reduced-motion` has nothing to branch on here); no
|
|
71
|
+
* click-on-image-to-navigate (the image is already meaningfully interactive -- it focuses the
|
|
72
|
+
* zoomable frame's viewport and drives its native scroll-to-pan); no touch-swipe-to-navigate.
|
|
73
|
+
*
|
|
74
|
+
* @customElement lyra-lightbox
|
|
75
|
+
* @slot actions - Optional extra toolbar buttons (e.g. download/share/delete), rendered in
|
|
76
|
+
* `part="toolbar"` between the counter and the close button.
|
|
77
|
+
* @event lyra-lightbox-close - `detail: LyraLightboxCloseReason`. Cancelable -- a listener
|
|
78
|
+
* calling `preventDefault()` stops the lightbox from closing, for every dismissal path
|
|
79
|
+
* (Escape, backdrop, the built-in close button, or a consumer's own `close()` call). Fired
|
|
80
|
+
* whenever the lightbox is dismissed via Escape, a backdrop click, the built-in close button,
|
|
81
|
+
* a `close()` call, or (with reason `'unmount'`, not cancelable in practice since the element
|
|
82
|
+
* is already being removed) removal from the DOM by anything else while still open.
|
|
83
|
+
* @event lyra-index-change - Fired only for internally-driven navigation (`next()`/
|
|
84
|
+
* `previous()`/`goTo()` invoked via a button click or a keyboard shortcut). Not fired when a
|
|
85
|
+
* consumer sets `index`/`images` directly. `detail: { index }`.
|
|
86
|
+
* @event lyra-zoom-change - Not emitted by `LyraLightbox` itself -- see the interface doc above.
|
|
87
|
+
* `detail: { zoom }`.
|
|
88
|
+
* @csspart backdrop - The full-viewport scrim, positioned behind `panel`.
|
|
89
|
+
* @csspart panel - `role="dialog"` while open, `aria-modal="true"`, `tabindex="-1"`. Fills the
|
|
90
|
+
* padded safe area -- unlike `<lyra-dialog>`, it does not shrink-wrap to content, since
|
|
91
|
+
* maximizing image real estate is the point.
|
|
92
|
+
* @csspart toolbar - Top row: `counter` (start), the `actions` slot wrapper, `close-button` (end).
|
|
93
|
+
* @csspart counter - Visible, localized "Image N of Total" text. Omitted entirely when
|
|
94
|
+
* `showCounter` is `false`.
|
|
95
|
+
* @csspart live-region - Visually-hidden, `role="status" aria-live="polite" aria-atomic="true"` --
|
|
96
|
+
* announces the current position on every `index` change while open, regardless of trigger
|
|
97
|
+
* (button, keyboard, or a consumer setting `index`/`images` directly), decoupled from the
|
|
98
|
+
* visible `counter` so an unrelated re-render never causes a spurious re-announcement.
|
|
99
|
+
* @csspart actions - Wrapper around the `actions` slot; `hidden` when nothing is slotted.
|
|
100
|
+
* @csspart close-button - The close button. Always rendered -- unlike `<lyra-dialog>`'s opt-in
|
|
101
|
+
* `closable`, a full-screen lightbox has no other built-in chrome, so this is not optional.
|
|
102
|
+
* @csspart stage - Houses the embedded `<lyra-zoomable-frame>` plus the floating
|
|
103
|
+
* `previous-button`/`next-button`.
|
|
104
|
+
* @csspart frame - The embedded `<lyra-zoomable-frame>` element itself. Its own internal parts
|
|
105
|
+
* are not re-exported via `exportparts` -- there is no precedent for `exportparts` anywhere in
|
|
106
|
+
* this codebase.
|
|
107
|
+
* @csspart previous-button - Floating, absolutely positioned inside `stage`. Rendered only when
|
|
108
|
+
* `images.length > 1`.
|
|
109
|
+
* @csspart previous-glyph - The `chevronIcon()` inside `previous-button`, mirrored under RTL.
|
|
110
|
+
* @csspart next-button - Symmetric to `previous-button`.
|
|
111
|
+
* @csspart next-glyph - Symmetric to `previous-glyph`.
|
|
112
|
+
* @csspart caption - The current image's caption text. Only rendered when the current image's
|
|
113
|
+
* `caption` is non-empty. Its `id` is the `aria-describedby` target on `panel`.
|
|
114
|
+
* @cssprop --lyra-lightbox-overlay-color - The backdrop scrim color.
|
|
115
|
+
* @cssprop --lyra-lightbox-control-bg - Background for every floating/toolbar icon button.
|
|
116
|
+
* @cssprop --lyra-lightbox-control-color - Icon/text color paired with `--lyra-lightbox-control-bg`.
|
|
117
|
+
*/
|
|
118
|
+
export declare class LyraLightbox extends LyraElement<LyraLightboxEventMap> {
|
|
119
|
+
static styles: import("lit").CSSResultGroup[];
|
|
120
|
+
/** Whether the lightbox is open. Set this (or call `close()`) -- there is no separate
|
|
121
|
+
* `show()`/`hide()` pair, exactly mirrors `<lyra-dialog>`. */
|
|
122
|
+
open: boolean;
|
|
123
|
+
/** The ordered set of images being browsed. */
|
|
124
|
+
images: LyraLightboxImage[];
|
|
125
|
+
/** The currently displayed image. Clamped defensively for rendering (out-of-range/negative/
|
|
126
|
+
* non-integer never throws) and silently re-synced onto this property (no event) when
|
|
127
|
+
* `images` shrinks -- mirrors `<lyra-carousel>`'s `normalizedIndex()`/`syncSlides()` split. */
|
|
128
|
+
index: number;
|
|
129
|
+
/** Wraps prev/next past the ends. Mirrors `<lyra-carousel>`'s `loop` 1:1. */
|
|
130
|
+
loop: boolean;
|
|
131
|
+
/** Opts out of dismissing the lightbox on a backdrop click -- mirrors `<lyra-dialog>`'s
|
|
132
|
+
* `noLightDismiss` exactly (name, default, no reflect). */
|
|
133
|
+
noLightDismiss: boolean;
|
|
134
|
+
/** Shows/hides `part="counter"` (and its `part="live-region"` announcement). Mirrors
|
|
135
|
+
* `<lyra-carousel>`'s `showIndicators` (name shape, no reflect). */
|
|
136
|
+
showCounter: boolean;
|
|
137
|
+
/** Passed through to the embedded `<lyra-zoomable-frame>` as `.minZoom`. Same default as
|
|
138
|
+
* `<lyra-zoomable-frame>` itself. */
|
|
139
|
+
minZoom: number;
|
|
140
|
+
/** Passed through to the embedded `<lyra-zoomable-frame>` as `.maxZoom`. */
|
|
141
|
+
maxZoom: number;
|
|
142
|
+
/** Passed through to the embedded `<lyra-zoomable-frame>` as `.zoomStep`. */
|
|
143
|
+
zoomStep: number;
|
|
144
|
+
/** Host-level `aria-label` override for the panel's accessible name -- wins over the
|
|
145
|
+
* localized `lightboxLabel` default. Exactly `<lyra-zoomable-frame>`'s own `accessibleLabel`
|
|
146
|
+
* pattern (no other label source to arbitrate against here). */
|
|
147
|
+
accessibleLabel: string | null;
|
|
148
|
+
private hasActionsSlot;
|
|
149
|
+
private liveText;
|
|
150
|
+
private frameEl?;
|
|
151
|
+
private releaseScrollLock?;
|
|
152
|
+
private overlay?;
|
|
153
|
+
private readonly captionId;
|
|
154
|
+
/** Clamped, always-valid index for rendering -- never throws on an out-of-range, negative, or
|
|
155
|
+
* non-integer `index`. */
|
|
156
|
+
private currentIndex;
|
|
157
|
+
private syncImages;
|
|
158
|
+
private changeTo;
|
|
159
|
+
next: () => void;
|
|
160
|
+
previous: () => void;
|
|
161
|
+
goTo: (index: number) => void;
|
|
162
|
+
/**
|
|
163
|
+
* Close the lightbox and return focus to whatever had it before the lightbox opened. `reason`
|
|
164
|
+
* is forwarded as the `lyra-lightbox-close` detail -- built-in triggers pass `'escape'`/
|
|
165
|
+
* `'backdrop'`/`'close-button'`; a consumer's own close affordance (e.g. an `actions`-slotted
|
|
166
|
+
* button) should call this directly with its own reason string.
|
|
167
|
+
*/
|
|
168
|
+
close(reason?: LyraLightboxCloseReason): void;
|
|
169
|
+
private updateLiveRegion;
|
|
170
|
+
protected willUpdate(changed: PropertyValues): void;
|
|
171
|
+
protected updated(changed: PropertyValues): void;
|
|
172
|
+
connectedCallback(): void;
|
|
173
|
+
disconnectedCallback(): void;
|
|
174
|
+
private activateOverlay;
|
|
175
|
+
private deactivateOverlay;
|
|
176
|
+
private onBackdropClick;
|
|
177
|
+
private onCloseButtonClick;
|
|
178
|
+
private onActionsSlotChange;
|
|
179
|
+
private onPanelKeyDown;
|
|
180
|
+
render(): TemplateResult;
|
|
181
|
+
}
|
|
182
|
+
declare global {
|
|
183
|
+
interface HTMLElementTagNameMap {
|
|
184
|
+
'lyra-lightbox': LyraLightbox;
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
//# sourceMappingURL=lightbox.class.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lightbox.class.d.ts","sourceRoot":"","sources":["../../../src/components/lightbox/lightbox.class.ts"],"names":[],"mappings":"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"}
|