@oiz/stzh-components 4.5.0 → 4.6.0-beta2
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-7501aa08.js} +2 -2
- package/dist/cjs/{app-globals-64d91100.js.map → app-globals-7501aa08.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-cv.cjs.entry.js +1 -1
- package/dist/cjs/stzh-contact.cjs.entry.js +4 -3
- 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-disturber.cjs.entry.js +1 -1
- package/dist/cjs/stzh-dropdown.cjs.entry.js +4 -4
- package/dist/cjs/stzh-editor.cjs.entry.js +1 -1
- package/dist/cjs/stzh-eventdata.cjs.entry.js +1 -1
- package/dist/cjs/stzh-eventinfo.cjs.entry.js +1 -1
- package/dist/cjs/stzh-feedreader-item.cjs.entry.js +1 -1
- package/dist/cjs/stzh-feedreader.cjs.entry.js +1 -1
- 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-geo-ref-data.cjs.entry.js +3 -3
- package/dist/cjs/stzh-ghettobox_3.cjs.entry.js +4 -4
- 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-homepage-search.cjs.entry.js +1 -1
- package/dist/cjs/stzh-homepage-service-highlights.cjs.entry.js +2 -2
- 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-quote.cjs.entry.js +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 +43 -16
- 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.css +6 -3
- package/dist/collection/components/CMS/stzh-contact/stzh-contact.js +33 -15
- package/dist/collection/components/CMS/stzh-contact/stzh-contact.js.map +1 -1
- package/dist/collection/components/CMS/stzh-contact/stzh-contact.stories.js +11 -24
- package/dist/collection/components/CMS/stzh-contact-cv/stzh-contact-cv.js +1 -1
- package/dist/collection/components/CMS/stzh-disturber/stzh-disturber.js +1 -1
- package/dist/collection/components/CMS/stzh-editor/stzh-editor.js +1 -1
- package/dist/collection/components/CMS/stzh-eventdata/stzh-eventdata.js +1 -1
- package/dist/collection/components/CMS/stzh-eventinfo/stzh-eventinfo.js +1 -1
- package/dist/collection/components/CMS/stzh-feedreader/stzh-feedreader.js +1 -1
- package/dist/collection/components/CMS/stzh-feedreader-item/stzh-feedreader-item.js +1 -1
- package/dist/collection/components/CMS/stzh-geo-ref-data/stzh-geo-ref-data.js +3 -3
- package/dist/collection/components/CMS/stzh-ghettobox/stzh-ghettobox.js +1 -1
- package/dist/collection/components/CMS/stzh-homepage-search/stzh-homepage-search.js +1 -1
- package/dist/collection/components/CMS/stzh-homepage-service-highlights/stzh-homepage-service-highlights.js +2 -2
- 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-quote/stzh-pi-quote.js +1 -1
- 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.css +26 -35
- package/dist/collection/components/CMS/stzh-pi-teaser-layout/stzh-pi-teaser-layout.js +46 -16
- 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/stzh-pi-teaser-layout.stories.js +2 -2
- package/dist/collection/components/CMS/stzh-pi-teaser-layout-item/stzh-pi-teaser-layout-item.css +514 -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-b0a7ed3c.js → p-00bfe201.js} +3 -3
- package/dist/components/{p-b0a7ed3c.js.map → p-00bfe201.js.map} +1 -1
- package/dist/components/{p-87e69533.js → p-07336076.js} +3 -3
- package/dist/components/{p-87e69533.js.map → p-07336076.js.map} +1 -1
- package/dist/components/{p-3b563957.js → p-08363886.js} +9 -9
- package/dist/components/{p-3b563957.js.map → p-08363886.js.map} +1 -1
- package/dist/components/{p-375d74b5.js → p-0d14dffd.js} +7 -7
- package/dist/components/{p-375d74b5.js.map → p-0d14dffd.js.map} +1 -1
- package/dist/components/{p-0ac64574.js → p-10d1bf15.js} +4 -4
- package/dist/components/{p-0ac64574.js.map → p-10d1bf15.js.map} +1 -1
- package/dist/components/{p-2f38d899.js → p-2f249d24.js} +7 -7
- package/dist/components/{p-2f38d899.js.map → p-2f249d24.js.map} +1 -1
- package/dist/components/{p-b8b342f5.js → p-356399a0.js} +2 -2
- package/dist/components/{p-b8b342f5.js.map → p-356399a0.js.map} +1 -1
- package/dist/components/{p-5a5884a1.js → p-39b23489.js} +2 -2
- package/dist/components/{p-5a5884a1.js.map → p-39b23489.js.map} +1 -1
- package/dist/components/{p-52037fe2.js → p-3b8bf944.js} +7 -7
- package/dist/components/{p-52037fe2.js.map → p-3b8bf944.js.map} +1 -1
- package/dist/components/{p-a6169d66.js → p-3c00c24c.js} +9 -9
- package/dist/components/{p-a6169d66.js.map → p-3c00c24c.js.map} +1 -1
- package/dist/components/{p-8254224a.js → p-3de13c90.js} +8 -8
- package/dist/components/{p-8254224a.js.map → p-3de13c90.js.map} +1 -1
- package/dist/components/{p-17efbc57.js → p-42e86bbd.js} +2 -2
- package/dist/components/{p-17efbc57.js.map → p-42e86bbd.js.map} +1 -1
- package/dist/components/{p-820ce57f.js → p-476fe818.js} +12 -12
- package/dist/components/{p-820ce57f.js.map → p-476fe818.js.map} +1 -1
- package/dist/components/{p-33ac52bc.js → p-4c4a22d3.js} +2 -2
- package/dist/components/{p-33ac52bc.js.map → p-4c4a22d3.js.map} +1 -1
- package/dist/components/{p-8107e1a2.js → p-4f39842d.js} +5 -5
- package/dist/components/{p-8107e1a2.js.map → p-4f39842d.js.map} +1 -1
- package/dist/components/{p-75352a6a.js → p-556af4a4.js} +2 -2
- package/dist/components/{p-75352a6a.js.map → p-556af4a4.js.map} +1 -1
- package/dist/components/{p-ce0311f9.js → p-5aa4ca6b.js} +2 -2
- package/dist/components/{p-ce0311f9.js.map → p-5aa4ca6b.js.map} +1 -1
- package/dist/components/{p-f6b75419.js → p-60fc78bb.js} +7 -7
- package/dist/components/{p-f6b75419.js.map → p-60fc78bb.js.map} +1 -1
- package/dist/components/p-692cd6d0.js +90 -0
- package/dist/components/p-692cd6d0.js.map +1 -0
- package/dist/components/{p-b5f00d83.js → p-6dcd63da.js} +5 -5
- package/dist/components/{p-b5f00d83.js.map → p-6dcd63da.js.map} +1 -1
- package/dist/components/{p-59b494a3.js → p-700a2919.js} +2 -2
- package/dist/components/{p-59b494a3.js.map → p-700a2919.js.map} +1 -1
- package/dist/components/{p-6268e18b.js → p-7121e1bf.js} +3 -3
- package/dist/components/{p-6268e18b.js.map → p-7121e1bf.js.map} +1 -1
- package/dist/components/{p-7f251b60.js → p-7171b3a1.js} +10 -10
- package/dist/components/{p-7f251b60.js.map → p-7171b3a1.js.map} +1 -1
- package/dist/components/{p-8436ccb7.js → p-74ae8080.js} +6 -6
- package/dist/components/{p-8436ccb7.js.map → p-74ae8080.js.map} +1 -1
- package/dist/components/{p-368c4aa2.js → p-78546000.js} +5 -5
- package/dist/components/{p-368c4aa2.js.map → p-78546000.js.map} +1 -1
- package/dist/components/{p-683460a5.js → p-7a4eaab2.js} +2 -2
- package/dist/components/{p-683460a5.js.map → p-7a4eaab2.js.map} +1 -1
- package/dist/components/{p-527121ef.js → p-85745626.js} +2 -2
- package/dist/components/{p-527121ef.js.map → p-85745626.js.map} +1 -1
- package/dist/components/{p-f70f31d6.js → p-85a0cd24.js} +2 -2
- package/dist/components/{p-f70f31d6.js.map → p-85a0cd24.js.map} +1 -1
- package/dist/components/{p-a8876adb.js → p-893776e9.js} +3 -3
- package/dist/components/{p-a8876adb.js.map → p-893776e9.js.map} +1 -1
- package/dist/components/{p-7b016fd0.js → p-8c638ee6.js} +3 -3
- package/dist/components/{p-7b016fd0.js.map → p-8c638ee6.js.map} +1 -1
- package/dist/components/{p-503bdd56.js → p-8ea6e1c0.js} +5 -5
- package/dist/components/p-8ea6e1c0.js.map +1 -0
- package/dist/components/{p-5e70f03f.js → p-8ef5faf0.js} +9 -9
- package/dist/components/{p-5e70f03f.js.map → p-8ef5faf0.js.map} +1 -1
- package/dist/components/{p-c418c5d3.js → p-8fb1ee85.js} +2 -2
- package/dist/components/{p-c418c5d3.js.map → p-8fb1ee85.js.map} +1 -1
- package/dist/components/{p-9c59e8f6.js → p-9574ea75.js} +10 -10
- package/dist/components/p-9574ea75.js.map +1 -0
- package/dist/components/{p-1449a24c.js → p-95b36277.js} +4 -4
- package/dist/components/{p-1449a24c.js.map → p-95b36277.js.map} +1 -1
- package/dist/components/{p-c65c361a.js → p-95d2855a.js} +14 -14
- package/dist/components/{p-c65c361a.js.map → p-95d2855a.js.map} +1 -1
- package/dist/components/{p-ef6cfd1f.js → p-9aa3fad7.js} +6 -6
- package/dist/components/{p-ef6cfd1f.js.map → p-9aa3fad7.js.map} +1 -1
- package/dist/components/{p-39874f6d.js → p-9ad22ce8.js} +3 -3
- package/dist/components/{p-39874f6d.js.map → p-9ad22ce8.js.map} +1 -1
- package/dist/components/{p-d91d6c31.js → p-9c18e9fe.js} +2 -2
- package/dist/components/{p-d91d6c31.js.map → p-9c18e9fe.js.map} +1 -1
- package/dist/components/{p-1d88f941.js → p-9dba6e5f.js} +6 -6
- package/dist/components/{p-1d88f941.js.map → p-9dba6e5f.js.map} +1 -1
- package/dist/components/{p-1c939b9f.js → p-a02372f5.js} +2 -2
- package/dist/components/{p-1c939b9f.js.map → p-a02372f5.js.map} +1 -1
- package/dist/components/{p-5a8587ab.js → p-a2659715.js} +2 -2
- package/dist/components/{p-5a8587ab.js.map → p-a2659715.js.map} +1 -1
- package/dist/components/{p-677c846d.js → p-a3c5c1b3.js} +2 -2
- package/dist/components/{p-677c846d.js.map → p-a3c5c1b3.js.map} +1 -1
- package/dist/components/{p-46d253ca.js → p-a5acb217.js} +3 -3
- package/dist/components/{p-46d253ca.js.map → p-a5acb217.js.map} +1 -1
- package/dist/components/{p-a649af8a.js → p-a7393afc.js} +14 -14
- package/dist/components/{p-a649af8a.js.map → p-a7393afc.js.map} +1 -1
- package/dist/components/{p-b9a50363.js → p-a773eb1b.js} +6 -6
- package/dist/components/{p-b9a50363.js.map → p-a773eb1b.js.map} +1 -1
- package/dist/components/{p-26ddf3b3.js → p-a87c8ead.js} +2 -2
- package/dist/components/{p-26ddf3b3.js.map → p-a87c8ead.js.map} +1 -1
- package/dist/components/{p-9a31aa56.js → p-ace11500.js} +3 -3
- package/dist/components/{p-9a31aa56.js.map → p-ace11500.js.map} +1 -1
- package/dist/components/{p-55b58017.js → p-ad34b5e0.js} +2 -2
- package/dist/components/{p-55b58017.js.map → p-ad34b5e0.js.map} +1 -1
- package/dist/components/{p-044c234a.js → p-b03368b3.js} +7 -7
- package/dist/components/{p-044c234a.js.map → p-b03368b3.js.map} +1 -1
- package/dist/components/{p-63ba178a.js → p-b2eca173.js} +4 -4
- package/dist/components/{p-63ba178a.js.map → p-b2eca173.js.map} +1 -1
- package/dist/components/{p-25ff5360.js → p-b35195c8.js} +4 -4
- package/dist/components/{p-25ff5360.js.map → p-b35195c8.js.map} +1 -1
- package/dist/components/{p-3e28d77d.js → p-b5caf3f4.js} +3 -3
- package/dist/components/{p-3e28d77d.js.map → p-b5caf3f4.js.map} +1 -1
- package/dist/components/{p-e42121d1.js → p-b84d0233.js} +4 -4
- package/dist/components/{p-e42121d1.js.map → p-b84d0233.js.map} +1 -1
- package/dist/components/{p-019721d4.js → p-b8f2532a.js} +5 -5
- package/dist/components/{p-019721d4.js.map → p-b8f2532a.js.map} +1 -1
- package/dist/components/{p-1e6ceaab.js → p-ba8edf1e.js} +2 -2
- package/dist/components/{p-1e6ceaab.js.map → p-ba8edf1e.js.map} +1 -1
- package/dist/components/{p-a393bd0b.js → p-bb38e284.js} +3 -3
- package/dist/components/{p-a393bd0b.js.map → p-bb38e284.js.map} +1 -1
- package/dist/components/{p-cae6655f.js → p-c5aa3de6.js} +8 -8
- package/dist/components/{p-cae6655f.js.map → p-c5aa3de6.js.map} +1 -1
- package/dist/components/{p-e87822db.js → p-cd95008d.js} +2 -2
- package/dist/components/{p-e87822db.js.map → p-cd95008d.js.map} +1 -1
- package/dist/components/{p-9ac321e4.js → p-cdbd62e3.js} +13 -13
- package/dist/components/p-cdbd62e3.js.map +1 -0
- package/dist/components/{p-1ebc2928.js → p-ce788661.js} +2 -2
- package/dist/components/{p-1ebc2928.js.map → p-ce788661.js.map} +1 -1
- package/dist/components/{p-8d98b7e1.js → p-d0ecd5c0.js} +3 -3
- package/dist/components/{p-8d98b7e1.js.map → p-d0ecd5c0.js.map} +1 -1
- package/dist/components/{p-9be51edc.js → p-d1dcb448.js} +6 -6
- package/dist/components/{p-9be51edc.js.map → p-d1dcb448.js.map} +1 -1
- package/dist/components/{p-7889ebb0.js → p-ddb9cb15.js} +7 -7
- package/dist/components/{p-7889ebb0.js.map → p-ddb9cb15.js.map} +1 -1
- package/dist/components/{p-604af41f.js → p-e4ff57a8.js} +4 -4
- package/dist/components/{p-604af41f.js.map → p-e4ff57a8.js.map} +1 -1
- package/dist/components/{p-285c271e.js → p-f020ba27.js} +3 -3
- package/dist/components/{p-285c271e.js.map → p-f020ba27.js.map} +1 -1
- package/dist/components/{p-15e2b360.js → p-f3c5a9d6.js} +3 -3
- package/dist/components/{p-15e2b360.js.map → p-f3c5a9d6.js.map} +1 -1
- package/dist/components/p-f5779736.js.map +1 -1
- package/dist/components/{p-faae4632.js → p-f625c800.js} +11 -11
- package/dist/components/{p-faae4632.js.map → p-f625c800.js.map} +1 -1
- package/dist/components/{p-06ba8843.js → p-fae759aa.js} +6 -6
- package/dist/components/{p-06ba8843.js.map → p-fae759aa.js.map} +1 -1
- package/dist/components/{p-853de15b.js → p-ffbf0fbb.js} +7 -7
- package/dist/components/{p-853de15b.js.map → p-ffbf0fbb.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 +4 -4
- package/dist/components/stzh-contact.js +11 -9
- 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 +4 -4
- package/dist/components/stzh-dropdown.js +1 -1
- package/dist/components/stzh-editor.js +4 -4
- package/dist/components/stzh-eventdata.js +1 -1
- package/dist/components/stzh-eventinfo.js +5 -5
- package/dist/components/stzh-feedreader-item.js +2 -2
- package/dist/components/stzh-feedreader.js +8 -8
- 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 +25 -25
- 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 +2 -2
- package/dist/components/stzh-homepage-service-highlights.js +7 -7
- 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-quote.js +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 +46 -19
- 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-c4439d36.js} +2 -2
- package/dist/esm/{app-globals-8ffa411d.js.map → app-globals-c4439d36.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-cv.entry.js +1 -1
- package/dist/esm/stzh-contact.entry.js +4 -3
- 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-disturber.entry.js +1 -1
- package/dist/esm/stzh-dropdown.entry.js +4 -4
- package/dist/esm/stzh-editor.entry.js +1 -1
- package/dist/esm/stzh-eventdata.entry.js +1 -1
- package/dist/esm/stzh-eventinfo.entry.js +1 -1
- package/dist/esm/stzh-feedreader-item.entry.js +1 -1
- package/dist/esm/stzh-feedreader.entry.js +1 -1
- 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-geo-ref-data.entry.js +3 -3
- package/dist/esm/stzh-ghettobox_3.entry.js +4 -4
- package/dist/esm/stzh-header_2.entry.js +1 -1
- package/dist/esm/stzh-heading.entry.js +1 -1
- package/dist/esm/stzh-homepage-search.entry.js +1 -1
- package/dist/esm/stzh-homepage-service-highlights.entry.js +2 -2
- 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-quote.entry.js +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 +43 -16
- 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-484ab936.entry.js → p-015a35bf.entry.js} +2 -2
- package/dist/stzh-components/p-03c2d367.entry.js +2 -0
- package/dist/stzh-components/p-03c2d367.entry.js.map +1 -0
- package/dist/stzh-components/{p-813765e0.entry.js → p-03e628b9.entry.js} +2 -2
- package/dist/stzh-components/{p-aef0879b.entry.js → p-04c9ec6b.entry.js} +2 -2
- package/dist/stzh-components/{p-c4fe3a90.entry.js → p-0685f2ae.entry.js} +2 -2
- package/dist/stzh-components/{p-810e15c1.entry.js → p-0d54bcfc.entry.js} +2 -2
- package/dist/stzh-components/p-0f546f1c.entry.js +2 -0
- package/dist/stzh-components/p-0f546f1c.entry.js.map +1 -0
- package/dist/stzh-components/{p-c5de2eae.entry.js → p-1187dcb3.entry.js} +2 -2
- package/dist/stzh-components/{p-822fd427.entry.js → p-12146af8.entry.js} +2 -2
- package/dist/stzh-components/p-15dc154c.entry.js +2 -0
- package/dist/stzh-components/p-15dc154c.entry.js.map +1 -0
- package/dist/stzh-components/{p-e973ae31.entry.js → p-1617973f.entry.js} +2 -2
- package/dist/stzh-components/{p-0f29cccb.entry.js → p-16552049.entry.js} +2 -2
- package/dist/stzh-components/{p-640bd513.entry.js → p-1844d99e.entry.js} +2 -2
- package/dist/stzh-components/{p-4524b189.entry.js → p-187fd37a.entry.js} +2 -2
- package/dist/stzh-components/{p-592d0768.entry.js → p-1bb06be6.entry.js} +2 -2
- package/dist/stzh-components/{p-36783a19.entry.js → p-1f4f76b1.entry.js} +2 -2
- package/dist/stzh-components/{p-060b4bf0.entry.js → p-1f668f53.entry.js} +2 -2
- package/dist/stzh-components/p-2096b877.entry.js +2 -0
- package/dist/stzh-components/p-2096b877.entry.js.map +1 -0
- package/dist/stzh-components/{p-a0ec5681.entry.js → p-21d2d28d.entry.js} +2 -2
- package/dist/stzh-components/{p-a634e4a3.entry.js → p-26792e28.entry.js} +2 -2
- package/dist/stzh-components/p-26792e28.entry.js.map +1 -0
- package/dist/stzh-components/{p-4e67373b.entry.js → p-2a0fa100.entry.js} +2 -2
- package/dist/stzh-components/{p-852bb820.entry.js → p-2d50d767.entry.js} +2 -2
- package/dist/stzh-components/{p-603eb9db.entry.js → p-3056b956.entry.js} +2 -2
- package/dist/stzh-components/p-3071b6f4.entry.js +2 -0
- package/dist/stzh-components/{p-7fcdf0da.entry.js.map → p-3071b6f4.entry.js.map} +1 -1
- package/dist/stzh-components/{p-dd1d8a38.entry.js → p-32448e73.entry.js} +2 -2
- package/dist/stzh-components/{p-d8d5bcf0.entry.js → p-34c68f20.entry.js} +2 -2
- package/dist/stzh-components/{p-3be9615c.entry.js → p-35be1f2c.entry.js} +2 -2
- package/dist/stzh-components/{p-86134534.entry.js → p-38104164.entry.js} +2 -2
- package/dist/stzh-components/p-3bc24ea1.entry.js +2 -0
- package/dist/stzh-components/p-3bc24ea1.entry.js.map +1 -0
- package/dist/stzh-components/{p-0aa2bf6d.entry.js → p-3d3d0515.entry.js} +2 -2
- package/dist/stzh-components/{p-dac817d4.entry.js → p-42a3a0df.entry.js} +2 -2
- package/dist/stzh-components/{p-97c16051.entry.js → p-450c13f2.entry.js} +2 -2
- package/dist/stzh-components/{p-b77def39.entry.js → p-4539e17f.entry.js} +2 -2
- package/dist/stzh-components/{p-83eee7d8.entry.js → p-46dcce84.entry.js} +2 -2
- package/dist/stzh-components/{p-c4c3cd03.entry.js → p-46e5f084.entry.js} +2 -2
- package/dist/stzh-components/{p-5149779d.entry.js → p-46fc5ee0.entry.js} +2 -2
- package/dist/stzh-components/p-4a7b6f37.js +2 -0
- package/dist/stzh-components/{p-f47de487.js.map → p-4a7b6f37.js.map} +1 -1
- package/dist/stzh-components/{p-5d4e0dd0.entry.js → p-4b754125.entry.js} +2 -2
- package/dist/stzh-components/{p-70739292.entry.js → p-4c8d577f.entry.js} +2 -2
- package/dist/stzh-components/{p-2b99717a.entry.js → p-4dbbea21.entry.js} +2 -2
- package/dist/stzh-components/{p-b2bd3ab6.entry.js → p-4f3149ca.entry.js} +2 -2
- package/dist/stzh-components/{p-242f8853.entry.js → p-4ff33b79.entry.js} +2 -2
- package/dist/stzh-components/{p-01b910be.entry.js → p-51bf87d0.entry.js} +2 -2
- package/dist/stzh-components/{p-bec35e8a.entry.js → p-5725e544.entry.js} +2 -2
- package/dist/stzh-components/{p-de0d236c.entry.js → p-582d0259.entry.js} +2 -2
- package/dist/stzh-components/{p-b424108f.entry.js → p-598de693.entry.js} +2 -2
- package/dist/stzh-components/{p-bfac05d9.entry.js → p-5a38eb4c.entry.js} +2 -2
- package/dist/stzh-components/{p-1450f777.entry.js → p-5d877ea1.entry.js} +2 -2
- package/dist/stzh-components/p-5dc298a4.entry.js +2 -0
- package/dist/stzh-components/p-5dc298a4.entry.js.map +1 -0
- package/dist/stzh-components/{p-f87cac36.entry.js → p-5fe85cfd.entry.js} +2 -2
- package/dist/stzh-components/{p-58df488a.entry.js → p-6102443e.entry.js} +2 -2
- package/dist/stzh-components/{p-1ef9b4aa.entry.js → p-61491246.entry.js} +2 -2
- package/dist/stzh-components/{p-0dd8bb75.entry.js → p-640e445b.entry.js} +2 -2
- package/dist/stzh-components/{p-bf786c3d.entry.js → p-65e099a0.entry.js} +2 -2
- package/dist/stzh-components/{p-368d97c2.entry.js → p-664e7a09.entry.js} +2 -2
- package/dist/stzh-components/{p-f544acad.entry.js → p-6ee6bc09.entry.js} +2 -2
- package/dist/stzh-components/{p-a64a1cfb.entry.js → p-6f7f7e18.entry.js} +2 -2
- package/dist/stzh-components/{p-7a0e995b.entry.js → p-72203e1d.entry.js} +2 -2
- package/dist/stzh-components/{p-c7d7d854.entry.js → p-727c30cf.entry.js} +2 -2
- package/dist/stzh-components/{p-8629e109.entry.js → p-766dea66.entry.js} +2 -2
- package/dist/stzh-components/{p-0c9776ca.entry.js → p-7844b15a.entry.js} +2 -2
- package/dist/stzh-components/{p-5f37f146.entry.js → p-7bc4d471.entry.js} +2 -2
- package/dist/stzh-components/{p-4a05919e.entry.js → p-7cfa54b9.entry.js} +2 -2
- package/dist/stzh-components/{p-4a05919e.entry.js.map → p-7cfa54b9.entry.js.map} +1 -1
- package/dist/stzh-components/{p-07a64a81.entry.js → p-7facda3d.entry.js} +3 -3
- package/dist/stzh-components/{p-7c3ad9ad.entry.js → p-86c278a3.entry.js} +2 -2
- package/dist/stzh-components/{p-600c2da8.entry.js → p-8e133247.entry.js} +2 -2
- package/dist/stzh-components/{p-0cf1a45d.entry.js → p-8e82664a.entry.js} +2 -2
- package/dist/stzh-components/{p-5f236e09.entry.js → p-8f90ba95.entry.js} +2 -2
- package/dist/stzh-components/{p-09ccae77.entry.js → p-92bdcdad.entry.js} +2 -2
- package/dist/stzh-components/{p-513cbed7.entry.js → p-93424a61.entry.js} +2 -2
- package/dist/stzh-components/{p-0cfc71d9.entry.js → p-94b7f926.entry.js} +2 -2
- package/dist/stzh-components/{p-88b60580.entry.js → p-9cdb4375.entry.js} +2 -2
- package/dist/stzh-components/{p-787ea476.entry.js → p-a12cf3bc.entry.js} +2 -2
- package/dist/stzh-components/{p-cdfc3629.entry.js → p-a38f6851.entry.js} +2 -2
- package/dist/stzh-components/{p-1791b2b3.entry.js → p-a498a5f5.entry.js} +2 -2
- package/dist/stzh-components/{p-f76e4062.entry.js → p-a4cbd257.entry.js} +2 -2
- package/dist/stzh-components/{p-59f90fb0.entry.js → p-a75c4682.entry.js} +2 -2
- package/dist/stzh-components/{p-523cd861.entry.js → p-a8292b13.entry.js} +2 -2
- package/dist/stzh-components/{p-9429dd63.entry.js → p-a9b34a6b.entry.js} +2 -2
- package/dist/stzh-components/{p-1f383f92.entry.js → p-abdf8b13.entry.js} +2 -2
- package/dist/stzh-components/{p-f50cd7ba.entry.js → p-ac335416.entry.js} +2 -2
- package/dist/stzh-components/{p-e73168b1.entry.js → p-af1aa423.entry.js} +2 -2
- package/dist/stzh-components/{p-52157928.entry.js → p-b145722f.entry.js} +2 -2
- package/dist/stzh-components/{p-f52539cd.entry.js → p-b311be28.entry.js} +2 -2
- package/dist/stzh-components/{p-5e81bc87.entry.js → p-b4bae13a.entry.js} +2 -2
- package/dist/stzh-components/{p-81234cb3.entry.js → p-b4bdb4cf.entry.js} +2 -2
- package/dist/stzh-components/{p-560c82e5.entry.js → p-b5d4e8b9.entry.js} +2 -2
- package/dist/stzh-components/{p-4883b247.entry.js → p-b95edacd.entry.js} +2 -2
- package/dist/stzh-components/{p-005493d4.entry.js → p-bc0618bb.entry.js} +2 -2
- package/dist/stzh-components/{p-6201ff22.entry.js → p-bc837007.entry.js} +2 -2
- package/dist/stzh-components/{p-6705f73a.entry.js → p-be74a213.entry.js} +2 -2
- package/dist/stzh-components/{p-a60e9919.entry.js → p-c11a73d2.entry.js} +2 -2
- package/dist/stzh-components/{p-cfaa0150.entry.js → p-c1508338.entry.js} +2 -2
- package/dist/stzh-components/{p-5afa5c60.entry.js → p-c41804d9.entry.js} +2 -2
- package/dist/stzh-components/{p-072ee314.entry.js → p-c7d82187.entry.js} +2 -2
- package/dist/stzh-components/{p-05ac8cf5.entry.js → p-c8476e6e.entry.js} +2 -2
- package/dist/stzh-components/{p-b5361fa5.entry.js → p-c95bce0d.entry.js} +2 -2
- package/dist/stzh-components/{p-802da9eb.entry.js → p-caf867f9.entry.js} +2 -2
- package/dist/stzh-components/{p-05c5f234.entry.js → p-cb058b56.entry.js} +2 -2
- package/dist/stzh-components/{p-c4a656ba.entry.js → p-cfbc4a5e.entry.js} +2 -2
- package/dist/stzh-components/{p-be5c3c5f.entry.js → p-d2a97efc.entry.js} +2 -2
- package/dist/stzh-components/{p-e1c7c23f.entry.js → p-d516d56c.entry.js} +2 -2
- package/dist/stzh-components/{p-8dccb0a9.entry.js → p-d7ee085c.entry.js} +2 -2
- package/dist/stzh-components/{p-1416149e.entry.js → p-dac4534c.entry.js} +2 -2
- package/dist/stzh-components/{p-0eb6375d.entry.js → p-dacee3d1.entry.js} +2 -2
- package/dist/stzh-components/{p-91b425d3.entry.js → p-e11a606e.entry.js} +2 -2
- package/dist/stzh-components/{p-87b49bad.entry.js → p-e184e0fd.entry.js} +2 -2
- package/dist/stzh-components/{p-d3d1a284.entry.js → p-e75cde0c.entry.js} +2 -2
- package/dist/stzh-components/{p-89dc75cb.entry.js → p-ebb4b12f.entry.js} +2 -2
- package/dist/stzh-components/{p-a47ce522.entry.js → p-ec2ac6e9.entry.js} +2 -2
- package/dist/stzh-components/p-ee311236.entry.js +2 -0
- package/dist/stzh-components/{p-ddc0dc04.entry.js.map → p-ee311236.entry.js.map} +1 -1
- package/dist/stzh-components/{p-f3d3f975.entry.js → p-f3081e0e.entry.js} +2 -2
- package/dist/stzh-components/p-f47bd88c.entry.js +2 -0
- package/dist/stzh-components/{p-c27082b1.entry.js.map → p-f47bd88c.entry.js.map} +1 -1
- package/dist/stzh-components/{p-5e15683f.entry.js → p-f52e344a.entry.js} +2 -2
- package/dist/stzh-components/{p-decc15e9.entry.js → p-f61e61e7.entry.js} +2 -2
- package/dist/stzh-components/p-f61e61e7.entry.js.map +1 -0
- package/dist/stzh-components/{p-cb70b81e.entry.js → p-f93f056f.entry.js} +2 -2
- package/dist/stzh-components/{p-14d4ccf8.entry.js → p-ff04778f.entry.js} +2 -2
- package/dist/stzh-components/{p-a92f593a.entry.js → p-ff2877e7.entry.js} +2 -2
- package/dist/stzh-components/{p-7bb25462.entry.js → p-ff41be1d.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 +4 -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 +144 -42
- package/dist/types/index.d.ts +5 -0
- package/dist/vscode-data.json +100 -45
- package/package.json +4 -4
- 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 +0 -2
- 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 +0 -2
- package/dist/stzh-components/p-84f8a7c4.entry.js.map +0 -1
- 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-484ab936.entry.js.map → p-015a35bf.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-813765e0.entry.js.map → p-03e628b9.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-aef0879b.entry.js.map → p-04c9ec6b.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-c4fe3a90.entry.js.map → p-0685f2ae.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-810e15c1.entry.js.map → p-0d54bcfc.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-c5de2eae.entry.js.map → p-1187dcb3.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-822fd427.entry.js.map → p-12146af8.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-e973ae31.entry.js.map → p-1617973f.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-0f29cccb.entry.js.map → p-16552049.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-640bd513.entry.js.map → p-1844d99e.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-4524b189.entry.js.map → p-187fd37a.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-592d0768.entry.js.map → p-1bb06be6.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-36783a19.entry.js.map → p-1f4f76b1.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-060b4bf0.entry.js.map → p-1f668f53.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a0ec5681.entry.js.map → p-21d2d28d.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-4e67373b.entry.js.map → p-2a0fa100.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-852bb820.entry.js.map → p-2d50d767.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-603eb9db.entry.js.map → p-3056b956.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-dd1d8a38.entry.js.map → p-32448e73.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-d8d5bcf0.entry.js.map → p-34c68f20.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-3be9615c.entry.js.map → p-35be1f2c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-86134534.entry.js.map → p-38104164.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-0aa2bf6d.entry.js.map → p-3d3d0515.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-dac817d4.entry.js.map → p-42a3a0df.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-97c16051.entry.js.map → p-450c13f2.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b77def39.entry.js.map → p-4539e17f.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-83eee7d8.entry.js.map → p-46dcce84.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-c4c3cd03.entry.js.map → p-46e5f084.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-5149779d.entry.js.map → p-46fc5ee0.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-5d4e0dd0.entry.js.map → p-4b754125.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-70739292.entry.js.map → p-4c8d577f.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-2b99717a.entry.js.map → p-4dbbea21.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b2bd3ab6.entry.js.map → p-4f3149ca.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-242f8853.entry.js.map → p-4ff33b79.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-01b910be.entry.js.map → p-51bf87d0.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-bec35e8a.entry.js.map → p-5725e544.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-de0d236c.entry.js.map → p-582d0259.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b424108f.entry.js.map → p-598de693.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-bfac05d9.entry.js.map → p-5a38eb4c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-1450f777.entry.js.map → p-5d877ea1.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-f87cac36.entry.js.map → p-5fe85cfd.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-58df488a.entry.js.map → p-6102443e.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-1ef9b4aa.entry.js.map → p-61491246.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-0dd8bb75.entry.js.map → p-640e445b.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-bf786c3d.entry.js.map → p-65e099a0.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-368d97c2.entry.js.map → p-664e7a09.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-f544acad.entry.js.map → p-6ee6bc09.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a64a1cfb.entry.js.map → p-6f7f7e18.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-7a0e995b.entry.js.map → p-72203e1d.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-c7d7d854.entry.js.map → p-727c30cf.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-8629e109.entry.js.map → p-766dea66.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-0c9776ca.entry.js.map → p-7844b15a.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-5f37f146.entry.js.map → p-7bc4d471.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-07a64a81.entry.js.map → p-7facda3d.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-7c3ad9ad.entry.js.map → p-86c278a3.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-600c2da8.entry.js.map → p-8e133247.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-0cf1a45d.entry.js.map → p-8e82664a.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-5f236e09.entry.js.map → p-8f90ba95.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-09ccae77.entry.js.map → p-92bdcdad.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-513cbed7.entry.js.map → p-93424a61.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-0cfc71d9.entry.js.map → p-94b7f926.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-88b60580.entry.js.map → p-9cdb4375.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-787ea476.entry.js.map → p-a12cf3bc.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-cdfc3629.entry.js.map → p-a38f6851.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-1791b2b3.entry.js.map → p-a498a5f5.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-f76e4062.entry.js.map → p-a4cbd257.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-59f90fb0.entry.js.map → p-a75c4682.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-523cd861.entry.js.map → p-a8292b13.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-9429dd63.entry.js.map → p-a9b34a6b.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-1f383f92.entry.js.map → p-abdf8b13.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-f50cd7ba.entry.js.map → p-ac335416.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-e73168b1.entry.js.map → p-af1aa423.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-52157928.entry.js.map → p-b145722f.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-f52539cd.entry.js.map → p-b311be28.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-5e81bc87.entry.js.map → p-b4bae13a.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-81234cb3.entry.js.map → p-b4bdb4cf.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-560c82e5.entry.js.map → p-b5d4e8b9.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-4883b247.entry.js.map → p-b95edacd.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-005493d4.entry.js.map → p-bc0618bb.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-6201ff22.entry.js.map → p-bc837007.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-6705f73a.entry.js.map → p-be74a213.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a60e9919.entry.js.map → p-c11a73d2.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-cfaa0150.entry.js.map → p-c1508338.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-5afa5c60.entry.js.map → p-c41804d9.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-072ee314.entry.js.map → p-c7d82187.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-05ac8cf5.entry.js.map → p-c8476e6e.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b5361fa5.entry.js.map → p-c95bce0d.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-802da9eb.entry.js.map → p-caf867f9.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-05c5f234.entry.js.map → p-cb058b56.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-c4a656ba.entry.js.map → p-cfbc4a5e.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-be5c3c5f.entry.js.map → p-d2a97efc.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-e1c7c23f.entry.js.map → p-d516d56c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-8dccb0a9.entry.js.map → p-d7ee085c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-1416149e.entry.js.map → p-dac4534c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-0eb6375d.entry.js.map → p-dacee3d1.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-91b425d3.entry.js.map → p-e11a606e.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-87b49bad.entry.js.map → p-e184e0fd.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-d3d1a284.entry.js.map → p-e75cde0c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-89dc75cb.entry.js.map → p-ebb4b12f.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a47ce522.entry.js.map → p-ec2ac6e9.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-f3d3f975.entry.js.map → p-f3081e0e.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-5e15683f.entry.js.map → p-f52e344a.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-cb70b81e.entry.js.map → p-f93f056f.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-14d4ccf8.entry.js.map → p-ff04778f.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a92f593a.entry.js.map → p-ff2877e7.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-7bb25462.entry.js.map → p-ff41be1d.entry.js.map} +0 -0
|
@@ -42,81 +42,15 @@ export default {
|
|
|
42
42
|
},
|
|
43
43
|
decorators: [withActions]
|
|
44
44
|
};
|
|
45
|
-
//Rubrik
|
|
46
|
-
//contentSize L
|
|
47
|
-
export const SizeL = {
|
|
48
|
-
render: (args) => story(args, TEMPLATE),
|
|
49
|
-
args: {
|
|
50
|
-
href: '#',
|
|
51
|
-
dateline: 'Spitzmarke',
|
|
52
|
-
heading: 'H3: Content title lorem ipsum dolor H3: Content title lorem ipsum dolor',
|
|
53
|
-
lead: 'P1: Die Sanität von Schutz & Rettung zählt zu den grössten Rettungsorganisationen der Schweiz. Sie ist in der Stadt Zürich, auf dem Flughafen und in 22 der Stadt Zürich, auf dem Flughafen und in 22 em Flughafen und in 22 der Stadt Zürich, auf dem Flughafen und',
|
|
54
|
-
date: '09.04.2024',
|
|
55
|
-
contentSize: 'L'
|
|
56
|
-
}
|
|
57
|
-
};
|
|
58
|
-
|
|
59
|
-
// contentSizeM & Image
|
|
60
|
-
export const SizeMWithImage = {
|
|
61
|
-
render: (args) => story(args, TEMPLATE),
|
|
62
|
-
args: {
|
|
63
|
-
href: '#',
|
|
64
|
-
dateline: 'Spitzmarke',
|
|
65
|
-
heading: 'H3: Content title lorem ipsum dolor H3: Content title lorem ipsum dolor',
|
|
66
|
-
lead: null,
|
|
67
|
-
date: '09.04.2024',
|
|
68
|
-
contentSize: 'M',
|
|
69
|
-
imagePosition: 'right'
|
|
70
|
-
}
|
|
71
|
-
};
|
|
72
|
-
|
|
73
|
-
// contentSizeM & HasMenu
|
|
74
|
-
export const SizeM = {
|
|
75
|
-
render: (args) => story(args, TEMPLATE_WITHOUT_IMAGE),
|
|
76
|
-
args: {
|
|
77
|
-
href: '#',
|
|
78
|
-
dateline: 'Spitzmarke',
|
|
79
|
-
heading: 'H3: Content title lorem ipsum dolor H3: Content title lorem ipsum dolor',
|
|
80
|
-
lead: 'P1: Die Sanität von Schutz & Rettung zählt zu den grössten Rettungsorganisationen der Schweiz. Sie ist in der Stadt Zürich, auf dem Flughafen und in 22 der Stadt Zürich, auf dem Flughafen und in 22 em Flughafen und in 22 der Stadt Zürich, auf dem Flughafen und',
|
|
81
|
-
date: '09.04.2024',
|
|
82
|
-
contentSize: 'M'
|
|
83
|
-
}
|
|
84
|
-
};
|
|
85
|
-
|
|
86
|
-
// contentSizeS
|
|
87
|
-
export const SizeS = {
|
|
88
|
-
render: (args) => story(args, TEMPLATE_WITHOUT_IMAGE),
|
|
89
|
-
args: {
|
|
90
|
-
href: '#',
|
|
91
|
-
dateline: 'Spitzmarke',
|
|
92
|
-
heading: 'H3: Content title lorem ipsum dolor H3: Content title lorem ipsum dolor',
|
|
93
|
-
lead: null,
|
|
94
|
-
date: '09.04.2024',
|
|
95
|
-
contentSize: 'S'
|
|
96
|
-
}
|
|
97
|
-
};
|
|
98
|
-
export const SizeSWithImage = {
|
|
99
|
-
render: (args) => story(args, TEMPLATE_WITHOUT_IMAGE),
|
|
100
|
-
args: {
|
|
101
|
-
href: '#',
|
|
102
|
-
dateline: 'Spitzmarke',
|
|
103
|
-
heading: 'H3: Content title lorem ipsum dolor H3: Content title lorem ipsum dolor',
|
|
104
|
-
lead: 'P1: Die Sanität von Schutz & Rettung zählt zu den grössten Rettungsorganisationen der Schweiz. Sie ist in der Stadt Zürich, auf dem Flughafen und in 22 der Stadt Zürich, auf dem Flughafen und in 22 em Flughafen und in 22 der Stadt Zürich, auf dem Flughafen und',
|
|
105
|
-
date: '09.04.2024',
|
|
106
|
-
contentSize: 'S',
|
|
107
|
-
imagePosition: 'right'
|
|
108
|
-
}
|
|
109
|
-
};
|
|
110
45
|
|
|
111
46
|
export const WithImage = {
|
|
112
47
|
render: (args) => story(args, TEMPLATE),
|
|
113
48
|
args: {
|
|
114
49
|
href: '#',
|
|
115
|
-
dateline: '
|
|
116
|
-
heading: '
|
|
117
|
-
lead: '
|
|
118
|
-
date: '09.04.2024'
|
|
119
|
-
imageOnSide: true
|
|
50
|
+
dateline: 'Lorem ipsum',
|
|
51
|
+
heading: 'Lorem ipsum dolor si amet',
|
|
52
|
+
lead: 'Lorem ipsum dolor si amet, consectetur adipiscing elit',
|
|
53
|
+
date: '09.04.2024'
|
|
120
54
|
}
|
|
121
55
|
};
|
|
122
56
|
|
|
@@ -124,9 +58,9 @@ export const WithoutImage = {
|
|
|
124
58
|
render: (args) => story(args, TEMPLATE_WITHOUT_IMAGE),
|
|
125
59
|
args: {
|
|
126
60
|
href: '#',
|
|
127
|
-
dateline: '
|
|
128
|
-
heading: '
|
|
129
|
-
lead: '
|
|
61
|
+
dateline: 'Lorem ipsum',
|
|
62
|
+
heading: 'Lorem ipsum dolor si amet Lorem ipsum dolor si amet Lorem ipsum dolor si amet',
|
|
63
|
+
lead: 'Lorem ipsum dolor si amet, consectetur adipiscing elit',
|
|
130
64
|
date: '09.04.2024'
|
|
131
65
|
}
|
|
132
66
|
};
|
|
@@ -259,22 +259,22 @@
|
|
|
259
259
|
:host[is-rubrick=true][amount=one] {
|
|
260
260
|
--grid-pi-teaser-layout-template: "t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1";
|
|
261
261
|
--grid-pi-teaser-layout-rows: 1fr;
|
|
262
|
-
--min-height:
|
|
262
|
+
--min-height: 32.8125rem;
|
|
263
263
|
--max-height: 37.5rem;
|
|
264
264
|
}
|
|
265
265
|
:host[is-rubrick=true][amount=two] {
|
|
266
266
|
--grid-pi-teaser-layout-template: "t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1"
|
|
267
267
|
"t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2";
|
|
268
268
|
--grid-pi-teaser-layout-rows: 1fr 1fr;
|
|
269
|
-
--min-height:
|
|
269
|
+
--min-height: 65.625rem;
|
|
270
270
|
--max-height: 75rem;
|
|
271
271
|
}
|
|
272
272
|
:host[is-rubrick=true][amount=three] {
|
|
273
273
|
--grid-pi-teaser-layout-template: "t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1"
|
|
274
274
|
"t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2"
|
|
275
275
|
"t3 t3 t3 t3 t3 t3 t3 t3 t3 t3 t3 t3";
|
|
276
|
-
--grid-pi-teaser-layout-rows: 1.1fr 1.1fr 0.
|
|
277
|
-
--min-height:
|
|
276
|
+
--grid-pi-teaser-layout-rows: 1.1fr 1.1fr 0.3fr;
|
|
277
|
+
--min-height: 75rem;
|
|
278
278
|
--max-height: 87.5rem;
|
|
279
279
|
}
|
|
280
280
|
:host[is-rubrick=true][amount=four] {
|
|
@@ -282,17 +282,8 @@
|
|
|
282
282
|
"t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2"
|
|
283
283
|
"t3 t3 t3 t3 t3 t3 t3 t3 t3 t3 t3 t3"
|
|
284
284
|
"t4 t4 t4 t4 t4 t4 t4 t4 t4 t4 t4 t4";
|
|
285
|
-
--grid-pi-teaser-layout-rows:
|
|
286
|
-
--min-height:
|
|
287
|
-
--max-height: 103.125rem;
|
|
288
|
-
}
|
|
289
|
-
:host[is-rubrick=true][amount=four] {
|
|
290
|
-
--grid-pi-teaser-layout-template: "t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1 t1"
|
|
291
|
-
"t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2 t2"
|
|
292
|
-
"t3 t3 t3 t3 t3 t3 t3 t3 t3 t3 t3 t3"
|
|
293
|
-
"t4 t4 t4 t4 t4 t4 t4 t4 t4 t4 t4 t4";
|
|
294
|
-
--grid-pi-teaser-layout-rows: 1.1fr 1.1fr 0.55fr 0.55fr;
|
|
295
|
-
--min-height: 103.125rem;
|
|
285
|
+
--grid-pi-teaser-layout-rows: 1fr 1fr 0.3fr 0.3fr;
|
|
286
|
+
--min-height: 87.5rem;
|
|
296
287
|
--max-height: 103.125rem;
|
|
297
288
|
}
|
|
298
289
|
:host[is-rubrick=true][amount=five] {
|
|
@@ -301,8 +292,8 @@
|
|
|
301
292
|
"t3 t3 t3 t3 t3 t3 t3 t3 t3 t3 t3 t3"
|
|
302
293
|
"t4 t4 t4 t4 t4 t4 t4 t4 t4 t4 t4 t4"
|
|
303
294
|
"t5 t5 t5 t5 t5 t5 t5 t5 t5 t5 t5 t5";
|
|
304
|
-
--grid-pi-teaser-layout-rows: 1fr 1fr 0.
|
|
305
|
-
--min-height:
|
|
295
|
+
--grid-pi-teaser-layout-rows: 1fr 1fr 0.3fr 0.3fr 0.3fr;
|
|
296
|
+
--min-height: 100rem;
|
|
306
297
|
--max-height: 118.75rem;
|
|
307
298
|
}
|
|
308
299
|
:host[is-rubrick=true][amount=six] {
|
|
@@ -312,29 +303,29 @@
|
|
|
312
303
|
"t4 t4 t4 t4 t4 t4 t4 t4 t4 t4 t4 t4"
|
|
313
304
|
"t5 t5 t5 t5 t5 t5 t5 t5 t5 t5 t5 t5"
|
|
314
305
|
"t6 t6 t6 t6 t6 t6 t6 t6 t6 t6 t6 t6";
|
|
315
|
-
--grid-pi-teaser-layout-rows: 1fr 1fr 0.
|
|
316
|
-
--min-height:
|
|
306
|
+
--grid-pi-teaser-layout-rows: 1fr 1fr 0.3fr 0.3fr 0.3fr 0.3fr;
|
|
307
|
+
--min-height: 112.5rem;
|
|
317
308
|
--max-height: 143.75rem;
|
|
318
309
|
}
|
|
319
310
|
@media screen and (min-width: 600px) {
|
|
320
311
|
:host[is-rubrick=true][amount=three] {
|
|
321
|
-
--grid-pi-teaser-layout-rows:
|
|
322
|
-
--min-height:
|
|
312
|
+
--grid-pi-teaser-layout-rows: 0.95fr 0.95fr 0.26fr;
|
|
313
|
+
--min-height: 81.25rem;
|
|
323
314
|
--max-height: 87.5rem;
|
|
324
315
|
}
|
|
325
316
|
:host[is-rubrick=true][amount=four] {
|
|
326
|
-
--grid-pi-teaser-layout-rows:
|
|
327
|
-
--min-height:
|
|
317
|
+
--grid-pi-teaser-layout-rows: 0.95fr 0.95fr 0.26fr 0.26fr;
|
|
318
|
+
--min-height: 93.75rem;
|
|
328
319
|
--max-height: 106.25rem;
|
|
329
320
|
}
|
|
330
321
|
:host[is-rubrick=true][amount=five] {
|
|
331
|
-
--grid-pi-teaser-layout-rows:
|
|
332
|
-
--min-height:
|
|
322
|
+
--grid-pi-teaser-layout-rows: 0.95fr 0.95fr 0.26fr 0.26fr 0.26fr;
|
|
323
|
+
--min-height: 103.125rem;
|
|
333
324
|
--max-height: 118.75rem;
|
|
334
325
|
}
|
|
335
326
|
:host[is-rubrick=true][amount=six] {
|
|
336
|
-
--grid-pi-teaser-layout-rows:
|
|
337
|
-
--min-height:
|
|
327
|
+
--grid-pi-teaser-layout-rows: 0.95fr 0.95fr 0.26fr 0.26fr 0.26fr 0.26fr;
|
|
328
|
+
--min-height: 112.5rem;
|
|
338
329
|
--max-height: 131.25rem;
|
|
339
330
|
}
|
|
340
331
|
}
|
|
@@ -409,38 +400,38 @@
|
|
|
409
400
|
--grid-pi-teaser-layout-template: "t1 t1 t1 t2 t2 t2 t3 t3 t3 t4 t4 t4"
|
|
410
401
|
"t1 t1 t1 t2 t2 t2 t3 t3 t3 t4 t4 t4";
|
|
411
402
|
--grid-pi-teaser-layout-rows: 1fr 1fr;
|
|
412
|
-
--min-height:
|
|
413
|
-
--max-height:
|
|
403
|
+
--min-height: 35rem;
|
|
404
|
+
--max-height: 43.75rem;
|
|
414
405
|
}
|
|
415
406
|
:host[is-rubrick=true][amount=four][has-side=true] {
|
|
416
407
|
--grid-pi-teaser-layout-template: "t1 t1 t1 t1 t1 t1 t2 t2 t2 t2 t2 t2"
|
|
417
408
|
"t3 t3 t3 t3 t3 t3 t4 t4 t4 t4 t4 t4"
|
|
418
409
|
"t3 t3 t3 t3 t3 t3 t4 t4 t4 t4 t4 t4";
|
|
419
410
|
--grid-pi-teaser-layout-rows: 1fr 0.5fr 0.5fr;
|
|
420
|
-
--min-height:
|
|
411
|
+
--min-height: 75rem;
|
|
421
412
|
--max-height: 81.25rem;
|
|
422
413
|
}
|
|
423
414
|
:host[is-rubrick=true][amount=five] {
|
|
424
415
|
--grid-pi-teaser-layout-template: "t1 t1 t1 t2 t2 t2 t3 t3 t3 t4 t4 t4"
|
|
425
416
|
"t1 t1 t1 t2 t2 t2 t3 t3 t3 t5 t5 t5";
|
|
426
417
|
--grid-pi-teaser-layout-rows: 1fr 1fr;
|
|
427
|
-
--min-height:
|
|
428
|
-
--max-height:
|
|
418
|
+
--min-height: 35rem;
|
|
419
|
+
--max-height: 43.75rem;
|
|
429
420
|
}
|
|
430
421
|
:host[is-rubrick=true][amount=five][has-side=true] {
|
|
431
422
|
--grid-pi-teaser-layout-template: "t1 t1 t1 t1 t1 t1 t2 t2 t2 t2 t2 t2"
|
|
432
423
|
"t3 t3 t3 t3 t3 t3 t4 t4 t4 t4 t4 t4"
|
|
433
424
|
"t3 t3 t3 t3 t3 t3 t5 t5 t5 t5 t5 t5";
|
|
434
425
|
--grid-pi-teaser-layout-rows: 1fr 0.45fr 0.45fr;
|
|
435
|
-
--min-height:
|
|
426
|
+
--min-height: 75rem;
|
|
436
427
|
--max-height: 81.25rem;
|
|
437
428
|
}
|
|
438
429
|
:host[is-rubrick=true][amount=six] {
|
|
439
430
|
--grid-pi-teaser-layout-template: "t1 t1 t1 t2 t2 t2 t3 t3 t3 t5 t5 t5"
|
|
440
431
|
"t1 t1 t1 t2 t2 t2 t4 t4 t4 t6 t6 t6";
|
|
441
432
|
--grid-pi-teaser-layout-rows: 1fr 1fr;
|
|
442
|
-
--min-height:
|
|
443
|
-
--max-height:
|
|
433
|
+
--min-height: 35rem;
|
|
434
|
+
--max-height: 43.75rem;
|
|
444
435
|
}
|
|
445
436
|
:host[is-rubrick=true][amount=six][has-side=true] {
|
|
446
437
|
--grid-pi-teaser-layout-template: "t1 t1 t1 t1 t1 t1 t2 t2 t2 t2 t2 t2"
|
|
@@ -28,6 +28,9 @@ const getRubrickSize = (length) => {
|
|
|
28
28
|
return null;
|
|
29
29
|
}
|
|
30
30
|
};
|
|
31
|
+
/**
|
|
32
|
+
* @slot bottom - Slot for bottom content - like buttons to load more data
|
|
33
|
+
*/
|
|
31
34
|
export class StzhPiTeaserLayout {
|
|
32
35
|
constructor() {
|
|
33
36
|
this.mediaChangeHandler = () => {
|
|
@@ -50,7 +53,7 @@ export class StzhPiTeaserLayout {
|
|
|
50
53
|
this.mediaChangeHandler();
|
|
51
54
|
/**
|
|
52
55
|
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.
|
|
53
|
-
The rubrick is either 4,
|
|
56
|
+
The rubrick is either 1,2,3,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.
|
|
54
57
|
**/
|
|
55
58
|
this.contentList = this.contentList.slice(0, 6);
|
|
56
59
|
if (this.variant == "rubrick" && this.contentList.length < 4) {
|
|
@@ -84,11 +87,14 @@ export class StzhPiTeaserLayout {
|
|
|
84
87
|
case 2:
|
|
85
88
|
return big ? "L" : this.isMedium ? sideSize : this.isSmall ? "L" : "M";
|
|
86
89
|
case 3:
|
|
90
|
+
if (rubrickSize == RubrickSize.xsmall) {
|
|
91
|
+
return big ? "L" : this.isMedium ? sideSize : this.isSmall ? "S" : "XS";
|
|
92
|
+
}
|
|
87
93
|
if (rubrickSize == RubrickSize.small) {
|
|
88
94
|
return big ? "L" : this.isMedium ? sideSize : this.isSmall ? "S" : "XS";
|
|
89
95
|
}
|
|
90
96
|
if (rubrickSize == RubrickSize.medium) {
|
|
91
|
-
return big ? "L" : this.isMedium ? sideSize : this.isSmall ? "
|
|
97
|
+
return big ? "L" : this.isMedium ? sideSize : this.isSmall ? "S" : "XS";
|
|
92
98
|
}
|
|
93
99
|
if (rubrickSize == RubrickSize.large) {
|
|
94
100
|
return big ? "M" : this.isMedium ? sideSize : this.isSmall ? "S" : "XS";
|
|
@@ -143,7 +149,10 @@ export class StzhPiTeaserLayout {
|
|
|
143
149
|
return big ? lead : this.isMedium ? lead : this.isSmall ? lead : null;
|
|
144
150
|
}
|
|
145
151
|
if (rubrickSize == RubrickSize.large) {
|
|
146
|
-
|
|
152
|
+
if (this.hasSide) {
|
|
153
|
+
return this.isUltra ? null : this.isLarge ? null : this.isMedium ? lead : null;
|
|
154
|
+
}
|
|
155
|
+
return this.isUltra ? lead : this.isLarge ? lead : this.isMedium ? lead : null;
|
|
147
156
|
}
|
|
148
157
|
return big ? lead : this.isMedium ? lead : null;
|
|
149
158
|
case 4:
|
|
@@ -151,22 +160,34 @@ export class StzhPiTeaserLayout {
|
|
|
151
160
|
return big ? lead : this.isMedium ? lead : this.isSmall ? lead : null;
|
|
152
161
|
}
|
|
153
162
|
if (rubrickSize == RubrickSize.medium) {
|
|
154
|
-
|
|
163
|
+
if (this.hasSide) {
|
|
164
|
+
return this.isUltra ? null : this.isLarge ? null : this.isMedium ? lead : null;
|
|
165
|
+
}
|
|
166
|
+
return this.isUltra ? lead : this.isLarge ? lead : this.isMedium ? lead : null;
|
|
155
167
|
}
|
|
156
168
|
if (rubrickSize == RubrickSize.large) {
|
|
157
|
-
|
|
169
|
+
if (this.hasSide) {
|
|
170
|
+
return this.isUltra ? null : this.isLarge ? null : this.isMedium ? lead : null;
|
|
171
|
+
}
|
|
172
|
+
return this.isUltra ? lead : this.isLarge ? lead : this.isMedium ? lead : null;
|
|
158
173
|
}
|
|
159
174
|
return big ? lead : this.isMedium ? lead : null;
|
|
160
175
|
case 5:
|
|
161
176
|
if (noImage) {
|
|
162
177
|
return big ? lead : this.isMedium ? lead : null;
|
|
163
178
|
}
|
|
164
|
-
|
|
179
|
+
if (this.hasSide) {
|
|
180
|
+
return null;
|
|
181
|
+
}
|
|
182
|
+
return big ? lead : this.isMedium ? null : null;
|
|
165
183
|
case 6:
|
|
166
184
|
if (noImage) {
|
|
167
185
|
return big ? lead : this.isMedium ? lead : null;
|
|
168
186
|
}
|
|
169
|
-
|
|
187
|
+
if (this.hasSide) {
|
|
188
|
+
return null;
|
|
189
|
+
}
|
|
190
|
+
return big ? lead : this.isMedium ? null : null;
|
|
170
191
|
}
|
|
171
192
|
}
|
|
172
193
|
else {
|
|
@@ -205,34 +226,43 @@ export class StzhPiTeaserLayout {
|
|
|
205
226
|
case 3:
|
|
206
227
|
if (rubrickSize == RubrickSize.medium) {
|
|
207
228
|
if (this.hasSide) {
|
|
208
|
-
return big ? "top" : this.isMedium ? "top" : this.isSmall ?
|
|
229
|
+
return big ? "top" : this.isMedium ? "top" : this.isSmall ? null : null;
|
|
209
230
|
}
|
|
210
231
|
}
|
|
232
|
+
if (rubrickSize == RubrickSize.large) {
|
|
233
|
+
if (this.hasSide) {
|
|
234
|
+
return big ? "right" : this.isMedium ? "top" : this.isSmall ? null : null;
|
|
235
|
+
}
|
|
236
|
+
return big ? null : this.isMedium ? "top" : this.isSmall ? null : null;
|
|
237
|
+
}
|
|
238
|
+
return big ? "top" : this.isMedium ? "top" : this.isSmall ? null : null;
|
|
211
239
|
case 4:
|
|
212
240
|
if (rubrickSize == RubrickSize.medium) {
|
|
213
241
|
if (this.hasSide) {
|
|
214
|
-
return big ? "right" : this.isMedium ? "top" : this.isSmall ?
|
|
242
|
+
return big ? "right" : this.isMedium ? "top" : this.isSmall ? null : null;
|
|
215
243
|
}
|
|
244
|
+
return big ? null : this.isMedium ? "top" : this.isSmall ? null : null;
|
|
216
245
|
}
|
|
217
246
|
if (rubrickSize == RubrickSize.large) {
|
|
218
247
|
if (this.hasSide) {
|
|
219
|
-
return big ? "right" : this.isMedium ? "top" : this.isSmall ?
|
|
248
|
+
return big ? "right" : this.isMedium ? "top" : this.isSmall ? null : null;
|
|
220
249
|
}
|
|
250
|
+
return big ? null : this.isMedium ? "top" : this.isSmall ? null : null;
|
|
221
251
|
}
|
|
222
|
-
return big ? "top" : this.isMedium ? "top" : this.isSmall ?
|
|
252
|
+
return big ? "top" : this.isMedium ? "top" : this.isSmall ? null : null;
|
|
223
253
|
case 5:
|
|
224
|
-
if (rubrickSize == RubrickSize.medium) {
|
|
254
|
+
if (rubrickSize == RubrickSize.medium || rubrickSize == RubrickSize.large) {
|
|
225
255
|
if (this.hasSide) {
|
|
226
256
|
return big ? "right" : this.isMedium ? "right" : null;
|
|
227
257
|
}
|
|
228
|
-
return big ?
|
|
258
|
+
return big ? null : this.isMedium ? "right" : null;
|
|
229
259
|
}
|
|
230
260
|
case 6:
|
|
231
261
|
if (rubrickSize == RubrickSize.large) {
|
|
232
262
|
if (this.hasSide) {
|
|
233
263
|
return big ? "right" : this.isMedium ? "right" : null;
|
|
234
264
|
}
|
|
235
|
-
return big ?
|
|
265
|
+
return big ? null : this.isMedium ? "right" : null;
|
|
236
266
|
}
|
|
237
267
|
}
|
|
238
268
|
}
|
|
@@ -263,7 +293,7 @@ export class StzhPiTeaserLayout {
|
|
|
263
293
|
[`stzh-pi-teaser-layout-teaser--${index + 1}--${rubrickSize}`]: true,
|
|
264
294
|
[`stzh-pi-teaser-layout-teaser--${index + 1}--${rubrickSize}--${this.hasSide ? "side" : "no-side"}`]: true,
|
|
265
295
|
});
|
|
266
|
-
return (h(Host, { "is-rubrick": isRubrick ? "true" : "false", amount: rubrickSize, "has-side": this.hasSide ? "true" : "false" }, hasHeading && (h("div", { class: "stzh-pi-teaser-layout__header-holder" }, h(Heading, { class: "stzh-pi-teaser-layout__header", level: this.headingLevel }, this.heading))), h("div", { class: classes }, ...this.contentList.map((teaser, index) => teaser.type == "empty-teaser" ? (h("div", { class: teaserClasses(index) })) : (h("stzh-pi-teaser", { key: index, href: teaser.href, dateline: teaser.dateline, heading: teaser.heading, date: teaser.date, imageSrc: teaser.imageSrc, contentSize: contentSizeBehavior(index + 1), lead: leadBehavior(teaser.lead, index + 1, teaser.imageSrc), imagePosition: imageBehavior(teaser.imageSrc, index + 1),
|
|
296
|
+
return (h(Host, { "is-rubrick": isRubrick ? "true" : "false", amount: rubrickSize, "has-side": this.hasSide ? "true" : "false" }, hasHeading && (h("div", { class: "stzh-pi-teaser-layout__header-holder" }, h(Heading, { class: "stzh-pi-teaser-layout__header", level: this.headingLevel }, this.heading))), h("div", { class: classes }, ...this.contentList.map((teaser, index) => teaser.type == "empty-teaser" ? (h("div", { class: teaserClasses(index) })) : (h("stzh-pi-teaser-layout-item", { key: index, href: teaser.href, dateline: teaser.dateline, heading: teaser.heading, date: teaser.date, imageSrc: teaser.imageSrc, contentSize: contentSizeBehavior(index + 1), lead: leadBehavior(teaser.lead, index + 1, teaser.imageSrc), imagePosition: imageBehavior(teaser.imageSrc, index + 1), class: teaserClasses(index) })))), bottomSlotUsed && (h("div", { class: "stzh-pi-teaser-layout__bottom-slot" }, h("slot", { name: "bottom" })))));
|
|
267
297
|
}
|
|
268
298
|
static get is() { return "stzh-pi-teaser-layout"; }
|
|
269
299
|
static get encapsulation() { return "scoped"; }
|
|
@@ -374,7 +404,7 @@ export class StzhPiTeaserLayout {
|
|
|
374
404
|
"optional": false,
|
|
375
405
|
"docs": {
|
|
376
406
|
"tags": [],
|
|
377
|
-
"text": "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.\nThe rubrick is either 4,
|
|
407
|
+
"text": "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.\nThe rubrick is either 1,2,3,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."
|
|
378
408
|
},
|
|
379
409
|
"defaultValue": "[]"
|
|
380
410
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stzh-pi-teaser-layout.js","sourceRoot":"","sources":["../../../../../src/components/CMS/stzh-pi-teaser-layout/stzh-pi-teaser-layout.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AACzE,OAAO,EAAE,sBAAsB,EAAE,KAAK,EAAE,MAAM,4BAA4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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["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"]}
|
|
1
|
+
{"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,MAAM,CAAC,QAAQ,CAAC,EAC3D,aAAa,EAAE,aAAa,CAAC,MAAM,CAAC,QAAQ,EAAE,KAAK,GAAG,CAAC,CAAC,EACxD,KAAK,EAAE,aAAa,CAAC,KAAK,CAAC,GAC3B,CACH,CACF,CACG;YACL,cAAc,IAAI,CACjB,WAAK,KAAK,EAAC,oCAAoC;gBAC7C,YAAM,IAAI,EAAC,QAAQ,GAAG,CAClB,CACP,CACI,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["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 * @slot bottom - Slot for bottom content - like buttons to load more data\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 1,2,3,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 1,2,3,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.xsmall) {\n return big ? \"L\" : this.isMedium ? sideSize : this.isSmall ? \"S\" : \"XS\";\n }\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 ? \"S\" : \"XS\";\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 if (this.hasSide) {\n return this.isUltra ? null : this.isLarge ? null : this.isMedium ? lead : null;\n }\n return this.isUltra ? lead : this.isLarge ? lead : 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 if (this.hasSide) {\n return this.isUltra ? null : this.isLarge ? null : this.isMedium ? lead : null;\n }\n return this.isUltra ? lead : this.isLarge ? lead : this.isMedium ? lead : null;\n }\n if (rubrickSize == RubrickSize.large) {\n if (this.hasSide) {\n return this.isUltra ? null : this.isLarge ? null : this.isMedium ? lead : null;\n }\n return this.isUltra ? lead : this.isLarge ? lead : 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 if (this.hasSide) {\n return null;\n }\n return big ? lead : this.isMedium ? null : null;\n case 6:\n if (noImage) {\n return big ? lead : this.isMedium ? lead : null;\n }\n if (this.hasSide) {\n return null;\n }\n return big ? lead : this.isMedium ? null : 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 ? null : null;\n }\n }\n\n if (rubrickSize == RubrickSize.large) {\n if (this.hasSide) {\n return big ? \"right\" : this.isMedium ? \"top\" : this.isSmall ? null : null;\n }\n return big ? null : this.isMedium ? \"top\" : this.isSmall ? null : null;\n }\n\n return big ? \"top\" : this.isMedium ? \"top\" : this.isSmall ? null : null;\n case 4:\n if (rubrickSize == RubrickSize.medium) {\n if (this.hasSide) {\n return big ? \"right\" : this.isMedium ? \"top\" : this.isSmall ? null : null;\n }\n return big ? null : this.isMedium ? \"top\" : this.isSmall ? null : null;\n }\n\n if (rubrickSize == RubrickSize.large) {\n if (this.hasSide) {\n return big ? \"right\" : this.isMedium ? \"top\" : this.isSmall ? null : null;\n }\n return big ? null : this.isMedium ? \"top\" : this.isSmall ? null : null;\n }\n\n return big ? \"top\" : this.isMedium ? \"top\" : this.isSmall ? null : null;\n case 5:\n if (rubrickSize == RubrickSize.medium || rubrickSize == RubrickSize.large) {\n if (this.hasSide) {\n return big ? \"right\" : this.isMedium ? \"right\" : null;\n }\n return big ? null : 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 ? null : 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-layout-item\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 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"]}
|
package/dist/collection/components/CMS/stzh-pi-teaser-layout/stzh-pi-teaser-layout.stories.js
CHANGED
|
@@ -40,7 +40,7 @@ const articlesLong = [
|
|
|
40
40
|
href: '/sports/championship',
|
|
41
41
|
imageSrc: 'media/images/example2.jpg',
|
|
42
42
|
dateline: 'Sports',
|
|
43
|
-
heading: 'Real Madrid Wins Champions League Final',
|
|
43
|
+
heading: 'Real Madrid Wins Champions League Final With A Large Discount To The Price',
|
|
44
44
|
lead: 'A new model developed by MIT is capable of odel developed by MIT is capabl solving complex logic puzzles faster odel developed by MIT is ca new model developed by MIT is capable of odel developed by MIT is capabl pabl than ever before. A new model developed by MIT is capable of solving complex logic puzzles faster than ever before.',
|
|
45
45
|
date: '01.06.2024'
|
|
46
46
|
},
|
|
@@ -48,7 +48,7 @@ const articlesLong = [
|
|
|
48
48
|
href: '/business/markets',
|
|
49
49
|
imageSrc: 'media/images/example2.jpg',
|
|
50
50
|
dateline: 'Markets',
|
|
51
|
-
heading: 'Global Stocks Rally as Inflation Eases',
|
|
51
|
+
heading: 'Global Stocks Rally as Inflation Eases With A Large Discount',
|
|
52
52
|
lead: 'A new model developed by MIT is capable of odel developed by MIT is capabl solving complex logic puzzles faster odel developed by MIT is capabl than ever before. A new model new model developed by MIT is capable of odel developed by MIT is capabl developed by MIT is capable of solving complex logic puzzles faster than ever before.',
|
|
53
53
|
date: '18.04.2024'
|
|
54
54
|
},
|