@oiz/stzh-components 3.1.0 → 3.2.0-beta1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{app-globals-0699ef40.js → app-globals-efe6d21d.js} +2 -2
- package/dist/cjs/{app-globals-0699ef40.js.map → app-globals-efe6d21d.js.map} +1 -1
- package/dist/cjs/index-92254d32.js +28 -16
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/stzh-accordion_3.cjs.entry.js +24 -8
- package/dist/cjs/stzh-accordion_3.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-actions.cjs.entry.js +1 -1
- package/dist/cjs/stzh-anchornav.cjs.entry.js +4 -3
- package/dist/cjs/stzh-anchornav.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-app-bar.cjs.entry.js +48 -0
- package/dist/cjs/stzh-app-bar.cjs.entry.js.map +1 -0
- package/dist/cjs/stzh-appointments.cjs.entry.js +1 -1
- package/dist/cjs/stzh-audio.cjs.entry.js +1 -1
- package/dist/cjs/stzh-badge_3.cjs.entry.js +1 -1
- package/dist/cjs/stzh-card-navigation.cjs.entry.js +1 -1
- package/dist/cjs/stzh-card-searchresult.cjs.entry.js +1 -1
- package/dist/cjs/stzh-card-superteaser.cjs.entry.js +1 -1
- package/dist/cjs/stzh-card_2.cjs.entry.js +8 -2
- package/dist/cjs/stzh-card_2.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-carousel.cjs.entry.js +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.cjs.entry.js +22 -32
- package/dist/cjs/stzh-chip.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-components.cjs.js +2 -2
- package/dist/cjs/stzh-contact-cv.cjs.entry.js +63 -0
- package/dist/cjs/stzh-contact-cv.cjs.entry.js.map +1 -0
- package/dist/cjs/stzh-contact.cjs.entry.js +5 -3
- package/dist/cjs/stzh-contact.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-container.cjs.entry.js +1 -1
- package/dist/cjs/stzh-container.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-cspace.cjs.entry.js +2 -2
- package/dist/cjs/stzh-cspace.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-cta.cjs.entry.js +1 -1
- package/dist/cjs/stzh-datatable.cjs.entry.js +1 -1
- package/dist/cjs/stzh-datepicker_3.cjs.entry.js +1 -1
- package/dist/cjs/stzh-datepicker_3.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-daterange.cjs.entry.js +1 -1
- package/dist/cjs/stzh-details.cjs.entry.js +1 -1
- package/dist/cjs/stzh-dialog.cjs.entry.js +1 -1
- package/dist/cjs/stzh-dialog.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-disturber.cjs.entry.js +1 -1
- package/dist/cjs/stzh-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/stzh-eventinfo.cjs.entry.js +1 -1
- package/dist/cjs/stzh-figure.cjs.entry.js +1 -1
- package/dist/cjs/stzh-footer.cjs.entry.js +2 -2
- package/dist/cjs/stzh-footer.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-ghettobox_3.cjs.entry.js +27 -19
- package/dist/cjs/stzh-ghettobox_3.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-header.cjs.entry.js +2 -2
- package/dist/cjs/stzh-header.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-homepage-service-highlights.cjs.entry.js +1 -1
- package/dist/cjs/stzh-homepage-service-highlights.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-iframe.cjs.entry.js +2881 -24
- package/dist/cjs/stzh-iframe.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-input.cjs.entry.js +8 -4
- package/dist/cjs/stzh-input.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-link.cjs.entry.js +1 -1
- package/dist/cjs/{stzh-list.cjs.entry.js → stzh-list_2.cjs.entry.js} +20 -1
- package/dist/cjs/stzh-list_2.cjs.entry.js.map +1 -0
- package/dist/cjs/stzh-menu_2.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pagecontent.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pagetitle-hero.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pagetitle-home.cjs.entry.js +2 -2
- package/dist/cjs/stzh-pagetitle-home.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-pagetitle.cjs.entry.js +2 -2
- package/dist/cjs/stzh-pagetitle.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-panorama.cjs.entry.js +1 -1
- package/dist/cjs/stzh-panorama.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-pi-content-navigation.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pi-pagetitle.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pi-teaser.cjs.entry.js +1 -1
- package/dist/cjs/stzh-popover_2.cjs.entry.js +90 -67
- package/dist/cjs/stzh-popover_2.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-print_2.cjs.entry.js +1 -1
- package/dist/cjs/stzh-ratio.cjs.entry.js +1 -1
- package/dist/cjs/stzh-ratio.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-readspeaker.cjs.entry.js +1 -1
- package/dist/cjs/stzh-scrollup.cjs.entry.js +6 -6
- package/dist/cjs/stzh-scrollup.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-search.cjs.entry.js +1 -1
- package/dist/cjs/stzh-section.cjs.entry.js +1 -1
- package/dist/cjs/stzh-section.cjs.entry.js.map +1 -1
- 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-sticky-actions.cjs.entry.js +9 -8
- package/dist/cjs/stzh-sticky-actions.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-sticky.cjs.entry.js +1 -1
- package/dist/cjs/stzh-table.cjs.entry.js +1 -1
- package/dist/cjs/stzh-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 +2 -2
- package/dist/cjs/stzh-tooltip.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-twocolumns.cjs.entry.js +1 -1
- package/dist/cjs/stzh-upload.cjs.entry.js +3101 -7
- package/dist/cjs/stzh-upload.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-vbz-carousel.cjs.entry.js +1 -1
- package/dist/cjs/stzh-vbz-carousel.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-vbz-connection-finder.cjs.entry.js +25 -0
- package/dist/cjs/stzh-vbz-connection-finder.cjs.entry.js.map +1 -0
- package/dist/cjs/stzh-vbz-intro.cjs.entry.js +58 -0
- package/dist/cjs/stzh-vbz-intro.cjs.entry.js.map +1 -0
- package/dist/cjs/stzh-vbz-linechip.cjs.entry.js +1 -1
- package/dist/cjs/stzh-vbz-linechip.cjs.entry.js.map +1 -1
- package/dist/cjs/stzh-vbz-ticker.cjs.entry.js +33 -44
- package/dist/cjs/stzh-vbz-ticker.cjs.entry.js.map +1 -1
- package/dist/cjs/{utils-d0fff87f.js → utils-d091c010.js} +40 -9
- package/dist/cjs/utils-d091c010.js.map +1 -0
- package/dist/collection/assets/i18n/de.json +22 -7
- package/dist/collection/assets/i18n/en.json +22 -7
- package/dist/collection/assets/media/icons/mono/construction.svg +1 -1
- package/dist/collection/assets/media/icons/mono/crop.svg +1 -0
- package/dist/collection/assets/meta/icons-preview.html +6 -1
- package/dist/collection/assets/mock/appl/mobiscan/publicEndpoint/image/retreive-pdf +5 -0
- package/dist/collection/assets/mock/appl/mobiscan/publicEndpoint/ping +3 -0
- package/dist/collection/assets/mock/appl/mobiscan/publicEndpoint/url +3 -0
- package/dist/collection/assets/mock/appl/mobiscan/rs/auth +4 -0
- package/dist/collection/assets/mock/appl/mobiscan/rs/config +5 -0
- package/dist/collection/assets/vendors/iframe-resizer/iframeResizer.contentWindow.js +1311 -0
- package/dist/collection/collection-manifest.json +4 -0
- package/dist/collection/components/stzh-accordion/stzh-accordion.css +39 -0
- package/dist/collection/components/stzh-accordion/stzh-accordion.js +20 -0
- package/dist/collection/components/stzh-accordion/stzh-accordion.js.map +1 -1
- package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.css +5 -0
- package/dist/collection/components/stzh-anchornav/stzh-anchornav.js +5 -4
- package/dist/collection/components/stzh-anchornav/stzh-anchornav.js.map +1 -1
- package/dist/collection/components/stzh-app-bar/stzh-app-bar.css +253 -0
- package/dist/collection/components/stzh-app-bar/stzh-app-bar.e2e.js +16 -0
- package/dist/collection/components/stzh-app-bar/stzh-app-bar.e2e.js.map +1 -0
- package/dist/collection/components/stzh-app-bar/stzh-app-bar.js +54 -0
- package/dist/collection/components/stzh-app-bar/stzh-app-bar.js.map +1 -0
- package/dist/collection/components/stzh-app-bar/stzh-app-bar.stories.js +45 -0
- package/dist/collection/components/stzh-cardlist/stzh-cardlist.css +5 -0
- package/dist/collection/components/stzh-cardlist/stzh-cardlist.js +9 -2
- package/dist/collection/components/stzh-cardlist/stzh-cardlist.js.map +1 -1
- package/dist/collection/components/stzh-chip/stzh-chip.js +23 -33
- package/dist/collection/components/stzh-chip/stzh-chip.js.map +1 -1
- package/dist/collection/components/stzh-contact/stzh-contact.css +47 -15
- package/dist/collection/components/stzh-contact/stzh-contact.js +21 -1
- package/dist/collection/components/stzh-contact/stzh-contact.js.map +1 -1
- package/dist/collection/components/stzh-contact/stzh-contact.stories.js +68 -49
- package/dist/collection/components/stzh-contact-cv/stzh-contact-cv.css +196 -0
- package/dist/collection/components/stzh-contact-cv/stzh-contact-cv.e2e.js +16 -0
- package/dist/collection/components/stzh-contact-cv/stzh-contact-cv.e2e.js.map +1 -0
- package/dist/collection/components/stzh-contact-cv/stzh-contact-cv.js +163 -0
- package/dist/collection/components/stzh-contact-cv/stzh-contact-cv.js.map +1 -0
- package/dist/collection/components/stzh-contact-cv/stzh-contact-cv.localization.js +2 -0
- package/dist/collection/components/stzh-contact-cv/stzh-contact-cv.localization.js.map +1 -0
- package/dist/collection/components/stzh-contact-cv/stzh-contact-cv.stories.js +52 -0
- package/dist/collection/components/stzh-container/stzh-container.css +2 -1
- package/dist/collection/components/stzh-cspace/stzh-cspace.css +53 -0
- package/dist/collection/components/stzh-datepicker/stzh-datepicker.js +1 -1
- package/dist/collection/components/stzh-datepicker/stzh-datepicker.js.map +1 -1
- package/dist/collection/components/stzh-footer/stzh-footer.css +10 -2
- package/dist/collection/components/stzh-header/stzh-header.css +19 -3
- package/dist/collection/components/stzh-homepage-service-highlights/stzh-homepage-service-highlights.css +14 -3
- package/dist/collection/components/stzh-homepage-service-highlights/stzh-homepage-service-highlights.stories.js +1 -1
- package/dist/collection/components/stzh-iframe/stzh-iframe.css +8 -1
- package/dist/collection/components/stzh-iframe/stzh-iframe.js +139 -26
- package/dist/collection/components/stzh-iframe/stzh-iframe.js.map +1 -1
- package/dist/collection/components/stzh-iframe/stzh-iframe.stories.js +30 -11
- package/dist/collection/components/stzh-input/stzh-input.css +1 -1
- package/dist/collection/components/stzh-input/stzh-input.js +8 -3
- package/dist/collection/components/stzh-input/stzh-input.js.map +1 -1
- package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.css +2 -1
- package/dist/collection/components/stzh-pagetitle-home/stzh-pagetitle-home.css +19 -0
- package/dist/collection/components/stzh-pagination/stzh-pagination.css +11 -1
- package/dist/collection/components/stzh-pagination/stzh-pagination.js +43 -6
- package/dist/collection/components/stzh-pagination/stzh-pagination.js.map +1 -1
- package/dist/collection/components/stzh-panorama/stzh-panorama.js +1 -1
- package/dist/collection/components/stzh-panorama/stzh-panorama.js.map +1 -1
- package/dist/collection/components/stzh-popover/stzh-popover.js +101 -75
- package/dist/collection/components/stzh-popover/stzh-popover.js.map +1 -1
- package/dist/collection/components/stzh-ratio/stzh-ratio.css +6 -0
- package/dist/collection/components/stzh-richtext/stzh-richtext.js +28 -20
- package/dist/collection/components/stzh-richtext/stzh-richtext.js.map +1 -1
- package/dist/collection/components/stzh-richtext/stzh-richtext.stories.js +15 -6
- package/dist/collection/components/stzh-scrollup/stzh-scrollup.js +6 -6
- package/dist/collection/components/stzh-scrollup/stzh-scrollup.js.map +1 -1
- package/dist/collection/components/stzh-section/stzh-section.css +134 -1
- package/dist/collection/components/stzh-section/stzh-section.js +2 -2
- package/dist/collection/components/stzh-section/stzh-section.js.map +1 -1
- package/dist/collection/components/stzh-skin-portal-mitwirken/stzh-skin-portal-mitwirken.css +206 -22
- package/dist/collection/components/stzh-sticky-actions/stzh-sticky-actions.css +4 -0
- package/dist/collection/components/stzh-sticky-actions/stzh-sticky-actions.js +11 -9
- package/dist/collection/components/stzh-sticky-actions/stzh-sticky-actions.js.map +1 -1
- package/dist/collection/components/stzh-tooltip/stzh-tooltip.css +8 -4
- package/dist/collection/components/stzh-upload/models/stzh-photographing-configuration.dto.js +2 -0
- package/dist/collection/components/stzh-upload/models/stzh-photographing-configuration.dto.js.map +1 -0
- package/dist/collection/components/stzh-upload/models/stzh-photographing-pdf-file.dto.js +3 -0
- package/dist/collection/components/stzh-upload/models/stzh-photographing-pdf-file.dto.js.map +1 -0
- package/dist/collection/components/stzh-upload/models/stzh-photographing-url-details.dto.js +2 -0
- package/dist/collection/components/stzh-upload/models/stzh-photographing-url-details.dto.js.map +1 -0
- package/dist/collection/components/stzh-upload/stzh-upload.css +84 -11
- package/dist/collection/components/stzh-upload/stzh-upload.js +274 -4
- package/dist/collection/components/stzh-upload/stzh-upload.js.map +1 -1
- package/dist/collection/components/stzh-upload/stzh-upload.localization.js.map +1 -1
- package/dist/collection/components/stzh-upload/stzh-upload.stories.js +13 -7
- package/dist/collection/components/stzh-vbz-carousel/stzh-vbz-carousel.css +6 -4
- package/dist/collection/components/stzh-vbz-carousel/stzh-vbz-carousel.stories.js +2 -5
- package/dist/collection/components/stzh-vbz-connection-finder/stzh-vbz-connection-finder.css +192 -0
- package/dist/collection/components/stzh-vbz-connection-finder/stzh-vbz-connection-finder.e2e.js +18 -0
- package/dist/collection/components/stzh-vbz-connection-finder/stzh-vbz-connection-finder.e2e.js.map +1 -0
- package/dist/collection/components/stzh-vbz-connection-finder/stzh-vbz-connection-finder.js +26 -0
- package/dist/collection/components/stzh-vbz-connection-finder/stzh-vbz-connection-finder.js.map +1 -0
- package/dist/collection/components/stzh-vbz-connection-finder/stzh-vbz-connection-finder.stories.js +39 -0
- package/dist/collection/components/stzh-vbz-intro/stzh-vbz-intro.css +341 -0
- package/dist/collection/components/stzh-vbz-intro/stzh-vbz-intro.e2e.js +16 -0
- package/dist/collection/components/stzh-vbz-intro/stzh-vbz-intro.e2e.js.map +1 -0
- package/dist/collection/components/stzh-vbz-intro/stzh-vbz-intro.js +110 -0
- package/dist/collection/components/stzh-vbz-intro/stzh-vbz-intro.js.map +1 -0
- package/dist/collection/components/stzh-vbz-intro/stzh-vbz-intro.localization.js +2 -0
- package/dist/collection/components/stzh-vbz-intro/stzh-vbz-intro.localization.js.map +1 -0
- package/dist/collection/components/stzh-vbz-intro/stzh-vbz-intro.stories.js +75 -0
- package/dist/collection/components/stzh-vbz-linechip/stzh-vbz-linechip.css +3 -3
- package/dist/collection/components/stzh-vbz-majorticker/stzh-vbz-majorticker.stories.js +8 -10
- package/dist/collection/components/stzh-vbz-ticker/stzh-vbz-ticker.css +17 -21
- package/dist/collection/components/stzh-vbz-ticker/stzh-vbz-ticker.js +34 -45
- package/dist/collection/components/stzh-vbz-ticker/stzh-vbz-ticker.js.map +1 -1
- package/dist/collection/components/stzh-vbz-ticker/stzh-vbz-ticker.localization.js.map +1 -1
- package/dist/collection/components/stzh-vbz-ticker/stzh-vbz-ticker.stories.js +10 -12
- package/dist/collection/index.js.map +1 -1
- package/dist/collection/pages/mkz/mkz.e2e.js +16 -0
- package/dist/collection/pages/mkz/mkz.e2e.js.map +1 -0
- package/dist/collection/pages/upload-photographing/upload-photographing.e2e.js +16 -0
- package/dist/collection/pages/upload-photographing/upload-photographing.e2e.js.map +1 -0
- package/dist/collection/patterns/contact-accordion/contact-accordion.e2e.js +21 -0
- package/dist/collection/patterns/contact-accordion/contact-accordion.e2e.js.map +1 -0
- package/dist/collection/patterns/poi/poi.e2e.js +21 -0
- package/dist/collection/patterns/poi/poi.e2e.js.map +1 -0
- package/dist/collection/utils/utils.js +38 -8
- 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-accordion-item2.js +1 -1
- package/dist/components/stzh-accordion-item2.js.map +1 -1
- package/dist/components/stzh-accordion2.js +17 -1
- package/dist/components/stzh-accordion2.js.map +1 -1
- package/dist/components/stzh-anchornav.js +4 -3
- package/dist/components/stzh-anchornav.js.map +1 -1
- package/dist/components/stzh-app-bar.d.ts +11 -0
- package/dist/components/stzh-app-bar.js +60 -0
- package/dist/components/stzh-app-bar.js.map +1 -0
- package/dist/components/stzh-cardlist2.js +9 -2
- package/dist/components/stzh-cardlist2.js.map +1 -1
- package/dist/components/stzh-chip2.js +22 -32
- package/dist/components/stzh-chip2.js.map +1 -1
- package/dist/components/stzh-contact-cv.d.ts +11 -0
- package/dist/components/stzh-contact-cv.js +102 -0
- package/dist/components/stzh-contact-cv.js.map +1 -0
- package/dist/components/stzh-contact.js +5 -2
- package/dist/components/stzh-contact.js.map +1 -1
- package/dist/components/stzh-container.js +1 -1
- 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-datepicker2.js.map +1 -1
- package/dist/components/stzh-dialog.js +1 -226
- package/dist/components/stzh-dialog.js.map +1 -1
- package/dist/components/stzh-dialog2.js +230 -0
- package/dist/components/stzh-dialog2.js.map +1 -0
- 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-homepage-service-highlights.js +1 -1
- package/dist/components/stzh-homepage-service-highlights.js.map +1 -1
- package/dist/components/stzh-iframe2.js +2883 -23
- package/dist/components/stzh-iframe2.js.map +1 -1
- package/dist/components/stzh-input2.js +9 -4
- package/dist/components/stzh-input2.js.map +1 -1
- package/dist/components/stzh-list-item.js +1 -34
- package/dist/components/stzh-list-item.js.map +1 -1
- package/dist/{esm/stzh-list-item.entry.js → components/stzh-list-item2.js} +24 -9
- package/dist/components/stzh-list-item2.js.map +1 -0
- package/dist/components/stzh-list.js +1 -36
- package/dist/components/stzh-list.js.map +1 -1
- package/dist/{esm/stzh-list.entry.js → components/stzh-list2.js} +26 -9
- package/dist/components/stzh-list2.js.map +1 -0
- package/dist/components/stzh-pagetitle-home.js +1 -1
- package/dist/components/stzh-pagetitle-home.js.map +1 -1
- package/dist/components/stzh-pagetitle.js +1 -1
- package/dist/components/stzh-pagetitle.js.map +1 -1
- package/dist/components/stzh-pagination2.js +9 -6
- package/dist/components/stzh-pagination2.js.map +1 -1
- package/dist/components/stzh-panorama.js +1 -1
- package/dist/components/stzh-panorama.js.map +1 -1
- package/dist/components/stzh-popover2.js +93 -67
- package/dist/components/stzh-popover2.js.map +1 -1
- package/dist/components/stzh-ratio2.js +1 -1
- package/dist/components/stzh-ratio2.js.map +1 -1
- package/dist/components/stzh-richtext2.js +26 -18
- package/dist/components/stzh-richtext2.js.map +1 -1
- package/dist/components/stzh-scrollup.js +5 -5
- package/dist/components/stzh-scrollup.js.map +1 -1
- package/dist/components/stzh-section.js +1 -1
- package/dist/components/stzh-section.js.map +1 -1
- package/dist/components/stzh-share2.js +1 -1
- 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-sticky-actions.js +10 -8
- package/dist/components/stzh-sticky-actions.js.map +1 -1
- package/dist/components/stzh-tooltip2.js +1 -1
- package/dist/components/stzh-tooltip2.js.map +1 -1
- package/dist/components/stzh-upload.js +3127 -6
- package/dist/components/stzh-upload.js.map +1 -1
- package/dist/components/stzh-vbz-carousel.js +1 -1
- package/dist/components/stzh-vbz-carousel.js.map +1 -1
- package/dist/components/stzh-vbz-connection-finder.d.ts +11 -0
- package/dist/components/stzh-vbz-connection-finder.js +38 -0
- package/dist/components/stzh-vbz-connection-finder.js.map +1 -0
- package/dist/components/stzh-vbz-intro.d.ts +11 -0
- package/dist/components/stzh-vbz-intro.js +100 -0
- package/dist/components/stzh-vbz-intro.js.map +1 -0
- package/dist/components/stzh-vbz-linechip2.js +1 -1
- package/dist/components/stzh-vbz-linechip2.js.map +1 -1
- package/dist/components/stzh-vbz-majorticker.js +1 -1
- package/dist/components/stzh-vbz-ticker.js +33 -44
- package/dist/components/stzh-vbz-ticker.js.map +1 -1
- package/dist/components/utils.js +39 -9
- package/dist/components/utils.js.map +1 -1
- package/dist/esm/{app-globals-ab5b077d.js → app-globals-93678901.js} +2 -2
- package/dist/esm/{app-globals-ab5b077d.js.map → app-globals-93678901.js.map} +1 -1
- package/dist/esm/index-e3050b18.js +28 -16
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/stzh-accordion_3.entry.js +25 -9
- package/dist/esm/stzh-accordion_3.entry.js.map +1 -1
- package/dist/esm/stzh-actions.entry.js +1 -1
- package/dist/esm/stzh-anchornav.entry.js +4 -3
- package/dist/esm/stzh-anchornav.entry.js.map +1 -1
- package/dist/esm/stzh-app-bar.entry.js +44 -0
- package/dist/esm/stzh-app-bar.entry.js.map +1 -0
- package/dist/esm/stzh-appointments.entry.js +1 -1
- package/dist/esm/stzh-audio.entry.js +1 -1
- package/dist/esm/stzh-badge_3.entry.js +1 -1
- package/dist/esm/stzh-card-navigation.entry.js +1 -1
- package/dist/esm/stzh-card-searchresult.entry.js +1 -1
- package/dist/esm/stzh-card-superteaser.entry.js +1 -1
- package/dist/esm/stzh-card_2.entry.js +8 -2
- package/dist/esm/stzh-card_2.entry.js.map +1 -1
- package/dist/esm/stzh-carousel.entry.js +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.entry.js +22 -32
- package/dist/esm/stzh-chip.entry.js.map +1 -1
- package/dist/esm/stzh-components.js +2 -2
- package/dist/esm/stzh-contact-cv.entry.js +59 -0
- package/dist/esm/stzh-contact-cv.entry.js.map +1 -0
- package/dist/esm/stzh-contact.entry.js +5 -3
- package/dist/esm/stzh-contact.entry.js.map +1 -1
- package/dist/esm/stzh-container.entry.js +1 -1
- package/dist/esm/stzh-container.entry.js.map +1 -1
- package/dist/esm/stzh-cspace.entry.js +2 -2
- package/dist/esm/stzh-cspace.entry.js.map +1 -1
- package/dist/esm/stzh-cta.entry.js +1 -1
- package/dist/esm/stzh-datatable.entry.js +1 -1
- package/dist/esm/stzh-datepicker_3.entry.js +1 -1
- package/dist/esm/stzh-datepicker_3.entry.js.map +1 -1
- package/dist/esm/stzh-daterange.entry.js +1 -1
- package/dist/esm/stzh-details.entry.js +1 -1
- package/dist/esm/stzh-dialog.entry.js +1 -1
- package/dist/esm/stzh-dialog.entry.js.map +1 -1
- package/dist/esm/stzh-disturber.entry.js +1 -1
- package/dist/esm/stzh-dropdown.entry.js +1 -1
- package/dist/esm/stzh-eventinfo.entry.js +1 -1
- package/dist/esm/stzh-figure.entry.js +1 -1
- package/dist/esm/stzh-footer.entry.js +2 -2
- package/dist/esm/stzh-footer.entry.js.map +1 -1
- package/dist/esm/stzh-ghettobox_3.entry.js +27 -19
- package/dist/esm/stzh-ghettobox_3.entry.js.map +1 -1
- package/dist/esm/stzh-header.entry.js +2 -2
- package/dist/esm/stzh-header.entry.js.map +1 -1
- package/dist/esm/stzh-homepage-service-highlights.entry.js +1 -1
- package/dist/esm/stzh-homepage-service-highlights.entry.js.map +1 -1
- package/dist/esm/stzh-iframe.entry.js +2881 -24
- package/dist/esm/stzh-iframe.entry.js.map +1 -1
- package/dist/esm/stzh-input.entry.js +8 -4
- package/dist/esm/stzh-input.entry.js.map +1 -1
- package/dist/esm/stzh-link.entry.js +1 -1
- package/dist/esm/stzh-list_2.entry.js +41 -0
- package/dist/esm/stzh-list_2.entry.js.map +1 -0
- package/dist/esm/stzh-menu_2.entry.js +1 -1
- package/dist/esm/stzh-pagecontent.entry.js +1 -1
- package/dist/esm/stzh-pagetitle-hero.entry.js +1 -1
- package/dist/esm/stzh-pagetitle-home.entry.js +2 -2
- package/dist/esm/stzh-pagetitle-home.entry.js.map +1 -1
- package/dist/esm/stzh-pagetitle.entry.js +2 -2
- package/dist/esm/stzh-pagetitle.entry.js.map +1 -1
- package/dist/esm/stzh-panorama.entry.js +1 -1
- package/dist/esm/stzh-panorama.entry.js.map +1 -1
- package/dist/esm/stzh-pi-content-navigation.entry.js +1 -1
- package/dist/esm/stzh-pi-pagetitle.entry.js +1 -1
- package/dist/esm/stzh-pi-teaser.entry.js +1 -1
- package/dist/esm/stzh-popover_2.entry.js +91 -68
- package/dist/esm/stzh-popover_2.entry.js.map +1 -1
- package/dist/esm/stzh-print_2.entry.js +1 -1
- package/dist/esm/stzh-ratio.entry.js +1 -1
- package/dist/esm/stzh-ratio.entry.js.map +1 -1
- package/dist/esm/stzh-readspeaker.entry.js +1 -1
- package/dist/esm/stzh-scrollup.entry.js +6 -6
- package/dist/esm/stzh-scrollup.entry.js.map +1 -1
- package/dist/esm/stzh-search.entry.js +1 -1
- package/dist/esm/stzh-section.entry.js +1 -1
- package/dist/esm/stzh-section.entry.js.map +1 -1
- 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-sticky-actions.entry.js +9 -8
- package/dist/esm/stzh-sticky-actions.entry.js.map +1 -1
- package/dist/esm/stzh-sticky.entry.js +1 -1
- package/dist/esm/stzh-table.entry.js +1 -1
- package/dist/esm/stzh-textandimage.entry.js +1 -1
- package/dist/esm/stzh-timeline-item.entry.js +1 -1
- package/dist/esm/stzh-toast.entry.js +1 -1
- package/dist/esm/stzh-toggle.entry.js +1 -1
- package/dist/esm/stzh-tooltip.entry.js +2 -2
- package/dist/esm/stzh-tooltip.entry.js.map +1 -1
- package/dist/esm/stzh-twocolumns.entry.js +1 -1
- package/dist/esm/stzh-upload.entry.js +3098 -4
- package/dist/esm/stzh-upload.entry.js.map +1 -1
- package/dist/esm/stzh-vbz-carousel.entry.js +1 -1
- package/dist/esm/stzh-vbz-carousel.entry.js.map +1 -1
- package/dist/esm/stzh-vbz-connection-finder.entry.js +21 -0
- package/dist/esm/stzh-vbz-connection-finder.entry.js.map +1 -0
- package/dist/esm/stzh-vbz-intro.entry.js +54 -0
- package/dist/esm/stzh-vbz-intro.entry.js.map +1 -0
- package/dist/esm/stzh-vbz-linechip.entry.js +1 -1
- package/dist/esm/stzh-vbz-linechip.entry.js.map +1 -1
- package/dist/esm/stzh-vbz-ticker.entry.js +33 -44
- package/dist/esm/stzh-vbz-ticker.entry.js.map +1 -1
- package/dist/esm/{utils-54aead01.js → utils-90658cfe.js} +40 -10
- package/dist/esm/utils-90658cfe.js.map +1 -0
- package/dist/stzh-components/assets/i18n/de.json +22 -7
- package/dist/stzh-components/assets/i18n/en.json +22 -7
- package/dist/stzh-components/assets/media/icons/mono/construction.svg +1 -1
- package/dist/stzh-components/assets/media/icons/mono/crop.svg +1 -0
- package/dist/stzh-components/assets/meta/icons-preview.html +6 -1
- package/dist/stzh-components/assets/mock/appl/mobiscan/publicEndpoint/image/retreive-pdf +5 -0
- package/dist/stzh-components/assets/mock/appl/mobiscan/publicEndpoint/ping +3 -0
- package/dist/stzh-components/assets/mock/appl/mobiscan/publicEndpoint/url +3 -0
- package/dist/stzh-components/assets/mock/appl/mobiscan/rs/auth +4 -0
- package/dist/stzh-components/assets/mock/appl/mobiscan/rs/config +5 -0
- package/dist/stzh-components/assets/vendors/iframe-resizer/iframeResizer.contentWindow.js +1311 -0
- package/dist/stzh-components/index.esm.js.map +1 -1
- package/dist/stzh-components/p-05127d71.entry.js +2 -0
- package/dist/stzh-components/p-05127d71.entry.js.map +1 -0
- package/dist/stzh-components/{p-9684b22d.entry.js → p-09480ffe.entry.js} +2 -2
- package/dist/stzh-components/{p-c877d32c.entry.js → p-0b0c7cb8.entry.js} +2 -2
- package/dist/stzh-components/p-0b0c7cb8.entry.js.map +1 -0
- package/dist/stzh-components/{p-161ae3d1.entry.js → p-0b15d79b.entry.js} +2 -2
- package/dist/stzh-components/p-109a885b.entry.js +2 -0
- package/dist/stzh-components/{p-2d7966cf.entry.js.map → p-109a885b.entry.js.map} +1 -1
- package/dist/stzh-components/{p-c1cd45e1.entry.js → p-12bffe97.entry.js} +2 -2
- package/dist/stzh-components/p-13cd7748.entry.js +2 -0
- package/dist/stzh-components/p-13cd7748.entry.js.map +1 -0
- package/dist/stzh-components/{p-27d5ad01.entry.js → p-16a2675e.entry.js} +2 -2
- package/dist/stzh-components/{p-75b79adf.entry.js → p-1cbf5c84.entry.js} +2 -2
- package/dist/stzh-components/p-1cbf5c84.entry.js.map +1 -0
- package/dist/stzh-components/{p-20db8d01.entry.js → p-1fd858a2.entry.js} +2 -2
- package/dist/stzh-components/p-1fd858a2.entry.js.map +1 -0
- package/dist/stzh-components/p-21c351b4.entry.js +2 -0
- package/dist/stzh-components/p-21c351b4.entry.js.map +1 -0
- package/dist/stzh-components/{p-59a1a257.entry.js → p-21f7064d.entry.js} +2 -2
- package/dist/stzh-components/p-21f7064d.entry.js.map +1 -0
- package/dist/stzh-components/p-23de5712.entry.js +2 -0
- package/dist/stzh-components/p-23de5712.entry.js.map +1 -0
- package/dist/stzh-components/{p-0fb40e48.entry.js → p-24ea178a.entry.js} +2 -2
- package/dist/stzh-components/{p-3f0d3919.entry.js → p-2812752a.entry.js} +2 -2
- package/dist/stzh-components/{p-68d33cd3.entry.js → p-29c1cb5c.entry.js} +2 -2
- package/dist/stzh-components/p-2d405b51.js +2 -0
- package/dist/stzh-components/{p-cc1f8acc.js.map → p-2d405b51.js.map} +1 -1
- package/dist/stzh-components/{p-801af922.entry.js → p-30a522e0.entry.js} +2 -2
- package/dist/stzh-components/{p-d10a6897.entry.js → p-30a7c058.entry.js} +2 -2
- package/dist/stzh-components/{p-7ca981d1.entry.js → p-3261eab4.entry.js} +2 -2
- package/dist/stzh-components/{p-5d4a2df0.entry.js → p-32cb5b94.entry.js} +2 -2
- package/dist/stzh-components/{p-97df1d9f.entry.js → p-346d2f3d.entry.js} +2 -2
- package/dist/stzh-components/p-346f8661.entry.js +2 -0
- package/dist/stzh-components/p-346f8661.entry.js.map +1 -0
- package/dist/stzh-components/{p-8f1dbd3b.entry.js → p-3912a256.entry.js} +2 -2
- package/dist/stzh-components/{p-6fdc4c74.entry.js → p-39acdb68.entry.js} +2 -2
- package/dist/stzh-components/p-3cc6f193.entry.js +2 -0
- package/dist/stzh-components/p-3cc6f193.entry.js.map +1 -0
- package/dist/stzh-components/{p-204a6e41.entry.js → p-466263ff.entry.js} +2 -2
- package/dist/stzh-components/p-466263ff.entry.js.map +1 -0
- package/dist/stzh-components/p-49d356da.entry.js +2 -0
- package/dist/stzh-components/p-49d356da.entry.js.map +1 -0
- package/dist/stzh-components/p-585551c1.entry.js +2 -0
- package/dist/stzh-components/p-585551c1.entry.js.map +1 -0
- package/dist/stzh-components/{p-edf77853.entry.js → p-63c76fd5.entry.js} +2 -2
- package/dist/stzh-components/{p-533fea0b.entry.js → p-67e61035.entry.js} +2 -2
- package/dist/stzh-components/p-6e0c8764.entry.js +2 -0
- package/dist/stzh-components/p-6e0c8764.entry.js.map +1 -0
- package/dist/stzh-components/{p-80fafa1d.entry.js → p-6fffe2c8.entry.js} +2 -2
- package/dist/stzh-components/p-7b14ef7a.entry.js +2 -0
- package/dist/stzh-components/p-7b14ef7a.entry.js.map +1 -0
- package/dist/stzh-components/{p-eb79f3ed.entry.js → p-82c53e4f.entry.js} +2 -2
- package/dist/stzh-components/p-85143b35.entry.js +2 -0
- package/dist/stzh-components/p-85143b35.entry.js.map +1 -0
- package/dist/stzh-components/{p-8e0a2441.entry.js → p-87f3052b.entry.js} +2 -2
- package/dist/stzh-components/{p-b566a2c0.entry.js → p-8a82bf60.entry.js} +2 -2
- package/dist/stzh-components/{p-9b43127f.entry.js → p-8b04698a.entry.js} +2 -2
- package/dist/stzh-components/p-8b3828e7.entry.js +2 -0
- package/dist/stzh-components/p-8b3828e7.entry.js.map +1 -0
- package/dist/stzh-components/{p-4db427d5.entry.js → p-8c4d543d.entry.js} +2 -2
- package/dist/stzh-components/p-8c4d543d.entry.js.map +1 -0
- package/dist/stzh-components/p-90772ec6.entry.js +2 -0
- package/dist/stzh-components/p-90772ec6.entry.js.map +1 -0
- package/dist/stzh-components/p-9bc12eff.entry.js +2 -0
- package/dist/stzh-components/p-9bc12eff.entry.js.map +1 -0
- package/dist/stzh-components/{p-7754870d.entry.js → p-9c1b3929.entry.js} +2 -2
- package/dist/stzh-components/{p-5c3fddec.entry.js → p-9c643610.entry.js} +2 -2
- package/dist/stzh-components/{p-5c3fddec.entry.js.map → p-9c643610.entry.js.map} +1 -1
- package/dist/stzh-components/{p-4f49450d.entry.js → p-9e4f0532.entry.js} +2 -2
- package/dist/stzh-components/p-9e4f0532.entry.js.map +1 -0
- package/dist/stzh-components/{p-cff05968.entry.js → p-a249f3f6.entry.js} +2 -2
- package/dist/stzh-components/{p-a2e9723b.entry.js → p-aa3e4203.entry.js} +2 -2
- package/dist/stzh-components/{p-f5821678.entry.js → p-ab5ee55b.entry.js} +2 -2
- package/dist/stzh-components/{p-ce99f5e8.entry.js → p-acef653a.entry.js} +2 -2
- package/dist/stzh-components/{p-c5dbf7ad.entry.js → p-b03f41c3.entry.js} +2 -2
- package/dist/stzh-components/p-b273f95c.entry.js +2 -0
- package/dist/stzh-components/p-b273f95c.entry.js.map +1 -0
- package/dist/stzh-components/{p-72c375c7.entry.js → p-b397337c.entry.js} +2 -2
- package/dist/stzh-components/p-b397337c.entry.js.map +1 -0
- package/dist/stzh-components/{p-ef21f4dc.entry.js → p-ba716237.entry.js} +2 -2
- package/dist/stzh-components/p-ba716237.entry.js.map +1 -0
- package/dist/stzh-components/p-bcaef6d7.entry.js +2 -0
- package/dist/stzh-components/{p-012dc71e.entry.js.map → p-bcaef6d7.entry.js.map} +1 -1
- package/dist/stzh-components/p-bdff55a6.entry.js +2 -0
- package/dist/stzh-components/{p-78a16599.entry.js.map → p-bdff55a6.entry.js.map} +1 -1
- package/dist/stzh-components/{p-ee82f53c.entry.js → p-c169f243.entry.js} +2 -2
- package/dist/stzh-components/{p-7d030c40.entry.js → p-c3816fd3.entry.js} +2 -2
- package/dist/stzh-components/{p-7aac960b.entry.js → p-ce6dbd52.entry.js} +2 -2
- package/dist/stzh-components/{p-50c1632e.entry.js → p-d0ecdd5b.entry.js} +2 -2
- package/dist/stzh-components/{p-50c1632e.entry.js.map → p-d0ecdd5b.entry.js.map} +1 -1
- package/dist/stzh-components/{p-722b9e40.entry.js → p-d46bbc8c.entry.js} +2 -2
- package/dist/stzh-components/{p-c9eecee7.entry.js → p-d48ecb2f.entry.js} +2 -2
- package/dist/stzh-components/{p-ea152ff3.entry.js → p-d7697cf8.entry.js} +2 -2
- package/dist/stzh-components/p-d789647a.entry.js +2 -0
- package/dist/stzh-components/p-d789647a.entry.js.map +1 -0
- package/dist/stzh-components/{p-472b3327.entry.js → p-d7f1ed07.entry.js} +2 -2
- package/dist/stzh-components/{p-afde3fcd.entry.js → p-d8265b82.entry.js} +2 -2
- package/dist/stzh-components/{p-afde3fcd.entry.js.map → p-d8265b82.entry.js.map} +1 -1
- package/dist/stzh-components/{p-56346206.entry.js → p-d9fa718c.entry.js} +2 -2
- package/dist/stzh-components/p-e30a5acc.js +2 -0
- package/dist/stzh-components/p-e30a5acc.js.map +1 -0
- package/dist/stzh-components/{p-f4ed8d7e.entry.js → p-ef47c976.entry.js} +2 -2
- package/dist/stzh-components/p-ef47c976.entry.js.map +1 -0
- package/dist/stzh-components/{p-66007952.entry.js → p-f34720e2.entry.js} +2 -2
- package/dist/stzh-components/p-f34720e2.entry.js.map +1 -0
- package/dist/stzh-components/p-ffbb7594.entry.js +2 -0
- package/dist/stzh-components/p-ffbb7594.entry.js.map +1 -0
- package/dist/stzh-components/stzh-components.css +206 -22
- package/dist/stzh-components/stzh-components.esm.js +1 -1
- package/dist/stzh-components/stzh-components.esm.js.map +1 -1
- package/dist/types/components/stzh-accordion/stzh-accordion.d.ts +3 -0
- package/dist/types/components/stzh-app-bar/stzh-app-bar.d.ts +15 -0
- package/dist/types/components/stzh-cardlist/stzh-cardlist.d.ts +1 -0
- package/dist/types/components/stzh-chip/stzh-chip.d.ts +1 -1
- package/dist/types/components/stzh-contact/stzh-contact.d.ts +2 -0
- package/dist/types/components/stzh-contact-cv/stzh-contact-cv.d.ts +23 -0
- package/dist/types/components/stzh-contact-cv/stzh-contact-cv.localization.d.ts +8 -0
- package/dist/types/components/stzh-datepicker/stzh-datepicker.d.ts +1 -1
- package/dist/types/components/stzh-iframe/stzh-iframe.d.ts +9 -1
- package/dist/types/components/stzh-input/stzh-input.d.ts +3 -0
- package/dist/types/components/stzh-pagination/stzh-pagination.d.ts +4 -0
- package/dist/types/components/stzh-popover/stzh-popover.d.ts +12 -3
- package/dist/types/components/stzh-section/stzh-section.d.ts +1 -1
- package/dist/types/components/stzh-sticky-actions/stzh-sticky-actions.d.ts +1 -0
- package/dist/types/components/stzh-upload/models/stzh-photographing-configuration.dto.d.ts +5 -0
- package/dist/types/components/stzh-upload/models/stzh-photographing-pdf-file.dto.d.ts +5 -0
- package/dist/types/components/stzh-upload/models/stzh-photographing-url-details.dto.d.ts +4 -0
- package/dist/types/components/stzh-upload/stzh-upload.d.ts +36 -0
- package/dist/types/components/stzh-upload/stzh-upload.localization.d.ts +6 -0
- package/dist/types/components/stzh-vbz-connection-finder/stzh-vbz-connection-finder.d.ts +7 -0
- package/dist/types/components/stzh-vbz-intro/stzh-vbz-intro.d.ts +15 -0
- package/dist/types/components/stzh-vbz-intro/stzh-vbz-intro.localization.d.ts +4 -0
- package/dist/types/components/stzh-vbz-ticker/stzh-vbz-ticker.d.ts +2 -1
- package/dist/types/components/stzh-vbz-ticker/stzh-vbz-ticker.localization.d.ts +1 -2
- package/dist/types/components.d.ts +186 -10
- package/dist/types/index.d.ts +4 -0
- package/dist/types/utils/utils.d.ts +7 -0
- package/dist/vscode-data.json +120 -1
- package/package.json +3 -1
- package/dist/cjs/stzh-list-item.cjs.entry.js +0 -27
- package/dist/cjs/stzh-list-item.cjs.entry.js.map +0 -1
- package/dist/cjs/stzh-list.cjs.entry.js.map +0 -1
- package/dist/cjs/utils-d0fff87f.js.map +0 -1
- package/dist/esm/stzh-list-item.entry.js.map +0 -1
- package/dist/esm/stzh-list.entry.js.map +0 -1
- package/dist/esm/utils-54aead01.js.map +0 -1
- package/dist/stzh-components/p-012dc71e.entry.js +0 -2
- package/dist/stzh-components/p-100d4052.entry.js +0 -2
- package/dist/stzh-components/p-100d4052.entry.js.map +0 -1
- package/dist/stzh-components/p-1f0e8499.entry.js +0 -2
- package/dist/stzh-components/p-1f0e8499.entry.js.map +0 -1
- package/dist/stzh-components/p-204a6e41.entry.js.map +0 -1
- package/dist/stzh-components/p-20db8d01.entry.js.map +0 -1
- package/dist/stzh-components/p-2d7966cf.entry.js +0 -2
- package/dist/stzh-components/p-4db427d5.entry.js.map +0 -1
- package/dist/stzh-components/p-4f49450d.entry.js.map +0 -1
- package/dist/stzh-components/p-523c0bb1.entry.js +0 -2
- package/dist/stzh-components/p-523c0bb1.entry.js.map +0 -1
- package/dist/stzh-components/p-52a914cd.entry.js +0 -2
- package/dist/stzh-components/p-52a914cd.entry.js.map +0 -1
- package/dist/stzh-components/p-59a1a257.entry.js.map +0 -1
- package/dist/stzh-components/p-648b7232.entry.js +0 -2
- package/dist/stzh-components/p-648b7232.entry.js.map +0 -1
- package/dist/stzh-components/p-66007952.entry.js.map +0 -1
- package/dist/stzh-components/p-6ab9dee8.entry.js +0 -2
- package/dist/stzh-components/p-6ab9dee8.entry.js.map +0 -1
- package/dist/stzh-components/p-6c2289da.entry.js +0 -2
- package/dist/stzh-components/p-6c2289da.entry.js.map +0 -1
- package/dist/stzh-components/p-72c375c7.entry.js.map +0 -1
- package/dist/stzh-components/p-75b79adf.entry.js.map +0 -1
- package/dist/stzh-components/p-771d370d.entry.js +0 -2
- package/dist/stzh-components/p-771d370d.entry.js.map +0 -1
- package/dist/stzh-components/p-77ba1f21.entry.js +0 -2
- package/dist/stzh-components/p-77ba1f21.entry.js.map +0 -1
- package/dist/stzh-components/p-78a16599.entry.js +0 -2
- package/dist/stzh-components/p-7e304ea3.js +0 -2
- package/dist/stzh-components/p-7e304ea3.js.map +0 -1
- package/dist/stzh-components/p-7efbb643.entry.js +0 -2
- package/dist/stzh-components/p-7efbb643.entry.js.map +0 -1
- package/dist/stzh-components/p-991309dd.entry.js +0 -2
- package/dist/stzh-components/p-991309dd.entry.js.map +0 -1
- package/dist/stzh-components/p-af7855ff.entry.js +0 -2
- package/dist/stzh-components/p-af7855ff.entry.js.map +0 -1
- package/dist/stzh-components/p-c877d32c.entry.js.map +0 -1
- package/dist/stzh-components/p-cc1f8acc.js +0 -2
- package/dist/stzh-components/p-cf856610.entry.js +0 -2
- package/dist/stzh-components/p-cf856610.entry.js.map +0 -1
- package/dist/stzh-components/p-ef21f4dc.entry.js.map +0 -1
- package/dist/stzh-components/p-f4ed8d7e.entry.js.map +0 -1
- package/dist/stzh-components/p-fdd6e755.entry.js +0 -2
- package/dist/stzh-components/p-fdd6e755.entry.js.map +0 -1
- /package/dist/stzh-components/{p-9684b22d.entry.js.map → p-09480ffe.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-161ae3d1.entry.js.map → p-0b15d79b.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-c1cd45e1.entry.js.map → p-12bffe97.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-27d5ad01.entry.js.map → p-16a2675e.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-0fb40e48.entry.js.map → p-24ea178a.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-3f0d3919.entry.js.map → p-2812752a.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-68d33cd3.entry.js.map → p-29c1cb5c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-801af922.entry.js.map → p-30a522e0.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-d10a6897.entry.js.map → p-30a7c058.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-7ca981d1.entry.js.map → p-3261eab4.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-5d4a2df0.entry.js.map → p-32cb5b94.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-97df1d9f.entry.js.map → p-346d2f3d.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-8f1dbd3b.entry.js.map → p-3912a256.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-6fdc4c74.entry.js.map → p-39acdb68.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-edf77853.entry.js.map → p-63c76fd5.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-533fea0b.entry.js.map → p-67e61035.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-80fafa1d.entry.js.map → p-6fffe2c8.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-eb79f3ed.entry.js.map → p-82c53e4f.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-8e0a2441.entry.js.map → p-87f3052b.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-b566a2c0.entry.js.map → p-8a82bf60.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-9b43127f.entry.js.map → p-8b04698a.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-7754870d.entry.js.map → p-9c1b3929.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-cff05968.entry.js.map → p-a249f3f6.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-a2e9723b.entry.js.map → p-aa3e4203.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-f5821678.entry.js.map → p-ab5ee55b.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-ce99f5e8.entry.js.map → p-acef653a.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-c5dbf7ad.entry.js.map → p-b03f41c3.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-ee82f53c.entry.js.map → p-c169f243.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-7d030c40.entry.js.map → p-c3816fd3.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-7aac960b.entry.js.map → p-ce6dbd52.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-722b9e40.entry.js.map → p-d46bbc8c.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-c9eecee7.entry.js.map → p-d48ecb2f.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-ea152ff3.entry.js.map → p-d7697cf8.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-472b3327.entry.js.map → p-d7f1ed07.entry.js.map} +0 -0
- /package/dist/stzh-components/{p-56346206.entry.js.map → p-d9fa718c.entry.js.map} +0 -0
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
"components/stzh-actionset/stzh-actionset.js",
|
|
7
7
|
"components/stzh-amount/stzh-amount.js",
|
|
8
8
|
"components/stzh-anchornav/stzh-anchornav.js",
|
|
9
|
+
"components/stzh-app-bar/stzh-app-bar.js",
|
|
9
10
|
"components/stzh-appointments/stzh-appointments.js",
|
|
10
11
|
"components/stzh-archivelist/stzh-archivelist.js",
|
|
11
12
|
"components/stzh-audio/stzh-audio.js",
|
|
@@ -30,6 +31,7 @@
|
|
|
30
31
|
"components/stzh-chipselect/stzh-chipselect.js",
|
|
31
32
|
"components/stzh-clamp/stzh-clamp.js",
|
|
32
33
|
"components/stzh-contact/stzh-contact.js",
|
|
34
|
+
"components/stzh-contact-cv/stzh-contact-cv.js",
|
|
33
35
|
"components/stzh-container/stzh-container.js",
|
|
34
36
|
"components/stzh-content/stzh-content.js",
|
|
35
37
|
"components/stzh-cspace/stzh-cspace.js",
|
|
@@ -128,6 +130,8 @@
|
|
|
128
130
|
"components/stzh-twocolumns/stzh-twocolumns.js",
|
|
129
131
|
"components/stzh-upload/stzh-upload.js",
|
|
130
132
|
"components/stzh-vbz-carousel/stzh-vbz-carousel.js",
|
|
133
|
+
"components/stzh-vbz-connection-finder/stzh-vbz-connection-finder.js",
|
|
134
|
+
"components/stzh-vbz-intro/stzh-vbz-intro.js",
|
|
131
135
|
"components/stzh-vbz-linechip/stzh-vbz-linechip.js",
|
|
132
136
|
"components/stzh-vbz-majorticker/stzh-vbz-majorticker.js",
|
|
133
137
|
"components/stzh-vbz-ticker/stzh-vbz-ticker.js",
|
|
@@ -167,11 +167,16 @@
|
|
|
167
167
|
--stzh-section-padding-bottom: 0px;
|
|
168
168
|
--stzh-section-margin-top: 0px;
|
|
169
169
|
--stzh-section-margin-bottom: 0px;
|
|
170
|
+
--margin-left: inherit;
|
|
171
|
+
--margin-right: inherit;
|
|
170
172
|
}
|
|
171
173
|
|
|
172
174
|
.stzh-accordion {
|
|
173
175
|
display: grid;
|
|
174
176
|
gap: var(--stzh-space-xsmall);
|
|
177
|
+
margin-left: var(--margin-left);
|
|
178
|
+
margin-right: var(--margin-left);
|
|
179
|
+
/* is nested within another accordion */
|
|
175
180
|
}
|
|
176
181
|
.stzh-accordion__heading {
|
|
177
182
|
margin-bottom: var(--stzh-space-small);
|
|
@@ -185,4 +190,38 @@
|
|
|
185
190
|
.stzh-accordion__heading {
|
|
186
191
|
margin-bottom: var(--stzh-space-large);
|
|
187
192
|
}
|
|
193
|
+
}
|
|
194
|
+
.stzh-accordion--is-nested {
|
|
195
|
+
margin-left: calc(var(--stzh-space-medium) * -1);
|
|
196
|
+
margin-right: calc(var(--stzh-space-medium) * -1);
|
|
197
|
+
}
|
|
198
|
+
@media screen and (min-width: 600px) {
|
|
199
|
+
.stzh-accordion--is-nested {
|
|
200
|
+
margin-left: calc(var(--stzh-space-large) * -1);
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
@media screen and (min-width: 900px) {
|
|
204
|
+
.stzh-accordion--is-nested {
|
|
205
|
+
margin-left: calc(var(--stzh-space-xlarge) * -1);
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
@media screen and (min-width: 1260px) {
|
|
209
|
+
.stzh-accordion--is-nested {
|
|
210
|
+
margin-left: calc(var(--stzh-space-xxlarge) * -1);
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
@media screen and (min-width: 600px) {
|
|
214
|
+
.stzh-accordion--is-nested {
|
|
215
|
+
margin-right: calc(var(--stzh-space-large) * -1);
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
@media screen and (min-width: 900px) {
|
|
219
|
+
.stzh-accordion--is-nested {
|
|
220
|
+
margin-right: calc(var(--stzh-space-xlarge) * -1);
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
@media screen and (min-width: 1260px) {
|
|
224
|
+
.stzh-accordion--is-nested {
|
|
225
|
+
margin-right: calc(var(--stzh-space-xxlarge) * -1);
|
|
226
|
+
}
|
|
188
227
|
}
|
|
@@ -8,6 +8,7 @@ export class StzhAccordion {
|
|
|
8
8
|
this.heading = "";
|
|
9
9
|
this.collapsible = true;
|
|
10
10
|
this.multiselectable = true;
|
|
11
|
+
this.isNested = undefined;
|
|
11
12
|
}
|
|
12
13
|
variantWatcher(newValue) {
|
|
13
14
|
this.stzhVariantChange.emit({
|
|
@@ -63,9 +64,23 @@ export class StzhAccordion {
|
|
|
63
64
|
accordionItem.focus();
|
|
64
65
|
}
|
|
65
66
|
}
|
|
67
|
+
checkIfNested() {
|
|
68
|
+
let parentElement = this.element.parentElement;
|
|
69
|
+
while (parentElement) {
|
|
70
|
+
if (parentElement.tagName.toLowerCase() === "stzh-accordion") {
|
|
71
|
+
this.isNested = true;
|
|
72
|
+
break;
|
|
73
|
+
}
|
|
74
|
+
parentElement = parentElement.parentElement;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
componentDidLoad() {
|
|
78
|
+
this.checkIfNested();
|
|
79
|
+
}
|
|
66
80
|
render() {
|
|
67
81
|
const classes = {
|
|
68
82
|
"stzh-accordion": true,
|
|
83
|
+
"stzh-accordion--is-nested": this.isNested,
|
|
69
84
|
};
|
|
70
85
|
return (h(Host, null, h("div", { class: classes }, this.heading && (h("div", { class: "stzh-accordion__heading" }, h("stzh-heading", { level: "2" }, this.heading))), h("slot", null))));
|
|
71
86
|
}
|
|
@@ -163,6 +178,11 @@ export class StzhAccordion {
|
|
|
163
178
|
}
|
|
164
179
|
};
|
|
165
180
|
}
|
|
181
|
+
static get states() {
|
|
182
|
+
return {
|
|
183
|
+
"isNested": {}
|
|
184
|
+
};
|
|
185
|
+
}
|
|
166
186
|
static get events() {
|
|
167
187
|
return [{
|
|
168
188
|
"method": "stzhVariantChange",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stzh-accordion.js","sourceRoot":"","sources":["../../../../src/components/stzh-accordion/stzh-accordion.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"stzh-accordion.js","sourceRoot":"","sources":["../../../../src/components/stzh-accordion/stzh-accordion.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAIrH;;GAEG;AAMH,MAAM,OAAO,aAAa;;mBAEiC,SAAS;mBAGvB,EAAE;uBAGd,IAAI;2BAGA,IAAI;;;EAUvC,cAAc,CAAC,QAA8B;IAC3C,IAAI,CAAC,iBAAiB,CAAC,IAAI,CAAC;MAC1B,SAAS,EAAE,gBAAgB;MAC3B,KAAK,EAAE,QAAQ;KAChB,CAAC,CAAC;EACL,CAAC;EAGD,YAAY,CAAC,KAA8C;IACzD,MAAM,mBAAmB,GAAG,KAAK,CAAC,MAAsC,CAAC;IACzE,MAAM,eAAe,GAAG,mBAAmB,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC;IAEtE,IACE,IAAI,CAAC,eAAe;MACpB,CAAC,KAAK,CAAC,MAAM,IAAI,KAAK,CAAC,MAAM,CAAC,SAAS,KAAK,qBAAqB,CAAC;MAClE,eAAe,KAAK,IAAI,CAAC,OAAO,EAChC;MACA,OAAO;KACR;IAED,MAAM,KAAK,GAAmC,KAAK,CAAC,IAAI,CAAC,eAAe,CAAC,gBAAgB,CAAC,qBAAqB,CAAC,CAAC,CAAC;IAClH,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE;MACnB,IAAI,IAAI,KAAK,mBAAmB,EAAE;QAChC,IAAI,CAAC,IAAI,EAAE,CAAC;OACb;IACH,CAAC,CAAC,CAAC;EACL,CAAC;EAED,kCAAkC;EAElC,KAAK,CAAC,YAAY,CAAC,aAA2C,EAAE,MAAc;IAC5E,MAAM,SAAS,GAAG,aAAa,CAAC,OAAO,CAAC,gBAAgB,CAAC,CAAC;IAE1D,IAAI,SAAS,KAAK,IAAI,CAAC,OAAO,EAAE;MAC9B,OAAO;KACR;IAED,MAAM,KAAK,GACT,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,gBAAgB,CAAC,8BAA8B,CAAC,CACtE,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IAEjC,MAAM,YAAY,GAAG,KAAK,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC;IAElD,IAAI,CAAC,MAAM,KAAK,MAAM,IAAI,MAAM,KAAK,MAAM,CAAC,IAAI,YAAY,KAAK,IAAI,EAAE;MACrE,MAAM,GAAG,MAAM,KAAK,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC;KAC/C;IAED,IAAI,MAAM,KAAK,MAAM,IAAI,YAAY,KAAK,CAAC,EAAE;MAC3C,MAAM,GAAG,MAAM,CAAC;KACjB;IAED,IAAI,MAAM,KAAK,MAAM,IAAI,YAAY,KAAK,KAAK,CAAC,MAAM,GAAG,CAAC,EAAE;MAC1D,MAAM,GAAG,OAAO,CAAC;KAClB;IAED,IAAI,MAAM,KAAK,MAAM,EAAE;MACrB,KAAK,CAAC,YAAY,GAAG,CAAC,CAAC,CAAC,KAAK,EAAE,CAAC;KACjC;SAAM,IAAI,MAAM,KAAK,MAAM,EAAE;MAC5B,KAAK,CAAC,YAAY,GAAG,CAAC,CAAC,CAAC,KAAK,EAAE,CAAC;KACjC;SAAM,IAAI,MAAM,KAAK,MAAM,EAAE;MAC5B,KAAK,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,KAAK,EAAE,CAAC;KACjC;SAAM,IAAI,MAAM,KAAK,OAAO,EAAE;MAC7B,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,EAAE,CAAC;KAClB;SAAM;MACL,aAAa,CAAC,KAAK,EAAE,CAAC;KACvB;EACH,CAAC;EAEO,aAAa;IACnB,IAAI,aAAa,GAAG,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC;IAE/C,OAAO,aAAa,EAAE;MACpB,IAAI,aAAa,CAAC,OAAO,CAAC,WAAW,EAAE,KAAK,gBAAgB,EAAE;QAC5D,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC;QACrB,MAAM;OACP;MACD,aAAa,GAAG,aAAa,CAAC,aAAa,CAAC;KAC7C;EACH,CAAC;EAED,gBAAgB;IACd,IAAI,CAAC,aAAa,EAAE,CAAC;EACvB,CAAC;EAED,MAAM;IACJ,MAAM,OAAO,GAAG;MACd,gBAAgB,EAAE,IAAI;MACtB,2BAA2B,EAAE,IAAI,CAAC,QAAQ;KAC3C,CAAC;IAEF,OAAO,CACL,EAAC,IAAI;MACH,WAAK,KAAK,EAAE,OAAO;QAChB,IAAI,CAAC,OAAO,IAAI,CACf,WAAK,KAAK,EAAC,yBAAyB;UAClC,oBAAc,KAAK,EAAC,GAAG,IAAE,IAAI,CAAC,OAAO,CAAgB,CACjD,CACP;QACD,eAAa,CACT,CACD,CACR,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Event, EventEmitter, h, Host, Listen, Method, Prop, State, Watch } from \"@stencil/core\";\n\nimport { StzhAccordionItemOpenEvent, StzhAccordionVariant, StzhAccordionVariantChangeEvent } from \"../../index\";\n\n/**\n * @slot - Slot for `stzh-accordion-item` elements\n */\n@Component({\n tag: \"stzh-accordion\",\n styleUrl: \"stzh-accordion.scss\",\n shadow: true,\n})\nexport class StzhAccordion {\n /** Variant */\n @Prop({ reflect: true }) variant: StzhAccordionVariant = \"default\";\n\n /** Heading */\n @Prop({ reflect: true }) heading: string = \"\";\n\n /** Whether folds are collapsible */\n @Prop() collapsible: boolean = true;\n\n /** Whether multiple folds can be opened at once */\n @Prop() multiselectable: boolean = true;\n\n @Element() element: HTMLStzhAccordionElement;\n\n /** Variant change event */\n @Event() stzhVariantChange: EventEmitter<StzhAccordionVariantChangeEvent>;\n\n @State() isNested: boolean;\n\n @Watch(\"variant\")\n variantWatcher(newValue: StzhAccordionVariant) {\n this.stzhVariantChange.emit({\n component: \"stzh-accordion\",\n value: newValue,\n });\n }\n\n @Listen(\"stzhOpen\")\n openListener(event: CustomEvent<StzhAccordionItemOpenEvent>) {\n const accordionItemOpened = event.target as HTMLStzhAccordionItemElement;\n const accordionOpened = accordionItemOpened.closest(\"stzh-accordion\");\n\n if (\n this.multiselectable ||\n (event.detail && event.detail.component !== \"stzh-accordion-item\") ||\n accordionOpened !== this.element\n ) {\n return;\n }\n\n const items: HTMLStzhAccordionItemElement[] = Array.from(accordionOpened.querySelectorAll(\"stzh-accordion-item\"));\n items.forEach(item => {\n if (item !== accordionItemOpened) {\n item.hide();\n }\n });\n }\n\n /** Set focus to accordion item */\n @Method()\n async setItemFocus(accordionItem: HTMLStzhAccordionItemElement, action: string) {\n const accordion = accordionItem.closest(\"stzh-accordion\");\n\n if (accordion !== this.element) {\n return;\n }\n\n const items = (\n Array.from(accordion.querySelectorAll(\":scope > stzh-accordion-item\")) as HTMLStzhAccordionItemElement[]\n ).filter(item => !item.disabled);\n\n const currentIndex = items.indexOf(accordionItem);\n\n if ((action === \"prev\" || action === \"next\") && currentIndex === null) {\n action = action === \"prev\" ? \"last\" : \"first\";\n }\n\n if (action === \"prev\" && currentIndex === 0) {\n action = \"last\";\n }\n\n if (action === \"next\" && currentIndex === items.length - 1) {\n action = \"first\";\n }\n\n if (action === \"prev\") {\n items[currentIndex - 1].focus();\n } else if (action === \"next\") {\n items[currentIndex + 1].focus();\n } else if (action === \"last\") {\n items[items.length - 1].focus();\n } else if (action === \"first\") {\n items[0].focus();\n } else {\n accordionItem.focus();\n }\n }\n\n private checkIfNested() {\n let parentElement = this.element.parentElement;\n\n while (parentElement) {\n if (parentElement.tagName.toLowerCase() === \"stzh-accordion\") {\n this.isNested = true;\n break;\n }\n parentElement = parentElement.parentElement;\n }\n }\n\n componentDidLoad() {\n this.checkIfNested();\n }\n\n render() {\n const classes = {\n \"stzh-accordion\": true,\n \"stzh-accordion--is-nested\": this.isNested,\n };\n\n return (\n <Host>\n <div class={classes}>\n {this.heading && (\n <div class=\"stzh-accordion__heading\">\n <stzh-heading level=\"2\">{this.heading}</stzh-heading>\n </div>\n )}\n <slot></slot>\n </div>\n </Host>\n );\n }\n}\n"]}
|
|
@@ -494,6 +494,11 @@
|
|
|
494
494
|
margin-top: var(--stzh-space-medium);
|
|
495
495
|
}
|
|
496
496
|
}
|
|
497
|
+
@media screen and (min-width: 900px) {
|
|
498
|
+
.stzh-accordion-item--title .stzh-accordion-item__subtitle:not(:empty) + .stzh-accordion-item__heading-text, .stzh-accordion-item--has-subtitle .stzh-accordion-item__subtitle:not(:empty) + .stzh-accordion-item__heading-text {
|
|
499
|
+
margin-top: var(--stzh-space-xsmall);
|
|
500
|
+
}
|
|
501
|
+
}
|
|
497
502
|
.stzh-accordion-item--is-open .stzh-accordion-item__button-icon.is-default::before, .stzh-accordion-item--is-open .stzh-accordion-item__button-icon.is-default::after {
|
|
498
503
|
transform: rotate(0) translate(-50%, -50%);
|
|
499
504
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { h, Host } from "@stencil/core";
|
|
2
2
|
/**
|
|
3
3
|
*
|
|
4
4
|
*/
|
|
@@ -19,20 +19,21 @@ export class StzhAnchornav {
|
|
|
19
19
|
this.stzhItemClick.emit({
|
|
20
20
|
component: "stzh-anchornav",
|
|
21
21
|
item,
|
|
22
|
-
originalEvent
|
|
22
|
+
originalEvent,
|
|
23
23
|
});
|
|
24
24
|
}
|
|
25
25
|
async componentWillLoad() {
|
|
26
26
|
this.itemsWatcher(this.items);
|
|
27
|
+
document.documentElement.style.setProperty("--stzh-anchornav-is-visible", "1");
|
|
27
28
|
if (!this.localization) {
|
|
28
29
|
this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, "anchornav");
|
|
29
30
|
}
|
|
30
31
|
}
|
|
31
32
|
render() {
|
|
32
33
|
const classes = {
|
|
33
|
-
"stzh-anchornav": true
|
|
34
|
+
"stzh-anchornav": true,
|
|
34
35
|
};
|
|
35
|
-
return (h(Host, null, h("nav", { class: classes, role: "navigation", "aria-label": this.localization.title }, h("div", { class: "stzh-anchornav__list", role: "list" }, this._items.map(
|
|
36
|
+
return (h(Host, null, h("nav", { class: classes, role: "navigation", "aria-label": this.localization.title }, h("div", { class: "stzh-anchornav__list", role: "list" }, this._items.map(item => (h("a", { class: "stzh-anchornav__item", role: "listitem", href: item.href, onClick: e => this.handleClick(item, e) }, h("stzh-clamp", { lines: 2, class: "stzh-anchornav__label" }, item.label), h("stzh-icon", { class: "stzh-anchornav__icon", name: item.icon || "arrow-down" }))))))));
|
|
36
37
|
}
|
|
37
38
|
static get is() { return "stzh-anchornav"; }
|
|
38
39
|
static get encapsulation() { return "scoped"; }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stzh-anchornav.js","sourceRoot":"","sources":["../../../../src/components/stzh-anchornav/stzh-anchornav.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"stzh-anchornav.js","sourceRoot":"","sources":["../../../../src/components/stzh-anchornav/stzh-anchornav.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAM9F;;GAEG;AAMH,MAAM,OAAO,aAAa;;;iBASsB,EAAE;;EAMhD,YAAY,CAAC,QAAsC;IACjD,IAAI,OAAO,QAAQ,KAAK,QAAQ,EAAE;MAChC,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;KACpC;SAAM;MACL,IAAI,CAAC,MAAM,GAAG,QAAQ,CAAC;KACxB;EACH,CAAC;EAKO,WAAW,CAAC,IAAuB,EAAE,aAAyB;IACpE,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC;MACtB,SAAS,EAAE,gBAAgB;MAC3B,IAAI;MACJ,aAAa;KACd,CAAC,CAAC;EACL,CAAC;EAED,KAAK,CAAC,iBAAiB;IACrB,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IAC9B,QAAQ,CAAC,eAAe,CAAC,KAAK,CAAC,WAAW,CAAC,6BAA6B,EAAE,GAAG,CAAC,CAAC;IAE/E,IAAI,CAAC,IAAI,CAAC,YAAY,EAAE;MACtB,IAAI,CAAC,YAAY,GAAG,MAAM,MAAM,CAAC,cAAc,CAAC,KAAK,CAAC,iBAAiB,CAAC,IAAI,CAAC,OAAO,EAAE,WAAW,CAAC,CAAC;KACpG;EACH,CAAC;EAED,MAAM;IACJ,MAAM,OAAO,GAAG;MACd,gBAAgB,EAAE,IAAI;KACvB,CAAC;IAEF,OAAO,CACL,EAAC,IAAI;MACH,WAAK,KAAK,EAAE,OAAO,EAAE,IAAI,EAAC,YAAY,gBAAa,IAAI,CAAC,YAAY,CAAC,KAAK;QACxE,WAAK,KAAK,EAAC,sBAAsB,EAAC,IAAI,EAAC,MAAM,IAC1C,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,CACvB,SAAG,KAAK,EAAC,sBAAsB,EAAC,IAAI,EAAC,UAAU,EAAC,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,OAAO,EAAE,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,CAAC,CAAC;UACtG,kBAAY,KAAK,EAAE,CAAC,EAAE,KAAK,EAAC,uBAAuB,IAChD,IAAI,CAAC,KAAK,CACA;UACb,iBAAW,KAAK,EAAC,sBAAsB,EAAC,IAAI,EAAE,IAAI,CAAC,IAAI,IAAI,YAAY,GAAc,CACnF,CACL,CAAC,CACE,CACF,CACD,CACR,CAAC;EACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Event, EventEmitter, h, Host, Prop, Watch } from \"@stencil/core\";\n\nimport { StzhAnchornavItem, StzhAnchornavItemClickEvent } from \"../../index\";\n\nimport { StzhAnchornavLocalizedText } from \"./stzh-anchornav.localization\";\n\n/**\n *\n */\n@Component({\n tag: \"stzh-anchornav\",\n styleUrl: \"stzh-anchornav.scss\",\n scoped: true,\n})\nexport class StzhAnchornav {\n /** Translation strings */\n @Prop() localization: StzhAnchornavLocalizedText;\n\n /**\n * Initial selected values.\n * Array of objects with `label`, `href` and `icon` attribute:\n * `[{\"href\":\"#lorem\", \"label\": \"Label 1\"}, {\"href\":\"#lorem2\", \"label\": \"Label 2\"}]`\n */\n @Prop() items: StzhAnchornavItem[] | string = [];\n private _items: StzhAnchornavItem[];\n\n @Element() element: HTMLStzhAnchornavElement;\n\n @Watch(\"items\")\n itemsWatcher(newValue: StzhAnchornavItem[] | string) {\n if (typeof newValue === \"string\") {\n this._items = JSON.parse(newValue);\n } else {\n this._items = newValue;\n }\n }\n\n /** Item click event */\n @Event() stzhItemClick: EventEmitter<StzhAnchornavItemClickEvent>;\n\n private handleClick(item: StzhAnchornavItem, originalEvent: MouseEvent) {\n this.stzhItemClick.emit({\n component: \"stzh-anchornav\",\n item,\n originalEvent,\n });\n }\n\n async componentWillLoad() {\n this.itemsWatcher(this.items);\n document.documentElement.style.setProperty(\"--stzh-anchornav-is-visible\", \"1\");\n\n if (!this.localization) {\n this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, \"anchornav\");\n }\n }\n\n render() {\n const classes = {\n \"stzh-anchornav\": true,\n };\n\n return (\n <Host>\n <nav class={classes} role=\"navigation\" aria-label={this.localization.title}>\n <div class=\"stzh-anchornav__list\" role=\"list\">\n {this._items.map(item => (\n <a class=\"stzh-anchornav__item\" role=\"listitem\" href={item.href} onClick={e => this.handleClick(item, e)}>\n <stzh-clamp lines={2} class=\"stzh-anchornav__label\">\n {item.label}\n </stzh-clamp>\n <stzh-icon class=\"stzh-anchornav__icon\" name={item.icon || \"arrow-down\"}></stzh-icon>\n </a>\n ))}\n </div>\n </nav>\n </Host>\n );\n }\n}\n"]}
|
|
@@ -0,0 +1,253 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Colors
|
|
3
|
+
*/
|
|
4
|
+
/* Signal colors */
|
|
5
|
+
/* Old colors (TODO: cleanup when not needed anymore) */
|
|
6
|
+
/**
|
|
7
|
+
* Base
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* Selection
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Flyingfocus
|
|
14
|
+
*/
|
|
15
|
+
/**
|
|
16
|
+
* Icons
|
|
17
|
+
*/
|
|
18
|
+
/**
|
|
19
|
+
* Link
|
|
20
|
+
*/
|
|
21
|
+
/**
|
|
22
|
+
* Text
|
|
23
|
+
*/
|
|
24
|
+
/**
|
|
25
|
+
* Section
|
|
26
|
+
*/
|
|
27
|
+
/**
|
|
28
|
+
* Header
|
|
29
|
+
*/
|
|
30
|
+
/**
|
|
31
|
+
* Footer
|
|
32
|
+
*/
|
|
33
|
+
/**
|
|
34
|
+
* Fieldset
|
|
35
|
+
*/
|
|
36
|
+
/**
|
|
37
|
+
* Progressbar
|
|
38
|
+
*/
|
|
39
|
+
/**
|
|
40
|
+
* Loader
|
|
41
|
+
*/
|
|
42
|
+
/**
|
|
43
|
+
* Table
|
|
44
|
+
*/
|
|
45
|
+
/**
|
|
46
|
+
* Heading
|
|
47
|
+
*/
|
|
48
|
+
/**
|
|
49
|
+
* Text
|
|
50
|
+
*/
|
|
51
|
+
/**
|
|
52
|
+
* Menu (Item)
|
|
53
|
+
*/
|
|
54
|
+
/**
|
|
55
|
+
* Form Elements (Input / Checkbox / Radio / Select / Datepicker)
|
|
56
|
+
*/
|
|
57
|
+
/**
|
|
58
|
+
* Popover
|
|
59
|
+
*/
|
|
60
|
+
/**
|
|
61
|
+
* Tooltips
|
|
62
|
+
*/
|
|
63
|
+
/**
|
|
64
|
+
* Dialogs / Popover
|
|
65
|
+
*/
|
|
66
|
+
/**
|
|
67
|
+
* Overlays
|
|
68
|
+
*/
|
|
69
|
+
/**
|
|
70
|
+
* Accordions
|
|
71
|
+
*/
|
|
72
|
+
/**
|
|
73
|
+
* Timeline
|
|
74
|
+
*/
|
|
75
|
+
/**
|
|
76
|
+
* Buttons
|
|
77
|
+
*/
|
|
78
|
+
/**
|
|
79
|
+
* Ratios
|
|
80
|
+
*/
|
|
81
|
+
/**
|
|
82
|
+
* Pagetitle
|
|
83
|
+
*/
|
|
84
|
+
/**
|
|
85
|
+
* TopnewsMostsearched
|
|
86
|
+
*/
|
|
87
|
+
/**
|
|
88
|
+
* Calendar
|
|
89
|
+
*/
|
|
90
|
+
/**
|
|
91
|
+
* Cta
|
|
92
|
+
*/
|
|
93
|
+
/**
|
|
94
|
+
* Toasts
|
|
95
|
+
*/
|
|
96
|
+
/**
|
|
97
|
+
* Box Shadows
|
|
98
|
+
*/
|
|
99
|
+
/**
|
|
100
|
+
* Z-Indexes
|
|
101
|
+
* Inspired by https://www.duetds.com/tokens/#z-index
|
|
102
|
+
*/
|
|
103
|
+
/**
|
|
104
|
+
* Icon sizes
|
|
105
|
+
*/
|
|
106
|
+
/**
|
|
107
|
+
* Grid
|
|
108
|
+
*/
|
|
109
|
+
/**
|
|
110
|
+
* Container
|
|
111
|
+
*/
|
|
112
|
+
/**
|
|
113
|
+
* Breakpoints
|
|
114
|
+
*/
|
|
115
|
+
/**
|
|
116
|
+
* Ratios
|
|
117
|
+
*/
|
|
118
|
+
/**
|
|
119
|
+
* Spaces
|
|
120
|
+
*/
|
|
121
|
+
/**
|
|
122
|
+
* Fonts
|
|
123
|
+
*/
|
|
124
|
+
:host {
|
|
125
|
+
font-family: var(--stzh-font-family-medium);
|
|
126
|
+
font-weight: var(--stzh-font-weight-medium);
|
|
127
|
+
font-style: var(--stzh-font-style-medium);
|
|
128
|
+
color: var(--stzh-base-color);
|
|
129
|
+
box-sizing: border-box;
|
|
130
|
+
display: block;
|
|
131
|
+
/* default outline value, which will be applied to all elements receiving focus
|
|
132
|
+
the .has-focus class is used by the focus target */
|
|
133
|
+
}
|
|
134
|
+
:host[hidden] {
|
|
135
|
+
display: none;
|
|
136
|
+
}
|
|
137
|
+
:host::-moz-selection {
|
|
138
|
+
color: var(--stzh-selection-color);
|
|
139
|
+
background-color: var(--stzh-selection-background-color);
|
|
140
|
+
}
|
|
141
|
+
:host::selection {
|
|
142
|
+
color: var(--stzh-selection-color);
|
|
143
|
+
background-color: var(--stzh-selection-background-color);
|
|
144
|
+
}
|
|
145
|
+
:host *,
|
|
146
|
+
:host *::before,
|
|
147
|
+
:host *::after {
|
|
148
|
+
box-sizing: border-box;
|
|
149
|
+
text-underline-offset: var(--stzh-link-text-underline-offset);
|
|
150
|
+
text-decoration-thickness: var(--stzh-link-text-decoration-thickness);
|
|
151
|
+
-webkit-text-decoration-skip-ink: var(--stzh-link-text-decoration-skip-ink);
|
|
152
|
+
text-decoration-skip-ink: var(--stzh-link-text-decoration-skip-ink);
|
|
153
|
+
}
|
|
154
|
+
:host .has-focus {
|
|
155
|
+
outline: var(--stzh-flyingfocus-color) solid 0.125rem;
|
|
156
|
+
outline-offset: 0.125rem;
|
|
157
|
+
}
|
|
158
|
+
:host .stzh-fylingfocus-focused {
|
|
159
|
+
outline-style: none !important;
|
|
160
|
+
}
|
|
161
|
+
:host .stzh-fylingfocus-focused::-moz-focus-inner {
|
|
162
|
+
border: 0 !important;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* @prop --stzh-app-bar-background-color: Background color of app bar buttons.
|
|
167
|
+
* @prop --stzh-app-bar-hover-background-color: Hover background color of app bar buttons.
|
|
168
|
+
*/
|
|
169
|
+
:host {
|
|
170
|
+
--stzh-app-bar-background-color: var(--stzh-color-white);
|
|
171
|
+
--stzh-app-bar-hover-background-color: var(--stzh-color-coolgrey10);
|
|
172
|
+
}
|
|
173
|
+
:host ::slotted([slot=one]),
|
|
174
|
+
:host ::slotted([slot=two]),
|
|
175
|
+
:host ::slotted([slot=three]),
|
|
176
|
+
:host ::slotted([slot=four]),
|
|
177
|
+
:host ::slotted([slot=five]) {
|
|
178
|
+
position: relative;
|
|
179
|
+
flex-grow: 1;
|
|
180
|
+
--icon-text-margin: 0;
|
|
181
|
+
--background-color: var(--stzh-app-bar-background-color);
|
|
182
|
+
--hover-background-color: var(--stzh-app-bar-hover-background-color);
|
|
183
|
+
--padding-top: var(--stzh-space-xxsmall);
|
|
184
|
+
--padding-bottom: var(--stzh-space-xxsmall);
|
|
185
|
+
--padding-left: var(--stzh-space-xxsmall);
|
|
186
|
+
--padding-right: var(--stzh-space-xxsmall);
|
|
187
|
+
}
|
|
188
|
+
:host ::slotted([slot=one]) .stzh-button__inner,
|
|
189
|
+
:host ::slotted([slot=two]) .stzh-button__inner,
|
|
190
|
+
:host ::slotted([slot=three]) .stzh-button__inner,
|
|
191
|
+
:host ::slotted([slot=four]) .stzh-button__inner,
|
|
192
|
+
:host ::slotted([slot=five]) .stzh-button__inner {
|
|
193
|
+
flex-direction: column;
|
|
194
|
+
gap: var(--stzh-space-xsmall);
|
|
195
|
+
}
|
|
196
|
+
@media screen and (min-width: 1260px) {
|
|
197
|
+
:host ::slotted([slot=one]) .stzh-button__inner,
|
|
198
|
+
:host ::slotted([slot=two]) .stzh-button__inner,
|
|
199
|
+
:host ::slotted([slot=three]) .stzh-button__inner,
|
|
200
|
+
:host ::slotted([slot=four]) .stzh-button__inner,
|
|
201
|
+
:host ::slotted([slot=five]) .stzh-button__inner {
|
|
202
|
+
flex-direction: inherit;
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
:host ::slotted([slot=one]) .stzh-button__text,
|
|
206
|
+
:host ::slotted([slot=two]) .stzh-button__text,
|
|
207
|
+
:host ::slotted([slot=three]) .stzh-button__text,
|
|
208
|
+
:host ::slotted([slot=four]) .stzh-button__text,
|
|
209
|
+
:host ::slotted([slot=five]) .stzh-button__text {
|
|
210
|
+
font-family: var(--stzh-font-family-medium);
|
|
211
|
+
font-weight: var(--stzh-font-weight-medium);
|
|
212
|
+
font-style: var(--stzh-font-style-medium);
|
|
213
|
+
font-size: var(--stzh-font-pico-font-size);
|
|
214
|
+
line-height: var(--stzh-font-pico-text-line-height);
|
|
215
|
+
}
|
|
216
|
+
@media screen and (min-width: 1260px) {
|
|
217
|
+
:host ::slotted([slot=one]) .stzh-button__text,
|
|
218
|
+
:host ::slotted([slot=two]) .stzh-button__text,
|
|
219
|
+
:host ::slotted([slot=three]) .stzh-button__text,
|
|
220
|
+
:host ::slotted([slot=four]) .stzh-button__text,
|
|
221
|
+
:host ::slotted([slot=five]) .stzh-button__text {
|
|
222
|
+
font-size: var(--stzh-font-centi-font-size);
|
|
223
|
+
line-height: var(--stzh-font-centi-text-line-height);
|
|
224
|
+
letter-spacing: var(--stzh-font-curve---text-letter-spacing);
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
@media screen and (min-width: 1260px) {
|
|
228
|
+
:host ::slotted([slot=one]),
|
|
229
|
+
:host ::slotted([slot=two]),
|
|
230
|
+
:host ::slotted([slot=three]),
|
|
231
|
+
:host ::slotted([slot=four]),
|
|
232
|
+
:host ::slotted([slot=five]) {
|
|
233
|
+
--icon-text-margin: inherit;
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
:host ::slotted([slot=one]):not(:first-child):after,
|
|
237
|
+
:host ::slotted([slot=two]):not(:first-child):after,
|
|
238
|
+
:host ::slotted([slot=three]):not(:first-child):after,
|
|
239
|
+
:host ::slotted([slot=four]):not(:first-child):after,
|
|
240
|
+
:host ::slotted([slot=five]):not(:first-child):after {
|
|
241
|
+
content: "";
|
|
242
|
+
display: inline-block;
|
|
243
|
+
width: 0.0625rem;
|
|
244
|
+
background-color: var(--stzh-color-coolgrey20);
|
|
245
|
+
position: absolute;
|
|
246
|
+
top: var(--stzh-space-xsmall);
|
|
247
|
+
bottom: var(--stzh-space-xsmall);
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
.stzh-app-bar__buttons {
|
|
251
|
+
display: flex;
|
|
252
|
+
flex-direction: row;
|
|
253
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { test } from "@playwright/test";
|
|
2
|
+
import { visualDiff } from "../../../.build/test/utils";
|
|
3
|
+
const URL = "components-app-bar";
|
|
4
|
+
const STORIES = ["default"];
|
|
5
|
+
test.describe("app-bar", () => {
|
|
6
|
+
STORIES.forEach((storyId) => {
|
|
7
|
+
test(`story ${storyId} visual diff`, async ({ page }) => {
|
|
8
|
+
await visualDiff({
|
|
9
|
+
storyId,
|
|
10
|
+
page,
|
|
11
|
+
url: URL,
|
|
12
|
+
});
|
|
13
|
+
});
|
|
14
|
+
});
|
|
15
|
+
});
|
|
16
|
+
//# sourceMappingURL=stzh-app-bar.e2e.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stzh-app-bar.e2e.js","sourceRoot":"","sources":["../../../../src/components/stzh-app-bar/stzh-app-bar.e2e.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AAExD,MAAM,GAAG,GAAG,oBAAoB,CAAC;AAEjC,MAAM,OAAO,GAAG,CAAC,SAAS,CAAC,CAAC;AAE5B,IAAI,CAAC,QAAQ,CAAC,SAAS,EAAE,GAAG,EAAE;EAC5B,OAAO,CAAC,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;IAC1B,IAAI,CAAC,SAAS,OAAO,cAAc,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE;MACtD,MAAM,UAAU,CAAC;QACf,OAAO;QACP,IAAI;QACJ,GAAG,EAAE,GAAG;OACT,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;EACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC","sourcesContent":["import { test } from \"@playwright/test\";\nimport { visualDiff } from \"../../../.build/test/utils\";\n\nconst URL = \"components-app-bar\";\n\nconst STORIES = [\"default\"];\n\ntest.describe(\"app-bar\", () => {\n STORIES.forEach((storyId) => {\n test(`story ${storyId} visual diff`, async ({ page }) => {\n await visualDiff({\n storyId,\n page,\n url: URL,\n });\n });\n });\n});\n"]}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { h, Host } from "@stencil/core";
|
|
2
|
+
import { setPropsIfNull } from "../../utils/utils";
|
|
3
|
+
/**
|
|
4
|
+
* @slot one - Slot for first button
|
|
5
|
+
* @slot two - Slot for second button
|
|
6
|
+
* @slot three - Slot for third button
|
|
7
|
+
* @slot four - Slot for fourth button
|
|
8
|
+
* @slot five - Slot for fifth button
|
|
9
|
+
*/
|
|
10
|
+
export class StzhAppBar {
|
|
11
|
+
constructor() {
|
|
12
|
+
this.init = () => {
|
|
13
|
+
const buttons = this.element.querySelectorAll("stzh-button");
|
|
14
|
+
buttons.forEach(button => {
|
|
15
|
+
setPropsIfNull(button, {
|
|
16
|
+
variant: "tertiary",
|
|
17
|
+
});
|
|
18
|
+
});
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
connectedCallback() {
|
|
22
|
+
this.init();
|
|
23
|
+
this.observer = new MutationObserver(this.init);
|
|
24
|
+
this.observer.observe(this.element, {
|
|
25
|
+
childList: true,
|
|
26
|
+
subtree: true,
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
disconnectedCallback() {
|
|
30
|
+
if (this.observer) {
|
|
31
|
+
this.observer.disconnect();
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
render() {
|
|
35
|
+
const classes = {
|
|
36
|
+
"stzh-app-bar": true,
|
|
37
|
+
};
|
|
38
|
+
return (h(Host, null, h("div", { class: classes }, h("div", { class: "stzh-app-bar__buttons", role: "group" }, h("slot", { name: "one" }), h("slot", { name: "two" }), h("slot", { name: "three" }), h("slot", { name: "four" }), h("slot", { name: "five" })))));
|
|
39
|
+
}
|
|
40
|
+
static get is() { return "stzh-app-bar"; }
|
|
41
|
+
static get encapsulation() { return "scoped"; }
|
|
42
|
+
static get originalStyleUrls() {
|
|
43
|
+
return {
|
|
44
|
+
"$": ["stzh-app-bar.scss"]
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
static get styleUrls() {
|
|
48
|
+
return {
|
|
49
|
+
"$": ["stzh-app-bar.css"]
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
static get elementRef() { return "element"; }
|
|
53
|
+
}
|
|
54
|
+
//# sourceMappingURL=stzh-app-bar.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stzh-app-bar.js","sourceRoot":"","sources":["../../../../src/components/stzh-app-bar/stzh-app-bar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAE5D,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEnD;;;;;;GAMG;AAMH,MAAM,OAAO,UAAU;EALvB;IAUU,SAAI,GAAG,GAAG,EAAE;MAClB,MAAM,OAAO,GAAG,IAAI,CAAC,OAAO,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAC;MAE7D,OAAO,CAAC,OAAO,CAAC,MAAM,CAAC,EAAE;QACvB,cAAc,CAAC,MAAM,EAAE;UACrB,OAAO,EAAE,UAAU;SACK,CAAC,CAAC;MAC9B,CAAC,CAAC,CAAC;IACL,CAAC,CAAC;GAqCH;EAnCC,iBAAiB;IACf,IAAI,CAAC,IAAI,EAAE,CAAC;IAEZ,IAAI,CAAC,QAAQ,GAAG,IAAI,gBAAgB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAChD,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,EAAE;MAClC,SAAS,EAAE,IAAI;MACf,OAAO,EAAE,IAAI;KACd,CAAC,CAAC;EACL,CAAC;EAED,oBAAoB;IAClB,IAAI,IAAI,CAAC,QAAQ,EAAE;MACjB,IAAI,CAAC,QAAQ,CAAC,UAAU,EAAE,CAAC;KAC5B;EACH,CAAC;EAED,MAAM;IACJ,MAAM,OAAO,GAAG;MACd,cAAc,EAAE,IAAI;KACrB,CAAC;IAEF,OAAO,CACL,EAAC,IAAI;MACH,WAAK,KAAK,EAAE,OAAO;QACjB,WAAK,KAAK,EAAC,uBAAuB,EAAC,IAAI,EAAC,OAAO;UAC7C,YAAM,IAAI,EAAC,KAAK,GAAQ;UACxB,YAAM,IAAI,EAAC,KAAK,GAAQ;UACxB,YAAM,IAAI,EAAC,OAAO,GAAQ;UAC1B,YAAM,IAAI,EAAC,MAAM,GAAQ;UACzB,YAAM,IAAI,EAAC,MAAM,GAAQ,CACrB,CACF,CACD,CACR,CAAC;EACJ,CAAC;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, h, Host } from \"@stencil/core\";\n\nimport { setPropsIfNull } from \"../../utils/utils\";\n\n/**\n * @slot one - Slot for first button\n * @slot two - Slot for second button\n * @slot three - Slot for third button\n * @slot four - Slot for fourth button\n * @slot five - Slot for fifth button\n */\n@Component({\n tag: \"stzh-app-bar\",\n styleUrl: \"stzh-app-bar.scss\",\n scoped: true,\n})\nexport class StzhAppBar {\n @Element() element: HTMLStzhAppBarElement;\n\n private observer: MutationObserver;\n\n private init = () => {\n const buttons = this.element.querySelectorAll(\"stzh-button\");\n\n buttons.forEach(button => {\n setPropsIfNull(button, {\n variant: \"tertiary\",\n } as HTMLStzhButtonElement);\n });\n };\n\n connectedCallback() {\n this.init();\n\n this.observer = new MutationObserver(this.init);\n this.observer.observe(this.element, {\n childList: true,\n subtree: true,\n });\n }\n\n disconnectedCallback() {\n if (this.observer) {\n this.observer.disconnect();\n }\n }\n\n render() {\n const classes = {\n \"stzh-app-bar\": true,\n };\n\n return (\n <Host>\n <div class={classes}>\n <div class=\"stzh-app-bar__buttons\" role=\"group\">\n <slot name=\"one\"></slot>\n <slot name=\"two\"></slot>\n <slot name=\"three\"></slot>\n <slot name=\"four\"></slot>\n <slot name=\"five\"></slot>\n </div>\n </div>\n </Host>\n );\n }\n}\n"]}
|
|
@@ -0,0 +1,45 @@
|
|
|
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
|
+
const COMPONENT_NAME = 'stzh-app-bar';
|
|
8
|
+
const story = createComponentStory(COMPONENT_NAME);
|
|
9
|
+
|
|
10
|
+
const TEMPLATE = `
|
|
11
|
+
<stzh-app-bar>
|
|
12
|
+
<stzh-button slot="one" icon="gear">One</stzh-button>
|
|
13
|
+
<stzh-button slot="two" icon="gear">Two</stzh-button>
|
|
14
|
+
<stzh-button slot="three" icon="gear">Three</stzh-button>
|
|
15
|
+
<stzh-button slot="four" icon="gear">Four</stzh-button>
|
|
16
|
+
<stzh-button slot="five" icon="gear">Five</stzh-button>
|
|
17
|
+
</stzh-app-bar>
|
|
18
|
+
`;
|
|
19
|
+
|
|
20
|
+
export default {
|
|
21
|
+
title: 'Components/AppBar',
|
|
22
|
+
component: COMPONENT_NAME,
|
|
23
|
+
parameters: {
|
|
24
|
+
layout: 'full',
|
|
25
|
+
actions: {
|
|
26
|
+
handles: []
|
|
27
|
+
},
|
|
28
|
+
docs: {
|
|
29
|
+
description: {
|
|
30
|
+
component: readme
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
design: {
|
|
34
|
+
type: 'figma',
|
|
35
|
+
url: getFigmaLink('9146-20745'),
|
|
36
|
+
allowFullscreen: true
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
decorators: [withActions, withDesign]
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
export const Default = {
|
|
43
|
+
render: (args) => story(args, TEMPLATE),
|
|
44
|
+
args: {}
|
|
45
|
+
};
|
|
@@ -336,6 +336,11 @@
|
|
|
336
336
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
337
337
|
}
|
|
338
338
|
}
|
|
339
|
+
@media screen and (min-width: 1260px) {
|
|
340
|
+
.stzh-cardlist--layout-teasers.stzh-cardlist--max-3-cols .stzh-cardlist__cards, .stzh-cardlist--layout-pi-teasers.stzh-cardlist--max-3-cols .stzh-cardlist__cards {
|
|
341
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
342
|
+
}
|
|
343
|
+
}
|
|
339
344
|
.stzh-cardlist--layout-searchresults .stzh-cardlist__cards {
|
|
340
345
|
gap: var(--stzh-space-xlarge);
|
|
341
346
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { h, Host } from "@stencil/core";
|
|
2
2
|
/**
|
|
3
3
|
* @slot - Slot for `stzh-card` elements
|
|
4
4
|
* @slot description - Slot for description
|
|
@@ -59,22 +59,28 @@ export class StzhCardlist {
|
|
|
59
59
|
this.sortableEnabled = false;
|
|
60
60
|
this.sortableDataIdAttribute = "data-id";
|
|
61
61
|
this.allCollapsed = false;
|
|
62
|
+
this.isStzhAnchornavVisible = false;
|
|
62
63
|
}
|
|
63
64
|
collapseListener() {
|
|
64
65
|
this.updateCollapsedState();
|
|
65
66
|
}
|
|
66
67
|
async componentWillLoad() {
|
|
68
|
+
this.isStzhAnchornavVisible =
|
|
69
|
+
document.documentElement.style.getPropertyValue("--stzh-anchornav-is-visible") === "1";
|
|
67
70
|
if (!this.localization) {
|
|
68
71
|
this.localization = await window.stzhComponents.utils.fetchTranslations(this.element, "cardlist");
|
|
69
72
|
}
|
|
70
73
|
}
|
|
71
74
|
componentDidLoad() {
|
|
75
|
+
this.isStzhAnchornavVisible =
|
|
76
|
+
document.documentElement.style.getPropertyValue("--stzh-anchornav-is-visible") === "1";
|
|
72
77
|
this.updateCollapsedState();
|
|
73
78
|
}
|
|
74
79
|
render() {
|
|
75
80
|
const classes = {
|
|
76
81
|
"stzh-cardlist": true,
|
|
77
82
|
"stzh-cardlist--has-toggle-link": this.showToggleLink,
|
|
83
|
+
"stzh-cardlist--max-3-cols": this.isStzhAnchornavVisible,
|
|
78
84
|
[`stzh-cardlist--layout-${this.layout}`]: !!this.layout,
|
|
79
85
|
};
|
|
80
86
|
return (h(Host, null, h("div", { class: classes }, h("div", { class: "stzh-cardlist__header" }, h("div", { class: "stzh-cardlist__description" }, this.description ? this.description : h("slot", { name: "description" })), this.showToggleLink && (h("stzh-link", { class: "stzh-cardlist__switch", icon: this.allCollapsed ? "list-expanded" : "list-shrinked", label: this.allCollapsed ? this.localization.expandAll : this.localization.collapseAll, onClick: this.collapseClick }))), h("stzh-sortable", { disabled: !this.sortableEnabled, dataIdAttribute: this.sortableDataIdAttribute, ghostClone: this.sortableGhostClone }, h("div", { class: "stzh-cardlist__cards", role: "list" }, h("slot", null))))));
|
|
@@ -207,7 +213,8 @@ export class StzhCardlist {
|
|
|
207
213
|
}
|
|
208
214
|
static get states() {
|
|
209
215
|
return {
|
|
210
|
-
"allCollapsed": {}
|
|
216
|
+
"allCollapsed": {},
|
|
217
|
+
"isStzhAnchornavVisible": {}
|
|
211
218
|
};
|
|
212
219
|
}
|
|
213
220
|
static get events() {
|