@oiz/stzh-components 2.1.0 → 2.2.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/{animation-utils-cfa35ce7.js → animation-utils-54d784c2.js} +3 -0
- package/dist/cjs/{app-globals-dc82b9ca.js → app-globals-b6d82414.js} +1 -1
- package/dist/cjs/index.cjs.js +17 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/stzh-accordion-item.cjs.entry.js +7 -3
- package/dist/cjs/stzh-accordion.cjs.entry.js +3 -1
- package/dist/cjs/stzh-actions.cjs.entry.js +1 -1
- package/dist/cjs/stzh-anchornav.cjs.entry.js +2 -2
- package/dist/cjs/stzh-appnav.cjs.entry.js +1 -1
- package/dist/cjs/stzh-audio.cjs.entry.js +3 -3
- package/dist/cjs/stzh-badge_3.cjs.entry.js +13 -6
- package/dist/cjs/stzh-calendar.cjs.entry.js +1 -1
- package/dist/cjs/stzh-card_3.cjs.entry.js +504 -0
- package/dist/cjs/stzh-chart.cjs.entry.js +2 -3
- package/dist/cjs/stzh-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/stzh-checkboxgroup.cjs.entry.js +2 -2
- package/dist/cjs/stzh-chip.cjs.entry.js +6 -5
- package/dist/cjs/stzh-clamp.cjs.entry.js +1 -1
- package/dist/cjs/stzh-components.cjs.js +2 -2
- package/dist/cjs/stzh-contactaddress.cjs.entry.js +33 -7
- package/dist/cjs/stzh-cspace.cjs.entry.js +1 -1
- package/dist/cjs/stzh-datalist_2.cjs.entry.js +180 -0
- package/dist/cjs/stzh-datamessagelist-item.cjs.entry.js +3 -2
- package/dist/cjs/stzh-datepicker_3.cjs.entry.js +3 -3
- package/dist/cjs/stzh-details.cjs.entry.js +155 -0
- package/dist/cjs/stzh-dialog.cjs.entry.js +5 -5
- package/dist/cjs/stzh-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/stzh-figure.cjs.entry.js +2 -2
- package/dist/cjs/stzh-flyingfocus.cjs.entry.js +1 -1
- package/dist/cjs/stzh-footer.cjs.entry.js +2 -2
- package/dist/cjs/stzh-ghettobox_2.cjs.entry.js +8 -5
- package/dist/cjs/stzh-header.cjs.entry.js +28 -14
- package/dist/cjs/stzh-heading.cjs.entry.js +1 -1
- package/dist/cjs/stzh-icon-sprite.cjs.entry.js +1 -1
- package/dist/cjs/stzh-input.cjs.entry.js +2 -2
- package/dist/cjs/stzh-langnav.cjs.entry.js +37 -0
- package/dist/cjs/stzh-link.cjs.entry.js +11 -4
- package/dist/cjs/stzh-menu_2.cjs.entry.js +2 -2
- package/dist/cjs/stzh-message.cjs.entry.js +1 -1
- package/dist/cjs/stzh-microsite-teaserlist.cjs.entry.js +96 -0
- package/dist/cjs/stzh-olmap.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pagetitle-hero.cjs.entry.js +3 -3
- package/dist/cjs/stzh-pagetitle.cjs.entry.js +2 -2
- package/dist/cjs/stzh-popover.cjs.entry.js +27 -9
- package/dist/cjs/stzh-portal-mitwirken.cjs.entry.js +1 -1
- package/dist/cjs/stzh-progressbar-item.cjs.entry.js +1 -1
- package/dist/cjs/stzh-readspeaker.cjs.entry.js +1 -1
- package/dist/cjs/stzh-sitemap.cjs.entry.js +24 -0
- package/dist/cjs/stzh-sortable.cjs.entry.js +30 -11
- package/dist/cjs/stzh-table.cjs.entry.js +1 -1
- package/dist/cjs/stzh-textandimage.cjs.entry.js +35 -0
- package/dist/cjs/stzh-toggle.cjs.entry.js +2 -2
- package/dist/cjs/stzh-tooltip.cjs.entry.js +37 -13
- package/dist/cjs/stzh-upload.cjs.entry.js +2 -2
- package/dist/cjs/stzh-vbz-linechip.cjs.entry.js +2 -1
- package/dist/cjs/stzh-vbz-majorticker.cjs.entry.js +20 -9
- package/dist/cjs/stzh-vbz-ticker.cjs.entry.js +27 -38
- package/dist/cjs/{utils-8dc66449.js → utils-ff153309.js} +1 -0
- package/dist/collection/assets/i18n/de.json +15 -7
- package/dist/collection/assets/i18n/en.json +16 -8
- package/dist/collection/assets/icons/mono/arrow-right-down.svg +3 -0
- package/dist/collection/assets/icons/mono/construction.svg +2 -2
- package/dist/collection/assets/icons/mono/fountain.svg +3 -0
- package/dist/collection/assets/icons/mono/pause-filled.svg +3 -0
- package/dist/collection/assets/icons/mono/play-filled.svg +3 -0
- package/dist/collection/assets/icons/mono/reload.svg +2 -9
- package/dist/collection/assets/icons/mono/water-drops.svg +11 -0
- package/dist/collection/collection-manifest.json +6 -0
- package/dist/collection/components/stzh-accordion/stzh-accordion.js +3 -1
- package/dist/collection/components/stzh-accordion/stzh-accordion.stories.js +12 -1
- package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.css +3 -2
- package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.js +7 -3
- package/dist/collection/components/stzh-anchornav/stzh-anchornav.css +3 -3
- package/dist/collection/components/stzh-anchornav/stzh-anchornav.js +1 -1
- package/dist/collection/components/stzh-audio/stzh-audio.css +1 -1
- package/dist/collection/components/stzh-audio/stzh-audio.js +1 -1
- package/dist/collection/components/stzh-button/stzh-button.css +3 -2
- package/dist/collection/components/stzh-button/stzh-button.js +78 -3
- package/dist/collection/components/stzh-button/stzh-button.stories.js +12 -12
- package/dist/collection/components/stzh-calendar/stzh-calendar.css +1 -0
- package/dist/collection/components/stzh-card/stzh-card.css +107 -22
- package/dist/collection/components/stzh-card/stzh-card.js +116 -6
- package/dist/collection/components/stzh-card/stzh-card.stories.js +1 -1
- package/dist/collection/components/stzh-card-list/stzh-card-list.css +55 -14
- package/dist/collection/components/stzh-card-list/stzh-card-list.js +43 -3
- package/dist/collection/components/stzh-chart/stzh-chart.css +0 -14
- package/dist/collection/components/stzh-chart/stzh-chart.js +1 -20
- package/dist/collection/components/stzh-chart/stzh-chart.stories.js +4 -3
- package/dist/collection/components/stzh-checkbox/stzh-checkbox.css +7 -3
- package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.css +1 -0
- package/dist/collection/components/stzh-chip/stzh-chip.css +52 -4
- package/dist/collection/components/stzh-chip/stzh-chip.js +23 -5
- package/dist/collection/components/stzh-chip-select/stzh-chip-select.css +2 -0
- package/dist/collection/components/stzh-chip-select/stzh-chip-select.js +33 -6
- package/dist/collection/components/stzh-clamp/stzh-clamp.css +5 -0
- package/dist/collection/components/stzh-contactaddress/stzh-contactaddress.css +91 -12
- package/dist/collection/components/stzh-contactaddress/stzh-contactaddress.js +76 -9
- package/dist/collection/components/stzh-contactaddress/stzh-contactaddress.stories.js +52 -2
- package/dist/collection/components/stzh-cspace/stzh-cspace.css +49 -1
- package/dist/collection/components/stzh-datalist/stzh-datalist.css +28 -516
- package/dist/collection/components/stzh-datalist/stzh-datalist.js +110 -23
- package/dist/collection/components/stzh-datalist/stzh-datalist.stories.js +65 -4
- package/dist/collection/components/stzh-datalist-item/stzh-datalist-item.css +261 -0
- package/dist/collection/components/stzh-datalist-item/stzh-datalist-item.js +323 -0
- package/dist/collection/components/stzh-datalist-item/stzh-datalist-item.stories.js +49 -0
- package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.css +11 -0
- package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.js +3 -2
- package/dist/collection/components/stzh-details/stzh-details.css +119 -0
- package/dist/collection/components/stzh-details/stzh-details.js +316 -0
- package/dist/collection/components/stzh-details/stzh-details.stories.js +41 -0
- package/dist/collection/components/stzh-dialog/stzh-dialog.css +1 -0
- package/dist/collection/components/stzh-dialog/stzh-dialog.js +3 -3
- package/dist/collection/components/stzh-dropdown/stzh-dropdown.css +6 -3
- package/dist/collection/components/stzh-figure/stzh-figure.css +1 -3
- package/dist/collection/components/stzh-footer/stzh-footer.css +2 -1
- package/dist/collection/components/stzh-footer/stzh-footer.stories.js +3 -1
- package/dist/collection/components/stzh-ghettobox/stzh-ghettobox.css +33 -5
- package/dist/collection/components/stzh-ghettobox/stzh-ghettobox.js +23 -2
- package/dist/collection/components/stzh-header/stzh-header.css +87 -4
- package/dist/collection/components/stzh-header/stzh-header.js +63 -13
- package/dist/collection/components/stzh-header/stzh-header.stories.js +21 -1
- package/dist/collection/components/stzh-heading/stzh-heading.css +3 -0
- package/dist/collection/components/stzh-icon/stzh-icon.js +1 -1
- package/dist/collection/components/stzh-icon-sprite/assets/svgsprites/symbol/sprite.symbol.html +102 -37
- package/dist/collection/components/stzh-icon-sprite/assets/svgsprites/symbol/svg/sprite.symbol.svg +1 -1
- package/dist/collection/components/stzh-input/stzh-input.css +6 -5
- package/dist/collection/components/stzh-langnav/stzh-langnav.css +106 -0
- package/dist/collection/components/stzh-langnav/stzh-langnav.js +136 -0
- package/dist/collection/components/stzh-langnav/stzh-langnav.stories.js +42 -0
- package/dist/collection/components/stzh-link/stzh-link.css +1 -0
- package/dist/collection/components/stzh-link/stzh-link.js +95 -2
- package/dist/collection/components/stzh-menu-item/stzh-menu-item.css +1 -0
- package/dist/collection/components/stzh-message/stzh-message.css +1 -0
- package/dist/collection/components/stzh-microsite-teaserlist/stzh-microsite-teaserlist.css +125 -0
- package/dist/collection/components/stzh-microsite-teaserlist/stzh-microsite-teaserlist.js +198 -0
- package/dist/collection/components/stzh-microsite-teaserlist/stzh-microsite-teaserlist.localization.js +1 -0
- package/dist/collection/components/stzh-microsite-teaserlist/stzh-microsite-teaserlist.stories.js +58 -0
- package/dist/collection/components/stzh-olmap/stzh-olmap.js +1 -1
- package/dist/collection/components/stzh-pagebottom/stzh-pagebottom.stories.js +1 -1
- package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.css +14 -5
- package/dist/collection/components/stzh-pagetitle-hero/stzh-pagetitle-hero.css +1 -1
- package/dist/collection/components/stzh-pagetitle-hero/stzh-pagetitle-hero.js +1 -1
- package/dist/collection/components/stzh-popover/stzh-popover.css +2 -0
- package/dist/collection/components/stzh-popover/stzh-popover.js +26 -8
- package/dist/collection/components/stzh-portal-mitwirken/stzh-portal-mitwirken.css +2 -0
- package/dist/collection/components/stzh-progressbar-item/stzh-progressbar-item.css +107 -6
- package/dist/collection/components/stzh-radio/stzh-radio.css +3 -2
- package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.css +1 -0
- package/dist/collection/components/stzh-richtext/stzh-richtext.css +2 -0
- package/dist/collection/components/stzh-sitemap/stzh-sitemap.css +113 -0
- package/dist/collection/components/stzh-sitemap/stzh-sitemap.js +53 -0
- package/dist/collection/components/stzh-sitemap/stzh-sitemap.stories.js +78 -0
- package/dist/collection/components/stzh-sortable/stzh-sortable.js +29 -10
- package/dist/collection/components/stzh-textandimage/stzh-textandimage.css +203 -0
- package/dist/collection/components/stzh-textandimage/stzh-textandimage.js +98 -0
- package/dist/collection/components/stzh-textandimage/stzh-textandimage.stories.js +56 -0
- package/dist/collection/components/stzh-toggle/stzh-toggle.css +3 -1
- package/dist/collection/components/stzh-tooltip/stzh-tooltip.css +1 -0
- package/dist/collection/components/stzh-tooltip/stzh-tooltip.js +36 -12
- package/dist/collection/components/stzh-upload/stzh-upload.css +2 -1
- package/dist/collection/components/stzh-vbz-linechip/stzh-vbz-linechip.js +3 -2
- package/dist/collection/components/stzh-vbz-majorticker/stzh-vbz-majorticker.css +2 -1
- package/dist/collection/components/stzh-vbz-majorticker/stzh-vbz-majorticker.js +84 -12
- package/dist/collection/components/stzh-vbz-ticker/stzh-vbz-ticker.css +1 -16
- package/dist/collection/components/stzh-vbz-ticker/stzh-vbz-ticker.js +26 -37
- package/dist/collection/index.js +12 -0
- package/dist/collection/pages/egov.stories.js +18 -15
- package/dist/collection/pages/example.stories.js +1 -1
- package/dist/collection/pages/meinkonto.stories.js +3 -3
- package/dist/collection/patterns/appointments.stories.js +3 -3
- package/dist/collection/patterns/contact.stories.js +144 -0
- package/dist/collection/patterns/contactform.stories.js +125 -0
- package/dist/collection/patterns/subpages.stories.js +98 -0
- package/dist/collection/utils/animation-utils.js +3 -0
- package/dist/components/animation-utils.js +3 -0
- package/dist/components/index.d.ts +6 -0
- package/dist/components/index.js +8 -1
- package/dist/components/index2.js +17 -2017
- package/dist/components/index3.js +2017 -0
- package/dist/components/stzh-accordion-item.js +6 -2
- package/dist/components/stzh-accordion.js +3 -1
- package/dist/components/stzh-anchornav.js +2 -2
- package/dist/components/stzh-audio.js +2 -2
- package/dist/components/stzh-button2.js +15 -4
- package/dist/components/stzh-calendar2.js +1 -1
- package/dist/components/stzh-card-list.js +1 -114
- package/dist/components/stzh-card-list2.js +123 -0
- package/dist/components/stzh-card.js +1 -358
- package/dist/components/stzh-card2.js +380 -0
- package/dist/components/stzh-chart.js +3 -5
- package/dist/components/stzh-checkbox.js +1 -1
- package/dist/components/stzh-checkboxgroup.js +1 -1
- package/dist/components/stzh-chip-select.js +1 -157
- package/dist/components/stzh-chip-select2.js +186 -0
- package/dist/components/stzh-chip2.js +7 -5
- package/dist/components/stzh-clamp2.js +1 -1
- package/dist/components/stzh-contactaddress.js +74 -10
- package/dist/components/stzh-cspace.js +1 -1
- package/dist/components/stzh-datalist-item.d.ts +11 -0
- package/dist/components/stzh-datalist-item.js +6 -0
- package/dist/components/stzh-datalist-item2.js +128 -0
- package/dist/components/stzh-datalist.js +1 -96
- package/dist/components/stzh-datalist2.js +147 -0
- package/dist/components/stzh-datamessagelist-item.js +3 -2
- package/dist/components/stzh-details.d.ts +11 -0
- package/dist/components/stzh-details.js +173 -0
- package/dist/components/stzh-dialog.js +4 -4
- package/dist/components/stzh-dropdown2.js +1 -1
- package/dist/components/stzh-figure.js +1 -1
- package/dist/components/stzh-footer.js +1 -1
- package/dist/components/stzh-ghettobox2.js +7 -3
- package/dist/components/stzh-header.js +29 -13
- package/dist/components/stzh-heading2.js +1 -1
- package/dist/components/stzh-icon-sprite.js +1 -1
- package/dist/components/stzh-icon2.js +1 -1
- package/dist/components/stzh-input2.js +1 -1
- package/dist/components/stzh-langnav.d.ts +11 -0
- package/dist/components/stzh-langnav.js +73 -0
- package/dist/components/stzh-link2.js +15 -3
- package/dist/components/stzh-menu-item2.js +1 -1
- package/dist/components/stzh-message.js +1 -1
- package/dist/components/stzh-microsite-teaserlist.d.ts +11 -0
- package/dist/components/stzh-microsite-teaserlist.js +212 -0
- package/dist/components/stzh-olmap.js +1 -1
- package/dist/components/stzh-pagetitle-hero.js +2 -2
- package/dist/components/stzh-pagetitle.js +1 -1
- package/dist/components/stzh-popover2.js +26 -8
- package/dist/components/stzh-portal-mitwirken.js +1 -1
- package/dist/components/stzh-progressbar-item2.js +1 -1
- package/dist/components/stzh-radio2.js +1 -1
- package/dist/components/stzh-radiogroup2.js +1 -1
- package/dist/components/stzh-richtext2.js +1 -1
- package/dist/components/stzh-sitemap.d.ts +11 -0
- package/dist/components/stzh-sitemap.js +69 -0
- package/dist/components/stzh-sortable2.js +29 -10
- package/dist/components/stzh-textandimage.d.ts +11 -0
- package/dist/components/stzh-textandimage.js +53 -0
- package/dist/components/stzh-toggle.js +1 -1
- package/dist/components/stzh-tooltip2.js +36 -12
- package/dist/components/stzh-upload.js +1 -1
- package/dist/components/stzh-vbz-linechip2.js +2 -1
- package/dist/components/stzh-vbz-majorticker.js +25 -12
- package/dist/components/stzh-vbz-ticker.js +26 -37
- package/dist/components/utils.js +1 -1
- package/dist/esm/{animation-utils-25c74e5b.js → animation-utils-e234a5f8.js} +3 -0
- package/dist/esm/{app-globals-246b5e49.js → app-globals-ff581b69.js} +1 -1
- package/dist/esm/{index-2915b467.js → index-011c84fe.js} +1 -1
- package/dist/esm/index.js +16 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/stzh-accordion-item.entry.js +8 -4
- package/dist/esm/stzh-accordion.entry.js +4 -2
- package/dist/esm/stzh-actions.entry.js +2 -2
- package/dist/esm/stzh-actionset.entry.js +1 -1
- package/dist/esm/stzh-anchornav.entry.js +3 -3
- package/dist/esm/stzh-appnav.entry.js +2 -2
- package/dist/esm/stzh-appointments.entry.js +1 -1
- package/dist/esm/stzh-audio.entry.js +4 -4
- package/dist/esm/stzh-badge_3.entry.js +14 -7
- package/dist/esm/stzh-calendar.entry.js +2 -2
- package/dist/esm/stzh-card_3.entry.js +498 -0
- package/dist/esm/stzh-cell.entry.js +1 -1
- package/dist/esm/stzh-chart.entry.js +3 -4
- package/dist/esm/stzh-checkbox.entry.js +4 -4
- package/dist/esm/stzh-checkboxgroup.entry.js +4 -4
- package/dist/esm/stzh-chip.entry.js +7 -6
- package/dist/esm/stzh-clamp.entry.js +2 -2
- package/dist/esm/stzh-components.js +3 -3
- package/dist/esm/stzh-contactaddress.entry.js +34 -8
- package/dist/esm/stzh-container.entry.js +1 -1
- package/dist/esm/stzh-cspace.entry.js +2 -2
- package/dist/esm/stzh-datalist_2.entry.js +175 -0
- package/dist/esm/stzh-datamessagelist-item.entry.js +4 -3
- package/dist/esm/stzh-datamessagelist.entry.js +1 -1
- package/dist/esm/stzh-datatable.entry.js +1 -1
- package/dist/esm/stzh-datepicker_3.entry.js +5 -5
- package/dist/esm/stzh-details.entry.js +151 -0
- package/dist/esm/stzh-dialog.entry.js +6 -6
- package/dist/esm/stzh-dropdown.entry.js +4 -4
- package/dist/esm/stzh-fieldset.entry.js +1 -1
- package/dist/esm/stzh-figure.entry.js +3 -3
- package/dist/esm/stzh-flyingfocus.entry.js +2 -2
- package/dist/esm/stzh-footer.entry.js +3 -3
- package/dist/esm/stzh-ghettobox_2.entry.js +9 -6
- package/dist/esm/stzh-header.entry.js +29 -15
- package/dist/esm/stzh-heading.entry.js +2 -2
- package/dist/esm/stzh-hr.entry.js +1 -1
- package/dist/esm/stzh-hspace.entry.js +1 -1
- package/dist/esm/stzh-icon-sprite.entry.js +2 -2
- package/dist/esm/{stzh-input-description-e87e6697.js → stzh-input-description-bdd1e340.js} +1 -1
- package/dist/esm/stzh-input.entry.js +4 -4
- package/dist/esm/stzh-langnav.entry.js +33 -0
- package/dist/esm/stzh-link.entry.js +12 -5
- package/dist/esm/stzh-list-item.entry.js +1 -1
- package/dist/esm/stzh-list.entry.js +1 -1
- package/dist/esm/stzh-loader.entry.js +1 -1
- package/dist/esm/stzh-loadingbar.entry.js +1 -1
- package/dist/esm/stzh-menu_2.entry.js +3 -3
- package/dist/esm/stzh-message.entry.js +2 -2
- package/dist/esm/stzh-metanav.entry.js +1 -1
- package/dist/esm/stzh-microsite-teaserlist.entry.js +92 -0
- package/dist/esm/stzh-olmap.entry.js +2 -2
- package/dist/esm/stzh-overlay.entry.js +1 -1
- package/dist/esm/stzh-page-skiplinks.entry.js +1 -1
- package/dist/esm/stzh-pagebottom.entry.js +1 -1
- package/dist/esm/stzh-pagetitle-hero.entry.js +4 -4
- package/dist/esm/stzh-pagetitle.entry.js +3 -3
- package/dist/esm/stzh-popover.entry.js +28 -10
- package/dist/esm/stzh-portal-mitwirken.entry.js +2 -2
- package/dist/esm/stzh-progressbar-item.entry.js +2 -2
- package/dist/esm/stzh-progressbar.entry.js +1 -1
- package/dist/esm/stzh-readspeaker.entry.js +2 -2
- package/dist/esm/stzh-row.entry.js +1 -1
- package/dist/esm/stzh-saptcha.entry.js +1 -1
- package/dist/esm/stzh-section.entry.js +1 -1
- package/dist/esm/stzh-share.entry.js +1 -1
- package/dist/esm/stzh-sitemap.entry.js +20 -0
- package/dist/esm/stzh-skiplink.entry.js +1 -1
- package/dist/esm/stzh-sortable.entry.js +31 -12
- package/dist/esm/stzh-status.entry.js +1 -1
- package/dist/esm/stzh-sticky.entry.js +1 -1
- package/dist/esm/stzh-table.entry.js +2 -2
- package/dist/esm/stzh-text.entry.js +1 -1
- package/dist/esm/stzh-textandimage.entry.js +31 -0
- package/dist/esm/stzh-toggle.entry.js +4 -4
- package/dist/esm/stzh-tooltip.entry.js +38 -14
- package/dist/esm/stzh-upload.entry.js +4 -4
- package/dist/esm/stzh-vbz-linechip.entry.js +3 -2
- package/dist/esm/stzh-vbz-majorticker.entry.js +21 -10
- package/dist/esm/stzh-vbz-ticker.entry.js +26 -37
- package/dist/esm/stzh-visuallyhidden.entry.js +1 -1
- package/dist/esm/stzh-vspace.entry.js +1 -1
- package/dist/esm/{utils-68a28fce.js → utils-92a77db5.js} +1 -1
- package/dist/esm-es5/animation-utils-e234a5f8.js +1 -0
- package/dist/esm-es5/{app-globals-246b5e49.js → app-globals-ff581b69.js} +1 -1
- package/dist/esm-es5/{index-2915b467.js → index-011c84fe.js} +1 -1
- package/dist/esm-es5/index.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/stzh-accordion-item.entry.js +1 -1
- package/dist/esm-es5/stzh-accordion.entry.js +1 -1
- package/dist/esm-es5/stzh-actions.entry.js +1 -1
- package/dist/esm-es5/stzh-actionset.entry.js +1 -1
- package/dist/esm-es5/stzh-anchornav.entry.js +1 -1
- package/dist/esm-es5/stzh-appnav.entry.js +1 -1
- package/dist/esm-es5/stzh-appointments.entry.js +1 -1
- package/dist/esm-es5/stzh-audio.entry.js +2 -2
- package/dist/esm-es5/stzh-badge_3.entry.js +1 -1
- package/dist/esm-es5/stzh-calendar.entry.js +1 -1
- package/dist/esm-es5/stzh-card_3.entry.js +1 -0
- package/dist/esm-es5/stzh-cell.entry.js +1 -1
- package/dist/esm-es5/stzh-chart.entry.js +2 -2
- package/dist/esm-es5/stzh-checkbox.entry.js +1 -1
- package/dist/esm-es5/stzh-checkboxgroup.entry.js +1 -1
- package/dist/esm-es5/stzh-chip.entry.js +1 -1
- package/dist/esm-es5/stzh-clamp.entry.js +1 -1
- package/dist/esm-es5/stzh-components.js +1 -1
- package/dist/esm-es5/stzh-contactaddress.entry.js +1 -1
- package/dist/esm-es5/stzh-container.entry.js +1 -1
- package/dist/esm-es5/stzh-cspace.entry.js +1 -1
- package/dist/esm-es5/stzh-datalist_2.entry.js +1 -0
- package/dist/esm-es5/stzh-datamessagelist-item.entry.js +1 -1
- package/dist/esm-es5/stzh-datamessagelist.entry.js +1 -1
- package/dist/esm-es5/stzh-datatable.entry.js +1 -1
- package/dist/esm-es5/stzh-datepicker_3.entry.js +1 -1
- package/dist/esm-es5/stzh-details.entry.js +1 -0
- package/dist/esm-es5/stzh-dialog.entry.js +1 -1
- package/dist/esm-es5/stzh-dropdown.entry.js +1 -1
- package/dist/esm-es5/stzh-fieldset.entry.js +1 -1
- package/dist/esm-es5/stzh-figure.entry.js +1 -1
- package/dist/esm-es5/stzh-flyingfocus.entry.js +1 -1
- package/dist/esm-es5/stzh-footer.entry.js +1 -1
- package/dist/esm-es5/stzh-ghettobox_2.entry.js +1 -1
- package/dist/esm-es5/stzh-header.entry.js +1 -1
- package/dist/esm-es5/stzh-heading.entry.js +1 -1
- package/dist/esm-es5/stzh-hr.entry.js +1 -1
- package/dist/esm-es5/stzh-hspace.entry.js +1 -1
- package/dist/esm-es5/stzh-icon-sprite.entry.js +1 -1
- package/dist/esm-es5/{stzh-input-description-e87e6697.js → stzh-input-description-bdd1e340.js} +1 -1
- package/dist/esm-es5/stzh-input.entry.js +1 -1
- package/dist/esm-es5/stzh-langnav.entry.js +1 -0
- package/dist/esm-es5/stzh-link.entry.js +1 -1
- package/dist/esm-es5/stzh-list-item.entry.js +1 -1
- package/dist/esm-es5/stzh-list.entry.js +1 -1
- package/dist/esm-es5/stzh-loader.entry.js +1 -1
- package/dist/esm-es5/stzh-loadingbar.entry.js +1 -1
- package/dist/esm-es5/stzh-menu_2.entry.js +1 -1
- package/dist/esm-es5/stzh-message.entry.js +1 -1
- package/dist/esm-es5/stzh-metanav.entry.js +1 -1
- package/dist/esm-es5/stzh-microsite-teaserlist.entry.js +1 -0
- package/dist/esm-es5/stzh-olmap.entry.js +2 -2
- package/dist/esm-es5/stzh-overlay.entry.js +1 -1
- package/dist/esm-es5/stzh-page-skiplinks.entry.js +1 -1
- package/dist/esm-es5/stzh-pagebottom.entry.js +1 -1
- package/dist/esm-es5/stzh-pagetitle-hero.entry.js +1 -1
- package/dist/esm-es5/stzh-pagetitle.entry.js +1 -1
- package/dist/esm-es5/stzh-popover.entry.js +1 -1
- package/dist/esm-es5/stzh-portal-mitwirken.entry.js +1 -1
- package/dist/esm-es5/stzh-progressbar-item.entry.js +1 -1
- package/dist/esm-es5/stzh-progressbar.entry.js +1 -1
- package/dist/esm-es5/stzh-readspeaker.entry.js +1 -1
- package/dist/esm-es5/stzh-row.entry.js +1 -1
- package/dist/esm-es5/stzh-saptcha.entry.js +1 -1
- package/dist/esm-es5/stzh-section.entry.js +1 -1
- package/dist/esm-es5/stzh-share.entry.js +1 -1
- package/dist/esm-es5/stzh-sitemap.entry.js +1 -0
- package/dist/esm-es5/stzh-skiplink.entry.js +1 -1
- package/dist/esm-es5/stzh-sortable.entry.js +2 -2
- package/dist/esm-es5/stzh-status.entry.js +1 -1
- package/dist/esm-es5/stzh-sticky.entry.js +1 -1
- package/dist/esm-es5/stzh-table.entry.js +1 -1
- package/dist/esm-es5/stzh-text.entry.js +1 -1
- package/dist/esm-es5/stzh-textandimage.entry.js +1 -0
- package/dist/esm-es5/stzh-toggle.entry.js +1 -1
- package/dist/esm-es5/stzh-tooltip.entry.js +1 -1
- package/dist/esm-es5/stzh-upload.entry.js +1 -1
- package/dist/esm-es5/stzh-vbz-linechip.entry.js +1 -1
- package/dist/esm-es5/stzh-vbz-majorticker.entry.js +1 -1
- package/dist/esm-es5/stzh-vbz-ticker.entry.js +1 -1
- package/dist/esm-es5/stzh-visuallyhidden.entry.js +1 -1
- package/dist/esm-es5/stzh-vspace.entry.js +1 -1
- package/dist/esm-es5/{utils-68a28fce.js → utils-92a77db5.js} +1 -1
- package/dist/stzh-components/assets/i18n/de.json +15 -7
- package/dist/stzh-components/assets/i18n/en.json +16 -8
- package/dist/stzh-components/assets/icons/mono/arrow-right-down.svg +3 -0
- package/dist/stzh-components/assets/icons/mono/construction.svg +2 -2
- package/dist/stzh-components/assets/icons/mono/fountain.svg +3 -0
- package/dist/stzh-components/assets/icons/mono/pause-filled.svg +3 -0
- package/dist/stzh-components/assets/icons/mono/play-filled.svg +3 -0
- package/dist/stzh-components/assets/icons/mono/reload.svg +2 -9
- package/dist/stzh-components/assets/icons/mono/water-drops.svg +11 -0
- package/dist/stzh-components/assets/svgsprites/symbol/sprite.symbol.html +102 -37
- package/dist/stzh-components/assets/svgsprites/symbol/svg/sprite.symbol.svg +1 -1
- package/dist/stzh-components/index.esm.js +1 -0
- package/dist/stzh-components/{p-f6ab391e.system.entry.js → p-006751fc.system.entry.js} +1 -1
- package/dist/stzh-components/{p-27839f48.entry.js → p-025c9c5b.entry.js} +1 -1
- package/dist/stzh-components/{p-e9313802.system.entry.js → p-0409bf6b.system.entry.js} +2 -2
- package/dist/stzh-components/p-06d9b884.system.entry.js +1 -0
- package/dist/stzh-components/{p-3e504f50.entry.js → p-0743d7fa.entry.js} +1 -1
- package/dist/stzh-components/p-0850a2e1.system.entry.js +1 -0
- package/dist/stzh-components/{p-d5ee4ac0.entry.js → p-09da70d8.entry.js} +1 -1
- package/dist/stzh-components/{p-4e6ddb5f.entry.js → p-0a647396.entry.js} +1 -1
- package/dist/stzh-components/p-0c8427bc.entry.js +1 -0
- package/dist/stzh-components/{p-b1ff3a21.system.entry.js → p-0cc8bbd7.system.entry.js} +2 -2
- package/dist/stzh-components/{p-e662b688.entry.js → p-0cff4e01.entry.js} +1 -1
- package/dist/stzh-components/{p-0321e98e.system.entry.js → p-104df3a8.system.entry.js} +1 -1
- package/dist/stzh-components/p-10c046fc.system.entry.js +1 -0
- package/dist/stzh-components/{p-26159eac.system.entry.js → p-11d7b426.system.entry.js} +1 -1
- package/dist/stzh-components/p-12a2afe9.entry.js +1 -0
- package/dist/stzh-components/p-17645237.entry.js +1 -0
- package/dist/stzh-components/p-18cb06e2.entry.js +1 -0
- package/dist/stzh-components/{p-c3161c9b.system.entry.js → p-19ab7e34.system.entry.js} +1 -1
- package/dist/stzh-components/p-1ae4d600.system.entry.js +1 -0
- package/dist/stzh-components/{p-ff534e27.entry.js → p-1d8272a5.entry.js} +1 -1
- package/dist/stzh-components/{p-27bfb4c2.system.entry.js → p-21cad060.system.entry.js} +1 -1
- package/dist/stzh-components/{p-14f0d546.entry.js → p-22b06793.entry.js} +1 -1
- package/dist/stzh-components/{p-22c9a00d.system.entry.js → p-23829f75.system.entry.js} +1 -1
- package/dist/stzh-components/{p-3fc40cc0.system.entry.js → p-2577ca1e.system.entry.js} +1 -1
- package/dist/stzh-components/{p-7dd6fbc9.system.entry.js → p-288ee536.system.entry.js} +1 -1
- package/dist/stzh-components/{p-2c16d2ea.entry.js → p-28d8aa31.entry.js} +1 -1
- package/dist/stzh-components/{p-8fc8d8c2.system.entry.js → p-2bdc71ae.system.entry.js} +1 -1
- package/dist/stzh-components/p-2bec3c77.entry.js +1 -0
- package/dist/stzh-components/p-2d340222.system.entry.js +1 -0
- package/dist/stzh-components/{p-2e276f2e.system.entry.js → p-30ae5c00.system.entry.js} +1 -1
- package/dist/stzh-components/{p-34eb65b9.entry.js → p-30ba96a3.entry.js} +1 -1
- package/dist/stzh-components/{p-62afe664.entry.js → p-31c3469c.entry.js} +1 -1
- package/dist/stzh-components/{p-881e526e.system.entry.js → p-3200f52a.system.entry.js} +1 -1
- package/dist/stzh-components/{p-725b3e74.system.entry.js → p-33f80cd2.system.entry.js} +1 -1
- package/dist/stzh-components/{p-456143f9.entry.js → p-376946bc.entry.js} +1 -1
- package/dist/stzh-components/p-385dda6c.system.entry.js +1 -0
- package/dist/stzh-components/{p-71220066.entry.js → p-391e6b90.entry.js} +1 -1
- package/dist/stzh-components/p-3a1ff759.entry.js +1 -0
- package/dist/stzh-components/p-3ad67331.entry.js +1 -0
- package/dist/stzh-components/p-3e850dce.entry.js +1 -0
- package/dist/stzh-components/p-4226dec6.system.entry.js +1 -0
- package/dist/stzh-components/p-441ea784.entry.js +1 -0
- package/dist/stzh-components/{p-229f4ebc.system.entry.js → p-44e0b101.system.entry.js} +1 -1
- package/dist/stzh-components/p-4704588f.system.entry.js +1 -0
- package/dist/stzh-components/{p-30e5a674.entry.js → p-49b292df.entry.js} +1 -1
- package/dist/stzh-components/p-49bb09a5.entry.js +1 -0
- package/dist/stzh-components/{p-9454a438.entry.js → p-4b0f473e.entry.js} +1 -1
- package/dist/stzh-components/p-4b369bac.entry.js +1 -0
- package/dist/stzh-components/p-5011f10c.js +1 -0
- package/dist/stzh-components/{p-53c30c58.entry.js → p-51be647d.entry.js} +1 -1
- package/dist/stzh-components/{p-6267a327.system.js → p-5494f37d.system.js} +1 -1
- package/dist/stzh-components/p-557f07b5.system.entry.js +1 -0
- package/dist/stzh-components/p-55b7cda7.system.entry.js +1 -0
- package/dist/stzh-components/{p-05901b22.system.entry.js → p-57237509.system.entry.js} +1 -1
- package/dist/stzh-components/{p-b09b85ac.entry.js → p-576e1345.entry.js} +1 -1
- package/dist/stzh-components/p-5790eb4f.system.entry.js +1 -0
- package/dist/stzh-components/p-57a0f895.entry.js +1 -0
- package/dist/stzh-components/p-57f8596f.system.entry.js +1 -0
- package/dist/stzh-components/p-586a8b3f.entry.js +1 -0
- package/dist/stzh-components/p-58af0855.system.entry.js +1 -0
- package/dist/stzh-components/{p-c866224d.entry.js → p-5b1c1cf7.entry.js} +1 -1
- package/dist/stzh-components/{p-bd5b8114.system.entry.js → p-5ddf8258.system.entry.js} +1 -1
- package/dist/stzh-components/{p-470e5f38.system.entry.js → p-5fd9ae99.system.entry.js} +1 -1
- package/dist/stzh-components/{p-6c1ad586.system.entry.js → p-60274e67.system.entry.js} +1 -1
- package/dist/stzh-components/{p-470ccde5.system.entry.js → p-60d9bf98.system.entry.js} +1 -1
- package/dist/stzh-components/{p-652eee8b.system.entry.js → p-60ec90b2.system.entry.js} +1 -1
- package/dist/stzh-components/{p-3efefb7f.entry.js → p-62a2684d.entry.js} +1 -1
- package/dist/stzh-components/p-63d94a57.system.entry.js +1 -0
- package/dist/stzh-components/{p-4a3f9353.entry.js → p-64422176.entry.js} +1 -1
- package/dist/stzh-components/{p-a3559e69.entry.js → p-661831da.entry.js} +1 -1
- package/dist/stzh-components/{p-bc841847.entry.js → p-669896ec.entry.js} +1 -1
- package/dist/stzh-components/{p-38b9e5e9.entry.js → p-67c6f0f2.entry.js} +1 -1
- package/dist/stzh-components/{p-b666bb15.entry.js → p-6a0a76b3.entry.js} +1 -1
- package/dist/stzh-components/{p-8ab86ca3.system.entry.js → p-6d009f56.system.entry.js} +1 -1
- package/dist/stzh-components/p-71c07419.system.entry.js +1 -0
- package/dist/stzh-components/{p-3a0f37bd.entry.js → p-72389069.entry.js} +1 -1
- package/dist/stzh-components/p-75068cd7.system.entry.js +1 -0
- package/dist/stzh-components/{p-229d4ad2.entry.js → p-76165227.entry.js} +1 -1
- package/dist/stzh-components/p-7704b10b.entry.js +1 -0
- package/dist/stzh-components/p-791bc813.system.js +1 -0
- package/dist/stzh-components/{p-71d757d3.js → p-7941cf38.js} +1 -1
- package/dist/stzh-components/{p-cc735465.system.entry.js → p-7adc28a4.system.entry.js} +2 -2
- package/dist/stzh-components/p-7b86c022.entry.js +1 -0
- package/dist/stzh-components/p-7c26f80f.system.entry.js +1 -0
- package/dist/stzh-components/p-7ce59988.system.entry.js +1 -0
- package/dist/stzh-components/{p-e785d9cc.entry.js → p-7e94dde2.entry.js} +1 -1
- package/dist/stzh-components/{p-bdc627fa.system.entry.js → p-812ea5e9.system.entry.js} +1 -1
- package/dist/stzh-components/{p-5c2d0572.entry.js → p-84965eac.entry.js} +1 -1
- package/dist/stzh-components/p-84b9f66f.system.entry.js +1 -0
- package/dist/stzh-components/p-853a1f92.entry.js +1 -0
- package/dist/stzh-components/p-86a29c35.js +1 -0
- package/dist/stzh-components/{p-44435254.system.entry.js → p-88a31179.system.entry.js} +1 -1
- package/dist/stzh-components/p-8991d3bc.entry.js +1 -0
- package/dist/stzh-components/{p-4fd4a703.entry.js → p-8a1d00fe.entry.js} +2 -2
- package/dist/stzh-components/{p-b99c0844.entry.js → p-8bbaed3a.entry.js} +1 -1
- package/dist/stzh-components/{p-6a96d63e.system.entry.js → p-8cc119d3.system.entry.js} +1 -1
- package/dist/stzh-components/p-8fa2fb95.system.entry.js +1 -0
- package/dist/stzh-components/p-9072a490.system.entry.js +1 -0
- package/dist/stzh-components/p-912706bb.entry.js +1 -0
- package/dist/stzh-components/{p-5e81420b.entry.js → p-9176246f.entry.js} +1 -1
- package/dist/stzh-components/p-92afa8df.entry.js +1 -0
- package/dist/stzh-components/{p-61d4852f.system.entry.js → p-94830f96.system.entry.js} +1 -1
- package/dist/stzh-components/p-95b490ec.system.entry.js +1 -0
- package/dist/stzh-components/p-9743f558.system.entry.js +1 -0
- package/dist/stzh-components/p-97e16665.system.entry.js +1 -0
- package/dist/stzh-components/p-996579d0.entry.js +1 -0
- package/dist/stzh-components/{p-7a4c6adb.js → p-9a5ebb1f.js} +1 -1
- package/dist/stzh-components/{p-1a5fc8e3.system.entry.js → p-9dac46e2.system.entry.js} +1 -1
- package/dist/stzh-components/p-9e38b823.system.entry.js +1 -0
- package/dist/stzh-components/p-9e4e0cc9.entry.js +1 -0
- package/dist/stzh-components/p-a16dc363.entry.js +1 -0
- package/dist/stzh-components/{p-33a52001.system.entry.js → p-a474826c.system.entry.js} +1 -1
- package/dist/stzh-components/{p-7d77b8d2.entry.js → p-a53c0a98.entry.js} +1 -1
- package/dist/stzh-components/{p-0c10d9b1.entry.js → p-a8101552.entry.js} +2 -2
- package/dist/stzh-components/p-a934dd4d.entry.js +1 -0
- package/dist/stzh-components/{p-5caa837c.system.entry.js → p-aacf685b.system.entry.js} +2 -2
- package/dist/stzh-components/{p-c1100fde.entry.js → p-aae4655f.entry.js} +1 -1
- package/dist/stzh-components/p-ac1a6085.system.entry.js +1 -0
- package/dist/stzh-components/p-ac3aa560.system.entry.js +1 -0
- package/dist/stzh-components/{p-7c172e64.system.entry.js → p-afedafa6.system.entry.js} +1 -1
- package/dist/stzh-components/p-b0d8866d.entry.js +1 -0
- package/dist/stzh-components/{p-36596b2b.system.entry.js → p-b2145753.system.entry.js} +1 -1
- package/dist/stzh-components/{p-3a279b45.entry.js → p-b3dc4913.entry.js} +1 -1
- package/dist/stzh-components/{p-44dd74d1.system.entry.js → p-b436a18d.system.entry.js} +1 -1
- package/dist/stzh-components/{p-55435022.system.entry.js → p-b908d228.system.entry.js} +1 -1
- package/dist/stzh-components/{p-909d7a3c.system.js → p-b937ae70.system.js} +1 -1
- package/dist/stzh-components/{p-daa34275.system.entry.js → p-ba0b93c4.system.entry.js} +1 -1
- package/dist/stzh-components/{p-90665664.system.entry.js → p-be79497f.system.entry.js} +1 -1
- package/dist/stzh-components/{p-0e48efa7.entry.js → p-bee6eef5.entry.js} +1 -1
- package/dist/stzh-components/{p-616e70e9.system.entry.js → p-bfcfbfbb.system.entry.js} +1 -1
- package/dist/stzh-components/p-c0fef3d1.entry.js +1 -0
- package/dist/stzh-components/{p-8eb72064.system.entry.js → p-c30600d0.system.entry.js} +1 -1
- package/dist/stzh-components/{p-46f4e907.entry.js → p-c3a543a6.entry.js} +1 -1
- package/dist/stzh-components/p-c63aecaa.system.entry.js +1 -0
- package/dist/stzh-components/p-c87e12de.system.entry.js +1 -0
- package/dist/stzh-components/{p-2c783943.entry.js → p-cc720d2d.entry.js} +1 -1
- package/dist/stzh-components/p-cfd22a5e.system.entry.js +1 -0
- package/dist/stzh-components/p-cff8376e.entry.js +1 -0
- package/dist/stzh-components/p-d240494d.entry.js +1 -0
- package/dist/stzh-components/p-d2f6fb1b.system.js +1 -0
- package/dist/stzh-components/p-d5c0801b.entry.js +1 -0
- package/dist/stzh-components/{p-440ae0cc.system.entry.js → p-d5cb80ad.system.entry.js} +1 -1
- package/dist/stzh-components/p-d6ec20c8.system.entry.js +1 -0
- package/dist/stzh-components/p-d9bf09b1.system.entry.js +1 -0
- package/dist/stzh-components/{p-b5a59ac0.entry.js → p-db1692fb.entry.js} +1 -1
- package/dist/stzh-components/{p-609bf766.system.js → p-dbdc01c7.system.js} +2 -2
- package/dist/stzh-components/{p-8347b91f.js → p-df5f49b4.js} +1 -1
- package/dist/stzh-components/p-e016ceb9.entry.js +1 -0
- package/dist/stzh-components/{p-fade35c7.entry.js → p-e0f063ac.entry.js} +1 -1
- package/dist/stzh-components/p-e32bc982.system.js +1 -0
- package/dist/stzh-components/{p-5ed4d1d5.system.entry.js → p-e46d82b9.system.entry.js} +1 -1
- package/dist/stzh-components/p-e76a3647.entry.js +1 -0
- package/dist/stzh-components/{p-e347ce1e.system.entry.js → p-e7cf6c45.system.entry.js} +1 -1
- package/dist/stzh-components/p-ea9ca52b.entry.js +1 -0
- package/dist/stzh-components/p-eaa65f52.system.js +1 -0
- package/dist/stzh-components/p-eade9f77.entry.js +1 -0
- package/dist/stzh-components/{p-e69903fe.entry.js → p-eb6d3e6c.entry.js} +1 -1
- package/dist/stzh-components/{p-d408604f.system.entry.js → p-ec3a472a.system.entry.js} +1 -1
- package/dist/stzh-components/{p-d4b93488.entry.js → p-ec7b6ce8.entry.js} +2 -2
- package/dist/stzh-components/{p-ef62b905.entry.js → p-ed0d51b6.entry.js} +1 -1
- package/dist/stzh-components/p-ed6adb96.entry.js +1 -0
- package/dist/stzh-components/p-ef3da23b.entry.js +1 -0
- package/dist/stzh-components/{p-27573504.system.entry.js → p-f027e569.system.entry.js} +1 -1
- package/dist/stzh-components/{p-95defe16.system.entry.js → p-f03ce92d.system.entry.js} +1 -1
- package/dist/stzh-components/{p-a866b3a3.entry.js → p-f133eba2.entry.js} +1 -1
- package/dist/stzh-components/p-f3107fc7.system.entry.js +1 -0
- package/dist/stzh-components/{p-92788577.entry.js → p-f5fdc88c.entry.js} +2 -2
- package/dist/stzh-components/{p-183e4790.system.entry.js → p-fbf2f4ed.system.entry.js} +1 -1
- package/dist/stzh-components/{p-f5f3475c.system.entry.js → p-fcec6003.system.entry.js} +1 -1
- package/dist/stzh-components/{p-cf781b59.entry.js → p-fd265f3a.entry.js} +1 -1
- package/dist/stzh-components/p-fdb906b9.system.entry.js +1 -0
- package/dist/stzh-components/{p-b54ed1f9.entry.js → p-fee6a938.entry.js} +1 -1
- package/dist/stzh-components/stzh-components.esm.js +1 -1
- package/dist/stzh-components/stzh-components.js +1 -1
- package/dist/types/components/stzh-datamessagelist-item/stzh-datamessagelist-item.localization.d.ts +1 -0
- package/dist/types/components/stzh-microsite-teaserlist/stzh-microsite-teaserlist.localization.d.ts +5 -0
- package/dist/types/components/stzh-popover/stzh-popover.localization.d.ts +1 -0
- package/dist/types/components/stzh-tooltip/stzh-tooltip.localization.d.ts +1 -0
- package/dist/types/components/stzh-vbz-ticker/stzh-vbz-ticker.localization.d.ts +13 -12
- package/dist/types/components.d.ts +534 -29
- package/dist/types/index.d.ts +86 -2
- package/dist/vscode-data.json +291 -18
- package/package.json +1 -1
- package/dist/cjs/stzh-card-list.cjs.entry.js +0 -76
- package/dist/cjs/stzh-card.cjs.entry.js +0 -282
- package/dist/cjs/stzh-chip-select.cjs.entry.js +0 -112
- package/dist/cjs/stzh-datalist.cjs.entry.js +0 -62
- package/dist/esm/stzh-card-list.entry.js +0 -72
- package/dist/esm/stzh-card.entry.js +0 -278
- package/dist/esm/stzh-chip-select.entry.js +0 -108
- package/dist/esm/stzh-datalist.entry.js +0 -58
- package/dist/esm-es5/animation-utils-25c74e5b.js +0 -1
- package/dist/esm-es5/stzh-card-list.entry.js +0 -1
- package/dist/esm-es5/stzh-card.entry.js +0 -1
- package/dist/esm-es5/stzh-chip-select.entry.js +0 -1
- package/dist/esm-es5/stzh-datalist.entry.js +0 -1
- package/dist/stzh-components/p-01909f35.system.entry.js +0 -1
- package/dist/stzh-components/p-0230004d.system.js +0 -1
- package/dist/stzh-components/p-025953d1.system.entry.js +0 -1
- package/dist/stzh-components/p-04dd6821.entry.js +0 -1
- package/dist/stzh-components/p-090bfb8e.system.entry.js +0 -1
- package/dist/stzh-components/p-105a11cb.entry.js +0 -1
- package/dist/stzh-components/p-140e4b63.entry.js +0 -1
- package/dist/stzh-components/p-14e457c6.system.entry.js +0 -1
- package/dist/stzh-components/p-17ae6581.entry.js +0 -1
- package/dist/stzh-components/p-1f57d28e.js +0 -1
- package/dist/stzh-components/p-20a6ffbb.entry.js +0 -1
- package/dist/stzh-components/p-238a8c83.system.entry.js +0 -1
- package/dist/stzh-components/p-25ef050a.entry.js +0 -1
- package/dist/stzh-components/p-293ceb5e.entry.js +0 -1
- package/dist/stzh-components/p-2a5855f8.js +0 -1
- package/dist/stzh-components/p-2ba8b5c9.system.entry.js +0 -1
- package/dist/stzh-components/p-37bdb9cd.system.entry.js +0 -1
- package/dist/stzh-components/p-38977481.entry.js +0 -1
- package/dist/stzh-components/p-3a47ff2d.system.entry.js +0 -1
- package/dist/stzh-components/p-509c97c9.system.entry.js +0 -1
- package/dist/stzh-components/p-50ea2036.system.js +0 -1
- package/dist/stzh-components/p-51c75fba.system.entry.js +0 -1
- package/dist/stzh-components/p-529a56aa.system.entry.js +0 -1
- package/dist/stzh-components/p-52cd1bd1.system.js +0 -1
- package/dist/stzh-components/p-5869502c.system.entry.js +0 -1
- package/dist/stzh-components/p-5c311df3.entry.js +0 -1
- package/dist/stzh-components/p-60d8e2da.entry.js +0 -1
- package/dist/stzh-components/p-61c9ca5d.entry.js +0 -1
- package/dist/stzh-components/p-67ade1c7.system.entry.js +0 -1
- package/dist/stzh-components/p-6830f839.entry.js +0 -1
- package/dist/stzh-components/p-6a16ceff.entry.js +0 -1
- package/dist/stzh-components/p-6d22bd0d.entry.js +0 -1
- package/dist/stzh-components/p-783346ed.entry.js +0 -1
- package/dist/stzh-components/p-7909f56b.entry.js +0 -1
- package/dist/stzh-components/p-7a584d3f.system.entry.js +0 -1
- package/dist/stzh-components/p-7aef399f.entry.js +0 -1
- package/dist/stzh-components/p-7dec02ca.entry.js +0 -1
- package/dist/stzh-components/p-84aace40.system.entry.js +0 -1
- package/dist/stzh-components/p-8d9056de.entry.js +0 -1
- package/dist/stzh-components/p-8f9de52f.system.entry.js +0 -1
- package/dist/stzh-components/p-90ad5e2c.entry.js +0 -1
- package/dist/stzh-components/p-92ad9720.system.entry.js +0 -1
- package/dist/stzh-components/p-965829a6.system.entry.js +0 -1
- package/dist/stzh-components/p-98a972b7.system.entry.js +0 -1
- package/dist/stzh-components/p-9a7593f5.entry.js +0 -1
- package/dist/stzh-components/p-a10e0117.system.entry.js +0 -1
- package/dist/stzh-components/p-ac409e7b.system.entry.js +0 -1
- package/dist/stzh-components/p-ad119aca.entry.js +0 -1
- package/dist/stzh-components/p-b0e514c7.entry.js +0 -1
- package/dist/stzh-components/p-b3587b9d.system.entry.js +0 -1
- package/dist/stzh-components/p-bc34bf07.system.entry.js +0 -1
- package/dist/stzh-components/p-bfdce66c.entry.js +0 -1
- package/dist/stzh-components/p-c051fc3b.entry.js +0 -1
- package/dist/stzh-components/p-c2238fbf.entry.js +0 -1
- package/dist/stzh-components/p-c3846ccf.system.entry.js +0 -1
- package/dist/stzh-components/p-c6813d9f.system.entry.js +0 -1
- package/dist/stzh-components/p-c777032f.system.entry.js +0 -1
- package/dist/stzh-components/p-c8009c05.system.entry.js +0 -1
- package/dist/stzh-components/p-cbaab05e.entry.js +0 -1
- package/dist/stzh-components/p-ce06b4f2.system.js +0 -1
- package/dist/stzh-components/p-d00e20ff.entry.js +0 -1
- package/dist/stzh-components/p-d26ed018.entry.js +0 -1
- package/dist/stzh-components/p-e161760f.system.entry.js +0 -1
- package/dist/stzh-components/p-ee711f37.system.entry.js +0 -1
- package/dist/stzh-components/p-ee944add.system.entry.js +0 -1
- package/dist/stzh-components/p-f8ccf5b1.entry.js +0 -1
- package/dist/stzh-components/p-f9039c23.entry.js +0 -1
- package/dist/stzh-components/p-ff2a6bdf.system.entry.js +0 -1
|
@@ -3,7 +3,7 @@ import { h as hasSlot } from './utils.js';
|
|
|
3
3
|
import { d as defineCustomElement$2 } from './stzh-badge2.js';
|
|
4
4
|
import { d as defineCustomElement$1 } from './stzh-icon2.js';
|
|
5
5
|
|
|
6
|
-
const stzhLinkCss = "@charset \"UTF-8\";.sc-stzh-link-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-link-h{display:none}.sc-stzh-link-h *.sc-stzh-link,.sc-stzh-link-h *.sc-stzh-link::before,.sc-stzh-link-h *.sc-stzh-link::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-link-h{--color:var(--stzh-link-color);--text-decoration:underline;--icon-size:var(--stzh-icon-size-medium);--icon-wrapper-height:var(--stzh-link-icon-wrapper-height);--hover-color:var(--stzh-link-hover-color);--hover-text-decoration:underline;color:var(--color);display:inline-block;border-radius:var(--stzh-button-border-radius)}.sc-stzh-link-h .sc-stzh-link-s>stzh-text{--color:initial}[fullwidth].sc-stzh-link-h:not([fullwidth=false]){width:100%;display:block}[size=small].sc-stzh-link-h{--icon-size:var(--stzh-icon-size-small)}[variant=secondary].sc-stzh-link-h{--color:var(--stzh-base-color)}[active].sc-stzh-link-h:not([active=false]){--color:var(--hover-color)}[disabled].sc-stzh-link-h:not([disabled=false]){--color:var(--stzh-color-grey25);--hover-color:var(--stzh-color-grey25)}.sc-stzh-link-h .sc-stzh-link-s>stzh-icon,.stzh-link__icon.sc-stzh-link{--size:var(--icon-size)}.stzh-link.sc-stzh-link{font-size:var(--stzh-font-curve-p1-default-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-p1-default-text-line-height, var(--stzh-font-milli-text-line-height));letter-spacing:var(--stzh-font-curve-p1-default-text-letter-spacing);position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:stretch;justify-content:stretch;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;color:var(--color);-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);cursor:pointer;width:100%;text-decoration:none;background-color:transparent;padding:0;border-radius:var(--stzh-button-border-radius);text-align:left}@media screen and (min-width: 1024px){.stzh-link.sc-stzh-link{font-size:var(--stzh-font-curve-p1-medium-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-p1-medium-text-line-height, var(--stzh-font-centi-text-line-height));letter-spacing:var(--stzh-font-curve-p1-medium-text-letter-spacing)}}.stzh-link.sc-stzh-link:hover{color:var(--hover-color)}.stzh-link.sc-stzh-link:hover .stzh-link__text.sc-stzh-link{-webkit-text-decoration:var(--hover-text-decoration);text-decoration:var(--hover-text-decoration)}.stzh-link__inner.sc-stzh-link{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-ms-flex-positive:1;flex-grow:1}.stzh-link__icon-wrapper.sc-stzh-link{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-ms-flex-negative:0;flex-shrink:0;width:auto;height:var(--icon-wrapper-height)}.stzh-link__text.sc-stzh-link{-webkit-text-decoration:var(--text-decoration);text-decoration:var(--text-decoration)}.stzh-link__icon-wrapper.sc-stzh-link:not(:empty)+.stzh-link__text.sc-stzh-link:not(:empty),.stzh-link__text.sc-stzh-link:not(:empty)+.stzh-link__icon-wrapper.sc-stzh-link:not(:empty){margin-left:var(--stzh-space-xxsmall)}.stzh-link__badge.sc-stzh-link{position:absolute;z-index:1;top:0;right:0}.stzh-link--has-icon-only.sc-stzh-link .stzh-link__text.sc-stzh-link{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-link--badge-position-link.sc-stzh-link .stzh-link__icon-wrapper.sc-stzh-link{position:static}.stzh-link__badge.sc-stzh-link,.stzh-link--badge-position-link.sc-stzh-link .stzh-link__badge.sc-stzh-link{top:calc(var(--stzh-space-xxsmall) * -1);right:calc(var(--stzh-space-large) * -1)}.stzh-link--badge-position-icon.stzh-link--has-icon.sc-stzh-link .stzh-link__icon-wrapper.sc-stzh-link{position:relative}.stzh-link--badge-position-icon.stzh-link--has-icon.sc-stzh-link .stzh-link__badge.sc-stzh-link{top:calc(var(--stzh-space-xsmall) * -1);right:calc(var(--stzh-space-small) * -1)}.stzh-link--badge-position-icon.stzh-link--has-icon.stzh-link--has-badge.sc-stzh-link .stzh-link__icon-wrapper.sc-stzh-link+.stzh-link__text.sc-stzh-link:not(:empty){margin-left:var(--stzh-space-small)}.stzh-link--size-small.sc-stzh-link{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height)}.stzh-link--size-inherit.sc-stzh-link{font-size:inherit;line-height:inherit;letter-spacing:inherit}.stzh-link--align-left.sc-stzh-link .stzh-link__inner.sc-stzh-link{-ms-flex-pack:start;justify-content:flex-start}.stzh-link--align-right.sc-stzh-link .stzh-link__inner.sc-stzh-link{-ms-flex-pack:end;justify-content:flex-end}.stzh-link--align-center.sc-stzh-link .stzh-link__inner.sc-stzh-link{-ms-flex-pack:center;justify-content:center}.stzh-link--align-space-between.sc-stzh-link .stzh-link__inner.sc-stzh-link{-ms-flex-pack:justify;justify-content:space-between}.stzh-link--is-disabled.sc-stzh-link{cursor:not-allowed}";
|
|
6
|
+
const stzhLinkCss = "@charset \"UTF-8\";.sc-stzh-link-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-link-h{display:none}.sc-stzh-link-h *.sc-stzh-link,.sc-stzh-link-h *.sc-stzh-link::before,.sc-stzh-link-h *.sc-stzh-link::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-link-h{--color:var(--stzh-link-color);--text-decoration:underline;--icon-size:var(--stzh-icon-size-medium);--icon-wrapper-height:var(--stzh-link-icon-wrapper-height);--hover-color:var(--stzh-link-hover-color);--hover-text-decoration:underline;color:var(--color);display:inline-block;border-radius:var(--stzh-button-border-radius)}.sc-stzh-link-h .sc-stzh-link-s>stzh-text{--color:initial}[fullwidth].sc-stzh-link-h:not([fullwidth=false]){width:100%;display:block}[size=small].sc-stzh-link-h{--icon-size:var(--stzh-icon-size-small)}[variant=secondary].sc-stzh-link-h{--color:var(--stzh-base-color)}[active].sc-stzh-link-h:not([active=false]){--color:var(--hover-color)}[disabled].sc-stzh-link-h:not([disabled=false]){--color:var(--stzh-color-grey25);--hover-color:var(--stzh-color-grey25)}.sc-stzh-link-h .sc-stzh-link-s>stzh-icon,.stzh-link__icon.sc-stzh-link{--size:var(--icon-size)}.stzh-link.sc-stzh-link{font-size:var(--stzh-font-curve-p1-default-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-p1-default-text-line-height, var(--stzh-font-milli-text-line-height));letter-spacing:var(--stzh-font-curve-p1-default-text-letter-spacing);font-family:inherit;position:relative;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:stretch;justify-content:stretch;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;color:var(--color);-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);cursor:pointer;width:100%;text-decoration:none;background-color:transparent;padding:0;border-radius:var(--stzh-button-border-radius);text-align:left}@media screen and (min-width: 1024px){.stzh-link.sc-stzh-link{font-size:var(--stzh-font-curve-p1-medium-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-p1-medium-text-line-height, var(--stzh-font-centi-text-line-height));letter-spacing:var(--stzh-font-curve-p1-medium-text-letter-spacing)}}.stzh-link.sc-stzh-link:hover{color:var(--hover-color)}.stzh-link.sc-stzh-link:hover .stzh-link__text.sc-stzh-link{-webkit-text-decoration:var(--hover-text-decoration);text-decoration:var(--hover-text-decoration)}.stzh-link__inner.sc-stzh-link{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-ms-flex-positive:1;flex-grow:1}.stzh-link__icon-wrapper.sc-stzh-link{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-ms-flex-negative:0;flex-shrink:0;width:auto;height:var(--icon-wrapper-height)}.stzh-link__text.sc-stzh-link{-webkit-text-decoration:var(--text-decoration);text-decoration:var(--text-decoration)}.stzh-link__icon-wrapper.sc-stzh-link:not(:empty)+.stzh-link__text.sc-stzh-link:not(:empty),.stzh-link__text.sc-stzh-link:not(:empty)+.stzh-link__icon-wrapper.sc-stzh-link:not(:empty){margin-left:var(--stzh-space-xxsmall)}.stzh-link__badge.sc-stzh-link{position:absolute;z-index:1;top:0;right:0}.stzh-link--has-icon-only.sc-stzh-link .stzh-link__text.sc-stzh-link{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-link--badge-position-link.sc-stzh-link .stzh-link__icon-wrapper.sc-stzh-link{position:static}.stzh-link__badge.sc-stzh-link,.stzh-link--badge-position-link.sc-stzh-link .stzh-link__badge.sc-stzh-link{top:calc(var(--stzh-space-xxsmall) * -1);right:calc(var(--stzh-space-large) * -1)}.stzh-link--badge-position-icon.stzh-link--has-icon.sc-stzh-link .stzh-link__icon-wrapper.sc-stzh-link{position:relative}.stzh-link--badge-position-icon.stzh-link--has-icon.sc-stzh-link .stzh-link__badge.sc-stzh-link{top:calc(var(--stzh-space-xsmall) * -1);right:calc(var(--stzh-space-small) * -1)}.stzh-link--badge-position-icon.stzh-link--has-icon.stzh-link--has-badge.sc-stzh-link .stzh-link__icon-wrapper.sc-stzh-link+.stzh-link__text.sc-stzh-link:not(:empty){margin-left:var(--stzh-space-small)}.stzh-link--size-small.sc-stzh-link{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height)}.stzh-link--size-inherit.sc-stzh-link{font-size:inherit;line-height:inherit;letter-spacing:inherit}.stzh-link--align-left.sc-stzh-link .stzh-link__inner.sc-stzh-link{-ms-flex-pack:start;justify-content:flex-start}.stzh-link--align-right.sc-stzh-link .stzh-link__inner.sc-stzh-link{-ms-flex-pack:end;justify-content:flex-end}.stzh-link--align-center.sc-stzh-link .stzh-link__inner.sc-stzh-link{-ms-flex-pack:center;justify-content:center}.stzh-link--align-space-between.sc-stzh-link .stzh-link__inner.sc-stzh-link{-ms-flex-pack:justify;justify-content:space-between}.stzh-link--is-disabled.sc-stzh-link{cursor:not-allowed}";
|
|
7
7
|
|
|
8
8
|
const StzhLink = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
9
9
|
constructor() {
|
|
@@ -39,6 +39,7 @@ const StzhLink = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
39
39
|
this.iconPosition = "left";
|
|
40
40
|
this.size = "default";
|
|
41
41
|
this.href = "";
|
|
42
|
+
this.rel = undefined;
|
|
42
43
|
this.target = "";
|
|
43
44
|
this.download = undefined;
|
|
44
45
|
this.type = "button";
|
|
@@ -54,6 +55,10 @@ const StzhLink = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
54
55
|
this.iconOnly = false;
|
|
55
56
|
this.label = "";
|
|
56
57
|
this.linkAccesskey = undefined;
|
|
58
|
+
this.a11yLabel = undefined;
|
|
59
|
+
this.a11yDescribedby = "";
|
|
60
|
+
this.a11yExpanded = undefined;
|
|
61
|
+
this.a11yControls = undefined;
|
|
57
62
|
}
|
|
58
63
|
/** Focus link */
|
|
59
64
|
async setFocus() {
|
|
@@ -89,9 +94,11 @@ const StzhLink = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
89
94
|
[`stzh-link--${this.variant}`]: !!this.variant,
|
|
90
95
|
};
|
|
91
96
|
return (h(Host, null, this.href ?
|
|
92
|
-
h("a", { ref: (el) => (this.link = el), href: this.disabled ? null : this.href, download: this.download, target: this.target, class: classes, accessKey: this.linkAccesskey,
|
|
97
|
+
h("a", { ref: (el) => (this.link = el), href: this.disabled ? null : this.href, download: this.download, rel: this.rel, target: this.target, class: classes, accessKey: this.linkAccesskey, "aria-label": this.a11yLabel, "aria-describedby": this.a11yDescribedby, "aria-expanded": typeof this.a11yExpanded !== "undefined"
|
|
98
|
+
? (this.a11yExpanded ? "true" : "false") : null, "aria-controls": this.a11yControls, onFocus: this.onFocus, onBlur: this.onBlur }, this.renderInner(iconUsed))
|
|
93
99
|
:
|
|
94
|
-
h("button", { ref: (el) => (this.link = el), class: classes, type: this.type, disabled: this.disabled, accessKey: this.linkAccesskey,
|
|
100
|
+
h("button", { ref: (el) => (this.link = el), class: classes, type: this.type, disabled: this.disabled, accessKey: this.linkAccesskey, "aria-label": this.a11yLabel, "aria-describedby": this.a11yDescribedby, "aria-expanded": typeof this.a11yExpanded !== "undefined"
|
|
101
|
+
? (this.a11yExpanded ? "true" : "false") : null, "aria-controls": this.a11yControls, onFocus: this.onFocus, onBlur: this.onBlur }, this.renderInner(iconUsed))));
|
|
95
102
|
}
|
|
96
103
|
get element() { return this; }
|
|
97
104
|
static get style() { return stzhLinkCss; }
|
|
@@ -100,6 +107,7 @@ const StzhLink = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
100
107
|
"iconPosition": [513, "icon-position"],
|
|
101
108
|
"size": [513],
|
|
102
109
|
"href": [1],
|
|
110
|
+
"rel": [1],
|
|
103
111
|
"target": [1],
|
|
104
112
|
"download": [1],
|
|
105
113
|
"type": [1],
|
|
@@ -115,6 +123,10 @@ const StzhLink = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
115
123
|
"iconOnly": [516, "icon-only"],
|
|
116
124
|
"label": [1],
|
|
117
125
|
"linkAccesskey": [1, "link-accesskey"],
|
|
126
|
+
"a11yLabel": [1, "a11y-label"],
|
|
127
|
+
"a11yDescribedby": [1, "a11y-describedby"],
|
|
128
|
+
"a11yExpanded": [516, "a11y-expanded"],
|
|
129
|
+
"a11yControls": [1, "a11y-controls"],
|
|
118
130
|
"setFocus": [64]
|
|
119
131
|
}]);
|
|
120
132
|
function defineCustomElement() {
|
|
@@ -3,7 +3,7 @@ import { h as hasSlot } from './utils.js';
|
|
|
3
3
|
import { d as defineCustomElement$2 } from './stzh-badge2.js';
|
|
4
4
|
import { d as defineCustomElement$1 } from './stzh-icon2.js';
|
|
5
5
|
|
|
6
|
-
const stzhMenuItemCss = ".sc-stzh-menu-item-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-menu-item-h{display:none}.sc-stzh-menu-item-h *.sc-stzh-menu-item,.sc-stzh-menu-item-h *.sc-stzh-menu-item::before,.sc-stzh-menu-item-h *.sc-stzh-menu-item::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-menu-item-h{--height:var(--stzh-menu-item-height);--color:var(--stzh-color-grey70);--background-color:transparent;--icon-size:var(--stzh-icon-size-small);--hover-color:var(--stzh-color-grey70);--hover-background-color:var(--stzh-color-grey5)}[active].sc-stzh-menu-item-h:not([active=false]){--color:var(--stzh-color-primary, var(--stzh-color-zueriblue));--hover-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-background-color:var(--stzh-color-primary8)}[disabled].sc-stzh-menu-item-h:not([disabled=false]){--color:var(--stzh-color-white);--background-color:var(--stzh-color-grey13);--hover-color:var(--stzh-color-white);--hover-background-color:var(--stzh-color-grey13)}.sc-stzh-menu-item-h .sc-stzh-menu-item-s>stzh-icon,.stzh-menu-item__icon.sc-stzh-menu-item{--size:var(--icon-size)}.stzh-menu-item.sc-stzh-menu-item{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:stretch;justify-content:stretch;-webkit-appearance:none;-moz-appearance:none;appearance:none;text-decoration:none;border:none;padding:var(--stzh-space-xsmall) var(--stzh-space-medium);padding-left:var(--stzh-space-large);color:var(--color);background-color:var(--background-color);width:100%;height:var(--height);line-height:var(--height);-webkit-transition:all var(--stzh-base-transition-animation-speed);transition:all var(--stzh-base-transition-animation-speed);cursor:pointer}.stzh-menu-item.sc-stzh-menu-item:hover{color:var(--hover-color);background-color:var(--hover-background-color)}.stzh-menu-item__icon-wrapper.sc-stzh-menu-item{position:relative;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-ms-flex-negative:0;flex-shrink:0;width:auto;height:1em}.stzh-menu-item__badge.sc-stzh-menu-item{position:absolute;z-index:1;top:calc(var(--stzh-space-xsmall) * -1);right:calc(var(--stzh-space-xsmall) * -1)}.stzh-menu-item__icon-wrapper.sc-stzh-menu-item+.stzh-menu-item__text.sc-stzh-menu-item:not(:empty){margin-left:var(--stzh-space-xsmall)}.stzh-menu-item__text.sc-stzh-menu-item{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.stzh-menu-item--is-disabled.sc-stzh-menu-item{cursor:not-allowed}";
|
|
6
|
+
const stzhMenuItemCss = ".sc-stzh-menu-item-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-menu-item-h{display:none}.sc-stzh-menu-item-h *.sc-stzh-menu-item,.sc-stzh-menu-item-h *.sc-stzh-menu-item::before,.sc-stzh-menu-item-h *.sc-stzh-menu-item::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-menu-item-h{--height:var(--stzh-menu-item-height);--color:var(--stzh-color-grey70);--background-color:transparent;--icon-size:var(--stzh-icon-size-small);--hover-color:var(--stzh-color-grey70);--hover-background-color:var(--stzh-color-grey5)}[active].sc-stzh-menu-item-h:not([active=false]){--color:var(--stzh-color-primary, var(--stzh-color-zueriblue));--hover-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-background-color:var(--stzh-color-primary8)}[disabled].sc-stzh-menu-item-h:not([disabled=false]){--color:var(--stzh-color-white);--background-color:var(--stzh-color-grey13);--hover-color:var(--stzh-color-white);--hover-background-color:var(--stzh-color-grey13)}.sc-stzh-menu-item-h .sc-stzh-menu-item-s>stzh-icon,.stzh-menu-item__icon.sc-stzh-menu-item{--size:var(--icon-size)}.stzh-menu-item.sc-stzh-menu-item{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);font-family:inherit;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:stretch;justify-content:stretch;-webkit-appearance:none;-moz-appearance:none;appearance:none;text-decoration:none;border:none;padding:var(--stzh-space-xsmall) var(--stzh-space-medium);padding-left:var(--stzh-space-large);color:var(--color);background-color:var(--background-color);width:100%;height:var(--height);line-height:var(--height);-webkit-transition:all var(--stzh-base-transition-animation-speed);transition:all var(--stzh-base-transition-animation-speed);cursor:pointer}.stzh-menu-item.sc-stzh-menu-item:hover{color:var(--hover-color);background-color:var(--hover-background-color)}.stzh-menu-item__icon-wrapper.sc-stzh-menu-item{position:relative;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-ms-flex-negative:0;flex-shrink:0;width:auto;height:1em}.stzh-menu-item__badge.sc-stzh-menu-item{position:absolute;z-index:1;top:calc(var(--stzh-space-xsmall) * -1);right:calc(var(--stzh-space-xsmall) * -1)}.stzh-menu-item__icon-wrapper.sc-stzh-menu-item+.stzh-menu-item__text.sc-stzh-menu-item:not(:empty){margin-left:var(--stzh-space-xsmall)}.stzh-menu-item__text.sc-stzh-menu-item{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.stzh-menu-item--is-disabled.sc-stzh-menu-item{cursor:not-allowed}";
|
|
7
7
|
|
|
8
8
|
const StzhMenuItem = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
9
9
|
constructor() {
|
|
@@ -3,7 +3,7 @@ import { j as js_cookie } from './js.cookie.js';
|
|
|
3
3
|
import { f as fetchTranslations } from './translation-utils.js';
|
|
4
4
|
import { d as defineCustomElement$2 } from './stzh-icon2.js';
|
|
5
5
|
|
|
6
|
-
const stzhMessageCss = ".sc-stzh-message-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-message-h{display:none}.sc-stzh-message-h *.sc-stzh-message,.sc-stzh-message-h *.sc-stzh-message::before,.sc-stzh-message-h *.sc-stzh-message::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-message-h{--background-color:var(--stzh-color-white);--icon-color:var(--stzh-color-primary, var(--stzh-color-zueriblue));--close-color:var(--stzh-base-lead-color);--label-color:var(--stzh-base-color);--description-color:var(--stzh-base-color);--priority-high-link-color:var(--stzh-base-invert-color);--priority-high-link-hover-color:var(--stzh-base-invert-color)}[type=success].sc-stzh-message-h{--label-color:var(--stzh-color-truegreen);--icon-color:var(--stzh-color-truegreen)}[type=warning].sc-stzh-message-h{--label-color:var(--stzh-color-warning);--icon-color:var(--stzh-color-warning)}[type=error].sc-stzh-message-h{--label-color:var(--stzh-color-error);--icon-color:var(--stzh-color-error)}.stzh-message.sc-stzh-message{padding:var(--stzh-space-medium);position:relative;display:-ms-flexbox;display:flex;-webkit-box-shadow:var(--stzh-box-shadow-message);box-shadow:var(--stzh-box-shadow-message);background-color:var(--background-color)}@media screen and (min-width: 1024px){.stzh-message.sc-stzh-message{padding:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-message.sc-stzh-message{padding:var(--stzh-space-xlarge)}}.stzh-message__content.sc-stzh-message{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-positive:1;flex-grow:1}@media screen and (min-width: 600px){.stzh-message__content.sc-stzh-message{-ms-flex-direction:row;flex-direction:row;-ms-flex-align:start;align-items:flex-start}}.stzh-message__icon-wrapper.sc-stzh-message{display:-ms-flexbox;display:flex}.stzh-message__icon.sc-stzh-message{--size:var(--stzh-icon-size-large);color:var(--icon-color)}@media screen and (min-width: 600px){.stzh-message__text-wrapper.sc-stzh-message{-ms-flex-positive:1;flex-grow:1;margin-left:var(--stzh-space-small)}}.stzh-message__label.sc-stzh-message{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;font-size:var(--stzh-font-curve-h4-default-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-h4-default-text-line-height, var(--stzh-font-milli-text-line-height));letter-spacing:var(--stzh-font-curve-h4-default-text-letter-spacing);margin-top:var(--stzh-space-small);color:var(--label-color)}@media screen and (min-width: 1024px){.stzh-message__label.sc-stzh-message{font-size:var(--stzh-font-curve-h4-medium-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-h4-medium-text-line-height, var(--stzh-font-centi-text-line-height));letter-spacing:var(--stzh-font-curve-h4-medium-text-letter-spacing)}}@media screen and (min-width: 600px){.stzh-message__label.sc-stzh-message{margin-top:0}}.stzh-message__description.sc-stzh-message{font-size:var(--stzh-font-curve-p1-default-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-p1-default-text-line-height, var(--stzh-font-milli-text-line-height));letter-spacing:var(--stzh-font-curve-p1-default-text-letter-spacing);color:var(--description-color)}@media screen and (min-width: 1024px){.stzh-message__description.sc-stzh-message{font-size:var(--stzh-font-curve-p1-medium-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-p1-medium-text-line-height, var(--stzh-font-centi-text-line-height));letter-spacing:var(--stzh-font-curve-p1-medium-text-letter-spacing)}}.stzh-message__link.sc-stzh-message:not(:empty){margin-top:var(--stzh-space-small)}@media screen and (min-width: 1024px){.stzh-message__link.sc-stzh-message:not(:empty){margin-top:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.stzh-message__link.sc-stzh-message:not(:empty){margin-top:var(--stzh-space-large)}}.stzh-message__description.sc-stzh-message:empty+.stzh-message__link.sc-stzh-message{margin-top:0}.stzh-message__close.sc-stzh-message{-ms-flex-negative:0;flex-shrink:0}@media screen and (min-width: 600px){.stzh-message__close.sc-stzh-message{margin-left:var(--stzh-space-small)}}.stzh-message__close-button.sc-stzh-message{top:var(--stzh-space-medium);right:var(--stzh-space-medium);position:absolute;display:-ms-flexbox;display:flex;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;background:none;padding:var(--stzh-space-xsmall);margin:calc(var(--stzh-space-xsmall) * -1);border-radius:var(--stzh-button-border-radius);cursor:pointer}@media screen and (min-width: 1024px){.stzh-message__close-button.sc-stzh-message{top:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-message__close-button.sc-stzh-message{top:var(--stzh-space-xlarge)}}@media screen and (min-width: 1024px){.stzh-message__close-button.sc-stzh-message{right:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-message__close-button.sc-stzh-message{right:var(--stzh-space-xlarge)}}@media screen and (min-width: 600px){.stzh-message__close-button.sc-stzh-message{position:initial;top:initial;right:initial}}.stzh-message__close-icon.sc-stzh-message{--size:var(--stzh-icon-size-medium);color:var(--close-color)}";
|
|
6
|
+
const stzhMessageCss = ".sc-stzh-message-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-message-h{display:none}.sc-stzh-message-h *.sc-stzh-message,.sc-stzh-message-h *.sc-stzh-message::before,.sc-stzh-message-h *.sc-stzh-message::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-message-h{--background-color:var(--stzh-color-white);--icon-color:var(--stzh-color-primary, var(--stzh-color-zueriblue));--close-color:var(--stzh-base-lead-color);--label-color:var(--stzh-base-color);--description-color:var(--stzh-base-color);--priority-high-link-color:var(--stzh-base-invert-color);--priority-high-link-hover-color:var(--stzh-base-invert-color)}[type=success].sc-stzh-message-h{--label-color:var(--stzh-color-truegreen);--icon-color:var(--stzh-color-truegreen)}[type=warning].sc-stzh-message-h{--label-color:var(--stzh-color-warning);--icon-color:var(--stzh-color-warning)}[type=error].sc-stzh-message-h{--label-color:var(--stzh-color-error);--icon-color:var(--stzh-color-error)}.stzh-message.sc-stzh-message{padding:var(--stzh-space-medium);position:relative;display:-ms-flexbox;display:flex;-webkit-box-shadow:var(--stzh-box-shadow-message);box-shadow:var(--stzh-box-shadow-message);background-color:var(--background-color)}@media screen and (min-width: 1024px){.stzh-message.sc-stzh-message{padding:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-message.sc-stzh-message{padding:var(--stzh-space-xlarge)}}.stzh-message__content.sc-stzh-message{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-positive:1;flex-grow:1}@media screen and (min-width: 600px){.stzh-message__content.sc-stzh-message{-ms-flex-direction:row;flex-direction:row;-ms-flex-align:start;align-items:flex-start}}.stzh-message__icon-wrapper.sc-stzh-message{display:-ms-flexbox;display:flex}.stzh-message__icon.sc-stzh-message{--size:var(--stzh-icon-size-large);color:var(--icon-color)}@media screen and (min-width: 600px){.stzh-message__text-wrapper.sc-stzh-message{-ms-flex-positive:1;flex-grow:1;margin-left:var(--stzh-space-small)}}.stzh-message__label.sc-stzh-message{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;font-size:var(--stzh-font-curve-h4-default-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-h4-default-text-line-height, var(--stzh-font-milli-text-line-height));letter-spacing:var(--stzh-font-curve-h4-default-text-letter-spacing);margin-top:var(--stzh-space-small);color:var(--label-color)}@media screen and (min-width: 1024px){.stzh-message__label.sc-stzh-message{font-size:var(--stzh-font-curve-h4-medium-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-h4-medium-text-line-height, var(--stzh-font-centi-text-line-height));letter-spacing:var(--stzh-font-curve-h4-medium-text-letter-spacing)}}@media screen and (min-width: 600px){.stzh-message__label.sc-stzh-message{margin-top:0}}.stzh-message__description.sc-stzh-message{font-size:var(--stzh-font-curve-p1-default-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-p1-default-text-line-height, var(--stzh-font-milli-text-line-height));letter-spacing:var(--stzh-font-curve-p1-default-text-letter-spacing);color:var(--description-color)}@media screen and (min-width: 1024px){.stzh-message__description.sc-stzh-message{font-size:var(--stzh-font-curve-p1-medium-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-p1-medium-text-line-height, var(--stzh-font-centi-text-line-height));letter-spacing:var(--stzh-font-curve-p1-medium-text-letter-spacing)}}.stzh-message__link.sc-stzh-message:not(:empty){margin-top:var(--stzh-space-small)}@media screen and (min-width: 1024px){.stzh-message__link.sc-stzh-message:not(:empty){margin-top:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.stzh-message__link.sc-stzh-message:not(:empty){margin-top:var(--stzh-space-large)}}.stzh-message__description.sc-stzh-message:empty+.stzh-message__link.sc-stzh-message{margin-top:0}.stzh-message__close.sc-stzh-message{-ms-flex-negative:0;flex-shrink:0}@media screen and (min-width: 600px){.stzh-message__close.sc-stzh-message{margin-left:var(--stzh-space-small)}}.stzh-message__close-button.sc-stzh-message{top:var(--stzh-space-medium);right:var(--stzh-space-medium);position:absolute;display:-ms-flexbox;display:flex;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-family:inherit;border:none;background:none;padding:var(--stzh-space-xsmall);margin:calc(var(--stzh-space-xsmall) * -1);border-radius:var(--stzh-button-border-radius);cursor:pointer}@media screen and (min-width: 1024px){.stzh-message__close-button.sc-stzh-message{top:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-message__close-button.sc-stzh-message{top:var(--stzh-space-xlarge)}}@media screen and (min-width: 1024px){.stzh-message__close-button.sc-stzh-message{right:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-message__close-button.sc-stzh-message{right:var(--stzh-space-xlarge)}}@media screen and (min-width: 600px){.stzh-message__close-button.sc-stzh-message{position:initial;top:initial;right:initial}}.stzh-message__close-icon.sc-stzh-message{--size:var(--stzh-icon-size-medium);color:var(--close-color)}";
|
|
7
7
|
|
|
8
8
|
const KEY_PREFIX_CLOSE = "stzh-components-message-close";
|
|
9
9
|
const StzhMessage$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { Components, JSX } from "../types/components";
|
|
2
|
+
|
|
3
|
+
interface StzhMicrositeTeaserlist extends Components.StzhMicrositeTeaserlist, HTMLElement {}
|
|
4
|
+
export const StzhMicrositeTeaserlist: {
|
|
5
|
+
prototype: StzhMicrositeTeaserlist;
|
|
6
|
+
new (): StzhMicrositeTeaserlist;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* Used to define this component and all nested components recursively.
|
|
10
|
+
*/
|
|
11
|
+
export const defineCustomElement: () => void;
|
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
import { a as axios } from './index3.js';
|
|
3
|
+
import { f as fetchTranslations } from './translation-utils.js';
|
|
4
|
+
import { d as defineCustomElement$h } from './stzh-actionset2.js';
|
|
5
|
+
import { d as defineCustomElement$g } from './stzh-badge2.js';
|
|
6
|
+
import { d as defineCustomElement$f } from './stzh-button2.js';
|
|
7
|
+
import { d as defineCustomElement$e } from './stzh-card2.js';
|
|
8
|
+
import { d as defineCustomElement$d } from './stzh-card-list2.js';
|
|
9
|
+
import { d as defineCustomElement$c } from './stzh-chip2.js';
|
|
10
|
+
import { d as defineCustomElement$b } from './stzh-chip-select2.js';
|
|
11
|
+
import { d as defineCustomElement$a } from './stzh-clamp2.js';
|
|
12
|
+
import { d as defineCustomElement$9 } from './stzh-dropdown2.js';
|
|
13
|
+
import { d as defineCustomElement$8 } from './stzh-icon2.js';
|
|
14
|
+
import { d as defineCustomElement$7 } from './stzh-link2.js';
|
|
15
|
+
import { d as defineCustomElement$6 } from './stzh-menu2.js';
|
|
16
|
+
import { d as defineCustomElement$5 } from './stzh-menu-item2.js';
|
|
17
|
+
import { d as defineCustomElement$4 } from './stzh-popover2.js';
|
|
18
|
+
import { d as defineCustomElement$3 } from './stzh-sortable2.js';
|
|
19
|
+
import { d as defineCustomElement$2 } from './stzh-tooltip2.js';
|
|
20
|
+
|
|
21
|
+
const stzhMicrositeTeaserlistCss = ".sc-stzh-microsite-teaserlist-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-microsite-teaserlist-h{display:none}.sc-stzh-microsite-teaserlist-h *.sc-stzh-microsite-teaserlist,.sc-stzh-microsite-teaserlist-h *.sc-stzh-microsite-teaserlist::before,.sc-stzh-microsite-teaserlist-h *.sc-stzh-microsite-teaserlist::after{-webkit-box-sizing:border-box;box-sizing:border-box}.stzh-microsite-teaserlist__filter.sc-stzh-microsite-teaserlist{margin-bottom:var(--stzh-space-xlarge)}@media screen and (min-width: 1024px){.stzh-microsite-teaserlist__filter.sc-stzh-microsite-teaserlist{margin-bottom:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.stzh-microsite-teaserlist__filter.sc-stzh-microsite-teaserlist{margin-bottom:var(--stzh-space-xxxlarge)}}.stzh-microsite-teaserlist__show-more.sc-stzh-microsite-teaserlist{margin-top:var(--stzh-space-xlarge)}@media screen and (min-width: 1024px){.stzh-microsite-teaserlist__show-more.sc-stzh-microsite-teaserlist{margin-top:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.stzh-microsite-teaserlist__show-more.sc-stzh-microsite-teaserlist{margin-top:var(--stzh-space-xxxlarge)}}";
|
|
22
|
+
|
|
23
|
+
const StzhMicrositeTeaserlist$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
24
|
+
constructor() {
|
|
25
|
+
super();
|
|
26
|
+
this.__registerHost();
|
|
27
|
+
this._tags = [];
|
|
28
|
+
this._tagChips = [];
|
|
29
|
+
this.items = [];
|
|
30
|
+
this.filteredItems = [];
|
|
31
|
+
this.filteredSlicedItems = [];
|
|
32
|
+
this.handleChange = (event) => {
|
|
33
|
+
this.showItems = this.stepItems;
|
|
34
|
+
this.activeFilter = event.detail.value;
|
|
35
|
+
};
|
|
36
|
+
this.handleMoreClick = () => {
|
|
37
|
+
this.showItems += this.stepItems;
|
|
38
|
+
};
|
|
39
|
+
this.localization = undefined;
|
|
40
|
+
this.api = undefined;
|
|
41
|
+
this.tags = [];
|
|
42
|
+
this.stepItems = 6;
|
|
43
|
+
this.showItems = undefined;
|
|
44
|
+
this.activeFilter = "";
|
|
45
|
+
}
|
|
46
|
+
async filterHandler() {
|
|
47
|
+
this.filteredItems = this.items
|
|
48
|
+
.filter((item) => {
|
|
49
|
+
// return (this.activeFilter[0] !== "") ? item.tags.some(tag => this.activeFilters.indexOf(tag) > -1) : true;
|
|
50
|
+
return (this.activeFilter !== "") ? item.tags.some(tag => this.activeFilter === tag) : true;
|
|
51
|
+
});
|
|
52
|
+
this.filteredSlicedItems = this.filteredItems
|
|
53
|
+
.slice(0, this.showItems);
|
|
54
|
+
}
|
|
55
|
+
async tagsWatcher(newValue) {
|
|
56
|
+
if (typeof newValue === "string") {
|
|
57
|
+
this._tags = JSON.parse(newValue);
|
|
58
|
+
}
|
|
59
|
+
else {
|
|
60
|
+
this._tags = newValue;
|
|
61
|
+
}
|
|
62
|
+
this._tagChips = this._tags.map((tag) => ({
|
|
63
|
+
"label": tag.name,
|
|
64
|
+
"value": tag.id,
|
|
65
|
+
"variant": "filter",
|
|
66
|
+
"type": "secondary",
|
|
67
|
+
"counter": ((tag.id)
|
|
68
|
+
? this.items.filter(item => item.tags.indexOf(tag.id) > -1).length
|
|
69
|
+
: this.items.length).toString()
|
|
70
|
+
}));
|
|
71
|
+
}
|
|
72
|
+
async apiWatcher(newValue) {
|
|
73
|
+
if (!newValue) {
|
|
74
|
+
return;
|
|
75
|
+
}
|
|
76
|
+
let apiUrl = this.api.replace(/\{lang\}/, this.localization.$locale);
|
|
77
|
+
// load data from API
|
|
78
|
+
const { data } = await axios.get(apiUrl);
|
|
79
|
+
this.items = data.items;
|
|
80
|
+
this.showItems = this.stepItems;
|
|
81
|
+
this.tagsWatcher(this.tags);
|
|
82
|
+
}
|
|
83
|
+
async componentWillLoad() {
|
|
84
|
+
if (!this.localization) {
|
|
85
|
+
this.localization = await fetchTranslations(this.element, "microsite-teaserlist");
|
|
86
|
+
}
|
|
87
|
+
await this.apiWatcher(this.api);
|
|
88
|
+
}
|
|
89
|
+
render() {
|
|
90
|
+
const classes = {
|
|
91
|
+
"stzh-microsite-teaserlist": true,
|
|
92
|
+
};
|
|
93
|
+
return (h(Host, null, h("div", { class: classes }, h("stzh-chip-select", { class: "stzh-microsite-teaserlist__filter", label: this.localization.tagsLabel, data: this._tagChips, onStzhChange: this.handleChange }), h("stzh-card-list", { layout: "subpages" }, this.filteredSlicedItems.map((item) => h("stzh-card", { href: item.link, hideHeaderBorder: true, hideFooterBorder: true, withArrow: true }, item.image &&
|
|
94
|
+
h("img", { slot: "image", src: item.image }), item.title &&
|
|
95
|
+
h("stzh-clamp", { slot: "heading", lines: 2 }, item.title), item.description &&
|
|
96
|
+
h("stzh-clamp", { slot: "content", lines: 3 }, item.description)))), this.showItems < this.filteredItems.length &&
|
|
97
|
+
h("div", { class: "stzh-microsite-teaserlist__show-more" }, h("stzh-button", { variant: "secondary", label: this.localization.showMore, onClick: this.handleMoreClick })))));
|
|
98
|
+
}
|
|
99
|
+
get element() { return this; }
|
|
100
|
+
static get watchers() { return {
|
|
101
|
+
"showItems": ["filterHandler"],
|
|
102
|
+
"activeFilter": ["filterHandler"],
|
|
103
|
+
"tags": ["tagsWatcher"],
|
|
104
|
+
"api": ["apiWatcher"]
|
|
105
|
+
}; }
|
|
106
|
+
static get style() { return stzhMicrositeTeaserlistCss; }
|
|
107
|
+
}, [2, "stzh-microsite-teaserlist", {
|
|
108
|
+
"localization": [16],
|
|
109
|
+
"api": [1],
|
|
110
|
+
"tags": [1],
|
|
111
|
+
"stepItems": [2, "step-items"],
|
|
112
|
+
"showItems": [32],
|
|
113
|
+
"activeFilter": [32]
|
|
114
|
+
}]);
|
|
115
|
+
function defineCustomElement$1() {
|
|
116
|
+
if (typeof customElements === "undefined") {
|
|
117
|
+
return;
|
|
118
|
+
}
|
|
119
|
+
const components = ["stzh-microsite-teaserlist", "stzh-actionset", "stzh-badge", "stzh-button", "stzh-card", "stzh-card-list", "stzh-chip", "stzh-chip-select", "stzh-clamp", "stzh-dropdown", "stzh-icon", "stzh-link", "stzh-menu", "stzh-menu-item", "stzh-popover", "stzh-sortable", "stzh-tooltip"];
|
|
120
|
+
components.forEach(tagName => { switch (tagName) {
|
|
121
|
+
case "stzh-microsite-teaserlist":
|
|
122
|
+
if (!customElements.get(tagName)) {
|
|
123
|
+
customElements.define(tagName, StzhMicrositeTeaserlist$1);
|
|
124
|
+
}
|
|
125
|
+
break;
|
|
126
|
+
case "stzh-actionset":
|
|
127
|
+
if (!customElements.get(tagName)) {
|
|
128
|
+
defineCustomElement$h();
|
|
129
|
+
}
|
|
130
|
+
break;
|
|
131
|
+
case "stzh-badge":
|
|
132
|
+
if (!customElements.get(tagName)) {
|
|
133
|
+
defineCustomElement$g();
|
|
134
|
+
}
|
|
135
|
+
break;
|
|
136
|
+
case "stzh-button":
|
|
137
|
+
if (!customElements.get(tagName)) {
|
|
138
|
+
defineCustomElement$f();
|
|
139
|
+
}
|
|
140
|
+
break;
|
|
141
|
+
case "stzh-card":
|
|
142
|
+
if (!customElements.get(tagName)) {
|
|
143
|
+
defineCustomElement$e();
|
|
144
|
+
}
|
|
145
|
+
break;
|
|
146
|
+
case "stzh-card-list":
|
|
147
|
+
if (!customElements.get(tagName)) {
|
|
148
|
+
defineCustomElement$d();
|
|
149
|
+
}
|
|
150
|
+
break;
|
|
151
|
+
case "stzh-chip":
|
|
152
|
+
if (!customElements.get(tagName)) {
|
|
153
|
+
defineCustomElement$c();
|
|
154
|
+
}
|
|
155
|
+
break;
|
|
156
|
+
case "stzh-chip-select":
|
|
157
|
+
if (!customElements.get(tagName)) {
|
|
158
|
+
defineCustomElement$b();
|
|
159
|
+
}
|
|
160
|
+
break;
|
|
161
|
+
case "stzh-clamp":
|
|
162
|
+
if (!customElements.get(tagName)) {
|
|
163
|
+
defineCustomElement$a();
|
|
164
|
+
}
|
|
165
|
+
break;
|
|
166
|
+
case "stzh-dropdown":
|
|
167
|
+
if (!customElements.get(tagName)) {
|
|
168
|
+
defineCustomElement$9();
|
|
169
|
+
}
|
|
170
|
+
break;
|
|
171
|
+
case "stzh-icon":
|
|
172
|
+
if (!customElements.get(tagName)) {
|
|
173
|
+
defineCustomElement$8();
|
|
174
|
+
}
|
|
175
|
+
break;
|
|
176
|
+
case "stzh-link":
|
|
177
|
+
if (!customElements.get(tagName)) {
|
|
178
|
+
defineCustomElement$7();
|
|
179
|
+
}
|
|
180
|
+
break;
|
|
181
|
+
case "stzh-menu":
|
|
182
|
+
if (!customElements.get(tagName)) {
|
|
183
|
+
defineCustomElement$6();
|
|
184
|
+
}
|
|
185
|
+
break;
|
|
186
|
+
case "stzh-menu-item":
|
|
187
|
+
if (!customElements.get(tagName)) {
|
|
188
|
+
defineCustomElement$5();
|
|
189
|
+
}
|
|
190
|
+
break;
|
|
191
|
+
case "stzh-popover":
|
|
192
|
+
if (!customElements.get(tagName)) {
|
|
193
|
+
defineCustomElement$4();
|
|
194
|
+
}
|
|
195
|
+
break;
|
|
196
|
+
case "stzh-sortable":
|
|
197
|
+
if (!customElements.get(tagName)) {
|
|
198
|
+
defineCustomElement$3();
|
|
199
|
+
}
|
|
200
|
+
break;
|
|
201
|
+
case "stzh-tooltip":
|
|
202
|
+
if (!customElements.get(tagName)) {
|
|
203
|
+
defineCustomElement$2();
|
|
204
|
+
}
|
|
205
|
+
break;
|
|
206
|
+
} });
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
const StzhMicrositeTeaserlist = StzhMicrositeTeaserlist$1;
|
|
210
|
+
const defineCustomElement = defineCustomElement$1;
|
|
211
|
+
|
|
212
|
+
export { StzhMicrositeTeaserlist, defineCustomElement };
|
|
@@ -50636,7 +50636,7 @@ const StzhOlmap$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement$1
|
|
|
50636
50636
|
</style>
|
|
50637
50637
|
|
|
50638
50638
|
<div class="stzh-olmap__map stzh-olmap__map--print">
|
|
50639
|
-
<img class="stzh-olmap__print-image" src="${img}"
|
|
50639
|
+
<img class="stzh-olmap__print-image" src="${img}">
|
|
50640
50640
|
${this.element.querySelector(".ol-scale-line.ol-unselectable").outerHTML}
|
|
50641
50641
|
</div>
|
|
50642
50642
|
`;
|
|
@@ -9,7 +9,7 @@ import { a as addMediaChangeListener, r as removeMediaChangeListener, m as media
|
|
|
9
9
|
|
|
10
10
|
var e=function(e){if(e){var t=function(e){return [].slice.call(e)},n=0,i=1,r=2,o=3,a=[],l=null,u="requestAnimationFrame"in e?function(){e.cancelAnimationFrame(l),l=e.requestAnimationFrame((function(){return s(a.filter((function(e){return e.dirty&&e.active})))}));}:function(){},c=function(e){return function(){a.forEach((function(t){return t.dirty=e})),u();}},s=function(e){e.filter((function(e){return !e.styleComputed})).forEach((function(e){e.styleComputed=m(e);})),e.filter(y).forEach(v);var t=e.filter(p);t.forEach(d),t.forEach((function(e){v(e),f(e);})),t.forEach(S);},f=function(e){return e.dirty=n},d=function(e){e.availableWidth=e.element.parentNode.clientWidth,e.currentWidth=e.element.scrollWidth,e.previousFontSize=e.currentFontSize,e.currentFontSize=Math.min(Math.max(e.minSize,e.availableWidth/e.currentWidth*e.previousFontSize),e.maxSize),e.whiteSpace=e.multiLine&&e.currentFontSize===e.minSize?"normal":"nowrap";},p=function(e){return e.dirty!==r||e.dirty===r&&e.element.parentNode.clientWidth!==e.availableWidth},m=function(t){var n=e.getComputedStyle(t.element,null);return t.currentFontSize=parseFloat(n.getPropertyValue("font-size")),t.display=n.getPropertyValue("display"),t.whiteSpace=n.getPropertyValue("white-space"),!0},y=function(e){var t=!1;return !e.preStyleTestCompleted&&(/inline-/.test(e.display)||(t=!0,e.display="inline-block"),"nowrap"!==e.whiteSpace&&(t=!0,e.whiteSpace="nowrap"),e.preStyleTestCompleted=!0,t)},v=function(e){e.element.style.whiteSpace=e.whiteSpace,e.element.style.display=e.display,e.element.style.fontSize=e.currentFontSize+"px";},S=function(e){e.element.dispatchEvent(new CustomEvent("fit",{detail:{oldValue:e.previousFontSize,newValue:e.currentFontSize,scaleFactor:e.currentFontSize/e.previousFontSize}}));},h=function(e,t){return function(){e.dirty=t,e.active&&u();}},w=function(e){return function(){a=a.filter((function(t){return t.element!==e.element})),e.observeMutations&&e.observer.disconnect(),e.element.style.whiteSpace=e.originalStyle.whiteSpace,e.element.style.display=e.originalStyle.display,e.element.style.fontSize=e.originalStyle.fontSize;}},b=function(e){return function(){e.active||(e.active=!0,u());}},z=function(e){return function(){return e.active=!1}},F=function(e){e.observeMutations&&(e.observer=new MutationObserver(h(e,i)),e.observer.observe(e.element,e.observeMutations));},g={minSize:16,maxSize:512,multiLine:!0,observeMutations:"MutationObserver"in e&&{subtree:!0,childList:!0,characterData:!0}},W=null,E=function(){e.clearTimeout(W),W=e.setTimeout(c(r),x.observeWindowDelay);},M=["resize","orientationchange"];return Object.defineProperty(x,"observeWindow",{set:function(t){var n="".concat(t?"add":"remove","EventListener");M.forEach((function(t){e[n](t,E);}));}}),x.observeWindow=!0,x.observeWindowDelay=100,x.fitAll=c(o),x}function C(e,t){var n=Object.assign({},g,t),i=e.map((function(e){var t=Object.assign({},n,{element:e,active:!0});return function(e){e.originalStyle={whiteSpace:e.element.style.whiteSpace,display:e.element.style.display,fontSize:e.element.style.fontSize},F(e),e.newbie=!0,e.dirty=!0,a.push(e);}(t),{element:e,fit:h(t,o),unfreeze:b(t),freeze:z(t),unsubscribe:w(t)}}));return u(),i}function x(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return "string"==typeof e?C(t(document.querySelectorAll(e)),n):C([e],n)[0]}}("undefined"==typeof window?null:window);
|
|
11
11
|
|
|
12
|
-
const stzhPagetitleHeroCss = ".sc-stzh-pagetitle-hero-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-pagetitle-hero-h{display:none}.sc-stzh-pagetitle-hero-h *.sc-stzh-pagetitle-hero,.sc-stzh-pagetitle-hero-h *.sc-stzh-pagetitle-hero::before,.sc-stzh-pagetitle-hero-h *.sc-stzh-pagetitle-hero::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-pagetitle-hero-h .sc-stzh-pagetitle-hero-s>img[slot=image],.sc-stzh-pagetitle-hero-h .sc-stzh-pagetitle-hero-s>[slot=image] img{display:block;position:absolute;width:100%;height:100%;top:0;left:0;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center}.sc-stzh-pagetitle-hero-h .sc-stzh-pagetitle-hero-s>stzh-chip[slot=tag][variant=filter]:not([disabled]){--color:var(--stzh-color-white);--border:0.0625rem solid var(--stzh-color-white);--remove-color:var(--stzh-color-white);--background-color:var(--stzh-color-primary, var(--stzh-color-zueriblue));--counter-color:var(--stzh-color-white48);--icon-color:var(--stzh-color-white);--hover-color:var(--stzh-color-white);--hover-border:0.0625rem solid transparent;--hover-background-color:var(--stzh-color-white16);--hover-remove-color:var(--stzh-color-white);--hover-remove-background-color:var(--stzh-color-white16);--hover-counter-color:var(--stzh-color-white);--hover-icon-color:var(--stzh-color-white)}.sc-stzh-pagetitle-hero-h .sc-stzh-pagetitle-hero-s>stzh-chip[slot=tag][variant=filter][active]:not([active=false]):not([disabled]){--border:0.0625rem solid transparent;--background-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-background-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-remove-background-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.sc-stzh-pagetitle-hero-h .sc-stzh-pagetitle-hero-s>stzh-chip[slot=tag]:not(:last-child){margin-right:var(--stzh-space-xsmall)}@media screen and (min-width: 1024px){.stzh-pagetitle-hero.sc-stzh-pagetitle-hero{padding-top:var(--stzh-space-xxlarge)}}.stzh-pagetitle-hero__tags.sc-stzh-pagetitle-hero{list-style:none;padding:0;margin:0;display:-ms-flexbox;display:flex}.stzh-pagetitle-hero__tags.sc-stzh-pagetitle-hero:not(:empty){margin-bottom:var(--stzh-space-xlarge)}@media screen and (min-width: 1024px){.stzh-pagetitle-hero__back-link.sc-stzh-pagetitle-hero{position:absolute;left:0;top:0}}@media screen and (max-width: 1023px){.stzh-pagetitle-hero__back-link.sc-stzh-pagetitle-hero:not(:empty){margin:var(--stzh-space-xlarge) 0}}.stzh-pagetitle-hero__title-wrapper.sc-stzh-pagetitle-hero{--stzh-flyingfocus-color:var(--stzh-base-invert-color);display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-direction:column;flex-direction:column;-ms-flex-negative:0;flex-shrink:0;position:relative;z-index:1;background-color:var(--stzh-color-primary, var(--stzh-color-zueriblue));padding:var(--stzh-space-xxxlarge) var(--stzh-space-xlarge);margin-top:calc(var(--stzh-space-xxxlarge) * -1)}@media screen and (min-width: 600px){.stzh-pagetitle-hero__title-wrapper.sc-stzh-pagetitle-hero{padding:var(--stzh-space-xxxxlarge) var(--stzh-space-xxlarge);margin-top:calc(var(--stzh-space-big) * -1)}}@media screen and (min-width: 1024px){.stzh-pagetitle-hero__title-wrapper.sc-stzh-pagetitle-hero{padding:var(--stzh-space-big)}}@media screen and (min-width: 1024px){.stzh-pagetitle-hero__title-wrapper.sc-stzh-pagetitle-hero{margin:var(--stzh-space-big) 0;width:50%;margin-left:-8.3333333333%}}@media screen and (min-width: 1260px){.stzh-pagetitle-hero__title-wrapper.sc-stzh-pagetitle-hero{padding:var(--stzh-space-xbig)}}.stzh-pagetitle-hero__title.sc-stzh-pagetitle-hero{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;color:var(--stzh-color-white);margin:0;font-size:1.875rem;line-height:1.107;overflow-wrap:break-word;word-wrap:break-word;-ms-word-break:normal;word-break:normal;word-break:break-word}@media screen and (min-width: 600px){.stzh-pagetitle-hero__title.sc-stzh-pagetitle-hero{font-size:3rem}}.stzh-pagetitle-hero__subtitle.sc-stzh-pagetitle-hero{font-size:var(--stzh-font-curve-h3-default-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-h3-default-text-line-height, var(--stzh-font-centi-text-line-height));letter-spacing:var(--stzh-font-curve-h3-default-text-letter-spacing);margin-top:var(--stzh-space-xlarge);color:var(--stzh-color-white)}@media screen and (min-width: 600px){.stzh-pagetitle-hero__subtitle.sc-stzh-pagetitle-hero{font-size:var(--stzh-font-curve-h3-small-font-size, var(--stzh-font-deci-font-size));line-height:var(--stzh-font-curve-h3-small-text-line-height, var(--stzh-font-deci-text-line-height));letter-spacing:var(--stzh-font-curve-h3-small-text-letter-spacing)}}@media screen and (min-width: 1024px){.stzh-pagetitle-hero__subtitle.sc-stzh-pagetitle-hero{font-size:var(--stzh-font-curve-h3-medium-font-size, var(--stzh-font-regular-font-size));line-height:var(--stzh-font-curve-h3-medium-text-line-height, var(--stzh-font-regular-text-line-height));letter-spacing:var(--stzh-font-curve-h3-medium-text-letter-spacing)}}@media screen and (min-width: 1024px){.stzh-pagetitle-hero__subtitle.sc-stzh-pagetitle-hero{margin-top:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.stzh-pagetitle-hero__subtitle.sc-stzh-pagetitle-hero{margin-top:var(--stzh-space-xxxlarge)}}.stzh-pagetitle-hero__header.sc-stzh-pagetitle-hero{margin-bottom:var(--stzh-space-xxxxlarge);display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;position:relative}@media screen and (min-width: 600px){.stzh-pagetitle-hero__header.sc-stzh-pagetitle-hero{margin-bottom:var(--stzh-space-big)}}@media screen and (min-width: 1024px){.stzh-pagetitle-hero__header.sc-stzh-pagetitle-hero{margin-bottom:var(--stzh-space-xbig)}}@media screen and (min-width: 1260px){.stzh-pagetitle-hero__header.sc-stzh-pagetitle-hero{margin-bottom:var(--stzh-space-huge)}}@media screen and (min-width: 1024px){.stzh-pagetitle-hero__header.sc-stzh-pagetitle-hero{-ms-flex-direction:row;flex-direction:row}}.stzh-pagetitle-hero__image-wrapper.sc-stzh-pagetitle-hero{position:relative;-ms-flex-negative:0;flex-shrink:0;background-color:var(--stzh-color-grey5);margin-left:calc((100vw - 100% - var(--stzh-scrollbar-width, 0px)) / -2);margin-right:calc((100vw - 100% - var(--stzh-scrollbar-width, 0px)) / -2)}@media screen and (min-width: 1024px){.stzh-pagetitle-hero__image-wrapper.sc-stzh-pagetitle-hero{width:58.3333333333%;margin-left:0;margin-right:0}}.stzh-pagetitle-hero__image-ratio.sc-stzh-pagetitle-hero{position:relative;width:100%;height:0;padding-bottom:75%}@media screen and (min-width: 600px){.stzh-pagetitle-hero__image-ratio.sc-stzh-pagetitle-hero{padding-bottom:56.25%}}@media screen and (min-width: 1024px){.stzh-pagetitle-hero__image-ratio.sc-stzh-pagetitle-hero{padding-bottom:75%}}.stzh-pagetitle-hero__lead.sc-stzh-pagetitle-hero{margin:0 auto;margin-bottom:var(--stzh-space-large)}@media screen and (min-width: 600px){.stzh-pagetitle-hero__lead.sc-stzh-pagetitle-hero{margin-bottom:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.stzh-pagetitle-hero__lead.sc-stzh-pagetitle-hero{margin-bottom:var(--stzh-space-huge);max-width:70%}}.stzh-pagetitle-hero__lead-author.sc-stzh-pagetitle-hero{font-size:var(--stzh-font-curve-p1-default-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-p1-default-text-line-height, var(--stzh-font-milli-text-line-height));letter-spacing:var(--stzh-font-curve-p1-default-text-letter-spacing);margin-top:var(--stzh-space-small)}@media screen and (min-width: 1024px){.stzh-pagetitle-hero__lead-author.sc-stzh-pagetitle-hero{font-size:var(--stzh-font-curve-p1-medium-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-p1-medium-text-line-height, var(--stzh-font-centi-text-line-height));letter-spacing:var(--stzh-font-curve-p1-medium-text-letter-spacing)}}@media screen and (min-width: 1024px){.stzh-pagetitle-hero__lead-author.sc-stzh-pagetitle-hero{margin-top:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.stzh-pagetitle-hero__lead-author.sc-stzh-pagetitle-hero{margin-top:var(--stzh-space-large)}}@media screen and (min-width: 1024px){.stzh-pagetitle-hero--has-back-link.sc-stzh-pagetitle-hero .stzh-pagetitle-hero__header.sc-stzh-pagetitle-hero{-ms-flex-direction:row-reverse;flex-direction:row-reverse}}@media screen and (min-width: 1024px){.stzh-pagetitle-hero--has-back-link.sc-stzh-pagetitle-hero .stzh-pagetitle-hero__title-wrapper.sc-stzh-pagetitle-hero{margin-right:-8.3333333333%}}.stzh-pagetitle-hero--has-no-lead.sc-stzh-pagetitle-hero .stzh-pagetitle-hero__lead.sc-stzh-pagetitle-hero{display:none}.stzh-pagetitle-hero--has-no-image.sc-stzh-pagetitle-hero .stzh-pagetitle-hero__image-wrapper.sc-stzh-pagetitle-hero{display:none}.stzh-pagetitle-hero--has-no-image.sc-stzh-pagetitle-hero .stzh-pagetitle-hero__header.sc-stzh-pagetitle-hero{-ms-flex-direction:column;flex-direction:column;margin-top:0}.stzh-pagetitle-hero--has-no-image.sc-stzh-pagetitle-hero .stzh-pagetitle-hero__title-wrapper.sc-stzh-pagetitle-hero{width:100%;margin:0}.stzh-pagetitle-hero--has-no-image.sc-stzh-pagetitle-hero .stzh-pagetitle-hero__back-link.sc-stzh-pagetitle-hero{margin-top:var(--stzh-space-xlarge);margin-bottom:var(--stzh-space-xlarge);position:static}@media screen and (min-width: 1024px){.stzh-pagetitle-hero--has-no-image.sc-stzh-pagetitle-hero .stzh-pagetitle-hero__back-link.sc-stzh-pagetitle-hero{margin-top:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.stzh-pagetitle-hero--has-no-image.sc-stzh-pagetitle-hero .stzh-pagetitle-hero__back-link.sc-stzh-pagetitle-hero{margin-top:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1024px){.stzh-pagetitle-hero--has-no-image.sc-stzh-pagetitle-hero .stzh-pagetitle-hero__back-link.sc-stzh-pagetitle-hero{margin-bottom:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.stzh-pagetitle-hero--has-no-image.sc-stzh-pagetitle-hero .stzh-pagetitle-hero__back-link.sc-stzh-pagetitle-hero{margin-bottom:var(--stzh-space-xxxlarge)}}";
|
|
12
|
+
const stzhPagetitleHeroCss = ".sc-stzh-pagetitle-hero-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-pagetitle-hero-h{display:none}.sc-stzh-pagetitle-hero-h *.sc-stzh-pagetitle-hero,.sc-stzh-pagetitle-hero-h *.sc-stzh-pagetitle-hero::before,.sc-stzh-pagetitle-hero-h *.sc-stzh-pagetitle-hero::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-pagetitle-hero-h .sc-stzh-pagetitle-hero-s>img[slot=image],.sc-stzh-pagetitle-hero-h .sc-stzh-pagetitle-hero-s>[slot=image] img{display:block;position:absolute;width:100%;height:100%;top:0;left:0;-o-object-fit:cover;object-fit:cover;-o-object-position:center;object-position:center}.sc-stzh-pagetitle-hero-h .sc-stzh-pagetitle-hero-s>stzh-chip[slot=tag][variant=filter]:not([disabled]){--color:var(--stzh-color-white);--border:0.0625rem solid var(--stzh-color-white);--remove-color:var(--stzh-color-white);--background-color:var(--stzh-color-primary, var(--stzh-color-zueriblue));--counter-color:var(--stzh-color-white48);--icon-color:var(--stzh-color-white);--hover-color:var(--stzh-color-white);--hover-border:0.0625rem solid transparent;--hover-background-color:var(--stzh-color-white16);--hover-remove-color:var(--stzh-color-white);--hover-remove-background-color:var(--stzh-color-white16);--hover-counter-color:var(--stzh-color-white);--hover-icon-color:var(--stzh-color-white)}.sc-stzh-pagetitle-hero-h .sc-stzh-pagetitle-hero-s>stzh-chip[slot=tag][variant=filter][active]:not([active=false]):not([disabled]){--border:0.0625rem solid transparent;--background-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-background-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-remove-background-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.sc-stzh-pagetitle-hero-h .sc-stzh-pagetitle-hero-s>stzh-chip[slot=tag]:not(:last-child){margin-right:var(--stzh-space-xsmall)}@media screen and (min-width: 1024px){.stzh-pagetitle-hero.sc-stzh-pagetitle-hero{padding-top:var(--stzh-space-xxlarge)}}.stzh-pagetitle-hero__tags.sc-stzh-pagetitle-hero{list-style:none;padding:0;margin:0;display:-ms-flexbox;display:flex}.stzh-pagetitle-hero__tags.sc-stzh-pagetitle-hero:not(:empty){margin-bottom:var(--stzh-space-xlarge)}@media screen and (min-width: 1024px){.stzh-pagetitle-hero__back-link.sc-stzh-pagetitle-hero{position:absolute;left:0;top:0}}@media screen and (max-width: 1023px){.stzh-pagetitle-hero__back-link.sc-stzh-pagetitle-hero:not(:empty){margin:var(--stzh-space-xlarge) 0}}.stzh-pagetitle-hero__title-wrapper.sc-stzh-pagetitle-hero{--stzh-flyingfocus-color:var(--stzh-base-invert-color);display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-direction:column;flex-direction:column;-ms-flex-negative:0;flex-shrink:0;position:relative;z-index:1;background-color:var(--stzh-color-primary, var(--stzh-color-zueriblue));padding:var(--stzh-space-xxxlarge) var(--stzh-space-xlarge);margin-top:calc(var(--stzh-space-xxxlarge) * -1)}@media screen and (min-width: 600px){.stzh-pagetitle-hero__title-wrapper.sc-stzh-pagetitle-hero{padding:var(--stzh-space-xxxxlarge) var(--stzh-space-xxlarge);margin-top:calc(var(--stzh-space-big) * -1)}}@media screen and (min-width: 1024px){.stzh-pagetitle-hero__title-wrapper.sc-stzh-pagetitle-hero{padding:var(--stzh-space-big)}}@media screen and (min-width: 1024px){.stzh-pagetitle-hero__title-wrapper.sc-stzh-pagetitle-hero{margin:var(--stzh-space-big) 0;width:50%;margin-left:-8.3333333333%}}@media screen and (min-width: 1260px){.stzh-pagetitle-hero__title-wrapper.sc-stzh-pagetitle-hero{padding:var(--stzh-space-xbig)}}.stzh-pagetitle-hero__title.sc-stzh-pagetitle-hero{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;color:var(--stzh-color-white);margin:0;font-size:1.875rem;line-height:1.107;overflow-wrap:break-word;word-wrap:break-word;-ms-word-break:normal;word-break:normal;word-break:break-word}@media screen and (min-width: 600px){.stzh-pagetitle-hero__title.sc-stzh-pagetitle-hero{font-size:2.8125rem}}.stzh-pagetitle-hero__subtitle.sc-stzh-pagetitle-hero{font-size:var(--stzh-font-curve-h3-default-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-h3-default-text-line-height, var(--stzh-font-centi-text-line-height));letter-spacing:var(--stzh-font-curve-h3-default-text-letter-spacing);margin-top:var(--stzh-space-xlarge);color:var(--stzh-color-white)}@media screen and (min-width: 600px){.stzh-pagetitle-hero__subtitle.sc-stzh-pagetitle-hero{font-size:var(--stzh-font-curve-h3-small-font-size, var(--stzh-font-deci-font-size));line-height:var(--stzh-font-curve-h3-small-text-line-height, var(--stzh-font-deci-text-line-height));letter-spacing:var(--stzh-font-curve-h3-small-text-letter-spacing)}}@media screen and (min-width: 1024px){.stzh-pagetitle-hero__subtitle.sc-stzh-pagetitle-hero{font-size:var(--stzh-font-curve-h3-medium-font-size, var(--stzh-font-regular-font-size));line-height:var(--stzh-font-curve-h3-medium-text-line-height, var(--stzh-font-regular-text-line-height));letter-spacing:var(--stzh-font-curve-h3-medium-text-letter-spacing)}}@media screen and (min-width: 1024px){.stzh-pagetitle-hero__subtitle.sc-stzh-pagetitle-hero{margin-top:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.stzh-pagetitle-hero__subtitle.sc-stzh-pagetitle-hero{margin-top:var(--stzh-space-xxxlarge)}}.stzh-pagetitle-hero__header.sc-stzh-pagetitle-hero{margin-bottom:var(--stzh-space-xxxxlarge);display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;position:relative}@media screen and (min-width: 600px){.stzh-pagetitle-hero__header.sc-stzh-pagetitle-hero{margin-bottom:var(--stzh-space-big)}}@media screen and (min-width: 1024px){.stzh-pagetitle-hero__header.sc-stzh-pagetitle-hero{margin-bottom:var(--stzh-space-xbig)}}@media screen and (min-width: 1260px){.stzh-pagetitle-hero__header.sc-stzh-pagetitle-hero{margin-bottom:var(--stzh-space-huge)}}@media screen and (min-width: 1024px){.stzh-pagetitle-hero__header.sc-stzh-pagetitle-hero{-ms-flex-direction:row;flex-direction:row}}.stzh-pagetitle-hero__image-wrapper.sc-stzh-pagetitle-hero{position:relative;-ms-flex-negative:0;flex-shrink:0;background-color:var(--stzh-color-grey5);margin-left:calc((100vw - 100% - var(--stzh-scrollbar-width, 0px)) / -2);margin-right:calc((100vw - 100% - var(--stzh-scrollbar-width, 0px)) / -2)}@media screen and (min-width: 1024px){.stzh-pagetitle-hero__image-wrapper.sc-stzh-pagetitle-hero{width:58.3333333333%;margin-left:0;margin-right:0}}.stzh-pagetitle-hero__image-ratio.sc-stzh-pagetitle-hero{position:relative;width:100%;height:0;padding-bottom:75%}@media screen and (min-width: 600px){.stzh-pagetitle-hero__image-ratio.sc-stzh-pagetitle-hero{padding-bottom:56.25%}}@media screen and (min-width: 1024px){.stzh-pagetitle-hero__image-ratio.sc-stzh-pagetitle-hero{padding-bottom:75%}}.stzh-pagetitle-hero__lead.sc-stzh-pagetitle-hero{margin:0 auto;margin-bottom:var(--stzh-space-large)}@media screen and (min-width: 600px){.stzh-pagetitle-hero__lead.sc-stzh-pagetitle-hero{margin-bottom:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.stzh-pagetitle-hero__lead.sc-stzh-pagetitle-hero{margin-bottom:var(--stzh-space-huge);max-width:70%}}.stzh-pagetitle-hero__lead-author.sc-stzh-pagetitle-hero{font-size:var(--stzh-font-curve-p1-default-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-p1-default-text-line-height, var(--stzh-font-milli-text-line-height));letter-spacing:var(--stzh-font-curve-p1-default-text-letter-spacing);margin-top:var(--stzh-space-small)}@media screen and (min-width: 1024px){.stzh-pagetitle-hero__lead-author.sc-stzh-pagetitle-hero{font-size:var(--stzh-font-curve-p1-medium-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-p1-medium-text-line-height, var(--stzh-font-centi-text-line-height));letter-spacing:var(--stzh-font-curve-p1-medium-text-letter-spacing)}}@media screen and (min-width: 1024px){.stzh-pagetitle-hero__lead-author.sc-stzh-pagetitle-hero{margin-top:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.stzh-pagetitle-hero__lead-author.sc-stzh-pagetitle-hero{margin-top:var(--stzh-space-large)}}@media screen and (min-width: 1024px){.stzh-pagetitle-hero--has-back-link.sc-stzh-pagetitle-hero .stzh-pagetitle-hero__header.sc-stzh-pagetitle-hero{-ms-flex-direction:row-reverse;flex-direction:row-reverse}}@media screen and (min-width: 1024px){.stzh-pagetitle-hero--has-back-link.sc-stzh-pagetitle-hero .stzh-pagetitle-hero__title-wrapper.sc-stzh-pagetitle-hero{margin-right:-8.3333333333%}}.stzh-pagetitle-hero--has-no-lead.sc-stzh-pagetitle-hero .stzh-pagetitle-hero__lead.sc-stzh-pagetitle-hero{display:none}.stzh-pagetitle-hero--has-no-image.sc-stzh-pagetitle-hero .stzh-pagetitle-hero__image-wrapper.sc-stzh-pagetitle-hero{display:none}.stzh-pagetitle-hero--has-no-image.sc-stzh-pagetitle-hero .stzh-pagetitle-hero__header.sc-stzh-pagetitle-hero{-ms-flex-direction:column;flex-direction:column;margin-top:0}.stzh-pagetitle-hero--has-no-image.sc-stzh-pagetitle-hero .stzh-pagetitle-hero__title-wrapper.sc-stzh-pagetitle-hero{width:100%;margin:0}.stzh-pagetitle-hero--has-no-image.sc-stzh-pagetitle-hero .stzh-pagetitle-hero__back-link.sc-stzh-pagetitle-hero{margin-top:var(--stzh-space-xlarge);margin-bottom:var(--stzh-space-xlarge);position:static}@media screen and (min-width: 1024px){.stzh-pagetitle-hero--has-no-image.sc-stzh-pagetitle-hero .stzh-pagetitle-hero__back-link.sc-stzh-pagetitle-hero{margin-top:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.stzh-pagetitle-hero--has-no-image.sc-stzh-pagetitle-hero .stzh-pagetitle-hero__back-link.sc-stzh-pagetitle-hero{margin-top:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1024px){.stzh-pagetitle-hero--has-no-image.sc-stzh-pagetitle-hero .stzh-pagetitle-hero__back-link.sc-stzh-pagetitle-hero{margin-bottom:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.stzh-pagetitle-hero--has-no-image.sc-stzh-pagetitle-hero .stzh-pagetitle-hero__back-link.sc-stzh-pagetitle-hero{margin-bottom:var(--stzh-space-xxxlarge)}}";
|
|
13
13
|
|
|
14
14
|
const StzhPagetitleHero$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
15
15
|
constructor() {
|
|
@@ -39,7 +39,7 @@ const StzhPagetitleHero$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLE
|
|
|
39
39
|
this.destroyFitty();
|
|
40
40
|
const isSmall = media("small").matches;
|
|
41
41
|
this.fitty = e(this.mainTitleElement, {
|
|
42
|
-
minSize: isSmall ?
|
|
42
|
+
minSize: isSmall ? 45 : 32,
|
|
43
43
|
maxSize: isSmall ? 96 : 64
|
|
44
44
|
});
|
|
45
45
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
2
|
import { s as setPropsIfNull, h as hasSlot } from './utils.js';
|
|
3
3
|
|
|
4
|
-
const stzhPagetitleCss = ".sc-stzh-pagetitle-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-pagetitle-h{display:none}.sc-stzh-pagetitle-h *.sc-stzh-pagetitle,.sc-stzh-pagetitle-h *.sc-stzh-pagetitle::before,.sc-stzh-pagetitle-h *.sc-stzh-pagetitle::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-pagetitle-h .sc-stzh-pagetitle-s>[slot=heading]{margin-bottom:var(--stzh-space-xlarge)}@media screen and (min-width: 1024px){.sc-stzh-pagetitle-h .sc-stzh-pagetitle-s>[slot=heading]{margin-bottom:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.sc-stzh-pagetitle-h .sc-stzh-pagetitle-s>[slot=heading]{margin-bottom:var(--stzh-space-xxxlarge)}}.sc-stzh-pagetitle-h .sc-stzh-pagetitle-s>[slot=image]{margin-top:var(--stzh-space-
|
|
4
|
+
const stzhPagetitleCss = ".sc-stzh-pagetitle-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-pagetitle-h{display:none}.sc-stzh-pagetitle-h *.sc-stzh-pagetitle,.sc-stzh-pagetitle-h *.sc-stzh-pagetitle::before,.sc-stzh-pagetitle-h *.sc-stzh-pagetitle::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-pagetitle-h .sc-stzh-pagetitle-s>[slot=heading]{margin-bottom:var(--stzh-space-xlarge)}@media screen and (min-width: 1024px){.sc-stzh-pagetitle-h .sc-stzh-pagetitle-s>[slot=heading]{margin-bottom:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.sc-stzh-pagetitle-h .sc-stzh-pagetitle-s>[slot=heading]{margin-bottom:var(--stzh-space-xxxlarge)}}.sc-stzh-pagetitle-h .sc-stzh-pagetitle-s>[slot=image]{margin-top:var(--stzh-space-medium)}@media screen and (min-width: 1024px){.sc-stzh-pagetitle-h .sc-stzh-pagetitle-s>[slot=image]{margin-top:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.sc-stzh-pagetitle-h .sc-stzh-pagetitle-s>[slot=image]{margin-top:var(--stzh-space-xlarge)}}.sc-stzh-pagetitle-h .sc-stzh-pagetitle-s>[slot=lead]{margin-top:var(--stzh-space-xlarge)}@media screen and (min-width: 1024px){.sc-stzh-pagetitle-h .sc-stzh-pagetitle-s>[slot=lead]{margin-top:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.sc-stzh-pagetitle-h .sc-stzh-pagetitle-s>[slot=lead]{margin-top:var(--stzh-space-xxxlarge)}}.stzh-pagetitle__actions.sc-stzh-pagetitle{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}";
|
|
5
5
|
|
|
6
6
|
const StzhPagetitle$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
7
7
|
constructor() {
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
2
|
import { c as computePosition, a as autoUpdate, A as Arrow, o as offset, f as flip, s as shift, b as arrow } from './arrow.js';
|
|
3
3
|
import { c as createFocusTrap } from './focus-trap.esm.js';
|
|
4
|
+
import { i as isStzhElement } from './utils.js';
|
|
4
5
|
import { f as fetchTranslations } from './translation-utils.js';
|
|
5
6
|
import { m as media } from './media-utils.js';
|
|
6
7
|
import { w as waitForEvent } from './event-utils.js';
|
|
7
8
|
import { s as stopAnimations, a as animateTo } from './animation-utils.js';
|
|
8
9
|
import { d as defineCustomElement$1 } from './stzh-icon2.js';
|
|
9
10
|
|
|
10
|
-
const stzhPopoverCss = ".sc-stzh-popover-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-popover-h{display:none}.sc-stzh-popover-h *.sc-stzh-popover,.sc-stzh-popover-h *.sc-stzh-popover::before,.sc-stzh-popover-h *.sc-stzh-popover::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-popover-h{--width:var(--stzh-popover-width);--min-width:var(--stzh-popover-min-width);--max-width:var(--stzh-popover-max-width);--padding:0;--border-radius:var(--stzh-popover-border-radius)}[variant=tooltip].sc-stzh-popover-h{--width:var(--stzh-tooltip-width);--min-width:var(--stzh-tooltip-min-width);--max-width:var(--stzh-tooltip-max-width);--padding:var(--stzh-space-small) var(--stzh-space-large);--border-radius:var(--stzh-tooltip-border-radius)}@media screen and (min-width: 600px){[variant=tooltip].sc-stzh-popover-h{--padding:var(--stzh-tooltip-padding)}}.stzh-popover__arrow.sc-stzh-popover{position:absolute;display:-ms-flexbox;display:flex;color:var(--stzh-color-white)}.stzh-popover--placement-bottom.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover,.stzh-popover--placement-bottom-start.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover,.stzh-popover--placement-bottom-end.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover{top:0;-webkit-transform:translateY(-0.5rem);transform:translateY(-0.5rem)}.stzh-popover--placement-top.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover,.stzh-popover--placement-top-start.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover,.stzh-popover--placement-top-end.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover{bottom:0;-webkit-transform:translateY(0.5rem) rotate(180deg);transform:translateY(0.5rem) rotate(180deg)}.stzh-popover--placement-left.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover,.stzh-popover--placement-left-start.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover,.stzh-popover--placement-left-end.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover{right:0;-webkit-transform:translateX(0.75rem) rotate(90deg);transform:translateX(0.75rem) rotate(90deg)}.stzh-popover--placement-right.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover,.stzh-popover--placement-right-start.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover,.stzh-popover--placement-right-end.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover{left:0;-webkit-transform:translateX(-0.75rem) rotate(-90deg);transform:translateX(-0.75rem) rotate(-90deg)}@media screen and (max-width: 599px){.stzh-popover__content-wrapper.sc-stzh-popover{z-index:var(--stzh-z-index-dialog);display:-ms-flexbox;display:flex;position:fixed;top:0;left:0;width:100%;height:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:stretch;justify-content:stretch}}@media screen and (max-width: 599px){.stzh-popover__backdrop.sc-stzh-popover{z-index:1;position:absolute;top:0;left:0;width:100%;height:100%;overflow-x:hidden;overflow-y:auto;text-align:center;background-color:var(--stzh-color-primary, var(--stzh-color-zueriblue));opacity:0.8}}@media screen and (max-width: 599px){.stzh-popover__content.sc-stzh-popover{z-index:2;position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-positive:1;flex-grow:1;overflow:auto}}.stzh-popover__dialog.sc-stzh-popover{margin-top:auto;width:100%;overflow:visible;border-top-left-radius:0.125rem;border-top-right-radius:0.125rem;background-color:var(--stzh-color-white);-ms-touch-action:none;touch-action:none;outline:none;border-bottom:0.125rem solid var(--stzh-color-grey13)}@media screen and (min-width: 600px){.stzh-popover__dialog.sc-stzh-popover{z-index:var(--stzh-z-index-popover);position:absolute;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);left:auto;right:auto;bottom:auto;border-radius:var(--border-radius);-webkit-box-shadow:var(--stzh-box-shadow-popover);box-shadow:var(--stzh-box-shadow-popover);border:none}}.stzh-popover__content-inner.sc-stzh-popover{display:-ms-flexbox;display:flex;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.stzh-popover__content-slot.sc-stzh-popover{padding:var(--padding)}.stzh-popover__action-slot.sc-stzh-popover{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.stzh-popover__action-slot.sc-stzh-popover:not(:empty){margin:var(--stzh-space-xsmall) var(--stzh-space-small);margin-bottom:var(--stzh-space-medium)}.stzh-popover__label-wrapper.sc-stzh-popover{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;padding:var(--stzh-space-small) var(--stzh-space-large);padding-right:var(--stzh-space-medium);border-bottom:0.0625rem solid var(--stzh-base-border-color);color:var(--stzh-color-grey70)}@media screen and (min-width: 600px){.stzh-popover__label-wrapper.sc-stzh-popover{padding:0;border-bottom:0}}.stzh-popover__label.sc-stzh-popover{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;font-size:var(--stzh-font-curve-p2-default-font-size, var(--stzh-font-micro-font-size));line-height:var(--stzh-font-curve-p2-default-text-line-height, var(--stzh-font-micro-text-line-height));margin:0;margin-right:var(--stzh-space-small)}@media screen and (min-width: 1024px){.stzh-popover__label.sc-stzh-popover{font-size:var(--stzh-font-curve-p2-medium-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-p2-medium-text-line-height, var(--stzh-font-milli-text-line-height));letter-spacing:var(--stzh-font-curve-p2-medium-text-letter-spacing)}}@media screen and (min-width: 600px){.stzh-popover__label.sc-stzh-popover{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}}.stzh-popover__close.sc-stzh-popover{cursor:pointer;display:-ms-flexbox;display:flex;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;background-color:transparent;padding:0;margin-left:auto;border-radius:50%;color:var(--stzh-base-lead-color);padding:var(--stzh-space-xxsmall)}.stzh-popover__icon.sc-stzh-popover{--size:var(--stzh-icon-size-xsmall)}.stzh-popover__arrow.sc-stzh-popover{position:absolute;display:-ms-flexbox;display:flex;color:var(--stzh-color-white)}.stzh-popover__vhidden.sc-stzh-popover{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-popover--default.sc-stzh-popover .stzh-popover__close.sc-stzh-popover:focus{-webkit-box-shadow:0 0 0 0.0625rem var(--stzh-color-primary, var(--stzh-color-zueriblue));box-shadow:0 0 0 0.0625rem var(--stzh-color-primary, var(--stzh-color-zueriblue))}@media screen and (min-width: 600px){.stzh-popover--default.sc-stzh-popover .stzh-popover__close.sc-stzh-popover{position:absolute;top:0;right:0;-webkit-transform:translate(30%, -30%);transform:translate(30%, -30%);background-color:var(--stzh-color-grey5)}.stzh-popover--default.sc-stzh-popover .stzh-popover__close.sc-stzh-popover:not(:focus):not(:active){border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}}@media screen and (min-width: 600px){.stzh-popover--tooltip.sc-stzh-popover .stzh-popover__close.sc-stzh-popover{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;background-color:transparent;padding:0;position:absolute;top:0;right:0;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;padding:var(--stzh-space-xxsmall);padding-bottom:var(--stzh-space-xxxsmall);color:var(--stzh-base-lead-color);border-radius:var(--stzh-button-border-radius)}}@media screen and (min-width: 600px){.stzh-popover--tooltip.sc-stzh-popover .stzh-popover__icon.sc-stzh-popover{--size:var(--stzh-icon-size-xxsmall)}}@media screen and (min-width: 600px){@supports ((-webkit-filter: var(--stzh-tooltip-drop-shadow)) or (filter: var(--stzh-tooltip-drop-shadow))){.stzh-popover--tooltip.sc-stzh-popover .stzh-popover__dialog.sc-stzh-popover{-webkit-box-shadow:none;box-shadow:none;-webkit-filter:var(--stzh-tooltip-drop-shadow);filter:var(--stzh-tooltip-drop-shadow)}}}.stzh-popover--tooltip.sc-stzh-popover .stzh-popover__content-slot.sc-stzh-popover{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height)}";
|
|
11
|
+
const stzhPopoverCss = ".sc-stzh-popover-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-popover-h{display:none}.sc-stzh-popover-h *.sc-stzh-popover,.sc-stzh-popover-h *.sc-stzh-popover::before,.sc-stzh-popover-h *.sc-stzh-popover::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-popover-h{--width:var(--stzh-popover-width);--min-width:var(--stzh-popover-min-width);--max-width:var(--stzh-popover-max-width);--padding:0;--border-radius:var(--stzh-popover-border-radius)}[variant=tooltip].sc-stzh-popover-h{--width:var(--stzh-tooltip-width);--min-width:var(--stzh-tooltip-min-width);--max-width:var(--stzh-tooltip-max-width);--padding:var(--stzh-space-small) var(--stzh-space-large);--border-radius:var(--stzh-tooltip-border-radius)}@media screen and (min-width: 600px){[variant=tooltip].sc-stzh-popover-h{--padding:var(--stzh-tooltip-padding)}}.stzh-popover__arrow.sc-stzh-popover{position:absolute;display:-ms-flexbox;display:flex;color:var(--stzh-color-white)}.stzh-popover--placement-bottom.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover,.stzh-popover--placement-bottom-start.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover,.stzh-popover--placement-bottom-end.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover{top:0;-webkit-transform:translateY(-0.5rem);transform:translateY(-0.5rem)}.stzh-popover--placement-top.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover,.stzh-popover--placement-top-start.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover,.stzh-popover--placement-top-end.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover{bottom:0;-webkit-transform:translateY(0.5rem) rotate(180deg);transform:translateY(0.5rem) rotate(180deg)}.stzh-popover--placement-left.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover,.stzh-popover--placement-left-start.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover,.stzh-popover--placement-left-end.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover{right:0;-webkit-transform:translateX(0.75rem) rotate(90deg);transform:translateX(0.75rem) rotate(90deg)}.stzh-popover--placement-right.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover,.stzh-popover--placement-right-start.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover,.stzh-popover--placement-right-end.sc-stzh-popover .stzh-popover__arrow.sc-stzh-popover{left:0;-webkit-transform:translateX(-0.75rem) rotate(-90deg);transform:translateX(-0.75rem) rotate(-90deg)}@media screen and (max-width: 599px){.stzh-popover__content-wrapper.sc-stzh-popover{z-index:var(--stzh-z-index-dialog);display:-ms-flexbox;display:flex;position:fixed;top:0;left:0;width:100%;height:100%;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch;-ms-flex-pack:stretch;justify-content:stretch}}@media screen and (max-width: 599px){.stzh-popover__backdrop.sc-stzh-popover{z-index:1;position:absolute;top:0;left:0;width:100%;height:100%;overflow-x:hidden;overflow-y:auto;text-align:center;background-color:var(--stzh-color-primary, var(--stzh-color-zueriblue));opacity:0.8}}@media screen and (max-width: 599px){.stzh-popover__content.sc-stzh-popover{z-index:2;position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-positive:1;flex-grow:1;overflow:auto}}.stzh-popover__dialog.sc-stzh-popover{margin-top:auto;width:100%;overflow:visible;border-top-left-radius:0.125rem;border-top-right-radius:0.125rem;background-color:var(--stzh-color-white);-ms-touch-action:none;touch-action:none;outline:none;border-bottom:0.125rem solid var(--stzh-color-grey13)}@media screen and (min-width: 600px){.stzh-popover__dialog.sc-stzh-popover{z-index:var(--stzh-z-index-popover);position:absolute;width:var(--width);min-width:var(--min-width);max-width:var(--max-width);left:auto;right:auto;bottom:auto;border-radius:var(--border-radius);-webkit-box-shadow:var(--stzh-box-shadow-popover);box-shadow:var(--stzh-box-shadow-popover);border:none}}.stzh-popover__content-inner.sc-stzh-popover{display:-ms-flexbox;display:flex;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.stzh-popover__content-slot.sc-stzh-popover{padding:var(--padding)}.stzh-popover__action-slot.sc-stzh-popover{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.stzh-popover__action-slot.sc-stzh-popover:not(:empty){margin:var(--stzh-space-xsmall) var(--stzh-space-small);margin-bottom:var(--stzh-space-medium)}.stzh-popover__label-wrapper.sc-stzh-popover{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;padding:var(--stzh-space-small) var(--stzh-space-large);padding-right:var(--stzh-space-medium);border-bottom:0.0625rem solid var(--stzh-base-border-color);color:var(--stzh-color-grey70)}@media screen and (min-width: 600px){.stzh-popover__label-wrapper.sc-stzh-popover{padding:0;border-bottom:0}}.stzh-popover__label.sc-stzh-popover{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;font-size:var(--stzh-font-curve-p2-default-font-size, var(--stzh-font-micro-font-size));line-height:var(--stzh-font-curve-p2-default-text-line-height, var(--stzh-font-micro-text-line-height));margin:0;margin-right:var(--stzh-space-small)}@media screen and (min-width: 1024px){.stzh-popover__label.sc-stzh-popover{font-size:var(--stzh-font-curve-p2-medium-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-p2-medium-text-line-height, var(--stzh-font-milli-text-line-height));letter-spacing:var(--stzh-font-curve-p2-medium-text-letter-spacing)}}@media screen and (min-width: 600px){.stzh-popover__label.sc-stzh-popover{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}}.stzh-popover__close.sc-stzh-popover{cursor:pointer;display:-ms-flexbox;display:flex;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-family:inherit;border:none;background-color:transparent;padding:0;margin-left:auto;border-radius:50%;color:var(--stzh-base-lead-color);padding:var(--stzh-space-xxsmall)}.stzh-popover__icon.sc-stzh-popover{--size:var(--stzh-icon-size-xsmall)}.stzh-popover__arrow.sc-stzh-popover{position:absolute;display:-ms-flexbox;display:flex;color:var(--stzh-color-white)}.stzh-popover__vhidden.sc-stzh-popover{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-popover--default.sc-stzh-popover .stzh-popover__close.sc-stzh-popover:focus{-webkit-box-shadow:0 0 0 0.0625rem var(--stzh-color-primary, var(--stzh-color-zueriblue));box-shadow:0 0 0 0.0625rem var(--stzh-color-primary, var(--stzh-color-zueriblue))}@media screen and (min-width: 600px){.stzh-popover--default.sc-stzh-popover .stzh-popover__close.sc-stzh-popover{position:absolute;top:0;right:0;-webkit-transform:translate(30%, -30%);transform:translate(30%, -30%);background-color:var(--stzh-color-grey5)}.stzh-popover--default.sc-stzh-popover .stzh-popover__close.sc-stzh-popover:not(:focus):not(:active){border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}}@media screen and (min-width: 600px){.stzh-popover--tooltip.sc-stzh-popover .stzh-popover__close.sc-stzh-popover{cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-family:inherit;border:none;background-color:transparent;padding:0;position:absolute;top:0;right:0;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;padding:var(--stzh-space-xxsmall);padding-bottom:var(--stzh-space-xxxsmall);color:var(--stzh-base-lead-color);border-radius:var(--stzh-button-border-radius)}}@media screen and (min-width: 600px){.stzh-popover--tooltip.sc-stzh-popover .stzh-popover__icon.sc-stzh-popover{--size:var(--stzh-icon-size-xxsmall)}}@media screen and (min-width: 600px){@supports ((-webkit-filter: var(--stzh-tooltip-drop-shadow)) or (filter: var(--stzh-tooltip-drop-shadow))){.stzh-popover--tooltip.sc-stzh-popover .stzh-popover__dialog.sc-stzh-popover{-webkit-box-shadow:none;box-shadow:none;-webkit-filter:var(--stzh-tooltip-drop-shadow);filter:var(--stzh-tooltip-drop-shadow)}}}.stzh-popover--tooltip.sc-stzh-popover .stzh-popover__content-slot.sc-stzh-popover{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height)}";
|
|
11
12
|
|
|
12
13
|
const ANIMATION_SHOW_DURATION = 200;
|
|
13
14
|
const ANIMATION_HIDE_DURATION = 300;
|
|
@@ -214,6 +215,9 @@ const StzhPopover = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
214
215
|
}
|
|
215
216
|
}
|
|
216
217
|
async openWatcher(newValue) {
|
|
218
|
+
if (!this.dialogElement) {
|
|
219
|
+
return;
|
|
220
|
+
}
|
|
217
221
|
if (newValue) {
|
|
218
222
|
if (this.toggledByMethod) {
|
|
219
223
|
this.stzhOpen.emit({
|
|
@@ -277,8 +281,7 @@ const StzhPopover = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
277
281
|
}
|
|
278
282
|
}
|
|
279
283
|
async componentWillLoad() {
|
|
280
|
-
this.
|
|
281
|
-
popoverCounter++;
|
|
284
|
+
this.id = `stzh-popover-${popoverCounter++}`;
|
|
282
285
|
this.distanceWatcher(this.distance);
|
|
283
286
|
if (!this.localization) {
|
|
284
287
|
this.localization = await fetchTranslations(this.element, "popover");
|
|
@@ -286,16 +289,18 @@ const StzhPopover = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
286
289
|
}
|
|
287
290
|
popoverShown() {
|
|
288
291
|
document.body.classList.add(CLASS_BODY_OPEN);
|
|
292
|
+
const isStzh = isStzhElement(this.triggerElement.firstElementChild);
|
|
289
293
|
this.triggerElement.firstElementChild
|
|
290
|
-
.setAttribute("aria-expanded", "true");
|
|
294
|
+
.setAttribute(isStzh ? "a11y-expanded" : "aria-expanded", "true");
|
|
291
295
|
if (this.trap) {
|
|
292
296
|
this.trap.activate();
|
|
293
297
|
}
|
|
294
298
|
}
|
|
295
299
|
popoverHidden() {
|
|
296
300
|
document.body.classList.remove(CLASS_BODY_OPEN);
|
|
301
|
+
const isStzh = isStzhElement(this.triggerElement.firstElementChild);
|
|
297
302
|
this.triggerElement.firstElementChild
|
|
298
|
-
.setAttribute("aria-expanded", "false");
|
|
303
|
+
.setAttribute(isStzh ? "a11y-expanded" : "aria-expanded", "false");
|
|
299
304
|
if (this.trap) {
|
|
300
305
|
this.trap.deactivate();
|
|
301
306
|
}
|
|
@@ -303,6 +308,17 @@ const StzhPopover = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
303
308
|
componentDidRender() {
|
|
304
309
|
this.computePosition();
|
|
305
310
|
this.open ? this.popoverShown() : this.popoverHidden();
|
|
311
|
+
const isStzh = isStzhElement(this.triggerElement.firstElementChild);
|
|
312
|
+
if ((isStzh && !this.triggerElement.firstElementChild.getAttribute("a11y-describedby"))
|
|
313
|
+
|| this.triggerElement.firstElementChild.getAttribute("aria-describedby")) {
|
|
314
|
+
this.triggerElement.firstElementChild
|
|
315
|
+
.setAttribute(isStzh ? "a11y-describedby" : "aria-describedby", `${this.id}-trigger-description`);
|
|
316
|
+
}
|
|
317
|
+
if ((isStzh && !this.triggerElement.firstElementChild.getAttribute("a11y-label"))
|
|
318
|
+
|| this.triggerElement.firstElementChild.getAttribute("aria-label")) {
|
|
319
|
+
this.triggerElement.firstElementChild
|
|
320
|
+
.setAttribute(isStzh ? "a11y-label" : "aria-label", this.label);
|
|
321
|
+
}
|
|
306
322
|
}
|
|
307
323
|
componentDidUpdate() {
|
|
308
324
|
this.trap.updateContainerElements(this.dialogElement);
|
|
@@ -335,7 +351,9 @@ const StzhPopover = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
335
351
|
if (this.autoUpdateCleanup) {
|
|
336
352
|
this.autoUpdateCleanup();
|
|
337
353
|
}
|
|
338
|
-
this.triggerElement
|
|
354
|
+
if (this.triggerElement && this.triggerElement.firstElementChild) {
|
|
355
|
+
this.triggerElement.firstElementChild.removeEventListener("click", this.onClickTrigger);
|
|
356
|
+
}
|
|
339
357
|
}
|
|
340
358
|
render() {
|
|
341
359
|
const classes = {
|
|
@@ -344,8 +362,8 @@ const StzhPopover = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
344
362
|
[`stzh-popover--placement-${this.computedPlacement}`]: !!this.computedPlacement,
|
|
345
363
|
[`stzh-popover--${this.variant}`]: !!this.variant
|
|
346
364
|
};
|
|
347
|
-
return (h(Host, null, h("div", { class: classes, onTouchStart: this.handleTouchStart, onTouchEnd: this.handleTouchEnd }, h("div", { ref: (el) => (this.triggerElement = el), class: "stzh-popover__trigger" }, h("slot", null)), h("div", { ref: (el) => (this.contentWrapperElement = el), class: "stzh-popover__content-wrapper" }, h("div", { class: "stzh-popover__backdrop" }), h("div", { ref: (el) => (this.contentElement = el), class: "stzh-popover__content" }, h("div", { ref: (el) => (this.dialogElement = el), class: "stzh-popover__dialog", role: "dialog", tabindex: "-1", "aria-modal": "true", "aria-labelledby": this.label ? this.
|
|
348
|
-
h("div", { class: "stzh-popover__arrow", ref: (el) => (this.arrowElement = el), innerHTML: Arrow }), h("div", { class: "stzh-popover__content-inner" }, h("div", { class: "stzh-popover__content-slot" }, h("slot", { name: "content" }), h("div", { class: "stzh-popover__action-slot" }, h("slot", { name: "action" }))), h("div", { class: "stzh-popover__label-wrapper" }, h("h2", { id: this.
|
|
365
|
+
return (h(Host, null, h("div", { class: classes, onTouchStart: this.handleTouchStart, onTouchEnd: this.handleTouchEnd }, h("div", { ref: (el) => (this.triggerElement = el), class: "stzh-popover__trigger" }, h("slot", null)), h("div", { class: "stzh-popover__vhidden", id: `${this.id}-trigger-description` }, this.localization.open), h("div", { ref: (el) => (this.contentWrapperElement = el), class: "stzh-popover__content-wrapper" }, h("div", { class: "stzh-popover__backdrop" }), h("div", { ref: (el) => (this.contentElement = el), class: "stzh-popover__content" }, h("div", { ref: (el) => (this.dialogElement = el), class: "stzh-popover__dialog", role: "dialog", tabindex: "-1", "aria-modal": "true", "aria-labelledby": this.label ? `${this.id}-label` : null, "aria-hidden": this.open ? "false" : "true", onKeyDown: this.handleKeydown }, this.variant === "tooltip" &&
|
|
366
|
+
h("div", { class: "stzh-popover__arrow", ref: (el) => (this.arrowElement = el), innerHTML: Arrow }), h("div", { class: "stzh-popover__content-inner" }, h("div", { class: "stzh-popover__content-slot" }, h("slot", { name: "content" }), h("div", { class: "stzh-popover__action-slot" }, h("slot", { name: "action" }))), h("div", { class: "stzh-popover__label-wrapper" }, h("h2", { id: `${this.id}-label`, class: "stzh-popover__label" }, this.label ? this.label : h("slot", { name: "label" })), h("button", { class: "stzh-popover__close", onClick: () => this.hide(), type: "button" }, h("stzh-icon", { name: "close", class: "stzh-popover__icon" }), h("span", { class: "stzh-popover__vhidden" }, this.localization.close))))))))));
|
|
349
367
|
}
|
|
350
368
|
get element() { return this; }
|
|
351
369
|
static get watchers() { return {
|