@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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Fragment, h, Host, readTask, writeTask, } from "@stencil/core";
|
|
2
2
|
import { hasSlot } from "../../utils/utils";
|
|
3
3
|
import { media } from "../../utils/media-utils";
|
|
4
4
|
import { tabbable } from "tabbable";
|
|
@@ -18,8 +18,7 @@ export class StzhHeader {
|
|
|
18
18
|
this.lastOpener = null;
|
|
19
19
|
this.flyoutOpenedByMetanavItem = null;
|
|
20
20
|
this.handleMenuListFocusout = (event) => {
|
|
21
|
-
const isNextFocusOutOfMenuList = !event.currentTarget
|
|
22
|
-
.contains(event.relatedTarget);
|
|
21
|
+
const isNextFocusOutOfMenuList = !event.currentTarget.contains(event.relatedTarget);
|
|
23
22
|
if (this.isMedium && isNextFocusOutOfMenuList) {
|
|
24
23
|
this.closeMenuItem(false);
|
|
25
24
|
}
|
|
@@ -30,21 +29,36 @@ export class StzhHeader {
|
|
|
30
29
|
this.closeMetanavItem();
|
|
31
30
|
}
|
|
32
31
|
else {
|
|
32
|
+
this.flyoutSearchOpen = false;
|
|
33
33
|
this.flyoutOpen = !this.flyoutOpen;
|
|
34
34
|
}
|
|
35
35
|
// focus first menu item
|
|
36
|
-
const element = this.element.querySelector(
|
|
36
|
+
const element = this.element.querySelector(".stzh-header__menu-item");
|
|
37
|
+
if (element) {
|
|
38
|
+
window.setTimeout(() => {
|
|
39
|
+
element.focus();
|
|
40
|
+
}, 100);
|
|
41
|
+
}
|
|
42
|
+
this.updatePosition();
|
|
43
|
+
};
|
|
44
|
+
this.handleSearchButtonClick = async () => {
|
|
45
|
+
this.flyoutOpen = false;
|
|
46
|
+
this.flyoutSearchOpen = !this.flyoutSearchOpen;
|
|
47
|
+
// focus first search input
|
|
48
|
+
const element = this.element.querySelector(".stzh-search input[type='search']");
|
|
37
49
|
if (element) {
|
|
38
50
|
window.setTimeout(() => {
|
|
39
51
|
element.focus();
|
|
40
52
|
}, 100);
|
|
41
53
|
}
|
|
42
|
-
// await this.waitForNextRender();
|
|
43
54
|
this.updatePosition();
|
|
44
55
|
};
|
|
45
56
|
this.handleBackdropClick = async () => {
|
|
46
57
|
this.flyoutOpen = false;
|
|
47
|
-
|
|
58
|
+
this.updatePosition();
|
|
59
|
+
};
|
|
60
|
+
this.handleBackdropSearchClick = async () => {
|
|
61
|
+
this.flyoutSearchOpen = false;
|
|
48
62
|
this.updatePosition();
|
|
49
63
|
};
|
|
50
64
|
this.handleMetanavItemClick = (event, item) => {
|
|
@@ -54,6 +68,20 @@ export class StzhHeader {
|
|
|
54
68
|
originalEvent: event,
|
|
55
69
|
});
|
|
56
70
|
};
|
|
71
|
+
this.handleMetanavItemChildClick = (event, itemChild) => {
|
|
72
|
+
this.stzhMetanavItemChildClick.emit({
|
|
73
|
+
component: "stzh-header",
|
|
74
|
+
itemChild: itemChild,
|
|
75
|
+
originalEvent: event,
|
|
76
|
+
});
|
|
77
|
+
};
|
|
78
|
+
this.handleMetanavItemButtonClick = (event, itemButton) => {
|
|
79
|
+
this.stzhMetanavItemButtonClick.emit({
|
|
80
|
+
component: "stzh-header",
|
|
81
|
+
itemButton: itemButton,
|
|
82
|
+
originalEvent: event,
|
|
83
|
+
});
|
|
84
|
+
};
|
|
57
85
|
this.handleMenuItemClick = (event, item) => {
|
|
58
86
|
this.flyoutOpen = false;
|
|
59
87
|
this.stzhMenuItemClick.emit({
|
|
@@ -67,7 +95,7 @@ export class StzhHeader {
|
|
|
67
95
|
this.stzhSearchChange.emit({
|
|
68
96
|
component: "stzh-header",
|
|
69
97
|
originalEvent: event,
|
|
70
|
-
value: this.searchValue
|
|
98
|
+
value: this.searchValue,
|
|
71
99
|
});
|
|
72
100
|
};
|
|
73
101
|
this.handleSearchChange = (event) => {
|
|
@@ -75,7 +103,7 @@ export class StzhHeader {
|
|
|
75
103
|
this.stzhSearchChanged.emit({
|
|
76
104
|
component: "stzh-header",
|
|
77
105
|
originalEvent: event,
|
|
78
|
-
value: this.searchValue
|
|
106
|
+
value: this.searchValue,
|
|
79
107
|
});
|
|
80
108
|
};
|
|
81
109
|
this.handleLanguageClick = (event, dropdownOption) => {
|
|
@@ -85,7 +113,7 @@ export class StzhHeader {
|
|
|
85
113
|
this.languageActive = dropdownOption.value;
|
|
86
114
|
this.stzhLanguageChange.emit({
|
|
87
115
|
component: "stzh-header",
|
|
88
|
-
value: this.languageActive
|
|
116
|
+
value: this.languageActive,
|
|
89
117
|
});
|
|
90
118
|
};
|
|
91
119
|
this.handleFlyoutResize = () => {
|
|
@@ -107,16 +135,12 @@ export class StzhHeader {
|
|
|
107
135
|
this.logobarHeight = ((_c = this.logobarElement) === null || _c === void 0 ? void 0 : _c.offsetHeight) || 0;
|
|
108
136
|
this.headerTop = this.element.offsetTop;
|
|
109
137
|
this.headerHeight = this.metabarHeight + this.logobarHeight;
|
|
110
|
-
// this.headerHeight = this.element.offsetHeight;
|
|
111
|
-
// console.log(this.headerHeight);
|
|
112
|
-
// console.log(this.metabarHeight + this.logobarHeight);
|
|
113
|
-
// console.log(this.metabarHeight, this.logobarHeight);
|
|
114
138
|
});
|
|
115
139
|
writeTask(() => {
|
|
116
|
-
document.documentElement.style.setProperty(
|
|
117
|
-
document.documentElement.style.setProperty(
|
|
118
|
-
document.documentElement.style.setProperty(
|
|
119
|
-
document.documentElement.style.setProperty(
|
|
140
|
+
document.documentElement.style.setProperty("--stzh-header-height", `${this.headerHeight}px`);
|
|
141
|
+
document.documentElement.style.setProperty("--stzh-header-main-height", `${this.mainHeight}px`);
|
|
142
|
+
document.documentElement.style.setProperty("--stzh-header-metabar-height", `${this.metabarHeight}px`);
|
|
143
|
+
document.documentElement.style.setProperty("--stzh-header-logobar-height", `${this.logobarHeight}px`);
|
|
120
144
|
});
|
|
121
145
|
this.scrollListener();
|
|
122
146
|
});
|
|
@@ -135,6 +159,7 @@ export class StzhHeader {
|
|
|
135
159
|
this.languages = [];
|
|
136
160
|
this.languagePreventUrlchange = false;
|
|
137
161
|
this.languageStay = false;
|
|
162
|
+
this.hideMetabar = false;
|
|
138
163
|
this.searchAction = undefined;
|
|
139
164
|
this.searchFieldName = "q";
|
|
140
165
|
this.searchValue = "";
|
|
@@ -145,6 +170,7 @@ export class StzhHeader {
|
|
|
145
170
|
this.paddingTop = undefined;
|
|
146
171
|
this.stickyActive = false;
|
|
147
172
|
this.flyoutOpen = false;
|
|
173
|
+
this.flyoutSearchOpen = false;
|
|
148
174
|
this.searchFilled = undefined;
|
|
149
175
|
this.fixed = false;
|
|
150
176
|
this.fixedTransition = false;
|
|
@@ -155,8 +181,13 @@ export class StzhHeader {
|
|
|
155
181
|
handleKeydown(event) {
|
|
156
182
|
if (event.key === "Escape") {
|
|
157
183
|
this.flyoutOpen = false;
|
|
184
|
+
this.flyoutSearchOpen = false;
|
|
158
185
|
}
|
|
159
186
|
}
|
|
187
|
+
flyoutCloseClicked() {
|
|
188
|
+
this.flyoutSearchOpen = false;
|
|
189
|
+
this.updatePosition();
|
|
190
|
+
}
|
|
160
191
|
async flyoutOpenWatcher(open) {
|
|
161
192
|
if (!open) {
|
|
162
193
|
// reset current open menu when flyout was closed
|
|
@@ -180,28 +211,28 @@ export class StzhHeader {
|
|
|
180
211
|
}
|
|
181
212
|
}
|
|
182
213
|
async fixedWatcher() {
|
|
183
|
-
this.paddingTop = this.fixed || this.flyoutOpen ? this.headerHeight : 0;
|
|
214
|
+
this.paddingTop = this.fixed || this.flyoutOpen || this.flyoutSearchOpen ? this.headerHeight : 0;
|
|
184
215
|
// we don't want to run transitions on applying fixed class (out transition),
|
|
185
216
|
// so we set them in the next render
|
|
186
217
|
await this.waitForNextRender();
|
|
187
|
-
this.fixedTransition = this.fixed || this.flyoutOpen;
|
|
218
|
+
this.fixedTransition = this.fixed || this.flyoutOpen || this.flyoutSearchOpen;
|
|
188
219
|
}
|
|
189
220
|
stickyWatcher() {
|
|
190
221
|
this.updatePosition();
|
|
191
222
|
}
|
|
192
223
|
/** Update position / sticky state of header */
|
|
193
224
|
async updatePosition() {
|
|
194
|
-
if (this.flyoutOpen) {
|
|
225
|
+
if (this.flyoutOpen || this.flyoutSearchOpen) {
|
|
195
226
|
return;
|
|
196
227
|
}
|
|
197
228
|
const activateSticky = () => {
|
|
198
229
|
this.stickyActive = true;
|
|
199
|
-
document.documentElement.style.setProperty(
|
|
200
|
-
document.documentElement.style.setProperty(
|
|
230
|
+
document.documentElement.style.setProperty("--stzh-header-is-stuck", "1");
|
|
231
|
+
document.documentElement.style.setProperty("--stzh-header-is-not-stuck", "0");
|
|
201
232
|
};
|
|
202
233
|
const disableSticky = () => {
|
|
203
|
-
document.documentElement.style.setProperty(
|
|
204
|
-
document.documentElement.style.setProperty(
|
|
234
|
+
document.documentElement.style.setProperty("--stzh-header-is-stuck", "0");
|
|
235
|
+
document.documentElement.style.setProperty("--stzh-header-is-not-stuck", "1");
|
|
205
236
|
this.stickyActive = false;
|
|
206
237
|
};
|
|
207
238
|
if (this.sticky === "disabled") {
|
|
@@ -244,10 +275,11 @@ export class StzhHeader {
|
|
|
244
275
|
this.lastScrollY = this.currentScrollY;
|
|
245
276
|
this.belowStayStickyPoint = this.currentScrollY > this.logobarHeight;
|
|
246
277
|
this.belowStartStickyPoint = this.currentScrollY > this.headerHeight;
|
|
247
|
-
this.fixed =
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
278
|
+
this.fixed =
|
|
279
|
+
this.belowStartStickyPoint ||
|
|
280
|
+
(this.scrollingUp && this.belowStayStickyPoint && this.stickyActive) ||
|
|
281
|
+
(this.sticky === "always" && this.belowStayStickyPoint) ||
|
|
282
|
+
this.sticky === "always-full";
|
|
251
283
|
this.headerOverlap = (this.headerTop - this.currentScrollY) / -1;
|
|
252
284
|
this.hideLogo = this.sticky !== "always-full" && this.isMedium && this.headerOverlap > 1;
|
|
253
285
|
});
|
|
@@ -288,32 +320,32 @@ export class StzhHeader {
|
|
|
288
320
|
if (!this._parentElement) {
|
|
289
321
|
return [];
|
|
290
322
|
}
|
|
291
|
-
return Array.from(this._parentElement.children).filter(
|
|
323
|
+
return Array.from(this._parentElement.children).filter(child => child !== this.element);
|
|
292
324
|
}
|
|
293
325
|
disableSiblings() {
|
|
294
|
-
this.getSiblings().forEach(
|
|
326
|
+
this.getSiblings().forEach(sibling => {
|
|
295
327
|
sibling.setAttribute("aria-hidden", "true");
|
|
296
328
|
});
|
|
297
329
|
}
|
|
298
330
|
enableSiblings() {
|
|
299
|
-
this.getSiblings().forEach(
|
|
331
|
+
this.getSiblings().forEach(sibling => {
|
|
300
332
|
sibling.removeAttribute("aria-hidden");
|
|
301
333
|
});
|
|
302
334
|
}
|
|
303
335
|
waitForNextRender() {
|
|
304
|
-
return new Promise(resolve => this.renderPromiseResolve = resolve);
|
|
336
|
+
return new Promise(resolve => (this.renderPromiseResolve = resolve));
|
|
305
337
|
}
|
|
306
338
|
resizeMenunavElement() {
|
|
307
339
|
// reset height when metanav is sticky, or on medium or no submenu element is open
|
|
308
340
|
if (media("headerMetanavSticky").matches || media("medium").matches || !this.openSubmenuElement) {
|
|
309
341
|
Object.assign(this.menunavElement.style, {
|
|
310
|
-
height: null
|
|
342
|
+
height: null,
|
|
311
343
|
});
|
|
312
344
|
}
|
|
313
345
|
else {
|
|
314
346
|
const { height } = this.openSubmenuElement.getBoundingClientRect();
|
|
315
347
|
Object.assign(this.menunavElement.style, {
|
|
316
|
-
height: `${height}px
|
|
348
|
+
height: `${height}px`,
|
|
317
349
|
});
|
|
318
350
|
}
|
|
319
351
|
}
|
|
@@ -325,8 +357,7 @@ export class StzhHeader {
|
|
|
325
357
|
await this.waitForNextRender();
|
|
326
358
|
requestAnimationFrame(() => {
|
|
327
359
|
this.menunavElement.scrollTop = 0;
|
|
328
|
-
const firstButtonOrLink = this.openSubmenuElement
|
|
329
|
-
&& tabbable(this.openSubmenuElement)[0];
|
|
360
|
+
const firstButtonOrLink = this.openSubmenuElement && tabbable(this.openSubmenuElement)[0];
|
|
330
361
|
firstButtonOrLink === null || firstButtonOrLink === void 0 ? void 0 : firstButtonOrLink.focus();
|
|
331
362
|
this.resizeMenunavElement();
|
|
332
363
|
});
|
|
@@ -353,8 +384,7 @@ export class StzhHeader {
|
|
|
353
384
|
await this.waitForNextRender();
|
|
354
385
|
requestAnimationFrame(() => {
|
|
355
386
|
const openMetanavSubmenuElement = this.element.querySelector(`#${metanavItem.id}`);
|
|
356
|
-
const firstButtonOrLink = openMetanavSubmenuElement
|
|
357
|
-
&& tabbable(openMetanavSubmenuElement)[0];
|
|
387
|
+
const firstButtonOrLink = openMetanavSubmenuElement && tabbable(openMetanavSubmenuElement)[0];
|
|
358
388
|
firstButtonOrLink === null || firstButtonOrLink === void 0 ? void 0 : firstButtonOrLink.focus();
|
|
359
389
|
});
|
|
360
390
|
}
|
|
@@ -379,8 +409,7 @@ export class StzhHeader {
|
|
|
379
409
|
await this.waitForNextRender();
|
|
380
410
|
requestAnimationFrame(() => {
|
|
381
411
|
const openMetanavSubmenuElement = this.element.querySelector("#submenu-languages");
|
|
382
|
-
const firstButtonOrLink = openMetanavSubmenuElement
|
|
383
|
-
&& tabbable(openMetanavSubmenuElement)[0];
|
|
412
|
+
const firstButtonOrLink = openMetanavSubmenuElement && tabbable(openMetanavSubmenuElement)[0];
|
|
384
413
|
firstButtonOrLink === null || firstButtonOrLink === void 0 ? void 0 : firstButtonOrLink.focus();
|
|
385
414
|
});
|
|
386
415
|
}
|
|
@@ -411,6 +440,9 @@ export class StzhHeader {
|
|
|
411
440
|
if (this.flyoutElement && this.flyoutResizeObserver) {
|
|
412
441
|
this.flyoutResizeObserver.observe(this.flyoutElement);
|
|
413
442
|
}
|
|
443
|
+
if (this.flyoutSearchElement && this.flyoutResizeObserver) {
|
|
444
|
+
this.flyoutResizeObserver.observe(this.flyoutSearchElement);
|
|
445
|
+
}
|
|
414
446
|
}
|
|
415
447
|
componentDidLoad() {
|
|
416
448
|
this.trap = createFocusTrap(this.element, Object.assign(Object.assign({}, createBaseFocusTrapOptions()), { initialFocus: false }));
|
|
@@ -437,23 +469,25 @@ export class StzhHeader {
|
|
|
437
469
|
const classes = {
|
|
438
470
|
"stzh-header": true,
|
|
439
471
|
"stzh-header--is-flyout-open": this.flyoutOpen,
|
|
472
|
+
"stzh-header--is-flyout-search-open": this.flyoutSearchOpen,
|
|
440
473
|
"stzh-header--is-search-filled": this.searchFilled,
|
|
441
474
|
"stzh-header--is-fixed": this.fixed,
|
|
442
475
|
"stzh-header--is-fixed-transition": this.fixedTransition,
|
|
443
476
|
"stzh-header--is-sticky": this.stickyActive,
|
|
444
477
|
"stzh-header--is-sticky-transition": this.stickyActive && this.fixedTransition,
|
|
445
478
|
"stzh-header--hide-logo": this.hideLogo,
|
|
446
|
-
"stzh-header--has-empty-metabar-mobile": !metanavBeforeUsed &&
|
|
447
|
-
&&
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
"stzh-header--has-empty-metabar": !metanavBeforeUsed &&
|
|
453
|
-
&&
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
479
|
+
"stzh-header--has-empty-metabar-mobile": !metanavBeforeUsed &&
|
|
480
|
+
!metanavAfterUsed &&
|
|
481
|
+
this._metanavItems.filter(item => item.stay || item.stayAndShowInMobileMenu).length === 0 &&
|
|
482
|
+
this._menuItems.length === 0 &&
|
|
483
|
+
(this._languages.length === 0 || (this._languages.length > 0 && !this.languageStay)) &&
|
|
484
|
+
!this.searchAction,
|
|
485
|
+
"stzh-header--has-empty-metabar": !metanavBeforeUsed &&
|
|
486
|
+
!metanavAfterUsed &&
|
|
487
|
+
this._metanavItems.length === 0 &&
|
|
488
|
+
this._menuItems.length === 0 &&
|
|
489
|
+
this._languages.length === 0 &&
|
|
490
|
+
!this.searchAction,
|
|
457
491
|
[`stzh-header--sticky-${this.sticky}`]: !!this.sticky,
|
|
458
492
|
};
|
|
459
493
|
const activeLanguage = this.languageActive || window.stzhComponents.utils.getLocale(this.element);
|
|
@@ -465,123 +499,95 @@ export class StzhHeader {
|
|
|
465
499
|
"stzh-header__metanav-item-text": true,
|
|
466
500
|
"is-vhidden": item.labelHidden,
|
|
467
501
|
"has-no-short-label": !item.labelShort,
|
|
468
|
-
} }, h("span", { class: "stzh-header__metanav-item-text-label-long" }, item.label), h("span", { class: "stzh-header__metanav-item-text-label-short", "aria-hidden": "true" }, item.labelShort)), item.icon &&
|
|
469
|
-
h("span", { class: "stzh-header__metanav-icon-wrapper" }, item.icon && h("stzh-icon", { class: `stzh-header__metanav-icon ${item.iconOpen ? 'is-close' : ''}`, name: item.icon }), item.iconOpen && h("stzh-icon", { class: "stzh-header__metanav-icon is-open", name: item.iconOpen }), (item.badge || item.badgeEmpty) &&
|
|
470
|
-
h("stzh-badge", { class: "stzh-header__metanav-icon-badge", label: item.badge, type: typeof item.badgeType === "undefined" ? "error" : item.badgeType }))));
|
|
502
|
+
} }, h("span", { class: "stzh-header__metanav-item-text-label-long" }, item.label), h("span", { class: "stzh-header__metanav-item-text-label-short", "aria-hidden": "true" }, item.labelShort)), item.icon && (h("span", { class: "stzh-header__metanav-icon-wrapper" }, item.icon && (h("stzh-icon", { class: `stzh-header__metanav-icon ${item.iconOpen ? "is-close" : ""}`, name: item.icon })), item.iconOpen && h("stzh-icon", { class: "stzh-header__metanav-icon is-open", name: item.iconOpen }), (item.badge || item.badgeEmpty) && (h("stzh-badge", { class: "stzh-header__metanav-icon-badge", label: item.badge, type: typeof item.badgeType === "undefined" ? "error" : item.badgeType }))))));
|
|
471
503
|
};
|
|
472
|
-
return (h(Host, null, h("header", { class: classes }, h("div", { class: "stzh-header__header", style: { paddingTop: `${this.paddingTop}px` } }, h("div", { class: "stzh-header__inner" }, h("div", { class: "stzh-header__main", ref:
|
|
473
|
-
h("button", { id: this.menuId, class: `stzh-header__burger ${this.flyoutOpen && !this.flyoutOpenedByMetanavItem && "is-open"}`, onClick: this.handleBurgerClick }, h("stzh-icon", { class: "stzh-header__burger-icon is-close", name: "menu" }), h("stzh-icon", { class: "stzh-header__burger-icon is-open", name: "close" }), h("div", { class: "stzh-header__burger-text" }, this.localization.menuLabel)), this.searchAction &&
|
|
474
|
-
h("form", { class: "stzh-header__metabar-search", action: this.searchAction, role: "search" }, h("label", { class: "stzh-header__search" }, h("input", { id: this.searchId, ref: (el) => (this.searchInput = el), class: "stzh-header__search-input", type: "search", name: this.searchFieldName, onChange: this.handleSearchChange, onInput: this.handleSearchInput }), h("stzh-icon", { class: "stzh-header__search-icon", name: "search" }), h("div", { class: "stzh-header__search-text" }, this.localization.searchLabel))), h("slot", { name: "menu-after" }), h("div", { class: "stzh-header__metabar-nav", id: this.metanavId }, h("slot", { name: "metanav-before" }), this._metanavItems.map((item) => {
|
|
504
|
+
return (h(Host, null, h("header", { class: classes }, h("div", { class: "stzh-header__header", style: { paddingTop: `${this.paddingTop}px` } }, h("div", { class: "stzh-header__inner" }, h("div", { class: "stzh-header__main", ref: el => (this.mainElement = el) }, h("div", { class: "stzh-header__logobar", ref: el => (this.logobarElement = el) }, h("div", { class: "stzh-header__logobar-logo" }, h("a", { href: this.href, class: "stzh-header__logo-link", "s-object-id": this.logoAnalyticsId || "Header Logo" }, h("slot", { name: "logo" }))), h("div", { class: "stzh-header__logobar-decoration" })), !this.hideMetabar && (h("div", { class: "stzh-header__metabar", ref: el => (this.metabarElement = el) }, h("div", { class: "stzh-header__metabar-inner" }, h("slot", { name: "menu-before" }), this._menuItems.length > 0 && (h("button", { id: this.menuId, class: `stzh-header__burger ${this.flyoutOpen && !this.flyoutOpenedByMetanavItem && "is-open"}`, onClick: this.handleBurgerClick }, h("stzh-icon", { class: "stzh-header__burger-icon is-close", name: "menu" }), h("stzh-icon", { class: "stzh-header__burger-icon is-open", name: "close" }), h("div", { class: "stzh-header__burger-text" }, this.localization.menuLabel))), this.searchAction && !hasSlot(this.element, "search") && (h("form", { class: "stzh-header__metabar-search", action: this.searchAction, role: "search" }, h("label", { class: "stzh-header__search" }, h("input", { id: this.searchId, ref: el => (this.searchInput = el), class: "stzh-header__search-input", type: "search", name: this.searchFieldName, onChange: this.handleSearchChange, onInput: this.handleSearchInput }), h("stzh-icon", { class: "stzh-header__search-icon", name: "search" }), h("div", { class: "stzh-header__search-text" }, this.localization.searchLabel)))), hasSlot(this.element, "search") && (h("stzh-button", { iconPosition: "left", onClick: this.handleSearchButtonClick, variant: "tertiary-plain", size: "small" }, h("stzh-icon", { slot: "icon", name: "search", class: this.flyoutSearchOpen ? "stzh-header__search-button--is-hidden" : "" }), h("stzh-icon", { slot: "icon", name: "close", class: this.flyoutSearchOpen ? "" : "stzh-header__search-button--is-hidden" }), this.localization.searchLabel)), h("slot", { name: "menu-after" }), h("div", { class: "stzh-header__metabar-nav", id: this.metanavId }, h("slot", { name: "metanav-before" }), this._metanavItems.map(item => {
|
|
475
505
|
var _a, _b;
|
|
476
|
-
return ((
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
"is-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
this.handleMetanavItemClick(e, item);
|
|
562
|
-
} }, h("span", { class: {
|
|
563
|
-
"stzh-header__menu-metanav-item-text": true,
|
|
564
|
-
"is-vhidden": item.labelHidden,
|
|
565
|
-
} }, item.label), item.icon && h("stzh-icon", { class: "stzh-header__menu-metanav-item-icon", name: item.icon }))
|
|
566
|
-
:
|
|
567
|
-
h("a", { href: item.href, class: {
|
|
568
|
-
"stzh-header__menu-metanav-item is-level-1": true,
|
|
569
|
-
"is-hidden": item.stay && !item.stayAndShowInMobileMenu
|
|
570
|
-
}, onClick: (e) => {
|
|
571
|
-
this.handleMetanavItemClick(e, item);
|
|
572
|
-
} }, h("span", { class: {
|
|
573
|
-
"stzh-header__menu-metanav-item-text": true,
|
|
574
|
-
"is-vhidden": item.labelHidden,
|
|
575
|
-
} }, item.label), item.icon && h("stzh-icon", { class: "stzh-header__menu-metanav-item-icon", name: item.icon })), ((_b = item.items) === null || _b === void 0 ? void 0 : _b.length) > 0 &&
|
|
576
|
-
h("ul", { id: item.id, class: "stzh-header__menu-metanav-list is-level-2" }, h("li", { class: "stzh-header__menu-metanav-list-item" }, h("div", { class: "stzh-header__menu-metanav-item is-level-2 is-title" }, h("span", null, item.label), h("stzh-button", { class: "stzh-header__menu-metanav-item-icon", variant: "tertiary", icon: "close", iconOnly: true, label: (_c = this.localization.closeMetanavMenuLabel) === null || _c === void 0 ? void 0 : _c.replace(/\{itemLabel\}/gi, item.label), onClick: () => this.closeMetanavItem() }))), item.items.map((item) => h("li", { class: "stzh-header__menu-metanav-list-item" }, h("a", { href: item.href, class: "stzh-header__menu-metanav-item is-level-2" }, item.icon && h("stzh-icon", { class: "stzh-header__menu-metanav-item-icon", name: item.icon }), h("span", { class: "stzh-header__menu-metanav-item-text" }, h("span", null, item.label), item.counter &&
|
|
577
|
-
h("span", { class: "stzh-header__menu-metanav-item-counter" }, "(", item.counter, ")"))))), item.itemButton &&
|
|
578
|
-
h("li", { class: "stzh-header__menu-metanav-list-item" }, h("div", { class: "stzh-header__menu-metanav-item is-level-2 is-action" }, h("stzh-button", { href: item.itemButton.href, target: item.itemButton.target }, item.itemButton.label)))));
|
|
579
|
-
}), ((_f = this._languages) === null || _f === void 0 ? void 0 : _f.length) > 0 &&
|
|
580
|
-
h("li", { class: {
|
|
581
|
-
'stzh-header__menu-metanav-list-item': true,
|
|
582
|
-
'is-open': this.currentOpenLanguage
|
|
583
|
-
} }, h("button", { "aria-expanded": this.currentOpenLanguage ? "true" : "false", "aria-controls": "submenu-languages", class: "stzh-header__menu-metanav-item is-level-1", onClick: (e) => this.openLanguage(e) }, h("span", null, activeLanguageOption === null || activeLanguageOption === void 0 ? void 0 : activeLanguageOption.text), h("stzh-icon", { class: "stzh-header__menu-metanav-item-icon", name: "angle-down" })), h("ul", { id: "submenu-languages", class: "stzh-header__menu-metanav-list is-level-2" }, h("div", { class: "stzh-header__menu-metanav-item is-level-2 is-title" }, h("span", null, this.localization.dialogLanguageTitle), h("stzh-button", { class: "stzh-header__menu-metanav-item-icon", variant: "tertiary", icon: "close", iconOnly: true, label: "Sprach-Dialog schliessen", onClick: () => this.closeLanguage() })), this._languages.map((language) => h("li", { class: "stzh-header__menu-metanav-list-item" }, h("a", { class: "stzh-header__menu-metanav-item is-level-2 is-language", href: language.value, onClick: (event) => this.handleLanguageClick(event, language) }, h("span", null, language.text), (activeLanguageOption === null || activeLanguageOption === void 0 ? void 0 : activeLanguageOption.value) === language.value &&
|
|
584
|
-
h("stzh-icon", { class: "stzh-header__menu-metanav-item-icon", name: "checkmark" }))))))))))))));
|
|
506
|
+
return ((_a = item.items) === null || _a === void 0 ? void 0 : _a.length) > 0 || item.itemButton ? (h(Fragment, null, renderMetanavItemButton(item, {
|
|
507
|
+
"is-popover-mobile": true,
|
|
508
|
+
}, {
|
|
509
|
+
"aria-expanded": item === this.currentOpenMetanavItem ? "true" : "false",
|
|
510
|
+
"aria-controls": item.id,
|
|
511
|
+
onClick: (e) => {
|
|
512
|
+
if (item === this.currentOpenMetanavItem) {
|
|
513
|
+
this.closeMetanavItem();
|
|
514
|
+
}
|
|
515
|
+
else {
|
|
516
|
+
this.openMetanavItem(e, item);
|
|
517
|
+
}
|
|
518
|
+
this.handleMetanavItemClick(e, item);
|
|
519
|
+
},
|
|
520
|
+
}), h("stzh-popover", { class: {
|
|
521
|
+
"stzh-header__metanav-popover": true,
|
|
522
|
+
}, placement: "bottom-end", distance: 20, variant: item.variant, size: typeof item.size === "undefined" ? "large" : item.size }, renderMetanavItemButton(item, {
|
|
523
|
+
"is-popover-desktop": true,
|
|
524
|
+
}, {
|
|
525
|
+
onClick: (e) => {
|
|
526
|
+
this.handleMetanavItemClick(e, item);
|
|
527
|
+
},
|
|
528
|
+
}), h("div", { slot: "content" }, ((_b = item.items) === null || _b === void 0 ? void 0 : _b.length) > 0 && (h("stzh-menu", null, item.items.map(childItem => (h("stzh-menu-item", { class: {
|
|
529
|
+
"stzh-header__metanav-menu-item": true,
|
|
530
|
+
"is-heavy": typeof item.importantSubmenu === "undefined" || item.importantSubmenu,
|
|
531
|
+
}, size: typeof item.size === "undefined" ? "large" : item.size, variant: item.variant, href: childItem.href, target: childItem.target, icon: childItem.icon, counter: childItem.counter, badge: childItem.badge, badgeType: childItem.badgeType, onClick: (e) => { this.handleMetanavItemChildClick(e, childItem); } }, childItem.label)))))), item.itemButton && (h("stzh-button", { slot: "action", size: item.itemButton.size, href: item.itemButton.href, target: item.itemButton.target, onClick: (e) => { this.handleMetanavItemButtonClick(e, item.itemButton); } }, item.itemButton.label))))) : (renderMetanavItemButton(item, {}, {
|
|
532
|
+
onClick: (e) => {
|
|
533
|
+
this.handleMetanavItemClick(e, item);
|
|
534
|
+
},
|
|
535
|
+
}));
|
|
536
|
+
}), ((_c = this._languages) === null || _c === void 0 ? void 0 : _c.length) > 0 && (h(Fragment, null, h("h2", { id: this.languageId, class: "stzh-header__vhidden" }, this.localization.languageLabel), this._menuItems.length > 0 && this.languageStay && (h("button", { class: {
|
|
537
|
+
"stzh-header__metanav-item": true,
|
|
538
|
+
"is-popover-mobile": true,
|
|
539
|
+
"is-stay": this.languageStay,
|
|
540
|
+
}, "aria-expanded": this.currentOpenLanguage ? "true" : "false", "aria-controls": "submenu-languages", onClick: (e) => {
|
|
541
|
+
if (this.currentOpenLanguage) {
|
|
542
|
+
this.closeLanguage();
|
|
543
|
+
}
|
|
544
|
+
else {
|
|
545
|
+
this.openLanguage(e);
|
|
546
|
+
}
|
|
547
|
+
} }, h("span", { class: "stzh-header__metanav-item-text" }, activeLanguageOption === null || activeLanguageOption === void 0 ? void 0 : activeLanguageOption.text), h("stzh-icon", { class: "stzh-header__metanav-icon is-close", name: "angle-down" }), h("stzh-icon", { class: "stzh-header__metanav-icon is-open", name: "angle-up" }))), h("stzh-popover", { class: "stzh-header__metanav-popover is-langnav", placement: "bottom-end", distance: 20 }, h("button", { class: {
|
|
548
|
+
"stzh-header__metanav-item": true,
|
|
549
|
+
"is-popover-desktop": this._menuItems.length > 0,
|
|
550
|
+
"is-stay": this.languageStay,
|
|
551
|
+
} }, h("span", { class: "stzh-header__metanav-item-text" }, activeLanguageOption === null || activeLanguageOption === void 0 ? void 0 : activeLanguageOption.text), h("stzh-icon", { class: "stzh-header__metanav-icon is-close", name: "angle-down" }), h("stzh-icon", { class: "stzh-header__metanav-icon is-open", name: "angle-up" })), h("div", { slot: "content" }, h("stzh-menu", null, this._languages.map(language => (h("stzh-menu-item", { class: "stzh-header__metanav-menu-item", active: (activeLanguageOption === null || activeLanguageOption === void 0 ? void 0 : activeLanguageOption.value) === language.value, href: language.value, onClick: event => this.handleLanguageClick(event, language) }, language.text)))))))), h("slot", { name: "metanav-after" })))))))), this._menuItems.length > 0 && (h("div", { ref: el => (this.flyoutElement = el), class: "stzh-header__flyout" }, h("div", { class: "stzh-header__flyout-backdrop", onClick: this.handleBackdropClick }), h("div", { class: "stzh-header__flyout-scrollbar" }), h("div", { class: "stzh-header__menu" }, h("nav", { class: "stzh-header__menu-nav", ref: el => (this.menunavElement = el), "aria-label": this.localization.navigationLabel }, h("ul", { class: "stzh-header__menu-list is-level-1" }, this._menuItems.map(item => {
|
|
552
|
+
var _a, _b;
|
|
553
|
+
return (h("li", { class: {
|
|
554
|
+
"stzh-header__menu-list-item": true,
|
|
555
|
+
"is-open": item === this.currentOpenMenuItem,
|
|
556
|
+
} }, ((_a = item.items) === null || _a === void 0 ? void 0 : _a.length) > 0 ? (h("button", { "aria-expanded": item === this.currentOpenMenuItem ? "true" : "false", "aria-controls": item.id, class: "stzh-header__menu-item is-level-1 has-items", onClick: item === this.currentOpenMenuItem
|
|
557
|
+
? () => this.closeMenuItem()
|
|
558
|
+
: e => this.openMenuItem(e, item) }, item.label)) : (h("a", { href: item.href, onClick: (e) => this.handleMenuItemClick(e, item), class: "stzh-header__menu-item is-level-1" }, item.label)), ((_b = item.items) === null || _b === void 0 ? void 0 : _b.length) > 0 && (h("ul", { id: item.id, class: "stzh-header__menu-list is-level-2", onFocusout: this.handleMenuListFocusout }, h("li", { class: "stzh-header__menu-list-item is-backlink" }, h("button", { class: "stzh-header__menu-item is-level-2 is-backlink", onClick: () => this.closeMenuItem() }, h("stzh-icon", { name: "angle-left" }), h("span", null, this.menuBackLabel ? this.menuBackLabel : this.localization.menuBackLabel))), h("li", { class: "stzh-header__menu-list-item" }, h("a", { href: item.href, onClick: (e) => this.handleMenuItemClick(e, item), class: "stzh-header__menu-item is-level-2 is-main" }, item.label)), item.items.map(item => (h("li", { class: "stzh-header__menu-list-item" }, h("a", { href: item.href, onClick: (e) => this.handleMenuItemClick(e, item), class: "stzh-header__menu-item is-level-2" }, item.label))))))));
|
|
559
|
+
}))), (((_d = this._metanavItems) === null || _d === void 0 ? void 0 : _d.length) > 0 || ((_e = this._languages) === null || _e === void 0 ? void 0 : _e.length) > 0) && (h("div", { class: "stzh-header__menu-metanav" }, h("nav", { class: "stzh-header__menu-metanav-nav" }, h("ul", { class: "stzh-header__menu-metanav-list is-level-1" }, this._metanavItems.map(item => {
|
|
560
|
+
var _a, _b, _c;
|
|
561
|
+
return (h("li", { class: {
|
|
562
|
+
"stzh-header__menu-metanav-list-item": true,
|
|
563
|
+
"is-open": item === this.currentOpenMetanavItem,
|
|
564
|
+
} }, ((_a = item.items) === null || _a === void 0 ? void 0 : _a.length) > 0 ? (h("button", { "aria-expanded": item === this.currentOpenMetanavItem ? "true" : "false", "aria-controls": item.id, class: {
|
|
565
|
+
"stzh-header__menu-metanav-item is-level-1": true,
|
|
566
|
+
"is-hidden": item.stay && !item.stayAndShowInMobileMenu,
|
|
567
|
+
}, onClick: (e) => {
|
|
568
|
+
if (item === this.currentOpenMetanavItem) {
|
|
569
|
+
this.closeMetanavItem();
|
|
570
|
+
}
|
|
571
|
+
else {
|
|
572
|
+
this.openMetanavItem(e, item);
|
|
573
|
+
}
|
|
574
|
+
this.handleMetanavItemClick(e, item);
|
|
575
|
+
} }, h("span", { class: {
|
|
576
|
+
"stzh-header__menu-metanav-item-text": true,
|
|
577
|
+
"is-vhidden": item.labelHidden,
|
|
578
|
+
} }, item.label), item.icon && (h("stzh-icon", { class: "stzh-header__menu-metanav-item-icon", name: item.icon })))) : (h("a", { href: item.href, class: {
|
|
579
|
+
"stzh-header__menu-metanav-item is-level-1": true,
|
|
580
|
+
"is-hidden": item.stay && !item.stayAndShowInMobileMenu,
|
|
581
|
+
}, onClick: (e) => {
|
|
582
|
+
this.handleMetanavItemClick(e, item);
|
|
583
|
+
} }, h("span", { class: {
|
|
584
|
+
"stzh-header__menu-metanav-item-text": true,
|
|
585
|
+
"is-vhidden": item.labelHidden,
|
|
586
|
+
} }, item.label), item.icon && (h("stzh-icon", { class: "stzh-header__menu-metanav-item-icon", name: item.icon })))), ((_b = item.items) === null || _b === void 0 ? void 0 : _b.length) > 0 && (h("ul", { id: item.id, class: "stzh-header__menu-metanav-list is-level-2" }, h("li", { class: "stzh-header__menu-metanav-list-item" }, h("div", { class: "stzh-header__menu-metanav-item is-level-2 is-title" }, h("span", null, item.label), h("stzh-button", { class: "stzh-header__menu-metanav-item-icon", variant: "tertiary", icon: "close", iconOnly: true, label: (_c = this.localization.closeMetanavMenuLabel) === null || _c === void 0 ? void 0 : _c.replace(/\{itemLabel\}/gi, item.label), onClick: () => this.closeMetanavItem() }))), item.items.map(item => (h("li", { class: "stzh-header__menu-metanav-list-item" }, h("a", { href: item.href, class: "stzh-header__menu-metanav-item is-level-2" }, item.icon && (h("stzh-icon", { class: "stzh-header__menu-metanav-item-icon", name: item.icon })), h("span", { class: "stzh-header__menu-metanav-item-text" }, h("span", null, item.label), item.counter && (h("span", { class: "stzh-header__menu-metanav-item-counter" }, "(", item.counter, ")"))))))), item.itemButton && (h("li", { class: "stzh-header__menu-metanav-list-item" }, h("div", { class: "stzh-header__menu-metanav-item is-level-2 is-action" }, h("stzh-button", { href: item.itemButton.href, target: item.itemButton.target }, item.itemButton.label))))))));
|
|
587
|
+
}), ((_f = this._languages) === null || _f === void 0 ? void 0 : _f.length) > 0 && (h("li", { class: {
|
|
588
|
+
"stzh-header__menu-metanav-list-item": true,
|
|
589
|
+
"is-open": this.currentOpenLanguage,
|
|
590
|
+
} }, h("button", { "aria-expanded": this.currentOpenLanguage ? "true" : "false", "aria-controls": "submenu-languages", class: "stzh-header__menu-metanav-item is-level-1", onClick: e => this.openLanguage(e) }, h("span", null, activeLanguageOption === null || activeLanguageOption === void 0 ? void 0 : activeLanguageOption.text), h("stzh-icon", { class: "stzh-header__menu-metanav-item-icon", name: "angle-down" })), h("ul", { id: "submenu-languages", class: "stzh-header__menu-metanav-list is-level-2" }, h("div", { class: "stzh-header__menu-metanav-item is-level-2 is-title" }, h("span", null, this.localization.dialogLanguageTitle), h("stzh-button", { class: "stzh-header__menu-metanav-item-icon", variant: "tertiary", icon: "close", iconOnly: true, label: "Sprach-Dialog schliessen", onClick: () => this.closeLanguage() })), this._languages.map(language => (h("li", { class: "stzh-header__menu-metanav-list-item" }, h("a", { class: "stzh-header__menu-metanav-item is-level-2 is-language", href: language.value, onClick: event => this.handleLanguageClick(event, language) }, h("span", null, language.text), (activeLanguageOption === null || activeLanguageOption === void 0 ? void 0 : activeLanguageOption.value) === language.value && (h("stzh-icon", { class: "stzh-header__menu-metanav-item-icon", name: "checkmark" })))))))))))))))), hasSlot(this.element, "search") && (h("div", { ref: el => (this.flyoutSearchElement = el), class: "stzh-header__flyout-search" }, h("div", { class: "stzh-header__flyout-backdrop", onClick: this.handleBackdropSearchClick }), h("div", { class: "stzh-header__flyout-scrollbar" }), h("div", { class: "stzh-header__flyout-search-main" }, h("slot", { name: "search" })))))));
|
|
585
591
|
}
|
|
586
592
|
static get is() { return "stzh-header"; }
|
|
587
593
|
static get encapsulation() { return "scoped"; }
|
|
@@ -712,7 +718,7 @@ export class StzhHeader {
|
|
|
712
718
|
"type": "string",
|
|
713
719
|
"mutable": false,
|
|
714
720
|
"complexType": {
|
|
715
|
-
"original": "\"default\"
|
|
721
|
+
"original": "\"default\" | \"vbz\" | \"aoz\" | \"pkzh\" | \"uvz\"",
|
|
716
722
|
"resolved": "\"aoz\" | \"default\" | \"pkzh\" | \"uvz\" | \"vbz\"",
|
|
717
723
|
"references": {}
|
|
718
724
|
},
|
|
@@ -868,6 +874,24 @@ export class StzhHeader {
|
|
|
868
874
|
"reflect": false,
|
|
869
875
|
"defaultValue": "false"
|
|
870
876
|
},
|
|
877
|
+
"hideMetabar": {
|
|
878
|
+
"type": "boolean",
|
|
879
|
+
"mutable": false,
|
|
880
|
+
"complexType": {
|
|
881
|
+
"original": "boolean",
|
|
882
|
+
"resolved": "boolean",
|
|
883
|
+
"references": {}
|
|
884
|
+
},
|
|
885
|
+
"required": false,
|
|
886
|
+
"optional": false,
|
|
887
|
+
"docs": {
|
|
888
|
+
"tags": [],
|
|
889
|
+
"text": "Whether language switch should stay on mobile"
|
|
890
|
+
},
|
|
891
|
+
"attribute": "hide-metabar",
|
|
892
|
+
"reflect": false,
|
|
893
|
+
"defaultValue": "false"
|
|
894
|
+
},
|
|
871
895
|
"searchAction": {
|
|
872
896
|
"type": "string",
|
|
873
897
|
"mutable": false,
|
|
@@ -965,6 +989,7 @@ export class StzhHeader {
|
|
|
965
989
|
"paddingTop": {},
|
|
966
990
|
"stickyActive": {},
|
|
967
991
|
"flyoutOpen": {},
|
|
992
|
+
"flyoutSearchOpen": {},
|
|
968
993
|
"searchFilled": {},
|
|
969
994
|
"fixed": {},
|
|
970
995
|
"fixedTransition": {},
|
|
@@ -995,6 +1020,48 @@ export class StzhHeader {
|
|
|
995
1020
|
}
|
|
996
1021
|
}
|
|
997
1022
|
}
|
|
1023
|
+
}, {
|
|
1024
|
+
"method": "stzhMetanavItemChildClick",
|
|
1025
|
+
"name": "stzhMetanavItemChildClick",
|
|
1026
|
+
"bubbles": true,
|
|
1027
|
+
"cancelable": true,
|
|
1028
|
+
"composed": true,
|
|
1029
|
+
"docs": {
|
|
1030
|
+
"tags": [],
|
|
1031
|
+
"text": "Metanav item child click event"
|
|
1032
|
+
},
|
|
1033
|
+
"complexType": {
|
|
1034
|
+
"original": "StzhHeaderMetanavItemChildClickEvent",
|
|
1035
|
+
"resolved": "{ component: \"stzh-header\"; itemChild: StzhHeaderMetanavItemChild; originalEvent: MouseEvent; }",
|
|
1036
|
+
"references": {
|
|
1037
|
+
"StzhHeaderMetanavItemChildClickEvent": {
|
|
1038
|
+
"location": "import",
|
|
1039
|
+
"path": "../../index",
|
|
1040
|
+
"id": "src/index.ts::StzhHeaderMetanavItemChildClickEvent"
|
|
1041
|
+
}
|
|
1042
|
+
}
|
|
1043
|
+
}
|
|
1044
|
+
}, {
|
|
1045
|
+
"method": "stzhMetanavItemButtonClick",
|
|
1046
|
+
"name": "stzhMetanavItemButtonClick",
|
|
1047
|
+
"bubbles": true,
|
|
1048
|
+
"cancelable": true,
|
|
1049
|
+
"composed": true,
|
|
1050
|
+
"docs": {
|
|
1051
|
+
"tags": [],
|
|
1052
|
+
"text": "Metanav item button click event"
|
|
1053
|
+
},
|
|
1054
|
+
"complexType": {
|
|
1055
|
+
"original": "StzhHeaderMetanavItemButtonClickEvent",
|
|
1056
|
+
"resolved": "{ component: \"stzh-header\"; itemButton: StzhHeaderMetanavItemButton; originalEvent: MouseEvent; }",
|
|
1057
|
+
"references": {
|
|
1058
|
+
"StzhHeaderMetanavItemButtonClickEvent": {
|
|
1059
|
+
"location": "import",
|
|
1060
|
+
"path": "../../index",
|
|
1061
|
+
"id": "src/index.ts::StzhHeaderMetanavItemButtonClickEvent"
|
|
1062
|
+
}
|
|
1063
|
+
}
|
|
1064
|
+
}
|
|
998
1065
|
}, {
|
|
999
1066
|
"method": "stzhMenuItemClick",
|
|
1000
1067
|
"name": "stzhMenuItemClick",
|
|
@@ -1107,12 +1174,18 @@ export class StzhHeader {
|
|
|
1107
1174
|
return [{
|
|
1108
1175
|
"propName": "flyoutOpen",
|
|
1109
1176
|
"methodName": "flyoutOpenWatcher"
|
|
1177
|
+
}, {
|
|
1178
|
+
"propName": "flyoutSearchOpen",
|
|
1179
|
+
"methodName": "flyoutOpenWatcher"
|
|
1110
1180
|
}, {
|
|
1111
1181
|
"propName": "fixed",
|
|
1112
1182
|
"methodName": "fixedWatcher"
|
|
1113
1183
|
}, {
|
|
1114
1184
|
"propName": "flyoutOpen",
|
|
1115
1185
|
"methodName": "fixedWatcher"
|
|
1186
|
+
}, {
|
|
1187
|
+
"propName": "flyoutSearchOpen",
|
|
1188
|
+
"methodName": "fixedWatcher"
|
|
1116
1189
|
}, {
|
|
1117
1190
|
"propName": "headerHeight",
|
|
1118
1191
|
"methodName": "fixedWatcher"
|
|
@@ -1140,6 +1213,12 @@ export class StzhHeader {
|
|
|
1140
1213
|
"target": "document",
|
|
1141
1214
|
"capture": false,
|
|
1142
1215
|
"passive": false
|
|
1216
|
+
}, {
|
|
1217
|
+
"name": "stzhOverlayCloseClick",
|
|
1218
|
+
"method": "flyoutCloseClicked",
|
|
1219
|
+
"target": undefined,
|
|
1220
|
+
"capture": false,
|
|
1221
|
+
"passive": false
|
|
1143
1222
|
}, {
|
|
1144
1223
|
"name": "scroll",
|
|
1145
1224
|
"method": "scrollListener",
|