@oiz/stzh-components 3.0.0 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{app-globals-1d1f8f2e.js → app-globals-0699ef40.js} +2 -2
- package/dist/cjs/{app-globals-1d1f8f2e.js.map → app-globals-0699ef40.js.map} +1 -1
- package/dist/cjs/index-92254d32.js +46 -18
- 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 +19 -19
- package/dist/cjs/stzh-accordion_3.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-amount.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-card-searchresult.cjs.entry.js +5 -18
- package/dist/cjs/stzh-card-searchresult.cjs.entry.js.map +1 -1
- package/dist/cjs/{stzh-card_3.cjs.entry.js → stzh-card_2.cjs.entry.js} +6 -222
- package/dist/cjs/stzh-card_2.cjs.entry.js.map +1 -0
- package/dist/cjs/stzh-checkbox.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-checkboxgroup.cjs.entry.js.map +1 -1
- package/dist/cjs/{stzh-message.cjs.entry.js → stzh-chipgroup_2.cjs.entry.js} +19 -2
- package/dist/cjs/stzh-chipgroup_2.cjs.entry.js.map +1 -0
- package/dist/cjs/stzh-chipselect.cjs.entry.js +222 -0
- package/dist/cjs/stzh-chipselect.cjs.entry.js.map +1 -0
- package/dist/cjs/stzh-components.cjs.js +2 -2
- package/dist/cjs/stzh-contact.cjs.entry.js +40 -37
- package/dist/cjs/stzh-contact.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-container.cjs.entry.js +1 -1
- package/dist/cjs/stzh-container.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-content.cjs.entry.js +1 -1
- package/dist/cjs/stzh-content.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-cspace.cjs.entry.js +1 -1
- package/dist/cjs/stzh-cspace.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-datalist_2.cjs.entry.js +1 -1
- package/dist/cjs/stzh-datalist_2.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-datepicker_3.cjs.entry.js +31 -33
- package/dist/cjs/stzh-datepicker_3.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/stzh-dropdown.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-gallery.cjs.entry.js +1 -1
- package/dist/cjs/stzh-gallery.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-header.cjs.entry.js +175 -166
- package/dist/cjs/stzh-header.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-heading.cjs.entry.js +1 -1
- package/dist/cjs/stzh-heading.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-homepage-service-highlights.cjs.entry.js +102 -0
- package/dist/cjs/stzh-homepage-service-highlights.cjs.entry.js.map +1 -0
- package/dist/cjs/stzh-hspace.cjs.entry.js +1 -1
- package/dist/cjs/stzh-hspace.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-input.cjs.entry.js +29 -44
- package/dist/cjs/stzh-input.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-monthyearpicker.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-pagetitle-home.cjs.entry.js +76 -0
- package/dist/cjs/stzh-pagetitle-home.cjs.entry.js.map +1 -0
- package/dist/cjs/stzh-pagetitle.cjs.entry.js +16 -15
- package/dist/cjs/stzh-pagetitle.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-panorama.cjs.entry.js +51 -25
- package/dist/cjs/stzh-panorama.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-pi-content-navigation.cjs.entry.js +64 -0
- package/dist/cjs/stzh-pi-content-navigation.cjs.entry.js.map +1 -0
- package/dist/cjs/stzh-pi-menu.cjs.entry.js +202 -0
- package/dist/cjs/stzh-pi-menu.cjs.entry.js.map +1 -0
- package/dist/cjs/stzh-pi-pagetitle.cjs.entry.js +83 -0
- package/dist/cjs/stzh-pi-pagetitle.cjs.entry.js.map +1 -0
- package/dist/cjs/stzh-pi-quote.cjs.entry.js +26 -0
- package/dist/cjs/stzh-pi-quote.cjs.entry.js.map +1 -0
- package/dist/cjs/stzh-pi-teaser.cjs.entry.js +62 -0
- package/dist/cjs/stzh-pi-teaser.cjs.entry.js.map +1 -0
- package/dist/cjs/stzh-popover_2.cjs.entry.js +1 -1
- package/dist/cjs/stzh-popover_2.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-progressbar-item.cjs.entry.js +7 -3
- package/dist/cjs/stzh-progressbar-item.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-progressbar.cjs.entry.js +2 -1
- package/dist/cjs/stzh-progressbar.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-ratio.cjs.entry.js +1 -1
- package/dist/cjs/stzh-ratio.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-readspeaker.cjs.entry.js +1 -0
- package/dist/cjs/stzh-readspeaker.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-search.cjs.entry.js +69 -44
- package/dist/cjs/stzh-search.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-section.cjs.entry.js +3 -3
- package/dist/cjs/stzh-section.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-skin-portal-mitwirken.cjs.entry.js +1 -1
- package/dist/cjs/stzh-skin-portal-mitwirken.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-space.cjs.entry.js +1 -1
- package/dist/cjs/stzh-space.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-textandimage.cjs.entry.js +10 -8
- package/dist/cjs/stzh-textandimage.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-timepicker.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-toggle.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-tooltip.cjs.entry.js +36 -51
- package/dist/cjs/stzh-tooltip.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-upload.cjs.entry.js +65 -31
- package/dist/cjs/stzh-upload.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-vspace.cjs.entry.js +1 -1
- package/dist/cjs/stzh-vspace.cjs.entry.js.map +1 -1
- package/dist/collection/assets/i18n/de.json +36 -3
- package/dist/collection/assets/i18n/en.json +36 -3
- package/dist/collection/collection-manifest.json +7 -0
- package/dist/collection/components/stzh-accordion/stzh-accordion.css +16 -0
- package/dist/collection/components/stzh-accordion/stzh-accordion.js +38 -20
- package/dist/collection/components/stzh-accordion/stzh-accordion.js.map +1 -1
- package/dist/collection/components/stzh-accordion/stzh-accordion.stories.js +4 -5
- package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.css +3 -0
- package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.js +1 -1
- package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.stories.js +7 -8
- package/dist/collection/components/stzh-actions/stzh-actions.css +3 -0
- package/dist/collection/components/stzh-actionset/stzh-actionset.css +3 -0
- package/dist/collection/components/stzh-amount/stzh-amount.css +3 -0
- package/dist/collection/components/stzh-amount/stzh-amount.js +1 -1
- package/dist/collection/components/stzh-amount/stzh-amount.js.map +1 -1
- package/dist/collection/components/stzh-anchornav/stzh-anchornav.css +3 -0
- package/dist/collection/components/stzh-appointments/stzh-appointments.css +3 -0
- package/dist/collection/components/stzh-archivelist/stzh-archivelist.css +3 -0
- package/dist/collection/components/stzh-audio/stzh-audio.css +3 -0
- package/dist/collection/components/stzh-badge/stzh-badge.css +3 -0
- package/dist/collection/components/stzh-banner/stzh-banner.css +3 -0
- package/dist/collection/components/stzh-breadcrumb/stzh-breadcrumb.css +3 -0
- package/dist/collection/components/stzh-button/stzh-button.css +3 -0
- package/dist/collection/components/stzh-buttongroup/stzh-buttongroup.css +3 -0
- package/dist/collection/components/stzh-calendar/stzh-calendar.css +3 -0
- package/dist/collection/components/stzh-card/stzh-card.css +3 -0
- package/dist/collection/components/stzh-card-navigation/stzh-card-navigation.css +3 -0
- package/dist/collection/components/stzh-card-navigation/stzh-card-navigation.e2e.js +2 -5
- package/dist/collection/components/stzh-card-navigation/stzh-card-navigation.e2e.js.map +1 -1
- package/dist/collection/components/stzh-card-searchresult/stzh-card-searchresult.css +3 -0
- package/dist/collection/components/stzh-card-searchresult/stzh-card-searchresult.js +5 -18
- package/dist/collection/components/stzh-card-searchresult/stzh-card-searchresult.js.map +1 -1
- package/dist/collection/components/stzh-card-superteaser/stzh-card-superteaser.css +3 -0
- package/dist/collection/components/stzh-cardlist/stzh-cardlist.css +101 -18
- package/dist/collection/components/stzh-cardlist/stzh-cardlist.js +6 -8
- package/dist/collection/components/stzh-cardlist/stzh-cardlist.js.map +1 -1
- package/dist/collection/components/stzh-carousel/stzh-carousel.css +3 -0
- package/dist/collection/components/stzh-cell/stzh-cell.css +3 -0
- package/dist/collection/components/stzh-chart/stzh-chart.css +3 -0
- package/dist/collection/components/stzh-checkbox/stzh-checkbox.css +3 -0
- package/dist/collection/components/stzh-checkbox/stzh-checkbox.js +1 -1
- package/dist/collection/components/stzh-checkbox/stzh-checkbox.js.map +1 -1
- package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.css +3 -0
- package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.js +1 -1
- package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.js.map +1 -1
- package/dist/collection/components/stzh-chip/stzh-chip.css +3 -0
- package/dist/collection/components/stzh-chipgroup/stzh-chipgroup.css +3 -0
- package/dist/collection/components/stzh-chipselect/stzh-chipselect.css +3 -0
- package/dist/collection/components/stzh-chipselect/stzh-chipselect.js +3 -3
- package/dist/collection/components/stzh-chipselect/stzh-chipselect.js.map +1 -1
- package/dist/collection/components/stzh-chipselect/stzh-chipselect.stories.js +44 -32
- package/dist/collection/components/stzh-clamp/stzh-clamp.css +3 -0
- package/dist/collection/components/stzh-contact/stzh-contact.css +3 -0
- package/dist/collection/components/stzh-contact/stzh-contact.js +48 -41
- package/dist/collection/components/stzh-contact/stzh-contact.js.map +1 -1
- package/dist/collection/components/stzh-container/stzh-container.css +6 -1
- package/dist/collection/components/stzh-content/stzh-content.css +11 -0
- package/dist/collection/components/stzh-cspace/stzh-cspace.css +119 -13
- package/dist/collection/components/stzh-cta/stzh-cta.css +3 -0
- package/dist/collection/components/stzh-datalist/stzh-datalist.css +3 -0
- package/dist/collection/components/stzh-datalist-item/stzh-datalist-item.css +5 -2
- package/dist/collection/components/stzh-datamessagelist/stzh-datamessagelist.css +3 -0
- package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.css +3 -0
- package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.stories.js +21 -0
- package/dist/collection/components/stzh-datatable/stzh-datatable.css +3 -0
- package/dist/collection/components/stzh-datepicker/stzh-datepicker.css +3 -0
- package/dist/collection/components/stzh-datepicker/stzh-datepicker.js +1 -1
- package/dist/collection/components/stzh-datepicker/stzh-datepicker.js.map +1 -1
- package/dist/collection/components/stzh-daterange/stzh-daterange.css +3 -0
- package/dist/collection/components/stzh-details/stzh-details.css +3 -0
- package/dist/collection/components/stzh-dialog/stzh-dialog.css +3 -0
- package/dist/collection/components/stzh-disturber/stzh-disturber.css +3 -0
- package/dist/collection/components/stzh-dropdown/stzh-dropdown.css +7 -0
- package/dist/collection/components/stzh-dropdown/stzh-dropdown.js +1 -1
- package/dist/collection/components/stzh-dropdown/stzh-dropdown.js.map +1 -1
- package/dist/collection/components/stzh-editor/stzh-editor.css +3 -0
- package/dist/collection/components/stzh-eventdata/stzh-eventdata.css +3 -0
- package/dist/collection/components/stzh-eventinfo/stzh-eventinfo.css +3 -0
- package/dist/collection/components/stzh-fieldset/stzh-fieldset.css +3 -0
- package/dist/collection/components/stzh-fieldset/stzh-fieldset.js +1 -1
- package/dist/collection/components/stzh-figure/stzh-figure.css +3 -0
- package/dist/collection/components/stzh-flyingfocus/stzh-flyingfocus.css +3 -0
- package/dist/collection/components/stzh-footer/stzh-footer.css +3 -0
- package/dist/collection/components/stzh-footer/stzh-footer.stories.js +17 -5
- package/dist/collection/components/stzh-gallery/stzh-gallery.css +3 -11
- package/dist/collection/components/stzh-ghettobox/stzh-ghettobox.css +3 -0
- package/dist/collection/components/stzh-header/stzh-header.css +34 -14
- package/dist/collection/components/stzh-header/stzh-header.js +246 -167
- package/dist/collection/components/stzh-header/stzh-header.js.map +1 -1
- package/dist/collection/components/stzh-header/stzh-header.stories.js +176 -120
- package/dist/collection/components/stzh-heading/stzh-heading.css +36 -0
- package/dist/collection/components/stzh-heading/stzh-heading.js +1 -1
- package/dist/collection/components/stzh-homepage-service-highlights/stzh-homepage-service-highlights.css +387 -0
- package/dist/collection/components/stzh-homepage-service-highlights/stzh-homepage-service-highlights.e2e.js +23 -0
- package/dist/collection/components/stzh-homepage-service-highlights/stzh-homepage-service-highlights.e2e.js.map +1 -0
- package/dist/collection/components/stzh-homepage-service-highlights/stzh-homepage-service-highlights.js +159 -0
- package/dist/collection/components/stzh-homepage-service-highlights/stzh-homepage-service-highlights.js.map +1 -0
- package/dist/collection/components/stzh-homepage-service-highlights/stzh-homepage-service-highlights.stories.js +100 -0
- package/dist/collection/components/stzh-hr/stzh-hr.css +3 -0
- package/dist/collection/components/stzh-hspace/stzh-hspace.css +12 -0
- package/dist/collection/components/stzh-icon/stzh-icon.css +3 -0
- package/dist/collection/components/stzh-iframe/stzh-iframe.css +3 -0
- package/dist/collection/components/stzh-imagecomparison/stzh-imagecomparison.css +3 -0
- package/dist/collection/components/stzh-input/stzh-input.css +10 -0
- package/dist/collection/components/stzh-input/stzh-input.js +29 -44
- package/dist/collection/components/stzh-input/stzh-input.js.map +1 -1
- package/dist/collection/components/stzh-invert/stzh-invert.css +3 -0
- package/dist/collection/components/stzh-link/stzh-link.css +3 -0
- package/dist/collection/components/stzh-list/stzh-list.css +3 -0
- package/dist/collection/components/stzh-list-item/stzh-list-item.css +3 -0
- package/dist/collection/components/stzh-loader/stzh-loader.css +3 -0
- package/dist/collection/components/stzh-loadingbar/stzh-loadingbar.css +3 -0
- package/dist/collection/components/stzh-menu/stzh-menu.css +3 -0
- package/dist/collection/components/stzh-menu-item/stzh-menu-item.css +3 -0
- package/dist/collection/components/stzh-message/stzh-message.css +7 -19
- package/dist/collection/components/stzh-microsite-teaserlist/stzh-microsite-teaserlist.css +3 -0
- package/dist/collection/components/stzh-monthyearpicker/stzh-monthyearpicker.css +3 -0
- package/dist/collection/components/stzh-monthyearpicker/stzh-monthyearpicker.js +1 -1
- package/dist/collection/components/stzh-monthyearpicker/stzh-monthyearpicker.js.map +1 -1
- package/dist/collection/components/stzh-olmap/stzh-olmap.css +3 -0
- package/dist/collection/components/stzh-overlay/stzh-overlay.css +3 -0
- package/dist/collection/components/stzh-page-skiplinks/stzh-page-skiplinks.css +3 -0
- package/dist/collection/components/stzh-pagebottom/stzh-pagebottom.css +3 -0
- package/dist/collection/components/stzh-pagecontent/stzh-pagecontent.css +3 -0
- package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.css +8 -0
- package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.js +34 -15
- package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.js.map +1 -1
- package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.stories.js +29 -10
- package/dist/collection/components/stzh-pagetitle-hero/stzh-pagetitle-hero.css +3 -0
- package/dist/collection/components/stzh-pagetitle-home/stzh-pagetitle-home.css +461 -0
- package/dist/collection/components/stzh-pagetitle-home/stzh-pagetitle-home.e2e.js +23 -0
- package/dist/collection/components/stzh-pagetitle-home/stzh-pagetitle-home.e2e.js.map +1 -0
- package/dist/collection/components/stzh-pagetitle-home/stzh-pagetitle-home.js +86 -0
- package/dist/collection/components/stzh-pagetitle-home/stzh-pagetitle-home.js.map +1 -0
- package/dist/collection/components/stzh-pagetitle-home/stzh-pagetitle-home.stories.js +99 -0
- package/dist/collection/components/stzh-pagination/stzh-pagination.css +3 -0
- package/dist/collection/components/stzh-panorama/stzh-panorama.css +54 -63
- package/dist/collection/components/stzh-panorama/stzh-panorama.js +106 -26
- package/dist/collection/components/stzh-panorama/stzh-panorama.js.map +1 -1
- package/dist/collection/components/stzh-panorama/stzh-panorama.localization.js.map +1 -1
- package/dist/collection/components/stzh-panorama/stzh-panorama.stories.js +40 -36
- package/dist/collection/components/stzh-pi-content-navigation/stzh-pi-content-navigation.css +443 -0
- package/dist/collection/components/stzh-pi-content-navigation/stzh-pi-content-navigation.e2e.js +16 -0
- package/dist/collection/components/stzh-pi-content-navigation/stzh-pi-content-navigation.e2e.js.map +1 -0
- package/dist/collection/components/stzh-pi-content-navigation/stzh-pi-content-navigation.js +218 -0
- package/dist/collection/components/stzh-pi-content-navigation/stzh-pi-content-navigation.js.map +1 -0
- package/dist/collection/components/stzh-pi-content-navigation/stzh-pi-content-navigation.stories.js +62 -0
- package/dist/collection/components/stzh-pi-menu/stzh-pi-menu.css +503 -0
- package/dist/collection/components/stzh-pi-menu/stzh-pi-menu.e2e.js +16 -0
- package/dist/collection/components/stzh-pi-menu/stzh-pi-menu.e2e.js.map +1 -0
- package/dist/collection/components/stzh-pi-menu/stzh-pi-menu.js +527 -0
- package/dist/collection/components/stzh-pi-menu/stzh-pi-menu.js.map +1 -0
- package/dist/collection/components/stzh-pi-menu/stzh-pi-menu.localization.js +2 -0
- package/dist/collection/components/stzh-pi-menu/stzh-pi-menu.localization.js.map +1 -0
- package/dist/collection/components/stzh-pi-menu/stzh-pi-menu.stories.js +138 -0
- package/dist/collection/components/stzh-pi-pagetitle/stzh-pi-pagetitle.css +944 -0
- package/dist/collection/components/stzh-pi-pagetitle/stzh-pi-pagetitle.e2e.js +23 -0
- package/dist/collection/components/stzh-pi-pagetitle/stzh-pi-pagetitle.e2e.js.map +1 -0
- package/dist/collection/components/stzh-pi-pagetitle/stzh-pi-pagetitle.js +149 -0
- package/dist/collection/components/stzh-pi-pagetitle/stzh-pi-pagetitle.js.map +1 -0
- package/dist/collection/components/stzh-pi-pagetitle/stzh-pi-pagetitle.stories.js +184 -0
- package/dist/collection/components/stzh-pi-quote/stzh-pi-quote.css +301 -0
- package/dist/collection/components/stzh-pi-quote/stzh-pi-quote.e2e.js +16 -0
- package/dist/collection/components/stzh-pi-quote/stzh-pi-quote.e2e.js.map +1 -0
- package/dist/collection/components/stzh-pi-quote/stzh-pi-quote.js +48 -0
- package/dist/collection/components/stzh-pi-quote/stzh-pi-quote.js.map +1 -0
- package/dist/collection/components/stzh-pi-quote/stzh-pi-quote.stories.js +42 -0
- package/dist/collection/components/stzh-pi-teaser/stzh-pi-teaser.css +364 -0
- package/dist/collection/components/stzh-pi-teaser/stzh-pi-teaser.e2e.js +16 -0
- package/dist/collection/components/stzh-pi-teaser/stzh-pi-teaser.e2e.js.map +1 -0
- package/dist/collection/components/stzh-pi-teaser/stzh-pi-teaser.js +234 -0
- package/dist/collection/components/stzh-pi-teaser/stzh-pi-teaser.js.map +1 -0
- package/dist/collection/components/stzh-pi-teaser/stzh-pi-teaser.stories.js +66 -0
- package/dist/collection/components/stzh-popover/stzh-popover.css +3 -0
- package/dist/collection/components/stzh-print/stzh-print.css +3 -0
- package/dist/collection/components/stzh-progressbar/stzh-progressbar.css +3 -0
- package/dist/collection/components/stzh-progressbar/stzh-progressbar.js +20 -1
- package/dist/collection/components/stzh-progressbar/stzh-progressbar.js.map +1 -1
- package/dist/collection/components/stzh-progressbar/stzh-progressbar.stories.js +9 -0
- package/dist/collection/components/stzh-progressbar-item/stzh-progressbar-item.css +11 -2
- package/dist/collection/components/stzh-progressbar-item/stzh-progressbar-item.js +24 -2
- package/dist/collection/components/stzh-progressbar-item/stzh-progressbar-item.js.map +1 -1
- package/dist/collection/components/stzh-progressbar-item/stzh-progressbar-item.stories.js +16 -0
- package/dist/collection/components/stzh-radio/stzh-radio.css +3 -0
- package/dist/collection/components/stzh-radio/stzh-radio.js +20 -21
- package/dist/collection/components/stzh-radio/stzh-radio.js.map +1 -1
- package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.css +3 -0
- package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.js +14 -15
- package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.js.map +1 -1
- package/dist/collection/components/stzh-ratio/stzh-ratio.css +3 -0
- package/dist/collection/components/stzh-ratio/stzh-ratio.js +2 -2
- package/dist/collection/components/stzh-ratio/stzh-ratio.js.map +1 -1
- package/dist/collection/components/stzh-readspeaker/stzh-readspeaker.css +3 -0
- package/dist/collection/components/stzh-readspeaker/stzh-readspeaker.js +1 -0
- package/dist/collection/components/stzh-readspeaker/stzh-readspeaker.js.map +1 -1
- package/dist/collection/components/stzh-richtext/stzh-richtext.css +3 -0
- package/dist/collection/components/stzh-row/stzh-row.css +3 -0
- package/dist/collection/components/stzh-saptcha/stzh-saptcha.css +3 -0
- package/dist/collection/components/stzh-scrollup/stzh-scrollup.css +3 -0
- package/dist/collection/components/stzh-search/stzh-search.css +137 -23
- package/dist/collection/components/stzh-search/stzh-search.js +132 -47
- package/dist/collection/components/stzh-search/stzh-search.js.map +1 -1
- package/dist/collection/components/stzh-search/stzh-search.stories.js +125 -26
- package/dist/collection/components/stzh-section/stzh-section.css +81 -9
- package/dist/collection/components/stzh-section/stzh-section.js +5 -5
- package/dist/collection/components/stzh-section/stzh-section.js.map +1 -1
- package/dist/collection/components/stzh-share/stzh-share.css +3 -0
- package/dist/collection/components/stzh-show/stzh-show.css +3 -0
- package/dist/collection/components/stzh-sitemap/stzh-sitemap.css +3 -0
- package/dist/collection/components/stzh-skin-portal-mitwirken/stzh-skin-portal-mitwirken.css +587 -212
- package/dist/collection/components/stzh-skin-storybook-preview/stzh-skin-storybook-preview.css +3 -0
- package/dist/collection/components/stzh-skiplink/stzh-skiplink.css +3 -0
- package/dist/collection/components/stzh-sortable/stzh-sortable.css +3 -0
- package/dist/collection/components/stzh-space/stzh-space.css +12 -0
- package/dist/collection/components/stzh-status/stzh-status.css +3 -0
- package/dist/collection/components/stzh-sticky/stzh-sticky.css +3 -0
- package/dist/collection/components/stzh-sticky-actions/stzh-sticky-actions.css +3 -0
- package/dist/collection/components/stzh-table/stzh-table.css +3 -0
- package/dist/collection/components/stzh-tag/stzh-tag.css +3 -0
- package/dist/collection/components/stzh-text/stzh-text.css +135 -0
- package/dist/collection/components/stzh-text/stzh-text.js +1 -1
- package/dist/collection/components/stzh-textandimage/stzh-textandimage.css +71 -35
- package/dist/collection/components/stzh-textandimage/stzh-textandimage.js +28 -8
- package/dist/collection/components/stzh-textandimage/stzh-textandimage.js.map +1 -1
- package/dist/collection/components/stzh-textandimage/stzh-textandimage.stories.js +37 -22
- package/dist/collection/components/stzh-timeline/stzh-timeline.css +3 -0
- package/dist/collection/components/stzh-timeline-item/stzh-timeline-item.css +3 -0
- package/dist/collection/components/stzh-timepicker/stzh-timepicker.css +3 -0
- package/dist/collection/components/stzh-timepicker/stzh-timepicker.js +1 -1
- package/dist/collection/components/stzh-timepicker/stzh-timepicker.js.map +1 -1
- package/dist/collection/components/stzh-toast/stzh-toast.css +3 -0
- package/dist/collection/components/stzh-toastbar/stzh-toastbar.css +3 -0
- package/dist/collection/components/stzh-toggle/stzh-toggle.css +3 -0
- package/dist/collection/components/stzh-toggle/stzh-toggle.js +1 -1
- package/dist/collection/components/stzh-toggle/stzh-toggle.js.map +1 -1
- package/dist/collection/components/stzh-tooltip/stzh-tooltip.css +9 -0
- package/dist/collection/components/stzh-tooltip/stzh-tooltip.js +56 -53
- package/dist/collection/components/stzh-tooltip/stzh-tooltip.js.map +1 -1
- package/dist/collection/components/stzh-twocolumns/stzh-twocolumns.css +3 -0
- package/dist/collection/components/stzh-upload/stzh-upload.css +3 -0
- package/dist/collection/components/stzh-upload/stzh-upload.js +69 -35
- package/dist/collection/components/stzh-upload/stzh-upload.js.map +1 -1
- package/dist/collection/components/stzh-vbz-carousel/stzh-vbz-carousel.css +3 -0
- package/dist/collection/components/stzh-vbz-linechip/stzh-vbz-linechip.css +3 -0
- package/dist/collection/components/stzh-vbz-majorticker/stzh-vbz-majorticker.css +3 -0
- package/dist/collection/components/stzh-vbz-ticker/stzh-vbz-ticker.css +3 -0
- package/dist/collection/components/stzh-visuallyhidden/stzh-visuallyhidden.css +3 -0
- package/dist/collection/components/stzh-vspace/stzh-vspace.css +12 -0
- package/dist/collection/components/stzh-youtube/stzh-youtube.css +3 -0
- package/dist/collection/index.js +1 -1
- package/dist/collection/index.js.map +1 -1
- package/dist/collection/pages/home/home.e2e.js +16 -0
- package/dist/collection/pages/home/home.e2e.js.map +1 -0
- package/dist/collection/pages/publizistische-inhalte/publizistische-inhalte.e2e.js +16 -0
- package/dist/collection/pages/publizistische-inhalte/publizistische-inhalte.e2e.js.map +1 -0
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js.map +1 -1
- package/dist/components/stzh-accordion2.js +27 -20
- package/dist/components/stzh-accordion2.js.map +1 -1
- package/dist/components/stzh-amount.js.map +1 -1
- package/dist/components/stzh-card-searchresult.js +5 -18
- package/dist/components/stzh-card-searchresult.js.map +1 -1
- package/dist/components/stzh-cardlist2.js +5 -7
- package/dist/components/stzh-cardlist2.js.map +1 -1
- package/dist/components/stzh-checkbox.js.map +1 -1
- package/dist/components/stzh-checkboxgroup.js.map +1 -1
- package/dist/components/stzh-chipgroup.js +1 -31
- package/dist/components/stzh-chipgroup.js.map +1 -1
- package/dist/{esm/stzh-chipgroup.entry.js → components/stzh-chipgroup2.js} +23 -9
- package/dist/components/stzh-chipgroup2.js.map +1 -0
- package/dist/components/stzh-chipselect2.js +2 -2
- package/dist/components/stzh-chipselect2.js.map +1 -1
- package/dist/components/stzh-contact.js +43 -38
- package/dist/components/stzh-contact.js.map +1 -1
- package/dist/components/stzh-container.js +1 -1
- package/dist/components/stzh-container.js.map +1 -1
- package/dist/components/stzh-content.js +1 -1
- package/dist/components/stzh-content.js.map +1 -1
- package/dist/components/stzh-cspace.js +1 -1
- package/dist/components/stzh-cspace.js.map +1 -1
- package/dist/components/stzh-datalist-item2.js +1 -1
- package/dist/components/stzh-datalist-item2.js.map +1 -1
- package/dist/components/stzh-datatable.js +22 -16
- package/dist/components/stzh-datatable.js.map +1 -1
- package/dist/components/stzh-datepicker2.js.map +1 -1
- package/dist/components/stzh-dropdown2.js +1 -1
- package/dist/components/stzh-dropdown2.js.map +1 -1
- package/dist/components/stzh-gallery.js +1 -1
- package/dist/components/stzh-gallery.js.map +1 -1
- package/dist/components/stzh-header.js +179 -167
- package/dist/components/stzh-header.js.map +1 -1
- package/dist/components/stzh-heading2.js +1 -1
- package/dist/components/stzh-heading2.js.map +1 -1
- package/dist/components/stzh-homepage-service-highlights.d.ts +11 -0
- package/dist/components/stzh-homepage-service-highlights.js +151 -0
- package/dist/components/stzh-homepage-service-highlights.js.map +1 -0
- package/dist/components/stzh-hspace2.js +1 -1
- package/dist/components/stzh-hspace2.js.map +1 -1
- package/dist/components/stzh-input2.js +29 -44
- package/dist/components/stzh-input2.js.map +1 -1
- package/dist/components/stzh-message2.js +1 -1
- package/dist/components/stzh-message2.js.map +1 -1
- package/dist/components/stzh-monthyearpicker.js.map +1 -1
- package/dist/components/stzh-pagetitle-home.d.ts +11 -0
- package/dist/components/stzh-pagetitle-home.js +96 -0
- package/dist/components/stzh-pagetitle-home.js.map +1 -0
- package/dist/components/stzh-pagetitle.js +17 -15
- package/dist/components/stzh-pagetitle.js.map +1 -1
- package/dist/components/stzh-panorama.js +71 -36
- package/dist/components/stzh-panorama.js.map +1 -1
- package/dist/components/stzh-pi-content-navigation.d.ts +11 -0
- package/dist/components/stzh-pi-content-navigation.js +96 -0
- package/dist/components/stzh-pi-content-navigation.js.map +1 -0
- package/dist/components/stzh-pi-menu.d.ts +11 -0
- package/dist/components/stzh-pi-menu.js +239 -0
- package/dist/components/stzh-pi-menu.js.map +1 -0
- package/dist/components/stzh-pi-pagetitle.d.ts +11 -0
- package/dist/components/stzh-pi-pagetitle.js +107 -0
- package/dist/components/stzh-pi-pagetitle.js.map +1 -0
- package/dist/components/stzh-pi-quote.d.ts +11 -0
- package/dist/components/stzh-pi-quote.js +41 -0
- package/dist/components/stzh-pi-quote.js.map +1 -0
- package/dist/components/stzh-pi-teaser.d.ts +11 -0
- package/dist/components/stzh-pi-teaser.js +89 -0
- package/dist/components/stzh-pi-teaser.js.map +1 -0
- package/dist/components/stzh-progressbar-item2.js +8 -3
- package/dist/components/stzh-progressbar-item2.js.map +1 -1
- package/dist/components/stzh-progressbar.js +3 -1
- package/dist/components/stzh-progressbar.js.map +1 -1
- package/dist/components/stzh-radio2.js +18 -19
- package/dist/components/stzh-radio2.js.map +1 -1
- package/dist/components/stzh-radiogroup2.js +13 -14
- package/dist/components/stzh-radiogroup2.js.map +1 -1
- package/dist/components/stzh-ratio2.js +1 -1
- package/dist/components/stzh-ratio2.js.map +1 -1
- package/dist/components/stzh-readspeaker.js +1 -0
- package/dist/components/stzh-readspeaker.js.map +1 -1
- package/dist/components/stzh-search.js +126 -61
- package/dist/components/stzh-search.js.map +1 -1
- package/dist/components/stzh-section.js +3 -3
- package/dist/components/stzh-section.js.map +1 -1
- package/dist/components/stzh-skin-portal-mitwirken.js +1 -1
- package/dist/components/stzh-skin-portal-mitwirken.js.map +1 -1
- package/dist/components/stzh-space.js +1 -1
- package/dist/components/stzh-space.js.map +1 -1
- package/dist/components/stzh-text2.js +1 -1
- package/dist/components/stzh-text2.js.map +1 -1
- package/dist/components/stzh-textandimage.js +12 -9
- package/dist/components/stzh-textandimage.js.map +1 -1
- package/dist/components/stzh-timepicker.js.map +1 -1
- package/dist/components/stzh-toggle.js.map +1 -1
- package/dist/components/stzh-tooltip2.js +37 -51
- package/dist/components/stzh-tooltip2.js.map +1 -1
- package/dist/components/stzh-upload.js +65 -31
- package/dist/components/stzh-upload.js.map +1 -1
- package/dist/components/stzh-vspace.js +1 -1
- package/dist/components/stzh-vspace.js.map +1 -1
- package/dist/esm/{app-globals-f9c4987b.js → app-globals-ab5b077d.js} +2 -2
- package/dist/esm/{app-globals-f9c4987b.js.map → app-globals-ab5b077d.js.map} +1 -1
- package/dist/esm/index-e3050b18.js +46 -18
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/stzh-accordion_3.entry.js +19 -19
- package/dist/esm/stzh-accordion_3.entry.js.map +1 -1
- package/dist/esm/stzh-amount.entry.js.map +1 -1
- package/dist/esm/stzh-card-searchresult.entry.js +5 -18
- package/dist/esm/stzh-card-searchresult.entry.js.map +1 -1
- package/dist/esm/{stzh-card_3.entry.js → stzh-card_2.entry.js} +7 -222
- package/dist/esm/stzh-card_2.entry.js.map +1 -0
- package/dist/esm/stzh-checkbox.entry.js.map +1 -1
- package/dist/esm/stzh-checkboxgroup.entry.js.map +1 -1
- package/dist/esm/{stzh-message.entry.js → stzh-chipgroup_2.entry.js} +20 -4
- package/dist/esm/stzh-chipgroup_2.entry.js.map +1 -0
- package/dist/esm/stzh-chipselect.entry.js +218 -0
- package/dist/esm/stzh-chipselect.entry.js.map +1 -0
- package/dist/esm/stzh-components.js +2 -2
- package/dist/esm/stzh-contact.entry.js +40 -37
- package/dist/esm/stzh-contact.entry.js.map +1 -1
- package/dist/esm/stzh-container.entry.js +1 -1
- package/dist/esm/stzh-container.entry.js.map +1 -1
- package/dist/esm/stzh-content.entry.js +1 -1
- package/dist/esm/stzh-content.entry.js.map +1 -1
- package/dist/esm/stzh-cspace.entry.js +1 -1
- package/dist/esm/stzh-cspace.entry.js.map +1 -1
- package/dist/esm/stzh-datalist_2.entry.js +1 -1
- package/dist/esm/stzh-datalist_2.entry.js.map +1 -1
- package/dist/esm/stzh-datepicker_3.entry.js +31 -33
- package/dist/esm/stzh-datepicker_3.entry.js.map +1 -1
- package/dist/esm/stzh-dropdown.entry.js +1 -1
- package/dist/esm/stzh-dropdown.entry.js.map +1 -1
- package/dist/esm/stzh-gallery.entry.js +1 -1
- package/dist/esm/stzh-gallery.entry.js.map +1 -1
- package/dist/esm/stzh-header.entry.js +175 -166
- package/dist/esm/stzh-header.entry.js.map +1 -1
- package/dist/esm/stzh-heading.entry.js +1 -1
- package/dist/esm/stzh-heading.entry.js.map +1 -1
- package/dist/esm/stzh-homepage-service-highlights.entry.js +98 -0
- package/dist/esm/stzh-homepage-service-highlights.entry.js.map +1 -0
- package/dist/esm/stzh-hspace.entry.js +1 -1
- package/dist/esm/stzh-hspace.entry.js.map +1 -1
- package/dist/esm/stzh-input.entry.js +29 -44
- package/dist/esm/stzh-input.entry.js.map +1 -1
- package/dist/esm/stzh-monthyearpicker.entry.js.map +1 -1
- package/dist/esm/stzh-pagetitle-home.entry.js +72 -0
- package/dist/esm/stzh-pagetitle-home.entry.js.map +1 -0
- package/dist/esm/stzh-pagetitle.entry.js +16 -15
- package/dist/esm/stzh-pagetitle.entry.js.map +1 -1
- package/dist/esm/stzh-panorama.entry.js +52 -26
- package/dist/esm/stzh-panorama.entry.js.map +1 -1
- package/dist/esm/stzh-pi-content-navigation.entry.js +60 -0
- package/dist/esm/stzh-pi-content-navigation.entry.js.map +1 -0
- package/dist/esm/stzh-pi-menu.entry.js +198 -0
- package/dist/esm/stzh-pi-menu.entry.js.map +1 -0
- package/dist/esm/stzh-pi-pagetitle.entry.js +79 -0
- package/dist/esm/stzh-pi-pagetitle.entry.js.map +1 -0
- package/dist/esm/stzh-pi-quote.entry.js +22 -0
- package/dist/esm/stzh-pi-quote.entry.js.map +1 -0
- package/dist/esm/stzh-pi-teaser.entry.js +58 -0
- package/dist/esm/stzh-pi-teaser.entry.js.map +1 -0
- package/dist/esm/stzh-popover_2.entry.js +1 -1
- package/dist/esm/stzh-popover_2.entry.js.map +1 -1
- package/dist/esm/stzh-progressbar-item.entry.js +7 -3
- package/dist/esm/stzh-progressbar-item.entry.js.map +1 -1
- package/dist/esm/stzh-progressbar.entry.js +2 -1
- package/dist/esm/stzh-progressbar.entry.js.map +1 -1
- package/dist/esm/stzh-ratio.entry.js +1 -1
- package/dist/esm/stzh-ratio.entry.js.map +1 -1
- package/dist/esm/stzh-readspeaker.entry.js +1 -0
- package/dist/esm/stzh-readspeaker.entry.js.map +1 -1
- package/dist/esm/stzh-search.entry.js +70 -45
- package/dist/esm/stzh-search.entry.js.map +1 -1
- package/dist/esm/stzh-section.entry.js +3 -3
- package/dist/esm/stzh-section.entry.js.map +1 -1
- package/dist/esm/stzh-skin-portal-mitwirken.entry.js +1 -1
- package/dist/esm/stzh-skin-portal-mitwirken.entry.js.map +1 -1
- package/dist/esm/stzh-space.entry.js +1 -1
- package/dist/esm/stzh-space.entry.js.map +1 -1
- package/dist/esm/stzh-textandimage.entry.js +10 -8
- package/dist/esm/stzh-textandimage.entry.js.map +1 -1
- package/dist/esm/stzh-timepicker.entry.js.map +1 -1
- package/dist/esm/stzh-toggle.entry.js.map +1 -1
- package/dist/esm/stzh-tooltip.entry.js +36 -51
- package/dist/esm/stzh-tooltip.entry.js.map +1 -1
- package/dist/esm/stzh-upload.entry.js +65 -31
- package/dist/esm/stzh-upload.entry.js.map +1 -1
- package/dist/esm/stzh-vspace.entry.js +1 -1
- package/dist/esm/stzh-vspace.entry.js.map +1 -1
- package/dist/stzh-components/assets/i18n/de.json +36 -3
- package/dist/stzh-components/assets/i18n/en.json +36 -3
- package/dist/stzh-components/index.esm.js.map +1 -1
- package/dist/stzh-components/p-012dc71e.entry.js +2 -0
- package/dist/stzh-components/{p-91b360c9.entry.js.map → p-012dc71e.entry.js.map} +1 -1
- package/dist/stzh-components/p-0b381244.entry.js +2 -0
- package/dist/stzh-components/{p-8b608a1b.entry.js.map → p-0b381244.entry.js.map} +1 -1
- package/dist/stzh-components/p-0c67b73d.entry.js +2 -0
- package/dist/stzh-components/p-0c67b73d.entry.js.map +1 -0
- package/dist/stzh-components/p-0fb40e48.entry.js.map +1 -1
- package/dist/stzh-components/p-1bc9a18d.entry.js +2 -0
- package/dist/stzh-components/{p-ca76966e.entry.js.map → p-1bc9a18d.entry.js.map} +1 -1
- package/dist/stzh-components/p-1f0e8499.entry.js +2 -0
- package/dist/stzh-components/p-1f0e8499.entry.js.map +1 -0
- package/dist/stzh-components/{p-744c2183.entry.js → p-204a6e41.entry.js} +2 -2
- package/dist/stzh-components/p-204a6e41.entry.js.map +1 -0
- package/dist/stzh-components/p-2096f3c6.entry.js.map +1 -1
- package/dist/stzh-components/{p-faec0661.entry.js → p-2ba166dd.entry.js} +2 -2
- package/dist/stzh-components/p-2ba166dd.entry.js.map +1 -0
- package/dist/stzh-components/{p-dff1ce7c.entry.js → p-37fbb5f0.entry.js} +2 -2
- package/dist/stzh-components/{p-dff1ce7c.entry.js.map → p-37fbb5f0.entry.js.map} +1 -1
- package/dist/stzh-components/p-4f49450d.entry.js +2 -0
- package/dist/stzh-components/p-4f49450d.entry.js.map +1 -0
- package/dist/stzh-components/p-52a914cd.entry.js +2 -0
- package/dist/stzh-components/p-52a914cd.entry.js.map +1 -0
- package/dist/stzh-components/p-56346206.entry.js +2 -0
- package/dist/stzh-components/p-56346206.entry.js.map +1 -0
- package/dist/stzh-components/p-59a1a257.entry.js +2 -0
- package/dist/stzh-components/p-59a1a257.entry.js.map +1 -0
- package/dist/stzh-components/p-5c3fddec.entry.js +2 -0
- package/dist/stzh-components/p-5c3fddec.entry.js.map +1 -0
- package/dist/stzh-components/p-673f842d.entry.js +2 -0
- package/dist/stzh-components/p-673f842d.entry.js.map +1 -0
- package/dist/stzh-components/p-6c2289da.entry.js.map +1 -1
- package/dist/stzh-components/p-722b9e40.entry.js.map +1 -1
- package/dist/stzh-components/{p-af87b81a.entry.js → p-75b79adf.entry.js} +2 -2
- package/dist/stzh-components/p-75b79adf.entry.js.map +1 -0
- package/dist/stzh-components/p-771d370d.entry.js +2 -0
- package/dist/stzh-components/p-771d370d.entry.js.map +1 -0
- package/dist/stzh-components/p-77ba1f21.entry.js +2 -0
- package/dist/stzh-components/p-77ba1f21.entry.js.map +1 -0
- package/dist/stzh-components/p-78a16599.entry.js +2 -0
- package/dist/stzh-components/p-78a16599.entry.js.map +1 -0
- package/dist/stzh-components/p-7aac960b.entry.js.map +1 -1
- package/dist/stzh-components/p-7ca981d1.entry.js +2 -0
- package/dist/stzh-components/p-7ca981d1.entry.js.map +1 -0
- package/dist/stzh-components/p-7d030c40.entry.js +2 -0
- package/dist/stzh-components/p-7d030c40.entry.js.map +1 -0
- package/dist/stzh-components/{p-b22876e5.entry.js → p-7efbb643.entry.js} +2 -2
- package/dist/stzh-components/p-7efbb643.entry.js.map +1 -0
- package/dist/stzh-components/p-801af922.entry.js +2 -0
- package/dist/stzh-components/p-801af922.entry.js.map +1 -0
- package/dist/stzh-components/p-8503fb10.entry.js +2 -0
- package/dist/stzh-components/{p-75045ebb.entry.js.map → p-8503fb10.entry.js.map} +1 -1
- package/dist/stzh-components/{p-663f31a2.entry.js → p-909f7fc0.entry.js} +2 -2
- package/dist/stzh-components/p-909f7fc0.entry.js.map +1 -0
- package/dist/stzh-components/p-969a4f9a.entry.js.map +1 -1
- package/dist/stzh-components/{p-5b1bc446.entry.js → p-991309dd.entry.js} +2 -2
- package/dist/stzh-components/{p-5b1bc446.entry.js.map → p-991309dd.entry.js.map} +1 -1
- package/dist/stzh-components/{p-56826f33.entry.js → p-af7855ff.entry.js} +2 -2
- package/dist/stzh-components/p-af7855ff.entry.js.map +1 -0
- package/dist/stzh-components/p-afde3fcd.entry.js +2 -0
- package/dist/stzh-components/p-afde3fcd.entry.js.map +1 -0
- package/dist/stzh-components/p-b41d255f.entry.js +2 -0
- package/dist/stzh-components/p-b41d255f.entry.js.map +1 -0
- package/dist/stzh-components/{p-af7562ba.entry.js → p-b566a2c0.entry.js} +2 -2
- package/dist/stzh-components/p-b566a2c0.entry.js.map +1 -0
- package/dist/stzh-components/p-b870c799.entry.js +2 -0
- package/dist/stzh-components/p-b870c799.entry.js.map +1 -0
- package/dist/stzh-components/p-bb1cacbc.entry.js +2 -0
- package/dist/stzh-components/p-bb1cacbc.entry.js.map +1 -0
- package/dist/stzh-components/{p-c31b1590.entry.js → p-c1cd45e1.entry.js} +5 -5
- package/dist/stzh-components/{p-c31b1590.entry.js.map → p-c1cd45e1.entry.js.map} +1 -1
- package/dist/stzh-components/p-c877d32c.entry.js +2 -0
- package/dist/stzh-components/{p-6f87ad6e.entry.js.map → p-c877d32c.entry.js.map} +1 -1
- package/dist/stzh-components/p-c8ead7fc.entry.js +2 -0
- package/dist/stzh-components/{p-f7979f2a.entry.js.map → p-c8ead7fc.entry.js.map} +1 -1
- package/dist/stzh-components/{p-f06b2737.js → p-cc1f8acc.js} +2 -2
- package/dist/stzh-components/p-cca366c2.entry.js.map +1 -1
- package/dist/stzh-components/p-cf856610.entry.js +2 -0
- package/dist/stzh-components/p-cf856610.entry.js.map +1 -0
- package/dist/stzh-components/{p-2773b08f.entry.js → p-d10a6897.entry.js} +2 -2
- package/dist/stzh-components/p-d10a6897.entry.js.map +1 -0
- package/dist/stzh-components/{p-929c5234.entry.js → p-d11565a5.entry.js} +3 -3
- package/dist/stzh-components/{p-929c5234.entry.js.map → p-d11565a5.entry.js.map} +1 -1
- package/dist/stzh-components/p-edf77853.entry.js +2 -0
- package/dist/stzh-components/p-edf77853.entry.js.map +1 -0
- package/dist/stzh-components/stzh-components.css +1663 -1
- 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/stzh-accordion/stzh-accordion.d.ts +3 -1
- package/dist/types/components/stzh-amount/stzh-amount.d.ts +1 -1
- package/dist/types/components/stzh-cardlist/stzh-cardlist.d.ts +2 -2
- package/dist/types/components/stzh-checkbox/stzh-checkbox.d.ts +1 -1
- package/dist/types/components/stzh-checkboxgroup/stzh-checkboxgroup.d.ts +1 -1
- package/dist/types/components/stzh-chipselect/stzh-chipselect.d.ts +1 -1
- package/dist/types/components/stzh-contact/stzh-contact.d.ts +7 -3
- package/dist/types/components/stzh-datepicker/stzh-datepicker.d.ts +1 -1
- package/dist/types/components/stzh-dropdown/stzh-dropdown.d.ts +1 -1
- package/dist/types/components/stzh-header/stzh-header.d.ts +15 -2
- package/dist/types/components/stzh-homepage-service-highlights/stzh-homepage-service-highlights.d.ts +17 -0
- package/dist/types/components/stzh-input/stzh-input.d.ts +1 -1
- package/dist/types/components/stzh-monthyearpicker/stzh-monthyearpicker.d.ts +1 -1
- package/dist/types/components/stzh-pagetitle/stzh-pagetitle.d.ts +3 -1
- package/dist/types/components/stzh-pagetitle-home/stzh-pagetitle-home.d.ts +16 -0
- package/dist/types/components/stzh-panorama/stzh-panorama.d.ts +7 -1
- package/dist/types/components/stzh-panorama/stzh-panorama.localization.d.ts +1 -0
- package/dist/types/components/stzh-pi-content-navigation/stzh-pi-content-navigation.d.ts +36 -0
- package/dist/types/components/stzh-pi-menu/stzh-pi-menu.d.ts +62 -0
- package/dist/types/components/stzh-pi-menu/stzh-pi-menu.localization.d.ts +4 -0
- package/dist/types/components/stzh-pi-pagetitle/stzh-pi-pagetitle.d.ts +20 -0
- package/dist/types/components/stzh-pi-quote/stzh-pi-quote.d.ts +5 -0
- package/dist/types/components/stzh-pi-teaser/stzh-pi-teaser.d.ts +38 -0
- package/dist/types/components/stzh-progressbar/stzh-progressbar.d.ts +4 -0
- package/dist/types/components/stzh-progressbar-item/stzh-progressbar-item.d.ts +4 -0
- package/dist/types/components/stzh-radio/stzh-radio.d.ts +2 -2
- package/dist/types/components/stzh-radiogroup/stzh-radiogroup.d.ts +1 -1
- package/dist/types/components/stzh-search/stzh-search.d.ts +11 -1
- package/dist/types/components/stzh-section/stzh-section.d.ts +1 -1
- package/dist/types/components/stzh-textandimage/stzh-textandimage.d.ts +2 -0
- package/dist/types/components/stzh-timepicker/stzh-timepicker.d.ts +1 -1
- package/dist/types/components/stzh-toggle/stzh-toggle.d.ts +1 -1
- package/dist/types/components/stzh-tooltip/stzh-tooltip.d.ts +3 -1
- package/dist/types/components/stzh-upload/stzh-upload.d.ts +2 -2
- package/dist/types/components.d.ts +523 -42
- package/dist/types/index.d.ts +92 -22
- package/dist/vscode-data.json +326 -11
- package/package.json +2 -2
- package/dist/cjs/stzh-card_3.cjs.entry.js.map +0 -1
- package/dist/cjs/stzh-chipgroup.cjs.entry.js +0 -25
- package/dist/cjs/stzh-chipgroup.cjs.entry.js.map +0 -1
- package/dist/cjs/stzh-message.cjs.entry.js.map +0 -1
- package/dist/esm/stzh-card_3.entry.js.map +0 -1
- package/dist/esm/stzh-chipgroup.entry.js.map +0 -1
- package/dist/esm/stzh-message.entry.js.map +0 -1
- package/dist/stzh-components/p-150f4514.entry.js +0 -2
- package/dist/stzh-components/p-150f4514.entry.js.map +0 -1
- package/dist/stzh-components/p-1a19bc6e.entry.js +0 -2
- package/dist/stzh-components/p-1a19bc6e.entry.js.map +0 -1
- package/dist/stzh-components/p-1a3dcde3.entry.js +0 -2
- package/dist/stzh-components/p-1a3dcde3.entry.js.map +0 -1
- package/dist/stzh-components/p-2773b08f.entry.js.map +0 -1
- package/dist/stzh-components/p-3b31f90d.entry.js +0 -2
- package/dist/stzh-components/p-3b31f90d.entry.js.map +0 -1
- package/dist/stzh-components/p-54e73927.entry.js +0 -2
- package/dist/stzh-components/p-54e73927.entry.js.map +0 -1
- package/dist/stzh-components/p-56826f33.entry.js.map +0 -1
- package/dist/stzh-components/p-663f31a2.entry.js.map +0 -1
- package/dist/stzh-components/p-6f87ad6e.entry.js +0 -2
- package/dist/stzh-components/p-744c2183.entry.js.map +0 -1
- package/dist/stzh-components/p-75045ebb.entry.js +0 -2
- package/dist/stzh-components/p-8b608a1b.entry.js +0 -2
- package/dist/stzh-components/p-8f19c3ec.entry.js +0 -2
- package/dist/stzh-components/p-8f19c3ec.entry.js.map +0 -1
- package/dist/stzh-components/p-91b360c9.entry.js +0 -2
- package/dist/stzh-components/p-9b19785c.entry.js +0 -2
- package/dist/stzh-components/p-9b19785c.entry.js.map +0 -1
- package/dist/stzh-components/p-af7562ba.entry.js.map +0 -1
- package/dist/stzh-components/p-af87b81a.entry.js.map +0 -1
- package/dist/stzh-components/p-b22876e5.entry.js.map +0 -1
- package/dist/stzh-components/p-b2920d7f.entry.js +0 -2
- package/dist/stzh-components/p-b2920d7f.entry.js.map +0 -1
- package/dist/stzh-components/p-ca76966e.entry.js +0 -2
- package/dist/stzh-components/p-d6a4fe56.entry.js +0 -2
- package/dist/stzh-components/p-d6a4fe56.entry.js.map +0 -1
- package/dist/stzh-components/p-ea423877.entry.js +0 -2
- package/dist/stzh-components/p-ea423877.entry.js.map +0 -1
- package/dist/stzh-components/p-ef849bb1.entry.js +0 -2
- package/dist/stzh-components/p-ef849bb1.entry.js.map +0 -1
- package/dist/stzh-components/p-f5809e5f.entry.js +0 -2
- package/dist/stzh-components/p-f5809e5f.entry.js.map +0 -1
- package/dist/stzh-components/p-f692c5d0.entry.js +0 -2
- package/dist/stzh-components/p-f692c5d0.entry.js.map +0 -1
- package/dist/stzh-components/p-f7979f2a.entry.js +0 -2
- package/dist/stzh-components/p-faec0661.entry.js.map +0 -1
- /package/dist/stzh-components/{p-f06b2737.js.map → p-cc1f8acc.js.map} +0 -0
|
@@ -0,0 +1,387 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Colors
|
|
3
|
+
*/
|
|
4
|
+
/* Signal colors */
|
|
5
|
+
/* Old colors (TODO: cleanup when not needed anymore) */
|
|
6
|
+
/**
|
|
7
|
+
* Base
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* Selection
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Flyingfocus
|
|
14
|
+
*/
|
|
15
|
+
/**
|
|
16
|
+
* Icons
|
|
17
|
+
*/
|
|
18
|
+
/**
|
|
19
|
+
* Link
|
|
20
|
+
*/
|
|
21
|
+
/**
|
|
22
|
+
* Text
|
|
23
|
+
*/
|
|
24
|
+
/**
|
|
25
|
+
* Section
|
|
26
|
+
*/
|
|
27
|
+
/**
|
|
28
|
+
* Header
|
|
29
|
+
*/
|
|
30
|
+
/**
|
|
31
|
+
* Footer
|
|
32
|
+
*/
|
|
33
|
+
/**
|
|
34
|
+
* Fieldset
|
|
35
|
+
*/
|
|
36
|
+
/**
|
|
37
|
+
* Progressbar
|
|
38
|
+
*/
|
|
39
|
+
/**
|
|
40
|
+
* Loader
|
|
41
|
+
*/
|
|
42
|
+
/**
|
|
43
|
+
* Table
|
|
44
|
+
*/
|
|
45
|
+
/**
|
|
46
|
+
* Heading
|
|
47
|
+
*/
|
|
48
|
+
/**
|
|
49
|
+
* Text
|
|
50
|
+
*/
|
|
51
|
+
/**
|
|
52
|
+
* Menu (Item)
|
|
53
|
+
*/
|
|
54
|
+
/**
|
|
55
|
+
* Form Elements (Input / Checkbox / Radio / Select / Datepicker)
|
|
56
|
+
*/
|
|
57
|
+
/**
|
|
58
|
+
* Popover
|
|
59
|
+
*/
|
|
60
|
+
/**
|
|
61
|
+
* Tooltips
|
|
62
|
+
*/
|
|
63
|
+
/**
|
|
64
|
+
* Dialogs / Popover
|
|
65
|
+
*/
|
|
66
|
+
/**
|
|
67
|
+
* Overlays
|
|
68
|
+
*/
|
|
69
|
+
/**
|
|
70
|
+
* Accordions
|
|
71
|
+
*/
|
|
72
|
+
/**
|
|
73
|
+
* Timeline
|
|
74
|
+
*/
|
|
75
|
+
/**
|
|
76
|
+
* Buttons
|
|
77
|
+
*/
|
|
78
|
+
/**
|
|
79
|
+
* Ratios
|
|
80
|
+
*/
|
|
81
|
+
/**
|
|
82
|
+
* Pagetitle
|
|
83
|
+
*/
|
|
84
|
+
/**
|
|
85
|
+
* TopnewsMostsearched
|
|
86
|
+
*/
|
|
87
|
+
/**
|
|
88
|
+
* Calendar
|
|
89
|
+
*/
|
|
90
|
+
/**
|
|
91
|
+
* Cta
|
|
92
|
+
*/
|
|
93
|
+
/**
|
|
94
|
+
* Toasts
|
|
95
|
+
*/
|
|
96
|
+
/**
|
|
97
|
+
* Box Shadows
|
|
98
|
+
*/
|
|
99
|
+
/**
|
|
100
|
+
* Z-Indexes
|
|
101
|
+
* Inspired by https://www.duetds.com/tokens/#z-index
|
|
102
|
+
*/
|
|
103
|
+
/**
|
|
104
|
+
* Icon sizes
|
|
105
|
+
*/
|
|
106
|
+
/**
|
|
107
|
+
* Grid
|
|
108
|
+
*/
|
|
109
|
+
/**
|
|
110
|
+
* Container
|
|
111
|
+
*/
|
|
112
|
+
/**
|
|
113
|
+
* Breakpoints
|
|
114
|
+
*/
|
|
115
|
+
/**
|
|
116
|
+
* Ratios
|
|
117
|
+
*/
|
|
118
|
+
/**
|
|
119
|
+
* Spaces
|
|
120
|
+
*/
|
|
121
|
+
/**
|
|
122
|
+
* Fonts
|
|
123
|
+
*/
|
|
124
|
+
:host {
|
|
125
|
+
font-family: var(--stzh-font-family-medium);
|
|
126
|
+
font-weight: var(--stzh-font-weight-medium);
|
|
127
|
+
font-style: var(--stzh-font-style-medium);
|
|
128
|
+
color: var(--stzh-base-color);
|
|
129
|
+
box-sizing: border-box;
|
|
130
|
+
display: block;
|
|
131
|
+
/* default outline value, which will be applied to all elements receiving focus
|
|
132
|
+
the .has-focus class is used by the focus target */
|
|
133
|
+
}
|
|
134
|
+
:host[hidden] {
|
|
135
|
+
display: none;
|
|
136
|
+
}
|
|
137
|
+
:host::-moz-selection {
|
|
138
|
+
color: var(--stzh-selection-color);
|
|
139
|
+
background-color: var(--stzh-selection-background-color);
|
|
140
|
+
}
|
|
141
|
+
:host::selection {
|
|
142
|
+
color: var(--stzh-selection-color);
|
|
143
|
+
background-color: var(--stzh-selection-background-color);
|
|
144
|
+
}
|
|
145
|
+
:host *,
|
|
146
|
+
:host *::before,
|
|
147
|
+
:host *::after {
|
|
148
|
+
box-sizing: border-box;
|
|
149
|
+
text-underline-offset: var(--stzh-link-text-underline-offset);
|
|
150
|
+
text-decoration-thickness: var(--stzh-link-text-decoration-thickness);
|
|
151
|
+
-webkit-text-decoration-skip-ink: var(--stzh-link-text-decoration-skip-ink);
|
|
152
|
+
text-decoration-skip-ink: var(--stzh-link-text-decoration-skip-ink);
|
|
153
|
+
}
|
|
154
|
+
:host .has-focus {
|
|
155
|
+
outline: var(--stzh-flyingfocus-color) solid 0.125rem;
|
|
156
|
+
outline-offset: 0.125rem;
|
|
157
|
+
}
|
|
158
|
+
:host .stzh-fylingfocus-focused {
|
|
159
|
+
outline-style: none !important;
|
|
160
|
+
}
|
|
161
|
+
:host .stzh-fylingfocus-focused::-moz-focus-inner {
|
|
162
|
+
border: 0 !important;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* @prop --background-color-topnews: Background color of top news section
|
|
167
|
+
* @prop --background-color-mostsearched: Background color of top most searched section
|
|
168
|
+
*/
|
|
169
|
+
:host {
|
|
170
|
+
--background-color-topnews: var(--stzh-topnews-background-color);
|
|
171
|
+
--background-color-mostsearched: var(--stzh-mostsearched-background-color);
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.stzh-homepage-service-highlights {
|
|
175
|
+
display: grid;
|
|
176
|
+
/**
|
|
177
|
+
* Top news.
|
|
178
|
+
*/
|
|
179
|
+
/**
|
|
180
|
+
* Most searched.
|
|
181
|
+
*/
|
|
182
|
+
}
|
|
183
|
+
.stzh-homepage-service-highlights__topnews, .stzh-homepage-service-highlights__mostsearched {
|
|
184
|
+
display: flex;
|
|
185
|
+
flex-direction: column;
|
|
186
|
+
}
|
|
187
|
+
@media screen and (min-width: 900px) {
|
|
188
|
+
.stzh-homepage-service-highlights--has-topnews {
|
|
189
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
.stzh-homepage-service-highlights .stzh-topnews-item {
|
|
193
|
+
padding-top: var(--stzh-space-medium);
|
|
194
|
+
padding-bottom: var(--stzh-space-medium);
|
|
195
|
+
padding-left: var(--stzh-space-large);
|
|
196
|
+
padding-right: var(--stzh-space-large);
|
|
197
|
+
flex-grow: 1;
|
|
198
|
+
display: flex;
|
|
199
|
+
flex-direction: column;
|
|
200
|
+
justify-content: center;
|
|
201
|
+
}
|
|
202
|
+
@media screen and (min-width: 600px) {
|
|
203
|
+
.stzh-homepage-service-highlights .stzh-topnews-item {
|
|
204
|
+
padding-top: var(--stzh-space-large);
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
@media screen and (min-width: 900px) {
|
|
208
|
+
.stzh-homepage-service-highlights .stzh-topnews-item {
|
|
209
|
+
padding-top: var(--stzh-space-xlarge);
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
@media screen and (min-width: 1260px) {
|
|
213
|
+
.stzh-homepage-service-highlights .stzh-topnews-item {
|
|
214
|
+
padding-top: var(--stzh-space-xxlarge);
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
@media screen and (min-width: 600px) {
|
|
218
|
+
.stzh-homepage-service-highlights .stzh-topnews-item {
|
|
219
|
+
padding-bottom: var(--stzh-space-large);
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
@media screen and (min-width: 900px) {
|
|
223
|
+
.stzh-homepage-service-highlights .stzh-topnews-item {
|
|
224
|
+
padding-bottom: var(--stzh-space-xlarge);
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
@media screen and (min-width: 1260px) {
|
|
228
|
+
.stzh-homepage-service-highlights .stzh-topnews-item {
|
|
229
|
+
padding-bottom: var(--stzh-space-xxlarge);
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
@media screen and (min-width: 600px) {
|
|
233
|
+
.stzh-homepage-service-highlights .stzh-topnews-item {
|
|
234
|
+
padding-left: 2rem;
|
|
235
|
+
padding-right: 2rem;
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
@media screen and (min-width: 900px) {
|
|
239
|
+
.stzh-homepage-service-highlights .stzh-topnews-item {
|
|
240
|
+
padding-left: 2.5rem;
|
|
241
|
+
padding-right: 2.5rem;
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
@media screen and (min-width: 1260px) {
|
|
245
|
+
.stzh-homepage-service-highlights .stzh-topnews-item {
|
|
246
|
+
padding-left: 4rem;
|
|
247
|
+
padding-right: 4rem;
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
@media screen and (min-width: 1600px) {
|
|
251
|
+
.stzh-homepage-service-highlights .stzh-topnews-item {
|
|
252
|
+
padding-left: calc(((100vw - 84.25rem - var(--stzh-scrollbar-width, 0px)) / 2));
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
.stzh-homepage-service-highlights .stzh-topnews-item--has-link {
|
|
256
|
+
transition: background-color 150ms ease;
|
|
257
|
+
text-decoration: none;
|
|
258
|
+
}
|
|
259
|
+
.stzh-homepage-service-highlights .stzh-topnews-item--has-link:hover {
|
|
260
|
+
background-color: var(--stzh-color-secondary40);
|
|
261
|
+
}
|
|
262
|
+
.stzh-homepage-service-highlights .stzh-topnews-item--highlighted {
|
|
263
|
+
background-color: var(--stzh-color-lemonyellow50);
|
|
264
|
+
}
|
|
265
|
+
.stzh-homepage-service-highlights .stzh-topnews-item--highlighted.stzh-topnews-item--has-link:hover {
|
|
266
|
+
background-color: var(--stzh-color-lemonyellow60);
|
|
267
|
+
}
|
|
268
|
+
.stzh-homepage-service-highlights .stzh-topnews-item__subtitle {
|
|
269
|
+
--color: var(--stzh-color-primary70);
|
|
270
|
+
}
|
|
271
|
+
.stzh-homepage-service-highlights .stzh-topnews-item--highlighted .stzh-topnews-item__subtitle {
|
|
272
|
+
--color: var(--stzh-color-secondary60);
|
|
273
|
+
}
|
|
274
|
+
.stzh-homepage-service-highlights .stzh-topnews-item.stzh-topnews-item--has-link:not(.stzh-topnews-item--highlighted):hover .stzh-topnews-item__label {
|
|
275
|
+
--color: var(--stzh-color-primary80);
|
|
276
|
+
}
|
|
277
|
+
.stzh-homepage-service-highlights .stzh-topnews-item--highlighted:hover .stzh-topnews-item__subtitle {
|
|
278
|
+
--color: var(--stzh-color-primary70);
|
|
279
|
+
}
|
|
280
|
+
.stzh-homepage-service-highlights__topnews {
|
|
281
|
+
background-color: var(--background-color-topnews);
|
|
282
|
+
}
|
|
283
|
+
.stzh-homepage-service-highlights__mostsearched {
|
|
284
|
+
background-color: var(--background-color-mostsearched);
|
|
285
|
+
padding-top: var(--stzh-space-medium);
|
|
286
|
+
padding-right: var(--stzh-space-large);
|
|
287
|
+
padding-bottom: var(--stzh-space-medium);
|
|
288
|
+
padding-left: var(--stzh-space-large);
|
|
289
|
+
}
|
|
290
|
+
@media screen and (min-width: 600px) {
|
|
291
|
+
.stzh-homepage-service-highlights__mostsearched {
|
|
292
|
+
padding-top: var(--stzh-space-large);
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
@media screen and (min-width: 900px) {
|
|
296
|
+
.stzh-homepage-service-highlights__mostsearched {
|
|
297
|
+
padding-top: var(--stzh-space-xlarge);
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
@media screen and (min-width: 1260px) {
|
|
301
|
+
.stzh-homepage-service-highlights__mostsearched {
|
|
302
|
+
padding-top: var(--stzh-space-xxlarge);
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
@media screen and (min-width: 600px) {
|
|
306
|
+
.stzh-homepage-service-highlights__mostsearched {
|
|
307
|
+
padding-bottom: var(--stzh-space-large);
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
@media screen and (min-width: 900px) {
|
|
311
|
+
.stzh-homepage-service-highlights__mostsearched {
|
|
312
|
+
padding-bottom: var(--stzh-space-xlarge);
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
@media screen and (min-width: 1260px) {
|
|
316
|
+
.stzh-homepage-service-highlights__mostsearched {
|
|
317
|
+
padding-bottom: var(--stzh-space-xxlarge);
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
@media screen and (min-width: 600px) {
|
|
321
|
+
.stzh-homepage-service-highlights__mostsearched {
|
|
322
|
+
padding-left: 2rem;
|
|
323
|
+
padding-right: 2rem;
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
@media screen and (min-width: 900px) {
|
|
327
|
+
.stzh-homepage-service-highlights__mostsearched {
|
|
328
|
+
padding-left: 2.5rem;
|
|
329
|
+
padding-right: 2.5rem;
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
@media screen and (min-width: 900px) {
|
|
333
|
+
.stzh-homepage-service-highlights:not(.stzh-homepage-service-highlights--has-topnews) .stzh-homepage-service-highlights__mostsearched {
|
|
334
|
+
display: grid;
|
|
335
|
+
gap: 0 var(--stzh-space-large);
|
|
336
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
337
|
+
padding-left: 2.5rem;
|
|
338
|
+
padding-right: 2.5rem;
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
@media screen and (min-width: 1260px) {
|
|
342
|
+
.stzh-homepage-service-highlights:not(.stzh-homepage-service-highlights--has-topnews) .stzh-homepage-service-highlights__mostsearched {
|
|
343
|
+
padding-left: 4rem;
|
|
344
|
+
padding-right: 4rem;
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
@media screen and (min-width: 1600px) {
|
|
348
|
+
.stzh-homepage-service-highlights:not(.stzh-homepage-service-highlights--has-topnews) .stzh-homepage-service-highlights__mostsearched {
|
|
349
|
+
padding-left: calc(((100vw - 84.25rem - var(--stzh-scrollbar-width, 0px)) / 2));
|
|
350
|
+
padding-right: calc(((100vw - 84.25rem - var(--stzh-scrollbar-width, 0px)) / 2));
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
.stzh-homepage-service-highlights .stzh-mostsearched-item {
|
|
354
|
+
padding-top: var(--stzh-space-xsmall);
|
|
355
|
+
padding-bottom: var(--stzh-space-xsmall);
|
|
356
|
+
}
|
|
357
|
+
@media screen and (min-width: 900px) {
|
|
358
|
+
.stzh-homepage-service-highlights .stzh-mostsearched-item {
|
|
359
|
+
padding-top: var(--stzh-space-small);
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
@media screen and (min-width: 1260px) {
|
|
363
|
+
.stzh-homepage-service-highlights .stzh-mostsearched-item {
|
|
364
|
+
padding-top: var(--stzh-space-medium);
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
@media screen and (min-width: 900px) {
|
|
368
|
+
.stzh-homepage-service-highlights .stzh-mostsearched-item {
|
|
369
|
+
padding-bottom: var(--stzh-space-small);
|
|
370
|
+
}
|
|
371
|
+
}
|
|
372
|
+
@media screen and (min-width: 1260px) {
|
|
373
|
+
.stzh-homepage-service-highlights .stzh-mostsearched-item {
|
|
374
|
+
padding-bottom: var(--stzh-space-medium);
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
.stzh-homepage-service-highlights .stzh-mostsearched-item__link {
|
|
378
|
+
--text-decoration-line: none;
|
|
379
|
+
--hover-text-decoration-line: none;
|
|
380
|
+
--hover-color: $linkColor;
|
|
381
|
+
transition: transform 150ms ease;
|
|
382
|
+
}
|
|
383
|
+
@media screen and (min-width: 900px) {
|
|
384
|
+
.stzh-homepage-service-highlights .stzh-mostsearched-item__link:hover {
|
|
385
|
+
transform: translateX(1.25rem);
|
|
386
|
+
}
|
|
387
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { test } from "@playwright/test";
|
|
2
|
+
import { visualDiff } from "../../../.build/test/utils";
|
|
3
|
+
const URL = "components-pagetitle";
|
|
4
|
+
const STORIES = [
|
|
5
|
+
"default",
|
|
6
|
+
"without-image",
|
|
7
|
+
"without-lead",
|
|
8
|
+
"without-image-and-background",
|
|
9
|
+
"with-tag-without-image",
|
|
10
|
+
"with-disturber",
|
|
11
|
+
];
|
|
12
|
+
test.describe("pagetitle", () => {
|
|
13
|
+
STORIES.forEach((storyId) => {
|
|
14
|
+
test(`story ${storyId} visual diff`, async ({ page }) => {
|
|
15
|
+
await visualDiff({
|
|
16
|
+
storyId,
|
|
17
|
+
page,
|
|
18
|
+
url: URL
|
|
19
|
+
});
|
|
20
|
+
});
|
|
21
|
+
});
|
|
22
|
+
});
|
|
23
|
+
//# sourceMappingURL=stzh-homepage-service-highlights.e2e.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stzh-homepage-service-highlights.e2e.js","sourceRoot":"","sources":["../../../../src/components/stzh-homepage-service-highlights/stzh-homepage-service-highlights.e2e.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAExD,MAAM,GAAG,GAAG,sBAAsB,CAAC;AAEnC,MAAM,OAAO,GAAG;EACd,SAAS;EACT,eAAe;EACf,cAAc;EACd,8BAA8B;EAC9B,wBAAwB;EACxB,gBAAgB;CACjB,CAAC;AAEF,IAAI,CAAC,QAAQ,CAAC,WAAW,EAAE,GAAG,EAAE;EAC9B,OAAO,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;IAC1B,IAAI,CAAC,SAAS,OAAO,cAAc,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE;MACtD,MAAM,UAAU,CAAC;QACf,OAAO;QACP,IAAI;QACJ,GAAG,EAAE,GAAG;OACT,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;EACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { test } from \"@playwright/test\";\nimport { visualDiff } from \"../../../.build/test/utils\";\n\nconst URL = \"components-pagetitle\";\n\nconst STORIES = [\n \"default\",\n \"without-image\",\n \"without-lead\",\n \"without-image-and-background\",\n \"with-tag-without-image\",\n \"with-disturber\",\n];\n\ntest.describe(\"pagetitle\", () => {\n STORIES.forEach((storyId) => {\n test(`story ${storyId} visual diff`, async ({ page }) => {\n await visualDiff({\n storyId,\n page,\n url: URL\n });\n });\n });\n});\n"]}
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
import { Fragment, h, Host } from "@stencil/core";
|
|
2
|
+
export class StzhHomepageServiceHighlights {
|
|
3
|
+
constructor() {
|
|
4
|
+
this._topnewsItems = [];
|
|
5
|
+
this._mostsearchedItems = [];
|
|
6
|
+
this.init = () => {
|
|
7
|
+
this.topnewsItemsWatcher(this.topnewsItems);
|
|
8
|
+
this.mostsearchedItemsWatcher(this.mostsearchedItems);
|
|
9
|
+
};
|
|
10
|
+
this.topnewsItems = [];
|
|
11
|
+
this.mostsearchedItems = [];
|
|
12
|
+
}
|
|
13
|
+
topnewsItemsWatcher(newValue) {
|
|
14
|
+
if (!newValue) {
|
|
15
|
+
this._topnewsItems = [];
|
|
16
|
+
}
|
|
17
|
+
else if (typeof newValue === "string") {
|
|
18
|
+
try {
|
|
19
|
+
const parsed = JSON.parse(newValue);
|
|
20
|
+
this._topnewsItems = this.ensureSingleHighlight(parsed);
|
|
21
|
+
}
|
|
22
|
+
catch (e) {
|
|
23
|
+
this._topnewsItems = [];
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
this._topnewsItems = this.ensureSingleHighlight(newValue);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
mostsearchedItemsWatcher(newValue) {
|
|
31
|
+
if (!newValue) {
|
|
32
|
+
this._mostsearchedItems = [];
|
|
33
|
+
}
|
|
34
|
+
else if (typeof newValue === "string") {
|
|
35
|
+
try {
|
|
36
|
+
this._mostsearchedItems = JSON.parse(newValue);
|
|
37
|
+
}
|
|
38
|
+
catch (e) {
|
|
39
|
+
this._mostsearchedItems = [];
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
else {
|
|
43
|
+
this._mostsearchedItems = newValue;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
ensureSingleHighlight(items) {
|
|
47
|
+
let foundHighlighted = false;
|
|
48
|
+
return items.map(item => {
|
|
49
|
+
if (item.isHighlighted) {
|
|
50
|
+
if (!foundHighlighted) {
|
|
51
|
+
foundHighlighted = true;
|
|
52
|
+
return item;
|
|
53
|
+
}
|
|
54
|
+
else {
|
|
55
|
+
// Remove highlight from subsequent items
|
|
56
|
+
return Object.assign(Object.assign({}, item), { isHighlighted: false });
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
return item;
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
connectedCallback() {
|
|
63
|
+
this.init();
|
|
64
|
+
}
|
|
65
|
+
renderTopnewsItemInner(item) {
|
|
66
|
+
return (h(Fragment, null, !!item.subtitle && h("stzh-text", { class: "stzh-topnews-item__subtitle" }, item.subtitle), h("stzh-heading", { class: "stzh-topnews-item__label" }, item.label)));
|
|
67
|
+
}
|
|
68
|
+
render() {
|
|
69
|
+
const classes = {
|
|
70
|
+
"stzh-homepage-service-highlights": true,
|
|
71
|
+
"stzh-homepage-service-highlights--has-topnews": this._topnewsItems.length > 0,
|
|
72
|
+
};
|
|
73
|
+
return (h(Host, null, h("div", { class: classes }, this._topnewsItems.length > 0 && (h("div", { class: "stzh-homepage-service-highlights__topnews" }, this._topnewsItems.map(item => !!item.href ? (h("a", { href: item.href, class: {
|
|
74
|
+
"stzh-topnews-item": true,
|
|
75
|
+
"stzh-topnews-item--highlighted": item.isHighlighted,
|
|
76
|
+
"stzh-topnews-item--has-link": true,
|
|
77
|
+
} }, this.renderTopnewsItemInner(item))) : (h("div", { class: {
|
|
78
|
+
"stzh-topnews-item": true,
|
|
79
|
+
"stzh-topnews-item--highlighted": item.isHighlighted,
|
|
80
|
+
} }, this.renderTopnewsItemInner(item)))))), this._mostsearchedItems.length > 0 && (h("div", { class: "stzh-homepage-service-highlights__mostsearched" }, this._mostsearchedItems.map(item => (h("div", { class: {
|
|
81
|
+
"stzh-mostsearched-item": true,
|
|
82
|
+
} }, h("stzh-link", { class: "stzh-mostsearched-item__link", href: item.href, icon: "arrow-right" }, item.label)))))))));
|
|
83
|
+
}
|
|
84
|
+
static get is() { return "stzh-homepage-service-highlights"; }
|
|
85
|
+
static get encapsulation() { return "scoped"; }
|
|
86
|
+
static get originalStyleUrls() {
|
|
87
|
+
return {
|
|
88
|
+
"$": ["stzh-homepage-service-highlights.scss"]
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
static get styleUrls() {
|
|
92
|
+
return {
|
|
93
|
+
"$": ["stzh-homepage-service-highlights.css"]
|
|
94
|
+
};
|
|
95
|
+
}
|
|
96
|
+
static get properties() {
|
|
97
|
+
return {
|
|
98
|
+
"topnewsItems": {
|
|
99
|
+
"type": "string",
|
|
100
|
+
"mutable": false,
|
|
101
|
+
"complexType": {
|
|
102
|
+
"original": "StzhTopnewsItem[] | string",
|
|
103
|
+
"resolved": "StzhTopnewsItem[] | string",
|
|
104
|
+
"references": {
|
|
105
|
+
"StzhTopnewsItem": {
|
|
106
|
+
"location": "import",
|
|
107
|
+
"path": "../../index",
|
|
108
|
+
"id": "src/index.ts::StzhTopnewsItem"
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
"required": false,
|
|
113
|
+
"optional": false,
|
|
114
|
+
"docs": {
|
|
115
|
+
"tags": [],
|
|
116
|
+
"text": "Top news items"
|
|
117
|
+
},
|
|
118
|
+
"attribute": "topnews-items",
|
|
119
|
+
"reflect": false,
|
|
120
|
+
"defaultValue": "[]"
|
|
121
|
+
},
|
|
122
|
+
"mostsearchedItems": {
|
|
123
|
+
"type": "string",
|
|
124
|
+
"mutable": false,
|
|
125
|
+
"complexType": {
|
|
126
|
+
"original": "StzhMostsearchedItem[] | string",
|
|
127
|
+
"resolved": "StzhMostsearchedItem[] | string",
|
|
128
|
+
"references": {
|
|
129
|
+
"StzhMostsearchedItem": {
|
|
130
|
+
"location": "import",
|
|
131
|
+
"path": "../../index",
|
|
132
|
+
"id": "src/index.ts::StzhMostsearchedItem"
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
"required": false,
|
|
137
|
+
"optional": false,
|
|
138
|
+
"docs": {
|
|
139
|
+
"tags": [],
|
|
140
|
+
"text": "Most searched items"
|
|
141
|
+
},
|
|
142
|
+
"attribute": "mostsearched-items",
|
|
143
|
+
"reflect": false,
|
|
144
|
+
"defaultValue": "[]"
|
|
145
|
+
}
|
|
146
|
+
};
|
|
147
|
+
}
|
|
148
|
+
static get elementRef() { return "element"; }
|
|
149
|
+
static get watchers() {
|
|
150
|
+
return [{
|
|
151
|
+
"propName": "topnewsItems",
|
|
152
|
+
"methodName": "topnewsItemsWatcher"
|
|
153
|
+
}, {
|
|
154
|
+
"propName": "mostsearchedItems",
|
|
155
|
+
"methodName": "mostsearchedItemsWatcher"
|
|
156
|
+
}];
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
//# sourceMappingURL=stzh-homepage-service-highlights.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stzh-homepage-service-highlights.js","sourceRoot":"","sources":["../../../../src/components/stzh-homepage-service-highlights/stzh-homepage-service-highlights.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAQnF,MAAM,OAAO,6BAA6B;;IAKhC,kBAAa,GAAsB,EAAE,CAAC;IAItC,uBAAkB,GAA2B,EAAE,CAAC;IAkDhD,SAAI,GAAG,GAAG,EAAE;MAClB,IAAI,CAAC,mBAAmB,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;MAC5C,IAAI,CAAC,wBAAwB,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC;IACxD,CAAC,CAAC;wBA1DiD,EAAE;6BAIQ,EAAE;;EAI/D,mBAAmB,CAAC,QAAoC;IACtD,IAAI,CAAC,QAAQ,EAAE;MACb,IAAI,CAAC,aAAa,GAAG,EAAE,CAAC;KACzB;SAAM,IAAI,OAAO,QAAQ,KAAK,QAAQ,EAAE;MACvC,IAAI;QACF,MAAM,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;QACpC,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,qBAAqB,CAAC,MAAM,CAAC,CAAC;OACzD;MAAC,OAAO,CAAC,EAAE;QACV,IAAI,CAAC,aAAa,GAAG,EAAE,CAAC;OACzB;KACF;SAAM;MACL,IAAI,CAAC,aAAa,GAAG,IAAI,CAAC,qBAAqB,CAAC,QAAQ,CAAC,CAAC;KAC3D;EACH,CAAC;EAGD,wBAAwB,CAAC,QAAyC;IAChE,IAAI,CAAC,QAAQ,EAAE;MACb,IAAI,CAAC,kBAAkB,GAAG,EAAE,CAAC;KAC9B;SAAM,IAAI,OAAO,QAAQ,KAAK,QAAQ,EAAE;MACvC,IAAI;QACF,IAAI,CAAC,kBAAkB,GAAG,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;OAChD;MAAC,OAAO,CAAC,EAAE;QACV,IAAI,CAAC,kBAAkB,GAAG,EAAE,CAAC;OAC9B;KACF;SAAM;MACL,IAAI,CAAC,kBAAkB,GAAG,QAAQ,CAAC;KACpC;EACH,CAAC;EAEO,qBAAqB,CAAC,KAAwB;IACpD,IAAI,gBAAgB,GAAG,KAAK,CAAC;IAE7B,OAAO,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;MACtB,IAAI,IAAI,CAAC,aAAa,EAAE;QACtB,IAAI,CAAC,gBAAgB,EAAE;UACrB,gBAAgB,GAAG,IAAI,CAAC;UACxB,OAAO,IAAI,CAAC;SACb;aAAM;UACL,yCAAyC;UACzC,uCAAY,IAAI,KAAE,aAAa,EAAE,KAAK,IAAG;SAC1C;OACF;MACD,OAAO,IAAI,CAAC;IACd,CAAC,CAAC,CAAC;EACL,CAAC;EAOD,iBAAiB;IACf,IAAI,CAAC,IAAI,EAAE,CAAC;EACd,CAAC;EAEO,sBAAsB,CAAC,IAAqB;IAClD,OAAO,CACL,EAAC,QAAQ;MACN,CAAC,CAAC,IAAI,CAAC,QAAQ,IAAI,iBAAW,KAAK,EAAC,6BAA6B,IAAE,IAAI,CAAC,QAAQ,CAAa;MAC9F,oBAAc,KAAK,EAAC,0BAA0B,IAAE,IAAI,CAAC,KAAK,CAAgB,CACjE,CACZ,CAAC;EACJ,CAAC;EAED,MAAM;IACJ,MAAM,OAAO,GAAG;MACd,kCAAkC,EAAE,IAAI;MACxC,+CAA+C,EAAE,IAAI,CAAC,aAAa,CAAC,MAAM,GAAG,CAAC;KAC/E,CAAC;IAEF,OAAO,CACL,EAAC,IAAI;MACH,WAAK,KAAK,EAAE,OAAO;QAChB,IAAI,CAAC,aAAa,CAAC,MAAM,GAAG,CAAC,IAAI,CAChC,WAAK,KAAK,EAAC,2CAA2C,IACnD,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAC7B,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CACZ,SACE,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,KAAK,EAAE;YACL,mBAAmB,EAAE,IAAI;YACzB,gCAAgC,EAAE,IAAI,CAAC,aAAa;YACpD,6BAA6B,EAAE,IAAI;WACpC,IAEA,IAAI,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAChC,CACL,CAAC,CAAC,CAAC,CACF,WACE,KAAK,EAAE;YACL,mBAAmB,EAAE,IAAI;YACzB,gCAAgC,EAAE,IAAI,CAAC,aAAa;WACrD,IAEA,IAAI,CAAC,sBAAsB,CAAC,IAAI,CAAC,CAC9B,CACP,CACF,CACG,CACP;QACA,IAAI,CAAC,kBAAkB,CAAC,MAAM,GAAG,CAAC,IAAI,CACrC,WAAK,KAAK,EAAC,gDAAgD,IACxD,IAAI,CAAC,kBAAkB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,CACnC,WACE,KAAK,EAAE;YACL,wBAAwB,EAAE,IAAI;WAC/B;UAED,iBAAW,KAAK,EAAC,8BAA8B,EAAC,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,IAAI,EAAE,aAAa,IACjF,IAAI,CAAC,KAAK,CACD,CACR,CACP,CAAC,CACE,CACP,CACG,CACD,CACR,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Fragment, h, Host, Prop, Watch } from \"@stencil/core\";\nimport { StzhMostsearchedItem, StzhTopnewsItem } from \"../../index\";\n\n@Component({\n tag: \"stzh-homepage-service-highlights\",\n styleUrl: \"stzh-homepage-service-highlights.scss\",\n scoped: true,\n})\nexport class StzhHomepageServiceHighlights {\n @Element() element: HTMLStzhHomepageServiceHighlightsElement;\n\n /** Top news items */\n @Prop() topnewsItems: StzhTopnewsItem[] | string = [];\n private _topnewsItems: StzhTopnewsItem[] = [];\n\n /** Most searched items */\n @Prop() mostsearchedItems: StzhMostsearchedItem[] | string = [];\n private _mostsearchedItems: StzhMostsearchedItem[] = [];\n\n @Watch(\"topnewsItems\")\n topnewsItemsWatcher(newValue: StzhTopnewsItem[] | string) {\n if (!newValue) {\n this._topnewsItems = [];\n } else if (typeof newValue === \"string\") {\n try {\n const parsed = JSON.parse(newValue);\n this._topnewsItems = this.ensureSingleHighlight(parsed);\n } catch (e) {\n this._topnewsItems = [];\n }\n } else {\n this._topnewsItems = this.ensureSingleHighlight(newValue);\n }\n }\n\n @Watch(\"mostsearchedItems\")\n mostsearchedItemsWatcher(newValue: StzhMostsearchedItem[] | string) {\n if (!newValue) {\n this._mostsearchedItems = [];\n } else if (typeof newValue === \"string\") {\n try {\n this._mostsearchedItems = JSON.parse(newValue);\n } catch (e) {\n this._mostsearchedItems = [];\n }\n } else {\n this._mostsearchedItems = newValue;\n }\n }\n\n private ensureSingleHighlight(items: StzhTopnewsItem[]): StzhTopnewsItem[] {\n let foundHighlighted = false;\n\n return items.map(item => {\n if (item.isHighlighted) {\n if (!foundHighlighted) {\n foundHighlighted = true;\n return item;\n } else {\n // Remove highlight from subsequent items\n return { ...item, isHighlighted: false };\n }\n }\n return item;\n });\n }\n\n private init = () => {\n this.topnewsItemsWatcher(this.topnewsItems);\n this.mostsearchedItemsWatcher(this.mostsearchedItems);\n };\n\n connectedCallback() {\n this.init();\n }\n\n private renderTopnewsItemInner(item: StzhTopnewsItem): HTMLElement {\n return (\n <Fragment>\n {!!item.subtitle && <stzh-text class=\"stzh-topnews-item__subtitle\">{item.subtitle}</stzh-text>}\n <stzh-heading class=\"stzh-topnews-item__label\">{item.label}</stzh-heading>\n </Fragment>\n );\n }\n\n render() {\n const classes = {\n \"stzh-homepage-service-highlights\": true,\n \"stzh-homepage-service-highlights--has-topnews\": this._topnewsItems.length > 0,\n };\n\n return (\n <Host>\n <div class={classes}>\n {this._topnewsItems.length > 0 && (\n <div class=\"stzh-homepage-service-highlights__topnews\">\n {this._topnewsItems.map(item =>\n !!item.href ? (\n <a\n href={item.href}\n class={{\n \"stzh-topnews-item\": true,\n \"stzh-topnews-item--highlighted\": item.isHighlighted,\n \"stzh-topnews-item--has-link\": true,\n }}\n >\n {this.renderTopnewsItemInner(item)}\n </a>\n ) : (\n <div\n class={{\n \"stzh-topnews-item\": true,\n \"stzh-topnews-item--highlighted\": item.isHighlighted,\n }}\n >\n {this.renderTopnewsItemInner(item)}\n </div>\n )\n )}\n </div>\n )}\n {this._mostsearchedItems.length > 0 && (\n <div class=\"stzh-homepage-service-highlights__mostsearched\">\n {this._mostsearchedItems.map(item => (\n <div\n class={{\n \"stzh-mostsearched-item\": true,\n }}\n >\n <stzh-link class=\"stzh-mostsearched-item__link\" href={item.href} icon={\"arrow-right\"}>\n {item.label}\n </stzh-link>\n </div>\n ))}\n </div>\n )}\n </div>\n </Host>\n );\n }\n}\n"]}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { createComponentStory } from '../../utils/story-utils';
|
|
2
|
+
import { withActions } from '@storybook/addon-actions/decorator';
|
|
3
|
+
import readme from './readme.md?raw';
|
|
4
|
+
import { withDesign } from 'storybook-addon-designs';
|
|
5
|
+
import { getFigmaLink } from '../../../figma';
|
|
6
|
+
|
|
7
|
+
const COMPONENT_NAME = 'stzh-homepage-service-highlights';
|
|
8
|
+
const story = createComponentStory(COMPONENT_NAME);
|
|
9
|
+
|
|
10
|
+
const TEMPLATE = `
|
|
11
|
+
<stzh-homepage-service-highlights ></stzh-homepage-service-highlights>;
|
|
12
|
+
`;
|
|
13
|
+
|
|
14
|
+
const topnewsItems = [
|
|
15
|
+
{
|
|
16
|
+
subtitle: 'Lorem Ipsum',
|
|
17
|
+
label: 'Fristerstreckung für die Steuerklärung 2023 beantragen',
|
|
18
|
+
href: '#',
|
|
19
|
+
isHighlighted: true
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
subtitle: 'Top News',
|
|
23
|
+
label: 'Schulferien publiziert',
|
|
24
|
+
href: '#'
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
subtitle: 'Top News',
|
|
28
|
+
label: 'Schulferien publiziert',
|
|
29
|
+
href: '#'
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
subtitle: 'Information',
|
|
33
|
+
label: 'Ohne Link'
|
|
34
|
+
}
|
|
35
|
+
];
|
|
36
|
+
|
|
37
|
+
const mostsearchedItems = [
|
|
38
|
+
{
|
|
39
|
+
label: 'Fristerstreckung für die Steuerklärung 2023 beantragen',
|
|
40
|
+
href: '#'
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
label: 'Schulferien 2024 / 2025',
|
|
44
|
+
href: '#'
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
label: 'Betreibungsauszug bestellen',
|
|
48
|
+
href: '#'
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
label: 'Tagesparkkarte kaufen',
|
|
52
|
+
href: '#'
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
label: 'Verkehrsbusse bezahlen',
|
|
56
|
+
href: '#'
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
label: 'Steuern verwalten',
|
|
60
|
+
href: '#'
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
label: 'Entsorgungskalender',
|
|
64
|
+
href: '#'
|
|
65
|
+
}
|
|
66
|
+
];
|
|
67
|
+
|
|
68
|
+
export default {
|
|
69
|
+
title: 'Components/HomepageServiceHighlights',
|
|
70
|
+
component: COMPONENT_NAME,
|
|
71
|
+
parameters: {
|
|
72
|
+
layout: 'fullwidth',
|
|
73
|
+
docs: {
|
|
74
|
+
description: {
|
|
75
|
+
component: readme
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
design: {
|
|
79
|
+
type: 'figma',
|
|
80
|
+
url: getFigmaLink('Absolut Startseite'),
|
|
81
|
+
allowFullscreen: true
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
decorators: [withActions, withDesign]
|
|
85
|
+
};
|
|
86
|
+
|
|
87
|
+
export const Default = {
|
|
88
|
+
render: (args) => story(args, TEMPLATE),
|
|
89
|
+
args: {
|
|
90
|
+
'topnews-items': topnewsItems,
|
|
91
|
+
'mostsearched-items': mostsearchedItems
|
|
92
|
+
}
|
|
93
|
+
};
|
|
94
|
+
|
|
95
|
+
export const WithoutTopnews = {
|
|
96
|
+
render: (args) => story(args, TEMPLATE),
|
|
97
|
+
args: {
|
|
98
|
+
'mostsearched-items': mostsearchedItems
|
|
99
|
+
}
|
|
100
|
+
};
|