@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
|
@@ -4,9 +4,18 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
4
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
5
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
6
|
};
|
|
7
|
-
import { LitElement, html, css } from "lit";
|
|
7
|
+
import { LitElement, html, css, nothing } from "lit";
|
|
8
8
|
import { customElement, property } from "lit/decorators.js";
|
|
9
|
+
import { classMap } from "lit/directives/class-map.js";
|
|
10
|
+
import { ifDefined } from "lit/directives/if-defined.js";
|
|
9
11
|
import { resetStyles } from "../../styles/reset.js";
|
|
12
|
+
import "../skeleton/skeleton.js";
|
|
13
|
+
const SKELETON_ROWS = 3;
|
|
14
|
+
/**
|
|
15
|
+
* Lightweight data table. Use `st-data-table` when you need sorting, search or pagination.
|
|
16
|
+
*
|
|
17
|
+
* Events: `st-row-click` (detail: the row object) when `clickable-rows` is set.
|
|
18
|
+
*/
|
|
10
19
|
let StTable = class StTable extends LitElement {
|
|
11
20
|
constructor() {
|
|
12
21
|
super(...arguments);
|
|
@@ -16,35 +25,92 @@ let StTable = class StTable extends LitElement {
|
|
|
16
25
|
this.striped = false;
|
|
17
26
|
this.hoverable = false;
|
|
18
27
|
this.dense = false;
|
|
28
|
+
/** Keeps the header visible while the body scrolls. Set a height with `--st-table-max-height`. */
|
|
29
|
+
this.stickyHeader = false;
|
|
30
|
+
/** Shows placeholder rows and sets `aria-busy`. */
|
|
31
|
+
this.loading = false;
|
|
32
|
+
/** Makes rows focusable and emits `st-row-click` on click, Enter or Space. */
|
|
33
|
+
this.clickableRows = false;
|
|
34
|
+
/** Describes the table to assistive technology (and visually, unless `caption-hidden`). */
|
|
35
|
+
this.caption = "";
|
|
36
|
+
this.captionHidden = false;
|
|
37
|
+
this.emptyText = "No data available.";
|
|
38
|
+
}
|
|
39
|
+
_alignClass(col) {
|
|
40
|
+
return classMap({ "align-center": col.align === "center", "align-end": col.align === "end" });
|
|
41
|
+
}
|
|
42
|
+
_onRowClick(row) {
|
|
43
|
+
if (!this.clickableRows)
|
|
44
|
+
return;
|
|
45
|
+
this.dispatchEvent(new CustomEvent("st-row-click", { detail: row, bubbles: true, composed: true }));
|
|
46
|
+
}
|
|
47
|
+
_onRowKeydown(e, row) {
|
|
48
|
+
if (!this.clickableRows || (e.key !== "Enter" && e.key !== " "))
|
|
49
|
+
return;
|
|
50
|
+
e.preventDefault();
|
|
51
|
+
this._onRowClick(row);
|
|
52
|
+
}
|
|
53
|
+
_renderBody() {
|
|
54
|
+
const span = Math.max(this.columns.length, 1);
|
|
55
|
+
if (this.loading) {
|
|
56
|
+
return Array.from({ length: SKELETON_ROWS }, () => html `
|
|
57
|
+
<tr role="row">
|
|
58
|
+
${this.columns.map(() => html `
|
|
59
|
+
<td role="cell"><st-skeleton variant="text" width="70%"></st-skeleton></td>
|
|
60
|
+
`)}
|
|
61
|
+
</tr>
|
|
62
|
+
`);
|
|
63
|
+
}
|
|
64
|
+
if (this.data.length === 0) {
|
|
65
|
+
return html `
|
|
66
|
+
<tr role="row">
|
|
67
|
+
<td role="cell" colspan=${span} class="empty-state">${this.emptyText}</td>
|
|
68
|
+
</tr>
|
|
69
|
+
`;
|
|
70
|
+
}
|
|
71
|
+
return this.data.map((row, index) => html `
|
|
72
|
+
<tr
|
|
73
|
+
role="row"
|
|
74
|
+
class=${classMap({ clickable: this.clickableRows })}
|
|
75
|
+
tabindex=${ifDefined(this.clickableRows ? "0" : undefined)}
|
|
76
|
+
@click=${() => this._onRowClick(row)}
|
|
77
|
+
@keydown=${(e) => this._onRowKeydown(e, row)}
|
|
78
|
+
>
|
|
79
|
+
${this.columns.map((col) => html `
|
|
80
|
+
<td role="cell" class=${this._alignClass(col)} data-label=${col.header}>
|
|
81
|
+
${col.render ? col.render(row, index) : (row[col.key] ?? "")}
|
|
82
|
+
</td>
|
|
83
|
+
`)}
|
|
84
|
+
</tr>
|
|
85
|
+
`);
|
|
86
|
+
}
|
|
87
|
+
_renderHead() {
|
|
88
|
+
return html `
|
|
89
|
+
<thead role="rowgroup">
|
|
90
|
+
<tr role="row">
|
|
91
|
+
${this.columns.map((col) => html `
|
|
92
|
+
<th
|
|
93
|
+
role="columnheader"
|
|
94
|
+
scope="col"
|
|
95
|
+
class=${this._alignClass(col)}
|
|
96
|
+
style=${ifDefined(col.width ? `width:${col.width}` : undefined)}
|
|
97
|
+
>
|
|
98
|
+
${col.header}
|
|
99
|
+
</th>
|
|
100
|
+
`)}
|
|
101
|
+
</tr>
|
|
102
|
+
</thead>
|
|
103
|
+
`;
|
|
19
104
|
}
|
|
20
105
|
render() {
|
|
21
106
|
return html `
|
|
22
107
|
<div class="table-wrapper">
|
|
23
|
-
<!--
|
|
24
|
-
<table role="table">
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
${this.columns.map((col) => html `<th role="columnheader" scope="col">${col.header}</th>`)}
|
|
28
|
-
</tr>
|
|
29
|
-
</thead>
|
|
108
|
+
<!-- Explicit ARIA roles preserve semantics when CSS 'display' changes in vertical mode -->
|
|
109
|
+
<table role="table" aria-busy=${this.loading ? "true" : "false"}>
|
|
110
|
+
${this.caption ? html `<caption>${this.caption}</caption>` : nothing}
|
|
111
|
+
${this.columns.length ? this._renderHead() : nothing}
|
|
30
112
|
<tbody role="rowgroup">
|
|
31
|
-
${this.
|
|
32
|
-
? html `
|
|
33
|
-
<tr role="row">
|
|
34
|
-
<td role="cell" colspan=${this.columns.length} class="empty-state">
|
|
35
|
-
No data available.
|
|
36
|
-
</td>
|
|
37
|
-
</tr>
|
|
38
|
-
`
|
|
39
|
-
: this.data.map((row) => html `
|
|
40
|
-
<tr role="row">
|
|
41
|
-
${this.columns.map(
|
|
42
|
-
// 🚀 FIX: Nullish coalescing prevents printing "undefined" for sparse data objects
|
|
43
|
-
(col) => html `
|
|
44
|
-
<td role="cell" data-label=${col.header}>${row[col.key] ?? ""}</td>
|
|
45
|
-
`)}
|
|
46
|
-
</tr>
|
|
47
|
-
`)}
|
|
113
|
+
${this._renderBody()}
|
|
48
114
|
</tbody>
|
|
49
115
|
</table>
|
|
50
116
|
</div>
|
|
@@ -61,20 +127,40 @@ StTable.styles = [
|
|
|
61
127
|
|
|
62
128
|
.table-wrapper {
|
|
63
129
|
width: 100%;
|
|
64
|
-
overflow
|
|
130
|
+
overflow: auto;
|
|
65
131
|
-webkit-overflow-scrolling: touch;
|
|
132
|
+
max-height: var(--st-table-max-height, none);
|
|
66
133
|
}
|
|
67
134
|
|
|
68
135
|
table {
|
|
69
136
|
width: 100%;
|
|
70
137
|
border-collapse: collapse;
|
|
71
138
|
text-align: left;
|
|
72
|
-
font-size: var(--st-font-size-base
|
|
139
|
+
font-size: var(--st-font-size-base);
|
|
140
|
+
color: var(--st-color-text);
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
caption {
|
|
144
|
+
padding: var(--st-spacing-sm) var(--st-spacing-lg);
|
|
145
|
+
text-align: left;
|
|
146
|
+
font-weight: var(--st-font-weight-medium);
|
|
73
147
|
color: var(--st-color-text);
|
|
74
148
|
}
|
|
75
149
|
|
|
150
|
+
:host([caption-hidden]) caption {
|
|
151
|
+
position: absolute;
|
|
152
|
+
width: 1px;
|
|
153
|
+
height: 1px;
|
|
154
|
+
padding: 0;
|
|
155
|
+
margin: -1px;
|
|
156
|
+
overflow: hidden;
|
|
157
|
+
clip: rect(0, 0, 0, 0);
|
|
158
|
+
white-space: nowrap;
|
|
159
|
+
border: 0;
|
|
160
|
+
}
|
|
161
|
+
|
|
76
162
|
th {
|
|
77
|
-
font-weight:
|
|
163
|
+
font-weight: var(--st-font-weight-semibold);
|
|
78
164
|
padding: var(--st-spacing-md) var(--st-spacing-lg);
|
|
79
165
|
border-bottom: 2px solid var(--st-color-border);
|
|
80
166
|
color: var(--st-color-text-muted);
|
|
@@ -86,18 +172,42 @@ StTable.styles = [
|
|
|
86
172
|
border-bottom: 1px solid var(--st-color-border);
|
|
87
173
|
}
|
|
88
174
|
|
|
175
|
+
.align-center {
|
|
176
|
+
text-align: center;
|
|
177
|
+
}
|
|
178
|
+
.align-end {
|
|
179
|
+
text-align: end;
|
|
180
|
+
}
|
|
181
|
+
|
|
89
182
|
/* Modifiers */
|
|
90
183
|
:host([dense]) th,
|
|
91
184
|
:host([dense]) td {
|
|
92
185
|
padding: var(--st-spacing-sm) var(--st-spacing-md);
|
|
93
186
|
}
|
|
94
187
|
|
|
188
|
+
:host([sticky-header]) th {
|
|
189
|
+
position: sticky;
|
|
190
|
+
top: 0;
|
|
191
|
+
z-index: 1;
|
|
192
|
+
background-color: var(--st-color-bg);
|
|
193
|
+
}
|
|
194
|
+
|
|
95
195
|
:host([striped]) tbody tr:nth-of-type(odd) {
|
|
96
|
-
background-color: var(--st-color-surface-muted
|
|
196
|
+
background-color: var(--st-color-surface-muted);
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
:host([hoverable]) tbody tr:hover,
|
|
200
|
+
tbody tr.clickable:hover {
|
|
201
|
+
background-color: var(--st-color-surface-hover);
|
|
97
202
|
}
|
|
98
203
|
|
|
99
|
-
|
|
100
|
-
|
|
204
|
+
tbody tr.clickable {
|
|
205
|
+
cursor: pointer;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
tbody tr.clickable:focus-visible {
|
|
209
|
+
outline: 2px solid var(--st-color-primary);
|
|
210
|
+
outline-offset: -2px;
|
|
101
211
|
}
|
|
102
212
|
|
|
103
213
|
/* ==========================================================
|
|
@@ -147,7 +257,7 @@ StTable.styles = [
|
|
|
147
257
|
/* Inject the header name on the left */
|
|
148
258
|
:host([mode="vertical"]) td::before {
|
|
149
259
|
content: attr(data-label);
|
|
150
|
-
font-weight:
|
|
260
|
+
font-weight: var(--st-font-weight-semibold);
|
|
151
261
|
text-align: left;
|
|
152
262
|
padding-right: var(--st-spacing-md);
|
|
153
263
|
color: var(--st-color-text-muted);
|
|
@@ -155,7 +265,7 @@ StTable.styles = [
|
|
|
155
265
|
|
|
156
266
|
.empty-state {
|
|
157
267
|
text-align: center;
|
|
158
|
-
padding:
|
|
268
|
+
padding: var(--st-spacing-xl) !important;
|
|
159
269
|
color: var(--st-color-text-muted);
|
|
160
270
|
font-style: italic;
|
|
161
271
|
}
|
|
@@ -179,6 +289,24 @@ __decorate([
|
|
|
179
289
|
__decorate([
|
|
180
290
|
property({ type: Boolean, reflect: true })
|
|
181
291
|
], StTable.prototype, "dense", void 0);
|
|
292
|
+
__decorate([
|
|
293
|
+
property({ type: Boolean, reflect: true, attribute: "sticky-header" })
|
|
294
|
+
], StTable.prototype, "stickyHeader", void 0);
|
|
295
|
+
__decorate([
|
|
296
|
+
property({ type: Boolean, reflect: true })
|
|
297
|
+
], StTable.prototype, "loading", void 0);
|
|
298
|
+
__decorate([
|
|
299
|
+
property({ type: Boolean, reflect: true, attribute: "clickable-rows" })
|
|
300
|
+
], StTable.prototype, "clickableRows", void 0);
|
|
301
|
+
__decorate([
|
|
302
|
+
property({ type: String })
|
|
303
|
+
], StTable.prototype, "caption", void 0);
|
|
304
|
+
__decorate([
|
|
305
|
+
property({ type: Boolean, reflect: true, attribute: "caption-hidden" })
|
|
306
|
+
], StTable.prototype, "captionHidden", void 0);
|
|
307
|
+
__decorate([
|
|
308
|
+
property({ type: String, attribute: "empty-text" })
|
|
309
|
+
], StTable.prototype, "emptyText", void 0);
|
|
182
310
|
StTable = __decorate([
|
|
183
311
|
customElement("st-table")
|
|
184
312
|
], StTable);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table.js","sourceRoot":"","sources":["../../../src/components/table/table.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAC,UAAU,EAAE,IAAI,EAAE,GAAG,EAAC,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"table.js","sourceRoot":"","sources":["../../../src/components/table/table.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAC,UAAU,EAAE,IAAI,EAAE,GAAG,EAAE,OAAO,EAAC,MAAM,KAAK,CAAC;AACnD,OAAO,EAAC,aAAa,EAAE,QAAQ,EAAC,MAAM,mBAAmB,CAAC;AAC1D,OAAO,EAAC,QAAQ,EAAC,MAAM,6BAA6B,CAAC;AACrD,OAAO,EAAC,SAAS,EAAC,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAC,WAAW,EAAC,MAAM,uBAAuB,CAAC;AAClD,OAAO,yBAAyB,CAAC;AAgBjC,MAAM,aAAa,GAAG,CAAC,CAAC;AAExB;;;;GAIG;AAEI,IAAM,OAAO,GAAb,MAAM,OAAQ,SAAQ,UAAU;IAAhC;;QACoB,YAAO,GAAkB,EAAE,CAAC;QAC5B,SAAI,GAA0B,EAAE,CAAC;QAEjB,SAAI,GAAc,Y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AAC;wCAAiB;AAChB;IAAzC,QAAQ,CAAC,EAAC,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAC,CAAC;0CAAmB;AAClB;IAAzC,QAAQ,CAAC,EAAC,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAC,CAAC;sCAAe;AAEc;IAArE,QAAQ,CAAC,EAAC,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,eAAe,EAAC,CAAC;6CAAsB;AAEjD;IAAzC,QAAQ,CAAC,EAAC,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAC,CAAC;wCAAiB;AAEa;IAAtE,QAAQ,CAAC,EAAC,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,gBAAgB,EAAC,CAAC;8CAAuB;AAGnE;IAAzB,QAAQ,CAAC,EAAC,IAAI,EAAE,MAAM,EAAC,CAAC;wCAAc;AACgC;IAAtE,QAAQ,CAAC,EAAC,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,gBAAgB,EAAC,CAAC;8CAAuB;AAC1C;IAAlD,QAAQ,CAAC,EAAC,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,YAAY,EAAC,CAAC;0CAAkC;AAlBzE,OAAO;IADnB,aAAa,CAAC,UAAU,CAAC;GACb,OAAO,CA+QnB"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { StRowItem } from "../section/row-item.js";
|
|
2
|
+
/**
|
|
3
|
+
* One team member inside `st-team`.
|
|
4
|
+
*
|
|
5
|
+
* Slots: `photo` (an `img`, hidden when empty), `name` (a real heading such as `<h3>`), `role`,
|
|
6
|
+
* the default slot (a short bio) and `links` (social or contact links).
|
|
7
|
+
*/
|
|
8
|
+
export declare class StPerson extends StRowItem {
|
|
9
|
+
private _hasPhoto;
|
|
10
|
+
private _hasLinks;
|
|
11
|
+
static styles: import("lit").CSSResult[];
|
|
12
|
+
render(): import("lit-html").TemplateResult;
|
|
13
|
+
}
|
|
14
|
+
declare global {
|
|
15
|
+
interface HTMLElementTagNameMap {
|
|
16
|
+
"st-person": StPerson;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=person.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"person.d.ts","sourceRoot":"","sources":["../../../src/components/team/person.ts"],"names":[],"mappings":"AAGA,OAAO,EAAC,SAAS,EAAC,MAAM,wBAAwB,CAAC;AAEjD;;;;;GAKG;AACH,qBACa,QAAS,SAAQ,SAAS;IAC5B,OAAO,CAAC,SAAS,CAAS;IAC1B,OAAO,CAAC,SAAS,CAAS;IAEnC,MAAM,CAAC,MAAM,4BAmEX;IAEF,MAAM,sCAoBL;CACF;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,WAAW,EAAE,QAAQ,CAAC;KACvB;CACF"}
|
|
@@ -0,0 +1,123 @@
|
|
|
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 { html, css } from "lit";
|
|
8
|
+
import { customElement, state } from "lit/decorators.js";
|
|
9
|
+
import { resetStyles } from "../../styles/reset.js";
|
|
10
|
+
import { StRowItem } from "../section/row-item.js";
|
|
11
|
+
/**
|
|
12
|
+
* One team member inside `st-team`.
|
|
13
|
+
*
|
|
14
|
+
* Slots: `photo` (an `img`, hidden when empty), `name` (a real heading such as `<h3>`), `role`,
|
|
15
|
+
* the default slot (a short bio) and `links` (social or contact links).
|
|
16
|
+
*/
|
|
17
|
+
let StPerson = class StPerson extends StRowItem {
|
|
18
|
+
constructor() {
|
|
19
|
+
super(...arguments);
|
|
20
|
+
this._hasPhoto = false;
|
|
21
|
+
this._hasLinks = false;
|
|
22
|
+
}
|
|
23
|
+
render() {
|
|
24
|
+
return this.frame(html `
|
|
25
|
+
<div class="person">
|
|
26
|
+
<span class="photo" ?hidden=${!this._hasPhoto}>
|
|
27
|
+
<slot
|
|
28
|
+
name="photo"
|
|
29
|
+
@slotchange=${(e) => (this._hasPhoto = e.target.assignedNodes().length > 0)}
|
|
30
|
+
></slot>
|
|
31
|
+
</span>
|
|
32
|
+
<slot name="name"></slot>
|
|
33
|
+
<slot name="role"></slot>
|
|
34
|
+
<div class="bio"><slot></slot></div>
|
|
35
|
+
<div class="links" ?hidden=${!this._hasLinks}>
|
|
36
|
+
<slot
|
|
37
|
+
name="links"
|
|
38
|
+
@slotchange=${(e) => (this._hasLinks = e.target.assignedNodes().length > 0)}
|
|
39
|
+
></slot>
|
|
40
|
+
</div>
|
|
41
|
+
</div>
|
|
42
|
+
`);
|
|
43
|
+
}
|
|
44
|
+
};
|
|
45
|
+
StPerson.styles = [
|
|
46
|
+
resetStyles,
|
|
47
|
+
css `
|
|
48
|
+
:host {
|
|
49
|
+
display: block;
|
|
50
|
+
text-align: center;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.person {
|
|
54
|
+
display: grid;
|
|
55
|
+
justify-items: center;
|
|
56
|
+
gap: var(--st-spacing-xs);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.photo {
|
|
60
|
+
display: block;
|
|
61
|
+
overflow: hidden;
|
|
62
|
+
width: 7rem;
|
|
63
|
+
height: 7rem;
|
|
64
|
+
margin-bottom: var(--st-spacing-sm);
|
|
65
|
+
border-radius: 50%;
|
|
66
|
+
background: var(--st-color-surface-muted);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.photo[hidden] {
|
|
70
|
+
display: none;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.photo ::slotted(img) {
|
|
74
|
+
width: 100%;
|
|
75
|
+
height: 100%;
|
|
76
|
+
object-fit: cover;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
::slotted([slot="name"]) {
|
|
80
|
+
margin: 0 !important;
|
|
81
|
+
font-size: var(--st-font-size-lg) !important;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
::slotted([slot="role"]) {
|
|
85
|
+
display: block;
|
|
86
|
+
color: var(--st-color-primary-text);
|
|
87
|
+
font-size: var(--st-font-size-sm);
|
|
88
|
+
font-weight: var(--st-font-weight-bold);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.bio {
|
|
92
|
+
color: var(--st-color-text-muted);
|
|
93
|
+
font-size: var(--st-font-size-sm);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.bio ::slotted(*) {
|
|
97
|
+
margin: 0;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.links {
|
|
101
|
+
display: flex;
|
|
102
|
+
flex-wrap: wrap;
|
|
103
|
+
justify-content: center;
|
|
104
|
+
gap: var(--st-spacing-md);
|
|
105
|
+
margin-top: var(--st-spacing-sm);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.links[hidden] {
|
|
109
|
+
display: none;
|
|
110
|
+
}
|
|
111
|
+
`,
|
|
112
|
+
];
|
|
113
|
+
__decorate([
|
|
114
|
+
state()
|
|
115
|
+
], StPerson.prototype, "_hasPhoto", void 0);
|
|
116
|
+
__decorate([
|
|
117
|
+
state()
|
|
118
|
+
], StPerson.prototype, "_hasLinks", void 0);
|
|
119
|
+
StPerson = __decorate([
|
|
120
|
+
customElement("st-person")
|
|
121
|
+
], StPerson);
|
|
122
|
+
export { StPerson };
|
|
123
|
+
//# sourceMappingURL=person.js.map
|
|
@@ -0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@@
|
|
|
1
|
+
import { StSection } from "../section/section.js";
|
|
2
|
+
import "./person.js";
|
|
3
|
+
/**
|
|
4
|
+
* A row introducing the people behind a company, as `st-person` cards in a grid that wraps on
|
|
5
|
+
* narrow screens.
|
|
6
|
+
*
|
|
7
|
+
* Slots: `eyebrow`, `title`, `lead` and the default slot for the `st-person` items.
|
|
8
|
+
*/
|
|
9
|
+
export declare class StTeam extends StSection {
|
|
10
|
+
static styles: import("lit").CSSResult[];
|
|
11
|
+
render(): import("lit-html").TemplateResult;
|
|
12
|
+
}
|
|
13
|
+
declare global {
|
|
14
|
+
interface HTMLElementTagNameMap {
|
|
15
|
+
"st-team": StTeam;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=team.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"team.d.ts","sourceRoot":"","sources":["../../../src/components/team/team.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,SAAS,EAAC,MAAM,uBAAuB,CAAC;AAChD,OAAO,aAAa,CAAC;AAErB;;;;;GAKG;AACH,qBACa,MAAO,SAAQ,SAAS;IACnC,MAAM,CAAC,MAAM,4BASX;IAEF,MAAM,sCAKL;CACF;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,SAAS,EAAE,MAAM,CAAC;KACnB;CACF"}
|
|
@@ -0,0 +1,36 @@
|
|
|
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 { html, css } from "lit";
|
|
8
|
+
import { customElement } from "lit/decorators.js";
|
|
9
|
+
import { StSection } from "../section/section.js";
|
|
10
|
+
import "./person.js";
|
|
11
|
+
/**
|
|
12
|
+
* A row introducing the people behind a company, as `st-person` cards in a grid that wraps on
|
|
13
|
+
* narrow screens.
|
|
14
|
+
*
|
|
15
|
+
* Slots: `eyebrow`, `title`, `lead` and the default slot for the `st-person` items.
|
|
16
|
+
*/
|
|
17
|
+
let StTeam = class StTeam extends StSection {
|
|
18
|
+
render() {
|
|
19
|
+
return this.frame(html `<div class="items"><slot @slotchange=${this._onItemsChange}></slot></div>`, { animated: false });
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
StTeam.styles = [
|
|
23
|
+
...StSection.styles,
|
|
24
|
+
css `
|
|
25
|
+
.items {
|
|
26
|
+
display: grid;
|
|
27
|
+
gap: var(--st-spacing-2xl) var(--st-spacing-lg);
|
|
28
|
+
grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
|
|
29
|
+
}
|
|
30
|
+
`,
|
|
31
|
+
];
|
|
32
|
+
StTeam = __decorate([
|
|
33
|
+
customElement("st-team")
|
|
34
|
+
], StTeam);
|
|
35
|
+
export { StTeam };
|
|
36
|
+
//# sourceMappingURL=team.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"team.js","sourceRoot":"","sources":["../../../src/components/team/team.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAC,IAAI,EAAE,GAAG,EAAC,MAAM,KAAK,CAAC;AAC9B,OAAO,EAAC,aAAa,EAAC,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAC,SAAS,EAAC,MAAM,uBAAuB,CAAC;AAChD,OAAO,aAAa,CAAC;AAErB;;;;;GAKG;AAEI,IAAM,MAAM,GAAZ,MAAM,MAAO,SAAQ,SAAS;IAYnC,MAAM;QACJ,OAAO,IAAI,CAAC,KAAK,CACf,IAAI,CAAA,wCAAwC,IAAI,CAAC,cAAc,gBAAgB,EAC/E,EAAC,QAAQ,EAAE,KAAK,EAAC,CAClB,CAAC;IACJ,CAAC;CACF,CAAA;AAjBQ,aAAM,GAAG;IACd,GAAG,SAAS,CAAC,MAAM;IACnB,GAAG,CAAA;;;;;;KAMF;CACF,AATY,CASX;AAVS,MAAM;IADlB,aAAa,CAAC,SAAS,CAAC;GACZ,MAAM,CAkBlB"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { StRowItem } from "../section/row-item.js";
|
|
2
|
+
/**
|
|
3
|
+
* One customer quote inside `st-testimonials`.
|
|
4
|
+
*
|
|
5
|
+
* Slots: the default slot (the quote), `author` (their name), `role` (their job and company) and
|
|
6
|
+
* `avatar` (a small photo or `st-avatar`).
|
|
7
|
+
*/
|
|
8
|
+
export declare class StTestimonial extends StRowItem {
|
|
9
|
+
private _hasAvatar;
|
|
10
|
+
static styles: import("lit").CSSResult[];
|
|
11
|
+
render(): import("lit-html").TemplateResult;
|
|
12
|
+
}
|
|
13
|
+
declare global {
|
|
14
|
+
interface HTMLElementTagNameMap {
|
|
15
|
+
"st-testimonial": StTestimonial;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=testimonial.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"testimonial.d.ts","sourceRoot":"","sources":["../../../src/components/testimonials/testimonial.ts"],"names":[],"mappings":"AAGA,OAAO,EAAC,SAAS,EAAC,MAAM,wBAAwB,CAAC;AAEjD;;;;;GAKG;AACH,qBACa,aAAc,SAAQ,SAAS;IACjC,OAAO,CAAC,UAAU,CAAS;IAEpC,MAAM,CAAC,MAAM,4BAiEX;IAEF,MAAM,sCAkBL;CACF;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,gBAAgB,EAAE,aAAa,CAAC;KACjC;CACF"}
|
|
@@ -0,0 +1,115 @@
|
|
|
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 { html, css } from "lit";
|
|
8
|
+
import { customElement, state } from "lit/decorators.js";
|
|
9
|
+
import { resetStyles } from "../../styles/reset.js";
|
|
10
|
+
import { StRowItem } from "../section/row-item.js";
|
|
11
|
+
/**
|
|
12
|
+
* One customer quote inside `st-testimonials`.
|
|
13
|
+
*
|
|
14
|
+
* Slots: the default slot (the quote), `author` (their name), `role` (their job and company) and
|
|
15
|
+
* `avatar` (a small photo or `st-avatar`).
|
|
16
|
+
*/
|
|
17
|
+
let StTestimonial = class StTestimonial extends StRowItem {
|
|
18
|
+
constructor() {
|
|
19
|
+
super(...arguments);
|
|
20
|
+
this._hasAvatar = false;
|
|
21
|
+
}
|
|
22
|
+
render() {
|
|
23
|
+
return this.frame(html `
|
|
24
|
+
<figure>
|
|
25
|
+
<blockquote><slot></slot></blockquote>
|
|
26
|
+
<figcaption>
|
|
27
|
+
<span class="avatar" ?hidden=${!this._hasAvatar}>
|
|
28
|
+
<slot
|
|
29
|
+
name="avatar"
|
|
30
|
+
@slotchange=${(e) => (this._hasAvatar = e.target.assignedNodes().length > 0)}
|
|
31
|
+
></slot>
|
|
32
|
+
</span>
|
|
33
|
+
<span>
|
|
34
|
+
<slot name="author"></slot>
|
|
35
|
+
<slot name="role"></slot>
|
|
36
|
+
</span>
|
|
37
|
+
</figcaption>
|
|
38
|
+
</figure>
|
|
39
|
+
`);
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
StTestimonial.styles = [
|
|
43
|
+
resetStyles,
|
|
44
|
+
css `
|
|
45
|
+
:host {
|
|
46
|
+
display: block;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
figure {
|
|
50
|
+
display: grid;
|
|
51
|
+
align-content: space-between;
|
|
52
|
+
gap: var(--st-spacing-lg);
|
|
53
|
+
height: 100%;
|
|
54
|
+
margin: 0;
|
|
55
|
+
padding: var(--st-spacing-lg);
|
|
56
|
+
border: 1px solid var(--st-color-border);
|
|
57
|
+
border-radius: var(--st-radius-md);
|
|
58
|
+
background: var(--st-row-card-bg, var(--st-color-surface));
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
blockquote {
|
|
62
|
+
margin: 0;
|
|
63
|
+
font-size: var(--st-font-size-lg);
|
|
64
|
+
line-height: 1.6;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
blockquote ::slotted(*) {
|
|
68
|
+
margin: 0;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
figcaption {
|
|
72
|
+
display: flex;
|
|
73
|
+
align-items: center;
|
|
74
|
+
gap: var(--st-spacing-md);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.avatar {
|
|
78
|
+
display: inline-flex;
|
|
79
|
+
flex-shrink: 0;
|
|
80
|
+
overflow: hidden;
|
|
81
|
+
width: 3rem;
|
|
82
|
+
height: 3rem;
|
|
83
|
+
border-radius: 50%;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.avatar[hidden] {
|
|
87
|
+
display: none;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.avatar ::slotted(img) {
|
|
91
|
+
width: 100%;
|
|
92
|
+
height: 100%;
|
|
93
|
+
object-fit: cover;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
::slotted([slot="author"]) {
|
|
97
|
+
display: block;
|
|
98
|
+
font-weight: var(--st-font-weight-bold);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
::slotted([slot="role"]) {
|
|
102
|
+
display: block;
|
|
103
|
+
color: var(--st-color-text-muted);
|
|
104
|
+
font-size: var(--st-font-size-sm);
|
|
105
|
+
}
|
|
106
|
+
`,
|
|
107
|
+
];
|
|
108
|
+
__decorate([
|
|
109
|
+
state()
|
|
110
|
+
], StTestimonial.prototype, "_hasAvatar", void 0);
|
|
111
|
+
StTestimonial = __decorate([
|
|
112
|
+
customElement("st-testimonial")
|
|
113
|
+
], StTestimonial);
|
|
114
|
+
export { StTestimonial };
|
|
115
|
+
//# sourceMappingURL=testimonial.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"testimonial.js","sourceRoot":"","sources":["../../../src/components/testimonials/testimonial.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAC,IAAI,EAAE,GAAG,EAAC,MAAM,KAAK,CAAC;AAC9B,OAAO,EAAC,aAAa,EAAE,KAAK,EAAC,MAAM,mBAAmB,CAAC;AACvD,OAAO,EAAC,WAAW,EAAC,MAAM,uBAAuB,CAAC;AAClD,OAAO,EAAC,SAAS,EAAC,MAAM,wBAAwB,CAAC;AAEjD;;;;;GAKG;AAEI,IAAM,aAAa,GAAnB,MAAM,aAAc,SAAQ,SAAS;IAArC;;QACY,eAAU,GAAG,KAAK,CAAC;IAwFtC,CAAC;IAnBC,MAAM;QACJ,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAA;;;;yCAIe,CAAC,IAAI,CAAC,UAAU;;;4BAG7B,CAAC,CAAQ,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,UAAU,GAAI,CAAC,CAAC,MAA0B,CAAC,aAAa,EAAE,CAAC,MAAM,GAAG,CAAC,CAAC;;;;;;;;;KASjH,CAAC,CAAC;IACL,CAAC;CACF,CAAA;AAtFQ,oBAAM,GAAG;IACd,WAAW;IACX,GAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KA8DF;CACF,AAjEY,CAiEX;AAnEe;IAAhB,KAAK,EAAE;iDAA4B;AADzB,aAAa;IADzB,aAAa,CAAC,gBAAgB,CAAC;GACnB,aAAa,CAyFzB"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { StSection } from "../section/section.js";
|
|
2
|
+
import "./testimonial.js";
|
|
3
|
+
/**
|
|
4
|
+
* A row of customer quotes as `st-testimonial` cards. They sit in columns that wrap on narrow
|
|
5
|
+
* screens.
|
|
6
|
+
*
|
|
7
|
+
* Slots: `eyebrow`, `title`, `lead` and the default slot for the `st-testimonial` items.
|
|
8
|
+
*/
|
|
9
|
+
export declare class StTestimonials extends StSection {
|
|
10
|
+
static styles: import("lit").CSSResult[];
|
|
11
|
+
render(): import("lit-html").TemplateResult;
|
|
12
|
+
}
|
|
13
|
+
declare global {
|
|
14
|
+
interface HTMLElementTagNameMap {
|
|
15
|
+
"st-testimonials": StTestimonials;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=testimonials.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"testimonials.d.ts","sourceRoot":"","sources":["../../../src/components/testimonials/testimonials.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,SAAS,EAAC,MAAM,uBAAuB,CAAC;AAChD,OAAO,kBAAkB,CAAC;AAE1B;;;;;GAKG;AACH,qBACa,cAAe,SAAQ,SAAS;IAC3C,MAAM,CAAC,MAAM,4BASX;IAEF,MAAM,sCAKL;CACF;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,iBAAiB,EAAE,cAAc,CAAC;KACnC;CACF"}
|