@oiz/stzh-components 4.13.0-beta3 → 4.13.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/{index-Bp0rLg2N.js → index-C_TLdBpH.js} +3 -3
- package/dist/cjs/{index-Bp0rLg2N.js.map → index-C_TLdBpH.js.map} +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/stzh-accordion_3.cjs.entry.js +1 -1
- package/dist/cjs/stzh-actions_6.cjs.entry.js +1 -1
- package/dist/cjs/stzh-actionset.cjs.entry.js +1 -1
- 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-archivelist.cjs.entry.js +1 -1
- package/dist/cjs/stzh-audio.cjs.entry.js +1 -1
- package/dist/cjs/stzh-badge_3.cjs.entry.js +1 -1
- package/dist/cjs/stzh-banner.cjs.entry.js +1 -1
- package/dist/cjs/stzh-breadcrumb_2.cjs.entry.js +1 -1
- package/dist/cjs/stzh-buttongroup.cjs.entry.js +1 -1
- package/dist/cjs/stzh-calendar.cjs.entry.js +1 -1
- package/dist/cjs/stzh-card-navigation.cjs.entry.js +3 -3
- package/dist/cjs/stzh-card-searchresult.cjs.entry.js +2 -5
- package/dist/cjs/stzh-card-superteaser.cjs.entry.js +1 -1
- package/dist/cjs/stzh-card_2.cjs.entry.js +1 -1
- package/dist/cjs/stzh-carousel.cjs.entry.js +1 -1
- package/dist/cjs/stzh-chart.cjs.entry.js +1 -1
- package/dist/cjs/stzh-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/stzh-checkboxgroup.cjs.entry.js +2 -2
- package/dist/cjs/stzh-chip_2.cjs.entry.js +2 -2
- package/dist/cjs/stzh-chipgroup.cjs.entry.js +1 -1
- package/dist/cjs/stzh-clamp.cjs.entry.js +1 -1
- package/dist/cjs/stzh-company-logo.cjs.entry.js +1 -1
- package/dist/cjs/stzh-components.cjs.js +1 -1
- package/dist/cjs/stzh-contact-cv.cjs.entry.js +1 -1
- package/dist/cjs/stzh-contact.cjs.entry.js +1 -1
- package/dist/cjs/stzh-container_2.cjs.entry.js +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 +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-datatable.cjs.entry.js +1 -1
- package/dist/cjs/stzh-datepicker_3.cjs.entry.js +2 -2
- 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 +1 -1
- package/dist/cjs/stzh-disturber.cjs.entry.js +1 -1
- package/dist/cjs/stzh-dropdown.cjs.entry.js +2 -2
- 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 +1 -1
- package/dist/cjs/stzh-ghettobox.cjs.entry.js +1 -1
- package/dist/cjs/stzh-header_3.cjs.entry.js +2 -2
- 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 +1 -1
- package/dist/cjs/stzh-hr.cjs.entry.js +1 -1
- package/dist/cjs/stzh-hspace.cjs.entry.js +1 -1
- package/dist/cjs/stzh-http-error.cjs.entry.js +1 -1
- package/dist/cjs/stzh-iframe.cjs.entry.js +1 -1
- package/dist/cjs/stzh-imagecomparison.cjs.entry.js +1 -1
- package/dist/cjs/{stzh-input-description-YJYkbAAu.js → stzh-input-description-DyEt2kgK.js} +3 -3
- package/dist/cjs/{stzh-input-description-YJYkbAAu.js.map → stzh-input-description-DyEt2kgK.js.map} +1 -1
- package/dist/cjs/stzh-input.cjs.entry.js +2 -2
- 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 +1 -1
- package/dist/cjs/stzh-loader.cjs.entry.js +1 -1
- package/dist/cjs/stzh-loadingbar.cjs.entry.js +1 -1
- package/dist/cjs/stzh-menu_2.cjs.entry.js +1 -1
- package/dist/cjs/stzh-message.cjs.entry.js +1 -1
- 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 +1 -1
- 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-layout.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pi-teaser.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pkzh-qr.cjs.entry.js +1 -1
- package/dist/cjs/stzh-popover.cjs.entry.js +1 -1
- package/dist/cjs/stzh-print_2.cjs.entry.js +1 -1
- 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 +1 -1
- package/dist/cjs/stzh-richtext.cjs.entry.js +1 -1
- package/dist/cjs/stzh-saptcha.cjs.entry.js +1 -1
- package/dist/cjs/stzh-scrollup.cjs.entry.js +1 -1
- package/dist/cjs/stzh-search.cjs.entry.js +1 -1
- package/dist/cjs/stzh-section.cjs.entry.js +1 -1
- package/dist/cjs/stzh-show.cjs.entry.js +1 -1
- package/dist/cjs/stzh-sitemap.cjs.entry.js +1 -1
- package/dist/cjs/stzh-skin-portal-mitwirken.cjs.entry.js +1 -1
- package/dist/cjs/stzh-skin-storybook-preview.cjs.entry.js +1 -1
- package/dist/cjs/stzh-skiplink.cjs.entry.js +1 -1
- package/dist/cjs/stzh-socialmediastream-item.cjs.entry.js +1 -1
- package/dist/cjs/stzh-socialmediastream.cjs.entry.js +1 -1
- package/dist/cjs/stzh-stepper-item.cjs.entry.js +1 -1
- package/dist/cjs/stzh-stepper.cjs.entry.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/cjs/stzh-toggle.cjs.entry.js +2 -2
- 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 +10 -13
- package/dist/cjs/stzh-vbz-carousel.cjs.entry.js +1 -1
- package/dist/cjs/stzh-vbz-connection-finder.cjs.entry.js +1 -1
- package/dist/cjs/stzh-vbz-intro.cjs.entry.js +1 -1
- package/dist/cjs/stzh-vbz-linechip.cjs.entry.js +1 -1
- package/dist/cjs/stzh-vbz-majorticker.cjs.entry.js +1 -1
- package/dist/cjs/stzh-vbz-ticker.cjs.entry.js +1 -1
- package/dist/cjs/stzh-visuallyhidden.cjs.entry.js +1 -1
- package/dist/cjs/stzh-vspace.cjs.entry.js +1 -1
- package/dist/cjs/stzh-youtube.cjs.entry.js +1 -1
- package/dist/collection/components/stzh-card-navigation/stzh-card-navigation.css +4 -0
- package/dist/collection/components/stzh-card-navigation/stzh-card-navigation.js +1 -1
- package/dist/collection/components/stzh-card-navigation/stzh-card-navigation.js.map +1 -1
- package/dist/collection/components/stzh-card-searchresult/stzh-card-searchresult.js +1 -4
- package/dist/collection/components/stzh-card-searchresult/stzh-card-searchresult.js.map +1 -1
- package/dist/collection/components/stzh-card-searchresult/stzh-card-searchresult.stories.js +2 -1
- package/dist/collection/components/stzh-header/stzh-header.css +1 -0
- package/dist/collection/components/stzh-upload/stzh-upload.js +10 -13
- package/dist/collection/components/stzh-upload/stzh-upload.js.map +1 -1
- package/dist/collection/components/stzh-upload/stzh-upload.stories.js +5 -5
- package/dist/components/index.js +2 -2
- package/dist/components/{p-Bje3oo2k.js → p-2zoJg-p3.js} +3 -3
- package/dist/components/{p-Bje3oo2k.js.map → p-2zoJg-p3.js.map} +1 -1
- package/dist/components/{p-BvqVpJTf.js → p-3vRDG1kG.js} +6 -6
- package/dist/components/{p-BvqVpJTf.js.map → p-3vRDG1kG.js.map} +1 -1
- package/dist/components/{p-Ccysfqy-.js → p-ANAbTBvv.js} +4 -4
- package/dist/components/{p-Ccysfqy-.js.map → p-ANAbTBvv.js.map} +1 -1
- package/dist/components/{p-Yn9z-xv7.js → p-B1bpRji0.js} +7 -7
- package/dist/components/{p-Yn9z-xv7.js.map → p-B1bpRji0.js.map} +1 -1
- package/dist/components/{p-kxNH1uWn.js → p-BFvfQqwV.js} +4 -4
- package/dist/components/{p-kxNH1uWn.js.map → p-BFvfQqwV.js.map} +1 -1
- package/dist/components/{p-BtMryHk0.js → p-BIaHkub8.js} +12 -12
- package/dist/components/{p-BtMryHk0.js.map → p-BIaHkub8.js.map} +1 -1
- package/dist/components/{p-DSIwFDJz.js → p-BJZwsXr4.js} +4 -4
- package/dist/components/{p-DSIwFDJz.js.map → p-BJZwsXr4.js.map} +1 -1
- package/dist/components/{p-C-FuUoEq.js → p-BL7NQ4Wt.js} +8 -8
- package/dist/components/{p-C-FuUoEq.js.map → p-BL7NQ4Wt.js.map} +1 -1
- package/dist/components/{p-BQZtw7Z7.js → p-BLo-sQFo.js} +7 -7
- package/dist/components/{p-BQZtw7Z7.js.map → p-BLo-sQFo.js.map} +1 -1
- package/dist/components/{p-DBAv0gnk.js → p-BMY0OZYH.js} +3 -3
- package/dist/components/{p-DBAv0gnk.js.map → p-BMY0OZYH.js.map} +1 -1
- package/dist/components/{p-DpRn3ACG.js → p-BWWR7g-q.js} +8 -8
- package/dist/components/{p-DpRn3ACG.js.map → p-BWWR7g-q.js.map} +1 -1
- package/dist/components/{p-CZ8Mjvap.js → p-BYV94voK.js} +10 -10
- package/dist/components/{p-CZ8Mjvap.js.map → p-BYV94voK.js.map} +1 -1
- package/dist/components/{p-CgQ_cBIG.js → p-BaQRAFeH.js} +3 -3
- package/dist/components/{p-CgQ_cBIG.js.map → p-BaQRAFeH.js.map} +1 -1
- package/dist/components/{p-DyYArL-E.js → p-Bdugfjv9.js} +3 -3
- package/dist/components/{p-DyYArL-E.js.map → p-Bdugfjv9.js.map} +1 -1
- package/dist/components/{p-Di8DhNdR.js → p-BmPPlJXz.js} +7 -7
- package/dist/components/{p-Di8DhNdR.js.map → p-BmPPlJXz.js.map} +1 -1
- package/dist/components/{p-DrN8vNr_.js → p-BpON_oEB.js} +4 -4
- package/dist/components/{p-DrN8vNr_.js.map → p-BpON_oEB.js.map} +1 -1
- package/dist/components/{p-BarwJybT.js → p-Bt50TX2f.js} +3 -3
- package/dist/components/{p-BarwJybT.js.map → p-Bt50TX2f.js.map} +1 -1
- package/dist/components/{p-CFAM9BEK.js → p-BuDWT42k.js} +9 -9
- package/dist/components/{p-CFAM9BEK.js.map → p-BuDWT42k.js.map} +1 -1
- package/dist/components/{p-H2x6aeWo.js → p-BuHcaeKS.js} +3 -3
- package/dist/components/{p-H2x6aeWo.js.map → p-BuHcaeKS.js.map} +1 -1
- package/dist/components/{p-BJJt9Z22.js → p-BvV59h_6.js} +5 -5
- package/dist/components/{p-BJJt9Z22.js.map → p-BvV59h_6.js.map} +1 -1
- package/dist/components/{p-CM8WZSVV.js → p-C-FXBCzT.js} +3 -3
- package/dist/components/{p-CM8WZSVV.js.map → p-C-FXBCzT.js.map} +1 -1
- package/dist/components/{p-Ct0XU0Xj.js → p-C1U0z0e7.js} +3 -3
- package/dist/components/{p-Ct0XU0Xj.js.map → p-C1U0z0e7.js.map} +1 -1
- package/dist/components/{p-CCyGg44V.js → p-C32EvZGw.js} +3 -3
- package/dist/components/{p-CCyGg44V.js.map → p-C32EvZGw.js.map} +1 -1
- package/dist/components/{p-NWy2ycR9.js → p-C32XvIgd.js} +11 -11
- package/dist/components/{p-NWy2ycR9.js.map → p-C32XvIgd.js.map} +1 -1
- package/dist/components/{p-CwBTEkzx.js → p-C4ug0GfL.js} +9 -9
- package/dist/components/{p-CwBTEkzx.js.map → p-C4ug0GfL.js.map} +1 -1
- package/dist/components/{p-CRQRuJiQ.js → p-C7BDblTx.js} +5 -5
- package/dist/components/{p-CRQRuJiQ.js.map → p-C7BDblTx.js.map} +1 -1
- package/dist/components/{p-CZhEDRHt.js → p-C8jnkCGM.js} +5 -5
- package/dist/components/{p-CZhEDRHt.js.map → p-C8jnkCGM.js.map} +1 -1
- package/dist/components/{p-DhS6kKt0.js → p-CCOQ6qgQ.js} +3 -3
- package/dist/components/{p-DhS6kKt0.js.map → p-CCOQ6qgQ.js.map} +1 -1
- package/dist/components/{p-DwOar9dv.js → p-CMftdbTV.js} +6 -6
- package/dist/components/{p-DwOar9dv.js.map → p-CMftdbTV.js.map} +1 -1
- package/dist/components/{p-BAEif_IN.js → p-CNa8Iilq.js} +12 -12
- package/dist/components/p-CNa8Iilq.js.map +1 -0
- package/dist/components/{p-BLcYkw6U.js → p-CZLauz36.js} +3 -3
- package/dist/components/{p-BLcYkw6U.js.map → p-CZLauz36.js.map} +1 -1
- package/dist/components/{p-C-FzSODV.js → p-CmKF84b9.js} +3 -3
- package/dist/components/{p-C-FzSODV.js.map → p-CmKF84b9.js.map} +1 -1
- package/dist/components/{p-BOm5Ou_u.js → p-CokSxwg4.js} +3 -3
- package/dist/components/{p-BOm5Ou_u.js.map → p-CokSxwg4.js.map} +1 -1
- package/dist/components/{p-ZfYU5vT8.js → p-CpKHaF5R.js} +4 -4
- package/dist/components/{p-ZfYU5vT8.js.map → p-CpKHaF5R.js.map} +1 -1
- package/dist/components/{p-C5BMqKn_.js → p-CuGNlsAf.js} +3 -3
- package/dist/components/{p-C5BMqKn_.js.map → p-CuGNlsAf.js.map} +1 -1
- package/dist/components/{p-AlFAPUcz.js → p-CvaREbqQ.js} +3 -3
- package/dist/components/{p-AlFAPUcz.js.map → p-CvaREbqQ.js.map} +1 -1
- package/dist/components/{p-kc3jagy9.js → p-D0sPQTAC.js} +5 -5
- package/dist/components/{p-kc3jagy9.js.map → p-D0sPQTAC.js.map} +1 -1
- package/dist/components/{p-BO75Hl9b.js → p-D1u4OrAq.js} +11 -11
- package/dist/components/{p-BO75Hl9b.js.map → p-D1u4OrAq.js.map} +1 -1
- package/dist/components/{p-BjvJ021V.js → p-D4_fDMz3.js} +3 -3
- package/dist/components/{p-BjvJ021V.js.map → p-D4_fDMz3.js.map} +1 -1
- package/dist/components/{p-BMWIx346.js → p-D7fY08-O.js} +3 -3
- package/dist/components/{p-BMWIx346.js.map → p-D7fY08-O.js.map} +1 -1
- package/dist/components/{p-DKirOAZM.js → p-DBcnovVn.js} +3 -3
- package/dist/components/{p-DKirOAZM.js.map → p-DBcnovVn.js.map} +1 -1
- package/dist/components/{p-C8WcT7h2.js → p-DCZZ334-.js} +3 -3
- package/dist/components/{p-C8WcT7h2.js.map → p-DCZZ334-.js.map} +1 -1
- package/dist/components/{p-BgQDT7bh.js → p-DD1Dj29b.js} +10 -10
- package/dist/components/{p-BgQDT7bh.js.map → p-DD1Dj29b.js.map} +1 -1
- package/dist/components/{p-DExx9Pjz.js → p-DGzfPovV.js} +12 -12
- package/dist/components/{p-DExx9Pjz.js.map → p-DGzfPovV.js.map} +1 -1
- package/dist/components/{p-QipvHyAq.js → p-DIVs83nG.js} +4 -4
- package/dist/components/{p-QipvHyAq.js.map → p-DIVs83nG.js.map} +1 -1
- package/dist/components/{p-Dw-ubnsp.js → p-DIwMTsdI.js} +7 -7
- package/dist/components/{p-Dw-ubnsp.js.map → p-DIwMTsdI.js.map} +1 -1
- package/dist/components/{p-CooWp6cI.js → p-DOX7Sb67.js} +3 -3
- package/dist/components/{p-CooWp6cI.js.map → p-DOX7Sb67.js.map} +1 -1
- package/dist/components/{p-B6_Nu7ol.js → p-DPhtvGYL.js} +3 -3
- package/dist/components/{p-B6_Nu7ol.js.map → p-DPhtvGYL.js.map} +1 -1
- package/dist/components/{p-Bhp6jtO8.js → p-DSZQskyr.js} +7 -7
- package/dist/components/{p-Bhp6jtO8.js.map → p-DSZQskyr.js.map} +1 -1
- package/dist/components/{p-DV5Ax_xD.js → p-DktieKZA.js} +3 -3
- package/dist/components/{p-DV5Ax_xD.js.map → p-DktieKZA.js.map} +1 -1
- package/dist/components/{p-Bax1A7b1.js → p-DpaVUmTK.js} +6 -6
- package/dist/components/{p-Bax1A7b1.js.map → p-DpaVUmTK.js.map} +1 -1
- package/dist/components/{p-yVdiMr7c.js → p-DtcaCKDY.js} +9 -9
- package/dist/components/{p-yVdiMr7c.js.map → p-DtcaCKDY.js.map} +1 -1
- package/dist/components/{p-Qlkl3kgw.js → p-He3WFr8N.js} +4 -4
- package/dist/components/{p-Qlkl3kgw.js.map → p-He3WFr8N.js.map} +1 -1
- package/dist/components/{p-D1_7Pmt5.js → p-J0-1oo_k.js} +3 -3
- package/dist/components/{p-D1_7Pmt5.js.map → p-J0-1oo_k.js.map} +1 -1
- package/dist/components/{p-DGm16OWS.js → p-V5mJZCwR.js} +3 -3
- package/dist/components/{p-DGm16OWS.js.map → p-V5mJZCwR.js.map} +1 -1
- package/dist/components/{p-BO2rq9qS.js → p-W_HkMjDQ.js} +3 -3
- package/dist/components/{p-BO2rq9qS.js.map → p-W_HkMjDQ.js.map} +1 -1
- package/dist/components/{p-Cpg9m791.js → p-btZjsbp7.js} +7 -7
- package/dist/components/{p-Cpg9m791.js.map → p-btZjsbp7.js.map} +1 -1
- package/dist/components/{p-DUdHhTLj.js → p-cK7enpxN.js} +3 -3
- package/dist/components/{p-DUdHhTLj.js.map → p-cK7enpxN.js.map} +1 -1
- package/dist/components/{p-BUMZ_F_w.js → p-fBN1fT9G.js} +7 -7
- package/dist/components/{p-BUMZ_F_w.js.map → p-fBN1fT9G.js.map} +1 -1
- package/dist/components/{p-C7BHBfNV.js → p-g99SJmS9.js} +5 -5
- package/dist/components/{p-C7BHBfNV.js.map → p-g99SJmS9.js.map} +1 -1
- package/dist/components/{p-DVHdn6_q.js → p-gOxHUQnX.js} +3 -3
- package/dist/components/{p-DVHdn6_q.js.map → p-gOxHUQnX.js.map} +1 -1
- package/dist/components/{p-C2x3czGO.js → p-jnLGVWPm.js} +7 -7
- package/dist/components/{p-C2x3czGO.js.map → p-jnLGVWPm.js.map} +1 -1
- package/dist/components/{p-BC5CKnR0.js → p-ndh9Y2u_.js} +3 -3
- package/dist/components/{p-BC5CKnR0.js.map → p-ndh9Y2u_.js.map} +1 -1
- package/dist/components/{p-CBCQoVcu.js → p-sEXM48gh.js} +7 -7
- package/dist/components/{p-CBCQoVcu.js.map → p-sEXM48gh.js.map} +1 -1
- package/dist/components/{p-u_QxrpaB.js → p-t-mFwf-h.js} +3 -3
- package/dist/components/{p-u_QxrpaB.js.map → p-t-mFwf-h.js.map} +1 -1
- package/dist/components/{p-DPMP2OtC.js → p-v8Ik0RFs.js} +3 -3
- package/dist/components/{p-DPMP2OtC.js.map → p-v8Ik0RFs.js.map} +1 -1
- package/dist/components/{p-DP0n1_w_.js → p-xZPbfH7_.js} +6 -6
- package/dist/components/{p-DP0n1_w_.js.map → p-xZPbfH7_.js.map} +1 -1
- package/dist/components/{p-B10Dxx4N.js → p-zbNc4ZBN.js} +6 -6
- package/dist/components/{p-B10Dxx4N.js.map → p-zbNc4ZBN.js.map} +1 -1
- package/dist/components/stzh-accordion-item.js +1 -1
- package/dist/components/stzh-accordion.js +1 -1
- package/dist/components/stzh-actions.js +1 -1
- package/dist/components/stzh-actionset.js +1 -1
- package/dist/components/stzh-amount.js +9 -9
- package/dist/components/stzh-anchornav.js +5 -5
- package/dist/components/stzh-app-nav.js +1 -1
- package/dist/components/stzh-appointments.js +13 -13
- package/dist/components/stzh-archivelist.js +7 -7
- package/dist/components/stzh-audio.js +5 -5
- package/dist/components/stzh-badge.js +1 -1
- package/dist/components/stzh-banner.js +4 -4
- 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 +4 -4
- package/dist/components/stzh-card-navigation.js.map +1 -1
- package/dist/components/stzh-card-searchresult.js +15 -18
- package/dist/components/stzh-card-searchresult.js.map +1 -1
- package/dist/components/stzh-card-superteaser.js +14 -14
- 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 +5 -5
- 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 +10 -10
- 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 +17 -17
- 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 +24 -24
- package/dist/components/stzh-ghettobox.js +4 -4
- 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 +6 -6
- package/dist/components/stzh-hr.js +1 -1
- package/dist/components/stzh-hspace.js +1 -1
- package/dist/components/stzh-http-error.js +6 -6
- package/dist/components/stzh-icon.js +1 -1
- package/dist/components/stzh-iframe.js +1 -1
- package/dist/components/stzh-imagecomparison.js +2 -2
- 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 +20 -20
- 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 +11 -11
- 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 +2 -2
- package/dist/components/stzh-pi-teaser.js +2 -2
- package/dist/components/stzh-pkzh-qr.js +20 -20
- 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 +4 -4
- package/dist/components/stzh-richtext.js +2 -2
- package/dist/components/stzh-row.js +1 -1
- package/dist/components/stzh-saptcha.js +7 -7
- package/dist/components/stzh-scrollup.js +1 -1
- package/dist/components/stzh-search.js +16 -16
- package/dist/components/stzh-section.js +1 -1
- package/dist/components/stzh-share.js +1 -1
- package/dist/components/stzh-show.js +1 -1
- package/dist/components/stzh-sitemap.js +9 -9
- package/dist/components/stzh-skin-portal-mitwirken.js +1 -1
- package/dist/components/stzh-skin-storybook-preview.js +1 -1
- package/dist/components/stzh-skiplink.js +1 -1
- package/dist/components/stzh-socialmediastream-item.js +1 -1
- package/dist/components/stzh-socialmediastream.js +6 -6
- package/dist/components/stzh-sortable.js +1 -1
- package/dist/components/stzh-space.js +1 -1
- package/dist/components/stzh-status.js +1 -1
- package/dist/components/stzh-stepper-item.js +1 -1
- package/dist/components/stzh-stepper.js +3 -3
- 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 +5 -5
- package/dist/components/stzh-tooltip.js +1 -1
- package/dist/components/stzh-twocolumns.js +1 -1
- package/dist/components/stzh-upload.js +21 -24
- package/dist/components/stzh-upload.js.map +1 -1
- package/dist/components/stzh-vbz-carousel.js +2 -2
- package/dist/components/stzh-vbz-connection-finder.js +1 -1
- package/dist/components/stzh-vbz-intro.js +5 -5
- 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 +1 -1
- package/dist/components/stzh-vspace.js +1 -1
- package/dist/components/stzh-youtube.js +6 -6
- package/dist/esm/{index-D21RGl5H.js → index-BeYTS5to.js} +3 -3
- package/dist/esm/{index-D21RGl5H.js.map → index-BeYTS5to.js.map} +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/stzh-accordion_3.entry.js +1 -1
- package/dist/esm/stzh-actions_6.entry.js +1 -1
- package/dist/esm/stzh-actionset.entry.js +1 -1
- 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-archivelist.entry.js +1 -1
- package/dist/esm/stzh-audio.entry.js +1 -1
- package/dist/esm/stzh-badge_3.entry.js +1 -1
- package/dist/esm/stzh-banner.entry.js +1 -1
- package/dist/esm/stzh-breadcrumb_2.entry.js +1 -1
- package/dist/esm/stzh-buttongroup.entry.js +1 -1
- package/dist/esm/stzh-calendar.entry.js +1 -1
- package/dist/esm/stzh-card-navigation.entry.js +3 -3
- package/dist/esm/stzh-card-navigation.entry.js.map +1 -1
- package/dist/esm/stzh-card-searchresult.entry.js +2 -5
- package/dist/esm/stzh-card-searchresult.entry.js.map +1 -1
- package/dist/esm/stzh-card-superteaser.entry.js +1 -1
- package/dist/esm/stzh-card_2.entry.js +1 -1
- package/dist/esm/stzh-carousel.entry.js +1 -1
- package/dist/esm/stzh-chart.entry.js +1 -1
- package/dist/esm/stzh-checkbox.entry.js +2 -2
- package/dist/esm/stzh-checkboxgroup.entry.js +2 -2
- package/dist/esm/stzh-chip_2.entry.js +2 -2
- package/dist/esm/stzh-chipgroup.entry.js +1 -1
- package/dist/esm/stzh-clamp.entry.js +1 -1
- 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 +1 -1
- package/dist/esm/stzh-container_2.entry.js +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 +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-datatable.entry.js +1 -1
- package/dist/esm/stzh-datepicker_3.entry.js +2 -2
- 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 +1 -1
- package/dist/esm/stzh-disturber.entry.js +1 -1
- package/dist/esm/stzh-dropdown.entry.js +2 -2
- 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 +1 -1
- package/dist/esm/stzh-ghettobox.entry.js +1 -1
- package/dist/esm/stzh-header_3.entry.js +2 -2
- 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 +1 -1
- package/dist/esm/stzh-hr.entry.js +1 -1
- package/dist/esm/stzh-hspace.entry.js +1 -1
- package/dist/esm/stzh-http-error.entry.js +1 -1
- package/dist/esm/stzh-iframe.entry.js +1 -1
- package/dist/esm/stzh-imagecomparison.entry.js +1 -1
- package/dist/esm/{stzh-input-description-BZlos0gM.js → stzh-input-description-0t9Kfy0T.js} +3 -3
- package/dist/esm/{stzh-input-description-BZlos0gM.js.map → stzh-input-description-0t9Kfy0T.js.map} +1 -1
- package/dist/esm/stzh-input.entry.js +2 -2
- 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 +1 -1
- package/dist/esm/stzh-loader.entry.js +1 -1
- package/dist/esm/stzh-loadingbar.entry.js +1 -1
- package/dist/esm/stzh-menu_2.entry.js +1 -1
- package/dist/esm/stzh-message.entry.js +1 -1
- 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 +1 -1
- 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-layout.entry.js +1 -1
- package/dist/esm/stzh-pi-teaser.entry.js +1 -1
- package/dist/esm/stzh-pkzh-qr.entry.js +1 -1
- package/dist/esm/stzh-popover.entry.js +1 -1
- package/dist/esm/stzh-print_2.entry.js +1 -1
- 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 +1 -1
- package/dist/esm/stzh-richtext.entry.js +1 -1
- package/dist/esm/stzh-saptcha.entry.js +1 -1
- package/dist/esm/stzh-scrollup.entry.js +1 -1
- package/dist/esm/stzh-search.entry.js +1 -1
- package/dist/esm/stzh-section.entry.js +1 -1
- package/dist/esm/stzh-show.entry.js +1 -1
- package/dist/esm/stzh-sitemap.entry.js +1 -1
- package/dist/esm/stzh-skin-portal-mitwirken.entry.js +1 -1
- package/dist/esm/stzh-skin-storybook-preview.entry.js +1 -1
- package/dist/esm/stzh-skiplink.entry.js +1 -1
- package/dist/esm/stzh-socialmediastream-item.entry.js +1 -1
- package/dist/esm/stzh-socialmediastream.entry.js +1 -1
- package/dist/esm/stzh-stepper-item.entry.js +1 -1
- package/dist/esm/stzh-stepper.entry.js +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/esm/stzh-toggle.entry.js +2 -2
- 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 +10 -13
- package/dist/esm/stzh-upload.entry.js.map +1 -1
- package/dist/esm/stzh-vbz-carousel.entry.js +1 -1
- package/dist/esm/stzh-vbz-connection-finder.entry.js +1 -1
- package/dist/esm/stzh-vbz-intro.entry.js +1 -1
- package/dist/esm/stzh-vbz-linechip.entry.js +1 -1
- package/dist/esm/stzh-vbz-majorticker.entry.js +1 -1
- package/dist/esm/stzh-vbz-ticker.entry.js +1 -1
- package/dist/esm/stzh-visuallyhidden.entry.js +1 -1
- package/dist/esm/stzh-vspace.entry.js +1 -1
- package/dist/esm/stzh-youtube.entry.js +1 -1
- package/dist/stzh-components/{p-b29ded58.entry.js → p-007d78fd.entry.js} +2 -2
- package/dist/stzh-components/{p-8acd9552.entry.js → p-01b9df5a.entry.js} +2 -2
- package/dist/stzh-components/{p-96bf35a9.entry.js → p-0272e760.entry.js} +2 -2
- package/dist/stzh-components/{p-33c5f6ea.entry.js → p-050f441a.entry.js} +2 -2
- package/dist/stzh-components/{p-be1a33c8.entry.js → p-079fa397.entry.js} +2 -2
- package/dist/stzh-components/{p-30f7e11d.entry.js → p-07ca6ef5.entry.js} +2 -2
- package/dist/stzh-components/{p-c601baf7.entry.js → p-0ba43e0e.entry.js} +2 -2
- package/dist/stzh-components/{p-6a525529.entry.js → p-0bd6f315.entry.js} +2 -2
- package/dist/stzh-components/{p-b4345f28.entry.js → p-0c101756.entry.js} +2 -2
- package/dist/stzh-components/{p-24aac680.entry.js → p-0cd15846.entry.js} +2 -2
- package/dist/stzh-components/{p-e394868b.entry.js → p-0ed4de93.entry.js} +2 -2
- package/dist/stzh-components/{p-e394868b.entry.js.map → p-0ed4de93.entry.js.map} +1 -1
- package/dist/stzh-components/{p-0e89185d.entry.js → p-0f368190.entry.js} +2 -2
- package/dist/stzh-components/{p-46d386fe.entry.js → p-12eadfb2.entry.js} +2 -2
- package/dist/stzh-components/{p-1ae6f59b.entry.js → p-16eba7e0.entry.js} +2 -2
- package/dist/stzh-components/{p-6bbd8ccd.entry.js → p-178bc5d2.entry.js} +2 -2
- package/dist/stzh-components/{p-554a3f0e.entry.js → p-179808aa.entry.js} +2 -2
- package/dist/stzh-components/{p-b648e54e.entry.js → p-1daff421.entry.js} +2 -2
- package/dist/stzh-components/{p-e96815fe.entry.js → p-1e915c27.entry.js} +2 -2
- package/dist/stzh-components/{p-d167b410.entry.js → p-21176939.entry.js} +2 -2
- package/dist/stzh-components/{p-921a5bf9.entry.js → p-28262897.entry.js} +2 -2
- package/dist/stzh-components/{p-977cc24f.entry.js → p-294ae00a.entry.js} +2 -2
- package/dist/stzh-components/{p-9353194e.entry.js → p-2abdc589.entry.js} +2 -2
- package/dist/stzh-components/{p-4f6da546.entry.js → p-2b7819e0.entry.js} +2 -2
- package/dist/stzh-components/{p-0d8d5500.entry.js → p-2d363f85.entry.js} +2 -2
- package/dist/stzh-components/{p-15376d5a.entry.js → p-2d8cbf4e.entry.js} +2 -2
- package/dist/stzh-components/{p-007b6793.entry.js → p-2f088786.entry.js} +2 -2
- package/dist/stzh-components/{p-49253b5d.entry.js → p-33026551.entry.js} +2 -2
- package/dist/stzh-components/{p-72cbea20.entry.js → p-33b2e102.entry.js} +2 -2
- package/dist/stzh-components/{p-7b9f8685.entry.js → p-3410fae9.entry.js} +2 -2
- package/dist/stzh-components/{p-eee6b6fa.entry.js → p-38c02dd0.entry.js} +2 -2
- package/dist/stzh-components/{p-33c7c971.entry.js → p-392e2499.entry.js} +2 -2
- package/dist/stzh-components/{p-58a9253f.entry.js → p-398f9f2c.entry.js} +2 -2
- package/dist/stzh-components/{p-961a71db.entry.js → p-39c858e3.entry.js} +2 -2
- package/dist/stzh-components/{p-a767822e.entry.js → p-3cdf3cac.entry.js} +2 -2
- package/dist/stzh-components/{p-dbadd635.entry.js → p-3e7b5f48.entry.js} +2 -2
- package/dist/stzh-components/{p-a97f0948.entry.js → p-3f3099c4.entry.js} +2 -2
- package/dist/stzh-components/{p-6d29d9bb.entry.js → p-4246f35f.entry.js} +2 -2
- package/dist/stzh-components/{p-57a33e42.entry.js → p-4725630b.entry.js} +2 -2
- package/dist/stzh-components/{p-10659241.entry.js → p-47e2552e.entry.js} +2 -2
- package/dist/stzh-components/{p-a253a5d1.entry.js → p-48029431.entry.js} +2 -2
- package/dist/stzh-components/{p-b12463c3.entry.js → p-4ac15f88.entry.js} +2 -2
- package/dist/stzh-components/{p-a3d7fbad.entry.js → p-4c92941f.entry.js} +2 -2
- package/dist/stzh-components/{p-894a52c2.entry.js → p-4d29e961.entry.js} +2 -2
- package/dist/stzh-components/{p-39ee13b0.entry.js → p-4fb33342.entry.js} +2 -2
- package/dist/stzh-components/{p-2534447c.entry.js → p-50ad83ad.entry.js} +2 -2
- package/dist/stzh-components/{p-655f0471.entry.js → p-5258a535.entry.js} +2 -2
- package/dist/stzh-components/{p-14c8e1f9.entry.js → p-532fe029.entry.js} +2 -2
- package/dist/stzh-components/{p-f833d6a4.entry.js → p-543f0d52.entry.js} +2 -2
- package/dist/stzh-components/{p-b5648b95.entry.js → p-5623ef6e.entry.js} +3 -3
- package/dist/stzh-components/{p-52670445.entry.js → p-5836638b.entry.js} +2 -2
- package/dist/stzh-components/{p-c4650442.entry.js → p-58dbc135.entry.js} +2 -2
- package/dist/stzh-components/{p-eac4e080.entry.js → p-59ad749b.entry.js} +2 -2
- package/dist/stzh-components/{p-22786f12.entry.js → p-5a7cdf2a.entry.js} +2 -2
- package/dist/stzh-components/{p-e0813830.entry.js → p-5e966b72.entry.js} +2 -2
- package/dist/stzh-components/{p-086f4792.entry.js → p-6056a756.entry.js} +2 -2
- package/dist/stzh-components/{p-365e98d0.entry.js → p-65b004ba.entry.js} +2 -2
- package/dist/stzh-components/{p-3cc80208.entry.js → p-67bdcbf8.entry.js} +2 -2
- package/dist/stzh-components/{p-64792c2b.entry.js → p-6811e5ba.entry.js} +2 -2
- package/dist/stzh-components/{p-c23f1fca.entry.js → p-697e0d0e.entry.js} +2 -2
- package/dist/stzh-components/{p-a195734d.entry.js → p-698094f1.entry.js} +2 -2
- package/dist/stzh-components/{p-88ec12ab.entry.js → p-69e26703.entry.js} +2 -2
- package/dist/stzh-components/{p-2ad723e5.entry.js → p-69f1e77d.entry.js} +2 -2
- package/dist/stzh-components/{p-b44f99f6.entry.js → p-76ff58a9.entry.js} +2 -2
- package/dist/stzh-components/{p-376feb99.entry.js → p-77fba478.entry.js} +2 -2
- package/dist/stzh-components/{p-8704c48a.entry.js → p-7a51979e.entry.js} +2 -2
- package/dist/stzh-components/{p-b76f40fe.entry.js → p-7b1e5fc8.entry.js} +2 -2
- package/dist/stzh-components/{p-79205e58.entry.js → p-7cadab67.entry.js} +2 -2
- package/dist/stzh-components/{p-79205e58.entry.js.map → p-7cadab67.entry.js.map} +1 -1
- package/dist/stzh-components/{p-ee55d06f.entry.js → p-7ea65881.entry.js} +2 -2
- package/dist/stzh-components/{p-da1a77b6.entry.js → p-80b1fb1b.entry.js} +2 -2
- package/dist/stzh-components/{p-c21e8fcb.entry.js → p-82014825.entry.js} +2 -2
- package/dist/stzh-components/{p-d35c207c.entry.js → p-837e98aa.entry.js} +2 -2
- package/dist/stzh-components/{p-e1cd9309.entry.js → p-848f2de3.entry.js} +2 -2
- package/dist/stzh-components/{p-29f46e68.entry.js → p-866099a2.entry.js} +2 -2
- package/dist/stzh-components/{p-29f46e68.entry.js.map → p-866099a2.entry.js.map} +1 -1
- package/dist/stzh-components/{p-9096c127.entry.js → p-899e4fc6.entry.js} +2 -2
- package/dist/stzh-components/{p-c9ae877f.entry.js → p-8c8adb13.entry.js} +2 -2
- package/dist/stzh-components/{p-4bfa6af6.entry.js → p-8ea28390.entry.js} +2 -2
- package/dist/stzh-components/{p-8a032103.entry.js → p-90d7442c.entry.js} +2 -2
- package/dist/stzh-components/{p-f59e3c78.entry.js → p-929a434b.entry.js} +2 -2
- package/dist/stzh-components/{p-c43c01e9.entry.js → p-94bb66f5.entry.js} +2 -2
- package/dist/stzh-components/{p-c3a80361.entry.js → p-9560e915.entry.js} +2 -2
- package/dist/stzh-components/{p-52572a21.entry.js → p-95649307.entry.js} +2 -2
- package/dist/stzh-components/{p-12d385ce.entry.js → p-96e99e96.entry.js} +2 -2
- package/dist/stzh-components/p-96e99e96.entry.js.map +1 -0
- package/dist/stzh-components/{p-7496267e.entry.js → p-96eb42b2.entry.js} +2 -2
- package/dist/stzh-components/{p-d5e6b97e.entry.js → p-97826448.entry.js} +2 -2
- package/dist/stzh-components/{p-d7795ca4.entry.js → p-9a4c0452.entry.js} +2 -2
- package/dist/stzh-components/{p-998f7eca.entry.js → p-9c9c6c85.entry.js} +2 -2
- package/dist/stzh-components/{p-2037acf3.entry.js → p-9e41c979.entry.js} +2 -2
- package/dist/stzh-components/{p-197e950d.entry.js → p-9ef1f8b2.entry.js} +2 -2
- package/dist/stzh-components/{p-1db22e54.entry.js → p-9fc3c818.entry.js} +2 -2
- package/dist/stzh-components/p-BeYTS5to.js +3 -0
- package/dist/stzh-components/{p-D21RGl5H.js.map → p-BeYTS5to.js.map} +1 -1
- package/dist/stzh-components/p-DOMoFgs-.js +2 -0
- package/dist/stzh-components/{p-Cp0exJeG.js.map → p-DOMoFgs-.js.map} +1 -1
- package/dist/stzh-components/{p-c226cb32.entry.js → p-a00f95c7.entry.js} +2 -2
- package/dist/stzh-components/{p-9508275e.entry.js → p-a1e9cfba.entry.js} +2 -2
- package/dist/stzh-components/{p-a2652b75.entry.js → p-a34a8bdb.entry.js} +2 -2
- package/dist/stzh-components/{p-d15b58ea.entry.js → p-a5137c14.entry.js} +2 -2
- package/dist/stzh-components/{p-dbcd86c8.entry.js → p-a51eb5f2.entry.js} +6 -6
- package/dist/stzh-components/{p-07b50263.entry.js → p-ac89ceda.entry.js} +3 -3
- package/dist/stzh-components/{p-310f9d17.entry.js → p-b081df80.entry.js} +2 -2
- package/dist/stzh-components/{p-f09c8462.entry.js → p-b0a79de1.entry.js} +2 -2
- package/dist/stzh-components/{p-bde65396.entry.js → p-b45a6e9e.entry.js} +2 -2
- package/dist/stzh-components/{p-40497f58.entry.js → p-b7592873.entry.js} +6 -6
- package/dist/stzh-components/{p-29348254.entry.js → p-b7809776.entry.js} +2 -2
- package/dist/stzh-components/{p-90588c97.entry.js → p-ba487e20.entry.js} +2 -2
- package/dist/stzh-components/{p-8b1ae02a.entry.js → p-bb6aa8f0.entry.js} +2 -2
- package/dist/stzh-components/{p-f8fdbec3.entry.js → p-bf19e49a.entry.js} +2 -2
- package/dist/stzh-components/{p-5b0819a4.entry.js → p-c273fb23.entry.js} +2 -2
- package/dist/stzh-components/{p-33fe3b85.entry.js → p-c43f9396.entry.js} +2 -2
- package/dist/stzh-components/{p-96c6a523.entry.js → p-c8be55a4.entry.js} +2 -2
- package/dist/stzh-components/{p-e4722675.entry.js → p-c9424d22.entry.js} +2 -2
- package/dist/stzh-components/{p-00e7f722.entry.js → p-cbdc5cdb.entry.js} +2 -2
- package/dist/stzh-components/{p-bdce622c.entry.js → p-cbf31673.entry.js} +2 -2
- package/dist/stzh-components/{p-9ddd35a8.entry.js → p-ce29376e.entry.js} +2 -2
- package/dist/stzh-components/{p-9ecedaa4.entry.js → p-d2523c79.entry.js} +2 -2
- package/dist/stzh-components/{p-7cd81928.entry.js → p-d6a64579.entry.js} +2 -2
- package/dist/stzh-components/{p-57f1abf9.entry.js → p-d7766318.entry.js} +2 -2
- package/dist/stzh-components/{p-054def51.entry.js → p-d77a3842.entry.js} +2 -2
- package/dist/stzh-components/{p-1ae47c30.entry.js → p-de177989.entry.js} +2 -2
- package/dist/stzh-components/{p-2dd00faf.entry.js → p-df920ace.entry.js} +2 -2
- package/dist/stzh-components/{p-8dac6bd6.entry.js → p-e2b57066.entry.js} +2 -2
- package/dist/stzh-components/{p-a61c938e.entry.js → p-e8ee43d3.entry.js} +2 -2
- package/dist/stzh-components/{p-42b99ec1.entry.js → p-ee883e3c.entry.js} +2 -2
- package/dist/stzh-components/{p-91b3de7a.entry.js → p-ef2cdb7d.entry.js} +2 -2
- package/dist/stzh-components/{p-8b7ad22e.entry.js → p-ef9b3719.entry.js} +2 -2
- package/dist/stzh-components/{p-582018c3.entry.js → p-eff01eb7.entry.js} +2 -2
- package/dist/stzh-components/{p-fd2e7cf9.entry.js → p-f80d382c.entry.js} +2 -2
- package/dist/stzh-components/{p-617089ce.entry.js → p-f84eee88.entry.js} +2 -2
- package/dist/stzh-components/{p-232759c7.entry.js → p-f8bd13e7.entry.js} +2 -2
- package/dist/stzh-components/{p-4bdd0c96.entry.js → p-f9f34a81.entry.js} +2 -2
- package/dist/stzh-components/{p-ebc7e740.entry.js → p-fc50ba7f.entry.js} +2 -2
- package/dist/stzh-components/{p-4824221b.entry.js → p-fda334f4.entry.js} +3 -3
- package/dist/stzh-components/{p-ac708899.entry.js → p-fda9e8f6.entry.js} +2 -2
- package/dist/stzh-components/{p-ae83cad2.entry.js → p-fe6e907a.entry.js} +2 -2
- package/dist/stzh-components/stzh-components.esm.js +1 -1
- package/dist/types/components/stzh-upload/stzh-upload.d.ts +1 -4
- package/dist/types/components.d.ts +4 -4
- package/dist/vscode-data.json +1 -1
- package/package.json +1 -1
- package/dist/components/p-BAEif_IN.js.map +0 -1
- package/dist/stzh-components/p-12d385ce.entry.js.map +0 -1
- package/dist/stzh-components/p-Cp0exJeG.js +0 -2
- package/dist/stzh-components/p-D21RGl5H.js +0 -3
- /package/dist/stzh-components/{p-b29ded58.entry.js.map → p-007d78fd.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-8acd9552.entry.js.map → p-01b9df5a.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-96bf35a9.entry.js.map → p-0272e760.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-33c5f6ea.entry.js.map → p-050f441a.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-be1a33c8.entry.js.map → p-079fa397.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-30f7e11d.entry.js.map → p-07ca6ef5.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-c601baf7.entry.js.map → p-0ba43e0e.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-6a525529.entry.js.map → p-0bd6f315.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b4345f28.entry.js.map → p-0c101756.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-24aac680.entry.js.map → p-0cd15846.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-0e89185d.entry.js.map → p-0f368190.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-46d386fe.entry.js.map → p-12eadfb2.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-1ae6f59b.entry.js.map → p-16eba7e0.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-6bbd8ccd.entry.js.map → p-178bc5d2.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-554a3f0e.entry.js.map → p-179808aa.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b648e54e.entry.js.map → p-1daff421.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-e96815fe.entry.js.map → p-1e915c27.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-d167b410.entry.js.map → p-21176939.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-921a5bf9.entry.js.map → p-28262897.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-977cc24f.entry.js.map → p-294ae00a.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-9353194e.entry.js.map → p-2abdc589.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-4f6da546.entry.js.map → p-2b7819e0.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-0d8d5500.entry.js.map → p-2d363f85.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-15376d5a.entry.js.map → p-2d8cbf4e.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-007b6793.entry.js.map → p-2f088786.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-49253b5d.entry.js.map → p-33026551.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-72cbea20.entry.js.map → p-33b2e102.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-7b9f8685.entry.js.map → p-3410fae9.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-eee6b6fa.entry.js.map → p-38c02dd0.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-33c7c971.entry.js.map → p-392e2499.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-58a9253f.entry.js.map → p-398f9f2c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-961a71db.entry.js.map → p-39c858e3.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a767822e.entry.js.map → p-3cdf3cac.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-dbadd635.entry.js.map → p-3e7b5f48.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a97f0948.entry.js.map → p-3f3099c4.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-6d29d9bb.entry.js.map → p-4246f35f.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-57a33e42.entry.js.map → p-4725630b.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-10659241.entry.js.map → p-47e2552e.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a253a5d1.entry.js.map → p-48029431.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b12463c3.entry.js.map → p-4ac15f88.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a3d7fbad.entry.js.map → p-4c92941f.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-894a52c2.entry.js.map → p-4d29e961.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-39ee13b0.entry.js.map → p-4fb33342.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-2534447c.entry.js.map → p-50ad83ad.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-655f0471.entry.js.map → p-5258a535.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-14c8e1f9.entry.js.map → p-532fe029.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-f833d6a4.entry.js.map → p-543f0d52.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b5648b95.entry.js.map → p-5623ef6e.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-52670445.entry.js.map → p-5836638b.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-c4650442.entry.js.map → p-58dbc135.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-eac4e080.entry.js.map → p-59ad749b.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-22786f12.entry.js.map → p-5a7cdf2a.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-e0813830.entry.js.map → p-5e966b72.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-086f4792.entry.js.map → p-6056a756.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-365e98d0.entry.js.map → p-65b004ba.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-3cc80208.entry.js.map → p-67bdcbf8.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-64792c2b.entry.js.map → p-6811e5ba.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-c23f1fca.entry.js.map → p-697e0d0e.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a195734d.entry.js.map → p-698094f1.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-88ec12ab.entry.js.map → p-69e26703.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-2ad723e5.entry.js.map → p-69f1e77d.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b44f99f6.entry.js.map → p-76ff58a9.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-376feb99.entry.js.map → p-77fba478.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-8704c48a.entry.js.map → p-7a51979e.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b76f40fe.entry.js.map → p-7b1e5fc8.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-ee55d06f.entry.js.map → p-7ea65881.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-da1a77b6.entry.js.map → p-80b1fb1b.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-c21e8fcb.entry.js.map → p-82014825.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-d35c207c.entry.js.map → p-837e98aa.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-e1cd9309.entry.js.map → p-848f2de3.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-9096c127.entry.js.map → p-899e4fc6.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-c9ae877f.entry.js.map → p-8c8adb13.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-4bfa6af6.entry.js.map → p-8ea28390.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-8a032103.entry.js.map → p-90d7442c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-f59e3c78.entry.js.map → p-929a434b.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-c43c01e9.entry.js.map → p-94bb66f5.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-c3a80361.entry.js.map → p-9560e915.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-52572a21.entry.js.map → p-95649307.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-7496267e.entry.js.map → p-96eb42b2.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-d5e6b97e.entry.js.map → p-97826448.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-d7795ca4.entry.js.map → p-9a4c0452.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-998f7eca.entry.js.map → p-9c9c6c85.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-2037acf3.entry.js.map → p-9e41c979.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-197e950d.entry.js.map → p-9ef1f8b2.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-1db22e54.entry.js.map → p-9fc3c818.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-c226cb32.entry.js.map → p-a00f95c7.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-9508275e.entry.js.map → p-a1e9cfba.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a2652b75.entry.js.map → p-a34a8bdb.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-d15b58ea.entry.js.map → p-a5137c14.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-dbcd86c8.entry.js.map → p-a51eb5f2.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-07b50263.entry.js.map → p-ac89ceda.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-310f9d17.entry.js.map → p-b081df80.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-f09c8462.entry.js.map → p-b0a79de1.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-bde65396.entry.js.map → p-b45a6e9e.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-40497f58.entry.js.map → p-b7592873.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-29348254.entry.js.map → p-b7809776.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-90588c97.entry.js.map → p-ba487e20.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-8b1ae02a.entry.js.map → p-bb6aa8f0.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-f8fdbec3.entry.js.map → p-bf19e49a.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-5b0819a4.entry.js.map → p-c273fb23.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-33fe3b85.entry.js.map → p-c43f9396.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-96c6a523.entry.js.map → p-c8be55a4.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-e4722675.entry.js.map → p-c9424d22.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-00e7f722.entry.js.map → p-cbdc5cdb.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-bdce622c.entry.js.map → p-cbf31673.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-9ddd35a8.entry.js.map → p-ce29376e.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-9ecedaa4.entry.js.map → p-d2523c79.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-7cd81928.entry.js.map → p-d6a64579.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-57f1abf9.entry.js.map → p-d7766318.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-054def51.entry.js.map → p-d77a3842.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-1ae47c30.entry.js.map → p-de177989.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-2dd00faf.entry.js.map → p-df920ace.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-8dac6bd6.entry.js.map → p-e2b57066.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a61c938e.entry.js.map → p-e8ee43d3.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-42b99ec1.entry.js.map → p-ee883e3c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-91b3de7a.entry.js.map → p-ef2cdb7d.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-8b7ad22e.entry.js.map → p-ef9b3719.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-582018c3.entry.js.map → p-eff01eb7.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-fd2e7cf9.entry.js.map → p-f80d382c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-617089ce.entry.js.map → p-f84eee88.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-232759c7.entry.js.map → p-f8bd13e7.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-4bdd0c96.entry.js.map → p-f9f34a81.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-ebc7e740.entry.js.map → p-fc50ba7f.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-4824221b.entry.js.map → p-fda334f4.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-ac708899.entry.js.map → p-fda9e8f6.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-ae83cad2.entry.js.map → p-fe6e907a.entry.js.map} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, d as createEvent, h, F as Fragment, e as Host, t as transformTag } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, d as createEvent, h, F as Fragment, e as Host, t as transformTag } from './p-C1U0z0e7.js';
|
|
2
2
|
import { h as hasSlot } from './p-Dk-EHN3E.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-ndh9Y2u_.js';
|
|
4
|
+
import { d as defineCustomElement$1 } from './p-CuGNlsAf.js';
|
|
5
5
|
|
|
6
6
|
const stzhButtonCss = () => `.sc-stzh-button-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-button-h,[stzh-hidden].sc-stzh-button-h{display:none}.sc-stzh-button-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-button-h *.sc-stzh-button,.sc-stzh-button-h *.sc-stzh-button::before,.sc-stzh-button-h *.sc-stzh-button::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-button-h .has-focus.sc-stzh-button{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-button-h .stzh-fylingfocus-focused.sc-stzh-button{outline-style:none !important}.sc-stzh-button-h .stzh-fylingfocus-focused.sc-stzh-button::-moz-focus-inner{border:0 !important}.sc-stzh-button-h{--height:var(--stzh-form-input-height);--padding-top:calc(var(--stzh-space-xsmall) - var(--border-width));--padding-bottom:calc(var(--stzh-space-xsmall) - var(--border-width));--padding-left:calc(var(--stzh-space-xlarge) - var(--border-width));--padding-right:calc(var(--stzh-space-xlarge) - var(--border-width));--font-size:var(--stzh-font-centi-font-size);--line-height:var(--stzh-font-centi-text-line-height);--letter-spacing:normal;--icon-size:var(--stzh-icon-size-medium);--icon-toggle-size:0.90625rem}.sc-stzh-button-h:where([icon-only]:not([icon-only=false])){--icon-size:var(--stzh-icon-size-large)}.sc-stzh-button-h{--color:var(--stzh-button-color, var(--stzh-color-white));--background-color:var(--stzh-button-background-color, var(--stzh-color-primary70));--border-width:0px;--border-color:transparent;--border-radius:0px;--icon-text-margin:var(--stzh-space-xsmall);--icon-toggle-color:currentColor;--badge-icon-text-margin:calc(var(--icon-text-margin) + var(--stzh-space-xxsmall));--white-space:var(--stzh-button-white-space, normal);--box-shadow:none;--cursor:pointer;--hover-color:var(--stzh-button-hover-color, var(--stzh-color-white));--hover-background-color:var(
|
|
7
7
|
--stzh-button-hover-background-color,
|
|
@@ -291,6 +291,6 @@ function defineCustomElement() {
|
|
|
291
291
|
}
|
|
292
292
|
|
|
293
293
|
export { StzhButton as S, defineCustomElement as d };
|
|
294
|
-
//# sourceMappingURL=p-
|
|
294
|
+
//# sourceMappingURL=p-D0sPQTAC.js.map
|
|
295
295
|
|
|
296
|
-
//# sourceMappingURL=p-
|
|
296
|
+
//# sourceMappingURL=p-D0sPQTAC.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-kc3jagy9.js","mappings":";;;;;AAAA,MAAM,aAAa,GAAG,MAAM,CAAC;AAC7B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,k2hBAAk2hB,CAAC;;MCZt1hB,UAAU,iBAAAA,kBAAA,CAAA,MAAA,UAAA,SAAAC,CAAA,CAAA;AALvB,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;;;;;AAUU,QAAA,IAAK,CAAA,KAAA,GAAW,EAAE;;AAGlB,QAAA,IAAa,CAAA,aAAA,GAAY,KAAK;;AAGb,QAAA,IAAS,CAAA,SAAA,GAAkB,SAAS;;AAGpC,QAAA,IAAa,CAAA,aAAA,GAAsB,QAAQ;;AAG3C,QAAA,IAAU,CAAA,UAAA,GAAY,KAAK;;AAG3B,QAAA,IAAS,CAAA,SAAA,GAAY,KAAK;;AAG1B,QAAA,IAAO,CAAA,OAAA,G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F,eAAA,EAAA,OAAO,IAAI,CAAC,YAAY,KAAK,WAAW,IAAI,IAAI,CAAC,YAAY,GAAG,MAAM,GAAG,OAAO,IAAI,IAAI,mBACxF,IAAI,CAAC,YAAY,IAAI,IAAI,kBAC1B,IAAI,CAAC,WAAW,IAAI,IAAI,EACtC,EAAE,EAAE,IAAI,CAAC,QAAQ,EACjB,SAAS,EAAE,IAAI,CAAC,eAAe,EAC/B,QAAQ,EAAE,IAAI,CAAC,YAAY,EAC3B,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,OAAO,EAAE,IAAI,CAAC,OAAO,EAAA,EAEpB,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,CACpB,CACV,CACI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-button/stzh-button.scss?tag=stzh-button&encapsulation=scoped","src/components/stzh-button/stzh-button.tsx"],"sourcesContent":["/**\n * @prop --height: Height of button\n * @prop --padding-top: Padding top of button\n * @prop --padding-bottom: Padding bottom of button\n * @prop --padding-left: Padding left of button\n * @prop --padding-right: Padding right of button\n * @prop --border-radius: Border radius of button\n * @prop --color: Color of button\n * @prop --background-color: Background color of button\n * @prop --border-color: Border color of button\n * @prop --icon-size: Size of icon next to button\n * @prop --hover-color: Hover color of button\n * @prop --hover-background-color: Hover background color of button\n * @prop --hover-border-color: Hover border color of button\n * @prop --white-space: White space behaviour of button\n *\n * @prop --stzh-form-input-height: **Global**: Height of fields & buttons\n * @prop --stzh-form-input-small-height: **Global**: Height of fields & buttons when small variant is used\n * @prop --stzh-form-input-tiny-height: **Global**: Height of fields & buttons when tiny variant is used\n */\n\n@mixin button--size-default() {\n --height: #{$formInputHeight};\n --padding-top: calc(#{space(\"xsmall\")} - var(--border-width));\n --padding-bottom: calc(#{space(\"xsmall\")} - var(--border-width));\n --padding-left: calc(#{space(\"xlarge\")} - var(--border-width));\n --padding-right: calc(#{space(\"xlarge\")} - var(--border-width));\n --font-size: var(--stzh-font-centi-font-size);\n --line-height: var(--stzh-font-centi-text-line-height);\n --letter-spacing: normal;\n --icon-size: #{iconSize(\"medium\")};\n --icon-toggle-size: 14.5px;\n\n &:where([icon-only]:not([icon-only=\"false\"])) {\n --icon-size: #{iconSize(\"large\")};\n }\n}\n\n@mixin button--size-small() {\n --height: #{$formInputHeightSmall};\n --padding-left: calc(#{space(\"large\")} - var(--border-width));\n --padding-right: calc(#{space(\"large\")} - var(--border-width));\n --font-size: var(--stzh-font-milli-font-size);\n --line-height: var(--stzh-font-milli-text-line-height);\n --icon-size: #{iconSize(\"medium\")};\n}\n\n@mixin button--size-tiny() {\n --height: #{$formInputHeightTiny};\n --padding-left: calc(#{space(\"medium\")} - var(--border-width));\n --padding-right: calc(#{space(\"medium\")} - var(--border-width));\n --padding-top: calc(#{space(\"xxsmall\")} - var(--border-width));\n --padding-bottom: calc(#{space(\"xxsmall\")} - var(--border-width));\n --font-size: var(--stzh-font-milli-font-size);\n --line-height: var(--stzh-font-milli-text-line-height);\n --icon-size: #{iconSize(\"medium\")};\n}\n\n@mixin button--forced-colors-default() {\n --border-width: 2px;\n\n --color: ButtonText;\n --border-color: ButtonBorder;\n --background-color: ButtonFace;\n\n --hover-color: HighlightText;\n --hover-border-color: Highlight;\n --hover-background-color: Highlight;\n}\n\n@mixin button--forced-colors-disabled() {\n --border-width: 2px;\n\n --color: GrayText;\n --border-color: GrayText;\n --background-color: transparent;\n\n --hover-color: GrayText;\n --hover-border-color: GrayText;\n --hover-background-color: transparent;\n}\n\n:host {\n @include button--size-default;\n --color: var(--stzh-button-color, #{$colorWhite});\n --background-color: var(--stzh-button-background-color, #{$colorPrimary70});\n --border-width: 0px;\n --border-color: transparent;\n --border-radius: 0px;\n --icon-text-margin: #{space(\"xsmall\")};\n --icon-toggle-color: currentColor;\n --badge-icon-text-margin: calc(var(--icon-text-margin) + #{space(\"xxsmall\")});\n --white-space: var(--stzh-button-white-space, normal);\n --box-shadow: none;\n --cursor: pointer;\n\n --hover-color: var(--stzh-button-hover-color, #{$colorWhite});\n --hover-background-color: var(\n --stzh-button-hover-background-color,\n #{$colorSecondary60}\n );\n --hover-border-color: transparent;\n\n display: inline-flex;\n width: auto;\n min-width: var(--height);\n min-height: var(--height);\n pointer-events: var(--stzh-button-pointer-events, auto);\n\n @media print {\n -webkit-print-color-adjust: exact;\n print-color-adjust: exact;\n }\n\n @media (forced-colors: active) {\n @include button--forced-colors-default;\n }\n\n &[icon-only]:not([icon-only=\"false\"]) {\n --padding-top: 0;\n --padding-bottom: 0;\n --padding-left: 0;\n --padding-right: 0;\n\n width: var(--height);\n height: var(--height);\n }\n\n &[fullwidth]:not([fullwidth=\"false\"]) {\n width: 100%;\n display: grid;\n flex: 0 0 100%;\n }\n\n &[rounded]:not([rounded=\"false\"]) {\n --border-radius: var(--height);\n }\n\n &[no-padding-left]:not([no-padding-left=\"false\"]) {\n --padding-left: 0px;\n }\n\n &[no-padding-right]:not([no-padding-right=\"false\"]) {\n --padding-right: 0px;\n }\n\n &[variant=\"secondary\"] {\n --color: var(--stzh-button-secondary-color, #{$colorPrimary70});\n --background-color: var(\n --stzh-button-secondary-background-color,\n #{$colorSecondary30}\n );\n\n --hover-color: var(--stzh-button-secondary-hover-color, #{$colorPrimary80});\n --hover-background-color: var(\n --stzh-button-secondary-hover-background-color,\n #{$colorSecondary40}\n );\n\n @media (forced-colors: active) {\n @include button--forced-colors-default;\n }\n }\n\n &[variant=\"tertiary\"] {\n --color: var(--stzh-button-tertiary-color, #{$colorPrimary70});\n --background-color: var(\n --stzh-button-tertiary-background-color,\n transparent\n );\n\n --hover-color: var(--stzh-button-tertiary-hover-color, #{$colorPrimary80});\n --hover-background-color: var(\n --stzh-button-tertiary-hover-background-color,\n #{$colorSecondary20}\n );\n\n @media (forced-colors: active) {\n @include button--forced-colors-default;\n }\n }\n\n &[variant=\"tertiary-plain\"] {\n --color: var(--stzh-button-tertiary-color, #{$colorPrimary70});\n --background-color: transparent;\n\n --hover-color: var(--stzh-button-tertiary-hover-color, #{$colorPrimary80});\n --hover-background-color: var(--background-color);\n\n @media (forced-colors: active) {\n @include button--forced-colors-default;\n }\n }\n\n &[active]:not([active=\"false\"]) {\n --color: var(--stzh-button-active-color, #{$colorWhite});\n --background-color: var(\n --stzh-button-active-background-color,\n #{$colorSecondary60}\n );\n }\n\n &[active][variant=\"secondary\"]:not([active=\"false\"]) {\n --color: var(--stzh-button-secondary-hover-color, #{$colorPrimary80});\n --background-color: var(\n --stzh-button-secondary-hover-background-color,\n #{$colorSecondary40}\n );\n }\n\n &[active][variant=\"tertiary\"]:not([active=\"false\"]) {\n --color: var(--stzh-button-tertiary-hover-color, #{$colorPrimary80});\n --background-color: var(\n --stzh-button-tertiary-hover-background-color,\n #{$colorSecondary20}\n );\n }\n\n &[active][variant=\"tertiary-plain\"]:not([active=\"false\"]) {\n --color: var(--stzh-button-tertiary-hover-color, #{$colorPrimary80});\n --background-color: transparent;\n }\n\n &[disabled]:not([disabled=\"false\"]),\n &[a11y-disabled]:not([a11y-disabled=\"false\"]) {\n --color: var(--stzh-button-disabled-color, #{$colorWhite});\n --background-color: var(\n --stzh-button-disabled-background-color,\n #{$colorGrey70}\n );\n\n --hover-color: var(--color);\n --hover-background-color: var(--background-color);\n\n @media (forced-colors: active) {\n @include button--forced-colors-disabled;\n }\n }\n\n &[disabled]:not([disabled=\"false\"])[variant=\"secondary\"],\n &[a11y-disabled]:not([a11y-disabled=\"false\"])[variant=\"secondary\"] {\n --color: var(--stzh-button-secondary-disabled-color, #{$colorGrey80});\n --background-color: var(\n --stzh-button-secondary-disabled-background-color,\n #{$colorGrey20}\n );\n\n @media (forced-colors: active) {\n @include button--forced-colors-disabled;\n }\n }\n\n &[disabled]:not([disabled=\"false\"])[variant=\"input\"],\n &[a11y-disabled]:not([a11y-disabled=\"false\"])[variant=\"input\"] {\n --color: var(--stzh-button-input-disabled-color, #{$colorGrey80});\n --background-color: var(\n --stzh-button-input-disabled-background-color,\n #{$colorGrey20}\n );\n\n @media (forced-colors: active) {\n @include button--forced-colors-disabled;\n }\n }\n\n &[disabled]:not([disabled=\"false\"])[variant=\"tertiary\"],\n &[disabled]:not([disabled=\"false\"])[variant=\"tertiary-plain\"],\n &[a11y-disabled]:not([a11y-disabled=\"false\"])[variant=\"tertiary\"],\n &[a11y-disabled]:not([a11y-disabled=\"false\"])[variant=\"tertiary-plain\"] {\n --color: var(--stzh-button-tertiary-disabled-color, #{$colorGrey70});\n --background-color: var(\n --stzh-button-tertiary-disabled-background-color,\n transparent\n );\n\n @media (forced-colors: active) {\n @include button--forced-colors-disabled;\n }\n }\n}\n\n:host(:where([size=\"small\"])) {\n @include button--size-small;\n}\n\n:host(:where([size=\"tiny\"])) {\n @include button--size-tiny;\n}\n\n@each $breakpoint, $size in $breakpoints {\n @include mq($from: $breakpoint) {\n :host(:where([size-#{$breakpoint}=\"default\"])) {\n @include button--size-default;\n }\n\n :host(:where([size-#{$breakpoint}=\"small\"])) {\n @include button--size-small;\n }\n\n :host(:where([size-#{$breakpoint}=\"tiny\"])) {\n @include button--size-tiny;\n }\n }\n}\n\n@keyframes stzh-button-effect-cta {\n 0%,\n 20%,\n 50%,\n 80%,\n 100% {\n transform: translateX(0);\n }\n\n 40% {\n transform: translateX(-8px);\n }\n\n 60% {\n transform: translateX(-4px);\n }\n}\n\n.stzh-button {\n @include font(\"heavy\");\n font-size: var(--font-size);\n line-height: var(--line-height);\n letter-spacing: var(--letter-spacing);\n position: relative;\n z-index: 0;\n overflow: visible;\n display: flex;\n align-items: center;\n justify-content: stretch;\n appearance: none;\n color: var(--color);\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 background-color: var(--background-color);\n transition-duration: $baseTransitionAnimationSpeed;\n transition-property: color, background-color, border-color;\n border-style: solid;\n border-width: var(--border-width);\n border-color: var(--border-color);\n cursor: var(--cursor);\n text-decoration-line: none;\n width: 100%;\n min-height: 100%;\n margin: 0;\n border-radius: var(--border-radius);\n text-align: left;\n box-shadow: var(--box-shadow);\n\n &:hover {\n border-color: var(--hover-border-color);\n background-color: var(--hover-background-color);\n color: var(--hover-color);\n }\n\n @media (forced-colors: active) {\n transition: none;\n }\n\n &__vhidden {\n @include visuallyhidden;\n }\n\n &__inner {\n display: flex;\n align-items: center;\n justify-content: center;\n flex-grow: 1;\n }\n\n &__icon-wrapper,\n &__toggle-icon-wrapper {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n }\n\n &__icon-wrapper {\n --stzh-icon-size: var(--icon-size);\n width: auto;\n height: 1em;\n }\n\n &__toggle-icon-wrapper {\n width: var(--icon-size);\n height: var(--icon-size);\n }\n\n &__toggle-icon {\n position: relative;\n display: block;\n width: var(--icon-toggle-size);\n height: var(--icon-toggle-size);\n\n &::before,\n &::after {\n position: absolute;\n top: 50%;\n left: 50%;\n content: \"\";\n display: block;\n width: var(--icon-toggle-size);\n height: 2px;\n transition-property: transform, background-color;\n transition-duration: 500ms;\n transform-origin: top left;\n background-color: var(--icon-toggle-color);\n\n @media (prefers-reduced-motion: reduce) {\n transition: none;\n }\n }\n\n &::before {\n transform: rotate(180deg) translate(-50%, -50%);\n }\n\n &::after {\n transform: rotate(90deg) translate(-50%, -50%);\n }\n }\n\n &__text {\n @include wordWrap;\n white-space: var(--white-space);\n text-align: center;\n\n @media (forced-colors: active) {\n forced-color-adjust: preserve-parent-color;\n }\n }\n\n &--not-hyphenated &__text {\n hyphens: none;\n }\n\n &__icon-wrapper:not(:empty) + &__text:not(:empty),\n &__text:not(:empty) + &__icon-wrapper:not(:empty) {\n margin-left: var(--icon-text-margin);\n }\n\n &__badge {\n position: absolute;\n z-index: 1;\n top: 0;\n right: 0;\n }\n\n &__input {\n @include visuallyhiddenInput;\n }\n\n &__mark {\n @include radio__mark();\n width: 20px;\n height: 20px;\n margin-right: space(\"xsmall\");\n border-color: currentColor;\n }\n\n &__check {\n @include radio__check($color: $colorPrimary70);\n }\n\n /* Hover / Focus / Checked / Disabled of Radio Type */\n\n &__input:checked:hover ~ &__inner &__mark &__check,\n &__input:checked:focus ~ &__inner &__mark &__check {\n color: $colorSecondary60;\n\n @media (forced-colors: active) {\n color: Highlight;\n }\n }\n\n &:hover &__mark,\n &__input:focus:hover ~ &__inner &__mark,\n &__input:checked:hover ~ &__inner &__mark,\n &__input:checked:focus ~ &__inner &__mark {\n border-color: $colorSecondary60;\n }\n\n &__input:focus ~ &__inner &__mark,\n &__input:checked ~ &__inner &__mark {\n border-color: $colorPrimary;\n\n @media (forced-colors: active) {\n border-color: Highlight;\n }\n }\n\n &__input:checked ~ &__inner &__mark &__check {\n opacity: 1;\n }\n\n &--is-disabled &__input ~ &__inner &__mark &__check {\n color: $formDisabledColor;\n\n @media (forced-colors: active) {\n color: GrayText;\n }\n }\n\n &--is-disabled &__input ~ &__inner &__mark {\n border-color: $formDisabledBorderColor;\n }\n\n &--is-disabled &__mark {\n background-color: $formDisabledBackgroundColor;\n }\n\n /* Is expanded */\n\n &--is-expanded &__toggle-icon {\n &::before,\n &::after {\n transform: rotate(0) translate(-50%, -50%);\n }\n }\n\n /* Badge positioning variants */\n\n &--badge-position-button &__icon-wrapper {\n position: static;\n }\n\n &__badge,\n &--badge-position-button &__badge {\n top: calc(#{space(\"xsmall\")} * -1);\n right: calc(#{space(\"xsmall\")} * -1);\n }\n\n &--badge-position-icon#{&}--has-icon &__icon-wrapper {\n position: relative;\n }\n\n &--badge-position-icon#{&}--has-icon &__badge {\n top: calc(#{space(\"xsmall\")} * -1);\n right: calc(#{space(\"small\")} * -1);\n }\n\n &--badge-position-icon#{&}--has-icon#{&}--has-badge\n &__icon-wrapper:not(:empty)\n + &__text:not(:empty),\n &--badge-position-icon#{&}--has-icon#{&}--has-badge\n &__text:not(:empty)\n + &__icon-wrapper:not(:empty) {\n margin-left: var(--badge-icon-text-margin);\n }\n\n /* Variant if button only has icon */\n\n &--has-icon-only &__text {\n @include visuallyhidden;\n }\n\n /* Effect */\n\n &--effect-cta:hover &__icon-wrapper {\n animation: stzh-button-effect-cta 1s;\n\n @media (prefers-reduced-motion: reduce) {\n animation: none;\n }\n }\n\n /* Alignment variants */\n\n &--align-left &__inner {\n justify-content: flex-start;\n }\n\n &--align-right &__inner {\n justify-content: flex-end;\n }\n\n &--align-center &__inner {\n justify-content: center;\n }\n\n &--align-space-between &__inner {\n justify-content: space-between;\n }\n\n /* Disabled variant */\n\n &--is-disabled {\n cursor: not-allowed;\n }\n\n /* Default */\n\n &--default.has-focus {\n outline: var(--stzh-flyingfocus-color) solid 3px;\n }\n}\n","import { Component, Element, Event, EventEmitter, Fragment, h, Host, Listen, Prop } from \"@stencil/core\";\n\nimport {\n StzhBadgeType,\n StzhButtonBlurEvent,\n StzhButtonChangeEvent,\n StzhButtonClickEvent,\n StzhButtonFocusEvent,\n StzhButtonSize,\n StzhButtonVariant,\n StzhLocaleComponent,\n} from \"../../index\";\n\nimport { hasSlot } from \"../../utils/utils\";\n\n/**\n * @slot - Slot for label/text content\n * @slot icon - Slot for icon element\n */\n@Component({\n tag: \"stzh-button\",\n styleUrl: \"stzh-button.scss\",\n scoped: true,\n})\nexport class StzhButton {\n /** Translation strings */\n @Prop() localization: StzhLocaleComponent;\n\n /** Display a badge aligned to button or icons */\n @Prop() badge: string = \"\";\n\n /** Disable hyphenation for text inside button */\n @Prop() noHyphenation: boolean = false;\n\n /** Badge type */\n @Prop({ reflect: true }) badgeType: StzhBadgeType = \"default\";\n\n /** Badge position */\n @Prop({ reflect: true }) badgePosition: \"icon\" | \"button\" = \"button\";\n\n /** Whether badge should be displayed empty */\n @Prop({ reflect: true }) badgeEmpty: boolean = false;\n\n /** Whether the button is full width */\n @Prop({ reflect: true }) fullwidth: boolean = false;\n\n /** Whether the button is rounded */\n @Prop({ reflect: true }) rounded: boolean = false;\n\n /** Size variant */\n @Prop({ reflect: true }) size: StzhButtonSize = \"default\";\n\n /** Size variant (above small breakpoint) */\n @Prop({ reflect: true }) sizeSmall: StzhButtonSize;\n\n /** Size variant (above medium breakpoint) */\n @Prop({ reflect: true }) sizeMedium: StzhButtonSize;\n\n /** Size variant (above large breakpoint) */\n @Prop({ reflect: true }) sizeLarge: StzhButtonSize;\n\n /** Size variant (above ultra breakpoint) */\n @Prop({ reflect: true }) sizeUltra: StzhButtonSize;\n\n /** Text alignment */\n @Prop({ reflect: true }) textAlign: \"left\" | \"center\" | \"right\" | \"space-between\" | \"default\" = \"default\";\n\n /** Variant style */\n @Prop({ reflect: true }) variant: StzhButtonVariant = \"default\";\n\n /** Icon (use instead of icon slot) */\n @Prop() icon: string = \"\";\n\n /** Icon Position */\n @Prop({ reflect: true }) iconPosition: \"left\" | \"right\" = \"left\";\n\n /** Checked status (if type is radio) */\n @Prop({ mutable: true, reflect: true }) checked: boolean = false;\n\n /** Default checked (used by reset, if type is radio) */\n @Prop({ mutable: true }) defaultChecked: boolean;\n\n /** The name of the input element (if type is button or radio) */\n @Prop({ reflect: true }) name: string = \"\";\n\n /** The value of the input element (if type is button or radio) */\n @Prop({ mutable: true }) value: string = \"\";\n\n /** `href` if the button should be used as link */\n @Prop() href: string = \"\";\n\n /** Rel (if href is used) */\n @Prop() rel: string;\n\n /** Target if the button is used as link (if `href` used) */\n @Prop() target: string = \"\";\n\n /** Download attribute of link (if `href` used) */\n @Prop() download: string;\n\n /** Type of the button */\n @Prop() type: \"button\" | \"submit\" | \"reset\" | \"radio\" = \"button\";\n\n /** Whether the button is disabled */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /** Whether to disable the button on click or not */\n @Prop() disableOnClick: boolean = false;\n\n /** Whether the button is active */\n @Prop({ reflect: true }) active: boolean = false;\n\n /** Label */\n @Prop() label: string = \"\";\n\n /** Effect/Animation used */\n @Prop() effect: \"default\" | \"cta\" = \"default\";\n\n /** Whether only an icon is used inside the button */\n @Prop({ reflect: true }) iconOnly: boolean = false;\n\n /** Whether padding left should be removed */\n @Prop({ reflect: true }) noPaddingLeft: boolean = false;\n\n /** Whether padding right should be removed */\n @Prop({ reflect: true }) noPaddingRight: boolean = false;\n\n /** Access key of button (usually a number e.g. 1) */\n @Prop() buttonAccesskey: string;\n\n /** ID of button element */\n @Prop() buttonId: string;\n\n /** Whether to show toggle icon (show minus when a11yExpanded=true, otherwise plus) */\n @Prop({ reflect: true }) showToggleIcon: boolean = false;\n\n /** Accessible label for screen readers to replace visible text */\n @Prop({ attribute: \"a11y-label\" }) a11yLabel: string;\n\n /** Id for element which describes the button (this will be overwritten if description prop or slot is used, used by stzh-radiogroup) */\n @Prop({ attribute: \"a11y-describedby\" }) a11yDescribedby: string = \"\";\n\n /** Aria expanded of link/button */\n @Prop({ reflect: true, attribute: \"a11y-expanded\" }) a11yExpanded: boolean;\n\n /** Aria disabled of link/button */\n @Prop({ reflect: true, attribute: \"a11y-disabled\" }) a11yDisabled: boolean;\n\n /** Aria controls of link/button */\n @Prop({ attribute: \"a11y-controls\" }) a11yControls: string;\n\n /** Aria current of link/button */\n @Prop({ attribute: \"a11y-current\" }) a11yCurrent: string;\n\n /** Tabindex of link/button */\n @Prop({ attribute: \"a11y-tabindex\" }) a11yTabindex: 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: HTMLStzhButtonElement;\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 /** Focus event */\n @Event() stzhFocus: EventEmitter<StzhButtonFocusEvent>;\n\n /** Blur event */\n @Event() stzhBlur: EventEmitter<StzhButtonBlurEvent>;\n\n /** Change event (only called if type is radio) */\n @Event() stzhChange: EventEmitter<StzhButtonChangeEvent>;\n\n /** Click event */\n @Event() stzhClick: EventEmitter<StzhButtonClickEvent>;\n\n private button: HTMLButtonElement | HTMLAnchorElement | HTMLLabelElement;\n private input: HTMLInputElement;\n private text: HTMLDivElement;\n private focusedByInput: boolean = false;\n\n private handleReset = async () => {\n this.checked = this.defaultChecked;\n };\n\n private onInput = (event: InputEvent) => {\n this.checked = this.input.checked;\n this.stzhChange.emit({\n component: \"stzh-button\",\n originalEvent: event,\n value: this.value,\n checked: this.checked,\n });\n };\n\n private onRootFocus = () => {\n if (!this.focusedByInput) {\n this.button.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-button\",\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-button\",\n originalEvent: event,\n });\n };\n\n private onClick = (event: MouseEvent) => {\n if (this.disabled) {\n event.stopPropagation();\n event.preventDefault();\n } else {\n if (this.disableOnClick) {\n this.disabled = true;\n }\n this.stzhClick.emit({\n component: \"stzh-button\",\n originalEvent: event,\n href: this.href,\n });\n }\n };\n\n private renderIcon(iconUsed: boolean): HTMLInputElement {\n return (\n <div class=\"stzh-button__icon-wrapper\">\n {this.icon && <stzh-icon class=\"stzh-button__icon\" name={this.icon}></stzh-icon>}\n {!this.icon && this.showToggleIcon && (\n <div class=\"stzh-button__toggle-icon-wrapper\">\n <div class=\"stzh-button__toggle-icon\"></div>\n </div>\n )}\n {!this.icon && !this.showToggleIcon && <slot name=\"icon\"></slot>}\n {(this.badge || this.badgeEmpty) && this.badgePosition === \"icon\" && iconUsed && (\n <stzh-badge class=\"stzh-button__badge\" label={this.badge} type={this.badgeType}></stzh-badge>\n )}\n </div>\n );\n }\n\n private renderContent(): HTMLDivElement {\n return (\n <div class=\"stzh-button__text\" ref={el => (this.text = el as HTMLDivElement)}>\n {this.rel && this.rel.includes(\"external\") && (\n <div class=\"stzh-button__vhidden\">{this.localization.$globals.externalLinkLabel}</div>\n )}\n {this.download && <div class=\"stzh-button__vhidden\">{this.localization.$globals.downloadLinkLabel}</div>}\n {this.label ? this.label : <slot></slot>}\n </div>\n );\n }\n\n private renderInner(iconUsed: boolean): DocumentFragment {\n return (\n <Fragment>\n <div class=\"stzh-button__inner\">\n {this.type === \"radio\" && (\n <div class=\"stzh-button__mark\">\n <div class=\"stzh-button__check\"></div>\n </div>\n )}\n {this.iconPosition === \"left\" && this.renderIcon(iconUsed)}\n {this.renderContent()}\n {this.iconPosition === \"right\" && this.renderIcon(iconUsed)}\n </div>\n {(this.badge || this.badgeEmpty) && (this.badgePosition === \"button\" || !iconUsed) && (\n <stzh-badge class=\"stzh-button__badge\" label={this.badge} type={this.badgeType}></stzh-badge>\n )}\n </Fragment>\n );\n }\n\n async componentWillLoad() {\n this.defaultChecked = typeof this.defaultChecked === \"boolean\" ? this.defaultChecked : this.checked;\n\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"button\");\n }\n }\n\n componentDidRender() {\n requestAnimationFrame(() => {\n this.button?.setAttribute(\"s-object-id\", this.analyticsId || this.text.innerText);\n });\n }\n\n render() {\n const iconUsed: boolean = hasSlot(this.element, \"icon\") || !!this.icon;\n const classes = {\n \"stzh-button\": true,\n \"stzh-button--has-icon\": iconUsed,\n \"stzh-button--has-icon-only\": this.iconOnly,\n \"stzh-button--has-badge\": !!this.badge,\n \"stzh-button--is-rounded\": this.rounded,\n \"stzh-button--is-fullwidth\": this.fullwidth,\n \"stzh-button--is-disabled\": this.disabled || this.a11yDisabled,\n \"stzh-button--is-active\": this.active,\n \"stzh-button--is-expanded\": this.a11yExpanded,\n \"stzh-button--not-hyphenated\": this.noHyphenation,\n [`stzh-button--effect-${this.effect}`]: !!this.effect,\n [`stzh-button--badge-position-${this.badgePosition}`]: !!this.badgePosition,\n [`stzh-button--align-${this.textAlign}`]: !!this.textAlign,\n [`stzh-button--type-${this.type}`]: !!this.type,\n [`stzh-button--${this.variant}`]: !!this.variant,\n };\n\n return (\n <Host tabindex={this.disabled ? null : \"-1\"} onFocus={this.onRootFocus}>\n {this.href ? (\n <a\n ref={el => (this.button = el as HTMLAnchorElement)}\n href={this.disabled ? null : this.href}\n rel={this.rel}\n download={this.download}\n target={this.target}\n class={classes}\n aria-label={this.a11yLabel || null}\n aria-describedby={this.a11yDescribedby || null}\n aria-disabled={typeof this.a11yDisabled !== \"undefined\" ? (this.a11yDisabled ? \"true\" : \"false\") : null}\n aria-expanded={typeof this.a11yExpanded !== \"undefined\" ? (this.a11yExpanded ? \"true\" : \"false\") : null}\n aria-controls={this.a11yControls || null}\n aria-current={this.a11yCurrent || null}\n id={this.buttonId}\n accessKey={this.buttonAccesskey}\n tabindex={this.a11yTabindex}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n onClick={this.onClick}\n >\n {this.renderInner(iconUsed)}\n </a>\n ) : this.type === \"radio\" ? (\n <label ref={el => (this.button = el as HTMLLabelElement)} class={classes} onClick={this.onClick}>\n <input\n ref={el => (this.input = el as HTMLInputElement)}\n type=\"radio\"\n class=\"stzh-button__input\"\n name={this.name}\n value={this.value}\n defaultChecked={this.defaultChecked}\n checked={this.checked}\n disabled={this.disabled}\n aria-label={this.a11yLabel || null}\n aria-describedby={this.a11yDescribedby || null}\n aria-disabled={typeof this.a11yDisabled !== \"undefined\" ? (this.a11yDisabled ? \"true\" : \"false\") : null}\n aria-expanded={typeof this.a11yExpanded !== \"undefined\" ? (this.a11yExpanded ? \"true\" : \"false\") : null}\n aria-controls={this.a11yControls || null}\n aria-current={this.a11yCurrent || null}\n id={this.buttonId}\n accessKey={this.buttonAccesskey}\n tabindex={this.a11yTabindex}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n onClick={this.onClick}\n onInput={this.onInput}\n />\n {this.renderInner(iconUsed)}\n </label>\n ) : (\n <button\n ref={el => (this.button = el as HTMLButtonElement)}\n class={classes}\n type={this.type}\n name={this.name}\n value={this.value}\n disabled={this.disabled}\n aria-label={this.a11yLabel || null}\n aria-describedby={this.a11yDescribedby || null}\n aria-disabled={typeof this.a11yDisabled !== \"undefined\" ? (this.a11yDisabled ? \"true\" : \"false\") : null}\n aria-expanded={typeof this.a11yExpanded !== \"undefined\" ? (this.a11yExpanded ? \"true\" : \"false\") : null}\n aria-controls={this.a11yControls || null}\n aria-current={this.a11yCurrent || null}\n id={this.buttonId}\n accessKey={this.buttonAccesskey}\n tabindex={this.a11yTabindex}\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-D0sPQTAC.js","mappings":";;;;;AAAA,MAAM,aAAa,GAAG,MAAM,CAAC;AAC7B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,k2hBAAk2hB,CAAC;;MCZt1hB,UAAU,iBAAAA,kBAAA,CAAA,MAAA,UAAA,SAAAC,CAAA,CAAA;AALvB,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;;;;;AAUU,QAAA,IAAK,CAAA,KAAA,GAAW,EAAE;;AAGlB,QAAA,IAAa,CAAA,aAAA,GAAY,KAAK;;AAGb,QAAA,IAAS,CAAA,SAAA,GAAkB,SAAS;;AAGpC,QAAA,IAAa,CAAA,aAAA,GAAsB,QAAQ;;AAG3C,QAAA,IAAU,CAAA,UAAA,GAAY,KAAK;;AAG3B,QAAA,IAAS,CAAA,SAAA,GAAY,KAAK;;AAG1B,QAAA,IAAO,CAA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IAAI,EACxF,eAAA,EAAA,OAAO,IAAI,CAAC,YAAY,KAAK,WAAW,IAAI,IAAI,CAAC,YAAY,GAAG,MAAM,GAAG,OAAO,IAAI,IAAI,mBACxF,IAAI,CAAC,YAAY,IAAI,IAAI,kBAC1B,IAAI,CAAC,WAAW,IAAI,IAAI,EACtC,EAAE,EAAE,IAAI,CAAC,QAAQ,EACjB,SAAS,EAAE,IAAI,CAAC,eAAe,EAC/B,QAAQ,EAAE,IAAI,CAAC,YAAY,EAC3B,OAAO,EAAE,IAAI,CAAC,OAAO,EACrB,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,OAAO,EAAE,IAAI,CAAC,OAAO,EAAA,EAEpB,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,CACpB,CACV,CACI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-button/stzh-button.scss?tag=stzh-button&encapsulation=scoped","src/components/stzh-button/stzh-button.tsx"],"sourcesContent":["/**\n * @prop --height: Height of button\n * @prop --padding-top: Padding top of button\n * @prop --padding-bottom: Padding bottom of button\n * @prop --padding-left: Padding left of button\n * @prop --padding-right: Padding right of button\n * @prop --border-radius: Border radius of button\n * @prop --color: Color of button\n * @prop --background-color: Background color of button\n * @prop --border-color: Border color of button\n * @prop --icon-size: Size of icon next to button\n * @prop --hover-color: Hover color of button\n * @prop --hover-background-color: Hover background color of button\n * @prop --hover-border-color: Hover border color of button\n * @prop --white-space: White space behaviour of button\n *\n * @prop --stzh-form-input-height: **Global**: Height of fields & buttons\n * @prop --stzh-form-input-small-height: **Global**: Height of fields & buttons when small variant is used\n * @prop --stzh-form-input-tiny-height: **Global**: Height of fields & buttons when tiny variant is used\n */\n\n@mixin button--size-default() {\n --height: #{$formInputHeight};\n --padding-top: calc(#{space(\"xsmall\")} - var(--border-width));\n --padding-bottom: calc(#{space(\"xsmall\")} - var(--border-width));\n --padding-left: calc(#{space(\"xlarge\")} - var(--border-width));\n --padding-right: calc(#{space(\"xlarge\")} - var(--border-width));\n --font-size: var(--stzh-font-centi-font-size);\n --line-height: var(--stzh-font-centi-text-line-height);\n --letter-spacing: normal;\n --icon-size: #{iconSize(\"medium\")};\n --icon-toggle-size: 14.5px;\n\n &:where([icon-only]:not([icon-only=\"false\"])) {\n --icon-size: #{iconSize(\"large\")};\n }\n}\n\n@mixin button--size-small() {\n --height: #{$formInputHeightSmall};\n --padding-left: calc(#{space(\"large\")} - var(--border-width));\n --padding-right: calc(#{space(\"large\")} - var(--border-width));\n --font-size: var(--stzh-font-milli-font-size);\n --line-height: var(--stzh-font-milli-text-line-height);\n --icon-size: #{iconSize(\"medium\")};\n}\n\n@mixin button--size-tiny() {\n --height: #{$formInputHeightTiny};\n --padding-left: calc(#{space(\"medium\")} - var(--border-width));\n --padding-right: calc(#{space(\"medium\")} - var(--border-width));\n --padding-top: calc(#{space(\"xxsmall\")} - var(--border-width));\n --padding-bottom: calc(#{space(\"xxsmall\")} - var(--border-width));\n --font-size: var(--stzh-font-milli-font-size);\n --line-height: var(--stzh-font-milli-text-line-height);\n --icon-size: #{iconSize(\"medium\")};\n}\n\n@mixin button--forced-colors-default() {\n --border-width: 2px;\n\n --color: ButtonText;\n --border-color: ButtonBorder;\n --background-color: ButtonFace;\n\n --hover-color: HighlightText;\n --hover-border-color: Highlight;\n --hover-background-color: Highlight;\n}\n\n@mixin button--forced-colors-disabled() {\n --border-width: 2px;\n\n --color: GrayText;\n --border-color: GrayText;\n --background-color: transparent;\n\n --hover-color: GrayText;\n --hover-border-color: GrayText;\n --hover-background-color: transparent;\n}\n\n:host {\n @include button--size-default;\n --color: var(--stzh-button-color, #{$colorWhite});\n --background-color: var(--stzh-button-background-color, #{$colorPrimary70});\n --border-width: 0px;\n --border-color: transparent;\n --border-radius: 0px;\n --icon-text-margin: #{space(\"xsmall\")};\n --icon-toggle-color: currentColor;\n --badge-icon-text-margin: calc(var(--icon-text-margin) + #{space(\"xxsmall\")});\n --white-space: var(--stzh-button-white-space, normal);\n --box-shadow: none;\n --cursor: pointer;\n\n --hover-color: var(--stzh-button-hover-color, #{$colorWhite});\n --hover-background-color: var(\n --stzh-button-hover-background-color,\n #{$colorSecondary60}\n );\n --hover-border-color: transparent;\n\n display: inline-flex;\n width: auto;\n min-width: var(--height);\n min-height: var(--height);\n pointer-events: var(--stzh-button-pointer-events, auto);\n\n @media print {\n -webkit-print-color-adjust: exact;\n print-color-adjust: exact;\n }\n\n @media (forced-colors: active) {\n @include button--forced-colors-default;\n }\n\n &[icon-only]:not([icon-only=\"false\"]) {\n --padding-top: 0;\n --padding-bottom: 0;\n --padding-left: 0;\n --padding-right: 0;\n\n width: var(--height);\n height: var(--height);\n }\n\n &[fullwidth]:not([fullwidth=\"false\"]) {\n width: 100%;\n display: grid;\n flex: 0 0 100%;\n }\n\n &[rounded]:not([rounded=\"false\"]) {\n --border-radius: var(--height);\n }\n\n &[no-padding-left]:not([no-padding-left=\"false\"]) {\n --padding-left: 0px;\n }\n\n &[no-padding-right]:not([no-padding-right=\"false\"]) {\n --padding-right: 0px;\n }\n\n &[variant=\"secondary\"] {\n --color: var(--stzh-button-secondary-color, #{$colorPrimary70});\n --background-color: var(\n --stzh-button-secondary-background-color,\n #{$colorSecondary30}\n );\n\n --hover-color: var(--stzh-button-secondary-hover-color, #{$colorPrimary80});\n --hover-background-color: var(\n --stzh-button-secondary-hover-background-color,\n #{$colorSecondary40}\n );\n\n @media (forced-colors: active) {\n @include button--forced-colors-default;\n }\n }\n\n &[variant=\"tertiary\"] {\n --color: var(--stzh-button-tertiary-color, #{$colorPrimary70});\n --background-color: var(\n --stzh-button-tertiary-background-color,\n transparent\n );\n\n --hover-color: var(--stzh-button-tertiary-hover-color, #{$colorPrimary80});\n --hover-background-color: var(\n --stzh-button-tertiary-hover-background-color,\n #{$colorSecondary20}\n );\n\n @media (forced-colors: active) {\n @include button--forced-colors-default;\n }\n }\n\n &[variant=\"tertiary-plain\"] {\n --color: var(--stzh-button-tertiary-color, #{$colorPrimary70});\n --background-color: transparent;\n\n --hover-color: var(--stzh-button-tertiary-hover-color, #{$colorPrimary80});\n --hover-background-color: var(--background-color);\n\n @media (forced-colors: active) {\n @include button--forced-colors-default;\n }\n }\n\n &[active]:not([active=\"false\"]) {\n --color: var(--stzh-button-active-color, #{$colorWhite});\n --background-color: var(\n --stzh-button-active-background-color,\n #{$colorSecondary60}\n );\n }\n\n &[active][variant=\"secondary\"]:not([active=\"false\"]) {\n --color: var(--stzh-button-secondary-hover-color, #{$colorPrimary80});\n --background-color: var(\n --stzh-button-secondary-hover-background-color,\n #{$colorSecondary40}\n );\n }\n\n &[active][variant=\"tertiary\"]:not([active=\"false\"]) {\n --color: var(--stzh-button-tertiary-hover-color, #{$colorPrimary80});\n --background-color: var(\n --stzh-button-tertiary-hover-background-color,\n #{$colorSecondary20}\n );\n }\n\n &[active][variant=\"tertiary-plain\"]:not([active=\"false\"]) {\n --color: var(--stzh-button-tertiary-hover-color, #{$colorPrimary80});\n --background-color: transparent;\n }\n\n &[disabled]:not([disabled=\"false\"]),\n &[a11y-disabled]:not([a11y-disabled=\"false\"]) {\n --color: var(--stzh-button-disabled-color, #{$colorWhite});\n --background-color: var(\n --stzh-button-disabled-background-color,\n #{$colorGrey70}\n );\n\n --hover-color: var(--color);\n --hover-background-color: var(--background-color);\n\n @media (forced-colors: active) {\n @include button--forced-colors-disabled;\n }\n }\n\n &[disabled]:not([disabled=\"false\"])[variant=\"secondary\"],\n &[a11y-disabled]:not([a11y-disabled=\"false\"])[variant=\"secondary\"] {\n --color: var(--stzh-button-secondary-disabled-color, #{$colorGrey80});\n --background-color: var(\n --stzh-button-secondary-disabled-background-color,\n #{$colorGrey20}\n );\n\n @media (forced-colors: active) {\n @include button--forced-colors-disabled;\n }\n }\n\n &[disabled]:not([disabled=\"false\"])[variant=\"input\"],\n &[a11y-disabled]:not([a11y-disabled=\"false\"])[variant=\"input\"] {\n --color: var(--stzh-button-input-disabled-color, #{$colorGrey80});\n --background-color: var(\n --stzh-button-input-disabled-background-color,\n #{$colorGrey20}\n );\n\n @media (forced-colors: active) {\n @include button--forced-colors-disabled;\n }\n }\n\n &[disabled]:not([disabled=\"false\"])[variant=\"tertiary\"],\n &[disabled]:not([disabled=\"false\"])[variant=\"tertiary-plain\"],\n &[a11y-disabled]:not([a11y-disabled=\"false\"])[variant=\"tertiary\"],\n &[a11y-disabled]:not([a11y-disabled=\"false\"])[variant=\"tertiary-plain\"] {\n --color: var(--stzh-button-tertiary-disabled-color, #{$colorGrey70});\n --background-color: var(\n --stzh-button-tertiary-disabled-background-color,\n transparent\n );\n\n @media (forced-colors: active) {\n @include button--forced-colors-disabled;\n }\n }\n}\n\n:host(:where([size=\"small\"])) {\n @include button--size-small;\n}\n\n:host(:where([size=\"tiny\"])) {\n @include button--size-tiny;\n}\n\n@each $breakpoint, $size in $breakpoints {\n @include mq($from: $breakpoint) {\n :host(:where([size-#{$breakpoint}=\"default\"])) {\n @include button--size-default;\n }\n\n :host(:where([size-#{$breakpoint}=\"small\"])) {\n @include button--size-small;\n }\n\n :host(:where([size-#{$breakpoint}=\"tiny\"])) {\n @include button--size-tiny;\n }\n }\n}\n\n@keyframes stzh-button-effect-cta {\n 0%,\n 20%,\n 50%,\n 80%,\n 100% {\n transform: translateX(0);\n }\n\n 40% {\n transform: translateX(-8px);\n }\n\n 60% {\n transform: translateX(-4px);\n }\n}\n\n.stzh-button {\n @include font(\"heavy\");\n font-size: var(--font-size);\n line-height: var(--line-height);\n letter-spacing: var(--letter-spacing);\n position: relative;\n z-index: 0;\n overflow: visible;\n display: flex;\n align-items: center;\n justify-content: stretch;\n appearance: none;\n color: var(--color);\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 background-color: var(--background-color);\n transition-duration: $baseTransitionAnimationSpeed;\n transition-property: color, background-color, border-color;\n border-style: solid;\n border-width: var(--border-width);\n border-color: var(--border-color);\n cursor: var(--cursor);\n text-decoration-line: none;\n width: 100%;\n min-height: 100%;\n margin: 0;\n border-radius: var(--border-radius);\n text-align: left;\n box-shadow: var(--box-shadow);\n\n &:hover {\n border-color: var(--hover-border-color);\n background-color: var(--hover-background-color);\n color: var(--hover-color);\n }\n\n @media (forced-colors: active) {\n transition: none;\n }\n\n &__vhidden {\n @include visuallyhidden;\n }\n\n &__inner {\n display: flex;\n align-items: center;\n justify-content: center;\n flex-grow: 1;\n }\n\n &__icon-wrapper,\n &__toggle-icon-wrapper {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n }\n\n &__icon-wrapper {\n --stzh-icon-size: var(--icon-size);\n width: auto;\n height: 1em;\n }\n\n &__toggle-icon-wrapper {\n width: var(--icon-size);\n height: var(--icon-size);\n }\n\n &__toggle-icon {\n position: relative;\n display: block;\n width: var(--icon-toggle-size);\n height: var(--icon-toggle-size);\n\n &::before,\n &::after {\n position: absolute;\n top: 50%;\n left: 50%;\n content: \"\";\n display: block;\n width: var(--icon-toggle-size);\n height: 2px;\n transition-property: transform, background-color;\n transition-duration: 500ms;\n transform-origin: top left;\n background-color: var(--icon-toggle-color);\n\n @media (prefers-reduced-motion: reduce) {\n transition: none;\n }\n }\n\n &::before {\n transform: rotate(180deg) translate(-50%, -50%);\n }\n\n &::after {\n transform: rotate(90deg) translate(-50%, -50%);\n }\n }\n\n &__text {\n @include wordWrap;\n white-space: var(--white-space);\n text-align: center;\n\n @media (forced-colors: active) {\n forced-color-adjust: preserve-parent-color;\n }\n }\n\n &--not-hyphenated &__text {\n hyphens: none;\n }\n\n &__icon-wrapper:not(:empty) + &__text:not(:empty),\n &__text:not(:empty) + &__icon-wrapper:not(:empty) {\n margin-left: var(--icon-text-margin);\n }\n\n &__badge {\n position: absolute;\n z-index: 1;\n top: 0;\n right: 0;\n }\n\n &__input {\n @include visuallyhiddenInput;\n }\n\n &__mark {\n @include radio__mark();\n width: 20px;\n height: 20px;\n margin-right: space(\"xsmall\");\n border-color: currentColor;\n }\n\n &__check {\n @include radio__check($color: $colorPrimary70);\n }\n\n /* Hover / Focus / Checked / Disabled of Radio Type */\n\n &__input:checked:hover ~ &__inner &__mark &__check,\n &__input:checked:focus ~ &__inner &__mark &__check {\n color: $colorSecondary60;\n\n @media (forced-colors: active) {\n color: Highlight;\n }\n }\n\n &:hover &__mark,\n &__input:focus:hover ~ &__inner &__mark,\n &__input:checked:hover ~ &__inner &__mark,\n &__input:checked:focus ~ &__inner &__mark {\n border-color: $colorSecondary60;\n }\n\n &__input:focus ~ &__inner &__mark,\n &__input:checked ~ &__inner &__mark {\n border-color: $colorPrimary;\n\n @media (forced-colors: active) {\n border-color: Highlight;\n }\n }\n\n &__input:checked ~ &__inner &__mark &__check {\n opacity: 1;\n }\n\n &--is-disabled &__input ~ &__inner &__mark &__check {\n color: $formDisabledColor;\n\n @media (forced-colors: active) {\n color: GrayText;\n }\n }\n\n &--is-disabled &__input ~ &__inner &__mark {\n border-color: $formDisabledBorderColor;\n }\n\n &--is-disabled &__mark {\n background-color: $formDisabledBackgroundColor;\n }\n\n /* Is expanded */\n\n &--is-expanded &__toggle-icon {\n &::before,\n &::after {\n transform: rotate(0) translate(-50%, -50%);\n }\n }\n\n /* Badge positioning variants */\n\n &--badge-position-button &__icon-wrapper {\n position: static;\n }\n\n &__badge,\n &--badge-position-button &__badge {\n top: calc(#{space(\"xsmall\")} * -1);\n right: calc(#{space(\"xsmall\")} * -1);\n }\n\n &--badge-position-icon#{&}--has-icon &__icon-wrapper {\n position: relative;\n }\n\n &--badge-position-icon#{&}--has-icon &__badge {\n top: calc(#{space(\"xsmall\")} * -1);\n right: calc(#{space(\"small\")} * -1);\n }\n\n &--badge-position-icon#{&}--has-icon#{&}--has-badge\n &__icon-wrapper:not(:empty)\n + &__text:not(:empty),\n &--badge-position-icon#{&}--has-icon#{&}--has-badge\n &__text:not(:empty)\n + &__icon-wrapper:not(:empty) {\n margin-left: var(--badge-icon-text-margin);\n }\n\n /* Variant if button only has icon */\n\n &--has-icon-only &__text {\n @include visuallyhidden;\n }\n\n /* Effect */\n\n &--effect-cta:hover &__icon-wrapper {\n animation: stzh-button-effect-cta 1s;\n\n @media (prefers-reduced-motion: reduce) {\n animation: none;\n }\n }\n\n /* Alignment variants */\n\n &--align-left &__inner {\n justify-content: flex-start;\n }\n\n &--align-right &__inner {\n justify-content: flex-end;\n }\n\n &--align-center &__inner {\n justify-content: center;\n }\n\n &--align-space-between &__inner {\n justify-content: space-between;\n }\n\n /* Disabled variant */\n\n &--is-disabled {\n cursor: not-allowed;\n }\n\n /* Default */\n\n &--default.has-focus {\n outline: var(--stzh-flyingfocus-color) solid 3px;\n }\n}\n","import { Component, Element, Event, EventEmitter, Fragment, h, Host, Listen, Prop } from \"@stencil/core\";\n\nimport {\n StzhBadgeType,\n StzhButtonBlurEvent,\n StzhButtonChangeEvent,\n StzhButtonClickEvent,\n StzhButtonFocusEvent,\n StzhButtonSize,\n StzhButtonVariant,\n StzhLocaleComponent,\n} from \"../../index\";\n\nimport { hasSlot } from \"../../utils/utils\";\n\n/**\n * @slot - Slot for label/text content\n * @slot icon - Slot for icon element\n */\n@Component({\n tag: \"stzh-button\",\n styleUrl: \"stzh-button.scss\",\n scoped: true,\n})\nexport class StzhButton {\n /** Translation strings */\n @Prop() localization: StzhLocaleComponent;\n\n /** Display a badge aligned to button or icons */\n @Prop() badge: string = \"\";\n\n /** Disable hyphenation for text inside button */\n @Prop() noHyphenation: boolean = false;\n\n /** Badge type */\n @Prop({ reflect: true }) badgeType: StzhBadgeType = \"default\";\n\n /** Badge position */\n @Prop({ reflect: true }) badgePosition: \"icon\" | \"button\" = \"button\";\n\n /** Whether badge should be displayed empty */\n @Prop({ reflect: true }) badgeEmpty: boolean = false;\n\n /** Whether the button is full width */\n @Prop({ reflect: true }) fullwidth: boolean = false;\n\n /** Whether the button is rounded */\n @Prop({ reflect: true }) rounded: boolean = false;\n\n /** Size variant */\n @Prop({ reflect: true }) size: StzhButtonSize = \"default\";\n\n /** Size variant (above small breakpoint) */\n @Prop({ reflect: true }) sizeSmall: StzhButtonSize;\n\n /** Size variant (above medium breakpoint) */\n @Prop({ reflect: true }) sizeMedium: StzhButtonSize;\n\n /** Size variant (above large breakpoint) */\n @Prop({ reflect: true }) sizeLarge: StzhButtonSize;\n\n /** Size variant (above ultra breakpoint) */\n @Prop({ reflect: true }) sizeUltra: StzhButtonSize;\n\n /** Text alignment */\n @Prop({ reflect: true }) textAlign: \"left\" | \"center\" | \"right\" | \"space-between\" | \"default\" = \"default\";\n\n /** Variant style */\n @Prop({ reflect: true }) variant: StzhButtonVariant = \"default\";\n\n /** Icon (use instead of icon slot) */\n @Prop() icon: string = \"\";\n\n /** Icon Position */\n @Prop({ reflect: true }) iconPosition: \"left\" | \"right\" = \"left\";\n\n /** Checked status (if type is radio) */\n @Prop({ mutable: true, reflect: true }) checked: boolean = false;\n\n /** Default checked (used by reset, if type is radio) */\n @Prop({ mutable: true }) defaultChecked: boolean;\n\n /** The name of the input element (if type is button or radio) */\n @Prop({ reflect: true }) name: string = \"\";\n\n /** The value of the input element (if type is button or radio) */\n @Prop({ mutable: true }) value: string = \"\";\n\n /** `href` if the button should be used as link */\n @Prop() href: string = \"\";\n\n /** Rel (if href is used) */\n @Prop() rel: string;\n\n /** Target if the button is used as link (if `href` used) */\n @Prop() target: string = \"\";\n\n /** Download attribute of link (if `href` used) */\n @Prop() download: string;\n\n /** Type of the button */\n @Prop() type: \"button\" | \"submit\" | \"reset\" | \"radio\" = \"button\";\n\n /** Whether the button is disabled */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /** Whether to disable the button on click or not */\n @Prop() disableOnClick: boolean = false;\n\n /** Whether the button is active */\n @Prop({ reflect: true }) active: boolean = false;\n\n /** Label */\n @Prop() label: string = \"\";\n\n /** Effect/Animation used */\n @Prop() effect: \"default\" | \"cta\" = \"default\";\n\n /** Whether only an icon is used inside the button */\n @Prop({ reflect: true }) iconOnly: boolean = false;\n\n /** Whether padding left should be removed */\n @Prop({ reflect: true }) noPaddingLeft: boolean = false;\n\n /** Whether padding right should be removed */\n @Prop({ reflect: true }) noPaddingRight: boolean = false;\n\n /** Access key of button (usually a number e.g. 1) */\n @Prop() buttonAccesskey: string;\n\n /** ID of button element */\n @Prop() buttonId: string;\n\n /** Whether to show toggle icon (show minus when a11yExpanded=true, otherwise plus) */\n @Prop({ reflect: true }) showToggleIcon: boolean = false;\n\n /** Accessible label for screen readers to replace visible text */\n @Prop({ attribute: \"a11y-label\" }) a11yLabel: string;\n\n /** Id for element which describes the button (this will be overwritten if description prop or slot is used, used by stzh-radiogroup) */\n @Prop({ attribute: \"a11y-describedby\" }) a11yDescribedby: string = \"\";\n\n /** Aria expanded of link/button */\n @Prop({ reflect: true, attribute: \"a11y-expanded\" }) a11yExpanded: boolean;\n\n /** Aria disabled of link/button */\n @Prop({ reflect: true, attribute: \"a11y-disabled\" }) a11yDisabled: boolean;\n\n /** Aria controls of link/button */\n @Prop({ attribute: \"a11y-controls\" }) a11yControls: string;\n\n /** Aria current of link/button */\n @Prop({ attribute: \"a11y-current\" }) a11yCurrent: string;\n\n /** Tabindex of link/button */\n @Prop({ attribute: \"a11y-tabindex\" }) a11yTabindex: 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: HTMLStzhButtonElement;\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 /** Focus event */\n @Event() stzhFocus: EventEmitter<StzhButtonFocusEvent>;\n\n /** Blur event */\n @Event() stzhBlur: EventEmitter<StzhButtonBlurEvent>;\n\n /** Change event (only called if type is radio) */\n @Event() stzhChange: EventEmitter<StzhButtonChangeEvent>;\n\n /** Click event */\n @Event() stzhClick: EventEmitter<StzhButtonClickEvent>;\n\n private button: HTMLButtonElement | HTMLAnchorElement | HTMLLabelElement;\n private input: HTMLInputElement;\n private text: HTMLDivElement;\n private focusedByInput: boolean = false;\n\n private handleReset = async () => {\n this.checked = this.defaultChecked;\n };\n\n private onInput = (event: InputEvent) => {\n this.checked = this.input.checked;\n this.stzhChange.emit({\n component: \"stzh-button\",\n originalEvent: event,\n value: this.value,\n checked: this.checked,\n });\n };\n\n private onRootFocus = () => {\n if (!this.focusedByInput) {\n this.button.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-button\",\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-button\",\n originalEvent: event,\n });\n };\n\n private onClick = (event: MouseEvent) => {\n if (this.disabled) {\n event.stopPropagation();\n event.preventDefault();\n } else {\n if (this.disableOnClick) {\n this.disabled = true;\n }\n this.stzhClick.emit({\n component: \"stzh-button\",\n originalEvent: event,\n href: this.href,\n });\n }\n };\n\n private renderIcon(iconUsed: boolean): HTMLInputElement {\n return (\n <div class=\"stzh-button__icon-wrapper\">\n {this.icon && <stzh-icon class=\"stzh-button__icon\" name={this.icon}></stzh-icon>}\n {!this.icon && this.showToggleIcon && (\n <div class=\"stzh-button__toggle-icon-wrapper\">\n <div class=\"stzh-button__toggle-icon\"></div>\n </div>\n )}\n {!this.icon && !this.showToggleIcon && <slot name=\"icon\"></slot>}\n {(this.badge || this.badgeEmpty) && this.badgePosition === \"icon\" && iconUsed && (\n <stzh-badge class=\"stzh-button__badge\" label={this.badge} type={this.badgeType}></stzh-badge>\n )}\n </div>\n );\n }\n\n private renderContent(): HTMLDivElement {\n return (\n <div class=\"stzh-button__text\" ref={el => (this.text = el as HTMLDivElement)}>\n {this.rel && this.rel.includes(\"external\") && (\n <div class=\"stzh-button__vhidden\">{this.localization.$globals.externalLinkLabel}</div>\n )}\n {this.download && <div class=\"stzh-button__vhidden\">{this.localization.$globals.downloadLinkLabel}</div>}\n {this.label ? this.label : <slot></slot>}\n </div>\n );\n }\n\n private renderInner(iconUsed: boolean): DocumentFragment {\n return (\n <Fragment>\n <div class=\"stzh-button__inner\">\n {this.type === \"radio\" && (\n <div class=\"stzh-button__mark\">\n <div class=\"stzh-button__check\"></div>\n </div>\n )}\n {this.iconPosition === \"left\" && this.renderIcon(iconUsed)}\n {this.renderContent()}\n {this.iconPosition === \"right\" && this.renderIcon(iconUsed)}\n </div>\n {(this.badge || this.badgeEmpty) && (this.badgePosition === \"button\" || !iconUsed) && (\n <stzh-badge class=\"stzh-button__badge\" label={this.badge} type={this.badgeType}></stzh-badge>\n )}\n </Fragment>\n );\n }\n\n async componentWillLoad() {\n this.defaultChecked = typeof this.defaultChecked === \"boolean\" ? this.defaultChecked : this.checked;\n\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"button\");\n }\n }\n\n componentDidRender() {\n requestAnimationFrame(() => {\n this.button?.setAttribute(\"s-object-id\", this.analyticsId || this.text.innerText);\n });\n }\n\n render() {\n const iconUsed: boolean = hasSlot(this.element, \"icon\") || !!this.icon;\n const classes = {\n \"stzh-button\": true,\n \"stzh-button--has-icon\": iconUsed,\n \"stzh-button--has-icon-only\": this.iconOnly,\n \"stzh-button--has-badge\": !!this.badge,\n \"stzh-button--is-rounded\": this.rounded,\n \"stzh-button--is-fullwidth\": this.fullwidth,\n \"stzh-button--is-disabled\": this.disabled || this.a11yDisabled,\n \"stzh-button--is-active\": this.active,\n \"stzh-button--is-expanded\": this.a11yExpanded,\n \"stzh-button--not-hyphenated\": this.noHyphenation,\n [`stzh-button--effect-${this.effect}`]: !!this.effect,\n [`stzh-button--badge-position-${this.badgePosition}`]: !!this.badgePosition,\n [`stzh-button--align-${this.textAlign}`]: !!this.textAlign,\n [`stzh-button--type-${this.type}`]: !!this.type,\n [`stzh-button--${this.variant}`]: !!this.variant,\n };\n\n return (\n <Host tabindex={this.disabled ? null : \"-1\"} onFocus={this.onRootFocus}>\n {this.href ? (\n <a\n ref={el => (this.button = el as HTMLAnchorElement)}\n href={this.disabled ? null : this.href}\n rel={this.rel}\n download={this.download}\n target={this.target}\n class={classes}\n aria-label={this.a11yLabel || null}\n aria-describedby={this.a11yDescribedby || null}\n aria-disabled={typeof this.a11yDisabled !== \"undefined\" ? (this.a11yDisabled ? \"true\" : \"false\") : null}\n aria-expanded={typeof this.a11yExpanded !== \"undefined\" ? (this.a11yExpanded ? \"true\" : \"false\") : null}\n aria-controls={this.a11yControls || null}\n aria-current={this.a11yCurrent || null}\n id={this.buttonId}\n accessKey={this.buttonAccesskey}\n tabindex={this.a11yTabindex}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n onClick={this.onClick}\n >\n {this.renderInner(iconUsed)}\n </a>\n ) : this.type === \"radio\" ? (\n <label ref={el => (this.button = el as HTMLLabelElement)} class={classes} onClick={this.onClick}>\n <input\n ref={el => (this.input = el as HTMLInputElement)}\n type=\"radio\"\n class=\"stzh-button__input\"\n name={this.name}\n value={this.value}\n defaultChecked={this.defaultChecked}\n checked={this.checked}\n disabled={this.disabled}\n aria-label={this.a11yLabel || null}\n aria-describedby={this.a11yDescribedby || null}\n aria-disabled={typeof this.a11yDisabled !== \"undefined\" ? (this.a11yDisabled ? \"true\" : \"false\") : null}\n aria-expanded={typeof this.a11yExpanded !== \"undefined\" ? (this.a11yExpanded ? \"true\" : \"false\") : null}\n aria-controls={this.a11yControls || null}\n aria-current={this.a11yCurrent || null}\n id={this.buttonId}\n accessKey={this.buttonAccesskey}\n tabindex={this.a11yTabindex}\n onFocus={this.onFocus}\n onBlur={this.onBlur}\n onClick={this.onClick}\n onInput={this.onInput}\n />\n {this.renderInner(iconUsed)}\n </label>\n ) : (\n <button\n ref={el => (this.button = el as HTMLButtonElement)}\n class={classes}\n type={this.type}\n name={this.name}\n value={this.value}\n disabled={this.disabled}\n aria-label={this.a11yLabel || null}\n aria-describedby={this.a11yDescribedby || null}\n aria-disabled={typeof this.a11yDisabled !== \"undefined\" ? (this.a11yDisabled ? \"true\" : \"false\") : null}\n aria-expanded={typeof this.a11yExpanded !== \"undefined\" ? (this.a11yExpanded ? \"true\" : \"false\") : null}\n aria-controls={this.a11yControls || null}\n aria-current={this.a11yCurrent || null}\n id={this.buttonId}\n accessKey={this.buttonAccesskey}\n tabindex={this.a11yTabindex}\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,13 +1,13 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, d as createEvent, h, e as Host, t as transformTag } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, d as createEvent, h, e as Host, t as transformTag } from './p-C1U0z0e7.js';
|
|
2
2
|
import { m as media, a as addMediaChangeListener, r as removeMediaChangeListener } from './p-CUGRmgip.js';
|
|
3
|
-
import { d as defineCustomElement$8 } from './p-
|
|
4
|
-
import { d as defineCustomElement$7 } from './p-
|
|
5
|
-
import { d as defineCustomElement$6 } from './p-
|
|
6
|
-
import { d as defineCustomElement$5 } from './p-
|
|
7
|
-
import { d as defineCustomElement$4 } from './p-
|
|
8
|
-
import { d as defineCustomElement$3 } from './p-
|
|
9
|
-
import { d as defineCustomElement$2 } from './p-
|
|
10
|
-
import { d as defineCustomElement$1 } from './p-
|
|
3
|
+
import { d as defineCustomElement$8 } from './p-ndh9Y2u_.js';
|
|
4
|
+
import { d as defineCustomElement$7 } from './p-D0sPQTAC.js';
|
|
5
|
+
import { d as defineCustomElement$6 } from './p-CuGNlsAf.js';
|
|
6
|
+
import { d as defineCustomElement$5 } from './p-v8Ik0RFs.js';
|
|
7
|
+
import { d as defineCustomElement$4 } from './p-C7BDblTx.js';
|
|
8
|
+
import { d as defineCustomElement$3 } from './p-BJZwsXr4.js';
|
|
9
|
+
import { d as defineCustomElement$2 } from './p-BaQRAFeH.js';
|
|
10
|
+
import { d as defineCustomElement$1 } from './p-g99SJmS9.js';
|
|
11
11
|
|
|
12
12
|
const stzhActionsetCss = () => `.sc-stzh-actionset-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-actionset-h,[stzh-hidden].sc-stzh-actionset-h{display:none}.sc-stzh-actionset-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-actionset-h *.sc-stzh-actionset,.sc-stzh-actionset-h *.sc-stzh-actionset::before,.sc-stzh-actionset-h *.sc-stzh-actionset::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-actionset-h .has-focus.sc-stzh-actionset{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-actionset-h .stzh-fylingfocus-focused.sc-stzh-actionset{outline-style:none !important}.sc-stzh-actionset-h .stzh-fylingfocus-focused.sc-stzh-actionset::-moz-focus-inner{border:0 !important}.stzh-actionset__actions.sc-stzh-actionset{display:flex;align-items:center}.stzh-actionset__actions-wrapper.sc-stzh-actionset{position:relative;display:flex;flex-wrap:wrap;overflow:hidden}.stzh-actionset__action.sc-stzh-actionset:not(:last-child){margin-right:var(--stzh-space-xsmall)}.stzh-actionset__action-popover-wrapper.sc-stzh-actionset{opacity:0}.stzh-actionset--has-collapsed-items.sc-stzh-actionset .stzh-actionset__action-popover-wrapper.sc-stzh-actionset{opacity:1}.stzh-actionset--has-collapsed-items.sc-stzh-actionset .stzh-actionset__action-popover.sc-stzh-actionset{--width:auto}@media screen and (min-width: 900px){.stzh-actionset--overflow.sc-stzh-actionset .stzh-actionset__action.sc-stzh-actionset{--white-space:nowrap}}@media screen and (max-width: 599px){.stzh-actionset--stack.sc-stzh-actionset .stzh-actionset__actions.sc-stzh-actionset{flex-direction:column;align-items:stretch}}@media screen and (max-width: 599px){.stzh-actionset--stack.sc-stzh-actionset .stzh-actionset__actions-wrapper.sc-stzh-actionset{flex-direction:column;align-items:stretch}}@media screen and (min-width: 600px){.stzh-actionset--stack.sc-stzh-actionset .stzh-actionset__action.sc-stzh-actionset{--white-space:nowrap}}@media screen and (max-width: 599px){.stzh-actionset--stack.sc-stzh-actionset .stzh-actionset__action.sc-stzh-actionset:not(:last-child){margin-bottom:var(--stzh-space-xsmall);margin-right:0}}@media screen and (max-width: 599px){.stzh-actionset--stack.sc-stzh-actionset .stzh-actionset__action-popover-wrapper.sc-stzh-actionset{margin-top:var(--stzh-space-xsmall)}}@media screen and (max-width: 599px){.stzh-actionset--stack.sc-stzh-actionset:not(.stzh-actionset--has-collapsed-items) .stzh-actionset__action-popover-wrapper.sc-stzh-actionset{display:none}}`;
|
|
13
13
|
|
|
@@ -237,6 +237,6 @@ function defineCustomElement() {
|
|
|
237
237
|
}
|
|
238
238
|
|
|
239
239
|
export { StzhActionset as S, defineCustomElement as d };
|
|
240
|
-
//# sourceMappingURL=p-
|
|
240
|
+
//# sourceMappingURL=p-D1u4OrAq.js.map
|
|
241
241
|
|
|
242
|
-
//# sourceMappingURL=p-
|
|
242
|
+
//# sourceMappingURL=p-D1u4OrAq.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-BO75Hl9b.js","mappings":";;;;;;;;;;;AAAA,MAAM,gBAAgB,GAAG,MAAM,CAAC,83FAA83F,CAAC;;MCiBl5F,aAAa,iBAAAA,kBAAA,CA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AAU,IAAI,IAAI,CAAC,YAAY,CAAC,OAAO,EACtD,CAAA,EACf,CAAA,CAAA,WAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAW,IAAI,EAAC,SAAS,EAAA,EACtB,IAAI,CAAC,gBAAgB,CAAC,GAAG,CAAC,MAAM,KAC/B,CAAA,CAAA,gBAAA,EAAA;;YAEE,IAAI,EAAE,MAAM,CAAC,IAAI,EACjB,KAAK,EAAE,MAAM,CAAC,KAAK,EACnB,UAAU,EAAE,MAAM,CAAC,UAAU,EAC7B,SAAS,EAAE,MAAM,CAAC,SAAS,EAC3B,OAAO,EAAE,CAAC,IAAG;AACX,gBAAA,IAAI,CAAC,WAAW,CAAC,MAAM,EAAE,CAAC,CAAC;;AAG5B,SAAA,EAAA,MAAM,CAAC,KAAK,CACE,CAClB,CAAC,CACQ,CACC,CACX,CACF,CACF,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-actionset/stzh-actionset.scss?tag=stzh-actionset&encapsulation=scoped","src/components/stzh-actionset/stzh-actionset.tsx"],"sourcesContent":[":host {\n}\n\n.stzh-actionset {\n &__actions {\n display: flex;\n align-items: center;\n }\n\n &__actions-wrapper {\n position: relative;\n display: flex;\n flex-wrap: wrap;\n overflow: hidden;\n }\n\n &__action {\n &:not(:last-child) {\n margin-right: space(\"xsmall\");\n }\n }\n\n &__action-popover-wrapper {\n opacity: 0;\n }\n\n &--has-collapsed-items &__action-popover-wrapper {\n opacity: 1;\n }\n\n &--has-collapsed-items &__action-popover {\n --width: auto;\n }\n\n /* Overflow variant */\n\n &--overflow &__action {\n @include mq($from: medium) {\n --white-space: nowrap;\n }\n }\n\n /* Stack variant */\n\n &--stack &__actions {\n @include mq($to: small) {\n flex-direction: column;\n align-items: stretch;\n }\n }\n\n &--stack &__actions-wrapper {\n @include mq($to: small) {\n flex-direction: column;\n align-items: stretch;\n }\n }\n\n &--stack &__action {\n @include mq($from: small) {\n --white-space: nowrap;\n }\n\n &:not(:last-child) {\n @include mq($to: small) {\n margin-bottom: space(\"xsmall\");\n margin-right: 0;\n }\n }\n }\n\n &--stack &__action-popover-wrapper {\n @include mq($to: small) {\n margin-top: space(\"xsmall\");\n }\n }\n\n // Hide more action popover on small if it has no collapsed items\n\n &--stack:not(#{&}--has-collapsed-items) &__action-popover-wrapper {\n @include mq($to: small) {\n display: none;\n }\n }\n}\n","import { Component, Host, Prop, h, Element, Watch, Event, EventEmitter, State } from \"@stencil/core\";\n\nimport { StzhActionsetItem, StzhActionsetItemClickEvent } from \"../../index\";\n\nimport { StzhActionsetLocalizedText } from \"./stzh-actionset.localization\";\n\nimport { media, addMediaChangeListener, removeMediaChangeListener } from \"../../utils/media-utils\";\n\nimport { Placement } from \"@floating-ui/dom\";\n\n/**\n */\n@Component({\n tag: \"stzh-actionset\",\n styleUrl: \"stzh-actionset.scss\",\n scoped: true,\n})\nexport class StzhActionset {\n /** Translation strings */\n @Prop() localization: StzhActionsetLocalizedText;\n\n /** Variant determining what position the action buttons are */\n @Prop({ reflect: true }) variant: \"stack\" | \"overflow\" = \"stack\";\n\n /** Button variant of popover button (button thats holds collapsed actions) */\n @Prop({ reflect: true }) popoverButtonVariant: \"\" | \"default\" | \"secondary\" | \"tertiary\" = \"\";\n\n /** Button size of popover button (button that holds collapsed actions) */\n @Prop({ reflect: true }) popoverButtonSize: \"\" | \"default\" | \"small\" | \"tiny\" = \"\";\n\n /** Popover placement of button that holds collapsed actions */\n @Prop({ reflect: true }) popoverPlacement: Placement = \"bottom-end\";\n\n /**\n * Card header actions.\n * Array of objects that can include the button attributes `id`, `variant`, `icon`, `size`, `iconPosition`, `iconOnly`, `label` or `badge`:\n * `[{\"id\":\"action-1\", \"icon\": \"alarm-bell\", \"label\": \"Lorem\"}, {\"id\":\"action-2\", \"icon\": \"mail\", \"label\": \"Lorem\"}]`\n */\n @Prop() actions: StzhActionsetItem[] | string = [];\n private _actions: StzhActionsetItem[] = [];\n\n /** Header action click event */\n @Event() stzhActionClick: EventEmitter<StzhActionsetItemClickEvent>;\n\n @Element() element: HTMLStzhActionsetElement;\n\n @Watch(\"actions\")\n actionsWatcher(newValue: StzhActionsetItem[] | string) {\n if (typeof newValue === \"string\") {\n this._actions = JSON.parse(newValue);\n } else {\n this._actions = newValue;\n }\n }\n\n @State() actionsCollapsed: StzhActionsetItem[] = [];\n @State() dynamicActions: boolean;\n @State() isSmall: boolean;\n @State() isMedium: boolean;\n\n private actionsElement: HTMLElement;\n private debounceResize: number;\n private resizeObserver: ResizeObserver;\n\n private actionClick = (action: StzhActionsetItem, originalEvent: MouseEvent) => {\n this.stzhActionClick.emit({\n component: \"stzh-actionset\",\n action,\n originalEvent,\n });\n };\n\n private update = () => {\n this.isSmall = media(\"small\").matches;\n this.isMedium = media(\"medium\").matches;\n\n if (!this.actionsElement) {\n return;\n }\n\n Object.assign(this.actionsElement.style, {\n width: null,\n height: null,\n });\n\n let newActionsVisible = 0;\n\n if ((this.variant === \"overflow\" && this.isMedium) || (this.variant === \"stack\" && this.isSmall)) {\n this.dynamicActions = true;\n\n let newActionsHeight = 0;\n let newActionsWidth = 0;\n\n // update height and width\n Array.from(this.actionsElement.children).forEach((child: HTMLElement) => {\n // check which item is visible and\n if (child.offsetTop === 0) {\n newActionsVisible++;\n\n const { width, height } = child.getBoundingClientRect();\n\n const style = getComputedStyle(child);\n const marginLeft = parseInt(style.marginLeft);\n const marginRight = parseInt(style.marginRight);\n const marginTop = parseInt(style.marginTop);\n const marginBottom = parseInt(style.marginBottom);\n\n const childWidth = width + marginLeft + marginRight;\n const childHeight = height + marginTop + marginBottom;\n\n if (newActionsHeight < childHeight) {\n newActionsHeight = childHeight;\n }\n\n newActionsWidth = newActionsWidth + childWidth;\n }\n });\n\n Object.assign(this.actionsElement.style, {\n width: `${newActionsWidth}px`,\n height: `${newActionsHeight}px`,\n });\n } else {\n this.dynamicActions = false;\n\n if (this.variant === \"overflow\") {\n newActionsVisible = 0;\n } else if (this.variant === \"stack\") {\n newActionsVisible = this._actions.length <= 3 ? this._actions.length : 2;\n }\n }\n\n this.actionsCollapsed = this._actions.slice(newActionsVisible);\n };\n\n private handleResize = () => {\n if (this.debounceResize) {\n window.cancelAnimationFrame(this.debounceResize);\n }\n\n this.debounceResize = requestAnimationFrame(this.update);\n };\n\n private mediaChangeHandler = () => {\n this.actionsCollapsed = [];\n requestAnimationFrame(this.update);\n };\n\n async componentWillLoad() {\n this.actionsWatcher(this.actions);\n\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"actionset\");\n }\n }\n\n connectedCallback() {\n addMediaChangeListener(this.mediaChangeHandler);\n\n this.resizeObserver = new ResizeObserver(this.handleResize);\n this.resizeObserver.observe(this.element);\n }\n\n disconnectedCallback() {\n removeMediaChangeListener(this.mediaChangeHandler);\n\n if (this.resizeObserver) {\n this.resizeObserver.disconnect();\n }\n }\n\n componentDidLoad() {\n this.update();\n }\n\n render() {\n const classes = {\n \"stzh-actionset\": true,\n // \"stzh-actionset--has-dynamic-actions\": this.dynamicActions,\n \"stzh-actionset--has-collapsed-items\": this.actionsCollapsed.length > 0,\n [`stzh-actionset--${this.variant}`]: !!this.variant,\n };\n\n const Action = (action: StzhActionsetItem, disableTabbing: boolean) => (\n <stzh-button\n a11yTabindex={disableTabbing ? \"-1\" : null}\n class={{\n \"stzh-actionset__action\": true,\n \"is-button\": true,\n }}\n label={action.label}\n icon={action.icon}\n iconPosition={action.iconPosition}\n iconOnly={action.iconOnly}\n badge={action.badge}\n variant={action.variant ? action.variant : this.variant === \"stack\" ? \"secondary\" : \"tertiary\"}\n size={action.size ? action.size : this.variant === \"stack\" ? \"small\" : \"tiny\"}\n badgePosition=\"icon\"\n onClick={e => {\n this.actionClick(action, e);\n }}\n ></stzh-button>\n );\n\n return (\n <Host has-collapsed-items={this.actionsCollapsed.length > 0}>\n <div class={classes}>\n <div class=\"stzh-actionset__actions\" role=\"group\">\n <div ref={el => (this.actionsElement = el as HTMLElement)} class=\"stzh-actionset__actions-wrapper\">\n {this._actions.map(\n action =>\n (this.dynamicActions || (!this.dynamicActions && this.actionsCollapsed.indexOf(action) === -1)) &&\n (action.tooltipContent ? (\n <stzh-tooltip strategy=\"fixed\" content={action.tooltipContent}>\n {Action(action, this.dynamicActions && this.actionsCollapsed.indexOf(action) > -1)}\n </stzh-tooltip>\n ) : (\n Action(action, this.dynamicActions && this.actionsCollapsed.indexOf(action) > -1)\n )),\n )}\n </div>\n\n <div class=\"stzh-actionset__action-popover-wrapper\">\n <stzh-popover\n label={\n this.variant === \"stack\"\n ? this.localization.furtherActions\n : !this.isMedium\n ? this.localization.actions\n : \"\"\n }\n strategy=\"fixed\"\n placement={this.popoverPlacement}\n class=\"stzh-actionset__action-popover\"\n >\n <stzh-button\n fullwidth\n disabled={this.actionsCollapsed.length === 0}\n class=\"stzh-actionset__action is-further\"\n variant={\n this.popoverButtonVariant !== \"\"\n ? this.popoverButtonVariant\n : this.variant === \"stack\"\n ? \"secondary\"\n : \"tertiary\"\n }\n size={\n this.popoverButtonSize !== \"\" ? this.popoverButtonSize : this.variant === \"stack\" ? \"small\" : \"tiny\"\n }\n icon={this.variant === \"stack\" ? \"angle-down\" : \"more-vertical\"}\n iconOnly={this.variant === \"overflow\" && this.isMedium}\n iconPosition=\"right\"\n label={\n this.variant === \"stack\"\n ? this.localization.furtherActions\n : !this.isMedium\n ? this.localization.actions\n : \"\"\n }\n a11yLabel={this.variant === \"overflow\" && this.localization.actions}\n ></stzh-button>\n <stzh-menu slot=\"content\">\n {this.actionsCollapsed.map(action => (\n <stzh-menu-item\n // class=\"hide-medium show-when-collapsed\"\n icon={action.icon}\n badge={action.badge}\n badgeEmpty={action.badgeEmpty}\n badgeType={action.badgeType}\n onClick={e => {\n this.actionClick(action, e);\n }}\n >\n {action.label}\n </stzh-menu-item>\n ))}\n </stzh-menu>\n </stzh-popover>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ACH,IAAI,CAAC,OAAO,KAAK;AACf,kBAAE,IAAI,CAAC,YAAY,CAAC;AACpB,kBAAE,CAAC,IAAI,CAAC;AACN,sBAAE,IAAI,CAAC,YAAY,CAAC;sBAClB,EAAE,EAEV,SAAS,EAAE,IAAI,CAAC,OAAO,KAAK,UAAU,IAAI,IAAI,CAAC,YAAY,CAAC,OAAO,EACtD,CAAA,EACf,CAAA,CAAA,WAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAW,IAAI,EAAC,SAAS,EAAA,EACtB,IAAI,CAAC,gBAAgB,CAAC,GAAG,CAAC,MAAM,KAC/B,CAAA,CAAA,gBAAA,EAAA;;YAEE,IAAI,EAAE,MAAM,CAAC,IAAI,EACjB,KAAK,EAAE,MAAM,CAAC,KAAK,EACnB,UAAU,EAAE,MAAM,CAAC,UAAU,EAC7B,SAAS,EAAE,MAAM,CAAC,SAAS,EAC3B,OAAO,EAAE,CAAC,IAAG;AACX,gBAAA,IAAI,CAAC,WAAW,CAAC,MAAM,EAAE,CAAC,CAAC;;AAG5B,SAAA,EAAA,MAAM,CAAC,KAAK,CACE,CAClB,CAAC,CACQ,CACC,CACX,CACF,CACF,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-actionset/stzh-actionset.scss?tag=stzh-actionset&encapsulation=scoped","src/components/stzh-actionset/stzh-actionset.tsx"],"sourcesContent":[":host {\n}\n\n.stzh-actionset {\n &__actions {\n display: flex;\n align-items: center;\n }\n\n &__actions-wrapper {\n position: relative;\n display: flex;\n flex-wrap: wrap;\n overflow: hidden;\n }\n\n &__action {\n &:not(:last-child) {\n margin-right: space(\"xsmall\");\n }\n }\n\n &__action-popover-wrapper {\n opacity: 0;\n }\n\n &--has-collapsed-items &__action-popover-wrapper {\n opacity: 1;\n }\n\n &--has-collapsed-items &__action-popover {\n --width: auto;\n }\n\n /* Overflow variant */\n\n &--overflow &__action {\n @include mq($from: medium) {\n --white-space: nowrap;\n }\n }\n\n /* Stack variant */\n\n &--stack &__actions {\n @include mq($to: small) {\n flex-direction: column;\n align-items: stretch;\n }\n }\n\n &--stack &__actions-wrapper {\n @include mq($to: small) {\n flex-direction: column;\n align-items: stretch;\n }\n }\n\n &--stack &__action {\n @include mq($from: small) {\n --white-space: nowrap;\n }\n\n &:not(:last-child) {\n @include mq($to: small) {\n margin-bottom: space(\"xsmall\");\n margin-right: 0;\n }\n }\n }\n\n &--stack &__action-popover-wrapper {\n @include mq($to: small) {\n margin-top: space(\"xsmall\");\n }\n }\n\n // Hide more action popover on small if it has no collapsed items\n\n &--stack:not(#{&}--has-collapsed-items) &__action-popover-wrapper {\n @include mq($to: small) {\n display: none;\n }\n }\n}\n","import { Component, Host, Prop, h, Element, Watch, Event, EventEmitter, State } from \"@stencil/core\";\n\nimport { StzhActionsetItem, StzhActionsetItemClickEvent } from \"../../index\";\n\nimport { StzhActionsetLocalizedText } from \"./stzh-actionset.localization\";\n\nimport { media, addMediaChangeListener, removeMediaChangeListener } from \"../../utils/media-utils\";\n\nimport { Placement } from \"@floating-ui/dom\";\n\n/**\n */\n@Component({\n tag: \"stzh-actionset\",\n styleUrl: \"stzh-actionset.scss\",\n scoped: true,\n})\nexport class StzhActionset {\n /** Translation strings */\n @Prop() localization: StzhActionsetLocalizedText;\n\n /** Variant determining what position the action buttons are */\n @Prop({ reflect: true }) variant: \"stack\" | \"overflow\" = \"stack\";\n\n /** Button variant of popover button (button thats holds collapsed actions) */\n @Prop({ reflect: true }) popoverButtonVariant: \"\" | \"default\" | \"secondary\" | \"tertiary\" = \"\";\n\n /** Button size of popover button (button that holds collapsed actions) */\n @Prop({ reflect: true }) popoverButtonSize: \"\" | \"default\" | \"small\" | \"tiny\" = \"\";\n\n /** Popover placement of button that holds collapsed actions */\n @Prop({ reflect: true }) popoverPlacement: Placement = \"bottom-end\";\n\n /**\n * Card header actions.\n * Array of objects that can include the button attributes `id`, `variant`, `icon`, `size`, `iconPosition`, `iconOnly`, `label` or `badge`:\n * `[{\"id\":\"action-1\", \"icon\": \"alarm-bell\", \"label\": \"Lorem\"}, {\"id\":\"action-2\", \"icon\": \"mail\", \"label\": \"Lorem\"}]`\n */\n @Prop() actions: StzhActionsetItem[] | string = [];\n private _actions: StzhActionsetItem[] = [];\n\n /** Header action click event */\n @Event() stzhActionClick: EventEmitter<StzhActionsetItemClickEvent>;\n\n @Element() element: HTMLStzhActionsetElement;\n\n @Watch(\"actions\")\n actionsWatcher(newValue: StzhActionsetItem[] | string) {\n if (typeof newValue === \"string\") {\n this._actions = JSON.parse(newValue);\n } else {\n this._actions = newValue;\n }\n }\n\n @State() actionsCollapsed: StzhActionsetItem[] = [];\n @State() dynamicActions: boolean;\n @State() isSmall: boolean;\n @State() isMedium: boolean;\n\n private actionsElement: HTMLElement;\n private debounceResize: number;\n private resizeObserver: ResizeObserver;\n\n private actionClick = (action: StzhActionsetItem, originalEvent: MouseEvent) => {\n this.stzhActionClick.emit({\n component: \"stzh-actionset\",\n action,\n originalEvent,\n });\n };\n\n private update = () => {\n this.isSmall = media(\"small\").matches;\n this.isMedium = media(\"medium\").matches;\n\n if (!this.actionsElement) {\n return;\n }\n\n Object.assign(this.actionsElement.style, {\n width: null,\n height: null,\n });\n\n let newActionsVisible = 0;\n\n if ((this.variant === \"overflow\" && this.isMedium) || (this.variant === \"stack\" && this.isSmall)) {\n this.dynamicActions = true;\n\n let newActionsHeight = 0;\n let newActionsWidth = 0;\n\n // update height and width\n Array.from(this.actionsElement.children).forEach((child: HTMLElement) => {\n // check which item is visible and\n if (child.offsetTop === 0) {\n newActionsVisible++;\n\n const { width, height } = child.getBoundingClientRect();\n\n const style = getComputedStyle(child);\n const marginLeft = parseInt(style.marginLeft);\n const marginRight = parseInt(style.marginRight);\n const marginTop = parseInt(style.marginTop);\n const marginBottom = parseInt(style.marginBottom);\n\n const childWidth = width + marginLeft + marginRight;\n const childHeight = height + marginTop + marginBottom;\n\n if (newActionsHeight < childHeight) {\n newActionsHeight = childHeight;\n }\n\n newActionsWidth = newActionsWidth + childWidth;\n }\n });\n\n Object.assign(this.actionsElement.style, {\n width: `${newActionsWidth}px`,\n height: `${newActionsHeight}px`,\n });\n } else {\n this.dynamicActions = false;\n\n if (this.variant === \"overflow\") {\n newActionsVisible = 0;\n } else if (this.variant === \"stack\") {\n newActionsVisible = this._actions.length <= 3 ? this._actions.length : 2;\n }\n }\n\n this.actionsCollapsed = this._actions.slice(newActionsVisible);\n };\n\n private handleResize = () => {\n if (this.debounceResize) {\n window.cancelAnimationFrame(this.debounceResize);\n }\n\n this.debounceResize = requestAnimationFrame(this.update);\n };\n\n private mediaChangeHandler = () => {\n this.actionsCollapsed = [];\n requestAnimationFrame(this.update);\n };\n\n async componentWillLoad() {\n this.actionsWatcher(this.actions);\n\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"actionset\");\n }\n }\n\n connectedCallback() {\n addMediaChangeListener(this.mediaChangeHandler);\n\n this.resizeObserver = new ResizeObserver(this.handleResize);\n this.resizeObserver.observe(this.element);\n }\n\n disconnectedCallback() {\n removeMediaChangeListener(this.mediaChangeHandler);\n\n if (this.resizeObserver) {\n this.resizeObserver.disconnect();\n }\n }\n\n componentDidLoad() {\n this.update();\n }\n\n render() {\n const classes = {\n \"stzh-actionset\": true,\n // \"stzh-actionset--has-dynamic-actions\": this.dynamicActions,\n \"stzh-actionset--has-collapsed-items\": this.actionsCollapsed.length > 0,\n [`stzh-actionset--${this.variant}`]: !!this.variant,\n };\n\n const Action = (action: StzhActionsetItem, disableTabbing: boolean) => (\n <stzh-button\n a11yTabindex={disableTabbing ? \"-1\" : null}\n class={{\n \"stzh-actionset__action\": true,\n \"is-button\": true,\n }}\n label={action.label}\n icon={action.icon}\n iconPosition={action.iconPosition}\n iconOnly={action.iconOnly}\n badge={action.badge}\n variant={action.variant ? action.variant : this.variant === \"stack\" ? \"secondary\" : \"tertiary\"}\n size={action.size ? action.size : this.variant === \"stack\" ? \"small\" : \"tiny\"}\n badgePosition=\"icon\"\n onClick={e => {\n this.actionClick(action, e);\n }}\n ></stzh-button>\n );\n\n return (\n <Host has-collapsed-items={this.actionsCollapsed.length > 0}>\n <div class={classes}>\n <div class=\"stzh-actionset__actions\" role=\"group\">\n <div ref={el => (this.actionsElement = el as HTMLElement)} class=\"stzh-actionset__actions-wrapper\">\n {this._actions.map(\n action =>\n (this.dynamicActions || (!this.dynamicActions && this.actionsCollapsed.indexOf(action) === -1)) &&\n (action.tooltipContent ? (\n <stzh-tooltip strategy=\"fixed\" content={action.tooltipContent}>\n {Action(action, this.dynamicActions && this.actionsCollapsed.indexOf(action) > -1)}\n </stzh-tooltip>\n ) : (\n Action(action, this.dynamicActions && this.actionsCollapsed.indexOf(action) > -1)\n )),\n )}\n </div>\n\n <div class=\"stzh-actionset__action-popover-wrapper\">\n <stzh-popover\n label={\n this.variant === \"stack\"\n ? this.localization.furtherActions\n : !this.isMedium\n ? this.localization.actions\n : \"\"\n }\n strategy=\"fixed\"\n placement={this.popoverPlacement}\n class=\"stzh-actionset__action-popover\"\n >\n <stzh-button\n fullwidth\n disabled={this.actionsCollapsed.length === 0}\n class=\"stzh-actionset__action is-further\"\n variant={\n this.popoverButtonVariant !== \"\"\n ? this.popoverButtonVariant\n : this.variant === \"stack\"\n ? \"secondary\"\n : \"tertiary\"\n }\n size={\n this.popoverButtonSize !== \"\" ? this.popoverButtonSize : this.variant === \"stack\" ? \"small\" : \"tiny\"\n }\n icon={this.variant === \"stack\" ? \"angle-down\" : \"more-vertical\"}\n iconOnly={this.variant === \"overflow\" && this.isMedium}\n iconPosition=\"right\"\n label={\n this.variant === \"stack\"\n ? this.localization.furtherActions\n : !this.isMedium\n ? this.localization.actions\n : \"\"\n }\n a11yLabel={this.variant === \"overflow\" && this.localization.actions}\n ></stzh-button>\n <stzh-menu slot=\"content\">\n {this.actionsCollapsed.map(action => (\n <stzh-menu-item\n // class=\"hide-medium show-when-collapsed\"\n icon={action.icon}\n badge={action.badge}\n badgeEmpty={action.badgeEmpty}\n badgeType={action.badgeType}\n onClick={e => {\n this.actionClick(action, e);\n }}\n >\n {action.label}\n </stzh-menu-item>\n ))}\n </stzh-menu>\n </stzh-popover>\n </div>\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, h, e as Host, t as transformTag } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, h, e as Host, t as transformTag } from './p-C1U0z0e7.js';
|
|
2
2
|
import { s as setPropsIfNull } from './p-Dk-EHN3E.js';
|
|
3
3
|
|
|
4
4
|
const stzhActionsCss = () => `:host{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}:host[hidden],:host[stzh-hidden]{display:none}:host::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}:host *,:host *::before,:host *::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)}:host{}:host .has-focus{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}:host .stzh-fylingfocus-focused{outline-style:none !important}:host .stzh-fylingfocus-focused::-moz-focus-inner{border:0 !important}:host ::slotted([slot=primary]),:host ::slotted([slot=secondary]),:host ::slotted([slot=tertiary]){flex-grow:1;margin:calc(var(--stzh-space-medium) / 2)}@media screen and (min-width: 600px){:host[space-between=true] ::slotted([slot=tertiary]){flex-grow:inherit}}.stzh-actions__actions{display:flex;flex-direction:column-reverse;margin:calc(var(--stzh-space-medium) / -2)}@media screen and (min-width: 600px){.stzh-actions__actions{flex-direction:row}}.stzh-actions__primary-actions,.stzh-actions__secondary-actions,.stzh-actions__tertiary-actions{display:flex}.stzh-actions__wrapper{display:contents}@media screen and (max-width: 599px){.stzh-actions--process .stzh-actions__wrapper{display:flex;flex-wrap:wrap}}.stzh-actions--process .stzh-actions__actions{justify-content:flex-end}@media screen and (max-width: 599px){.stzh-actions--process .stzh-actions__primary-actions,.stzh-actions--process .stzh-actions__secondary-actions{flex-grow:1}}@media screen and (min-width: 600px){.stzh-actions--process .stzh-actions__tertiary-actions{margin-right:auto}}.stzh-actions--search .stzh-actions__actions{justify-content:flex-end}.stzh-actions{}.stzh-actions--space-between .stzh-actions__actions{justify-content:space-between}@media screen and (min-width: 600px){.stzh-actions--space-between .stzh-actions__actions{flex-direction:column}}@media screen and (min-width: 900px){.stzh-actions--space-between .stzh-actions__actions{flex-direction:row}}@media screen and (min-width: 600px){.stzh-actions--space-between .stzh-actions__wrapper{display:flex;justify-content:flex-end}}`;
|
|
@@ -71,6 +71,6 @@ function defineCustomElement() {
|
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
export { StzhActions as S, defineCustomElement as d };
|
|
74
|
-
//# sourceMappingURL=p-
|
|
74
|
+
//# sourceMappingURL=p-D4_fDMz3.js.map
|
|
75
75
|
|
|
76
|
-
//# sourceMappingURL=p-
|
|
76
|
+
//# sourceMappingURL=p-D4_fDMz3.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-
|
|
1
|
+
{"file":"p-D4_fDMz3.js","mappings":";;;AAAA,MAAM,cAAc,GAAG,MAAM,CAAC,u7EAAu7E,CAAC;;MCcz8E,WAAW,iBAAAA,kBAAA,CAAA,MAAA,WAAA,SAAAC,CAAA,CAAA;AALxB,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;;AAO2B,QAAA,IAAO,CAAA,OAAA,GAA6C,MAAM;;AAG1D,QAAA,IAAY,CAAA,YAAA,GAAY,KAAK;AAM9C,QAAA,IAAI,CAAA,IAAA,GAAG,MAAK;YAClB,MAAM,gBA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AAA,KAAK,EAAE,OAAO,EAAA,EACjB,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,KAAK,EAAC,uBAAuB,EAAC,IAAI,EAAC,OAAO,EAAA,EAC7C,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,gCAAgC,EAAA,EACzC,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,IAAI,EAAC,UAAU,EAAA,CAAQ,CACzB,EACN,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,uBAAuB,EAAA,EAChC,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,iCAAiC,EAAA,EAC1C,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,IAAI,EAAC,WAAW,EAAA,CAAQ,CAC1B,EACN,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,+BAA+B,EAAA,EACxC,CAAM,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,IAAI,EAAC,SAAS,EAAQ,CAAA,CACxB,CACF,CACF,CACF,CACD;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-actions/stzh-actions.scss?tag=stzh-actions&encapsulation=shadow","src/components/stzh-actions/stzh-actions.tsx"],"sourcesContent":[":host {\n ::slotted([slot=\"primary\"]),\n ::slotted([slot=\"secondary\"]),\n ::slotted([slot=\"tertiary\"]) {\n flex-grow: 1;\n margin: calc(#{space(\"medium\")} / 2);\n }\n\n &[space-between=\"true\"] ::slotted([slot=\"tertiary\"]) {\n @include mq($from: small) {\n flex-grow: inherit;\n }\n }\n}\n\n.stzh-actions {\n &__actions {\n display: flex;\n flex-direction: column-reverse;\n margin: calc(#{space(\"medium\")} / -2);\n\n @include mq($from: small) {\n flex-direction: row;\n }\n }\n\n &__primary-actions,\n &__secondary-actions,\n &__tertiary-actions {\n display: flex;\n }\n\n &__wrapper {\n display: contents;\n }\n\n // &--dialog &__actions {\n // justify-content: flex-end;\n // }\n\n &--process &__wrapper {\n @include mq($to: small) {\n display: flex;\n flex-wrap: wrap;\n }\n }\n\n &--process &__actions {\n justify-content: flex-end;\n }\n\n &--process &__primary-actions,\n &--process &__secondary-actions {\n @include mq($to: small) {\n flex-grow: 1;\n }\n }\n\n &--process &__tertiary-actions {\n @include mq($from: small) {\n margin-right: auto;\n }\n }\n\n &--search &__actions {\n justify-content: flex-end;\n }\n\n /* space between */\n &--space-between &__actions {\n justify-content: space-between;\n\n @include mq($from: small) {\n flex-direction: column;\n }\n\n @include mq($from: medium) {\n flex-direction: row;\n }\n }\n\n &--space-between &__wrapper {\n @include mq($from: small) {\n display: flex;\n justify-content: flex-end;\n }\n }\n}\n","import { Component, Element, h, Host, Prop } from \"@stencil/core\";\n\nimport { setPropsIfNull } from \"../../utils/utils\";\n\n/**\n * @slot primary - Slot for primary button\n * @slot secondary - Slot for secondary button\n * @slot tertiary - Slot for tertiary button\n */\n@Component({\n tag: \"stzh-actions\",\n styleUrl: \"stzh-actions.scss\",\n shadow: true,\n})\nexport class StzhActions {\n /** Variant determining what position the action buttons are */\n @Prop({ reflect: true }) variant: \"form\" | \"dialog\" | \"process\" | \"search\" = \"form\";\n\n /** Whether to split tertiary and primary/secondary from each other (left and right). */\n @Prop({ reflect: true }) spaceBetween: boolean = false;\n\n @Element() element: HTMLStzhActionsElement;\n\n private observer: MutationObserver;\n\n private init = () => {\n const secondaryButtons = this.element.querySelectorAll(\n 'stzh-button[slot=\"secondary\"], [slot=\"secondary\"] stzh-button',\n );\n\n const tertiaryButtons = this.element.querySelectorAll(\n 'stzh-button[slot=\"tertiary\"], [slot=\"tertiary\"] stzh-button',\n );\n\n secondaryButtons.forEach(button => {\n setPropsIfNull(button, {\n variant: \"secondary\",\n } as HTMLStzhButtonElement);\n });\n\n tertiaryButtons.forEach(button => {\n setPropsIfNull(button, {\n variant: \"tertiary\",\n } as HTMLStzhButtonElement);\n });\n };\n\n connectedCallback() {\n this.init();\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 classes = {\n \"stzh-actions\": true,\n \"stzh-actions--space-between\": this.spaceBetween,\n [`stzh-actions--${this.variant}`]: !!this.variant,\n };\n\n return (\n <Host space-between={this.spaceBetween}>\n <div class={classes}>\n <div class=\"stzh-actions__actions\" role=\"group\">\n <div class=\"stzh-actions__tertiary-actions\">\n <slot name=\"tertiary\"></slot>\n </div>\n <div class=\"stzh-actions__wrapper\">\n <div class=\"stzh-actions__secondary-actions\">\n <slot name=\"secondary\"></slot>\n </div>\n <div class=\"stzh-actions__primary-actions\">\n <slot name=\"primary\"></slot>\n </div>\n </div>\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, h, e as Host, t as transformTag } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, h, e as Host, t as transformTag } from './p-C1U0z0e7.js';
|
|
2
2
|
|
|
3
3
|
const stzhListCss = () => `@charset "UTF-8";:host{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}:host[hidden],:host[stzh-hidden]{display:none}:host::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}:host *,:host *::before,:host *::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)}:host{}:host .has-focus{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}:host .stzh-fylingfocus-focused{outline-style:none !important}:host .stzh-fylingfocus-focused::-moz-focus-inner{border:0 !important}:host{--font-size:var(--stzh-list-font-size, var(--stzh-font-milli-font-size));--line-height:var(
|
|
4
4
|
--stzh-list-line-height,
|
|
@@ -45,6 +45,6 @@ function defineCustomElement() {
|
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
export { StzhList as S, defineCustomElement as d };
|
|
48
|
-
//# sourceMappingURL=p-
|
|
48
|
+
//# sourceMappingURL=p-D7fY08-O.js.map
|
|
49
49
|
|
|
50
|
-
//# sourceMappingURL=p-
|
|
50
|
+
//# sourceMappingURL=p-D7fY08-O.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-
|
|
1
|
+
{"file":"p-D7fY08-O.js","mappings":";;AAAA,MAAM,WAAW,GAAG,MAAM,CAAC;AAC3B;AACA;AACA;AACA;AACA;AACA,m4BAAm4B,CAAC;;MCIv3B,QAAQ,iBAAAA,kBAAA,CAAA,MAAA,QAAA,SAAAC,CAAA,CAAA;AALrB,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;;AAO2B,QAAA,IAAO,CAAA,OAAA,GAA0C,WAAW;AAkBtF;IAdC,MAAM,GAAA;AACJ,QAAA,MAAM,OAAO,GAAG;AACd,YAAA,WAAW,EAAE,IAAI;YACjB,CAAC,CAAA,WAAA,EAAc,IAAI,CAAC,OAAO,CAAA,CAAE,GAAG,CAAC,CAAC,IAAI,CAAC,OAAO;SAC/C;AAED,QAAA,QACE,EAAC,IAAI,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACH,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAK,KAAK,EAAE,OAAO,EAAE,IAAI,EAAC,MAAM,EAAA,EAC9B,CAAa,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACT,CACD;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-list/stzh-list.scss?tag=stzh-list&encapsulation=shadow","src/components/stzh-list/stzh-list.tsx"],"sourcesContent":[":host {\n --font-size: var(--stzh-list-font-size, var(--stzh-font-milli-font-size));\n --line-height: var(\n --stzh-list-line-height,\n var(--stzh-font-milli-text-line-height)\n );\n --letter-spacing: var(--stzh-list-letter-spacing, normal);\n\n @include mq($from: medium) {\n --font-size: var(--stzh-list-font-size, var(--stzh-font-centi-font-size));\n --line-height: var(\n --stzh-list-line-height,\n var(--stzh-font-centi-text-line-height)\n );\n }\n\n counter-reset: li-counter;\n\n ::slotted(stzh-list-item) {\n --icon-checklist-visibility: hidden;\n\n counter-increment: li-counter;\n position: relative;\n }\n}\n\n:host([variant=\"unordered\"]) ::slotted(stzh-list-item) {\n --icon-checklist-visibility: hidden;\n\n padding-left: calc(#{space(\"xsmall\")} + #{space(\"small\")});\n\n &::before {\n content: \"–\"; // old one: \\2014\n }\n}\n\n:host([variant=\"ordered\"]) ::slotted(stzh-list-item) {\n --icon-checklist-visibility: hidden;\n\n padding-left: calc(#{space(\"large\")} + #{space(\"small\")});\n\n &::before {\n content: counter(li-counter) \". \";\n }\n}\n\n:host([variant=\"checklist\"]) ::slotted(stzh-list-item) {\n --icon-checklist-visibility: visible;\n\n padding-left: calc(#{iconSize(\"medium\")} + #{space(\"small\")});\n}\n\n.stzh-list {\n font-size: var(--font-size);\n line-height: var(--line-height);\n letter-spacing: var(--letter-spacing);\n}\n","import { Component, Host, h, Element, Prop } from \"@stencil/core\";\n\n/**\n * @slot - Slot for `stzh-list-item`\n */\n@Component({\n tag: \"stzh-list\",\n styleUrl: \"stzh-list.scss\",\n shadow: true,\n})\nexport class StzhList {\n /** Variant */\n @Prop({ reflect: true }) variant: \"unordered\" | \"ordered\" | \"checklist\" = \"unordered\";\n\n @Element() element: HTMLStzhListElement;\n\n render() {\n const classes = {\n \"stzh-list\": true,\n [`stzh-list--${this.variant}`]: !!this.variant,\n };\n\n return (\n <Host>\n <div class={classes} role=\"list\">\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, d as createEvent, h, e as Host, t as transformTag } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, d as createEvent, h, e as Host, t as transformTag } from './p-C1U0z0e7.js';
|
|
2
2
|
import { i as isStzhElement } from './p-Dk-EHN3E.js';
|
|
3
3
|
import { a as addMediaChangeListener, r as removeMediaChangeListener, m as media } from './p-CUGRmgip.js';
|
|
4
4
|
|
|
@@ -676,6 +676,6 @@ function defineCustomElement() {
|
|
|
676
676
|
}
|
|
677
677
|
|
|
678
678
|
export { StzhCarousel as S, defineCustomElement as d };
|
|
679
|
-
//# sourceMappingURL=p-
|
|
679
|
+
//# sourceMappingURL=p-DBcnovVn.js.map
|
|
680
680
|
|
|
681
|
-
//# sourceMappingURL=p-
|
|
681
|
+
//# sourceMappingURL=p-DBcnovVn.js.map
|