@oiz/stzh-components 4.5.0 → 4.6.0-beta1
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/cjs/{app-globals-64d91100.js → app-globals-6a08057f.js} +2 -2
- package/dist/cjs/{app-globals-64d91100.js.map → app-globals-6a08057f.js.map} +1 -1
- package/dist/cjs/index-870b4dee.js +6 -2
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/stzh-accordion_3.cjs.entry.js +3 -3
- package/dist/cjs/stzh-actions_6.cjs.entry.js +9 -9
- package/dist/cjs/stzh-actionset.cjs.entry.js +5 -5
- package/dist/cjs/stzh-amount.cjs.entry.js +1 -1
- package/dist/cjs/stzh-anchornav.cjs.entry.js +1 -1
- package/dist/cjs/stzh-app-nav.cjs.entry.js +1 -1
- package/dist/cjs/stzh-appointments.cjs.entry.js +1 -1
- package/dist/cjs/stzh-audio.cjs.entry.js +3 -3
- package/dist/cjs/stzh-badge_3.cjs.entry.js +3 -3
- package/dist/cjs/stzh-breadcrumb_2.cjs.entry.js +2 -2
- package/dist/cjs/stzh-buttongroup.cjs.entry.js +1 -1
- package/dist/cjs/stzh-card-navigation.cjs.entry.js +1 -1
- package/dist/cjs/stzh-card-searchresult.cjs.entry.js +1 -1
- package/dist/cjs/stzh-card.cjs.entry.js +4 -4
- package/dist/cjs/stzh-cardlist_3.cjs.entry.js +3 -3
- package/dist/cjs/stzh-carousel.cjs.entry.js +2 -2
- package/dist/cjs/stzh-chart.cjs.entry.js +1 -1
- package/dist/cjs/stzh-checkbox.cjs.entry.js +3 -3
- package/dist/cjs/stzh-checkboxgroup.cjs.entry.js +3 -3
- package/dist/cjs/stzh-chip.cjs.entry.js +1 -1
- package/dist/cjs/stzh-chipgroup.cjs.entry.js +1 -1
- package/dist/cjs/stzh-chipselect.cjs.entry.js +4 -4
- package/dist/cjs/stzh-clamp.cjs.entry.js +2 -2
- package/dist/cjs/stzh-company-logo.cjs.entry.js +1 -1
- package/dist/cjs/stzh-components.cjs.js +2 -2
- package/dist/cjs/stzh-contact.cjs.entry.js +1 -2
- package/dist/cjs/stzh-contact.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-content.cjs.entry.js +1 -1
- package/dist/cjs/stzh-cta.cjs.entry.js +1 -1
- package/dist/cjs/stzh-datalist_3.cjs.entry.js +3 -3
- package/dist/cjs/stzh-datamessagelist-item.cjs.entry.js +1 -1
- package/dist/cjs/stzh-datamessagelist.cjs.entry.js +1 -1
- package/dist/cjs/stzh-datepicker_3.cjs.entry.js +10 -10
- package/dist/cjs/stzh-datepicker_3.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-daterange.cjs.entry.js +1 -1
- package/dist/cjs/stzh-details.cjs.entry.js +1 -1
- package/dist/cjs/stzh-dialog.cjs.entry.js +5 -5
- package/dist/cjs/stzh-dialog.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-dropdown.cjs.entry.js +4 -4
- package/dist/cjs/stzh-figure.cjs.entry.js +1 -1
- package/dist/cjs/stzh-flyingfocus.cjs.entry.js +1 -1
- package/dist/cjs/stzh-footer.cjs.entry.js +1 -1
- package/dist/cjs/stzh-gallery.cjs.entry.js +1 -1
- package/dist/cjs/stzh-ghettobox_3.cjs.entry.js +3 -3
- package/dist/cjs/stzh-header_2.cjs.entry.js +1 -1
- package/dist/cjs/stzh-heading.cjs.entry.js +1 -1
- package/dist/cjs/stzh-hr.cjs.entry.js +1 -1
- package/dist/cjs/stzh-hspace.cjs.entry.js +2 -2
- package/dist/cjs/stzh-http-error.cjs.entry.js +1 -1
- package/dist/cjs/stzh-iframe.cjs.entry.js +4 -4
- package/dist/cjs/stzh-imagecomparison.cjs.entry.js +2 -2
- package/dist/cjs/stzh-input.cjs.entry.js +5 -5
- package/dist/cjs/stzh-invert.cjs.entry.js +1 -1
- package/dist/cjs/stzh-link.cjs.entry.js +1 -1
- package/dist/cjs/stzh-linklist.cjs.entry.js +5 -1
- package/dist/cjs/stzh-linklist.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-list_2.cjs.entry.js +2 -2
- package/dist/cjs/stzh-loader_2.cjs.entry.js +5 -5
- package/dist/cjs/stzh-loader_2.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-loadingbar.cjs.entry.js +1 -1
- package/dist/cjs/stzh-menu_2.cjs.entry.js +2 -2
- package/dist/cjs/stzh-message.cjs.entry.js +2 -2
- package/dist/cjs/stzh-microsite-teaserlist.cjs.entry.js +1 -1
- package/dist/cjs/stzh-monthyearpicker.cjs.entry.js +1 -1
- package/dist/cjs/stzh-offline-indicator.cjs.entry.js +1 -1
- package/dist/cjs/stzh-page-skiplinks.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pagebottom.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pagecontent.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pagetitle-hero.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pagetitle-home.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pagetitle.cjs.entry.js +1 -1
- package/dist/cjs/stzh-panorama.cjs.entry.js +2 -2
- package/dist/cjs/stzh-pi-content-navigation.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pi-menu.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pi-pagetitle.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pi-pagetitle.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-pi-teaser-layout-item.cjs.entry.js +68 -0
- package/dist/cjs/stzh-pi-teaser-layout-item.cjs.entry.js.map +1 -0
- package/dist/cjs/stzh-pi-teaser-layout.cjs.entry.js +2 -2
- package/dist/cjs/stzh-pi-teaser-layout.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-pi-teaser.cjs.entry.js +9 -25
- package/dist/cjs/stzh-pi-teaser.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-poicard.cjs.entry.js +1 -1
- package/dist/cjs/stzh-poilist.cjs.entry.js +1 -1
- package/dist/cjs/stzh-popover.cjs.entry.js +1 -1
- package/dist/cjs/stzh-print_2.cjs.entry.js +2 -2
- package/dist/cjs/stzh-quote.cjs.entry.js +1 -1
- package/dist/cjs/stzh-ratio.cjs.entry.js +1 -1
- package/dist/cjs/stzh-readspeaker.cjs.entry.js +2 -2
- package/dist/cjs/stzh-saptcha.cjs.entry.js +2 -2
- package/dist/cjs/stzh-scrollup.cjs.entry.js +1 -1
- package/dist/cjs/stzh-search.cjs.entry.js +2 -2
- package/dist/cjs/stzh-section.cjs.entry.js +2 -2
- package/dist/cjs/stzh-sitemap.cjs.entry.js +1 -1
- package/dist/cjs/stzh-skin-portal-mitwirken.cjs.entry.js +1 -1
- package/dist/cjs/stzh-skin-storybook-preview.cjs.entry.js +1 -1
- package/dist/cjs/stzh-skiplink.cjs.entry.js +1 -1
- package/dist/cjs/stzh-socialmediastream-item.cjs.entry.js +1 -1
- package/dist/cjs/stzh-socialmediastream.cjs.entry.js +1 -1
- package/dist/cjs/stzh-stepper-item.cjs.entry.js +3 -3
- package/dist/cjs/stzh-stepper.cjs.entry.js +3 -3
- package/dist/cjs/stzh-sticky-actions.cjs.entry.js +1 -1
- package/dist/cjs/stzh-sticky.cjs.entry.js +1 -1
- package/dist/cjs/stzh-table.cjs.entry.js +1 -1
- package/dist/cjs/stzh-text.cjs.entry.js +2 -2
- package/dist/cjs/stzh-textandimage.cjs.entry.js +1 -1
- package/dist/cjs/stzh-timeline-item.cjs.entry.js +1 -1
- package/dist/cjs/stzh-timeline.cjs.entry.js +1 -1
- package/dist/cjs/stzh-timepicker.cjs.entry.js +1 -1
- package/dist/cjs/stzh-toast_2.cjs.entry.js +3 -3
- package/dist/cjs/stzh-toggle.cjs.entry.js +3 -3
- package/dist/cjs/stzh-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/stzh-twocolumns.cjs.entry.js +1 -1
- package/dist/cjs/stzh-upload.cjs.entry.js +3 -3
- package/dist/cjs/stzh-visuallyhidden.cjs.entry.js +2 -2
- package/dist/cjs/stzh-vspace.cjs.entry.js +2 -2
- package/dist/cjs/stzh-youtube.cjs.entry.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/CMS/stzh-contact/stzh-contact.js +1 -19
- package/dist/collection/components/CMS/stzh-contact/stzh-contact.js.map +1 -1
- package/dist/collection/components/CMS/stzh-linklist/stzh-linklist.js +8 -2
- package/dist/collection/components/CMS/stzh-linklist/stzh-linklist.js.map +1 -1
- package/dist/collection/components/CMS/stzh-linklist/stzh-linklist.stories.js +38 -1
- package/dist/collection/components/CMS/stzh-microsite-teaserlist/stzh-microsite-teaserlist.js +1 -1
- package/dist/collection/components/CMS/stzh-page-skiplinks/stzh-page-skiplinks.js +1 -1
- package/dist/collection/components/CMS/stzh-pagebottom/stzh-pagebottom.js +1 -1
- package/dist/collection/components/CMS/stzh-pagecontent/stzh-pagecontent.js +1 -1
- package/dist/collection/components/CMS/stzh-pagetitle/stzh-pagetitle.js +1 -1
- package/dist/collection/components/CMS/stzh-pagetitle-hero/stzh-pagetitle-hero.js +1 -1
- package/dist/collection/components/CMS/stzh-pagetitle-home/stzh-pagetitle-home.js +1 -1
- package/dist/collection/components/CMS/stzh-pi-content-navigation/stzh-pi-content-navigation.js +1 -1
- package/dist/collection/components/CMS/stzh-pi-menu/stzh-pi-menu.js +1 -1
- package/dist/collection/components/CMS/stzh-pi-pagetitle/stzh-pi-pagetitle.js +1 -1
- package/dist/collection/components/CMS/stzh-pi-pagetitle/stzh-pi-pagetitle.js.map +1 -1
- package/dist/collection/components/CMS/stzh-pi-pagetitle/stzh-pi-pagetitle.stories.js +20 -11
- package/dist/collection/components/CMS/stzh-pi-teaser/stzh-pi-teaser.css +127 -261
- package/dist/collection/components/CMS/stzh-pi-teaser/stzh-pi-teaser.js +7 -93
- package/dist/collection/components/CMS/stzh-pi-teaser/stzh-pi-teaser.js.map +1 -1
- package/dist/collection/components/CMS/stzh-pi-teaser/stzh-pi-teaser.stories.js +7 -73
- package/dist/collection/components/CMS/stzh-pi-teaser-layout/stzh-pi-teaser-layout.js +6 -3
- package/dist/collection/components/CMS/stzh-pi-teaser-layout/stzh-pi-teaser-layout.js.map +1 -1
- package/dist/collection/components/CMS/stzh-pi-teaser-layout-item/stzh-pi-teaser-layout-item.css +501 -0
- package/dist/collection/components/CMS/stzh-pi-teaser-layout-item/stzh-pi-teaser-layout-item.e2e.js +16 -0
- package/dist/collection/components/CMS/stzh-pi-teaser-layout-item/stzh-pi-teaser-layout-item.e2e.js.map +1 -0
- package/dist/collection/components/CMS/stzh-pi-teaser-layout-item/stzh-pi-teaser-layout-item.js +292 -0
- package/dist/collection/components/CMS/stzh-pi-teaser-layout-item/stzh-pi-teaser-layout-item.js.map +1 -0
- package/dist/collection/components/CMS/stzh-pi-teaser-layout-item/stzh-pi-teaser-layout-item.stories.js +70 -0
- package/dist/collection/components/CMS/stzh-poicard/stzh-poicard.js +1 -1
- package/dist/collection/components/CMS/stzh-poilist/stzh-poilist.js +1 -1
- package/dist/collection/components/CMS/stzh-print/stzh-print.js +1 -1
- package/dist/collection/components/CMS/stzh-search/stzh-search.js +2 -2
- package/dist/collection/components/CMS/stzh-sitemap/stzh-sitemap.js +1 -1
- package/dist/collection/components/CMS/stzh-socialmediastream/stzh-socialmediastream.js +1 -1
- package/dist/collection/components/CMS/stzh-socialmediastream-item/stzh-socialmediastream-item.js +1 -1
- package/dist/collection/components/CMS/stzh-textandimage/stzh-textandimage.js +1 -1
- package/dist/collection/components/CMS/stzh-twocolumns/stzh-twocolumns.js +1 -1
- package/dist/collection/components/stzh-accordion/stzh-accordion.js +1 -1
- package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.js +1 -1
- package/dist/collection/components/stzh-actions/stzh-actions.js +1 -1
- package/dist/collection/components/stzh-actionset/stzh-actionset.js +5 -5
- package/dist/collection/components/stzh-amount/stzh-amount.js +1 -1
- package/dist/collection/components/stzh-anchornav/stzh-anchornav.js +1 -1
- package/dist/collection/components/stzh-app-nav/stzh-app-nav.js +1 -1
- package/dist/collection/components/stzh-appointments/stzh-appointments.js +1 -1
- package/dist/collection/components/stzh-audio/stzh-audio.js +3 -3
- package/dist/collection/components/stzh-badge/stzh-badge.js +1 -1
- package/dist/collection/components/stzh-breadcrumb/stzh-breadcrumb.js +1 -1
- package/dist/collection/components/stzh-button/stzh-button.js +1 -1
- package/dist/collection/components/stzh-buttongroup/stzh-buttongroup.js +1 -1
- package/dist/collection/components/stzh-card/stzh-card.js +4 -4
- package/dist/collection/components/stzh-card-navigation/stzh-card-navigation.js +1 -1
- package/dist/collection/components/stzh-card-searchresult/stzh-card-searchresult.js +1 -1
- package/dist/collection/components/stzh-cardlist/stzh-cardlist.js +1 -1
- package/dist/collection/components/stzh-carousel/stzh-carousel.js +2 -2
- package/dist/collection/components/stzh-cell/stzh-cell.js +2 -2
- package/dist/collection/components/stzh-chart/stzh-chart.js +1 -1
- package/dist/collection/components/stzh-checkbox/stzh-checkbox.js +3 -3
- package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.js +3 -3
- package/dist/collection/components/stzh-chip/stzh-chip.js +1 -1
- package/dist/collection/components/stzh-chipgroup/stzh-chipgroup.js +1 -1
- package/dist/collection/components/stzh-chipselect/stzh-chipselect.js +4 -4
- package/dist/collection/components/stzh-clamp/stzh-clamp.js +2 -2
- package/dist/collection/components/stzh-company-logo/stzh-company-logo.js +1 -1
- package/dist/collection/components/stzh-container/stzh-container.js +1 -1
- package/dist/collection/components/stzh-content/stzh-content.js +1 -1
- package/dist/collection/components/stzh-cspace/stzh-cspace.js +1 -1
- package/dist/collection/components/stzh-cta/stzh-cta.js +1 -1
- package/dist/collection/components/stzh-datalist/stzh-datalist.js +2 -2
- package/dist/collection/components/stzh-datamessagelist/stzh-datamessagelist.js +1 -1
- package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.js +1 -1
- package/dist/collection/components/stzh-datepicker/stzh-datepicker.css +1 -0
- package/dist/collection/components/stzh-datepicker/stzh-datepicker.js +3 -3
- package/dist/collection/components/stzh-daterange/stzh-daterange.js +1 -1
- package/dist/collection/components/stzh-details/stzh-details.js +1 -1
- package/dist/collection/components/stzh-dialog/stzh-dialog.js +5 -5
- package/dist/collection/components/stzh-dialog/stzh-dialog.js.map +1 -1
- package/dist/collection/components/stzh-dropdown/stzh-dropdown.js +4 -4
- package/dist/collection/components/stzh-fieldset/stzh-fieldset.js +1 -1
- package/dist/collection/components/stzh-figure/stzh-figure.js +1 -1
- package/dist/collection/components/stzh-flyingfocus/stzh-flyingfocus.js +1 -1
- package/dist/collection/components/stzh-footer/stzh-footer.js +1 -1
- package/dist/collection/components/stzh-gallery/stzh-gallery.js +1 -1
- package/dist/collection/components/stzh-heading/stzh-heading.js +1 -1
- package/dist/collection/components/stzh-hr/stzh-hr.js +1 -1
- package/dist/collection/components/stzh-hspace/stzh-hspace.js +2 -2
- package/dist/collection/components/stzh-http-error/stzh-http-error.js +1 -1
- package/dist/collection/components/stzh-icon/stzh-icon.js +1 -1
- package/dist/collection/components/stzh-iframe/stzh-iframe.js +4 -4
- package/dist/collection/components/stzh-imagecomparison/stzh-imagecomparison.js +2 -2
- package/dist/collection/components/stzh-input/stzh-input.js +5 -5
- package/dist/collection/components/stzh-invert/stzh-invert.js +1 -1
- package/dist/collection/components/stzh-link/stzh-link.js +1 -1
- package/dist/collection/components/stzh-list/stzh-list.js +1 -1
- package/dist/collection/components/stzh-list-item/stzh-list-item.js +1 -1
- package/dist/collection/components/stzh-loader/stzh-loader.js +1 -1
- package/dist/collection/components/stzh-loadingbar/stzh-loadingbar.js +1 -1
- package/dist/collection/components/stzh-menu/stzh-menu.js +1 -1
- package/dist/collection/components/stzh-menu-item/stzh-menu-item.js +1 -1
- package/dist/collection/components/stzh-message/stzh-message.js +2 -2
- package/dist/collection/components/stzh-monthyearpicker/stzh-monthyearpicker.js +1 -1
- package/dist/collection/components/stzh-offline-indicator/stzh-offline-indicator.js +1 -1
- package/dist/collection/components/stzh-olmap/stzh-olmap.js +1 -1
- package/dist/collection/components/stzh-overlay/stzh-overlay.js +4 -4
- package/dist/collection/components/stzh-overlay/stzh-overlay.js.map +1 -1
- package/dist/collection/components/stzh-pagination/stzh-pagination.js +1 -1
- package/dist/collection/components/stzh-panorama/stzh-panorama.js +2 -2
- package/dist/collection/components/stzh-popover/stzh-popover.js +1 -1
- package/dist/collection/components/stzh-quote/stzh-quote.js +1 -1
- package/dist/collection/components/stzh-radio/stzh-radio.js +3 -3
- package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.js +3 -3
- package/dist/collection/components/stzh-ratio/stzh-ratio.js +1 -1
- package/dist/collection/components/stzh-readspeaker/stzh-readspeaker.js +2 -2
- package/dist/collection/components/stzh-richtext/stzh-richtext.js +1 -1
- package/dist/collection/components/stzh-row/stzh-row.js +2 -2
- package/dist/collection/components/stzh-saptcha/stzh-saptcha.js +2 -2
- package/dist/collection/components/stzh-scrollup/stzh-scrollup.js +1 -1
- package/dist/collection/components/stzh-section/stzh-section.js +2 -2
- package/dist/collection/components/stzh-share/stzh-share.js +1 -1
- package/dist/collection/components/stzh-show/stzh-show.js +2 -2
- package/dist/collection/components/stzh-skin-portal-mitwirken/stzh-skin-portal-mitwirken.js +1 -1
- package/dist/collection/components/stzh-skin-storybook-preview/stzh-skin-storybook-preview.js +1 -1
- package/dist/collection/components/stzh-skiplink/stzh-skiplink.js +1 -1
- package/dist/collection/components/stzh-sortable/stzh-sortable.js +1 -1
- package/dist/collection/components/stzh-space/stzh-space.js +2 -2
- package/dist/collection/components/stzh-status/stzh-status.js +1 -1
- package/dist/collection/components/stzh-stepper/stzh-stepper.component.js +3 -3
- package/dist/collection/components/stzh-stepper-item/stzh-stepper-item.js +3 -3
- package/dist/collection/components/stzh-sticky/stzh-sticky.js +1 -1
- package/dist/collection/components/stzh-sticky-actions/stzh-sticky-actions.js +1 -1
- package/dist/collection/components/stzh-table/stzh-table.js +1 -1
- package/dist/collection/components/stzh-tag/stzh-tag.js +1 -1
- package/dist/collection/components/stzh-text/stzh-text.js +2 -2
- package/dist/collection/components/stzh-timeline/stzh-timeline.js +1 -1
- package/dist/collection/components/stzh-timeline-item/stzh-timeline-item.js +1 -1
- package/dist/collection/components/stzh-timepicker/stzh-timepicker.js +1 -1
- package/dist/collection/components/stzh-toast/stzh-toast.js +2 -2
- package/dist/collection/components/stzh-toastbar/stzh-toastbar.js +1 -1
- package/dist/collection/components/stzh-toggle/stzh-toggle.js +3 -3
- package/dist/collection/components/stzh-tooltip/stzh-tooltip.js +1 -1
- package/dist/collection/components/stzh-upload/stzh-upload.js +3 -3
- package/dist/collection/components/stzh-visuallyhidden/stzh-visuallyhidden.js +2 -2
- package/dist/collection/components/stzh-vspace/stzh-vspace.js +2 -2
- package/dist/collection/components/stzh-youtube/stzh-youtube.js +1 -1
- package/dist/collection/index.js.map +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/{p-368c4aa2.js → p-02c5b1ba.js} +5 -5
- package/dist/components/{p-368c4aa2.js.map → p-02c5b1ba.js.map} +1 -1
- package/dist/components/{p-044c234a.js → p-109076c9.js} +7 -7
- package/dist/components/{p-044c234a.js.map → p-109076c9.js.map} +1 -1
- package/dist/components/{p-0ac64574.js → p-111f7e01.js} +4 -4
- package/dist/components/{p-0ac64574.js.map → p-111f7e01.js.map} +1 -1
- package/dist/components/{p-9ac321e4.js → p-12bdcf8a.js} +13 -13
- package/dist/components/p-12bdcf8a.js.map +1 -0
- package/dist/components/{p-a649af8a.js → p-12c94697.js} +14 -14
- package/dist/components/{p-a649af8a.js.map → p-12c94697.js.map} +1 -1
- package/dist/components/{p-1c939b9f.js → p-14716cc2.js} +2 -2
- package/dist/components/{p-1c939b9f.js.map → p-14716cc2.js.map} +1 -1
- package/dist/components/{p-55b58017.js → p-151a98a9.js} +2 -2
- package/dist/components/{p-55b58017.js.map → p-151a98a9.js.map} +1 -1
- package/dist/components/{p-c418c5d3.js → p-15ee297d.js} +2 -2
- package/dist/components/{p-c418c5d3.js.map → p-15ee297d.js.map} +1 -1
- package/dist/components/{p-9be51edc.js → p-1816eeeb.js} +6 -6
- package/dist/components/{p-9be51edc.js.map → p-1816eeeb.js.map} +1 -1
- package/dist/components/{p-59b494a3.js → p-18196788.js} +2 -2
- package/dist/components/{p-59b494a3.js.map → p-18196788.js.map} +1 -1
- package/dist/components/{p-d91d6c31.js → p-18ba315e.js} +2 -2
- package/dist/components/{p-d91d6c31.js.map → p-18ba315e.js.map} +1 -1
- package/dist/components/{p-b5f00d83.js → p-1cfd0791.js} +5 -5
- package/dist/components/{p-b5f00d83.js.map → p-1cfd0791.js.map} +1 -1
- package/dist/components/{p-ce0311f9.js → p-2502ff26.js} +2 -2
- package/dist/components/{p-ce0311f9.js.map → p-2502ff26.js.map} +1 -1
- package/dist/components/{p-25ff5360.js → p-26edabbb.js} +4 -4
- package/dist/components/{p-25ff5360.js.map → p-26edabbb.js.map} +1 -1
- package/dist/components/{p-503bdd56.js → p-34267046.js} +5 -5
- package/dist/components/p-34267046.js.map +1 -0
- package/dist/components/{p-285c271e.js → p-36681d03.js} +3 -3
- package/dist/components/{p-285c271e.js.map → p-36681d03.js.map} +1 -1
- package/dist/components/{p-527121ef.js → p-36fb6c94.js} +2 -2
- package/dist/components/{p-527121ef.js.map → p-36fb6c94.js.map} +1 -1
- package/dist/components/{p-7b016fd0.js → p-387454b3.js} +3 -3
- package/dist/components/{p-7b016fd0.js.map → p-387454b3.js.map} +1 -1
- package/dist/components/{p-15e2b360.js → p-3efe43d2.js} +3 -3
- package/dist/components/{p-15e2b360.js.map → p-3efe43d2.js.map} +1 -1
- package/dist/components/{p-8254224a.js → p-3f3349b1.js} +8 -8
- package/dist/components/{p-8254224a.js.map → p-3f3349b1.js.map} +1 -1
- package/dist/components/{p-683460a5.js → p-479db6c6.js} +2 -2
- package/dist/components/{p-683460a5.js.map → p-479db6c6.js.map} +1 -1
- package/dist/components/{p-c65c361a.js → p-486bf53e.js} +14 -14
- package/dist/components/{p-c65c361a.js.map → p-486bf53e.js.map} +1 -1
- package/dist/components/{p-e42121d1.js → p-4a78990f.js} +4 -4
- package/dist/components/{p-e42121d1.js.map → p-4a78990f.js.map} +1 -1
- package/dist/components/{p-7f251b60.js → p-506a00fc.js} +10 -10
- package/dist/components/{p-7f251b60.js.map → p-506a00fc.js.map} +1 -1
- package/dist/components/{p-cae6655f.js → p-50945c16.js} +8 -8
- package/dist/components/{p-cae6655f.js.map → p-50945c16.js.map} +1 -1
- package/dist/components/{p-8d98b7e1.js → p-551fa57d.js} +3 -3
- package/dist/components/{p-8d98b7e1.js.map → p-551fa57d.js.map} +1 -1
- package/dist/components/{p-5a5884a1.js → p-5571eadc.js} +2 -2
- package/dist/components/{p-5a5884a1.js.map → p-5571eadc.js.map} +1 -1
- package/dist/components/{p-1e6ceaab.js → p-569f84cb.js} +2 -2
- package/dist/components/{p-1e6ceaab.js.map → p-569f84cb.js.map} +1 -1
- package/dist/components/{p-8436ccb7.js → p-570cd361.js} +6 -6
- package/dist/components/{p-8436ccb7.js.map → p-570cd361.js.map} +1 -1
- package/dist/components/{p-52037fe2.js → p-5b94ed4e.js} +7 -7
- package/dist/components/{p-52037fe2.js.map → p-5b94ed4e.js.map} +1 -1
- package/dist/components/{p-1449a24c.js → p-613937f1.js} +4 -4
- package/dist/components/{p-1449a24c.js.map → p-613937f1.js.map} +1 -1
- package/dist/components/{p-9a31aa56.js → p-63c4d8c4.js} +3 -3
- package/dist/components/{p-9a31aa56.js.map → p-63c4d8c4.js.map} +1 -1
- package/dist/components/{p-26ddf3b3.js → p-6897315f.js} +2 -2
- package/dist/components/{p-26ddf3b3.js.map → p-6897315f.js.map} +1 -1
- package/dist/components/{p-b0a7ed3c.js → p-69e0c8d2.js} +3 -3
- package/dist/components/{p-b0a7ed3c.js.map → p-69e0c8d2.js.map} +1 -1
- package/dist/components/{p-06ba8843.js → p-6af552c7.js} +6 -6
- package/dist/components/{p-06ba8843.js.map → p-6af552c7.js.map} +1 -1
- package/dist/components/{p-9c59e8f6.js → p-6e10e5b1.js} +10 -10
- package/dist/components/p-6e10e5b1.js.map +1 -0
- package/dist/components/{p-f70f31d6.js → p-72101ea0.js} +2 -2
- package/dist/components/{p-f70f31d6.js.map → p-72101ea0.js.map} +1 -1
- package/dist/components/{p-a8876adb.js → p-72e977cc.js} +3 -3
- package/dist/components/{p-a8876adb.js.map → p-72e977cc.js.map} +1 -1
- package/dist/components/{p-5a8587ab.js → p-7c4e756c.js} +2 -2
- package/dist/components/{p-5a8587ab.js.map → p-7c4e756c.js.map} +1 -1
- package/dist/components/{p-820ce57f.js → p-7d7ac6fc.js} +12 -12
- package/dist/components/{p-820ce57f.js.map → p-7d7ac6fc.js.map} +1 -1
- package/dist/components/{p-604af41f.js → p-8cefcb61.js} +4 -4
- package/dist/components/{p-604af41f.js.map → p-8cefcb61.js.map} +1 -1
- package/dist/components/{p-e87822db.js → p-8d606617.js} +2 -2
- package/dist/components/{p-e87822db.js.map → p-8d606617.js.map} +1 -1
- package/dist/components/{p-853de15b.js → p-902ed395.js} +7 -7
- package/dist/components/{p-853de15b.js.map → p-902ed395.js.map} +1 -1
- package/dist/components/{p-6268e18b.js → p-963d59bf.js} +3 -3
- package/dist/components/{p-6268e18b.js.map → p-963d59bf.js.map} +1 -1
- package/dist/components/{p-75352a6a.js → p-97868e7a.js} +2 -2
- package/dist/components/{p-75352a6a.js.map → p-97868e7a.js.map} +1 -1
- package/dist/components/{p-63ba178a.js → p-98aa0418.js} +4 -4
- package/dist/components/{p-63ba178a.js.map → p-98aa0418.js.map} +1 -1
- package/dist/components/{p-375d74b5.js → p-9aff1354.js} +7 -7
- package/dist/components/{p-375d74b5.js.map → p-9aff1354.js.map} +1 -1
- package/dist/components/{p-46d253ca.js → p-a0023430.js} +3 -3
- package/dist/components/{p-46d253ca.js.map → p-a0023430.js.map} +1 -1
- package/dist/components/{p-3b563957.js → p-a2828d2e.js} +9 -9
- package/dist/components/{p-3b563957.js.map → p-a2828d2e.js.map} +1 -1
- package/dist/components/{p-2f38d899.js → p-ab25d4da.js} +7 -7
- package/dist/components/{p-2f38d899.js.map → p-ab25d4da.js.map} +1 -1
- package/dist/components/{p-ef6cfd1f.js → p-aeb5dbdc.js} +6 -6
- package/dist/components/{p-ef6cfd1f.js.map → p-aeb5dbdc.js.map} +1 -1
- package/dist/components/{p-8107e1a2.js → p-b12e2861.js} +5 -5
- package/dist/components/{p-8107e1a2.js.map → p-b12e2861.js.map} +1 -1
- package/dist/components/{p-b8b342f5.js → p-b6faf10a.js} +2 -2
- package/dist/components/{p-b8b342f5.js.map → p-b6faf10a.js.map} +1 -1
- package/dist/components/{p-3e28d77d.js → p-be365aa5.js} +3 -3
- package/dist/components/{p-3e28d77d.js.map → p-be365aa5.js.map} +1 -1
- package/dist/components/{p-1ebc2928.js → p-c06cc6c5.js} +2 -2
- package/dist/components/{p-1ebc2928.js.map → p-c06cc6c5.js.map} +1 -1
- package/dist/components/{p-87e69533.js → p-c4fccd89.js} +3 -3
- package/dist/components/{p-87e69533.js.map → p-c4fccd89.js.map} +1 -1
- package/dist/components/{p-677c846d.js → p-c5124a8b.js} +2 -2
- package/dist/components/{p-677c846d.js.map → p-c5124a8b.js.map} +1 -1
- package/dist/components/{p-b9a50363.js → p-c5a240bd.js} +6 -6
- package/dist/components/{p-b9a50363.js.map → p-c5a240bd.js.map} +1 -1
- package/dist/components/{p-f6b75419.js → p-d48fd359.js} +7 -7
- package/dist/components/{p-f6b75419.js.map → p-d48fd359.js.map} +1 -1
- package/dist/components/{p-5e70f03f.js → p-d6702563.js} +9 -9
- package/dist/components/{p-5e70f03f.js.map → p-d6702563.js.map} +1 -1
- package/dist/components/{p-faae4632.js → p-da83a0ad.js} +11 -11
- package/dist/components/{p-faae4632.js.map → p-da83a0ad.js.map} +1 -1
- package/dist/components/{p-17efbc57.js → p-dd1c0c0c.js} +2 -2
- package/dist/components/{p-17efbc57.js.map → p-dd1c0c0c.js.map} +1 -1
- package/dist/components/{p-019721d4.js → p-deb38d3f.js} +4 -4
- package/dist/components/{p-019721d4.js.map → p-deb38d3f.js.map} +1 -1
- package/dist/components/{p-a393bd0b.js → p-e3182412.js} +3 -3
- package/dist/components/{p-a393bd0b.js.map → p-e3182412.js.map} +1 -1
- package/dist/components/{p-a6169d66.js → p-e551f11e.js} +9 -9
- package/dist/components/{p-a6169d66.js.map → p-e551f11e.js.map} +1 -1
- package/dist/components/{p-33ac52bc.js → p-e5cf7853.js} +2 -2
- package/dist/components/{p-33ac52bc.js.map → p-e5cf7853.js.map} +1 -1
- package/dist/components/{p-1d88f941.js → p-ea3c0ed4.js} +6 -6
- package/dist/components/{p-1d88f941.js.map → p-ea3c0ed4.js.map} +1 -1
- package/dist/components/p-ef454347.js +90 -0
- package/dist/components/p-ef454347.js.map +1 -0
- package/dist/components/p-f5779736.js.map +1 -1
- package/dist/components/{p-39874f6d.js → p-f7920d42.js} +3 -3
- package/dist/components/{p-39874f6d.js.map → p-f7920d42.js.map} +1 -1
- package/dist/components/{p-7889ebb0.js → p-fdc914f5.js} +7 -7
- package/dist/components/{p-7889ebb0.js.map → p-fdc914f5.js.map} +1 -1
- package/dist/components/stzh-accordion-item.js +1 -1
- package/dist/components/stzh-accordion.js +1 -1
- package/dist/components/stzh-actions.js +1 -1
- package/dist/components/stzh-actionset.js +1 -1
- package/dist/components/stzh-amount.js +9 -9
- package/dist/components/stzh-anchornav.js +5 -5
- package/dist/components/stzh-app-nav.js +1 -1
- package/dist/components/stzh-appointments.js +13 -13
- package/dist/components/stzh-archivelist.js +6 -6
- package/dist/components/stzh-audio.js +7 -7
- package/dist/components/stzh-badge.js +1 -1
- package/dist/components/stzh-banner.js +3 -3
- package/dist/components/stzh-bathstatus-item.js +1 -1
- package/dist/components/stzh-bathstatus-list.js +6 -6
- package/dist/components/stzh-breadcrumb.js +1 -1
- package/dist/components/stzh-button.js +1 -1
- package/dist/components/stzh-buttongroup.js +1 -1
- package/dist/components/stzh-calendar.js +1 -1
- package/dist/components/stzh-card-navigation.js +2 -2
- package/dist/components/stzh-card-searchresult.js +14 -14
- package/dist/components/stzh-card-superteaser.js +13 -13
- package/dist/components/stzh-card.js +1 -1
- package/dist/components/stzh-cardlist.js +1 -1
- package/dist/components/stzh-carousel.js +1 -1
- package/dist/components/stzh-cell.js +1 -1
- package/dist/components/stzh-chart.js +1 -1
- package/dist/components/stzh-checkbox.js +1 -1
- package/dist/components/stzh-checkboxgroup.js +6 -6
- package/dist/components/stzh-chip.js +1 -1
- package/dist/components/stzh-chipgroup.js +1 -1
- package/dist/components/stzh-chipselect.js +1 -1
- package/dist/components/stzh-clamp.js +1 -1
- package/dist/components/stzh-company-logo.js +1 -1
- package/dist/components/stzh-contact-cv.js +3 -3
- package/dist/components/stzh-contact.js +6 -8
- package/dist/components/stzh-contact.js.map +1 -1
- package/dist/components/stzh-container.js +1 -1
- package/dist/components/stzh-content.js +1 -1
- package/dist/components/stzh-cspace.js +1 -1
- package/dist/components/stzh-cta.js +3 -3
- package/dist/components/stzh-datalist-item.js +1 -1
- package/dist/components/stzh-datalist.js +1 -1
- package/dist/components/stzh-datamessagelist-item.js +11 -11
- package/dist/components/stzh-datamessagelist.js +1 -1
- package/dist/components/stzh-datatable.js +16 -16
- package/dist/components/stzh-datepicker.js +1 -1
- package/dist/components/stzh-daterange.js +4 -4
- package/dist/components/stzh-details.js +1 -1
- package/dist/components/stzh-dialog.js +1 -1
- package/dist/components/stzh-disturber.js +3 -3
- package/dist/components/stzh-dropdown.js +1 -1
- package/dist/components/stzh-editor.js +3 -3
- package/dist/components/stzh-eventinfo.js +4 -4
- package/dist/components/stzh-feedreader-item.js +1 -1
- package/dist/components/stzh-feedreader.js +7 -7
- package/dist/components/stzh-fieldset.js +1 -1
- package/dist/components/stzh-figure.js +1 -1
- package/dist/components/stzh-flyingfocus.js +1 -1
- package/dist/components/stzh-footer.js +4 -4
- package/dist/components/stzh-gallery.js +8 -8
- package/dist/components/stzh-geo-ref-data.js +22 -22
- package/dist/components/stzh-ghettobox.js +1 -1
- package/dist/components/stzh-header.js +1 -1
- package/dist/components/stzh-heading.js +1 -1
- package/dist/components/stzh-homepage-search.js +1 -1
- package/dist/components/stzh-homepage-service-highlights.js +5 -5
- package/dist/components/stzh-hr.js +1 -1
- package/dist/components/stzh-hspace.js +1 -1
- package/dist/components/stzh-http-error.js +7 -7
- package/dist/components/stzh-icon.js +1 -1
- package/dist/components/stzh-iframe.js +1 -1
- package/dist/components/stzh-imagecomparison.js +3 -3
- package/dist/components/stzh-input.js +1 -1
- package/dist/components/stzh-invert.js +1 -1
- package/dist/components/stzh-link.js +1 -1
- package/dist/components/stzh-linklist.js +14 -11
- package/dist/components/stzh-linklist.js.map +1 -1
- package/dist/components/stzh-list-item.js +1 -1
- package/dist/components/stzh-list.js +1 -1
- package/dist/components/stzh-loader.js +1 -1
- package/dist/components/stzh-loadingbar.js +1 -1
- package/dist/components/stzh-menu-item.js +1 -1
- package/dist/components/stzh-menu.js +1 -1
- package/dist/components/stzh-message.js +1 -1
- package/dist/components/stzh-microsite-teaserlist.js +19 -19
- package/dist/components/stzh-monthyearpicker.js +5 -5
- package/dist/components/stzh-offline-indicator.js +6 -6
- package/dist/components/stzh-olmap.js +1 -1
- package/dist/components/stzh-overlay.js +1 -1
- package/dist/components/stzh-page-skiplinks.js +1 -1
- package/dist/components/stzh-pagebottom.js +8 -8
- package/dist/components/stzh-pagecontent.js +1 -1
- package/dist/components/stzh-pagetitle-hero.js +1 -1
- package/dist/components/stzh-pagetitle-home.js +2 -2
- package/dist/components/stzh-pagetitle.js +2 -2
- package/dist/components/stzh-pagination.js +1 -1
- package/dist/components/stzh-panorama.js +12 -12
- package/dist/components/stzh-pi-content-navigation.js +3 -3
- package/dist/components/stzh-pi-menu.js +3 -3
- package/dist/components/stzh-pi-pagetitle.js +2 -2
- package/dist/components/stzh-pi-pagetitle.js.map +1 -1
- package/dist/components/stzh-pi-teaser-layout-item.d.ts +11 -0
- package/dist/components/stzh-pi-teaser-layout-item.js +8 -0
- package/dist/components/stzh-pi-teaser-layout-item.js.map +1 -0
- package/dist/components/stzh-pi-teaser-layout.js +5 -5
- package/dist/components/stzh-pi-teaser-layout.js.map +1 -1
- package/dist/components/stzh-pi-teaser.js +83 -1
- package/dist/components/stzh-pi-teaser.js.map +1 -1
- package/dist/components/stzh-pkzh-qr.js +19 -19
- package/dist/components/stzh-poicard.js +1 -1
- package/dist/components/stzh-poilist.js +18 -18
- package/dist/components/stzh-popover.js +1 -1
- package/dist/components/stzh-print.js +1 -1
- package/dist/components/stzh-quote.js +1 -1
- package/dist/components/stzh-radio.js +1 -1
- package/dist/components/stzh-radiogroup.js +1 -1
- package/dist/components/stzh-ratio.js +1 -1
- package/dist/components/stzh-readspeaker.js +5 -5
- package/dist/components/stzh-richtext.js +1 -1
- package/dist/components/stzh-row.js +1 -1
- package/dist/components/stzh-saptcha.js +8 -8
- package/dist/components/stzh-scrollup.js +1 -1
- package/dist/components/stzh-search.js +17 -17
- package/dist/components/stzh-section.js +2 -2
- package/dist/components/stzh-share.js +1 -1
- package/dist/components/stzh-show.js +1 -1
- package/dist/components/stzh-sitemap.js +9 -9
- package/dist/components/stzh-skin-portal-mitwirken.js +1 -1
- package/dist/components/stzh-skin-storybook-preview.js +1 -1
- package/dist/components/stzh-skiplink.js +1 -1
- package/dist/components/stzh-socialmediastream-item.js +1 -1
- package/dist/components/stzh-socialmediastream.js +6 -6
- package/dist/components/stzh-sortable.js +1 -1
- package/dist/components/stzh-space.js +1 -1
- package/dist/components/stzh-status.js +1 -1
- package/dist/components/stzh-stepper-item.js +1 -1
- package/dist/components/stzh-stepper.js +5 -5
- package/dist/components/stzh-sticky-actions.js +2 -2
- package/dist/components/stzh-sticky.js +1 -1
- package/dist/components/stzh-table.js +1 -1
- package/dist/components/stzh-tag.js +1 -1
- package/dist/components/stzh-text.js +1 -1
- package/dist/components/stzh-textandimage.js +1 -1
- package/dist/components/stzh-timeline-item.js +3 -3
- package/dist/components/stzh-timeline.js +1 -1
- package/dist/components/stzh-timepicker.js +5 -5
- package/dist/components/stzh-toast.js +1 -1
- package/dist/components/stzh-toastbar.js +1 -1
- package/dist/components/stzh-toggle.js +6 -6
- package/dist/components/stzh-tooltip.js +1 -1
- package/dist/components/stzh-twocolumns.js +1 -1
- package/dist/components/stzh-upload.js +14 -14
- package/dist/components/stzh-vbz-carousel.js +1 -1
- package/dist/components/stzh-vbz-intro.js +4 -4
- package/dist/components/stzh-vbz-linechip.js +1 -1
- package/dist/components/stzh-vbz-majorticker.js +6 -6
- package/dist/components/stzh-vbz-ticker.js +6 -6
- package/dist/components/stzh-visuallyhidden.js +2 -2
- package/dist/components/stzh-vspace.js +2 -2
- package/dist/components/stzh-youtube.js +6 -6
- package/dist/esm/{app-globals-8ffa411d.js → app-globals-9b613e90.js} +2 -2
- package/dist/esm/{app-globals-8ffa411d.js.map → app-globals-9b613e90.js.map} +1 -1
- package/dist/esm/index-d8813b10.js +6 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/stzh-accordion_3.entry.js +3 -3
- package/dist/esm/stzh-actions_6.entry.js +9 -9
- package/dist/esm/stzh-actionset.entry.js +5 -5
- package/dist/esm/stzh-amount.entry.js +1 -1
- package/dist/esm/stzh-anchornav.entry.js +1 -1
- package/dist/esm/stzh-app-nav.entry.js +1 -1
- package/dist/esm/stzh-appointments.entry.js +1 -1
- package/dist/esm/stzh-audio.entry.js +3 -3
- package/dist/esm/stzh-badge_3.entry.js +3 -3
- package/dist/esm/stzh-breadcrumb_2.entry.js +2 -2
- package/dist/esm/stzh-buttongroup.entry.js +1 -1
- package/dist/esm/stzh-card-navigation.entry.js +1 -1
- package/dist/esm/stzh-card-searchresult.entry.js +1 -1
- package/dist/esm/stzh-card.entry.js +4 -4
- package/dist/esm/stzh-cardlist_3.entry.js +3 -3
- package/dist/esm/stzh-carousel.entry.js +2 -2
- package/dist/esm/stzh-chart.entry.js +1 -1
- package/dist/esm/stzh-checkbox.entry.js +3 -3
- package/dist/esm/stzh-checkboxgroup.entry.js +3 -3
- package/dist/esm/stzh-chip.entry.js +1 -1
- package/dist/esm/stzh-chipgroup.entry.js +1 -1
- package/dist/esm/stzh-chipselect.entry.js +4 -4
- package/dist/esm/stzh-clamp.entry.js +2 -2
- package/dist/esm/stzh-company-logo.entry.js +1 -1
- package/dist/esm/stzh-components.js +2 -2
- package/dist/esm/stzh-contact.entry.js +1 -2
- package/dist/esm/stzh-contact.entry.js.map +1 -1
- package/dist/esm/stzh-content.entry.js +1 -1
- package/dist/esm/stzh-cta.entry.js +1 -1
- package/dist/esm/stzh-datalist_3.entry.js +3 -3
- package/dist/esm/stzh-datamessagelist-item.entry.js +1 -1
- package/dist/esm/stzh-datamessagelist.entry.js +1 -1
- package/dist/esm/stzh-datepicker_3.entry.js +10 -10
- package/dist/esm/stzh-datepicker_3.entry.js.map +1 -1
- package/dist/esm/stzh-daterange.entry.js +1 -1
- package/dist/esm/stzh-details.entry.js +1 -1
- package/dist/esm/stzh-dialog.entry.js +5 -5
- package/dist/esm/stzh-dialog.entry.js.map +1 -1
- package/dist/esm/stzh-dropdown.entry.js +4 -4
- package/dist/esm/stzh-figure.entry.js +1 -1
- package/dist/esm/stzh-flyingfocus.entry.js +1 -1
- package/dist/esm/stzh-footer.entry.js +1 -1
- package/dist/esm/stzh-gallery.entry.js +1 -1
- package/dist/esm/stzh-ghettobox_3.entry.js +3 -3
- package/dist/esm/stzh-header_2.entry.js +1 -1
- package/dist/esm/stzh-heading.entry.js +1 -1
- package/dist/esm/stzh-hr.entry.js +1 -1
- package/dist/esm/stzh-hspace.entry.js +2 -2
- package/dist/esm/stzh-http-error.entry.js +1 -1
- package/dist/esm/stzh-iframe.entry.js +4 -4
- package/dist/esm/stzh-imagecomparison.entry.js +2 -2
- package/dist/esm/stzh-input.entry.js +5 -5
- package/dist/esm/stzh-invert.entry.js +1 -1
- package/dist/esm/stzh-link.entry.js +1 -1
- package/dist/esm/stzh-linklist.entry.js +6 -2
- package/dist/esm/stzh-linklist.entry.js.map +1 -1
- package/dist/esm/stzh-list_2.entry.js +2 -2
- package/dist/esm/stzh-loader_2.entry.js +5 -5
- package/dist/esm/stzh-loader_2.entry.js.map +1 -1
- package/dist/esm/stzh-loadingbar.entry.js +1 -1
- package/dist/esm/stzh-menu_2.entry.js +2 -2
- package/dist/esm/stzh-message.entry.js +2 -2
- package/dist/esm/stzh-microsite-teaserlist.entry.js +1 -1
- package/dist/esm/stzh-monthyearpicker.entry.js +1 -1
- package/dist/esm/stzh-offline-indicator.entry.js +1 -1
- package/dist/esm/stzh-page-skiplinks.entry.js +1 -1
- package/dist/esm/stzh-pagebottom.entry.js +1 -1
- package/dist/esm/stzh-pagecontent.entry.js +1 -1
- package/dist/esm/stzh-pagetitle-hero.entry.js +1 -1
- package/dist/esm/stzh-pagetitle-home.entry.js +1 -1
- package/dist/esm/stzh-pagetitle.entry.js +1 -1
- package/dist/esm/stzh-panorama.entry.js +2 -2
- package/dist/esm/stzh-pi-content-navigation.entry.js +1 -1
- package/dist/esm/stzh-pi-menu.entry.js +1 -1
- package/dist/esm/stzh-pi-pagetitle.entry.js +1 -1
- package/dist/esm/stzh-pi-pagetitle.entry.js.map +1 -1
- package/dist/esm/stzh-pi-teaser-layout-item.entry.js +64 -0
- package/dist/esm/stzh-pi-teaser-layout-item.entry.js.map +1 -0
- package/dist/esm/stzh-pi-teaser-layout.entry.js +2 -2
- package/dist/esm/stzh-pi-teaser-layout.entry.js.map +1 -1
- package/dist/esm/stzh-pi-teaser.entry.js +9 -25
- package/dist/esm/stzh-pi-teaser.entry.js.map +1 -1
- package/dist/esm/stzh-poicard.entry.js +1 -1
- package/dist/esm/stzh-poilist.entry.js +1 -1
- package/dist/esm/stzh-popover.entry.js +1 -1
- package/dist/esm/stzh-print_2.entry.js +2 -2
- package/dist/esm/stzh-quote.entry.js +1 -1
- package/dist/esm/stzh-ratio.entry.js +1 -1
- package/dist/esm/stzh-readspeaker.entry.js +2 -2
- package/dist/esm/stzh-saptcha.entry.js +2 -2
- package/dist/esm/stzh-scrollup.entry.js +1 -1
- package/dist/esm/stzh-search.entry.js +2 -2
- package/dist/esm/stzh-section.entry.js +2 -2
- package/dist/esm/stzh-sitemap.entry.js +1 -1
- package/dist/esm/stzh-skin-portal-mitwirken.entry.js +1 -1
- package/dist/esm/stzh-skin-storybook-preview.entry.js +1 -1
- package/dist/esm/stzh-skiplink.entry.js +1 -1
- package/dist/esm/stzh-socialmediastream-item.entry.js +1 -1
- package/dist/esm/stzh-socialmediastream.entry.js +1 -1
- package/dist/esm/stzh-stepper-item.entry.js +3 -3
- package/dist/esm/stzh-stepper.entry.js +3 -3
- package/dist/esm/stzh-sticky-actions.entry.js +1 -1
- package/dist/esm/stzh-sticky.entry.js +1 -1
- package/dist/esm/stzh-table.entry.js +1 -1
- package/dist/esm/stzh-text.entry.js +2 -2
- package/dist/esm/stzh-textandimage.entry.js +1 -1
- package/dist/esm/stzh-timeline-item.entry.js +1 -1
- package/dist/esm/stzh-timeline.entry.js +1 -1
- package/dist/esm/stzh-timepicker.entry.js +1 -1
- package/dist/esm/stzh-toast_2.entry.js +3 -3
- package/dist/esm/stzh-toggle.entry.js +3 -3
- package/dist/esm/stzh-tooltip.entry.js +1 -1
- package/dist/esm/stzh-twocolumns.entry.js +1 -1
- package/dist/esm/stzh-upload.entry.js +3 -3
- package/dist/esm/stzh-visuallyhidden.entry.js +2 -2
- package/dist/esm/stzh-vspace.entry.js +2 -2
- package/dist/esm/stzh-youtube.entry.js +1 -1
- package/dist/stzh-components/index.esm.js.map +1 -1
- package/dist/stzh-components/{p-787ea476.entry.js → p-00cb988b.entry.js} +2 -2
- package/dist/stzh-components/{p-dac817d4.entry.js → p-0422500c.entry.js} +2 -2
- package/dist/stzh-components/{p-5149779d.entry.js → p-08dcf795.entry.js} +2 -2
- package/dist/stzh-components/{p-6705f73a.entry.js → p-0b54e58b.entry.js} +2 -2
- package/dist/stzh-components/p-0c1c23b6.entry.js +2 -0
- package/dist/stzh-components/{p-7fcdf0da.entry.js.map → p-0c1c23b6.entry.js.map} +1 -1
- package/dist/stzh-components/{p-822fd427.entry.js → p-0c340dcf.entry.js} +2 -2
- package/dist/stzh-components/{p-5f236e09.entry.js → p-0cb8c27c.entry.js} +2 -2
- package/dist/stzh-components/{p-58df488a.entry.js → p-0d2af671.entry.js} +2 -2
- package/dist/stzh-components/{p-88b60580.entry.js → p-1145c68c.entry.js} +2 -2
- package/dist/stzh-components/{p-cdfc3629.entry.js → p-12e3c92b.entry.js} +2 -2
- package/dist/stzh-components/p-140c21d2.entry.js +2 -0
- package/dist/stzh-components/{p-c27082b1.entry.js.map → p-140c21d2.entry.js.map} +1 -1
- package/dist/stzh-components/{p-81234cb3.entry.js → p-15a01b5b.entry.js} +2 -2
- package/dist/stzh-components/{p-0dd8bb75.entry.js → p-1bbd32d5.entry.js} +2 -2
- package/dist/stzh-components/{p-bfac05d9.entry.js → p-1bc80799.entry.js} +2 -2
- package/dist/stzh-components/{p-86134534.entry.js → p-1c858aa2.entry.js} +2 -2
- package/dist/stzh-components/{p-59f90fb0.entry.js → p-268a1fd3.entry.js} +2 -2
- package/dist/stzh-components/{p-0eb6375d.entry.js → p-27a50935.entry.js} +2 -2
- package/dist/stzh-components/{p-bec35e8a.entry.js → p-27e51cbb.entry.js} +2 -2
- package/dist/stzh-components/{p-10e8dd7d.entry.js → p-286c9d1c.entry.js} +2 -2
- package/dist/stzh-components/p-286c9d1c.entry.js.map +1 -0
- package/dist/stzh-components/{p-1f383f92.entry.js → p-287a6647.entry.js} +2 -2
- package/dist/stzh-components/{p-5f37f146.entry.js → p-296cf6eb.entry.js} +2 -2
- package/dist/stzh-components/{p-05ac8cf5.entry.js → p-2e8cca5f.entry.js} +2 -2
- package/dist/stzh-components/{p-91b425d3.entry.js → p-3745bbac.entry.js} +2 -2
- package/dist/stzh-components/{p-c5de2eae.entry.js → p-38a9f136.entry.js} +2 -2
- package/dist/stzh-components/{p-4883b247.entry.js → p-3b278a40.entry.js} +2 -2
- package/dist/stzh-components/{p-a92f593a.entry.js → p-44240b20.entry.js} +2 -2
- package/dist/stzh-components/{p-5d4e0dd0.entry.js → p-4538072a.entry.js} +2 -2
- package/dist/stzh-components/{p-bf786c3d.entry.js → p-46258bab.entry.js} +2 -2
- package/dist/stzh-components/{p-89dc75cb.entry.js → p-46554876.entry.js} +2 -2
- package/dist/stzh-components/{p-7bb25462.entry.js → p-4760e8fa.entry.js} +2 -2
- package/dist/stzh-components/{p-4524b189.entry.js → p-488de0c8.entry.js} +2 -2
- package/dist/stzh-components/{p-802da9eb.entry.js → p-48e7e24c.entry.js} +2 -2
- package/dist/stzh-components/p-48fb1f25.entry.js +2 -0
- package/dist/stzh-components/{p-ddc0dc04.entry.js.map → p-48fb1f25.entry.js.map} +1 -1
- package/dist/stzh-components/{p-060b4bf0.entry.js → p-4cbc6aaa.entry.js} +2 -2
- package/dist/stzh-components/{p-5e15683f.entry.js → p-56538913.entry.js} +2 -2
- package/dist/stzh-components/p-568ae693.entry.js +2 -0
- package/dist/stzh-components/p-568ae693.entry.js.map +1 -0
- package/dist/stzh-components/{p-0cf1a45d.entry.js → p-5b30efeb.entry.js} +2 -2
- package/dist/stzh-components/{p-1450f777.entry.js → p-5da60d60.entry.js} +2 -2
- package/dist/stzh-components/{p-36783a19.entry.js → p-5e0d522c.entry.js} +2 -2
- package/dist/stzh-components/{p-560c82e5.entry.js → p-60599b7d.entry.js} +2 -2
- package/dist/stzh-components/{p-a634e4a3.entry.js → p-609a9d4a.entry.js} +2 -2
- package/dist/stzh-components/p-609a9d4a.entry.js.map +1 -0
- package/dist/stzh-components/{p-cb70b81e.entry.js → p-62febcab.entry.js} +2 -2
- package/dist/stzh-components/{p-1416149e.entry.js → p-6345a81b.entry.js} +2 -2
- package/dist/stzh-components/{p-dd1d8a38.entry.js → p-65f98e78.entry.js} +2 -2
- package/dist/stzh-components/{p-f3d3f975.entry.js → p-670b579b.entry.js} +2 -2
- package/dist/stzh-components/{p-f50cd7ba.entry.js → p-6a9a7903.entry.js} +2 -2
- package/dist/stzh-components/{p-01b910be.entry.js → p-7016efd0.entry.js} +2 -2
- package/dist/stzh-components/{p-07a64a81.entry.js → p-70251e01.entry.js} +3 -3
- package/dist/stzh-components/{p-242f8853.entry.js → p-70753f8e.entry.js} +2 -2
- package/dist/stzh-components/{p-83eee7d8.entry.js → p-7499bdb7.entry.js} +2 -2
- package/dist/stzh-components/{p-1ef9b4aa.entry.js → p-7897b99c.entry.js} +2 -2
- package/dist/stzh-components/{p-813765e0.entry.js → p-7ddf3d51.entry.js} +2 -2
- package/dist/stzh-components/{p-7a0e995b.entry.js → p-7ec6c8e7.entry.js} +2 -2
- package/dist/stzh-components/{p-5afa5c60.entry.js → p-7f29fab9.entry.js} +2 -2
- package/dist/stzh-components/{p-a0ec5681.entry.js → p-838a40cd.entry.js} +2 -2
- package/dist/stzh-components/{p-4a05919e.entry.js → p-841118e5.entry.js} +2 -2
- package/dist/stzh-components/{p-4a05919e.entry.js.map → p-841118e5.entry.js.map} +1 -1
- package/dist/stzh-components/{p-e73168b1.entry.js → p-875a572e.entry.js} +2 -2
- package/dist/stzh-components/{p-1791b2b3.entry.js → p-8b41f6fa.entry.js} +2 -2
- package/dist/stzh-components/{p-c7d7d854.entry.js → p-90bf38bb.entry.js} +2 -2
- package/dist/stzh-components/p-913cc4d4.entry.js +2 -0
- package/dist/stzh-components/p-913cc4d4.entry.js.map +1 -0
- package/dist/stzh-components/{p-072ee314.entry.js → p-9697d5b9.entry.js} +2 -2
- package/dist/stzh-components/p-9abad95b.entry.js +2 -0
- package/dist/stzh-components/p-9abad95b.entry.js.map +1 -0
- package/dist/stzh-components/{p-d3d1a284.entry.js → p-a10a167c.entry.js} +2 -2
- package/dist/stzh-components/p-a42eb9ff.entry.js +2 -0
- package/dist/stzh-components/p-a42eb9ff.entry.js.map +1 -0
- package/dist/stzh-components/{p-97c16051.entry.js → p-a58b97fc.entry.js} +2 -2
- package/dist/stzh-components/{p-c4c3cd03.entry.js → p-a74ed640.entry.js} +2 -2
- package/dist/stzh-components/{p-be5c3c5f.entry.js → p-a996b9af.entry.js} +2 -2
- package/dist/stzh-components/{p-9429dd63.entry.js → p-a9c4e972.entry.js} +2 -2
- package/dist/stzh-components/{p-640bd513.entry.js → p-ad9d3926.entry.js} +2 -2
- package/dist/stzh-components/p-adc9fb2b.entry.js +2 -0
- package/dist/stzh-components/{p-8dccb0a9.entry.js.map → p-adc9fb2b.entry.js.map} +1 -1
- package/dist/stzh-components/{p-b5361fa5.entry.js → p-b11487ec.entry.js} +2 -2
- package/dist/stzh-components/{p-a60e9919.entry.js → p-b9354960.entry.js} +2 -2
- package/dist/stzh-components/{p-368d97c2.entry.js → p-bb1d4410.entry.js} +2 -2
- package/dist/stzh-components/{p-c4a656ba.entry.js → p-bd92bc55.entry.js} +2 -2
- package/dist/stzh-components/p-c023e0ce.js +2 -0
- package/dist/stzh-components/{p-f47de487.js.map → p-c023e0ce.js.map} +1 -1
- package/dist/stzh-components/{p-8629e109.entry.js → p-c0c7ebbc.entry.js} +2 -2
- package/dist/stzh-components/{p-513cbed7.entry.js → p-c3ddf161.entry.js} +2 -2
- package/dist/stzh-components/{p-852bb820.entry.js → p-c475f153.entry.js} +2 -2
- package/dist/stzh-components/{p-70739292.entry.js → p-c47d9a87.entry.js} +2 -2
- package/dist/stzh-components/{p-aef0879b.entry.js → p-c9195859.entry.js} +2 -2
- package/dist/stzh-components/{p-0aa2bf6d.entry.js → p-ce1a02f6.entry.js} +2 -2
- package/dist/stzh-components/{p-0c9776ca.entry.js → p-d17e7d90.entry.js} +2 -2
- package/dist/stzh-components/{p-4e67373b.entry.js → p-d29ff5f4.entry.js} +2 -2
- package/dist/stzh-components/{p-84f8a7c4.entry.js → p-d37d10b5.entry.js} +2 -2
- package/dist/stzh-components/p-d37d10b5.entry.js.map +1 -0
- package/dist/stzh-components/{p-523cd861.entry.js → p-d38c0e15.entry.js} +2 -2
- package/dist/stzh-components/{p-603eb9db.entry.js → p-d3b51ee5.entry.js} +2 -2
- package/dist/stzh-components/{p-f52539cd.entry.js → p-d57e8dd4.entry.js} +2 -2
- package/dist/stzh-components/{p-b424108f.entry.js → p-d687ec3c.entry.js} +2 -2
- package/dist/stzh-components/{p-decc15e9.entry.js → p-d73ba86d.entry.js} +2 -2
- package/dist/stzh-components/p-d73ba86d.entry.js.map +1 -0
- package/dist/stzh-components/{p-09ccae77.entry.js → p-d82079be.entry.js} +2 -2
- package/dist/stzh-components/{p-d8d5bcf0.entry.js → p-d956a33d.entry.js} +2 -2
- package/dist/stzh-components/{p-005493d4.entry.js → p-d9dda5eb.entry.js} +2 -2
- package/dist/stzh-components/{p-a64a1cfb.entry.js → p-dc40dd2a.entry.js} +2 -2
- package/dist/stzh-components/{p-5e81bc87.entry.js → p-dca76ae3.entry.js} +2 -2
- package/dist/stzh-components/{p-c4fe3a90.entry.js → p-dcba6464.entry.js} +2 -2
- package/dist/stzh-components/{p-b2bd3ab6.entry.js → p-e01d37b9.entry.js} +2 -2
- package/dist/stzh-components/{p-52157928.entry.js → p-e054a79d.entry.js} +2 -2
- package/dist/stzh-components/{p-7c3ad9ad.entry.js → p-e05db400.entry.js} +2 -2
- package/dist/stzh-components/{p-f87cac36.entry.js → p-e513785b.entry.js} +2 -2
- package/dist/stzh-components/{p-6201ff22.entry.js → p-e9b37425.entry.js} +2 -2
- package/dist/stzh-components/{p-87b49bad.entry.js → p-ec0c1d40.entry.js} +2 -2
- package/dist/stzh-components/{p-14d4ccf8.entry.js → p-f0defcda.entry.js} +2 -2
- package/dist/stzh-components/{p-f76e4062.entry.js → p-f12cc836.entry.js} +2 -2
- package/dist/stzh-components/{p-cfaa0150.entry.js → p-f1340147.entry.js} +2 -2
- package/dist/stzh-components/{p-484ab936.entry.js → p-f76bc9ba.entry.js} +2 -2
- package/dist/stzh-components/{p-05c5f234.entry.js → p-f86de9e1.entry.js} +2 -2
- package/dist/stzh-components/{p-2b99717a.entry.js → p-faddaae7.entry.js} +2 -2
- package/dist/stzh-components/{p-592d0768.entry.js → p-fe64fe26.entry.js} +2 -2
- package/dist/stzh-components/stzh-components.esm.js +1 -1
- package/dist/stzh-components/stzh-components.esm.js.map +1 -1
- package/dist/types/components/CMS/stzh-contact/stzh-contact.d.ts +0 -2
- package/dist/types/components/CMS/stzh-linklist/stzh-linklist.d.ts +5 -1
- package/dist/types/components/CMS/stzh-pi-teaser/stzh-pi-teaser.d.ts +0 -7
- package/dist/types/components/CMS/stzh-pi-teaser-layout/stzh-pi-teaser-layout.d.ts +4 -1
- package/dist/types/components/CMS/stzh-pi-teaser-layout-item/stzh-pi-teaser-layout-item.d.ts +44 -0
- package/dist/types/components/stzh-dialog/stzh-dialog.d.ts +1 -1
- package/dist/types/components/stzh-overlay/stzh-overlay.d.ts +1 -1
- package/dist/types/components.d.ts +128 -42
- package/dist/types/index.d.ts +5 -0
- package/dist/vscode-data.json +92 -45
- package/package.json +3 -3
- package/dist/components/p-503bdd56.js.map +0 -1
- package/dist/components/p-9ac321e4.js.map +0 -1
- package/dist/components/p-9c59e8f6.js.map +0 -1
- package/dist/components/p-c22c1bb9.js +0 -102
- package/dist/components/p-c22c1bb9.js.map +0 -1
- package/dist/stzh-components/p-07f2765c.entry.js +0 -2
- package/dist/stzh-components/p-07f2765c.entry.js.map +0 -1
- package/dist/stzh-components/p-10e8dd7d.entry.js.map +0 -1
- package/dist/stzh-components/p-177fe44b.entry.js +0 -2
- package/dist/stzh-components/p-177fe44b.entry.js.map +0 -1
- package/dist/stzh-components/p-7fcdf0da.entry.js +0 -2
- package/dist/stzh-components/p-84f8a7c4.entry.js.map +0 -1
- package/dist/stzh-components/p-8dccb0a9.entry.js +0 -2
- package/dist/stzh-components/p-a469d79d.entry.js +0 -2
- package/dist/stzh-components/p-a469d79d.entry.js.map +0 -1
- package/dist/stzh-components/p-a634e4a3.entry.js.map +0 -1
- package/dist/stzh-components/p-c27082b1.entry.js +0 -2
- package/dist/stzh-components/p-ddc0dc04.entry.js +0 -2
- package/dist/stzh-components/p-decc15e9.entry.js.map +0 -1
- package/dist/stzh-components/p-f47de487.js +0 -2
- /package/dist/stzh-components/{p-787ea476.entry.js.map → p-00cb988b.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-dac817d4.entry.js.map → p-0422500c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-5149779d.entry.js.map → p-08dcf795.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-6705f73a.entry.js.map → p-0b54e58b.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-822fd427.entry.js.map → p-0c340dcf.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-5f236e09.entry.js.map → p-0cb8c27c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-58df488a.entry.js.map → p-0d2af671.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-88b60580.entry.js.map → p-1145c68c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-cdfc3629.entry.js.map → p-12e3c92b.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-81234cb3.entry.js.map → p-15a01b5b.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-0dd8bb75.entry.js.map → p-1bbd32d5.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-bfac05d9.entry.js.map → p-1bc80799.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-86134534.entry.js.map → p-1c858aa2.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-59f90fb0.entry.js.map → p-268a1fd3.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-0eb6375d.entry.js.map → p-27a50935.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-bec35e8a.entry.js.map → p-27e51cbb.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-1f383f92.entry.js.map → p-287a6647.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-5f37f146.entry.js.map → p-296cf6eb.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-05ac8cf5.entry.js.map → p-2e8cca5f.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-91b425d3.entry.js.map → p-3745bbac.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-c5de2eae.entry.js.map → p-38a9f136.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-4883b247.entry.js.map → p-3b278a40.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a92f593a.entry.js.map → p-44240b20.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-5d4e0dd0.entry.js.map → p-4538072a.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-bf786c3d.entry.js.map → p-46258bab.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-89dc75cb.entry.js.map → p-46554876.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-7bb25462.entry.js.map → p-4760e8fa.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-4524b189.entry.js.map → p-488de0c8.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-802da9eb.entry.js.map → p-48e7e24c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-060b4bf0.entry.js.map → p-4cbc6aaa.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-5e15683f.entry.js.map → p-56538913.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-0cf1a45d.entry.js.map → p-5b30efeb.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-1450f777.entry.js.map → p-5da60d60.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-36783a19.entry.js.map → p-5e0d522c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-560c82e5.entry.js.map → p-60599b7d.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-cb70b81e.entry.js.map → p-62febcab.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-1416149e.entry.js.map → p-6345a81b.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-dd1d8a38.entry.js.map → p-65f98e78.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-f3d3f975.entry.js.map → p-670b579b.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-f50cd7ba.entry.js.map → p-6a9a7903.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-01b910be.entry.js.map → p-7016efd0.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-07a64a81.entry.js.map → p-70251e01.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-242f8853.entry.js.map → p-70753f8e.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-83eee7d8.entry.js.map → p-7499bdb7.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-1ef9b4aa.entry.js.map → p-7897b99c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-813765e0.entry.js.map → p-7ddf3d51.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-7a0e995b.entry.js.map → p-7ec6c8e7.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-5afa5c60.entry.js.map → p-7f29fab9.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a0ec5681.entry.js.map → p-838a40cd.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-e73168b1.entry.js.map → p-875a572e.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-1791b2b3.entry.js.map → p-8b41f6fa.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-c7d7d854.entry.js.map → p-90bf38bb.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-072ee314.entry.js.map → p-9697d5b9.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-d3d1a284.entry.js.map → p-a10a167c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-97c16051.entry.js.map → p-a58b97fc.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-c4c3cd03.entry.js.map → p-a74ed640.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-be5c3c5f.entry.js.map → p-a996b9af.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-9429dd63.entry.js.map → p-a9c4e972.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-640bd513.entry.js.map → p-ad9d3926.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b5361fa5.entry.js.map → p-b11487ec.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a60e9919.entry.js.map → p-b9354960.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-368d97c2.entry.js.map → p-bb1d4410.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-c4a656ba.entry.js.map → p-bd92bc55.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-8629e109.entry.js.map → p-c0c7ebbc.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-513cbed7.entry.js.map → p-c3ddf161.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-852bb820.entry.js.map → p-c475f153.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-70739292.entry.js.map → p-c47d9a87.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-aef0879b.entry.js.map → p-c9195859.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-0aa2bf6d.entry.js.map → p-ce1a02f6.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-0c9776ca.entry.js.map → p-d17e7d90.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-4e67373b.entry.js.map → p-d29ff5f4.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-523cd861.entry.js.map → p-d38c0e15.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-603eb9db.entry.js.map → p-d3b51ee5.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-f52539cd.entry.js.map → p-d57e8dd4.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b424108f.entry.js.map → p-d687ec3c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-09ccae77.entry.js.map → p-d82079be.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-d8d5bcf0.entry.js.map → p-d956a33d.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-005493d4.entry.js.map → p-d9dda5eb.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a64a1cfb.entry.js.map → p-dc40dd2a.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-5e81bc87.entry.js.map → p-dca76ae3.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-c4fe3a90.entry.js.map → p-dcba6464.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b2bd3ab6.entry.js.map → p-e01d37b9.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-52157928.entry.js.map → p-e054a79d.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-7c3ad9ad.entry.js.map → p-e05db400.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-f87cac36.entry.js.map → p-e513785b.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-6201ff22.entry.js.map → p-e9b37425.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-87b49bad.entry.js.map → p-ec0c1d40.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-14d4ccf8.entry.js.map → p-f0defcda.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-f76e4062.entry.js.map → p-f12cc836.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-cfaa0150.entry.js.map → p-f1340147.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-484ab936.entry.js.map → p-f76bc9ba.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-05c5f234.entry.js.map → p-f86de9e1.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-2b99717a.entry.js.map → p-faddaae7.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-592d0768.entry.js.map → p-fe64fe26.entry.js.map} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"p-9c59e8f6.js","mappings":";;;;;;;;;AAAA,MAAM,aAAa,GAAG,8zLAA8zL,CAAC;AACr1L,yBAAe,aAAa;;ACU5B,MAAM,eAAe,GAAG,kBAAkB,CAAC;AAE3C,IAAI,YAAY,GAAe,IAAI,CAAC;AACpC,IAAI,aAAa,GAAG,CAAC,CAAC;MAWT,UAAU;;;;;;QAuGb,sBAAiB,GAAG,CAAC,KAAiB;YAC5C,MAAM,MAAM,GAAG,KAAK,CAAC,MAAqB,CAAC;YAC3C,IAAI,MAAM,CAAC,OAAO,CAAC,eAAe,EAAE;gBAClC,I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AAE,KAAK,EAAC,sBAAsB,EAAC,KAAK,EAAC,GAAG,IAC3E,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,GAAG,OAAO,CACzB,EAEf,4DAAK,KAAK,EAAC,6BAA6B,IACtC,8DAAa,CACT,EAEN,4DAAK,KAAK,EAAC,sBAAsB,IAC/B,6DAAM,IAAI,EAAC,SAAS,GAAQ,CACxB,EAEL,CAAC,IAAI,CAAC,SAAS,KACd,oEACE,KAAK,EAAC,2BAA2B,EACjC,OAAO,EAAC,UAAU,EAClB,IAAI,EAAC,OAAO,EACZ,IAAI,EAAC,OAAO,EACZ,QAAQ,EAAE,IAAI,EACd,OAAO,EAAE,IAAI,CAAC,sBAAsB,EACpC,SAAS,EAAE,IAAI,CAAC,YAAY,CAAC,KAAK,EAClC,WAAW,EAAE,IAAI,CAAC,gBAAgB,IAAI,IAAI,CAAC,YAAY,CAAC,KAAK,GAChD,CAChB,CACG,CACF,CACF,CACD,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/stzh-dialog/stzh-dialog.scss?tag=stzh-dialog&encapsulation=scoped","src/components/stzh-dialog/stzh-dialog.tsx"],"sourcesContent":["/**\n * @prop --width: Width of dialog\n * @prop --padding-top: Padding top of dialog\n * @prop --padding-bottom: Padding bottom of dialog\n * @prop --padding-left: Padding left of dialog\n * @prop --padding-right: Padding right of dialog\n * @prop --backdrop-opacity: Opacity of dialog backdrop\n * @prop --backdrop-background-color: Opacity of dialog background color\n *\n * @prop --stzh-dialog-backdrop-opacity: **Global**: Opacity of backdrops\n * @prop --stzh-dialog-backdrop-background-color: **Global**: Background color of backdrops\n */\n\n:host {\n @include spaceCurve(\"--padding-top\", \"large\");\n @include spaceCurve(\"--padding-bottom\", \"large\");\n @include spaceCurve(\"--padding-left\", \"medium\");\n @include spaceCurve(\"--padding-right\", \"medium\");\n --width: 100%;\n --backdrop-opacity: #{$dialogBackdropOpacity};\n --backdrop-background-color: #{$dialogBackdropBackgroundColor};\n\n @include mq($from: small) {\n --width: 536px;\n }\n\n @include mq($from: medium) {\n --width: 610px; // 786 before\n }\n\n @include mq($from: large) {\n --width: 866px; // 832 before\n }\n\n @include mq($from: ultra) {\n --width: 888px;\n }\n\n &[size=\"small\"] {\n @include mq($from: small) {\n --width: 395px;\n }\n\n @include mq($from: medium) {\n --width: 460px;\n }\n\n @include mq($from: large) {\n --width: 512px;\n }\n }\n}\n\n.stzh-dialog {\n z-index: $zIndexDialog;\n display: none;\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n flex-direction: column;\n align-items: stretch;\n justify-content: stretch;\n\n &__content {\n z-index: 2;\n position: relative;\n display: flex;\n flex-direction: column;\n align-items: center;\n flex-grow: 1;\n overflow: auto;\n }\n\n &__dialog {\n position: relative;\n display: flex;\n flex-direction: column;\n margin: auto;\n border: none;\n background-color: $colorWhite;\n width: auto;\n min-width: var(--width);\n max-width: 100%;\n box-shadow: $boxShadowOverlay;\n height: 100vh;\n max-height: 100vh;\n overflow: hidden;\n outline: none;\n\n &--fit-content {\n width: fit-content;\n }\n\n @include mq($from: small) {\n height: auto;\n }\n }\n\n &__backdrop {\n z-index: 1;\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n overflow-x: hidden;\n overflow-y: auto;\n text-align: center;\n background-color: var(--backdrop-background-color);\n opacity: var(--backdrop-opacity);\n }\n\n &__heading {\n @include spaceCurve(\"padding-bottom\", \"regular\");\n padding-top: var(--padding-top);\n padding-left: var(--padding-left);\n padding-right: var(--padding-right);\n }\n\n &__dialog-content {\n padding-left: var(--padding-left);\n padding-right: var(--padding-right);\n @include spaceCurve(\"padding-top\", \"medium\");\n @include spaceCurve(\"padding-bottom\", \"medium\");\n overflow: auto;\n flex-grow: 1;\n }\n\n &__actions {\n &:not(:empty) {\n padding: space(\"medium\") var(--padding-right) var(--padding-bottom)\n var(--padding-left);\n }\n }\n\n &__close-button {\n position: absolute;\n top: space(\"xsmall\");\n right: space(\"xsmall\");\n\n @include mq($from: medium) {\n top: space(\"large\");\n right: space(\"large\");\n }\n }\n\n &--is-open {\n display: flex;\n }\n}\n","import { Host, Component, Element, Method, Listen, Prop, Event, EventEmitter, h } from \"@stencil/core\";\n\nimport { StzhDialogOpenEvent, StzhDialogCloseEvent } from \"../../index\";\n\nimport { setPropsIfNull } from \"../../utils/utils\";\nimport { createBaseFocusTrapOptions } from \"../../utils/overlay-utils\";\n\nimport { StzhDialogLocalizedText } from \"./stzh-dialog.localization\";\n\nimport { createFocusTrap, FocusTrap } from \"focus-trap\";\n\nconst CLASS_BODY_OPEN = \"stzh-dialog-open\";\n\nlet activeDialog: StzhDialog = null;\nlet dialogCounter = 0;\n\n/**\n * @slot actions - Slot for actions element\n * @slot - Slot for any content inside the dialog\n */\n@Component({\n tag: \"stzh-dialog\",\n styleUrl: \"stzh-dialog.scss\",\n scoped: true,\n})\nexport class StzhDialog {\n /** Translation strings */\n @Prop() localization: StzhDialogLocalizedText;\n\n /** Close dialog when pressing ESC */\n @Prop() closeOnEscapeKey: boolean = false;\n\n /** Close dialog when clicking outside of it */\n @Prop() closeOnBackdropClick: boolean = false;\n\n /** Open status */\n @Prop({ mutable: true }) open: boolean = false;\n\n /** Stay in original position (true) or move to body (false) */\n @Prop() stay: boolean = true;\n\n /** Size */\n @Prop({ reflect: true }) size: \"default\" | \"small\" = \"default\";\n\n /** Whether to hide close button */\n @Prop() hideClose: boolean = false;\n\n /** Heading text\n * *mandatory* since DESI 4.0\n * */\n @Prop() heading: string = \"\";\n\n /** Accessibility role */\n @Prop({ attribute: \"a11y-role\" }) a11yRole: \"dialog\" | \"alertdialog\" = \"alertdialog\";\n\n /**\n * For Adobe Analytics.\n * Will be rendered as value of `s-object-id` attribute to the close button element.\n * Default value will be taken from translations.\n */\n @Prop() closeAnalyticsId: string;\n\n /** Dialog open event */\n @Event() stzhOpen: EventEmitter<StzhDialogOpenEvent>;\n\n /** Dialog close event */\n @Event() stzhClose: EventEmitter<StzhDialogCloseEvent>;\n\n @Element() element: HTMLStzhDialogElement;\n\n @Listen(\"click\", { target: \"document\", capture: true })\n handleOutsideClick(event: MouseEvent) {\n if (!this.open || !this.closeOnBackdropClick) {\n return;\n }\n\n const isClickOutside =\n event.target !== this.dialogElement && this.dialogElement.contains(event.target as HTMLElement) === false;\n\n if (isClickOutside) {\n this.hide();\n }\n }\n\n @Listen(\"keydown\", { target: \"document\" })\n handleKeydown(event: KeyboardEvent) {\n if (event.key === \"Escape\" && activeDialog === this && this.closeOnEscapeKey) {\n this.hide();\n }\n }\n\n @Listen(\"click\", { target: \"document\" })\n handleOpenTriggerClick(event: MouseEvent) {\n const target = event.target as HTMLElement;\n\n if (target.dataset.stzhDialogTrigger === this.element.id) {\n this.show();\n } else {\n const closest = target.closest(\"[data-stzh-dialog-trigger]\") as HTMLElement;\n\n if (closest && closest.dataset.stzhDialogTrigger === this.element.id) {\n this.show();\n }\n }\n }\n\n @Method()\n async show() {\n this.open = true;\n this.stzhOpen.emit({\n component: \"stzh-dialog\",\n });\n }\n\n @Method()\n async hide() {\n this.open = false;\n this.stzhClose.emit({\n component: \"stzh-dialog\",\n });\n }\n\n private observer: MutationObserver;\n private id: string;\n private trap: FocusTrap;\n private parentElement: HTMLElement;\n private dialogElement: HTMLDivElement;\n\n private handleDialogClick = (event: MouseEvent) => {\n const target = event.target as HTMLElement;\n if (target.dataset.stzhDialogClose) {\n this.hide();\n } else {\n const closest = target.closest(\"[data-stzh-dialog-close]\");\n\n if (closest) {\n this.hide();\n }\n }\n };\n\n private handleCloseButtonClick = () => {\n this.hide();\n };\n\n private init = () => {\n const actions = this.element.querySelector('stzh-actions[slot=\"actions\"]');\n\n if (actions) {\n setPropsIfNull(actions, {\n variant: \"dialog\",\n } as HTMLStzhActionsElement);\n }\n };\n\n private getSiblings() {\n if (!this.parentElement) {\n return [];\n }\n\n return Array.from(this.parentElement.children).filter(child => child !== this.element);\n }\n\n private disableSiblings() {\n this.getSiblings().forEach(sibling => {\n sibling.setAttribute(\"aria-hidden\", \"true\");\n });\n }\n\n private enableSiblings() {\n this.getSiblings().forEach(sibling => {\n sibling.removeAttribute(\"aria-hidden\");\n });\n }\n\n private dialogShown() {\n activeDialog = this;\n document.body.classList.add(CLASS_BODY_OPEN);\n this.disableSiblings();\n\n if (this.trap) {\n this.trap.activate();\n }\n }\n\n private dialogHidden() {\n document.body.classList.remove(CLASS_BODY_OPEN);\n this.enableSiblings();\n\n if (this.trap) {\n this.trap.deactivate();\n }\n\n activeDialog = null;\n }\n\n async componentWillLoad() {\n this.id = `stzh-dialog-${dialogCounter}`;\n dialogCounter++;\n\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"dialog\");\n }\n }\n\n componentDidRender() {\n this.open ? this.dialogShown() : this.dialogHidden();\n }\n\n componentDidUpdate() {\n this.trap.updateContainerElements(this.element);\n }\n\n componentDidLoad() {\n this.trap = createFocusTrap(this.element, {\n fallbackFocus: this.dialogElement,\n ...createBaseFocusTrapOptions(),\n });\n\n if (this.open) {\n this.dialogShown();\n }\n }\n\n connectedCallback() {\n if (!this.stay && this.element.parentElement !== document.body) {\n document.body.appendChild(this.element);\n }\n\n this.parentElement = this.element.parentElement;\n\n this.init();\n\n this.observer = new MutationObserver(this.init);\n this.observer.observe(this.element, {\n childList: true,\n subtree: true,\n });\n }\n\n disconnectedCallback() {\n this.dialogHidden();\n\n if (this.observer) {\n this.observer.disconnect();\n }\n }\n\n render() {\n return (\n <Host>\n <div\n class={{\n \"stzh-dialog\": true,\n \"stzh-dialog--is-open\": this.open,\n \"stzh-dialog--has-heading\": !!this.heading,\n \"stzh-dialog--has-close-hidden\": this.hideClose,\n [`stzh-dialog--size-${this.size}`]: !!this.size,\n }}\n >\n <div class=\"stzh-dialog__backdrop\"></div>\n <div class=\"stzh-dialog__content\">\n <div\n class=\"stzh-dialog__dialog\"\n ref={el => (this.dialogElement = el as HTMLDivElement)}\n tabindex=\"-1\"\n role={this.a11yRole}\n aria-hidden={this.open ? \"false\" : \"true\"}\n onClick={this.handleDialogClick}\n >\n <stzh-heading id={`${this.id}-heading`} class=\"stzh-dialog__heading\" level=\"2\">\n {this.heading ? this.heading : \"Title\"}\n </stzh-heading>\n\n <div class=\"stzh-dialog__dialog-content\">\n <slot></slot>\n </div>\n\n <div class=\"stzh-dialog__actions\">\n <slot name=\"actions\"></slot>\n </div>\n\n {!this.hideClose && (\n <stzh-button\n class=\"stzh-dialog__close-button\"\n variant=\"tertiary\"\n size=\"small\"\n icon=\"close\"\n iconOnly={true}\n onClick={this.handleCloseButtonClick}\n a11yLabel={this.localization.close}\n analyticsId={this.closeAnalyticsId || this.localization.close}\n ></stzh-button>\n )}\n </div>\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-8f01554b.js';
|
|
2
|
-
|
|
3
|
-
const stzhPiTeaserCss = "@charset \"UTF-8\";\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n.sc-stzh-pi-teaser-h {\n font-family: var(--stzh-font-family-medium);\n font-weight: var(--stzh-font-weight-medium);\n font-style: var(--stzh-font-style-medium);\n color: var(--stzh-base-color);\n box-sizing: border-box;\n display: block;\n \n}\n[hidden].sc-stzh-pi-teaser-h, [stzh-hidden].sc-stzh-pi-teaser-h {\n display: none;\n}\n.sc-stzh-pi-teaser-h::selection {\n color: var(--stzh-selection-color);\n background-color: var(--stzh-selection-background-color);\n}\n.sc-stzh-pi-teaser-h *.sc-stzh-pi-teaser, .sc-stzh-pi-teaser-h *.sc-stzh-pi-teaser::before, .sc-stzh-pi-teaser-h *.sc-stzh-pi-teaser::after {\n box-sizing: border-box;\n text-underline-offset: var(--stzh-link-text-underline-offset);\n text-decoration-thickness: var(--stzh-link-text-decoration-thickness);\n -webkit-text-decoration-skip-ink: var(--stzh-link-text-decoration-skip-ink);\n text-decoration-skip-ink: var(--stzh-link-text-decoration-skip-ink);\n}\n.sc-stzh-pi-teaser-h .has-focus.sc-stzh-pi-teaser {\n outline: var(--stzh-flyingfocus-color) solid 0.125rem;\n outline-offset: 0.125rem;\n}\n.sc-stzh-pi-teaser-h .stzh-fylingfocus-focused.sc-stzh-pi-teaser {\n outline-style: none !important;\n}\n.sc-stzh-pi-teaser-h .stzh-fylingfocus-focused.sc-stzh-pi-teaser::-moz-focus-inner {\n border: 0 !important;\n}\n\n\n.sc-stzh-pi-teaser-h {\n --image-background-color: var(\n --stzh-pi-teaser-image-background-color,\n var(--stzh-color-coolgrey10)\n );\n display: flex;\n inline-size: 100%;\n block-size: 100%;\n container-type: size;\n}\n[image-position=top].sc-stzh-pi-teaser-h {\n --grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);\n}\n@media screen and (max-width: 899px) {\n [image-position=top].sc-stzh-pi-teaser-h {\n --grid-template-areas: var(\n --stzh-pi-teaser-grid-template-areas,\n \"image image image image \" \"text text text text \"\n );\n }\n}\n@media screen and (min-width: 900px) {\n [image-position=top].sc-stzh-pi-teaser-h {\n --grid-template-areas: var(\n --stzh-pi-teaser-grid-template-areas,\n \"image image image image image image image image\"\n \"text text text text text text text text\"\n );\n }\n}\n@media screen and (min-width: 1260px) {\n [image-position=top].sc-stzh-pi-teaser-h {\n --grid-template-areas: var(\n --stzh-pi-teaser-grid-template-areas,\n \"image image image image image image image image image image image image\"\n \"text text text text text text text text text text text text\"\n );\n }\n}\n[image-position=right].sc-stzh-pi-teaser-h {\n --grid-template-no-rows: 1fr;\n}\n@media screen and (max-width: 899px) {\n [image-position=right].sc-stzh-pi-teaser-h {\n --grid-template-areas: var(\n --stzh-pi-teaser-grid-template-areas,\n \"text text image image\"\n );\n }\n}\n@media screen and (min-width: 900px) {\n [image-position=right].sc-stzh-pi-teaser-h {\n --grid-template-areas: var(\n --stzh-pi-teaser-grid-template-areas,\n \"text text text text text image image image\"\n );\n }\n}\n@media screen and (min-width: 1260px) {\n [image-position=right].sc-stzh-pi-teaser-h {\n --grid-template-areas: var(\n --stzh-pi-teaser-grid-template-areas,\n \"text text text text text text image image image image image image\"\n );\n }\n}\n.sc-stzh-pi-teaser-h:not([has-image]) {\n --grid-template-no-rows: 1fr;\n}\n@media screen and (max-width: 899px) {\n .sc-stzh-pi-teaser-h:not([has-image]) {\n --grid-template-areas-no-image: \"text text text text\";\n }\n}\n@media screen and (min-width: 900px) {\n .sc-stzh-pi-teaser-h:not([has-image]) {\n --grid-template-areas-no-image: \"text text text text text text text text\";\n }\n}\n@media screen and (min-width: 1260px) {\n .sc-stzh-pi-teaser-h:not([has-image]) {\n --grid-template-areas-no-image: \"text text text text text text text text text text text text\";\n }\n}\n.sc-stzh-pi-teaser-h:not([has-lead]) .stzh-pi-teaser__lead.sc-stzh-pi-teaser {\n display: none;\n}\n[content-size=XL].sc-stzh-pi-teaser-h .stzh-pi-teaser__title.sc-stzh-pi-teaser {\n font-size: var(--stzh-font-mega-font-size);\n line-height: var(--stzh-font-mega-text-line-height);\n letter-spacing: var(--stzh-font-mega-text-letter-spacing);\n}\n[content-size=L].sc-stzh-pi-teaser-h .stzh-pi-teaser__title.sc-stzh-pi-teaser {\n font-size: var(--stzh-font-hecto-font-size);\n line-height: var(--stzh-font-hecto-text-line-height);\n letter-spacing: var(--stzh-font-hecto-text-letter-spacing);\n}\n[content-size=M].sc-stzh-pi-teaser-h .stzh-pi-teaser__title.sc-stzh-pi-teaser {\n font-size: var(--stzh-font-deca-font-size);\n line-height: var(--stzh-font-deca-text-line-height);\n letter-spacing: var(--stzh-font-deca-text-letter-spacing);\n}\n[content-size=S].sc-stzh-pi-teaser-h .stzh-pi-teaser__title.sc-stzh-pi-teaser {\n font-size: var(--stzh-font-deci-font-size);\n line-height: var(--stzh-font-deci-text-line-height);\n letter-spacing: var(--stzh-font-curve---text-letter-spacing);\n}\n[content-size=XS].sc-stzh-pi-teaser-h .stzh-pi-teaser__title.sc-stzh-pi-teaser {\n font-size: var(--stzh-font-centi-font-size);\n line-height: var(--stzh-font-centi-text-line-height);\n letter-spacing: var(--stzh-font-curve---text-letter-spacing);\n}\n[content-size=S].sc-stzh-pi-teaser-h:not([has-image]) .stzh-pi-teaser__title.sc-stzh-pi-teaser {\n -webkit-line-clamp: 2;\n}\n@container (max-height: 235px) {\n .sc-stzh-pi-teaser-h[image-position=top] .stzh-pi-teaser {\n --grid-template-rows: 40cqh 60cqh;\n }\n .sc-stzh-pi-teaser-h[image-position=top] .stzh-pi-teaser__lead {\n --lead-lines: 1;\n }\n .sc-stzh-pi-teaser-h:not([has-image]) .stzh-pi-teaser__lead {\n --lead-lines: 1;\n }\n}\n@container (min-height: 236px) and (max-height:349px) {\n .sc-stzh-pi-teaser-h[image-position=top] .stzh-pi-teaser {\n --grid-template-rows: 47cqh 53cqh;\n }\n .sc-stzh-pi-teaser-h[image-position=top] .stzh-pi-teaser__lead {\n --lead-lines: 2;\n }\n .sc-stzh-pi-teaser-h:not([has-image]) .stzh-pi-teaser__lead {\n --lead-lines: 2;\n }\n}\n@container (min-height: 350px) and (max-height:599px) {\n .sc-stzh-pi-teaser-h[image-position=top] .stzh-pi-teaser {\n --grid-template-rows: 55cqh 45cqh;\n }\n .sc-stzh-pi-teaser-h[image-position=top] .stzh-pi-teaser__lead {\n --lead-lines: 3;\n }\n}\n@container (min-height: 600px) and (max-height: 799px) {\n .sc-stzh-pi-teaser-h[image-position=top] .stzh-pi-teaser {\n --grid-template-rows: 55cqh 45cqh;\n }\n}\n@container (min-height: 800px) {\n .sc-stzh-pi-teaser-h[image-position=top] .stzh-pi-teaser {\n --grid-template-rows: 40cqh 60cqh;\n }\n}\n\n.stzh-pi-teaser.sc-stzh-pi-teaser {\n column-gap: var(--stzh-grid-gutter);\n display: grid;\n grid-template-columns: repeat(4, minmax(0, 1fr));\n display: grid;\n height: 100%;\n width: 100%;\n grid-template-rows: var(--grid-template-no-rows, var(--grid-template-rows));\n grid-template-areas: var(--grid-template-areas-no-image, var(--grid-template-areas));\n background-color: var(--stzh-color-grey10);\n}\n@media screen and (min-width: 600px) {\n .stzh-pi-teaser.sc-stzh-pi-teaser {\n column-gap: var(--stzh-grid-gutter-small);\n }\n}\n@media screen and (min-width: 900px) {\n .stzh-pi-teaser.sc-stzh-pi-teaser {\n column-gap: var(--stzh-grid-gutter-medium);\n }\n}\n@media screen and (min-width: 1260px) {\n .stzh-pi-teaser.sc-stzh-pi-teaser {\n column-gap: var(--stzh-grid-gutter-large);\n }\n}\n@media screen and (min-width: 1600px) {\n .stzh-pi-teaser.sc-stzh-pi-teaser {\n column-gap: var(--stzh-grid-gutter-ultra);\n }\n}\n@media screen and (min-width: 900px) {\n .stzh-pi-teaser.sc-stzh-pi-teaser {\n grid-template-columns: repeat(8, minmax(0, 1fr));\n }\n}\n@media screen and (min-width: 1260px) {\n .stzh-pi-teaser.sc-stzh-pi-teaser {\n grid-template-columns: repeat(12, minmax(0, 1fr));\n }\n}\n.stzh-pi-teaser__text.sc-stzh-pi-teaser {\n display: grid;\n grid-template-rows: auto auto minmax(0, 1fr) auto;\n height: 100%;\n min-height: 0;\n align-content: start;\n}\n.stzh-pi-teaser__wrapper.sc-stzh-pi-teaser {\n grid-area: text;\n overflow: hidden;\n padding: var(--stzh-space-medium);\n height: 100%;\n min-height: 0;\n}\n.stzh-pi-teaser__image.sc-stzh-pi-teaser {\n overflow: hidden;\n grid-area: image;\n}\n.stzh-pi-teaser__image.sc-stzh-pi-teaser > img.sc-stzh-pi-teaser {\n width: 100%;\n height: 100%;\n object-fit: cover;\n}\n.stzh-pi-teaser__dateline.sc-stzh-pi-teaser {\n font-family: var(--stzh-font-family-title);\n font-weight: var(--stzh-font-weight-title);\n font-style: var(--stzh-font-style-title);\n font-size: var(--stzh-font-milli-font-size);\n line-height: var(--stzh-font-milli-text-line-height);\n letter-spacing: var(--stzh-font-curve---text-letter-spacing);\n color: var(--stzh-color-coolgrey70);\n margin: 0;\n align-self: start;\n}\n.stzh-pi-teaser__title-wrapper.sc-stzh-pi-teaser {\n padding-top: var(--stzh-space-xsmall);\n padding-bottom: var(--stzh-space-xxsmall);\n}\n@media screen and (min-width: 600px) {\n .stzh-pi-teaser__title-wrapper.sc-stzh-pi-teaser {\n padding-top: var(--stzh-space-small);\n }\n}\n@media screen and (min-width: 900px) {\n .stzh-pi-teaser__title-wrapper.sc-stzh-pi-teaser {\n padding-top: var(--stzh-space-medium);\n }\n}\n@media screen and (min-width: 1260px) {\n .stzh-pi-teaser__title-wrapper.sc-stzh-pi-teaser {\n padding-top: var(--stzh-space-xlarge);\n }\n}\n@media screen and (min-width: 900px) {\n .stzh-pi-teaser__title-wrapper.sc-stzh-pi-teaser {\n padding-bottom: var(--stzh-space-xsmall);\n }\n}\n@media screen and (min-width: 1260px) {\n .stzh-pi-teaser__title-wrapper.sc-stzh-pi-teaser {\n padding-bottom: var(--stzh-space-small);\n }\n}\n.stzh-pi-teaser__title.sc-stzh-pi-teaser {\n font-family: var(--stzh-font-family-title);\n font-weight: var(--stzh-font-weight-title);\n font-style: var(--stzh-font-style-title);\n overflow-wrap: break-word;\n word-wrap: break-word;\n word-break: break-word;\n hyphens: auto;\n color: var(--stzh-color-black);\n margin: 0;\n display: -webkit-box;\n -webkit-line-clamp: 2;\n \n -webkit-box-orient: vertical;\n overflow: hidden;\n text-overflow: ellipsis;\n \n align-self: start;\n}\n.stzh-pi-teaser__title-link.sc-stzh-pi-teaser {\n display: block;\n font-family: inherit;\n appearance: none;\n background-color: transparent;\n border: none;\n color: var(--stzh-color-black);\n -webkit-text-decoration-line: none;\n text-decoration-line: none;\n transition: color var(--stzh-base-transition-animation-speed);\n border-radius: var(--stzh-button-border-radius);\n cursor: pointer;\n}\n.stzh-pi-teaser__lead-wrapper.sc-stzh-pi-teaser {\n padding-bottom: var(--stzh-space-xsmall);\n}\n@media screen and (min-width: 600px) {\n .stzh-pi-teaser__lead-wrapper.sc-stzh-pi-teaser {\n padding-bottom: var(--stzh-space-small);\n }\n}\n@media screen and (min-width: 900px) {\n .stzh-pi-teaser__lead-wrapper.sc-stzh-pi-teaser {\n padding-bottom: var(--stzh-space-medium);\n }\n}\n@media screen and (min-width: 1260px) {\n .stzh-pi-teaser__lead-wrapper.sc-stzh-pi-teaser {\n padding-bottom: var(--stzh-space-xlarge);\n }\n}\n.stzh-pi-teaser__lead.sc-stzh-pi-teaser {\n margin-top: 0;\n color: var(--stzh-color-coolgrey70);\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: var(--lead-lines, 3);\n line-clamp: var(--lead-lines, 3);\n overflow: hidden;\n \n align-self: start;\n}\n@media screen and (max-width: 899px) {\n .stzh-pi-teaser__lead.sc-stzh-pi-teaser {\n font-size: var(--stzh-font-milli-font-size);\n line-height: var(--stzh-font-milli-text-line-height);\n letter-spacing: var(--stzh-font-curve---text-letter-spacing);\n }\n}\n@media screen and (min-width: 900px) {\n .stzh-pi-teaser__lead.sc-stzh-pi-teaser {\n font-size: var(--stzh-font-centi-font-size);\n line-height: var(--stzh-font-centi-text-line-height);\n letter-spacing: var(--stzh-font-curve---text-letter-spacing);\n }\n}\n.stzh-pi-teaser__date.sc-stzh-pi-teaser {\n font-size: var(--stzh-font-micro-font-size);\n line-height: var(--stzh-font-micro-text-line-height);\n color: var(--stzh-color-coolgrey70);\n margin: 0;\n align-self: end;\n}";
|
|
4
|
-
const StzhPiTeaserStyle0 = stzhPiTeaserCss;
|
|
5
|
-
|
|
6
|
-
const StzhPiTeaser = /*@__PURE__*/ proxyCustomElement(class StzhPiTeaser extends H {
|
|
7
|
-
constructor() {
|
|
8
|
-
super();
|
|
9
|
-
this.__registerHost();
|
|
10
|
-
this.stzhClick = createEvent(this, "stzhClick", 7);
|
|
11
|
-
this.handleCardClick = (originalEvent) => {
|
|
12
|
-
this.stzhClick.emit({
|
|
13
|
-
component: "stzh-pi-teaser",
|
|
14
|
-
originalEvent,
|
|
15
|
-
href: this.href,
|
|
16
|
-
});
|
|
17
|
-
};
|
|
18
|
-
this.href = undefined;
|
|
19
|
-
this.target = undefined;
|
|
20
|
-
this.analyticsId = undefined;
|
|
21
|
-
this.dateline = "";
|
|
22
|
-
this.heading = "";
|
|
23
|
-
this.imageSrc = undefined;
|
|
24
|
-
this.headingLevel = "3";
|
|
25
|
-
this.lead = "";
|
|
26
|
-
this.date = "";
|
|
27
|
-
this.contentSize = "M";
|
|
28
|
-
this.imagePosition = undefined;
|
|
29
|
-
this.isHero = undefined;
|
|
30
|
-
}
|
|
31
|
-
// private truncateLead(text: string, max: number): string {
|
|
32
|
-
// console.log(max);
|
|
33
|
-
// if (!text) return "";
|
|
34
|
-
// if (text.length <= max) return text;
|
|
35
|
-
// let cut = text.slice(0, max);
|
|
36
|
-
// const backtracked = cut.replace(/\s+\S*$/, "");
|
|
37
|
-
// if (backtracked.length >= Math.floor(max * 0.6)) {
|
|
38
|
-
// cut = backtracked;
|
|
39
|
-
// }
|
|
40
|
-
// cut = cut.replace(/[\s.,;:!?\-–—]+$/, "");
|
|
41
|
-
// return cut + "…";
|
|
42
|
-
// }
|
|
43
|
-
componentDidRender() {
|
|
44
|
-
requestAnimationFrame(() => {
|
|
45
|
-
var _a, _b;
|
|
46
|
-
const objectId = this.analyticsId || ((_a = this.headingTextElement) === null || _a === void 0 ? void 0 : _a.innerText);
|
|
47
|
-
if (objectId) {
|
|
48
|
-
(_b = this.titleLinkElement) === null || _b === void 0 ? void 0 : _b.setAttribute("s-object-id", objectId);
|
|
49
|
-
}
|
|
50
|
-
});
|
|
51
|
-
}
|
|
52
|
-
renderHeading() {
|
|
53
|
-
const Heading = `h${this.headingLevel}`;
|
|
54
|
-
const TitleLink = this.href ? "a" : "button";
|
|
55
|
-
return (h("div", { class: "stzh-pi-teaser__title-wrapper" }, h(Heading, { class: "stzh-pi-teaser__title" }, h(TitleLink, { ref: el => (this.titleLinkElement = el), class: "stzh-pi-teaser__title-link", href: this.href, target: this.target, onClick: this.handleCardClick }, h("div", { ref: el => (this.headingTextElement = el) }, this.heading)))));
|
|
56
|
-
}
|
|
57
|
-
render() {
|
|
58
|
-
const hasLead = !!this.lead;
|
|
59
|
-
const hasImage = !!this.imageSrc && !!this.imagePosition;
|
|
60
|
-
const displayLead = this.lead;
|
|
61
|
-
// ? this.truncateLead(this.lead, this.contentSize == "XL" || this.contentSize == "L" ? 260 : 160)
|
|
62
|
-
// : "";
|
|
63
|
-
const classes = {
|
|
64
|
-
"stzh-pi-teaser": true,
|
|
65
|
-
"stzh-pi-teaser--has-lead": hasLead,
|
|
66
|
-
"stzh-pi-teaser--has-image": hasImage,
|
|
67
|
-
};
|
|
68
|
-
return (h(Host, { key: 'd9c3d58e879188890dd07823bb996f2de93651a2', "has-lead": hasLead, "has-image": hasImage, "image-position": this.imagePosition, "content-size": this.contentSize }, h("article", { key: '47791c89f8cbe92744e387bf4cb8eba93c067ed4', class: classes, "aria-label": this.heading, role: "listitem" }, hasImage && (h("div", { key: 'aa88aa3f4552a95cac98acdc505faf510d4fdde6', class: "stzh-pi-teaser__image" }, h("img", { key: '786a92cef49dcb7a37f472be30ea4d55710f204e', src: this.imageSrc, alt: "Example image" }))), h("div", { key: '0c49e95677fd68a72be31554fb4998a9b86ba08a', class: "stzh-pi-teaser__wrapper" }, h("div", { key: '324a03003b28d579fb46c7e047433b99e5ee453e', class: "stzh-pi-teaser__text" }, this.dateline && h("p", { key: 'e49a94c945e5d3e1e5a3d9efac84ef8550f8d310', class: "stzh-pi-teaser__dateline" }, this.dateline), this.renderHeading(), h("div", { key: '0623aadddea2c2e163abeb7b4495f475cf12f331', class: "stzh-pi-teaser__lead-wrapper" }, h("div", { key: 'a7ab6f1d9a5a785f758815a7599ba7f1534dd2d3', class: "stzh-pi-teaser__lead" }, displayLead)), this.date && h("div", { key: '79f7849f4585f3f60c918e9379c28efbcc5d026a', class: "stzh-pi-teaser__date" }, this.date))))));
|
|
69
|
-
}
|
|
70
|
-
get element() { return this; }
|
|
71
|
-
static get style() { return StzhPiTeaserStyle0; }
|
|
72
|
-
}, [2, "stzh-pi-teaser", {
|
|
73
|
-
"href": [513],
|
|
74
|
-
"target": [1],
|
|
75
|
-
"analyticsId": [1, "analytics-id"],
|
|
76
|
-
"dateline": [1],
|
|
77
|
-
"heading": [1],
|
|
78
|
-
"imageSrc": [1, "image-src"],
|
|
79
|
-
"headingLevel": [1, "heading-level"],
|
|
80
|
-
"lead": [1],
|
|
81
|
-
"date": [1],
|
|
82
|
-
"contentSize": [1, "content-size"],
|
|
83
|
-
"imagePosition": [1, "image-position"],
|
|
84
|
-
"isHero": [4, "is-hero"]
|
|
85
|
-
}]);
|
|
86
|
-
function defineCustomElement() {
|
|
87
|
-
if (typeof customElements === "undefined") {
|
|
88
|
-
return;
|
|
89
|
-
}
|
|
90
|
-
const components = ["stzh-pi-teaser"];
|
|
91
|
-
components.forEach(tagName => { switch (tagName) {
|
|
92
|
-
case "stzh-pi-teaser":
|
|
93
|
-
if (!customElements.get(tagName)) {
|
|
94
|
-
customElements.define(tagName, StzhPiTeaser);
|
|
95
|
-
}
|
|
96
|
-
break;
|
|
97
|
-
} });
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
export { StzhPiTeaser as S, defineCustomElement as d };
|
|
101
|
-
|
|
102
|
-
//# sourceMappingURL=p-c22c1bb9.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"file":"p-c22c1bb9.js","mappings":";;AAAA,MAAM,eAAe,GAAG,inYAAinY,CAAC;AAC1oY,2BAAe,eAAe;;MCajB,YAAY;;;;;QAgDf,oBAAe,GAAG,CAAC,aAAyB;YAClD,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC;gBAClB,SAAS,EAAE,gBAAgB;gBAC3B,aAAa;gBACb,IAAI,EAAE,IAAI,CAAC,IAAI;aAChB,CAAC,CAAC;SACJ,CAAC;;;;wBAvCyB,EAAE;uBAGH,EAAE;;4BAMkB,GAAG;oBAG1B,EAAE;oBAGF,EAAE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QAEF,QACE,EAAC,IAAI,iEAAW,OAAO,eAAa,QAAQ,oBAAkB,IAAI,CAAC,aAAa,kBAAgB,IAAI,CAAC,WAAW,IAC9G,gEAAS,KAAK,EAAE,OAAO,gBAAc,IAAI,CAAC,OAAO,EAAE,IAAI,EAAC,UAAU,IAC/D,QAAQ,KACP,4DAAK,KAAK,EAAC,uBAAuB,IAChC,4DAAK,GAAG,EAAE,IAAI,CAAC,QAAQ,EAAE,GAAG,EAAC,eAAe,GAAG,CAC3C,CACP,EAED,4DAAK,KAAK,EAAC,yBAAyB,IAClC,4DAAK,KAAK,EAAE,sBAAsB,IAC/B,IAAI,CAAC,QAAQ,IAAI,0DAAG,KAAK,EAAC,0BAA0B,IAAE,IAAI,CAAC,QAAQ,CAAK,EACxE,IAAI,CAAC,aAAa,EAAE,EACrB,4DAAK,KAAK,EAAC,8BAA8B,IACvC,4DAAK,KAAK,EAAC,sBAAsB,IAAE,WAAW,CAAO,CACjD,EACL,IAAI,CAAC,IAAI,IAAI,4DAAK,KAAK,EAAC,sBAAsB,IAAE,IAAI,CAAC,IAAI,CAAO,CAC7D,CACF,CACE,CACL,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/CMS/stzh-pi-teaser/stzh-pi-teaser.scss?tag=stzh-pi-teaser&encapsulation=scoped","src/components/CMS/stzh-pi-teaser/stzh-pi-teaser.tsx"],"sourcesContent":["/**\n * @prop --stzh-pi-teaser-image-background-color: Background color if no image is present\n */\n\n:host {\n --image-background-color: var(\n --stzh-pi-teaser-image-background-color,\n #{$colorCoolgrey10}\n );\n display: flex;\n inline-size: 100%;\n block-size: 100%;\n container-type: size;\n\n //Grid depending on image Position\n &[image-position=\"top\"] {\n --grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);\n\n @include mq($to: medium) {\n --grid-template-areas: var(\n --stzh-pi-teaser-grid-template-areas,\n \"image image image image \" \"text text text text \"\n );\n }\n\n @include mq($from: medium) {\n --grid-template-areas: var(\n --stzh-pi-teaser-grid-template-areas,\n \"image image image image image image image image\"\n \"text text text text text text text text\"\n );\n }\n\n @include mq($from: large) {\n --grid-template-areas: var(\n --stzh-pi-teaser-grid-template-areas,\n \"image image image image image image image image image image image image\"\n \"text text text text text text text text text text text text\"\n );\n }\n }\n\n &[image-position=\"right\"] {\n --grid-template-no-rows: 1fr;\n\n @include mq($to: medium) {\n --grid-template-areas: var(\n --stzh-pi-teaser-grid-template-areas,\n \"text text image image\"\n );\n }\n\n @include mq($from: medium) {\n --grid-template-areas: var(\n --stzh-pi-teaser-grid-template-areas,\n \"text text text text text image image image\"\n );\n }\n\n @include mq($from: large) {\n --grid-template-areas: var(\n --stzh-pi-teaser-grid-template-areas,\n \"text text text text text text image image image image image image\"\n );\n }\n }\n\n //Grid when no image\n &:not([has-image]) {\n --grid-template-no-rows: 1fr;\n\n @include mq($to: medium) {\n --grid-template-areas-no-image: \"text text text text\";\n }\n\n @include mq($from: medium) {\n --grid-template-areas-no-image: \"text text text text text text text text\";\n }\n\n @include mq($from: large) {\n --grid-template-areas-no-image: \"text text text text text text text text text text text text\";\n }\n }\n\n //grid when no lead\n &:not([has-lead]) {\n .stzh-pi-teaser__lead {\n display: none;\n }\n }\n\n //Font sizes for all the teaser sizes\n &[content-size=\"XL\"] .stzh-pi-teaser__title {\n @include fontSize(\"mega\");\n }\n\n &[content-size=\"L\"] .stzh-pi-teaser__title {\n @include fontSize(\"hecto\");\n }\n\n &[content-size=\"M\"] .stzh-pi-teaser__title {\n @include fontSize(\"deca\");\n }\n\n &[content-size=\"S\"] .stzh-pi-teaser__title {\n @include fontSize(\"deci\");\n }\n\n &[content-size=\"XS\"] .stzh-pi-teaser__title {\n @include fontSize(\"centi\");\n }\n\n &[content-size=\"S\"]:not([has-image]) .stzh-pi-teaser__title {\n -webkit-line-clamp: 2;\n }\n\n @container (max-height: 235px) {\n &[image-position=\"top\"] .stzh-pi-teaser {\n --grid-template-rows: 40cqh 60cqh;\n\n &__lead {\n --lead-lines: 1;\n }\n }\n\n &:not([has-image]) .stzh-pi-teaser {\n &__lead {\n --lead-lines: 1;\n }\n }\n }\n\n @container (min-height: 236px) and (max-height:349px) {\n &[image-position=\"top\"] .stzh-pi-teaser {\n --grid-template-rows: 47cqh 53cqh;\n\n &__lead {\n --lead-lines: 2;\n }\n }\n\n &:not([has-image]) .stzh-pi-teaser {\n &__lead {\n --lead-lines: 2;\n }\n }\n }\n\n @container (min-height: 350px) and (max-height:599px) {\n &[image-position=\"top\"] .stzh-pi-teaser {\n --grid-template-rows: 55cqh 45cqh;\n\n &__lead {\n --lead-lines: 3;\n }\n }\n\n &:not([has-image]) .stzh-pi-teaser {\n &__lead {\n // --lead-lines: 4;\n }\n }\n }\n\n @container (min-height: 600px) and (max-height: 799px) {\n &[image-position=\"top\"] .stzh-pi-teaser {\n --grid-template-rows: 55cqh 45cqh;\n\n &__lead {\n // --lead-lines: 4;\n }\n }\n\n &:not([has-image]) .stzh-pi-teaser {\n &__lead {\n // --lead-lines: 4;\n }\n }\n }\n\n @container (min-height: 800px) {\n &[image-position=\"top\"] .stzh-pi-teaser {\n --grid-template-rows: 40cqh 60cqh;\n\n &__lead {\n // --lead-lines: 6;\n }\n }\n\n &:not([has-image]) .stzh-pi-teaser {\n &__lead {\n // --lead-lines: 6;\n }\n }\n }\n}\n\n.stzh-pi-teaser {\n @include grid;\n display: grid;\n height: 100%;\n width: 100%;\n\n grid-template-rows: var(--grid-template-no-rows, var(--grid-template-rows));\n grid-template-areas: var(\n --grid-template-areas-no-image,\n var(--grid-template-areas)\n );\n background-color: var(--stzh-color-grey10);\n\n &__text {\n display: grid;\n grid-template-rows: auto auto minmax(0, 1fr) auto; // dateline, title, lead & date\n height: 100%;\n min-height: 0;\n align-content: start;\n }\n\n &__wrapper {\n grid-area: text;\n overflow: hidden;\n padding: space(\"medium\");\n height: 100%;\n min-height: 0;\n }\n\n &__image {\n overflow: hidden;\n grid-area: image;\n\n & > img {\n width: 100%;\n height: 100%;\n object-fit: cover;\n }\n }\n\n &__dateline {\n @include font(\"title\");\n @include fontSize(\"milli\");\n color: var(--stzh-color-coolgrey70);\n margin: 0;\n align-self: start;\n }\n\n &__title-wrapper {\n @include spaceCurve(\"padding-top\", \"small\");\n @include spaceCurve(\"padding-bottom\", \"tiny\");\n }\n\n &__title {\n @include font(\"title\");\n @include wordWrap;\n color: var(--stzh-color-black);\n margin: 0;\n display: -webkit-box;\n -webkit-line-clamp: 2;\n /* Limit the text to 3 lines */\n -webkit-box-orient: vertical;\n overflow: hidden;\n text-overflow: ellipsis;\n /* Adds \"...\" at the end if truncated */\n //line-height: 1.0 !important;\n align-self: start;\n }\n\n &__title-link {\n display: block;\n font-family: inherit;\n appearance: none;\n background-color: transparent;\n border: none;\n color: var(--stzh-color-black);\n text-decoration-line: none;\n transition: color $baseTransitionAnimationSpeed;\n border-radius: $buttonBorderRadius;\n cursor: pointer;\n\n // &::after {\n // content: \"\";\n // display: block;\n // position: absolute;\n // top: 0;\n // left: 0;\n // width: 100%;\n // height: 100%;\n // }\n\n // &::after {\n // z-index: 1;\n // }\n }\n\n &__lead-wrapper {\n @include spaceCurve(\"padding-bottom\", \"small\");\n }\n\n &__lead {\n @include mq($to: medium) {\n @include fontSize(\"milli\");\n }\n\n @include mq($from: medium) {\n @include fontSize(\"centi\");\n }\n\n margin-top: 0;\n\n color: var(--stzh-color-coolgrey70);\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: var(--lead-lines, 3);\n line-clamp: var(--lead-lines, 3);\n overflow: hidden;\n /* don’t use text-overflow with multi-line clamp */\n align-self: start;\n }\n\n &__date {\n @include fontSize(\"micro\");\n color: var(--stzh-color-coolgrey70);\n margin: 0;\n align-self: end;\n }\n}\n","import { Component, Element, Event, EventEmitter, h, Host, Prop } from \"@stencil/core\";\n\nimport { StzhPiTeaserClickEvent } from \"../../../index\";\n\n/**\n * @slot heading - Heading text (alternative for heading property)\n * @slot lead - Lead text (alternative for lead property)\n * @slot image - Image (rendered within ratio 2:1, hence the different slot name to prevent naming collision)\n */\n@Component({\n tag: \"stzh-pi-teaser\",\n styleUrl: \"stzh-pi-teaser.scss\",\n scoped: true,\n})\nexport class StzhPiTeaser {\n /** Href of card */\n @Prop({ reflect: true }) href: string;\n\n /** target if the button is used as link (if href used) */\n @Prop() target: string;\n\n /**\n * For Adobe Analytics.\n * Will be rendered as value of `s-object-id` attribute to the link elements.\n * Default value will be taken from `heading` prop/slot.\n */\n @Prop() analyticsId: string;\n\n /** Dateline */\n @Prop() dateline: string = \"\";\n\n /** Heading (alternative for heading slot) */\n @Prop() heading: string = \"\";\n\n /** Image source link */\n @Prop() imageSrc: string | null;\n\n /** Heading level */\n @Prop() headingLevel: \"1\" | \"2\" | \"3\" | \"4\" = \"3\";\n\n /** Lead text (alternative for lead slot) */\n @Prop() lead: string = \"\";\n\n /** Date */\n @Prop() date: string = \"\";\n\n /**Which size of teaser it is */\n @Prop() contentSize: \"XS\" | \"S\" | \"M\" | \"L\" | \"XL\" = \"M\";\n\n /**Whether image is on top or on the right*/\n @Prop() imagePosition: \"top\" | \"right\" | null;\n\n @Prop() isHero: boolean;\n\n @Element() element: HTMLStzhListElement;\n\n /** Click event (if href is used) */\n @Event() stzhClick: EventEmitter<StzhPiTeaserClickEvent>;\n\n private titleLinkElement: HTMLAnchorElement | HTMLButtonElement;\n private headingTextElement: HTMLDivElement;\n\n private handleCardClick = (originalEvent: MouseEvent) => {\n this.stzhClick.emit({\n component: \"stzh-pi-teaser\",\n originalEvent,\n href: this.href,\n });\n };\n\n // private truncateLead(text: string, max: number): string {\n // console.log(max);\n // if (!text) return \"\";\n // if (text.length <= max) return text;\n\n // let cut = text.slice(0, max);\n // const backtracked = cut.replace(/\\s+\\S*$/, \"\");\n // if (backtracked.length >= Math.floor(max * 0.6)) {\n // cut = backtracked;\n // }\n // cut = cut.replace(/[\\s.,;:!?\\-–—]+$/, \"\");\n // return cut + \"…\";\n // }\n componentDidRender() {\n requestAnimationFrame(() => {\n const objectId = this.analyticsId || this.headingTextElement?.innerText;\n\n if (objectId) {\n this.titleLinkElement?.setAttribute(\"s-object-id\", objectId);\n }\n });\n }\n\n renderHeading(): DocumentFragment {\n const Heading = `h${this.headingLevel}`;\n const TitleLink = this.href ? \"a\" : \"button\";\n return (\n <div class=\"stzh-pi-teaser__title-wrapper\">\n <Heading class=\"stzh-pi-teaser__title\">\n <TitleLink\n ref={el => (this.titleLinkElement = el as HTMLAnchorElement | HTMLButtonElement)}\n class=\"stzh-pi-teaser__title-link\"\n href={this.href}\n target={this.target}\n onClick={this.handleCardClick}\n >\n <div ref={el => (this.headingTextElement = el as HTMLDivElement)}>{this.heading}</div>\n </TitleLink>\n </Heading>\n </div>\n );\n }\n\n render() {\n const hasLead = !!this.lead;\n const hasImage = !!this.imageSrc && !!this.imagePosition;\n const displayLead = this.lead;\n // ? this.truncateLead(this.lead, this.contentSize == \"XL\" || this.contentSize == \"L\" ? 260 : 160)\n // : \"\";\n\n const classes = {\n \"stzh-pi-teaser\": true,\n \"stzh-pi-teaser--has-lead\": hasLead,\n \"stzh-pi-teaser--has-image\": hasImage,\n };\n\n return (\n <Host has-lead={hasLead} has-image={hasImage} image-position={this.imagePosition} content-size={this.contentSize}>\n <article class={classes} aria-label={this.heading} role=\"listitem\">\n {hasImage && (\n <div class=\"stzh-pi-teaser__image\">\n <img src={this.imageSrc} alt=\"Example image\" />\n </div>\n )}\n\n <div class=\"stzh-pi-teaser__wrapper\">\n <div class={\"stzh-pi-teaser__text\"}>\n {this.dateline && <p class=\"stzh-pi-teaser__dateline\">{this.dateline}</p>}\n {this.renderHeading()}\n <div class=\"stzh-pi-teaser__lead-wrapper\">\n <div class=\"stzh-pi-teaser__lead\">{displayLead}</div>\n </div>\n {this.date && <div class=\"stzh-pi-teaser__date\">{this.date}</div>}\n </div>\n </div>\n </article>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{r as e,c as t,h as n,a as s,g as i}from"./p-ef5985a3.js";const a='@charset "UTF-8";\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n.sc-stzh-pi-teaser-h {\n font-family: var(--stzh-font-family-medium);\n font-weight: var(--stzh-font-weight-medium);\n font-style: var(--stzh-font-style-medium);\n color: var(--stzh-base-color);\n box-sizing: border-box;\n display: block;\n \n}\n[hidden].sc-stzh-pi-teaser-h, [stzh-hidden].sc-stzh-pi-teaser-h {\n display: none;\n}\n.sc-stzh-pi-teaser-h::selection {\n color: var(--stzh-selection-color);\n background-color: var(--stzh-selection-background-color);\n}\n.sc-stzh-pi-teaser-h *.sc-stzh-pi-teaser, .sc-stzh-pi-teaser-h *.sc-stzh-pi-teaser::before, .sc-stzh-pi-teaser-h *.sc-stzh-pi-teaser::after {\n box-sizing: border-box;\n text-underline-offset: var(--stzh-link-text-underline-offset);\n text-decoration-thickness: var(--stzh-link-text-decoration-thickness);\n -webkit-text-decoration-skip-ink: var(--stzh-link-text-decoration-skip-ink);\n text-decoration-skip-ink: var(--stzh-link-text-decoration-skip-ink);\n}\n.sc-stzh-pi-teaser-h .has-focus.sc-stzh-pi-teaser {\n outline: var(--stzh-flyingfocus-color) solid 0.125rem;\n outline-offset: 0.125rem;\n}\n.sc-stzh-pi-teaser-h .stzh-fylingfocus-focused.sc-stzh-pi-teaser {\n outline-style: none !important;\n}\n.sc-stzh-pi-teaser-h .stzh-fylingfocus-focused.sc-stzh-pi-teaser::-moz-focus-inner {\n border: 0 !important;\n}\n\n\n.sc-stzh-pi-teaser-h {\n --image-background-color: var(\n --stzh-pi-teaser-image-background-color,\n var(--stzh-color-coolgrey10)\n );\n display: flex;\n inline-size: 100%;\n block-size: 100%;\n container-type: size;\n}\n[image-position=top].sc-stzh-pi-teaser-h {\n --grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);\n}\n@media screen and (max-width: 899px) {\n [image-position=top].sc-stzh-pi-teaser-h {\n --grid-template-areas: var(\n --stzh-pi-teaser-grid-template-areas,\n "image image image image " "text text text text "\n );\n }\n}\n@media screen and (min-width: 900px) {\n [image-position=top].sc-stzh-pi-teaser-h {\n --grid-template-areas: var(\n --stzh-pi-teaser-grid-template-areas,\n "image image image image image image image image"\n "text text text text text text text text"\n );\n }\n}\n@media screen and (min-width: 1260px) {\n [image-position=top].sc-stzh-pi-teaser-h {\n --grid-template-areas: var(\n --stzh-pi-teaser-grid-template-areas,\n "image image image image image image image image image image image image"\n "text text text text text text text text text text text text"\n );\n }\n}\n[image-position=right].sc-stzh-pi-teaser-h {\n --grid-template-no-rows: 1fr;\n}\n@media screen and (max-width: 899px) {\n [image-position=right].sc-stzh-pi-teaser-h {\n --grid-template-areas: var(\n --stzh-pi-teaser-grid-template-areas,\n "text text image image"\n );\n }\n}\n@media screen and (min-width: 900px) {\n [image-position=right].sc-stzh-pi-teaser-h {\n --grid-template-areas: var(\n --stzh-pi-teaser-grid-template-areas,\n "text text text text text image image image"\n );\n }\n}\n@media screen and (min-width: 1260px) {\n [image-position=right].sc-stzh-pi-teaser-h {\n --grid-template-areas: var(\n --stzh-pi-teaser-grid-template-areas,\n "text text text text text text image image image image image image"\n );\n }\n}\n.sc-stzh-pi-teaser-h:not([has-image]) {\n --grid-template-no-rows: 1fr;\n}\n@media screen and (max-width: 899px) {\n .sc-stzh-pi-teaser-h:not([has-image]) {\n --grid-template-areas-no-image: "text text text text";\n }\n}\n@media screen and (min-width: 900px) {\n .sc-stzh-pi-teaser-h:not([has-image]) {\n --grid-template-areas-no-image: "text text text text text text text text";\n }\n}\n@media screen and (min-width: 1260px) {\n .sc-stzh-pi-teaser-h:not([has-image]) {\n --grid-template-areas-no-image: "text text text text text text text text text text text text";\n }\n}\n.sc-stzh-pi-teaser-h:not([has-lead]) .stzh-pi-teaser__lead.sc-stzh-pi-teaser {\n display: none;\n}\n[content-size=XL].sc-stzh-pi-teaser-h .stzh-pi-teaser__title.sc-stzh-pi-teaser {\n font-size: var(--stzh-font-mega-font-size);\n line-height: var(--stzh-font-mega-text-line-height);\n letter-spacing: var(--stzh-font-mega-text-letter-spacing);\n}\n[content-size=L].sc-stzh-pi-teaser-h .stzh-pi-teaser__title.sc-stzh-pi-teaser {\n font-size: var(--stzh-font-hecto-font-size);\n line-height: var(--stzh-font-hecto-text-line-height);\n letter-spacing: var(--stzh-font-hecto-text-letter-spacing);\n}\n[content-size=M].sc-stzh-pi-teaser-h .stzh-pi-teaser__title.sc-stzh-pi-teaser {\n font-size: var(--stzh-font-deca-font-size);\n line-height: var(--stzh-font-deca-text-line-height);\n letter-spacing: var(--stzh-font-deca-text-letter-spacing);\n}\n[content-size=S].sc-stzh-pi-teaser-h .stzh-pi-teaser__title.sc-stzh-pi-teaser {\n font-size: var(--stzh-font-deci-font-size);\n line-height: var(--stzh-font-deci-text-line-height);\n letter-spacing: var(--stzh-font-curve---text-letter-spacing);\n}\n[content-size=XS].sc-stzh-pi-teaser-h .stzh-pi-teaser__title.sc-stzh-pi-teaser {\n font-size: var(--stzh-font-centi-font-size);\n line-height: var(--stzh-font-centi-text-line-height);\n letter-spacing: var(--stzh-font-curve---text-letter-spacing);\n}\n[content-size=S].sc-stzh-pi-teaser-h:not([has-image]) .stzh-pi-teaser__title.sc-stzh-pi-teaser {\n -webkit-line-clamp: 2;\n}\n@container (max-height: 235px) {\n .sc-stzh-pi-teaser-h[image-position=top] .stzh-pi-teaser {\n --grid-template-rows: 40cqh 60cqh;\n }\n .sc-stzh-pi-teaser-h[image-position=top] .stzh-pi-teaser__lead {\n --lead-lines: 1;\n }\n .sc-stzh-pi-teaser-h:not([has-image]) .stzh-pi-teaser__lead {\n --lead-lines: 1;\n }\n}\n@container (min-height: 236px) and (max-height:349px) {\n .sc-stzh-pi-teaser-h[image-position=top] .stzh-pi-teaser {\n --grid-template-rows: 47cqh 53cqh;\n }\n .sc-stzh-pi-teaser-h[image-position=top] .stzh-pi-teaser__lead {\n --lead-lines: 2;\n }\n .sc-stzh-pi-teaser-h:not([has-image]) .stzh-pi-teaser__lead {\n --lead-lines: 2;\n }\n}\n@container (min-height: 350px) and (max-height:599px) {\n .sc-stzh-pi-teaser-h[image-position=top] .stzh-pi-teaser {\n --grid-template-rows: 55cqh 45cqh;\n }\n .sc-stzh-pi-teaser-h[image-position=top] .stzh-pi-teaser__lead {\n --lead-lines: 3;\n }\n}\n@container (min-height: 600px) and (max-height: 799px) {\n .sc-stzh-pi-teaser-h[image-position=top] .stzh-pi-teaser {\n --grid-template-rows: 55cqh 45cqh;\n }\n}\n@container (min-height: 800px) {\n .sc-stzh-pi-teaser-h[image-position=top] .stzh-pi-teaser {\n --grid-template-rows: 40cqh 60cqh;\n }\n}\n\n.stzh-pi-teaser.sc-stzh-pi-teaser {\n column-gap: var(--stzh-grid-gutter);\n display: grid;\n grid-template-columns: repeat(4, minmax(0, 1fr));\n display: grid;\n height: 100%;\n width: 100%;\n grid-template-rows: var(--grid-template-no-rows, var(--grid-template-rows));\n grid-template-areas: var(--grid-template-areas-no-image, var(--grid-template-areas));\n background-color: var(--stzh-color-grey10);\n}\n@media screen and (min-width: 600px) {\n .stzh-pi-teaser.sc-stzh-pi-teaser {\n column-gap: var(--stzh-grid-gutter-small);\n }\n}\n@media screen and (min-width: 900px) {\n .stzh-pi-teaser.sc-stzh-pi-teaser {\n column-gap: var(--stzh-grid-gutter-medium);\n }\n}\n@media screen and (min-width: 1260px) {\n .stzh-pi-teaser.sc-stzh-pi-teaser {\n column-gap: var(--stzh-grid-gutter-large);\n }\n}\n@media screen and (min-width: 1600px) {\n .stzh-pi-teaser.sc-stzh-pi-teaser {\n column-gap: var(--stzh-grid-gutter-ultra);\n }\n}\n@media screen and (min-width: 900px) {\n .stzh-pi-teaser.sc-stzh-pi-teaser {\n grid-template-columns: repeat(8, minmax(0, 1fr));\n }\n}\n@media screen and (min-width: 1260px) {\n .stzh-pi-teaser.sc-stzh-pi-teaser {\n grid-template-columns: repeat(12, minmax(0, 1fr));\n }\n}\n.stzh-pi-teaser__text.sc-stzh-pi-teaser {\n display: grid;\n grid-template-rows: auto auto minmax(0, 1fr) auto;\n height: 100%;\n min-height: 0;\n align-content: start;\n}\n.stzh-pi-teaser__wrapper.sc-stzh-pi-teaser {\n grid-area: text;\n overflow: hidden;\n padding: var(--stzh-space-medium);\n height: 100%;\n min-height: 0;\n}\n.stzh-pi-teaser__image.sc-stzh-pi-teaser {\n overflow: hidden;\n grid-area: image;\n}\n.stzh-pi-teaser__image.sc-stzh-pi-teaser > img.sc-stzh-pi-teaser {\n width: 100%;\n height: 100%;\n object-fit: cover;\n}\n.stzh-pi-teaser__dateline.sc-stzh-pi-teaser {\n font-family: var(--stzh-font-family-title);\n font-weight: var(--stzh-font-weight-title);\n font-style: var(--stzh-font-style-title);\n font-size: var(--stzh-font-milli-font-size);\n line-height: var(--stzh-font-milli-text-line-height);\n letter-spacing: var(--stzh-font-curve---text-letter-spacing);\n color: var(--stzh-color-coolgrey70);\n margin: 0;\n align-self: start;\n}\n.stzh-pi-teaser__title-wrapper.sc-stzh-pi-teaser {\n padding-top: var(--stzh-space-xsmall);\n padding-bottom: var(--stzh-space-xxsmall);\n}\n@media screen and (min-width: 600px) {\n .stzh-pi-teaser__title-wrapper.sc-stzh-pi-teaser {\n padding-top: var(--stzh-space-small);\n }\n}\n@media screen and (min-width: 900px) {\n .stzh-pi-teaser__title-wrapper.sc-stzh-pi-teaser {\n padding-top: var(--stzh-space-medium);\n }\n}\n@media screen and (min-width: 1260px) {\n .stzh-pi-teaser__title-wrapper.sc-stzh-pi-teaser {\n padding-top: var(--stzh-space-xlarge);\n }\n}\n@media screen and (min-width: 900px) {\n .stzh-pi-teaser__title-wrapper.sc-stzh-pi-teaser {\n padding-bottom: var(--stzh-space-xsmall);\n }\n}\n@media screen and (min-width: 1260px) {\n .stzh-pi-teaser__title-wrapper.sc-stzh-pi-teaser {\n padding-bottom: var(--stzh-space-small);\n }\n}\n.stzh-pi-teaser__title.sc-stzh-pi-teaser {\n font-family: var(--stzh-font-family-title);\n font-weight: var(--stzh-font-weight-title);\n font-style: var(--stzh-font-style-title);\n overflow-wrap: break-word;\n word-wrap: break-word;\n word-break: break-word;\n hyphens: auto;\n color: var(--stzh-color-black);\n margin: 0;\n display: -webkit-box;\n -webkit-line-clamp: 2;\n \n -webkit-box-orient: vertical;\n overflow: hidden;\n text-overflow: ellipsis;\n \n align-self: start;\n}\n.stzh-pi-teaser__title-link.sc-stzh-pi-teaser {\n display: block;\n font-family: inherit;\n appearance: none;\n background-color: transparent;\n border: none;\n color: var(--stzh-color-black);\n -webkit-text-decoration-line: none;\n text-decoration-line: none;\n transition: color var(--stzh-base-transition-animation-speed);\n border-radius: var(--stzh-button-border-radius);\n cursor: pointer;\n}\n.stzh-pi-teaser__lead-wrapper.sc-stzh-pi-teaser {\n padding-bottom: var(--stzh-space-xsmall);\n}\n@media screen and (min-width: 600px) {\n .stzh-pi-teaser__lead-wrapper.sc-stzh-pi-teaser {\n padding-bottom: var(--stzh-space-small);\n }\n}\n@media screen and (min-width: 900px) {\n .stzh-pi-teaser__lead-wrapper.sc-stzh-pi-teaser {\n padding-bottom: var(--stzh-space-medium);\n }\n}\n@media screen and (min-width: 1260px) {\n .stzh-pi-teaser__lead-wrapper.sc-stzh-pi-teaser {\n padding-bottom: var(--stzh-space-xlarge);\n }\n}\n.stzh-pi-teaser__lead.sc-stzh-pi-teaser {\n margin-top: 0;\n color: var(--stzh-color-coolgrey70);\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: var(--lead-lines, 3);\n line-clamp: var(--lead-lines, 3);\n overflow: hidden;\n \n align-self: start;\n}\n@media screen and (max-width: 899px) {\n .stzh-pi-teaser__lead.sc-stzh-pi-teaser {\n font-size: var(--stzh-font-milli-font-size);\n line-height: var(--stzh-font-milli-text-line-height);\n letter-spacing: var(--stzh-font-curve---text-letter-spacing);\n }\n}\n@media screen and (min-width: 900px) {\n .stzh-pi-teaser__lead.sc-stzh-pi-teaser {\n font-size: var(--stzh-font-centi-font-size);\n line-height: var(--stzh-font-centi-text-line-height);\n letter-spacing: var(--stzh-font-curve---text-letter-spacing);\n }\n}\n.stzh-pi-teaser__date.sc-stzh-pi-teaser {\n font-size: var(--stzh-font-micro-font-size);\n line-height: var(--stzh-font-micro-text-line-height);\n color: var(--stzh-color-coolgrey70);\n margin: 0;\n align-self: end;\n}';const r=a;const h=class{constructor(n){e(this,n);this.stzhClick=t(this,"stzhClick",7);this.handleCardClick=e=>{this.stzhClick.emit({component:"stzh-pi-teaser",originalEvent:e,href:this.href})};this.href=undefined;this.target=undefined;this.analyticsId=undefined;this.dateline="";this.heading="";this.imageSrc=undefined;this.headingLevel="3";this.lead="";this.date="";this.contentSize="M";this.imagePosition=undefined;this.isHero=undefined}componentDidRender(){requestAnimationFrame((()=>{var e,t;const n=this.analyticsId||((e=this.headingTextElement)===null||e===void 0?void 0:e.innerText);if(n){(t=this.titleLinkElement)===null||t===void 0?void 0:t.setAttribute("s-object-id",n)}}))}renderHeading(){const e=`h${this.headingLevel}`;const t=this.href?"a":"button";return n("div",{class:"stzh-pi-teaser__title-wrapper"},n(e,{class:"stzh-pi-teaser__title"},n(t,{ref:e=>this.titleLinkElement=e,class:"stzh-pi-teaser__title-link",href:this.href,target:this.target,onClick:this.handleCardClick},n("div",{ref:e=>this.headingTextElement=e},this.heading))))}render(){const e=!!this.lead;const t=!!this.imageSrc&&!!this.imagePosition;const i=this.lead;const a={"stzh-pi-teaser":true,"stzh-pi-teaser--has-lead":e,"stzh-pi-teaser--has-image":t};return n(s,{key:"d9c3d58e879188890dd07823bb996f2de93651a2","has-lead":e,"has-image":t,"image-position":this.imagePosition,"content-size":this.contentSize},n("article",{key:"47791c89f8cbe92744e387bf4cb8eba93c067ed4",class:a,"aria-label":this.heading,role:"listitem"},t&&n("div",{key:"aa88aa3f4552a95cac98acdc505faf510d4fdde6",class:"stzh-pi-teaser__image"},n("img",{key:"786a92cef49dcb7a37f472be30ea4d55710f204e",src:this.imageSrc,alt:"Example image"})),n("div",{key:"0c49e95677fd68a72be31554fb4998a9b86ba08a",class:"stzh-pi-teaser__wrapper"},n("div",{key:"324a03003b28d579fb46c7e047433b99e5ee453e",class:"stzh-pi-teaser__text"},this.dateline&&n("p",{key:"e49a94c945e5d3e1e5a3d9efac84ef8550f8d310",class:"stzh-pi-teaser__dateline"},this.dateline),this.renderHeading(),n("div",{key:"0623aadddea2c2e163abeb7b4495f475cf12f331",class:"stzh-pi-teaser__lead-wrapper"},n("div",{key:"a7ab6f1d9a5a785f758815a7599ba7f1534dd2d3",class:"stzh-pi-teaser__lead"},i)),this.date&&n("div",{key:"79f7849f4585f3f60c918e9379c28efbcc5d026a",class:"stzh-pi-teaser__date"},this.date)))))}get element(){return i(this)}};h.style=r;export{h as stzh_pi_teaser};
|
|
2
|
-
//# sourceMappingURL=p-07f2765c.entry.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["stzhPiTeaserCss","StzhPiTeaserStyle0","StzhPiTeaser","this","handleCardClick","originalEvent","stzhClick","emit","component","href","componentDidRender","requestAnimationFrame","objectId","analyticsId","_a","headingTextElement","innerText","_b","titleLinkElement","setAttribute","renderHeading","Heading","headingLevel","TitleLink","h","class","ref","el","target","onClick","heading","render","hasLead","lead","hasImage","imageSrc","imagePosition","displayLead","classes","Host","key","contentSize","role","src","alt","dateline","date"],"sources":["src/components/CMS/stzh-pi-teaser/stzh-pi-teaser.scss?tag=stzh-pi-teaser&encapsulation=scoped","src/components/CMS/stzh-pi-teaser/stzh-pi-teaser.tsx"],"sourcesContent":["/**\n * @prop --stzh-pi-teaser-image-background-color: Background color if no image is present\n */\n\n:host {\n --image-background-color: var(\n --stzh-pi-teaser-image-background-color,\n #{$colorCoolgrey10}\n );\n display: flex;\n inline-size: 100%;\n block-size: 100%;\n container-type: size;\n\n //Grid depending on image Position\n &[image-position=\"top\"] {\n --grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);\n\n @include mq($to: medium) {\n --grid-template-areas: var(\n --stzh-pi-teaser-grid-template-areas,\n \"image image image image \" \"text text text text \"\n );\n }\n\n @include mq($from: medium) {\n --grid-template-areas: var(\n --stzh-pi-teaser-grid-template-areas,\n \"image image image image image image image image\"\n \"text text text text text text text text\"\n );\n }\n\n @include mq($from: large) {\n --grid-template-areas: var(\n --stzh-pi-teaser-grid-template-areas,\n \"image image image image image image image image image image image image\"\n \"text text text text text text text text text text text text\"\n );\n }\n }\n\n &[image-position=\"right\"] {\n --grid-template-no-rows: 1fr;\n\n @include mq($to: medium) {\n --grid-template-areas: var(\n --stzh-pi-teaser-grid-template-areas,\n \"text text image image\"\n );\n }\n\n @include mq($from: medium) {\n --grid-template-areas: var(\n --stzh-pi-teaser-grid-template-areas,\n \"text text text text text image image image\"\n );\n }\n\n @include mq($from: large) {\n --grid-template-areas: var(\n --stzh-pi-teaser-grid-template-areas,\n \"text text text text text text image image image image image image\"\n );\n }\n }\n\n //Grid when no image\n &:not([has-image]) {\n --grid-template-no-rows: 1fr;\n\n @include mq($to: medium) {\n --grid-template-areas-no-image: \"text text text text\";\n }\n\n @include mq($from: medium) {\n --grid-template-areas-no-image: \"text text text text text text text text\";\n }\n\n @include mq($from: large) {\n --grid-template-areas-no-image: \"text text text text text text text text text text text text\";\n }\n }\n\n //grid when no lead\n &:not([has-lead]) {\n .stzh-pi-teaser__lead {\n display: none;\n }\n }\n\n //Font sizes for all the teaser sizes\n &[content-size=\"XL\"] .stzh-pi-teaser__title {\n @include fontSize(\"mega\");\n }\n\n &[content-size=\"L\"] .stzh-pi-teaser__title {\n @include fontSize(\"hecto\");\n }\n\n &[content-size=\"M\"] .stzh-pi-teaser__title {\n @include fontSize(\"deca\");\n }\n\n &[content-size=\"S\"] .stzh-pi-teaser__title {\n @include fontSize(\"deci\");\n }\n\n &[content-size=\"XS\"] .stzh-pi-teaser__title {\n @include fontSize(\"centi\");\n }\n\n &[content-size=\"S\"]:not([has-image]) .stzh-pi-teaser__title {\n -webkit-line-clamp: 2;\n }\n\n @container (max-height: 235px) {\n &[image-position=\"top\"] .stzh-pi-teaser {\n --grid-template-rows: 40cqh 60cqh;\n\n &__lead {\n --lead-lines: 1;\n }\n }\n\n &:not([has-image]) .stzh-pi-teaser {\n &__lead {\n --lead-lines: 1;\n }\n }\n }\n\n @container (min-height: 236px) and (max-height:349px) {\n &[image-position=\"top\"] .stzh-pi-teaser {\n --grid-template-rows: 47cqh 53cqh;\n\n &__lead {\n --lead-lines: 2;\n }\n }\n\n &:not([has-image]) .stzh-pi-teaser {\n &__lead {\n --lead-lines: 2;\n }\n }\n }\n\n @container (min-height: 350px) and (max-height:599px) {\n &[image-position=\"top\"] .stzh-pi-teaser {\n --grid-template-rows: 55cqh 45cqh;\n\n &__lead {\n --lead-lines: 3;\n }\n }\n\n &:not([has-image]) .stzh-pi-teaser {\n &__lead {\n // --lead-lines: 4;\n }\n }\n }\n\n @container (min-height: 600px) and (max-height: 799px) {\n &[image-position=\"top\"] .stzh-pi-teaser {\n --grid-template-rows: 55cqh 45cqh;\n\n &__lead {\n // --lead-lines: 4;\n }\n }\n\n &:not([has-image]) .stzh-pi-teaser {\n &__lead {\n // --lead-lines: 4;\n }\n }\n }\n\n @container (min-height: 800px) {\n &[image-position=\"top\"] .stzh-pi-teaser {\n --grid-template-rows: 40cqh 60cqh;\n\n &__lead {\n // --lead-lines: 6;\n }\n }\n\n &:not([has-image]) .stzh-pi-teaser {\n &__lead {\n // --lead-lines: 6;\n }\n }\n }\n}\n\n.stzh-pi-teaser {\n @include grid;\n display: grid;\n height: 100%;\n width: 100%;\n\n grid-template-rows: var(--grid-template-no-rows, var(--grid-template-rows));\n grid-template-areas: var(\n --grid-template-areas-no-image,\n var(--grid-template-areas)\n );\n background-color: var(--stzh-color-grey10);\n\n &__text {\n display: grid;\n grid-template-rows: auto auto minmax(0, 1fr) auto; // dateline, title, lead & date\n height: 100%;\n min-height: 0;\n align-content: start;\n }\n\n &__wrapper {\n grid-area: text;\n overflow: hidden;\n padding: space(\"medium\");\n height: 100%;\n min-height: 0;\n }\n\n &__image {\n overflow: hidden;\n grid-area: image;\n\n & > img {\n width: 100%;\n height: 100%;\n object-fit: cover;\n }\n }\n\n &__dateline {\n @include font(\"title\");\n @include fontSize(\"milli\");\n color: var(--stzh-color-coolgrey70);\n margin: 0;\n align-self: start;\n }\n\n &__title-wrapper {\n @include spaceCurve(\"padding-top\", \"small\");\n @include spaceCurve(\"padding-bottom\", \"tiny\");\n }\n\n &__title {\n @include font(\"title\");\n @include wordWrap;\n color: var(--stzh-color-black);\n margin: 0;\n display: -webkit-box;\n -webkit-line-clamp: 2;\n /* Limit the text to 3 lines */\n -webkit-box-orient: vertical;\n overflow: hidden;\n text-overflow: ellipsis;\n /* Adds \"...\" at the end if truncated */\n //line-height: 1.0 !important;\n align-self: start;\n }\n\n &__title-link {\n display: block;\n font-family: inherit;\n appearance: none;\n background-color: transparent;\n border: none;\n color: var(--stzh-color-black);\n text-decoration-line: none;\n transition: color $baseTransitionAnimationSpeed;\n border-radius: $buttonBorderRadius;\n cursor: pointer;\n\n // &::after {\n // content: \"\";\n // display: block;\n // position: absolute;\n // top: 0;\n // left: 0;\n // width: 100%;\n // height: 100%;\n // }\n\n // &::after {\n // z-index: 1;\n // }\n }\n\n &__lead-wrapper {\n @include spaceCurve(\"padding-bottom\", \"small\");\n }\n\n &__lead {\n @include mq($to: medium) {\n @include fontSize(\"milli\");\n }\n\n @include mq($from: medium) {\n @include fontSize(\"centi\");\n }\n\n margin-top: 0;\n\n color: var(--stzh-color-coolgrey70);\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: var(--lead-lines, 3);\n line-clamp: var(--lead-lines, 3);\n overflow: hidden;\n /* don’t use text-overflow with multi-line clamp */\n align-self: start;\n }\n\n &__date {\n @include fontSize(\"micro\");\n color: var(--stzh-color-coolgrey70);\n margin: 0;\n align-self: end;\n }\n}\n","import { Component, Element, Event, EventEmitter, h, Host, Prop } from \"@stencil/core\";\n\nimport { StzhPiTeaserClickEvent } from \"../../../index\";\n\n/**\n * @slot heading - Heading text (alternative for heading property)\n * @slot lead - Lead text (alternative for lead property)\n * @slot image - Image (rendered within ratio 2:1, hence the different slot name to prevent naming collision)\n */\n@Component({\n tag: \"stzh-pi-teaser\",\n styleUrl: \"stzh-pi-teaser.scss\",\n scoped: true,\n})\nexport class StzhPiTeaser {\n /** Href of card */\n @Prop({ reflect: true }) href: string;\n\n /** target if the button is used as link (if href used) */\n @Prop() target: string;\n\n /**\n * For Adobe Analytics.\n * Will be rendered as value of `s-object-id` attribute to the link elements.\n * Default value will be taken from `heading` prop/slot.\n */\n @Prop() analyticsId: string;\n\n /** Dateline */\n @Prop() dateline: string = \"\";\n\n /** Heading (alternative for heading slot) */\n @Prop() heading: string = \"\";\n\n /** Image source link */\n @Prop() imageSrc: string | null;\n\n /** Heading level */\n @Prop() headingLevel: \"1\" | \"2\" | \"3\" | \"4\" = \"3\";\n\n /** Lead text (alternative for lead slot) */\n @Prop() lead: string = \"\";\n\n /** Date */\n @Prop() date: string = \"\";\n\n /**Which size of teaser it is */\n @Prop() contentSize: \"XS\" | \"S\" | \"M\" | \"L\" | \"XL\" = \"M\";\n\n /**Whether image is on top or on the right*/\n @Prop() imagePosition: \"top\" | \"right\" | null;\n\n @Prop() isHero: boolean;\n\n @Element() element: HTMLStzhListElement;\n\n /** Click event (if href is used) */\n @Event() stzhClick: EventEmitter<StzhPiTeaserClickEvent>;\n\n private titleLinkElement: HTMLAnchorElement | HTMLButtonElement;\n private headingTextElement: HTMLDivElement;\n\n private handleCardClick = (originalEvent: MouseEvent) => {\n this.stzhClick.emit({\n component: \"stzh-pi-teaser\",\n originalEvent,\n href: this.href,\n });\n };\n\n // private truncateLead(text: string, max: number): string {\n // console.log(max);\n // if (!text) return \"\";\n // if (text.length <= max) return text;\n\n // let cut = text.slice(0, max);\n // const backtracked = cut.replace(/\\s+\\S*$/, \"\");\n // if (backtracked.length >= Math.floor(max * 0.6)) {\n // cut = backtracked;\n // }\n // cut = cut.replace(/[\\s.,;:!?\\-–—]+$/, \"\");\n // return cut + \"…\";\n // }\n componentDidRender() {\n requestAnimationFrame(() => {\n const objectId = this.analyticsId || this.headingTextElement?.innerText;\n\n if (objectId) {\n this.titleLinkElement?.setAttribute(\"s-object-id\", objectId);\n }\n });\n }\n\n renderHeading(): DocumentFragment {\n const Heading = `h${this.headingLevel}`;\n const TitleLink = this.href ? \"a\" : \"button\";\n return (\n <div class=\"stzh-pi-teaser__title-wrapper\">\n <Heading class=\"stzh-pi-teaser__title\">\n <TitleLink\n ref={el => (this.titleLinkElement = el as HTMLAnchorElement | HTMLButtonElement)}\n class=\"stzh-pi-teaser__title-link\"\n href={this.href}\n target={this.target}\n onClick={this.handleCardClick}\n >\n <div ref={el => (this.headingTextElement = el as HTMLDivElement)}>{this.heading}</div>\n </TitleLink>\n </Heading>\n </div>\n );\n }\n\n render() {\n const hasLead = !!this.lead;\n const hasImage = !!this.imageSrc && !!this.imagePosition;\n const displayLead = this.lead;\n // ? this.truncateLead(this.lead, this.contentSize == \"XL\" || this.contentSize == \"L\" ? 260 : 160)\n // : \"\";\n\n const classes = {\n \"stzh-pi-teaser\": true,\n \"stzh-pi-teaser--has-lead\": hasLead,\n \"stzh-pi-teaser--has-image\": hasImage,\n };\n\n return (\n <Host has-lead={hasLead} has-image={hasImage} image-position={this.imagePosition} content-size={this.contentSize}>\n <article class={classes} aria-label={this.heading} role=\"listitem\">\n {hasImage && (\n <div class=\"stzh-pi-teaser__image\">\n <img src={this.imageSrc} alt=\"Example image\" />\n </div>\n )}\n\n <div class=\"stzh-pi-teaser__wrapper\">\n <div class={\"stzh-pi-teaser__text\"}>\n {this.dateline && <p class=\"stzh-pi-teaser__dateline\">{this.dateline}</p>}\n {this.renderHeading()}\n <div class=\"stzh-pi-teaser__lead-wrapper\">\n <div class=\"stzh-pi-teaser__lead\">{displayLead}</div>\n </div>\n {this.date && <div class=\"stzh-pi-teaser__date\">{this.date}</div>}\n </div>\n </div>\n </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AA,OAAAgB,IAAA,2CAAKf,MAAM,yBACTD,EAAA,OAAAgB,IAAA,2CAAKG,IAAKxC,KAAKgC,SAAUS,IAAI,mBAIjCpB,EAAA,OAAAgB,IAAA,2CAAKf,MAAM,2BACTD,EAAA,OAAAgB,IAAA,2CAAKf,MAAO,wBACTtB,KAAK0C,UAAYrB,EAAA,KAAAgB,IAAA,2CAAGf,MAAM,4BAA4BtB,KAAK0C,UAC3D1C,KAAKiB,gBACNI,EAAA,OAAAgB,IAAA,2CAAKf,MAAM,gCACTD,EAAA,OAAAgB,IAAA,2CAAKf,MAAM,wBAAwBY,IAEpClC,KAAK2C,MAAQtB,EAAA,OAAAgB,IAAA,2CAAKf,MAAM,wBAAwBtB,KAAK2C,S"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["stzhContactCss","StzhContactStyle0","formatTel","tel","replace","StzhContact","this","_street","_streetInfo","_numbers","_emails","_availability","availabilityWatcher","newValue","JSON","parse","numbersWatcher","jsonParseException","emailsWatcher","streetWatcher","noArrayException","streetInfoWatcher","componentWillLoad","numbers","emails","availability","street","streetInfo","render","hasImage","hasSlot","element","hasAddress","address","hasAddons","hasLinks","classes","HeadingLevel","headingLevel","AvailabilityTitleElement","availabilityTitleLevel","isPerson","type","isOrganization","h","Host","key","class","itemscope","itemtype","itemprop","heading","name","mainHeading","level","mainHeadingLevel","htmlContent","personRole","curve","responsibilityTitle","innerHTML","responsibility","contactTitle","Fragment","length","map","postalCode","location","number","label","size","height","href","analyticsId","email","text","pobox","poboxHeading","poboxTitle","poboxPostalCode","poboxLocation","additionalInformation","availabilityTitle","item","weekday","hours","hour","index"],"sources":["src/components/CMS/stzh-contact/stzh-contact.scss?tag=stzh-contact&encapsulation=scoped","src/components/CMS/stzh-contact/stzh-contact.tsx"],"sourcesContent":[":host {\n --grid-template-areas: var(\n --stzh-contact-grid-template-areas,\n \"heading heading heading heading\" \"image image image image\"\n \"responsibility responsibility responsibility responsibility\"\n \"contactForm contactForm contactForm contactForm\" \"info info info info\"\n \"availability availability availability availability\"\n \"additional additional additional additional\"\n );\n\n --grid-template-columns: var(\n --stzh-contact-grid-template-columns,\n #{$gridColumns}\n );\n\n @include mq($from: medium) {\n --grid-template-areas: var(\n --stzh-contact-grid-template-areas,\n \"heading heading heading heading heading heading heading heading\"\n \"image image image image . . . .\"\n \"responsibility responsibility responsibility responsibility responsibility responsibility . .\"\n \"contactForm contactForm contactForm contactForm contactForm contactForm contactForm contactForm\"\n \"info info info info availability availability availability availability\"\n \"additional additional additional additional additional additional additional additional\"\n );\n\n --grid-template-columns: var(\n --stzh-contact-grid-template-columns,\n #{$gridColumnsMedium}\n );\n }\n\n @media print {\n page-break-inside: avoid;\n break-inside: avoid;\n }\n\n ::slotted([slot=\"image\"]) {\n position: absolute;\n inset: 0;\n width: 100%;\n height: 100%;\n object-fit: cover;\n }\n\n &[has-availability=\"false\"] {\n @include mq($from: medium) {\n --grid-template-areas: var(\n --stzh-contact-grid-template-areas,\n \"heading heading heading heading heading heading heading heading\"\n \"image image image image . . . .\"\n \"responsibility responsibility responsibility responsibility responsibility responsibility . .\"\n \"contactForm contactForm contactForm contactForm contactForm contactForm contactForm contactForm\"\n \"info info info info info info info info\"\n \"additional additional additional additional additional additional additional additional\"\n );\n }\n }\n}\n\n.stzh-contact {\n @include fontCurve(\"p1\");\n @include gridGutter;\n display: grid;\n grid-template-areas: var(--grid-template-areas);\n grid-template-columns: var(--grid-template-columns);\n\n &__main-heading {\n grid-area: heading;\n\n &:not(:empty) {\n margin-bottom: space(\"xlarge\");\n\n @include mq($from: large) {\n margin-bottom: space(\"xxlarge\");\n }\n }\n }\n &__main-heading-type {\n &:not(:empty) {\n padding-top: space(\"xsmall\");\n padding-bottom: space(\"xxsmall\");\n\n @include mq($from: small) {\n padding-top: space(\"small\");\n padding-bottom: space(\"xxsmall\");\n }\n\n @include mq($from: medium) {\n padding-top: space(\"xsmall\");\n padding-bottom: space(\"xsmall\");\n }\n\n @include mq($from: large) {\n padding-top: space(\"small\");\n padding-bottom: space(\"small\");\n }\n }\n }\n\n &__main-heading-section {\n &:not(:empty) {\n margin-bottom: space(\"medium\");\n padding-top: space(\"medium\");\n padding-bottom: space(\"xxsmall\");\n\n @include mq($from: small) {\n margin-bottom: space(\"large\");\n padding-top: space(\"large\");\n padding-bottom: space(\"xxsmall\");\n }\n\n @include mq($from: medium) {\n margin-bottom: space(\"xlarge\");\n padding-top: space(\"xlarge\");\n padding-bottom: space(\"xsmall\");\n }\n\n @include mq($from: large) {\n margin-bottom: space(\"xxlarge\");\n padding-top: space(\"xxlarge\");\n padding-bottom: space(\"small\");\n }\n }\n }\n\n &__main-heading-text {\n &:not(:empty) {\n margin-bottom: space(\"xsmall\");\n }\n }\n\n &__image-wrapper {\n grid-area: image;\n background-color: $colorSecondary20;\n }\n\n &__role {\n @include fontSize(\"milli\");\n @include font(\"medium\");\n }\n\n &__image {\n position: relative;\n }\n\n &__info {\n grid-area: info;\n }\n\n &__responsibility {\n grid-area: responsibility;\n\n &:not(:empty) {\n margin-bottom: space(\"xlarge\");\n\n @include mq($from: large) {\n margin-bottom: space(\"xxlarge\");\n }\n }\n }\n\n &__responsibility-text {\n &:not(:empty) {\n padding-bottom: space(\"xsmall\");\n\n @include mq($from: small) {\n padding-bottom: space(\"small\");\n }\n @include mq($from: medium) {\n padding-bottom: space(\"medium\");\n }\n @include mq($from: large) {\n padding-bottom: space(\"small\");\n }\n }\n }\n\n &__contact-form {\n grid-area: contactForm;\n\n @include spaceCurve(\"gap\", \"regular\");\n display: grid;\n\n ::slotted(*) {\n margin-bottom: space(\"xlarge\");\n\n @include mq($from: large) {\n margin-bottom: space(\"xxlarge\");\n }\n }\n }\n\n &__additional {\n grid-area: additional;\n\n @include spaceCurve(\"gap\", \"regular\");\n display: grid;\n\n ::slotted(*) {\n margin-top: space(\"xlarge\");\n margin-bottom: space(\"xlarge\");\n\n @include mq($from: large) {\n margin-top: space(\"xxlarge\");\n margin-bottom: space(\"xxlarge\");\n }\n }\n }\n\n &__heading,\n &__name,\n &__emails,\n &__pobox,\n &__availability-title {\n &:not(:empty):not(:last-child) {\n margin-bottom: space(\"xsmall\");\n }\n }\n\n &__numbers {\n white-space: nowrap;\n }\n\n &__number,\n &__email {\n display: flex;\n align-items: center;\n gap: space(\"xxsmall\");\n }\n\n &__heading,\n &__name,\n &__role,\n &__availability-title {\n @include fontCurve(\"p1\");\n margin: 0px;\n }\n\n &__heading,\n &__name.is-heading,\n &__availability-title {\n @include font(\"heavy\");\n }\n\n &__availability {\n grid-area: availability;\n margin-top: space(\"xlarge\");\n @include spaceCurve(\"gap\", \"small\");\n\n @include mq($from: medium) {\n margin-top: 0px;\n }\n }\n\n &__availability-list,\n &__availability-hour-list {\n list-style: none;\n margin: 0;\n padding: 0;\n }\n\n &__availability-list {\n @include spaceCurve(\"gap\", \"small\");\n display: grid;\n }\n\n &__availability-weekday {\n @include fontCurve(\"p1\");\n }\n\n &__availability-hours {\n display: flex;\n flex-direction: column;\n\n @include mq($from: small) {\n display: flex;\n flex-direction: row;\n flex-wrap: wrap;\n column-gap: space(\"xsmall\");\n }\n }\n\n &__availability-hours-separator {\n width: 1px;\n background-color: currentColor;\n flex-shrink: 0;\n }\n\n &--has-image &__image {\n width: 64px;\n height: 64px;\n\n @include mq($from: small) {\n width: 80px;\n height: 80px;\n }\n\n @include mq($from: medium) {\n width: 100px;\n height: 100px;\n }\n\n @include mq($from: large) {\n width: 120px;\n height: 120px;\n }\n\n @include mq($from: ultra) {\n width: 140px;\n height: 140px;\n }\n }\n\n &__image-wrapper {\n background-color: transparent;\n }\n}\n","import { Component, Element, Fragment, h, Host, Prop, Watch } from \"@stencil/core\";\n\nimport { ContactEmail, ContactNumber, StzhContactAvailabilityItem } from \"../../../index\";\n\nimport { hasSlot } from \"../../../utils/utils\";\n\nfunction formatTel(tel: string) {\n return tel.replace(/\\s/g, \"\");\n}\n\n/**\n * @slot main-heading - slot for main heading\n * @slot contact-form - slot for contact form\n * @slot image - slot for image\n * @slot address - slot for address (alternative for `address` property or separate properties `street`, `streetInfo`, `postalCode` & `location`)\n * @slot pobox - slot for pobox (alternative for `pobox` property or separate properties `poboxHeading`, `poboxTitle`, `poboxPostalCode` & `poboxLocation`)\n * @slot slot for additional (e.g. accordion with contact form, map or datalist)\n */\n@Component({\n tag: \"stzh-contact\",\n styleUrl: \"stzh-contact.scss\",\n scoped: true,\n})\nexport class StzhContact {\n /** Type */\n @Prop() type: \"Organization\" | \"Person\" = \"Organization\";\n\n /** Main heading */\n @Prop() mainHeading: string;\n\n /** Sub heading */\n @Prop() subHeading: string;\n\n /** Main heading level */\n @Prop() mainHeadingLevel: \"1\" | \"2\" | \"3\" | \"4\" = \"2\";\n\n /** Heading */\n @Prop() heading: string;\n\n /** Resposibility title */\n @Prop() responsibilityTitle: string;\n\n /** Resposibility title */\n @Prop() responsibility: string;\n\n /** Heading level */\n @Prop() headingLevel: \"1\" | \"2\" | \"3\" | \"4\" = \"3\";\n\n /** Name */\n @Prop() name: string;\n\n /** Person role */\n @Prop() personRole: string;\n\n /** Address (alternative for address slot or separate properties `street`, `streetInfo`, `postalCode` & `location`) */\n @Prop() address: string;\n\n /** Street */\n @Prop() street: string | string[];\n private _street: string[] = [];\n\n /** Additional street info */\n @Prop() streetInfo: string | string[];\n private _streetInfo: string[] = [];\n\n /** Postal code */\n @Prop() postalCode: string;\n\n /** Location / city */\n @Prop() location: string;\n\n /**\n * Numbers\n * Array of objects that can include the attributes `type` = `tel`|`fax`, `label`, `number`\n * and optionally `analyticsId` for setting `s-object-id` to the link element\n * (for Adobe Analytics, default value is `label` and `number`).\n */\n @Prop() numbers: ContactNumber[] | string = [];\n private _numbers: ContactNumber[] = [];\n\n /**\n * Numbers\n * Array of objects that can include the attributes `label`, `number`, `text`, `href`\n * and optionally `analyticsId` for setting `s-object-id` to the link element\n * (for Adobe Analytics, default value is `label` and `text`).\n */\n @Prop() emails: ContactEmail[] | string = [];\n private _emails: ContactEmail[] = [];\n\n /** Pobox (alternative for pobox slot or separate properties `poboxHeading`, `poboxTitle`, `poboxPostalCode` & `poboxLocation`) */\n @Prop() pobox: string;\n\n /** Post office box heading */\n @Prop() poboxHeading: string;\n\n /** Post office box title */\n @Prop() poboxTitle: string;\n\n /** Post office box postal code */\n @Prop() poboxPostalCode: string;\n\n /** Post office box location / city */\n @Prop() poboxLocation: string;\n\n /** Availability title */\n @Prop() availabilityTitle: string;\n\n /** Contact title */\n @Prop() contactTitle: string;\n\n /** Availability title level */\n @Prop() availabilityTitleLevel: \"1\" | \"2\" | \"3\" | \"4\" = \"3\";\n\n /** Availability times */\n @Prop() availability: string | StzhContactAvailabilityItem[];\n private _availability: StzhContactAvailabilityItem[] = [];\n\n /** Additional freetext */\n @Prop() additionalInformation: string;\n\n @Watch(\"availability\")\n availabilityWatcher(newValue: string | StzhContactAvailabilityItem[]) {\n if (typeof newValue === \"string\") {\n this._availability = JSON.parse(newValue);\n } else {\n this._availability = newValue;\n }\n }\n\n @Watch(\"numbers\")\n numbersWatcher(newValue: ContactNumber[] | string) {\n if (typeof newValue === \"string\") {\n try {\n this._numbers = JSON.parse(newValue);\n } catch (jsonParseException) {\n // Nothing to do here, just catching to prevent component from dying.\n }\n } else {\n this._numbers = newValue;\n }\n }\n\n @Watch(\"emails\")\n emailsWatcher(newValue: ContactEmail[] | string) {\n if (typeof newValue === \"string\") {\n try {\n this._emails = JSON.parse(newValue);\n } catch (jsonParseException) {\n // Nothing to do here, just catching to prevent component from dying.\n }\n } else {\n this._emails = newValue;\n }\n }\n\n @Watch(\"street\")\n streetWatcher(newValue: string[] | string) {\n if (typeof newValue === \"string\") {\n try {\n this._street = JSON.parse(newValue);\n } catch (noArrayException) {\n this._street = [newValue];\n }\n } else if (newValue) {\n this._street = newValue;\n }\n }\n\n @Watch(\"streetInfo\")\n streetInfoWatcher(newValue: string[] | string) {\n if (typeof newValue === \"string\") {\n try {\n this._streetInfo = JSON.parse(newValue);\n } catch (noArrayException) {\n this._streetInfo = [newValue];\n }\n } else if (newValue) {\n this._streetInfo = newValue;\n }\n }\n\n @Element() element: HTMLStzhFigureElement;\n\n async componentWillLoad() {\n this.numbersWatcher(this.numbers);\n this.emailsWatcher(this.emails);\n this.availabilityWatcher(this.availability);\n this.streetWatcher(this.street);\n this.streetInfoWatcher(this.streetInfo);\n }\n\n render() {\n const hasImage = hasSlot(this.element, \"image\");\n const hasAddress = !!this.address || hasSlot(this.element, \"address\");\n const hasAddons = hasSlot(this.element, \"addons\");\n const hasLinks = hasSlot(this.element, \"links\");\n\n const classes = {\n \"stzh-contact\": true,\n \"stzh-contact--has-image\": hasImage,\n \"stzh-contact--has-address\": hasAddress,\n \"stzh-contact--has-addons\": hasAddons,\n \"stzh-contact--has-links\": hasLinks,\n };\n\n const HeadingLevel = `h${this.headingLevel}`;\n const AvailabilityTitleElement = `h${this.availabilityTitleLevel}`;\n const isPerson = this.type === \"Person\";\n const isOrganization = this.type === \"Organization\";\n\n return (\n <Host has-availability={!!this.availability ? \"true\" : \"false\"}>\n <div class={classes} itemscope itemtype={`http://schema.org/${this.type}`}>\n <div\n class=\"stzh-contact__main-heading\"\n itemprop={(isOrganization && !this.heading) || (isPerson && !this.name) ? \"name\" : null}\n >\n <div class=\"stzh-contact__main-heading-section\">\n {this.mainHeading ? (\n <stzh-heading level={this.mainHeadingLevel} htmlContent={this.mainHeading}/>\n ) : (\n <slot name=\"main-heading\"></slot>\n )}\n </div>\n <div class={isPerson && \"stzh-contact__main-heading-text\"}>\n {this.personRole && isPerson && (\n <stzh-heading curve=\"h3\" level=\"3\">\n <span class=\"stzh-contact__role\">{this.personRole}</span>\n </stzh-heading>\n )}\n {((isPerson && this.name) || (isOrganization && this.heading)) && (\n <div class=\"stzh-contact__main-heading-type\">\n {this.name && isPerson && (\n <stzh-heading level='3' curve='h3' htmlContent={this.name}/>\n )}\n {this.heading && isOrganization && (\n <stzh-heading level={this.headingLevel} htmlContent={this.heading} />\n )}\n </div>\n )}\n </div>\n {isPerson && (\n <div class=\"stzh-contact__image-wrapper\">\n <div class=\"stzh-contact__image\">\n <slot name=\"image\"></slot>\n </div>\n </div>\n )}\n </div>\n\n <div class=\"stzh-contact__responsibility\">\n {this.responsibilityTitle && (\n <HeadingLevel\n class=\"stzh-contact__heading\"\n itemprop={this.responsibilityTitle}\n innerHTML={this.responsibilityTitle}\n />\n )}\n {this.responsibility && (\n <stzh-text class=\"stzh-contact__responsibility-text\">{this.responsibility}</stzh-text>\n )}\n </div>\n\n <div class=\"stzh-contact__contact-form\">\n <slot name=\"contact-form\"></slot>\n </div>\n\n <div class=\"stzh-contact__additional\">\n <slot></slot>\n </div>\n\n <div class=\"stzh-contact__info\">\n {this.contactTitle && (\n <AvailabilityTitleElement class=\"stzh-contact__availability-title\">\n {this.contactTitle}\n </AvailabilityTitleElement>\n )}\n\n <div\n class=\"stzh-contact__address\"\n itemprop=\"address\"\n itemscope\n itemtype=\"http://schema.org/PostalAddress\"\n innerHTML={this.address}\n >\n {!this.address && (\n <Fragment>\n {this._street.length > 0 && (\n <div class=\"stzh-contact__street\" itemprop=\"streetAddress\">\n {this._street.map((street: string) => (\n <Fragment>\n {street}\n <br />\n </Fragment>\n ))}\n {this._streetInfo.length > 0 && (\n <Fragment>\n <br />{\" \"}\n {this._streetInfo.map((streetInfo: string) => (\n <Fragment>\n {streetInfo}\n <br />\n </Fragment>\n ))}\n </Fragment>\n )}\n </div>\n )}\n\n {this.postalCode && (\n <span class=\"stzh-contact__postal-code\" itemprop=\"postalCode\">\n {this.postalCode} \n </span>\n )}\n\n {this.location && (\n <span class=\"stzh-contact__locality\" itemprop=\"addressLocality\">\n {this.location}\n </span>\n )}\n\n <slot name=\"address\"></slot>\n </Fragment>\n )}\n </div>\n\n {this._numbers.length > 0 && (\n <div class=\"stzh-contact__numbers\">\n {this._numbers.map(number => (\n <div class=\"stzh-contact__number\">\n <span>{number.label} </span>\n <stzh-link\n size=\"inherit\"\n height=\"auto\"\n class=\"stzh-contact__number-link\"\n href={`${number.type}:${formatTel(number.number)}`}\n analyticsId={number.analyticsId || `${number.label} ${number.number}`}\n itemprop={number.type === \"fax\" ? \"faxNumber\" : \"telephone\"}\n >\n {number.number}\n </stzh-link>\n </div>\n ))}\n </div>\n )}\n\n {this._emails.length > 0 && (\n <div class=\"stzh-contact__emails\">\n {this._emails.map(email => (\n <div class=\"stzh-contact__email\">\n <span>{email.label} </span>\n {email.href ? (\n <stzh-link\n size=\"inherit\"\n height=\"auto\"\n class=\"stzh-container__email-link\"\n href={`mailto:${email.href}`}\n analyticsId={email.analyticsId || `${email.label} ${email.text}`}\n itemprop=\"email\"\n >\n {email.text}\n </stzh-link>\n ) : (\n <span class=\"stzh-container__email-link\" itemprop=\"email\">\n {email.text}\n </span>\n )}\n </div>\n ))}\n </div>\n )}\n\n <div class=\"stzh-contact__pobox\" innerHTML={this.pobox}>\n {!this.pobox && (\n <Fragment>\n {this.poboxHeading && <div class=\"stzh-contact__pobox-heading\">{this.poboxHeading}</div>}\n {this.poboxTitle && <div class=\"stzh-contact__pobox-title\">{this.poboxTitle}</div>}\n {this.poboxPostalCode && (\n <span class=\"stzh-contact__pobox-postal-code\">{this.poboxPostalCode} </span>\n )}\n {this.poboxLocation && <span class=\"stzh-contact__pobox-locality\">{this.poboxLocation}</span>}\n <slot name=\"pobox\"></slot>\n </Fragment>\n )}\n </div>\n\n <div class=\"stzh-contact__additional-information\" innerHTML={this.additionalInformation}></div>\n </div>\n\n {this.availability && (\n <div class=\"stzh-contact__availability\">\n {this.availabilityTitle && (\n <AvailabilityTitleElement class=\"stzh-contact__availability-title\">\n {this.availabilityTitle}\n </AvailabilityTitleElement>\n )}\n\n {this._availability.length > 0 && (\n <ul class=\"stzh-contact__availability-list\">\n {this._availability.map(item => (\n <li class=\"stzh-contact__availability-list-item\">\n <div class=\"stzh-contact__availability-weekday\">{item.weekday}</div>\n {item.hours.length > 0 && (\n <div class=\"stzh-contact__availability-hours\">\n {item.hours.map((hour, index) => (\n <Fragment>\n <div class=\"stzh-contact__availability-hour\">{hour}</div>\n {index < item.hours.length - 1 && (\n <div class=\"stzh-contact__availability-hours-separator\"></div>\n )}\n </Fragment>\n ))}\n </div>\n )}\n </li>\n ))}\n </ul>\n )}\n </div>\n )}\n </div>\n </Host>\n );\n }\n}\n"],"mappings":"4HAAA,MAAMA,EAAiB,2pbACvB,MAAAC,EAAeD,ECKf,SAASE,EAAUC,GACjB,OAAOA,EAAIC,QAAQ,MAAO,GAC5B,C,MAeaC,EAAW,M,yBAoCdC,KAAAC,QAAoB,GAIpBD,KAAAE,YAAwB,GAexBF,KAAAG,SAA4B,GAS5BH,KAAAI,QAA0B,GA4B1BJ,KAAAK,cAA+C,G,UA1Fb,e,2EASQ,I,0GAYJ,I,oLA+BF,G,YASF,G,gOAyBc,I,iEAUxD,mBAAAC,CAAoBC,GAClB,UAAWA,IAAa,SAAU,CAChCP,KAAKK,cAAgBG,KAAKC,MAAMF,E,KAC3B,CACLP,KAAKK,cAAgBE,C,EAKzB,cAAAG,CAAeH,GACb,UAAWA,IAAa,SAAU,CAChC,IACEP,KAAKG,SAAWK,KAAKC,MAAMF,E,CAC3B,MAAOI,G,MAGJ,CACLX,KAAKG,SAAWI,C,EAKpB,aAAAK,CAAcL,GACZ,UAAWA,IAAa,SAAU,CAChC,IACEP,KAAKI,QAAUI,KAAKC,MAAMF,E,CAC1B,MAAOI,G,MAGJ,CACLX,KAAKI,QAAUG,C,EAKnB,aAAAM,CAAcN,GACZ,UAAWA,IAAa,SAAU,CAChC,IACEP,KAAKC,QAAUO,KAAKC,MAAMF,E,CAC1B,MAAOO,GACPd,KAAKC,QAAU,CAACM,E,OAEb,GAAIA,EAAU,CACnBP,KAAKC,QAAUM,C,EAKnB,iBAAAQ,CAAkBR,GAChB,UAAWA,IAAa,SAAU,CAChC,IACEP,KAAKE,YAAcM,KAAKC,MAAMF,E,CAC9B,MAAOO,GACPd,KAAKE,YAAc,CAACK,E,OAEjB,GAAIA,EAAU,CACnBP,KAAKE,YAAcK,C,EAMvB,uBAAM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stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}[hidden].sc-stzh-linklist-h,[stzh-hidden].sc-stzh-linklist-h{display:none}.sc-stzh-linklist-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-linklist-h *.sc-stzh-linklist,.sc-stzh-linklist-h *.sc-stzh-linklist::before,.sc-stzh-linklist-h *.sc-stzh-linklist::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}.sc-stzh-linklist-h .has-focus.sc-stzh-linklist{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-linklist-h .stzh-fylingfocus-focused.sc-stzh-linklist{outline-style:none !important}.sc-stzh-linklist-h .stzh-fylingfocus-focused.sc-stzh-linklist::-moz-focus-inner{border:0 !important}[padding-bottom=false].sc-stzh-linklist-h .stzh-linklist.sc-stzh-linklist{padding-bottom:0}.stzh-linklist.sc-stzh-linklist{padding-bottom:var(--stzh-space-large);grid-template-areas:var(--grid-template-areas);grid-template-columns:var(--grid-template-columns)}@media screen and (min-width: 600px){.stzh-linklist.sc-stzh-linklist{padding-bottom:var(--stzh-space-xlarge)}}@media screen and (min-width: 900px){.stzh-linklist.sc-stzh-linklist{padding-bottom:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.stzh-linklist.sc-stzh-linklist{padding-bottom:var(--stzh-space-xxxlarge)}}.stzh-linklist__heading.sc-stzh-linklist{padding-top:var(--stzh-space-xsmall);padding-bottom:var(--stzh-space-xxsmall);font-size:var(--stzh-font-centi-font-size);line-height:var(--stzh-font-centi-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing)}@media screen and (min-width: 600px){.stzh-linklist__heading.sc-stzh-linklist{padding-top:var(--stzh-space-small)}}@media screen and (min-width: 900px){.stzh-linklist__heading.sc-stzh-linklist{padding-top:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.stzh-linklist__heading.sc-stzh-linklist{padding-top:var(--stzh-space-xlarge)}}@media screen and (min-width: 900px){.stzh-linklist__heading.sc-stzh-linklist{padding-bottom:var(--stzh-space-xsmall)}}@media screen and (min-width: 1260px){.stzh-linklist__heading.sc-stzh-linklist{padding-bottom:var(--stzh-space-small)}}@media screen and (min-width: 600px){.stzh-linklist__heading.sc-stzh-linklist{font-size:var(--stzh-font-deci-font-size);line-height:var(--stzh-font-deci-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing)}}@media screen and (min-width: 900px){.stzh-linklist__heading.sc-stzh-linklist{font-size:var(--stzh-font-deca-font-size);line-height:var(--stzh-font-deca-text-line-height);letter-spacing:var(--stzh-font-deca-text-letter-spacing)}}@media screen and (min-width: 1600px){.stzh-linklist__heading.sc-stzh-linklist{font-size:var(--stzh-font-hecto-font-size);line-height:var(--stzh-font-hecto-text-line-height);letter-spacing:var(--stzh-font-hecto-text-letter-spacing)}}.stzh-linklist__wrapper.sc-stzh-linklist{column-gap:var(--stzh-grid-gutter);display:grid;row-gap:var(--stzh-space-small);overflow:visible}@media screen and (min-width: 600px){.stzh-linklist__wrapper.sc-stzh-linklist{column-gap:var(--stzh-grid-gutter-small)}}@media screen and (min-width: 900px){.stzh-linklist__wrapper.sc-stzh-linklist{column-gap:var(--stzh-grid-gutter-medium)}}@media screen and (min-width: 1260px){.stzh-linklist__wrapper.sc-stzh-linklist{column-gap:var(--stzh-grid-gutter-large)}}@media screen and (min-width: 1600px){.stzh-linklist__wrapper.sc-stzh-linklist{column-gap:var(--stzh-grid-gutter-ultra)}}@media screen and (min-width: 900px){.stzh-linklist__wrapper.sc-stzh-linklist{row-gap:var(--stzh-space-xsmall)}}";const n=e;const l=class{constructor(s){t(this,s);this.heading=undefined;this.headingLevel="3";this.paddingBottom=true;this.items=[]}render(){const t={"stzh-linklist":true};return s(i,{key:"f19b2d717ab47294b13615ebbbd5c287860d5bad","padding-bottom":this.paddingBottom},s("div",{key:"fcb8a67146c4a981534b62aba8bb40582172ce1e",class:t},s("div",{key:"9bf487f10a02a80c419d4f83c882f00010385965",class:"stzh-linklist__wrapper"},this.heading&&s("div",{key:"8dc142caf251cdeddedbc223ddf0994bcc517efd",class:"stzh-linklist__heading"},s("stzh-heading",{key:"bbae931c073d7834e00a7b636846a5aeb8f79ac9",level:this.headingLevel},this.heading)),s("div",{key:"cc72af1e813ab35d91c52299024f38a389c6ef54",class:"stzh-linklist__list"},s("stzh-datalist",{key:"3e27fb4f2ed5169cf8cf08a1c09a95080a5d2bb8",verticalGap:"small",items:this.items})))))}};l.style=n;export{l as stzh_linklist};
|
|
2
|
-
//# sourceMappingURL=p-177fe44b.entry.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["stzhLinklistCss","StzhLinklistStyle0","StzhLinklist","render","classes","h","Host","key","this","paddingBottom","class","heading","level","headingLevel","verticalGap","items"],"sources":["src/components/CMS/stzh-linklist/stzh-linklist.scss?tag=stzh-linklist&encapsulation=scoped","src/components/CMS/stzh-linklist/stzh-linklist.tsx"],"sourcesContent":[":host {\n &[padding-bottom=\"false\"] {\n .stzh-linklist {\n padding-bottom: 0;\n }\n }\n}\n\n.stzh-linklist {\n @include spaceCurve(\"padding-bottom\", \"medium\");\n grid-template-areas: var(--grid-template-areas);\n grid-template-columns: var(--grid-template-columns);\n\n &__heading {\n @include spaceCurve(\"padding-top\", \"small\");\n @include spaceCurve(\"padding-bottom\", \"tiny\");\n @include fontSize(\"centi\");\n @include mq($from: small) {\n @include fontSize(\"deci\");\n }\n @include mq($from: medium) {\n @include fontSize(\"deca\");\n }\n @include mq($from: ultra) {\n @include fontSize(\"hecto\");\n }\n }\n\n &__wrapper {\n @include gridGutter;\n display: grid;\n row-gap: space(\"small\");\n @include mq($from: medium) {\n row-gap: space(\"xsmall\");\n }\n overflow: visible;\n }\n}\n","import { Component, h, Host, Prop } from \"@stencil/core\";\nimport { StzhDatalistItemEntry } from \"../../..\";\n\n@Component({\n tag: \"stzh-linklist\",\n styleUrl: \"stzh-linklist.scss\",\n scoped: true,\n})\nexport class StzhLinklist {\n /**Heading for the linklist*/\n @Prop() heading: string;\n /** Heading level */\n @Prop({ reflect: true }) headingLevel: \"1\" | \"2\" | \"3\" | \"4\" = \"3\";\n /**Whether the component had a padding-bottom or not\n */\n @Prop() paddingBottom: boolean = true;\n /** The items that should be displayed in the link list */\n @Prop() items: StzhDatalistItemEntry[] | string = [];\n\n render() {\n const classes = {\n \"stzh-linklist\": true,\n };\n\n return (\n <Host padding-bottom={this.paddingBottom}>\n <div class={classes}>\n <div class=\"stzh-linklist__wrapper\">\n {this.heading && (\n <div class={\"stzh-linklist__heading\"}>\n <stzh-heading level={this.headingLevel}>{this.heading}</stzh-heading>\n </div>\n )}\n <div class=\"stzh-linklist__list\">\n <stzh-datalist verticalGap=\"small\" items={this.items}></stzh-datalist>\n </div>\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"mappings":"kDAAA,MAAMA,EAAkB,o8HACxB,MAAAC,EAAeD,E,MCOFE,EAAY,M,kEAIwC,I,mBAG9B,K,WAEiB,E,CAElD,MAAAC,GACE,MAAMC,EAAU,CACd,gBAAiB,MAGnB,OACEC,EAACC,EAAI,CAAAC,IAAA,4DAAiBC,KAAKC,eACzBJ,EAAA,OAAAE,IAAA,2CAAKG,MAAON,GACVC,EAAA,OAAAE,IAAA,2CAAKG,MAAM,0BACRF,KAAKG,SACJN,EAAA,OAAAE,IAAA,2CAAKG,MAAO,0BACVL,EAAA,gBAAAE,IAAA,2CAAcK,MAAOJ,KAAKK,cAAeL,KAAKG,UAGlDN,EAAA,OAAAE,IAAA,2CAAKG,MAAM,uBACTL,EAAA,iBAAAE,IAAA,2CAAeO,YAAY,QAAQC,MAAOP,KAAKO,W"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{r as t,h as s,F as i,a as e,g as o}from"./p-ef5985a3.js";import{a}from"./p-30d100f4.js";const h=".sc-stzh-poilist-h{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}[hidden].sc-stzh-poilist-h,[stzh-hidden].sc-stzh-poilist-h{display:none}.sc-stzh-poilist-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-poilist-h *.sc-stzh-poilist,.sc-stzh-poilist-h *.sc-stzh-poilist::before,.sc-stzh-poilist-h *.sc-stzh-poilist::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}.sc-stzh-poilist-h .has-focus.sc-stzh-poilist{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-poilist-h .stzh-fylingfocus-focused.sc-stzh-poilist{outline-style:none !important}.sc-stzh-poilist-h .stzh-fylingfocus-focused.sc-stzh-poilist::-moz-focus-inner{border:0 !important}.stzh-poilist__header.sc-stzh-poilist{margin-bottom:var(--stzh-space-xsmall);display:flex;justify-content:space-between;align-items:center}@media screen and (min-width: 600px){.stzh-poilist__header.sc-stzh-poilist{margin-bottom:var(--stzh-space-small)}}@media screen and (min-width: 900px){.stzh-poilist__header.sc-stzh-poilist{margin-bottom:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.stzh-poilist__header.sc-stzh-poilist{margin-bottom:var(--stzh-space-xlarge)}}.stzh-poilist__header.sc-stzh-poilist stzh-text.sc-stzh-poilist{--color:var(--stzh-color-grey80);font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy)}.stzh-poilist__show-more.sc-stzh-poilist{margin-top:var(--stzh-space-large);display:grid}@media screen and (min-width: 600px){.stzh-poilist__show-more.sc-stzh-poilist{margin-top:var(--stzh-space-xlarge)}}@media screen and (min-width: 900px){.stzh-poilist__show-more.sc-stzh-poilist{margin-top:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.stzh-poilist__show-more.sc-stzh-poilist{margin-top:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 600px){.stzh-poilist__show-more.sc-stzh-poilist{justify-content:center}}.stzh-poilist.sc-stzh-poilist stzh-dropdown.sc-stzh-poilist{--color:var(--stzh-color-primary90);--icon-color:var(--stzh-color-primary90);--icon-angle-color:var(--stzh-color-primary90)}";const r=h;const n=class{constructor(s){t(this,s);this.handleMoreClick=async()=>{this.loadingText=this.localization.dataLoading;this.isLoading=true;this.currentOffset++;const{data:t}=await a.get(this.getCurrentApiUrl());this.meta=t.meta;this.items=this.items.concat(t.items);this.isLoading=false};this.onSortChange=async t=>{this.activeSorting=t.detail.value;this.currentOffset=0;this.items=[];await this.apiWatcher(this.api)};this.localization=undefined;this.api=undefined;this.currentOffset=0;this.meta=undefined;this.items=[];this.isLoading=true;this.dropdownOptions=[];this.activeSorting=undefined;this.latitude=47.3714332;this.longitude=8.542093;this.geopositionError="";this.loadingText=""}async apiWatcher(t){this.loadingText=this.localization.dataLoading;if(!t){return}const{data:s}=await a.get(this.getCurrentApiUrl());this.meta=s.meta;this.items=s.items;this.isLoading=false}getCurrentApiUrl(){return`${this.api}?offset=${this.currentOffset}&sort=${this.activeSorting}:DESC&latitude=${this.latitude}&longitude=${this.longitude}`}getNumberOfLoadedItems(){if(this.meta.currentPage!==this.meta.totalPages){return this.meta.itemsPerPage*this.meta.currentPage}else{return this.meta.totalItems}}async getUserPosition(){this.loadingText=this.localization.geopositionLoading;try{const t=await this.getPositionAsync();this.latitude=t.coords.latitude;this.longitude=t.coords.longitude}catch(t){console.error("geopositionNotFoundException",t);this.geopositionError=this.localization.geopositionError}}getPositionAsync(){return new Promise(((t,s)=>{if(navigator.geolocation){navigator.geolocation.getCurrentPosition((s=>t(s)),(t=>s(t)))}else{s(new Error("Geolocation is not supported by this browser."))}}))}async componentWillLoad(){if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"poilist")}this.dropdownOptions=[{text:this.localization.sortByDistance,value:"distance"},{text:this.localization.sortByName,value:"name"}];this.activeSorting=this.dropdownOptions[0].value}async componentDidLoad(){await this.getUserPosition();await this.apiWatcher(this.api)}render(){const t={"stzh-poilist":true};return s(e,{key:"7d648ed46e8481ca8aaec8d2b37d44954b1a4de1"},s("div",{key:"80559e594a82d6d7671165d3cf2add6f1d6ea8ac",class:t},s("stzh-overlay",{key:"2ee98f49b657df61a1e3e8dd890cb60ee465a9c9",open:this.isLoading},s("stzh-loader",{key:"2af6824f0565b9a6c3a5585abf549cd3361b2637",label:this.loadingText})),this.geopositionError&&s("stzh-message",{key:"db6a3140e58c0e3d5f18194f81154f217130eb22",type:"error",label:this.geopositionError}),(this.items.length>0||this.meta)&&s(i,{key:"b1c3ee7415f8c7bb7ef505c574a061d7f9ffb4da"},s("div",{key:"eba2dd1034a949af1b1421a2144834415179f0ac",class:"stzh-poilist__header"},s("stzh-text",{key:"ad8881c73de849cd8d4351c1969ab461d3948a7b",size:"micro"},this.getNumberOfLoadedItems()," ",this.localization.of," ",this.meta.totalItems),s("stzh-dropdown",{key:"453c84cd239904f33cc469dd5b20ade08a4592e4",label:"Sortierung","hide-optional":true,variant:"plain",noSearch:true,inline:true,noWrap:true,onStzhChange:this.onSortChange,items:Array.isArray(this.activeSorting)?this.activeSorting:[this.activeSorting],options:this.dropdownOptions})),s("stzh-cardlist",{key:"bfcc59f45401faab89a930b37888f5a01c829390",layout:"teasers"},this.items.map((t=>s("stzh-poicard",{item:t})))),this.meta.currentPage!==this.meta.totalPages&&s("div",{key:"54d2983e728c727933dde485bdf5ba5fa1dae2f6",class:"stzh-poilist__show-more"},s("stzh-button",{key:"51d5a36230815c9982b182bfaec5e23ae9da9d56",variant:"secondary",label:this.localization.showMore,onClick:this.handleMoreClick})))))}get element(){return o(this)}static get watchers(){return{api:["apiWatcher"]}}};n.style=r;export{n as stzh_poilist};
|
|
2
|
-
//# sourceMappingURL=p-7fcdf0da.entry.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["stzhPiTeaserLayoutCss","StzhPiTeaserLayoutStyle0","RubrickSize","getRubrickSize","length","xxxsmall","xxsmall","xsmall","small","medium","large","StzhPiTeaserLayout","this","mediaChangeHandler","isSmall","media","matches","isMedium","isLarge","isUltra","componentDidLoad","contentList","slice","variant","hasSide","paddingNeeded","Math","max","Array","fill","type","connectedCallback","addMediaChangeListener","render","isRubrick","rubrickSize","Heading","headingLevel","classes","hasHeading","heading","bottomSlotUsed","hasSlot","element","contentSizeBehavior","index","big","sideSize","leadBehavior","lead","imageSrc","noImage","undefined","imageBehavior","h","teaserClasses","Host","amount","class","level","map","teaser","key","href","dateline","date","contentSize","imagePosition","isHero","name"],"sources":["src/components/CMS/stzh-pi-teaser-layout/stzh-pi-teaser-layout.scss?tag=stzh-pi-teaser-layout&encapsulation=scoped","src/components/CMS/stzh-pi-teaser-layout/stzh-pi-teaser-layout.tsx"],"sourcesContent":[":host {\n --grid-pi-teaser-layout-columns: repeat(12, 1fr);\n --min-height: 1800px;\n --max-height: 1900px;\n --gap: 16px;\n\n // Default mobile layout\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1\"\n \"t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2\" \"t3 t3 t3 t3 t3 t3 t3 t3 t3 t3 t3 t3\"\n \"t4 t4 t4 t4 t4 t4 t4 t4 t4 t4 t4 t4\" \"t5 t5 t5 t5 t5 t5 t5 t5 t5 t5 t5 t5\"\n \"t6 t6 t6 t6 t6 t6 t6 t6 t6 t6 t6 t6\";\n --grid-pi-teaser-layout-rows: 0.9fr 0.9fr 0.25fr 0.25fr 0.25fr 0.25fr;\n\n // Small mobile layout\n @include mq($from: small) {\n --gap: 20px;\n --min-height: 1900px;\n --max-height: 1900px;\n --grid-pi-teaser-layout-rows: 0.9fr 0.9fr 0.25fr 0.25fr 0.25fr 0.25fr;\n }\n\n // Medium mobile layout\n @include mq($from: medium) {\n --gap: 20px;\n --min-height: 1550px;\n --max-height: 1650px;\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t2 t2 t2 t2 t2 t2\"\n \"t3 t3 t3 t3 t3 t3 t4 t4 t4 t4 t4 t4\"\n \"t5 t5 t5 t5 t5 t5 t5 t5 t5 t5 t5 t5\"\n \"t6 t6 t6 t6 t6 t6 t6 t6 t6 t6 t6 t6\";\n --grid-pi-teaser-layout-rows: 0.6fr 0.4fr 0.25fr 0.25fr;\n\n &[has-side=\"true\"] {\n --min-height: 2350px;\n --max-height: 2350px;\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1\"\n \"t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2\"\n \"t3 t3 t3 t3 t3 t3 t3 t3 t3 t3 t3 t3\"\n \"t4 t4 t4 t4 t4 t4 t4 t4 t4 t4 t4 t4\"\n \"t5 t5 t5 t5 t5 t5 t5 t5 t5 t5 t5 t5\"\n \"t6 t6 t6 t6 t6 t6 t6 t6 t6 t6 t6 t6\";\n --grid-pi-teaser-layout-rows: 0.85fr 0.85fr 0.4fr 0.4fr 0.36fr 0.36fr;\n }\n }\n\n // Large mobile layout\n @include mq($from: large) {\n --gap: 24px;\n --min-height: 1350px;\n --max-height: 1350px;\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t2 t2 t2 t2 t2 t2\"\n \"t3 t3 t3 t3 t4 t4 t4 t4 t5 t5 t5 t5\"\n \"t3 t3 t3 t3 t4 t4 t4 t4 t6 t6 t6 t6\";\n --grid-pi-teaser-layout-rows: 0.7fr 0.3fr 0.3fr;\n\n &[has-side=\"true\"] {\n --min-height: 1350px;\n --max-height: 1350px;\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t2 t2 t2 t2 t2 t2\"\n \"t3 t3 t3 t3 t4 t4 t4 t4 t5 t5 t5 t5\"\n \"t3 t3 t3 t3 t4 t4 t4 t4 t6 t6 t6 t6\";\n --grid-pi-teaser-layout-rows: 0.7fr 0.3fr 0.3fr;\n }\n }\n\n // Ultra mobile layout\n @include mq($from: ultra) {\n --gap: 32px;\n --min-height: 1350px;\n --max-height: 1350px;\n --grid-pi-teaser-layout-rows: 0.7fr 0.3fr 0.3fr;\n\n &[has-side=\"true\"] {\n --min-height: 1350px;\n --max-height: 1350px;\n --grid-pi-teaser-layout-rows: 0.7fr 0.3fr 0.3fr;\n }\n }\n\n .stzh-pi-teaser-layout-teaser {\n background-color: white;\n\n &--1 {\n grid-area: t1;\n }\n\n &--2 {\n grid-area: t2;\n }\n\n &--3 {\n grid-area: t3;\n }\n\n &--4 {\n grid-area: t4;\n }\n\n &--5 {\n grid-area: t5;\n }\n\n &--6 {\n grid-area: t6;\n }\n }\n\n // Rubrick layouts\n &[is-rubrick=\"true\"] {\n // Mobile rubrick layouts\n &[amount=\"one\"] {\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1\";\n --grid-pi-teaser-layout-rows: 1fr;\n --min-height: 550px;\n --max-height: 600px;\n }\n\n &[amount=\"two\"] {\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1\"\n \"t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2\";\n --grid-pi-teaser-layout-rows: 1fr 1fr;\n --min-height: 1100px;\n --max-height: 1200px;\n }\n\n &[amount=\"three\"] {\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1\"\n \"t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2\"\n \"t3 t3 t3 t3 t3 t3 t3 t3 t3 t3 t3 t3\";\n --grid-pi-teaser-layout-rows: 1.1fr 1.1fr 0.6fr;\n --min-height: 1350px;\n --max-height: 1400px;\n }\n\n &[amount=\"four\"] {\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1\"\n \"t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2\"\n \"t3 t3 t3 t3 t3 t3 t3 t3 t3 t3 t3 t3\"\n \"t4 t4 t4 t4 t4 t4 t4 t4 t4 t4 t4 t4\";\n --grid-pi-teaser-layout-rows: 1.1fr 1.1fr 0.55fr 0.55fr;\n --min-height: 1650px;\n --max-height: 1650px;\n }\n\n &[amount=\"four\"] {\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1\"\n \"t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2\"\n \"t3 t3 t3 t3 t3 t3 t3 t3 t3 t3 t3 t3\"\n \"t4 t4 t4 t4 t4 t4 t4 t4 t4 t4 t4 t4\";\n --grid-pi-teaser-layout-rows: 1.1fr 1.1fr 0.55fr 0.55fr;\n --min-height: 1650px;\n --max-height: 1650px;\n }\n\n &[amount=\"five\"] {\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1\"\n \"t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2\"\n \"t3 t3 t3 t3 t3 t3 t3 t3 t3 t3 t3 t3\"\n \"t4 t4 t4 t4 t4 t4 t4 t4 t4 t4 t4 t4\"\n \"t5 t5 t5 t5 t5 t5 t5 t5 t5 t5 t5 t5\";\n --grid-pi-teaser-layout-rows: 1fr 1fr 0.55fr 0.55fr 0.3fr;\n --min-height: 1800px;\n --max-height: 1900px;\n }\n\n &[amount=\"six\"] {\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1\"\n \"t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2\"\n \"t3 t3 t3 t3 t3 t3 t3 t3 t3 t3 t3 t3\"\n \"t4 t4 t4 t4 t4 t4 t4 t4 t4 t4 t4 t4\"\n \"t5 t5 t5 t5 t5 t5 t5 t5 t5 t5 t5 t5\"\n \"t6 t6 t6 t6 t6 t6 t6 t6 t6 t6 t6 t6\";\n --grid-pi-teaser-layout-rows: 1fr 1fr 0.63fr 0.63fr 0.3fr 0.3fr;\n --min-height: 2200px;\n --max-height: 2300px;\n }\n\n // Small breakpoint rubrick layouts\n @include mq($from: small) {\n &[amount=\"three\"] {\n --grid-pi-teaser-layout-rows: 1.2fr 1.2fr 0.42fr;\n --min-height: 1350px;\n --max-height: 1400px;\n }\n\n &[amount=\"four\"] {\n --grid-pi-teaser-layout-rows: 1.2fr 1.2fr 0.42fr 0.42fr;\n --min-height: 1600px;\n --max-height: 1700px;\n }\n\n &[amount=\"five\"] {\n --grid-pi-teaser-layout-rows: 1fr 1fr 0.42fr 0.42fr 0.26fr;\n --min-height: 1800px;\n --max-height: 1900px;\n }\n\n &[amount=\"six\"] {\n --grid-pi-teaser-layout-rows: 1fr 1fr 0.42fr 0.42fr 0.26fr 0.26fr;\n --min-height: 2000px;\n --max-height: 2100px;\n }\n }\n\n // Medium breakpoint rubrick layouts\n @include mq($from: medium) {\n &[amount=\"one\"],\n &[amount=\"two\"] {\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t2 t2 t2 t2 t2 t2\";\n --grid-pi-teaser-layout-rows: 1fr;\n --min-height: 600px;\n --max-height: 650px;\n }\n\n &[amount=\"three\"] {\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t2 t2 t2 t2 t2 t2\"\n \"t3 t3 t3 t3 t3 t3 t4 t4 t4 t4 t4 t4\";\n --grid-pi-teaser-layout-rows: 1fr 1fr;\n --min-height: 1200px;\n --max-height: 1250px;\n\n &[has-side=\"true\"] {\n --grid-pi-teaser-layout-rows: 1fr 1fr;\n --min-height: 1150px;\n --max-height: 1200px;\n }\n }\n\n &[amount=\"four\"] {\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t2 t2 t2 t2 t2 t2\"\n \"t3 t3 t3 t3 t3 t3 t4 t4 t4 t4 t4 t4\";\n --grid-pi-teaser-layout-rows: 1fr 1fr;\n --min-height: 1200px;\n --max-height: 1250px;\n\n &[has-side=\"true\"] {\n --grid-pi-teaser-layout-rows: 1fr 1fr;\n --min-height: 1150px;\n --max-height: 1200px;\n }\n }\n\n &[amount=\"five\"] {\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t2 t2 t2 t2 t2 t2\"\n \"t3 t3 t3 t3 t3 t3 t4 t4 t4 t4 t4 t4\"\n \"t5 t5 t5 t5 t5 t5 t5 t5 t5 t5 t5 t5\";\n --grid-pi-teaser-layout-rows: 1fr 1fr 0.35fr;\n --min-height: 1400px;\n --max-height: 1500px;\n\n &[has-side=\"true\"] {\n --grid-pi-teaser-layout-rows: 1.1fr 1.1fr 0.35fr;\n --min-height: 1350px;\n --max-height: 1400px;\n }\n }\n\n &[amount=\"six\"] {\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t2 t2 t2 t2 t2 t2\"\n \"t3 t3 t3 t3 t3 t3 t4 t4 t4 t4 t4 t4\"\n \"t5 t5 t5 t5 t5 t5 t5 t5 t5 t5 t5 t5\"\n \"t6 t6 t6 t6 t6 t6 t6 t6 t6 t6 t6 t6\";\n --grid-pi-teaser-layout-rows: 1fr 1fr 0.35fr 0.35fr;\n --min-height: 1650px;\n --max-height: 1700px;\n\n &[has-side=\"true\"] {\n --grid-pi-teaser-layout-rows: 1.2fr 1.2fr 0.4fr 0.4fr;\n --min-height: 1800px;\n --max-height: 1800px;\n }\n }\n }\n\n // Large breakpoint rubrick layouts\n @include mq($from: large) {\n &[amount=\"three\"] {\n &[has-side=\"true\"] {\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t2 t2 t2 t2 t2 t2\"\n \"t3 t3 t3 t3 t3 t3 t4 t4 t4 t4 t4 t4\";\n --grid-pi-teaser-layout-rows: 1fr 1fr;\n --min-height: 1300px;\n --max-height: 1300px;\n }\n }\n\n &[amount=\"four\"] {\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t2 t2 t2 t3 t3 t3 t4 t4 t4\"\n \"t1 t1 t1 t2 t2 t2 t3 t3 t3 t4 t4 t4\";\n --grid-pi-teaser-layout-rows: 1fr 1fr;\n --min-height: 700px;\n --max-height: 800px;\n\n &[has-side=\"true\"] {\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t2 t2 t2 t2 t2 t2\"\n \"t3 t3 t3 t3 t3 t3 t4 t4 t4 t4 t4 t4\"\n \"t3 t3 t3 t3 t3 t3 t4 t4 t4 t4 t4 t4\";\n --grid-pi-teaser-layout-rows: 1fr 0.5fr 0.5fr;\n --min-height: 1300px;\n --max-height: 1300px;\n }\n }\n\n &[amount=\"five\"] {\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t2 t2 t2 t3 t3 t3 t4 t4 t4\"\n \"t1 t1 t1 t2 t2 t2 t3 t3 t3 t5 t5 t5\";\n --grid-pi-teaser-layout-rows: 1fr 1fr;\n --min-height: 700px;\n --max-height: 800px;\n\n &[has-side=\"true\"] {\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t2 t2 t2 t2 t2 t2\"\n \"t3 t3 t3 t3 t3 t3 t4 t4 t4 t4 t4 t4\"\n \"t3 t3 t3 t3 t3 t3 t5 t5 t5 t5 t5 t5\";\n --grid-pi-teaser-layout-rows: 1fr 0.45fr 0.45fr;\n --min-height: 1300px;\n --max-height: 1300px;\n }\n }\n\n &[amount=\"six\"] {\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t2 t2 t2 t3 t3 t3 t5 t5 t5\"\n \"t1 t1 t1 t2 t2 t2 t4 t4 t4 t6 t6 t6\";\n --grid-pi-teaser-layout-rows: 1fr 1fr;\n --min-height: 700px;\n --max-height: 800px;\n\n &[has-side=\"true\"] {\n --grid-pi-teaser-layout-template: \"t1 t1 t1 t1 t1 t1 t2 t2 t2 t2 t2 t2\"\n \"t3 t3 t3 t3 t3 t3 t5 t5 t5 t5 t5 t5\"\n \"t4 t4 t4 t4 t4 t4 t6 t6 t6 t6 t6 t6\";\n --grid-pi-teaser-layout-rows: 1fr 0.4fr 0.4fr;\n --min-height: 1200px;\n --max-height: 1250px;\n }\n }\n }\n\n // Hide elements that shouldn't be displayed\n .stzh-pi-teaser-layout-teaser {\n &--5 {\n &--four {\n display: none;\n }\n }\n\n &--6 {\n &--four,\n &--five {\n display: none;\n }\n }\n }\n }\n}\n\n.stzh-pi-teaser-layout {\n @include fontCurve(\"p1\");\n width: 100%;\n display: grid;\n gap: var(--gap);\n min-height: var(--min-height);\n max-height: var(--max-height);\n grid-template-columns: var(--grid-pi-teaser-layout-columns);\n grid-template-areas: var(--grid-pi-teaser-layout-template);\n grid-template-rows: var(--grid-pi-teaser-layout-rows);\n\n & > * {\n /* Prevents content from expanding grid items */\n min-height: 0;\n overflow: hidden;\n }\n\n &__header-holder {\n margin-bottom: space(\"medium\");\n }\n\n &__header {\n @include fontCurve(\"h2\");\n @include font(\"title\");\n color: var(--stzh-heading-color);\n\n margin: 0;\n padding-top: space(\"medium\");\n padding-bottom: space(\"xxsmall\");\n\n @include mq($from: small) {\n padding-top: space(\"large\");\n padding-bottom: space(\"xxsmall\");\n }\n\n @include mq($from: medium) {\n padding-top: space(\"xlarge\");\n padding-bottom: space(\"xsmall\");\n }\n\n @include mq($from: large) {\n padding-top: space(\"xxlarge\");\n padding-bottom: space(\"small\");\n }\n }\n\n &__bottom-slot {\n margin-top: space(\"medium\");\n display: grid;\n justify-content: end;\n }\n}\n","import { Component, h, Element, Host, Prop, State } from \"@stencil/core\";\nimport { addMediaChangeListener, media } from \"../../../utils/media-utils\";\nimport { hasSlot } from \"../../../utils/utils\";\nimport { EmptyTeaser, PiTeaser } from \"../../..\";\n\nexport enum RubrickSize {\n xxxsmall = \"one\",\n xxsmall = \"two\",\n xsmall = \"three\",\n small = \"four\",\n medium = \"five\",\n large = \"six\",\n}\n\nconst getRubrickSize = (length: number): RubrickSize => {\n switch (length) {\n case 1:\n return RubrickSize.xxxsmall;\n case 2:\n return RubrickSize.xxsmall;\n case 3:\n return RubrickSize.xsmall;\n case 4:\n return RubrickSize.small;\n case 5:\n return RubrickSize.medium;\n case 6:\n return RubrickSize.large;\n default:\n return null;\n }\n};\n\n@Component({\n tag: \"stzh-pi-teaser-layout\",\n styleUrl: \"stzh-pi-teaser-layout.scss\",\n scoped: true,\n})\nexport class StzhPiTeaserLayout {\n /**\n Variant specifies which grid is being shown\n **/\n @Prop() variant: \"hero\" | \"rubrick\" = \"hero\";\n\n /**\n Aside changes the grid behavior when the layout is presented beside other content aside like menu\n **/\n @Prop() hasSide: boolean = false;\n\n /** Heading for the section **/\n @Prop() heading: string = \"\";\n\n /** Heading level, for accessibility, no visual impact */\n @Prop({ reflect: true }) headingLevel: \"1\" | \"2\" | \"3\" = \"3\";\n\n /**\n The Hero variant has 6 teaser items list requirement, if there is more the list will be cut if less an error will be shown.\n The rubrick is either 4, 5 or 6 elements big if there is more the list will be cut to 6 if there is less we show an empty div for every empty element.\n **/\n @Prop() contentList: PiTeaser[] | EmptyTeaser[] = [];\n\n /** Break points for displays */\n @State() isSmall: boolean;\n @State() isMedium: boolean;\n @State() isLarge: boolean;\n @State() isUltra: boolean;\n\n @Element() element: HTMLStzhPiPagetitleElement;\n\n componentDidLoad() {\n this.mediaChangeHandler();\n /**\n The Hero variant has 6 teaser items list requirement, if there is more the list will be cut if less an error will be shown.\n The rubrick is either 4, 5 or 6 elements big if there is more the list will be cut to 6 if there is less we show an empty div for every empty element.\n **/\n this.contentList = this.contentList.slice(0, 6);\n\n if (this.variant == \"rubrick\" && this.contentList.length < 4) {\n // Always make sure you have at least 4 elements\n if ((this.isLarge || this.isUltra) && !this.hasSide) {\n const paddingNeeded = Math.max(0, 4 - this.contentList.length);\n this.contentList = [...this.contentList, ...Array(paddingNeeded).fill({ type: \"empty-teaser\" })];\n }\n }\n }\n\n private mediaChangeHandler = () => {\n this.isSmall = media(\"small\").matches;\n this.isMedium = media(\"medium\").matches;\n this.isLarge = media(\"large\").matches;\n this.isUltra = media(\"ultra\").matches;\n };\n\n connectedCallback() {\n addMediaChangeListener(this.mediaChangeHandler);\n }\n\n render() {\n const isRubrick = this.variant == \"rubrick\";\n const rubrickSize: RubrickSize = getRubrickSize(this.contentList.length);\n const Heading = `h${this.headingLevel}`;\n const classes = {\n \"stzh-pi-teaser-layout\": true,\n \"stzh-pi-teaser-layout--rubrick\": isRubrick,\n \"stzh-pi-teaser-layout--has-side\": this.hasSide,\n };\n const hasHeading = !!this.heading;\n const bottomSlotUsed = hasSlot(this.element, \"bottom\");\n\n const contentSizeBehavior = (index: number): \"XS\" | \"S\" | \"M\" | \"L\" | \"XL\" => {\n const big = this.isUltra || this.isLarge;\n const sideSize = this.hasSide ? \"M\" : \"L\";\n\n if (isRubrick) {\n switch (index) {\n case 1:\n case 2:\n return big ? \"L\" : this.isMedium ? sideSize : this.isSmall ? \"L\" : \"M\";\n case 3:\n if (rubrickSize == RubrickSize.small) {\n return big ? \"L\" : this.isMedium ? sideSize : this.isSmall ? \"S\" : \"XS\";\n }\n if (rubrickSize == RubrickSize.medium) {\n return big ? \"L\" : this.isMedium ? sideSize : this.isSmall ? \"L\" : \"M\";\n }\n if (rubrickSize == RubrickSize.large) {\n return big ? \"M\" : this.isMedium ? sideSize : this.isSmall ? \"S\" : \"XS\";\n }\n case 4:\n if (rubrickSize == RubrickSize.small) {\n return big ? \"L\" : this.isMedium ? sideSize : this.isSmall ? \"S\" : \"XS\";\n }\n if (rubrickSize == RubrickSize.medium) {\n return big ? \"M\" : this.isMedium ? sideSize : this.isSmall ? \"S\" : \"XS\";\n }\n if (rubrickSize == RubrickSize.large) {\n return big ? \"M\" : this.isMedium ? sideSize : this.isSmall ? \"S\" : \"XS\";\n }\n case 5:\n if (rubrickSize == RubrickSize.medium) {\n return big ? \"M\" : this.isMedium ? \"M\" : this.isSmall ? \"S\" : \"XS\";\n }\n if (rubrickSize == RubrickSize.large) {\n return big ? \"M\" : this.isMedium ? \"M\" : this.isSmall ? \"S\" : \"XS\";\n }\n case 6:\n if (rubrickSize == RubrickSize.large) {\n return big ? \"M\" : this.isMedium ? \"M\" : this.isSmall ? \"S\" : \"XS\";\n }\n }\n } else {\n switch (index) {\n case 1:\n case 2:\n return big ? \"XL\" : this.isMedium ? \"L\" : this.isSmall ? \"L\" : \"M\";\n case 3:\n case 4:\n return big ? \"L\" : this.isMedium ? \"M\" : this.isSmall ? \"S\" : \"XS\";\n case 5:\n case 6:\n return big ? \"M\" : this.isMedium ? \"M\" : this.isSmall ? \"S\" : \"XS\";\n }\n }\n };\n\n const leadBehavior = (lead: string | null, index: number, imageSrc: string | null): string | null => {\n const big = this.isUltra || this.isLarge;\n const noImage = imageSrc == null || imageSrc == undefined;\n\n if (isRubrick) {\n switch (index) {\n case 1:\n case 2:\n return lead;\n case 3:\n if (noImage) {\n return big ? lead : this.isMedium ? lead : this.isSmall ? lead : null;\n }\n if (rubrickSize == RubrickSize.large) {\n return this.isUltra ? null : this.isLarge ? null : this.isMedium ? lead : null;\n }\n return big ? lead : this.isMedium ? lead : null;\n case 4:\n if (noImage) {\n return big ? lead : this.isMedium ? lead : this.isSmall ? lead : null;\n }\n if (rubrickSize == RubrickSize.medium) {\n return this.isUltra ? null : this.isLarge ? null : this.isMedium ? lead : null;\n }\n if (rubrickSize == RubrickSize.large) {\n return this.isUltra ? null : this.isLarge ? null : this.isMedium ? lead : null;\n }\n return big ? lead : this.isMedium ? lead : null;\n case 5:\n if (noImage) {\n return big ? lead : this.isMedium ? lead : null;\n }\n return null;\n case 6:\n if (noImage) {\n return big ? lead : this.isMedium ? lead : null;\n }\n return null;\n }\n } else {\n switch (index) {\n case 1:\n case 2:\n return lead;\n case 3:\n case 4:\n if (noImage) {\n return lead;\n }\n if (this.hasSide) {\n return big ? lead : this.isMedium ? lead : null;\n }\n return big ? lead : this.isMedium ? null : null;\n case 5:\n case 6:\n return big ? lead : this.isMedium ? lead : null;\n }\n }\n return lead;\n };\n\n const imageBehavior = (imageSrc: string | null, index: number): \"top\" | \"right\" | null => {\n // Image has higher priority than lead\n const big = this.isUltra || this.isLarge;\n const noImage = imageSrc == null || imageSrc == undefined;\n\n if (noImage) {\n return null;\n }\n\n if (isRubrick) {\n switch (index) {\n case 1:\n case 2:\n return \"top\";\n case 3:\n if (rubrickSize == RubrickSize.medium) {\n if (this.hasSide) {\n return big ? \"top\" : this.isMedium ? \"top\" : this.isSmall ? \"right\" : \"top\";\n }\n }\n case 4:\n if (rubrickSize == RubrickSize.medium) {\n if (this.hasSide) {\n return big ? \"right\" : this.isMedium ? \"top\" : this.isSmall ? \"right\" : \"top\";\n }\n }\n if (rubrickSize == RubrickSize.large) {\n if (this.hasSide) {\n return big ? \"right\" : this.isMedium ? \"top\" : this.isSmall ? \"right\" : \"top\";\n }\n }\n return big ? \"top\" : this.isMedium ? \"top\" : this.isSmall ? \"right\" : \"top\";\n case 5:\n if (rubrickSize == RubrickSize.medium) {\n if (this.hasSide) {\n return big ? \"right\" : this.isMedium ? \"right\" : null;\n }\n return big ? \"top\" : this.isMedium ? \"right\" : null;\n }\n\n case 6:\n if (rubrickSize == RubrickSize.large) {\n if (this.hasSide) {\n return big ? \"right\" : this.isMedium ? \"right\" : null;\n }\n return big ? \"top\" : this.isMedium ? \"right\" : null;\n }\n }\n } else {\n switch (index) {\n case 1:\n case 2:\n return \"top\";\n case 3:\n case 4:\n if (this.hasSide) {\n return big ? \"top\" : this.isMedium ? \"right\" : this.isSmall ? \"right\" : \"top\";\n }\n return big ? \"top\" : this.isMedium ? \"top\" : this.isSmall ? null : null;\n case 5:\n case 6:\n return big ? null : this.isMedium ? null : this.isSmall ? null : null;\n }\n }\n };\n\n if (!isRubrick && this.contentList.length < 6) {\n return <div>At least add 6 elements for hero</div>;\n }\n\n const teaserClasses = (index: number) => ({\n \"stzh-pi-teaser-layout-teaser\": true,\n [`stzh-pi-teaser-layout-teaser--${index + 1}`]: true,\n [`stzh-pi-teaser-layout-teaser--${index + 1}--${this.hasSide ? \"side\" : \"no-side\"}`]: true,\n [`stzh-pi-teaser-layout-teaser--${index + 1}--${rubrickSize}`]: true,\n [`stzh-pi-teaser-layout-teaser--${index + 1}--${rubrickSize}--${this.hasSide ? \"side\" : \"no-side\"}`]: true,\n });\n\n return (\n <Host is-rubrick={isRubrick ? \"true\" : \"false\"} amount={rubrickSize} has-side={this.hasSide ? \"true\" : \"false\"}>\n {hasHeading && (\n <div class=\"stzh-pi-teaser-layout__header-holder\">\n <Heading class=\"stzh-pi-teaser-layout__header\" level={this.headingLevel}>\n {this.heading}\n </Heading>\n </div>\n )}\n <div class={classes}>\n {...this.contentList.map((teaser: PiTeaser | EmptyTeaser, index) =>\n teaser.type == \"empty-teaser\" ? (\n <div class={teaserClasses(index)} />\n ) : (\n <stzh-pi-teaser\n key={index}\n href={teaser.href}\n dateline={teaser.dateline}\n heading={teaser.heading}\n date={teaser.date}\n imageSrc={teaser.imageSrc}\n contentSize={contentSizeBehavior(index + 1)}\n lead={leadBehavior(teaser.lead, index + 1, teaser.imageSrc)}\n imagePosition={imageBehavior(teaser.imageSrc, index + 1)}\n isHero={!isRubrick}\n class={teaserClasses(index)}\n />\n ),\n )}\n </div>\n {bottomSlotUsed && (\n <div class=\"stzh-pi-teaser-layout__bottom-slot\">\n <slot name=\"bottom\" />\n </div>\n )}\n </Host>\n );\n }\n}\n"],"mappings":"sJAAA,MAAMA,EAAwB,yleAC9B,MAAAC,EAAeD,ECIf,IAAYE,GAAZ,SAAYA,GACVA,EAAA,kBACAA,EAAA,iBACAA,EAAA,kBACAA,EAAA,gBACAA,EAAA,iBACAA,EAAA,cACD,EAPD,CAAYA,MAAW,KASvB,MAAMC,EAAkBC,IACtB,OAAQA,GACN,KAAK,EACH,OAAOF,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,SACjBxB,QAASqB,EAAOrB,QAChByB,KAAMJ,EAAOI,KACbf,SAAUW,EAAOX,SACjBgB,YAAatB,EAAoBC,EAAQ,GACzCI,KAAMD,EAAaa,EAAOZ,KAAMJ,EAAQ,EAAGgB,EAAOX,UAClDiB,cAAed,EAAcQ,EAAOX,SAAUL,EAAQ,GACtDuB,QAASlC,EACTwB,MAAOH,EAAcV,QAK5BJ,GACCa,EAAA,OAAKI,MAAM,sCACTJ,EAAA,QAAMe,KAAK,Y"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{r as s,c as i,h as e,a as o,g as a}from"./p-ef5985a3.js";const t=".sc-stzh-imagecomparison-h{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}[hidden].sc-stzh-imagecomparison-h,[stzh-hidden].sc-stzh-imagecomparison-h{display:none}.sc-stzh-imagecomparison-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-imagecomparison-h *.sc-stzh-imagecomparison,.sc-stzh-imagecomparison-h *.sc-stzh-imagecomparison::before,.sc-stzh-imagecomparison-h *.sc-stzh-imagecomparison::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}.sc-stzh-imagecomparison-h .has-focus.sc-stzh-imagecomparison{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-imagecomparison-h .stzh-fylingfocus-focused.sc-stzh-imagecomparison{outline-style:none !important}.sc-stzh-imagecomparison-h .stzh-fylingfocus-focused.sc-stzh-imagecomparison::-moz-focus-inner{border:0 !important}.sc-stzh-imagecomparison-h{--exposure:50%;--divider-width:0.125rem}@media print{.sc-stzh-imagecomparison-h{page-break-inside:avoid;break-inside:avoid}}.sc-stzh-imagecomparison-h.sc-stzh-imagecomparison-s>*,.sc-stzh-imagecomparison-h .sc-stzh-imagecomparison-s>*{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.sc-stzh-imagecomparison-h.sc-stzh-imagecomparison-s>[slot=image-after],.sc-stzh-imagecomparison-h .sc-stzh-imagecomparison-s>[slot=image-after]{clip-path:polygon(calc(var(--exposure) + var(--divider-width) / 2) 0, 100% 0, 100% 100%, calc(var(--exposure) + var(--divider-width) / 2) 100%)}.stzh-imagecomparison.sc-stzh-imagecomparison{display:flex;flex-direction:column;-webkit-user-select:none;user-select:none}.stzh-imagecomparison__control.sc-stzh-imagecomparison{position:absolute;inset:0;opacity:0;cursor:pointer}.stzh-imagecomparison__slider-line.sc-stzh-imagecomparison{position:absolute;left:var(--exposure);height:100%;width:var(--divider-width);background-color:var(--stzh-color-white);transform:translateX(-50%);transition:background-color var(--stzh-base-transition-animation-speed)}.stzh-imagecomparison__slider-icon-wrapper.sc-stzh-imagecomparison{display:flex;align-items:center;justify-content:space-between;position:absolute;top:50%;left:var(--exposure);overflow:hidden;width:calc(2 * var(--stzh-icon-size) + var(--divider-width));height:var(--stzh-icon-size);transform:translate(-50%, -50%);color:var(--stzh-color-primary70);background-color:var(--stzh-color-white);transition-property:color, background-color;transition-duration:var(--stzh-base-transition-animation-speed)}.stzh-imagecomparison__hint-wrapper.sc-stzh-imagecomparison{pointer-events:none;opacity:0;transition:opacity var(--stzh-base-transition-animation-speed)}.stzh-imagecomparison__hint-left.sc-stzh-imagecomparison,.stzh-imagecomparison__hint-right.sc-stzh-imagecomparison{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy);font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);position:absolute;top:0;display:flex;align-items:center;height:1.5rem;padding:0 var(--stzh-space-xsmall);background:var(--stzh-color-black50op);color:var(--stzh-color-white)}.stzh-imagecomparison__hint-left.sc-stzh-imagecomparison{left:0}.stzh-imagecomparison__hint-right.sc-stzh-imagecomparison{right:0}.stzh-imagecomparison__label.sc-stzh-imagecomparison:hover .stzh-imagecomparison__slider-line.sc-stzh-imagecomparison{background-color:var(--stzh-color-primary70)}.stzh-imagecomparison__label.sc-stzh-imagecomparison:hover .stzh-imagecomparison__slider-icon-wrapper.sc-stzh-imagecomparison{background-color:var(--stzh-color-secondary30)}.stzh-imagecomparison__label.sc-stzh-imagecomparison:hover+.stzh-imagecomparison__hint-wrapper.sc-stzh-imagecomparison{opacity:1}";const r=t;const c=class{constructor(e){s(this,e);this.stzhChange=i(this,"stzhChange",7);this.handleInput=s=>{let i=this.inputElement.value;this.value=Number(i);this.stzhChange.emit({component:"stzh-imagecomparison",originalEvent:s,value:this.value})};this.localization=undefined;this.hintLeft="";this.hintRight="";this.value=50;this.label=undefined;this.a11yDescribedby=""}async componentWillLoad(){if(!this.localization){this.localization=await window.stzhComponents.utils.fetchTranslations(this.element,"imagecomparison")}}render(){const s={"stzh-imagecomparison":true};return e(o,{key:"5ec8b3486d05bcd51dff6597ed4bddb36a017ed1","aria-roledescription":this.localization.label,style:{"--exposure":`${this.value.toString()}%`}},e("div",{key:"b399166cc4cd6561cbb8d4ac9a6f0f079fcea0c2",class:s},e("div",{key:"952d7d757bdb79321c75de42eaa7c3024412ea7e",class:"stzh-imagecomparison__element"},e("slot",{key:"8777dd660b8560e85fe6af28483b1d96851f8649",name:"image-before"}),e("slot",{key:"3888e1e7735c0bc7e17976246dc4ca2e5a5e1d43",name:"image-after"}),e("label",{key:"6b8a7e171b03fd209802a5aabbf172b883c29767",class:"stzh-imagecomparison__label","aria-label":this.label||this.localization.label,"aria-describedby":this.a11yDescribedby||null},e("div",{key:"28aef0c39454210025e9c0b01cf6748f7ab547d4",class:"stzh-imagecomparison__slider-icon-wrapper"},e("stzh-icon",{key:"fa306a72f5cfa93c2e9669ae9c287d3cb3bc7f97",class:"stzh-imagecomparison__slider-icon-left",name:"angle-left"}),e("stzh-icon",{key:"0e1704f92d90e62fef416f158eb49e66ac20ccb8",class:"stzh-imagecomparison__slider-icon-right",name:"angle-right"})),e("div",{key:"003e717f1e7be16ae23decc09d81f4647effb1a1",class:"stzh-imagecomparison__slider-line"}),e("input",{key:"f77dadd07395dc77b115186894356e607abf3a80",type:"range",class:"stzh-imagecomparison__control",min:"0",max:"100",ref:s=>this.inputElement=s,onInput:this.handleInput})),e("div",{key:"61e45cfe31af58c08481f10f0e8817e38dc78a69",class:"stzh-imagecomparison__hint-wrapper"},e("span",{key:"301cd69584463420774b18acc7b5d1d71a3d1fde",class:"stzh-imagecomparison__hint-left"},this.hintLeft?this.hintLeft:e("slot",{name:"hint-left"})),e("span",{key:"c56ffbc3c1ec832f22026741ca5761eba19fb35a",class:"stzh-imagecomparison__hint-right"},this.hintRight?this.hintRight:e("slot",{name:"hint-right"}))))))}get element(){return a(this)}};c.style=r;export{c as stzh_imagecomparison};
|
|
2
|
-
//# sourceMappingURL=p-8dccb0a9.entry.js.map
|