@sondor-technology/sondor-components 1.0.8 → 1.0.10
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/dist/components/accordion/accordion.constants.d.ts +5 -0
- package/dist/components/accordion/accordion.constants.d.ts.map +1 -0
- package/dist/components/accordion/accordion.constants.js +3 -0
- package/dist/components/accordion/accordion.constants.js.map +1 -0
- package/dist/components/accordion/accordion.d.ts +29 -0
- package/dist/components/accordion/accordion.d.ts.map +1 -0
- package/dist/components/accordion/accordion.js +226 -0
- package/dist/components/accordion/accordion.js.map +1 -0
- package/dist/components/alert/alert.constants.d.ts +2 -0
- package/dist/components/alert/alert.constants.d.ts.map +1 -1
- package/dist/components/alert/alert.d.ts +50 -2
- package/dist/components/alert/alert.d.ts.map +1 -1
- package/dist/components/alert/alert.js +285 -16
- package/dist/components/alert/alert.js.map +1 -1
- package/dist/components/avatar/avatar.d.ts +20 -0
- package/dist/components/avatar/avatar.d.ts.map +1 -0
- package/dist/components/avatar/avatar.js +100 -0
- package/dist/components/avatar/avatar.js.map +1 -0
- package/dist/components/back-to-top/back-to-top.d.ts +29 -0
- package/dist/components/back-to-top/back-to-top.d.ts.map +1 -0
- package/dist/components/back-to-top/back-to-top.js +149 -0
- package/dist/components/back-to-top/back-to-top.js.map +1 -0
- package/dist/components/bar-chart/bar-chart.d.ts +42 -0
- package/dist/components/bar-chart/bar-chart.d.ts.map +1 -0
- package/dist/components/bar-chart/bar-chart.js +298 -0
- package/dist/components/bar-chart/bar-chart.js.map +1 -0
- package/dist/components/breadcrumb/breadcrumb.js +2 -2
- package/dist/components/button/button.d.ts +1 -0
- package/dist/components/button/button.d.ts.map +1 -1
- package/dist/components/button/button.js +8 -8
- package/dist/components/button/button.js.map +1 -1
- package/dist/components/button-group/button-group.js +4 -4
- package/dist/components/calendar/calendar.d.ts.map +1 -1
- package/dist/components/calendar/calendar.js +21 -9
- package/dist/components/calendar/calendar.js.map +1 -1
- package/dist/components/chart/chart-base.d.ts +59 -0
- package/dist/components/chart/chart-base.d.ts.map +1 -0
- package/dist/components/chart/chart-base.js +261 -0
- package/dist/components/chart/chart-base.js.map +1 -0
- package/dist/components/chart/chart.utils.d.ts +27 -0
- package/dist/components/chart/chart.utils.d.ts.map +1 -0
- package/dist/components/chart/chart.utils.js +117 -0
- package/dist/components/chart/chart.utils.js.map +1 -0
- package/dist/components/code-block/code-block.d.ts +5 -0
- package/dist/components/code-block/code-block.d.ts.map +1 -1
- package/dist/components/code-block/code-block.js +34 -24
- package/dist/components/code-block/code-block.js.map +1 -1
- package/dist/components/consent/consent.d.ts +63 -0
- package/dist/components/consent/consent.d.ts.map +1 -0
- package/dist/components/consent/consent.js +327 -0
- package/dist/components/consent/consent.js.map +1 -0
- package/dist/components/consent/consent.utils.d.ts +36 -0
- package/dist/components/consent/consent.utils.d.ts.map +1 -0
- package/dist/components/consent/consent.utils.js +82 -0
- package/dist/components/consent/consent.utils.js.map +1 -0
- package/dist/components/contact/contact.d.ts +22 -0
- package/dist/components/contact/contact.d.ts.map +1 -0
- package/dist/components/contact/contact.js +83 -0
- package/dist/components/contact/contact.js.map +1 -0
- package/dist/components/container/container.d.ts +20 -0
- package/dist/components/container/container.d.ts.map +1 -0
- package/dist/components/container/container.js +68 -0
- package/dist/components/container/container.js.map +1 -0
- package/dist/components/content-card/content-card.js +4 -4
- package/dist/components/context-menu/context-menu.d.ts +89 -0
- package/dist/components/context-menu/context-menu.d.ts.map +1 -0
- package/dist/components/context-menu/context-menu.js +414 -0
- package/dist/components/context-menu/context-menu.js.map +1 -0
- package/dist/components/cron-builder/cron-builder.d.ts +5 -2
- package/dist/components/cron-builder/cron-builder.d.ts.map +1 -1
- package/dist/components/cron-builder/cron-builder.js +83 -15
- package/dist/components/cron-builder/cron-builder.js.map +1 -1
- package/dist/components/cta/cta.d.ts +20 -0
- package/dist/components/cta/cta.d.ts.map +1 -0
- package/dist/components/cta/cta.js +64 -0
- package/dist/components/cta/cta.js.map +1 -0
- package/dist/components/drawer/drawer.js +6 -6
- package/dist/components/faq/faq-item.d.ts +22 -0
- package/dist/components/faq/faq-item.d.ts.map +1 -0
- package/dist/components/faq/faq-item.js +117 -0
- package/dist/components/faq/faq-item.js.map +1 -0
- package/dist/components/faq/faq.d.ts +18 -0
- package/dist/components/faq/faq.d.ts.map +1 -0
- package/dist/components/faq/faq.js +38 -0
- package/dist/components/faq/faq.js.map +1 -0
- package/dist/components/feature-grid/feature-grid.d.ts +22 -0
- package/dist/components/feature-grid/feature-grid.d.ts.map +1 -0
- package/dist/components/feature-grid/feature-grid.js +55 -0
- package/dist/components/feature-grid/feature-grid.js.map +1 -0
- package/dist/components/feature-grid/feature.d.ts +18 -0
- package/dist/components/feature-grid/feature.d.ts.map +1 -0
- package/dist/components/feature-grid/feature.js +91 -0
- package/dist/components/feature-grid/feature.js.map +1 -0
- package/dist/components/field/field.js +2 -2
- package/dist/components/footer/footer.js +4 -4
- package/dist/components/form/form-reset.d.ts +7 -0
- package/dist/components/form/form-reset.d.ts.map +1 -0
- package/dist/components/form/form-reset.js +47 -0
- package/dist/components/form/form-reset.js.map +1 -0
- package/dist/components/form/form.d.ts +5 -0
- package/dist/components/form/form.d.ts.map +1 -1
- package/dist/components/form/form.js +17 -3
- package/dist/components/form/form.js.map +1 -1
- package/dist/components/grid/grid.d.ts +5 -0
- package/dist/components/grid/grid.d.ts.map +1 -1
- package/dist/components/grid/grid.js +86 -4
- package/dist/components/grid/grid.js.map +1 -1
- package/dist/components/heat-map/heat-map.d.ts +39 -0
- package/dist/components/heat-map/heat-map.d.ts.map +1 -0
- package/dist/components/heat-map/heat-map.js +306 -0
- package/dist/components/heat-map/heat-map.js.map +1 -0
- package/dist/components/hero/hero.d.ts +26 -0
- package/dist/components/hero/hero.d.ts.map +1 -0
- package/dist/components/hero/hero.js +132 -0
- package/dist/components/hero/hero.js.map +1 -0
- package/dist/components/icon/icon-paths.d.ts +84 -0
- package/dist/components/icon/icon-paths.d.ts.map +1 -1
- package/dist/components/icon/icon-paths.js +89 -0
- package/dist/components/icon/icon-paths.js.map +1 -1
- package/dist/components/icon/icon.d.ts +2 -0
- package/dist/components/icon/icon.d.ts.map +1 -1
- package/dist/components/icon/icon.js +10 -1
- package/dist/components/icon/icon.js.map +1 -1
- package/dist/components/image/image.d.ts +31 -0
- package/dist/components/image/image.d.ts.map +1 -0
- package/dist/components/image/image.js +179 -0
- package/dist/components/image/image.js.map +1 -0
- package/dist/components/input/input.js +4 -4
- package/dist/components/lazy/lazy.d.ts +34 -0
- package/dist/components/lazy/lazy.d.ts.map +1 -0
- package/dist/components/lazy/lazy.js +104 -0
- package/dist/components/lazy/lazy.js.map +1 -0
- package/dist/components/line-chart/line-chart.d.ts +37 -0
- package/dist/components/line-chart/line-chart.d.ts.map +1 -0
- package/dist/components/line-chart/line-chart.js +271 -0
- package/dist/components/line-chart/line-chart.js.map +1 -0
- package/dist/components/list/list-item.d.ts +45 -0
- package/dist/components/list/list-item.d.ts.map +1 -0
- package/dist/components/list/list-item.js +263 -0
- package/dist/components/list/list-item.js.map +1 -0
- package/dist/components/list/list.d.ts +50 -0
- package/dist/components/list/list.d.ts.map +1 -0
- package/dist/components/list/list.js +161 -0
- package/dist/components/list/list.js.map +1 -0
- package/dist/components/logo-cloud/logo-cloud.d.ts +19 -0
- package/dist/components/logo-cloud/logo-cloud.d.ts.map +1 -0
- package/dist/components/logo-cloud/logo-cloud.js +66 -0
- package/dist/components/logo-cloud/logo-cloud.js.map +1 -0
- package/dist/components/modal/modal.d.ts +12 -0
- package/dist/components/modal/modal.d.ts.map +1 -1
- package/dist/components/modal/modal.js +40 -11
- package/dist/components/modal/modal.js.map +1 -1
- package/dist/components/page-layout/page-layout.js +8 -8
- package/dist/components/pagination/pagination.d.ts +15 -0
- package/dist/components/pagination/pagination.d.ts.map +1 -0
- package/dist/components/pagination/pagination.js +126 -0
- package/dist/components/pagination/pagination.js.map +1 -0
- package/dist/components/pagination/pagination.utils.d.ts +3 -0
- package/dist/components/pagination/pagination.utils.d.ts.map +1 -0
- package/dist/components/pagination/pagination.utils.js +19 -0
- package/dist/components/pagination/pagination.utils.js.map +1 -0
- package/dist/components/pie-chart/pie-chart.d.ts +33 -0
- package/dist/components/pie-chart/pie-chart.d.ts.map +1 -0
- package/dist/components/pie-chart/pie-chart.js +233 -0
- package/dist/components/pie-chart/pie-chart.js.map +1 -0
- package/dist/components/pin-input/pin-input.js +4 -4
- package/dist/components/popover/popover.d.ts.map +1 -1
- package/dist/components/popover/popover.js +1 -3
- package/dist/components/popover/popover.js.map +1 -1
- package/dist/components/post-list/post-card.d.ts +16 -0
- package/dist/components/post-list/post-card.d.ts.map +1 -0
- package/dist/components/post-list/post-card.js +22 -0
- package/dist/components/post-list/post-card.js.map +1 -0
- package/dist/components/post-list/post-list.d.ts +17 -0
- package/dist/components/post-list/post-list.d.ts.map +1 -0
- package/dist/components/post-list/post-list.js +23 -0
- package/dist/components/post-list/post-list.js.map +1 -0
- package/dist/components/pricing/pricing-tier.d.ts +23 -0
- package/dist/components/pricing/pricing-tier.d.ts.map +1 -0
- package/dist/components/pricing/pricing-tier.js +144 -0
- package/dist/components/pricing/pricing-tier.js.map +1 -0
- package/dist/components/pricing/pricing.d.ts +18 -0
- package/dist/components/pricing/pricing.d.ts.map +1 -0
- package/dist/components/pricing/pricing.js +38 -0
- package/dist/components/pricing/pricing.js.map +1 -0
- package/dist/components/progress/progress.d.ts +17 -0
- package/dist/components/progress/progress.d.ts.map +1 -0
- package/dist/components/progress/progress.js +109 -0
- package/dist/components/progress/progress.js.map +1 -0
- package/dist/components/project-grid/project-card.d.ts +17 -0
- package/dist/components/project-grid/project-card.d.ts.map +1 -0
- package/dist/components/project-grid/project-card.js +23 -0
- package/dist/components/project-grid/project-card.js.map +1 -0
- package/dist/components/project-grid/project-grid.d.ts +17 -0
- package/dist/components/project-grid/project-grid.d.ts.map +1 -0
- package/dist/components/project-grid/project-grid.js +23 -0
- package/dist/components/project-grid/project-grid.js.map +1 -0
- package/dist/components/radio/radio.js +1 -1
- package/dist/components/reveal/reveal.constants.d.ts +10 -0
- package/dist/components/reveal/reveal.constants.d.ts.map +1 -0
- package/dist/components/reveal/reveal.constants.js +11 -0
- package/dist/components/reveal/reveal.constants.js.map +1 -0
- package/dist/components/reveal/reveal.d.ts +64 -0
- package/dist/components/reveal/reveal.d.ts.map +1 -0
- package/dist/components/reveal/reveal.js +352 -0
- package/dist/components/reveal/reveal.js.map +1 -0
- package/dist/components/scroll-progress/scroll-progress.d.ts +32 -0
- package/dist/components/scroll-progress/scroll-progress.d.ts.map +1 -0
- package/dist/components/scroll-progress/scroll-progress.js +120 -0
- package/dist/components/scroll-progress/scroll-progress.js.map +1 -0
- package/dist/components/section/card-row.d.ts +30 -0
- package/dist/components/section/card-row.d.ts.map +1 -0
- package/dist/components/section/card-row.js +174 -0
- package/dist/components/section/card-row.js.map +1 -0
- package/dist/components/section/card.d.ts +27 -0
- package/dist/components/section/card.d.ts.map +1 -0
- package/dist/components/section/card.js +205 -0
- package/dist/components/section/card.js.map +1 -0
- package/dist/components/section/row-item.d.ts +22 -0
- package/dist/components/section/row-item.d.ts.map +1 -0
- package/dist/components/section/row-item.js +53 -0
- package/dist/components/section/row-item.js.map +1 -0
- package/dist/components/section/section.d.ts +70 -0
- package/dist/components/section/section.d.ts.map +1 -0
- package/dist/components/section/section.js +240 -0
- package/dist/components/section/section.js.map +1 -0
- package/dist/components/select/select.js +3 -3
- package/dist/components/series-nav/series-nav.d.ts +29 -0
- package/dist/components/series-nav/series-nav.d.ts.map +1 -0
- package/dist/components/series-nav/series-nav.js +178 -0
- package/dist/components/series-nav/series-nav.js.map +1 -0
- package/dist/components/site-header/site-header.d.ts +51 -0
- package/dist/components/site-header/site-header.d.ts.map +1 -0
- package/dist/components/site-header/site-header.js +296 -0
- package/dist/components/site-header/site-header.js.map +1 -0
- package/dist/components/skeleton/skeleton.js +7 -7
- package/dist/components/sparkline/sparkline.d.ts +19 -0
- package/dist/components/sparkline/sparkline.d.ts.map +1 -0
- package/dist/components/sparkline/sparkline.js +99 -0
- package/dist/components/sparkline/sparkline.js.map +1 -0
- package/dist/components/spinner/spinner.d.ts +13 -0
- package/dist/components/spinner/spinner.d.ts.map +1 -0
- package/dist/components/spinner/spinner.js +65 -0
- package/dist/components/spinner/spinner.js.map +1 -0
- package/dist/components/split/split.d.ts +23 -0
- package/dist/components/split/split.d.ts.map +1 -0
- package/dist/components/split/split.js +104 -0
- package/dist/components/split/split.js.map +1 -0
- package/dist/components/stack/stack.d.ts +21 -0
- package/dist/components/stack/stack.d.ts.map +1 -0
- package/dist/components/stack/stack.js +102 -0
- package/dist/components/stack/stack.js.map +1 -0
- package/dist/components/stat-card/stat-card.d.ts +35 -0
- package/dist/components/stat-card/stat-card.d.ts.map +1 -0
- package/dist/components/stat-card/stat-card.js +199 -0
- package/dist/components/stat-card/stat-card.js.map +1 -0
- package/dist/components/stats/stat.d.ts +16 -0
- package/dist/components/stats/stat.d.ts.map +1 -0
- package/dist/components/stats/stat.js +51 -0
- package/dist/components/stats/stat.js.map +1 -0
- package/dist/components/stats/stats.d.ts +19 -0
- package/dist/components/stats/stats.d.ts.map +1 -0
- package/dist/components/stats/stats.js +45 -0
- package/dist/components/stats/stats.js.map +1 -0
- package/dist/components/switch/switch.js +2 -2
- package/dist/components/table/data-table.d.ts +115 -27
- package/dist/components/table/data-table.d.ts.map +1 -1
- package/dist/components/table/data-table.js +1012 -411
- package/dist/components/table/data-table.js.map +1 -1
- package/dist/components/table/data-table.utils.d.ts +81 -0
- package/dist/components/table/data-table.utils.d.ts.map +1 -0
- package/dist/components/table/data-table.utils.js +208 -0
- package/dist/components/table/data-table.utils.js.map +1 -0
- package/dist/components/table/table.d.ts +28 -0
- package/dist/components/table/table.d.ts.map +1 -1
- package/dist/components/table/table.js +161 -33
- package/dist/components/table/table.js.map +1 -1
- package/dist/components/team/person.d.ts +19 -0
- package/dist/components/team/person.d.ts.map +1 -0
- package/dist/components/team/person.js +123 -0
- package/dist/components/team/person.js.map +1 -0
- package/dist/components/team/team.d.ts +18 -0
- package/dist/components/team/team.d.ts.map +1 -0
- package/dist/components/team/team.js +36 -0
- package/dist/components/team/team.js.map +1 -0
- package/dist/components/testimonials/testimonial.d.ts +18 -0
- package/dist/components/testimonials/testimonial.d.ts.map +1 -0
- package/dist/components/testimonials/testimonial.js +115 -0
- package/dist/components/testimonials/testimonial.js.map +1 -0
- package/dist/components/testimonials/testimonials.d.ts +18 -0
- package/dist/components/testimonials/testimonials.d.ts.map +1 -0
- package/dist/components/testimonials/testimonials.js +36 -0
- package/dist/components/testimonials/testimonials.js.map +1 -0
- package/dist/components/textarea/textarea.js +3 -3
- package/dist/components/theme-toggle/theme-toggle.js +1 -1
- package/dist/components/time-picker/time-picker.d.ts.map +1 -1
- package/dist/components/time-picker/time-picker.js +13 -3
- package/dist/components/time-picker/time-picker.js.map +1 -1
- package/dist/components/timeline/timeline-item.d.ts +18 -0
- package/dist/components/timeline/timeline-item.d.ts.map +1 -0
- package/dist/components/timeline/timeline-item.js +102 -0
- package/dist/components/timeline/timeline-item.js.map +1 -0
- package/dist/components/timeline/timeline.d.ts +18 -0
- package/dist/components/timeline/timeline.d.ts.map +1 -0
- package/dist/components/timeline/timeline.js +30 -0
- package/dist/components/timeline/timeline.js.map +1 -0
- package/dist/components/toast/toast.d.ts +33 -0
- package/dist/components/toast/toast.d.ts.map +1 -0
- package/dist/components/toast/toast.js +147 -0
- package/dist/components/toast/toast.js.map +1 -0
- package/dist/components/toggle-group/toggle-button.d.ts +2 -0
- package/dist/components/toggle-group/toggle-button.d.ts.map +1 -1
- package/dist/components/toggle-group/toggle-button.js +12 -5
- package/dist/components/toggle-group/toggle-button.js.map +1 -1
- package/dist/components/toggle-group/toggle-group.d.ts +6 -0
- package/dist/components/toggle-group/toggle-group.d.ts.map +1 -1
- package/dist/components/toggle-group/toggle-group.js +141 -21
- package/dist/components/toggle-group/toggle-group.js.map +1 -1
- package/dist/components/tooltip/tooltip.js +21 -21
- package/dist/components/vertical-nav/vertical-nav-group.js +3 -3
- package/dist/components/vertical-nav/vertical-nav-item.js +4 -4
- package/dist/components/video-embed/video-embed.d.ts +37 -0
- package/dist/components/video-embed/video-embed.d.ts.map +1 -0
- package/dist/components/video-embed/video-embed.js +183 -0
- package/dist/components/video-embed/video-embed.js.map +1 -0
- package/dist/index.d.ts +107 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +104 -0
- package/dist/index.js.map +1 -0
- package/dist/styles/index.css +205 -1
- package/dist/styles/reset.d.ts.map +1 -1
- package/dist/styles/reset.js +5 -0
- package/dist/styles/reset.js.map +1 -1
- package/package.json +214 -7
- package/src/components/accordion/accordion.constants.ts +5 -0
- package/src/components/accordion/accordion.ts +209 -0
- package/src/components/alert/alert.constants.ts +3 -0
- package/src/components/alert/alert.ts +284 -17
- package/src/components/avatar/avatar.ts +84 -0
- package/src/components/back-to-top/back-to-top.ts +140 -0
- package/src/components/bar-chart/bar-chart.ts +295 -0
- package/src/components/breadcrumb/breadcrumb.ts +2 -2
- package/src/components/button/button.ts +9 -8
- package/src/components/button-group/button-group.ts +4 -4
- package/src/components/calendar/calendar.ts +26 -9
- package/src/components/chart/chart-base.ts +275 -0
- package/src/components/chart/chart.utils.ts +140 -0
- package/src/components/code-block/code-block.ts +35 -24
- package/src/components/consent/consent.ts +312 -0
- package/src/components/consent/consent.utils.ts +110 -0
- package/src/components/contact/contact.ts +83 -0
- package/src/components/container/container.ts +60 -0
- package/src/components/content-card/content-card.ts +4 -4
- package/src/components/context-menu/context-menu.ts +426 -0
- package/src/components/cron-builder/cron-builder.ts +102 -22
- package/src/components/cta/cta.ts +64 -0
- package/src/components/drawer/drawer.ts +6 -6
- package/src/components/faq/faq-item.ts +110 -0
- package/src/components/faq/faq.ts +40 -0
- package/src/components/feature-grid/feature-grid.ts +52 -0
- package/src/components/feature-grid/feature.ts +84 -0
- package/src/components/field/field.ts +2 -2
- package/src/components/footer/footer.ts +4 -4
- package/src/components/form/form-reset.ts +45 -0
- package/src/components/form/form.ts +17 -3
- package/src/components/grid/grid.ts +73 -4
- package/src/components/heat-map/heat-map.ts +292 -0
- package/src/components/hero/hero.ts +132 -0
- package/src/components/icon/icon-paths.ts +92 -1
- package/src/components/icon/icon.ts +8 -1
- package/src/components/image/image.ts +165 -0
- package/src/components/input/input.ts +4 -4
- package/src/components/lazy/lazy.ts +94 -0
- package/src/components/line-chart/line-chart.ts +271 -0
- package/src/components/list/list-item.ts +225 -0
- package/src/components/list/list.ts +157 -0
- package/src/components/logo-cloud/logo-cloud.ts +65 -0
- package/src/components/modal/modal.ts +37 -11
- package/src/components/page-layout/page-layout.ts +8 -8
- package/src/components/pagination/pagination.ts +120 -0
- package/src/components/pagination/pagination.utils.ts +14 -0
- package/src/components/pie-chart/pie-chart.ts +230 -0
- package/src/components/pin-input/pin-input.ts +4 -4
- package/src/components/popover/popover.ts +1 -3
- package/src/components/post-list/post-card.ts +18 -0
- package/src/components/post-list/post-list.ts +19 -0
- package/src/components/pricing/pricing-tier.ts +132 -0
- package/src/components/pricing/pricing.ts +39 -0
- package/src/components/progress/progress.ts +95 -0
- package/src/components/project-grid/project-card.ts +19 -0
- package/src/components/project-grid/project-grid.ts +19 -0
- package/src/components/radio/radio.ts +1 -1
- package/src/components/reveal/reveal.constants.ts +20 -0
- package/src/components/reveal/reveal.ts +344 -0
- package/src/components/scroll-progress/scroll-progress.ts +119 -0
- package/src/components/section/card-row.ts +152 -0
- package/src/components/section/card.ts +197 -0
- package/src/components/section/row-item.ts +38 -0
- package/src/components/section/section.ts +232 -0
- package/src/components/select/select.ts +3 -3
- package/src/components/series-nav/series-nav.ts +164 -0
- package/src/components/site-header/site-header.ts +276 -0
- package/src/components/skeleton/skeleton.ts +7 -7
- package/src/components/sparkline/sparkline.ts +83 -0
- package/src/components/spinner/spinner.ts +55 -0
- package/src/components/split/split.ts +106 -0
- package/src/components/stack/stack.ts +88 -0
- package/src/components/stat-card/stat-card.ts +179 -0
- package/src/components/stats/stat.ts +49 -0
- package/src/components/stats/stats.ts +47 -0
- package/src/components/switch/switch.ts +2 -2
- package/src/components/table/data-table.ts +1015 -425
- package/src/components/table/data-table.utils.ts +276 -0
- package/src/components/table/table.ts +168 -38
- package/src/components/team/person.ts +113 -0
- package/src/components/team/team.ts +37 -0
- package/src/components/testimonials/testimonial.ts +108 -0
- package/src/components/testimonials/testimonials.ts +37 -0
- package/src/components/textarea/textarea.ts +3 -3
- package/src/components/theme-toggle/theme-toggle.ts +1 -1
- package/src/components/time-picker/time-picker.ts +17 -3
- package/src/components/timeline/timeline-item.ts +100 -0
- package/src/components/timeline/timeline.ts +31 -0
- package/src/components/toast/toast.ts +153 -0
- package/src/components/toggle-group/toggle-button.ts +9 -5
- package/src/components/toggle-group/toggle-group.ts +158 -42
- package/src/components/tooltip/tooltip.ts +21 -21
- package/src/components/vertical-nav/vertical-nav-group.ts +3 -3
- package/src/components/vertical-nav/vertical-nav-item.ts +4 -4
- package/src/components/video-embed/video-embed.ts +162 -0
- package/src/index.ts +108 -0
- package/src/styles/globals.css +63 -0
- package/src/styles/index.css +3 -1
- package/src/styles/prose.css +154 -0
- package/src/styles/reset.ts +5 -0
- package/src/styles/theme.css +53 -0
- package/src/styles/typography.css +1 -0
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
import { svg } from "lit";
|
|
2
|
+
/**
|
|
3
|
+
* Stroke-based icon builder. The shared <st-icon> wrapper applies fill + stroke to every
|
|
4
|
+
* path, so line icons reset the fill and use a bold, round stroke on the 640 grid.
|
|
5
|
+
*/
|
|
6
|
+
const line = (body) => svg `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><g fill="none" stroke="currentColor" stroke-width="48" stroke-linecap="round" stroke-linejoin="round">${body}</g></svg>`;
|
|
2
7
|
export const iconPaths = {
|
|
3
8
|
"angles-down": {
|
|
4
9
|
classic: svg `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Free v7.3.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2026 Fonticons, Inc.--><path d="M342.6 534.6C330.1 547.1 309.8 547.1 297.3 534.6L137.3 374.6C124.8 362.1 124.8 341.8 137.3 329.3C149.8 316.8 170.1 316.8 182.6 329.3L320 466.7L457.4 329.4C469.9 316.9 490.2 316.9 502.7 329.4C515.2 341.9 515.2 362.2 502.7 374.7L342.7 534.7zM502.6 182.6L342.6 342.6C330.1 355.1 309.8 355.1 297.3 342.6L137.3 182.6C124.8 170.1 124.8 149.8 137.3 137.3C149.8 124.8 170.1 124.8 182.6 137.3L320 274.7L457.4 137.4C469.9 124.9 490.2 124.9 502.7 137.4C515.2 149.9 515.2 170.2 502.7 182.7z"/></svg>`
|
|
@@ -202,6 +207,90 @@ export const iconPaths = {
|
|
|
202
207
|
},
|
|
203
208
|
"wrench": {
|
|
204
209
|
classic: svg `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 640"><!--!Font Awesome Free v7.3.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2026 Fonticons, Inc.--><path d="M541.4 162.6C549 155 561.7 156.9 565.5 166.9C572.3 184.6 576 203.9 576 224C576 312.4 504.4 384 416 384C398.5 384 381.6 381.2 365.8 376L178.9 562.9C150.8 591 105.2 591 77.1 562.9C49 534.8 49 489.2 77.1 461.1L264 274.2C258.8 258.4 256 241.6 256 224C256 135.6 327.6 64 416 64C436.1 64 455.4 67.7 473.1 74.5C483.1 78.3 484.9 91 477.4 98.6L388.7 187.3C385.7 190.3 384 194.4 384 198.6L384 240C384 248.8 391.2 256 400 256L441.4 256C445.6 256 449.7 254.3 452.7 251.3L541.4 162.6z"/></svg>`
|
|
210
|
+
},
|
|
211
|
+
"x": {
|
|
212
|
+
classic: line(svg `<path d="M160 160L480 480M480 160L160 480"/>`)
|
|
213
|
+
},
|
|
214
|
+
"check": {
|
|
215
|
+
classic: line(svg `<path d="M128 336L256 464L512 192"/>`)
|
|
216
|
+
},
|
|
217
|
+
"search": {
|
|
218
|
+
classic: line(svg `<circle cx="280" cy="280" r="176"/><path d="M410 410L530 530"/>`)
|
|
219
|
+
},
|
|
220
|
+
"eye": {
|
|
221
|
+
classic: line(svg `<path d="M64 320C128 200 220 144 320 144C420 144 512 200 576 320C512 440 420 496 320 496C220 496 128 440 64 320Z"/><circle cx="320" cy="320" r="72"/>`)
|
|
222
|
+
},
|
|
223
|
+
"eye-slash": {
|
|
224
|
+
classic: line(svg `<path d="M64 320C128 200 220 144 320 144C420 144 512 200 576 320C512 440 420 496 320 496C220 496 128 440 64 320Z"/><circle cx="320" cy="320" r="72"/><path d="M120 120L520 520"/>`)
|
|
225
|
+
},
|
|
226
|
+
"copy": {
|
|
227
|
+
classic: line(svg `<rect x="216" y="216" width="320" height="320" rx="48"/><path d="M424 216V152A48 48 0 0 0 376 104H152A48 48 0 0 0 104 152V376A48 48 0 0 0 152 424H216"/>`)
|
|
228
|
+
},
|
|
229
|
+
"menu": {
|
|
230
|
+
classic: line(svg `<path d="M112 176H528M112 320H528M112 464H528"/>`)
|
|
231
|
+
},
|
|
232
|
+
"ellipsis": {
|
|
233
|
+
classic: line(svg `<path d="M144 320h.01M320 320h.01M496 320h.01"/>`)
|
|
234
|
+
},
|
|
235
|
+
"filter": {
|
|
236
|
+
classic: line(svg `<path d="M96 128H544L360 336V496L280 544V336Z"/>`)
|
|
237
|
+
},
|
|
238
|
+
"sort-up": {
|
|
239
|
+
classic: line(svg `<path d="M152 512V128M72 208L152 128L232 208M312 160H408M312 288H472M312 416H536"/>`)
|
|
240
|
+
},
|
|
241
|
+
"sort-down": {
|
|
242
|
+
classic: line(svg `<path d="M152 128V512M72 432L152 512L232 432M312 160H536M312 288H472M312 416H408"/>`)
|
|
243
|
+
},
|
|
244
|
+
"sliders": {
|
|
245
|
+
classic: line(svg `<path d="M96 160H544M96 320H544M96 480H544"/><circle cx="224" cy="160" r="48"/><circle cx="416" cy="320" r="48"/><circle cx="288" cy="480" r="48"/>`)
|
|
246
|
+
},
|
|
247
|
+
"calendar-clock": {
|
|
248
|
+
classic: line(svg `<rect x="80" y="112" width="400" height="400" rx="48"/><path d="M80 240H480M184 64V160M376 64V160"/><circle cx="480" cy="456" r="104"/><path d="M480 408V456L512 480"/>`)
|
|
249
|
+
},
|
|
250
|
+
"user": {
|
|
251
|
+
classic: line(svg `<circle cx="320" cy="208" r="96"/><path d="M112 544C112 430 204 352 320 352C436 352 528 430 528 544"/>`)
|
|
252
|
+
},
|
|
253
|
+
"lock": {
|
|
254
|
+
classic: line(svg `<rect x="128" y="288" width="384" height="256" rx="48"/><path d="M208 288V208A112 112 0 0 1 432 208V288M320 400V448"/>`)
|
|
255
|
+
},
|
|
256
|
+
"link": {
|
|
257
|
+
classic: line(svg `<path d="M272 368A96 96 0 0 0 408 368L520 256A96 96 0 0 0 384 120L352 152M368 272A96 96 0 0 0 232 272L120 384A96 96 0 0 0 256 520L288 488"/>`)
|
|
258
|
+
},
|
|
259
|
+
"external-link": {
|
|
260
|
+
classic: line(svg `<path d="M320 128H176A48 48 0 0 0 128 176V464A48 48 0 0 0 176 512H464A48 48 0 0 0 512 464V320M384 96H544V256M544 96L288 352"/>`)
|
|
261
|
+
},
|
|
262
|
+
"bell": {
|
|
263
|
+
classic: line(svg `<path d="M160 448H480C432 400 432 336 432 272A112 112 0 0 0 208 272C208 336 208 400 160 448ZM276 512A48 48 0 0 0 364 512"/>`)
|
|
264
|
+
},
|
|
265
|
+
"server": {
|
|
266
|
+
classic: line(svg `<rect x="96" y="96" width="448" height="176" rx="40"/><rect x="96" y="368" width="448" height="176" rx="40"/><path d="M192 184h.01M192 456h.01"/>`)
|
|
267
|
+
},
|
|
268
|
+
"hard-drive": {
|
|
269
|
+
classic: line(svg `<path d="M96 352L168 160H472L544 352V448A32 32 0 0 1 512 480H128A32 32 0 0 1 96 448ZM96 352H544M456 416h.01"/>`)
|
|
270
|
+
},
|
|
271
|
+
"monitor": {
|
|
272
|
+
classic: line(svg `<rect x="64" y="96" width="512" height="340" rx="40"/><path d="M320 436V540M200 544H440"/>`)
|
|
273
|
+
},
|
|
274
|
+
"loader": {
|
|
275
|
+
classic: line(svg `<path d="M320 96V176M320 464V544M96 320H176M464 320H544M161 161L218 218M422 422L479 479M161 479L218 422M422 218L479 161"/>`)
|
|
276
|
+
},
|
|
277
|
+
"cpu": {
|
|
278
|
+
classic: line(svg `<rect x="160" y="160" width="320" height="320" rx="32"/><rect x="256" y="256" width="128" height="128"/><path d="M256 64V160M384 64V160M256 480V576M384 480V576M64 256H160M64 384H160M480 256H576M480 384H576"/>`)
|
|
279
|
+
},
|
|
280
|
+
"box": {
|
|
281
|
+
classic: line(svg `<path d="M320 64L544 176V400L320 512L96 400V176ZM96 176L320 288L544 176M320 288V512"/>`)
|
|
282
|
+
},
|
|
283
|
+
"minus": {
|
|
284
|
+
classic: line(svg `<path d="M128 320H512"/>`)
|
|
285
|
+
},
|
|
286
|
+
"table": {
|
|
287
|
+
classic: line(svg `<rect x="80" y="112" width="480" height="416" rx="40"/><path d="M80 232H560M80 352H560M240 232V528"/>`)
|
|
288
|
+
},
|
|
289
|
+
"grid": {
|
|
290
|
+
classic: line(svg `<rect x="96" y="96" width="176" height="176" rx="32"/><rect x="368" y="96" width="176" height="176" rx="32"/><rect x="96" y="368" width="176" height="176" rx="32"/><rect x="368" y="368" width="176" height="176" rx="32"/>`)
|
|
291
|
+
},
|
|
292
|
+
"list": {
|
|
293
|
+
classic: line(svg `<path d="M112 160h.01M112 320h.01M112 480h.01M232 160H544M232 320H544M232 480H544"/>`)
|
|
205
294
|
}
|
|
206
295
|
};
|
|
207
296
|
//# sourceMappingURL=icon-paths.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon-paths.js","sourceRoot":"","sources":["../../../src/components/icon/icon-paths.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,GAAG,
|
|
1
|
+
{"version":3,"file":"icon-paths.js","sourceRoot":"","sources":["../../../src/components/icon/icon-paths.ts"],"names":[],"mappings":"AA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ACT,OAAO,EAAE,IAAI,CAAC,GAAG,CAAA,4FAA4F,CAAC;KAC/G;IACD,QAAQ,EAAE;QACR,OAAO,EAAE,IAAI,CAAC,GAAG,CAAA,4HAA4H,CAAC;KAC/I;IACD,KAAK,EAAE;QACL,OAAO,EAAE,IAAI,CAAC,GAAG,CAAA,kNAAkN,CAAC;KACrO;IACD,KAAK,EAAE;QACL,OAAO,EAAE,IAAI,CAAC,GAAG,CAAA,wFAAwF,CAAC;KAC3G;IACD,OAAO,EAAE;QACP,OAAO,EAAE,IAAI,CAAC,GAAG,CAAA,0BAA0B,CAAC;KAC7C;IACD,OAAO,EAAE;QACP,OAAO,EAAE,IAAI,CAAC,GAAG,CAAA,uGAAuG,CAAC;KAC1H;IACD,MAAM,EAAE;QACN,OAAO,EAAE,IAAI,CAAC,GAAG,CAAA,8NAA8N,CAAC;KACjP;IACD,MAAM,EAAE;QACN,OAAO,EAAE,IAAI,CAAC,GAAG,CAAA,sFAAsF,CAAC;KACzG;CACF,CAAC"}
|
|
@@ -4,6 +4,8 @@ export type IconVariant = 'classic' | 'thin';
|
|
|
4
4
|
export declare class StIcon extends LitElement {
|
|
5
5
|
name: IconName | string;
|
|
6
6
|
variant: IconVariant;
|
|
7
|
+
/** Accessible name. When omitted the icon is decorative and hidden from assistive tech. */
|
|
8
|
+
label: string;
|
|
7
9
|
color: 'default' | 'primary' | 'secondary' | 'success' | 'warning' | 'error' | 'info';
|
|
8
10
|
size: 'sm' | 'md' | 'lg' | 'xl';
|
|
9
11
|
static styles: import("lit").CSSResult[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon.d.ts","sourceRoot":"","sources":["../../../src/components/icon/icon.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"icon.d.ts","sourceRoot":"","sources":["../../../src/components/icon/icon.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAa,MAAM,KAAK,CAAC;AAG5C,OAAO,EAAa,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAGtD,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG,MAAM,CAAC;AAE7C,qBACa,MAAO,SAAQ,UAAU;IACR,IAAI,EAAE,QAAQ,GAAG,MAAM,CAAM;IAC7B,OAAO,EAAE,WAAW,CAAa;IAE7D,2FAA2F;IAC/D,KAAK,SAAM;IAGI,KAAK,EAAE,SAAS,GAAG,SAAS,GAAG,WAAW,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,CAAa;IAGlG,IAAI,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAQ;IAElF,MAAM,CAAC,MAAM,4BAsCX;IAEF,MAAM,yCAsBL;CACF;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,SAAS,EAAE,MAAM,CAAC;KACnB;CACF"}
|
|
@@ -5,6 +5,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
5
5
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
6
|
};
|
|
7
7
|
import { LitElement, html, css } from 'lit';
|
|
8
|
+
import { ifDefined } from 'lit/directives/if-defined.js';
|
|
8
9
|
import { customElement, property } from 'lit/decorators.js';
|
|
9
10
|
import { iconPaths } from './icon-paths.js';
|
|
10
11
|
import { resetStyles } from '../../styles/reset.js';
|
|
@@ -13,6 +14,8 @@ let StIcon = class StIcon extends LitElement {
|
|
|
13
14
|
super(...arguments);
|
|
14
15
|
this.name = '';
|
|
15
16
|
this.variant = 'classic';
|
|
17
|
+
/** Accessible name. When omitted the icon is decorative and hidden from assistive tech. */
|
|
18
|
+
this.label = '';
|
|
16
19
|
// Semantic Colors
|
|
17
20
|
this.color = 'default';
|
|
18
21
|
// Standardized T-Shirt Sizes
|
|
@@ -25,7 +28,10 @@ let StIcon = class StIcon extends LitElement {
|
|
|
25
28
|
const pathData = iconData[this.variant] || iconData.classic;
|
|
26
29
|
return html `
|
|
27
30
|
<svg
|
|
28
|
-
viewBox="0 0 24 24"
|
|
31
|
+
viewBox="0 0 24 24"
|
|
32
|
+
role=${this.label ? 'img' : 'presentation'}
|
|
33
|
+
aria-label=${ifDefined(this.label || undefined)}
|
|
34
|
+
aria-hidden=${this.label ? 'false' : 'true'}
|
|
29
35
|
xmlns="http://www.w3.org/2000/svg"
|
|
30
36
|
fill="currentColor"
|
|
31
37
|
stroke="currentColor"
|
|
@@ -83,6 +89,9 @@ __decorate([
|
|
|
83
89
|
__decorate([
|
|
84
90
|
property({ type: String })
|
|
85
91
|
], StIcon.prototype, "variant", void 0);
|
|
92
|
+
__decorate([
|
|
93
|
+
property({ type: String })
|
|
94
|
+
], StIcon.prototype, "label", void 0);
|
|
86
95
|
__decorate([
|
|
87
96
|
property({ type: String, reflect: true })
|
|
88
97
|
], StIcon.prototype, "color", void 0);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon.js","sourceRoot":"","sources":["../../../src/components/icon/icon.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC5C,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAY,MAAM,iBAAiB,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAK7C,IAAM,MAAM,GAAZ,MAAM,MAAO,SAAQ,UAAU;IAA/B;;QACuB,SAAI,GAAsB,EAAE,CAAC;QAC7B,YAAO,GAAgB,SAAS,CAAC;QAE7D,kBAAkB;QACyB,UAAK,GAAmF,SAAS,CAAC;QAE7I,6BAA6B;QACc,SAAI,GAA8B,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"icon.js","sourceRoot":"","sources":["../../../src/components/icon/icon.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,E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;;;;;;;;;;;;;;;;;;;;;KAmCF;CACF,AAtCY,CAsCX;AAlD0B;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;oCAA8B;AAC7B;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;uCAAkC;AAGjC;IAA3B,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC;qCAAY;AAGI;IAA1C,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;qCAAmG;AAGlG;IAA1C,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,CAAC;oCAAwC;AAXvE,MAAM;IADlB,aAAa,CAAC,SAAS,CAAC;GACZ,MAAM,CA4ElB"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { LitElement } from "lit";
|
|
2
|
+
/**
|
|
3
|
+
* A responsive image frame. Slot a normal `<img>` (or `<picture>`) so the alt text, `srcset`
|
|
4
|
+
* and `sizes` stay in your markup for search engines and screen readers. The frame reserves the
|
|
5
|
+
* space with `ratio` so the page never jumps, lazy loads the image, and fades it in.
|
|
6
|
+
*
|
|
7
|
+
* Slots: default (the `<img>` or `<picture>`) and `caption`.
|
|
8
|
+
* Mark the first image on the page (the one visitors see immediately) with `priority`.
|
|
9
|
+
*/
|
|
10
|
+
export declare class StImage extends LitElement {
|
|
11
|
+
/** Width / height of the frame, such as "16/9" or "1". Leave empty to use the image's own shape. */
|
|
12
|
+
ratio: string;
|
|
13
|
+
fit: "cover" | "contain";
|
|
14
|
+
/** Shown while the image loads: a CSS colour, or a tiny image URL that is drawn blurred. */
|
|
15
|
+
placeholder: string;
|
|
16
|
+
/** Loads straight away at high priority. Use it for the main image above the fold. */
|
|
17
|
+
priority: boolean;
|
|
18
|
+
private _hasCaption;
|
|
19
|
+
private _image?;
|
|
20
|
+
static styles: import("lit").CSSResult[];
|
|
21
|
+
protected updated(): void;
|
|
22
|
+
private _onSlotChange;
|
|
23
|
+
private _applyToImage;
|
|
24
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
25
|
+
}
|
|
26
|
+
declare global {
|
|
27
|
+
interface HTMLElementTagNameMap {
|
|
28
|
+
"st-image": StImage;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=image.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"image.d.ts","sourceRoot":"","sources":["../../../src/components/image/image.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAqB,MAAM,KAAK,CAAC;AAQnD;;;;;;;GAOG;AACH,qBACa,OAAQ,SAAQ,UAAU;IACrC,oGAAoG;IAC1E,KAAK,SAAM;IACI,GAAG,EAAE,OAAO,GAAG,SAAS,CAAW;IAC5E,4FAA4F;IAClE,WAAW,SAAM;IAC3C,sFAAsF;IAC3D,QAAQ,UAAS;IAEnC,OAAO,CAAC,WAAW,CAAS;IAErC,OAAO,CAAC,MAAM,CAAC,CAAmB;IAElC,MAAM,CAAC,MAAM,4BA+DX;IAEF,SAAS,CAAC,OAAO,SAShB;IAED,OAAO,CAAC,aAAa;IAQrB,OAAO,CAAC,aAAa;IAyBrB,MAAM,yCAkBL;CACF;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,UAAU,EAAE,OAAO,CAAC;KACrB;CACF"}
|
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import { LitElement, html, css, nothing } from "lit";
|
|
8
|
+
import { customElement, property, state } from "lit/decorators.js";
|
|
9
|
+
import { styleMap } from "lit/directives/style-map.js";
|
|
10
|
+
import { resetStyles } from "../../styles/reset.js";
|
|
11
|
+
/** Anything that looks like a URL is drawn as a blurred image, anything else as a plain colour. */
|
|
12
|
+
const isUrl = (value) => /^(data:|https?:|\/|\.)/.test(value);
|
|
13
|
+
/**
|
|
14
|
+
* A responsive image frame. Slot a normal `<img>` (or `<picture>`) so the alt text, `srcset`
|
|
15
|
+
* and `sizes` stay in your markup for search engines and screen readers. The frame reserves the
|
|
16
|
+
* space with `ratio` so the page never jumps, lazy loads the image, and fades it in.
|
|
17
|
+
*
|
|
18
|
+
* Slots: default (the `<img>` or `<picture>`) and `caption`.
|
|
19
|
+
* Mark the first image on the page (the one visitors see immediately) with `priority`.
|
|
20
|
+
*/
|
|
21
|
+
let StImage = class StImage extends LitElement {
|
|
22
|
+
constructor() {
|
|
23
|
+
super(...arguments);
|
|
24
|
+
/** Width / height of the frame, such as "16/9" or "1". Leave empty to use the image's own shape. */
|
|
25
|
+
this.ratio = "";
|
|
26
|
+
this.fit = "cover";
|
|
27
|
+
/** Shown while the image loads: a CSS colour, or a tiny image URL that is drawn blurred. */
|
|
28
|
+
this.placeholder = "";
|
|
29
|
+
/** Loads straight away at high priority. Use it for the main image above the fold. */
|
|
30
|
+
this.priority = false;
|
|
31
|
+
this._hasCaption = false;
|
|
32
|
+
}
|
|
33
|
+
updated() {
|
|
34
|
+
if (this.ratio)
|
|
35
|
+
this.style.setProperty("--_ratio", this.ratio);
|
|
36
|
+
else
|
|
37
|
+
this.style.removeProperty("--_ratio");
|
|
38
|
+
const colour = this.placeholder && !isUrl(this.placeholder) ? this.placeholder : "";
|
|
39
|
+
if (colour)
|
|
40
|
+
this.style.setProperty("--_placeholder-color", colour);
|
|
41
|
+
else
|
|
42
|
+
this.style.removeProperty("--_placeholder-color");
|
|
43
|
+
this._applyToImage();
|
|
44
|
+
}
|
|
45
|
+
_onSlotChange(e) {
|
|
46
|
+
const slotted = e.target.assignedElements();
|
|
47
|
+
const wrapper = slotted.find((el) => el.tagName === "IMG" || el.tagName === "PICTURE");
|
|
48
|
+
const img = wrapper instanceof HTMLImageElement ? wrapper : wrapper?.querySelector("img");
|
|
49
|
+
this._image = img ?? undefined;
|
|
50
|
+
this._applyToImage();
|
|
51
|
+
}
|
|
52
|
+
_applyToImage() {
|
|
53
|
+
const img = this._image;
|
|
54
|
+
if (!img)
|
|
55
|
+
return;
|
|
56
|
+
// Authors can still override either attribute on their own <img>.
|
|
57
|
+
if (!img.hasAttribute("decoding"))
|
|
58
|
+
img.decoding = "async";
|
|
59
|
+
if (!img.hasAttribute("loading"))
|
|
60
|
+
img.loading = this.priority ? "eager" : "lazy";
|
|
61
|
+
if (this.priority && !img.hasAttribute("fetchpriority"))
|
|
62
|
+
img.setAttribute("fetchpriority", "high");
|
|
63
|
+
// Fill the frame whatever the image's own dimensions are (only when a ratio is set).
|
|
64
|
+
img.style.objectFit = this.fit;
|
|
65
|
+
if (this.ratio) {
|
|
66
|
+
img.style.height = "100%";
|
|
67
|
+
}
|
|
68
|
+
if (img.complete) {
|
|
69
|
+
this.removeAttribute("data-pending");
|
|
70
|
+
return;
|
|
71
|
+
}
|
|
72
|
+
this.setAttribute("data-pending", "");
|
|
73
|
+
const done = () => this.removeAttribute("data-pending");
|
|
74
|
+
img.addEventListener("load", done, { once: true });
|
|
75
|
+
img.addEventListener("error", done, { once: true });
|
|
76
|
+
}
|
|
77
|
+
render() {
|
|
78
|
+
return html `
|
|
79
|
+
<figure>
|
|
80
|
+
<div class="frame">
|
|
81
|
+
${this.placeholder && isUrl(this.placeholder)
|
|
82
|
+
? html `<div class="blur" style=${styleMap({ backgroundImage: `url(${JSON.stringify(this.placeholder)})` })}></div>`
|
|
83
|
+
: nothing}
|
|
84
|
+
<slot @slotchange=${this._onSlotChange}></slot>
|
|
85
|
+
</div>
|
|
86
|
+
<figcaption ?hidden=${!this._hasCaption}>
|
|
87
|
+
<slot
|
|
88
|
+
name="caption"
|
|
89
|
+
@slotchange=${(e) => (this._hasCaption = e.target.assignedNodes().length > 0)}
|
|
90
|
+
></slot>
|
|
91
|
+
</figcaption>
|
|
92
|
+
</figure>
|
|
93
|
+
`;
|
|
94
|
+
}
|
|
95
|
+
};
|
|
96
|
+
StImage.styles = [
|
|
97
|
+
resetStyles,
|
|
98
|
+
css `
|
|
99
|
+
:host {
|
|
100
|
+
display: block;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
figure {
|
|
104
|
+
display: grid;
|
|
105
|
+
gap: var(--st-spacing-sm);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.frame {
|
|
109
|
+
position: relative;
|
|
110
|
+
overflow: hidden;
|
|
111
|
+
aspect-ratio: var(--_ratio, auto);
|
|
112
|
+
background-color: var(--_placeholder-color, var(--st-color-surface));
|
|
113
|
+
border-radius: var(--st-image-radius, var(--st-radius-md));
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.blur {
|
|
117
|
+
position: absolute;
|
|
118
|
+
inset: 0;
|
|
119
|
+
background-size: cover;
|
|
120
|
+
background-position: center;
|
|
121
|
+
filter: blur(1.25rem);
|
|
122
|
+
transform: scale(1.15);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
slot:not([name]) {
|
|
126
|
+
display: block;
|
|
127
|
+
height: 100%;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
::slotted(picture) {
|
|
131
|
+
display: block;
|
|
132
|
+
height: 100%;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
::slotted(img),
|
|
136
|
+
::slotted(picture) {
|
|
137
|
+
position: relative;
|
|
138
|
+
width: 100%;
|
|
139
|
+
transition: opacity 0.4s ease;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
:host([data-pending]) ::slotted(img),
|
|
143
|
+
:host([data-pending]) ::slotted(picture) {
|
|
144
|
+
opacity: 0;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
figcaption {
|
|
148
|
+
color: var(--st-color-text-muted);
|
|
149
|
+
font-size: var(--st-font-size-sm);
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
@media (prefers-reduced-motion: reduce) {
|
|
153
|
+
::slotted(img),
|
|
154
|
+
::slotted(picture) {
|
|
155
|
+
transition: none;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
`,
|
|
159
|
+
];
|
|
160
|
+
__decorate([
|
|
161
|
+
property({ type: String })
|
|
162
|
+
], StImage.prototype, "ratio", void 0);
|
|
163
|
+
__decorate([
|
|
164
|
+
property({ type: String, reflect: true })
|
|
165
|
+
], StImage.prototype, "fit", void 0);
|
|
166
|
+
__decorate([
|
|
167
|
+
property({ type: String })
|
|
168
|
+
], StImage.prototype, "placeholder", void 0);
|
|
169
|
+
__decorate([
|
|
170
|
+
property({ type: Boolean })
|
|
171
|
+
], StImage.prototype, "priority", void 0);
|
|
172
|
+
__decorate([
|
|
173
|
+
state()
|
|
174
|
+
], StImage.prototype, "_hasCaption", void 0);
|
|
175
|
+
StImage = __decorate([
|
|
176
|
+
customElement("st-image")
|
|
177
|
+
], StImage);
|
|
178
|
+
export { StImage };
|
|
179
|
+
//# sourceMappingURL=image.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"image.js","sourceRoot":"","sources":["../../../src/components/image/image.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAC,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,OAAO,EAAC,MAAM,KAAK,CAAC;AACnD,OAAO,EAAC,aAAa,EAAE,QAAQ,EAAE,KAAK,EAAC,MAAM,mBAAmB,CAAC;AACjE,OAAO,EAAC,QAAQ,EAAC,MAAM,6BAA6B,CAAC;AACrD,OAAO,EAAC,WAAW,EAAC,MAAM,u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@@ -197,21 +197,21 @@ StInput.styles = [
|
|
|
197
197
|
/* 🚀 NEW: Explicit error text styling */
|
|
198
198
|
.error-text {
|
|
199
199
|
font-size: var(--st-font-size-xs);
|
|
200
|
-
color: var(--st-color-error
|
|
200
|
+
color: var(--st-color-error);
|
|
201
201
|
margin: 0;
|
|
202
202
|
font-weight: 500;
|
|
203
203
|
}
|
|
204
204
|
|
|
205
205
|
:host([invalid]) .input-wrapper {
|
|
206
|
-
border-color: var(--st-color-error
|
|
206
|
+
border-color: var(--st-color-error);
|
|
207
207
|
}
|
|
208
208
|
|
|
209
209
|
:host([invalid]) .input-wrapper:focus-within {
|
|
210
|
-
box-shadow: 0 0 0 1px var(--st-color-error
|
|
210
|
+
box-shadow: 0 0 0 1px var(--st-color-error);
|
|
211
211
|
}
|
|
212
212
|
|
|
213
213
|
:host([invalid]) .help-text {
|
|
214
|
-
color: var(--st-color-error
|
|
214
|
+
color: var(--st-color-error);
|
|
215
215
|
}
|
|
216
216
|
|
|
217
217
|
:host([disabled]) .input-wrapper {
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { LitElement } from "lit";
|
|
2
|
+
/**
|
|
3
|
+
* Holds back heavy, non-essential markup (embeds, maps, widgets, comment threads) until it is
|
|
4
|
+
* about to scroll into view. Put the markup inside a `<template>`: it stays inert, so nothing
|
|
5
|
+
* downloads or runs, until `st-lazy` copies it into the page.
|
|
6
|
+
*
|
|
7
|
+
* Keep important text outside it. Content inside a template is not part of the page until it
|
|
8
|
+
* loads, so search engines may not index it.
|
|
9
|
+
*
|
|
10
|
+
* Slots: default (the `<template>`) and `placeholder` (shown until loaded).
|
|
11
|
+
* Events: `st-lazy-load` (bubbles, composed) once the content has been added.
|
|
12
|
+
*/
|
|
13
|
+
export declare class StLazy extends LitElement {
|
|
14
|
+
/** How far (in pixels) before entering the viewport loading starts. */
|
|
15
|
+
margin: number;
|
|
16
|
+
/** Space reserved until loaded, to stop the page jumping (any CSS length). */
|
|
17
|
+
minHeight: string;
|
|
18
|
+
/** True once the content has been added. Setting it to true loads immediately. */
|
|
19
|
+
loaded: boolean;
|
|
20
|
+
private _observer?;
|
|
21
|
+
static styles: import("lit").CSSResult[];
|
|
22
|
+
connectedCallback(): void;
|
|
23
|
+
disconnectedCallback(): void;
|
|
24
|
+
protected updated(): void;
|
|
25
|
+
/** Adds the template content now instead of waiting for the scroll. */
|
|
26
|
+
load(): void;
|
|
27
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
28
|
+
}
|
|
29
|
+
declare global {
|
|
30
|
+
interface HTMLElementTagNameMap {
|
|
31
|
+
"st-lazy": StLazy;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
//# sourceMappingURL=lazy.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lazy.d.ts","sourceRoot":"","sources":["../../../src/components/lazy/lazy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAY,MAAM,KAAK,CAAC;AAI1C;;;;;;;;;;GAUG;AACH,qBACa,MAAO,SAAQ,UAAU;IACpC,uEAAuE;IAC7C,MAAM,SAAO;IACvC,8EAA8E;IAC3B,SAAS,SAAM;IAClE,kFAAkF;IACxC,MAAM,UAAS;IAEzD,OAAO,CAAC,SAAS,CAAC,CAAuB;IAEzC,MAAM,CAAC,MAAM,4BAgBX;IAEF,iBAAiB,SAahB;IAED,oBAAoB,SAInB;IAED,SAAS,CAAC,OAAO,SAGhB;IAED,uEAAuE;IACvE,IAAI,SAWH;IAED,MAAM,yCAEL;CACF;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,SAAS,EAAE,MAAM,CAAC;KACnB;CACF"}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import { LitElement, html, css } from "lit";
|
|
8
|
+
import { customElement, property } from "lit/decorators.js";
|
|
9
|
+
import { resetStyles } from "../../styles/reset.js";
|
|
10
|
+
/**
|
|
11
|
+
* Holds back heavy, non-essential markup (embeds, maps, widgets, comment threads) until it is
|
|
12
|
+
* about to scroll into view. Put the markup inside a `<template>`: it stays inert, so nothing
|
|
13
|
+
* downloads or runs, until `st-lazy` copies it into the page.
|
|
14
|
+
*
|
|
15
|
+
* Keep important text outside it. Content inside a template is not part of the page until it
|
|
16
|
+
* loads, so search engines may not index it.
|
|
17
|
+
*
|
|
18
|
+
* Slots: default (the `<template>`) and `placeholder` (shown until loaded).
|
|
19
|
+
* Events: `st-lazy-load` (bubbles, composed) once the content has been added.
|
|
20
|
+
*/
|
|
21
|
+
let StLazy = class StLazy extends LitElement {
|
|
22
|
+
constructor() {
|
|
23
|
+
super(...arguments);
|
|
24
|
+
/** How far (in pixels) before entering the viewport loading starts. */
|
|
25
|
+
this.margin = 200;
|
|
26
|
+
/** Space reserved until loaded, to stop the page jumping (any CSS length). */
|
|
27
|
+
this.minHeight = "";
|
|
28
|
+
/** True once the content has been added. Setting it to true loads immediately. */
|
|
29
|
+
this.loaded = false;
|
|
30
|
+
}
|
|
31
|
+
connectedCallback() {
|
|
32
|
+
super.connectedCallback();
|
|
33
|
+
if (this.loaded) {
|
|
34
|
+
this.load();
|
|
35
|
+
}
|
|
36
|
+
else if (typeof IntersectionObserver === "undefined") {
|
|
37
|
+
this.load();
|
|
38
|
+
}
|
|
39
|
+
else {
|
|
40
|
+
this._observer = new IntersectionObserver((entries) => entries.some((entry) => entry.isIntersecting) && this.load(), { rootMargin: `${this.margin}px 0px` });
|
|
41
|
+
this._observer.observe(this);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
disconnectedCallback() {
|
|
45
|
+
this._observer?.disconnect();
|
|
46
|
+
this._observer = undefined;
|
|
47
|
+
super.disconnectedCallback();
|
|
48
|
+
}
|
|
49
|
+
updated() {
|
|
50
|
+
if (this.minHeight)
|
|
51
|
+
this.style.setProperty("--_min-height", this.minHeight);
|
|
52
|
+
else
|
|
53
|
+
this.style.removeProperty("--_min-height");
|
|
54
|
+
}
|
|
55
|
+
/** Adds the template content now instead of waiting for the scroll. */
|
|
56
|
+
load() {
|
|
57
|
+
this._observer?.disconnect();
|
|
58
|
+
this._observer = undefined;
|
|
59
|
+
const template = this.querySelector(":scope > template");
|
|
60
|
+
const first = !this.hasAttribute("data-lazy-done");
|
|
61
|
+
if (template && first) {
|
|
62
|
+
this.setAttribute("data-lazy-done", "");
|
|
63
|
+
this.append(template.content.cloneNode(true));
|
|
64
|
+
}
|
|
65
|
+
if (!this.loaded)
|
|
66
|
+
this.loaded = true;
|
|
67
|
+
if (first)
|
|
68
|
+
this.dispatchEvent(new CustomEvent("st-lazy-load", { bubbles: true, composed: true }));
|
|
69
|
+
}
|
|
70
|
+
render() {
|
|
71
|
+
return html `<slot name="placeholder"></slot><slot></slot>`;
|
|
72
|
+
}
|
|
73
|
+
};
|
|
74
|
+
StLazy.styles = [
|
|
75
|
+
resetStyles,
|
|
76
|
+
css `
|
|
77
|
+
:host {
|
|
78
|
+
display: block;
|
|
79
|
+
min-height: var(--_min-height, 0);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
:host([loaded]) {
|
|
83
|
+
min-height: 0;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
:host([loaded]) slot[name="placeholder"] {
|
|
87
|
+
display: none;
|
|
88
|
+
}
|
|
89
|
+
`,
|
|
90
|
+
];
|
|
91
|
+
__decorate([
|
|
92
|
+
property({ type: Number })
|
|
93
|
+
], StLazy.prototype, "margin", void 0);
|
|
94
|
+
__decorate([
|
|
95
|
+
property({ type: String, attribute: "min-height" })
|
|
96
|
+
], StLazy.prototype, "minHeight", void 0);
|
|
97
|
+
__decorate([
|
|
98
|
+
property({ type: Boolean, reflect: true })
|
|
99
|
+
], StLazy.prototype, "loaded", void 0);
|
|
100
|
+
StLazy = __decorate([
|
|
101
|
+
customElement("st-lazy")
|
|
102
|
+
], StLazy);
|
|
103
|
+
export { StLazy };
|
|
104
|
+
//# sourceMappingURL=lazy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lazy.js","sourceRoot":"","sources":["../../../src/components/lazy/lazy.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAC,UAAU,EAAE,IAAI,EAAE,GAAG,EAAC,MAAM,KAAK,CAAC;AAC1C,OAAO,EAAC,aAAa,EAAE,QAAQ,EAAC,MAAM,mBAAmB,CAAC;AAC1D,OAAO,EAAC,WAAW,EAAC,MAAM,uBAAuB,CAAC;AAElD;;;;;;;;;;GAUG;AAEI,IAAM,MAAM,GAAZ,MAAM,MAAO,SAAQ,UAAU;IAA/B;;QACL,uEAAuE;QAC7C,WAAM,GAAG,GAAG,CAAC;QACvC,8EAA8E;QAC3B,cAAS,GAAG,EAAE,CAAC;QAClE,kFAAkF;QACxC,WAAM,GAAG,KAAK,CAAC;IAiE3D,CAAC;IA3CC,iBAAiB;QACf,KAAK,CAAC,iBAAiB,EAAE,CAAC;QAC1B,IAAI,IAAI,CAAC,MAAM,EAAE,CAAC;YAChB,IAAI,CAAC,IAAI,EAAE,CAAC;QACd,CAAC;aAAM,IAAI,OAAO,oBAAoB,KAAK,WAAW,EAAE,CAAC;YACvD,IAAI,CAAC,IAAI,EAAE,CAAC;QACd,CAAC;aAAM,CAAC;YACN,IAAI,CAAC,SAAS,GAAG,IAAI,oBAAoB,CACvC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC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AAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAC,CAAC,CAAC,CAAC;IAClG,CAAC;IAED,MAAM;QACJ,OAAO,IAAI,CAAA,+CAA+C,CAAC;IAC7D,CAAC;CACF,CAAA;AA7DQ,aAAM,GAAG;IACd,WAAW;IACX,GAAG,CAAA;;;;;;;;;;;;;KAaF;CACF,AAhBY,CAgBX;AAxBwB;IAAzB,QAAQ,CAAC,EAAC,IAAI,EAAE,MAAM,EAAC,CAAC;sCAAc;AAEY;IAAlD,QAAQ,CAAC,EAAC,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,YAAY,EAAC,CAAC;yCAAgB;AAExB;IAAzC,QAAQ,CAAC,EAAC,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAC,CAAC;sCAAgB;AAN9C,MAAM;IADlB,aAAa,CAAC,SAAS,CAAC;GACZ,MAAM,CAuElB"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { StChartBase, type ChartSeries } from "../chart/chart-base.js";
|
|
2
|
+
/**
|
|
3
|
+
* Line (and optional area) chart with a shared crosshair tooltip.
|
|
4
|
+
* Hover/focus a position to read every series; click or press Enter/Space to select it.
|
|
5
|
+
*/
|
|
6
|
+
export declare class StLineChart extends StChartBase {
|
|
7
|
+
/** X axis category labels, one per data point. */
|
|
8
|
+
labels: string[];
|
|
9
|
+
series: ChartSeries[];
|
|
10
|
+
/** Fills the area under each line. */
|
|
11
|
+
area: boolean;
|
|
12
|
+
yMin?: number;
|
|
13
|
+
yMax?: number;
|
|
14
|
+
/** Index of the selected position, or null. */
|
|
15
|
+
selected: number | null;
|
|
16
|
+
private _active;
|
|
17
|
+
private _hidden;
|
|
18
|
+
static styles: import("lit").CSSResult[];
|
|
19
|
+
private get _visible();
|
|
20
|
+
private get _count();
|
|
21
|
+
private _geometry;
|
|
22
|
+
private _valuesAt;
|
|
23
|
+
private _label;
|
|
24
|
+
private _setActive;
|
|
25
|
+
private _select;
|
|
26
|
+
private _indexFromPointer;
|
|
27
|
+
private _onKeydown;
|
|
28
|
+
private _toggleSeries;
|
|
29
|
+
private _renderPlot;
|
|
30
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
31
|
+
}
|
|
32
|
+
declare global {
|
|
33
|
+
interface HTMLElementTagNameMap {
|
|
34
|
+
"st-line-chart": StLineChart;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=line-chart.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"line-chart.d.ts","sourceRoot":"","sources":["../../../src/components/line-chart/line-chart.ts"],"names":[],"mappings":"AAGA,OAAO,EAAC,WAAW,EAAE,KAAK,WAAW,EAAC,MAAM,wBAAwB,CAAC;AAKrE;;;GAGG;AACH,qBACa,WAAY,SAAQ,WAAW;IAC1C,kDAAkD;IACzB,MAAM,EAAE,MAAM,EAAE,CAAM;IACtB,MAAM,EAAE,WAAW,EAAE,CAAM;IACpD,sCAAsC;IACX,IAAI,UAAS;IACM,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IAC5D,+CAA+C;IACN,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAQ;IAE/D,OAAO,CAAC,OAAO,CAAuB;IACtC,OAAO,CAAC,OAAO,CAAqB;IAE7C,MAAM,CAAC,MAAM,4BA0BX;IAEF,OAAO,KAAK,QAAQ,GAInB;IAED,OAAO,KAAK,MAAM,GAEjB;IAED,OAAO,CAAC,SAAS;IAcjB,OAAO,CAAC,SAAS;IASjB,OAAO,CAAC,MAAM;IAId,OAAO,CAAC,UAAU;IA8BlB,OAAO,CAAC,OAAO;IAWf,OAAO,CAAC,iBAAiB;IAOzB,OAAO,CAAC,UAAU;IAalB,OAAO,CAAC,aAAa;IAcrB,OAAO,CAAC,WAAW;IA0DnB,MAAM,yCAsCL;CACF;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,eAAe,EAAE,WAAW,CAAC;KAC9B;CACF"}
|