@oiz/stzh-components 2.11.0-beta1 → 2.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{app-globals-5b6fc14f.js → app-globals-909813e1.js} +2 -2
- package/dist/cjs/{app-globals-5b6fc14f.js.map → app-globals-909813e1.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-actions.cjs.entry.js +1 -1
- package/dist/cjs/stzh-actionset_4.cjs.entry.js +3 -3
- package/dist/cjs/stzh-actionset_4.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-appnav.cjs.entry.js +1 -1
- package/dist/cjs/stzh-audio.cjs.entry.js +1 -1
- package/dist/cjs/stzh-badge_3.cjs.entry.js +3 -3
- package/dist/cjs/stzh-badge_3.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-carousel.cjs.entry.js +4 -3
- package/dist/cjs/stzh-carousel.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-cell.cjs.entry.js +4 -4
- package/dist/cjs/stzh-cell.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/stzh-checkboxgroup.cjs.entry.js +1 -1
- package/dist/cjs/stzh-chip_2.cjs.entry.js +8 -1
- package/dist/cjs/stzh-chip_2.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-components.cjs.js +2 -2
- package/dist/cjs/stzh-contact.cjs.entry.js +7 -4
- package/dist/cjs/stzh-contact.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-cspace.cjs.entry.js +1 -1
- package/dist/cjs/stzh-cspace.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-datepicker_3.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-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/{stzh-ratio.cjs.entry.js → stzh-figure_2.cjs.entry.js} +33 -1
- package/dist/cjs/stzh-figure_2.cjs.entry.js.map +1 -0
- package/dist/cjs/stzh-footer.cjs.entry.js +22 -6
- package/dist/cjs/stzh-footer.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-gallery.cjs.entry.js +9733 -0
- package/dist/cjs/stzh-gallery.cjs.entry.js.map +1 -0
- package/dist/cjs/stzh-ghettobox.cjs.entry.js +1 -1
- package/dist/cjs/stzh-header.cjs.entry.js +3 -6
- package/dist/cjs/stzh-header.cjs.entry.js.map +1 -1
- package/dist/cjs/{stzh-hspace.cjs.entry.js → stzh-hspace_2.cjs.entry.js} +41 -6
- package/dist/cjs/stzh-hspace_2.cjs.entry.js.map +1 -0
- package/dist/cjs/stzh-imagecomparison.cjs.entry.js +0 -2
- package/dist/cjs/stzh-imagecomparison.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-input.cjs.entry.js +1 -1
- package/dist/cjs/stzh-link.cjs.entry.js +1 -1
- package/dist/cjs/stzh-logo.cjs.entry.js +671 -0
- package/dist/cjs/stzh-logo.cjs.entry.js.map +1 -0
- package/dist/cjs/stzh-menu_2.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pagebottom.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pagetitle-hero.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pagetitle.cjs.entry.js +1 -1
- package/dist/cjs/stzh-panorama.cjs.entry.js +3 -2
- package/dist/cjs/stzh-panorama.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-popover.cjs.entry.js +1 -1
- package/dist/cjs/stzh-print.cjs.entry.js +1 -1
- package/dist/cjs/stzh-progressbar-item.cjs.entry.js +2 -1
- package/dist/cjs/stzh-progressbar-item.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-readspeaker.cjs.entry.js +1 -1
- package/dist/cjs/stzh-row.cjs.entry.js +4 -4
- package/dist/cjs/stzh-row.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-scrollup.cjs.entry.js +1 -1
- package/dist/cjs/stzh-share.cjs.entry.js +1 -1
- package/dist/cjs/stzh-space.cjs.entry.js +5 -5
- package/dist/cjs/stzh-space.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-sticky.cjs.entry.js +166 -15
- package/dist/cjs/stzh-sticky.cjs.entry.js.map +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-text.cjs.entry.js.map +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-toast.cjs.entry.js +1 -1
- package/dist/cjs/stzh-toggle.cjs.entry.js +1 -1
- package/dist/cjs/stzh-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/stzh-upload.cjs.entry.js +1 -1
- package/dist/cjs/stzh-vspace.cjs.entry.js +5 -5
- package/dist/cjs/stzh-vspace.cjs.entry.js.map +1 -1
- package/dist/cjs/{utils-77bc0ea1.js → utils-01c0bbdd.js} +25 -1
- package/dist/cjs/utils-01c0bbdd.js.map +1 -0
- package/dist/collection/assets/i18n/de.json +19 -10
- package/dist/collection/assets/i18n/en.json +19 -10
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/stzh-button/stzh-button.css +4 -0
- package/dist/collection/components/stzh-button/stzh-button.js +3 -3
- package/dist/collection/components/stzh-button/stzh-button.js.map +1 -1
- package/dist/collection/components/stzh-card/stzh-card.css +1 -0
- package/dist/collection/components/stzh-card-list/stzh-card-list.css +27 -38
- package/dist/collection/components/stzh-carousel/stzh-carousel.css +3 -0
- package/dist/collection/components/stzh-carousel/stzh-carousel.js +2 -1
- package/dist/collection/components/stzh-carousel/stzh-carousel.js.map +1 -1
- package/dist/collection/components/stzh-cell/stzh-cell.js +9 -13
- package/dist/collection/components/stzh-cell/stzh-cell.js.map +1 -1
- package/dist/collection/components/stzh-clamp/stzh-clamp.js +9 -2
- package/dist/collection/components/stzh-clamp/stzh-clamp.js.map +1 -1
- package/dist/collection/components/stzh-contact/stzh-contact.js +25 -3
- package/dist/collection/components/stzh-contact/stzh-contact.js.map +1 -1
- package/dist/collection/components/stzh-cspace/stzh-cspace.css +5 -0
- package/dist/collection/components/stzh-fieldset/stzh-fieldset.js +1 -1
- package/dist/collection/components/stzh-figure/stzh-figure.css +5 -0
- package/dist/collection/components/stzh-footer/stzh-footer.css +1 -7
- package/dist/collection/components/stzh-footer/stzh-footer.js +21 -5
- package/dist/collection/components/stzh-footer/stzh-footer.js.map +1 -1
- package/dist/collection/components/stzh-footer/stzh-footer.stories.js +2 -2
- package/dist/collection/components/stzh-gallery/assets/angle-left.svg +3 -0
- package/dist/collection/components/stzh-gallery/assets/angle-right.svg +3 -0
- package/dist/collection/components/stzh-gallery/assets/close.svg +3 -0
- package/dist/collection/components/stzh-gallery/stzh-gallery.css +839 -0
- package/dist/collection/components/stzh-gallery/stzh-gallery.e2e.js +22 -0
- package/dist/collection/components/stzh-gallery/stzh-gallery.e2e.js.map +1 -0
- package/dist/collection/components/stzh-gallery/stzh-gallery.js +410 -0
- package/dist/collection/components/stzh-gallery/stzh-gallery.js.map +1 -0
- package/dist/collection/components/stzh-gallery/stzh-gallery.localization.js +2 -0
- package/dist/collection/components/stzh-gallery/stzh-gallery.localization.js.map +1 -0
- package/dist/collection/components/stzh-gallery/stzh-gallery.stories.js +163 -0
- package/dist/collection/components/stzh-header/stzh-header.css +19 -1
- package/dist/collection/components/stzh-header/stzh-header.js +1 -4
- package/dist/collection/components/stzh-header/stzh-header.js.map +1 -1
- package/dist/collection/components/stzh-header/stzh-header.stories.js +5 -3
- package/dist/collection/components/stzh-heading/stzh-heading.js +1 -1
- package/dist/collection/components/stzh-hspace/stzh-hspace.js +13 -18
- package/dist/collection/components/stzh-hspace/stzh-hspace.js.map +1 -1
- package/dist/collection/components/stzh-imagecomparison/stzh-imagecomparison.js +0 -38
- package/dist/collection/components/stzh-imagecomparison/stzh-imagecomparison.js.map +1 -1
- package/dist/collection/components/stzh-logo/assets/aoz.svg +15 -0
- package/dist/collection/components/stzh-logo/assets/pkzh.svg +207 -0
- package/dist/collection/components/stzh-logo/assets/stzh-default.svg +166 -0
- package/dist/collection/components/stzh-logo/assets/uvz.svg +85 -0
- package/dist/collection/components/stzh-logo/assets/vbz.svg +147 -0
- package/dist/collection/components/stzh-logo/stzh-logo.css +134 -0
- package/dist/collection/components/stzh-logo/stzh-logo.e2e.js +19 -0
- package/dist/collection/components/stzh-logo/stzh-logo.e2e.js.map +1 -0
- package/dist/collection/components/stzh-logo/stzh-logo.js +72 -0
- package/dist/collection/components/stzh-logo/stzh-logo.js.map +1 -0
- package/dist/collection/components/stzh-logo/stzh-logo.stories.js +51 -0
- package/dist/collection/components/stzh-panorama/stzh-panorama.js +21 -2
- package/dist/collection/components/stzh-panorama/stzh-panorama.js.map +1 -1
- package/dist/collection/components/stzh-progressbar-item/stzh-progressbar-item.js +3 -2
- package/dist/collection/components/stzh-progressbar-item/stzh-progressbar-item.js.map +1 -1
- package/dist/collection/components/stzh-row/stzh-row.js +9 -13
- package/dist/collection/components/stzh-row/stzh-row.js.map +1 -1
- package/dist/collection/components/stzh-show/stzh-show.js +5 -5
- package/dist/collection/components/stzh-show/stzh-show.js.map +1 -1
- package/dist/collection/components/stzh-space/stzh-space.js +13 -18
- package/dist/collection/components/stzh-space/stzh-space.js.map +1 -1
- package/dist/collection/components/stzh-sticky/stzh-sticky.css +28 -17
- package/dist/collection/components/stzh-sticky/stzh-sticky.e2e.js +1 -0
- package/dist/collection/components/stzh-sticky/stzh-sticky.e2e.js.map +1 -1
- package/dist/collection/components/stzh-sticky/stzh-sticky.js +186 -14
- package/dist/collection/components/stzh-sticky/stzh-sticky.js.map +1 -1
- package/dist/collection/components/stzh-sticky/stzh-sticky.stories.js +88 -44
- package/dist/collection/components/stzh-text/stzh-text.css +19 -0
- package/dist/collection/components/stzh-text/stzh-text.js +1 -1
- package/dist/collection/components/stzh-vspace/stzh-vspace.js +13 -18
- package/dist/collection/components/stzh-vspace/stzh-vspace.js.map +1 -1
- package/dist/collection/index.js.map +1 -1
- package/dist/collection/patterns/media/media.e2e.js +3 -1
- package/dist/collection/patterns/media/media.e2e.js.map +1 -1
- package/dist/collection/patterns/subpages/subpages.e2e.js +1 -0
- package/dist/collection/patterns/subpages/subpages.e2e.js.map +1 -1
- package/dist/collection/utils/utils.js +22 -0
- package/dist/collection/utils/utils.js.map +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js.map +1 -1
- package/dist/components/stzh-button2.js +2 -2
- package/dist/components/stzh-button2.js.map +1 -1
- package/dist/components/stzh-card-list2.js +1 -1
- package/dist/components/stzh-card-list2.js.map +1 -1
- package/dist/components/stzh-card2.js +1 -1
- package/dist/components/stzh-card2.js.map +1 -1
- package/dist/components/stzh-carousel2.js +3 -2
- package/dist/components/stzh-carousel2.js.map +1 -1
- package/dist/components/stzh-cell.js +9 -9
- package/dist/components/stzh-cell.js.map +1 -1
- package/dist/components/stzh-clamp2.js +8 -1
- package/dist/components/stzh-clamp2.js.map +1 -1
- package/dist/components/stzh-contact.js +7 -3
- package/dist/components/stzh-contact.js.map +1 -1
- package/dist/components/stzh-cspace.js +1 -1
- package/dist/components/stzh-cspace.js.map +1 -1
- package/dist/components/stzh-figure2.js +1 -1
- package/dist/components/stzh-figure2.js.map +1 -1
- package/dist/components/stzh-footer.js +21 -5
- package/dist/components/stzh-footer.js.map +1 -1
- package/dist/components/stzh-gallery.d.ts +11 -0
- package/dist/components/stzh-gallery.js +9808 -0
- package/dist/components/stzh-gallery.js.map +1 -0
- package/dist/components/stzh-header.js +2 -5
- package/dist/components/stzh-header.js.map +1 -1
- package/dist/components/stzh-hspace.js +1 -57
- package/dist/components/stzh-hspace.js.map +1 -1
- package/dist/{esm/stzh-hspace.entry.js → components/stzh-hspace2.js} +41 -13
- package/dist/components/stzh-hspace2.js.map +1 -0
- package/dist/components/stzh-imagecomparison.js +0 -4
- package/dist/components/stzh-imagecomparison.js.map +1 -1
- package/dist/components/stzh-logo.d.ts +11 -0
- package/dist/components/stzh-logo.js +687 -0
- package/dist/components/stzh-logo.js.map +1 -0
- package/dist/components/stzh-panorama.js +4 -2
- package/dist/components/stzh-panorama.js.map +1 -1
- package/dist/components/stzh-progressbar-item2.js +2 -1
- package/dist/components/stzh-progressbar-item2.js.map +1 -1
- package/dist/components/stzh-row.js +9 -9
- package/dist/components/stzh-row.js.map +1 -1
- package/dist/components/stzh-show.js +1 -59
- package/dist/components/stzh-show.js.map +1 -1
- package/dist/{esm/stzh-show.entry.js → components/stzh-show2.js} +34 -10
- package/dist/components/stzh-show2.js.map +1 -0
- package/dist/components/stzh-space.js +13 -13
- package/dist/components/stzh-space.js.map +1 -1
- package/dist/components/stzh-sticky.js +171 -17
- package/dist/components/stzh-sticky.js.map +1 -1
- package/dist/components/stzh-text2.js +1 -1
- package/dist/components/stzh-text2.js.map +1 -1
- package/dist/components/stzh-vbz-majorticker.js +1 -1
- package/dist/components/stzh-vspace.js +13 -13
- package/dist/components/stzh-vspace.js.map +1 -1
- package/dist/components/utils.js +23 -1
- package/dist/components/utils.js.map +1 -1
- package/dist/esm/{app-globals-2df573fd.js → app-globals-8bdc0f78.js} +2 -2
- package/dist/esm/{app-globals-2df573fd.js.map → app-globals-8bdc0f78.js.map} +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/stzh-actions.entry.js +1 -1
- package/dist/esm/stzh-actionset_4.entry.js +3 -3
- package/dist/esm/stzh-actionset_4.entry.js.map +1 -1
- package/dist/esm/stzh-appnav.entry.js +1 -1
- package/dist/esm/stzh-audio.entry.js +1 -1
- package/dist/esm/stzh-badge_3.entry.js +3 -3
- package/dist/esm/stzh-badge_3.entry.js.map +1 -1
- package/dist/esm/stzh-carousel.entry.js +4 -3
- package/dist/esm/stzh-carousel.entry.js.map +1 -1
- package/dist/esm/stzh-cell.entry.js +4 -4
- package/dist/esm/stzh-cell.entry.js.map +1 -1
- package/dist/esm/stzh-checkbox.entry.js +1 -1
- package/dist/esm/stzh-checkboxgroup.entry.js +1 -1
- package/dist/esm/stzh-chip_2.entry.js +8 -1
- package/dist/esm/stzh-chip_2.entry.js.map +1 -1
- package/dist/esm/stzh-components.js +2 -2
- package/dist/esm/stzh-contact.entry.js +7 -4
- package/dist/esm/stzh-contact.entry.js.map +1 -1
- package/dist/esm/stzh-cspace.entry.js +1 -1
- package/dist/esm/stzh-cspace.entry.js.map +1 -1
- package/dist/esm/stzh-datepicker_3.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-dropdown.entry.js +1 -1
- package/dist/esm/{stzh-ratio.entry.js → stzh-figure_2.entry.js} +33 -2
- package/dist/esm/stzh-figure_2.entry.js.map +1 -0
- package/dist/esm/stzh-footer.entry.js +22 -6
- package/dist/esm/stzh-footer.entry.js.map +1 -1
- package/dist/esm/stzh-gallery.entry.js +9729 -0
- package/dist/esm/stzh-gallery.entry.js.map +1 -0
- package/dist/esm/stzh-ghettobox.entry.js +1 -1
- package/dist/esm/stzh-header.entry.js +3 -6
- package/dist/esm/stzh-header.entry.js.map +1 -1
- package/dist/esm/stzh-hspace_2.entry.js +67 -0
- package/dist/esm/stzh-hspace_2.entry.js.map +1 -0
- package/dist/esm/stzh-imagecomparison.entry.js +0 -2
- package/dist/esm/stzh-imagecomparison.entry.js.map +1 -1
- package/dist/esm/stzh-input.entry.js +1 -1
- package/dist/esm/stzh-link.entry.js +1 -1
- package/dist/esm/stzh-logo.entry.js +667 -0
- package/dist/esm/stzh-logo.entry.js.map +1 -0
- package/dist/esm/stzh-menu_2.entry.js +1 -1
- package/dist/esm/stzh-pagebottom.entry.js +1 -1
- package/dist/esm/stzh-pagetitle-hero.entry.js +1 -1
- package/dist/esm/stzh-pagetitle.entry.js +1 -1
- package/dist/esm/stzh-panorama.entry.js +3 -2
- package/dist/esm/stzh-panorama.entry.js.map +1 -1
- package/dist/esm/stzh-popover.entry.js +1 -1
- package/dist/esm/stzh-print.entry.js +1 -1
- package/dist/esm/stzh-progressbar-item.entry.js +2 -1
- package/dist/esm/stzh-progressbar-item.entry.js.map +1 -1
- package/dist/esm/stzh-readspeaker.entry.js +1 -1
- package/dist/esm/stzh-row.entry.js +4 -4
- package/dist/esm/stzh-row.entry.js.map +1 -1
- package/dist/esm/stzh-scrollup.entry.js +1 -1
- package/dist/esm/stzh-share.entry.js +1 -1
- package/dist/esm/stzh-space.entry.js +5 -5
- package/dist/esm/stzh-space.entry.js.map +1 -1
- package/dist/esm/stzh-sticky.entry.js +166 -15
- package/dist/esm/stzh-sticky.entry.js.map +1 -1
- package/dist/esm/stzh-table.entry.js +1 -1
- package/dist/esm/stzh-text.entry.js +1 -1
- package/dist/esm/stzh-text.entry.js.map +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-toast.entry.js +1 -1
- package/dist/esm/stzh-toggle.entry.js +1 -1
- package/dist/esm/stzh-tooltip.entry.js +1 -1
- package/dist/esm/stzh-upload.entry.js +1 -1
- package/dist/esm/stzh-vspace.entry.js +5 -5
- package/dist/esm/stzh-vspace.entry.js.map +1 -1
- package/dist/esm/{utils-107fad0f.js → utils-8bb4c3c6.js} +24 -2
- package/dist/esm/utils-8bb4c3c6.js.map +1 -0
- package/dist/esm-es5/{app-globals-2df573fd.js → app-globals-8bdc0f78.js} +2 -2
- package/dist/esm-es5/{app-globals-2df573fd.js.map → app-globals-8bdc0f78.js.map} +1 -1
- package/dist/esm-es5/index.js.map +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/loader.js.map +1 -1
- package/dist/esm-es5/stzh-actions.entry.js +1 -1
- package/dist/esm-es5/stzh-actionset_4.entry.js +2 -2
- package/dist/esm-es5/stzh-actionset_4.entry.js.map +1 -1
- package/dist/esm-es5/stzh-appnav.entry.js +1 -1
- package/dist/esm-es5/stzh-audio.entry.js +1 -1
- package/dist/esm-es5/stzh-badge_3.entry.js +1 -1
- package/dist/esm-es5/stzh-badge_3.entry.js.map +1 -1
- package/dist/esm-es5/stzh-carousel.entry.js +1 -1
- package/dist/esm-es5/stzh-carousel.entry.js.map +1 -1
- package/dist/esm-es5/stzh-cell.entry.js +1 -1
- package/dist/esm-es5/stzh-cell.entry.js.map +1 -1
- package/dist/esm-es5/stzh-checkbox.entry.js +1 -1
- package/dist/esm-es5/stzh-checkboxgroup.entry.js +1 -1
- package/dist/esm-es5/stzh-chip_2.entry.js +1 -1
- package/dist/esm-es5/stzh-chip_2.entry.js.map +1 -1
- package/dist/esm-es5/stzh-components.js +1 -1
- package/dist/esm-es5/stzh-components.js.map +1 -1
- package/dist/esm-es5/stzh-contact.entry.js +1 -1
- package/dist/esm-es5/stzh-contact.entry.js.map +1 -1
- package/dist/esm-es5/stzh-cspace.entry.js +1 -1
- package/dist/esm-es5/stzh-cspace.entry.js.map +1 -1
- package/dist/esm-es5/stzh-datepicker_3.entry.js +1 -1
- package/dist/esm-es5/stzh-details.entry.js +1 -1
- package/dist/esm-es5/stzh-dialog.entry.js +1 -1
- package/dist/esm-es5/stzh-dropdown.entry.js +1 -1
- package/dist/esm-es5/stzh-figure_2.entry.js +2 -0
- package/dist/esm-es5/stzh-figure_2.entry.js.map +1 -0
- package/dist/esm-es5/stzh-footer.entry.js +1 -1
- package/dist/esm-es5/stzh-footer.entry.js.map +1 -1
- package/dist/esm-es5/stzh-gallery.entry.js +10 -0
- package/dist/esm-es5/stzh-gallery.entry.js.map +1 -0
- package/dist/esm-es5/stzh-ghettobox.entry.js +1 -1
- package/dist/esm-es5/stzh-header.entry.js +1 -1
- package/dist/esm-es5/stzh-header.entry.js.map +1 -1
- package/dist/esm-es5/stzh-hspace_2.entry.js +2 -0
- package/dist/esm-es5/stzh-hspace_2.entry.js.map +1 -0
- package/dist/esm-es5/stzh-imagecomparison.entry.js +1 -1
- package/dist/esm-es5/stzh-imagecomparison.entry.js.map +1 -1
- package/dist/esm-es5/stzh-input.entry.js +1 -1
- package/dist/esm-es5/stzh-link.entry.js +1 -1
- package/dist/esm-es5/stzh-logo.entry.js +2 -0
- package/dist/esm-es5/stzh-logo.entry.js.map +1 -0
- package/dist/esm-es5/stzh-menu_2.entry.js +1 -1
- package/dist/esm-es5/stzh-pagebottom.entry.js +1 -1
- package/dist/esm-es5/stzh-pagetitle-hero.entry.js +1 -1
- package/dist/esm-es5/stzh-pagetitle.entry.js +1 -1
- package/dist/esm-es5/stzh-panorama.entry.js +1 -1
- package/dist/esm-es5/stzh-panorama.entry.js.map +1 -1
- package/dist/esm-es5/stzh-popover.entry.js +1 -1
- package/dist/esm-es5/stzh-print.entry.js +1 -1
- package/dist/esm-es5/stzh-progressbar-item.entry.js +1 -1
- package/dist/esm-es5/stzh-progressbar-item.entry.js.map +1 -1
- package/dist/esm-es5/stzh-readspeaker.entry.js +1 -1
- package/dist/esm-es5/stzh-row.entry.js +1 -1
- package/dist/esm-es5/stzh-row.entry.js.map +1 -1
- package/dist/esm-es5/stzh-scrollup.entry.js +1 -1
- package/dist/esm-es5/stzh-share.entry.js +1 -1
- package/dist/esm-es5/stzh-space.entry.js +1 -1
- package/dist/esm-es5/stzh-space.entry.js.map +1 -1
- package/dist/esm-es5/stzh-sticky.entry.js +1 -1
- package/dist/esm-es5/stzh-sticky.entry.js.map +1 -1
- package/dist/esm-es5/stzh-table.entry.js +1 -1
- package/dist/esm-es5/stzh-text.entry.js +1 -1
- package/dist/esm-es5/stzh-text.entry.js.map +1 -1
- package/dist/esm-es5/stzh-textandimage.entry.js +1 -1
- package/dist/esm-es5/stzh-timeline-item.entry.js +1 -1
- package/dist/esm-es5/stzh-toast.entry.js +1 -1
- package/dist/esm-es5/stzh-toggle.entry.js +1 -1
- package/dist/esm-es5/stzh-tooltip.entry.js +1 -1
- package/dist/esm-es5/stzh-upload.entry.js +1 -1
- package/dist/esm-es5/stzh-vspace.entry.js +1 -1
- package/dist/esm-es5/stzh-vspace.entry.js.map +1 -1
- package/dist/esm-es5/utils-8bb4c3c6.js +2 -0
- package/dist/esm-es5/utils-8bb4c3c6.js.map +1 -0
- package/dist/stzh-components/assets/i18n/de.json +19 -10
- package/dist/stzh-components/assets/i18n/en.json +19 -10
- package/dist/stzh-components/index.esm.js.map +1 -1
- package/dist/stzh-components/{p-a509436d.entry.js → p-0164f9d1.entry.js} +2 -2
- package/dist/stzh-components/p-0164f9d1.entry.js.map +1 -0
- package/dist/stzh-components/{p-1f1910e4.system.entry.js → p-0684cfac.system.entry.js} +2 -2
- package/dist/stzh-components/{p-1f1910e4.system.entry.js.map → p-0684cfac.system.entry.js.map} +1 -1
- package/dist/stzh-components/p-07819ba5.entry.js +2 -0
- package/dist/stzh-components/p-07819ba5.entry.js.map +1 -0
- package/dist/stzh-components/{p-6b9365fe.system.entry.js → p-0b4cba00.system.entry.js} +2 -2
- package/dist/stzh-components/{p-b1fbe1d1.system.entry.js → p-0b8a15cc.system.entry.js} +2 -2
- package/dist/stzh-components/p-0bb08043.system.js.map +1 -1
- package/dist/stzh-components/p-0c049996.system.entry.js +2 -0
- package/dist/stzh-components/p-0c049996.system.entry.js.map +1 -0
- package/dist/stzh-components/{p-9bd8613c.system.entry.js → p-0c2381f6.system.entry.js} +2 -2
- package/dist/stzh-components/{p-1e7376c9.system.js → p-0c972915.system.js} +2 -2
- package/dist/stzh-components/{p-1e7376c9.system.js.map → p-0c972915.system.js.map} +1 -1
- package/dist/stzh-components/p-0d9aa70c.entry.js +2 -0
- package/dist/stzh-components/p-0d9aa70c.entry.js.map +1 -0
- package/dist/stzh-components/{p-55a00af2.entry.js → p-10361297.entry.js} +2 -2
- package/dist/stzh-components/p-1095d872.system.entry.js +2 -0
- package/dist/stzh-components/p-1095d872.system.entry.js.map +1 -0
- package/dist/stzh-components/{p-26f37848.entry.js → p-11031613.entry.js} +2 -2
- package/dist/stzh-components/{p-062360a4.system.entry.js → p-153f8f3f.system.entry.js} +2 -2
- package/dist/stzh-components/p-15980af0.entry.js +10 -0
- package/dist/stzh-components/p-15980af0.entry.js.map +1 -0
- package/dist/stzh-components/{p-fbf4ee43.system.entry.js → p-1834deba.system.entry.js} +2 -2
- package/dist/stzh-components/{p-c1fa2872.system.entry.js → p-188dd49d.system.entry.js} +2 -2
- package/dist/stzh-components/{p-68e15c10.system.entry.js → p-1a49012e.system.entry.js} +2 -2
- package/dist/stzh-components/{p-2565c905.entry.js → p-1c9eee3d.entry.js} +2 -2
- package/dist/stzh-components/{p-badd636f.system.entry.js → p-24c0e33a.system.entry.js} +2 -2
- package/dist/stzh-components/{p-badd636f.system.entry.js.map → p-24c0e33a.system.entry.js.map} +1 -1
- package/dist/stzh-components/p-2547ec12.system.entry.js +2 -0
- package/dist/stzh-components/p-2547ec12.system.entry.js.map +1 -0
- package/dist/stzh-components/p-287edde1.system.entry.js +2 -0
- package/dist/stzh-components/p-287edde1.system.entry.js.map +1 -0
- package/dist/stzh-components/p-2a3fdd90.system.entry.js +2 -0
- package/dist/stzh-components/p-2a3fdd90.system.entry.js.map +1 -0
- package/dist/stzh-components/{p-af5151b6.entry.js → p-2abcca01.entry.js} +2 -2
- package/dist/stzh-components/p-2abcca01.entry.js.map +1 -0
- package/dist/stzh-components/{p-97b0b868.system.entry.js → p-2ff7c5db.system.entry.js} +2 -2
- package/dist/stzh-components/{p-e0e5d06f.system.entry.js → p-3154e4da.system.entry.js} +2 -2
- package/dist/stzh-components/{p-754f37ee.entry.js → p-34add4af.entry.js} +2 -2
- package/dist/stzh-components/{p-b28e5fd4.system.entry.js → p-34ff6606.system.entry.js} +2 -2
- package/dist/stzh-components/{p-46ccadd5.system.entry.js → p-3ab3a5a7.system.entry.js} +2 -2
- package/dist/stzh-components/{p-dd43141d.system.entry.js → p-3ceef7dd.system.entry.js} +2 -2
- package/dist/stzh-components/p-3df3f45c.entry.js +2 -0
- package/dist/stzh-components/p-3df3f45c.entry.js.map +1 -0
- package/dist/stzh-components/p-428eacce.system.js +2 -0
- package/dist/stzh-components/{p-044b80d8.system.js.map → p-428eacce.system.js.map} +1 -1
- package/dist/stzh-components/{p-e42dbd26.system.entry.js → p-42e25ae1.system.entry.js} +3 -3
- package/dist/stzh-components/p-42e25ae1.system.entry.js.map +1 -0
- package/dist/stzh-components/{p-38ebb72d.system.entry.js → p-42f483f6.system.entry.js} +2 -2
- package/dist/stzh-components/{p-508f6d3d.entry.js → p-488c5c8a.entry.js} +2 -2
- package/dist/stzh-components/{p-a5b55401.entry.js → p-4ad49ece.entry.js} +2 -2
- package/dist/stzh-components/{p-f8b5c7a8.entry.js → p-4c091b1b.entry.js} +2 -2
- package/dist/stzh-components/{p-66965853.entry.js → p-4cb041d5.entry.js} +2 -2
- package/dist/stzh-components/{p-9a22e78f.system.entry.js → p-509f90d0.system.entry.js} +2 -2
- package/dist/stzh-components/p-509f90d0.system.entry.js.map +1 -0
- package/dist/stzh-components/{p-ff2029b6.entry.js → p-5342d3ae.entry.js} +2 -2
- package/dist/stzh-components/{p-ff2029b6.entry.js.map → p-5342d3ae.entry.js.map} +1 -1
- package/dist/stzh-components/{p-243f3d8c.system.entry.js → p-54a1fdcc.system.entry.js} +2 -2
- package/dist/stzh-components/p-54dbcd0e.system.entry.js +11 -0
- package/dist/stzh-components/p-54dbcd0e.system.entry.js.map +1 -0
- package/dist/stzh-components/{p-1f6fe9f1.entry.js → p-5cea16ad.entry.js} +2 -2
- package/dist/stzh-components/{p-1f6fe9f1.entry.js.map → p-5cea16ad.entry.js.map} +1 -1
- package/dist/stzh-components/{p-b218ae94.system.entry.js → p-5d02c5e0.system.entry.js} +2 -2
- package/dist/stzh-components/{p-01436630.system.entry.js → p-5e861cb6.system.entry.js} +2 -2
- package/dist/stzh-components/{p-45e98de0.entry.js → p-64845b66.entry.js} +2 -2
- package/dist/stzh-components/{p-45e98de0.entry.js.map → p-64845b66.entry.js.map} +1 -1
- package/dist/stzh-components/{p-95e4bc28.entry.js → p-68feffea.entry.js} +2 -2
- package/dist/stzh-components/{p-a6938665.entry.js → p-6a91ac35.entry.js} +2 -2
- package/dist/stzh-components/p-6a91ac35.entry.js.map +1 -0
- package/dist/stzh-components/{p-93c73a62.entry.js → p-6b9b037a.entry.js} +2 -2
- package/dist/stzh-components/{p-93c73a62.entry.js.map → p-6b9b037a.entry.js.map} +1 -1
- package/dist/stzh-components/{p-98357b67.system.entry.js → p-6e979c9c.system.entry.js} +2 -2
- package/dist/stzh-components/{p-98357b67.system.entry.js.map → p-6e979c9c.system.entry.js.map} +1 -1
- package/dist/stzh-components/{p-d5b2327f.system.entry.js → p-709514fc.system.entry.js} +2 -2
- package/dist/stzh-components/{p-c9f0cf53.entry.js → p-73442cf1.entry.js} +2 -2
- package/dist/stzh-components/{p-fd41d303.entry.js → p-7873a639.entry.js} +2 -2
- package/dist/stzh-components/p-7c2aa5e8.entry.js +2 -0
- package/dist/stzh-components/{p-41b2f989.entry.js.map → p-7c2aa5e8.entry.js.map} +1 -1
- package/dist/stzh-components/{p-a7ef9c99.entry.js → p-80851e3d.entry.js} +2 -2
- package/dist/stzh-components/p-80f1f324.system.entry.js +2 -0
- package/dist/stzh-components/p-80f1f324.system.entry.js.map +1 -0
- package/dist/stzh-components/{p-e1bada00.entry.js → p-83a216d7.entry.js} +2 -2
- package/dist/stzh-components/{p-bd5b6832.system.entry.js → p-88adaf4b.system.entry.js} +2 -2
- package/dist/stzh-components/{p-34a359dd.entry.js → p-88e6248e.entry.js} +2 -2
- package/dist/stzh-components/{p-e4e8b73a.system.entry.js → p-8c1c75a7.system.entry.js} +2 -2
- package/dist/stzh-components/{p-e4e8b73a.system.entry.js.map → p-8c1c75a7.system.entry.js.map} +1 -1
- package/dist/stzh-components/{p-7e76c84a.entry.js → p-91e7dae0.entry.js} +2 -2
- package/dist/stzh-components/{p-a8c669b2.system.entry.js → p-97704eb0.system.entry.js} +2 -2
- package/dist/stzh-components/p-9d0fedfe.system.entry.js +2 -0
- package/dist/stzh-components/{p-8de3379f.system.entry.js.map → p-9d0fedfe.system.entry.js.map} +1 -1
- package/dist/stzh-components/{p-67a483cf.system.entry.js → p-a0b350c2.system.entry.js} +2 -2
- package/dist/stzh-components/{p-a4c5ef8d.entry.js → p-a312a505.entry.js} +2 -2
- package/dist/stzh-components/p-a60e85c8.system.entry.js +2 -0
- package/dist/stzh-components/p-a60e85c8.system.entry.js.map +1 -0
- package/dist/stzh-components/{p-99ec62a5.entry.js → p-a94dd79b.entry.js} +2 -2
- package/dist/stzh-components/{p-99ec62a5.entry.js.map → p-a94dd79b.entry.js.map} +1 -1
- package/dist/stzh-components/p-aa337ae2.entry.js +2 -0
- package/dist/stzh-components/p-aa337ae2.entry.js.map +1 -0
- package/dist/stzh-components/{p-80e08833.entry.js → p-abbcda3b.entry.js} +2 -2
- package/dist/stzh-components/p-ae8eaf99.entry.js +2 -0
- package/dist/stzh-components/p-ae8eaf99.entry.js.map +1 -0
- package/dist/stzh-components/{p-793a530d.entry.js → p-af33b013.entry.js} +2 -2
- package/dist/stzh-components/{p-19b7b131.entry.js → p-afb2885a.entry.js} +2 -2
- package/dist/stzh-components/p-b305ec22.entry.js +2 -0
- package/dist/stzh-components/p-b305ec22.entry.js.map +1 -0
- package/dist/stzh-components/p-b6fed7ff.entry.js +2 -0
- package/dist/stzh-components/p-b6fed7ff.entry.js.map +1 -0
- package/dist/stzh-components/{p-cc10a5c5.system.entry.js → p-bb2fe16f.system.entry.js} +2 -2
- package/dist/stzh-components/p-bb2fe16f.system.entry.js.map +1 -0
- package/dist/stzh-components/{p-7a7eb40f.system.entry.js → p-c143a3f0.system.entry.js} +2 -2
- package/dist/stzh-components/{p-0a57145c.system.entry.js → p-c1ab5b6a.system.entry.js} +2 -2
- package/dist/stzh-components/p-c1ab5b6a.system.entry.js.map +1 -0
- package/dist/stzh-components/{p-fb70c624.system.entry.js → p-c41d9fa7.system.entry.js} +2 -2
- package/dist/stzh-components/{p-ebd47e41.entry.js → p-c5a4865c.entry.js} +2 -2
- package/dist/stzh-components/{p-7007044a.entry.js → p-c7a068ee.entry.js} +2 -2
- package/dist/stzh-components/{p-a00db16c.js → p-ca32a687.js} +2 -2
- package/dist/stzh-components/{p-a00db16c.js.map → p-ca32a687.js.map} +1 -1
- package/dist/stzh-components/{p-ae44fab0.entry.js → p-cb906ad4.entry.js} +2 -2
- package/dist/stzh-components/{p-70461b7e.entry.js → p-cc260e20.entry.js} +2 -2
- package/dist/stzh-components/p-cc260e20.entry.js.map +1 -0
- package/dist/stzh-components/p-cfd1eed9.system.entry.js +2 -0
- package/dist/stzh-components/p-cfd1eed9.system.entry.js.map +1 -0
- package/dist/stzh-components/p-cfdb06e4.js +2 -0
- package/dist/stzh-components/p-cfdb06e4.js.map +1 -0
- package/dist/stzh-components/{p-54c0340b.entry.js → p-d0678cbb.entry.js} +2 -2
- package/dist/stzh-components/p-d22fbf2e.system.entry.js +2 -0
- package/dist/stzh-components/p-d22fbf2e.system.entry.js.map +1 -0
- package/dist/stzh-components/{p-42138c55.entry.js → p-d362dc3a.entry.js} +2 -2
- package/dist/stzh-components/{p-3ac03d9a.entry.js → p-ded183e7.entry.js} +2 -2
- package/dist/stzh-components/{p-58a6ed19.system.entry.js → p-df322682.system.entry.js} +2 -2
- package/dist/stzh-components/{p-d50495d5.entry.js → p-e24cfa3e.entry.js} +2 -2
- package/dist/stzh-components/{p-ffe3fbab.entry.js → p-e3cd443b.entry.js} +2 -2
- package/dist/stzh-components/{p-e58d6819.system.entry.js → p-e61f6afc.system.entry.js} +2 -2
- package/dist/stzh-components/{p-e58d6819.system.entry.js.map → p-e61f6afc.system.entry.js.map} +1 -1
- package/dist/stzh-components/{p-f16e40f8.system.entry.js → p-e670eba0.system.entry.js} +2 -2
- package/dist/stzh-components/p-ed2896cd.entry.js +2 -0
- package/dist/stzh-components/p-ed2896cd.entry.js.map +1 -0
- package/dist/stzh-components/{p-3ccf5529.system.entry.js → p-f159a561.system.entry.js} +2 -2
- package/dist/stzh-components/p-f6662aa5.entry.js +2 -0
- package/dist/stzh-components/p-f6662aa5.entry.js.map +1 -0
- package/dist/stzh-components/p-f73af272.entry.js +8 -0
- package/dist/stzh-components/p-f73af272.entry.js.map +1 -0
- package/dist/stzh-components/{p-75beb9f8.system.entry.js → p-f8511c39.system.entry.js} +2 -2
- package/dist/stzh-components/{p-b1851b3e.entry.js → p-f91187c8.entry.js} +2 -2
- package/dist/stzh-components/p-f9cb0fcd.system.js +2 -0
- package/dist/stzh-components/p-f9cb0fcd.system.js.map +1 -0
- package/dist/stzh-components/{p-4e32ee7a.system.entry.js → p-ff1d24e2.system.entry.js} +2 -2
- package/dist/stzh-components/{p-61589824.system.entry.js → p-ff356dc8.system.entry.js} +2 -2
- package/dist/stzh-components/{p-9145f8d9.system.entry.js → p-ff9a0645.system.entry.js} +2 -2
- package/dist/stzh-components/p-ff9a0645.system.entry.js.map +1 -0
- package/dist/stzh-components/stzh-components.esm.js +1 -1
- package/dist/stzh-components/stzh-components.esm.js.map +1 -1
- package/dist/stzh-components/stzh-components.js +1 -1
- package/dist/types/components/stzh-gallery/stzh-gallery.localization.d.ts +10 -0
- package/dist/types/components.d.ts +101 -24
- package/dist/types/utils/utils.d.ts +5 -0
- package/dist/vscode-data.json +102 -13
- package/package.json +2 -1
- package/dist/cjs/stzh-figure.cjs.entry.js +0 -40
- package/dist/cjs/stzh-figure.cjs.entry.js.map +0 -1
- package/dist/cjs/stzh-hspace.cjs.entry.js.map +0 -1
- package/dist/cjs/stzh-ratio.cjs.entry.js.map +0 -1
- package/dist/cjs/stzh-show.cjs.entry.js +0 -43
- package/dist/cjs/stzh-show.cjs.entry.js.map +0 -1
- package/dist/cjs/utils-77bc0ea1.js.map +0 -1
- package/dist/esm/stzh-figure.entry.js +0 -36
- package/dist/esm/stzh-figure.entry.js.map +0 -1
- package/dist/esm/stzh-hspace.entry.js.map +0 -1
- package/dist/esm/stzh-ratio.entry.js.map +0 -1
- package/dist/esm/stzh-show.entry.js.map +0 -1
- package/dist/esm/utils-107fad0f.js.map +0 -1
- package/dist/esm-es5/stzh-figure.entry.js +0 -2
- package/dist/esm-es5/stzh-figure.entry.js.map +0 -1
- package/dist/esm-es5/stzh-hspace.entry.js +0 -2
- package/dist/esm-es5/stzh-hspace.entry.js.map +0 -1
- package/dist/esm-es5/stzh-ratio.entry.js +0 -2
- package/dist/esm-es5/stzh-ratio.entry.js.map +0 -1
- package/dist/esm-es5/stzh-show.entry.js +0 -2
- package/dist/esm-es5/stzh-show.entry.js.map +0 -1
- package/dist/esm-es5/utils-107fad0f.js +0 -2
- package/dist/esm-es5/utils-107fad0f.js.map +0 -1
- package/dist/stzh-components/p-004b3030.system.entry.js +0 -2
- package/dist/stzh-components/p-004b3030.system.entry.js.map +0 -1
- package/dist/stzh-components/p-044b80d8.system.js +0 -2
- package/dist/stzh-components/p-0a57145c.system.entry.js.map +0 -1
- package/dist/stzh-components/p-0c8d651e.entry.js +0 -2
- package/dist/stzh-components/p-0c8d651e.entry.js.map +0 -1
- package/dist/stzh-components/p-0e5d39e2.system.entry.js +0 -2
- package/dist/stzh-components/p-0e5d39e2.system.entry.js.map +0 -1
- package/dist/stzh-components/p-0ed6eafb.system.entry.js +0 -2
- package/dist/stzh-components/p-0ed6eafb.system.entry.js.map +0 -1
- package/dist/stzh-components/p-168f0faa.entry.js +0 -8
- package/dist/stzh-components/p-168f0faa.entry.js.map +0 -1
- package/dist/stzh-components/p-18bf2b21.system.entry.js +0 -2
- package/dist/stzh-components/p-18bf2b21.system.entry.js.map +0 -1
- package/dist/stzh-components/p-2452dd71.system.entry.js +0 -2
- package/dist/stzh-components/p-2452dd71.system.entry.js.map +0 -1
- package/dist/stzh-components/p-330bdf15.system.entry.js +0 -2
- package/dist/stzh-components/p-330bdf15.system.entry.js.map +0 -1
- package/dist/stzh-components/p-341c1c6c.entry.js +0 -2
- package/dist/stzh-components/p-341c1c6c.entry.js.map +0 -1
- package/dist/stzh-components/p-41b2f989.entry.js +0 -2
- package/dist/stzh-components/p-52e9dbe5.entry.js +0 -2
- package/dist/stzh-components/p-52e9dbe5.entry.js.map +0 -1
- package/dist/stzh-components/p-53e44e89.system.js +0 -2
- package/dist/stzh-components/p-53e44e89.system.js.map +0 -1
- package/dist/stzh-components/p-645bbb42.entry.js +0 -2
- package/dist/stzh-components/p-645bbb42.entry.js.map +0 -1
- package/dist/stzh-components/p-70461b7e.entry.js.map +0 -1
- package/dist/stzh-components/p-74e07267.entry.js +0 -2
- package/dist/stzh-components/p-74e07267.entry.js.map +0 -1
- package/dist/stzh-components/p-7b044a55.entry.js +0 -2
- package/dist/stzh-components/p-7b044a55.entry.js.map +0 -1
- package/dist/stzh-components/p-7eaed674.system.entry.js +0 -2
- package/dist/stzh-components/p-7eaed674.system.entry.js.map +0 -1
- package/dist/stzh-components/p-8de3379f.system.entry.js +0 -2
- package/dist/stzh-components/p-9145f8d9.system.entry.js.map +0 -1
- package/dist/stzh-components/p-9a22e78f.system.entry.js.map +0 -1
- package/dist/stzh-components/p-a27c6c02.system.entry.js +0 -2
- package/dist/stzh-components/p-a27c6c02.system.entry.js.map +0 -1
- package/dist/stzh-components/p-a509436d.entry.js.map +0 -1
- package/dist/stzh-components/p-a6938665.entry.js.map +0 -1
- package/dist/stzh-components/p-a999bb48.entry.js +0 -2
- package/dist/stzh-components/p-a999bb48.entry.js.map +0 -1
- package/dist/stzh-components/p-af5151b6.entry.js.map +0 -1
- package/dist/stzh-components/p-ba8c574b.js +0 -2
- package/dist/stzh-components/p-ba8c574b.js.map +0 -1
- package/dist/stzh-components/p-c2fcd668.entry.js +0 -2
- package/dist/stzh-components/p-c2fcd668.entry.js.map +0 -1
- package/dist/stzh-components/p-cc10a5c5.system.entry.js.map +0 -1
- package/dist/stzh-components/p-d18665b6.system.entry.js +0 -2
- package/dist/stzh-components/p-d18665b6.system.entry.js.map +0 -1
- package/dist/stzh-components/p-e42dbd26.system.entry.js.map +0 -1
- package/dist/stzh-components/p-e6f1bae9.system.entry.js +0 -2
- package/dist/stzh-components/p-e6f1bae9.system.entry.js.map +0 -1
- package/dist/stzh-components/p-ebaf8f26.entry.js +0 -2
- package/dist/stzh-components/p-ebaf8f26.entry.js.map +0 -1
- package/dist/stzh-components/p-ef274d0c.entry.js +0 -2
- package/dist/stzh-components/p-ef274d0c.entry.js.map +0 -1
- /package/dist/stzh-components/{p-6b9365fe.system.entry.js.map → p-0b4cba00.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b1fbe1d1.system.entry.js.map → p-0b8a15cc.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-9bd8613c.system.entry.js.map → p-0c2381f6.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-55a00af2.entry.js.map → p-10361297.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-26f37848.entry.js.map → p-11031613.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-062360a4.system.entry.js.map → p-153f8f3f.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-fbf4ee43.system.entry.js.map → p-1834deba.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-c1fa2872.system.entry.js.map → p-188dd49d.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-68e15c10.system.entry.js.map → p-1a49012e.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-2565c905.entry.js.map → p-1c9eee3d.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-97b0b868.system.entry.js.map → p-2ff7c5db.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-e0e5d06f.system.entry.js.map → p-3154e4da.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-754f37ee.entry.js.map → p-34add4af.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b28e5fd4.system.entry.js.map → p-34ff6606.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-46ccadd5.system.entry.js.map → p-3ab3a5a7.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-dd43141d.system.entry.js.map → p-3ceef7dd.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-38ebb72d.system.entry.js.map → p-42f483f6.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-508f6d3d.entry.js.map → p-488c5c8a.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a5b55401.entry.js.map → p-4ad49ece.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-f8b5c7a8.entry.js.map → p-4c091b1b.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-66965853.entry.js.map → p-4cb041d5.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-243f3d8c.system.entry.js.map → p-54a1fdcc.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b218ae94.system.entry.js.map → p-5d02c5e0.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-01436630.system.entry.js.map → p-5e861cb6.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-95e4bc28.entry.js.map → p-68feffea.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-d5b2327f.system.entry.js.map → p-709514fc.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-c9f0cf53.entry.js.map → p-73442cf1.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-fd41d303.entry.js.map → p-7873a639.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a7ef9c99.entry.js.map → p-80851e3d.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-e1bada00.entry.js.map → p-83a216d7.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-bd5b6832.system.entry.js.map → p-88adaf4b.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-34a359dd.entry.js.map → p-88e6248e.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-7e76c84a.entry.js.map → p-91e7dae0.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a8c669b2.system.entry.js.map → p-97704eb0.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-67a483cf.system.entry.js.map → p-a0b350c2.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a4c5ef8d.entry.js.map → p-a312a505.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-80e08833.entry.js.map → p-abbcda3b.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-793a530d.entry.js.map → p-af33b013.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-19b7b131.entry.js.map → p-afb2885a.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-7a7eb40f.system.entry.js.map → p-c143a3f0.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-fb70c624.system.entry.js.map → p-c41d9fa7.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-ebd47e41.entry.js.map → p-c5a4865c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-7007044a.entry.js.map → p-c7a068ee.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-ae44fab0.entry.js.map → p-cb906ad4.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-54c0340b.entry.js.map → p-d0678cbb.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-42138c55.entry.js.map → p-d362dc3a.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-3ac03d9a.entry.js.map → p-ded183e7.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-58a6ed19.system.entry.js.map → p-df322682.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-d50495d5.entry.js.map → p-e24cfa3e.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-ffe3fbab.entry.js.map → p-e3cd443b.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-f16e40f8.system.entry.js.map → p-e670eba0.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-3ccf5529.system.entry.js.map → p-f159a561.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-75beb9f8.system.entry.js.map → p-f8511c39.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b1851b3e.entry.js.map → p-f91187c8.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-4e32ee7a.system.entry.js.map → p-ff1d24e2.system.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-61589824.system.entry.js.map → p-ff356dc8.system.entry.js.map} +0 -0
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
import { createComponentStory } from '../../utils/story-utils';
|
|
2
|
+
import { withActions } from '@storybook/addon-actions/decorator';
|
|
3
|
+
import readme from './readme.md?raw';
|
|
4
|
+
import { withDesign } from 'storybook-addon-designs';
|
|
5
|
+
import { getFigmaLink } from '../../../figma';
|
|
6
|
+
|
|
7
|
+
import {
|
|
8
|
+
Default as Richtext_Default
|
|
9
|
+
} from '../stzh-richtext/stzh-richtext.stories';
|
|
10
|
+
|
|
11
|
+
const COMPONENT_NAME = 'stzh-gallery';
|
|
12
|
+
const story = createComponentStory(COMPONENT_NAME);
|
|
13
|
+
|
|
14
|
+
const TEMPLATE = ({ _onlyGallery = false }) => {
|
|
15
|
+
if (_onlyGallery) {
|
|
16
|
+
return `
|
|
17
|
+
<stzh-gallery></stzh-gallery>
|
|
18
|
+
`;
|
|
19
|
+
} else {
|
|
20
|
+
return `
|
|
21
|
+
<stzh-container>
|
|
22
|
+
<stzh-vspace curve="big"></stzh-vspace>
|
|
23
|
+
|
|
24
|
+
<stzh-gallery></stzh-gallery>
|
|
25
|
+
|
|
26
|
+
<stzh-vspace curve="big"></stzh-vspace>
|
|
27
|
+
</stzh-container>
|
|
28
|
+
`;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
const TEMPLATE_CUSTOM = ({ _onlyGallery = false }) => {
|
|
33
|
+
if (_onlyGallery) {
|
|
34
|
+
return `
|
|
35
|
+
<stzh-gallery>
|
|
36
|
+
<stzh-figure onclick="this.closest('stzh-gallery').openLightbox(0)">
|
|
37
|
+
<img src="media/images/example.jpg">
|
|
38
|
+
</stzh-figure>
|
|
39
|
+
</stzh-gallery>
|
|
40
|
+
`;
|
|
41
|
+
} else {
|
|
42
|
+
return `
|
|
43
|
+
<stzh-container>
|
|
44
|
+
<stzh-vspace curve="big"></stzh-vspace>
|
|
45
|
+
|
|
46
|
+
<stzh-gallery>
|
|
47
|
+
<stzh-figure onclick="this.closest('stzh-gallery').openLightbox(0)">
|
|
48
|
+
<img src="media/images/example.jpg">
|
|
49
|
+
</stzh-figure>
|
|
50
|
+
</stzh-gallery>
|
|
51
|
+
|
|
52
|
+
<stzh-vspace curve="big"></stzh-vspace>
|
|
53
|
+
</stzh-container>
|
|
54
|
+
`;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export default {
|
|
59
|
+
title: 'Components/Gallery',
|
|
60
|
+
component: COMPONENT_NAME,
|
|
61
|
+
parameters: {
|
|
62
|
+
layout: 'fullscreen',
|
|
63
|
+
docs: {
|
|
64
|
+
description: {
|
|
65
|
+
component: readme
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
design: {
|
|
69
|
+
type: 'figma',
|
|
70
|
+
url: getFigmaLink('gallery'),
|
|
71
|
+
allowFullscreen: true
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
decorators: [
|
|
75
|
+
withActions,
|
|
76
|
+
withDesign
|
|
77
|
+
]
|
|
78
|
+
};
|
|
79
|
+
|
|
80
|
+
const images = [
|
|
81
|
+
{
|
|
82
|
+
"heading": "Sometitle",
|
|
83
|
+
"caption": "Lorem ipsum",
|
|
84
|
+
"captionLightbox": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.",
|
|
85
|
+
"src": "media/images/example.jpg",
|
|
86
|
+
"width": 2522,
|
|
87
|
+
"height": 1075,
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"heading": "Sometitle",
|
|
91
|
+
"caption": "Lorem ipsum",
|
|
92
|
+
"captionLightbox": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.",
|
|
93
|
+
"src": "media/images/example2.jpg",
|
|
94
|
+
"width": 2050,
|
|
95
|
+
"height": 1367,
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"heading": "Sometitle",
|
|
99
|
+
"caption": "Lorem ipsum",
|
|
100
|
+
"lightboxHtml": Richtext_Default.render({ ...Richtext_Default.args }).outerHTML,
|
|
101
|
+
"src": "media/images/example3.png",
|
|
102
|
+
"width": 2188,
|
|
103
|
+
"height": 1706,
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"heading": "Sometitle",
|
|
107
|
+
"caption": "Lorem ipsum",
|
|
108
|
+
"captionLightbox": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.",
|
|
109
|
+
"src": "media/images/example4.png",
|
|
110
|
+
"width": 1024,
|
|
111
|
+
"height": 1258,
|
|
112
|
+
}
|
|
113
|
+
];
|
|
114
|
+
|
|
115
|
+
const oneImage = [
|
|
116
|
+
{
|
|
117
|
+
"heading": "Sometitle",
|
|
118
|
+
"caption": "Lorem ipsum",
|
|
119
|
+
"captionLightbox": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.",
|
|
120
|
+
"src": "media/images/example.jpg",
|
|
121
|
+
"width": 2522,
|
|
122
|
+
"height": 1075,
|
|
123
|
+
"hideCounter": true,
|
|
124
|
+
}
|
|
125
|
+
];
|
|
126
|
+
|
|
127
|
+
export const Default = {
|
|
128
|
+
render: (args) => story(args, TEMPLATE(args)),
|
|
129
|
+
args: {
|
|
130
|
+
images
|
|
131
|
+
}
|
|
132
|
+
};
|
|
133
|
+
|
|
134
|
+
export const WithoutCarousel = {
|
|
135
|
+
render: (args) => story(args, TEMPLATE(args)),
|
|
136
|
+
args: {
|
|
137
|
+
images,
|
|
138
|
+
variant: 'single'
|
|
139
|
+
}
|
|
140
|
+
};
|
|
141
|
+
|
|
142
|
+
export const OneImageNoCounter = {
|
|
143
|
+
render: (args) => story(args, TEMPLATE(args)),
|
|
144
|
+
args: {
|
|
145
|
+
images: oneImage,
|
|
146
|
+
}
|
|
147
|
+
};
|
|
148
|
+
|
|
149
|
+
export const Grid = {
|
|
150
|
+
render: (args) => story(args, TEMPLATE(args)),
|
|
151
|
+
args: {
|
|
152
|
+
images,
|
|
153
|
+
variant: 'grid'
|
|
154
|
+
}
|
|
155
|
+
};
|
|
156
|
+
|
|
157
|
+
export const Custom = {
|
|
158
|
+
render: (args) => story(args, TEMPLATE_CUSTOM(args)),
|
|
159
|
+
args: {
|
|
160
|
+
images,
|
|
161
|
+
variant: 'custom'
|
|
162
|
+
}
|
|
163
|
+
};
|
|
@@ -146,10 +146,28 @@
|
|
|
146
146
|
display: none;
|
|
147
147
|
}
|
|
148
148
|
}
|
|
149
|
-
:host ::slotted(
|
|
149
|
+
:host ::slotted([slot=logo]) {
|
|
150
150
|
width: auto;
|
|
151
151
|
height: 100%;
|
|
152
152
|
}
|
|
153
|
+
:host ::slotted(stzh-logo[slot=logo]) {
|
|
154
|
+
--width: auto;
|
|
155
|
+
--height: 100%;
|
|
156
|
+
}
|
|
157
|
+
:host ::slotted(stzh-logo[slot=logo]:not([type=stzh]):not([type=none])) {
|
|
158
|
+
--width: auto;
|
|
159
|
+
--height: 1.9375rem;
|
|
160
|
+
}
|
|
161
|
+
@media screen and (min-width: 1024px) {
|
|
162
|
+
:host ::slotted(stzh-logo[slot=logo]:not([type=stzh]):not([type=none])) {
|
|
163
|
+
--height: 2.1875rem;
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
@media screen and (min-width: 1440px) {
|
|
167
|
+
:host ::slotted(stzh-logo[slot=logo]:not([type=stzh]):not([type=none])) {
|
|
168
|
+
--height: 3.3125rem;
|
|
169
|
+
}
|
|
170
|
+
}
|
|
153
171
|
:host ::slotted(stzh-popover[slot=login]) {
|
|
154
172
|
display: flex;
|
|
155
173
|
flex-grow: 1;
|
|
@@ -93,7 +93,7 @@ export class StzhHeader {
|
|
|
93
93
|
return;
|
|
94
94
|
}
|
|
95
95
|
readTask(() => {
|
|
96
|
-
this.scrollTop =
|
|
96
|
+
this.scrollTop = window.scrollY;
|
|
97
97
|
this.scrollingUp = this.lastScrollTop && this.lastScrollTop > this.scrollTop;
|
|
98
98
|
this.lastScrollTop = this.scrollTop;
|
|
99
99
|
this.innerHeight = this.innerElement ? this.innerElement.offsetHeight : 0;
|
|
@@ -114,9 +114,6 @@ export class StzhHeader {
|
|
|
114
114
|
this.updatePosition();
|
|
115
115
|
});
|
|
116
116
|
}
|
|
117
|
-
getScrollTop() {
|
|
118
|
-
return window.pageYOffset || document.documentElement.scrollTop;
|
|
119
|
-
}
|
|
120
117
|
updateMetabarPosition() {
|
|
121
118
|
if (!this.metabarElement || this.stickyDisabled) {
|
|
122
119
|
return;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stzh-header.js","sourceRoot":"","sources":["../../../../src/components/stzh-header/stzh-header.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,OAAO,EACP,MAAM,EACN,IAAI,EACJ,KAAK,EACL,CAAC,EACD,SAAS,EACT,QAAQ,EACR,MAAM,EACN,IAAI,GACL,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAEhD;;;;;;GAMG;AAMH,MAAM,OAAO,UAAU;;IAuIb,iBAAY,GAAG,GAAG,EAAE;MAC1B,IAAI,IAAI,CAAC,cAAc,EAAE;QACvB,OAAO;OACR;MAED,IAAI,IAAI,CAAC,cAAc,EAAE;QACvB,MAAM,CAAC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cAEzD,WAAK,KAAK,EAAC,uBAAuB;gBAChC,WAAK,KAAK,EAAC,qBAAqB;kBAC9B,YAAM,IAAI,EAAC,KAAK,GAAQ,CACpB;gBACN,WAAK,KAAK,EAAC,uBAAuB;kBAChC,YAAM,IAAI,EAAC,OAAO,GAAQ,CACtB;gBACN,WAAK,KAAK,EAAC,yBAAyB;kBAClC,YAAM,IAAI,EAAC,SAAS,GAAQ,CACxB,CACF,CACF,CACF;UAEN,WACE,KAAK,EAAC,gBAAgB,EACtB,GAAG,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,aAAa,GAAG,EAAoB,CAAC;YAExD,WAAK,KAAK,EAAC,sBAAsB;cAC/B,YAAM,IAAI,EAAC,QAAQ,GAAQ,CACvB,CACF,CACF,CACF,CACD,CACR,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {\n Component,\n Element,\n Listen,\n Host,\n State,\n h,\n writeTask,\n readTask,\n Method,\n Prop,\n} from \"@stencil/core\";\n\nimport { hasSlot } from \"../../utils/utils\";\nimport { media } from \"../../utils/media-utils\";\n\n/**\n * @slot logo - Slot for brand logo\n * @slot nav - Slot for `stzh-metanav` element\n * @slot login - Slot for login button\n * @slot appnav - Slot for `stzh-appnav` element\n * @slot langnav - Slot for `stzh-langnav` element\n */\n@Component({\n tag: \"stzh-header\",\n styleUrl: \"stzh-header.scss\",\n scoped: true\n})\nexport class StzhHeader {\n /** Portal link (for logo) */\n @Prop() href: string = \"https://www.stadt-zuerich.ch\";\n\n /** Whether grey metabar should stay (on top) on mobile */\n @Prop() metabarStay: boolean = false;\n\n /** Whether sticky behaviour should be disabled */\n @Prop() stickyDisabled: boolean = false;\n\n /**\n * Prevent creating a appnav placeholder element\n * with the size of appnav inside header parent element.\n * This prevents the fixed appnav to overlap\n * content at the end on mikro breakpoint,\n * but could lead to problems with certain layouts.\n */\n @Prop() preventAppnavPlaceholder: boolean = false;\n\n /**\n * For Adobe Analytics.\n * Will be rendered as value of `s-object-id` attribute to the logo link element.\n * Default value is \"Header Logo\".\n */\n @Prop() logoAnalyticsId: string;\n\n @State() hideLogo: boolean = false;\n @State() paddingTop: number;\n @State() metabarTransform: string;\n @State() sticky: boolean = false;\n @State() stickyClosing: boolean = false;\n @State() stickyMetabar: boolean = false;\n @State() stickyMetabarEnd: boolean = false;\n\n @Element() element: HTMLStzhHeaderElement;\n\n /** Update position / sticky state of header */\n @Method()\n async updatePosition() {\n if (this.stickyDisabled) {\n return;\n }\n\n const removeSticky = () => {\n this.sticky = false;\n this.stickyClosing = false;\n this.paddingTop = 0;\n }\n\n if (this.scrollingUp && this.belowStayStickyPoint) {\n if (!this.sticky && this.belowStartStickyPoint) {\n this.paddingTop = this.headerHeight;\n this.sticky = true;\n }\n\n this.updateMetabarPosition();\n } else {\n if (this.sticky && this.belowStayStickyPoint) {\n const animationEnd = () => {\n removeSticky();\n this.updateMetabarPosition();\n this.innerElement.removeEventListener(\"animationend\", animationEnd);\n };\n\n this.innerElement.addEventListener(\"animationend\", animationEnd);\n this.stickyClosing = true;\n } else {\n removeSticky();\n this.updateMetabarPosition();\n }\n }\n }\n\n @Listen(\"scroll\", { target: \"window\" })\n scrollListener() {\n if (this.stickyDisabled) {\n return;\n }\n\n readTask(() => {\n this.scrollTop = this.getScrollTop();\n this.scrollingUp = this.lastScrollTop && this.lastScrollTop > this.scrollTop;\n this.lastScrollTop = this.scrollTop;\n\n this.innerHeight = this.innerElement ? this.innerElement.offsetHeight : 0;\n this.mainHeight = this.mainElement ? this.mainElement.offsetHeight : 0;\n\n this.logobarHeight = this.sticky\n ? this.isSmall\n ? this.headerHeight - this.innerHeight\n : this.headerHeight - this.mainHeight\n : this.logobarElement\n ? this.logobarElement.offsetHeight\n : 0;\n\n this.belowStayStickyPoint = this.scrollTop > this.logobarHeight;\n this.belowStartStickyPoint = this.scrollTop > this.headerHeight;\n\n this.headerOverlap = (this.headerTop - this.scrollTop) / -1;\n this.hideLogo = this.isSmallheader && this.headerOverlap > 10;\n });\n\n writeTask(() => {\n this.updatePosition();\n });\n }\n\n private scrollTop: number;\n private lastScrollTop: number;\n private headerOverlap: number;\n private scrollingUp: boolean;\n private belowStayStickyPoint: boolean;\n private belowStartStickyPoint: boolean;\n\n private headerTop: number;\n private headerHeight: number;\n private innerHeight: number;\n private mainHeight: number;\n private metabarHeight: number;\n private logobarHeight: number;\n private appnavHeight: number;\n\n private isSmall: boolean;\n private isSmallheader: boolean;\n\n private debounceResize: number;\n private resizeObserver: ResizeObserver;\n\n private innerElement: HTMLDivElement;\n private mainElement: HTMLDivElement;\n private logobarElement: HTMLDivElement;\n private metabarElement: HTMLDivElement;\n private appnavElement: HTMLDivElement;\n private appnavPlaceholderElement: HTMLDivElement;\n\n private handleResize = () => {\n if (this.stickyDisabled) {\n return;\n }\n\n if (this.debounceResize) {\n window.cancelAnimationFrame(this.debounceResize);\n }\n\n this.debounceResize = requestAnimationFrame(() => {\n readTask(() => {\n this.isSmall = media(\"small\").matches;\n this.isSmallheader = media(\"smallheader\").matches;\n\n this.headerTop = this.element.offsetTop;\n this.headerHeight = this.element.offsetHeight;\n this.appnavHeight = this.appnavElement ? this.appnavElement.offsetHeight : 0;\n this.metabarHeight = this.metabarElement ? this.metabarElement.offsetHeight : 0;\n });\n\n writeTask(() => {\n document.documentElement.style.setProperty('--stzh-header-height', `${this.headerHeight}px`);\n document.documentElement.style.setProperty('--stzh-header-appnav-height', `${this.appnavHeight}px`);\n document.documentElement.style.setProperty('--stzh-header-metabar-height', `${this.metabarHeight}px`);\n\n if (this.appnavHeight && !this.isSmall && !this.preventAppnavPlaceholder) {\n this.appnavPlaceholderElement.style.height = `${this.appnavHeight}px`;\n document.documentElement.style.setProperty('--stzh-header-sticky-appnav-height', `${this.appnavHeight}px`);\n } else {\n this.appnavPlaceholderElement.style.height = \"0px\";\n document.documentElement.style.setProperty('--stzh-header-sticky-appnav-height', \"0px\");\n }\n });\n\n this.scrollListener();\n });\n }\n\n private getScrollTop() {\n return window.pageYOffset || document.documentElement.scrollTop;\n }\n\n private updateMetabarPosition() {\n if (!this.metabarElement || this.stickyDisabled) {\n return;\n }\n\n if (CSS && CSS.supports && CSS.supports(\"position\", \"sticky\")) {\n return;\n }\n\n if (this.isSmallheader && this.headerOverlap > 0 && !this.sticky && !this.stickyClosing) {\n if (this.headerOverlap < this.mainHeight - this.metabarHeight) {\n this.stickyMetabar = true;\n this.stickyMetabarEnd = false;\n this.metabarTransform = \"translateY(0)\";\n } else {\n this.stickyMetabar = false;\n this.stickyMetabarEnd = true;\n this.metabarTransform = `translateY(${this.logobarHeight}px)`;\n }\n } else {\n this.stickyMetabar = false;\n this.stickyMetabarEnd = false;\n this.metabarTransform = \"translateY(0)\";\n }\n }\n\n connectedCallback() {\n this.appnavPlaceholderElement = document.createElement(\"div\");\n this.element.parentElement.appendChild(this.appnavPlaceholderElement);\n\n this.resizeObserver = new ResizeObserver(this.handleResize);\n this.resizeObserver.observe(this.element);\n }\n\n disconnectedCallback() {\n this.appnavPlaceholderElement.parentElement.removeChild(this.appnavPlaceholderElement);\n\n if (this.resizeObserver) {\n this.resizeObserver.disconnect();\n }\n }\n\n render() {\n const navSlotUsed: boolean = hasSlot(this.element, \"nav\");\n const loginSlotUsed: boolean = hasSlot(this.element, \"login\");\n const appnavSlotUsed: boolean = hasSlot(this.element, \"appnav\");\n const langNavSlotUsed = hasSlot(this.element, \"langnav\");\n\n const classes = {\n \"header\": true,\n \"header--is-sticky-disabled\": this.stickyDisabled,\n \"header--sticky\": this.sticky,\n \"header--sticky-closing\": this.stickyClosing,\n \"header--hide-logo\": this.hideLogo,\n \"header--sticky-metabar\": this.stickyMetabar,\n \"header--sticky-metabar-end\": this.stickyMetabarEnd,\n \"header--has-metabar-stay\": this.metabarStay,\n \"header--has-empty-metabar-mobile\": !loginSlotUsed, // check for searchfield and burger slot when implemented\n \"header--has-empty-metabar\": !loginSlotUsed && !langNavSlotUsed && !navSlotUsed,\n \"header--has-appnav\": appnavSlotUsed\n };\n\n return (\n <Host>\n <div style={{paddingTop: `${this.paddingTop}px`}} class={classes}>\n <div\n class=\"header__inner\"\n ref={(el) => (this.innerElement = el as HTMLDivElement)}\n >\n <div\n class=\"header__main\"\n ref={(el) => (this.mainElement = el as HTMLDivElement)}\n >\n <div\n class=\"header__logobar\"\n ref={(el) => (this.logobarElement = el as HTMLDivElement)}\n >\n <div class=\"header__logobar-logo\">\n <a href={this.href} class=\"header__logo-link\" s-object-id={this.logoAnalyticsId || \"Header Logo\"}>\n <slot name=\"logo\"></slot>\n </a>\n </div>\n </div>\n\n <div\n class=\"header__metabar\"\n style={{transform: this.metabarTransform}}\n ref={(el) => (this.metabarElement = el as HTMLDivElement)}\n >\n <div class=\"header__metabar-inner\">\n <div class=\"header__metabar-nav\">\n <slot name=\"nav\"></slot>\n </div>\n <div class=\"header__metabar-login\">\n <slot name=\"login\"></slot>\n </div>\n <div class=\"header__metabar-langnav\">\n <slot name=\"langnav\"></slot>\n </div>\n </div>\n </div>\n </div>\n\n <div\n class=\"header__appnav\"\n ref={(el) => (this.appnavElement = el as HTMLDivElement)}\n >\n <div class=\"header__appnav-inner\">\n <slot name=\"appnav\"></slot>\n </div>\n </div>\n </div>\n </div>\n </Host>\n );\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"stzh-header.js","sourceRoot":"","sources":["../../../../src/components/stzh-header/stzh-header.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,OAAO,EACP,MAAM,EACN,IAAI,EACJ,KAAK,EACL,CAAC,EACD,SAAS,EACT,QAAQ,EACR,MAAM,EACN,IAAI,GACL,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EAAE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,CAAC,gBAAgB,EAAC,EACzC,GAAG,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,cAAc,GAAG,EAAoB,CAAC;cAEzD,WAAK,KAAK,EAAC,uBAAuB;gBAChC,WAAK,KAAK,EAAC,qBAAqB;kBAC9B,YAAM,IAAI,EAAC,KAAK,GAAQ,CACpB;gBACN,WAAK,KAAK,EAAC,uBAAuB;kBAChC,YAAM,IAAI,EAAC,OAAO,GAAQ,CACtB;gBACN,WAAK,KAAK,EAAC,yBAAyB;kBAClC,YAAM,IAAI,EAAC,SAAS,GAAQ,CACxB,CACF,CACF,CACF;UAEN,WACE,KAAK,EAAC,gBAAgB,EACtB,GAAG,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,aAAa,GAAG,EAAoB,CAAC;YAExD,WAAK,KAAK,EAAC,sBAAsB;cAC/B,YAAM,IAAI,EAAC,QAAQ,GAAQ,CACvB,CACF,CACF,CACF,CACD,CACR,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {\n Component,\n Element,\n Listen,\n Host,\n State,\n h,\n writeTask,\n readTask,\n Method,\n Prop,\n} from \"@stencil/core\";\n\nimport { hasSlot } from \"../../utils/utils\";\nimport { media } from \"../../utils/media-utils\";\n\n/**\n * @slot logo - Slot for brand logo\n * @slot nav - Slot for `stzh-metanav` element\n * @slot login - Slot for login button\n * @slot appnav - Slot for `stzh-appnav` element\n * @slot langnav - Slot for `stzh-langnav` element\n */\n@Component({\n tag: \"stzh-header\",\n styleUrl: \"stzh-header.scss\",\n scoped: true\n})\nexport class StzhHeader {\n /** Portal link (for logo) */\n @Prop() href: string = \"https://www.stadt-zuerich.ch\";\n\n /** Whether grey metabar should stay (on top) on mobile */\n @Prop() metabarStay: boolean = false;\n\n /** Whether sticky behaviour should be disabled */\n @Prop() stickyDisabled: boolean = false;\n\n /**\n * Prevent creating a appnav placeholder element\n * with the size of appnav inside header parent element.\n * This prevents the fixed appnav to overlap\n * content at the end on mikro breakpoint,\n * but could lead to problems with certain layouts.\n */\n @Prop() preventAppnavPlaceholder: boolean = false;\n\n /**\n * For Adobe Analytics.\n * Will be rendered as value of `s-object-id` attribute to the logo link element.\n * Default value is \"Header Logo\".\n */\n @Prop() logoAnalyticsId: string;\n\n @State() hideLogo: boolean = false;\n @State() paddingTop: number;\n @State() metabarTransform: string;\n @State() sticky: boolean = false;\n @State() stickyClosing: boolean = false;\n @State() stickyMetabar: boolean = false;\n @State() stickyMetabarEnd: boolean = false;\n\n @Element() element: HTMLStzhHeaderElement;\n\n /** Update position / sticky state of header */\n @Method()\n async updatePosition() {\n if (this.stickyDisabled) {\n return;\n }\n\n const removeSticky = () => {\n this.sticky = false;\n this.stickyClosing = false;\n this.paddingTop = 0;\n }\n\n if (this.scrollingUp && this.belowStayStickyPoint) {\n if (!this.sticky && this.belowStartStickyPoint) {\n this.paddingTop = this.headerHeight;\n this.sticky = true;\n }\n\n this.updateMetabarPosition();\n } else {\n if (this.sticky && this.belowStayStickyPoint) {\n const animationEnd = () => {\n removeSticky();\n this.updateMetabarPosition();\n this.innerElement.removeEventListener(\"animationend\", animationEnd);\n };\n\n this.innerElement.addEventListener(\"animationend\", animationEnd);\n this.stickyClosing = true;\n } else {\n removeSticky();\n this.updateMetabarPosition();\n }\n }\n }\n\n @Listen(\"scroll\", { target: \"window\" })\n scrollListener() {\n if (this.stickyDisabled) {\n return;\n }\n\n readTask(() => {\n this.scrollTop = window.scrollY;\n this.scrollingUp = this.lastScrollTop && this.lastScrollTop > this.scrollTop;\n this.lastScrollTop = this.scrollTop;\n\n this.innerHeight = this.innerElement ? this.innerElement.offsetHeight : 0;\n this.mainHeight = this.mainElement ? this.mainElement.offsetHeight : 0;\n\n this.logobarHeight = this.sticky\n ? this.isSmall\n ? this.headerHeight - this.innerHeight\n : this.headerHeight - this.mainHeight\n : this.logobarElement\n ? this.logobarElement.offsetHeight\n : 0;\n\n this.belowStayStickyPoint = this.scrollTop > this.logobarHeight;\n this.belowStartStickyPoint = this.scrollTop > this.headerHeight;\n\n this.headerOverlap = (this.headerTop - this.scrollTop) / -1;\n this.hideLogo = this.isSmallheader && this.headerOverlap > 10;\n });\n\n writeTask(() => {\n this.updatePosition();\n });\n }\n\n private scrollTop: number;\n private lastScrollTop: number;\n private headerOverlap: number;\n private scrollingUp: boolean;\n private belowStayStickyPoint: boolean;\n private belowStartStickyPoint: boolean;\n\n private headerTop: number;\n private headerHeight: number;\n private innerHeight: number;\n private mainHeight: number;\n private metabarHeight: number;\n private logobarHeight: number;\n private appnavHeight: number;\n\n private isSmall: boolean;\n private isSmallheader: boolean;\n\n private debounceResize: number;\n private resizeObserver: ResizeObserver;\n\n private innerElement: HTMLDivElement;\n private mainElement: HTMLDivElement;\n private logobarElement: HTMLDivElement;\n private metabarElement: HTMLDivElement;\n private appnavElement: HTMLDivElement;\n private appnavPlaceholderElement: HTMLDivElement;\n\n private handleResize = () => {\n if (this.stickyDisabled) {\n return;\n }\n\n if (this.debounceResize) {\n window.cancelAnimationFrame(this.debounceResize);\n }\n\n this.debounceResize = requestAnimationFrame(() => {\n readTask(() => {\n this.isSmall = media(\"small\").matches;\n this.isSmallheader = media(\"smallheader\").matches;\n\n this.headerTop = this.element.offsetTop;\n this.headerHeight = this.element.offsetHeight;\n this.appnavHeight = this.appnavElement ? this.appnavElement.offsetHeight : 0;\n this.metabarHeight = this.metabarElement ? this.metabarElement.offsetHeight : 0;\n });\n\n writeTask(() => {\n document.documentElement.style.setProperty('--stzh-header-height', `${this.headerHeight}px`);\n document.documentElement.style.setProperty('--stzh-header-appnav-height', `${this.appnavHeight}px`);\n document.documentElement.style.setProperty('--stzh-header-metabar-height', `${this.metabarHeight}px`);\n\n if (this.appnavHeight && !this.isSmall && !this.preventAppnavPlaceholder) {\n this.appnavPlaceholderElement.style.height = `${this.appnavHeight}px`;\n document.documentElement.style.setProperty('--stzh-header-sticky-appnav-height', `${this.appnavHeight}px`);\n } else {\n this.appnavPlaceholderElement.style.height = \"0px\";\n document.documentElement.style.setProperty('--stzh-header-sticky-appnav-height', \"0px\");\n }\n });\n\n this.scrollListener();\n });\n }\n\n private updateMetabarPosition() {\n if (!this.metabarElement || this.stickyDisabled) {\n return;\n }\n\n if (CSS && CSS.supports && CSS.supports(\"position\", \"sticky\")) {\n return;\n }\n\n if (this.isSmallheader && this.headerOverlap > 0 && !this.sticky && !this.stickyClosing) {\n if (this.headerOverlap < this.mainHeight - this.metabarHeight) {\n this.stickyMetabar = true;\n this.stickyMetabarEnd = false;\n this.metabarTransform = \"translateY(0)\";\n } else {\n this.stickyMetabar = false;\n this.stickyMetabarEnd = true;\n this.metabarTransform = `translateY(${this.logobarHeight}px)`;\n }\n } else {\n this.stickyMetabar = false;\n this.stickyMetabarEnd = false;\n this.metabarTransform = \"translateY(0)\";\n }\n }\n\n connectedCallback() {\n this.appnavPlaceholderElement = document.createElement(\"div\");\n this.element.parentElement.appendChild(this.appnavPlaceholderElement);\n\n this.resizeObserver = new ResizeObserver(this.handleResize);\n this.resizeObserver.observe(this.element);\n }\n\n disconnectedCallback() {\n this.appnavPlaceholderElement.parentElement.removeChild(this.appnavPlaceholderElement);\n\n if (this.resizeObserver) {\n this.resizeObserver.disconnect();\n }\n }\n\n render() {\n const navSlotUsed: boolean = hasSlot(this.element, \"nav\");\n const loginSlotUsed: boolean = hasSlot(this.element, \"login\");\n const appnavSlotUsed: boolean = hasSlot(this.element, \"appnav\");\n const langNavSlotUsed = hasSlot(this.element, \"langnav\");\n\n const classes = {\n \"header\": true,\n \"header--is-sticky-disabled\": this.stickyDisabled,\n \"header--sticky\": this.sticky,\n \"header--sticky-closing\": this.stickyClosing,\n \"header--hide-logo\": this.hideLogo,\n \"header--sticky-metabar\": this.stickyMetabar,\n \"header--sticky-metabar-end\": this.stickyMetabarEnd,\n \"header--has-metabar-stay\": this.metabarStay,\n \"header--has-empty-metabar-mobile\": !loginSlotUsed, // check for searchfield and burger slot when implemented\n \"header--has-empty-metabar\": !loginSlotUsed && !langNavSlotUsed && !navSlotUsed,\n \"header--has-appnav\": appnavSlotUsed\n };\n\n return (\n <Host>\n <div style={{paddingTop: `${this.paddingTop}px`}} class={classes}>\n <div\n class=\"header__inner\"\n ref={(el) => (this.innerElement = el as HTMLDivElement)}\n >\n <div\n class=\"header__main\"\n ref={(el) => (this.mainElement = el as HTMLDivElement)}\n >\n <div\n class=\"header__logobar\"\n ref={(el) => (this.logobarElement = el as HTMLDivElement)}\n >\n <div class=\"header__logobar-logo\">\n <a href={this.href} class=\"header__logo-link\" s-object-id={this.logoAnalyticsId || \"Header Logo\"}>\n <slot name=\"logo\"></slot>\n </a>\n </div>\n </div>\n\n <div\n class=\"header__metabar\"\n style={{transform: this.metabarTransform}}\n ref={(el) => (this.metabarElement = el as HTMLDivElement)}\n >\n <div class=\"header__metabar-inner\">\n <div class=\"header__metabar-nav\">\n <slot name=\"nav\"></slot>\n </div>\n <div class=\"header__metabar-login\">\n <slot name=\"login\"></slot>\n </div>\n <div class=\"header__metabar-langnav\">\n <slot name=\"langnav\"></slot>\n </div>\n </div>\n </div>\n </div>\n\n <div\n class=\"header__appnav\"\n ref={(el) => (this.appnavElement = el as HTMLDivElement)}\n >\n <div class=\"header__appnav-inner\">\n <slot name=\"appnav\"></slot>\n </div>\n </div>\n </div>\n </div>\n </Host>\n );\n }\n}\n"]}
|
|
@@ -11,7 +11,7 @@ import { Default as Langnav_Default } from '../stzh-langnav/stzh-langnav.stories
|
|
|
11
11
|
const COMPONENT_NAME = 'stzh-header';
|
|
12
12
|
const story = createComponentStory(COMPONENT_NAME);
|
|
13
13
|
const substoryPopover = createComponentStory('stzh-popover');
|
|
14
|
-
const substoryLogo = createComponentStory('img');
|
|
14
|
+
const substoryLogo = createComponentStory('img, stzh-logo');
|
|
15
15
|
|
|
16
16
|
const SUBTEMPLATE_DUMMY_TEXT = `
|
|
17
17
|
<div>
|
|
@@ -67,10 +67,12 @@ const SUBTEMPLATE_POPOVER = `
|
|
|
67
67
|
|
|
68
68
|
const SUBTEMPLATE_LOGO = ({ _logo = 'media/logo/stzh-default.svg' }) => {
|
|
69
69
|
return `
|
|
70
|
-
|
|
70
|
+
${!_logo.includes('/')
|
|
71
|
+
? `<stzh-logo type=${_logo}></stzh-logo>`
|
|
72
|
+
: `<img
|
|
71
73
|
src=${_logo}
|
|
72
74
|
alt="Logo City Zürich, go to homepage"
|
|
73
|
-
|
|
75
|
+
/>`}
|
|
74
76
|
`;
|
|
75
77
|
}
|
|
76
78
|
|
|
@@ -55,7 +55,7 @@ export class StzhHeading {
|
|
|
55
55
|
"mutable": false,
|
|
56
56
|
"complexType": {
|
|
57
57
|
"original": "Font.Curves | \"auto\"",
|
|
58
|
-
"resolved": "\"auto\" | \"caption\" | \"default\" | \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"hero\" | \"p1\" | \"p2\"",
|
|
58
|
+
"resolved": "\"auto\" | \"caption\" | \"default\" | \"h1\" | \"h2\" | \"h3\" | \"h4\" | \"hero\" | \"none\" | \"p1\" | \"p2\"",
|
|
59
59
|
"references": {
|
|
60
60
|
"Font": {
|
|
61
61
|
"location": "import",
|
|
@@ -5,11 +5,11 @@ import { Host, h, } from "@stencil/core";
|
|
|
5
5
|
export class StzhHspace {
|
|
6
6
|
constructor() {
|
|
7
7
|
this.curve = "none";
|
|
8
|
-
this.size =
|
|
9
|
-
this.sizeSmall =
|
|
10
|
-
this.sizeMedium =
|
|
11
|
-
this.sizeLarge =
|
|
12
|
-
this.sizeUltra =
|
|
8
|
+
this.size = undefined;
|
|
9
|
+
this.sizeSmall = undefined;
|
|
10
|
+
this.sizeMedium = undefined;
|
|
11
|
+
this.sizeLarge = undefined;
|
|
12
|
+
this.sizeUltra = undefined;
|
|
13
13
|
this.justify = "start";
|
|
14
14
|
this.items = "start";
|
|
15
15
|
this.around = false;
|
|
@@ -59,7 +59,7 @@ export class StzhHspace {
|
|
|
59
59
|
"text": "Type of curve (see [Spacings docs page](/docs/tokens-spacings--docs#curves) for more info)."
|
|
60
60
|
},
|
|
61
61
|
"attribute": "curve",
|
|
62
|
-
"reflect":
|
|
62
|
+
"reflect": true,
|
|
63
63
|
"defaultValue": "\"none\""
|
|
64
64
|
},
|
|
65
65
|
"size": {
|
|
@@ -83,8 +83,7 @@ export class StzhHspace {
|
|
|
83
83
|
"text": "Type of size (see [Spacings docs page](/docs/tokens-spacings--docs#values) for more info)."
|
|
84
84
|
},
|
|
85
85
|
"attribute": "size",
|
|
86
|
-
"reflect":
|
|
87
|
-
"defaultValue": "\"inherit\""
|
|
86
|
+
"reflect": true
|
|
88
87
|
},
|
|
89
88
|
"sizeSmall": {
|
|
90
89
|
"type": "string",
|
|
@@ -107,8 +106,7 @@ export class StzhHspace {
|
|
|
107
106
|
"text": "Type of size above small breakpoint (see [Spacings docs page](/docs/tokens-spacings--docs#values) for more info)."
|
|
108
107
|
},
|
|
109
108
|
"attribute": "size-small",
|
|
110
|
-
"reflect":
|
|
111
|
-
"defaultValue": "\"inherit\""
|
|
109
|
+
"reflect": true
|
|
112
110
|
},
|
|
113
111
|
"sizeMedium": {
|
|
114
112
|
"type": "string",
|
|
@@ -131,8 +129,7 @@ export class StzhHspace {
|
|
|
131
129
|
"text": "Type of size above medium breakpoint (see [Spacings docs page](/docs/tokens-spacings--docs#values) for more info)."
|
|
132
130
|
},
|
|
133
131
|
"attribute": "size-medium",
|
|
134
|
-
"reflect":
|
|
135
|
-
"defaultValue": "\"inherit\""
|
|
132
|
+
"reflect": true
|
|
136
133
|
},
|
|
137
134
|
"sizeLarge": {
|
|
138
135
|
"type": "string",
|
|
@@ -155,8 +152,7 @@ export class StzhHspace {
|
|
|
155
152
|
"text": "Type of size above large breakpoint (see [Spacings docs page](/docs/tokens-spacings--docs#values) for more info)."
|
|
156
153
|
},
|
|
157
154
|
"attribute": "size-large",
|
|
158
|
-
"reflect":
|
|
159
|
-
"defaultValue": "\"inherit\""
|
|
155
|
+
"reflect": true
|
|
160
156
|
},
|
|
161
157
|
"sizeUltra": {
|
|
162
158
|
"type": "string",
|
|
@@ -179,8 +175,7 @@ export class StzhHspace {
|
|
|
179
175
|
"text": "Type of size above ultra breakpoint (see [Spacings docs page](/docs/tokens-spacings--docs#values) for more info)."
|
|
180
176
|
},
|
|
181
177
|
"attribute": "size-ultra",
|
|
182
|
-
"reflect":
|
|
183
|
-
"defaultValue": "\"inherit\""
|
|
178
|
+
"reflect": true
|
|
184
179
|
},
|
|
185
180
|
"justify": {
|
|
186
181
|
"type": "string",
|
|
@@ -203,7 +198,7 @@ export class StzhHspace {
|
|
|
203
198
|
"text": "Alignment"
|
|
204
199
|
},
|
|
205
200
|
"attribute": "justify",
|
|
206
|
-
"reflect":
|
|
201
|
+
"reflect": true,
|
|
207
202
|
"defaultValue": "\"start\""
|
|
208
203
|
},
|
|
209
204
|
"items": {
|
|
@@ -227,7 +222,7 @@ export class StzhHspace {
|
|
|
227
222
|
"text": "Control how cells items are positioned along a container's cross axis"
|
|
228
223
|
},
|
|
229
224
|
"attribute": "items",
|
|
230
|
-
"reflect":
|
|
225
|
+
"reflect": true,
|
|
231
226
|
"defaultValue": "\"start\""
|
|
232
227
|
},
|
|
233
228
|
"around": {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stzh-hspace.js","sourceRoot":"","sources":["../../../../src/components/stzh-hspace/stzh-hspace.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,IAAI,EACJ,CAAC,EACD,IAAI,GACL,MAAM,eAAe,CAAC;AAIvB;;GAEG;AAMH,MAAM,OAAO,UAAU;;
|
|
1
|
+
{"version":3,"file":"stzh-hspace.js","sourceRoot":"","sources":["../../../../src/components/stzh-hspace/stzh-hspace.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,IAAI,EACJ,CAAC,EACD,IAAI,GACL,MAAM,eAAe,CAAC;AAIvB;;GAEG;AAMH,MAAM,OAAO,UAAU;;iBAE0B,MAAM;;;;;;mBAcF,OAAO;iBAGX,OAAO;kBAGX,KAAK;sBAGD,KAAK;uBAGJ,KAAK;kBAGuB,MAAM;;EAElF,MAAM;IACJ,OAAO,CACL,EAAC,IAAI;MACH,WACE,KAAK,EAAE;UACL,aAAa,EAAE,IAAI;UACnB,CAAC,wBAAwB,IAAI,CAAC,OAAO,EAAE,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,OAAO;UACxD,CAAC,sBAAsB,IAAI,CAAC,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,KAAK;SACnD;QAED,eAAa,CACT,CACD,CACR,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {\n Component,\n Host,\n h,\n Prop,\n} from \"@stencil/core\";\n\nimport { Space, Layout } from \"../../index\";\n\n/**\n * @slot - Slot for any elements that should be horizontically spaced\n */\n@Component({\n tag: \"stzh-hspace\",\n styleUrl: \"stzh-hspace.scss\",\n shadow: true\n})\nexport class StzhHspace {\n /** Type of curve (see [Spacings docs page](/docs/tokens-spacings--docs#curves) for more info). */\n @Prop({ reflect: true }) curve: Space.Curves = \"none\";\n\n /** Type of size (see [Spacings docs page](/docs/tokens-spacings--docs#values) for more info). */\n @Prop({ reflect: true }) size: Space.Sizes;\n /** Type of size above small breakpoint (see [Spacings docs page](/docs/tokens-spacings--docs#values) for more info). */\n @Prop({ reflect: true }) sizeSmall: Space.Sizes;\n /** Type of size above medium breakpoint (see [Spacings docs page](/docs/tokens-spacings--docs#values) for more info). */\n @Prop({ reflect: true }) sizeMedium: Space.Sizes;\n /** Type of size above large breakpoint (see [Spacings docs page](/docs/tokens-spacings--docs#values) for more info). */\n @Prop({ reflect: true }) sizeLarge: Space.Sizes;\n /** Type of size above ultra breakpoint (see [Spacings docs page](/docs/tokens-spacings--docs#values) for more info). */\n @Prop({ reflect: true }) sizeUltra: Space.Sizes;\n\n /** Alignment */\n @Prop({ reflect: true }) justify: Layout.Justify = \"start\";\n\n /** Control how cells items are positioned along a container's cross axis */\n @Prop({ reflect: true }) items: Layout.Items = \"start\";\n\n /** Apply spacing to slotted elements (padding instead of margin) */\n @Prop({ reflect: true }) around: boolean = false;\n\n /** Apply spacing to slotted elements (padding instead of margin, only left) */\n @Prop({ reflect: true }) aroundLeft: boolean = false;\n\n /** Apply spacing to slotted elements (padding instead of margin, only right) */\n @Prop({ reflect: true }) aroundRight: boolean = false;\n\n /** Add border */\n @Prop({ reflect: true }) border: \"none\" | \"left\" | \"right\" | \"left-right\" = \"none\";\n\n render() {\n return (\n <Host>\n <div\n class={{\n \"stzh-hspace\": true,\n [`stzh-hspace--justify-${this.justify}`]: !!this.justify,\n [`stzh-hspace--items-${this.items}`]: !!this.items\n }}\n >\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n"]}
|
|
@@ -19,8 +19,6 @@ export class StzhImageComparison {
|
|
|
19
19
|
this.localization = undefined;
|
|
20
20
|
this.hintLeft = "";
|
|
21
21
|
this.hintRight = "";
|
|
22
|
-
this.caption = "";
|
|
23
|
-
this.copyright = "";
|
|
24
22
|
this.value = 50;
|
|
25
23
|
this.label = undefined;
|
|
26
24
|
this.a11yDescribedby = "";
|
|
@@ -109,42 +107,6 @@ export class StzhImageComparison {
|
|
|
109
107
|
"reflect": false,
|
|
110
108
|
"defaultValue": "\"\""
|
|
111
109
|
},
|
|
112
|
-
"caption": {
|
|
113
|
-
"type": "string",
|
|
114
|
-
"mutable": false,
|
|
115
|
-
"complexType": {
|
|
116
|
-
"original": "string",
|
|
117
|
-
"resolved": "string",
|
|
118
|
-
"references": {}
|
|
119
|
-
},
|
|
120
|
-
"required": false,
|
|
121
|
-
"optional": false,
|
|
122
|
-
"docs": {
|
|
123
|
-
"tags": [],
|
|
124
|
-
"text": "Caption"
|
|
125
|
-
},
|
|
126
|
-
"attribute": "caption",
|
|
127
|
-
"reflect": false,
|
|
128
|
-
"defaultValue": "\"\""
|
|
129
|
-
},
|
|
130
|
-
"copyright": {
|
|
131
|
-
"type": "string",
|
|
132
|
-
"mutable": false,
|
|
133
|
-
"complexType": {
|
|
134
|
-
"original": "string",
|
|
135
|
-
"resolved": "string",
|
|
136
|
-
"references": {}
|
|
137
|
-
},
|
|
138
|
-
"required": false,
|
|
139
|
-
"optional": false,
|
|
140
|
-
"docs": {
|
|
141
|
-
"tags": [],
|
|
142
|
-
"text": "Copyright"
|
|
143
|
-
},
|
|
144
|
-
"attribute": "copyright",
|
|
145
|
-
"reflect": false,
|
|
146
|
-
"defaultValue": "\"\""
|
|
147
|
-
},
|
|
148
110
|
"value": {
|
|
149
111
|
"type": "number",
|
|
150
112
|
"mutable": true,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stzh-imagecomparison.js","sourceRoot":"","sources":["../../../../src/components/stzh-imagecomparison/stzh-imagecomparison.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,IAAI,EACJ,OAAO,EACP,IAAI,EACJ,CAAC,EACD,KAAK,EAEN,MAAM,eAAe,CAAC;AAQvB;;;;;GAKG;AAQH,MAAM,OAAO,mBAAmB;;
|
|
1
|
+
{"version":3,"file":"stzh-imagecomparison.js","sourceRoot":"","sources":["../../../../src/components/stzh-imagecomparison/stzh-imagecomparison.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,IAAI,EAC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C,WAAK,KAAK,EAAC,mCAAmC,GAAO;YACrD,WAAK,KAAK,EAAC,2CAA2C;cACpD,iBACE,KAAK,EAAC,wCAAwC,EAC9C,IAAI,EAAC,YAAY,GACP;cACZ,iBACE,KAAK,EAAC,yCAAyC,EAC/C,IAAI,EAAC,aAAa,GACR,CACR;YAEN,aACE,IAAI,EAAC,OAAO,EACZ,KAAK,EAAC,+BAA+B,EACrC,GAAG,EAAC,GAAG,EACP,GAAG,EAAC,KAAK,EACT,GAAG,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,YAAY,GAAG,EAAsB,CAAC,EACzD,OAAO,EAAE,IAAI,CAAC,WAAW,GACzB,CACI;UAER,WAAK,KAAK,EAAC,oCAAoC;YAC7C,YAAM,KAAK,EAAC,iCAAiC,IAC1C,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,YAAM,IAAI,EAAC,WAAW,GAAQ,CAC1D;YACP,YAAM,KAAK,EAAC,kCAAkC,IAC3C,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,YAAM,IAAI,EAAC,YAAY,GAAQ,CAC7D,CACH,CACF,CACF,CACD,CACR,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { \n Component, \n Host, \n Element, \n Prop, \n h,\n Event,\n EventEmitter\n} from '@stencil/core';\n\nimport { \n StzhImagecomparisonChangeEvent,\n} from \"../../index\";\n\nimport { StzhImagecomparisonLocalizedText } from \"./stzh-imagecomparison.localization\"\n\n/**\n * @slot image-before - Slot for a before image\n * @slot image-after - Slot for a after image\n * @slot hint-left - Slot for a left image hint as alternative for attribute\n * @slot hint-right - Slot for a right image hint as alternative for attribute\n */\n\n@Component({\n tag: 'stzh-imagecomparison',\n styleUrl: 'stzh-imagecomparison.scss',\n scoped: true,\n})\n\nexport class StzhImageComparison {\n /** Translation strings. */\n @Prop() localization: StzhImagecomparisonLocalizedText;\n\n /** Hint left */\n @Prop() hintLeft: string = \"\";\n\n /** Hint right */\n @Prop() hintRight: string = \"\";\n\n /** Width of image before */\n @Prop({ mutable: true }) value: number = 50;\n\n /** Overwrite default label */\n @Prop() label: string;\n\n /** Id for element which describes the label */\n @Prop({ attribute: \"a11y-describedby\" }) a11yDescribedby: string = \"\";\n\n @Element() element: HTMLStzhImagecomparisonElement;\n\n /* Image comparison slider on change event */\n @Event() stzhChange: EventEmitter<StzhImagecomparisonChangeEvent>;\n \n private inputElement: HTMLInputElement;\n \n private handleInput = (event: InputEvent) => {\n let value = this.inputElement.value;\n this.value = Number(value);\n\n this.stzhChange.emit({ \n component: \"stzh-imagecomparison\",\n originalEvent: event,\n value: this.value\n });\n }\n\n async componentWillLoad() {\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"imagecomparison\");\n }\n } \n \n render() {\n const classes = {\n \"stzh-imagecomparison\": true,\n };\n\n return (\n <Host\n aria-roledescription={this.localization.label}\n style={{\n '--exposure': `${this.value.toString()}%`\n }}\n >\n <div class={classes}>\n <div class=\"stzh-imagecomparison__element\">\n <slot name=\"image-before\"></slot>\n <slot name=\"image-after\"></slot>\n\n <label\n class=\"stzh-imagecomparison__label\"\n aria-label={this.label || this.localization.label}\n aria-describedby={this.a11yDescribedby || null}\n >\n <div class=\"stzh-imagecomparison__slider-line\"></div>\n <div class=\"stzh-imagecomparison__slider-icon-wrapper\">\n <stzh-icon \n class=\"stzh-imagecomparison__slider-icon-left\" \n name=\"angle-left\">\n </stzh-icon>\n <stzh-icon \n class=\"stzh-imagecomparison__slider-icon-right\" \n name=\"angle-right\">\n </stzh-icon>\n </div>\n\n <input\n type=\"range\" \n class=\"stzh-imagecomparison__control\" \n min=\"0\" \n max=\"100\"\n ref={(el) => (this.inputElement = el as HTMLInputElement)}\n onInput={this.handleInput}\n />\n </label>\n\n <div class=\"stzh-imagecomparison__hint-wrapper\">\n <span class=\"stzh-imagecomparison__hint-left\">\n {this.hintLeft ? this.hintLeft : <slot name=\"hint-left\"></slot>}\n </span>\n <span class=\"stzh-imagecomparison__hint-right\">\n {this.hintRight ? this.hintRight : <slot name=\"hint-right\"></slot>}\n </span> \n </div>\n </div>\n </div> \n </Host>\n );\n }\n}\n\n"]}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
|
|
2
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
3
|
+
<!-- Generator: Adobe Illustrator 26.2.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
|
4
|
+
<svg width="133px" height="53px" version="1.1" id="Ebene_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
|
5
|
+
viewBox="0 0 133 53" style="enable-background:new 0 0 133 53;" xml:space="preserve">
|
|
6
|
+
<style type="text/css">
|
|
7
|
+
.st0{fill:#A51A0F;}
|
|
8
|
+
</style>
|
|
9
|
+
<g>
|
|
10
|
+
<path class="st0" d="M30.9,38.5H13.2l-3.8,10H1L18.3,4.5h7.5l17.3,43.9h-8.5L30.9,38.5z M28.2,31.1L22,15l-6.1,16.2H28.2z"/>
|
|
11
|
+
<path class="st0" d="M91.1,26.5c0,13.1-9.5,23-22.4,23c-12.9,0-22.4-9.9-22.4-23s9.5-23,22.4-23C81.6,3.5,91.1,13.4,91.1,26.5z
|
|
12
|
+
M68.7,41.9c8.4,0,14.4-6.5,14.4-15.4s-6-15.4-14.4-15.4c-8.4,0-14.4,6.5-14.4,15.4S60.3,41.9,68.7,41.9z"/>
|
|
13
|
+
<path class="st0" d="M132.1,48.5H97.5v-7.2L121.1,12H98.2V4.5h33v7.1L107.7,41h24.5V48.5z"/>
|
|
14
|
+
</g>
|
|
15
|
+
</svg>
|