@oiz/stzh-components 2.10.0-beta → 2.10.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-1c49bef9.js → app-globals-4b0a6e5e.js} +2 -2
- package/dist/cjs/{app-globals-1c49bef9.js.map → app-globals-4b0a6e5e.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-item.cjs.entry.js +1 -1
- package/dist/cjs/stzh-accordion-item.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-badge_3.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-carousel.cjs.entry.js +35 -11
- package/dist/cjs/stzh-carousel.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-cell.cjs.entry.js +2 -2
- package/dist/cjs/stzh-cell.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-components.cjs.js +2 -2
- package/dist/cjs/stzh-container.cjs.entry.js +9 -2
- package/dist/cjs/stzh-container.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-details.cjs.entry.js +1 -1
- package/dist/cjs/stzh-details.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/stzh-dropdown.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-figure.cjs.entry.js +10 -3
- package/dist/cjs/stzh-figure.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-footer.cjs.entry.js +1 -1
- package/dist/cjs/stzh-footer.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-header.cjs.entry.js +1 -1
- package/dist/cjs/stzh-header.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-panorama.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-print.cjs.entry.js +52 -0
- package/dist/cjs/stzh-print.cjs.entry.js.map +1 -0
- package/dist/cjs/stzh-ratio.cjs.entry.js +5 -1
- package/dist/cjs/stzh-ratio.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-scrollup.cjs.entry.js +52 -0
- package/dist/cjs/stzh-scrollup.cjs.entry.js.map +1 -0
- package/dist/cjs/stzh-skin-portal-mitwirken.cjs.entry.js +1 -1
- package/dist/cjs/stzh-skin-portal-mitwirken.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-skiplink.cjs.entry.js +38 -1
- package/dist/cjs/stzh-skiplink.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-vbz-carousel.cjs.entry.js +51 -0
- package/dist/cjs/stzh-vbz-carousel.cjs.entry.js.map +1 -0
- package/dist/collection/collection-manifest.json +3 -0
- package/dist/collection/components/stzh-accordion/stzh-accordion.css +3 -0
- package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.css +10 -0
- package/dist/collection/components/stzh-actions/stzh-actions.css +3 -0
- package/dist/collection/components/stzh-actionset/stzh-actionset.css +3 -0
- package/dist/collection/components/stzh-amount/stzh-amount.css +3 -0
- package/dist/collection/components/stzh-anchornav/stzh-anchornav.css +3 -0
- package/dist/collection/components/stzh-appnav/stzh-appnav.css +3 -0
- package/dist/collection/components/stzh-appointments/stzh-appointments.css +3 -0
- package/dist/collection/components/stzh-audio/stzh-audio.css +3 -0
- package/dist/collection/components/stzh-badge/stzh-badge.css +3 -0
- package/dist/collection/components/stzh-button/stzh-button.css +3 -0
- package/dist/collection/components/stzh-button/stzh-button.js +1 -1
- package/dist/collection/components/stzh-button/stzh-button.js.map +1 -1
- package/dist/collection/components/stzh-buttongroup/stzh-buttongroup.css +3 -0
- package/dist/collection/components/stzh-calendar/stzh-calendar.css +3 -0
- package/dist/collection/components/stzh-card/stzh-card.css +3 -0
- package/dist/collection/components/stzh-card-list/stzh-card-list.css +3 -0
- package/dist/collection/components/stzh-carousel/stzh-carousel.css +37 -24
- package/dist/collection/components/stzh-carousel/stzh-carousel.js +148 -12
- package/dist/collection/components/stzh-carousel/stzh-carousel.js.map +1 -1
- package/dist/collection/components/stzh-carousel/stzh-carousel.stories.js +50 -50
- package/dist/collection/components/stzh-cell/stzh-cell.css +11 -19
- package/dist/collection/components/stzh-cell/stzh-cell.js +8 -14
- package/dist/collection/components/stzh-cell/stzh-cell.js.map +1 -1
- package/dist/collection/components/stzh-chart/stzh-chart.css +3 -0
- package/dist/collection/components/stzh-checkbox/stzh-checkbox.css +3 -0
- package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.css +3 -0
- package/dist/collection/components/stzh-chip/stzh-chip.css +3 -0
- package/dist/collection/components/stzh-chip-select/stzh-chip-select.css +3 -0
- package/dist/collection/components/stzh-clamp/stzh-clamp.css +3 -0
- package/dist/collection/components/stzh-contact/stzh-contact.css +3 -0
- package/dist/collection/components/stzh-container/stzh-container.css +22 -5
- package/dist/collection/components/stzh-container/stzh-container.js +51 -2
- package/dist/collection/components/stzh-container/stzh-container.js.map +1 -1
- package/dist/collection/components/stzh-cspace/stzh-cspace.css +1271 -9
- package/dist/collection/components/stzh-datalist/stzh-datalist.css +3 -0
- package/dist/collection/components/stzh-datalist-item/stzh-datalist-item.css +3 -0
- package/dist/collection/components/stzh-datamessagelist/stzh-datamessagelist.css +3 -0
- package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.css +3 -0
- package/dist/collection/components/stzh-datatable/stzh-datatable.css +3 -0
- package/dist/collection/components/stzh-datepicker/stzh-datepicker.css +3 -0
- package/dist/collection/components/stzh-details/stzh-details.css +10 -0
- package/dist/collection/components/stzh-dialog/stzh-dialog.css +3 -0
- package/dist/collection/components/stzh-dropdown/stzh-dropdown.css +6 -0
- package/dist/collection/components/stzh-fieldset/stzh-fieldset.css +3 -0
- package/dist/collection/components/stzh-figure/stzh-figure.css +18 -6
- package/dist/collection/components/stzh-figure/stzh-figure.js +47 -2
- package/dist/collection/components/stzh-figure/stzh-figure.js.map +1 -1
- package/dist/collection/components/stzh-figure/stzh-figure.stories.js +10 -0
- package/dist/collection/components/stzh-flyingfocus/stzh-flyingfocus.css +3 -0
- package/dist/collection/components/stzh-footer/stzh-footer.css +13 -5
- package/dist/collection/components/stzh-ghettobox/stzh-ghettobox.css +3 -0
- package/dist/collection/components/stzh-header/stzh-header.css +33 -15
- package/dist/collection/components/stzh-header/stzh-header.stories.js +7 -7
- package/dist/collection/components/stzh-heading/stzh-heading.css +3 -0
- package/dist/collection/components/stzh-hr/stzh-hr.css +3 -0
- package/dist/collection/components/stzh-hspace/stzh-hspace.css +3 -0
- package/dist/collection/components/stzh-icon/stzh-icon.css +3 -0
- package/dist/collection/components/stzh-icon-sprite/stzh-icon-sprite.css +3 -0
- package/dist/collection/components/stzh-iframe/stzh-iframe.css +3 -0
- package/dist/collection/components/stzh-input/stzh-input.css +3 -0
- package/dist/collection/components/stzh-invert/stzh-invert.css +3 -0
- package/dist/collection/components/stzh-langnav/stzh-langnav.css +3 -0
- package/dist/collection/components/stzh-link/stzh-link.css +3 -0
- package/dist/collection/components/stzh-list/stzh-list.css +3 -0
- package/dist/collection/components/stzh-list-item/stzh-list-item.css +3 -0
- package/dist/collection/components/stzh-loader/stzh-loader.css +3 -0
- package/dist/collection/components/stzh-loadingbar/stzh-loadingbar.css +3 -0
- package/dist/collection/components/stzh-menu/stzh-menu.css +3 -0
- package/dist/collection/components/stzh-menu-item/stzh-menu-item.css +3 -0
- package/dist/collection/components/stzh-message/stzh-message.css +3 -0
- package/dist/collection/components/stzh-metanav/stzh-metanav.css +3 -0
- package/dist/collection/components/stzh-microsite-teaserlist/stzh-microsite-teaserlist.css +3 -0
- package/dist/collection/components/stzh-monthyearpicker/stzh-monthyearpicker.css +3 -0
- package/dist/collection/components/stzh-olmap/stzh-olmap.css +3 -0
- package/dist/collection/components/stzh-overlay/stzh-overlay.css +3 -0
- package/dist/collection/components/stzh-page-skiplinks/stzh-page-skiplinks.css +3 -0
- package/dist/collection/components/stzh-page-skiplinks/stzh-page-skiplinks.stories.js +2 -2
- package/dist/collection/components/stzh-pagebottom/stzh-pagebottom.css +3 -0
- package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.css +3 -0
- package/dist/collection/components/stzh-pagetitle-hero/stzh-pagetitle-hero.css +3 -0
- package/dist/collection/components/stzh-pagination/stzh-pagination.css +3 -0
- package/dist/collection/components/stzh-panorama/stzh-panorama.css +3 -0
- package/dist/collection/components/stzh-popover/stzh-popover.css +3 -0
- package/dist/collection/components/stzh-print/stzh-print.css +127 -0
- package/dist/collection/components/stzh-print/stzh-print.js +53 -0
- package/dist/collection/components/stzh-print/stzh-print.js.map +1 -0
- package/dist/collection/components/stzh-print/stzh-print.stories.js +43 -0
- package/dist/collection/components/stzh-progressbar/stzh-progressbar.css +3 -0
- package/dist/collection/components/stzh-progressbar-item/stzh-progressbar-item.css +3 -0
- package/dist/collection/components/stzh-radio/stzh-radio.css +3 -0
- package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.css +3 -0
- package/dist/collection/components/stzh-ratio/stzh-ratio.css +457 -21
- package/dist/collection/components/stzh-ratio/stzh-ratio.js +110 -4
- package/dist/collection/components/stzh-ratio/stzh-ratio.js.map +1 -1
- package/dist/collection/components/stzh-readspeaker/stzh-readspeaker.css +3 -0
- package/dist/collection/components/stzh-richtext/stzh-richtext.css +3 -0
- package/dist/collection/components/stzh-row/stzh-row.css +3 -0
- package/dist/collection/components/stzh-saptcha/stzh-saptcha.css +3 -0
- package/dist/collection/components/stzh-scrollup/stzh-scrollup.css +127 -0
- package/dist/collection/components/stzh-scrollup/stzh-scrollup.js +53 -0
- package/dist/collection/components/stzh-scrollup/stzh-scrollup.js.map +1 -0
- package/dist/collection/components/stzh-scrollup/stzh-scrollup.stories.js +99 -0
- package/dist/collection/components/stzh-section/stzh-section.css +3 -0
- package/dist/collection/components/stzh-share/stzh-share.css +3 -0
- package/dist/collection/components/stzh-show/stzh-show.css +3 -0
- package/dist/collection/components/stzh-sitemap/stzh-sitemap.css +3 -0
- package/dist/collection/components/stzh-skin-portal-mitwirken/stzh-skin-portal-mitwirken.css +25 -0
- package/dist/collection/components/stzh-skin-storybook-preview/stzh-skin-storybook-preview.css +3 -0
- package/dist/collection/components/stzh-skiplink/stzh-skiplink.css +3 -0
- package/dist/collection/components/stzh-skiplink/stzh-skiplink.js +81 -1
- package/dist/collection/components/stzh-skiplink/stzh-skiplink.js.map +1 -1
- package/dist/collection/components/stzh-skiplink/stzh-skiplink.stories.js +1 -1
- package/dist/collection/components/stzh-sortable/stzh-sortable.css +3 -0
- package/dist/collection/components/stzh-space/stzh-space.css +3 -0
- package/dist/collection/components/stzh-status/stzh-status.css +3 -0
- package/dist/collection/components/stzh-sticky/stzh-sticky.css +3 -0
- package/dist/collection/components/stzh-table/stzh-table.css +3 -0
- package/dist/collection/components/stzh-text/stzh-text.css +3 -0
- package/dist/collection/components/stzh-textandimage/stzh-textandimage.css +3 -0
- package/dist/collection/components/stzh-timeline/stzh-timeline.css +3 -0
- package/dist/collection/components/stzh-timeline-item/stzh-timeline-item.css +3 -0
- package/dist/collection/components/stzh-timepicker/stzh-timepicker.css +3 -0
- package/dist/collection/components/stzh-toast/stzh-toast.css +3 -0
- package/dist/collection/components/stzh-toastbar/stzh-toastbar.css +3 -0
- package/dist/collection/components/stzh-toggle/stzh-toggle.css +3 -0
- package/dist/collection/components/stzh-tooltip/stzh-tooltip.css +3 -0
- package/dist/collection/components/stzh-upload/stzh-upload.css +3 -0
- package/dist/collection/components/stzh-vbz-carousel/stzh-vbz-carousel.css +142 -0
- package/dist/collection/components/stzh-vbz-carousel/stzh-vbz-carousel.js +76 -0
- package/dist/collection/components/stzh-vbz-carousel/stzh-vbz-carousel.js.map +1 -0
- package/dist/collection/components/stzh-vbz-carousel/stzh-vbz-carousel.stories.js +52 -0
- package/dist/collection/components/stzh-vbz-linechip/stzh-vbz-linechip.css +3 -0
- package/dist/collection/components/stzh-vbz-majorticker/stzh-vbz-majorticker.css +3 -0
- package/dist/collection/components/stzh-vbz-ticker/stzh-vbz-ticker.css +3 -0
- package/dist/collection/components/stzh-visuallyhidden/stzh-visuallyhidden.css +3 -0
- package/dist/collection/components/stzh-vspace/stzh-vspace.css +3 -0
- package/dist/collection/components/stzh-youtube/stzh-youtube.css +3 -0
- package/dist/collection/index.js.map +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/index2.js.map +1 -1
- package/dist/components/stzh-accordion-item.js +1 -1
- package/dist/components/stzh-accordion-item.js.map +1 -1
- package/dist/components/stzh-button2.js.map +1 -1
- package/dist/components/stzh-carousel.js +1 -579
- package/dist/components/stzh-carousel.js.map +1 -1
- package/dist/components/stzh-carousel2.js +615 -0
- package/dist/components/stzh-carousel2.js.map +1 -0
- package/dist/components/stzh-cell.js +3 -3
- package/dist/components/stzh-cell.js.map +1 -1
- package/dist/components/stzh-container.js +13 -3
- package/dist/components/stzh-container.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-details.js +1 -1
- package/dist/components/stzh-details.js.map +1 -1
- package/dist/components/stzh-dropdown2.js +1 -1
- package/dist/components/stzh-dropdown2.js.map +1 -1
- package/dist/components/stzh-figure2.js +12 -3
- package/dist/components/stzh-figure2.js.map +1 -1
- package/dist/components/stzh-footer.js +1 -1
- package/dist/components/stzh-footer.js.map +1 -1
- package/dist/components/stzh-header.js +1 -1
- package/dist/components/stzh-header.js.map +1 -1
- package/dist/components/stzh-panorama.js.map +1 -1
- package/dist/components/stzh-print.d.ts +11 -0
- package/dist/components/stzh-print.js +64 -0
- package/dist/components/stzh-print.js.map +1 -0
- package/dist/components/stzh-ratio2.js +10 -2
- package/dist/components/stzh-ratio2.js.map +1 -1
- package/dist/components/stzh-scrollup.d.ts +11 -0
- package/dist/components/stzh-scrollup.js +64 -0
- package/dist/components/stzh-scrollup.js.map +1 -0
- package/dist/components/stzh-skin-portal-mitwirken.js +1 -1
- package/dist/components/stzh-skin-portal-mitwirken.js.map +1 -1
- package/dist/components/stzh-skiplink.js +39 -2
- package/dist/components/stzh-skiplink.js.map +1 -1
- package/dist/components/stzh-vbz-carousel.d.ts +11 -0
- package/dist/components/stzh-vbz-carousel.js +72 -0
- package/dist/components/stzh-vbz-carousel.js.map +1 -0
- package/dist/esm/{app-globals-503e5649.js → app-globals-fecef0e2.js} +2 -2
- package/dist/esm/{app-globals-503e5649.js.map → app-globals-fecef0e2.js.map} +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/stzh-accordion-item.entry.js +1 -1
- package/dist/esm/stzh-accordion-item.entry.js.map +1 -1
- package/dist/esm/stzh-badge_3.entry.js.map +1 -1
- package/dist/esm/stzh-carousel.entry.js +35 -11
- package/dist/esm/stzh-carousel.entry.js.map +1 -1
- package/dist/esm/stzh-cell.entry.js +2 -2
- package/dist/esm/stzh-cell.entry.js.map +1 -1
- package/dist/esm/stzh-components.js +2 -2
- package/dist/esm/stzh-container.entry.js +9 -2
- package/dist/esm/stzh-container.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-details.entry.js +1 -1
- package/dist/esm/stzh-details.entry.js.map +1 -1
- package/dist/esm/stzh-dropdown.entry.js +1 -1
- package/dist/esm/stzh-dropdown.entry.js.map +1 -1
- package/dist/esm/stzh-figure.entry.js +10 -3
- package/dist/esm/stzh-figure.entry.js.map +1 -1
- package/dist/esm/stzh-footer.entry.js +1 -1
- package/dist/esm/stzh-footer.entry.js.map +1 -1
- package/dist/esm/stzh-header.entry.js +1 -1
- package/dist/esm/stzh-header.entry.js.map +1 -1
- package/dist/esm/stzh-panorama.entry.js.map +1 -1
- package/dist/esm/stzh-print.entry.js +48 -0
- package/dist/esm/stzh-print.entry.js.map +1 -0
- package/dist/esm/stzh-ratio.entry.js +5 -1
- package/dist/esm/stzh-ratio.entry.js.map +1 -1
- package/dist/esm/stzh-scrollup.entry.js +48 -0
- package/dist/esm/stzh-scrollup.entry.js.map +1 -0
- package/dist/esm/stzh-skin-portal-mitwirken.entry.js +1 -1
- package/dist/esm/stzh-skin-portal-mitwirken.entry.js.map +1 -1
- package/dist/esm/stzh-skiplink.entry.js +39 -2
- package/dist/esm/stzh-skiplink.entry.js.map +1 -1
- package/dist/esm/stzh-vbz-carousel.entry.js +47 -0
- package/dist/esm/stzh-vbz-carousel.entry.js.map +1 -0
- package/dist/esm-es5/{app-globals-503e5649.js → app-globals-fecef0e2.js} +2 -2
- package/dist/esm-es5/{app-globals-503e5649.js.map → app-globals-fecef0e2.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-accordion-item.entry.js +1 -1
- package/dist/esm-es5/stzh-accordion-item.entry.js.map +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-components.js +1 -1
- package/dist/esm-es5/stzh-components.js.map +1 -1
- package/dist/esm-es5/stzh-container.entry.js +1 -1
- package/dist/esm-es5/stzh-container.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-details.entry.js +1 -1
- package/dist/esm-es5/stzh-details.entry.js.map +1 -1
- package/dist/esm-es5/stzh-dropdown.entry.js +1 -1
- package/dist/esm-es5/stzh-dropdown.entry.js.map +1 -1
- package/dist/esm-es5/stzh-figure.entry.js +1 -1
- package/dist/esm-es5/stzh-figure.entry.js.map +1 -1
- 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-header.entry.js +1 -1
- package/dist/esm-es5/stzh-header.entry.js.map +1 -1
- package/dist/esm-es5/stzh-panorama.entry.js.map +1 -1
- package/dist/esm-es5/stzh-print.entry.js +2 -0
- package/dist/esm-es5/stzh-print.entry.js.map +1 -0
- package/dist/esm-es5/stzh-ratio.entry.js +1 -1
- package/dist/esm-es5/stzh-ratio.entry.js.map +1 -1
- package/dist/esm-es5/stzh-scrollup.entry.js +2 -0
- package/dist/esm-es5/stzh-scrollup.entry.js.map +1 -0
- package/dist/esm-es5/stzh-skin-portal-mitwirken.entry.js +1 -1
- package/dist/esm-es5/stzh-skin-portal-mitwirken.entry.js.map +1 -1
- package/dist/esm-es5/stzh-skiplink.entry.js +1 -1
- package/dist/esm-es5/stzh-skiplink.entry.js.map +1 -1
- package/dist/esm-es5/stzh-vbz-carousel.entry.js +2 -0
- package/dist/esm-es5/stzh-vbz-carousel.entry.js.map +1 -0
- package/dist/stzh-components/index.esm.js.map +1 -1
- package/dist/stzh-components/p-0bb08043.system.js.map +1 -1
- package/dist/stzh-components/{p-42d27a5d.system.entry.js → p-0d654519.system.entry.js} +2 -2
- package/dist/stzh-components/{p-42d27a5d.system.entry.js.map → p-0d654519.system.entry.js.map} +1 -1
- package/dist/stzh-components/p-0dcbb483.system.entry.js.map +1 -1
- package/dist/stzh-components/p-0f3f22c8.entry.js +2 -0
- package/dist/stzh-components/p-0f3f22c8.entry.js.map +1 -0
- package/dist/stzh-components/p-25bfad8b.entry.js +2 -0
- package/dist/stzh-components/p-25bfad8b.entry.js.map +1 -0
- package/dist/stzh-components/p-28ae4569.entry.js +2 -0
- package/dist/stzh-components/p-28ae4569.entry.js.map +1 -0
- package/dist/stzh-components/p-35de63a8.entry.js +2 -0
- package/dist/stzh-components/p-35de63a8.entry.js.map +1 -0
- package/dist/stzh-components/p-37fc4785.system.entry.js +2 -0
- package/dist/stzh-components/p-37fc4785.system.entry.js.map +1 -0
- package/dist/stzh-components/{p-6b86b394.entry.js → p-390c4a4b.entry.js} +4 -4
- package/dist/stzh-components/{p-6b86b394.entry.js.map → p-390c4a4b.entry.js.map} +1 -1
- package/dist/stzh-components/p-491ae21b.entry.js.map +1 -1
- package/dist/stzh-components/p-4b7f4e66.entry.js +2 -0
- package/dist/stzh-components/p-4b7f4e66.entry.js.map +1 -0
- package/dist/stzh-components/p-4d975c00.entry.js +2 -0
- package/dist/stzh-components/{p-18402a84.entry.js.map → p-4d975c00.entry.js.map} +1 -1
- package/dist/stzh-components/p-531fd43a.entry.js +2 -0
- package/dist/stzh-components/p-531fd43a.entry.js.map +1 -0
- package/dist/stzh-components/p-5f1338aa.system.entry.js.map +1 -1
- package/dist/stzh-components/p-64217de4.system.entry.js +2 -0
- package/dist/stzh-components/p-64217de4.system.entry.js.map +1 -0
- package/dist/stzh-components/p-6858fb1c.entry.js +2 -0
- package/dist/stzh-components/p-6858fb1c.entry.js.map +1 -0
- package/dist/stzh-components/p-6c9e992d.entry.js +2 -0
- package/dist/stzh-components/p-6c9e992d.entry.js.map +1 -0
- package/dist/stzh-components/p-70680746.entry.js +2 -0
- package/dist/stzh-components/p-70680746.entry.js.map +1 -0
- package/dist/stzh-components/p-81aee661.system.entry.js +2 -0
- package/dist/stzh-components/{p-1d8dbb06.system.entry.js.map → p-81aee661.system.entry.js.map} +1 -1
- package/dist/stzh-components/p-83e30e85.system.entry.js +2 -0
- package/dist/stzh-components/p-83e30e85.system.entry.js.map +1 -0
- package/dist/stzh-components/p-844a2406.system.entry.js +2 -0
- package/dist/stzh-components/p-844a2406.system.entry.js.map +1 -0
- package/dist/stzh-components/p-8c26e8c9.entry.js +2 -0
- package/dist/stzh-components/{p-a8f684d4.entry.js.map → p-8c26e8c9.entry.js.map} +1 -1
- package/dist/stzh-components/p-8f9dc890.system.entry.js +2 -0
- package/dist/stzh-components/p-8f9dc890.system.entry.js.map +1 -0
- package/dist/stzh-components/p-9790b917.entry.js +2 -0
- package/dist/stzh-components/p-9790b917.entry.js.map +1 -0
- package/dist/stzh-components/p-a2a68a9d.system.entry.js +2 -0
- package/dist/stzh-components/p-a2a68a9d.system.entry.js.map +1 -0
- package/dist/stzh-components/p-b1d5d2df.system.entry.js +2 -0
- package/dist/stzh-components/p-b1d5d2df.system.entry.js.map +1 -0
- package/dist/stzh-components/p-be975e7b.system.js +2 -0
- package/dist/stzh-components/{p-5fce4cad.system.js.map → p-be975e7b.system.js.map} +1 -1
- package/dist/stzh-components/{p-a12b9320.entry.js → p-bf106d8e.entry.js} +2 -2
- package/dist/stzh-components/p-bf106d8e.entry.js.map +1 -0
- package/dist/stzh-components/p-c6e46a21.entry.js.map +1 -1
- package/dist/stzh-components/{p-902b3880.system.js → p-cce9517f.system.js} +2 -2
- package/dist/stzh-components/{p-902b3880.system.js.map → p-cce9517f.system.js.map} +1 -1
- package/dist/stzh-components/p-ce501c33.system.entry.js +2 -0
- package/dist/stzh-components/p-ce501c33.system.entry.js.map +1 -0
- package/dist/stzh-components/{p-8a9c656a.system.entry.js → p-d58e8330.system.entry.js} +2 -2
- package/dist/stzh-components/p-d58e8330.system.entry.js.map +1 -0
- package/dist/stzh-components/p-dfda6333.system.entry.js +2 -0
- package/dist/stzh-components/p-dfda6333.system.entry.js.map +1 -0
- package/dist/stzh-components/p-e03a82e6.system.entry.js +2 -0
- package/dist/stzh-components/{p-ff1cfbee.system.entry.js.map → p-e03a82e6.system.entry.js.map} +1 -1
- package/dist/stzh-components/p-e922df8b.system.entry.js +2 -0
- package/dist/stzh-components/{p-4b5bc7a0.system.entry.js.map → p-e922df8b.system.entry.js.map} +1 -1
- package/dist/stzh-components/p-ec8651cb.entry.js +2 -0
- package/dist/stzh-components/{p-346b8599.entry.js.map → p-ec8651cb.entry.js.map} +1 -1
- package/dist/stzh-components/{p-e11c28a1.js → p-ed41f495.js} +2 -2
- package/dist/stzh-components/{p-e11c28a1.js.map → p-ed41f495.js.map} +1 -1
- package/dist/stzh-components/p-ee8c7dc4.system.entry.js +2 -0
- package/dist/stzh-components/p-ee8c7dc4.system.entry.js.map +1 -0
- package/dist/stzh-components/p-f3ab9795.system.entry.js +2 -0
- package/dist/stzh-components/p-f3ab9795.system.entry.js.map +1 -0
- package/dist/stzh-components/p-fe31269f.entry.js +2 -0
- package/dist/stzh-components/p-fe31269f.entry.js.map +1 -0
- package/dist/stzh-components/stzh-components.css +22 -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-cell/stzh-cell.d.ts +2 -2
- package/dist/types/components/stzh-container/stzh-container.d.ts +4 -0
- package/dist/types/components.d.ts +186 -15
- package/dist/types/index.d.ts +10 -1
- package/dist/vscode-data.json +213 -24
- package/package.json +1 -1
- package/dist/stzh-components/p-061ede8b.entry.js +0 -2
- package/dist/stzh-components/p-061ede8b.entry.js.map +0 -1
- package/dist/stzh-components/p-086e9523.system.entry.js +0 -2
- package/dist/stzh-components/p-086e9523.system.entry.js.map +0 -1
- package/dist/stzh-components/p-18402a84.entry.js +0 -2
- package/dist/stzh-components/p-1ae561a5.system.entry.js +0 -2
- package/dist/stzh-components/p-1ae561a5.system.entry.js.map +0 -1
- package/dist/stzh-components/p-1c930dc5.entry.js +0 -2
- package/dist/stzh-components/p-1c930dc5.entry.js.map +0 -1
- package/dist/stzh-components/p-1d8dbb06.system.entry.js +0 -2
- package/dist/stzh-components/p-1edbef4a.system.entry.js +0 -2
- package/dist/stzh-components/p-1edbef4a.system.entry.js.map +0 -1
- package/dist/stzh-components/p-2eb74ed1.entry.js +0 -2
- package/dist/stzh-components/p-2eb74ed1.entry.js.map +0 -1
- package/dist/stzh-components/p-2f205fad.entry.js +0 -2
- package/dist/stzh-components/p-2f205fad.entry.js.map +0 -1
- package/dist/stzh-components/p-32773a2c.system.entry.js +0 -2
- package/dist/stzh-components/p-32773a2c.system.entry.js.map +0 -1
- package/dist/stzh-components/p-346b8599.entry.js +0 -2
- package/dist/stzh-components/p-3d3d09c3.entry.js +0 -2
- package/dist/stzh-components/p-3d3d09c3.entry.js.map +0 -1
- package/dist/stzh-components/p-4b5bc7a0.system.entry.js +0 -2
- package/dist/stzh-components/p-5fce4cad.system.js +0 -2
- package/dist/stzh-components/p-6966188f.system.entry.js +0 -2
- package/dist/stzh-components/p-6966188f.system.entry.js.map +0 -1
- package/dist/stzh-components/p-8a9c656a.system.entry.js.map +0 -1
- package/dist/stzh-components/p-95a50796.entry.js +0 -2
- package/dist/stzh-components/p-95a50796.entry.js.map +0 -1
- package/dist/stzh-components/p-a12b9320.entry.js.map +0 -1
- package/dist/stzh-components/p-a8f684d4.entry.js +0 -2
- package/dist/stzh-components/p-b98bc5c1.entry.js +0 -2
- package/dist/stzh-components/p-b98bc5c1.entry.js.map +0 -1
- package/dist/stzh-components/p-bb5b861d.system.entry.js +0 -2
- package/dist/stzh-components/p-bb5b861d.system.entry.js.map +0 -1
- package/dist/stzh-components/p-c4c8b232.system.entry.js +0 -2
- package/dist/stzh-components/p-c4c8b232.system.entry.js.map +0 -1
- package/dist/stzh-components/p-d3f4ad11.system.entry.js +0 -2
- package/dist/stzh-components/p-d3f4ad11.system.entry.js.map +0 -1
- package/dist/stzh-components/p-e0e7105e.entry.js +0 -2
- package/dist/stzh-components/p-e0e7105e.entry.js.map +0 -1
- package/dist/stzh-components/p-ff1cfbee.system.entry.js +0 -2
- package/dist/types/components/stzh-skiplink/stzh-skiplink.d.ts +0 -27
|
@@ -78,6 +78,9 @@
|
|
|
78
78
|
/**
|
|
79
79
|
* Container
|
|
80
80
|
*/
|
|
81
|
+
/**
|
|
82
|
+
* Ratios
|
|
83
|
+
*/
|
|
81
84
|
/**
|
|
82
85
|
* Spaces
|
|
83
86
|
*/
|
|
@@ -132,6 +135,13 @@
|
|
|
132
135
|
grid-column: var(--content-grid-column);
|
|
133
136
|
border-bottom: var(--content-border-bottom);
|
|
134
137
|
}
|
|
138
|
+
@media print {
|
|
139
|
+
.stzh-details__content {
|
|
140
|
+
height: auto !important;
|
|
141
|
+
overflow: visible !important;
|
|
142
|
+
display: block !important;
|
|
143
|
+
}
|
|
144
|
+
}
|
|
135
145
|
.stzh-details__content-inner {
|
|
136
146
|
padding: var(--content-padding);
|
|
137
147
|
}
|
|
@@ -79,6 +79,9 @@
|
|
|
79
79
|
/**
|
|
80
80
|
* Container
|
|
81
81
|
*/
|
|
82
|
+
/**
|
|
83
|
+
* Ratios
|
|
84
|
+
*/
|
|
82
85
|
/**
|
|
83
86
|
* Spaces
|
|
84
87
|
*/
|
|
@@ -807,6 +810,9 @@ stzh-dropdown[disabled]:not([disabled=false])[variant=plain] {
|
|
|
807
810
|
width: 0px;
|
|
808
811
|
height: 0px;
|
|
809
812
|
}
|
|
813
|
+
.stzh-dropdown--has-no-search .stzh-dropdown__select.input-active .ts-control, .stzh-dropdown--has-no-search .stzh-dropdown__select.input-active .ts-control > input {
|
|
814
|
+
cursor: pointer;
|
|
815
|
+
}
|
|
810
816
|
.stzh-dropdown--is-disabled .stzh-dropdown__select.multi .stzh-dropdown__item, .stzh-dropdown--is-disabled .stzh-dropdown__select.plugin-remove_button .stzh-dropdown__item .remove {
|
|
811
817
|
cursor: not-allowed;
|
|
812
818
|
}
|
|
@@ -78,6 +78,9 @@
|
|
|
78
78
|
/**
|
|
79
79
|
* Container
|
|
80
80
|
*/
|
|
81
|
+
/**
|
|
82
|
+
* Ratios
|
|
83
|
+
*/
|
|
81
84
|
/**
|
|
82
85
|
* Spaces
|
|
83
86
|
*/
|
|
@@ -132,16 +135,28 @@
|
|
|
132
135
|
.stzh-figure__element {
|
|
133
136
|
display: flex;
|
|
134
137
|
}
|
|
135
|
-
.stzh-figure__caption {
|
|
138
|
+
.stzh-figure__caption-wrapper {
|
|
136
139
|
font-size: var(--stzh-font-curve-caption-default-font-size, var(--stzh-font-nano-font-size));
|
|
137
140
|
line-height: var(--stzh-font-curve-caption-default-text-line-height, var(--stzh-font-nano-text-line-height));
|
|
141
|
+
display: flex;
|
|
138
142
|
}
|
|
139
143
|
@media screen and (min-width: 1024px) {
|
|
140
|
-
.stzh-figure__caption {
|
|
144
|
+
.stzh-figure__caption-wrapper {
|
|
141
145
|
font-size: var(--stzh-font-curve-caption-medium-font-size, var(--stzh-font-micro-font-size));
|
|
142
146
|
line-height: var(--stzh-font-curve-caption-medium-text-line-height, var(--stzh-font-micro-text-line-height));
|
|
143
147
|
}
|
|
144
148
|
}
|
|
149
|
+
.stzh-figure__counter:not(:empty) {
|
|
150
|
+
margin-right: var(--stzh-space-xsmall);
|
|
151
|
+
}
|
|
152
|
+
.stzh-figure__counter, .stzh-figure__heading {
|
|
153
|
+
font-family: var(--stzh-font-family-heavy);
|
|
154
|
+
font-weight: var(--stzh-font-weight-heavy);
|
|
155
|
+
font-style: normal;
|
|
156
|
+
}
|
|
157
|
+
.stzh-figure__caption-text:not(:empty) + .stzh-figure__copyright:not(:empty) {
|
|
158
|
+
margin-left: var(--stzh-space-xxsmall);
|
|
159
|
+
}
|
|
145
160
|
.stzh-figure__copyright {
|
|
146
161
|
font-family: var(--stzh-font-family-medium);
|
|
147
162
|
font-weight: var(--stzh-font-weight-medium);
|
|
@@ -150,9 +165,6 @@
|
|
|
150
165
|
line-height: var(--stzh-font-femto-text-line-height);
|
|
151
166
|
letter-spacing: var(--stzh-font-curve---text-letter-spacing);
|
|
152
167
|
}
|
|
153
|
-
.stzh-
|
|
154
|
-
margin-left: var(--stzh-space-xxsmall);
|
|
155
|
-
}
|
|
156
|
-
.stzh-figure--has-caption-or-copyright .stzh-figure__caption {
|
|
168
|
+
.stzh-figure--has-caption .stzh-figure__caption-wrapper {
|
|
157
169
|
margin-top: var(--stzh-space-small);
|
|
158
170
|
}
|
|
@@ -4,21 +4,30 @@ import { hasSlot } from "../../utils/utils";
|
|
|
4
4
|
* @slot - Slot for e.g. image or video
|
|
5
5
|
* @slot caption - Slot for a caption as alternative for attribute
|
|
6
6
|
* @slot copyright - Slot for a copyright as alternative for attribute
|
|
7
|
+
* @slot counter - Slot for a counter as alternative for attribute
|
|
8
|
+
* @slot heading - Slot for a heading as alternative for attribute
|
|
7
9
|
*/
|
|
8
10
|
export class StzhFigure {
|
|
9
11
|
constructor() {
|
|
10
12
|
this.caption = "";
|
|
11
13
|
this.copyright = "";
|
|
14
|
+
this.counter = "";
|
|
15
|
+
this.heading = "";
|
|
12
16
|
this.fullwidth = true;
|
|
13
17
|
}
|
|
14
18
|
render() {
|
|
15
19
|
const captionSlotUsed = hasSlot(this.element, 'caption');
|
|
16
20
|
const copyrightSlotUsed = hasSlot(this.element, 'copyright');
|
|
21
|
+
const counterSlotUsed = hasSlot(this.element, 'counter');
|
|
22
|
+
const headingSlotUsed = hasSlot(this.element, 'heading');
|
|
17
23
|
const classes = {
|
|
18
24
|
"stzh-figure": true,
|
|
19
|
-
"stzh-figure--has-caption
|
|
25
|
+
"stzh-figure--has-caption": !!this.caption || captionSlotUsed
|
|
26
|
+
|| !!this.copyright || copyrightSlotUsed
|
|
27
|
+
|| !!this.counter || counterSlotUsed
|
|
28
|
+
|| !!this.heading || headingSlotUsed
|
|
20
29
|
};
|
|
21
|
-
return (h(Host, null, h("figure", { class: classes }, h("div", { class: "stzh-figure__element" }, h("slot", null)), h("figcaption", { class: "stzh-figure__caption" }, this.caption ? this.caption : h("slot", { name: "caption" }), h("span", { class: "stzh-figure__copyright" }, this.copyright ? this.copyright : h("slot", { name: "copyright" }))))));
|
|
30
|
+
return (h(Host, null, h("figure", { class: classes }, h("div", { class: "stzh-figure__element" }, h("slot", null)), h("figcaption", { class: "stzh-figure__caption-wrapper" }, h("div", { class: "stzh-figure__counter" }, this.counter ? this.counter : h("slot", { name: "counter" })), h("div", { class: "stzh-figure__text" }, h("div", { class: "stzh-figure__heading" }, this.heading ? this.heading : h("slot", { name: "heading" })), h("div", { class: "stzh-figure__caption" }, h("span", { class: "stzh-figure__caption-text" }, this.caption ? this.caption : h("slot", { name: "caption" })), h("span", { class: "stzh-figure__copyright" }, this.copyright ? this.copyright : h("slot", { name: "copyright" }))))))));
|
|
22
31
|
}
|
|
23
32
|
static get is() { return "stzh-figure"; }
|
|
24
33
|
static get encapsulation() { return "scoped"; }
|
|
@@ -70,6 +79,42 @@ export class StzhFigure {
|
|
|
70
79
|
"reflect": false,
|
|
71
80
|
"defaultValue": "\"\""
|
|
72
81
|
},
|
|
82
|
+
"counter": {
|
|
83
|
+
"type": "string",
|
|
84
|
+
"mutable": false,
|
|
85
|
+
"complexType": {
|
|
86
|
+
"original": "string",
|
|
87
|
+
"resolved": "string",
|
|
88
|
+
"references": {}
|
|
89
|
+
},
|
|
90
|
+
"required": false,
|
|
91
|
+
"optional": false,
|
|
92
|
+
"docs": {
|
|
93
|
+
"tags": [],
|
|
94
|
+
"text": "Counter"
|
|
95
|
+
},
|
|
96
|
+
"attribute": "counter",
|
|
97
|
+
"reflect": false,
|
|
98
|
+
"defaultValue": "\"\""
|
|
99
|
+
},
|
|
100
|
+
"heading": {
|
|
101
|
+
"type": "string",
|
|
102
|
+
"mutable": false,
|
|
103
|
+
"complexType": {
|
|
104
|
+
"original": "string",
|
|
105
|
+
"resolved": "string",
|
|
106
|
+
"references": {}
|
|
107
|
+
},
|
|
108
|
+
"required": false,
|
|
109
|
+
"optional": false,
|
|
110
|
+
"docs": {
|
|
111
|
+
"tags": [],
|
|
112
|
+
"text": "Heading"
|
|
113
|
+
},
|
|
114
|
+
"attribute": "heading",
|
|
115
|
+
"reflect": false,
|
|
116
|
+
"defaultValue": "\"\""
|
|
117
|
+
},
|
|
73
118
|
"fullwidth": {
|
|
74
119
|
"type": "boolean",
|
|
75
120
|
"mutable": false,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stzh-figure.js","sourceRoot":"","sources":["../../../src/components/stzh-figure/stzh-figure.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,IAAI,EACJ,CAAC,EACD,OAAO,EACP,IAAI,GACL,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C
|
|
1
|
+
{"version":3,"file":"stzh-figure.js","sourceRoot":"","sources":["../../../src/components/stzh-figure/stzh-figure.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,IAAI,EACJ,CAAC,EACD,OAAO,EACP,IAAI,GACL,MAAM,eAAe,CAAC;AAEvB,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C;;;;;;GAMG;AAMH,MAAM,OAAO,UAAU;;mBAEK,EAAE;qBAGA,EAAE;mBAGJ,EAAE;mBAGF,EAAE;qBAGkB,IAAI;;EAIlD,MAAM;IACJ,MAAM,eAAe,GAAG,OAAO,CAAC,IAAI,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC;IACzD,MAAM,iBAAiB,GAAG,OAAO,CAAC,IAAI,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;IAC7D,MAAM,eAAe,GAAG,OAAO,CAAC,IAAI,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC;IACzD,MAAM,eAAe,GAAG,OAAO,CAAC,IAAI,CAAC,OAAO,EAAE,SAAS,CAAC,CAAC;IAEzD,MAAM,OAAO,GAAG;MACd,aAAa,EAAE,IAAI;MACnB,0BAA0B,EACxB,CAAC,CAAC,IAAI,CAAC,OAAO,IAAI,eAAe;WAC9B,CAAC,CAAC,IAAI,CAAC,SAAS,IAAI,iBAAiB;WACrC,CAAC,CAAC,IAAI,CAAC,OAAO,IAAI,eAAe;WACjC,CAAC,CAAC,IAAI,CAAC,OAAO,IAAI,eAAe;KACvC,CAAC;IAEF,OAAO,CACL,EAAC,IAAI;MACH,cAAQ,KAAK,EAAE,OAAO;QACpB,WAAK,KAAK,EAAC,sBAAsB;UAC/B,eAAa,CACT;QACN,kBAAY,KAAK,EAAC,8BAA8B;UAC9C,WAAK,KAAK,EAAC,sBAAsB,IAC9B,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,YAAM,IAAI,EAAC,SAAS,GAAQ,CACvD;UACN,WAAK,KAAK,EAAC,mBAAmB;YAC5B,WAAK,KAAK,EAAC,sBAAsB,IAC9B,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,YAAM,IAAI,EAAC,SAAS,GAAQ,CACvD;YACN,WAAK,KAAK,EAAC,sBAAsB;cAC/B,YAAM,KAAK,EAAC,2BAA2B,IACpC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,YAAM,IAAI,EAAC,SAAS,GAAQ,CACtD;cACP,YAAM,KAAK,EAAC,wBAAwB,IACjC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,YAAM,IAAI,EAAC,WAAW,GAAQ,CAC5D,CACH,CACF,CACK,CACN,CACJ,CACR,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {\n Component,\n Host,\n h,\n Element,\n Prop,\n} from \"@stencil/core\";\n\nimport { hasSlot } from \"../../utils/utils\";\n\n/**\n * @slot - Slot for e.g. image or video\n * @slot caption - Slot for a caption as alternative for attribute\n * @slot copyright - Slot for a copyright as alternative for attribute\n * @slot counter - Slot for a counter as alternative for attribute\n * @slot heading - Slot for a heading as alternative for attribute\n */\n@Component({\n tag: \"stzh-figure\",\n styleUrl: \"stzh-figure.scss\",\n scoped: true\n})\nexport class StzhFigure {\n /** Caption */\n @Prop() caption: string = \"\";\n\n /** Copyright */\n @Prop() copyright: string = \"\";\n\n /** Counter */\n @Prop() counter: string = \"\";\n\n /** Heading */\n @Prop() heading: string = \"\";\n\n /** Whether to stretch slotted content to fullwidth */\n @Prop({ reflect: true }) fullwidth: boolean = true;\n\n @Element() element: HTMLStzhFigureElement;\n\n render() {\n const captionSlotUsed = hasSlot(this.element, 'caption');\n const copyrightSlotUsed = hasSlot(this.element, 'copyright');\n const counterSlotUsed = hasSlot(this.element, 'counter');\n const headingSlotUsed = hasSlot(this.element, 'heading');\n\n const classes = {\n \"stzh-figure\": true,\n \"stzh-figure--has-caption\":\n !!this.caption || captionSlotUsed\n || !!this.copyright || copyrightSlotUsed\n || !!this.counter || counterSlotUsed\n || !!this.heading || headingSlotUsed\n };\n\n return (\n <Host>\n <figure class={classes}>\n <div class=\"stzh-figure__element\">\n <slot></slot>\n </div>\n <figcaption class=\"stzh-figure__caption-wrapper\">\n <div class=\"stzh-figure__counter\">\n {this.counter ? this.counter : <slot name=\"counter\"></slot>}\n </div>\n <div class=\"stzh-figure__text\">\n <div class=\"stzh-figure__heading\">\n {this.heading ? this.heading : <slot name=\"heading\"></slot>}\n </div>\n <div class=\"stzh-figure__caption\">\n <span class=\"stzh-figure__caption-text\">\n {this.caption ? this.caption : <slot name=\"caption\"></slot>}\n </span>\n <span class=\"stzh-figure__copyright\">\n {this.copyright ? this.copyright : <slot name=\"copyright\"></slot>}\n </span>\n </div>\n </div>\n </figcaption>\n </figure>\n </Host>\n );\n }\n}\n"]}
|
|
@@ -41,3 +41,13 @@ export const Default = {
|
|
|
41
41
|
copyright: '© gettyimages'
|
|
42
42
|
}
|
|
43
43
|
};
|
|
44
|
+
|
|
45
|
+
export const WithCounterAndHeading = {
|
|
46
|
+
render: (args) => story(args, TEMPLATE),
|
|
47
|
+
args: {
|
|
48
|
+
caption: 'Laboris laborum aute id laboris culpa esse aliquip nisi anim velit.',
|
|
49
|
+
copyright: '© gettyimages',
|
|
50
|
+
counter: '1/4',
|
|
51
|
+
heading: 'Laboris laborum aute id laboris culpa',
|
|
52
|
+
}
|
|
53
|
+
};
|
|
@@ -78,6 +78,9 @@
|
|
|
78
78
|
/**
|
|
79
79
|
* Container
|
|
80
80
|
*/
|
|
81
|
+
/**
|
|
82
|
+
* Ratios
|
|
83
|
+
*/
|
|
81
84
|
/**
|
|
82
85
|
* Spaces
|
|
83
86
|
*/
|
|
@@ -196,29 +199,34 @@
|
|
|
196
199
|
}
|
|
197
200
|
}
|
|
198
201
|
.stzh-footer__wrapper {
|
|
199
|
-
margin:
|
|
202
|
+
margin-left: 1.25rem;
|
|
203
|
+
margin-right: 1.25rem;
|
|
200
204
|
display: flex;
|
|
201
205
|
flex-direction: column;
|
|
202
206
|
align-items: flex-start;
|
|
203
207
|
}
|
|
204
208
|
@media screen and (min-width: 600px) {
|
|
205
209
|
.stzh-footer__wrapper {
|
|
206
|
-
margin:
|
|
210
|
+
margin-left: 2rem;
|
|
211
|
+
margin-right: 2rem;
|
|
207
212
|
}
|
|
208
213
|
}
|
|
209
214
|
@media screen and (min-width: 1024px) {
|
|
210
215
|
.stzh-footer__wrapper {
|
|
211
|
-
margin:
|
|
216
|
+
margin-left: 2.5rem;
|
|
217
|
+
margin-right: 2.5rem;
|
|
212
218
|
}
|
|
213
219
|
}
|
|
214
220
|
@media screen and (min-width: 1260px) {
|
|
215
221
|
.stzh-footer__wrapper {
|
|
216
|
-
margin:
|
|
222
|
+
margin-left: 5.5rem;
|
|
223
|
+
margin-right: 5.5rem;
|
|
217
224
|
}
|
|
218
225
|
}
|
|
219
226
|
@media screen and (min-width: 1440px) {
|
|
220
227
|
.stzh-footer__wrapper {
|
|
221
|
-
margin:
|
|
228
|
+
margin-left: auto;
|
|
229
|
+
margin-right: auto;
|
|
222
230
|
width: 78.75rem;
|
|
223
231
|
}
|
|
224
232
|
}
|
|
@@ -78,6 +78,9 @@
|
|
|
78
78
|
/**
|
|
79
79
|
* Container
|
|
80
80
|
*/
|
|
81
|
+
/**
|
|
82
|
+
* Ratios
|
|
83
|
+
*/
|
|
81
84
|
/**
|
|
82
85
|
* Spaces
|
|
83
86
|
*/
|
|
@@ -225,29 +228,34 @@
|
|
|
225
228
|
}
|
|
226
229
|
}
|
|
227
230
|
.header__metabar-inner {
|
|
228
|
-
margin:
|
|
231
|
+
margin-left: 1.25rem;
|
|
232
|
+
margin-right: 1.25rem;
|
|
229
233
|
display: flex;
|
|
230
234
|
align-items: stretch;
|
|
231
235
|
height: 3rem;
|
|
232
236
|
}
|
|
233
237
|
@media screen and (min-width: 600px) {
|
|
234
238
|
.header__metabar-inner {
|
|
235
|
-
margin:
|
|
239
|
+
margin-left: 2rem;
|
|
240
|
+
margin-right: 2rem;
|
|
236
241
|
}
|
|
237
242
|
}
|
|
238
243
|
@media screen and (min-width: 1024px) {
|
|
239
244
|
.header__metabar-inner {
|
|
240
|
-
margin:
|
|
245
|
+
margin-left: 2.5rem;
|
|
246
|
+
margin-right: 2.5rem;
|
|
241
247
|
}
|
|
242
248
|
}
|
|
243
249
|
@media screen and (min-width: 1260px) {
|
|
244
250
|
.header__metabar-inner {
|
|
245
|
-
margin:
|
|
251
|
+
margin-left: 5.5rem;
|
|
252
|
+
margin-right: 5.5rem;
|
|
246
253
|
}
|
|
247
254
|
}
|
|
248
255
|
@media screen and (min-width: 1440px) {
|
|
249
256
|
.header__metabar-inner {
|
|
250
|
-
margin:
|
|
257
|
+
margin-left: auto;
|
|
258
|
+
margin-right: auto;
|
|
251
259
|
width: 78.75rem;
|
|
252
260
|
}
|
|
253
261
|
}
|
|
@@ -359,27 +367,32 @@
|
|
|
359
367
|
}
|
|
360
368
|
@media screen and (min-width: 600px) {
|
|
361
369
|
.header__appnav-inner {
|
|
362
|
-
margin:
|
|
370
|
+
margin-left: 1.25rem;
|
|
371
|
+
margin-right: 1.25rem;
|
|
363
372
|
}
|
|
364
373
|
}
|
|
365
374
|
@media screen and (min-width: 600px) and (min-width: 600px) {
|
|
366
375
|
.header__appnav-inner {
|
|
367
|
-
margin:
|
|
376
|
+
margin-left: 2rem;
|
|
377
|
+
margin-right: 2rem;
|
|
368
378
|
}
|
|
369
379
|
}
|
|
370
380
|
@media screen and (min-width: 600px) and (min-width: 1024px) {
|
|
371
381
|
.header__appnav-inner {
|
|
372
|
-
margin:
|
|
382
|
+
margin-left: 2.5rem;
|
|
383
|
+
margin-right: 2.5rem;
|
|
373
384
|
}
|
|
374
385
|
}
|
|
375
386
|
@media screen and (min-width: 600px) and (min-width: 1260px) {
|
|
376
387
|
.header__appnav-inner {
|
|
377
|
-
margin:
|
|
388
|
+
margin-left: 5.5rem;
|
|
389
|
+
margin-right: 5.5rem;
|
|
378
390
|
}
|
|
379
391
|
}
|
|
380
392
|
@media screen and (min-width: 600px) and (min-width: 1440px) {
|
|
381
393
|
.header__appnav-inner {
|
|
382
|
-
margin:
|
|
394
|
+
margin-left: auto;
|
|
395
|
+
margin-right: auto;
|
|
383
396
|
width: 78.75rem;
|
|
384
397
|
}
|
|
385
398
|
}
|
|
@@ -420,29 +433,34 @@
|
|
|
420
433
|
}
|
|
421
434
|
@media screen and (max-width: 799px) {
|
|
422
435
|
.header--has-metabar-stay .header__metabar-inner {
|
|
423
|
-
margin:
|
|
436
|
+
margin-left: 1.25rem;
|
|
437
|
+
margin-right: 1.25rem;
|
|
424
438
|
justify-content: flex-end;
|
|
425
439
|
align-items: center;
|
|
426
440
|
}
|
|
427
441
|
}
|
|
428
442
|
@media screen and (max-width: 799px) and (min-width: 600px) {
|
|
429
443
|
.header--has-metabar-stay .header__metabar-inner {
|
|
430
|
-
margin:
|
|
444
|
+
margin-left: 2rem;
|
|
445
|
+
margin-right: 2rem;
|
|
431
446
|
}
|
|
432
447
|
}
|
|
433
448
|
@media screen and (max-width: 799px) and (min-width: 1024px) {
|
|
434
449
|
.header--has-metabar-stay .header__metabar-inner {
|
|
435
|
-
margin:
|
|
450
|
+
margin-left: 2.5rem;
|
|
451
|
+
margin-right: 2.5rem;
|
|
436
452
|
}
|
|
437
453
|
}
|
|
438
454
|
@media screen and (max-width: 799px) and (min-width: 1260px) {
|
|
439
455
|
.header--has-metabar-stay .header__metabar-inner {
|
|
440
|
-
margin:
|
|
456
|
+
margin-left: 5.5rem;
|
|
457
|
+
margin-right: 5.5rem;
|
|
441
458
|
}
|
|
442
459
|
}
|
|
443
460
|
@media screen and (max-width: 799px) and (min-width: 1440px) {
|
|
444
461
|
.header--has-metabar-stay .header__metabar-inner {
|
|
445
|
-
margin:
|
|
462
|
+
margin-left: auto;
|
|
463
|
+
margin-right: auto;
|
|
446
464
|
width: 78.75rem;
|
|
447
465
|
}
|
|
448
466
|
}
|
|
@@ -65,10 +65,10 @@ const SUBTEMPLATE_POPOVER = `
|
|
|
65
65
|
</stzh-popover>
|
|
66
66
|
`;
|
|
67
67
|
|
|
68
|
-
const SUBTEMPLATE_LOGO = (
|
|
68
|
+
const SUBTEMPLATE_LOGO = ({ _logo = 'media/logo/stzh-default.svg' }) => {
|
|
69
69
|
return `
|
|
70
70
|
<img
|
|
71
|
-
src
|
|
71
|
+
src=${_logo}
|
|
72
72
|
alt="Logo City Zürich, go to homepage"
|
|
73
73
|
/>
|
|
74
74
|
`;
|
|
@@ -80,7 +80,7 @@ const TEMPLATE = (args) => {
|
|
|
80
80
|
<stzh-header>
|
|
81
81
|
${Metanav_Default.render({ ...Metanav_Default.args, slot: 'nav' }).outerHTML}
|
|
82
82
|
${substoryPopover({ slot: 'login' }, SUBTEMPLATE_POPOVER).outerHTML}
|
|
83
|
-
${substoryLogo({ slot: 'logo' }, SUBTEMPLATE_LOGO).outerHTML}
|
|
83
|
+
${substoryLogo({ slot: 'logo', _logo: args._logo }, SUBTEMPLATE_LOGO({ _logo: args._logo })).outerHTML}
|
|
84
84
|
${Langnav_Default.render({ ...Langnav_Default.args, slot: 'langnav', $stringifyProperties: true }).outerHTML}
|
|
85
85
|
</stzh-header>
|
|
86
86
|
${!args._hideText ? `
|
|
@@ -98,7 +98,7 @@ const TEMPLATE_WITH_APP_NAVIGATION = (args) => {
|
|
|
98
98
|
<stzh-header>
|
|
99
99
|
${Metanav_Default.render({ ...Metanav_Default.args, slot: 'nav' }).outerHTML}
|
|
100
100
|
${substoryPopover({ slot: 'login' }, SUBTEMPLATE_POPOVER).outerHTML}
|
|
101
|
-
${substoryLogo({ slot: 'logo' }, SUBTEMPLATE_LOGO).outerHTML}
|
|
101
|
+
${substoryLogo({ slot: 'logo', _logo: args._logo }, SUBTEMPLATE_LOGO({ _logo: args._logo })).outerHTML}
|
|
102
102
|
${Langnav_Default.render({ ...Langnav_Default.args, slot: 'langnav', $stringifyProperties: true }).outerHTML}
|
|
103
103
|
|
|
104
104
|
<stzh-appnav slot="appnav" app-title="My Account" status="Preview" href="#">
|
|
@@ -131,7 +131,7 @@ const TEMPLATE_NESTED_IN_CONTAINER = (args) => {
|
|
|
131
131
|
<stzh-header>
|
|
132
132
|
${Metanav_Default.render({ ...Metanav_Default.args, slot: 'nav' }).outerHTML}
|
|
133
133
|
${substoryPopover({ slot: 'login' }, SUBTEMPLATE_POPOVER).outerHTML}
|
|
134
|
-
${substoryLogo({ slot: 'logo' }, SUBTEMPLATE_LOGO).outerHTML}
|
|
134
|
+
${substoryLogo({ slot: 'logo', _logo: args._logo }, SUBTEMPLATE_LOGO({ _logo: args._logo })).outerHTML}
|
|
135
135
|
${Langnav_Default.render({ ...Langnav_Default.args, slot: 'langnav', $stringifyProperties: true }).outerHTML}
|
|
136
136
|
</stzh-header>
|
|
137
137
|
${!args._hideText ? SUBTEMPLATE_DUMMY_TEXT : ''}
|
|
@@ -143,7 +143,7 @@ const TEMPLATE_WITH_EMPTY_NAV = (args) => {
|
|
|
143
143
|
return `
|
|
144
144
|
<div>
|
|
145
145
|
<stzh-header>
|
|
146
|
-
${substoryLogo({ slot: 'logo' }, SUBTEMPLATE_LOGO).outerHTML}
|
|
146
|
+
${substoryLogo({ slot: 'logo', _logo: args._logo }, SUBTEMPLATE_LOGO({ _logo: args._logo })).outerHTML}
|
|
147
147
|
</stzh-header>
|
|
148
148
|
${!args._hideText ? `
|
|
149
149
|
<stzh-container>
|
|
@@ -158,7 +158,7 @@ const TEMPLATE_ONLY_LANGNAV = (args) => {
|
|
|
158
158
|
return `
|
|
159
159
|
<div>
|
|
160
160
|
<stzh-header>
|
|
161
|
-
${substoryLogo({ slot: 'logo' }, SUBTEMPLATE_LOGO).outerHTML}
|
|
161
|
+
${substoryLogo({ slot: 'logo', _logo: args._logo }, SUBTEMPLATE_LOGO({ _logo: args._logo })).outerHTML}
|
|
162
162
|
${Langnav_Default.render({ ...Langnav_Default.args, slot: 'langnav', $stringifyProperties: true }).outerHTML}
|
|
163
163
|
</stzh-header>
|
|
164
164
|
${!args._hideText ? `
|