@oiz/stzh-components 4.10.0 → 4.11.0-beta1
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/.build/test/utils.js +15 -11
- package/dist/.build/test/utils.js.map +1 -1
- package/dist/cjs/{index-Br_Y6IzY.js → index-D8r_QCOW.js} +3 -3
- package/dist/cjs/{index-Br_Y6IzY.js.map → index-D8r_QCOW.js.map} +1 -1
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/stzh-accordion_3.cjs.entry.js +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 +5 -4
- 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 +2 -2
- 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 +5 -4
- package/dist/cjs/stzh-buttongroup.cjs.entry.js +1 -1
- package/dist/cjs/stzh-calendar.cjs.entry.js +5 -3
- package/dist/cjs/stzh-card-navigation.cjs.entry.js +1 -1
- package/dist/cjs/stzh-card-searchresult.cjs.entry.js +1 -1
- package/dist/cjs/stzh-card-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 +10 -9
- 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 +2 -2
- 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 +2 -2
- 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 +13 -25
- 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 +75 -31
- 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_3.cjs.entry.js +1 -1
- package/dist/cjs/stzh-header_3.cjs.entry.js +4 -4
- 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 +8 -4
- 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-BszhfY9d.js → stzh-input-description-CzZuZ53C.js} +3 -3
- package/dist/cjs/{stzh-input-description-BszhfY9d.js.map → stzh-input-description-CzZuZ53C.js.map} +1 -1
- package/dist/cjs/stzh-input.cjs.entry.js +11 -7
- 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-saptcha.cjs.entry.js +1 -1
- package/dist/cjs/stzh-scrollup.cjs.entry.js +1 -1
- package/dist/cjs/stzh-search.cjs.entry.js +7 -4
- package/dist/cjs/stzh-section.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 +4 -3
- 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 +2 -2
- 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/assets/i18n/de.json +2 -0
- package/dist/collection/assets/i18n/en.json +2 -0
- package/dist/collection/components/CMS/stzh-homepage-service-highlights/stzh-homepage-service-highlights.js +7 -3
- package/dist/collection/components/CMS/stzh-homepage-service-highlights/stzh-homepage-service-highlights.js.map +1 -1
- package/dist/collection/components/CMS/stzh-search/stzh-search.js +6 -3
- package/dist/collection/components/CMS/stzh-search/stzh-search.js.map +1 -1
- package/dist/collection/components/stzh-amount/stzh-amount.js +4 -3
- package/dist/collection/components/stzh-amount/stzh-amount.js.map +1 -1
- package/dist/collection/components/stzh-appointments/stzh-appointments.js +1 -1
- package/dist/collection/components/stzh-appointments/stzh-appointments.js.map +1 -1
- package/dist/collection/components/stzh-breadcrumb/stzh-breadcrumb.css +1 -2
- package/dist/collection/components/stzh-breadcrumb/stzh-breadcrumb.js +3 -2
- package/dist/collection/components/stzh-breadcrumb/stzh-breadcrumb.js.map +1 -1
- package/dist/collection/components/stzh-calendar/stzh-calendar.js +4 -2
- package/dist/collection/components/stzh-calendar/stzh-calendar.js.map +1 -1
- package/dist/collection/components/stzh-chipselect/stzh-chipselect.js +8 -7
- package/dist/collection/components/stzh-chipselect/stzh-chipselect.js.map +1 -1
- package/dist/collection/components/stzh-datalist-item/stzh-datalist-item.js +1 -1
- package/dist/collection/components/stzh-datalist-item/stzh-datalist-item.js.map +1 -1
- package/dist/collection/components/stzh-datalist-item/stzh-datalist-item.stories.js +73 -1
- package/dist/collection/components/stzh-dropdown/stzh-dropdown.js +97 -51
- package/dist/collection/components/stzh-dropdown/stzh-dropdown.js.map +1 -1
- package/dist/collection/components/stzh-dropdown/stzh-dropdown.stories.js +38 -0
- package/dist/collection/components/stzh-header/stzh-header.js +3 -3
- package/dist/collection/components/stzh-header/stzh-header.js.map +1 -1
- package/dist/collection/components/stzh-input/stzh-input.js +14 -10
- package/dist/collection/components/stzh-input/stzh-input.js.map +1 -1
- package/dist/collection/components/stzh-input/stzh-input.localization.js +2 -0
- package/dist/collection/components/stzh-input/stzh-input.localization.js.map +1 -0
- package/dist/collection/components/stzh-radio/stzh-radio.js +16 -10
- package/dist/collection/components/stzh-radio/stzh-radio.js.map +1 -1
- package/dist/collection/components/stzh-radio/stzh-radio.stories.js +34 -0
- package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.js +33 -35
- package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.js.map +1 -1
- package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.stories.js +44 -0
- package/dist/collection/components/stzh-timepicker/stzh-timepicker.js +3 -2
- package/dist/collection/components/stzh-timepicker/stzh-timepicker.js.map +1 -1
- package/dist/collection/index.js.map +1 -1
- package/dist/collection/utils/story-utils.js +20 -13
- package/dist/collection/utils/story-utils.js.map +1 -1
- package/dist/components/index.js +2 -2
- package/dist/components/{p-DeIgrcHw.js → p--CbjSeJw.js} +6 -6
- package/dist/components/{p-DeIgrcHw.js.map → p--CbjSeJw.js.map} +1 -1
- package/dist/components/{p-CiEcvFWc.js → p-0aLZPbnw.js} +5 -5
- package/dist/components/{p-CiEcvFWc.js.map → p-0aLZPbnw.js.map} +1 -1
- package/dist/components/{p-BCaGFZC8.js → p-1Oi__LJi.js} +6 -6
- package/dist/components/{p-BCaGFZC8.js.map → p-1Oi__LJi.js.map} +1 -1
- package/dist/components/{p-CI-BeKbw.js → p-1nlVe5dJ.js} +3 -3
- package/dist/components/{p-CI-BeKbw.js.map → p-1nlVe5dJ.js.map} +1 -1
- package/dist/components/{p-KXfvITXr.js → p-2lXgJqym.js} +3 -3
- package/dist/components/{p-KXfvITXr.js.map → p-2lXgJqym.js.map} +1 -1
- package/dist/components/{p-D7BPM8cN.js → p-349xfQhj.js} +3 -3
- package/dist/components/{p-D7BPM8cN.js.map → p-349xfQhj.js.map} +1 -1
- package/dist/components/{p-CWKzk5Dy.js → p-4V3geC0t.js} +5 -5
- package/dist/components/{p-CWKzk5Dy.js.map → p-4V3geC0t.js.map} +1 -1
- package/dist/components/{p-DZwaDoTV.js → p-6Dk2PG5T.js} +11 -11
- package/dist/components/{p-DZwaDoTV.js.map → p-6Dk2PG5T.js.map} +1 -1
- package/dist/components/{p-SbO4yTDL.js → p-B0YyK73m.js} +3 -3
- package/dist/components/{p-SbO4yTDL.js.map → p-B0YyK73m.js.map} +1 -1
- package/dist/components/{p-BGEGvpL5.js → p-B2sw1CJI.js} +20 -19
- package/dist/components/p-B2sw1CJI.js.map +1 -0
- package/dist/components/{p-B1bydx3d.js → p-B4JoCS46.js} +4 -4
- package/dist/components/{p-B1bydx3d.js.map → p-B4JoCS46.js.map} +1 -1
- package/dist/components/{p-DpeJpDc8.js → p-B4O0PovX.js} +3 -3
- package/dist/components/{p-DpeJpDc8.js.map → p-B4O0PovX.js.map} +1 -1
- package/dist/components/{p-BZD4OY2C.js → p-B5CL6AyG.js} +16 -28
- package/dist/components/p-B5CL6AyG.js.map +1 -0
- package/dist/components/{p-d0uOMlu3.js → p-BB46yjM7.js} +8 -7
- package/dist/components/p-BB46yjM7.js.map +1 -0
- package/dist/components/{p-DjUfFf-R.js → p-BMJGGGF9.js} +3 -3
- package/dist/components/{p-DjUfFf-R.js.map → p-BMJGGGF9.js.map} +1 -1
- package/dist/components/{p-PFaTABew.js → p-BQDN6Gkn.js} +11 -11
- package/dist/components/{p-PFaTABew.js.map → p-BQDN6Gkn.js.map} +1 -1
- package/dist/components/{p-Cg3Ak7yk.js → p-BQE1KOKx.js} +7 -7
- package/dist/components/{p-Cg3Ak7yk.js.map → p-BQE1KOKx.js.map} +1 -1
- package/dist/components/{p-DxnT0K8v.js → p-BY3l19wL.js} +5 -5
- package/dist/components/{p-DxnT0K8v.js.map → p-BY3l19wL.js.map} +1 -1
- package/dist/components/{p-CIVShc7i.js → p-B_Ppa4hh.js} +6 -6
- package/dist/components/{p-CIVShc7i.js.map → p-B_Ppa4hh.js.map} +1 -1
- package/dist/components/{p-DUQ-gRxd.js → p-B_nd_jfH.js} +6 -6
- package/dist/components/{p-DUQ-gRxd.js.map → p-B_nd_jfH.js.map} +1 -1
- package/dist/components/{p-CunX3wR8.js → p-BbwUKBZe.js} +6 -6
- package/dist/components/{p-CunX3wR8.js.map → p-BbwUKBZe.js.map} +1 -1
- package/dist/components/{p-cNTFnDJ9.js → p-BfWAE2yh.js} +3 -3
- package/dist/components/{p-cNTFnDJ9.js.map → p-BfWAE2yh.js.map} +1 -1
- package/dist/components/{p-CtNit8M7.js → p-BtBwyT5W.js} +4 -4
- package/dist/components/{p-CtNit8M7.js.map → p-BtBwyT5W.js.map} +1 -1
- package/dist/components/{p-D5fsVLBd.js → p-BuKU1pSv.js} +6 -6
- package/dist/components/{p-D5fsVLBd.js.map → p-BuKU1pSv.js.map} +1 -1
- package/dist/components/{p-blZtYtHM.js → p-BuVbFMau.js} +3 -3
- package/dist/components/{p-blZtYtHM.js.map → p-BuVbFMau.js.map} +1 -1
- package/dist/components/{p-5BslSTpf.js → p-BukxCYGO.js} +4 -4
- package/dist/components/{p-5BslSTpf.js.map → p-BukxCYGO.js.map} +1 -1
- package/dist/components/{p-BuxRPGuq.js → p-BwzL6BqJ.js} +3 -3
- package/dist/components/{p-BuxRPGuq.js.map → p-BwzL6BqJ.js.map} +1 -1
- package/dist/components/{p-CYQEBKQj.js → p-C19em1EE.js} +3 -3
- package/dist/components/{p-CYQEBKQj.js.map → p-C19em1EE.js.map} +1 -1
- package/dist/components/{p-BrqF6tbl.js → p-C4a-qbk3.js} +7 -7
- package/dist/components/{p-BrqF6tbl.js.map → p-C4a-qbk3.js.map} +1 -1
- package/dist/components/{p-6nWAZpXe.js → p-C8iMa_qQ.js} +4 -4
- package/dist/components/{p-6nWAZpXe.js.map → p-C8iMa_qQ.js.map} +1 -1
- package/dist/components/{p-DnZfjilC.js → p-C9QK14eA.js} +7 -7
- package/dist/components/{p-DnZfjilC.js.map → p-C9QK14eA.js.map} +1 -1
- package/dist/components/{p-CPibi_C6.js → p-CF5HtLyZ.js} +3 -3
- package/dist/components/{p-CPibi_C6.js.map → p-CF5HtLyZ.js.map} +1 -1
- package/dist/components/{p-ChkFy7hA.js → p-CJXKRF7B.js} +4 -4
- package/dist/components/{p-ChkFy7hA.js.map → p-CJXKRF7B.js.map} +1 -1
- package/dist/components/{p-D6yVsUPX.js → p-CJeqTwRL.js} +3 -3
- package/dist/components/{p-D6yVsUPX.js.map → p-CJeqTwRL.js.map} +1 -1
- package/dist/components/{p-C1G4-fBK.js → p-CSALKPIG.js} +3 -3
- package/dist/components/{p-C1G4-fBK.js.map → p-CSALKPIG.js.map} +1 -1
- package/dist/components/{p-BGS_EDCX.js → p-Cann2d_P.js} +3 -3
- package/dist/components/{p-BGS_EDCX.js.map → p-Cann2d_P.js.map} +1 -1
- package/dist/components/{p-DaY6mRgd.js → p-CdUtvOLk.js} +3 -3
- package/dist/components/{p-DaY6mRgd.js.map → p-CdUtvOLk.js.map} +1 -1
- package/dist/components/{p-DJk-2ioO.js → p-CeD0Uhx8.js} +3 -3
- package/dist/components/{p-DJk-2ioO.js.map → p-CeD0Uhx8.js.map} +1 -1
- package/dist/components/{p-DUhK-jhY.js → p-Cf6DqaZC.js} +14 -14
- package/dist/components/p-Cf6DqaZC.js.map +1 -0
- package/dist/components/{p-NmZZNRMg.js → p-ChcofGEP.js} +10 -10
- package/dist/components/p-ChcofGEP.js.map +1 -0
- package/dist/components/{p-DF4gVlfp.js → p-ChpiCMyY.js} +12 -12
- package/dist/components/{p-DF4gVlfp.js.map → p-ChpiCMyY.js.map} +1 -1
- package/dist/components/{p-JOhIAgHk.js → p-CllmwFpJ.js} +3 -3
- package/dist/components/{p-JOhIAgHk.js.map → p-CllmwFpJ.js.map} +1 -1
- package/dist/components/{p-Covl24Oh.js → p-CqjIilCe.js} +12 -12
- package/dist/components/p-CqjIilCe.js.map +1 -0
- package/dist/components/{p-Da6Pvdri.js → p-CtF1bxzf.js} +3 -3
- package/dist/components/{p-Da6Pvdri.js.map → p-CtF1bxzf.js.map} +1 -1
- package/dist/components/{p-CRnP18MI.js → p-Cul0DMRF.js} +3 -3
- package/dist/components/{p-CRnP18MI.js.map → p-Cul0DMRF.js.map} +1 -1
- package/dist/components/{p-DcitYu_B.js → p-D-7eTxCg.js} +6 -6
- package/dist/components/{p-DcitYu_B.js.map → p-D-7eTxCg.js.map} +1 -1
- package/dist/components/{p-DDFSjhu_.js → p-D0IKTRHF.js} +82 -38
- package/dist/components/p-D0IKTRHF.js.map +1 -0
- package/dist/components/{p-BALx46q6.js → p-DHQ_03AF.js} +3 -3
- package/dist/components/{p-BALx46q6.js.map → p-DHQ_03AF.js.map} +1 -1
- package/dist/components/{p-S3RSvRX7.js → p-DJSpcIzt.js} +5 -5
- package/dist/components/{p-S3RSvRX7.js.map → p-DJSpcIzt.js.map} +1 -1
- package/dist/components/{p-8FqKNq0v.js → p-DNvfRrOk.js} +3 -3
- package/dist/components/{p-8FqKNq0v.js.map → p-DNvfRrOk.js.map} +1 -1
- package/dist/components/{p-DAmGIV8s.js → p-DNwegwrb.js} +4 -4
- package/dist/components/{p-DAmGIV8s.js.map → p-DNwegwrb.js.map} +1 -1
- package/dist/components/{p-oafMGboU.js → p-DQTLAZkb.js} +13 -11
- package/dist/components/p-DQTLAZkb.js.map +1 -0
- package/dist/components/{p-CG9ycBNk.js → p-DRtPO0_4.js} +10 -10
- package/dist/components/{p-CG9ycBNk.js.map → p-DRtPO0_4.js.map} +1 -1
- package/dist/components/{p-DDrQ-GDv.js → p-DSkQdtkE.js} +3 -3
- package/dist/components/{p-DDrQ-GDv.js.map → p-DSkQdtkE.js.map} +1 -1
- package/dist/components/{p-CaLhvLbO.js → p-DXdbaLR3.js} +3 -3
- package/dist/components/{p-CaLhvLbO.js.map → p-DXdbaLR3.js.map} +1 -1
- package/dist/components/{p-DT-jsCLe.js → p-DaW4boW2.js} +3 -3
- package/dist/components/{p-DT-jsCLe.js.map → p-DaW4boW2.js.map} +1 -1
- package/dist/components/{p-Czf9tl8J.js → p-DfXSTvKE.js} +3 -3
- package/dist/components/{p-Czf9tl8J.js.map → p-DfXSTvKE.js.map} +1 -1
- package/dist/components/{p-19VfXOay.js → p-DoAzctLq.js} +3 -3
- package/dist/components/{p-19VfXOay.js.map → p-DoAzctLq.js.map} +1 -1
- package/dist/components/{p-DRx_UYls.js → p-Dr7U2oSt.js} +7 -7
- package/dist/components/{p-DRx_UYls.js.map → p-Dr7U2oSt.js.map} +1 -1
- package/dist/components/{p-a6yYbN7G.js → p-DyYox7M5.js} +3 -3
- package/dist/components/{p-a6yYbN7G.js.map → p-DyYox7M5.js.map} +1 -1
- package/dist/components/{p-_URfdwj0.js → p-G0Nx6vM9.js} +18 -14
- package/dist/components/p-G0Nx6vM9.js.map +1 -0
- package/dist/components/{p-qHThZaqH.js → p-H6vwKJR4.js} +8 -8
- package/dist/components/{p-qHThZaqH.js.map → p-H6vwKJR4.js.map} +1 -1
- package/dist/components/{p-BsssrLnt.js → p-IUEdDkZk.js} +3 -3
- package/dist/components/{p-BsssrLnt.js.map → p-IUEdDkZk.js.map} +1 -1
- package/dist/components/{p-Bck1KAhE.js → p-LhoO9tiC.js} +7 -7
- package/dist/components/{p-Bck1KAhE.js.map → p-LhoO9tiC.js.map} +1 -1
- package/dist/components/{p-K2FhSkA6.js → p-OCVGQFNq.js} +5 -5
- package/dist/components/{p-K2FhSkA6.js.map → p-OCVGQFNq.js.map} +1 -1
- package/dist/components/{p-BKaUJsFB.js → p-TzQSiueI.js} +10 -10
- package/dist/components/{p-BKaUJsFB.js.map → p-TzQSiueI.js.map} +1 -1
- package/dist/components/{p-D9Oa_RMc.js → p-UXuFu5W2.js} +3 -3
- package/dist/components/{p-D9Oa_RMc.js.map → p-UXuFu5W2.js.map} +1 -1
- package/dist/components/{p-DwP4TJHm.js → p-bu5w-pYo.js} +8 -8
- package/dist/components/{p-DwP4TJHm.js.map → p-bu5w-pYo.js.map} +1 -1
- package/dist/components/{p-BPs3afuZ.js → p-eQ3P_593.js} +3 -3
- package/dist/components/{p-BPs3afuZ.js.map → p-eQ3P_593.js.map} +1 -1
- package/dist/components/{p-BpEa7mua.js → p-s6UufRMo.js} +4 -4
- package/dist/components/{p-BpEa7mua.js.map → p-s6UufRMo.js.map} +1 -1
- package/dist/components/p-uD4ilJut.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 +13 -12
- package/dist/components/stzh-amount.js.map +1 -1
- package/dist/components/stzh-anchornav.js +5 -5
- package/dist/components/stzh-app-nav.js +1 -1
- package/dist/components/stzh-appointments.js +14 -14
- package/dist/components/stzh-appointments.js.map +1 -1
- 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 +2 -2
- package/dist/components/stzh-card-searchresult.js +14 -14
- 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 +1 -1
- package/dist/components/stzh-header.js +1 -1
- package/dist/components/stzh-heading.js +1 -1
- package/dist/components/stzh-homepage-search.js +2 -2
- package/dist/components/stzh-homepage-service-highlights.js +13 -9
- package/dist/components/stzh-homepage-service-highlights.js.map +1 -1
- package/dist/components/stzh-hr.js +1 -1
- package/dist/components/stzh-hspace.js +1 -1
- package/dist/components/stzh-http-error.js +7 -7
- package/dist/components/stzh-icon.js +1 -1
- package/dist/components/stzh-iframe.js +1 -1
- package/dist/components/stzh-imagecomparison.js +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 +1 -1
- 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 +22 -19
- package/dist/components/stzh-search.js.map +1 -1
- 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 +8 -7
- package/dist/components/stzh-timepicker.js.map +1 -1
- 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 +13 -13
- 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-Boyybvcm.js → index-CIPExL1Q.js} +3 -3
- package/dist/esm/{index-Boyybvcm.js.map → index-CIPExL1Q.js.map} +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/loader.js +3 -3
- 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 +5 -4
- package/dist/esm/stzh-amount.entry.js.map +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 +2 -2
- package/dist/esm/stzh-appointments.entry.js.map +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 +5 -4
- package/dist/esm/stzh-buttongroup.entry.js +1 -1
- package/dist/esm/stzh-calendar.entry.js +5 -3
- package/dist/esm/stzh-calendar.entry.js.map +1 -1
- package/dist/esm/stzh-card-navigation.entry.js +1 -1
- package/dist/esm/stzh-card-searchresult.entry.js +1 -1
- package/dist/esm/stzh-card-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 +10 -9
- 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 +3 -3
- 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 +2 -2
- 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 +13 -25
- 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 +75 -31
- package/dist/esm/stzh-dropdown.entry.js.map +1 -1
- 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_3.entry.js +1 -1
- package/dist/esm/stzh-header_3.entry.js +4 -4
- 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 +8 -4
- package/dist/esm/stzh-homepage-service-highlights.entry.js.map +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-D7avZ-wq.js → stzh-input-description-DTwZSuau.js} +3 -3
- package/dist/esm/{stzh-input-description-D7avZ-wq.js.map → stzh-input-description-DTwZSuau.js.map} +1 -1
- package/dist/esm/stzh-input.entry.js +11 -7
- package/dist/esm/stzh-input.entry.js.map +1 -1
- 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-saptcha.entry.js +1 -1
- package/dist/esm/stzh-scrollup.entry.js +1 -1
- package/dist/esm/stzh-search.entry.js +7 -4
- package/dist/esm/stzh-search.entry.js.map +1 -1
- package/dist/esm/stzh-section.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 +4 -3
- package/dist/esm/stzh-timepicker.entry.js.map +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 +2 -2
- 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/assets/i18n/de.json +2 -0
- package/dist/stzh-components/assets/i18n/en.json +2 -0
- package/dist/stzh-components/index.esm.js.map +1 -1
- package/dist/stzh-components/{p-6a51235e.entry.js → p-01057794.entry.js} +2 -2
- package/dist/stzh-components/{p-7c9f2c2f.entry.js → p-01dd653f.entry.js} +2 -2
- package/dist/stzh-components/{p-8f4d7f52.entry.js → p-02926bbb.entry.js} +2 -2
- package/dist/stzh-components/{p-ef78a7e8.entry.js → p-037c5d61.entry.js} +2 -2
- package/dist/stzh-components/{p-0dbdd066.entry.js → p-03c0374e.entry.js} +2 -2
- package/dist/stzh-components/{p-b1c1f676.entry.js → p-05910609.entry.js} +2 -2
- package/dist/stzh-components/{p-2096b5e5.entry.js → p-06148a30.entry.js} +2 -2
- package/dist/stzh-components/{p-b139f88e.entry.js → p-0cd4941c.entry.js} +2 -2
- package/dist/stzh-components/{p-3290c743.entry.js → p-10074ae1.entry.js} +2 -2
- package/dist/stzh-components/{p-2c27df73.entry.js → p-10d1519a.entry.js} +2 -2
- package/dist/stzh-components/{p-a8edfd35.entry.js → p-1215f457.entry.js} +2 -2
- package/dist/stzh-components/{p-b24ad8a1.entry.js → p-12931be1.entry.js} +2 -2
- package/dist/stzh-components/{p-58bc8ad5.entry.js → p-13800823.entry.js} +2 -2
- package/dist/stzh-components/{p-f3ca18ab.entry.js → p-13f166b0.entry.js} +2 -2
- package/dist/stzh-components/{p-f6193b21.entry.js → p-155b6ba9.entry.js} +3 -3
- package/dist/stzh-components/p-155b6ba9.entry.js.map +1 -0
- package/dist/stzh-components/{p-51c08340.entry.js → p-173aa7d5.entry.js} +2 -2
- package/dist/stzh-components/{p-6c2f5f67.entry.js → p-195de0fe.entry.js} +2 -2
- package/dist/stzh-components/{p-d2f17cf4.entry.js → p-19dff55a.entry.js} +2 -2
- package/dist/stzh-components/{p-d2f17cf4.entry.js.map → p-19dff55a.entry.js.map} +1 -1
- package/dist/stzh-components/{p-228836b8.entry.js → p-1a05b54a.entry.js} +2 -2
- package/dist/stzh-components/{p-59263627.entry.js → p-1abaa249.entry.js} +2 -2
- package/dist/stzh-components/{p-7ff56bd0.entry.js → p-1c488171.entry.js} +2 -2
- package/dist/stzh-components/{p-573017fb.entry.js → p-1cf55458.entry.js} +2 -2
- package/dist/stzh-components/{p-5525834e.entry.js → p-1dbe3772.entry.js} +2 -2
- package/dist/stzh-components/p-1dbe3772.entry.js.map +1 -0
- package/dist/stzh-components/{p-937ecec3.entry.js → p-1e35db78.entry.js} +2 -2
- package/dist/stzh-components/{p-c73057b5.entry.js → p-21193702.entry.js} +2 -2
- package/dist/stzh-components/p-21193702.entry.js.map +1 -0
- package/dist/stzh-components/{p-8d475272.entry.js → p-269b80c1.entry.js} +2 -2
- package/dist/stzh-components/{p-92718c89.entry.js → p-283db265.entry.js} +2 -2
- package/dist/stzh-components/{p-a66dd9ac.entry.js → p-2db47da8.entry.js} +2 -2
- package/dist/stzh-components/{p-59b64110.entry.js → p-2f0820a7.entry.js} +2 -2
- package/dist/stzh-components/{p-30a29924.entry.js → p-348cdf37.entry.js} +2 -2
- package/dist/stzh-components/{p-defcf957.entry.js → p-35bbb18c.entry.js} +2 -2
- package/dist/stzh-components/{p-baf12327.entry.js → p-3643e1af.entry.js} +2 -2
- package/dist/stzh-components/{p-4409b388.entry.js → p-3c2d11d2.entry.js} +2 -2
- package/dist/stzh-components/{p-aa915d5b.entry.js → p-3dcd17bb.entry.js} +2 -2
- package/dist/stzh-components/{p-ec23c3e0.entry.js → p-3dcf81d4.entry.js} +2 -2
- package/dist/stzh-components/{p-ac23e33d.entry.js → p-3dda0968.entry.js} +2 -2
- package/dist/stzh-components/{p-43d22663.entry.js → p-4108b79f.entry.js} +2 -2
- package/dist/stzh-components/{p-0e124317.entry.js → p-42c4be6b.entry.js} +2 -2
- package/dist/stzh-components/{p-3fc6b229.entry.js → p-45d90bb4.entry.js} +2 -2
- package/dist/stzh-components/{p-bce8c218.entry.js → p-470f8ac0.entry.js} +2 -2
- package/dist/stzh-components/{p-bc041233.entry.js → p-4791530a.entry.js} +2 -2
- package/dist/stzh-components/p-4791530a.entry.js.map +1 -0
- package/dist/stzh-components/{p-85329854.entry.js → p-47a73f73.entry.js} +2 -2
- package/dist/stzh-components/{p-b5186a60.entry.js → p-47d94825.entry.js} +2 -2
- package/dist/stzh-components/{p-c062dbd8.entry.js → p-491410c8.entry.js} +2 -2
- package/dist/stzh-components/{p-dd60db54.entry.js → p-4b1164fa.entry.js} +2 -2
- package/dist/stzh-components/p-4c18a6e6.entry.js +2 -0
- package/dist/stzh-components/p-4c18a6e6.entry.js.map +1 -0
- package/dist/stzh-components/{p-57d3f5c6.entry.js → p-4c4980e8.entry.js} +3 -3
- package/dist/stzh-components/{p-cb74e537.entry.js → p-4fe27b53.entry.js} +2 -2
- package/dist/stzh-components/p-4fe27b53.entry.js.map +1 -0
- package/dist/stzh-components/{p-02c6c25f.entry.js → p-54a34c0b.entry.js} +2 -2
- package/dist/stzh-components/{p-8494bb21.entry.js → p-55900f0a.entry.js} +2 -2
- package/dist/stzh-components/{p-3f6c5da7.entry.js → p-592350d0.entry.js} +2 -2
- package/dist/stzh-components/{p-b914d9d8.entry.js → p-599eb4a3.entry.js} +2 -2
- package/dist/stzh-components/{p-52680e35.entry.js → p-5bf2c7e8.entry.js} +2 -2
- package/dist/stzh-components/{p-d7ee95d1.entry.js → p-5c2cc285.entry.js} +2 -2
- package/dist/stzh-components/p-5c2cc285.entry.js.map +1 -0
- package/dist/stzh-components/{p-99e09fed.entry.js → p-5c64ed94.entry.js} +2 -2
- package/dist/stzh-components/{p-722c343d.entry.js → p-639aefff.entry.js} +2 -2
- package/dist/stzh-components/{p-ab655ced.entry.js → p-64dfd54f.entry.js} +2 -2
- package/dist/stzh-components/{p-9daed123.entry.js → p-6ad8a00e.entry.js} +2 -2
- package/dist/stzh-components/{p-9d3d5478.entry.js → p-6b04b1a7.entry.js} +2 -2
- package/dist/stzh-components/{p-3589f0fe.entry.js → p-6bea39fc.entry.js} +2 -2
- package/dist/stzh-components/{p-3f32f5b8.entry.js → p-6bf04424.entry.js} +2 -2
- package/dist/stzh-components/{p-0e7b9556.entry.js → p-6d5cfe81.entry.js} +2 -2
- package/dist/stzh-components/p-6d5cfe81.entry.js.map +1 -0
- package/dist/stzh-components/{p-04b91cbe.entry.js → p-6db053ea.entry.js} +2 -2
- package/dist/stzh-components/{p-13aceed6.entry.js → p-703c7162.entry.js} +2 -2
- package/dist/stzh-components/{p-54f536d9.entry.js → p-72edaa03.entry.js} +2 -2
- package/dist/stzh-components/{p-683bdcfc.entry.js → p-769ab49a.entry.js} +2 -2
- package/dist/stzh-components/{p-8b53f9f5.entry.js → p-79018229.entry.js} +2 -2
- package/dist/stzh-components/{p-0dad8cce.entry.js → p-792c46fb.entry.js} +2 -2
- package/dist/stzh-components/p-792c46fb.entry.js.map +1 -0
- package/dist/stzh-components/{p-1948c6be.entry.js → p-79ce57fe.entry.js} +2 -2
- package/dist/stzh-components/{p-24a4865a.entry.js → p-7b69c7c1.entry.js} +2 -2
- package/dist/stzh-components/{p-112e5a75.entry.js → p-7c65eb0c.entry.js} +2 -2
- package/dist/stzh-components/{p-c33308b1.entry.js → p-7f16f44f.entry.js} +2 -2
- package/dist/stzh-components/{p-a78cf7a9.entry.js → p-7f8b841b.entry.js} +2 -2
- package/dist/stzh-components/{p-86c62790.entry.js → p-80356d16.entry.js} +2 -2
- package/dist/stzh-components/{p-18e9eaff.entry.js → p-861201fb.entry.js} +2 -2
- package/dist/stzh-components/{p-9f35f6d1.entry.js → p-88d117c8.entry.js} +2 -2
- package/dist/stzh-components/{p-0326f9e5.entry.js → p-88dbb41e.entry.js} +2 -2
- package/dist/stzh-components/{p-375e9039.entry.js → p-8a7520f7.entry.js} +2 -2
- package/dist/stzh-components/{p-bdabc422.entry.js → p-8ab39168.entry.js} +2 -2
- package/dist/stzh-components/{p-bf422149.entry.js → p-8ae6c772.entry.js} +2 -2
- package/dist/stzh-components/{p-df16dc97.entry.js → p-8b204385.entry.js} +2 -2
- package/dist/stzh-components/{p-f5b4cb97.entry.js → p-8c3de4af.entry.js} +2 -2
- package/dist/stzh-components/{p-337a614c.entry.js → p-904504c6.entry.js} +2 -2
- package/dist/stzh-components/{p-06a85017.entry.js → p-92394d0c.entry.js} +2 -2
- package/dist/stzh-components/{p-95f80efd.entry.js → p-933a997b.entry.js} +2 -2
- package/dist/stzh-components/{p-4e5ead8e.entry.js → p-941c59a1.entry.js} +2 -2
- package/dist/stzh-components/{p-a6bb650c.entry.js → p-94234536.entry.js} +2 -2
- package/dist/stzh-components/{p-22728170.entry.js → p-94332a2f.entry.js} +2 -2
- package/dist/stzh-components/{p-9a42bf5a.entry.js → p-96ed7cff.entry.js} +2 -2
- package/dist/stzh-components/{p-f34cb4d3.entry.js → p-9a12c249.entry.js} +2 -2
- package/dist/stzh-components/{p-4980cac6.entry.js → p-9d32c5f8.entry.js} +6 -6
- package/dist/stzh-components/p-CIPExL1Q.js +3 -0
- package/dist/stzh-components/{p-Boyybvcm.js.map → p-CIPExL1Q.js.map} +1 -1
- package/dist/stzh-components/{p-DS4xgN66.js → p-DmRFAc3Q.js} +2 -2
- package/dist/stzh-components/{p-DS4xgN66.js.map → p-DmRFAc3Q.js.map} +1 -1
- package/dist/stzh-components/{p-673449d3.entry.js → p-a325a600.entry.js} +2 -2
- package/dist/stzh-components/{p-21864dc6.entry.js → p-a351ded1.entry.js} +2 -2
- package/dist/stzh-components/{p-162ea47b.entry.js → p-a373717a.entry.js} +2 -2
- package/dist/stzh-components/{p-ba0f9d98.entry.js → p-a4341710.entry.js} +2 -2
- package/dist/stzh-components/{p-1268e055.entry.js → p-a5943a0e.entry.js} +2 -2
- package/dist/stzh-components/{p-09c5b4f4.entry.js → p-aa0b3b3f.entry.js} +2 -2
- package/dist/stzh-components/{p-cf998c9e.entry.js → p-ac36cc05.entry.js} +2 -2
- package/dist/stzh-components/{p-a1a810cc.entry.js → p-aff36500.entry.js} +2 -2
- package/dist/stzh-components/{p-1f36d924.entry.js → p-b07fab76.entry.js} +2 -2
- package/dist/stzh-components/{p-dbdf2dda.entry.js → p-b1b18fc9.entry.js} +2 -2
- package/dist/stzh-components/{p-9ac7c945.entry.js → p-b218cc9d.entry.js} +8 -8
- package/dist/stzh-components/p-b218cc9d.entry.js.map +1 -0
- package/dist/stzh-components/{p-f7095605.entry.js → p-b5b24de2.entry.js} +2 -2
- package/dist/stzh-components/{p-e7943c14.entry.js → p-b6486e4f.entry.js} +2 -2
- package/dist/stzh-components/{p-614801db.entry.js → p-b6e59bf6.entry.js} +2 -2
- package/dist/stzh-components/{p-5ef55c3a.entry.js → p-b88d8397.entry.js} +2 -2
- package/dist/stzh-components/{p-8f4fd7e8.entry.js → p-c11a631e.entry.js} +2 -2
- package/dist/stzh-components/{p-8a2c72fc.entry.js → p-c46f2de6.entry.js} +2 -2
- package/dist/stzh-components/{p-67134205.entry.js → p-c6ed907f.entry.js} +2 -2
- package/dist/stzh-components/{p-370cec66.entry.js → p-caf8c562.entry.js} +2 -2
- package/dist/stzh-components/{p-20381eb6.entry.js → p-d30ed5bf.entry.js} +2 -2
- package/dist/stzh-components/{p-23399476.entry.js → p-d34cd79a.entry.js} +2 -2
- package/dist/stzh-components/{p-92d44643.entry.js → p-d692bad8.entry.js} +2 -2
- package/dist/stzh-components/p-da163902.entry.js +2 -0
- package/dist/stzh-components/p-da163902.entry.js.map +1 -0
- package/dist/stzh-components/{p-a5d5cf67.entry.js → p-da675ebc.entry.js} +2 -2
- package/dist/stzh-components/{p-4c6a88dd.entry.js → p-ddaa57a3.entry.js} +3 -3
- package/dist/stzh-components/{p-1278339e.entry.js → p-dec6794a.entry.js} +2 -2
- package/dist/stzh-components/{p-8547dd85.entry.js → p-e3e91b00.entry.js} +2 -2
- package/dist/stzh-components/{p-c6237f22.entry.js → p-e8b5a3ed.entry.js} +2 -2
- package/dist/stzh-components/{p-8cd52c56.entry.js → p-eb706f97.entry.js} +2 -2
- package/dist/stzh-components/{p-b672e1ac.entry.js → p-ec72bc97.entry.js} +2 -2
- package/dist/stzh-components/{p-ab37318f.entry.js → p-ed010ef4.entry.js} +2 -2
- package/dist/stzh-components/{p-4b70f6d5.entry.js → p-ee9d3297.entry.js} +2 -2
- package/dist/stzh-components/{p-f278ac2e.entry.js → p-ef9b206b.entry.js} +2 -2
- package/dist/stzh-components/{p-aee3740b.entry.js → p-f23dae56.entry.js} +2 -2
- package/dist/stzh-components/{p-fe5cfbfd.entry.js → p-f2a4ffe1.entry.js} +2 -2
- package/dist/stzh-components/{p-2f5f9451.entry.js → p-f4520f18.entry.js} +2 -2
- package/dist/stzh-components/{p-496db660.entry.js → p-fe445cd9.entry.js} +2 -2
- package/dist/stzh-components/stzh-components.esm.js +1 -1
- package/dist/types/builds/OE-5041/desi/desi-code/stzh-components/.stencil/.build/test/utils.d.ts +2 -2
- package/dist/types/components/CMS/stzh-homepage-service-highlights/stzh-homepage-service-highlights.d.ts +1 -0
- package/dist/types/components/stzh-dropdown/stzh-dropdown.d.ts +18 -9
- package/dist/types/components/stzh-input/stzh-input.d.ts +2 -2
- package/dist/types/components/stzh-input/stzh-input.localization.d.ts +5 -0
- package/dist/types/components/stzh-radio/stzh-radio.d.ts +3 -3
- package/dist/types/components/stzh-radiogroup/stzh-radiogroup.d.ts +6 -7
- package/dist/types/components.d.ts +33 -31
- package/dist/types/index.d.ts +12 -7
- package/dist/vscode-data.json +4 -4
- package/package.json +1 -1
- package/dist/components/p-BGEGvpL5.js.map +0 -1
- package/dist/components/p-BZD4OY2C.js.map +0 -1
- package/dist/components/p-Covl24Oh.js.map +0 -1
- package/dist/components/p-DDFSjhu_.js.map +0 -1
- package/dist/components/p-DUhK-jhY.js.map +0 -1
- package/dist/components/p-NmZZNRMg.js.map +0 -1
- package/dist/components/p-_URfdwj0.js.map +0 -1
- package/dist/components/p-d0uOMlu3.js.map +0 -1
- package/dist/components/p-oafMGboU.js.map +0 -1
- package/dist/stzh-components/p-0c6f2548.entry.js +0 -2
- package/dist/stzh-components/p-0c6f2548.entry.js.map +0 -1
- package/dist/stzh-components/p-0dad8cce.entry.js.map +0 -1
- package/dist/stzh-components/p-0e7b9556.entry.js.map +0 -1
- package/dist/stzh-components/p-5525834e.entry.js.map +0 -1
- package/dist/stzh-components/p-9ac7c945.entry.js.map +0 -1
- package/dist/stzh-components/p-Boyybvcm.js +0 -3
- package/dist/stzh-components/p-bc041233.entry.js.map +0 -1
- package/dist/stzh-components/p-c73057b5.entry.js.map +0 -1
- package/dist/stzh-components/p-cb74e537.entry.js.map +0 -1
- package/dist/stzh-components/p-d2cdcc47.entry.js +0 -2
- package/dist/stzh-components/p-d2cdcc47.entry.js.map +0 -1
- package/dist/stzh-components/p-d7ee95d1.entry.js.map +0 -1
- package/dist/stzh-components/p-f6193b21.entry.js.map +0 -1
- /package/dist/stzh-components/{p-6a51235e.entry.js.map → p-01057794.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-7c9f2c2f.entry.js.map → p-01dd653f.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-8f4d7f52.entry.js.map → p-02926bbb.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-ef78a7e8.entry.js.map → p-037c5d61.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-0dbdd066.entry.js.map → p-03c0374e.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b1c1f676.entry.js.map → p-05910609.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-2096b5e5.entry.js.map → p-06148a30.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b139f88e.entry.js.map → p-0cd4941c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-3290c743.entry.js.map → p-10074ae1.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-2c27df73.entry.js.map → p-10d1519a.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a8edfd35.entry.js.map → p-1215f457.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b24ad8a1.entry.js.map → p-12931be1.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-58bc8ad5.entry.js.map → p-13800823.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-f3ca18ab.entry.js.map → p-13f166b0.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-51c08340.entry.js.map → p-173aa7d5.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-6c2f5f67.entry.js.map → p-195de0fe.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-228836b8.entry.js.map → p-1a05b54a.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-59263627.entry.js.map → p-1abaa249.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-7ff56bd0.entry.js.map → p-1c488171.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-573017fb.entry.js.map → p-1cf55458.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-937ecec3.entry.js.map → p-1e35db78.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-8d475272.entry.js.map → p-269b80c1.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-92718c89.entry.js.map → p-283db265.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a66dd9ac.entry.js.map → p-2db47da8.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-59b64110.entry.js.map → p-2f0820a7.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-30a29924.entry.js.map → p-348cdf37.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-defcf957.entry.js.map → p-35bbb18c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-baf12327.entry.js.map → p-3643e1af.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-4409b388.entry.js.map → p-3c2d11d2.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-aa915d5b.entry.js.map → p-3dcd17bb.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-ec23c3e0.entry.js.map → p-3dcf81d4.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-ac23e33d.entry.js.map → p-3dda0968.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-43d22663.entry.js.map → p-4108b79f.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-0e124317.entry.js.map → p-42c4be6b.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-3fc6b229.entry.js.map → p-45d90bb4.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-bce8c218.entry.js.map → p-470f8ac0.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-85329854.entry.js.map → p-47a73f73.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b5186a60.entry.js.map → p-47d94825.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-c062dbd8.entry.js.map → p-491410c8.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-dd60db54.entry.js.map → p-4b1164fa.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-57d3f5c6.entry.js.map → p-4c4980e8.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-02c6c25f.entry.js.map → p-54a34c0b.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-8494bb21.entry.js.map → p-55900f0a.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-3f6c5da7.entry.js.map → p-592350d0.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b914d9d8.entry.js.map → p-599eb4a3.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-52680e35.entry.js.map → p-5bf2c7e8.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-99e09fed.entry.js.map → p-5c64ed94.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-722c343d.entry.js.map → p-639aefff.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-ab655ced.entry.js.map → p-64dfd54f.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-9daed123.entry.js.map → p-6ad8a00e.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-9d3d5478.entry.js.map → p-6b04b1a7.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-3589f0fe.entry.js.map → p-6bea39fc.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-3f32f5b8.entry.js.map → p-6bf04424.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-04b91cbe.entry.js.map → p-6db053ea.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-13aceed6.entry.js.map → p-703c7162.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-54f536d9.entry.js.map → p-72edaa03.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-683bdcfc.entry.js.map → p-769ab49a.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-8b53f9f5.entry.js.map → p-79018229.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-1948c6be.entry.js.map → p-79ce57fe.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-24a4865a.entry.js.map → p-7b69c7c1.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-112e5a75.entry.js.map → p-7c65eb0c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-c33308b1.entry.js.map → p-7f16f44f.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a78cf7a9.entry.js.map → p-7f8b841b.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-86c62790.entry.js.map → p-80356d16.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-18e9eaff.entry.js.map → p-861201fb.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-9f35f6d1.entry.js.map → p-88d117c8.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-0326f9e5.entry.js.map → p-88dbb41e.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-375e9039.entry.js.map → p-8a7520f7.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-bdabc422.entry.js.map → p-8ab39168.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-bf422149.entry.js.map → p-8ae6c772.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-df16dc97.entry.js.map → p-8b204385.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-f5b4cb97.entry.js.map → p-8c3de4af.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-337a614c.entry.js.map → p-904504c6.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-06a85017.entry.js.map → p-92394d0c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-95f80efd.entry.js.map → p-933a997b.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-4e5ead8e.entry.js.map → p-941c59a1.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a6bb650c.entry.js.map → p-94234536.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-22728170.entry.js.map → p-94332a2f.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-9a42bf5a.entry.js.map → p-96ed7cff.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-f34cb4d3.entry.js.map → p-9a12c249.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-4980cac6.entry.js.map → p-9d32c5f8.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-673449d3.entry.js.map → p-a325a600.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-21864dc6.entry.js.map → p-a351ded1.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-162ea47b.entry.js.map → p-a373717a.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-ba0f9d98.entry.js.map → p-a4341710.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-1268e055.entry.js.map → p-a5943a0e.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-09c5b4f4.entry.js.map → p-aa0b3b3f.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-cf998c9e.entry.js.map → p-ac36cc05.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a1a810cc.entry.js.map → p-aff36500.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-1f36d924.entry.js.map → p-b07fab76.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-dbdf2dda.entry.js.map → p-b1b18fc9.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-f7095605.entry.js.map → p-b5b24de2.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-e7943c14.entry.js.map → p-b6486e4f.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-614801db.entry.js.map → p-b6e59bf6.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-5ef55c3a.entry.js.map → p-b88d8397.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-8f4fd7e8.entry.js.map → p-c11a631e.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-8a2c72fc.entry.js.map → p-c46f2de6.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-67134205.entry.js.map → p-c6ed907f.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-370cec66.entry.js.map → p-caf8c562.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-20381eb6.entry.js.map → p-d30ed5bf.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-23399476.entry.js.map → p-d34cd79a.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-92d44643.entry.js.map → p-d692bad8.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a5d5cf67.entry.js.map → p-da675ebc.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-4c6a88dd.entry.js.map → p-ddaa57a3.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-1278339e.entry.js.map → p-dec6794a.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-8547dd85.entry.js.map → p-e3e91b00.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-c6237f22.entry.js.map → p-e8b5a3ed.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-8cd52c56.entry.js.map → p-eb706f97.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b672e1ac.entry.js.map → p-ec72bc97.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-ab37318f.entry.js.map → p-ed010ef4.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-4b70f6d5.entry.js.map → p-ee9d3297.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-f278ac2e.entry.js.map → p-ef9b206b.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-aee3740b.entry.js.map → p-f23dae56.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-fe5cfbfd.entry.js.map → p-f2a4ffe1.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-2f5f9451.entry.js.map → p-f4520f18.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-496db660.entry.js.map → p-fe445cd9.entry.js.map} +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, d as createEvent, h, e as Host, t as transformTag } from './p-
|
|
2
|
-
import { d as defineCustomElement$3 } from './p-
|
|
3
|
-
import { d as defineCustomElement$2 } from './p-
|
|
4
|
-
import { d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, d as createEvent, h, e as Host, t as transformTag } from './p-CF5HtLyZ.js';
|
|
2
|
+
import { d as defineCustomElement$3 } from './p-B4O0PovX.js';
|
|
3
|
+
import { d as defineCustomElement$2 } from './p-0aLZPbnw.js';
|
|
4
|
+
import { d as defineCustomElement$1 } from './p-B0YyK73m.js';
|
|
5
5
|
|
|
6
6
|
const stzhMessageCss = () => `.sc-stzh-message-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-message-h,[stzh-hidden].sc-stzh-message-h{display:none}.sc-stzh-message-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-message-h *.sc-stzh-message,.sc-stzh-message-h *.sc-stzh-message::before,.sc-stzh-message-h *.sc-stzh-message::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-message-h .has-focus.sc-stzh-message{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-message-h .stzh-fylingfocus-focused.sc-stzh-message{outline-style:none !important}.sc-stzh-message-h .stzh-fylingfocus-focused.sc-stzh-message::-moz-focus-inner{border:0 !important}.sc-stzh-message-h{--background-color:var(--stzh-color-grey20);--icon-color:var(--stzh-color-info50);--close-color:var(--stzh-color-grey90);--label-color:var(--stzh-color-info70);--description-color:var(--stzh-color-grey90)}[type=success].sc-stzh-message-h{--label-color:var(--stzh-color-success70);--icon-color:var(--stzh-color-success50);--background-color:var(--stzh-color-success20)}[type=warning].sc-stzh-message-h{--label-color:var(--stzh-color-warning90);--icon-color:var(--stzh-color-warning70);--background-color:var(--stzh-color-warning20)}[type=error].sc-stzh-message-h{--label-color:var(--stzh-color-error70);--icon-color:var(--stzh-color-error50);--background-color:var(--stzh-color-error20)}[type=page-message].sc-stzh-message-h{--label-color:var(--stzh-color-info70);--icon-color:var(--stzh-color-info50);--background-color:var(--stzh-color-info20)}.stzh-message.sc-stzh-message{position:relative;display:flex;box-shadow:var(--stzh-box-shadow-message);background-color:var(--background-color);border-radius:var(--stzh-button-border-radius)}.stzh-message__content.sc-stzh-message{padding-top:var(--stzh-space-xsmall)}@media screen and (min-width: 600px){.stzh-message__content.sc-stzh-message{padding-top:var(--stzh-space-small)}}@media screen and (min-width: 900px){.stzh-message__content.sc-stzh-message{padding-top:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.stzh-message__content.sc-stzh-message{padding-top:var(--stzh-space-xlarge)}}.stzh-message__content.sc-stzh-message{padding-bottom:var(--stzh-space-xsmall)}@media screen and (min-width: 600px){.stzh-message__content.sc-stzh-message{padding-bottom:var(--stzh-space-small)}}@media screen and (min-width: 900px){.stzh-message__content.sc-stzh-message{padding-bottom:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.stzh-message__content.sc-stzh-message{padding-bottom:var(--stzh-space-xlarge)}}.stzh-message__content.sc-stzh-message{padding-right:var(--stzh-space-large)}@media screen and (min-width: 600px){.stzh-message__content.sc-stzh-message{padding-right:var(--stzh-space-xlarge)}}@media screen and (min-width: 900px){.stzh-message__content.sc-stzh-message{padding-right:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.stzh-message__content.sc-stzh-message{padding-right:var(--stzh-space-xxxlarge)}}.stzh-message__content.sc-stzh-message{gap:var(--stzh-space-xsmall)}@media screen and (min-width: 600px){.stzh-message__content.sc-stzh-message{gap:var(--stzh-space-small)}}@media screen and (min-width: 900px){.stzh-message__content.sc-stzh-message{gap:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.stzh-message__content.sc-stzh-message{gap:var(--stzh-space-xlarge)}}.stzh-message__content.sc-stzh-message{display:flex;flex-direction:column;flex-grow:1;padding-left:var(--stzh-space-medium)}@media screen and (min-width: 600px){.stzh-message__content.sc-stzh-message{flex-direction:row;align-items:flex-start}}@media screen and (min-width: 900px){.stzh-message__content.sc-stzh-message{padding-left:var(--stzh-space-large)}}.stzh-message__icon-wrapper.sc-stzh-message{display:flex;flex-shrink:0}.stzh-message__icon.sc-stzh-message{--size:var(--stzh-icon-size-large);color:var(--icon-color)}@media screen and (min-width: 600px){.stzh-message__text-wrapper.sc-stzh-message{flex-grow:1}}@media screen and (min-width: 1260px){.stzh-message__text-wrapper.sc-stzh-message{align-items:center}}.stzh-message__label.sc-stzh-message{font-family:var(--stzh-font-family-title);font-weight:var(--stzh-font-weight-title);font-style:var(--stzh-font-style-title);font-size:var(--stzh-font-curve-h4-default-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-h4-default-heading-line-height, var(--stzh-font-milli-heading-line-height));letter-spacing:var(--stzh-font-curve-h4-default-heading-letter-spacing)}@media screen and (min-width: 600px){.stzh-message__label.sc-stzh-message{font-size:var(--stzh-font-curve-h4-small-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-h4-small-heading-line-height, var(--stzh-font-centi-heading-line-height));letter-spacing:var(--stzh-font-curve-h4-small-heading-letter-spacing)}}@media screen and (min-width: 1260px){.stzh-message__label.sc-stzh-message{font-size:var(--stzh-font-curve-h4-large-font-size, var(--stzh-font-deci-font-size));line-height:var(--stzh-font-curve-h4-large-heading-line-height, var(--stzh-font-deci-heading-line-height));letter-spacing:var(--stzh-font-curve-h4-large-heading-letter-spacing)}}@media screen and (min-width: 1600px){.stzh-message__label.sc-stzh-message{font-size:var(--stzh-font-curve-h4-ultra-font-size, var(--stzh-font-deca-font-size));line-height:var(--stzh-font-curve-h4-ultra-heading-line-height, var(--stzh-font-deca-text-line-height));letter-spacing:var(--stzh-font-curve-h4-ultra-heading-letter-spacing, var(--stzh-font-deca-text-letter-spacing))}}.stzh-message__label.sc-stzh-message{color:var(--label-color)}@media screen and (min-width: 1260px){.stzh-message__label.sc-stzh-message{font-size:var(--stzh-font-deci-font-size) !important}}.stzh-message__label.sc-stzh-message:not(:empty){margin-bottom:var(--stzh-space-xsmall)}.stzh-message__description.sc-stzh-message{font-size:var(--stzh-font-curve-p1-default-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-p1-default-text-line-height, var(--stzh-font-milli-text-line-height));letter-spacing:var(--stzh-font-curve-p1-default-text-letter-spacing)}@media screen and (min-width: 900px){.stzh-message__description.sc-stzh-message{font-size:var(--stzh-font-curve-p1-medium-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-p1-medium-text-line-height, var(--stzh-font-centi-text-line-height));letter-spacing:var(--stzh-font-curve-p1-medium-text-letter-spacing)}}.stzh-message__description.sc-stzh-message{color:var(--description-color);overflow-wrap:break-word;word-wrap:break-word;word-break:break-word}.stzh-message__description.sc-stzh-message:not(:empty)+.stzh-message__link.sc-stzh-message:not(:empty){margin-top:var(--stzh-space-xxsmall)}@media screen and (min-width: 900px){.stzh-message__description.sc-stzh-message:not(:empty)+.stzh-message__link.sc-stzh-message:not(:empty){margin-top:var(--stzh-space-xsmall)}}@media screen and (min-width: 1260px){.stzh-message__description.sc-stzh-message:not(:empty)+.stzh-message__link.sc-stzh-message:not(:empty){margin-top:var(--stzh-space-small)}}.stzh-message__close[variant=tertiary].sc-stzh-message{--color:var(--close-color);position:absolute;top:0;right:0}.stzh-message.sc-stzh-message:has(.stzh-message__description:empty):has(.stzh-message__link:empty) .stzh-message__label.sc-stzh-message:not(:empty){margin-top:var(--stzh-space-xxsmall);margin-bottom:0}.stzh-message--type-page-message.sc-stzh-message .stzh-message__content.sc-stzh-message{padding-left:1.25rem;padding-right:1.25rem}@media screen and (min-width: 600px){.stzh-message--type-page-message.sc-stzh-message .stzh-message__content.sc-stzh-message{padding-left:2rem;padding-right:2rem}}@media screen and (min-width: 900px){.stzh-message--type-page-message.sc-stzh-message .stzh-message__content.sc-stzh-message{padding-left:2.5rem;padding-right:2.5rem}}@media screen and (min-width: 1260px){.stzh-message--type-page-message.sc-stzh-message .stzh-message__content.sc-stzh-message{padding-left:4rem;padding-right:4rem}}@media screen and (min-width: 1600px){.stzh-message--type-page-message.sc-stzh-message .stzh-message__content.sc-stzh-message{padding-left:calc((100vw - 84.25rem) / 2);padding-right:calc((100vw - 84.25rem) / 2)}}.stzh-message--type-page-message.sc-stzh-message .stzh-message__content.sc-stzh-message{padding-top:var(--stzh-space-xsmall)}@media screen and (min-width: 600px){.stzh-message--type-page-message.sc-stzh-message .stzh-message__content.sc-stzh-message{padding-top:var(--stzh-space-small)}}@media screen and (min-width: 900px){.stzh-message--type-page-message.sc-stzh-message .stzh-message__content.sc-stzh-message{padding-top:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.stzh-message--type-page-message.sc-stzh-message .stzh-message__content.sc-stzh-message{padding-top:var(--stzh-space-xlarge)}}.stzh-message--type-page-message.sc-stzh-message .stzh-message__content.sc-stzh-message{padding-bottom:var(--stzh-space-xsmall)}@media screen and (min-width: 600px){.stzh-message--type-page-message.sc-stzh-message .stzh-message__content.sc-stzh-message{padding-bottom:var(--stzh-space-small)}}@media screen and (min-width: 900px){.stzh-message--type-page-message.sc-stzh-message .stzh-message__content.sc-stzh-message{padding-bottom:var(--stzh-space-medium)}}@media screen and (min-width: 1260px){.stzh-message--type-page-message.sc-stzh-message .stzh-message__content.sc-stzh-message{padding-bottom:var(--stzh-space-xlarge)}}.stzh-message--type-page-message.sc-stzh-message .stzh-message__content.sc-stzh-message{align-items:flex-start;flex-direction:row}@media screen and (max-width: 1259px){.stzh-message--type-page-message.sc-stzh-message .stzh-message__content.sc-stzh-message{padding-right:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1260px){.stzh-message--type-page-message.sc-stzh-message .stzh-message__content.sc-stzh-message{align-items:center}}.stzh-message--type-page-message.sc-stzh-message .stzh-message__text-wrapper.sc-stzh-message{display:flex;flex-direction:column}@media screen and (min-width: 1260px){.stzh-message--type-page-message.sc-stzh-message .stzh-message__text-wrapper.sc-stzh-message{flex-direction:row;gap:var(--stzh-space-xsmall)}}@media screen and (min-width: 1260px) and (min-width: 600px){.stzh-message--type-page-message.sc-stzh-message .stzh-message__text-wrapper.sc-stzh-message{gap:var(--stzh-space-small)}}@media screen and (min-width: 1260px) and (min-width: 900px){.stzh-message--type-page-message.sc-stzh-message .stzh-message__text-wrapper.sc-stzh-message{gap:var(--stzh-space-medium)}}@media screen and (min-width: 1260px) and (min-width: 1260px){.stzh-message--type-page-message.sc-stzh-message .stzh-message__text-wrapper.sc-stzh-message{gap:var(--stzh-space-xlarge)}}.stzh-message--type-page-message.sc-stzh-message .stzh-message__icon.sc-stzh-message{--size:var(--stzh-icon-size-small)}.stzh-message--type-page-message.sc-stzh-message .stzh-message__label.sc-stzh-message{font-family:var(--stzh-font-family-title);font-weight:var(--stzh-font-weight-title);font-style:var(--stzh-font-style-title);font-size:var(--stzh-font-curve-p1-default-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-p1-default-text-line-height, var(--stzh-font-milli-text-line-height));letter-spacing:var(--stzh-font-curve-p1-default-text-letter-spacing)}@media screen and (min-width: 900px){.stzh-message--type-page-message.sc-stzh-message .stzh-message__label.sc-stzh-message{font-size:var(--stzh-font-curve-p1-medium-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-p1-medium-text-line-height, var(--stzh-font-centi-text-line-height));letter-spacing:var(--stzh-font-curve-p1-medium-text-letter-spacing)}}.stzh-message--type-page-message.sc-stzh-message .stzh-message__label.sc-stzh-message{margin:0}@media screen and (min-width: 600px){.stzh-message--type-page-message.sc-stzh-message .stzh-message__close.sc-stzh-message{top:0.625rem;right:0.625rem}}@media screen and (min-width: 900px){.stzh-message--type-page-message.sc-stzh-message .stzh-message__text-wrapper.sc-stzh-message .stzh-message__link.sc-stzh-message{margin-top:0}}`;
|
|
7
7
|
|
|
@@ -98,6 +98,6 @@ function defineCustomElement() {
|
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
export { StzhMessage as S, defineCustomElement as d };
|
|
101
|
-
//# sourceMappingURL=p-
|
|
101
|
+
//# sourceMappingURL=p-B_nd_jfH.js.map
|
|
102
102
|
|
|
103
|
-
//# sourceMappingURL=p-
|
|
103
|
+
//# sourceMappingURL=p-B_nd_jfH.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-DUQ-gRxd.js","mappings":";;;;;AAAA,MAAM,cAAc,GAAG,MAAM,CAAC,y6YAAy6Y,CAAC;;MCgB37Y,WAAW,iBAAAA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A,EAC7B,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,IAAI,EAAC,MAAM,EAAQ,CAAA,CACrB,CACF,CACF,EAEL,CAAC,IAAI,CAAC,SAAS,KACd,CACE,CAAA,aAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,qBAAqB,EAC3B,OAAO,EAAE,IAAI,CAAC,kBAAkB,EAChC,SAAS,EAAE,IAAI,CAAC,YAAY,CAAC,KAAK,EAClC,OAAO,EAAC,UAAU,EAClB,IAAI,EAAC,OAAO,EACZ,QAAQ,EAAE,IAAI,EACd,IAAI,EAAC,WAAW,EAAA,CACH,CAChB,CACG,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-message/stzh-message.scss?tag=stzh-message&encapsulation=scoped","src/components/stzh-message/stzh-message.tsx"],"sourcesContent":[":host {\n --background-color: #{$colorGrey20};\n --icon-color: #{$colorInfo50};\n --close-color: #{$colorGrey90};\n --label-color: #{$colorInfo70};\n --description-color: #{$colorGrey90};\n\n &[type=\"success\"] {\n --label-color: #{$colorSuccess70};\n --icon-color: #{$colorSuccess50};\n --background-color: #{$colorSuccess20};\n }\n\n &[type=\"warning\"] {\n --label-color: #{$colorWarning90};\n --icon-color: #{$colorWarning70};\n --background-color: #{$colorWarning20};\n }\n\n &[type=\"error\"] {\n --label-color: #{$colorError70};\n --icon-color: #{$colorError50};\n --background-color: #{$colorError20};\n }\n\n &[type=\"page-message\"] {\n --label-color: #{$colorInfo70};\n --icon-color: #{$colorInfo50};\n --background-color: #{$colorInfo20};\n }\n}\n\n.stzh-message {\n position: relative;\n display: flex;\n box-shadow: $boxShadowMessage;\n background-color: var(--background-color);\n border-radius: #{$buttonBorderRadius};\n\n &__content {\n @include spaceCurve(\"padding-top\", \"small\");\n @include spaceCurve(\"padding-bottom\", \"small\");\n @include spaceCurve(\"padding-right\", \"medium\");\n @include spaceCurve(\"gap\", \"small\");\n display: flex;\n flex-direction: column;\n flex-grow: 1;\n padding-left: space(\"medium\");\n\n @include mq($from: small) {\n flex-direction: row;\n align-items: flex-start;\n }\n\n @include mq($from: medium) {\n padding-left: space(\"large\");\n }\n }\n\n &__icon-wrapper {\n display: flex;\n flex-shrink: 0;\n }\n\n &__icon {\n --size: #{iconSize(\"large\")};\n color: var(--icon-color);\n }\n\n &__text-wrapper {\n @include mq($from: small) {\n flex-grow: 1;\n }\n @include mq($from: large) {\n align-items: center;\n }\n }\n\n &__label {\n @include font(\"title\");\n @include fontCurve(\"h4\", \"heading\");\n color: var(--label-color);\n\n @include mq($from: large) {\n font-size: var(--stzh-font-deci-font-size) !important;\n }\n\n &:not(:empty) {\n margin-bottom: var(--stzh-space-xsmall);\n }\n }\n\n &__description {\n @include fontCurve(\"p1\");\n color: var(--description-color);\n overflow-wrap: break-word;\n word-wrap: break-word;\n word-break: break-word;\n }\n\n &__description:not(:empty) + &__link:not(:empty) {\n @include spaceCurve(\"margin-top\", \"tiny\");\n }\n\n &__close[variant=\"tertiary\"] {\n --color: var(--close-color);\n\n position: absolute;\n top: 0;\n right: 0;\n }\n\n /* Only label variant */\n\n &:has(#{&}__description:empty):has(#{&}__link:empty) &__label:not(:empty) {\n margin-top: space(\"xxsmall\");\n margin-bottom: 0;\n }\n\n /* Type page-message */\n\n &--type-page-message &__content {\n @include containerPadding;\n @include spaceCurve(\"padding-top\", \"small\");\n @include spaceCurve(\"padding-bottom\", \"small\");\n align-items: flex-start;\n flex-direction: row;\n\n @include mq($to: large) {\n padding-right: space(\"xxxlarge\");\n }\n\n @include mq($from: large) {\n align-items: center;\n }\n }\n\n &--type-page-message &__text-wrapper {\n display: flex;\n flex-direction: column;\n\n @include mq($from: large) {\n flex-direction: row;\n @include spaceCurve(\"gap\", \"small\");\n }\n }\n\n &--type-page-message &__icon {\n --size: #{iconSize(\"small\")};\n }\n\n &--type-page-message &__label {\n @include font(\"title\");\n @include fontCurve(\"p1\");\n margin: 0;\n }\n\n &--type-page-message &__close {\n @include mq($from: small) {\n top: 10px;\n right: 10px;\n }\n }\n\n &--type-page-message &__text-wrapper &__link {\n @include mq($from: medium) {\n margin-top: 0;\n }\n }\n}\n","import { Component, Element, Event, EventEmitter, h, Host, Method, Prop, State } from \"@stencil/core\";\n\nimport { StzhMessageCloseEvent, StzhMessageOpenEvent } from \"../../index\";\n\nimport { StzhMessageLocalizedText } from \"./stzh-message.localization\";\n\n/**\n * @slot - Slot for description content (use instead of description property)\n * @slot label - Slot for label (use as alternative for property)\n * @slot link - Slot for optional stzh-link element\n */\n@Component({\n tag: \"stzh-message\",\n styleUrl: \"stzh-message.scss\",\n scoped: true,\n})\nexport class StzhMessage {\n /** Label (slot can also be used as alternative) */\n @Prop() label: string = \"\";\n\n /** Description (use instead of default slot) */\n @Prop() description: string = \"\";\n\n /** Type */\n /** Do not use page-message property. It will be deprecated with the next major release. */\n @Prop({ reflect: true }) type: \"info\" | \"success\" | \"warning\" | \"error\" | \"page-message\" = \"info\";\n\n /** Whether to hide close button */\n @Prop() hideClose: boolean = false;\n\n /** Translation strings. */\n @Prop() localization: StzhMessageLocalizedText;\n\n /** Message open event */\n @Event() stzhOpen: EventEmitter<StzhMessageOpenEvent>;\n\n /** Message close event */\n @Event() stzhClose: EventEmitter<StzhMessageCloseEvent>;\n\n @Element() element: HTMLStzhMessageElement;\n\n /** Open state */\n @State() open: boolean = true;\n\n @Method()\n async show() {\n this.open = true;\n this.stzhOpen.emit({\n component: \"stzh-message\",\n });\n }\n\n @Method()\n async hide() {\n this.open = false;\n this.stzhClose.emit({\n component: \"stzh-message\",\n });\n }\n\n private onCloseButtonClick = () => {\n this.hide();\n };\n\n async componentWillLoad() {\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"message\");\n }\n }\n\n render() {\n const classes = {\n \"stzh-message\": true,\n \"stzh-message--has-close-hidden\": this.hideClose,\n [`stzh-message--type-${this.type}`]: !!this.type,\n };\n\n return (\n <Host hidden={!this.open}>\n <div class={classes}>\n <div class=\"stzh-message__content\">\n <div class=\"stzh-message__icon-wrapper\">\n <stzh-icon\n class=\"stzh-message__icon\"\n name={\n ((this.type === \"info\" || this.type === \"page-message\") && \"info-help-filled\") ||\n (this.type === \"success\" && \"checkmark-circle-filled\") ||\n (this.type === \"warning\" && \"important-warning-filled\") ||\n (this.type === \"error\" && \"warning-filled\")\n }\n ></stzh-icon>\n </div>\n <div class=\"stzh-message__text-wrapper\">\n <div class=\"stzh-message__label\">{this.label ? this.label : <slot name=\"label\"></slot>}</div>\n <div class=\"stzh-message__description\">{this.description ? this.description : <slot></slot>}</div>\n <div class=\"stzh-message__link\">\n <slot name=\"link\"></slot>\n </div>\n </div>\n </div>\n\n {!this.hideClose && (\n <stzh-button\n class=\"stzh-message__close\"\n onClick={this.onCloseButtonClick}\n a11yLabel={this.localization.close}\n variant=\"tertiary\"\n size=\"small\"\n iconOnly={true}\n icon=\"close-big\"\n ></stzh-button>\n )}\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
1
|
+
{"file":"p-B_nd_jfH.js","mappings":";;;;;AAAA,MAAM,cAAc,GAAG,MAAM,CAAC,y6YAAy6Y,CAAC;;MCgB37Y,WAAW,iBAAAA,kBAAA,CAAA,MAAA,WAAA,SAAAC,CAAA,CAAA;AALxB,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;;;AAOU,QAAA,IAAK,CAAA,KAAA,GAAW,EAAE;;AAGlB,QAAA,IAAW,CAAA,WAAA,GAAW,EAAE;;;AAIP,QAAA,IAAI,CAAA,IAAA,GAA8D,MAAM;;AAGzF,QAAA,IAAS,CAAA,SAAA,GAAY,KAAK;;AAczB,QAAA,IAAI,CAAA,IAAA,GAAY,IAAI;AAkBrB,QAAA,IAAkB,CAAA,kBAAA,GAAG,MAAK;YAChC,IAAI,CAAC,IAAI,EAAE;AACb,SAAC;AAsDF;AAvEC,IAAA,MAAM,IAAI,GAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-message/stzh-message.scss?tag=stzh-message&encapsulation=scoped","src/components/stzh-message/stzh-message.tsx"],"sourcesContent":[":host {\n --background-color: #{$colorGrey20};\n --icon-color: #{$colorInfo50};\n --close-color: #{$colorGrey90};\n --label-color: #{$colorInfo70};\n --description-color: #{$colorGrey90};\n\n &[type=\"success\"] {\n --label-color: #{$colorSuccess70};\n --icon-color: #{$colorSuccess50};\n --background-color: #{$colorSuccess20};\n }\n\n &[type=\"warning\"] {\n --label-color: #{$colorWarning90};\n --icon-color: #{$colorWarning70};\n --background-color: #{$colorWarning20};\n }\n\n &[type=\"error\"] {\n --label-color: #{$colorError70};\n --icon-color: #{$colorError50};\n --background-color: #{$colorError20};\n }\n\n &[type=\"page-message\"] {\n --label-color: #{$colorInfo70};\n --icon-color: #{$colorInfo50};\n --background-color: #{$colorInfo20};\n }\n}\n\n.stzh-message {\n position: relative;\n display: flex;\n box-shadow: $boxShadowMessage;\n background-color: var(--background-color);\n border-radius: #{$buttonBorderRadius};\n\n &__content {\n @include spaceCurve(\"padding-top\", \"small\");\n @include spaceCurve(\"padding-bottom\", \"small\");\n @include spaceCurve(\"padding-right\", \"medium\");\n @include spaceCurve(\"gap\", \"small\");\n display: flex;\n flex-direction: column;\n flex-grow: 1;\n padding-left: space(\"medium\");\n\n @include mq($from: small) {\n flex-direction: row;\n align-items: flex-start;\n }\n\n @include mq($from: medium) {\n padding-left: space(\"large\");\n }\n }\n\n &__icon-wrapper {\n display: flex;\n flex-shrink: 0;\n }\n\n &__icon {\n --size: #{iconSize(\"large\")};\n color: var(--icon-color);\n }\n\n &__text-wrapper {\n @include mq($from: small) {\n flex-grow: 1;\n }\n @include mq($from: large) {\n align-items: center;\n }\n }\n\n &__label {\n @include font(\"title\");\n @include fontCurve(\"h4\", \"heading\");\n color: var(--label-color);\n\n @include mq($from: large) {\n font-size: var(--stzh-font-deci-font-size) !important;\n }\n\n &:not(:empty) {\n margin-bottom: var(--stzh-space-xsmall);\n }\n }\n\n &__description {\n @include fontCurve(\"p1\");\n color: var(--description-color);\n overflow-wrap: break-word;\n word-wrap: break-word;\n word-break: break-word;\n }\n\n &__description:not(:empty) + &__link:not(:empty) {\n @include spaceCurve(\"margin-top\", \"tiny\");\n }\n\n &__close[variant=\"tertiary\"] {\n --color: var(--close-color);\n\n position: absolute;\n top: 0;\n right: 0;\n }\n\n /* Only label variant */\n\n &:has(#{&}__description:empty):has(#{&}__link:empty) &__label:not(:empty) {\n margin-top: space(\"xxsmall\");\n margin-bottom: 0;\n }\n\n /* Type page-message */\n\n &--type-page-message &__content {\n @include containerPadding;\n @include spaceCurve(\"padding-top\", \"small\");\n @include spaceCurve(\"padding-bottom\", \"small\");\n align-items: flex-start;\n flex-direction: row;\n\n @include mq($to: large) {\n padding-right: space(\"xxxlarge\");\n }\n\n @include mq($from: large) {\n align-items: center;\n }\n }\n\n &--type-page-message &__text-wrapper {\n display: flex;\n flex-direction: column;\n\n @include mq($from: large) {\n flex-direction: row;\n @include spaceCurve(\"gap\", \"small\");\n }\n }\n\n &--type-page-message &__icon {\n --size: #{iconSize(\"small\")};\n }\n\n &--type-page-message &__label {\n @include font(\"title\");\n @include fontCurve(\"p1\");\n margin: 0;\n }\n\n &--type-page-message &__close {\n @include mq($from: small) {\n top: 10px;\n right: 10px;\n }\n }\n\n &--type-page-message &__text-wrapper &__link {\n @include mq($from: medium) {\n margin-top: 0;\n }\n }\n}\n","import { Component, Element, Event, EventEmitter, h, Host, Method, Prop, State } from \"@stencil/core\";\n\nimport { StzhMessageCloseEvent, StzhMessageOpenEvent } from \"../../index\";\n\nimport { StzhMessageLocalizedText } from \"./stzh-message.localization\";\n\n/**\n * @slot - Slot for description content (use instead of description property)\n * @slot label - Slot for label (use as alternative for property)\n * @slot link - Slot for optional stzh-link element\n */\n@Component({\n tag: \"stzh-message\",\n styleUrl: \"stzh-message.scss\",\n scoped: true,\n})\nexport class StzhMessage {\n /** Label (slot can also be used as alternative) */\n @Prop() label: string = \"\";\n\n /** Description (use instead of default slot) */\n @Prop() description: string = \"\";\n\n /** Type */\n /** Do not use page-message property. It will be deprecated with the next major release. */\n @Prop({ reflect: true }) type: \"info\" | \"success\" | \"warning\" | \"error\" | \"page-message\" = \"info\";\n\n /** Whether to hide close button */\n @Prop() hideClose: boolean = false;\n\n /** Translation strings. */\n @Prop() localization: StzhMessageLocalizedText;\n\n /** Message open event */\n @Event() stzhOpen: EventEmitter<StzhMessageOpenEvent>;\n\n /** Message close event */\n @Event() stzhClose: EventEmitter<StzhMessageCloseEvent>;\n\n @Element() element: HTMLStzhMessageElement;\n\n /** Open state */\n @State() open: boolean = true;\n\n @Method()\n async show() {\n this.open = true;\n this.stzhOpen.emit({\n component: \"stzh-message\",\n });\n }\n\n @Method()\n async hide() {\n this.open = false;\n this.stzhClose.emit({\n component: \"stzh-message\",\n });\n }\n\n private onCloseButtonClick = () => {\n this.hide();\n };\n\n async componentWillLoad() {\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"message\");\n }\n }\n\n render() {\n const classes = {\n \"stzh-message\": true,\n \"stzh-message--has-close-hidden\": this.hideClose,\n [`stzh-message--type-${this.type}`]: !!this.type,\n };\n\n return (\n <Host hidden={!this.open}>\n <div class={classes}>\n <div class=\"stzh-message__content\">\n <div class=\"stzh-message__icon-wrapper\">\n <stzh-icon\n class=\"stzh-message__icon\"\n name={\n ((this.type === \"info\" || this.type === \"page-message\") && \"info-help-filled\") ||\n (this.type === \"success\" && \"checkmark-circle-filled\") ||\n (this.type === \"warning\" && \"important-warning-filled\") ||\n (this.type === \"error\" && \"warning-filled\")\n }\n ></stzh-icon>\n </div>\n <div class=\"stzh-message__text-wrapper\">\n <div class=\"stzh-message__label\">{this.label ? this.label : <slot name=\"label\"></slot>}</div>\n <div class=\"stzh-message__description\">{this.description ? this.description : <slot></slot>}</div>\n <div class=\"stzh-message__link\">\n <slot name=\"link\"></slot>\n </div>\n </div>\n </div>\n\n {!this.hideClose && (\n <stzh-button\n class=\"stzh-message__close\"\n onClick={this.onCloseButtonClick}\n a11yLabel={this.localization.close}\n variant=\"tertiary\"\n size=\"small\"\n iconOnly={true}\n icon=\"close-big\"\n ></stzh-button>\n )}\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, d as createEvent, h, e as Host, t as transformTag } from './p-
|
|
2
|
-
import { d as defineCustomElement$3 } from './p-
|
|
3
|
-
import { d as defineCustomElement$2 } from './p-
|
|
4
|
-
import { d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, d as createEvent, h, e as Host, t as transformTag } from './p-CF5HtLyZ.js';
|
|
2
|
+
import { d as defineCustomElement$3 } from './p-B4O0PovX.js';
|
|
3
|
+
import { d as defineCustomElement$2 } from './p-B0YyK73m.js';
|
|
4
|
+
import { d as defineCustomElement$1 } from './p-4V3geC0t.js';
|
|
5
5
|
|
|
6
6
|
const stzhClampCss = () => `: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}stzh-clamp{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}stzh-clamp[hidden],stzh-clamp[stzh-hidden]{display:none}stzh-clamp::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}stzh-clamp *,stzh-clamp *::before,stzh-clamp *::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)}stzh-clamp{}stzh-clamp .has-focus{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}stzh-clamp .stzh-fylingfocus-focused{outline-style:none !important}stzh-clamp .stzh-fylingfocus-focused::-moz-focus-inner{border:0 !important}stzh-clamp{--current-lines:var(--lines, 0)}@media screen and (min-width: 600px){stzh-clamp{--current-lines:var(--lines-small, var(--lines, 0))}}@media screen and (min-width: 900px){stzh-clamp{--current-lines:var(--lines-medium, var(--lines-small, var(--lines, 0)))}}@media screen and (min-width: 1260px){stzh-clamp{--current-lines:var(
|
|
7
7
|
--lines-large,
|
|
@@ -163,6 +163,6 @@ function defineCustomElement() {
|
|
|
163
163
|
}
|
|
164
164
|
|
|
165
165
|
export { StzhClamp as S, defineCustomElement as d };
|
|
166
|
-
//# sourceMappingURL=p-
|
|
166
|
+
//# sourceMappingURL=p-BbwUKBZe.js.map
|
|
167
167
|
|
|
168
|
-
//# sourceMappingURL=p-
|
|
168
|
+
//# sourceMappingURL=p-BbwUKBZe.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-CunX3wR8.js","mappings":";;;;;AAAA,MAAM,YAAY,GAAG,MAAM,CAAC;AAC5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kxBAAkxB,CAAC;;MCItwB,SAAS,iBAAAA,kBAAA,CAAA,MAAA,SAAA,SAAAC,CAAA,CAAA;AAJtB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AA,GAAA,EAAA,0CAAA,EAAA,CAAa,CACT,EAEN,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,GAAG,EAAE,EAAE,KAAK,IAAI,CAAC,gBAAgB,GAAG,EAAoB,CAAC,EACzD,KAAK,EAAC,mCAAmC,EAAA,aAAA,EAC7B,MAAM,EACb,CAAA,EAEN,IAAI,CAAC,cAAc,IAAI,IAAI,CAAC,OAAO,KAClC,CAAA,CAAA,WAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACE,KAAK,EAAC,qBAAqB,EAC3B,YAAY,EAAC,IAAI,EACL,aAAA,EAAA,MAAM,EAClB,OAAO,EAAE,IAAI,CAAC,iBAAiB,EAAA,EAE9B,CAAC,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,YAAY,CAAC,QAAQ,GAAG,IAAI,CAAC,YAAY,CAAC,QAAQ,CAC/D,CACb,CACG,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-clamp/stzh-clamp.scss?tag=stzh-clamp","src/components/stzh-clamp/stzh-clamp.tsx"],"sourcesContent":["/**\n * @prop --current-lines: Currently clamped lines number (can be used instead of `lines-{BREAKPOINT}` attributes)\n */\n\nstzh-clamp {\n @include host;\n --current-lines: var(--lines, 0);\n\n @include mq($from: small) {\n --current-lines: var(--lines-small, var(--lines, 0));\n }\n\n @include mq($from: medium) {\n --current-lines: var(--lines-medium, var(--lines-small, var(--lines, 0)));\n }\n\n @include mq($from: large) {\n --current-lines: var(\n --lines-large,\n var(--lines-medium, var(--lines-small, var(--lines, 0)))\n );\n }\n\n @include mq($from: ultra) {\n --current-lines: var(\n --lines-ultra,\n var(\n --lines-large,\n var(--lines-medium, var(--lines-small, var(--lines, 0)))\n )\n );\n }\n\n width: 100%;\n color: inherit;\n font-family: inherit;\n font-weight: inherit;\n font-style: inherit;\n font-size: inherit;\n line-height: inherit;\n}\n\n.stzh-clamp {\n position: relative;\n\n &__text {\n @include wordWrap;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n overflow: hidden;\n\n & > *:first-child {\n margin-top: 0 !important;\n }\n\n & > *:last-child {\n margin-bottom: 0 !important;\n }\n\n &.is-clone {\n position: absolute;\n visibility: hidden;\n opacity: 0;\n top: 0;\n left: 0;\n width: 100%;\n }\n }\n\n &__trigger {\n @include mq($from: medium) {\n margin-top: space(\"xxsmall\");\n }\n }\n\n &--is-not-expanded &__text,\n &__text.is-clone {\n -webkit-line-clamp: var(--current-lines);\n line-clamp: var(--current-lines);\n }\n}\n","import { Component, Element, Event, EventEmitter, h, Host, Method, Prop } from \"@stencil/core\";\n\nimport { StzhClampClampEvent, StzhClampExpandEvent } from \"../../index\";\n\nimport { StzhClampLocalizedText } from \"./stzh-clamp.localization\";\n\n/**\n * @slot - Slot for clamp text\n */\n@Component({\n tag: \"stzh-clamp\",\n styleUrl: \"stzh-clamp.scss\",\n})\nexport class StzhClamp {\n /** Translation strings */\n @Prop() localization: StzhClampLocalizedText;\n\n /** Line number */\n @Prop() lines: number = 1;\n /** Line number above small breakpoint */\n @Prop() linesSmall: number = 0;\n /** Line number above medium breakpoint */\n @Prop() linesMedium: number = 0;\n /** Line number above large breakpoint */\n @Prop() linesLarge: number = 0;\n /** Line number above ultra breakpoint */\n @Prop() linesUltra: number = 0;\n\n /** Whether expand link is shown */\n @Prop() showExpandLink: boolean = false;\n\n /** Whether clamping is expanded */\n @Prop({ mutable: true, reflect: true }) expanded: boolean = false;\n\n /** Whether the text is currently clamped (readonly) */\n @Prop({ mutable: true, reflect: true }) clamped: boolean = false;\n\n @Element() element: HTMLStzhClampElement;\n\n /** Event when clamping state changed */\n @Event() stzhClamp: EventEmitter<StzhClampClampEvent>;\n\n /** Event when expanding state changed */\n @Event() stzhExpand: EventEmitter<StzhClampExpandEvent>;\n\n @Method()\n async update() {\n this.textCloneElement.innerHTML = this.textElement.innerHTML;\n this.updateClamped();\n }\n\n private textElement: HTMLElement;\n private textCloneElement: HTMLElement;\n\n private debounceResize: number;\n private resizeObserver: ResizeObserver;\n private mutationObserver: MutationObserver;\n private renderPromiseResolve: (value?: unknown) => void;\n\n private updateClamped = () => {\n if (!this.textCloneElement) {\n return;\n }\n\n const beforeClamped = this.clamped;\n this.clamped = this.textCloneElement.scrollHeight > this.textCloneElement.clientHeight;\n\n if (beforeClamped !== this.clamped) {\n this.stzhClamp.emit({\n component: \"stzh-clamp\",\n clamped: this.clamped,\n });\n }\n };\n\n private handleResize = () => {\n if (this.debounceResize) {\n window.cancelAnimationFrame(this.debounceResize);\n }\n\n this.debounceResize = requestAnimationFrame(this.updateClamped);\n };\n\n private handleMutaton = () => {\n this.update();\n };\n\n private handleExpandClick = async () => {\n this.expanded = !this.expanded;\n await this.waitForNextRender();\n\n this.stzhExpand.emit({\n component: \"stzh-clamp\",\n expanded: this.expanded,\n });\n };\n\n private waitForNextRender() {\n return new Promise(resolve => (this.renderPromiseResolve = resolve));\n }\n\n async componentWillLoad() {\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"clamp\");\n }\n }\n\n componentDidLoad() {\n this.mutationObserver = new MutationObserver(this.handleMutaton);\n this.mutationObserver.observe(this.textElement, {\n childList: true,\n subtree: true,\n });\n }\n\n componentDidRender() {\n if (this.renderPromiseResolve) {\n this.renderPromiseResolve();\n }\n\n this.update();\n }\n\n connectedCallback() {\n this.resizeObserver = new ResizeObserver(this.handleResize);\n this.resizeObserver.observe(this.element);\n }\n\n disconnectedCallback() {\n if (this.resizeObserver) {\n this.resizeObserver.disconnect();\n }\n\n if (this.mutationObserver) {\n this.mutationObserver.disconnect();\n }\n }\n\n render() {\n const classes = {\n \"stzh-clamp\": true,\n \"stzh-clamp--is-not-expanded\": !this.expanded,\n };\n\n return (\n <Host\n style={{\n \"--lines\": this.lines ? this.lines.toString() : null,\n \"--lines-small\": this.linesSmall ? this.linesSmall.toString() : null,\n \"--lines-medium\": this.linesMedium ? this.linesMedium.toString() : null,\n \"--lines-large\": this.linesLarge ? this.linesLarge.toString() : null,\n \"--lines-ultra\": this.linesUltra ? this.linesUltra.toString() : null,\n }}\n >\n <div class={classes}>\n <div ref={el => (this.textElement = el as HTMLDivElement)} class=\"stzh-clamp__text\">\n <slot></slot>\n </div>\n\n <div\n ref={el => (this.textCloneElement = el as HTMLDivElement)}\n class=\"stzh-clamp__text is-clone rs_skip\"\n aria-hidden=\"true\"\n ></div>\n\n {this.showExpandLink && this.clamped && (\n <stzh-link\n class=\"stzh-clamp__trigger\"\n a11yTabindex=\"-1\"\n aria-hidden=\"true\"\n onClick={this.handleExpandClick}\n >\n {!this.expanded ? this.localization.showMore : this.localization.showLess}\n </stzh-link>\n )}\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
1
|
+
{"file":"p-BbwUKBZe.js","mappings":";;;;;AAAA,MAAM,YAAY,GAAG,MAAM,CAAC;AAC5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kxBAAkxB,CAAC;;MCItwB,SAAS,iBAAAA,kBAAA,CAAA,MAAA,SAAA,SAAAC,CAAA,CAAA;AAJtB,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;;;AASU,QAAA,IAAK,CAAA,KAAA,GAAW,CAAC;;AAEjB,QAAA,IAAU,CAAA,UAAA,GAAW,CAAC;;AAEtB,QAAA,IAAW,CAAA,WAAA,GAAW,CAAC;;AAEvB,QAAA,IAAU,CAAA,UAAA,GAAW,CAAC;;AAEtB,QAAA,IAAU,CAAA,UAAA,GAAW,CAAC;;AAGtB,QAAA,IAAc,CAAA,cAAA,GAAY,KAAK;;AAGC,QAAA,IAAQ,CAAA,QAAA,GAAY,KAAK;;AAGzB,QAAA,IAAO,CAAA,OAAA,GAAY,KAAK;AAwBxD,QAAA,IAAa,CAAA,aAAA,GAAG,MAAK;AAC3B,YAAA,IAAI,CAAC,IAAI,CAAC,gBAAgB,EAAE;gBAC1B;;AAGF,YAAA,M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AAQ,GAAG,IAAI,CAAC,YAAY,CAAC,QAAQ,CAC/D,CACb,CACG,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-clamp/stzh-clamp.scss?tag=stzh-clamp","src/components/stzh-clamp/stzh-clamp.tsx"],"sourcesContent":["/**\n * @prop --current-lines: Currently clamped lines number (can be used instead of `lines-{BREAKPOINT}` attributes)\n */\n\nstzh-clamp {\n @include host;\n --current-lines: var(--lines, 0);\n\n @include mq($from: small) {\n --current-lines: var(--lines-small, var(--lines, 0));\n }\n\n @include mq($from: medium) {\n --current-lines: var(--lines-medium, var(--lines-small, var(--lines, 0)));\n }\n\n @include mq($from: large) {\n --current-lines: var(\n --lines-large,\n var(--lines-medium, var(--lines-small, var(--lines, 0)))\n );\n }\n\n @include mq($from: ultra) {\n --current-lines: var(\n --lines-ultra,\n var(\n --lines-large,\n var(--lines-medium, var(--lines-small, var(--lines, 0)))\n )\n );\n }\n\n width: 100%;\n color: inherit;\n font-family: inherit;\n font-weight: inherit;\n font-style: inherit;\n font-size: inherit;\n line-height: inherit;\n}\n\n.stzh-clamp {\n position: relative;\n\n &__text {\n @include wordWrap;\n display: -webkit-box;\n -webkit-box-orient: vertical;\n overflow: hidden;\n\n & > *:first-child {\n margin-top: 0 !important;\n }\n\n & > *:last-child {\n margin-bottom: 0 !important;\n }\n\n &.is-clone {\n position: absolute;\n visibility: hidden;\n opacity: 0;\n top: 0;\n left: 0;\n width: 100%;\n }\n }\n\n &__trigger {\n @include mq($from: medium) {\n margin-top: space(\"xxsmall\");\n }\n }\n\n &--is-not-expanded &__text,\n &__text.is-clone {\n -webkit-line-clamp: var(--current-lines);\n line-clamp: var(--current-lines);\n }\n}\n","import { Component, Element, Event, EventEmitter, h, Host, Method, Prop } from \"@stencil/core\";\n\nimport { StzhClampClampEvent, StzhClampExpandEvent } from \"../../index\";\n\nimport { StzhClampLocalizedText } from \"./stzh-clamp.localization\";\n\n/**\n * @slot - Slot for clamp text\n */\n@Component({\n tag: \"stzh-clamp\",\n styleUrl: \"stzh-clamp.scss\",\n})\nexport class StzhClamp {\n /** Translation strings */\n @Prop() localization: StzhClampLocalizedText;\n\n /** Line number */\n @Prop() lines: number = 1;\n /** Line number above small breakpoint */\n @Prop() linesSmall: number = 0;\n /** Line number above medium breakpoint */\n @Prop() linesMedium: number = 0;\n /** Line number above large breakpoint */\n @Prop() linesLarge: number = 0;\n /** Line number above ultra breakpoint */\n @Prop() linesUltra: number = 0;\n\n /** Whether expand link is shown */\n @Prop() showExpandLink: boolean = false;\n\n /** Whether clamping is expanded */\n @Prop({ mutable: true, reflect: true }) expanded: boolean = false;\n\n /** Whether the text is currently clamped (readonly) */\n @Prop({ mutable: true, reflect: true }) clamped: boolean = false;\n\n @Element() element: HTMLStzhClampElement;\n\n /** Event when clamping state changed */\n @Event() stzhClamp: EventEmitter<StzhClampClampEvent>;\n\n /** Event when expanding state changed */\n @Event() stzhExpand: EventEmitter<StzhClampExpandEvent>;\n\n @Method()\n async update() {\n this.textCloneElement.innerHTML = this.textElement.innerHTML;\n this.updateClamped();\n }\n\n private textElement: HTMLElement;\n private textCloneElement: HTMLElement;\n\n private debounceResize: number;\n private resizeObserver: ResizeObserver;\n private mutationObserver: MutationObserver;\n private renderPromiseResolve: (value?: unknown) => void;\n\n private updateClamped = () => {\n if (!this.textCloneElement) {\n return;\n }\n\n const beforeClamped = this.clamped;\n this.clamped = this.textCloneElement.scrollHeight > this.textCloneElement.clientHeight;\n\n if (beforeClamped !== this.clamped) {\n this.stzhClamp.emit({\n component: \"stzh-clamp\",\n clamped: this.clamped,\n });\n }\n };\n\n private handleResize = () => {\n if (this.debounceResize) {\n window.cancelAnimationFrame(this.debounceResize);\n }\n\n this.debounceResize = requestAnimationFrame(this.updateClamped);\n };\n\n private handleMutaton = () => {\n this.update();\n };\n\n private handleExpandClick = async () => {\n this.expanded = !this.expanded;\n await this.waitForNextRender();\n\n this.stzhExpand.emit({\n component: \"stzh-clamp\",\n expanded: this.expanded,\n });\n };\n\n private waitForNextRender() {\n return new Promise(resolve => (this.renderPromiseResolve = resolve));\n }\n\n async componentWillLoad() {\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"clamp\");\n }\n }\n\n componentDidLoad() {\n this.mutationObserver = new MutationObserver(this.handleMutaton);\n this.mutationObserver.observe(this.textElement, {\n childList: true,\n subtree: true,\n });\n }\n\n componentDidRender() {\n if (this.renderPromiseResolve) {\n this.renderPromiseResolve();\n }\n\n this.update();\n }\n\n connectedCallback() {\n this.resizeObserver = new ResizeObserver(this.handleResize);\n this.resizeObserver.observe(this.element);\n }\n\n disconnectedCallback() {\n if (this.resizeObserver) {\n this.resizeObserver.disconnect();\n }\n\n if (this.mutationObserver) {\n this.mutationObserver.disconnect();\n }\n }\n\n render() {\n const classes = {\n \"stzh-clamp\": true,\n \"stzh-clamp--is-not-expanded\": !this.expanded,\n };\n\n return (\n <Host\n style={{\n \"--lines\": this.lines ? this.lines.toString() : null,\n \"--lines-small\": this.linesSmall ? this.linesSmall.toString() : null,\n \"--lines-medium\": this.linesMedium ? this.linesMedium.toString() : null,\n \"--lines-large\": this.linesLarge ? this.linesLarge.toString() : null,\n \"--lines-ultra\": this.linesUltra ? this.linesUltra.toString() : null,\n }}\n >\n <div class={classes}>\n <div ref={el => (this.textElement = el as HTMLDivElement)} class=\"stzh-clamp__text\">\n <slot></slot>\n </div>\n\n <div\n ref={el => (this.textCloneElement = el as HTMLDivElement)}\n class=\"stzh-clamp__text is-clone rs_skip\"\n aria-hidden=\"true\"\n ></div>\n\n {this.showExpandLink && this.clamped && (\n <stzh-link\n class=\"stzh-clamp__trigger\"\n a11yTabindex=\"-1\"\n aria-hidden=\"true\"\n onClick={this.handleExpandClick}\n >\n {!this.expanded ? this.localization.showMore : this.localization.showLess}\n </stzh-link>\n )}\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -1,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-CF5HtLyZ.js';
|
|
2
2
|
import { s as setPropsIfNull } from './p-CN5apKPb.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-BfWAE2yh.js.map
|
|
75
75
|
|
|
76
|
-
//# sourceMappingURL=p-
|
|
76
|
+
//# sourceMappingURL=p-BfWAE2yh.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-
|
|
1
|
+
{"file":"p-BfWAE2yh.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,gBAAgB,GAAG,IAAI,CAAC,OAAO,CAAC,gBAAgB,CACpD,+DAA+D,CAChE;YAED,MAAM,eAAe,GAAG,IAAI,CAAC,OAAO,CAAC,gBAAgB,CACnD,6DAA6D,CAC9D;AAED,YAAA,gBAAgB,CAAC,OAAO,CAAC,MAAM,IAAG;gBAChC,cAAc,CAAC,MAAM,EAAE;AACrB,oBAAA,OAAO,EAA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AA,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,5 +1,5 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, d as createEvent, h, F as Fragment, e as Host, t as transformTag } from './p-
|
|
2
|
-
import { d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, d as createEvent, h, F as Fragment, e as Host, t as transformTag } from './p-CF5HtLyZ.js';
|
|
2
|
+
import { d as defineCustomElement$1 } from './p-B0YyK73m.js';
|
|
3
3
|
|
|
4
4
|
const stzhStepperItemCss = () => `.sc-stzh-stepper-item-h{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);color:var(--stzh-base-color);box-sizing:border-box;display:block}[hidden].sc-stzh-stepper-item-h,[stzh-hidden].sc-stzh-stepper-item-h{display:none}.sc-stzh-stepper-item-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-stepper-item-h *.sc-stzh-stepper-item,.sc-stzh-stepper-item-h *.sc-stzh-stepper-item::before,.sc-stzh-stepper-item-h *.sc-stzh-stepper-item::after{box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness);-webkit-text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink);text-decoration-skip-ink:var(--stzh-link-text-decoration-skip-ink)}.sc-stzh-stepper-item-h .has-focus.sc-stzh-stepper-item{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-stepper-item-h .stzh-fylingfocus-focused.sc-stzh-stepper-item{outline-style:none !important}.sc-stzh-stepper-item-h .stzh-fylingfocus-focused.sc-stzh-stepper-item::-moz-focus-inner{border:0 !important}[hide].sc-stzh-stepper-item-h{display:none}.stzh-stepper-item.sc-stzh-stepper-item{text-align:center}.stzh-stepper-item__button.sc-stzh-stepper-item,.stzh-stepper-item__unclickable.sc-stzh-stepper-item{appearance:none;font-family:inherit;background-color:transparent;border:none}.stzh-stepper-item__button.sc-stzh-stepper-item{cursor:pointer}.stzh-stepper-item__unclickable.sc-stzh-stepper-item{cursor:default;pointer-events:none}.stzh-stepper-item__unclickable.sc-stzh-stepper-item .stzh-stepper-item__number-block.sc-stzh-stepper-item{background-color:var(--stzh-color-grey20);color:var(--stzh-color-primary70);border:0.0625rem solid var(--stzh-color-grey20)}.stzh-stepper-item__button.sc-stzh-stepper-item:hover .stzh-stepper-item__number-block.sc-stzh-stepper-item,.stzh-stepper-item__button.sc-stzh-stepper-item:focus .stzh-stepper-item__number-block.sc-stzh-stepper-item{color:var(--stzh-color-primary70);border-color:var(--stzh-color-secondary40)}@media (forced-colors: active), (-ms-high-contrast: active){.stzh-stepper-item__button.sc-stzh-stepper-item:hover .stzh-stepper-item__number-block.sc-stzh-stepper-item,.stzh-stepper-item__button.sc-stzh-stepper-item:focus .stzh-stepper-item__number-block.sc-stzh-stepper-item{color:Highlight;border-color:Highlight}}.stzh-stepper-item__button.sc-stzh-stepper-item:hover .stzh-stepper-item__number-block.sc-stzh-stepper-item::after,.stzh-stepper-item__button.sc-stzh-stepper-item:focus .stzh-stepper-item__number-block.sc-stzh-stepper-item::after{background-color:var(--stzh-color-secondary40)}.stzh-stepper-item__button.sc-stzh-stepper-item:hover .stzh-stepper-item__label-block.sc-stzh-stepper-item,.stzh-stepper-item__button.sc-stzh-stepper-item:focus .stzh-stepper-item__label-block.sc-stzh-stepper-item{color:var(--stzh-color-primary90)}@media (forced-colors: active), (-ms-high-contrast: active){.stzh-stepper-item__button.sc-stzh-stepper-item:hover .stzh-stepper-item__label-block.sc-stzh-stepper-item,.stzh-stepper-item__button.sc-stzh-stepper-item:focus .stzh-stepper-item__label-block.sc-stzh-stepper-item{color:Highlight}}.stzh-stepper-item__number-block.sc-stzh-stepper-item{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy);font-size:var(--stzh-font-curve-p1-default-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-p1-default-text-line-height, var(--stzh-font-milli-text-line-height));letter-spacing:var(--stzh-font-curve-p1-default-text-letter-spacing)}@media screen and (min-width: 900px){.stzh-stepper-item__number-block.sc-stzh-stepper-item{font-size:var(--stzh-font-curve-p1-medium-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-p1-medium-text-line-height, var(--stzh-font-centi-text-line-height));letter-spacing:var(--stzh-font-curve-p1-medium-text-letter-spacing)}}.stzh-stepper-item__number-block.sc-stzh-stepper-item{position:relative;display:inline-flex;justify-content:center;align-items:center;width:2.1875rem;height:2.1875rem;background-color:var(--stzh-color-secondary20);border:0.0625rem solid var(--stzh-color-secondary20);text-align:center;box-sizing:border-box;color:var(--stzh-color-primary70);transition-property:color, border-color;transition-duration:var(--stzh-base-transition-animation-speed)}@media screen and (min-width: 600px){.stzh-stepper-item__number-block.sc-stzh-stepper-item{width:2.625rem;height:2.625rem;margin-bottom:var(--stzh-space-large)}}.stzh-stepper-item__number-block.sc-stzh-stepper-item::before{display:none;content:"";position:absolute;top:1rem;right:2.125rem;width:100vw;height:0.0625rem;background-color:var(--stzh-base-border-color);z-index:-2;overflow:hidden}@media screen and (min-width: 600px){.stzh-stepper-item__number-block.sc-stzh-stepper-item::before{top:1.25rem;right:2.5625rem}}.stzh-stepper-item__number-block.sc-stzh-stepper-item::after,.stzh-stepper-item__dotted.sc-stzh-stepper-item::after{content:"";z-index:0;position:absolute;display:block;width:100%;height:100%;top:0;left:0;transition:background-color var(--stzh-base-transition-animation-speed)}.stzh-stepper-item__label-block.sc-stzh-stepper-item{display:block;font-size:0.875rem;line-height:1.28;color:var(--stzh-color-grey80);padding:var(--stzh-space-xxsmall) var(--stzh-space-small);letter-spacing:0.01em;transition:color var(--stzh-base-transition-animation-speed)}@media screen and (max-width: 599px){.stzh-stepper-item__label-block.sc-stzh-stepper-item{border:0;clip:rect(0 0 0 0);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}}.stzh-stepper-item__number.sc-stzh-stepper-item,.stzh-stepper-item__icon.sc-stzh-stepper-item,.stzh-stepper-item__user-icon.sc-stzh-stepper-item,.stzh-stepper-item__dotted-icon.sc-stzh-stepper-item{z-index:1}.stzh-stepper-item__icon.sc-stzh-stepper-item,.stzh-stepper-item__user-icon.sc-stzh-stepper-item,.stzh-stepper-item__dotted-icon.sc-stzh-stepper-item{--size:var(--stzh-icon-size-xsmall);position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);color:var(--stzh-color-primary)}@media (forced-colors: active), (-ms-high-contrast: active){.stzh-stepper-item__icon.sc-stzh-stepper-item,.stzh-stepper-item__user-icon.sc-stzh-stepper-item,.stzh-stepper-item__dotted-icon.sc-stzh-stepper-item{color:CanvasText}}.stzh-stepper-item__user-icon.sc-stzh-stepper-item{--size:var(--stzh-icon-size-small);color:currentColor}.stzh-stepper-item__dotted.sc-stzh-stepper-item{z-index:1;appearance:none;font-family:inherit;position:absolute;top:0.1875rem;width:1.6875rem;height:1.6875rem;background-color:var(--stzh-color-grey20);border:0.0625rem solid var(--stzh-color-grey20);cursor:pointer;transition-property:color, border-color;transition-duration:var(--stzh-base-transition-animation-speed)}.stzh-stepper-item__dotted.sc-stzh-stepper-item:hover,.stzh-stepper-item__dotted.sc-stzh-stepper-item:focus{border-color:var(--stzh-color-grey20);cursor:default}@media (forced-colors: active), (-ms-high-contrast: active){.stzh-stepper-item__dotted.sc-stzh-stepper-item:hover,.stzh-stepper-item__dotted.sc-stzh-stepper-item:focus{border-color:Highlight}}.stzh-stepper-item__dotted.sc-stzh-stepper-item:hover::after,.stzh-stepper-item__dotted.sc-stzh-stepper-item:focus::after{background-color:var(--stzh-color-grey20)}@media (forced-colors: active), (-ms-high-contrast: active){.stzh-stepper-item__dotted.sc-stzh-stepper-item:hover::after,.stzh-stepper-item__dotted.sc-stzh-stepper-item:focus::after{background-color:Canvas}}.stzh-stepper-item__dotted__disabled.sc-stzh-stepper-item{cursor:default}.stzh-stepper-item__dotted__disabled.sc-stzh-stepper-item:hover,.stzh-stepper-item__dotted__disabled.sc-stzh-stepper-item:focus{border-color:var(--stzh-base-border-color);cursor:default}.stzh-stepper-item__dotted__disabled.sc-stzh-stepper-item:hover::after,.stzh-stepper-item__dotted__disabled.sc-stzh-stepper-item:focus::after{background-color:inherit}@media screen and (min-width: 600px){.stzh-stepper-item__dotted.sc-stzh-stepper-item{top:0.3125rem;width:1.9375rem;height:1.9375rem}}.stzh-stepper-item__dotted.sc-stzh-stepper-item:hover .stzh-stepper-item__dotted-icon.sc-stzh-stepper-item,.stzh-stepper-item__dotted.sc-stzh-stepper-item:focus .stzh-stepper-item__dotted-icon.sc-stzh-stepper-item{color:var(--stzh-color-primary-hover)}@media (forced-colors: active), (-ms-high-contrast: active){.stzh-stepper-item__dotted.sc-stzh-stepper-item:hover .stzh-stepper-item__dotted-icon.sc-stzh-stepper-item,.stzh-stepper-item__dotted.sc-stzh-stepper-item:focus .stzh-stepper-item__dotted-icon.sc-stzh-stepper-item{color:Highlight}}.stzh-stepper-item--first.sc-stzh-stepper-item .stzh-stepper-item__number-block.sc-stzh-stepper-item::before,.stzh-stepper-item--last.sc-stzh-stepper-item .stzh-stepper-item__number-block.sc-stzh-stepper-item::before{display:block}.stzh-stepper-item--first.sc-stzh-stepper-item{position:relative}.stzh-stepper-item--first.sc-stzh-stepper-item .stzh-stepper-item__dotted.sc-stzh-stepper-item{left:50%;transform:translateX(-50%)}.stzh-stepper-item--last.sc-stzh-stepper-item .stzh-stepper-item__dotted.sc-stzh-stepper-item{right:calc(100% / var(--steps) - (0.84375rem))}@media screen and (min-width: 600px){.stzh-stepper-item--last.sc-stzh-stepper-item .stzh-stepper-item__dotted.sc-stzh-stepper-item{right:calc(100% / var(--steps) - (0.96875rem))}}.stzh-stepper-item--passed.sc-stzh-stepper-item .stzh-stepper-item__label-block.sc-stzh-stepper-item{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy);color:var(--stzh-color-primary)}.stzh-stepper-item--passed.sc-stzh-stepper-item .stzh-stepper-item__number-block.sc-stzh-stepper-item{background-color:var(--stzh-color-secondary60);border:solid 0.0625rem var(--stzh-color-secondary60)}@media (forced-colors: active), (-ms-high-contrast: active){.stzh-stepper-item--passed.sc-stzh-stepper-item .stzh-stepper-item__number-block.sc-stzh-stepper-item{background-color:Canvas;border-color:CanvasText}}.stzh-stepper-item--passed.sc-stzh-stepper-item .stzh-stepper-item__button.sc-stzh-stepper-item:hover .stzh-stepper-item__number-block.sc-stzh-stepper-item::after,.stzh-stepper-item--passed.sc-stzh-stepper-item .stzh-stepper-item__button.sc-stzh-stepper-item:focus .stzh-stepper-item__number-block.sc-stzh-stepper-item::after{background-color:var(--stzh-color-secondary70)}.stzh-stepper-item--passed.sc-stzh-stepper-item .stzh-stepper-item__icon.sc-stzh-stepper-item,.stzh-stepper-item--passed.sc-stzh-stepper-item .stzh-stepper-item__user-icon.sc-stzh-stepper-item{color:var(--stzh-color-white)}.stzh-stepper-item--passed.sc-stzh-stepper-item .stzh-stepper-item__button.sc-stzh-stepper-item:hover .stzh-stepper-item__user-icon.sc-stzh-stepper-item,.stzh-stepper-item--passed.sc-stzh-stepper-item .stzh-stepper-item__button.sc-stzh-stepper-item:focus .stzh-stepper-item__user-icon.sc-stzh-stepper-item{color:var(--stzh-color-white)}@media (forced-colors: active), (-ms-high-contrast: active){.stzh-stepper-item--passed.sc-stzh-stepper-item .stzh-stepper-item__button.sc-stzh-stepper-item:hover .stzh-stepper-item__user-icon.sc-stzh-stepper-item,.stzh-stepper-item--passed.sc-stzh-stepper-item .stzh-stepper-item__button.sc-stzh-stepper-item:focus .stzh-stepper-item__user-icon.sc-stzh-stepper-item{color:Highlight}}.stzh-stepper-item--passed.sc-stzh-stepper-item:not(.stzh-stepper-item--passed-incomplete) .stzh-stepper-item__number-block.sc-stzh-stepper-item,.stzh-stepper-item--passed.sc-stzh-stepper-item:not(.stzh-stepper-item--passed-incomplete) .stzh-stepper-item__button.sc-stzh-stepper-item:hover .stzh-stepper-item__number-block.sc-stzh-stepper-item,.stzh-stepper-item--passed.sc-stzh-stepper-item:not(.stzh-stepper-item--passed-incomplete) .stzh-stepper-item__button.sc-stzh-stepper-item:focus .stzh-stepper-item__number-block.sc-stzh-stepper-item{color:transparent}@media (forced-colors: active), (-ms-high-contrast: active){.stzh-stepper-item--passed.sc-stzh-stepper-item:not(.stzh-stepper-item--passed-incomplete) .stzh-stepper-item__number-block.sc-stzh-stepper-item,.stzh-stepper-item--passed.sc-stzh-stepper-item:not(.stzh-stepper-item--passed-incomplete) .stzh-stepper-item__button.sc-stzh-stepper-item:hover .stzh-stepper-item__number-block.sc-stzh-stepper-item,.stzh-stepper-item--passed.sc-stzh-stepper-item:not(.stzh-stepper-item--passed-incomplete) .stzh-stepper-item__button.sc-stzh-stepper-item:focus .stzh-stepper-item__number-block.sc-stzh-stepper-item{color:Canvas}}.stzh-stepper-item--passed.sc-stzh-stepper-item:not(.stzh-stepper-item--passed-incomplete) .stzh-stepper-item__button.sc-stzh-stepper-item:hover .stzh-stepper-item__number-block.sc-stzh-stepper-item,.stzh-stepper-item--passed.sc-stzh-stepper-item:not(.stzh-stepper-item--passed-incomplete) .stzh-stepper-item__button.sc-stzh-stepper-item:focus .stzh-stepper-item__number-block.sc-stzh-stepper-item{border-color:var(--stzh-color-primary70)}@media (forced-colors: active), (-ms-high-contrast: active){.stzh-stepper-item--passed.sc-stzh-stepper-item:not(.stzh-stepper-item--passed-incomplete) .stzh-stepper-item__button.sc-stzh-stepper-item:hover .stzh-stepper-item__number-block.sc-stzh-stepper-item,.stzh-stepper-item--passed.sc-stzh-stepper-item:not(.stzh-stepper-item--passed-incomplete) .stzh-stepper-item__button.sc-stzh-stepper-item:focus .stzh-stepper-item__number-block.sc-stzh-stepper-item{border-color:Highlight}}.stzh-stepper-item--passed-incomplete.sc-stzh-stepper-item .stzh-stepper-item__number-block.sc-stzh-stepper-item{color:var(--stzh-color-white);background-color:var(--stzh-color-secondary60);border:0.0625rem solid var(--stzh-color-secondary60)}@media (forced-colors: active), (-ms-high-contrast: active){.stzh-stepper-item--passed-incomplete.sc-stzh-stepper-item .stzh-stepper-item__number-block.sc-stzh-stepper-item{color:var(--stzh-color-primary)}}.stzh-stepper-item--passed-incomplete.sc-stzh-stepper-item .stzh-stepper-item__button.sc-stzh-stepper-item:hover .stzh-stepper-item__number-block.sc-stzh-stepper-item,.stzh-stepper-item--passed-incomplete.sc-stzh-stepper-item .stzh-stepper-item__button.sc-stzh-stepper-item:focus .stzh-stepper-item__number-block.sc-stzh-stepper-item{color:var(--stzh-color-white);border-color:var(--stzh-color-secondary70)}.stzh-stepper-item--passed-incomplete.sc-stzh-stepper-item .stzh-stepper-item__button.sc-stzh-stepper-item:hover .stzh-stepper-item__number-block.sc-stzh-stepper-item::after,.stzh-stepper-item--passed-incomplete.sc-stzh-stepper-item .stzh-stepper-item__button.sc-stzh-stepper-item:focus .stzh-stepper-item__number-block.sc-stzh-stepper-item::after{background-color:var(--stzh-color-secondary70)}@media (forced-colors: active), (-ms-high-contrast: active){.stzh-stepper-item--passed-incomplete.sc-stzh-stepper-item .stzh-stepper-item__button.sc-stzh-stepper-item:hover .stzh-stepper-item__number-block.sc-stzh-stepper-item,.stzh-stepper-item--passed-incomplete.sc-stzh-stepper-item .stzh-stepper-item__button.sc-stzh-stepper-item:focus .stzh-stepper-item__number-block.sc-stzh-stepper-item{color:Highlight;border-color:Highlight}}.stzh-stepper-item--current.sc-stzh-stepper-item .stzh-stepper-item__label-block.sc-stzh-stepper-item{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy);color:var(--stzh-color-primary)}@media (forced-colors: active), (-ms-high-contrast: active){.stzh-stepper-item--current.sc-stzh-stepper-item .stzh-stepper-item__label-block.sc-stzh-stepper-item{color:SelectedItem}}.stzh-stepper-item--current.sc-stzh-stepper-item .stzh-stepper-item__label-block.sc-stzh-stepper-item:hover{-webkit-text-decoration-line:none;text-decoration-line:none}.stzh-stepper-item--current.sc-stzh-stepper-item .stzh-stepper-item__number-block.sc-stzh-stepper-item{background-color:var(--stzh-color-primary);border:solid 0.0625rem var(--stzh-color-primary);color:var(--stzh-color-white)}@media (forced-colors: active), (-ms-high-contrast: active){.stzh-stepper-item--current.sc-stzh-stepper-item .stzh-stepper-item__number-block.sc-stzh-stepper-item{color:SelectedItem;border-color:SelectedItem;background-color:Canvas}}.stzh-stepper-item--current.sc-stzh-stepper-item .stzh-stepper-item__number-block.sc-stzh-stepper-item::before{display:block;background-color:var(--stzh-color-primary);z-index:-1}@media (forced-colors: active), (-ms-high-contrast: active){.stzh-stepper-item--current.sc-stzh-stepper-item .stzh-stepper-item__number-block.sc-stzh-stepper-item::before{background-color:CanvasText}}.stzh-stepper-item--current.sc-stzh-stepper-item .stzh-stepper-item__button.sc-stzh-stepper-item:hover .stzh-stepper-item__number-block.sc-stzh-stepper-item,.stzh-stepper-item--current.sc-stzh-stepper-item .stzh-stepper-item__button.sc-stzh-stepper-item:focus .stzh-stepper-item__number-block.sc-stzh-stepper-item{color:var(--stzh-color-white);border:0.0625rem solid var(--stzh-color-primary90)}@media (forced-colors: active), (-ms-high-contrast: active){.stzh-stepper-item--current.sc-stzh-stepper-item .stzh-stepper-item__button.sc-stzh-stepper-item:hover .stzh-stepper-item__number-block.sc-stzh-stepper-item,.stzh-stepper-item--current.sc-stzh-stepper-item .stzh-stepper-item__button.sc-stzh-stepper-item:focus .stzh-stepper-item__number-block.sc-stzh-stepper-item{color:Highlight}}.stzh-stepper-item--current.sc-stzh-stepper-item .stzh-stepper-item__button.sc-stzh-stepper-item:hover .stzh-stepper-item__number-block.sc-stzh-stepper-item::after,.stzh-stepper-item--current.sc-stzh-stepper-item .stzh-stepper-item__button.sc-stzh-stepper-item:focus .stzh-stepper-item__number-block.sc-stzh-stepper-item::after{background-color:var(--stzh-color-primary-hover)}@media (forced-colors: active), (-ms-high-contrast: active){.stzh-stepper-item--current.sc-stzh-stepper-item .stzh-stepper-item__button.sc-stzh-stepper-item:hover .stzh-stepper-item__number-block.sc-stzh-stepper-item::after,.stzh-stepper-item--current.sc-stzh-stepper-item .stzh-stepper-item__button.sc-stzh-stepper-item:focus .stzh-stepper-item__number-block.sc-stzh-stepper-item::after{background-color:Canvas}}@media (forced-colors: active), (-ms-high-contrast: active){.stzh-stepper-item--current.sc-stzh-stepper-item .stzh-stepper-item__user-icon.sc-stzh-stepper-item{color:SelectedItem}}@media (forced-colors: active), (-ms-high-contrast: active){.stzh-stepper-item--current.sc-stzh-stepper-item .stzh-stepper-item__button.sc-stzh-stepper-item:hover .stzh-stepper-item__icon.sc-stzh-stepper-item,.stzh-stepper-item--current.sc-stzh-stepper-item .stzh-stepper-item__button.sc-stzh-stepper-item:focus .stzh-stepper-item__icon.sc-stzh-stepper-item,.stzh-stepper-item--current.sc-stzh-stepper-item .stzh-stepper-item__button.sc-stzh-stepper-item:hover .stzh-stepper-item__user-icon.sc-stzh-stepper-item,.stzh-stepper-item--current.sc-stzh-stepper-item .stzh-stepper-item__button.sc-stzh-stepper-item:focus .stzh-stepper-item__user-icon.sc-stzh-stepper-item{color:Highlight}}.stzh-stepper-item--dotted.stzh-stepper-item--first.sc-stzh-stepper-item .stzh-stepper-item__number-block.sc-stzh-stepper-item{margin-bottom:0}.stzh-stepper-item--dotted.stzh-stepper-item--first.sc-stzh-stepper-item .stzh-stepper-item__number-block.sc-stzh-stepper-item::after{display:none}.stzh-stepper-item--dotted.stzh-stepper-item--first.sc-stzh-stepper-item .stzh-stepper-item__button.sc-stzh-stepper-item{padding-left:0;padding-right:0}.stzh-stepper-item--dotted.stzh-stepper-item--first.sc-stzh-stepper-item .stzh-stepper-item__number-block.sc-stzh-stepper-item{position:relative;z-index:0;top:0.3125rem;width:1.6875rem;height:1.6875rem;border:none;background-color:transparent}@media screen and (min-width: 600px){.stzh-stepper-item--dotted.stzh-stepper-item--first.sc-stzh-stepper-item .stzh-stepper-item__number-block.sc-stzh-stepper-item{top:0.5rem;width:1.9375rem;height:1.9375rem}}.stzh-stepper-item--dotted.stzh-stepper-item--first.sc-stzh-stepper-item .stzh-stepper-item__number-block.sc-stzh-stepper-item::before{top:0.75rem;right:1.625rem}@media screen and (min-width: 600px){.stzh-stepper-item--dotted.stzh-stepper-item--first.sc-stzh-stepper-item .stzh-stepper-item__number-block.sc-stzh-stepper-item::before{top:0.8125rem;right:1.875rem}}.stzh-stepper-item--dotted.stzh-stepper-item--first.sc-stzh-stepper-item .stzh-stepper-item__label-block.sc-stzh-stepper-item{display:none}.stzh-stepper-item--first.sc-stzh-stepper-item .stzh-stepper-item__number-block.sc-stzh-stepper-item::before{background-color:var(--stzh-color-white);z-index:1}@media (forced-colors: active), (-ms-high-contrast: active){.stzh-stepper-item--first.sc-stzh-stepper-item .stzh-stepper-item__number-block.sc-stzh-stepper-item::before{background-color:Canvas}}.stzh-stepper-item--is-disabled.sc-stzh-stepper-item .stzh-stepper-item__button.sc-stzh-stepper-item{cursor:not-allowed}.stzh-stepper-item--is-disabled.sc-stzh-stepper-item .stzh-stepper-item__number-block.sc-stzh-stepper-item{background-color:var(--stzh-color-grey60);color:white;border:0.0625rem solid var(--stzh-color-grey60)}.stzh-stepper-item--is-disabled.sc-stzh-stepper-item .stzh-stepper-item__button.sc-stzh-stepper-item:hover .stzh-stepper-item__number-block.sc-stzh-stepper-item,.stzh-stepper-item--is-disabled.sc-stzh-stepper-item .stzh-stepper-item__button.sc-stzh-stepper-item:focus .stzh-stepper-item__number-block.sc-stzh-stepper-item{color:var(--stzh-color-white);border:0.0625rem solid var(--stzh-color-grey60) !important}@media (forced-colors: active), (-ms-high-contrast: active){.stzh-stepper-item--is-disabled.sc-stzh-stepper-item .stzh-stepper-item__button.sc-stzh-stepper-item:hover .stzh-stepper-item__number-block.sc-stzh-stepper-item,.stzh-stepper-item--is-disabled.sc-stzh-stepper-item .stzh-stepper-item__button.sc-stzh-stepper-item:focus .stzh-stepper-item__number-block.sc-stzh-stepper-item{color:GrayText;border-color:GrayText}}.stzh-stepper-item--is-disabled.sc-stzh-stepper-item .stzh-stepper-item__button.sc-stzh-stepper-item:hover .stzh-stepper-item__number-block.sc-stzh-stepper-item::after,.stzh-stepper-item--is-disabled.sc-stzh-stepper-item .stzh-stepper-item__button.sc-stzh-stepper-item:focus .stzh-stepper-item__number-block.sc-stzh-stepper-item::after{display:none}.stzh-stepper-item--is-disabled.sc-stzh-stepper-item .stzh-stepper-item__label-block.sc-stzh-stepper-item{color:var(--stzh-color-grey80)}.stzh-stepper-item--is-disabled.sc-stzh-stepper-item .stzh-stepper-item__button.sc-stzh-stepper-item:hover .stzh-stepper-item__label-block.sc-stzh-stepper-item,.stzh-stepper-item--is-disabled.sc-stzh-stepper-item .stzh-stepper-item__button.sc-stzh-stepper-item:focus .stzh-stepper-item__label-block.sc-stzh-stepper-item{color:var(--stzh-color-grey80)}@media (forced-colors: active), (-ms-high-contrast: active){.stzh-stepper-item--is-disabled.sc-stzh-stepper-item .stzh-stepper-item__button.sc-stzh-stepper-item:hover .stzh-stepper-item__label-block.sc-stzh-stepper-item,.stzh-stepper-item--is-disabled.sc-stzh-stepper-item .stzh-stepper-item__button.sc-stzh-stepper-item:focus .stzh-stepper-item__label-block.sc-stzh-stepper-item{color:GrayText}}`;
|
|
5
5
|
|
|
@@ -108,6 +108,6 @@ function defineCustomElement() {
|
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
export { StzhStepperItem as S, defineCustomElement as d };
|
|
111
|
-
//# sourceMappingURL=p-
|
|
111
|
+
//# sourceMappingURL=p-BtBwyT5W.js.map
|
|
112
112
|
|
|
113
|
-
//# sourceMappingURL=p-
|
|
113
|
+
//# sourceMappingURL=p-BtBwyT5W.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-CtNit8M7.js","mappings":";;;AAAA,MAAM,kBAAkB,GAAG,MAAM,CAAC,81tBAA81tB,CAAC;;MCYp3tB,eAAe,iBAAAA,kBAAA,CAAA,MAAA,eAAA,SAAAC,CAAA,CAAA;AAL5B,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;;;AAU2B,QAAA,IAAQ,CAAA,QAAA,GAAY,KAAK;;AAGzB,QAAA,IAAK,CAAA,KAAA,GAAY,KAAK;;AAGtB,QAAA,IAAI,CAAA,IAAA,GAAY,KAAK;;AAGrB,QAAA,IAAM,CAAA,MAAA,GAAY,KAAK;;AAGvB,QAAA,IAAU,CAAA,UAAA,GAAY,KAAK;;AAG3B,QAAA,IAAO,CAAA,OAAA,GAAY,KAAK;;AAGxB,QAAA,IAAI,CAAA,IAAA,GAAY,KAAK;;AAGrB,QAAA,IAAM,CAAA,MAAA,GAAY,KAAK;;AAGvB,QAAA,IAAI,CAAA,IAAA,GAAW,CAAC;;AAGhB,QAAA,IAAI,CAAA,IAAA,GAAW,EAAE;;AAGlC,QAAA,IAAa,CAAA,aAAA,GAAY,KAAK;AAoB9B,QAAA,IAAA,CAAA,OAAO,GAAG,CAAC,KAAiB,KAAI;AACtC,YAAA,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC;AAClB,gBAAA,SAAS,EAAE,mBAAmB;AAC9B,gBAAA,aAAa,EAAE,KAAK;gBACpB,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,O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A,EAAA,EAAM,GAAG,EAAE,EAAE,KAAK,IAAI,CAAC,IAAI,GAAG,EAAiB,CAAC,EAAE,KAAK,EAAC,gCAAgC,EAAA,EACrF,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,GAAG,CAAa,CAAA,MAAA,EAAA,IAAA,CAAA,CACnC,CACA,CACV,EACA,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,MAAM,IAAI,MAAM,CAChC,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-stepper-item/stzh-stepper-item.scss?tag=stzh-stepper-item&encapsulation=scoped","src/components/stzh-stepper-item/stzh-stepper-item.tsx"],"sourcesContent":[":host {\n}\n\n:host([hide]) {\n display: none;\n}\n\n.stzh-stepper-item {\n text-align: center;\n\n &__button,\n &__unclickable {\n appearance: none;\n font-family: inherit;\n background-color: transparent;\n border: none;\n }\n\n &__button {\n cursor: pointer;\n }\n\n &__unclickable {\n cursor: default;\n pointer-events: none;\n }\n\n &__unclickable &__number-block {\n background-color: $colorGrey20;\n color: $colorPrimary70;\n border: 1px solid $colorGrey20;\n }\n\n &__button:hover &__number-block,\n &__button:focus &__number-block {\n color: $colorPrimary70;\n border-color: $colorSecondary40;\n\n @include highContrast() {\n color: Highlight;\n border-color: Highlight;\n }\n\n &::after {\n background-color: $colorSecondary40;\n }\n }\n\n &__button:hover &__label-block,\n &__button:focus &__label-block {\n color: $colorPrimary90;\n\n @include highContrast() {\n color: Highlight;\n }\n }\n\n /* what we do here is:\n add a gray line on the last element, which strikes through all previous ones,\n add a blue line on the current step which covers all previous elements relative to itself\n and add a white line on the first element, which gives you the illusion that it stopped. */\n\n &__number-block {\n @include font(\"heavy\");\n @include fontCurve(\"p1\");\n position: relative;\n display: inline-flex;\n justify-content: center;\n align-items: center;\n width: $stepperItemSize;\n height: $stepperItemSize;\n background-color: $colorSecondary20;\n border: 1px solid $colorSecondary20;\n text-align: center;\n box-sizing: border-box;\n color: $colorPrimary70;\n transition-property: color, border-color;\n transition-duration: $baseTransitionAnimationSpeed;\n\n @include mq($from: small) {\n width: $stepperItemSmallUp;\n height: $stepperItemSmallUp;\n margin-bottom: space(\"large\");\n }\n\n // set a line on every element, but hide it by default\n &::before {\n display: none;\n content: \"\";\n position: absolute;\n top: 16px;\n right: $stepperItemSize - 1px;\n width: 100vw;\n height: 1px;\n background-color: $baseBorderColor;\n z-index: -2;\n overflow: hidden;\n\n @include mq($from: small) {\n top: 20px;\n right: $stepperItemSmallUp - 1px;\n }\n }\n }\n\n &__number-block,\n &__dotted {\n &::after {\n content: \"\";\n z-index: 0;\n position: absolute;\n display: block;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n transition: background-color $baseTransitionAnimationSpeed;\n }\n }\n\n &__label-block {\n display: block;\n font-size: 14px;\n line-height: 1.28;\n color: $colorGrey80;\n padding: space(\"xxsmall\") space(\"small\");\n letter-spacing: 0.01em;\n transition: color $baseTransitionAnimationSpeed;\n\n @include mq($to: small) {\n @include visuallyhidden;\n }\n }\n\n &__number,\n &__icon,\n &__user-icon,\n &__dotted-icon {\n z-index: 1;\n }\n\n &__icon,\n &__user-icon,\n &__dotted-icon {\n --size: #{iconSize(\"xsmall\")};\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n color: $colorPrimary;\n\n @include highContrast() {\n color: CanvasText;\n }\n }\n\n &__user-icon {\n --size: #{iconSize(\"small\")};\n color: currentColor;\n }\n\n &__dotted {\n z-index: 1;\n appearance: none;\n font-family: inherit;\n position: absolute;\n top: 3px;\n width: $stepperItemDottedSize;\n height: $stepperItemDottedSize;\n background-color: $colorGrey20;\n border: 1px solid $colorGrey20;\n cursor: pointer;\n transition-property: color, border-color;\n transition-duration: $baseTransitionAnimationSpeed;\n\n &:hover,\n &:focus {\n border-color: $colorGrey20;\n cursor: default;\n\n @include highContrast() {\n border-color: Highlight;\n }\n }\n\n &:hover::after,\n &:focus::after {\n background-color: $colorGrey20;\n\n @include highContrast() {\n background-color: Canvas;\n }\n }\n\n &__disabled {\n cursor: default;\n\n &:hover,\n &:focus {\n border-color: var(--stzh-base-border-color);\n cursor: default;\n }\n\n &:hover::after,\n &:focus::after {\n background-color: inherit;\n }\n }\n\n @include mq($from: small) {\n top: 5px;\n width: $stepperItemDottedSizeSmallUp;\n height: $stepperItemDottedSizeSmallUp;\n }\n }\n\n &__dotted:hover &__dotted-icon,\n &__dotted:focus &__dotted-icon {\n color: $colorPrimaryHover;\n\n @include highContrast() {\n color: Highlight;\n }\n }\n\n /* First and Last */\n\n &--first &__number-block,\n &--last &__number-block {\n &::before {\n display: block;\n }\n }\n\n /* First */\n\n &--first {\n position: relative;\n }\n\n &--first &__dotted {\n left: 50%;\n transform: translateX(-50%);\n }\n\n /* Last */\n\n &--last &__dotted {\n // position the dots based on the width divided by the elements minus half of itself\n right: calc((100% / var(--steps)) - (#{$stepperItemDottedSize * 0.5}));\n\n @include mq($from: small) {\n right: calc(\n (100% / var(--steps)) - (#{$stepperItemDottedSizeSmallUp * 0.5})\n );\n }\n }\n\n /* Passed */\n\n &--passed &__label-block {\n @include font(\"heavy\");\n color: $colorPrimary;\n }\n\n &--passed &__number-block {\n background-color: $colorSecondary60;\n border: solid 1px $colorSecondary60;\n\n @include highContrast() {\n background-color: Canvas;\n border-color: CanvasText;\n }\n }\n\n &--passed &__button:hover &__number-block,\n &--passed &__button:focus &__number-block {\n &::after {\n background-color: $colorSecondary70;\n }\n }\n\n &--passed &__icon,\n &--passed &__user-icon {\n color: $colorWhite;\n }\n\n &--passed &__button:hover &__user-icon,\n &--passed &__button:focus &__user-icon {\n color: $colorWhite;\n\n @include highContrast() {\n color: Highlight;\n }\n }\n\n /* Styles specific to passed items that are **not** incomplete */\n &--passed:not(&--passed-incomplete) &__number-block,\n &--passed:not(&--passed-incomplete) &__button:hover &__number-block,\n &--passed:not(&--passed-incomplete) &__button:focus &__number-block {\n color: transparent;\n\n @include highContrast() {\n color: Canvas;\n }\n }\n\n &--passed:not(&--passed-incomplete) &__button:hover &__number-block,\n &--passed:not(&--passed-incomplete) &__button:focus &__number-block {\n border-color: $colorPrimary70;\n\n @include highContrast() {\n border-color: Highlight;\n }\n }\n\n /* Styles specific to passed items that **are** incomplete */\n &--passed-incomplete &__number-block {\n color: $colorWhite;\n background-color: $colorSecondary60;\n border: 1px solid $colorSecondary60;\n\n @include highContrast() {\n color: $colorPrimary;\n }\n }\n\n &--passed-incomplete &__button:hover &__number-block,\n &--passed-incomplete &__button:focus &__number-block {\n color: $colorWhite;\n border-color: $colorSecondary70;\n &::after {\n background-color: $colorSecondary70;\n }\n\n @include highContrast() {\n color: Highlight;\n border-color: Highlight;\n }\n }\n\n /* Current */\n\n &--current &__label-block {\n @include font(\"heavy\");\n color: $colorPrimary;\n\n @include highContrast() {\n color: SelectedItem;\n }\n\n &:hover {\n text-decoration-line: none;\n }\n }\n\n &--current &__number-block {\n background-color: $colorPrimary;\n border: solid 1px $colorPrimary;\n color: $colorWhite;\n\n @include highContrast() {\n color: SelectedItem;\n border-color: SelectedItem;\n background-color: Canvas;\n }\n\n // make line blue (see desc)\n &::before {\n display: block;\n background-color: $colorPrimary;\n z-index: -1;\n\n @include highContrast() {\n background-color: CanvasText;\n }\n }\n }\n\n &--current &__button:hover &__number-block,\n &--current &__button:focus &__number-block {\n color: $colorWhite;\n border: 1px solid $colorPrimary90;\n\n @include highContrast() {\n color: Highlight;\n }\n\n &::after {\n background-color: $colorPrimaryHover;\n\n @include highContrast() {\n background-color: Canvas;\n }\n }\n }\n\n &--current &__user-icon {\n @include highContrast() {\n color: SelectedItem;\n }\n }\n\n &--current &__button:hover &__icon,\n &--current &__button:focus &__icon,\n &--current &__button:hover &__user-icon,\n &--current &__button:focus &__user-icon {\n @include highContrast() {\n color: Highlight;\n }\n }\n\n /* Dotted */\n\n &--dotted#{&}--first &__number-block {\n margin-bottom: 0;\n\n &::after {\n display: none;\n }\n }\n\n &--dotted#{&}--first &__button {\n padding-left: 0;\n padding-right: 0;\n }\n\n // hide number block behind dotted element\n &--dotted#{&}--first &__number-block {\n position: relative;\n z-index: 0;\n top: 5px;\n width: $stepperItemDottedSize;\n height: $stepperItemDottedSize;\n border: none;\n background-color: transparent;\n\n // change dimensions to be still hidden\n @include mq($from: small) {\n top: 8px;\n width: $stepperItemDottedSizeSmallUp;\n height: $stepperItemDottedSizeSmallUp;\n }\n\n // realign white line\n &::before {\n top: 12px;\n right: 26px;\n\n @include mq($from: small) {\n top: 13px;\n right: 30px;\n }\n }\n }\n\n &--dotted#{&}--first &__label-block {\n display: none;\n }\n\n // first child overwrite white line (see desc) */\n &--first &__number-block {\n &::before {\n background-color: $colorWhite;\n z-index: 1;\n\n @include highContrast() {\n background-color: Canvas;\n }\n }\n }\n\n /* Disabled */\n\n &--is-disabled &__button {\n cursor: not-allowed;\n }\n\n &--is-disabled &__number-block {\n background-color: $colorGrey60;\n color: white;\n border: 1px solid $colorGrey60;\n }\n\n &--is-disabled &__button:hover &__number-block,\n &--is-disabled &__button:focus &__number-block {\n color: $colorWhite;\n border: 1px solid $colorGrey60 !important;\n\n @include highContrast() {\n color: GrayText;\n border-color: GrayText;\n }\n\n &::after {\n display: none;\n }\n }\n\n &--is-disabled &__label-block {\n color: $colorGrey80;\n }\n\n &--is-disabled &__button:hover &__label-block,\n &--is-disabled &__button:focus &__label-block {\n color: $colorGrey80;\n\n @include highContrast() {\n color: GrayText;\n }\n }\n}\n","import { Component, Host, h, Prop, Element, Fragment, Event, EventEmitter } from \"@stencil/core\";\n\nimport { StzhStepperItemClickEvent, StzhStepperItemDottedClickEvent } from \"../../index\";\n\n/**\n * @slot - Slot for label (or use label prop)\n */\n@Component({\n tag: \"stzh-stepper-item\",\n styleUrl: \"stzh-stepper-item.scss\",\n scoped: true,\n})\nexport class StzhStepperItem {\n /** The label of the item. */\n @Prop({ reflect: true }) label: string;\n\n /** When true, it displays a not-allowed cursor on hover. Use this for steps that are not applicable. */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /** Whether it's the first item (used internally by stzh-stepper). */\n @Prop({ reflect: true }) first: boolean = false;\n\n /** Whether it's the last item (used internally by stzh-stepper). */\n @Prop({ reflect: true }) last: boolean = false;\n\n /** True when the item index is lower than the current index (used internally by stzh-stepper). */\n @Prop({ reflect: true }) passed: boolean = false;\n\n /** For passed items, this prevents displaying a checked icon when true (shows step number instead). */\n @Prop({ reflect: true }) incomplete: boolean = false;\n\n /** Whether it's the last item (used internally by stzh-stepper). */\n @Prop({ reflect: true }) current: boolean = false;\n\n /** Whether it's a hidden item (used internally by stzh-stepper). */\n @Prop({ reflect: true }) hide: boolean = false;\n\n /** Whether it's a dotted item (used internally by stzh-stepper). */\n @Prop({ reflect: true }) dotted: boolean = false;\n\n /** The number of the step (used internally by stzh-stepper). */\n @Prop({ reflect: true }) step: number = 1;\n\n /** Displays a custom icon instead of the step number. */\n @Prop({ reflect: true }) icon: string = \"\";\n\n /** When true, it displays a default cursor on hover and no click event is emitted. */\n @Prop() clickDisabled: boolean = false;\n\n /**\n * For Adobe Analytics.\n * Will be rendered as value of `s-object-id` attribute to the button element.\n * Default value will be taken from `label` prop or default slot.\n */\n @Prop() analyticsId: string;\n\n /** Click event */\n @Event() stzhClick: EventEmitter<StzhStepperItemClickEvent>;\n\n /** Dotted click event */\n @Event() stzhDottedClick: EventEmitter<StzhStepperItemDottedClickEvent>;\n\n @Element() element: HTMLStzhStepperItemElement;\n\n private button: HTMLButtonElement;\n private text: HTMLElement;\n\n private onClick = (event: MouseEvent) => {\n this.stzhClick.emit({\n component: \"stzh-stepper-item\",\n originalEvent: event,\n index: Array.prototype.indexOf.call(this.element.parentNode.children, this.element),\n });\n };\n\n private onDottedClick = (event: MouseEvent) => {\n this.stzhDottedClick.emit({\n component: \"stzh-stepper-item\",\n originalEvent: event,\n index: Array.prototype.indexOf.call(this.element.parentNode.children, this.element),\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 classes = {\n \"stzh-stepper-item\": true,\n \"stzh-stepper-item--first\": this.first,\n \"stzh-stepper-item--last\": this.last,\n \"stzh-stepper-item--current\": this.current,\n \"stzh-stepper-item--hide\": this.hide,\n \"stzh-stepper-item--dotted\": this.dotted,\n \"stzh-stepper-item--has-icon\": !!this.icon,\n \"stzh-stepper-item--is-disabled\": this.disabled,\n \"stzh-stepper-item--passed\": this.passed,\n \"stzh-stepper-item--passed-incomplete\": this.passed && this.incomplete,\n };\n\n const dotted = (\n <span>\n {!this.clickDisabled ? (\n <button class=\"stzh-stepper-item__dotted\" onClick={this.onDottedClick}>\n <stzh-icon class=\"stzh-stepper-item__dotted-icon\" name=\"more-horizontal\"></stzh-icon>\n </button>\n ) : (\n <div class=\"stzh-stepper-item__dotted stzh-stepper-item__dotted__disabled\">\n <stzh-icon class=\"stzh-stepper-item__dotted-icon\" name=\"more-horizontal\"></stzh-icon>\n </div>\n )}\n </span>\n );\n\n const content = (\n <span>\n <span class=\"stzh-stepper-item__number-block\">\n {this.icon ? (\n <stzh-icon class=\"stzh-stepper-item__user-icon\" name={this.icon}></stzh-icon>\n ) : (\n <span>\n <span class=\"stzh-stepper-item__number\">{this.step}</span>\n {this.passed && !this.incomplete && (\n <stzh-icon class=\"stzh-stepper-item__icon\" name=\"checkmark\"></stzh-icon>\n )}\n </span>\n )}\n </span>\n <span ref={el => (this.text = el as HTMLElement)} class=\"stzh-stepper-item__label-block\">\n {this.label ? this.label : <slot></slot>}\n </span>\n </span>\n );\n\n return (\n <Host role=\"listitem\">\n <div class={classes}>\n {this.last && this.dotted && dotted}\n {this.clickDisabled ? (\n <div class=\"stzh-stepper-item__unclickable\" aria-pressed={this.current ? \"true\" : \"false\"}>\n {content}\n </div>\n ) : (\n <button\n ref={el => (this.button = el as HTMLButtonElement)}\n class=\"stzh-stepper-item__button\"\n aria-pressed={this.current ? \"true\" : \"false\"}\n disabled={(this.dotted && this.first) || this.disabled}\n onClick={this.onClick}\n >\n <span class=\"stzh-stepper-item__number-block\">\n {this.icon ? (\n <stzh-icon class=\"stzh-stepper-item__user-icon\" name={this.icon}></stzh-icon>\n ) : (\n <Fragment>\n <span class=\"stzh-stepper-item__number\">{this.step}</span>\n {this.passed && !this.incomplete && (\n <stzh-icon class=\"stzh-stepper-item__icon\" name=\"checkmark\"></stzh-icon>\n )}\n </Fragment>\n )}\n </span>\n <span ref={el => (this.text = el as HTMLElement)} class=\"stzh-stepper-item__label-block\">\n {this.label ? this.label : <slot></slot>}\n </span>\n </button>\n )}\n {this.first && this.dotted && dotted}\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
1
|
+
{"file":"p-BtBwyT5W.js","mappings":";;;AAAA,MAAM,kBAAkB,GAAG,MAAM,CAAC,81tBAA81tB,CAAC;;MCYp3tB,eAAe,iBAAAA,kBAAA,CAAA,MAAA,eAAA,SAAAC,CAAA,CAAA;AAL5B,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;;;AAU2B,QAAA,IAAQ,CAAA,QAAA,GAAY,KAAK;;AAGzB,QAAA,IAAK,CAAA,KAAA,GAAY,KAAK;;AAGtB,QAAA,IAAI,CAAA,IAAA,GAAY,KAAK;;AAGrB,QAAA,IAAM,CAAA,MAAA,GAAY,KAAK;;AAGvB,QAAA,IAAU,CAAA,UAAA,GAAY,KAAK;;AAG3B,QAAA,IAAO,CAAA,OAAA,GAAY,KAAK;;AAGxB,QAAA,IAAI,CAAA,IAAA,GAAY,KAAK;;AAGrB,QAAA,IAAM,CAAA,MAAA,GAAY,KAAK;;AAGvB,QAAA,IAAI,CAAA,IAAA,GAAW,CAAC;;AAGhB,QAAA,IAAI,CAAA,IAAA,GAAW,EAAE;;AAGlC,QAAA,IAAa,CAAA,aAAA,GAAY,KAAK;AAoB9B,QAAA,IAAA,CAAA,OAAO,GAAG,CAAC,KAAiB,KAAI;AACtC,YAAA,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC;A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C,UAAU,KAC9B,CAAA,CAAA,WAAA,EAAA,EAAW,KAAK,EAAC,yBAAyB,EAAC,IAAI,EAAC,WAAW,EAAa,CAAA,CACzE,CACQ,CACZ,CACI,EACP,CAAA,CAAA,MAAA,EAAA,EAAM,GAAG,EAAE,EAAE,KAAK,IAAI,CAAC,IAAI,GAAG,EAAiB,CAAC,EAAE,KAAK,EAAC,gCAAgC,EAAA,EACrF,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,KAAK,GAAG,CAAa,CAAA,MAAA,EAAA,IAAA,CAAA,CACnC,CACA,CACV,EACA,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,MAAM,IAAI,MAAM,CAChC,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-stepper-item/stzh-stepper-item.scss?tag=stzh-stepper-item&encapsulation=scoped","src/components/stzh-stepper-item/stzh-stepper-item.tsx"],"sourcesContent":[":host {\n}\n\n:host([hide]) {\n display: none;\n}\n\n.stzh-stepper-item {\n text-align: center;\n\n &__button,\n &__unclickable {\n appearance: none;\n font-family: inherit;\n background-color: transparent;\n border: none;\n }\n\n &__button {\n cursor: pointer;\n }\n\n &__unclickable {\n cursor: default;\n pointer-events: none;\n }\n\n &__unclickable &__number-block {\n background-color: $colorGrey20;\n color: $colorPrimary70;\n border: 1px solid $colorGrey20;\n }\n\n &__button:hover &__number-block,\n &__button:focus &__number-block {\n color: $colorPrimary70;\n border-color: $colorSecondary40;\n\n @include highContrast() {\n color: Highlight;\n border-color: Highlight;\n }\n\n &::after {\n background-color: $colorSecondary40;\n }\n }\n\n &__button:hover &__label-block,\n &__button:focus &__label-block {\n color: $colorPrimary90;\n\n @include highContrast() {\n color: Highlight;\n }\n }\n\n /* what we do here is:\n add a gray line on the last element, which strikes through all previous ones,\n add a blue line on the current step which covers all previous elements relative to itself\n and add a white line on the first element, which gives you the illusion that it stopped. */\n\n &__number-block {\n @include font(\"heavy\");\n @include fontCurve(\"p1\");\n position: relative;\n display: inline-flex;\n justify-content: center;\n align-items: center;\n width: $stepperItemSize;\n height: $stepperItemSize;\n background-color: $colorSecondary20;\n border: 1px solid $colorSecondary20;\n text-align: center;\n box-sizing: border-box;\n color: $colorPrimary70;\n transition-property: color, border-color;\n transition-duration: $baseTransitionAnimationSpeed;\n\n @include mq($from: small) {\n width: $stepperItemSmallUp;\n height: $stepperItemSmallUp;\n margin-bottom: space(\"large\");\n }\n\n // set a line on every element, but hide it by default\n &::before {\n display: none;\n content: \"\";\n position: absolute;\n top: 16px;\n right: $stepperItemSize - 1px;\n width: 100vw;\n height: 1px;\n background-color: $baseBorderColor;\n z-index: -2;\n overflow: hidden;\n\n @include mq($from: small) {\n top: 20px;\n right: $stepperItemSmallUp - 1px;\n }\n }\n }\n\n &__number-block,\n &__dotted {\n &::after {\n content: \"\";\n z-index: 0;\n position: absolute;\n display: block;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n transition: background-color $baseTransitionAnimationSpeed;\n }\n }\n\n &__label-block {\n display: block;\n font-size: 14px;\n line-height: 1.28;\n color: $colorGrey80;\n padding: space(\"xxsmall\") space(\"small\");\n letter-spacing: 0.01em;\n transition: color $baseTransitionAnimationSpeed;\n\n @include mq($to: small) {\n @include visuallyhidden;\n }\n }\n\n &__number,\n &__icon,\n &__user-icon,\n &__dotted-icon {\n z-index: 1;\n }\n\n &__icon,\n &__user-icon,\n &__dotted-icon {\n --size: #{iconSize(\"xsmall\")};\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n color: $colorPrimary;\n\n @include highContrast() {\n color: CanvasText;\n }\n }\n\n &__user-icon {\n --size: #{iconSize(\"small\")};\n color: currentColor;\n }\n\n &__dotted {\n z-index: 1;\n appearance: none;\n font-family: inherit;\n position: absolute;\n top: 3px;\n width: $stepperItemDottedSize;\n height: $stepperItemDottedSize;\n background-color: $colorGrey20;\n border: 1px solid $colorGrey20;\n cursor: pointer;\n transition-property: color, border-color;\n transition-duration: $baseTransitionAnimationSpeed;\n\n &:hover,\n &:focus {\n border-color: $colorGrey20;\n cursor: default;\n\n @include highContrast() {\n border-color: Highlight;\n }\n }\n\n &:hover::after,\n &:focus::after {\n background-color: $colorGrey20;\n\n @include highContrast() {\n background-color: Canvas;\n }\n }\n\n &__disabled {\n cursor: default;\n\n &:hover,\n &:focus {\n border-color: var(--stzh-base-border-color);\n cursor: default;\n }\n\n &:hover::after,\n &:focus::after {\n background-color: inherit;\n }\n }\n\n @include mq($from: small) {\n top: 5px;\n width: $stepperItemDottedSizeSmallUp;\n height: $stepperItemDottedSizeSmallUp;\n }\n }\n\n &__dotted:hover &__dotted-icon,\n &__dotted:focus &__dotted-icon {\n color: $colorPrimaryHover;\n\n @include highContrast() {\n color: Highlight;\n }\n }\n\n /* First and Last */\n\n &--first &__number-block,\n &--last &__number-block {\n &::before {\n display: block;\n }\n }\n\n /* First */\n\n &--first {\n position: relative;\n }\n\n &--first &__dotted {\n left: 50%;\n transform: translateX(-50%);\n }\n\n /* Last */\n\n &--last &__dotted {\n // position the dots based on the width divided by the elements minus half of itself\n right: calc((100% / var(--steps)) - (#{$stepperItemDottedSize * 0.5}));\n\n @include mq($from: small) {\n right: calc(\n (100% / var(--steps)) - (#{$stepperItemDottedSizeSmallUp * 0.5})\n );\n }\n }\n\n /* Passed */\n\n &--passed &__label-block {\n @include font(\"heavy\");\n color: $colorPrimary;\n }\n\n &--passed &__number-block {\n background-color: $colorSecondary60;\n border: solid 1px $colorSecondary60;\n\n @include highContrast() {\n background-color: Canvas;\n border-color: CanvasText;\n }\n }\n\n &--passed &__button:hover &__number-block,\n &--passed &__button:focus &__number-block {\n &::after {\n background-color: $colorSecondary70;\n }\n }\n\n &--passed &__icon,\n &--passed &__user-icon {\n color: $colorWhite;\n }\n\n &--passed &__button:hover &__user-icon,\n &--passed &__button:focus &__user-icon {\n color: $colorWhite;\n\n @include highContrast() {\n color: Highlight;\n }\n }\n\n /* Styles specific to passed items that are **not** incomplete */\n &--passed:not(&--passed-incomplete) &__number-block,\n &--passed:not(&--passed-incomplete) &__button:hover &__number-block,\n &--passed:not(&--passed-incomplete) &__button:focus &__number-block {\n color: transparent;\n\n @include highContrast() {\n color: Canvas;\n }\n }\n\n &--passed:not(&--passed-incomplete) &__button:hover &__number-block,\n &--passed:not(&--passed-incomplete) &__button:focus &__number-block {\n border-color: $colorPrimary70;\n\n @include highContrast() {\n border-color: Highlight;\n }\n }\n\n /* Styles specific to passed items that **are** incomplete */\n &--passed-incomplete &__number-block {\n color: $colorWhite;\n background-color: $colorSecondary60;\n border: 1px solid $colorSecondary60;\n\n @include highContrast() {\n color: $colorPrimary;\n }\n }\n\n &--passed-incomplete &__button:hover &__number-block,\n &--passed-incomplete &__button:focus &__number-block {\n color: $colorWhite;\n border-color: $colorSecondary70;\n &::after {\n background-color: $colorSecondary70;\n }\n\n @include highContrast() {\n color: Highlight;\n border-color: Highlight;\n }\n }\n\n /* Current */\n\n &--current &__label-block {\n @include font(\"heavy\");\n color: $colorPrimary;\n\n @include highContrast() {\n color: SelectedItem;\n }\n\n &:hover {\n text-decoration-line: none;\n }\n }\n\n &--current &__number-block {\n background-color: $colorPrimary;\n border: solid 1px $colorPrimary;\n color: $colorWhite;\n\n @include highContrast() {\n color: SelectedItem;\n border-color: SelectedItem;\n background-color: Canvas;\n }\n\n // make line blue (see desc)\n &::before {\n display: block;\n background-color: $colorPrimary;\n z-index: -1;\n\n @include highContrast() {\n background-color: CanvasText;\n }\n }\n }\n\n &--current &__button:hover &__number-block,\n &--current &__button:focus &__number-block {\n color: $colorWhite;\n border: 1px solid $colorPrimary90;\n\n @include highContrast() {\n color: Highlight;\n }\n\n &::after {\n background-color: $colorPrimaryHover;\n\n @include highContrast() {\n background-color: Canvas;\n }\n }\n }\n\n &--current &__user-icon {\n @include highContrast() {\n color: SelectedItem;\n }\n }\n\n &--current &__button:hover &__icon,\n &--current &__button:focus &__icon,\n &--current &__button:hover &__user-icon,\n &--current &__button:focus &__user-icon {\n @include highContrast() {\n color: Highlight;\n }\n }\n\n /* Dotted */\n\n &--dotted#{&}--first &__number-block {\n margin-bottom: 0;\n\n &::after {\n display: none;\n }\n }\n\n &--dotted#{&}--first &__button {\n padding-left: 0;\n padding-right: 0;\n }\n\n // hide number block behind dotted element\n &--dotted#{&}--first &__number-block {\n position: relative;\n z-index: 0;\n top: 5px;\n width: $stepperItemDottedSize;\n height: $stepperItemDottedSize;\n border: none;\n background-color: transparent;\n\n // change dimensions to be still hidden\n @include mq($from: small) {\n top: 8px;\n width: $stepperItemDottedSizeSmallUp;\n height: $stepperItemDottedSizeSmallUp;\n }\n\n // realign white line\n &::before {\n top: 12px;\n right: 26px;\n\n @include mq($from: small) {\n top: 13px;\n right: 30px;\n }\n }\n }\n\n &--dotted#{&}--first &__label-block {\n display: none;\n }\n\n // first child overwrite white line (see desc) */\n &--first &__number-block {\n &::before {\n background-color: $colorWhite;\n z-index: 1;\n\n @include highContrast() {\n background-color: Canvas;\n }\n }\n }\n\n /* Disabled */\n\n &--is-disabled &__button {\n cursor: not-allowed;\n }\n\n &--is-disabled &__number-block {\n background-color: $colorGrey60;\n color: white;\n border: 1px solid $colorGrey60;\n }\n\n &--is-disabled &__button:hover &__number-block,\n &--is-disabled &__button:focus &__number-block {\n color: $colorWhite;\n border: 1px solid $colorGrey60 !important;\n\n @include highContrast() {\n color: GrayText;\n border-color: GrayText;\n }\n\n &::after {\n display: none;\n }\n }\n\n &--is-disabled &__label-block {\n color: $colorGrey80;\n }\n\n &--is-disabled &__button:hover &__label-block,\n &--is-disabled &__button:focus &__label-block {\n color: $colorGrey80;\n\n @include highContrast() {\n color: GrayText;\n }\n }\n}\n","import { Component, Host, h, Prop, Element, Fragment, Event, EventEmitter } from \"@stencil/core\";\n\nimport { StzhStepperItemClickEvent, StzhStepperItemDottedClickEvent } from \"../../index\";\n\n/**\n * @slot - Slot for label (or use label prop)\n */\n@Component({\n tag: \"stzh-stepper-item\",\n styleUrl: \"stzh-stepper-item.scss\",\n scoped: true,\n})\nexport class StzhStepperItem {\n /** The label of the item. */\n @Prop({ reflect: true }) label: string;\n\n /** When true, it displays a not-allowed cursor on hover. Use this for steps that are not applicable. */\n @Prop({ reflect: true }) disabled: boolean = false;\n\n /** Whether it's the first item (used internally by stzh-stepper). */\n @Prop({ reflect: true }) first: boolean = false;\n\n /** Whether it's the last item (used internally by stzh-stepper). */\n @Prop({ reflect: true }) last: boolean = false;\n\n /** True when the item index is lower than the current index (used internally by stzh-stepper). */\n @Prop({ reflect: true }) passed: boolean = false;\n\n /** For passed items, this prevents displaying a checked icon when true (shows step number instead). */\n @Prop({ reflect: true }) incomplete: boolean = false;\n\n /** Whether it's the last item (used internally by stzh-stepper). */\n @Prop({ reflect: true }) current: boolean = false;\n\n /** Whether it's a hidden item (used internally by stzh-stepper). */\n @Prop({ reflect: true }) hide: boolean = false;\n\n /** Whether it's a dotted item (used internally by stzh-stepper). */\n @Prop({ reflect: true }) dotted: boolean = false;\n\n /** The number of the step (used internally by stzh-stepper). */\n @Prop({ reflect: true }) step: number = 1;\n\n /** Displays a custom icon instead of the step number. */\n @Prop({ reflect: true }) icon: string = \"\";\n\n /** When true, it displays a default cursor on hover and no click event is emitted. */\n @Prop() clickDisabled: boolean = false;\n\n /**\n * For Adobe Analytics.\n * Will be rendered as value of `s-object-id` attribute to the button element.\n * Default value will be taken from `label` prop or default slot.\n */\n @Prop() analyticsId: string;\n\n /** Click event */\n @Event() stzhClick: EventEmitter<StzhStepperItemClickEvent>;\n\n /** Dotted click event */\n @Event() stzhDottedClick: EventEmitter<StzhStepperItemDottedClickEvent>;\n\n @Element() element: HTMLStzhStepperItemElement;\n\n private button: HTMLButtonElement;\n private text: HTMLElement;\n\n private onClick = (event: MouseEvent) => {\n this.stzhClick.emit({\n component: \"stzh-stepper-item\",\n originalEvent: event,\n index: Array.prototype.indexOf.call(this.element.parentNode.children, this.element),\n });\n };\n\n private onDottedClick = (event: MouseEvent) => {\n this.stzhDottedClick.emit({\n component: \"stzh-stepper-item\",\n originalEvent: event,\n index: Array.prototype.indexOf.call(this.element.parentNode.children, this.element),\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 classes = {\n \"stzh-stepper-item\": true,\n \"stzh-stepper-item--first\": this.first,\n \"stzh-stepper-item--last\": this.last,\n \"stzh-stepper-item--current\": this.current,\n \"stzh-stepper-item--hide\": this.hide,\n \"stzh-stepper-item--dotted\": this.dotted,\n \"stzh-stepper-item--has-icon\": !!this.icon,\n \"stzh-stepper-item--is-disabled\": this.disabled,\n \"stzh-stepper-item--passed\": this.passed,\n \"stzh-stepper-item--passed-incomplete\": this.passed && this.incomplete,\n };\n\n const dotted = (\n <span>\n {!this.clickDisabled ? (\n <button class=\"stzh-stepper-item__dotted\" onClick={this.onDottedClick}>\n <stzh-icon class=\"stzh-stepper-item__dotted-icon\" name=\"more-horizontal\"></stzh-icon>\n </button>\n ) : (\n <div class=\"stzh-stepper-item__dotted stzh-stepper-item__dotted__disabled\">\n <stzh-icon class=\"stzh-stepper-item__dotted-icon\" name=\"more-horizontal\"></stzh-icon>\n </div>\n )}\n </span>\n );\n\n const content = (\n <span>\n <span class=\"stzh-stepper-item__number-block\">\n {this.icon ? (\n <stzh-icon class=\"stzh-stepper-item__user-icon\" name={this.icon}></stzh-icon>\n ) : (\n <span>\n <span class=\"stzh-stepper-item__number\">{this.step}</span>\n {this.passed && !this.incomplete && (\n <stzh-icon class=\"stzh-stepper-item__icon\" name=\"checkmark\"></stzh-icon>\n )}\n </span>\n )}\n </span>\n <span ref={el => (this.text = el as HTMLElement)} class=\"stzh-stepper-item__label-block\">\n {this.label ? this.label : <slot></slot>}\n </span>\n </span>\n );\n\n return (\n <Host role=\"listitem\">\n <div class={classes}>\n {this.last && this.dotted && dotted}\n {this.clickDisabled ? (\n <div class=\"stzh-stepper-item__unclickable\" aria-pressed={this.current ? \"true\" : \"false\"}>\n {content}\n </div>\n ) : (\n <button\n ref={el => (this.button = el as HTMLButtonElement)}\n class=\"stzh-stepper-item__button\"\n aria-pressed={this.current ? \"true\" : \"false\"}\n disabled={(this.dotted && this.first) || this.disabled}\n onClick={this.onClick}\n >\n <span class=\"stzh-stepper-item__number-block\">\n {this.icon ? (\n <stzh-icon class=\"stzh-stepper-item__user-icon\" name={this.icon}></stzh-icon>\n ) : (\n <Fragment>\n <span class=\"stzh-stepper-item__number\">{this.step}</span>\n {this.passed && !this.incomplete && (\n <stzh-icon class=\"stzh-stepper-item__icon\" name=\"checkmark\"></stzh-icon>\n )}\n </Fragment>\n )}\n </span>\n <span ref={el => (this.text = el as HTMLElement)} class=\"stzh-stepper-item__label-block\">\n {this.label ? this.label : <slot></slot>}\n </span>\n </button>\n )}\n {this.first && this.dotted && dotted}\n </div>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { p as proxyCustomElement, H, d as createEvent, h, e as Host, t as transformTag } from './p-
|
|
2
|
-
import { d as defineCustomElement$3 } from './p-
|
|
3
|
-
import { d as defineCustomElement$2 } from './p-
|
|
4
|
-
import { d as defineCustomElement$1 } from './p-
|
|
1
|
+
import { p as proxyCustomElement, H, d as createEvent, h, e as Host, t as transformTag } from './p-CF5HtLyZ.js';
|
|
2
|
+
import { d as defineCustomElement$3 } from './p-B4O0PovX.js';
|
|
3
|
+
import { d as defineCustomElement$2 } from './p-B0YyK73m.js';
|
|
4
|
+
import { d as defineCustomElement$1 } from './p-4V3geC0t.js';
|
|
5
5
|
|
|
6
6
|
const stzhAppNavCss = () => `: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}.stzh-app-nav{background-color:var(--stzh-color-coolgrey10)}@media screen and (max-width: 899px){.stzh-app-nav{height:var(--stzh-app-nav-height)}}.stzh-app-nav__links{display:flex;flex-direction:row;justify-content:space-between;padding:var(--stzh-space-medium) var(--stzh-space-large) var(--stzh-space-xlarge)}@media screen and (min-width: 900px){.stzh-app-nav__links{padding:0;align-items:center}}.stzh-app-nav__link,.stzh-app-nav .stzh-app-nav__link a{--text-decoration-line:none;--hover-text-decoration-line:none;color:var(--stzh-color-coolgrey90)}@media screen and (min-width: 900px){.stzh-app-nav__link,.stzh-app-nav .stzh-app-nav__link a{margin-right:var(--stzh-space-xlarge)}}.stzh-app-nav__link:last-child,.stzh-app-nav .stzh-app-nav__link a:last-child{margin-right:0}.stzh-app-nav__link:hover,.stzh-app-nav .stzh-app-nav__link a:hover{color:var(--stzh-color-primary60)}.stzh-app-nav .stzh-app-nav__link a.stzh-link--is-active,.stzh-app-nav .stzh-app-nav__link.stzh-link--is-active{text-decoration:none;color:var(--stzh-color-primary70)}@media screen and (min-width: 900px){.stzh-app-nav .stzh-app-nav__link a.stzh-link--is-active,.stzh-app-nav .stzh-app-nav__link.stzh-link--is-active{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:var(--stzh-font-style-heavy)}}.stzh-app-nav .stzh-link__inner{flex-direction:column}@media screen and (min-width: 900px){.stzh-app-nav .stzh-link__inner{flex-direction:row}}.stzh-app-nav .stzh-link__text{font-family:var(--stzh-font-family-medium);font-weight:var(--stzh-font-weight-medium);font-style:var(--stzh-font-style-medium);font-size:var(--stzh-font-pico-font-size);line-height:var(--stzh-font-pico-text-line-height)}@media screen and (min-width: 900px){.stzh-app-nav .stzh-link__text{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);font-weight:var(--stzh-font-weight-medium)}}.stzh-app-nav .stzh-link__icon-wrapper.sc-stzh-link:not(:empty)+.stzh-link__text.sc-stzh-link:not(:empty),.stzh-app-nav .stzh-link__text.sc-stzh-link:not(:empty)+.stzh-link__icon-wrapper.sc-stzh-link:not(:empty){margin-top:var(--stzh-space-xxsmall);margin-left:0}@media screen and (min-width: 900px){.stzh-app-nav .stzh-link__icon-wrapper.sc-stzh-link:not(:empty)+.stzh-link__text.sc-stzh-link:not(:empty),.stzh-app-nav .stzh-link__text.sc-stzh-link:not(:empty)+.stzh-link__icon-wrapper.sc-stzh-link:not(:empty){margin-left:var(--stzh-space-xsmall);margin-top:0}}`;
|
|
7
7
|
|
|
@@ -72,6 +72,6 @@ function defineCustomElement() {
|
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
export { StzhAppNav as S, defineCustomElement as d };
|
|
75
|
-
//# sourceMappingURL=p-
|
|
75
|
+
//# sourceMappingURL=p-BuKU1pSv.js.map
|
|
76
76
|
|
|
77
|
-
//# sourceMappingURL=p-
|
|
77
|
+
//# sourceMappingURL=p-BuKU1pSv.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-
|
|
1
|
+
{"file":"p-BuKU1pSv.js","mappings":";;;;;AAAA,MAAM,aAAa,GAAG,MAAM,CAAC,q4GAAq4G,CAAC;;MCUt5G,UAAU,iBAAAA,kBAAA,CAAA,MAAA,UAAA,SAAAC,CAAA,CAAA;AAJvB,IAAA,WAAA,CAAA,YAAA,EAAA;;;;;;;AASU,QAAA,IAAK,CAAA,KAAA,GAAqB,EAAE;QAgB5B,IAAA,CAAA,qBAAqB,GAAG,CAAC,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,IAAI,EACN,SAAA,EAAA,IAAI,CAAC,EAAE,EAChB,OAAO,EAAE,CAAC,CAAa,KAAI;AACzB,gBAAA,IAAI,CAAC,qBAAqB,CAAC,CAAC,EAAE,IAAI,CAAC;AACrC,aAAC,EAAA,EAEA,IAAI,CAAC,IAAI,CACA,CACb,CAAC,CACE,CACF,CACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/stzh-app-nav/stzh-app-nav.scss?tag=stzh-app-nav","src/components/stzh-app-nav/stzh-app-nav.tsx"],"sourcesContent":[".stzh-app-nav {\n background-color: var(--stzh-color-coolgrey10);\n\n @include mq($to: medium) {\n height: var(--stzh-app-nav-height);\n }\n\n &__links {\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n padding: space(\"medium\") space(\"large\") space(\"xlarge\");\n\n @include mq($from: medium) {\n padding: 0;\n align-items: center;\n }\n }\n\n &__link,\n .stzh-app-nav__link a {\n --text-decoration-line: none;\n --hover-text-decoration-line: none;\n color: var(--stzh-color-coolgrey90);\n\n @include mq($from: medium) {\n margin-right: space(\"xlarge\");\n }\n\n &:last-child {\n margin-right: 0;\n }\n\n &:hover {\n color: var(--stzh-color-primary60);\n }\n }\n\n .stzh-app-nav__link a.stzh-link--is-active,\n .stzh-app-nav__link.stzh-link--is-active {\n text-decoration: none;\n color: var(--stzh-color-primary70);\n\n @include mq($from: medium) {\n @include font(\"heavy\");\n }\n }\n\n .stzh-link__inner {\n flex-direction: column;\n\n @include mq($from: medium) {\n flex-direction: row;\n }\n }\n\n .stzh-link__text {\n @include font(\"medium\");\n @include fontSize(\"pico\");\n\n @include mq($from: medium) {\n @include fontSize(\"milli\");\n font-weight: var(--stzh-font-weight-medium);\n }\n }\n\n .stzh-link__icon-wrapper.sc-stzh-link:not(:empty)\n + .stzh-link__text.sc-stzh-link:not(:empty),\n .stzh-link__text.sc-stzh-link:not(:empty)\n + .stzh-link__icon-wrapper.sc-stzh-link:not(:empty) {\n margin-top: space(\"xxsmall\");\n margin-left: 0;\n\n @include mq($from: medium) {\n margin-left: space(\"xsmall\");\n margin-top: 0;\n }\n }\n}\n","import { Component, Prop, h, Host, Element, Event, EventEmitter } from \"@stencil/core\";\n\nimport { StzhAppNavLocalizedText } from \"./stzh-app-nav.localization\";\n\nimport { StzhAppNavItem, StzhAppNavItemClickEvent } from \"../../index\";\n\n@Component({\n tag: \"stzh-app-nav\",\n styleUrl: \"stzh-app-nav.scss\",\n})\nexport class StzhAppNav {\n /** Translation strings */\n @Prop() localization: StzhAppNavLocalizedText;\n\n /** AppNav menu items */\n @Prop() items: StzhAppNavItem[] = [];\n\n /** AppNav element ID */\n @Prop() appNavId: string;\n\n @Element() element: HTMLStzhAppNavElement;\n\n /** AppNav item click event */\n @Event() stzhAppNavItemClick: EventEmitter<StzhAppNavItemClickEvent>;\n\n async componentWillLoad() {\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"appnav\");\n }\n }\n\n private handleAppNavItemClick = (event: MouseEvent, item: StzhAppNavItem) => {\n this.stzhAppNavItemClick.emit({\n component: \"stzh-app-nav\",\n item,\n originalEvent: event,\n });\n };\n\n render() {\n const classes = {\n \"stzh-app-nav\": true,\n };\n\n return (\n <Host>\n <nav\n role=\"navigation\"\n class={classes}\n aria-label={this.localization.title}\n id={this.appNavId || null}\n tabindex=\"-1\"\n >\n <div class=\"stzh-app-nav__links\" role=\"list\">\n {this.items.map(item => (\n <stzh-link\n class=\"stzh-app-nav__link\"\n active={item.active}\n role=\"listitem\"\n a11y-current={item.a11yCurrent}\n href={item.href}\n badge={item.badge}\n badgeType={item.badgeType}\n icon={item.icon}\n link-id={item.id}\n onClick={(e: MouseEvent) => {\n this.handleAppNavItemClick(e, item);\n }}\n >\n {item.text}\n </stzh-link>\n ))}\n </div>\n </nav>\n </Host>\n );\n }\n}\n"],"version":3}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { h } from './p-
|
|
1
|
+
import { h } from './p-CF5HtLyZ.js';
|
|
2
2
|
|
|
3
3
|
const StzhInputDescription = ({ id, classPrefix, error, description, descriptionLong, descriptionLongTitle, descriptionLongUsed, moreInfoButtonLabel, }) => {
|
|
4
4
|
return (h("div", { class: `${classPrefix}__description-wrapper`, id: id }, h("div", { class: `${classPrefix}__error` }, error.length > 0 ? (h("ul", { class: `${classPrefix}__error-list` }, error.map(error => (h("li", { class: `${classPrefix}__error-listitem` }, error))))) : (h("slot", { name: "error" }))), h("div", { class: `${classPrefix}__description` }, descriptionLongUsed && (h("div", { class: `${classPrefix}__description-long` }, h("stzh-popover", { class: `${classPrefix}__description-long-popover`, variant: "tooltip" }, h("button", { class: `${classPrefix}__description-long-button`, "aria-label": moreInfoButtonLabel, type: "button", "s-object-id": moreInfoButtonLabel }, h("stzh-icon", { class: `${classPrefix}__description-long-icon`, name: "info-help" })), h("div", { slot: "label" }, descriptionLongTitle || description ? (descriptionLongTitle || description) : (h("slot", { name: "description-long-title" }))), h("stzh-text", { curve: "none", slot: "content" }, descriptionLong ? descriptionLong : h("slot", { name: "description-long" }))))), h("div", { class: `${classPrefix}__description-text` }, description ? description : h("slot", { name: "description" })))));
|
|
5
5
|
};
|
|
6
6
|
|
|
7
7
|
export { StzhInputDescription as S };
|
|
8
|
-
//# sourceMappingURL=p-
|
|
8
|
+
//# sourceMappingURL=p-BuVbFMau.js.map
|
|
9
9
|
|
|
10
|
-
//# sourceMappingURL=p-
|
|
10
|
+
//# sourceMappingURL=p-BuVbFMau.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"p-
|
|
1
|
+
{"file":"p-BuVbFMau.js","mappings":";;MAaa,oBAAoB,GAAmD,CAAC,EACnF,EAAE,EACF,WAAW,EACX,KAAK,EACL,WAAW,EACX,eAAe,EACf,oBAAoB,EACpB,mBAAmB,EACnB,mBAAmB,GACpB,KAAI;AACH,IAAA,QACE,CAAK,CAAA,KAAA,EAAA,EAAA,KAAK,EA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AEnC,CAAM,CAAA,MAAA,EAAA,EAAA,IAAI,EAAC,wBAAwB,EAAQ,CAAA,CAC5C,CACG,EACN,CAAW,CAAA,WAAA,EAAA,EAAA,KAAK,EAAC,MAAM,EAAC,IAAI,EAAC,SAAS,EAAA,EACnC,eAAe,GAAG,eAAe,GAAG,CAAA,CAAA,MAAA,EAAA,EAAM,IAAI,EAAC,kBAAkB,EAAQ,CAAA,CAChE,CACC,CACX,CACP,EAED,CAAK,CAAA,KAAA,EAAA,EAAA,KAAK,EAAE,CAAA,EAAG,WAAW,CAAA,kBAAA,CAAoB,EAC3C,EAAA,WAAW,GAAG,WAAW,GAAG,CAAM,CAAA,MAAA,EAAA,EAAA,IAAI,EAAC,aAAa,GAAQ,CACzD,CACF,CACF;AAEV;;;;","names":[],"sources":["src/components/stzh-input/stzh-input-description.tsx"],"sourcesContent":["import { h, FunctionalComponent } from \"@stencil/core\";\n\nexport type StzhInputDescriptionProps = {\n id: string;\n classPrefix: string;\n error?: string[];\n description?: string;\n descriptionLong?: string;\n descriptionLongTitle?: string;\n descriptionLongUsed?: boolean;\n moreInfoButtonLabel?: string;\n};\n\nexport const StzhInputDescription: FunctionalComponent<StzhInputDescriptionProps> = ({\n id,\n classPrefix,\n error,\n description,\n descriptionLong,\n descriptionLongTitle,\n descriptionLongUsed,\n moreInfoButtonLabel,\n}) => {\n return (\n <div class={`${classPrefix}__description-wrapper`} id={id}>\n <div class={`${classPrefix}__error`}>\n {error.length > 0 ? (\n <ul class={`${classPrefix}__error-list`}>\n {error.map(error => (\n <li class={`${classPrefix}__error-listitem`}>{error}</li>\n ))}\n </ul>\n ) : (\n <slot name=\"error\"></slot>\n )}\n </div>\n <div class={`${classPrefix}__description`}>\n {descriptionLongUsed && (\n <div class={`${classPrefix}__description-long`}>\n <stzh-popover class={`${classPrefix}__description-long-popover`} variant=\"tooltip\">\n <button\n class={`${classPrefix}__description-long-button`}\n aria-label={moreInfoButtonLabel}\n type=\"button\"\n s-object-id={moreInfoButtonLabel}\n >\n <stzh-icon class={`${classPrefix}__description-long-icon`} name=\"info-help\"></stzh-icon>\n </button>\n <div slot=\"label\">\n {descriptionLongTitle || description ? (\n descriptionLongTitle || description\n ) : (\n <slot name=\"description-long-title\"></slot>\n )}\n </div>\n <stzh-text curve=\"none\" slot=\"content\">\n {descriptionLong ? descriptionLong : <slot name=\"description-long\"></slot>}\n </stzh-text>\n </stzh-popover>\n </div>\n )}\n\n <div class={`${classPrefix}__description-text`}>\n {description ? description : <slot name=\"description\"></slot>}\n </div>\n </div>\n </div>\n );\n};\n"],"version":3}
|
|
@@ -1,11 +1,11 @@
|
|
|
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-CF5HtLyZ.js';
|
|
2
2
|
import { c as computePosition, a as autoUpdate, A as Arrow, o as offset, f as flip, s as shift, b as arrow } from './p-DzjuI2eY.js';
|
|
3
3
|
import { c as createFocusTrap } from './p-CBUfcdIy.js';
|
|
4
4
|
import { i as isStzhElement } from './p-CN5apKPb.js';
|
|
5
5
|
import { m as media, a as addMediaChangeListener, r as removeMediaChangeListener } from './p-CUGRmgip.js';
|
|
6
6
|
import { w as waitForEvent } from './p--SdF31O7.js';
|
|
7
7
|
import { s as stopAnimations, a as animateTo } from './p-BOO84wnP.js';
|
|
8
|
-
import { d as defineCustomElement$1 } from './p-
|
|
8
|
+
import { d as defineCustomElement$1 } from './p-B0YyK73m.js';
|
|
9
9
|
|
|
10
10
|
const stzhPopoverCss = () => `.sc-stzh-popover-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-popover-h,[stzh-hidden].sc-stzh-popover-h{display:none}.sc-stzh-popover-h::selection{color:var(--stzh-selection-color);background-color:var(--stzh-selection-background-color)}.sc-stzh-popover-h *.sc-stzh-popover,.sc-stzh-popover-h *.sc-stzh-popover::before,.sc-stzh-popover-h *.sc-stzh-popover::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-popover-h .has-focus.sc-stzh-popover{outline:var(--stzh-flyingfocus-color) solid 0.125rem;outline-offset:0.125rem}.sc-stzh-popover-h .stzh-fylingfocus-focused.sc-stzh-popover{outline-style:none !important}.sc-stzh-popover-h .stzh-fylingfocus-focused.sc-stzh-popover::-moz-focus-inner{border:0 !important}.sc-stzh-popover-h{display:contents;--color:var(--stzh-color-black);--width:var(--stzh-popover-width);--min-width:var(--stzh-popover-min-width);--max-width:var(--stzh-popover-max-width);--height:auto;--min-height:initial;--max-height:initial;--padding:var(--stzh-popover-padding);--content-padding:var(--stzh-popover-content-padding);--border-radius:var(--stzh-popover-border-radius);--background-color:var(
|
|
11
11
|
--stzh-popover-background,
|
|
@@ -522,6 +522,6 @@ function defineCustomElement() {
|
|
|
522
522
|
}
|
|
523
523
|
|
|
524
524
|
export { StzhPopover as S, defineCustomElement as d };
|
|
525
|
-
//# sourceMappingURL=p-
|
|
525
|
+
//# sourceMappingURL=p-BukxCYGO.js.map
|
|
526
526
|
|
|
527
|
-
//# sourceMappingURL=p-
|
|
527
|
+
//# sourceMappingURL=p-BukxCYGO.js.map
|