@oiz/stzh-components 4.6.0-beta3 → 4.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{app-globals-e461c8c0.js → app-globals-237b22c8.js} +2 -2
- package/dist/cjs/{app-globals-e461c8c0.js.map → app-globals-237b22c8.js.map} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/stzh-accordion_3.cjs.entry.js +3 -3
- package/dist/cjs/stzh-actions_6.cjs.entry.js +10 -10
- package/dist/cjs/stzh-actions_6.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-actionset.cjs.entry.js +5 -5
- package/dist/cjs/stzh-amount.cjs.entry.js +1 -1
- package/dist/cjs/stzh-anchornav.cjs.entry.js +1 -1
- package/dist/cjs/stzh-app-nav.cjs.entry.js +1 -1
- package/dist/cjs/stzh-appointments.cjs.entry.js +1 -1
- package/dist/cjs/stzh-audio.cjs.entry.js +3 -3
- package/dist/cjs/stzh-badge_3.cjs.entry.js +3 -3
- package/dist/cjs/stzh-breadcrumb_2.cjs.entry.js +2 -2
- package/dist/cjs/stzh-buttongroup.cjs.entry.js +1 -1
- package/dist/cjs/stzh-card-navigation.cjs.entry.js +1 -1
- package/dist/cjs/stzh-card-searchresult.cjs.entry.js +1 -1
- package/dist/cjs/stzh-card.cjs.entry.js +4 -4
- package/dist/cjs/stzh-cardlist_3.cjs.entry.js +3 -3
- package/dist/cjs/stzh-carousel.cjs.entry.js +2 -2
- package/dist/cjs/stzh-chart.cjs.entry.js +1 -1
- package/dist/cjs/stzh-checkbox.cjs.entry.js +3 -3
- package/dist/cjs/stzh-checkboxgroup.cjs.entry.js +3 -3
- package/dist/cjs/stzh-chip.cjs.entry.js +1 -1
- package/dist/cjs/stzh-chipgroup.cjs.entry.js +1 -1
- package/dist/cjs/stzh-chipselect.cjs.entry.js +4 -4
- package/dist/cjs/stzh-clamp.cjs.entry.js +2 -2
- package/dist/cjs/stzh-company-logo.cjs.entry.js +1 -1
- package/dist/cjs/stzh-components.cjs.js +2 -2
- package/dist/cjs/stzh-contact-cv.cjs.entry.js +1 -1
- package/dist/cjs/stzh-contact.cjs.entry.js +20 -2
- package/dist/cjs/stzh-contact.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-content.cjs.entry.js +1 -1
- package/dist/cjs/stzh-cta.cjs.entry.js +1 -1
- package/dist/cjs/stzh-datalist_3.cjs.entry.js +4 -4
- package/dist/cjs/stzh-datalist_3.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-datamessagelist-item.cjs.entry.js +1 -1
- package/dist/cjs/stzh-datamessagelist.cjs.entry.js +1 -1
- package/dist/cjs/stzh-datepicker_3.cjs.entry.js +9 -9
- package/dist/cjs/stzh-daterange.cjs.entry.js +1 -1
- package/dist/cjs/stzh-details.cjs.entry.js +1 -1
- package/dist/cjs/stzh-dialog.cjs.entry.js +2 -2
- package/dist/cjs/stzh-disturber.cjs.entry.js +1 -1
- package/dist/cjs/stzh-dropdown.cjs.entry.js +4 -4
- package/dist/cjs/stzh-editor.cjs.entry.js +1 -1
- package/dist/cjs/stzh-eventdata.cjs.entry.js +1 -1
- package/dist/cjs/stzh-eventinfo.cjs.entry.js +1 -1
- package/dist/cjs/stzh-feedreader-item.cjs.entry.js +1 -1
- package/dist/cjs/stzh-feedreader.cjs.entry.js +1 -1
- package/dist/cjs/stzh-figure.cjs.entry.js +1 -1
- package/dist/cjs/stzh-flyingfocus.cjs.entry.js +1 -1
- package/dist/cjs/stzh-footer.cjs.entry.js +1 -1
- package/dist/cjs/stzh-gallery.cjs.entry.js +1 -1
- package/dist/cjs/stzh-geo-ref-data.cjs.entry.js +3 -3
- package/dist/cjs/stzh-ghettobox_3.cjs.entry.js +4 -4
- package/dist/cjs/stzh-header_2.cjs.entry.js +1 -1
- package/dist/cjs/stzh-heading.cjs.entry.js +1 -1
- package/dist/cjs/stzh-homepage-search.cjs.entry.js +1 -1
- package/dist/cjs/stzh-homepage-service-highlights.cjs.entry.js +2 -2
- package/dist/cjs/stzh-hr.cjs.entry.js +1 -1
- package/dist/cjs/stzh-hspace.cjs.entry.js +2 -2
- package/dist/cjs/stzh-http-error.cjs.entry.js +1 -1
- package/dist/cjs/stzh-iframe.cjs.entry.js +4 -4
- package/dist/cjs/stzh-imagecomparison.cjs.entry.js +2 -2
- package/dist/cjs/stzh-input.cjs.entry.js +5 -5
- package/dist/cjs/stzh-invert.cjs.entry.js +1 -1
- package/dist/cjs/stzh-link.cjs.entry.js +1 -1
- package/dist/cjs/stzh-linklist.cjs.entry.js +1 -1
- package/dist/cjs/stzh-list_2.cjs.entry.js +2 -2
- package/dist/cjs/stzh-loader_2.cjs.entry.js +2 -2
- package/dist/cjs/stzh-loadingbar.cjs.entry.js +1 -1
- package/dist/cjs/stzh-menu_2.cjs.entry.js +2 -2
- package/dist/cjs/stzh-message.cjs.entry.js +2 -2
- package/dist/cjs/stzh-microsite-teaserlist.cjs.entry.js +1 -1
- package/dist/cjs/stzh-monthyearpicker.cjs.entry.js +1 -1
- package/dist/cjs/stzh-offline-indicator.cjs.entry.js +1 -1
- package/dist/cjs/stzh-page-skiplinks.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pagebottom.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pagecontent.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pagetitle-hero.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pagetitle-home.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pagetitle.cjs.entry.js +1 -1
- package/dist/cjs/stzh-panorama.cjs.entry.js +2 -2
- package/dist/cjs/stzh-pi-content-navigation.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pi-menu.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pi-pagetitle.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pi-quote.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pi-teaser-layout-item.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pi-teaser.cjs.entry.js +1 -1
- package/dist/cjs/stzh-poicard.cjs.entry.js +1 -1
- package/dist/cjs/stzh-poilist.cjs.entry.js +1 -1
- package/dist/cjs/stzh-popover.cjs.entry.js +1 -1
- package/dist/cjs/stzh-print_2.cjs.entry.js +2 -2
- package/dist/cjs/stzh-quote.cjs.entry.js +1 -1
- package/dist/cjs/stzh-rating.cjs.entry.js +2 -2
- package/dist/cjs/stzh-ratio.cjs.entry.js +1 -1
- package/dist/cjs/stzh-readspeaker.cjs.entry.js +2 -2
- package/dist/cjs/stzh-saptcha.cjs.entry.js +2 -2
- package/dist/cjs/stzh-scrollup.cjs.entry.js +1 -1
- package/dist/cjs/stzh-search.cjs.entry.js +2 -2
- package/dist/cjs/stzh-section.cjs.entry.js +2 -2
- package/dist/cjs/stzh-sitemap.cjs.entry.js +1 -1
- package/dist/cjs/stzh-skin-portal-mitwirken.cjs.entry.js +2 -2
- package/dist/cjs/stzh-skin-portal-mitwirken.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-skin-storybook-preview.cjs.entry.js +1 -1
- package/dist/cjs/stzh-skiplink.cjs.entry.js +1 -1
- package/dist/cjs/stzh-socialmediastream-item.cjs.entry.js +1 -1
- package/dist/cjs/stzh-socialmediastream.cjs.entry.js +1 -1
- package/dist/cjs/stzh-stepper-item.cjs.entry.js +3 -3
- package/dist/cjs/stzh-stepper.cjs.entry.js +3 -3
- package/dist/cjs/stzh-sticky-actions.cjs.entry.js +1 -1
- package/dist/cjs/stzh-sticky.cjs.entry.js +1 -1
- package/dist/cjs/stzh-table.cjs.entry.js +1 -1
- package/dist/cjs/stzh-text.cjs.entry.js +2 -2
- package/dist/cjs/stzh-textandimage.cjs.entry.js +1 -1
- package/dist/cjs/stzh-timeline-item.cjs.entry.js +1 -1
- package/dist/cjs/stzh-timeline.cjs.entry.js +1 -1
- package/dist/cjs/stzh-timepicker.cjs.entry.js +1 -1
- package/dist/cjs/stzh-toast_2.cjs.entry.js +3 -3
- package/dist/cjs/stzh-toggle.cjs.entry.js +3 -3
- package/dist/cjs/stzh-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/stzh-twocolumns.cjs.entry.js +1 -1
- package/dist/cjs/stzh-upload.cjs.entry.js +2 -2
- package/dist/cjs/stzh-visuallyhidden.cjs.entry.js +2 -2
- package/dist/cjs/stzh-vspace.cjs.entry.js +2 -2
- package/dist/cjs/stzh-youtube.cjs.entry.js +1 -1
- package/dist/collection/assets/pkzh/HelveticaNeueLTPro_normal_normal_300.woff2 +0 -0
- package/dist/collection/assets/pkzh/HelveticaNeueLTPro_normal_normal_400.woff2 +0 -0
- package/dist/collection/assets/pkzh/HelveticaNeueLTPro_normal_normal_500.woff2 +0 -0
- package/dist/collection/assets/pkzh/HelveticaNeueLTPro_normal_normal_700.woff2 +0 -0
- package/dist/collection/assets/pkzh/fonts.css +38 -0
- package/dist/collection/components/CMS/stzh-contact/stzh-contact.css +7 -2
- package/dist/collection/components/CMS/stzh-contact/stzh-contact.js +45 -1
- package/dist/collection/components/CMS/stzh-contact/stzh-contact.js.map +1 -1
- package/dist/collection/components/CMS/stzh-contact/stzh-contact.stories.js +19 -4
- package/dist/collection/components/CMS/stzh-contact-cv/stzh-contact-cv.js +1 -1
- package/dist/collection/components/CMS/stzh-disturber/stzh-disturber.js +1 -1
- package/dist/collection/components/CMS/stzh-editor/stzh-editor.js +1 -1
- package/dist/collection/components/CMS/stzh-eventdata/stzh-eventdata.js +1 -1
- package/dist/collection/components/CMS/stzh-eventinfo/stzh-eventinfo.js +1 -1
- package/dist/collection/components/CMS/stzh-feedreader/stzh-feedreader.js +1 -1
- package/dist/collection/components/CMS/stzh-feedreader-item/stzh-feedreader-item.js +1 -1
- package/dist/collection/components/CMS/stzh-geo-ref-data/stzh-geo-ref-data.js +3 -3
- package/dist/collection/components/CMS/stzh-ghettobox/stzh-ghettobox.js +1 -1
- package/dist/collection/components/CMS/stzh-homepage-search/stzh-homepage-search.js +1 -1
- package/dist/collection/components/CMS/stzh-homepage-service-highlights/stzh-homepage-service-highlights.js +2 -2
- package/dist/collection/components/CMS/stzh-linklist/stzh-linklist.js +1 -1
- package/dist/collection/components/CMS/stzh-microsite-teaserlist/stzh-microsite-teaserlist.js +1 -1
- package/dist/collection/components/CMS/stzh-page-skiplinks/stzh-page-skiplinks.js +1 -1
- package/dist/collection/components/CMS/stzh-pagebottom/stzh-pagebottom.js +1 -1
- package/dist/collection/components/CMS/stzh-pagecontent/stzh-pagecontent.js +1 -1
- package/dist/collection/components/CMS/stzh-pagetitle/stzh-pagetitle.js +1 -1
- package/dist/collection/components/CMS/stzh-pagetitle-hero/stzh-pagetitle-hero.js +1 -1
- package/dist/collection/components/CMS/stzh-pagetitle-home/stzh-pagetitle-home.js +1 -1
- package/dist/collection/components/CMS/stzh-pi-content-navigation/stzh-pi-content-navigation.js +1 -1
- package/dist/collection/components/CMS/stzh-pi-menu/stzh-pi-menu.js +1 -1
- package/dist/collection/components/CMS/stzh-pi-pagetitle/stzh-pi-pagetitle.js +1 -1
- package/dist/collection/components/CMS/stzh-pi-quote/stzh-pi-quote.js +1 -1
- package/dist/collection/components/CMS/stzh-pi-teaser/stzh-pi-teaser.js +1 -1
- package/dist/collection/components/CMS/stzh-pi-teaser-layout-item/stzh-pi-teaser-layout-item.js +1 -1
- package/dist/collection/components/CMS/stzh-poicard/stzh-poicard.js +1 -1
- package/dist/collection/components/CMS/stzh-poilist/stzh-poilist.js +1 -1
- package/dist/collection/components/CMS/stzh-print/stzh-print.js +1 -1
- package/dist/collection/components/CMS/stzh-search/stzh-search.js +2 -2
- package/dist/collection/components/CMS/stzh-sitemap/stzh-sitemap.js +1 -1
- package/dist/collection/components/CMS/stzh-socialmediastream/stzh-socialmediastream.js +1 -1
- package/dist/collection/components/CMS/stzh-socialmediastream-item/stzh-socialmediastream-item.js +1 -1
- package/dist/collection/components/CMS/stzh-textandimage/stzh-textandimage.js +1 -1
- package/dist/collection/components/CMS/stzh-twocolumns/stzh-twocolumns.js +1 -1
- package/dist/collection/components/stzh-accordion/stzh-accordion.js +1 -1
- package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.js +1 -1
- package/dist/collection/components/stzh-actions/stzh-actions.js +1 -1
- package/dist/collection/components/stzh-actionset/stzh-actionset.js +5 -5
- package/dist/collection/components/stzh-amount/stzh-amount.js +1 -1
- package/dist/collection/components/stzh-anchornav/stzh-anchornav.js +1 -1
- package/dist/collection/components/stzh-app-nav/stzh-app-nav.js +1 -1
- package/dist/collection/components/stzh-appointments/stzh-appointments.js +1 -1
- package/dist/collection/components/stzh-audio/stzh-audio.js +3 -3
- package/dist/collection/components/stzh-badge/stzh-badge.js +1 -1
- package/dist/collection/components/stzh-breadcrumb/stzh-breadcrumb.js +1 -1
- package/dist/collection/components/stzh-button/stzh-button.js +1 -1
- package/dist/collection/components/stzh-buttongroup/stzh-buttongroup.js +1 -1
- package/dist/collection/components/stzh-card/stzh-card.js +4 -4
- package/dist/collection/components/stzh-card-navigation/stzh-card-navigation.js +1 -1
- package/dist/collection/components/stzh-card-searchresult/stzh-card-searchresult.js +1 -1
- package/dist/collection/components/stzh-cardlist/stzh-cardlist.js +1 -1
- package/dist/collection/components/stzh-carousel/stzh-carousel.js +2 -2
- package/dist/collection/components/stzh-cell/stzh-cell.js +2 -2
- package/dist/collection/components/stzh-chart/stzh-chart.js +1 -1
- package/dist/collection/components/stzh-checkbox/stzh-checkbox.js +3 -3
- package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.js +3 -3
- package/dist/collection/components/stzh-chip/stzh-chip.js +1 -1
- package/dist/collection/components/stzh-chipgroup/stzh-chipgroup.js +1 -1
- package/dist/collection/components/stzh-chipselect/stzh-chipselect.js +4 -4
- package/dist/collection/components/stzh-clamp/stzh-clamp.js +2 -2
- package/dist/collection/components/stzh-company-logo/stzh-company-logo.js +1 -1
- package/dist/collection/components/stzh-container/stzh-container.js +1 -1
- package/dist/collection/components/stzh-content/stzh-content.js +1 -1
- package/dist/collection/components/stzh-cspace/stzh-cspace.css +3 -0
- package/dist/collection/components/stzh-cspace/stzh-cspace.js +1 -1
- package/dist/collection/components/stzh-cta/stzh-cta.js +1 -1
- package/dist/collection/components/stzh-datalist/stzh-datalist.js +2 -2
- package/dist/collection/components/stzh-datalist-item/stzh-datalist-item.css +6 -2
- package/dist/collection/components/stzh-datamessagelist/stzh-datamessagelist.js +1 -1
- package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.js +1 -1
- package/dist/collection/components/stzh-datepicker/stzh-datepicker.js +3 -3
- package/dist/collection/components/stzh-daterange/stzh-daterange.js +1 -1
- package/dist/collection/components/stzh-details/stzh-details.js +1 -1
- package/dist/collection/components/stzh-dialog/stzh-dialog.js +2 -2
- package/dist/collection/components/stzh-dropdown/stzh-dropdown.js +4 -4
- package/dist/collection/components/stzh-fieldset/stzh-fieldset.js +1 -1
- package/dist/collection/components/stzh-figure/stzh-figure.js +1 -1
- package/dist/collection/components/stzh-flyingfocus/stzh-flyingfocus.js +1 -1
- package/dist/collection/components/stzh-footer/stzh-footer.js +1 -1
- package/dist/collection/components/stzh-gallery/stzh-gallery.js +1 -1
- package/dist/collection/components/stzh-heading/stzh-heading.js +1 -1
- package/dist/collection/components/stzh-hr/stzh-hr.js +1 -1
- package/dist/collection/components/stzh-hspace/stzh-hspace.js +2 -2
- package/dist/collection/components/stzh-http-error/stzh-http-error.js +1 -1
- package/dist/collection/components/stzh-icon/stzh-icon.js +1 -1
- package/dist/collection/components/stzh-iframe/stzh-iframe.js +4 -4
- package/dist/collection/components/stzh-imagecomparison/stzh-imagecomparison.js +2 -2
- package/dist/collection/components/stzh-input/stzh-input.js +5 -5
- package/dist/collection/components/stzh-invert/stzh-invert.js +1 -1
- package/dist/collection/components/stzh-link/stzh-link.js +1 -1
- package/dist/collection/components/stzh-list/stzh-list.js +1 -1
- package/dist/collection/components/stzh-list-item/stzh-list-item.js +1 -1
- package/dist/collection/components/stzh-loader/stzh-loader.js +1 -1
- package/dist/collection/components/stzh-loadingbar/stzh-loadingbar.js +1 -1
- package/dist/collection/components/stzh-menu/stzh-menu.js +1 -1
- package/dist/collection/components/stzh-menu-item/stzh-menu-item.js +1 -1
- package/dist/collection/components/stzh-message/stzh-message.js +2 -2
- package/dist/collection/components/stzh-monthyearpicker/stzh-monthyearpicker.js +1 -1
- package/dist/collection/components/stzh-offline-indicator/stzh-offline-indicator.js +1 -1
- package/dist/collection/components/stzh-olmap/stzh-olmap.js +1 -1
- package/dist/collection/components/stzh-overlay/stzh-overlay.js +1 -1
- package/dist/collection/components/stzh-pagination/stzh-pagination.js +1 -1
- package/dist/collection/components/stzh-panorama/stzh-panorama.js +2 -2
- package/dist/collection/components/stzh-popover/stzh-popover.js +1 -1
- package/dist/collection/components/stzh-quote/stzh-quote.js +1 -1
- package/dist/collection/components/stzh-radio/stzh-radio.js +3 -3
- package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.js +3 -3
- package/dist/collection/components/stzh-rating/stzh-rating.js +2 -2
- package/dist/collection/components/stzh-ratio/stzh-ratio.js +1 -1
- package/dist/collection/components/stzh-readspeaker/stzh-readspeaker.js +2 -2
- package/dist/collection/components/stzh-richtext/stzh-richtext.js +1 -1
- package/dist/collection/components/stzh-row/stzh-row.js +2 -2
- package/dist/collection/components/stzh-saptcha/stzh-saptcha.js +2 -2
- package/dist/collection/components/stzh-scrollup/stzh-scrollup.js +1 -1
- package/dist/collection/components/stzh-section/stzh-section.js +2 -2
- package/dist/collection/components/stzh-share/stzh-share.js +1 -1
- package/dist/collection/components/stzh-show/stzh-show.js +2 -2
- package/dist/collection/components/stzh-skin-portal-mitwirken/stzh-skin-portal-mitwirken.css +21 -18
- package/dist/collection/components/stzh-skin-portal-mitwirken/stzh-skin-portal-mitwirken.js +1 -1
- package/dist/collection/components/stzh-skin-storybook-preview/stzh-skin-storybook-preview.js +1 -1
- package/dist/collection/components/stzh-skiplink/stzh-skiplink.js +1 -1
- package/dist/collection/components/stzh-sortable/stzh-sortable.js +1 -1
- package/dist/collection/components/stzh-space/stzh-space.js +2 -2
- package/dist/collection/components/stzh-status/stzh-status.js +1 -1
- package/dist/collection/components/stzh-stepper/stzh-stepper.component.js +3 -3
- package/dist/collection/components/stzh-stepper-item/stzh-stepper-item.js +3 -3
- package/dist/collection/components/stzh-sticky/stzh-sticky.js +1 -1
- package/dist/collection/components/stzh-sticky-actions/stzh-sticky-actions.js +1 -1
- package/dist/collection/components/stzh-table/stzh-table.js +1 -1
- package/dist/collection/components/stzh-tag/stzh-tag.js +1 -1
- package/dist/collection/components/stzh-text/stzh-text.js +2 -2
- package/dist/collection/components/stzh-timeline/stzh-timeline.js +1 -1
- package/dist/collection/components/stzh-timeline-item/stzh-timeline-item.js +1 -1
- package/dist/collection/components/stzh-timepicker/stzh-timepicker.js +1 -1
- package/dist/collection/components/stzh-toast/stzh-toast.js +2 -2
- package/dist/collection/components/stzh-toastbar/stzh-toastbar.js +1 -1
- package/dist/collection/components/stzh-toggle/stzh-toggle.js +3 -3
- package/dist/collection/components/stzh-tooltip/stzh-tooltip.js +1 -1
- package/dist/collection/components/stzh-upload/stzh-upload.js +2 -2
- package/dist/collection/components/stzh-visuallyhidden/stzh-visuallyhidden.js +2 -2
- package/dist/collection/components/stzh-vspace/stzh-vspace.js +2 -2
- package/dist/collection/components/stzh-youtube/stzh-youtube.js +1 -1
- package/dist/collection/index.js +1 -1
- package/dist/collection/index.js.map +1 -1
- package/dist/components/index.js +2 -2
- package/dist/components/{p-593ca1a7.js → p-04567f95.js} +6 -6
- package/dist/components/{p-593ca1a7.js.map → p-04567f95.js.map} +1 -1
- package/dist/components/{p-1679fb1d.js → p-0b630cac.js} +12 -12
- package/dist/components/{p-1679fb1d.js.map → p-0b630cac.js.map} +1 -1
- package/dist/components/{p-3d2bf808.js → p-0f94b704.js} +7 -7
- package/dist/components/{p-3d2bf808.js.map → p-0f94b704.js.map} +1 -1
- package/dist/components/{p-c5aa3de6.js → p-1462b0ac.js} +8 -8
- package/dist/components/{p-c5aa3de6.js.map → p-1462b0ac.js.map} +1 -1
- package/dist/components/{p-adfe9c18.js → p-18f73dde.js} +3 -3
- package/dist/components/{p-adfe9c18.js.map → p-18f73dde.js.map} +1 -1
- package/dist/components/{p-b8f2532a.js → p-1ec35678.js} +5 -5
- package/dist/components/{p-b8f2532a.js.map → p-1ec35678.js.map} +1 -1
- package/dist/components/{p-c1fd09b7.js → p-1f315034.js} +7 -7
- package/dist/components/{p-c1fd09b7.js.map → p-1f315034.js.map} +1 -1
- package/dist/components/{p-a5acb217.js → p-200f9da5.js} +3 -3
- package/dist/components/{p-a5acb217.js.map → p-200f9da5.js.map} +1 -1
- package/dist/components/{p-b1c3189a.js → p-258d7bde.js} +6 -6
- package/dist/components/{p-b1c3189a.js.map → p-258d7bde.js.map} +1 -1
- package/dist/components/{p-831467e5.js → p-27688347.js} +5 -5
- package/dist/components/{p-831467e5.js.map → p-27688347.js.map} +1 -1
- package/dist/components/{p-0290bc39.js → p-27bf6b87.js} +9 -9
- package/dist/components/{p-0290bc39.js.map → p-27bf6b87.js.map} +1 -1
- package/dist/components/{p-79ffaacb.js → p-28548919.js} +11 -11
- package/dist/components/{p-79ffaacb.js.map → p-28548919.js.map} +1 -1
- package/dist/components/{p-f1e6bceb.js → p-2c27e000.js} +14 -14
- package/dist/components/{p-f1e6bceb.js.map → p-2c27e000.js.map} +1 -1
- package/dist/components/{p-ba8edf1e.js → p-2d2bf07d.js} +2 -2
- package/dist/components/{p-ba8edf1e.js.map → p-2d2bf07d.js.map} +1 -1
- package/dist/components/{p-10d1bf15.js → p-2d80d228.js} +4 -4
- package/dist/components/{p-10d1bf15.js.map → p-2d80d228.js.map} +1 -1
- package/dist/components/{p-c2d36658.js → p-31a89409.js} +14 -14
- package/dist/components/{p-c2d36658.js.map → p-31a89409.js.map} +1 -1
- package/dist/components/{p-f5779736.js → p-37c9ec06.js} +2 -2
- package/dist/components/p-37c9ec06.js.map +1 -0
- package/dist/components/{p-2c788dcd.js → p-38c15f74.js} +2 -2
- package/dist/components/{p-2c788dcd.js.map → p-38c15f74.js.map} +1 -1
- package/dist/components/{p-7a4eaab2.js → p-3c6af723.js} +2 -2
- package/dist/components/{p-7a4eaab2.js.map → p-3c6af723.js.map} +1 -1
- package/dist/components/{p-5aa4ca6b.js → p-3d3c2de8.js} +2 -2
- package/dist/components/{p-5aa4ca6b.js.map → p-3d3c2de8.js.map} +1 -1
- package/dist/components/{p-bfccc4ba.js → p-3d9ce94f.js} +8 -8
- package/dist/components/{p-bfccc4ba.js.map → p-3d9ce94f.js.map} +1 -1
- package/dist/components/{p-7121e1bf.js → p-472ab25f.js} +3 -3
- package/dist/components/{p-7121e1bf.js.map → p-472ab25f.js.map} +1 -1
- package/dist/components/{p-b6a6ff54.js → p-49d51921.js} +2 -2
- package/dist/components/{p-b6a6ff54.js.map → p-49d51921.js.map} +1 -1
- package/dist/components/p-4b6c4031.js +83 -0
- package/dist/components/p-4b6c4031.js.map +1 -0
- package/dist/components/{p-a02372f5.js → p-4ea49c40.js} +2 -2
- package/dist/components/{p-a02372f5.js.map → p-4ea49c40.js.map} +1 -1
- package/dist/components/{p-a773eb1b.js → p-51253a86.js} +6 -6
- package/dist/components/{p-a773eb1b.js.map → p-51253a86.js.map} +1 -1
- package/dist/components/{p-8faab692.js → p-519479b8.js} +3 -3
- package/dist/components/{p-8faab692.js.map → p-519479b8.js.map} +1 -1
- package/dist/components/{p-4c4a22d3.js → p-5519805a.js} +2 -2
- package/dist/components/{p-4c4a22d3.js.map → p-5519805a.js.map} +1 -1
- package/dist/components/{p-b35195c8.js → p-5c7c4130.js} +4 -4
- package/dist/components/{p-b35195c8.js.map → p-5c7c4130.js.map} +1 -1
- package/dist/components/{p-ce788661.js → p-60907498.js} +2 -2
- package/dist/components/{p-ce788661.js.map → p-60907498.js.map} +1 -1
- package/dist/components/{p-a2659715.js → p-60d4ef07.js} +2 -2
- package/dist/components/{p-a2659715.js.map → p-60d4ef07.js.map} +1 -1
- package/dist/components/{p-7b9767bc.js → p-63080941.js} +7 -7
- package/dist/components/{p-7b9767bc.js.map → p-63080941.js.map} +1 -1
- package/dist/components/{p-700a2919.js → p-694da289.js} +2 -2
- package/dist/components/{p-700a2919.js.map → p-694da289.js.map} +1 -1
- package/dist/components/{p-2035f3fc.js → p-6d08555b.js} +3 -3
- package/dist/components/{p-2035f3fc.js.map → p-6d08555b.js.map} +1 -1
- package/dist/components/{p-356399a0.js → p-70651df8.js} +2 -2
- package/dist/components/{p-356399a0.js.map → p-70651df8.js.map} +1 -1
- package/dist/components/{p-692cd6d0.js → p-78ad1fb5.js} +2 -2
- package/dist/components/{p-692cd6d0.js.map → p-78ad1fb5.js.map} +1 -1
- package/dist/components/{p-06fdd62d.js → p-79436c88.js} +6 -6
- package/dist/components/{p-06fdd62d.js.map → p-79436c88.js.map} +1 -1
- package/dist/components/{p-556af4a4.js → p-7969eeb6.js} +2 -2
- package/dist/components/{p-556af4a4.js.map → p-7969eeb6.js.map} +1 -1
- package/dist/components/{p-f3c5a9d6.js → p-851bafc2.js} +3 -3
- package/dist/components/{p-f3c5a9d6.js.map → p-851bafc2.js.map} +1 -1
- package/dist/components/{p-893776e9.js → p-94398518.js} +3 -3
- package/dist/components/{p-893776e9.js.map → p-94398518.js.map} +1 -1
- package/dist/components/{p-ae5316c9.js → p-955f381a.js} +2 -2
- package/dist/components/{p-ae5316c9.js.map → p-955f381a.js.map} +1 -1
- package/dist/components/{p-5123f47f.js → p-95960509.js} +10 -10
- package/dist/components/{p-5123f47f.js.map → p-95960509.js.map} +1 -1
- package/dist/components/{p-69f3b8e3.js → p-99c93f51.js} +5 -5
- package/dist/components/{p-69f3b8e3.js.map → p-99c93f51.js.map} +1 -1
- package/dist/components/{p-9574ea75.js → p-9dccba17.js} +7 -7
- package/dist/components/{p-9574ea75.js.map → p-9dccba17.js.map} +1 -1
- package/dist/components/{p-51367ddc.js → p-a3e94f5e.js} +12 -12
- package/dist/components/{p-51367ddc.js.map → p-a3e94f5e.js.map} +1 -1
- package/dist/components/{p-f8294f26.js → p-a792adae.js} +7 -7
- package/dist/components/{p-f8294f26.js.map → p-a792adae.js.map} +1 -1
- package/dist/components/{p-a3c5c1b3.js → p-b7348f8a.js} +2 -2
- package/dist/components/{p-a3c5c1b3.js.map → p-b7348f8a.js.map} +1 -1
- package/dist/components/{p-42e86bbd.js → p-b8fda153.js} +2 -2
- package/dist/components/{p-42e86bbd.js.map → p-b8fda153.js.map} +1 -1
- package/dist/components/{p-136ea314.js → p-bafc325d.js} +8 -8
- package/dist/components/p-bafc325d.js.map +1 -0
- package/dist/components/{p-5c9d22b6.js → p-c032bedc.js} +2 -2
- package/dist/components/{p-5c9d22b6.js.map → p-c032bedc.js.map} +1 -1
- package/dist/components/{p-9dba6e5f.js → p-c4637521.js} +6 -6
- package/dist/components/{p-9dba6e5f.js.map → p-c4637521.js.map} +1 -1
- package/dist/components/{p-8fb1ee85.js → p-c484e7ca.js} +2 -2
- package/dist/components/{p-8fb1ee85.js.map → p-c484e7ca.js.map} +1 -1
- package/dist/components/{p-00bfe201.js → p-c6147c2a.js} +3 -3
- package/dist/components/{p-00bfe201.js.map → p-c6147c2a.js.map} +1 -1
- package/dist/components/{p-d857450c.js → p-c750600a.js} +3 -3
- package/dist/components/{p-d857450c.js.map → p-c750600a.js.map} +1 -1
- package/dist/components/{p-a87c8ead.js → p-c7797402.js} +2 -2
- package/dist/components/{p-a87c8ead.js.map → p-c7797402.js.map} +1 -1
- package/dist/components/{p-9aa37b0e.js → p-c8267c9e.js} +7 -7
- package/dist/components/{p-9aa37b0e.js.map → p-c8267c9e.js.map} +1 -1
- package/dist/components/{p-b2eca173.js → p-c9320f27.js} +4 -4
- package/dist/components/{p-b2eca173.js.map → p-c9320f27.js.map} +1 -1
- package/dist/components/{p-d0ecd5c0.js → p-cac39de3.js} +3 -3
- package/dist/components/{p-d0ecd5c0.js.map → p-cac39de3.js.map} +1 -1
- package/dist/components/{p-72a74fcf.js → p-cb0898ca.js} +6 -6
- package/dist/components/{p-72a74fcf.js.map → p-cb0898ca.js.map} +1 -1
- package/dist/components/{p-cef2a7e4.js → p-cccc2b32.js} +9 -9
- package/dist/components/{p-cef2a7e4.js.map → p-cccc2b32.js.map} +1 -1
- package/dist/components/{p-1f375b7d.js → p-cdaf20f3.js} +7 -7
- package/dist/components/{p-1f375b7d.js.map → p-cdaf20f3.js.map} +1 -1
- package/dist/components/{p-8f155465.js → p-d1d54b5f.js} +3 -3
- package/dist/components/{p-8f155465.js.map → p-d1d54b5f.js.map} +1 -1
- package/dist/components/{p-74ae8080.js → p-db160bc1.js} +6 -6
- package/dist/components/{p-74ae8080.js.map → p-db160bc1.js.map} +1 -1
- package/dist/components/{p-15761c26.js → p-dc031c55.js} +9 -9
- package/dist/components/{p-15761c26.js.map → p-dc031c55.js.map} +1 -1
- package/dist/components/{p-8ea6e1c0.js → p-dd119f51.js} +2 -2
- package/dist/components/{p-8ea6e1c0.js.map → p-dd119f51.js.map} +1 -1
- package/dist/components/{p-e4ff57a8.js → p-e25baa50.js} +4 -4
- package/dist/components/{p-e4ff57a8.js.map → p-e25baa50.js.map} +1 -1
- package/dist/components/{p-b5caf3f4.js → p-e29cdad5.js} +3 -3
- package/dist/components/{p-b5caf3f4.js.map → p-e29cdad5.js.map} +1 -1
- package/dist/components/{p-b84d0233.js → p-ec5e2f2a.js} +4 -4
- package/dist/components/{p-b84d0233.js.map → p-ec5e2f2a.js.map} +1 -1
- package/dist/components/{p-905447b5.js → p-ef7cf99a.js} +4 -4
- package/dist/components/{p-905447b5.js.map → p-ef7cf99a.js.map} +1 -1
- package/dist/components/{p-bb38e284.js → p-f362f8aa.js} +3 -3
- package/dist/components/{p-bb38e284.js.map → p-f362f8aa.js.map} +1 -1
- package/dist/components/{p-39b23489.js → p-fc668f7b.js} +2 -2
- package/dist/components/{p-39b23489.js.map → p-fc668f7b.js.map} +1 -1
- package/dist/components/stzh-accordion-item.js +1 -1
- package/dist/components/stzh-accordion.js +1 -1
- package/dist/components/stzh-actions.js +1 -1
- package/dist/components/stzh-actionset.js +1 -1
- package/dist/components/stzh-amount.js +9 -9
- package/dist/components/stzh-anchornav.js +5 -5
- package/dist/components/stzh-app-nav.js +1 -1
- package/dist/components/stzh-appointments.js +14 -14
- package/dist/components/stzh-archivelist.js +6 -6
- package/dist/components/stzh-audio.js +7 -7
- package/dist/components/stzh-badge.js +1 -1
- package/dist/components/stzh-banner.js +3 -3
- package/dist/components/stzh-bathstatus-item.js +1 -1
- package/dist/components/stzh-bathstatus-list.js +6 -6
- package/dist/components/stzh-breadcrumb.js +1 -1
- package/dist/components/stzh-button.js +1 -1
- package/dist/components/stzh-buttongroup.js +1 -1
- package/dist/components/stzh-calendar.js +1 -1
- package/dist/components/stzh-card-navigation.js +2 -2
- package/dist/components/stzh-card-searchresult.js +14 -14
- package/dist/components/stzh-card-superteaser.js +13 -13
- package/dist/components/stzh-card.js +1 -1
- package/dist/components/stzh-cardlist.js +1 -1
- package/dist/components/stzh-carousel.js +1 -1
- package/dist/components/stzh-cell.js +1 -1
- package/dist/components/stzh-chart.js +1 -1
- package/dist/components/stzh-checkbox.js +1 -1
- package/dist/components/stzh-checkboxgroup.js +6 -6
- package/dist/components/stzh-chip.js +1 -1
- package/dist/components/stzh-chipgroup.js +1 -1
- package/dist/components/stzh-chipselect.js +1 -1
- package/dist/components/stzh-clamp.js +1 -1
- package/dist/components/stzh-company-logo.js +1 -1
- package/dist/components/stzh-contact-cv.js +4 -4
- package/dist/components/stzh-contact.js +56 -12
- package/dist/components/stzh-contact.js.map +1 -1
- package/dist/components/stzh-container.js +1 -1
- package/dist/components/stzh-content.js +1 -1
- package/dist/components/stzh-cspace.js +1 -1
- package/dist/components/stzh-cta.js +3 -3
- package/dist/components/stzh-datalist-item.js +1 -1
- package/dist/components/stzh-datalist.js +1 -1
- package/dist/components/stzh-datamessagelist-item.js +11 -11
- package/dist/components/stzh-datamessagelist.js +1 -1
- package/dist/components/stzh-datatable.js +16 -16
- package/dist/components/stzh-datepicker.js +1 -1
- package/dist/components/stzh-daterange.js +4 -4
- package/dist/components/stzh-details.js +1 -1
- package/dist/components/stzh-dialog.js +1 -1
- package/dist/components/stzh-disturber.js +4 -4
- package/dist/components/stzh-dropdown.js +1 -1
- package/dist/components/stzh-editor.js +4 -4
- package/dist/components/stzh-eventdata.js +1 -1
- package/dist/components/stzh-eventinfo.js +5 -5
- package/dist/components/stzh-feedreader-item.js +2 -2
- package/dist/components/stzh-feedreader.js +8 -8
- package/dist/components/stzh-fieldset.js +1 -1
- package/dist/components/stzh-figure.js +1 -1
- package/dist/components/stzh-flyingfocus.js +1 -1
- package/dist/components/stzh-footer.js +4 -4
- package/dist/components/stzh-gallery.js +8 -8
- package/dist/components/stzh-geo-ref-data.js +25 -25
- package/dist/components/stzh-ghettobox.js +1 -1
- package/dist/components/stzh-header.js +1 -1
- package/dist/components/stzh-heading.js +1 -1
- package/dist/components/stzh-homepage-search.js +2 -2
- package/dist/components/stzh-homepage-service-highlights.js +7 -7
- package/dist/components/stzh-hr.js +1 -1
- package/dist/components/stzh-hspace.js +1 -1
- package/dist/components/stzh-http-error.js +7 -7
- package/dist/components/stzh-icon.js +1 -1
- package/dist/components/stzh-iframe.js +1 -1
- package/dist/components/stzh-imagecomparison.js +3 -3
- package/dist/components/stzh-input.js +1 -1
- package/dist/components/stzh-invert.js +1 -1
- package/dist/components/stzh-link.js +1 -1
- package/dist/components/stzh-linklist.js +10 -10
- package/dist/components/stzh-list-item.js +1 -1
- package/dist/components/stzh-list.js +1 -1
- package/dist/components/stzh-loader.js +1 -1
- package/dist/components/stzh-loadingbar.js +1 -1
- package/dist/components/stzh-menu-item.js +1 -1
- package/dist/components/stzh-menu.js +1 -1
- package/dist/components/stzh-message.js +1 -1
- package/dist/components/stzh-microsite-teaserlist.js +19 -19
- package/dist/components/stzh-monthyearpicker.js +5 -5
- package/dist/components/stzh-offline-indicator.js +6 -6
- package/dist/components/stzh-olmap.js +1 -1
- package/dist/components/stzh-overlay.js +1 -1
- package/dist/components/stzh-page-skiplinks.js +1 -1
- package/dist/components/stzh-pagebottom.js +8 -8
- package/dist/components/stzh-pagecontent.js +1 -1
- package/dist/components/stzh-pagetitle-hero.js +1 -1
- package/dist/components/stzh-pagetitle-home.js +2 -2
- package/dist/components/stzh-pagetitle.js +2 -2
- package/dist/components/stzh-pagination.js +1 -1
- package/dist/components/stzh-panorama.js +12 -12
- package/dist/components/stzh-pi-content-navigation.js +3 -3
- package/dist/components/stzh-pi-menu.js +3 -3
- package/dist/components/stzh-pi-pagetitle.js +2 -2
- package/dist/components/stzh-pi-quote.js +1 -1
- package/dist/components/stzh-pi-teaser-layout-item.js +1 -1
- package/dist/components/stzh-pi-teaser-layout.js +1 -1
- package/dist/components/stzh-pi-teaser.js +2 -2
- package/dist/components/stzh-pkzh-qr.js +19 -19
- package/dist/components/stzh-poicard.js +1 -1
- package/dist/components/stzh-poilist.js +18 -18
- package/dist/components/stzh-popover.js +1 -1
- package/dist/components/stzh-print.js +1 -1
- package/dist/components/stzh-quote.js +1 -1
- package/dist/components/stzh-radio.js +1 -1
- package/dist/components/stzh-radiogroup.js +1 -1
- package/dist/components/stzh-rating.js +5 -5
- package/dist/components/stzh-ratio.js +1 -1
- package/dist/components/stzh-readspeaker.js +5 -5
- package/dist/components/stzh-richtext.js +1 -1
- package/dist/components/stzh-row.js +1 -1
- package/dist/components/stzh-saptcha.js +8 -8
- package/dist/components/stzh-scrollup.js +1 -1
- package/dist/components/stzh-search.js +17 -17
- package/dist/components/stzh-section.js +2 -2
- package/dist/components/stzh-share.js +1 -1
- package/dist/components/stzh-show.js +1 -1
- package/dist/components/stzh-sitemap.js +9 -9
- package/dist/components/stzh-skin-portal-mitwirken.js +2 -2
- package/dist/components/stzh-skin-portal-mitwirken.js.map +1 -1
- package/dist/components/stzh-skin-storybook-preview.js +1 -1
- package/dist/components/stzh-skiplink.js +1 -1
- package/dist/components/stzh-socialmediastream-item.js +1 -1
- package/dist/components/stzh-socialmediastream.js +6 -6
- package/dist/components/stzh-sortable.js +1 -1
- package/dist/components/stzh-space.js +1 -1
- package/dist/components/stzh-status.js +1 -1
- package/dist/components/stzh-stepper-item.js +1 -1
- package/dist/components/stzh-stepper.js +5 -5
- package/dist/components/stzh-sticky-actions.js +2 -2
- package/dist/components/stzh-sticky.js +1 -1
- package/dist/components/stzh-table.js +1 -1
- package/dist/components/stzh-tag.js +1 -1
- package/dist/components/stzh-text.js +1 -1
- package/dist/components/stzh-textandimage.js +1 -1
- package/dist/components/stzh-timeline-item.js +3 -3
- package/dist/components/stzh-timeline.js +1 -1
- package/dist/components/stzh-timepicker.js +5 -5
- package/dist/components/stzh-toast.js +1 -1
- package/dist/components/stzh-toastbar.js +1 -1
- package/dist/components/stzh-toggle.js +6 -6
- package/dist/components/stzh-tooltip.js +1 -1
- package/dist/components/stzh-twocolumns.js +1 -1
- package/dist/components/stzh-upload.js +13 -13
- package/dist/components/stzh-vbz-carousel.js +1 -1
- package/dist/components/stzh-vbz-intro.js +4 -4
- package/dist/components/stzh-vbz-linechip.js +1 -1
- package/dist/components/stzh-vbz-majorticker.js +7 -7
- package/dist/components/stzh-vbz-ticker.js +7 -7
- package/dist/components/stzh-visuallyhidden.js +2 -2
- package/dist/components/stzh-vspace.js +2 -2
- package/dist/components/stzh-youtube.js +6 -6
- package/dist/esm/{app-globals-54af31db.js → app-globals-a962cea2.js} +2 -2
- package/dist/esm/{app-globals-54af31db.js.map → app-globals-a962cea2.js.map} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/stzh-accordion_3.entry.js +3 -3
- package/dist/esm/stzh-actions_6.entry.js +10 -10
- package/dist/esm/stzh-actions_6.entry.js.map +1 -1
- package/dist/esm/stzh-actionset.entry.js +5 -5
- package/dist/esm/stzh-amount.entry.js +1 -1
- package/dist/esm/stzh-anchornav.entry.js +1 -1
- package/dist/esm/stzh-app-nav.entry.js +1 -1
- package/dist/esm/stzh-appointments.entry.js +1 -1
- package/dist/esm/stzh-audio.entry.js +3 -3
- package/dist/esm/stzh-badge_3.entry.js +3 -3
- package/dist/esm/stzh-breadcrumb_2.entry.js +2 -2
- package/dist/esm/stzh-buttongroup.entry.js +1 -1
- package/dist/esm/stzh-card-navigation.entry.js +1 -1
- package/dist/esm/stzh-card-searchresult.entry.js +1 -1
- package/dist/esm/stzh-card.entry.js +4 -4
- package/dist/esm/stzh-cardlist_3.entry.js +3 -3
- package/dist/esm/stzh-carousel.entry.js +2 -2
- package/dist/esm/stzh-chart.entry.js +1 -1
- package/dist/esm/stzh-checkbox.entry.js +3 -3
- package/dist/esm/stzh-checkboxgroup.entry.js +3 -3
- package/dist/esm/stzh-chip.entry.js +1 -1
- package/dist/esm/stzh-chipgroup.entry.js +1 -1
- package/dist/esm/stzh-chipselect.entry.js +4 -4
- package/dist/esm/stzh-clamp.entry.js +2 -2
- package/dist/esm/stzh-company-logo.entry.js +1 -1
- package/dist/esm/stzh-components.js +2 -2
- package/dist/esm/stzh-contact-cv.entry.js +1 -1
- package/dist/esm/stzh-contact.entry.js +20 -2
- package/dist/esm/stzh-contact.entry.js.map +1 -1
- package/dist/esm/stzh-content.entry.js +1 -1
- package/dist/esm/stzh-cta.entry.js +1 -1
- package/dist/esm/stzh-datalist_3.entry.js +4 -4
- package/dist/esm/stzh-datalist_3.entry.js.map +1 -1
- package/dist/esm/stzh-datamessagelist-item.entry.js +1 -1
- package/dist/esm/stzh-datamessagelist.entry.js +1 -1
- package/dist/esm/stzh-datepicker_3.entry.js +9 -9
- package/dist/esm/stzh-daterange.entry.js +1 -1
- package/dist/esm/stzh-details.entry.js +1 -1
- package/dist/esm/stzh-dialog.entry.js +2 -2
- package/dist/esm/stzh-disturber.entry.js +1 -1
- package/dist/esm/stzh-dropdown.entry.js +4 -4
- package/dist/esm/stzh-editor.entry.js +1 -1
- package/dist/esm/stzh-eventdata.entry.js +1 -1
- package/dist/esm/stzh-eventinfo.entry.js +1 -1
- package/dist/esm/stzh-feedreader-item.entry.js +1 -1
- package/dist/esm/stzh-feedreader.entry.js +1 -1
- package/dist/esm/stzh-figure.entry.js +1 -1
- package/dist/esm/stzh-flyingfocus.entry.js +1 -1
- package/dist/esm/stzh-footer.entry.js +1 -1
- package/dist/esm/stzh-gallery.entry.js +1 -1
- package/dist/esm/stzh-geo-ref-data.entry.js +3 -3
- package/dist/esm/stzh-ghettobox_3.entry.js +4 -4
- package/dist/esm/stzh-header_2.entry.js +1 -1
- package/dist/esm/stzh-heading.entry.js +1 -1
- package/dist/esm/stzh-homepage-search.entry.js +1 -1
- package/dist/esm/stzh-homepage-service-highlights.entry.js +2 -2
- package/dist/esm/stzh-hr.entry.js +1 -1
- package/dist/esm/stzh-hspace.entry.js +2 -2
- package/dist/esm/stzh-http-error.entry.js +1 -1
- package/dist/esm/stzh-iframe.entry.js +4 -4
- package/dist/esm/stzh-imagecomparison.entry.js +2 -2
- package/dist/esm/stzh-input.entry.js +5 -5
- package/dist/esm/stzh-invert.entry.js +1 -1
- package/dist/esm/stzh-link.entry.js +1 -1
- package/dist/esm/stzh-linklist.entry.js +1 -1
- package/dist/esm/stzh-list_2.entry.js +2 -2
- package/dist/esm/stzh-loader_2.entry.js +2 -2
- package/dist/esm/stzh-loadingbar.entry.js +1 -1
- package/dist/esm/stzh-menu_2.entry.js +2 -2
- package/dist/esm/stzh-message.entry.js +2 -2
- package/dist/esm/stzh-microsite-teaserlist.entry.js +1 -1
- package/dist/esm/stzh-monthyearpicker.entry.js +1 -1
- package/dist/esm/stzh-offline-indicator.entry.js +1 -1
- package/dist/esm/stzh-page-skiplinks.entry.js +1 -1
- package/dist/esm/stzh-pagebottom.entry.js +1 -1
- package/dist/esm/stzh-pagecontent.entry.js +1 -1
- package/dist/esm/stzh-pagetitle-hero.entry.js +1 -1
- package/dist/esm/stzh-pagetitle-home.entry.js +1 -1
- package/dist/esm/stzh-pagetitle.entry.js +1 -1
- package/dist/esm/stzh-panorama.entry.js +2 -2
- package/dist/esm/stzh-pi-content-navigation.entry.js +1 -1
- package/dist/esm/stzh-pi-menu.entry.js +1 -1
- package/dist/esm/stzh-pi-pagetitle.entry.js +1 -1
- package/dist/esm/stzh-pi-quote.entry.js +1 -1
- package/dist/esm/stzh-pi-teaser-layout-item.entry.js +1 -1
- package/dist/esm/stzh-pi-teaser.entry.js +1 -1
- package/dist/esm/stzh-poicard.entry.js +1 -1
- package/dist/esm/stzh-poilist.entry.js +1 -1
- package/dist/esm/stzh-popover.entry.js +1 -1
- package/dist/esm/stzh-print_2.entry.js +2 -2
- package/dist/esm/stzh-quote.entry.js +1 -1
- package/dist/esm/stzh-rating.entry.js +2 -2
- package/dist/esm/stzh-ratio.entry.js +1 -1
- package/dist/esm/stzh-readspeaker.entry.js +2 -2
- package/dist/esm/stzh-saptcha.entry.js +2 -2
- package/dist/esm/stzh-scrollup.entry.js +1 -1
- package/dist/esm/stzh-search.entry.js +2 -2
- package/dist/esm/stzh-section.entry.js +2 -2
- package/dist/esm/stzh-sitemap.entry.js +1 -1
- package/dist/esm/stzh-skin-portal-mitwirken.entry.js +2 -2
- package/dist/esm/stzh-skin-portal-mitwirken.entry.js.map +1 -1
- package/dist/esm/stzh-skin-storybook-preview.entry.js +1 -1
- package/dist/esm/stzh-skiplink.entry.js +1 -1
- package/dist/esm/stzh-socialmediastream-item.entry.js +1 -1
- package/dist/esm/stzh-socialmediastream.entry.js +1 -1
- package/dist/esm/stzh-stepper-item.entry.js +3 -3
- package/dist/esm/stzh-stepper.entry.js +3 -3
- package/dist/esm/stzh-sticky-actions.entry.js +1 -1
- package/dist/esm/stzh-sticky.entry.js +1 -1
- package/dist/esm/stzh-table.entry.js +1 -1
- package/dist/esm/stzh-text.entry.js +2 -2
- package/dist/esm/stzh-textandimage.entry.js +1 -1
- package/dist/esm/stzh-timeline-item.entry.js +1 -1
- package/dist/esm/stzh-timeline.entry.js +1 -1
- package/dist/esm/stzh-timepicker.entry.js +1 -1
- package/dist/esm/stzh-toast_2.entry.js +3 -3
- package/dist/esm/stzh-toggle.entry.js +3 -3
- package/dist/esm/stzh-tooltip.entry.js +1 -1
- package/dist/esm/stzh-twocolumns.entry.js +1 -1
- package/dist/esm/stzh-upload.entry.js +2 -2
- package/dist/esm/stzh-visuallyhidden.entry.js +2 -2
- package/dist/esm/stzh-vspace.entry.js +2 -2
- package/dist/esm/stzh-youtube.entry.js +1 -1
- package/dist/stzh-components/assets/pkzh/HelveticaNeueLTPro_normal_normal_300.woff2 +0 -0
- package/dist/stzh-components/assets/pkzh/HelveticaNeueLTPro_normal_normal_400.woff2 +0 -0
- package/dist/stzh-components/assets/pkzh/HelveticaNeueLTPro_normal_normal_500.woff2 +0 -0
- package/dist/stzh-components/assets/pkzh/HelveticaNeueLTPro_normal_normal_700.woff2 +0 -0
- package/dist/stzh-components/assets/pkzh/fonts.css +38 -0
- package/dist/stzh-components/index.esm.js.map +1 -1
- package/dist/stzh-components/{p-6be020d8.entry.js → p-00af01ab.entry.js} +2 -2
- package/dist/stzh-components/p-01c8a73f.entry.js +2 -0
- package/dist/stzh-components/p-01c8a73f.entry.js.map +1 -0
- package/dist/stzh-components/{p-af1aa423.entry.js → p-0504563f.entry.js} +2 -2
- package/dist/stzh-components/{p-1661b89f.entry.js → p-0585149c.entry.js} +2 -2
- package/dist/stzh-components/{p-a75c4682.entry.js → p-0585ce30.entry.js} +2 -2
- package/dist/stzh-components/{p-0f546f1c.entry.js → p-07f62cf8.entry.js} +2 -2
- package/dist/stzh-components/p-08a557a9.entry.js +2 -0
- package/dist/stzh-components/{p-03c2d367.entry.js.map → p-08a557a9.entry.js.map} +1 -1
- package/dist/stzh-components/{p-dcb909a2.entry.js → p-0b121c06.entry.js} +2 -2
- package/dist/stzh-components/{p-93424a61.entry.js → p-0c40b74a.entry.js} +2 -2
- package/dist/stzh-components/{p-b4bae13a.entry.js → p-0d7b090a.entry.js} +2 -2
- package/dist/stzh-components/{p-e75cde0c.entry.js → p-0edd3842.entry.js} +2 -2
- package/dist/stzh-components/{p-dac4534c.entry.js → p-11256084.entry.js} +2 -2
- package/dist/stzh-components/{p-65e099a0.entry.js → p-13881ff2.entry.js} +2 -2
- package/dist/stzh-components/{p-f3081e0e.entry.js → p-15c6b254.entry.js} +2 -2
- package/dist/stzh-components/{p-34c68f20.entry.js → p-15f3c6a1.entry.js} +2 -2
- package/dist/stzh-components/{p-ca5bd81c.entry.js → p-18773f9c.entry.js} +2 -2
- package/dist/stzh-components/{p-32448e73.entry.js → p-1afb2913.entry.js} +2 -2
- package/dist/stzh-components/{p-47e0ff99.entry.js → p-1d4cd8ef.entry.js} +2 -2
- package/dist/stzh-components/{p-21925456.entry.js → p-1febc09c.entry.js} +2 -2
- package/dist/stzh-components/{p-d7ee085c.entry.js → p-212107e4.entry.js} +2 -2
- package/dist/stzh-components/{p-7bc4d471.entry.js → p-21c8ffbe.entry.js} +2 -2
- package/dist/stzh-components/p-24daddfd.entry.js +2 -0
- package/dist/stzh-components/{p-724a8351.entry.js.map → p-24daddfd.entry.js.map} +1 -1
- package/dist/stzh-components/{p-cfbc4a5e.entry.js → p-30190507.entry.js} +5 -5
- package/dist/stzh-components/{p-0685f2ae.entry.js → p-3064f4b9.entry.js} +2 -2
- package/dist/stzh-components/{p-26792e28.entry.js → p-313272ee.entry.js} +2 -2
- package/dist/stzh-components/{p-ebb4b12f.entry.js → p-36566fb3.entry.js} +2 -2
- package/dist/stzh-components/{p-367bbe3a.entry.js → p-376b1e91.entry.js} +2 -2
- package/dist/stzh-components/{p-72203e1d.entry.js → p-37b753b7.entry.js} +2 -2
- package/dist/stzh-components/{p-d0fa719e.entry.js → p-380d1021.entry.js} +2 -2
- package/dist/stzh-components/{p-1bb06be6.entry.js → p-38570073.entry.js} +2 -2
- package/dist/stzh-components/{p-94b7f926.entry.js → p-3a0112f4.entry.js} +2 -2
- package/dist/stzh-components/{p-a3645199.entry.js → p-3d003eed.entry.js} +2 -2
- package/dist/stzh-components/{p-d7fa3375.entry.js → p-3dcf3123.entry.js} +2 -2
- package/dist/stzh-components/{p-766dea66.entry.js → p-3e7c18ce.entry.js} +2 -2
- package/dist/stzh-components/{p-6ee6bc09.entry.js → p-3f4afd76.entry.js} +2 -2
- package/dist/stzh-components/{p-f90192c8.entry.js → p-42ec2ee3.entry.js} +3 -3
- package/dist/stzh-components/{p-d6b61be3.entry.js → p-44a7b08b.entry.js} +2 -2
- package/dist/stzh-components/{p-aab54c81.entry.js → p-4b78606f.entry.js} +2 -2
- package/dist/stzh-components/p-4d076834.entry.js +2 -0
- package/dist/stzh-components/{p-f61e61e7.entry.js.map → p-4d076834.entry.js.map} +1 -1
- package/dist/stzh-components/{p-16552049.entry.js → p-50a81b5c.entry.js} +2 -2
- package/dist/stzh-components/{p-4c8d577f.entry.js → p-51b68c35.entry.js} +2 -2
- package/dist/stzh-components/{p-4dbbea21.entry.js → p-51e9d435.entry.js} +2 -2
- package/dist/stzh-components/{p-7cfa54b9.entry.js → p-520572a4.entry.js} +2 -2
- package/dist/stzh-components/p-53fbd93e.entry.js +2 -0
- package/dist/stzh-components/p-53fbd93e.entry.js.map +1 -0
- package/dist/stzh-components/{p-5dc298a4.entry.js → p-54ba4496.entry.js} +2 -2
- package/dist/stzh-components/{p-caf867f9.entry.js → p-57741e12.entry.js} +2 -2
- package/dist/stzh-components/{p-015a35bf.entry.js → p-5aa87281.entry.js} +2 -2
- package/dist/stzh-components/{p-51bf87d0.entry.js → p-5c573f4b.entry.js} +2 -2
- package/dist/stzh-components/{p-727c30cf.entry.js → p-5e21b961.entry.js} +2 -2
- package/dist/stzh-components/{p-c41804d9.entry.js → p-60b7b273.entry.js} +2 -2
- package/dist/stzh-components/{p-16999a74.entry.js → p-612a1929.entry.js} +2 -2
- package/dist/stzh-components/{p-ac335416.entry.js → p-634ffbf2.entry.js} +2 -2
- package/dist/stzh-components/{p-bc7c5263.entry.js → p-677e9a04.entry.js} +2 -2
- package/dist/stzh-components/{p-24122dbc.entry.js → p-6d918b8b.entry.js} +2 -2
- package/dist/stzh-components/p-6dd89068.entry.js +2 -0
- package/dist/stzh-components/p-6dd89068.entry.js.map +1 -0
- package/dist/stzh-components/{p-b145722f.entry.js → p-6e273ca9.entry.js} +2 -2
- package/dist/stzh-components/{p-8e133247.entry.js → p-70805ea3.entry.js} +2 -2
- package/dist/stzh-components/{p-44e26f4d.entry.js → p-714fdd73.entry.js} +2 -2
- package/dist/stzh-components/{p-664e7a09.entry.js → p-7157b3d2.entry.js} +2 -2
- package/dist/stzh-components/{p-4539e17f.entry.js → p-71a0881e.entry.js} +2 -2
- package/dist/stzh-components/{p-0d54bcfc.entry.js → p-7254baa2.entry.js} +2 -2
- package/dist/stzh-components/{p-f52f7eca.entry.js → p-725611a0.entry.js} +2 -2
- package/dist/stzh-components/{p-42a3a0df.entry.js → p-7c4475b1.entry.js} +2 -2
- package/dist/stzh-components/{p-450c13f2.entry.js → p-7ec80efc.entry.js} +2 -2
- package/dist/stzh-components/{p-1844d99e.entry.js → p-813d6494.entry.js} +2 -2
- package/dist/stzh-components/{p-1617973f.entry.js → p-8b77de57.entry.js} +2 -2
- package/dist/stzh-components/{p-4f3149ca.entry.js → p-8f72e5ce.entry.js} +2 -2
- package/dist/stzh-components/{p-12146af8.entry.js → p-9310dbb5.entry.js} +2 -2
- package/dist/stzh-components/{p-90d922fd.entry.js → p-9323a970.entry.js} +2 -2
- package/dist/stzh-components/{p-38104164.entry.js → p-93a9a09c.entry.js} +2 -2
- package/dist/stzh-components/{p-c5c745e5.entry.js → p-94c29a35.entry.js} +2 -2
- package/dist/stzh-components/{p-52bd96fc.entry.js → p-950ee2ec.entry.js} +2 -2
- package/dist/stzh-components/{p-dacee3d1.entry.js → p-96b1ae9c.entry.js} +2 -2
- package/dist/stzh-components/{p-d516d56c.entry.js → p-9868d9ae.entry.js} +2 -2
- package/dist/stzh-components/{p-2096b877.entry.js → p-9b858b7e.entry.js} +2 -2
- package/dist/stzh-components/{p-582d0259.entry.js → p-9c552bd1.entry.js} +2 -2
- package/dist/stzh-components/{p-51757803.entry.js → p-9d2ad387.entry.js} +2 -2
- package/dist/stzh-components/{p-ec2ac6e9.entry.js → p-9dc09551.entry.js} +2 -2
- package/dist/stzh-components/{p-5725e544.entry.js → p-a06207b8.entry.js} +2 -2
- package/dist/stzh-components/{p-3071b6f4.entry.js → p-a3227cea.entry.js} +2 -2
- package/dist/stzh-components/{p-a58186a9.entry.js → p-a70467f7.entry.js} +2 -2
- package/dist/stzh-components/{p-61491246.entry.js → p-a9dd7134.entry.js} +2 -2
- package/dist/stzh-components/p-aa1fd7fa.entry.js +2 -0
- package/dist/stzh-components/{p-01d926d8.entry.js.map → p-aa1fd7fa.entry.js.map} +1 -1
- package/dist/stzh-components/{p-3056b956.entry.js → p-aa2dc10d.entry.js} +2 -2
- package/dist/stzh-components/{p-a12cf3bc.entry.js → p-ab5f9e27.entry.js} +2 -2
- package/dist/stzh-components/{p-c1508338.entry.js → p-aba14be2.entry.js} +2 -2
- package/dist/stzh-components/{p-5fb90f9a.entry.js → p-aca1cbd6.entry.js} +2 -2
- package/dist/stzh-components/{p-b4717a3f.entry.js → p-ad19757b.entry.js} +2 -2
- package/dist/stzh-components/{p-1f668f53.entry.js → p-adaa79bd.entry.js} +2 -2
- package/dist/stzh-components/{p-92bdcdad.entry.js → p-ae585293.entry.js} +2 -2
- package/dist/stzh-components/{p-1187dcb3.entry.js → p-b1695c60.entry.js} +2 -2
- package/dist/stzh-components/{p-03e628b9.entry.js → p-b4743671.entry.js} +2 -2
- package/dist/stzh-components/{p-b9a928bc.entry.js → p-b4a10537.entry.js} +2 -2
- package/dist/stzh-components/{p-b5d4e8b9.entry.js → p-b4e7663d.entry.js} +2 -2
- package/dist/stzh-components/{p-6f7f7e18.entry.js → p-b82d52b4.entry.js} +2 -2
- package/dist/stzh-components/{p-bc837007.entry.js → p-c18cc444.entry.js} +2 -2
- package/dist/stzh-components/{p-a38f6851.entry.js → p-c4b1b9b7.entry.js} +2 -2
- package/dist/stzh-components/{p-35be1f2c.entry.js → p-c58f66b7.entry.js} +2 -2
- package/dist/stzh-components/{p-a8292b13.entry.js → p-c59f6429.entry.js} +2 -2
- package/dist/stzh-components/{p-c95bce0d.entry.js → p-c820956f.entry.js} +2 -2
- package/dist/stzh-components/{p-7844b15a.entry.js → p-cf54a5bd.entry.js} +2 -2
- package/dist/stzh-components/{p-cb058b56.entry.js → p-d0e8b48e.entry.js} +2 -2
- package/dist/stzh-components/{p-a4cbd257.entry.js → p-d2a58660.entry.js} +2 -2
- package/dist/stzh-components/{p-171c0dda.entry.js → p-d3f703c6.entry.js} +2 -2
- package/dist/stzh-components/p-d68f208f.js +2 -0
- package/dist/stzh-components/{p-72f2cb18.js.map → p-d68f208f.js.map} +1 -1
- package/dist/stzh-components/{p-238df85d.entry.js → p-d9ebe00b.entry.js} +2 -2
- package/dist/stzh-components/{p-1f4f76b1.entry.js → p-df6b51ac.entry.js} +2 -2
- package/dist/stzh-components/{p-6102443e.entry.js → p-e0ec6540.entry.js} +2 -2
- package/dist/stzh-components/{p-640e445b.entry.js → p-e1a372e1.entry.js} +2 -2
- package/dist/stzh-components/{p-0c67e0f8.entry.js → p-e1c5bced.entry.js} +2 -2
- package/dist/stzh-components/{p-f52e344a.entry.js → p-e45aaf19.entry.js} +2 -2
- package/dist/stzh-components/{p-d2a97efc.entry.js → p-ea2405de.entry.js} +2 -2
- package/dist/stzh-components/{p-21d2d28d.entry.js → p-eb20ffc3.entry.js} +2 -2
- package/dist/stzh-components/{p-b95edacd.entry.js → p-ee9f0975.entry.js} +2 -2
- package/dist/stzh-components/{p-4b754125.entry.js → p-f5457cb8.entry.js} +2 -2
- package/dist/stzh-components/{p-598de693.entry.js → p-f6954485.entry.js} +2 -2
- package/dist/stzh-components/{p-38924948.entry.js → p-f890b3a7.entry.js} +2 -2
- package/dist/stzh-components/{p-c7d82187.entry.js → p-fa4849df.entry.js} +2 -2
- package/dist/stzh-components/{p-c11a73d2.entry.js → p-ff5abecf.entry.js} +2 -2
- package/dist/stzh-components/stzh-components.css +21 -18
- package/dist/stzh-components/stzh-components.esm.js +1 -1
- package/dist/stzh-components/stzh-components.esm.js.map +1 -1
- package/dist/types/components/CMS/stzh-contact/stzh-contact.d.ts +10 -1
- package/dist/types/components.d.ts +10 -2
- package/dist/types/index.d.ts +22 -3
- package/dist/vscode-data.json +4 -0
- package/package.json +1 -1
- package/dist/components/p-136ea314.js.map +0 -1
- package/dist/components/p-ad34b5e0.js +0 -83
- package/dist/components/p-ad34b5e0.js.map +0 -1
- package/dist/components/p-f5779736.js.map +0 -1
- package/dist/stzh-components/p-01d926d8.entry.js +0 -2
- package/dist/stzh-components/p-03c2d367.entry.js +0 -2
- package/dist/stzh-components/p-2799b96b.entry.js +0 -2
- package/dist/stzh-components/p-2799b96b.entry.js.map +0 -1
- package/dist/stzh-components/p-3bc24ea1.entry.js +0 -2
- package/dist/stzh-components/p-3bc24ea1.entry.js.map +0 -1
- package/dist/stzh-components/p-724a8351.entry.js +0 -2
- package/dist/stzh-components/p-72f2cb18.js +0 -2
- package/dist/stzh-components/p-c8e1e524.entry.js +0 -2
- package/dist/stzh-components/p-c8e1e524.entry.js.map +0 -1
- package/dist/stzh-components/p-f61e61e7.entry.js +0 -2
- /package/dist/stzh-components/{p-6be020d8.entry.js.map → p-00af01ab.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-af1aa423.entry.js.map → p-0504563f.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-1661b89f.entry.js.map → p-0585149c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a75c4682.entry.js.map → p-0585ce30.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-0f546f1c.entry.js.map → p-07f62cf8.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-dcb909a2.entry.js.map → p-0b121c06.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-93424a61.entry.js.map → p-0c40b74a.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b4bae13a.entry.js.map → p-0d7b090a.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-e75cde0c.entry.js.map → p-0edd3842.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-dac4534c.entry.js.map → p-11256084.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-65e099a0.entry.js.map → p-13881ff2.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-f3081e0e.entry.js.map → p-15c6b254.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-34c68f20.entry.js.map → p-15f3c6a1.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-ca5bd81c.entry.js.map → p-18773f9c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-32448e73.entry.js.map → p-1afb2913.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-47e0ff99.entry.js.map → p-1d4cd8ef.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-21925456.entry.js.map → p-1febc09c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-d7ee085c.entry.js.map → p-212107e4.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-7bc4d471.entry.js.map → p-21c8ffbe.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-cfbc4a5e.entry.js.map → p-30190507.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-0685f2ae.entry.js.map → p-3064f4b9.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-26792e28.entry.js.map → p-313272ee.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-ebb4b12f.entry.js.map → p-36566fb3.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-367bbe3a.entry.js.map → p-376b1e91.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-72203e1d.entry.js.map → p-37b753b7.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-d0fa719e.entry.js.map → p-380d1021.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-1bb06be6.entry.js.map → p-38570073.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-94b7f926.entry.js.map → p-3a0112f4.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a3645199.entry.js.map → p-3d003eed.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-d7fa3375.entry.js.map → p-3dcf3123.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-766dea66.entry.js.map → p-3e7c18ce.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-6ee6bc09.entry.js.map → p-3f4afd76.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-f90192c8.entry.js.map → p-42ec2ee3.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-d6b61be3.entry.js.map → p-44a7b08b.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-aab54c81.entry.js.map → p-4b78606f.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-16552049.entry.js.map → p-50a81b5c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-4c8d577f.entry.js.map → p-51b68c35.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-4dbbea21.entry.js.map → p-51e9d435.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-7cfa54b9.entry.js.map → p-520572a4.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-5dc298a4.entry.js.map → p-54ba4496.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-caf867f9.entry.js.map → p-57741e12.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-015a35bf.entry.js.map → p-5aa87281.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-51bf87d0.entry.js.map → p-5c573f4b.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-727c30cf.entry.js.map → p-5e21b961.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-c41804d9.entry.js.map → p-60b7b273.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-16999a74.entry.js.map → p-612a1929.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-ac335416.entry.js.map → p-634ffbf2.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-bc7c5263.entry.js.map → p-677e9a04.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-24122dbc.entry.js.map → p-6d918b8b.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b145722f.entry.js.map → p-6e273ca9.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-8e133247.entry.js.map → p-70805ea3.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-44e26f4d.entry.js.map → p-714fdd73.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-664e7a09.entry.js.map → p-7157b3d2.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-4539e17f.entry.js.map → p-71a0881e.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-0d54bcfc.entry.js.map → p-7254baa2.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-f52f7eca.entry.js.map → p-725611a0.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-42a3a0df.entry.js.map → p-7c4475b1.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-450c13f2.entry.js.map → p-7ec80efc.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-1844d99e.entry.js.map → p-813d6494.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-1617973f.entry.js.map → p-8b77de57.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-4f3149ca.entry.js.map → p-8f72e5ce.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-12146af8.entry.js.map → p-9310dbb5.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-90d922fd.entry.js.map → p-9323a970.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-38104164.entry.js.map → p-93a9a09c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-c5c745e5.entry.js.map → p-94c29a35.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-52bd96fc.entry.js.map → p-950ee2ec.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-dacee3d1.entry.js.map → p-96b1ae9c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-d516d56c.entry.js.map → p-9868d9ae.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-2096b877.entry.js.map → p-9b858b7e.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-582d0259.entry.js.map → p-9c552bd1.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-51757803.entry.js.map → p-9d2ad387.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-ec2ac6e9.entry.js.map → p-9dc09551.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-5725e544.entry.js.map → p-a06207b8.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-3071b6f4.entry.js.map → p-a3227cea.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a58186a9.entry.js.map → p-a70467f7.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-61491246.entry.js.map → p-a9dd7134.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-3056b956.entry.js.map → p-aa2dc10d.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a12cf3bc.entry.js.map → p-ab5f9e27.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-c1508338.entry.js.map → p-aba14be2.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-5fb90f9a.entry.js.map → p-aca1cbd6.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b4717a3f.entry.js.map → p-ad19757b.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-1f668f53.entry.js.map → p-adaa79bd.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-92bdcdad.entry.js.map → p-ae585293.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-1187dcb3.entry.js.map → p-b1695c60.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-03e628b9.entry.js.map → p-b4743671.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b9a928bc.entry.js.map → p-b4a10537.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b5d4e8b9.entry.js.map → p-b4e7663d.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-6f7f7e18.entry.js.map → p-b82d52b4.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-bc837007.entry.js.map → p-c18cc444.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a38f6851.entry.js.map → p-c4b1b9b7.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-35be1f2c.entry.js.map → p-c58f66b7.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a8292b13.entry.js.map → p-c59f6429.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-c95bce0d.entry.js.map → p-c820956f.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-7844b15a.entry.js.map → p-cf54a5bd.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-cb058b56.entry.js.map → p-d0e8b48e.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a4cbd257.entry.js.map → p-d2a58660.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-171c0dda.entry.js.map → p-d3f703c6.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-238df85d.entry.js.map → p-d9ebe00b.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-1f4f76b1.entry.js.map → p-df6b51ac.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-6102443e.entry.js.map → p-e0ec6540.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-640e445b.entry.js.map → p-e1a372e1.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-0c67e0f8.entry.js.map → p-e1c5bced.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-f52e344a.entry.js.map → p-e45aaf19.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-d2a97efc.entry.js.map → p-ea2405de.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-21d2d28d.entry.js.map → p-eb20ffc3.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b95edacd.entry.js.map → p-ee9f0975.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-4b754125.entry.js.map → p-f5457cb8.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-598de693.entry.js.map → p-f6954485.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-38924948.entry.js.map → p-f890b3a7.entry.js.map} +0 -0
- /package/dist/stzh-components/{p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,CAC/D,CACb,CACG,CACD,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/stzh-clamp/stzh-clamp.scss?tag=stzh-clamp","src/components/stzh-clamp/stzh-clamp.tsx"],"sourcesContent":["/**\n * @prop --current-lines: Currently clamped lines number (can be used instead of `lines-{BREAKPOINT}` attributes)\n */\n\nstzh-clamp {\n @include host;\n --current-lines: var(--lines, 0);\n\n @include mq($from: small) {\n --current-lines: var(--lines-small, var(--lines, 0));\n }\n\n @include mq($from: medium) {\n --current-lines: var(--lines-medium, var(--lines-small, var(--lines, 0)));\n }\n\n @include mq($from: large) {\n --current-lines: var(\n --lines-large,\n var(--lines-medium, var(--lines-small, var(--lines, 0)))\n );\n }\n\n @include mq($from: ultra) {\n --current-lines: var(\n --lines-ultra,\n var(\n --lines-large,\n var(--lines-medium, var(--lines-small, var(--lines, 0)))\n )\n );\n }\n\n width: 100%;\n color: inherit;\n font-family: inherit;\n font-weight: inherit;\n font-style: inherit;\n font-size: inherit;\n line-height: inherit;\n}\n\n.stzh-clamp {\n position: relative;\n\n &__text {\n @include wordWrap;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n overflow: hidden;\n\n & > *:first-child {\n margin-top: 0 !important;\n }\n\n & > *:last-child {\n margin-bottom: 0 !important;\n }\n\n &.is-clone {\n position: absolute;\n visibility: hidden;\n opacity: 0;\n top: 0;\n left: 0;\n width: 100%;\n }\n }\n\n &__trigger {\n @include mq($from: medium) {\n margin-top: space(\"xxsmall\");\n }\n }\n\n &--is-not-expanded &__text,\n &__text.is-clone {\n -webkit-line-clamp: var(--current-lines);\n line-clamp: var(--current-lines);\n }\n}\n","import { Component, Element, Event, EventEmitter, h, Host, Method, Prop } from \"@stencil/core\";\n\nimport { StzhClampClampEvent, StzhClampExpandEvent } from \"../../index\";\n\nimport { StzhClampLocalizedText } from \"./stzh-clamp.localization\";\n\n/**\n * @slot - Slot for clamp text\n */\n@Component({\n tag: \"stzh-clamp\",\n styleUrl: \"stzh-clamp.scss\",\n})\nexport class StzhClamp {\n /** Translation strings */\n @Prop() localization: StzhClampLocalizedText;\n\n /** Line number */\n @Prop() lines: number = 1;\n /** Line number above small breakpoint */\n @Prop() linesSmall: number = 0;\n /** Line number above medium breakpoint */\n @Prop() linesMedium: number = 0;\n /** Line number above large breakpoint */\n @Prop() linesLarge: number = 0;\n /** Line number above ultra breakpoint */\n @Prop() linesUltra: number = 0;\n\n /** Whether expand link is shown */\n @Prop() showExpandLink: boolean = false;\n\n /** Whether clamping is expanded */\n @Prop({ mutable: true, reflect: true }) expanded: boolean = false;\n\n /** Whether the text is currently clamped (readonly) */\n @Prop({ mutable: true, reflect: true }) clamped: boolean = false;\n\n @Element() element: HTMLStzhClampElement;\n\n /** Event when clamping state changed */\n @Event() stzhClamp: EventEmitter<StzhClampClampEvent>;\n\n /** Event when expanding state changed */\n @Event() stzhExpand: EventEmitter<StzhClampExpandEvent>;\n\n @Method()\n async update() {\n this.textCloneElement.innerHTML = this.textElement.innerHTML;\n this.updateClamped();\n }\n\n private textElement: HTMLElement;\n private textCloneElement: HTMLElement;\n\n private debounceResize: number;\n private resizeObserver: ResizeObserver;\n private mutationObserver: MutationObserver;\n private renderPromiseResolve: (value?: unknown) => void;\n\n private updateClamped = () => {\n if (!this.textCloneElement) {\n return;\n }\n\n const beforeClamped = this.clamped;\n this.clamped = this.textCloneElement.scrollHeight > this.textCloneElement.clientHeight;\n\n if (beforeClamped !== this.clamped) {\n this.stzhClamp.emit({\n component: \"stzh-clamp\",\n clamped: this.clamped,\n });\n }\n };\n\n private handleResize = () => {\n if (this.debounceResize) {\n window.cancelAnimationFrame(this.debounceResize);\n }\n\n this.debounceResize = requestAnimationFrame(this.updateClamped);\n };\n\n private handleMutaton = () => {\n this.update();\n };\n\n private handleExpandClick = async () => {\n this.expanded = !this.expanded;\n await this.waitForNextRender();\n\n this.stzhExpand.emit({\n component: \"stzh-clamp\",\n expanded: this.expanded,\n });\n };\n\n private waitForNextRender() {\n return new Promise(resolve => (this.renderPromiseResolve = resolve));\n }\n\n async componentWillLoad() {\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"clamp\");\n }\n }\n\n componentDidLoad() {\n this.mutationObserver = new MutationObserver(this.handleMutaton);\n this.mutationObserver.observe(this.textElement, {\n childList: true,\n subtree: true,\n });\n }\n\n componentDidRender() {\n if (this.renderPromiseResolve) {\n this.renderPromiseResolve();\n }\n\n this.update();\n }\n\n connectedCallback() {\n this.resizeObserver = new ResizeObserver(this.handleResize);\n this.resizeObserver.observe(this.element);\n }\n\n disconnectedCallback() {\n if (this.resizeObserver) {\n this.resizeObserver.disconnect();\n }\n\n if (this.mutationObserver) {\n this.mutationObserver.disconnect();\n }\n }\n\n render() {\n const classes = {\n \"stzh-clamp\": true,\n \"stzh-clamp--is-not-expanded\": !this.expanded,\n };\n\n return (\n <Host\n style={{\n \"--lines\": this.lines ? this.lines.toString() : null,\n \"--lines-small\": this.linesSmall ? this.linesSmall.toString() : null,\n \"--lines-medium\": this.linesMedium ? this.linesMedium.toString() : null,\n \"--lines-large\": this.linesLarge ? this.linesLarge.toString() : null,\n \"--lines-ultra\": this.linesUltra ? this.linesUltra.toString() : null,\n }}\n >\n <div class={classes}>\n <div ref={el => (this.textElement = el as HTMLDivElement)} class=\"stzh-clamp__text\">\n <slot></slot>\n </div>\n\n <div\n ref={el => (this.textCloneElement = el as HTMLDivElement)}\n class=\"stzh-clamp__text is-clone rs_skip\"\n aria-hidden=\"true\"\n ></div>\n\n {this.showExpandLink && this.clamped && (\n <stzh-link\n class=\"stzh-clamp__trigger\"\n a11yTabindex=\"-1\"\n aria-hidden=\"true\"\n onClick={this.handleExpandClick}\n >\n {!this.expanded ? this.localization.showMore : this.localization.showLess}\n </stzh-link>\n )}\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
1
|
+
{"file":"p-51253a86.js","mappings":";;;;;AAAA,MAAM,YAAY,GAAG,usG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-lines: Currently clamped lines number (can be used instead of `lines-{BREAKPOINT}` attributes)\n */\n\nstzh-clamp {\n @include host;\n --current-lines: var(--lines, 0);\n\n @include mq($from: small) {\n --current-lines: var(--lines-small, var(--lines, 0));\n }\n\n @include mq($from: medium) {\n --current-lines: var(--lines-medium, var(--lines-small, var(--lines, 0)));\n }\n\n @include mq($from: large) {\n --current-lines: var(\n --lines-large,\n var(--lines-medium, var(--lines-small, var(--lines, 0)))\n );\n }\n\n @include mq($from: ultra) {\n --current-lines: var(\n --lines-ultra,\n var(\n --lines-large,\n var(--lines-medium, var(--lines-small, var(--lines, 0)))\n )\n );\n }\n\n width: 100%;\n color: inherit;\n font-family: inherit;\n font-weight: inherit;\n font-style: inherit;\n font-size: inherit;\n line-height: inherit;\n}\n\n.stzh-clamp {\n position: relative;\n\n &__text {\n @include wordWrap;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n overflow: hidden;\n\n & > *:first-child {\n margin-top: 0 !important;\n }\n\n & > *:last-child {\n margin-bottom: 0 !important;\n }\n\n &.is-clone {\n position: absolute;\n visibility: hidden;\n opacity: 0;\n top: 0;\n left: 0;\n width: 100%;\n }\n }\n\n &__trigger {\n @include mq($from: medium) {\n margin-top: space(\"xxsmall\");\n }\n }\n\n &--is-not-expanded &__text,\n &__text.is-clone {\n -webkit-line-clamp: var(--current-lines);\n line-clamp: var(--current-lines);\n }\n}\n","import { Component, Element, Event, EventEmitter, h, Host, Method, Prop } from \"@stencil/core\";\n\nimport { StzhClampClampEvent, StzhClampExpandEvent } from \"../../index\";\n\nimport { StzhClampLocalizedText } from \"./stzh-clamp.localization\";\n\n/**\n * @slot - Slot for clamp text\n */\n@Component({\n tag: \"stzh-clamp\",\n styleUrl: \"stzh-clamp.scss\",\n})\nexport class StzhClamp {\n /** Translation strings */\n @Prop() localization: StzhClampLocalizedText;\n\n /** Line number */\n @Prop() lines: number = 1;\n /** Line number above small breakpoint */\n @Prop() linesSmall: number = 0;\n /** Line number above medium breakpoint */\n @Prop() linesMedium: number = 0;\n /** Line number above large breakpoint */\n @Prop() linesLarge: number = 0;\n /** Line number above ultra breakpoint */\n @Prop() linesUltra: number = 0;\n\n /** Whether expand link is shown */\n @Prop() showExpandLink: boolean = false;\n\n /** Whether clamping is expanded */\n @Prop({ mutable: true, reflect: true }) expanded: boolean = false;\n\n /** Whether the text is currently clamped (readonly) */\n @Prop({ mutable: true, reflect: true }) clamped: boolean = false;\n\n @Element() element: HTMLStzhClampElement;\n\n /** Event when clamping state changed */\n @Event() stzhClamp: EventEmitter<StzhClampClampEvent>;\n\n /** Event when expanding state changed */\n @Event() stzhExpand: EventEmitter<StzhClampExpandEvent>;\n\n @Method()\n async update() {\n this.textCloneElement.innerHTML = this.textElement.innerHTML;\n this.updateClamped();\n }\n\n private textElement: HTMLElement;\n private textCloneElement: HTMLElement;\n\n private debounceResize: number;\n private resizeObserver: ResizeObserver;\n private mutationObserver: MutationObserver;\n private renderPromiseResolve: (value?: unknown) => void;\n\n private updateClamped = () => {\n if (!this.textCloneElement) {\n return;\n }\n\n const beforeClamped = this.clamped;\n this.clamped = this.textCloneElement.scrollHeight > this.textCloneElement.clientHeight;\n\n if (beforeClamped !== this.clamped) {\n this.stzhClamp.emit({\n component: \"stzh-clamp\",\n clamped: this.clamped,\n });\n }\n };\n\n private handleResize = () => {\n if (this.debounceResize) {\n window.cancelAnimationFrame(this.debounceResize);\n }\n\n this.debounceResize = requestAnimationFrame(this.updateClamped);\n };\n\n private handleMutaton = () => {\n this.update();\n };\n\n private handleExpandClick = async () => {\n this.expanded = !this.expanded;\n await this.waitForNextRender();\n\n this.stzhExpand.emit({\n component: \"stzh-clamp\",\n expanded: this.expanded,\n });\n };\n\n private waitForNextRender() {\n return new Promise(resolve => (this.renderPromiseResolve = resolve));\n }\n\n async componentWillLoad() {\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"clamp\");\n }\n }\n\n componentDidLoad() {\n this.mutationObserver = new MutationObserver(this.handleMutaton);\n this.mutationObserver.observe(this.textElement, {\n childList: true,\n subtree: true,\n });\n }\n\n componentDidRender() {\n if (this.renderPromiseResolve) {\n this.renderPromiseResolve();\n }\n\n this.update();\n }\n\n connectedCallback() {\n this.resizeObserver = new ResizeObserver(this.handleResize);\n this.resizeObserver.observe(this.element);\n }\n\n disconnectedCallback() {\n if (this.resizeObserver) {\n this.resizeObserver.disconnect();\n }\n\n if (this.mutationObserver) {\n this.mutationObserver.disconnect();\n }\n }\n\n render() {\n const classes = {\n \"stzh-clamp\": true,\n \"stzh-clamp--is-not-expanded\": !this.expanded,\n };\n\n return (\n <Host\n style={{\n \"--lines\": this.lines ? this.lines.toString() : null,\n \"--lines-small\": this.linesSmall ? this.linesSmall.toString() : null,\n \"--lines-medium\": this.linesMedium ? this.linesMedium.toString() : null,\n \"--lines-large\": this.linesLarge ? this.linesLarge.toString() : null,\n \"--lines-ultra\": this.linesUltra ? this.linesUltra.toString() : null,\n }}\n >\n <div class={classes}>\n <div ref={el => (this.textElement = el as HTMLDivElement)} class=\"stzh-clamp__text\">\n <slot></slot>\n </div>\n\n <div\n ref={el => (this.textCloneElement = el as HTMLDivElement)}\n class=\"stzh-clamp__text is-clone rs_skip\"\n aria-hidden=\"true\"\n ></div>\n\n {this.showExpandLink && this.clamped && (\n <stzh-link\n class=\"stzh-clamp__trigger\"\n a11yTabindex=\"-1\"\n aria-hidden=\"true\"\n onClick={this.handleExpandClick}\n >\n {!this.expanded ? this.localization.showMore : this.localization.showLess}\n </stzh-link>\n )}\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -18,7 +18,7 @@ const StzhText = /*@__PURE__*/ proxyCustomElement(class StzhText extends H {
|
|
|
18
18
|
this.sizeUltra = "inherit";
|
|
19
19
|
}
|
|
20
20
|
render() {
|
|
21
|
-
return (h(Host, { key: '
|
|
21
|
+
return (h(Host, { key: 'a4cc9b1af5bd0f4a6d0b4ab8e89848ba80692ce8' }, h("div", { key: 'b130502e6a051355caef3c2e4667cff27bb11d48', class: {
|
|
22
22
|
"stzh-text": true,
|
|
23
23
|
"stzh-text--is-lead": this.lead,
|
|
24
24
|
[`stzh-text--font-${this.font}`]: !!this.font,
|
|
@@ -28,7 +28,7 @@ const StzhText = /*@__PURE__*/ proxyCustomElement(class StzhText extends H {
|
|
|
28
28
|
[`stzh-text--size-medium-${this.sizeMedium}`]: !!this.sizeMedium,
|
|
29
29
|
[`stzh-text--size-large-${this.sizeLarge}`]: !!this.sizeLarge,
|
|
30
30
|
[`stzh-text--size-ultra-${this.sizeUltra}`]: !!this.sizeUltra,
|
|
31
|
-
} }, h("div", { key: '
|
|
31
|
+
} }, h("div", { key: '6b4ec592ada560be4ad5c57a91009864ea0636b1', class: "stzh-text__text" }, h("div", { key: 'a18493b5b83c5ca8d331b6c0350244e5ce165ed2', class: "stzh-text__icon" }, h("slot", { key: '4ee38edfeac20d6965643e85271ed2a519d58e87', name: "icon" })), h("div", { key: '3a7f5e9f5bcb711a852c97a5cd7a46a592543bcf', class: "stzh-text__text-inner" }, h("slot", { key: 'abfc6b658c4e1b81e6b4558304e23b1b3503e5e6' }))))));
|
|
32
32
|
}
|
|
33
33
|
static get style() { return StzhTextStyle0; }
|
|
34
34
|
}, [6, "stzh-text", {
|
|
@@ -58,4 +58,4 @@ function defineCustomElement() {
|
|
|
58
58
|
|
|
59
59
|
export { StzhText as S, defineCustomElement as d };
|
|
60
60
|
|
|
61
|
-
//# sourceMappingURL=p-
|
|
61
|
+
//# sourceMappingURL=p-519479b8.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-
|
|
1
|
+
{"file":"p-519479b8.js","mappings":";;AAAA,MAAM,WAAW,GAAG,u0uCAAu0uC,CAAC;AAC51uC,uBAAe,WAAW;;MCYb,QAAQ;;;;oBAEQ,SAAS;qBAGU,SAAS;oBAGd,KAAK;qBAG6C,SAAS;oBAG7D,SAAS;yBAEJ,SAAS;0BAER,SAAS;yBAEV,SAAS;yBAET,SAAS;;IAErD,MAAM;QACJ,QACE,EAAC,IAAI,uDACH,4DACE,KAAK,EAAE;gBACL,WAAW,EAAE,IAAI;gBACjB,oBAAoB,EAAE,IAAI,CAAC,IAAI;gBAC/B,CAAC,mBAAmB,IAAI,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC,IAAI,CAAC,IAAI;gBAC7C,CAAC,oBAAoB,IAAI,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC,IAAI,CAAC,KAAK;gBAChD,CAAC,mBAAmB,IAAI,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC,IAAI,CAAC,IAAI;gBAC7C,CAAC,yBAAyB,IAAI,CAAC,SAAS,EAAE,GAAG,CAAC,CAAC,IAAI,CAAC,SAAS;gBAC7D,CAAC,0BAA0B,IAAI,CAAC,UAAU,EAAE,GAAG,CAAC,CAAC,IAAI,CAAC,UAAU;gBAChE,CAAC,yBAAyB,IAAI,CAAC,SAAS,EAAE,GAAG,CAAC,CAAC,IAAI,CAAC,SAAS;gBAC7D,CAAC,yBAAyB,IAAI,CAAC,SAAS,EAAE,GAAG,CAAC,CAAC,IAAI,CAAC,SAAS;aAC9D,IAED,4DAAK,KAAK,EAAC,iBAAiB,IAC1B,4DAAK,KAAK,EAAC,iBAAiB,IAC1B,6DAAM,IAAI,EAAC,MAAM,GAAQ,CACrB,EACN,4DAAK,KAAK,EAAC,uBAAuB,IAChC,8DAAa,CACT,CACF,CACF,CACD,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/stzh-text/stzh-text.scss?tag=stzh-text&encapsulation=scoped","src/components/stzh-text/stzh-text.tsx"],"sourcesContent":["/**\n * @prop --color: Text color (also `color` can be overwritten)\n * @prop --icon-size: Icon size\n * @prop --icon-vertical-align: Icon vertical alignment\n *\n * @prop --stzh-base-color: **Global**: Text color\n * @prop --stzh-base-lead-color: **Global**: Lead text color\n */\n\n:host {\n --icon-size: 1.25em;\n --icon-vertical-align: text-bottom;\n --color: #{$baseColor};\n --display: var(--stzh-text-display, block);\n\n width: 100%;\n color: var(--color);\n\n --grid-template-areas: var(\n --stzh-text-grid-template-areas,\n \"text text text text\"\n );\n\n --grid-template-columns: var(\n --stzh-text-grid-template-columns,\n #{$gridColumns}\n );\n\n @include mq($from: small) {\n --grid-template-areas: var(\n --stzh-text-grid-template-areas,\n \"text text text text\"\n );\n }\n\n @include mq($from: medium) {\n --grid-template-areas: var(\n --stzh-text-grid-template-areas,\n \"text text text text text text text text\"\n );\n\n --grid-template-columns: var(\n --stzh-text-grid-template-columns,\n #{$gridColumnsMedium}\n );\n }\n\n ::slotted(*:first-child) {\n margin-top: 0 !important;\n }\n\n ::slotted(*:last-child) {\n margin-bottom: 0 !important;\n }\n\n ::slotted(a),\n ::slotted(* a) {\n color: $linkColor;\n transition: color $baseTransitionAnimationSpeed;\n border-radius: $buttonBorderRadius;\n text-underline-offset: $linkTextUnderlineOffset;\n text-decoration-line: $linkTextDecorationLine;\n text-decoration-thickness: $linkTextDecorationThickness;\n text-decoration-skip-ink: $linkTextDecorationSkipInk;\n\n &:hover {\n color: $linkHoverColor;\n text-decoration-line: $linkHoverTextDecorationLine;\n\n @media (hover: none) {\n color: inherit;\n }\n }\n }\n\n ::slotted(b),\n ::slotted(strong),\n ::slotted(* b),\n ::slotted(* strong) {\n @include font(\"heavy\");\n }\n\n ::slotted(i),\n ::slotted(em),\n ::slotted(* i),\n ::slotted(* em) {\n @include font;\n }\n\n &[lead]:not([lead=\"false\"]) {\n --color: #{$baseLeadColor};\n }\n\n &[color=\"primary\"] {\n --color: #{$colorPrimary70};\n }\n\n &[color=\"secondary\"] {\n --color: #{$colorSecondary60};\n }\n\n &[color=\"info\"] {\n --color: #{$textInfoColor};\n }\n\n &[color=\"inherit\"] {\n --color: initial;\n }\n}\n\n.stzh-text {\n --stzh-icon-size: var(--icon-size);\n --stzh-icon-vertical-align: var(--icon-vertical-align);\n\n --stzh-list-font-size: \"\";\n --stzh-list-line-height: \"\";\n --stzh-list-letter-spacing: \"\";\n\n // default font styling without attributes\n @include fontCurve($textFontCurveDefault);\n @include gridGutter;\n display: var(--display);\n grid-template-areas: var(--grid-template-areas);\n grid-template-columns: var(--grid-template-columns);\n\n color: var(--color);\n\n &__text {\n grid-area: text;\n display: flex;\n }\n\n &__icon {\n flex-shrink: 0;\n\n &:not(:empty) {\n margin-right: 0.25em;\n }\n }\n\n &__text-inner {\n flex-grow: 1;\n }\n\n /* Lead variant */\n\n &--is-lead {\n @include font(\"heavy\");\n @include fontCurve(\"lead\", \"lead\");\n }\n\n /* Font variants */\n\n @each $font, $value in $fonts {\n &--font-#{$font} {\n @include font($font);\n }\n }\n\n /* Curve variants */\n\n &--curve-none {\n font-size: inherit;\n }\n\n @each $fontCurveName, $config in $fontCurves {\n &--curve-#{$fontCurveName} {\n @include fontCurve($fontCurveName);\n }\n }\n\n /* Size variants when consumer wants to overwrite predefined font curves */\n\n @each $size, $value in $fontSizes {\n &--size-#{$size} {\n @include fontSize($size);\n }\n }\n\n @each $breakpoint, $size in $breakpoints {\n @each $size, $value in $fontSizes {\n &--size-#{$breakpoint}-#{$size} {\n @include mq($from: $breakpoint) {\n @include fontSize($size);\n }\n }\n }\n }\n}\n\n.stzh-text__text-inner {\n text-overflow: var(--text-overflow, clip);\n white-space: var(--white-space, normal);\n overflow: var(--overflow, visible);\n width: var(--width, initial);\n max-width: var(--max-width, initial);\n}\n","import { Component, Host, h, Prop } from \"@stencil/core\";\n\nimport { Font } from \"../../index\";\n\n/**\n * @slot - Slot for text and icons\n * @slot icon - Slot for icon that should be on left side of the text (not inline)\n */\n@Component({\n tag: \"stzh-text\",\n styleUrl: \"stzh-text.scss\",\n scoped: true,\n})\nexport class StzhText {\n /** Font used */\n @Prop() font: Font.Fonts = \"default\";\n\n /** Type of curve (see [Spacings docs page](/docs/tokens-typography--docs#curves) for more info). */\n @Prop({ reflect: true }) curve: Font.Curves = \"default\";\n\n /** Whether if text is lead text */\n @Prop({ reflect: true }) lead: boolean = false;\n\n /** Color used */\n @Prop({ reflect: true }) color: \"default\" | \"primary\" | \"secondary\" | \"info\" | \"inherit\" = \"default\";\n\n /** Manually overwrite font size applied by curve attribute (see [Spacings docs page](/docs/tokens-typography--docs#sizes) for more info). */\n @Prop() size: Font.Sizes | \"inherit\" = \"inherit\";\n /** Manually overwrite font size applied by curve attribute above small breakpoint (see [Spacings docs page](/docs/tokens-typography--docs#sizes) for more info). */\n @Prop() sizeSmall: Font.Sizes | \"inherit\" = \"inherit\";\n /** Manually overwrite font size applied by curve attribute above medium breakpoint (see [Spacings docs page](/docs/tokens-typography--docs#sizes) for more info). */\n @Prop() sizeMedium: Font.Sizes | \"inherit\" = \"inherit\";\n /** Manually overwrite font size applied by curve attribute above large breakpoint (see [Spacings docs page](/docs/tokens-typography--docs#sizes) for more info). */\n @Prop() sizeLarge: Font.Sizes | \"inherit\" = \"inherit\";\n /** Manually overwrite font size applied by curve attribute above ultra breakpoint (see [Spacings docs page](/docs/tokens-typography--docs#sizes) for more info). */\n @Prop() sizeUltra: Font.Sizes | \"inherit\" = \"inherit\";\n\n render() {\n return (\n <Host>\n <div\n class={{\n \"stzh-text\": true,\n \"stzh-text--is-lead\": this.lead,\n [`stzh-text--font-${this.font}`]: !!this.font,\n [`stzh-text--curve-${this.curve}`]: !!this.curve,\n [`stzh-text--size-${this.size}`]: !!this.size,\n [`stzh-text--size-small-${this.sizeSmall}`]: !!this.sizeSmall,\n [`stzh-text--size-medium-${this.sizeMedium}`]: !!this.sizeMedium,\n [`stzh-text--size-large-${this.sizeLarge}`]: !!this.sizeLarge,\n [`stzh-text--size-ultra-${this.sizeUltra}`]: !!this.sizeUltra,\n }}\n >\n <div class=\"stzh-text__text\">\n <div class=\"stzh-text__icon\">\n <slot name=\"icon\"></slot>\n </div>\n <div class=\"stzh-text__text-inner\">\n <slot></slot>\n </div>\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -9,7 +9,7 @@ const StzhMenu = /*@__PURE__*/ proxyCustomElement(class StzhMenu extends H {
|
|
|
9
9
|
this.__registerHost();
|
|
10
10
|
}
|
|
11
11
|
render() {
|
|
12
|
-
return (h(Host, { key: '
|
|
12
|
+
return (h(Host, { key: '80137e89ccf8458aa964c3ce3d5a3cc1c5194cbb', role: "menu" }, h("div", { key: '743128d72ab2d6bb955564c6e70636e7513b8d44', class: "stzh-menu" }, h("slot", { key: 'c21525e69cd7c96ebb2a4523d2f46a8acd0aa4ae' }))));
|
|
13
13
|
}
|
|
14
14
|
static get style() { return StzhMenuStyle0; }
|
|
15
15
|
}, [6, "stzh-menu"]);
|
|
@@ -29,4 +29,4 @@ function defineCustomElement() {
|
|
|
29
29
|
|
|
30
30
|
export { StzhMenu as S, defineCustomElement as d };
|
|
31
31
|
|
|
32
|
-
//# sourceMappingURL=p-
|
|
32
|
+
//# sourceMappingURL=p-5519805a.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-
|
|
1
|
+
{"file":"p-5519805a.js","mappings":";;AAAA,MAAM,WAAW,GAAG,uxCAAuxC,CAAC;AAC5yC,uBAAe,WAAW;;MCSb,QAAQ;;;;;IACnB,MAAM;QACJ,QACE,EAAC,IAAI,qDAAC,IAAI,EAAC,MAAM,IACf,4DAAK,KAAK,EAAC,WAAW,IACpB,8DAAa,CACT,CACD,EACP;KACH;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/stzh-menu/stzh-menu.scss?tag=stzh-menu&encapsulation=scoped","src/components/stzh-menu/stzh-menu.tsx"],"sourcesContent":[":host {\n ::slotted(stzh-hr) {\n margin-top: space(\"xsmall\");\n margin-bottom: space(\"xsmall\");\n }\n}\n\n.stzh-menu {\n display: flex;\n flex-direction: column;\n}\n","import { Component, Host, h } from \"@stencil/core\";\n\n/**\n * @slot - Slot for `stzh-menu-item` elements\n */\n@Component({\n tag: \"stzh-menu\",\n styleUrl: \"stzh-menu.scss\",\n scoped: true,\n})\nexport class StzhMenu {\n render() {\n return (\n <Host role=\"menu\">\n <div class=\"stzh-menu\">\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, c as createEvent, h, F as Fragment, d as Host } from './p-8f01554b.js';
|
|
2
2
|
import { h as hasSlot } from './p-289f5de2.js';
|
|
3
|
-
import { d as defineCustomElement$2 } from './p-
|
|
4
|
-
import { d as defineCustomElement$1 } from './p-
|
|
3
|
+
import { d as defineCustomElement$2 } from './p-b8fda153.js';
|
|
4
|
+
import { d as defineCustomElement$1 } from './p-60d4ef07.js';
|
|
5
5
|
|
|
6
6
|
const stzhMenuItemCss = ".sc-stzh-menu-item-h{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}[hidden].sc-stzh-menu-item-h,[stzh-hidden].sc-stzh-menu-item-h{display:none}.sc-stzh-menu-item-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.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{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}.sc-stzh-menu-item-h .has-focus.sc-stzh-menu-item{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-menu-item-h .stzh-fylingfocus-focused.sc-stzh-menu-item{outline-style:none !important}.sc-stzh-menu-item-h .stzh-fylingfocus-focused.sc-stzh-menu-item::-moz-focus-inner{border:0 !important}.sc-stzh-menu-item-h{--height:var(--stzh-menu-item-height);--color:var(--stzh-color-black);--background-color:transparent;--icon-size:var(--stzh-icon-size-small);--padding-top:var(--stzh-space-xsmall);--padding-bottom:var(--stzh-space-xsmall);--padding-left:var(--stzh-space-large);--padding-right:var(--stzh-space-large);--hover-color:var(--stzh-popover-item-hover-color, var(--stzh-color-black));--hover-background-color:var(--stzh-popover-item-hover-bg, var(--stzh-color-grey20))}[size=large].sc-stzh-menu-item-h{--icon-size:var(--stzh-icon-size);--height:var(--stzh-menu-large-item-height);--padding-left:var(--stzh-space-xlarge);--padding-right:var(--stzh-space-xlarge)}[variant=secondary].sc-stzh-menu-item-h{--color:var(--stzh-color-primary70);--hover-color:var(--stzh-color-primary70);--hover-background-color:var(--stzh-color-secondary30)}[active].sc-stzh-menu-item-h:not([active=false]){--color:var(--stzh-color-primary70);--hover-color:var(--stzh-color-primary70);--hover-background-color:var(--stzh-color-grey20)}[disabled].sc-stzh-menu-item-h:not([disabled=false]){--color:var(--stzh-color-grey70);--background-color:var(--stzh-color-grey10);--hover-color:var(--stzh-color-grey70);--hover-background-color:var(--stzh-color-grey10)}.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:flex;gap:var(--stzh-space-small);align-items:center;justify-content:stretch;appearance:none;-webkit-text-decoration-line:none;text-decoration-line:none;border:none;padding-top:var(--padding-top);padding-bottom:var(--padding-bottom);padding-left:var(--padding-left);padding-right:var(--padding-right);color:var(--color);background-color:var(--background-color);width:100%;height:var(--height);line-height:var(--height);transition-duration:var(--stzh-base-transition-animation-speed);transition-property:color, background-color, border-color;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{--stzh-icon-size:var(--icon-size);position:relative;display:inline-flex;align-items:center;justify-content:center;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__text-wrapper.sc-stzh-menu-item{display:flex;gap:var(--stzh-space-xsmall)}.stzh-menu-item__counter.sc-stzh-menu-item{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium)}.stzh-menu-item__text.sc-stzh-menu-item{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.stzh-menu-item--size-large.sc-stzh-menu-item{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);gap:var(--stzh-space-medium)}.stzh-menu-item--is-disabled.sc-stzh-menu-item{cursor:not-allowed}";
|
|
7
7
|
const StzhMenuItemStyle0 = stzhMenuItemCss;
|
|
@@ -87,7 +87,7 @@ const StzhMenuItem = /*@__PURE__*/ proxyCustomElement(class StzhMenuItem extends
|
|
|
87
87
|
[`stzh-menu-item--size-${this.size}`]: !!this.size,
|
|
88
88
|
[`stzh-menu-item--${this.variant}`]: !!this.variant,
|
|
89
89
|
};
|
|
90
|
-
return (h(Host, { key: '
|
|
90
|
+
return (h(Host, { key: 'e9de0e4a05a7fd9ebcc3bef588f5786634d50534', role: "menuitem", tabindex: this.disabled ? null : "-1", onFocus: this.onRootFocus }, this.href ? (h("a", { ref: el => (this.menuItem = el), href: this.disabled ? null : this.href, target: this.target, class: classes, "aria-label": this.a11yLabel || null, onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick }, this.renderInner(iconUsed))) : (h("button", { ref: el => (this.menuItem = el), class: classes, type: "button", disabled: this.disabled, "aria-label": this.a11yLabel || null, onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick }, this.renderInner(iconUsed)))));
|
|
91
91
|
}
|
|
92
92
|
get element() { return this; }
|
|
93
93
|
static get style() { return StzhMenuItemStyle0; }
|
|
@@ -133,4 +133,4 @@ function defineCustomElement() {
|
|
|
133
133
|
|
|
134
134
|
export { StzhMenuItem as S, defineCustomElement as d };
|
|
135
135
|
|
|
136
|
-
//# sourceMappingURL=p-
|
|
136
|
+
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AAI,CAAC,QAAQ,gBACX,IAAI,CAAC,SAAS,IAAI,IAAI,EAClC,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,OAAO,EAAE,IAAI,CAAC,OAAO,IAEpB,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,CACpB,CACV,CACI,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/stzh-menu-item/stzh-menu-item.scss?tag=stzh-menu-item&encapsulation=scoped","src/components/stzh-menu-item/stzh-menu-item.tsx"],"sourcesContent":["/**\n * @prop --height: Height of item\n * @prop --icon-size: Size of icon next to item\n * @prop --color: Color of item\n * @prop --background-color: Background color of item\n * @prop --hover-color: Hover color of item\n * @prop --hover-background-color: Hover background color of item\n *\n * @prop --stzh-menu-item-height: **Global**: Height of items\n */\n\n:host {\n --height: var(--stzh-menu-item-height);\n --color: #{$colorBlack};\n --background-color: transparent;\n --icon-size: #{iconSize(\"small\")};\n --padding-top: #{space(\"xsmall\")};\n --padding-bottom: #{space(\"xsmall\")};\n --padding-left: #{space(\"large\")};\n --padding-right: #{space(\"large\")};\n\n --hover-color: var(--stzh-popover-item-hover-color, #{$colorBlack});\n --hover-background-color: var(--stzh-popover-item-hover-bg, #{$colorGrey20});\n\n &[size=\"large\"] {\n --icon-size: #{iconSize()};\n --height: var(--stzh-menu-large-item-height);\n --padding-left: #{space(\"xlarge\")};\n --padding-right: #{space(\"xlarge\")};\n }\n\n &[variant=\"secondary\"] {\n --color: #{$colorPrimary70};\n\n --hover-color: #{$colorPrimary70};\n --hover-background-color: #{$colorSecondary30};\n }\n\n &[active]:not([active=\"false\"]) {\n --color: #{$colorPrimary70};\n --hover-color: #{$colorPrimary70};\n --hover-background-color: #{$colorGrey20};\n }\n\n &[disabled]:not([disabled=\"false\"]) {\n --color: #{$colorGrey70};\n --background-color: #{$colorGrey10};\n\n --hover-color: #{$colorGrey70};\n --hover-background-color: #{$colorGrey10};\n }\n}\n\n.stzh-menu-item {\n @include fontSize(\"micro\");\n font-family: inherit;\n display: flex;\n gap: space(\"small\");\n align-items: center;\n justify-content: stretch;\n appearance: none;\n text-decoration-line: none;\n border: none;\n padding-top: var(--padding-top);\n padding-bottom: var(--padding-bottom);\n padding-left: var(--padding-left);\n padding-right: var(--padding-right);\n color: var(--color);\n background-color: var(--background-color);\n width: 100%;\n height: var(--height);\n line-height: var(--height);\n transition-duration: $baseTransitionAnimationSpeed;\n transition-property: color, background-color, border-color;\n cursor: pointer;\n\n &:hover {\n color: var(--hover-color);\n background-color: var(--hover-background-color);\n }\n\n &__icon-wrapper {\n --stzh-icon-size: var(--icon-size);\n\n position: relative;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n width: auto;\n height: 1em;\n }\n\n &__badge {\n position: absolute;\n z-index: 1;\n top: calc(#{space(\"xsmall\")} * -1);\n right: calc(#{space(\"xsmall\")} * -1);\n }\n\n &__text-wrapper {\n display: flex;\n gap: space(\"xsmall\");\n }\n\n &__counter {\n @include font;\n }\n\n &__text {\n @include truncate;\n }\n\n /* Large variant */\n\n &--size-large {\n @include fontSize(\"milli\");\n gap: space(\"medium\");\n }\n\n /* Disabled variant */\n\n &--is-disabled {\n cursor: not-allowed;\n }\n}\n","import { Component, Host, h, Prop, Element, Fragment, Event, EventEmitter } from \"@stencil/core\";\n\nimport {\n StzhMenuItemFocusEvent,\n StzhMenuItemBlurEvent,\n StzhMenuItemClickEvent,\n StzhBadgeType,\n StzhMenuSize,\n StzhMenuVariant,\n} from \"../../index\";\n\nimport { hasSlot } from \"../../utils/utils\";\n\n/**\n * @slot - Slot for any content\n * @slot icon - Slot for `stzh-icon` element\n */\n@Component({\n tag: \"stzh-menu-item\",\n styleUrl: \"stzh-menu-item.scss\",\n scoped: true,\n})\nexport class StzhMenuItem {\n /** Variant */\n @Prop({ reflect: true }) variant: StzhMenuVariant = \"default\";\n\n /** Size */\n @Prop({ reflect: true }) size: StzhMenuSize = \"default\";\n\n /** Counter */\n @Prop() counter: number;\n\n /** Badge (only displayed if `icon` property or icon slot is used) */\n @Prop() badge: string = \"\";\n\n /** Badge type */\n @Prop({ reflect: true }) badgeType: StzhBadgeType = \"default\";\n\n /** Whether badge should be displayed empty */\n @Prop({ reflect: true }) badgeEmpty: boolean = false;\n\n /** Whether the button is disabled */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /** Whether the button is active */\n @Prop({ reflect: true }) active: boolean = false;\n\n /** Icon (use instead of icon slot) */\n @Prop() icon: string = \"\";\n\n /** Label */\n @Prop() label: string = \"\";\n\n /** `href` if the button should be used as link */\n @Prop() href: string = \"\";\n\n /** Target if the button is used as link (if `href` used) */\n @Prop() target: string = \"\";\n\n /** Accessible label for screen readers to replace visible text */\n @Prop({ attribute: \"a11y-label\" }) a11yLabel: string;\n\n /**\n * For Adobe Analytics.\n * Will be rendered as value of `s-object-id` attribute to the link/button element.\n * Default value will be taken from `label` prop or default slot.\n */\n @Prop() analyticsId: string;\n\n @Element() element: HTMLStzhMenuItemElement;\n\n /** Focus event */\n @Event() stzhFocus: EventEmitter<StzhMenuItemFocusEvent>;\n\n /** Blur event */\n @Event() stzhBlur: EventEmitter<StzhMenuItemBlurEvent>;\n\n /** Click event */\n @Event() stzhClick: EventEmitter<StzhMenuItemClickEvent>;\n\n private menuItem: HTMLButtonElement | HTMLAnchorElement;\n private text: HTMLDivElement;\n\n private focusedByInput: boolean = false;\n\n private onRootFocus = () => {\n if (!this.focusedByInput) {\n this.menuItem.focus();\n }\n\n this.focusedByInput = false;\n };\n\n private onFocus = (event: FocusEvent) => {\n this.focusedByInput = true;\n\n const focusEvent = new FocusEvent(\"focus\", {\n view: window,\n bubbles: false,\n cancelable: false,\n });\n\n this.element.dispatchEvent(focusEvent);\n this.stzhFocus.emit({\n component: \"stzh-menu-item\",\n originalEvent: event,\n });\n };\n\n private onBlur = (event: FocusEvent) => {\n const blurEvent = new FocusEvent(\"blur\", {\n view: window,\n bubbles: false,\n cancelable: false,\n });\n\n this.element.dispatchEvent(blurEvent);\n this.stzhBlur.emit({\n component: \"stzh-menu-item\",\n originalEvent: event,\n });\n };\n\n private onClick = (event: MouseEvent) => {\n this.stzhClick.emit({\n component: \"stzh-menu-item\",\n originalEvent: event,\n href: this.href,\n });\n };\n\n componentDidRender() {\n requestAnimationFrame(() => {\n this.menuItem?.setAttribute(\"s-object-id\", this.analyticsId || this.text.innerText);\n });\n }\n\n private renderInner(iconUsed: boolean): DocumentFragment {\n return (\n <Fragment>\n {iconUsed && (\n <div class=\"stzh-menu-item__icon-wrapper\">\n {this.icon ? (\n <stzh-icon class=\"stzh-menu-item__icon\" name={this.icon}></stzh-icon>\n ) : (\n <slot name=\"icon\"></slot>\n )}\n {(this.badge || this.badgeEmpty) && (\n <stzh-badge class=\"stzh-menu-item__badge\" label={this.badge} type={this.badgeType}></stzh-badge>\n )}\n </div>\n )}\n <div class=\"stzh-menu-item__text-wrapper\">\n <div ref={el => (this.text = el as HTMLDivElement)} class=\"stzh-menu-item__text\">\n {this.label ? this.label : <slot></slot>}\n </div>\n {this.counter !== undefined && this.counter > 0 && (\n <div class=\"stzh-menu-item__counter\">({this.counter})</div>\n )}\n </div>\n </Fragment>\n );\n }\n\n render() {\n const iconUsed: boolean = hasSlot(this.element, \"icon\") || !!this.icon;\n const classes = {\n \"stzh-menu-item\": true,\n \"stzh-menu-item--has-icon\": iconUsed,\n \"stzh-menu-item--has-badge\": !!this.badge,\n \"stzh-menu-item--is-disabled\": this.disabled,\n \"stzh-menu-item--is-active\": this.active,\n [`stzh-menu-item--size-${this.size}`]: !!this.size,\n [`stzh-menu-item--${this.variant}`]: !!this.variant,\n };\n\n return (\n <Host role=\"menuitem\" tabindex={this.disabled ? null : \"-1\"} onFocus={this.onRootFocus}>\n {this.href ? (\n <a\n ref={el => (this.menuItem = el as HTMLAnchorElement)}\n href={this.disabled ? null : this.href}\n target={this.target}\n class={classes}\n aria-label={this.a11yLabel || null}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n onClick={this.onClick}\n >\n {this.renderInner(iconUsed)}\n </a>\n ) : (\n <button\n ref={el => (this.menuItem = el as HTMLButtonElement)}\n class={classes}\n type=\"button\"\n disabled={this.disabled}\n aria-label={this.a11yLabel || null}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n onClick={this.onClick}\n >\n {this.renderInner(iconUsed)}\n </button>\n )}\n </Host>\n );\n }\n}\n"],"version":3}
|
|
1
|
+
{"file":"p-5c7c4130.js","mappings":";;;;;AAAA,MAAM,eAAe,GAAG,ipIAAipI,CAAC;AAC1qI,2BAAe,eAAe;;MCqBjB,YAAY;;;;;;;QA6Df,mBAAc,GAAY,KAAK,CAAC;QAEhC,gBAAW,GAAG;YACpB,IAAI,CAAC,IAAI,CAAC,cAAc,EAAE;gBACxB,IAAI,CAAC,QAAQ,CAAC,KAAK,EAAE,CAAC;aACvB;YAED,IAAI,CAAC,cAAc,GAAG,KAAK,CAAC;SAC7B,CAAC;QAEM,YAAO,GAAG,CAAC,KAAiB;YAClC,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC;YAE3B,MAAM,UAAU,GAAG,IAAI,UAAU,CAAC,OAAO,EAAE;gBACzC,IAAI,EAAE,MAAM;gBACZ,OAAO,EAAE,KAAK;gBACd,UAAU,EAAE,KAAK;aAClB,CAAC,CAAC;YAEH,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,UAAU,CAAC,CAAC;YACvC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC;gBAClB,SAAS,EAAE,gBAAgB;gBAC3B,aAAa,EAAE,KAAK;aACrB,CAAC,CAAC;SACJ,CAAC;QAEM,WAAM,GAAG,CAAC,KAAiB;YACjC,MAAM,SAAS,GAAG,IAAI,UAAU,CAAC,MAAM,EAAE;gBACvC,IAAI,EAAE,MAAM;gBACZ,OAAO,EAAE,KAAK;gBACd,UAAU,EAAE,KAAK;aAClB,CAAC,CAAC;YAEH,IAAI,CAA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E,IAAI,CAAC,MAAM,EACnB,OAAO,EAAE,IAAI,CAAC,OAAO,IAEpB,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,CACzB,KAEJ,cACE,GAAG,EAAE,EAAE,KAAK,IAAI,CAAC,QAAQ,GAAG,EAAuB,CAAC,EACpD,KAAK,EAAE,OAAO,EACd,IAAI,EAAC,QAAQ,EACb,QAAQ,EAAE,IAAI,CAAC,QAAQ,gBACX,IAAI,CAAC,SAAS,IAAI,IAAI,EAClC,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,OAAO,EAAE,IAAI,CAAC,OAAO,IAEpB,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,CACpB,CACV,CACI,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/stzh-menu-item/stzh-menu-item.scss?tag=stzh-menu-item&encapsulation=scoped","src/components/stzh-menu-item/stzh-menu-item.tsx"],"sourcesContent":["/**\n * @prop --height: Height of item\n * @prop --icon-size: Size of icon next to item\n * @prop --color: Color of item\n * @prop --background-color: Background color of item\n * @prop --hover-color: Hover color of item\n * @prop --hover-background-color: Hover background color of item\n *\n * @prop --stzh-menu-item-height: **Global**: Height of items\n */\n\n:host {\n --height: var(--stzh-menu-item-height);\n --color: #{$colorBlack};\n --background-color: transparent;\n --icon-size: #{iconSize(\"small\")};\n --padding-top: #{space(\"xsmall\")};\n --padding-bottom: #{space(\"xsmall\")};\n --padding-left: #{space(\"large\")};\n --padding-right: #{space(\"large\")};\n\n --hover-color: var(--stzh-popover-item-hover-color, #{$colorBlack});\n --hover-background-color: var(--stzh-popover-item-hover-bg, #{$colorGrey20});\n\n &[size=\"large\"] {\n --icon-size: #{iconSize()};\n --height: var(--stzh-menu-large-item-height);\n --padding-left: #{space(\"xlarge\")};\n --padding-right: #{space(\"xlarge\")};\n }\n\n &[variant=\"secondary\"] {\n --color: #{$colorPrimary70};\n\n --hover-color: #{$colorPrimary70};\n --hover-background-color: #{$colorSecondary30};\n }\n\n &[active]:not([active=\"false\"]) {\n --color: #{$colorPrimary70};\n --hover-color: #{$colorPrimary70};\n --hover-background-color: #{$colorGrey20};\n }\n\n &[disabled]:not([disabled=\"false\"]) {\n --color: #{$colorGrey70};\n --background-color: #{$colorGrey10};\n\n --hover-color: #{$colorGrey70};\n --hover-background-color: #{$colorGrey10};\n }\n}\n\n.stzh-menu-item {\n @include fontSize(\"micro\");\n font-family: inherit;\n display: flex;\n gap: space(\"small\");\n align-items: center;\n justify-content: stretch;\n appearance: none;\n text-decoration-line: none;\n border: none;\n padding-top: var(--padding-top);\n padding-bottom: var(--padding-bottom);\n padding-left: var(--padding-left);\n padding-right: var(--padding-right);\n color: var(--color);\n background-color: var(--background-color);\n width: 100%;\n height: var(--height);\n line-height: var(--height);\n transition-duration: $baseTransitionAnimationSpeed;\n transition-property: color, background-color, border-color;\n cursor: pointer;\n\n &:hover {\n color: var(--hover-color);\n background-color: var(--hover-background-color);\n }\n\n &__icon-wrapper {\n --stzh-icon-size: var(--icon-size);\n\n position: relative;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n width: auto;\n height: 1em;\n }\n\n &__badge {\n position: absolute;\n z-index: 1;\n top: calc(#{space(\"xsmall\")} * -1);\n right: calc(#{space(\"xsmall\")} * -1);\n }\n\n &__text-wrapper {\n display: flex;\n gap: space(\"xsmall\");\n }\n\n &__counter {\n @include font;\n }\n\n &__text {\n @include truncate;\n }\n\n /* Large variant */\n\n &--size-large {\n @include fontSize(\"milli\");\n gap: space(\"medium\");\n }\n\n /* Disabled variant */\n\n &--is-disabled {\n cursor: not-allowed;\n }\n}\n","import { Component, Host, h, Prop, Element, Fragment, Event, EventEmitter } from \"@stencil/core\";\n\nimport {\n StzhMenuItemFocusEvent,\n StzhMenuItemBlurEvent,\n StzhMenuItemClickEvent,\n StzhBadgeType,\n StzhMenuSize,\n StzhMenuVariant,\n} from \"../../index\";\n\nimport { hasSlot } from \"../../utils/utils\";\n\n/**\n * @slot - Slot for any content\n * @slot icon - Slot for `stzh-icon` element\n */\n@Component({\n tag: \"stzh-menu-item\",\n styleUrl: \"stzh-menu-item.scss\",\n scoped: true,\n})\nexport class StzhMenuItem {\n /** Variant */\n @Prop({ reflect: true }) variant: StzhMenuVariant = \"default\";\n\n /** Size */\n @Prop({ reflect: true }) size: StzhMenuSize = \"default\";\n\n /** Counter */\n @Prop() counter: number;\n\n /** Badge (only displayed if `icon` property or icon slot is used) */\n @Prop() badge: string = \"\";\n\n /** Badge type */\n @Prop({ reflect: true }) badgeType: StzhBadgeType = \"default\";\n\n /** Whether badge should be displayed empty */\n @Prop({ reflect: true }) badgeEmpty: boolean = false;\n\n /** Whether the button is disabled */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /** Whether the button is active */\n @Prop({ reflect: true }) active: boolean = false;\n\n /** Icon (use instead of icon slot) */\n @Prop() icon: string = \"\";\n\n /** Label */\n @Prop() label: string = \"\";\n\n /** `href` if the button should be used as link */\n @Prop() href: string = \"\";\n\n /** Target if the button is used as link (if `href` used) */\n @Prop() target: string = \"\";\n\n /** Accessible label for screen readers to replace visible text */\n @Prop({ attribute: \"a11y-label\" }) a11yLabel: string;\n\n /**\n * For Adobe Analytics.\n * Will be rendered as value of `s-object-id` attribute to the link/button element.\n * Default value will be taken from `label` prop or default slot.\n */\n @Prop() analyticsId: string;\n\n @Element() element: HTMLStzhMenuItemElement;\n\n /** Focus event */\n @Event() stzhFocus: EventEmitter<StzhMenuItemFocusEvent>;\n\n /** Blur event */\n @Event() stzhBlur: EventEmitter<StzhMenuItemBlurEvent>;\n\n /** Click event */\n @Event() stzhClick: EventEmitter<StzhMenuItemClickEvent>;\n\n private menuItem: HTMLButtonElement | HTMLAnchorElement;\n private text: HTMLDivElement;\n\n private focusedByInput: boolean = false;\n\n private onRootFocus = () => {\n if (!this.focusedByInput) {\n this.menuItem.focus();\n }\n\n this.focusedByInput = false;\n };\n\n private onFocus = (event: FocusEvent) => {\n this.focusedByInput = true;\n\n const focusEvent = new FocusEvent(\"focus\", {\n view: window,\n bubbles: false,\n cancelable: false,\n });\n\n this.element.dispatchEvent(focusEvent);\n this.stzhFocus.emit({\n component: \"stzh-menu-item\",\n originalEvent: event,\n });\n };\n\n private onBlur = (event: FocusEvent) => {\n const blurEvent = new FocusEvent(\"blur\", {\n view: window,\n bubbles: false,\n cancelable: false,\n });\n\n this.element.dispatchEvent(blurEvent);\n this.stzhBlur.emit({\n component: \"stzh-menu-item\",\n originalEvent: event,\n });\n };\n\n private onClick = (event: MouseEvent) => {\n this.stzhClick.emit({\n component: \"stzh-menu-item\",\n originalEvent: event,\n href: this.href,\n });\n };\n\n componentDidRender() {\n requestAnimationFrame(() => {\n this.menuItem?.setAttribute(\"s-object-id\", this.analyticsId || this.text.innerText);\n });\n }\n\n private renderInner(iconUsed: boolean): DocumentFragment {\n return (\n <Fragment>\n {iconUsed && (\n <div class=\"stzh-menu-item__icon-wrapper\">\n {this.icon ? (\n <stzh-icon class=\"stzh-menu-item__icon\" name={this.icon}></stzh-icon>\n ) : (\n <slot name=\"icon\"></slot>\n )}\n {(this.badge || this.badgeEmpty) && (\n <stzh-badge class=\"stzh-menu-item__badge\" label={this.badge} type={this.badgeType}></stzh-badge>\n )}\n </div>\n )}\n <div class=\"stzh-menu-item__text-wrapper\">\n <div ref={el => (this.text = el as HTMLDivElement)} class=\"stzh-menu-item__text\">\n {this.label ? this.label : <slot></slot>}\n </div>\n {this.counter !== undefined && this.counter > 0 && (\n <div class=\"stzh-menu-item__counter\">({this.counter})</div>\n )}\n </div>\n </Fragment>\n );\n }\n\n render() {\n const iconUsed: boolean = hasSlot(this.element, \"icon\") || !!this.icon;\n const classes = {\n \"stzh-menu-item\": true,\n \"stzh-menu-item--has-icon\": iconUsed,\n \"stzh-menu-item--has-badge\": !!this.badge,\n \"stzh-menu-item--is-disabled\": this.disabled,\n \"stzh-menu-item--is-active\": this.active,\n [`stzh-menu-item--size-${this.size}`]: !!this.size,\n [`stzh-menu-item--${this.variant}`]: !!this.variant,\n };\n\n return (\n <Host role=\"menuitem\" tabindex={this.disabled ? null : \"-1\"} onFocus={this.onRootFocus}>\n {this.href ? (\n <a\n ref={el => (this.menuItem = el as HTMLAnchorElement)}\n href={this.disabled ? null : this.href}\n target={this.target}\n class={classes}\n aria-label={this.a11yLabel || null}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n onClick={this.onClick}\n >\n {this.renderInner(iconUsed)}\n </a>\n ) : (\n <button\n ref={el => (this.menuItem = el as HTMLButtonElement)}\n class={classes}\n type=\"button\"\n disabled={this.disabled}\n aria-label={this.a11yLabel || null}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n onClick={this.onClick}\n >\n {this.renderInner(iconUsed)}\n </button>\n )}\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -15,7 +15,7 @@ const StzhListItem = /*@__PURE__*/ proxyCustomElement(class StzhListItem extends
|
|
|
15
15
|
const classes = {
|
|
16
16
|
"stzh-list-item": true,
|
|
17
17
|
};
|
|
18
|
-
return (h(Host, { key: '
|
|
18
|
+
return (h(Host, { key: 'a68ad28e9f5c3f3a53d1e1d8e67ba2a4cd85dd08' }, h("div", { key: '4ea1e70913678e88082fe9e8502d86f3898ba9f3', class: classes, role: "listitem" }, h("div", { key: 'f855d4e71bdceda0875f7d5ba1fb6fdd4e50bbf9', class: "stzh-list-item__checkmark-icon", innerHTML: Checkmark }), h("div", { key: '4e11b2c6a919c633bb95167f6802c0eff176d4aa', class: "stzh-list-item__text" }, h("slot", { key: 'ddb61e2f563c7b159dbf117fd58502e6f93cd56e' })))));
|
|
19
19
|
}
|
|
20
20
|
get element() { return this; }
|
|
21
21
|
static get style() { return StzhListItemStyle0; }
|
|
@@ -36,4 +36,4 @@ function defineCustomElement() {
|
|
|
36
36
|
|
|
37
37
|
export { StzhListItem as S, defineCustomElement as d };
|
|
38
38
|
|
|
39
|
-
//# sourceMappingURL=p-
|
|
39
|
+
//# sourceMappingURL=p-60907498.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-
|
|
1
|
+
{"file":"p-60907498.js","mappings":";;;;AAAA,MAAM,eAAe,GAAG,ivCAAivC,CAAC;AAC1wC,2BAAe,eAAe;;MCWjB,YAAY;;;;;;IAGvB,MAAM;QACJ,MAAM,OAAO,GAAG;YACd,gBAAgB,EAAE,IAAI;SACvB,CAAC;QAEF,QACE,EAAC,IAAI,uDACH,4DAAK,KAAK,EAAE,OAAO,EAAE,IAAI,EAAC,UAAU,IAClC,4DAAK,KAAK,EAAC,gCAAgC,EAAC,SAAS,EAAE,SAAS,GAAQ,EAExE,4DAAK,KAAK,EAAC,sBAAsB,IAC/B,8DAAa,CACT,CACF,CACD,EACP;KACH;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/stzh-list-item/stzh-list-item.scss?tag=stzh-list-item&encapsulation=shadow","src/components/stzh-list-item/stzh-list-item.tsx"],"sourcesContent":[":host {\n --icon-checklist-visibility: hidden;\n\n &::before {\n display: inline-block;\n position: absolute;\n left: 0;\n top: 0;\n }\n}\n\n.stzh-list-item {\n &__checkmark-icon {\n visibility: var(--icon-checklist-visibility);\n display: flex;\n justify-content: center;\n align-items: center;\n position: absolute;\n top: 1px;\n left: 0;\n\n svg {\n width: 1.5em;\n height: 1.5em;\n display: block;\n }\n }\n}\n","import { Component, Host, h, Element } from \"@stencil/core\";\n\nimport Checkmark from \"./assets/checkmark.svg\";\n\n/**\n * @slot - Slot for text\n */\n@Component({\n tag: \"stzh-list-item\",\n styleUrl: \"stzh-list-item.scss\",\n shadow: true,\n})\nexport class StzhListItem {\n @Element() element: HTMLStzhListItemElement;\n\n render() {\n const classes = {\n \"stzh-list-item\": true,\n };\n\n return (\n <Host>\n <div class={classes} role=\"listitem\">\n <div class=\"stzh-list-item__checkmark-icon\" innerHTML={Checkmark}></div>\n\n <div class=\"stzh-list-item__text\">\n <slot></slot>\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -81,7 +81,7 @@ const StzhIcon = /*@__PURE__*/ proxyCustomElement(class StzhIcon extends H {
|
|
|
81
81
|
}, 0);
|
|
82
82
|
}
|
|
83
83
|
render() {
|
|
84
|
-
return (h(Host, { key: '
|
|
84
|
+
return (h(Host, { key: '48bec2666774f99ae81c11a48beb8138b9b107ac' }, h("div", { key: '65b8489b21a64236e6964fca027a2f7f3c963b88', class: "stzh-icon", style: { display: this.iconDisplay }, innerHTML: this.svgHtml })));
|
|
85
85
|
}
|
|
86
86
|
get element() { return this; }
|
|
87
87
|
static get watchers() { return {
|
|
@@ -114,4 +114,4 @@ function defineCustomElement() {
|
|
|
114
114
|
|
|
115
115
|
export { StzhIcon as S, defineCustomElement as d };
|
|
116
116
|
|
|
117
|
-
//# sourceMappingURL=p-
|
|
117
|
+
//# sourceMappingURL=p-60d4ef07.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-
|
|
1
|
+
{"file":"p-60d4ef07.js","mappings":";;AAAA,MAAM,WAAW,GAAG,0zCAA0zC,CAAC;AAC/0C,uBAAe,WAAW;;ACC1B,IAAI,WAAW,GAAG,CAAC,CAAC;AAEpB;AACA,MAAM,SAAS,GAAG,IAAI,GAAG,EAA2B,CAAC;MAOxC,QAAQ;;;;;oBAKI,EAAE;yBAM8B,EAAE;uBAI9B,EAAE;2BACE,MAAM;;IAGrC,MAAM,WAAW,CAAC,IAAY;QAC5B,IAAI,CAAC,WAAW,GAAG,MAAM,CAAC;QAE1B,IAAI,IAAI,EAAE;YACR,IAAI,SAAS,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE;gBACvB,IAAI,CAAC,OAAO,GAAG,MAAM,SAAS,CAAC,GAAG,CAAC,IAAI,CAAE,CAAC;gBAC1C,IAAI,CAAC,6BAA6B,EAAE,CAAC;gBACrC,IAAI,CAAC,QAAQ,EAAE,CAAC;aACjB;iBAAM;gBACL,MAAM,eAAe,GAAG,K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AAS,GAAG,GAAG,IAAI,CAAC,MAAM,QAAQ,GAAG,IAAI,CAAC,CAAC;QAE3F,IAAI,KAAK,GAAG,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;QAEnD,IAAI,CAAC,KAAK,EAAE;YACV,KAAK,GAAG,QAAQ,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;YACxC,KAAK,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC,MAAM,QAAQ,CAAC;YAClC,IAAI,CAAC,UAAU,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;SACpC;QAED,KAAK,CAAC,SAAS,GAAG,SAAS,CAAC;QAC5B,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,UAAU,CAAC,SAAS,CAAC;KAC1C;IAKD,MAAM,iBAAiB;QACrB,IAAI,CAAC,MAAM,GAAG,aAAa,WAAW,EAAE,EAAE,CAAC;QAC3C,MAAM,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;KACnC;IAEO,6BAA6B;QACnC,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;KACvC;IAEO,QAAQ;;;;QAId,MAAM,CAAC,UAAU,CAAC;YAChB,IAAI,CAAC,WAAW,GAAG,UAAU,CAAC;SAC/B,EAAE,CAAC,CAAC,CAAC;KACP;IAED,MAAM;QACJ,QACE,EAAC,IAAI,uDACH,4DAAK,KAAK,EAAC,WAAW,EAAC,KAAK,EAAE,EAAE,OAAO,EAAE,IAAI,CAAC,WAAW,EAAE,EAAE,SAAS,EAAE,IAAI,CAAC,OAAO,GAAQ,CACvF,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/stzh-icon/stzh-icon.scss?tag=stzh-icon&encapsulation=shadow","src/components/stzh-icon/stzh-icon.tsx"],"sourcesContent":["/**\n * @prop --size: Icon size\n * @prop --color: Icon color\n *\n * @prop --stzh-icon-size: **Global**: Default icon size. [See available icon sizes here](/docs/tokens-icons--docs#sizes).\n * @prop --stzh-icon-color: **Global**: Icon color\n * @prop --stzh-icon-vertical-align: **Global**: Icon vertical alignment\n */\n\n:host {\n --size: #{iconSize()};\n --color: #{$iconColor};\n --vertical-align: #{$iconVerticalAlign};\n\n display: inline-flex;\n justify-content: center;\n align-items: center;\n color: var(--color);\n vertical-align: var(--vertical-align);\n width: var(--size);\n height: var(--size);\n\n @media print {\n -webkit-print-color-adjust: exact;\n print-color-adjust: exact;\n }\n}\n\n.stzh-icon {\n display: none;\n\n &__svg {\n width: var(--size);\n height: var(--size);\n }\n}\n","import { Component, Host, h, Prop, Watch, State, Element } from \"@stencil/core\";\n\nlet iconCounter = 0;\n\n// Shared cache for all instances to store fetched SVG icons\nconst iconCache = new Map<string, Promise<string>>();\n\n@Component({\n tag: \"stzh-icon\",\n styleUrl: \"stzh-icon.scss\",\n shadow: true,\n})\nexport class StzhIcon {\n /**\n * Icon which should be displayed\n * See the [icon overview](stzh-components/assets/svgsprites/symbol/sprite.symbol.html) for a list of all available icons.\n */\n @Prop() name: string = \"\";\n\n /**\n * Hidden icon title for screenreader\n * (usually not needed when e.g. inside links or buttons that have text)\n */\n @Prop({ attribute: \"a11y-title\" }) a11yTitle: string = \"\";\n\n @Element() element: HTMLStzhIconElement;\n\n @State() svgHtml: string = \"\";\n @State() iconDisplay: string = \"none\";\n\n @Watch(\"name\")\n async nameWatcher(name: string) {\n this.iconDisplay = \"none\";\n\n if (name) {\n if (iconCache.has(name)) {\n this.svgHtml = await iconCache.get(name)!;\n this.updateAccessibilityAttributes();\n this.showIcon();\n } else {\n const fetchSvgPromise = fetch(`${window.stzhComponents.pathMedia}/icons/mono/${this.name}.svg`)\n .then(response => {\n if (response.status === 200) {\n return response.text();\n }\n throw new Error(\"Failed to fetch icon\");\n })\n .then(svgString => {\n const parser = new DOMParser();\n const svgDoc = parser.parseFromString(svgString, \"image/svg+xml\");\n const svgElement = svgDoc.documentElement as unknown as SVGElement;\n svgElement.classList.add(\"stzh-icon__svg\");\n\n return svgElement.outerHTML;\n });\n\n iconCache.set(name, fetchSvgPromise);\n\n this.svgHtml = await fetchSvgPromise;\n this.updateAccessibilityAttributes();\n this.showIcon();\n }\n } else {\n this.svgElement = null;\n this.svgHtml = \"\";\n }\n }\n\n @Watch(\"a11yTitle\")\n a11yTitleWatcher(a11yTitle: string) {\n if (!this.svgElement) return;\n\n this.svgElement.setAttribute(\"aria-hidden\", a11yTitle ? \"false\" : \"true\");\n this.svgElement.setAttribute(\"focusable\", a11yTitle ? \"true\" : \"false\");\n this.svgElement.setAttribute(\"aria-labelledby\", a11yTitle ? `${this.iconId}-title` : null);\n\n let title = this.svgElement.querySelector(\"title\");\n\n if (!title) {\n title = document.createElement(\"title\");\n title.id = `${this.iconId}-title`;\n this.svgElement.appendChild(title);\n }\n\n title.innerHTML = a11yTitle;\n this.svgHtml = this.svgElement.outerHTML;\n }\n\n private svgElement: SVGElement | null;\n private iconId: string;\n\n async componentWillLoad() {\n this.iconId = `stzh-icon-${iconCounter++}`;\n await this.nameWatcher(this.name);\n }\n\n private updateAccessibilityAttributes() {\n this.a11yTitleWatcher(this.a11yTitle);\n }\n\n private showIcon() {\n // for some obscure reason we need to delay showing the icon in safari,\n // otherwise the icon doesn't show up randomly\n // TODO: sometimes the icon still randomely disappears when clicked on page (check on newer safari if problems still occur)\n window.setTimeout(() => {\n this.iconDisplay = \"contents\";\n }, 0);\n }\n\n render() {\n return (\n <Host>\n <div class=\"stzh-icon\" style={{ display: this.iconDisplay }} innerHTML={this.svgHtml}></div>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { p as proxyCustomElement, H, h, d as Host } from './p-8f01554b.js';
|
|
2
2
|
import { c as camelCase, h as hasSlot } from './p-289f5de2.js';
|
|
3
3
|
import { S as StzhInputDescription } from './p-a2148b9d.js';
|
|
4
|
-
import { d as defineCustomElement$3 } from './p-
|
|
5
|
-
import { d as defineCustomElement$2 } from './p-
|
|
6
|
-
import { d as defineCustomElement$1 } from './p-
|
|
4
|
+
import { d as defineCustomElement$3 } from './p-60d4ef07.js';
|
|
5
|
+
import { d as defineCustomElement$2 } from './p-472ab25f.js';
|
|
6
|
+
import { d as defineCustomElement$1 } from './p-519479b8.js';
|
|
7
7
|
|
|
8
8
|
const stzhRadiogroupCss = ".sc-stzh-radiogroup-h{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}[hidden].sc-stzh-radiogroup-h,[stzh-hidden].sc-stzh-radiogroup-h{display:none}.sc-stzh-radiogroup-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-radiogroup-h *.sc-stzh-radiogroup,.sc-stzh-radiogroup-h *.sc-stzh-radiogroup::before,.sc-stzh-radiogroup-h *.sc-stzh-radiogroup::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}.sc-stzh-radiogroup-h .has-focus.sc-stzh-radiogroup{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-radiogroup-h .stzh-fylingfocus-focused.sc-stzh-radiogroup{outline-style:none !important}.sc-stzh-radiogroup-h .stzh-fylingfocus-focused.sc-stzh-radiogroup::-moz-focus-inner{border:0 !important}.sc-stzh-radiogroup-h{--legend-color:var(--stzh-radio-group-legend-color, var(--stzh-heading-color))}[disabled].sc-stzh-radiogroup-h:not([disabled=false]){--description-color:var(--stzh-color-grey70)}.stzh-radiogroup.sc-stzh-radiogroup{margin:0;padding:0;border:none}.stzh-radiogroup__marker-symbol.sc-stzh-radiogroup{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium)}.stzh-radiogroup__marker-text.sc-stzh-radiogroup{border:0;clip:rect(0 0 0 0);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-radiogroup__description-wrapper.sc-stzh-radiogroup{display:flex;flex-direction:column-reverse;min-height:var(--description-min-height, var(--stzh-description-min-height, none))}.stzh-radiogroup__error.sc-stzh-radiogroup,.stzh-radiogroup__description.sc-stzh-radiogroup{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height)}.stzh-radiogroup__error.sc-stzh-radiogroup{color:var(--stzh-color-error60)}.stzh-radiogroup__error-list.sc-stzh-radiogroup{list-style:none;margin:0;padding:0}.stzh-radiogroup__description.sc-stzh-radiogroup{display:flex;align-items:flex-start;color:var(--stzh-input-description-color, var(--description-color, var(--stzh-color-coolgrey70)));transition:color var(--stzh-base-transition-animation-speed)}.stzh-radiogroup__description-long.sc-stzh-radiogroup{margin-right:var(--stzh-space-xxsmall);margin-top:0.125rem}@supports (font: -apple-system-body) and (-webkit-appearance: none){.stzh-radiogroup__description-long.sc-stzh-radiogroup{margin-top:0}}.stzh-radiogroup__description-long-popover.sc-stzh-radiogroup{--width:auto;--max-width:27.3125rem}.stzh-radiogroup__description-long-button.sc-stzh-radiogroup{display:flex;justify-content:center;align-items:center;appearance:none;font-family:inherit;padding:0;border:none;background-color:transparent;border-radius:0.5rem;cursor:pointer}.stzh-radiogroup.sc-stzh-radiogroup stzh-icon.stzh-radiogroup__description-long-icon.sc-stzh-radiogroup{--size:var(--stzh-icon-size-xsmall)}.stzh-radiogroup--has-error.sc-stzh-radiogroup .stzh-radiogroup__error.sc-stzh-radiogroup,.stzh-radiogroup--has-description.sc-stzh-radiogroup .stzh-radiogroup__description.sc-stzh-radiogroup{margin-top:var(--stzh-space-xxxsmall)}.stzh-radiogroup__fields.sc-stzh-radiogroup{display:flex;align-items:flex-start;flex-direction:column;gap:var(--stzh-space-medium)}.stzh-radiogroup__legend.sc-stzh-radiogroup{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy);font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);color:var(--legend-color);padding:0;margin-bottom:var(--stzh-space-xsmall)}.stzh-radiogroup__marker.sc-stzh-radiogroup{font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);margin-left:calc(-0.25em + var(--stzh-space-xsmall))}.stzh-radiogroup--hide-legend.sc-stzh-radiogroup .stzh-radiogroup__legend.sc-stzh-radiogroup{border:0;clip:rect(0 0 0 0);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-radiogroup--is-invalid.sc-stzh-radiogroup .stzh-radiogroup__legend.sc-stzh-radiogroup,.stzh-radiogroup--has-error.sc-stzh-radiogroup .stzh-radiogroup__legend.sc-stzh-radiogroup{color:var(--stzh-color-error60)}.stzh-radiogroup--is-disabled.sc-stzh-radiogroup .stzh-radiogroup__legend.sc-stzh-radiogroup{color:var(--stzh-color-grey60)}.stzh-radiogroup--direction-horizontal.sc-stzh-radiogroup .stzh-radiogroup__fields.sc-stzh-radiogroup{flex-wrap:wrap;flex-direction:row;row-gap:var(--stzh-space-medium);column-gap:var(--stzh-space-xxlarge)}";
|
|
9
9
|
const StzhRadiogroupStyle0 = stzhRadiogroupCss;
|
|
@@ -181,11 +181,11 @@ const StzhRadiogroup = /*@__PURE__*/ proxyCustomElement(class StzhRadiogroup ext
|
|
|
181
181
|
"stzh-radiogroup--hide-legend": this.hideLegend,
|
|
182
182
|
[`stzh-radiogroup--direction-${this.direction}`]: !!this.direction,
|
|
183
183
|
};
|
|
184
|
-
return (h(Host, { key: '
|
|
184
|
+
return (h(Host, { key: '899a1955959d8aaa4efe64765d27627841178eae', "is-invalid": this.invalid || this.errorUsed }, h("fieldset", { key: '58f9bbae7466c976953e4aae8cfe640449a8a2eb', class: classes }, this.legend && (h("legend", { key: 'f37de0069671e98b92e88a91d884f68031571a01', class: "stzh-radiogroup__legend" }, this.legend, !this.hideOptional && (h("span", { key: 'e312c32c3dfad5959721f1b8661fd0e16435fb94', class: "stzh-radiogroup__marker" }, h("span", { key: '7db2bf5b7a30086b810f1d26914bf9106528bbea', class: "stzh-radiogroup__marker-symbol", "aria-hidden": "true" }, this.required
|
|
185
185
|
? this.localization.$globals.requiredFieldMarker
|
|
186
|
-
: this.localization.$globals.optionalFieldMarker), h("span", { key: '
|
|
186
|
+
: this.localization.$globals.optionalFieldMarker), h("span", { key: '4475d36e61070e43bfc9864caf0000c0ce3d4de4', class: "stzh-radiogroup__marker-text" }, this.required
|
|
187
187
|
? this.localization.$globals.requiredFieldText
|
|
188
|
-
: this.localization.$globals.optionalFieldText))))), h("div", { key: '
|
|
188
|
+
: this.localization.$globals.optionalFieldText))))), h("div", { key: 'dd084175dac3b689df8476c0caf3042ba256cc68', class: "stzh-radiogroup__fields" }, h("slot", { key: '98c4cc78cf74f258f41f83edb7075ab4051bf27b' })), (this.errorUsed || this.description) && (h(StzhInputDescription, { key: '531fa801d429eb039a77e4f22b2e3b8b58d46245', classPrefix: "stzh-radiogroup", id: `${this.radiogroupId}-description`, error: this._error, description: this.description, descriptionLong: this.descriptionLong, descriptionLongTitle: this.descriptionLongTitle, descriptionLongUsed: descriptionLongUsed, moreInfoButtonLabel: this.localization.$globals.moreInfoButtonLabel })))));
|
|
189
189
|
}
|
|
190
190
|
get element() { return this; }
|
|
191
191
|
static get watchers() { return {
|
|
@@ -254,4 +254,4 @@ function defineCustomElement() {
|
|
|
254
254
|
|
|
255
255
|
export { StzhRadiogroup as S, defineCustomElement as d };
|
|
256
256
|
|
|
257
|
-
//# sourceMappingURL=p-
|
|
257
|
+
//# sourceMappingURL=p-63080941.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-7b9767bc.js","mappings":";;;;;;;AAAA,MAAM,iBAAiB,GAAG,61JAA61J,CAAC;AACx3J,6BAAe,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AAa,CACT,EACL,CAAC,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC,WAAW,MAClC,EAAC,oBAAoB,qDACnB,WAAW,EAAC,iBAAiB,EAC7B,EAAE,EAAE,GAAG,IAAI,CAAC,YAAY,cAAc,EACtC,KAAK,EAAE,IAAI,CAAC,MAAM,EAClB,WAAW,EAAE,IAAI,CAAC,WAAW,EAC7B,eAAe,EAAE,IAAI,CAAC,eAAe,EACrC,oBAAoB,EAAE,IAAI,CAAC,oBAAoB,EAC/C,mBAAmB,EAAE,mBAAmB,EACxC,mBAAmB,EAAE,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,mBAAmB,GACnE,CACH,CACQ,CACN,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/stzh-radiogroup/stzh-radiogroup.scss?tag=stzh-radiogroup&encapsulation=scoped","src/components/stzh-radiogroup/stzh-radiogroup.tsx"],"sourcesContent":[":host {\n --legend-color: var(--stzh-radio-group-legend-color, #{$headingColor});\n\n &[disabled]:not([disabled=\"false\"]) {\n --description-color: #{$formDisabledColor};\n }\n}\n\n.stzh-radiogroup {\n @include input-description;\n margin: 0;\n padding: 0;\n border: none;\n\n &__fields {\n display: flex;\n align-items: flex-start;\n flex-direction: column;\n gap: space(\"medium\");\n }\n\n &__legend {\n @include font(\"heavy\");\n @include fontSize(\"micro\");\n color: var(--legend-color);\n padding: 0;\n margin-bottom: space(\"xsmall\");\n }\n\n &__marker {\n @include fontSize(\"nano\");\n margin-left: calc(-0.25em + #{space(\"xsmall\")});\n }\n\n &--hide-legend &__legend {\n @include visuallyhidden;\n }\n\n &--is-invalid &__legend,\n &--has-error &__legend {\n color: $colorError60;\n }\n\n &--is-disabled &__legend {\n color: $colorGrey60;\n }\n\n &--direction-horizontal &__fields {\n flex-wrap: wrap;\n flex-direction: row;\n row-gap: space(\"medium\");\n column-gap: space(\"xxlarge\");\n }\n}\n","import { Component, Element, h, Host, Listen, Prop, Watch } from \"@stencil/core\";\n\nimport { StzhRadioChangeEvent } from \"../../index\";\n\nimport { hasSlot } from \"../../utils/utils\";\nimport { camelCase } from \"../../utils/string-utils\";\nimport { StzhLocaleComponent } from \"../../index\";\n\nimport { StzhInputDescription } from \"../stzh-input/stzh-input-description\";\n\nconst SELECTOR_RADIO = \"stzh-radio, stzh-button[type=radio], stzh-card\";\n\nlet radiogroupCounter = 0;\n\n/**\n * @slot - Slot for `stzh-radio`, `stzh-button[type=\"radio\"]` or `stzh-card` elements\n * @slot description - Slot for description\n * @slot description-long - Slot for long description (in popover)\n * @slot description-long-title - Slot for long description title (in popover) / instead of descriptionLongTitle or description property\n * @slot error - Slot for error\n */\n@Component({\n tag: \"stzh-radiogroup\",\n styleUrl: \"stzh-radiogroup.scss\",\n scoped: true,\n})\nexport class StzhRadiogroup {\n /** Translation strings */\n @Prop() localization: StzhLocaleComponent;\n\n /** Whether the element is disabled or not */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /** The name of the input radio elements, will define the radio group. If you have more than one radio group on a page, every group needs to have its own unique name */\n @Prop({ reflect: true }) name: string;\n\n /** The legend */\n @Prop() legend: string;\n\n /** Hide legend to show only for screenreaders */\n @Prop({ reflect: true }) hideLegend: boolean = false;\n\n /** Invalid status */\n @Prop({ reflect: true }) invalid: boolean = false;\n\n /** Required status */\n @Prop({ reflect: true }) required: boolean = false;\n\n /** Hide `(optional)` label (or use `required` inside form to hide it) */\n @Prop({ reflect: true }) hideOptional: boolean = false;\n\n /** Select a radio by value */\n @Prop({ mutable: true }) value: string = \"\";\n\n /** Default value (used by reset) */\n @Prop({ mutable: true }) defaultValue: string = \"\";\n\n /** Direction */\n @Prop({ reflect: true }) direction: \"vertical\" | \"horizontal\" = \"vertical\";\n\n /** Description message (use description slot as alternative) */\n @Prop() description: string;\n\n /** Long description message appearing in a popover (use description-long slot as alternative) */\n @Prop() descriptionLong: string;\n\n /**\n * **Do not use this property. It will be deprecated with the next major release.**\n * Long description title appearing in a popover (use description-long-title slot as or description property alternative) */\n @Prop() descriptionLongTitle: string;\n\n /** One or multiple error message (use error slot as alternative) */\n @Prop() error: string | string[];\n private _error: string[];\n\n /** Current checked radio element (readonly) */\n @Prop() checkedRadio: HTMLStzhRadioElement | null = null;\n\n /** Prevent updating certain properties of radio elements (possible values inside array: disabled, invalid, required, hide-marker) */\n @Prop() preventUpdateProperties: string[] | string = [];\n private _preventUpdateProperties: string[] = [];\n\n /** Host element */\n @Element() element: HTMLElement;\n\n @Watch(\"name\")\n watchName(newValue: string) {\n this.updateRadiosProperty(\"name\", newValue);\n }\n\n @Watch(\"disabled\")\n watchDisabled(newValue: boolean) {\n this.updateRadiosProperty(\"disabled\", newValue);\n }\n\n @Watch(\"required\")\n watchRequired(newValue: boolean) {\n this.updateRadiosProperty(\"required\", newValue);\n }\n\n @Watch(\"value\")\n watchValue(newValue: string) {\n this.updateCheckedRadioByValue(newValue);\n }\n\n @Watch(\"error\")\n errorWatcher(newValue: string | string[]) {\n if (typeof newValue === \"string\") {\n try {\n this._error = JSON.parse(newValue);\n } catch (e) {\n if (newValue) {\n this._error = [newValue];\n } else {\n this._error = [];\n }\n }\n } else if (newValue) {\n this._error = newValue;\n } else {\n this._error = [];\n }\n }\n\n @Watch(\"preventUpdateProperties\")\n preventUpdatePropertiesWatcher(newValue: string[] | string) {\n if (typeof newValue === \"string\") {\n this._preventUpdateProperties = JSON.parse(newValue);\n } else {\n this._preventUpdateProperties = newValue;\n }\n }\n\n @Listen(\"reset\", { target: \"document\" })\n resetListener(event: Event) {\n if ((event.target as HTMLElement).contains(this.element)) {\n requestAnimationFrame(() => {\n this.handleReset();\n });\n }\n }\n\n @Listen(\"stzhChange\")\n onChange(event: CustomEvent<StzhRadioChangeEvent>) {\n this.value = event.detail.value;\n }\n\n /** Radio elements */\n private radios: HTMLStzhRadioElement[];\n private radiogroupId: string;\n private observer: MutationObserver;\n\n private updateRadiosProperty(prop: string, value: any) {\n this.radios.forEach((radio: HTMLStzhRadioElement) => {\n if (prop === \"disabled\") {\n // Only set the disabled if the radio is not already disabled\n if (!radio.disabled) {\n radio.disabled = value;\n }\n } else if (prop === \"name\" || this._preventUpdateProperties.indexOf(prop) === -1) {\n radio[camelCase(prop)] = value;\n }\n });\n }\n\n private get errorUsed(): boolean {\n return hasSlot(this.element, \"error\") || this._error?.length > 0;\n }\n\n private updateCheckedRadioByValue(value: string) {\n this.checkedRadio = this.radios.find(radio => radio.value === value);\n\n if (this.checkedRadio) {\n this.checkedRadio.checked = true;\n }\n\n this.uncheckRadios();\n }\n\n private uncheckRadios() {\n // make sure that no other radios are checked than the current one or no one\n this.radios.forEach((radio: HTMLStzhRadioElement) => {\n if (!this.checkedRadio || radio !== this.checkedRadio) {\n radio.checked = false;\n }\n });\n }\n\n private handleReset = async () => {\n this.value = this.defaultValue;\n };\n\n private init = () => {\n // update radios\n this.radios = Array.from(this.element.querySelectorAll(SELECTOR_RADIO));\n\n this.updateRadiosProperty(\"hide-optional\", true);\n this.updateRadiosProperty(\"a11y-describedby\", `${this.radiogroupId}-description`);\n this.updateRadiosProperty(\"invalid\", this.invalid || this.errorUsed);\n\n this.watchValue(this.value);\n this.watchName(this.name);\n this.watchDisabled(this.disabled);\n this.watchRequired(this.required);\n };\n\n componentDidLoad() {\n this.defaultValue = this.defaultValue ? this.defaultValue : this.value;\n }\n\n async componentWillLoad() {\n this.radiogroupId = `stzh-radiogroup-${radiogroupCounter++}`;\n this.errorWatcher(this.error);\n this.preventUpdatePropertiesWatcher(this.preventUpdateProperties);\n\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"radiogroup\");\n }\n }\n\n componentShouldUpdate(_newValue, _oldValue, prop: string) {\n return prop !== \"checkedRadio\";\n }\n\n componentDidRender() {\n this.init();\n }\n\n connectedCallback() {\n if (!this.value) {\n this.radios = Array.from(this.element.querySelectorAll(SELECTOR_RADIO));\n\n // try to find a checkbox that might has checked set to true\n const checkedRadio = this.radios.find(radio => radio.checked);\n\n if (checkedRadio) {\n this.value = checkedRadio.value;\n }\n }\n\n this.observer = new MutationObserver(this.init);\n this.observer.observe(this.element, {\n childList: true,\n subtree: true,\n });\n }\n\n disconnectedCallback() {\n if (this.observer) {\n this.observer.disconnect();\n }\n }\n\n render() {\n const descriptionUsed = hasSlot(this.element, \"description\") || !!this.description;\n const descriptionLongUsed = hasSlot(this.element, \"description-long\") || !!this.descriptionLong;\n\n const classes = {\n \"stzh-radiogroup\": true,\n \"stzh-radiogroup--has-description\": descriptionUsed,\n \"stzh-radiogroup--has-description-long\": descriptionLongUsed,\n \"stzh-radiogroup--has-error\": this.errorUsed,\n \"stzh-radiogroup--is-required\": this.required,\n \"stzh-radiogroup--is-disabled\": this.disabled,\n \"stzh-radiogroup--is-invalid\": this.invalid || this.errorUsed,\n \"stzh-radiogroup--hide-legend\": this.hideLegend,\n [`stzh-radiogroup--direction-${this.direction}`]: !!this.direction,\n };\n\n return (\n <Host is-invalid={this.invalid || this.errorUsed}>\n <fieldset class={classes}>\n {this.legend && (\n <legend class=\"stzh-radiogroup__legend\">\n {this.legend}\n {!this.hideOptional && (\n <span class=\"stzh-radiogroup__marker\">\n <span class=\"stzh-radiogroup__marker-symbol\" aria-hidden=\"true\">\n {this.required\n ? this.localization.$globals.requiredFieldMarker\n : this.localization.$globals.optionalFieldMarker}\n </span>\n <span class=\"stzh-radiogroup__marker-text\">\n {this.required\n ? this.localization.$globals.requiredFieldText\n : this.localization.$globals.optionalFieldText}\n </span>\n </span>\n )}\n </legend>\n )}\n <div class=\"stzh-radiogroup__fields\">\n <slot></slot>\n </div>\n {(this.errorUsed || this.description) && (\n <StzhInputDescription\n classPrefix=\"stzh-radiogroup\"\n id={`${this.radiogroupId}-description`}\n error={this._error}\n description={this.description}\n descriptionLong={this.descriptionLong}\n descriptionLongTitle={this.descriptionLongTitle}\n descriptionLongUsed={descriptionLongUsed}\n moreInfoButtonLabel={this.localization.$globals.moreInfoButt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Y,CAAC,QAAQ,CAAC,iBAAiB;cAC5C,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,iBAAiB,CAC3C,CACF,CACR,CACM,CACV,EACD,4DAAK,KAAK,EAAC,yBAAyB,IAClC,8DAAa,CACT,EACL,CAAC,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC,WAAW,MAClC,EAAC,oBAAoB,qDACnB,WAAW,EAAC,iBAAiB,EAC7B,EAAE,EAAE,GAAG,IAAI,CAAC,YAAY,cAAc,EACtC,KAAK,EAAE,IAAI,CAAC,MAAM,EAClB,WAAW,EAAE,IAAI,CAAC,WAAW,EAC7B,eAAe,EAAE,IAAI,CAAC,eAAe,EACrC,oBAAoB,EAAE,IAAI,CAAC,oBAAoB,EAC/C,mBAAmB,EAAE,mBAAmB,EACxC,mBAAmB,EAAE,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,mBAAmB,GACnE,CACH,CACQ,CACN,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/stzh-radiogroup/stzh-radiogroup.scss?tag=stzh-radiogroup&encapsulation=scoped","src/components/stzh-radiogroup/stzh-radiogroup.tsx"],"sourcesContent":[":host {\n --legend-color: var(--stzh-radio-group-legend-color, #{$headingColor});\n\n &[disabled]:not([disabled=\"false\"]) {\n --description-color: #{$formDisabledColor};\n }\n}\n\n.stzh-radiogroup {\n @include input-description;\n margin: 0;\n padding: 0;\n border: none;\n\n &__fields {\n display: flex;\n align-items: flex-start;\n flex-direction: column;\n gap: space(\"medium\");\n }\n\n &__legend {\n @include font(\"heavy\");\n @include fontSize(\"micro\");\n color: var(--legend-color);\n padding: 0;\n margin-bottom: space(\"xsmall\");\n }\n\n &__marker {\n @include fontSize(\"nano\");\n margin-left: calc(-0.25em + #{space(\"xsmall\")});\n }\n\n &--hide-legend &__legend {\n @include visuallyhidden;\n }\n\n &--is-invalid &__legend,\n &--has-error &__legend {\n color: $colorError60;\n }\n\n &--is-disabled &__legend {\n color: $colorGrey60;\n }\n\n &--direction-horizontal &__fields {\n flex-wrap: wrap;\n flex-direction: row;\n row-gap: space(\"medium\");\n column-gap: space(\"xxlarge\");\n }\n}\n","import { Component, Element, h, Host, Listen, Prop, Watch } from \"@stencil/core\";\n\nimport { StzhRadioChangeEvent } from \"../../index\";\n\nimport { hasSlot } from \"../../utils/utils\";\nimport { camelCase } from \"../../utils/string-utils\";\nimport { StzhLocaleComponent } from \"../../index\";\n\nimport { StzhInputDescription } from \"../stzh-input/stzh-input-description\";\n\nconst SELECTOR_RADIO = \"stzh-radio, stzh-button[type=radio], stzh-card\";\n\nlet radiogroupCounter = 0;\n\n/**\n * @slot - Slot for `stzh-radio`, `stzh-button[type=\"radio\"]` or `stzh-card` elements\n * @slot description - Slot for description\n * @slot description-long - Slot for long description (in popover)\n * @slot description-long-title - Slot for long description title (in popover) / instead of descriptionLongTitle or description property\n * @slot error - Slot for error\n */\n@Component({\n tag: \"stzh-radiogroup\",\n styleUrl: \"stzh-radiogroup.scss\",\n scoped: true,\n})\nexport class StzhRadiogroup {\n /** Translation strings */\n @Prop() localization: StzhLocaleComponent;\n\n /** Whether the element is disabled or not */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /** The name of the input radio elements, will define the radio group. If you have more than one radio group on a page, every group needs to have its own unique name */\n @Prop({ reflect: true }) name: string;\n\n /** The legend */\n @Prop() legend: string;\n\n /** Hide legend to show only for screenreaders */\n @Prop({ reflect: true }) hideLegend: boolean = false;\n\n /** Invalid status */\n @Prop({ reflect: true }) invalid: boolean = false;\n\n /** Required status */\n @Prop({ reflect: true }) required: boolean = false;\n\n /** Hide `(optional)` label (or use `required` inside form to hide it) */\n @Prop({ reflect: true }) hideOptional: boolean = false;\n\n /** Select a radio by value */\n @Prop({ mutable: true }) value: string = \"\";\n\n /** Default value (used by reset) */\n @Prop({ mutable: true }) defaultValue: string = \"\";\n\n /** Direction */\n @Prop({ reflect: true }) direction: \"vertical\" | \"horizontal\" = \"vertical\";\n\n /** Description message (use description slot as alternative) */\n @Prop() description: string;\n\n /** Long description message appearing in a popover (use description-long slot as alternative) */\n @Prop() descriptionLong: string;\n\n /**\n * **Do not use this property. It will be deprecated with the next major release.**\n * Long description title appearing in a popover (use description-long-title slot as or description property alternative) */\n @Prop() descriptionLongTitle: string;\n\n /** One or multiple error message (use error slot as alternative) */\n @Prop() error: string | string[];\n private _error: string[];\n\n /** Current checked radio element (readonly) */\n @Prop() checkedRadio: HTMLStzhRadioElement | null = null;\n\n /** Prevent updating certain properties of radio elements (possible values inside array: disabled, invalid, required, hide-marker) */\n @Prop() preventUpdateProperties: string[] | string = [];\n private _preventUpdateProperties: string[] = [];\n\n /** Host element */\n @Element() element: HTMLElement;\n\n @Watch(\"name\")\n watchName(newValue: string) {\n this.updateRadiosProperty(\"name\", newValue);\n }\n\n @Watch(\"disabled\")\n watchDisabled(newValue: boolean) {\n this.updateRadiosProperty(\"disabled\", newValue);\n }\n\n @Watch(\"required\")\n watchRequired(newValue: boolean) {\n this.updateRadiosProperty(\"required\", newValue);\n }\n\n @Watch(\"value\")\n watchValue(newValue: string) {\n this.updateCheckedRadioByValue(newValue);\n }\n\n @Watch(\"error\")\n errorWatcher(newValue: string | string[]) {\n if (typeof newValue === \"string\") {\n try {\n this._error = JSON.parse(newValue);\n } catch (e) {\n if (newValue) {\n this._error = [newValue];\n } else {\n this._error = [];\n }\n }\n } else if (newValue) {\n this._error = newValue;\n } else {\n this._error = [];\n }\n }\n\n @Watch(\"preventUpdateProperties\")\n preventUpdatePropertiesWatcher(newValue: string[] | string) {\n if (typeof newValue === \"string\") {\n this._preventUpdateProperties = JSON.parse(newValue);\n } else {\n this._preventUpdateProperties = newValue;\n }\n }\n\n @Listen(\"reset\", { target: \"document\" })\n resetListener(event: Event) {\n if ((event.target as HTMLElement).contains(this.element)) {\n requestAnimationFrame(() => {\n this.handleReset();\n });\n }\n }\n\n @Listen(\"stzhChange\")\n onChange(event: CustomEvent<StzhRadioChangeEvent>) {\n this.value = event.detail.value;\n }\n\n /** Radio elements */\n private radios: HTMLStzhRadioElement[];\n private radiogroupId: string;\n private observer: MutationObserver;\n\n private updateRadiosProperty(prop: string, value: any) {\n this.radios.forEach((radio: HTMLStzhRadioElement) => {\n if (prop === \"disabled\") {\n // Only set the disabled if the radio is not already disabled\n if (!radio.disabled) {\n radio.disabled = value;\n }\n } else if (prop === \"name\" || this._preventUpdateProperties.indexOf(prop) === -1) {\n radio[camelCase(prop)] = value;\n }\n });\n }\n\n private get errorUsed(): boolean {\n return hasSlot(this.element, \"error\") || this._error?.length > 0;\n }\n\n private updateCheckedRadioByValue(value: string) {\n this.checkedRadio = this.radios.find(radio => radio.value === value);\n\n if (this.checkedRadio) {\n this.checkedRadio.checked = true;\n }\n\n this.uncheckRadios();\n }\n\n private uncheckRadios() {\n // make sure that no other radios are checked than the current one or no one\n this.radios.forEach((radio: HTMLStzhRadioElement) => {\n if (!this.checkedRadio || radio !== this.checkedRadio) {\n radio.checked = false;\n }\n });\n }\n\n private handleReset = async () => {\n this.value = this.defaultValue;\n };\n\n private init = () => {\n // update radios\n this.radios = Array.from(this.element.querySelectorAll(SELECTOR_RADIO));\n\n this.updateRadiosProperty(\"hide-optional\", true);\n this.updateRadiosProperty(\"a11y-describedby\", `${this.radiogroupId}-description`);\n this.updateRadiosProperty(\"invalid\", this.invalid || this.errorUsed);\n\n this.watchValue(this.value);\n this.watchName(this.name);\n this.watchDisabled(this.disabled);\n this.watchRequired(this.required);\n };\n\n componentDidLoad() {\n this.defaultValue = this.defaultValue ? this.defaultValue : this.value;\n }\n\n async componentWillLoad() {\n this.radiogroupId = `stzh-radiogroup-${radiogroupCounter++}`;\n this.errorWatcher(this.error);\n this.preventUpdatePropertiesWatcher(this.preventUpdateProperties);\n\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"radiogroup\");\n }\n }\n\n componentShouldUpdate(_newValue, _oldValue, prop: string) {\n return prop !== \"checkedRadio\";\n }\n\n componentDidRender() {\n this.init();\n }\n\n connectedCallback() {\n if (!this.value) {\n this.radios = Array.from(this.element.querySelectorAll(SELECTOR_RADIO));\n\n // try to find a checkbox that might has checked set to true\n const checkedRadio = this.radios.find(radio => radio.checked);\n\n if (checkedRadio) {\n this.value = checkedRadio.value;\n }\n }\n\n this.observer = new MutationObserver(this.init);\n this.observer.observe(this.element, {\n childList: true,\n subtree: true,\n });\n }\n\n disconnectedCallback() {\n if (this.observer) {\n this.observer.disconnect();\n }\n }\n\n render() {\n const descriptionUsed = hasSlot(this.element, \"description\") || !!this.description;\n const descriptionLongUsed = hasSlot(this.element, \"description-long\") || !!this.descriptionLong;\n\n const classes = {\n \"stzh-radiogroup\": true,\n \"stzh-radiogroup--has-description\": descriptionUsed,\n \"stzh-radiogroup--has-description-long\": descriptionLongUsed,\n \"stzh-radiogroup--has-error\": this.errorUsed,\n \"stzh-radiogroup--is-required\": this.required,\n \"stzh-radiogroup--is-disabled\": this.disabled,\n \"stzh-radiogroup--is-invalid\": this.invalid || this.errorUsed,\n \"stzh-radiogroup--hide-legend\": this.hideLegend,\n [`stzh-radiogroup--direction-${this.direction}`]: !!this.direction,\n };\n\n return (\n <Host is-invalid={this.invalid || this.errorUsed}>\n <fieldset class={classes}>\n {this.legend && (\n <legend class=\"stzh-radiogroup__legend\">\n {this.legend}\n {!this.hideOptional && (\n <span class=\"stzh-radiogroup__marker\">\n <span class=\"stzh-radiogroup__marker-symbol\" aria-hidden=\"true\">\n {this.required\n ? this.localization.$globals.requiredFieldMarker\n : this.localization.$globals.optionalFieldMarker}\n </span>\n <span class=\"stzh-radiogroup__marker-text\">\n {this.required\n ? this.localization.$globals.requiredFieldText\n : this.localization.$globals.optionalFieldText}\n </span>\n </span>\n )}\n </legend>\n )}\n <div class=\"stzh-radiogroup__fields\">\n <slot></slot>\n </div>\n {(this.errorUsed || this.description) && (\n <StzhInputDescription\n classPrefix=\"stzh-radiogroup\"\n id={`${this.radiogroupId}-description`}\n error={this._error}\n description={this.description}\n descriptionLong={this.descriptionLong}\n descriptionLongTitle={this.descriptionLongTitle}\n descriptionLongUsed={descriptionLongUsed}\n moreInfoButtonLabel={this.localization.$globals.moreInfoButtonLabel}\n />\n )}\n </fieldset>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -25,7 +25,7 @@ const StzhHeading = /*@__PURE__*/ proxyCustomElement(class StzhHeading extends H
|
|
|
25
25
|
[`stzh-heading--level-${this.level}`]: !!this.level,
|
|
26
26
|
[`stzh-heading--curve-${this.curve}`]: !!this.curve,
|
|
27
27
|
};
|
|
28
|
-
return (h(Host, { key: '
|
|
28
|
+
return (h(Host, { key: 'eaf8a708466e40c3c95dc59ca9ea92444ed8d2f5' }, h(Heading, { key: 'a0ceeda6256786c22fc028b2cf5efac7779e84ee', class: classes }, h("slot", { key: 'ecc6f4c3272769cd7ec2d16f227c22ccea7d5de1' }), this._htmlContent && h("div", { key: '80c9327fd208c991facc1d5129d4ba8e58a7638e', innerHTML: this._htmlContent }))));
|
|
29
29
|
}
|
|
30
30
|
static get watchers() { return {
|
|
31
31
|
"htmlContent": ["htmlContentWatcher"]
|
|
@@ -54,4 +54,4 @@ function defineCustomElement() {
|
|
|
54
54
|
|
|
55
55
|
export { StzhHeading as S, defineCustomElement as d };
|
|
56
56
|
|
|
57
|
-
//# sourceMappingURL=p-
|
|
57
|
+
//# sourceMappingURL=p-694da289.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-
|
|
1
|
+
{"file":"p-694da289.js","mappings":";;AAAA,MAAM,cAAc,GAAG,kqxBAAkqxB,CAAC;AAC1rxB,0BAAe,cAAc;;MCWhB,WAAW;;;;QASd,iBAAY,GAAW,EAAE,CAAC;qBAPsB,GAAG;qBAGJ,MAAM;;;IAO7D,kBAAkB,CAAC,QAAgB;QACjC,IAAI,CAAC,YAAY,GAAG,QAAQ,CAAC;KAC9B;IAED,iBAAiB;QACf,IAAI,CAAC,kBAAkB,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;KAC3C;IAED,MAAM;QACJ,MAAM,OAAO,GAAG,IAAI,IAAI,CAAC,KAAK,EAAE,CAAC;QACjC,MAAM,OAAO,GAAG;YACd,cAAc,EAAE,IAAI;YACpB,CAAC,uBAAuB,IAAI,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC,IAAI,CAAC,KAAK;YACnD,CAAC,uBAAuB,IAAI,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC,IAAI,CAAC,KAAK;SACpD,CAAC;QAEF,QACE,EAAC,IAAI,uDACH,EAAC,OAAO,qDAAC,KAAK,EAAE,OAAO,IACrB,8DAAa,EACZ,IAAI,CAAC,YAAY,IAAI,4DAAK,SAAS,EAAE,IAAI,CAAC,YAAY,GAAQ,CACvD,CACL,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/stzh-heading/stzh-heading.scss?tag=stzh-heading&encapsulation=scoped","src/components/stzh-heading/stzh-heading.tsx"],"sourcesContent":["/**\n * @prop --color: Color of heading\n *\n * @prop --stzh-heading-color: **Global**: Color of heading\n */\n\n:host {\n width: 100%;\n\n --color: #{$headingColor};\n color: var(--color);\n\n ::slotted(a),\n ::slotted(* a) {\n color: $linkColor;\n transition: color $baseTransitionAnimationSpeed;\n border-radius: $buttonBorderRadius;\n text-underline-offset: $linkTextUnderlineOffset;\n text-decoration-line: $linkTextDecorationLine;\n text-decoration-thickness: $linkTextDecorationThickness;\n text-decoration-skip-ink: $linkTextDecorationSkipInk;\n\n &:hover {\n color: $linkHoverColor;\n text-decoration-line: $linkHoverTextDecorationLine;\n }\n\n &:hover {\n color: $linkHoverColor;\n }\n }\n}\n\n.stzh-heading {\n @include font(\"title\");\n @include fontCurve(\"h2\", \"heading\"); // default\n color: var(--color);\n margin: 0;\n\n @for $i from 1 through 4 {\n &--level-#{$i} {\n @include fontCurve(\"h\" + $i, \"heading\");\n }\n }\n\n @each $fontCurveName, $config in $fontCurves {\n &--curve-#{$fontCurveName} {\n @include fontCurve($fontCurveName, \"heading\");\n }\n }\n}\n","import { Component, h, Host, Prop, Watch } from \"@stencil/core\";\n\nimport { Font } from \"../../index\";\n\n/**\n * @slot - Text content\n */\n@Component({\n tag: \"stzh-heading\",\n styleUrl: \"stzh-heading.scss\",\n scoped: true,\n})\nexport class StzhHeading {\n /** Heading level */\n @Prop({ reflect: true }) level: \"1\" | \"2\" | \"3\" | \"4\" = \"2\";\n\n /** Type of curve to overwrite the curve inherited from `level` attribute (see [Spacings docs page](/docs/tokens-typography--docs#curves) for more info). */\n @Prop({ reflect: true }) curve: Font.Curves | \"auto\" = \"auto\";\n\n /* HTML content (since innerHTML won't work when it's being changed after initial render) */\n @Prop() htmlContent: string;\n private _htmlContent: string = \"\";\n\n @Watch(\"htmlContent\")\n htmlContentWatcher(newValue: string) {\n this._htmlContent = newValue;\n }\n\n componentWillLoad() {\n this.htmlContentWatcher(this.htmlContent);\n }\n\n render() {\n const Heading = `h${this.level}`;\n const classes = {\n \"stzh-heading\": true,\n [`stzh-heading--level-${this.level}`]: !!this.level,\n [`stzh-heading--curve-${this.curve}`]: !!this.curve,\n };\n\n return (\n <Host>\n <Heading class={classes}>\n <slot></slot>\n {this._htmlContent && <div innerHTML={this._htmlContent}></div>}\n </Heading>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -20,12 +20,12 @@ const StzhSpace = /*@__PURE__*/ proxyCustomElement(class StzhSpace extends H {
|
|
|
20
20
|
this.border = "none";
|
|
21
21
|
}
|
|
22
22
|
render() {
|
|
23
|
-
return (h(Host, { key: '
|
|
23
|
+
return (h(Host, { key: '0127d359c7ace541aae74f5395a44f4a88d324d9' }, h("div", { key: '9dd25b5e4f694b81aa4bfb47fca7dd5347b9a353', class: {
|
|
24
24
|
"stzh-space": true,
|
|
25
25
|
"stzh-space--is-around": this.around,
|
|
26
26
|
[`stzh-space--justify-${this.justify}`]: !!this.justify,
|
|
27
27
|
[`stzh-space--items-${this.items}`]: !!this.items,
|
|
28
|
-
} }, h("slot", { key: '
|
|
28
|
+
} }, h("slot", { key: 'eb8dcf7931a28c4f866458154c063c4a115c7ed5' }))));
|
|
29
29
|
}
|
|
30
30
|
static get style() { return StzhSpaceStyle0; }
|
|
31
31
|
}, [1, "stzh-space", {
|
|
@@ -56,4 +56,4 @@ function defineCustomElement() {
|
|
|
56
56
|
|
|
57
57
|
export { StzhSpace as S, defineCustomElement as d };
|
|
58
58
|
|
|
59
|
-
//# sourceMappingURL=p-
|
|
59
|
+
//# sourceMappingURL=p-6d08555b.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-
|
|
1
|
+
{"file":"p-6d08555b.js","mappings":";;AAAA,MAAM,YAAY,GAAG,4laAA4la,CAAC;AAClna,wBAAe,YAAY;;MCWd,SAAS;;;;;qBAE2B,MAAM;;;;;;uBAcF,OAAO;qBAGX,OAAO;sBAGX,KAAK;sBAG8D,MAAM;;IAEpH,MAAM;QACJ,QACE,EAAC,IAAI,uDACH,4DACE,KAAK,EAAE;gBACL,YAAY,EAAE,IAAI;gBAClB,uBAAuB,EAAE,IAAI,CAAC,MAAM;gBACpC,CAAC,uBAAuB,IAAI,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC,IAAI,CAAC,OAAO;gBACvD,CAAC,qBAAqB,IAAI,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC,IAAI,CAAC,KAAK;aAClD,IAED,8DAAa,CACT,CACD,EACP;KACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":[],"sources":["src/components/stzh-space/stzh-space.scss?tag=stzh-space&encapsulation=shadow","src/components/stzh-space/stzh-space.tsx"],"sourcesContent":[":host {\n --space: #{space()};\n --around: 0;\n\n display: flex;\n color: inherit;\n font-weight: inherit;\n font-family: inherit;\n letter-spacing: inherit;\n\n ::slotted(*) {\n // fix IE11 not wrapping text\n max-width: 100%;\n padding: calc((var(--space) / 2) * var(--around));\n margin: calc((var(--space) / 2) * (1 - var(--around)));\n }\n\n ::slotted(stzh-show) {\n --show-display: block;\n }\n\n ::slotted(stzh-vspace),\n ::slotted(stzh-hspace),\n ::slotted(stzh-row),\n ::slotted(stzh-container),\n ::slotted(stzh-section) {\n align-self: stretch;\n flex-grow: 1;\n }\n}\n\n:host(:empty) {\n --around: 1;\n\n width: var(--space);\n height: var(--space);\n}\n\n:host([around]:not([around=\"false\"])) {\n --around: 1;\n}\n\n/* Border variants */\n\n:host([border=\"top\"]),\n:host([border=\"top-bottom\"]) {\n border-top: 1px solid $baseBorderColor;\n}\n\n:host([border=\"bottom\"]),\n:host([border=\"top-bottom\"]) {\n border-bottom: 1px solid $baseBorderColor;\n}\n\n:host([border=\"left\"]),\n:host([border=\"left-right\"]) {\n border-left: 1px solid $baseBorderColor;\n}\n\n:host([border=\"right\"]),\n:host([border=\"left-right\"]) {\n border-right: 1px solid $baseBorderColor;\n}\n\n/* Space curve variant */\n\n@each $spaceCurve, $value in $spaceCurves {\n $defaultSize: map-get($value, \"size\");\n $breakpointSizes: map-get($value, \"sizes\");\n\n // :host([curve=\"#{$spaceCurve}\"]) > .stzh-vspace {\n :host([curve=\"#{$spaceCurve}\"]) {\n --space: #{space($defaultSize)};\n\n @each $breakpoint, $size in $breakpointSizes {\n @include mq($from: $breakpoint) {\n --space: #{space($size)};\n }\n }\n }\n}\n\n@mixin spaceProps($breakpoint: null) {\n @each $space, $value in $spaceSizes {\n @if $breakpoint {\n // :host([size-#{$breakpoint}=\"#{$space}\"]) > .stzh-vspace {\n :host([size-#{$breakpoint}=\"#{$space}\"]) {\n @include mq($from: $breakpoint) {\n --space: #{$value};\n }\n }\n } @else {\n // :host([size=\"#{$space}\"]) > .stzh-vspace {\n :host([size=\"#{$space}\"]) {\n --space: #{$value};\n }\n }\n }\n}\n\n@include spaceProps();\n\n@each $breakpoint, $size in $breakpoints {\n @include spaceProps($breakpoint);\n}\n\n.stzh-space {\n flex-grow: 1;\n width: 100%;\n height: 100%;\n\n display: flex;\n justify-content: flex-start;\n align-items: flex-start;\n flex-wrap: wrap;\n padding: calc((var(--space) / -2) * var(--around));\n margin: calc((var(--space) / -2) * (1 - var(--around)));\n\n &--is-around {\n padding: calc((var(--space) / 2) * var(--around));\n margin: calc((var(--space) / 2) * (1 - var(--around)));\n }\n\n /* Justify content variants */\n\n &--justify-center {\n justify-content: center;\n }\n\n &--justify-end {\n justify-content: flex-end;\n }\n\n &--justify-between {\n justify-content: space-between;\n }\n\n &--justify-around {\n justify-content: space-around;\n }\n\n &--justify-evenly {\n justify-content: space-evenly;\n }\n\n /* Align items variants */\n\n &--items-end {\n align-items: flex-end;\n }\n\n &--items-center {\n align-items: center;\n }\n\n &--items-baseline {\n align-items: baseline;\n }\n\n &--items-stretch {\n align-items: stretch;\n }\n}\n","import { Component, Host, h, Prop } from \"@stencil/core\";\n\nimport { Space, Layout } from \"../../index\";\n\n/**\n * @slot - Slot for any elements that should be vertically spaced\n */\n@Component({\n tag: \"stzh-space\",\n styleUrl: \"stzh-space.scss\",\n shadow: true,\n})\nexport class StzhSpace {\n /** Type of curve (see [Spacings docs page](/docs/tokens-spacings--docs#curves) for more info). */\n @Prop({ reflect: true }) curve: Space.Curves = \"none\";\n\n /** Type of size (see [Spacings docs page](/docs/tokens-spacings--docs#values) for more info). */\n @Prop({ reflect: true }) size: Space.Sizes;\n /** Type of size above small breakpoint (see [Spacings docs page](/docs/tokens-spacings--docs#values) for more info). */\n @Prop({ reflect: true }) sizeSmall: Space.Sizes;\n /** Type of size above medium breakpoint (see [Spacings docs page](/docs/tokens-spacings--docs#values) for more info). */\n @Prop({ reflect: true }) sizeMedium: Space.Sizes;\n /** Type of size above large breakpoint (see [Spacings docs page](/docs/tokens-spacings--docs#values) for more info). */\n @Prop({ reflect: true }) sizeLarge: Space.Sizes;\n /** Type of size above ultra breakpoint (see [Spacings docs page](/docs/tokens-spacings--docs#values) for more info). */\n @Prop({ reflect: true }) sizeUltra: Space.Sizes;\n\n /** Alignment */\n @Prop({ reflect: true }) justify: Layout.Justify = \"start\";\n\n /** Control how cells items are positioned along a container's cross axis */\n @Prop({ reflect: true }) items: Layout.Items = \"start\";\n\n /** Apply spacing to slotted elements */\n @Prop({ reflect: true }) around: boolean = false;\n\n /** Add border */\n @Prop({ reflect: true }) border: \"none\" | \"top\" | \"bottom\" | \"left\" | \"right\" | \"left-right\" | \"top-bottom\" = \"none\";\n\n render() {\n return (\n <Host>\n <div\n class={{\n \"stzh-space\": true,\n \"stzh-space--is-around\": this.around,\n [`stzh-space--justify-${this.justify}`]: !!this.justify,\n [`stzh-space--items-${this.items}`]: !!this.items,\n }}\n >\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -12,7 +12,7 @@ const StzhChipgroup = /*@__PURE__*/ proxyCustomElement(class StzhChipgroup exten
|
|
|
12
12
|
const classes = {
|
|
13
13
|
"stzh-chipgroup": true,
|
|
14
14
|
};
|
|
15
|
-
return (h(Host, { key: '
|
|
15
|
+
return (h(Host, { key: '4c7e64f4acb37e905527d8162bc37b8704193a47' }, h("div", { key: '6ea413f28a9046dc884dce3d4f003760df0e4e53', class: classes }, h("slot", { key: 'f6d1747555d06553f1dda0e04881036912c204c3' }))));
|
|
16
16
|
}
|
|
17
17
|
get element() { return this; }
|
|
18
18
|
static get style() { return StzhChipgroupStyle0; }
|
|
@@ -33,4 +33,4 @@ function defineCustomElement() {
|
|
|
33
33
|
|
|
34
34
|
export { StzhChipgroup as S, defineCustomElement as d };
|
|
35
35
|
|
|
36
|
-
//# sourceMappingURL=p-
|
|
36
|
+
//# sourceMappingURL=p-70651df8.js.map
|