@oiz/stzh-components 2.1.0 → 2.2.0-beta
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-dc82b9ca.js → app-globals-f4ad4e99.js} +1 -1
- package/dist/cjs/index.cjs.js +17 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/stzh-accordion-item.cjs.entry.js +3 -2
- package/dist/cjs/stzh-accordion.cjs.entry.js +3 -1
- package/dist/cjs/stzh-actions.cjs.entry.js +1 -1
- package/dist/cjs/stzh-anchornav.cjs.entry.js +2 -2
- package/dist/cjs/stzh-appnav.cjs.entry.js +1 -1
- package/dist/cjs/stzh-audio.cjs.entry.js +3 -3
- package/dist/cjs/stzh-badge_3.cjs.entry.js +12 -5
- package/dist/cjs/stzh-card_3.cjs.entry.js +474 -0
- package/dist/cjs/stzh-chart.cjs.entry.js +2 -3
- package/dist/cjs/stzh-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/stzh-checkboxgroup.cjs.entry.js +1 -1
- package/dist/cjs/stzh-clamp.cjs.entry.js +1 -1
- package/dist/cjs/stzh-components.cjs.js +2 -2
- package/dist/cjs/stzh-contactaddress.cjs.entry.js +33 -7
- package/dist/cjs/stzh-cspace.cjs.entry.js +1 -1
- package/dist/cjs/stzh-datalist_2.cjs.entry.js +180 -0
- package/dist/cjs/stzh-datepicker_3.cjs.entry.js +2 -2
- package/dist/cjs/stzh-details.cjs.entry.js +152 -0
- package/dist/cjs/stzh-dialog.cjs.entry.js +1 -1
- package/dist/cjs/stzh-dropdown.cjs.entry.js +2 -2
- package/dist/cjs/stzh-figure.cjs.entry.js +2 -2
- package/dist/cjs/stzh-footer.cjs.entry.js +2 -2
- package/dist/cjs/stzh-ghettobox_2.cjs.entry.js +8 -5
- package/dist/cjs/stzh-header.cjs.entry.js +28 -14
- package/dist/cjs/stzh-heading.cjs.entry.js +1 -1
- package/dist/cjs/stzh-icon-sprite.cjs.entry.js +1 -1
- package/dist/cjs/stzh-input.cjs.entry.js +2 -2
- package/dist/cjs/stzh-langnav.cjs.entry.js +37 -0
- package/dist/cjs/stzh-link.cjs.entry.js +10 -3
- package/dist/cjs/stzh-menu_2.cjs.entry.js +1 -1
- package/dist/cjs/stzh-microsite-teaserlist.cjs.entry.js +96 -0
- package/dist/cjs/stzh-pagetitle-hero.cjs.entry.js +3 -3
- package/dist/cjs/stzh-pagetitle.cjs.entry.js +2 -2
- package/dist/cjs/stzh-popover.cjs.entry.js +9 -5
- package/dist/cjs/stzh-portal-mitwirken.cjs.entry.js +1 -1
- package/dist/cjs/stzh-readspeaker.cjs.entry.js +1 -1
- package/dist/cjs/stzh-sitemap.cjs.entry.js +24 -0
- package/dist/cjs/stzh-sortable.cjs.entry.js +30 -11
- package/dist/cjs/stzh-table.cjs.entry.js +1 -1
- package/dist/cjs/stzh-textandimage.cjs.entry.js +33 -0
- package/dist/cjs/stzh-toggle.cjs.entry.js +2 -2
- package/dist/cjs/stzh-tooltip.cjs.entry.js +11 -8
- package/dist/cjs/stzh-upload.cjs.entry.js +2 -2
- package/dist/cjs/stzh-vbz-majorticker.cjs.entry.js +20 -9
- package/dist/cjs/stzh-vbz-ticker.cjs.entry.js +27 -38
- package/dist/cjs/{utils-8dc66449.js → utils-ff153309.js} +1 -0
- package/dist/collection/assets/i18n/de.json +6 -1
- package/dist/collection/assets/i18n/en.json +6 -1
- package/dist/collection/assets/icons/mono/arrow-right-down.svg +3 -0
- package/dist/collection/assets/icons/mono/construction.svg +2 -2
- package/dist/collection/assets/icons/mono/fountain.svg +3 -0
- package/dist/collection/assets/icons/mono/pause-filled.svg +3 -0
- package/dist/collection/assets/icons/mono/play-filled.svg +3 -0
- package/dist/collection/assets/icons/mono/reload.svg +2 -9
- package/dist/collection/assets/icons/mono/water-drops.svg +11 -0
- package/dist/collection/collection-manifest.json +6 -0
- package/dist/collection/components/stzh-accordion/stzh-accordion.js +3 -1
- package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.css +2 -2
- package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.js +4 -3
- package/dist/collection/components/stzh-anchornav/stzh-anchornav.css +3 -3
- package/dist/collection/components/stzh-anchornav/stzh-anchornav.js +1 -1
- package/dist/collection/components/stzh-audio/stzh-audio.css +1 -1
- package/dist/collection/components/stzh-audio/stzh-audio.js +1 -1
- package/dist/collection/components/stzh-button/stzh-button.css +2 -2
- package/dist/collection/components/stzh-button/stzh-button.js +78 -3
- package/dist/collection/components/stzh-card/stzh-card.css +71 -22
- package/dist/collection/components/stzh-card/stzh-card.js +90 -2
- package/dist/collection/components/stzh-card/stzh-card.stories.js +1 -1
- package/dist/collection/components/stzh-card-list/stzh-card-list.css +55 -14
- package/dist/collection/components/stzh-card-list/stzh-card-list.js +43 -3
- package/dist/collection/components/stzh-chart/stzh-chart.css +0 -14
- package/dist/collection/components/stzh-chart/stzh-chart.js +1 -20
- package/dist/collection/components/stzh-chart/stzh-chart.stories.js +4 -3
- package/dist/collection/components/stzh-checkbox/stzh-checkbox.css +6 -3
- package/dist/collection/components/stzh-chip-select/stzh-chip-select.js +2 -2
- package/dist/collection/components/stzh-clamp/stzh-clamp.css +5 -0
- package/dist/collection/components/stzh-contactaddress/stzh-contactaddress.css +91 -12
- package/dist/collection/components/stzh-contactaddress/stzh-contactaddress.js +76 -9
- package/dist/collection/components/stzh-contactaddress/stzh-contactaddress.stories.js +52 -2
- package/dist/collection/components/stzh-cspace/stzh-cspace.css +49 -1
- package/dist/collection/components/stzh-datalist/stzh-datalist.css +28 -516
- package/dist/collection/components/stzh-datalist/stzh-datalist.js +110 -23
- package/dist/collection/components/stzh-datalist/stzh-datalist.stories.js +65 -4
- package/dist/collection/components/stzh-datalist-item/stzh-datalist-item.css +260 -0
- package/dist/collection/components/stzh-datalist-item/stzh-datalist-item.js +323 -0
- package/dist/collection/components/stzh-datalist-item/stzh-datalist-item.stories.js +49 -0
- package/dist/collection/components/stzh-details/stzh-details.css +119 -0
- package/dist/collection/components/stzh-details/stzh-details.js +313 -0
- package/dist/collection/components/stzh-details/stzh-details.stories.js +41 -0
- package/dist/collection/components/stzh-dropdown/stzh-dropdown.css +3 -3
- package/dist/collection/components/stzh-figure/stzh-figure.css +1 -3
- package/dist/collection/components/stzh-footer/stzh-footer.css +2 -1
- package/dist/collection/components/stzh-footer/stzh-footer.stories.js +3 -1
- package/dist/collection/components/stzh-ghettobox/stzh-ghettobox.css +32 -5
- package/dist/collection/components/stzh-ghettobox/stzh-ghettobox.js +23 -2
- package/dist/collection/components/stzh-header/stzh-header.css +87 -4
- package/dist/collection/components/stzh-header/stzh-header.js +63 -13
- package/dist/collection/components/stzh-header/stzh-header.stories.js +20 -0
- package/dist/collection/components/stzh-heading/stzh-heading.css +3 -0
- package/dist/collection/components/stzh-icon-sprite/assets/svgsprites/symbol/sprite.symbol.html +102 -37
- package/dist/collection/components/stzh-icon-sprite/assets/svgsprites/symbol/svg/sprite.symbol.svg +1 -1
- package/dist/collection/components/stzh-input/stzh-input.css +5 -5
- package/dist/collection/components/stzh-langnav/stzh-langnav.css +106 -0
- package/dist/collection/components/stzh-langnav/stzh-langnav.js +136 -0
- package/dist/collection/components/stzh-langnav/stzh-langnav.stories.js +42 -0
- package/dist/collection/components/stzh-link/stzh-link.js +95 -2
- package/dist/collection/components/stzh-microsite-teaserlist/stzh-microsite-teaserlist.css +125 -0
- package/dist/collection/components/stzh-microsite-teaserlist/stzh-microsite-teaserlist.js +198 -0
- package/dist/collection/components/stzh-microsite-teaserlist/stzh-microsite-teaserlist.localization.js +1 -0
- package/dist/collection/components/stzh-microsite-teaserlist/stzh-microsite-teaserlist.stories.js +58 -0
- package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.css +14 -5
- package/dist/collection/components/stzh-pagetitle-hero/stzh-pagetitle-hero.css +1 -1
- package/dist/collection/components/stzh-pagetitle-hero/stzh-pagetitle-hero.js +1 -1
- package/dist/collection/components/stzh-popover/stzh-popover.js +9 -5
- package/dist/collection/components/stzh-portal-mitwirken/stzh-portal-mitwirken.css +2 -0
- package/dist/collection/components/stzh-radio/stzh-radio.css +2 -2
- package/dist/collection/components/stzh-richtext/stzh-richtext.css +2 -0
- package/dist/collection/components/stzh-sitemap/stzh-sitemap.css +113 -0
- package/dist/collection/components/stzh-sitemap/stzh-sitemap.js +53 -0
- package/dist/collection/components/stzh-sitemap/stzh-sitemap.stories.js +78 -0
- package/dist/collection/components/stzh-sortable/stzh-sortable.js +29 -10
- package/dist/collection/components/stzh-textandimage/stzh-textandimage.css +167 -0
- package/dist/collection/components/stzh-textandimage/stzh-textandimage.js +78 -0
- package/dist/collection/components/stzh-textandimage/stzh-textandimage.stories.js +56 -0
- package/dist/collection/components/stzh-toggle/stzh-toggle.css +2 -1
- package/dist/collection/components/stzh-tooltip/stzh-tooltip.js +11 -8
- package/dist/collection/components/stzh-upload/stzh-upload.css +1 -1
- package/dist/collection/components/stzh-vbz-linechip/stzh-vbz-linechip.js +1 -1
- package/dist/collection/components/stzh-vbz-majorticker/stzh-vbz-majorticker.css +2 -1
- package/dist/collection/components/stzh-vbz-majorticker/stzh-vbz-majorticker.js +84 -12
- package/dist/collection/components/stzh-vbz-ticker/stzh-vbz-ticker.css +1 -16
- package/dist/collection/components/stzh-vbz-ticker/stzh-vbz-ticker.js +26 -37
- package/dist/collection/index.js +12 -0
- package/dist/collection/pages/egov.stories.js +9 -6
- package/dist/collection/patterns/appointments.stories.js +3 -3
- package/dist/collection/patterns/contact.stories.js +118 -0
- package/dist/collection/patterns/contactform.stories.js +125 -0
- package/dist/collection/patterns/subpages.stories.js +98 -0
- package/dist/components/index.d.ts +6 -0
- package/dist/components/index.js +8 -1
- package/dist/components/index2.js +17 -2017
- package/dist/components/index3.js +2017 -0
- package/dist/components/stzh-accordion-item.js +3 -2
- package/dist/components/stzh-accordion.js +3 -1
- package/dist/components/stzh-anchornav.js +2 -2
- package/dist/components/stzh-audio.js +2 -2
- package/dist/components/stzh-button2.js +15 -4
- package/dist/components/stzh-card-list.js +1 -114
- package/dist/components/stzh-card-list2.js +123 -0
- package/dist/components/stzh-card.js +1 -358
- package/dist/components/stzh-card2.js +376 -0
- package/dist/components/stzh-chart.js +3 -5
- package/dist/components/stzh-checkbox.js +1 -1
- package/dist/components/stzh-chip-select.js +1 -157
- package/dist/{esm/stzh-chip-select.entry.js → components/stzh-chip-select2.js} +61 -10
- package/dist/components/stzh-clamp2.js +1 -1
- package/dist/components/stzh-contactaddress.js +74 -10
- package/dist/components/stzh-cspace.js +1 -1
- package/dist/components/stzh-datalist-item.d.ts +11 -0
- package/dist/components/stzh-datalist-item.js +6 -0
- package/dist/components/stzh-datalist-item2.js +128 -0
- package/dist/components/stzh-datalist.js +1 -96
- package/dist/components/stzh-datalist2.js +147 -0
- package/dist/components/stzh-details.d.ts +11 -0
- package/dist/components/stzh-details.js +170 -0
- package/dist/components/stzh-dropdown2.js +1 -1
- package/dist/components/stzh-figure.js +1 -1
- package/dist/components/stzh-footer.js +1 -1
- package/dist/components/stzh-ghettobox2.js +7 -3
- package/dist/components/stzh-header.js +29 -13
- package/dist/components/stzh-heading2.js +1 -1
- package/dist/components/stzh-icon-sprite.js +1 -1
- package/dist/components/stzh-input2.js +1 -1
- package/dist/components/stzh-langnav.d.ts +11 -0
- package/dist/components/stzh-langnav.js +73 -0
- package/dist/components/stzh-link2.js +14 -2
- package/dist/components/stzh-microsite-teaserlist.d.ts +11 -0
- package/dist/components/stzh-microsite-teaserlist.js +212 -0
- package/dist/components/stzh-pagetitle-hero.js +2 -2
- package/dist/components/stzh-pagetitle.js +1 -1
- package/dist/components/stzh-popover2.js +9 -5
- package/dist/components/stzh-portal-mitwirken.js +1 -1
- package/dist/components/stzh-radio2.js +1 -1
- package/dist/components/stzh-richtext2.js +1 -1
- package/dist/components/stzh-sitemap.d.ts +11 -0
- package/dist/components/stzh-sitemap.js +69 -0
- package/dist/components/stzh-sortable2.js +29 -10
- package/dist/components/stzh-textandimage.d.ts +11 -0
- package/dist/components/stzh-textandimage.js +50 -0
- package/dist/components/stzh-toggle.js +1 -1
- package/dist/components/stzh-tooltip2.js +11 -8
- package/dist/components/stzh-upload.js +1 -1
- package/dist/components/stzh-vbz-majorticker.js +25 -12
- package/dist/components/stzh-vbz-ticker.js +26 -37
- package/dist/components/utils.js +1 -1
- package/dist/esm/{app-globals-246b5e49.js → app-globals-17c2ba8d.js} +1 -1
- package/dist/esm/{index-2915b467.js → index-011c84fe.js} +1 -1
- package/dist/esm/index.js +16 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/stzh-accordion-item.entry.js +4 -3
- package/dist/esm/stzh-accordion.entry.js +4 -2
- package/dist/esm/stzh-actions.entry.js +2 -2
- package/dist/esm/stzh-actionset.entry.js +1 -1
- package/dist/esm/stzh-anchornav.entry.js +3 -3
- package/dist/esm/stzh-appnav.entry.js +2 -2
- package/dist/esm/stzh-appointments.entry.js +1 -1
- package/dist/esm/stzh-audio.entry.js +4 -4
- package/dist/esm/stzh-badge_3.entry.js +13 -6
- package/dist/esm/stzh-calendar.entry.js +1 -1
- package/dist/esm/stzh-card_3.entry.js +468 -0
- package/dist/esm/stzh-cell.entry.js +1 -1
- package/dist/esm/stzh-chart.entry.js +3 -4
- package/dist/esm/stzh-checkbox.entry.js +4 -4
- package/dist/esm/stzh-checkboxgroup.entry.js +3 -3
- package/dist/esm/stzh-chip.entry.js +1 -1
- package/dist/esm/stzh-clamp.entry.js +2 -2
- package/dist/esm/stzh-components.js +3 -3
- package/dist/esm/stzh-contactaddress.entry.js +34 -8
- package/dist/esm/stzh-container.entry.js +1 -1
- package/dist/esm/stzh-cspace.entry.js +2 -2
- package/dist/esm/stzh-datalist_2.entry.js +175 -0
- package/dist/esm/stzh-datamessagelist-item.entry.js +1 -1
- package/dist/esm/stzh-datamessagelist.entry.js +1 -1
- package/dist/esm/stzh-datatable.entry.js +1 -1
- package/dist/esm/stzh-datepicker_3.entry.js +4 -4
- package/dist/esm/stzh-details.entry.js +148 -0
- package/dist/esm/stzh-dialog.entry.js +2 -2
- package/dist/esm/stzh-dropdown.entry.js +4 -4
- package/dist/esm/stzh-fieldset.entry.js +1 -1
- package/dist/esm/stzh-figure.entry.js +3 -3
- package/dist/esm/stzh-flyingfocus.entry.js +1 -1
- package/dist/esm/stzh-footer.entry.js +3 -3
- package/dist/esm/stzh-ghettobox_2.entry.js +9 -6
- package/dist/esm/stzh-header.entry.js +29 -15
- package/dist/esm/stzh-heading.entry.js +2 -2
- package/dist/esm/stzh-hr.entry.js +1 -1
- package/dist/esm/stzh-hspace.entry.js +1 -1
- package/dist/esm/stzh-icon-sprite.entry.js +2 -2
- package/dist/esm/{stzh-input-description-e87e6697.js → stzh-input-description-bdd1e340.js} +1 -1
- package/dist/esm/stzh-input.entry.js +4 -4
- package/dist/esm/stzh-langnav.entry.js +33 -0
- package/dist/esm/stzh-link.entry.js +11 -4
- package/dist/esm/stzh-list-item.entry.js +1 -1
- package/dist/esm/stzh-list.entry.js +1 -1
- package/dist/esm/stzh-loader.entry.js +1 -1
- package/dist/esm/stzh-loadingbar.entry.js +1 -1
- package/dist/esm/stzh-menu_2.entry.js +2 -2
- package/dist/esm/stzh-message.entry.js +1 -1
- package/dist/esm/stzh-metanav.entry.js +1 -1
- package/dist/esm/stzh-microsite-teaserlist.entry.js +92 -0
- package/dist/esm/stzh-olmap.entry.js +1 -1
- package/dist/esm/stzh-overlay.entry.js +1 -1
- package/dist/esm/stzh-page-skiplinks.entry.js +1 -1
- package/dist/esm/stzh-pagebottom.entry.js +1 -1
- package/dist/esm/stzh-pagetitle-hero.entry.js +4 -4
- package/dist/esm/stzh-pagetitle.entry.js +3 -3
- package/dist/esm/stzh-popover.entry.js +10 -6
- package/dist/esm/stzh-portal-mitwirken.entry.js +2 -2
- package/dist/esm/stzh-progressbar-item.entry.js +1 -1
- package/dist/esm/stzh-progressbar.entry.js +1 -1
- package/dist/esm/stzh-readspeaker.entry.js +2 -2
- package/dist/esm/stzh-row.entry.js +1 -1
- package/dist/esm/stzh-saptcha.entry.js +1 -1
- package/dist/esm/stzh-section.entry.js +1 -1
- package/dist/esm/stzh-share.entry.js +1 -1
- package/dist/esm/stzh-sitemap.entry.js +20 -0
- package/dist/esm/stzh-skiplink.entry.js +1 -1
- package/dist/esm/stzh-sortable.entry.js +31 -12
- package/dist/esm/stzh-status.entry.js +1 -1
- package/dist/esm/stzh-sticky.entry.js +1 -1
- package/dist/esm/stzh-table.entry.js +2 -2
- package/dist/esm/stzh-text.entry.js +1 -1
- package/dist/esm/stzh-textandimage.entry.js +29 -0
- package/dist/esm/stzh-toggle.entry.js +4 -4
- package/dist/esm/stzh-tooltip.entry.js +12 -9
- package/dist/esm/stzh-upload.entry.js +4 -4
- package/dist/esm/stzh-vbz-linechip.entry.js +1 -1
- package/dist/esm/stzh-vbz-majorticker.entry.js +21 -10
- package/dist/esm/stzh-vbz-ticker.entry.js +26 -37
- package/dist/esm/stzh-visuallyhidden.entry.js +1 -1
- package/dist/esm/stzh-vspace.entry.js +1 -1
- package/dist/esm/{utils-68a28fce.js → utils-92a77db5.js} +1 -1
- package/dist/esm-es5/app-globals-17c2ba8d.js +1 -0
- package/dist/esm-es5/{index-2915b467.js → index-011c84fe.js} +1 -1
- package/dist/esm-es5/index.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/stzh-accordion-item.entry.js +1 -1
- package/dist/esm-es5/stzh-accordion.entry.js +1 -1
- package/dist/esm-es5/stzh-actions.entry.js +1 -1
- package/dist/esm-es5/stzh-actionset.entry.js +1 -1
- package/dist/esm-es5/stzh-anchornav.entry.js +1 -1
- package/dist/esm-es5/stzh-appnav.entry.js +1 -1
- package/dist/esm-es5/stzh-appointments.entry.js +1 -1
- package/dist/esm-es5/stzh-audio.entry.js +2 -2
- package/dist/esm-es5/stzh-badge_3.entry.js +1 -1
- package/dist/esm-es5/stzh-calendar.entry.js +1 -1
- package/dist/esm-es5/stzh-card_3.entry.js +1 -0
- package/dist/esm-es5/stzh-cell.entry.js +1 -1
- package/dist/esm-es5/stzh-chart.entry.js +2 -2
- package/dist/esm-es5/stzh-checkbox.entry.js +1 -1
- package/dist/esm-es5/stzh-checkboxgroup.entry.js +1 -1
- package/dist/esm-es5/stzh-chip.entry.js +1 -1
- package/dist/esm-es5/stzh-clamp.entry.js +1 -1
- package/dist/esm-es5/stzh-components.js +1 -1
- package/dist/esm-es5/stzh-contactaddress.entry.js +1 -1
- package/dist/esm-es5/stzh-container.entry.js +1 -1
- package/dist/esm-es5/stzh-cspace.entry.js +1 -1
- package/dist/esm-es5/stzh-datalist_2.entry.js +1 -0
- package/dist/esm-es5/stzh-datamessagelist-item.entry.js +1 -1
- package/dist/esm-es5/stzh-datamessagelist.entry.js +1 -1
- package/dist/esm-es5/stzh-datatable.entry.js +1 -1
- package/dist/esm-es5/stzh-datepicker_3.entry.js +1 -1
- package/dist/esm-es5/stzh-details.entry.js +1 -0
- package/dist/esm-es5/stzh-dialog.entry.js +1 -1
- package/dist/esm-es5/stzh-dropdown.entry.js +1 -1
- package/dist/esm-es5/stzh-fieldset.entry.js +1 -1
- package/dist/esm-es5/stzh-figure.entry.js +1 -1
- package/dist/esm-es5/stzh-flyingfocus.entry.js +1 -1
- package/dist/esm-es5/stzh-footer.entry.js +1 -1
- package/dist/esm-es5/stzh-ghettobox_2.entry.js +1 -1
- package/dist/esm-es5/stzh-header.entry.js +1 -1
- package/dist/esm-es5/stzh-heading.entry.js +1 -1
- package/dist/esm-es5/stzh-hr.entry.js +1 -1
- package/dist/esm-es5/stzh-hspace.entry.js +1 -1
- package/dist/esm-es5/stzh-icon-sprite.entry.js +1 -1
- package/dist/esm-es5/{stzh-input-description-e87e6697.js → stzh-input-description-bdd1e340.js} +1 -1
- package/dist/esm-es5/stzh-input.entry.js +1 -1
- package/dist/esm-es5/stzh-langnav.entry.js +1 -0
- package/dist/esm-es5/stzh-link.entry.js +1 -1
- package/dist/esm-es5/stzh-list-item.entry.js +1 -1
- package/dist/esm-es5/stzh-list.entry.js +1 -1
- package/dist/esm-es5/stzh-loader.entry.js +1 -1
- package/dist/esm-es5/stzh-loadingbar.entry.js +1 -1
- package/dist/esm-es5/stzh-menu_2.entry.js +1 -1
- package/dist/esm-es5/stzh-message.entry.js +1 -1
- package/dist/esm-es5/stzh-metanav.entry.js +1 -1
- package/dist/esm-es5/stzh-microsite-teaserlist.entry.js +1 -0
- package/dist/esm-es5/stzh-olmap.entry.js +1 -1
- package/dist/esm-es5/stzh-overlay.entry.js +1 -1
- package/dist/esm-es5/stzh-page-skiplinks.entry.js +1 -1
- package/dist/esm-es5/stzh-pagebottom.entry.js +1 -1
- package/dist/esm-es5/stzh-pagetitle-hero.entry.js +1 -1
- package/dist/esm-es5/stzh-pagetitle.entry.js +1 -1
- package/dist/esm-es5/stzh-popover.entry.js +1 -1
- package/dist/esm-es5/stzh-portal-mitwirken.entry.js +1 -1
- package/dist/esm-es5/stzh-progressbar-item.entry.js +1 -1
- package/dist/esm-es5/stzh-progressbar.entry.js +1 -1
- package/dist/esm-es5/stzh-readspeaker.entry.js +1 -1
- package/dist/esm-es5/stzh-row.entry.js +1 -1
- package/dist/esm-es5/stzh-saptcha.entry.js +1 -1
- package/dist/esm-es5/stzh-section.entry.js +1 -1
- package/dist/esm-es5/stzh-share.entry.js +1 -1
- package/dist/esm-es5/stzh-sitemap.entry.js +1 -0
- package/dist/esm-es5/stzh-skiplink.entry.js +1 -1
- package/dist/esm-es5/stzh-sortable.entry.js +2 -2
- package/dist/esm-es5/stzh-status.entry.js +1 -1
- package/dist/esm-es5/stzh-sticky.entry.js +1 -1
- package/dist/esm-es5/stzh-table.entry.js +1 -1
- package/dist/esm-es5/stzh-text.entry.js +1 -1
- package/dist/esm-es5/stzh-textandimage.entry.js +1 -0
- package/dist/esm-es5/stzh-toggle.entry.js +1 -1
- package/dist/esm-es5/stzh-tooltip.entry.js +1 -1
- package/dist/esm-es5/stzh-upload.entry.js +1 -1
- package/dist/esm-es5/stzh-vbz-linechip.entry.js +1 -1
- package/dist/esm-es5/stzh-vbz-majorticker.entry.js +1 -1
- package/dist/esm-es5/stzh-vbz-ticker.entry.js +1 -1
- package/dist/esm-es5/stzh-visuallyhidden.entry.js +1 -1
- package/dist/esm-es5/stzh-vspace.entry.js +1 -1
- package/dist/esm-es5/{utils-68a28fce.js → utils-92a77db5.js} +1 -1
- package/dist/stzh-components/assets/i18n/de.json +6 -1
- package/dist/stzh-components/assets/i18n/en.json +6 -1
- package/dist/stzh-components/assets/icons/mono/arrow-right-down.svg +3 -0
- package/dist/stzh-components/assets/icons/mono/construction.svg +2 -2
- package/dist/stzh-components/assets/icons/mono/fountain.svg +3 -0
- package/dist/stzh-components/assets/icons/mono/pause-filled.svg +3 -0
- package/dist/stzh-components/assets/icons/mono/play-filled.svg +3 -0
- package/dist/stzh-components/assets/icons/mono/reload.svg +2 -9
- package/dist/stzh-components/assets/icons/mono/water-drops.svg +11 -0
- package/dist/stzh-components/assets/svgsprites/symbol/sprite.symbol.html +102 -37
- package/dist/stzh-components/assets/svgsprites/symbol/svg/sprite.symbol.svg +1 -1
- package/dist/stzh-components/index.esm.js +1 -0
- package/dist/stzh-components/{p-f6ab391e.system.entry.js → p-006751fc.system.entry.js} +1 -1
- package/dist/stzh-components/{p-27839f48.entry.js → p-025c9c5b.entry.js} +1 -1
- package/dist/stzh-components/p-02fd7470.entry.js +1 -0
- package/dist/stzh-components/{p-27bfb4c2.system.entry.js → p-037357fc.system.entry.js} +1 -1
- package/dist/stzh-components/{p-e9313802.system.entry.js → p-0409bf6b.system.entry.js} +2 -2
- package/dist/stzh-components/p-04a45622.system.entry.js +1 -0
- package/dist/stzh-components/{p-d5ee4ac0.entry.js → p-09da70d8.entry.js} +1 -1
- package/dist/stzh-components/{p-4e6ddb5f.entry.js → p-0a647396.entry.js} +1 -1
- package/dist/stzh-components/{p-20a6ffbb.entry.js → p-0b264a7a.entry.js} +1 -1
- package/dist/stzh-components/p-0b9dc96d.system.js +1 -0
- package/dist/stzh-components/p-0c8427bc.entry.js +1 -0
- package/dist/stzh-components/{p-e662b688.entry.js → p-0cff4e01.entry.js} +1 -1
- package/dist/stzh-components/{p-0321e98e.system.entry.js → p-104df3a8.system.entry.js} +1 -1
- package/dist/stzh-components/p-10c046fc.system.entry.js +1 -0
- package/dist/stzh-components/{p-26159eac.system.entry.js → p-11d7b426.system.entry.js} +1 -1
- package/dist/stzh-components/{p-22c9a00d.system.entry.js → p-171c5795.system.entry.js} +1 -1
- package/dist/stzh-components/{p-c3161c9b.system.entry.js → p-19ab7e34.system.entry.js} +1 -1
- package/dist/stzh-components/{p-67ade1c7.system.entry.js → p-1ca12032.system.entry.js} +1 -1
- package/dist/stzh-components/{p-ff534e27.entry.js → p-1d8272a5.entry.js} +1 -1
- package/dist/stzh-components/{p-3e504f50.entry.js → p-1da26ca1.entry.js} +1 -1
- package/dist/stzh-components/p-1fe1169e.entry.js +1 -0
- package/dist/stzh-components/{p-229d4ad2.entry.js → p-213959b7.entry.js} +1 -1
- package/dist/stzh-components/{p-14f0d546.entry.js → p-22b06793.entry.js} +1 -1
- package/dist/stzh-components/p-231e6e6a.system.entry.js +1 -0
- package/dist/stzh-components/{p-3fc40cc0.system.entry.js → p-2577ca1e.system.entry.js} +1 -1
- package/dist/stzh-components/{p-881e526e.system.entry.js → p-2862cdd8.system.entry.js} +1 -1
- package/dist/stzh-components/{p-7dd6fbc9.system.entry.js → p-288ee536.system.entry.js} +1 -1
- package/dist/stzh-components/{p-2c16d2ea.entry.js → p-28d8aa31.entry.js} +1 -1
- package/dist/stzh-components/{p-b1ff3a21.system.entry.js → p-2b5b1e4a.system.entry.js} +1 -1
- package/dist/stzh-components/{p-8fc8d8c2.system.entry.js → p-2bdc71ae.system.entry.js} +1 -1
- package/dist/stzh-components/{p-2e276f2e.system.entry.js → p-30ae5c00.system.entry.js} +1 -1
- package/dist/stzh-components/{p-34eb65b9.entry.js → p-30ba96a3.entry.js} +1 -1
- package/dist/stzh-components/{p-cbaab05e.entry.js → p-31029226.entry.js} +1 -1
- package/dist/stzh-components/{p-c777032f.system.entry.js → p-311813bc.system.entry.js} +1 -1
- package/dist/stzh-components/p-3145cd2f.entry.js +1 -0
- package/dist/stzh-components/{p-62afe664.entry.js → p-31c3469c.entry.js} +1 -1
- package/dist/stzh-components/{p-725b3e74.system.entry.js → p-33f80cd2.system.entry.js} +1 -1
- package/dist/stzh-components/{p-d4b93488.entry.js → p-34b45788.entry.js} +1 -1
- package/dist/stzh-components/{p-456143f9.entry.js → p-376946bc.entry.js} +1 -1
- package/dist/stzh-components/{p-a866b3a3.entry.js → p-3848d8ee.entry.js} +1 -1
- package/dist/stzh-components/p-38f9cbf3.system.entry.js +1 -0
- package/dist/stzh-components/p-3905ca20.entry.js +1 -0
- package/dist/stzh-components/{p-71220066.entry.js → p-391e6b90.entry.js} +1 -1
- package/dist/stzh-components/p-3a1ff759.entry.js +1 -0
- package/dist/stzh-components/p-4226dec6.system.entry.js +1 -0
- package/dist/stzh-components/{p-7a584d3f.system.entry.js → p-4228cd58.system.entry.js} +1 -1
- package/dist/stzh-components/p-441ea784.entry.js +1 -0
- package/dist/stzh-components/{p-229f4ebc.system.entry.js → p-44e0b101.system.entry.js} +1 -1
- package/dist/stzh-components/{p-30e5a674.entry.js → p-49b292df.entry.js} +1 -1
- package/dist/stzh-components/p-49bb09a5.entry.js +1 -0
- package/dist/stzh-components/{p-9454a438.entry.js → p-4b0f473e.entry.js} +1 -1
- package/dist/stzh-components/{p-238a8c83.system.entry.js → p-4bd7dafb.system.entry.js} +1 -1
- package/dist/stzh-components/{p-fade35c7.entry.js → p-4c7e52aa.entry.js} +1 -1
- package/dist/stzh-components/{p-ff2a6bdf.system.entry.js → p-4cd9f5c7.system.entry.js} +1 -1
- package/dist/stzh-components/{p-53c30c58.entry.js → p-51be647d.entry.js} +1 -1
- package/dist/stzh-components/p-55b7cda7.system.entry.js +1 -0
- package/dist/stzh-components/p-55f6fa41.system.entry.js +1 -0
- package/dist/stzh-components/{p-05901b22.system.entry.js → p-57237509.system.entry.js} +1 -1
- package/dist/stzh-components/{p-b09b85ac.entry.js → p-576e1345.entry.js} +1 -1
- package/dist/stzh-components/p-58af0855.system.entry.js +1 -0
- package/dist/stzh-components/{p-c866224d.entry.js → p-5b1c1cf7.entry.js} +1 -1
- package/dist/stzh-components/{p-37bdb9cd.system.entry.js → p-5b379647.system.entry.js} +1 -1
- package/dist/stzh-components/{p-3a279b45.entry.js → p-5c3c9ad4.entry.js} +1 -1
- package/dist/stzh-components/{p-bd5b8114.system.entry.js → p-5ddf8258.system.entry.js} +1 -1
- package/dist/stzh-components/{p-470e5f38.system.entry.js → p-5fd9ae99.system.entry.js} +1 -1
- package/dist/stzh-components/{p-6c1ad586.system.entry.js → p-60274e67.system.entry.js} +1 -1
- package/dist/stzh-components/{p-470ccde5.system.entry.js → p-60d9bf98.system.entry.js} +1 -1
- package/dist/stzh-components/{p-652eee8b.system.entry.js → p-60ec90b2.system.entry.js} +1 -1
- package/dist/stzh-components/{p-3efefb7f.entry.js → p-62a2684d.entry.js} +1 -1
- package/dist/stzh-components/{p-4a3f9353.entry.js → p-64422176.entry.js} +1 -1
- package/dist/stzh-components/p-65675e11.entry.js +1 -0
- package/dist/stzh-components/{p-a3559e69.entry.js → p-661831da.entry.js} +1 -1
- package/dist/stzh-components/{p-bc841847.entry.js → p-669896ec.entry.js} +1 -1
- package/dist/stzh-components/{p-c1100fde.entry.js → p-68400ee7.entry.js} +1 -1
- package/dist/stzh-components/{p-b666bb15.entry.js → p-6a0a76b3.entry.js} +1 -1
- package/dist/stzh-components/p-71c07419.system.entry.js +1 -0
- package/dist/stzh-components/{p-3a0f37bd.entry.js → p-72389069.entry.js} +1 -1
- package/dist/stzh-components/p-75068cd7.system.entry.js +1 -0
- package/dist/stzh-components/{p-090bfb8e.system.entry.js → p-7684506e.system.entry.js} +1 -1
- package/dist/stzh-components/p-791bc813.system.js +1 -0
- package/dist/stzh-components/{p-cc735465.system.entry.js → p-7adc28a4.system.entry.js} +2 -2
- package/dist/stzh-components/p-7ce59988.system.entry.js +1 -0
- package/dist/stzh-components/p-7da446d5.js +1 -0
- package/dist/stzh-components/{p-e785d9cc.entry.js → p-7e94dde2.entry.js} +1 -1
- package/dist/stzh-components/{p-bdc627fa.system.entry.js → p-812ea5e9.system.entry.js} +1 -1
- package/dist/stzh-components/p-83830baa.system.entry.js +1 -0
- package/dist/stzh-components/{p-5c2d0572.entry.js → p-84965eac.entry.js} +1 -1
- package/dist/stzh-components/p-84c86e4c.system.entry.js +1 -0
- package/dist/stzh-components/p-86a29c35.js +1 -0
- package/dist/stzh-components/{p-44435254.system.entry.js → p-88a31179.system.entry.js} +1 -1
- package/dist/stzh-components/{p-b0e514c7.entry.js → p-88cbd2c0.entry.js} +1 -1
- package/dist/stzh-components/{p-4fd4a703.entry.js → p-8a1d00fe.entry.js} +2 -2
- package/dist/stzh-components/{p-b99c0844.entry.js → p-8bbaed3a.entry.js} +1 -1
- package/dist/stzh-components/{p-6a96d63e.system.entry.js → p-8cc119d3.system.entry.js} +1 -1
- package/dist/stzh-components/{p-5e81420b.entry.js → p-9176246f.entry.js} +1 -1
- package/dist/stzh-components/p-92afa8df.entry.js +1 -0
- package/dist/stzh-components/{p-61d4852f.system.entry.js → p-94830f96.system.entry.js} +1 -1
- package/dist/stzh-components/p-95b490ec.system.entry.js +1 -0
- package/dist/stzh-components/p-9743f558.system.entry.js +1 -0
- package/dist/stzh-components/p-97e16665.system.entry.js +1 -0
- package/dist/stzh-components/p-996579d0.entry.js +1 -0
- package/dist/stzh-components/p-99f92c6d.system.entry.js +1 -0
- package/dist/stzh-components/{p-7a4c6adb.js → p-9a5ebb1f.js} +1 -1
- package/dist/stzh-components/{p-1a5fc8e3.system.entry.js → p-9dac46e2.system.entry.js} +1 -1
- package/dist/stzh-components/p-9e38b823.system.entry.js +1 -0
- package/dist/stzh-components/p-9e4e0cc9.entry.js +1 -0
- package/dist/stzh-components/p-a16dc363.entry.js +1 -0
- package/dist/stzh-components/{p-7c172e64.system.entry.js → p-a17754c7.system.entry.js} +1 -1
- package/dist/stzh-components/{p-33a52001.system.entry.js → p-a474826c.system.entry.js} +1 -1
- package/dist/stzh-components/{p-7d77b8d2.entry.js → p-a53c0a98.entry.js} +1 -1
- package/dist/stzh-components/{p-293ceb5e.entry.js → p-a795868f.entry.js} +1 -1
- package/dist/stzh-components/{p-0c10d9b1.entry.js → p-a8101552.entry.js} +2 -2
- package/dist/stzh-components/p-a934dd4d.entry.js +1 -0
- package/dist/stzh-components/{p-5caa837c.system.entry.js → p-aacf685b.system.entry.js} +2 -2
- package/dist/stzh-components/{p-8f9de52f.system.entry.js → p-ab28e094.system.entry.js} +1 -1
- package/dist/stzh-components/p-ac3aa560.system.entry.js +1 -0
- package/dist/stzh-components/{p-7dec02ca.entry.js → p-addc48e5.entry.js} +1 -1
- package/dist/stzh-components/p-af0ab448.system.entry.js +1 -0
- package/dist/stzh-components/p-af63f1a4.entry.js +1 -0
- package/dist/stzh-components/p-b0d8866d.entry.js +1 -0
- package/dist/stzh-components/{p-140e4b63.entry.js → p-b0fe9349.entry.js} +1 -1
- package/dist/stzh-components/{p-36596b2b.system.entry.js → p-b2145753.system.entry.js} +1 -1
- package/dist/stzh-components/{p-44dd74d1.system.entry.js → p-b436a18d.system.entry.js} +1 -1
- package/dist/stzh-components/{p-55435022.system.entry.js → p-b908d228.system.entry.js} +1 -1
- package/dist/stzh-components/{p-daa34275.system.entry.js → p-ba0b93c4.system.entry.js} +1 -1
- package/dist/stzh-components/{p-90665664.system.entry.js → p-be79497f.system.entry.js} +1 -1
- package/dist/stzh-components/{p-0e48efa7.entry.js → p-bee6eef5.entry.js} +1 -1
- package/dist/stzh-components/{p-616e70e9.system.entry.js → p-bfcfbfbb.system.entry.js} +1 -1
- package/dist/stzh-components/p-c065387a.entry.js +1 -0
- package/dist/stzh-components/p-c0fef3d1.entry.js +1 -0
- package/dist/stzh-components/p-c26aec94.entry.js +1 -0
- package/dist/stzh-components/{p-8eb72064.system.entry.js → p-c30600d0.system.entry.js} +1 -1
- package/dist/stzh-components/{p-46f4e907.entry.js → p-c3a543a6.entry.js} +1 -1
- package/dist/stzh-components/p-c42435be.entry.js +1 -0
- package/dist/stzh-components/{p-2c783943.entry.js → p-cc720d2d.entry.js} +1 -1
- package/dist/stzh-components/{p-51c75fba.system.entry.js → p-cfc0bc2e.system.entry.js} +1 -1
- package/dist/stzh-components/p-cff8376e.entry.js +1 -0
- package/dist/stzh-components/p-d1d5825d.entry.js +1 -0
- package/dist/stzh-components/p-d2f6fb1b.system.js +1 -0
- package/dist/stzh-components/{p-92ad9720.system.entry.js → p-d4405931.system.entry.js} +1 -1
- package/dist/stzh-components/p-d5c0801b.entry.js +1 -0
- package/dist/stzh-components/{p-440ae0cc.system.entry.js → p-d5cb80ad.system.entry.js} +1 -1
- package/dist/stzh-components/{p-b5a59ac0.entry.js → p-db1692fb.entry.js} +1 -1
- package/dist/stzh-components/{p-609bf766.system.js → p-dbdc01c7.system.js} +2 -2
- package/dist/stzh-components/p-dce19efd.entry.js +1 -0
- package/dist/stzh-components/{p-8347b91f.js → p-df5f49b4.js} +1 -1
- package/dist/stzh-components/p-e2e54f09.system.js +1 -0
- package/dist/stzh-components/{p-5ed4d1d5.system.entry.js → p-e46d82b9.system.entry.js} +1 -1
- package/dist/stzh-components/{p-b3587b9d.system.entry.js → p-e71cd5cd.system.entry.js} +1 -1
- package/dist/stzh-components/p-e72ca013.system.entry.js +1 -0
- package/dist/stzh-components/p-e76a3647.entry.js +1 -0
- package/dist/stzh-components/{p-e347ce1e.system.entry.js → p-e7cf6c45.system.entry.js} +1 -1
- package/dist/stzh-components/{p-025953d1.system.entry.js → p-e812d35e.system.entry.js} +1 -1
- package/dist/stzh-components/p-eaa65f52.system.js +1 -0
- package/dist/stzh-components/p-eade9f77.entry.js +1 -0
- package/dist/stzh-components/{p-e69903fe.entry.js → p-eb6d3e6c.entry.js} +1 -1
- package/dist/stzh-components/{p-d408604f.system.entry.js → p-ec3a472a.system.entry.js} +1 -1
- package/dist/stzh-components/{p-ef62b905.entry.js → p-ed0d51b6.entry.js} +1 -1
- package/dist/stzh-components/p-ed6adb96.entry.js +1 -0
- package/dist/stzh-components/{p-27573504.system.entry.js → p-f027e569.system.entry.js} +1 -1
- package/dist/stzh-components/{p-95defe16.system.entry.js → p-f03ce92d.system.entry.js} +1 -1
- package/dist/stzh-components/p-f3107fc7.system.entry.js +1 -0
- package/dist/stzh-components/{p-38b9e5e9.entry.js → p-f37be5d7.entry.js} +1 -1
- package/dist/stzh-components/{p-8ab86ca3.system.entry.js → p-f59b3545.system.entry.js} +1 -1
- package/dist/stzh-components/{p-b54ed1f9.entry.js → p-f5db6234.entry.js} +1 -1
- package/dist/stzh-components/{p-92788577.entry.js → p-f5fdc88c.entry.js} +2 -2
- package/dist/stzh-components/{p-04dd6821.entry.js → p-f792fc8f.entry.js} +1 -1
- package/dist/stzh-components/{p-183e4790.system.entry.js → p-fbf2f4ed.system.entry.js} +1 -1
- package/dist/stzh-components/{p-f5f3475c.system.entry.js → p-fcec6003.system.entry.js} +1 -1
- package/dist/stzh-components/{p-cf781b59.entry.js → p-fd265f3a.entry.js} +1 -1
- package/dist/stzh-components/stzh-components.esm.js +1 -1
- package/dist/stzh-components/stzh-components.js +1 -1
- package/dist/types/components/stzh-microsite-teaserlist/stzh-microsite-teaserlist.localization.d.ts +5 -0
- package/dist/types/components/stzh-vbz-ticker/stzh-vbz-ticker.localization.d.ts +13 -12
- package/dist/types/components.d.ts +508 -27
- package/dist/types/index.d.ts +81 -2
- package/dist/vscode-data.json +278 -17
- package/package.json +1 -1
- package/dist/cjs/stzh-card-list.cjs.entry.js +0 -76
- package/dist/cjs/stzh-card.cjs.entry.js +0 -282
- package/dist/cjs/stzh-chip-select.cjs.entry.js +0 -112
- package/dist/cjs/stzh-datalist.cjs.entry.js +0 -62
- package/dist/esm/stzh-card-list.entry.js +0 -72
- package/dist/esm/stzh-card.entry.js +0 -278
- package/dist/esm/stzh-datalist.entry.js +0 -58
- package/dist/esm-es5/app-globals-246b5e49.js +0 -1
- package/dist/esm-es5/stzh-card-list.entry.js +0 -1
- package/dist/esm-es5/stzh-card.entry.js +0 -1
- package/dist/esm-es5/stzh-chip-select.entry.js +0 -1
- package/dist/esm-es5/stzh-datalist.entry.js +0 -1
- package/dist/stzh-components/p-01909f35.system.entry.js +0 -1
- package/dist/stzh-components/p-0230004d.system.js +0 -1
- package/dist/stzh-components/p-105a11cb.entry.js +0 -1
- package/dist/stzh-components/p-14e457c6.system.entry.js +0 -1
- package/dist/stzh-components/p-17ae6581.entry.js +0 -1
- package/dist/stzh-components/p-1f57d28e.js +0 -1
- package/dist/stzh-components/p-25ef050a.entry.js +0 -1
- package/dist/stzh-components/p-2ba8b5c9.system.entry.js +0 -1
- package/dist/stzh-components/p-38977481.entry.js +0 -1
- package/dist/stzh-components/p-3a47ff2d.system.entry.js +0 -1
- package/dist/stzh-components/p-509c97c9.system.entry.js +0 -1
- package/dist/stzh-components/p-50ea2036.system.js +0 -1
- package/dist/stzh-components/p-529a56aa.system.entry.js +0 -1
- package/dist/stzh-components/p-52cd1bd1.system.js +0 -1
- package/dist/stzh-components/p-5869502c.system.entry.js +0 -1
- package/dist/stzh-components/p-5c311df3.entry.js +0 -1
- package/dist/stzh-components/p-60d8e2da.entry.js +0 -1
- package/dist/stzh-components/p-61c9ca5d.entry.js +0 -1
- package/dist/stzh-components/p-6830f839.entry.js +0 -1
- package/dist/stzh-components/p-6a16ceff.entry.js +0 -1
- package/dist/stzh-components/p-6d22bd0d.entry.js +0 -1
- package/dist/stzh-components/p-71d757d3.js +0 -1
- package/dist/stzh-components/p-783346ed.entry.js +0 -1
- package/dist/stzh-components/p-7909f56b.entry.js +0 -1
- package/dist/stzh-components/p-7aef399f.entry.js +0 -1
- package/dist/stzh-components/p-84aace40.system.entry.js +0 -1
- package/dist/stzh-components/p-8d9056de.entry.js +0 -1
- package/dist/stzh-components/p-909d7a3c.system.js +0 -1
- package/dist/stzh-components/p-90ad5e2c.entry.js +0 -1
- package/dist/stzh-components/p-965829a6.system.entry.js +0 -1
- package/dist/stzh-components/p-98a972b7.system.entry.js +0 -1
- package/dist/stzh-components/p-9a7593f5.entry.js +0 -1
- package/dist/stzh-components/p-a10e0117.system.entry.js +0 -1
- package/dist/stzh-components/p-ac409e7b.system.entry.js +0 -1
- package/dist/stzh-components/p-ad119aca.entry.js +0 -1
- package/dist/stzh-components/p-bc34bf07.system.entry.js +0 -1
- package/dist/stzh-components/p-bfdce66c.entry.js +0 -1
- package/dist/stzh-components/p-c051fc3b.entry.js +0 -1
- package/dist/stzh-components/p-c2238fbf.entry.js +0 -1
- package/dist/stzh-components/p-c3846ccf.system.entry.js +0 -1
- package/dist/stzh-components/p-c6813d9f.system.entry.js +0 -1
- package/dist/stzh-components/p-c8009c05.system.entry.js +0 -1
- package/dist/stzh-components/p-ce06b4f2.system.js +0 -1
- package/dist/stzh-components/p-d00e20ff.entry.js +0 -1
- package/dist/stzh-components/p-d26ed018.entry.js +0 -1
- package/dist/stzh-components/p-e161760f.system.entry.js +0 -1
- package/dist/stzh-components/p-ee711f37.system.entry.js +0 -1
- package/dist/stzh-components/p-ee944add.system.entry.js +0 -1
- package/dist/stzh-components/p-f8ccf5b1.entry.js +0 -1
- package/dist/stzh-components/p-f9039c23.entry.js +0 -1
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { Host, h, } from "@stencil/core";
|
|
2
|
+
import { hasSlot } from "../../utils/utils";
|
|
3
|
+
/**
|
|
4
|
+
* @slot left - Slot for left column content
|
|
5
|
+
* @slot right - Slot for right column content
|
|
6
|
+
*/
|
|
7
|
+
export class StzhTextandimage {
|
|
8
|
+
constructor() {
|
|
9
|
+
this.floating = false;
|
|
10
|
+
this.size = "default";
|
|
11
|
+
}
|
|
12
|
+
render() {
|
|
13
|
+
const leftSlotUsed = hasSlot(this.element, "left");
|
|
14
|
+
const rightSlotUsed = hasSlot(this.element, "right");
|
|
15
|
+
const classes = {
|
|
16
|
+
"stzh-textandimage": true,
|
|
17
|
+
"stzh-textandimage--has-left": leftSlotUsed,
|
|
18
|
+
"stzh-textandimage--has-right": rightSlotUsed,
|
|
19
|
+
"stzh-textandimage--is-floating": this.floating,
|
|
20
|
+
[`stzh-textandimage--size-${this.size}`]: !!this.size
|
|
21
|
+
};
|
|
22
|
+
return (h(Host, null, h("div", { class: classes }, h("div", { class: "stzh-textandimage__left" }, h("slot", { name: "left" }), this.floating && h("slot", { name: "right" })), !this.floating &&
|
|
23
|
+
h("div", { class: "stzh-textandimage__right" }, h("slot", { name: "right" })))));
|
|
24
|
+
}
|
|
25
|
+
static get is() { return "stzh-textandimage"; }
|
|
26
|
+
static get encapsulation() { return "shadow"; }
|
|
27
|
+
static get originalStyleUrls() {
|
|
28
|
+
return {
|
|
29
|
+
"$": ["stzh-textandimage.scss"]
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
static get styleUrls() {
|
|
33
|
+
return {
|
|
34
|
+
"$": ["stzh-textandimage.css"]
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
static get properties() {
|
|
38
|
+
return {
|
|
39
|
+
"floating": {
|
|
40
|
+
"type": "boolean",
|
|
41
|
+
"mutable": false,
|
|
42
|
+
"complexType": {
|
|
43
|
+
"original": "boolean",
|
|
44
|
+
"resolved": "boolean",
|
|
45
|
+
"references": {}
|
|
46
|
+
},
|
|
47
|
+
"required": false,
|
|
48
|
+
"optional": false,
|
|
49
|
+
"docs": {
|
|
50
|
+
"tags": [],
|
|
51
|
+
"text": "Whether to float left content"
|
|
52
|
+
},
|
|
53
|
+
"attribute": "floating",
|
|
54
|
+
"reflect": true,
|
|
55
|
+
"defaultValue": "false"
|
|
56
|
+
},
|
|
57
|
+
"size": {
|
|
58
|
+
"type": "string",
|
|
59
|
+
"mutable": false,
|
|
60
|
+
"complexType": {
|
|
61
|
+
"original": "\"default\" | \"small\" | \"large\"",
|
|
62
|
+
"resolved": "\"default\" | \"large\" | \"small\"",
|
|
63
|
+
"references": {}
|
|
64
|
+
},
|
|
65
|
+
"required": false,
|
|
66
|
+
"optional": false,
|
|
67
|
+
"docs": {
|
|
68
|
+
"tags": [],
|
|
69
|
+
"text": "Size variant"
|
|
70
|
+
},
|
|
71
|
+
"attribute": "size",
|
|
72
|
+
"reflect": true,
|
|
73
|
+
"defaultValue": "\"default\""
|
|
74
|
+
}
|
|
75
|
+
};
|
|
76
|
+
}
|
|
77
|
+
static get elementRef() { return "element"; }
|
|
78
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { h } from '../../utils/h';
|
|
2
|
+
import readme from './readme.md';
|
|
3
|
+
import { withDesign } from 'storybook-addon-designs';
|
|
4
|
+
import { getFigmaLink } from '../../../figma';
|
|
5
|
+
|
|
6
|
+
export default {
|
|
7
|
+
title: 'Components/Textandimage',
|
|
8
|
+
component: 'stzh-textandimage',
|
|
9
|
+
parameters: {
|
|
10
|
+
docs: {
|
|
11
|
+
description: {
|
|
12
|
+
component: readme
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
design: {
|
|
16
|
+
type: 'figma',
|
|
17
|
+
url: getFigmaLink('textandimage'),
|
|
18
|
+
allowFullscreen: true
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
decorators: [
|
|
22
|
+
withDesign
|
|
23
|
+
]
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
const Template = (args) => (
|
|
27
|
+
<stzh-textandimage {...args}>
|
|
28
|
+
<div slot="left">
|
|
29
|
+
<stzh-figure caption="Laboris laborum aute id laboris culpa esse aliquip nisi anim velit. Minim sunt eiusmod do laborum amet ut magna.">
|
|
30
|
+
<img src="media/images/example2.jpg" loading="lazy" alt="Example image" />
|
|
31
|
+
</stzh-figure>
|
|
32
|
+
</div>
|
|
33
|
+
<div slot="right">
|
|
34
|
+
<stzh-richtext>
|
|
35
|
+
<p>Laboris laborum aute id laboris culpa esse aliquip nisi anim velit. Minim sunt eiusmod do laborum amet ut magna. Labore dolore id nostrud enim Lorem pariatur ad dolore id eiusmod adipisicing laboris laborum minim.</p>
|
|
36
|
+
<ul>
|
|
37
|
+
<li>Laboris laborum aute id laboris esse aliquip nisi anim velit</li>
|
|
38
|
+
<li>
|
|
39
|
+
Minim sunt eiusmod do laborum
|
|
40
|
+
<ul>
|
|
41
|
+
<li>Laboris laborum aute</li>
|
|
42
|
+
<li>Laboris esse aliquip</li>
|
|
43
|
+
</ul>
|
|
44
|
+
</li>
|
|
45
|
+
</ul>
|
|
46
|
+
<p><strong>Laboris laborum aute</strong> id laboris culpa esse <b>aliquip nisi anim</b> velit. Minim sunt eiusmod do laborum amet ut magna. Labore dolore id nostrud enim Lorem pariatur ad dolore id eiusmod adipisicing laboris laborum minim.</p>
|
|
47
|
+
<p>Laboris laborum aute id laboris culpa esse aliquip nisi anim velit. Minim sunt eiusmod do laborum amet ut magna. Labore dolore id nostrud enim Lorem pariatur ad dolore id eiusmod adipisicing laboris laborum minim.</p>
|
|
48
|
+
<p>Laboris laborum aute id laboris culpa esse aliquip nisi anim velit. Minim sunt eiusmod do laborum amet ut magna. Labore dolore id nostrud enim Lorem pariatur ad dolore id eiusmod adipisicing laboris laborum minim.</p>
|
|
49
|
+
</stzh-richtext>
|
|
50
|
+
</div>
|
|
51
|
+
</stzh-textandimage>
|
|
52
|
+
);
|
|
53
|
+
|
|
54
|
+
export const Default = Template.bind({});
|
|
55
|
+
Default.args = {
|
|
56
|
+
};
|
|
@@ -289,11 +289,12 @@
|
|
|
289
289
|
color: var(--stzh-color-grey61);
|
|
290
290
|
}
|
|
291
291
|
.stzh-toggle--is-disabled .stzh-toggle__input ~ .stzh-toggle__mark .stzh-toggle__check {
|
|
292
|
-
border-color: var(--stzh-color-
|
|
292
|
+
border-color: var(--stzh-color-grey13);
|
|
293
293
|
}
|
|
294
294
|
.stzh-toggle--is-disabled .stzh-toggle__input:checked ~ .stzh-toggle__mark {
|
|
295
295
|
background-color: var(--stzh-color-black8);
|
|
296
296
|
}
|
|
297
297
|
.stzh-toggle--is-disabled .stzh-toggle__input:checked ~ .stzh-toggle__mark .stzh-toggle__check {
|
|
298
298
|
background-color: var(--stzh-color-grey25);
|
|
299
|
+
border-color: var(--stzh-color-grey25);
|
|
299
300
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Host, h } from "@stencil/core";
|
|
2
2
|
import { arrow, computePosition, offset, shift, flip, autoUpdate } from "@floating-ui/dom";
|
|
3
3
|
import { createFocusTrap } from "focus-trap";
|
|
4
|
+
import { isStzhElement } from "../../utils/utils";
|
|
4
5
|
import { fetchTranslations } from "../../utils/translation-utils";
|
|
5
6
|
import { waitForEvent } from "../../utils/event-utils";
|
|
6
7
|
import { stopAnimations, animateTo } from "../../utils/animation-utils";
|
|
@@ -223,8 +224,7 @@ export class StzhTooltip {
|
|
|
223
224
|
return this._trigger.indexOf(trigger) > -1;
|
|
224
225
|
}
|
|
225
226
|
async componentWillLoad() {
|
|
226
|
-
this.labelId = `stzh-tooltip-label-${tooltipCounter}`;
|
|
227
|
-
tooltipCounter++;
|
|
227
|
+
this.labelId = `stzh-tooltip-label-${tooltipCounter++}`;
|
|
228
228
|
this.triggerWatcher(this.trigger);
|
|
229
229
|
if (!this.localization) {
|
|
230
230
|
this.localization = await fetchTranslations(this.element, "tooltip");
|
|
@@ -233,8 +233,9 @@ export class StzhTooltip {
|
|
|
233
233
|
componentDidRender() {
|
|
234
234
|
this.computePosition();
|
|
235
235
|
if (this.interactive) {
|
|
236
|
+
const isStzh = isStzhElement(this.triggerElement.firstElementChild);
|
|
236
237
|
this.triggerElement.firstElementChild
|
|
237
|
-
.setAttribute("aria-expanded", this.open ? "true" : "false");
|
|
238
|
+
.setAttribute(isStzh ? "a11y-expanded" : "aria-expanded", this.open ? "true" : "false");
|
|
238
239
|
}
|
|
239
240
|
if (this.trap) {
|
|
240
241
|
this.open ? this.trap.activate() : this.trap.deactivate();
|
|
@@ -279,11 +280,13 @@ export class StzhTooltip {
|
|
|
279
280
|
if (this.autoUpdateCleanup) {
|
|
280
281
|
this.autoUpdateCleanup();
|
|
281
282
|
}
|
|
282
|
-
this.triggerElement
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
283
|
+
if (this.triggerElement && this.triggerElement.firstElementChild) {
|
|
284
|
+
this.triggerElement.firstElementChild.removeEventListener("click", this.onClickTrigger);
|
|
285
|
+
this.triggerElement.firstElementChild.removeEventListener("mouseenter", this.onMouseEnterTrigger);
|
|
286
|
+
this.triggerElement.firstElementChild.removeEventListener("mouseleave", this.onMouseLeaveTrigger);
|
|
287
|
+
this.triggerElement.firstElementChild.removeEventListener("focusin", this.onFocusTrigger);
|
|
288
|
+
this.triggerElement.firstElementChild.removeEventListener("focusout", this.onBlurTrigger);
|
|
289
|
+
}
|
|
287
290
|
}
|
|
288
291
|
render() {
|
|
289
292
|
const classes = {
|
|
@@ -87,7 +87,7 @@ export class StzhVbzLinechip {
|
|
|
87
87
|
"mutable": false,
|
|
88
88
|
"complexType": {
|
|
89
89
|
"original": "VBZ.Lines",
|
|
90
|
-
"resolved": "\"2\" | \"
|
|
90
|
+
"resolved": "\"2\" | \"4\" | \"5\" | \"3\" | \"6\" | \"7\" | \"8\" | \"9\" | \"10\" | \"11\" | \"12\" | \"13\" | \"14\" | \"15\" | \"16\" | \"17\" | \"19\" | \"20\" | \"21\" | \"23\" | \"24\" | \"25\" | \"29\" | \"31\" | \"32\" | \"33\" | \"34\" | \"35\" | \"36\" | \"37\" | \"38\" | \"39\" | \"40\" | \"45\" | \"46\" | \"54\" | \"61\" | \"62\" | \"63\" | \"64\" | \"66\" | \"67\" | \"69\" | \"70\" | \"72\" | \"73\" | \"75\" | \"76\" | \"77\" | \"78\" | \"79\" | \"80\" | \"83\" | \"89\" | \"91\" | \"94\" | \"95\" | \"99\" | \"151\" | \"152\" | \"153\" | \"156\" | \"161\" | \"162\" | \"163\" | \"165\" | \"184\" | \"185\" | \"200\" | \"201\" | \"215\" | \"220\" | \"235\" | \"236\" | \"245\" | \"301\" | \"302\" | \"303\" | \"304\" | \"305\" | \"306\" | \"307\" | \"308\" | \"309\" | \"311\" | \"314\" | \"315\" | \"317\" | \"321\" | \"323\" | \"325\" | \"350\" | \"444\" | \"445\" | \"701\" | \"702\" | \"703\" | \"704\" | \"705\" | \"720\" | \"721\" | \"725\" | \"726\" | \"727\" | \"742\" | \"743\" | \"744\" | \"745\" | \"747\" | \"748\" | \"751\" | \"752\" | \"753\" | \"754\" | \"759\" | \"760\" | \"765\" | \"768\" | \"781\" | \"786\" | \"787\" | \"910\" | \"912\" | \"916\" | \"917\" | \"918\" | \"919\" | \"E\" | \"N\" | \"N1\" | \"N2\" | \"N4\" | \"N5\" | \"N6\" | \"N7\" | \"N8\" | \"N9\" | \"N10\" | \"N11\" | \"N12\" | \"N13\" | \"N14\" | \"N15\" | \"N16\" | \"N17\" | \"N18\" | \"N19\" | \"N30\" | \"N31\" | \"N32\" | \"N33\" | \"N34\" | \"N45\" | \"N72\" | \"N78\" | \"SN1\" | \"SN4\" | \"SN5\" | \"SN6\" | \"SN7\" | \"SN8\" | \"SN9\" | \"S2\" | \"S3\" | \"S4\" | \"S5\" | \"S6\" | \"S7\" | \"S8\" | \"S9\" | \"S10\" | \"S11\" | \"S14\" | \"S15\" | \"S16\" | \"S18\" | \"S19\" | \"S20\" | \"S21\" | \"S23\" | \"S24\" | \"S25\"",
|
|
91
91
|
"references": {
|
|
92
92
|
"VBZ": {
|
|
93
93
|
"location": "import",
|
|
@@ -1,17 +1,14 @@
|
|
|
1
1
|
import { Host, h } from "@stencil/core";
|
|
2
|
-
import axios from
|
|
3
|
-
import { createParagraphsFromBrs } from
|
|
2
|
+
import axios from "axios";
|
|
3
|
+
import { createParagraphsFromBrs } from "../../utils/string-utils";
|
|
4
4
|
import { fetchTranslations } from "../../utils/translation-utils";
|
|
5
5
|
import { createGlobalAdapter } from "../../utils/date-adapter";
|
|
6
|
-
|
|
7
|
-
const BASE_TYPE_GLOBAL = "GLOBAL";
|
|
8
|
-
const CHANNEL_TICKER = "ticker";
|
|
9
|
-
const CHANNEL_INFO_URL_FILTER = 'stadt-zuerich.ch/vbz';
|
|
6
|
+
import { VBZ } from "../../index";
|
|
10
7
|
/**
|
|
11
|
-
*
|
|
12
8
|
*/
|
|
13
9
|
export class StzhVbzMajorticker {
|
|
14
10
|
constructor() {
|
|
11
|
+
this.disturbance = null;
|
|
15
12
|
this.onGhettoboxOpen = () => {
|
|
16
13
|
this.ghettoboxShown = true;
|
|
17
14
|
};
|
|
@@ -26,6 +23,14 @@ export class StzhVbzMajorticker {
|
|
|
26
23
|
this.ghettoboxCloseTimeKey = undefined;
|
|
27
24
|
this.ghettoboxShown = true;
|
|
28
25
|
}
|
|
26
|
+
/** Return whether ghettobox is shown (if has not been closed before) */
|
|
27
|
+
async getGhettoboxShown() {
|
|
28
|
+
return this.ghettoboxShown;
|
|
29
|
+
}
|
|
30
|
+
/** Return fetched disturbance */
|
|
31
|
+
async getDisturbance() {
|
|
32
|
+
return this.disturbance;
|
|
33
|
+
}
|
|
29
34
|
async apiWatcher(newValue) {
|
|
30
35
|
if (!newValue) {
|
|
31
36
|
return;
|
|
@@ -44,14 +49,14 @@ export class StzhVbzMajorticker {
|
|
|
44
49
|
else {
|
|
45
50
|
this._data = newValue;
|
|
46
51
|
}
|
|
47
|
-
const bigDisturbance = (_b = (_a = this._data) === null || _a === void 0 ? void 0 : _a.Message) === null || _b === void 0 ? void 0 : _b.find(message => message.category === DISTURBANCE_INFORMATION && message.baseType === BASE_TYPE_GLOBAL);
|
|
52
|
+
const bigDisturbance = (_b = (_a = this._data) === null || _a === void 0 ? void 0 : _a.Message) === null || _b === void 0 ? void 0 : _b.find(message => message.category === VBZ.DISTURBANCE_INFORMATION && message.baseType === VBZ.BASE_TYPE_GLOBAL);
|
|
48
53
|
if (bigDisturbance) {
|
|
49
54
|
const urls = bigDisturbance.channel
|
|
50
|
-
.filter(channel => channel.name === CHANNEL_TICKER && channel.url)
|
|
55
|
+
.filter(channel => channel.name === VBZ.CHANNEL_TICKER && channel.url)
|
|
51
56
|
.map(channel => channel.url)
|
|
52
57
|
.reduce((a, b) => a.concat(b), []);
|
|
53
58
|
const infoUrl = urls
|
|
54
|
-
.find(url => url.url.indexOf(CHANNEL_INFO_URL_FILTER) !== -1);
|
|
59
|
+
.find(url => url.url.indexOf(VBZ.CHANNEL_INFO_URL_FILTER) !== -1);
|
|
55
60
|
this.disturbance = {
|
|
56
61
|
id: bigDisturbance.id,
|
|
57
62
|
head: bigDisturbance.head,
|
|
@@ -63,6 +68,10 @@ export class StzhVbzMajorticker {
|
|
|
63
68
|
infoUrl: infoUrl
|
|
64
69
|
};
|
|
65
70
|
}
|
|
71
|
+
this.stzhDisturbanceFetched.emit({
|
|
72
|
+
component: "stzh-vbz-majorticker",
|
|
73
|
+
disturbance: this.disturbance
|
|
74
|
+
});
|
|
66
75
|
}
|
|
67
76
|
async componentWillLoad() {
|
|
68
77
|
if (!this.localization) {
|
|
@@ -83,7 +92,7 @@ export class StzhVbzMajorticker {
|
|
|
83
92
|
"stzh-vbz-majorticker": true
|
|
84
93
|
};
|
|
85
94
|
return (h(Host, { hidden: !this.disturbance || !this.ghettoboxShown }, h("div", { class: classes }, this.disturbance &&
|
|
86
|
-
h("stzh-ghettobox", { onStzhOpen: this.onGhettoboxOpen, onStzhClose: this.onGhettoboxClose, class: "stzh-vbz-majorticker__ghettobox", closeTimeKey: this.ghettoboxCloseTimeKey, mainTitle: this.disturbance.head, publishDate: this.disturbance.startDate }, h("stzh-richtext", { innerHTML: this.disturbance.text }), this.disturbance.infoUrl ?
|
|
95
|
+
h("stzh-ghettobox", { onStzhOpen: this.onGhettoboxOpen, onStzhClose: this.onGhettoboxClose, class: "stzh-vbz-majorticker__ghettobox", hideClose: true, closeTimeKey: this.ghettoboxCloseTimeKey, mainTitle: this.disturbance.head, publishDate: this.disturbance.startDate }, h("stzh-richtext", { innerHTML: this.disturbance.text }), this.disturbance.infoUrl ?
|
|
87
96
|
h("stzh-button", { slot: "button", href: this.disturbance.infoUrl.url }, this.disturbance.infoUrl.name)
|
|
88
97
|
:
|
|
89
98
|
h("stzh-button", { slot: "button", target: "_blank", href: this.moreInfoLink
|
|
@@ -116,7 +125,7 @@ export class StzhVbzMajorticker {
|
|
|
116
125
|
"optional": false,
|
|
117
126
|
"docs": {
|
|
118
127
|
"tags": [],
|
|
119
|
-
"text": "API URL(`{lang}`
|
|
128
|
+
"text": "API URL (`{lang}` is replaced in the URL)"
|
|
120
129
|
},
|
|
121
130
|
"attribute": "api",
|
|
122
131
|
"reflect": false,
|
|
@@ -222,6 +231,69 @@ export class StzhVbzMajorticker {
|
|
|
222
231
|
"ghettoboxShown": {}
|
|
223
232
|
};
|
|
224
233
|
}
|
|
234
|
+
static get events() {
|
|
235
|
+
return [{
|
|
236
|
+
"method": "stzhDisturbanceFetched",
|
|
237
|
+
"name": "stzhDisturbanceFetched",
|
|
238
|
+
"bubbles": true,
|
|
239
|
+
"cancelable": true,
|
|
240
|
+
"composed": true,
|
|
241
|
+
"docs": {
|
|
242
|
+
"tags": [],
|
|
243
|
+
"text": "Event when major disturbance was fetched"
|
|
244
|
+
},
|
|
245
|
+
"complexType": {
|
|
246
|
+
"original": "StzhVbzMajortickerDisturbanceFetchedEvent",
|
|
247
|
+
"resolved": "{ component: \"stzh-vbz-majorticker\"; disturbance: StzhVbzMajortickerDisturbance; }",
|
|
248
|
+
"references": {
|
|
249
|
+
"StzhVbzMajortickerDisturbanceFetchedEvent": {
|
|
250
|
+
"location": "import",
|
|
251
|
+
"path": "../../index"
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
}];
|
|
256
|
+
}
|
|
257
|
+
static get methods() {
|
|
258
|
+
return {
|
|
259
|
+
"getGhettoboxShown": {
|
|
260
|
+
"complexType": {
|
|
261
|
+
"signature": "() => Promise<boolean>",
|
|
262
|
+
"parameters": [],
|
|
263
|
+
"references": {
|
|
264
|
+
"Promise": {
|
|
265
|
+
"location": "global"
|
|
266
|
+
}
|
|
267
|
+
},
|
|
268
|
+
"return": "Promise<boolean>"
|
|
269
|
+
},
|
|
270
|
+
"docs": {
|
|
271
|
+
"text": "Return whether ghettobox is shown (if has not been closed before)",
|
|
272
|
+
"tags": []
|
|
273
|
+
}
|
|
274
|
+
},
|
|
275
|
+
"getDisturbance": {
|
|
276
|
+
"complexType": {
|
|
277
|
+
"signature": "() => Promise<StzhVbzMajortickerDisturbance>",
|
|
278
|
+
"parameters": [],
|
|
279
|
+
"references": {
|
|
280
|
+
"Promise": {
|
|
281
|
+
"location": "global"
|
|
282
|
+
},
|
|
283
|
+
"StzhVbzMajortickerDisturbance": {
|
|
284
|
+
"location": "import",
|
|
285
|
+
"path": "../../index"
|
|
286
|
+
}
|
|
287
|
+
},
|
|
288
|
+
"return": "Promise<StzhVbzMajortickerDisturbance>"
|
|
289
|
+
},
|
|
290
|
+
"docs": {
|
|
291
|
+
"text": "Return fetched disturbance",
|
|
292
|
+
"tags": []
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
};
|
|
296
|
+
}
|
|
225
297
|
static get elementRef() { return "element"; }
|
|
226
298
|
static get watchers() {
|
|
227
299
|
return [{
|
|
@@ -152,21 +152,6 @@
|
|
|
152
152
|
.stzh-vbz-ticker__title-part--disturbances {
|
|
153
153
|
color: var(--stzh-color-error);
|
|
154
154
|
}
|
|
155
|
-
.stzh-vbz-ticker__description {
|
|
156
|
-
font-size: var(--stzh-font-micro-font-size);
|
|
157
|
-
line-height: var(--stzh-font-micro-text-line-height);
|
|
158
|
-
margin-top: var(--stzh-space-xsmall);
|
|
159
|
-
}
|
|
160
|
-
@media screen and (min-width: 1024px) {
|
|
161
|
-
.stzh-vbz-ticker__description {
|
|
162
|
-
margin-top: var(--stzh-space-small);
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
@media screen and (min-width: 1260px) {
|
|
166
|
-
.stzh-vbz-ticker__description {
|
|
167
|
-
margin-top: var(--stzh-space-medium);
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
155
|
.stzh-vbz-ticker__link {
|
|
171
156
|
margin-top: var(--stzh-space-small);
|
|
172
157
|
}
|
|
@@ -184,7 +169,7 @@
|
|
|
184
169
|
}
|
|
185
170
|
.stzh-vbz-ticker__chips:not(:empty) {
|
|
186
171
|
margin: calc(var(--stzh-space-xxsmall) * -1);
|
|
187
|
-
margin-top: calc(var(--stzh-space-
|
|
172
|
+
margin-top: calc(var(--stzh-space-medium) - var(--stzh-space-xxsmall));
|
|
188
173
|
}
|
|
189
174
|
.stzh-vbz-ticker__chip {
|
|
190
175
|
margin: var(--stzh-space-xxsmall);
|
|
@@ -2,15 +2,7 @@ import { Host, h, Fragment } from "@stencil/core";
|
|
|
2
2
|
import axios from 'axios';
|
|
3
3
|
import { fetchTranslations } from "../../utils/translation-utils";
|
|
4
4
|
import { createGlobalAdapter } from "../../utils/date-adapter";
|
|
5
|
-
|
|
6
|
-
const CHANNEL_INFO_URL_FILTER = 'stadt-zuerich.ch/vbz';
|
|
7
|
-
const BASE_TYPE_GLOBAL = "GLOBAL";
|
|
8
|
-
const DISTURBANCE_GLOBAL = "__global__";
|
|
9
|
-
const DISTURBANCE_INFORMATION = "0";
|
|
10
|
-
const DISTURBANCE_CONSTRUCTION = "1";
|
|
11
|
-
const DISTURBANCE_NORMAL = "2";
|
|
12
|
-
const DISTURBANCE_EVENT = "4";
|
|
13
|
-
const DISTURBANCE_BUS = "5";
|
|
5
|
+
import { VBZ } from "../../index";
|
|
14
6
|
/**
|
|
15
7
|
* @slot link - Optional link to traffic situation
|
|
16
8
|
*/
|
|
@@ -19,12 +11,12 @@ export class StzhVbzTicker {
|
|
|
19
11
|
this.globalDisturbances = [];
|
|
20
12
|
this.lines = [];
|
|
21
13
|
this.counter = {
|
|
22
|
-
[`${DISTURBANCE_GLOBAL}`]: 0,
|
|
23
|
-
[`${DISTURBANCE_INFORMATION}`]: 0,
|
|
24
|
-
[`${DISTURBANCE_CONSTRUCTION}`]: 0,
|
|
25
|
-
[`${DISTURBANCE_NORMAL}`]: 0,
|
|
26
|
-
[`${DISTURBANCE_EVENT}`]: 0,
|
|
27
|
-
[`${DISTURBANCE_BUS}`]: 0
|
|
14
|
+
[`${VBZ.DISTURBANCE_GLOBAL}`]: 0,
|
|
15
|
+
[`${VBZ.DISTURBANCE_INFORMATION}`]: 0,
|
|
16
|
+
[`${VBZ.DISTURBANCE_CONSTRUCTION}`]: 0,
|
|
17
|
+
[`${VBZ.DISTURBANCE_NORMAL}`]: 0,
|
|
18
|
+
[`${VBZ.DISTURBANCE_EVENT}`]: 0,
|
|
19
|
+
[`${VBZ.DISTURBANCE_BUS}`]: 0
|
|
28
20
|
};
|
|
29
21
|
this.api = "https://fpbe.zvv.ch/restproxy/himsearch?format=json&accessId=unic&channels=ticker&additionalfields=tickers:VBZ&orderBy=LMOD_DESC&lang={lang}";
|
|
30
22
|
this.data = "";
|
|
@@ -58,13 +50,13 @@ export class StzhVbzTicker {
|
|
|
58
50
|
const lines = {};
|
|
59
51
|
(_b = (_a = this._data) === null || _a === void 0 ? void 0 : _a.Message) === null || _b === void 0 ? void 0 : _b.forEach(message => {
|
|
60
52
|
const urls = message.channel
|
|
61
|
-
.filter(channel => channel.name === CHANNEL_TICKER && channel.url)
|
|
53
|
+
.filter(channel => channel.name === VBZ.CHANNEL_TICKER && channel.url)
|
|
62
54
|
.map(channel => channel.url)
|
|
63
55
|
.reduce((a, b) => a.concat(b), []);
|
|
64
56
|
const infoUrl = urls
|
|
65
|
-
.find(url => url.url.indexOf(CHANNEL_INFO_URL_FILTER) !== -1);
|
|
66
|
-
if (message.baseType === BASE_TYPE_GLOBAL) {
|
|
67
|
-
this.counter[DISTURBANCE_GLOBAL]++;
|
|
57
|
+
.find(url => url.url.indexOf(VBZ.CHANNEL_INFO_URL_FILTER) !== -1);
|
|
58
|
+
if (message.baseType === VBZ.BASE_TYPE_GLOBAL) {
|
|
59
|
+
this.counter[VBZ.DISTURBANCE_GLOBAL]++;
|
|
68
60
|
this.globalDisturbances.push({
|
|
69
61
|
id: message.id,
|
|
70
62
|
head: message.head,
|
|
@@ -83,8 +75,8 @@ export class StzhVbzTicker {
|
|
|
83
75
|
// don't add to lines if no line/product has been linked to
|
|
84
76
|
// or if it is a information disturbance or global
|
|
85
77
|
if (message.affectedProduct
|
|
86
|
-
&& message.category !== DISTURBANCE_INFORMATION
|
|
87
|
-
&& message.baseType !== BASE_TYPE_GLOBAL) {
|
|
78
|
+
&& message.category !== VBZ.DISTURBANCE_INFORMATION
|
|
79
|
+
&& message.baseType !== VBZ.BASE_TYPE_GLOBAL) {
|
|
88
80
|
message.affectedProduct.forEach(product => {
|
|
89
81
|
if (typeof lines[product.lineId] === "undefined") {
|
|
90
82
|
lines[product.lineId] = {
|
|
@@ -95,7 +87,7 @@ export class StzhVbzTicker {
|
|
|
95
87
|
alert: false
|
|
96
88
|
};
|
|
97
89
|
}
|
|
98
|
-
if (message.category === DISTURBANCE_NORMAL) {
|
|
90
|
+
if (message.category === VBZ.DISTURBANCE_NORMAL) {
|
|
99
91
|
lines[product.lineId].alert = true;
|
|
100
92
|
}
|
|
101
93
|
lines[product.lineId].disturbances.push({
|
|
@@ -137,8 +129,8 @@ export class StzhVbzTicker {
|
|
|
137
129
|
return (h("div", { class: {
|
|
138
130
|
"stzh-vbz-ticker__disturbance": true,
|
|
139
131
|
[`stzh-vbz-ticker__disturbance--type${disturbance.category}`]: !!disturbance.category
|
|
140
|
-
} }, disturbance.category === DISTURBANCE_NORMAL
|
|
141
|
-
|| disturbance.baseType === BASE_TYPE_GLOBAL
|
|
132
|
+
} }, disturbance.category === VBZ.DISTURBANCE_NORMAL
|
|
133
|
+
|| disturbance.baseType === VBZ.BASE_TYPE_GLOBAL
|
|
142
134
|
?
|
|
143
135
|
h("stzh-icon", { name: "warning-big", class: "stzh-vbz-ticker__disturbance-icon" })
|
|
144
136
|
:
|
|
@@ -153,17 +145,14 @@ export class StzhVbzTicker {
|
|
|
153
145
|
const classes = {
|
|
154
146
|
"stzh-vbz-ticker": true
|
|
155
147
|
};
|
|
156
|
-
return (h(Host, null, h("div", { class: classes }, h("div", { class: "stzh-vbz-ticker__text" }, h("div", { class: "stzh-vbz-ticker__title" }, h("div", { class: "stzh-vbz-ticker__title-parts" }, this.lines.length === 0 && this.counter[DISTURBANCE_GLOBAL] === 0 &&
|
|
157
|
-
h("div", { class: "stzh-vbz-ticker__title-part stzh-vbz-ticker__title-part--no-disturbances" }, h("stzh-icon", { class: "stzh-vbz-ticker__icon", name: "checkmark-circle" }), this.localization.noDisturbances), this.counter[
|
|
158
|
-
h("div", { class: "stzh-vbz-ticker__title-part stzh-vbz-ticker__title-part--
|
|
159
|
-
|
|
160
|
-
|| this.counter[DISTURBANCE_EVENT] > 0
|
|
161
|
-
|| this.counter[DISTURBANCE_BUS] > 0) &&
|
|
162
|
-
h("div", { class: "stzh-vbz-ticker__title-part stzh-vbz-ticker__title-part--others" }, h("stzh-icon", { class: "stzh-vbz-ticker__icon", name: "construction" }), this.localization.
|
|
163
|
-
h(Fragment, null, h("div", { class: "stzh-vbz-
|
|
164
|
-
? this.localization.globalDisturbance
|
|
165
|
-
: this.localization.affectedLines), h("div", { class: "stzh-vbz-ticker__chips", role: "list" }, this.counter[DISTURBANCE_GLOBAL] > 0 &&
|
|
166
|
-
h("div", { class: "stzh-vbz-ticker__chip", role: "listitem" }, h("stzh-tooltip", { class: "stzh-vbz-ticker__tooltip" }, h("stzh-vbz-linechip", { global: true }), h("div", { class: "stzh-vbz-ticker__tooltip-content", slot: "content" }, this.globalDisturbances.map((disturbance) => this.renderDisturbance(disturbance))))), this.lines.map((line) => h("div", { class: "stzh-vbz-ticker__chip", role: "listitem" }, h("stzh-tooltip", { class: "stzh-vbz-ticker__tooltip" }, h("stzh-vbz-linechip", { line: line.line, alert: line.alert }), h("div", { class: "stzh-vbz-ticker__tooltip-content", slot: "content" }, line.disturbances.map((disturbance) => this.renderDisturbance(disturbance))))))))), h("div", { class: "stzh-vbz-ticker__link" }, h("slot", { name: "link" })))));
|
|
148
|
+
return (h(Host, null, h("div", { class: classes }, h("div", { class: "stzh-vbz-ticker__text" }, h("div", { class: "stzh-vbz-ticker__title" }, h("div", { class: "stzh-vbz-ticker__title-parts" }, this.lines.length === 0 && this.counter[VBZ.DISTURBANCE_GLOBAL] === 0 &&
|
|
149
|
+
h("div", { class: "stzh-vbz-ticker__title-part stzh-vbz-ticker__title-part--no-disturbances" }, h("stzh-icon", { class: "stzh-vbz-ticker__icon", name: "checkmark-circle" }), this.localization.noDisturbances), this.counter[VBZ.DISTURBANCE_NORMAL] > 0 &&
|
|
150
|
+
h("div", { class: "stzh-vbz-ticker__title-part stzh-vbz-ticker__title-part--disturbances" }, h("stzh-icon", { class: "stzh-vbz-ticker__icon", name: "warning" }), this.counter[VBZ.DISTURBANCE_GLOBAL] > 0 ?
|
|
151
|
+
this.localization.furtherDisturbanceTitle : this.localization.disturbanceTitle), (this.counter[VBZ.DISTURBANCE_CONSTRUCTION] > 0
|
|
152
|
+
|| this.counter[VBZ.DISTURBANCE_EVENT] > 0
|
|
153
|
+
|| this.counter[VBZ.DISTURBANCE_BUS] > 0) &&
|
|
154
|
+
h("div", { class: "stzh-vbz-ticker__title-part stzh-vbz-ticker__title-part--others" }, h("stzh-icon", { class: "stzh-vbz-ticker__icon", name: "construction" }), this.localization.constructionsTitle))), (this.lines.length > 0 || this.counter[VBZ.DISTURBANCE_GLOBAL] > 0) &&
|
|
155
|
+
h(Fragment, null, h("div", { class: "stzh-vbz-ticker__chips", role: "list" }, this.lines.map((line) => h("div", { class: "stzh-vbz-ticker__chip", role: "listitem" }, h("stzh-tooltip", { class: "stzh-vbz-ticker__tooltip" }, h("stzh-vbz-linechip", { line: line.line, alert: line.alert }), h("div", { class: "stzh-vbz-ticker__tooltip-content", slot: "content" }, line.disturbances.map((disturbance) => this.renderDisturbance(disturbance))))))))), h("div", { class: "stzh-vbz-ticker__link" }, h("slot", { name: "link" })))));
|
|
167
156
|
}
|
|
168
157
|
static get is() { return "stzh-vbz-ticker"; }
|
|
169
158
|
static get encapsulation() { return "scoped"; }
|
|
@@ -191,7 +180,7 @@ export class StzhVbzTicker {
|
|
|
191
180
|
"optional": false,
|
|
192
181
|
"docs": {
|
|
193
182
|
"tags": [],
|
|
194
|
-
"text": "API URL(`{lang}`
|
|
183
|
+
"text": "API URL (`{lang}` is replaced in the URL)"
|
|
195
184
|
},
|
|
196
185
|
"attribute": "api",
|
|
197
186
|
"reflect": false,
|
|
@@ -258,7 +247,7 @@ export class StzhVbzTicker {
|
|
|
258
247
|
"mutable": false,
|
|
259
248
|
"complexType": {
|
|
260
249
|
"original": "StzhVbzTickerLocalizedText",
|
|
261
|
-
"resolved": "StzhLocaleComponent & { moreInfo: string; noDisturbances: string; globalDisturbance: string; affectedLines: string; constructionSite: string; event: string; disturbance: string; railReplacementBus: string; majorEvent: string; majorEventTitle: string; disturbanceTitle: string;
|
|
250
|
+
"resolved": "StzhLocaleComponent & { moreInfo: string; noDisturbances: string; globalDisturbance: string; affectedLines: string; constructionSite: string; event: string; disturbance: string; railReplacementBus: string; majorEvent: string; majorEventTitle: string; disturbanceTitle: string; furtherDisturbanceTitle: string; constructionsTitle: string; }",
|
|
262
251
|
"references": {
|
|
263
252
|
"StzhVbzTickerLocalizedText": {
|
|
264
253
|
"location": "import",
|
package/dist/collection/index.js
CHANGED
|
@@ -1,6 +1,18 @@
|
|
|
1
1
|
// ---
|
|
2
2
|
// Global window types
|
|
3
3
|
// ---
|
|
4
|
+
export var VBZ;
|
|
5
|
+
(function (VBZ) {
|
|
6
|
+
VBZ.BASE_TYPE_GLOBAL = "GLOBAL";
|
|
7
|
+
VBZ.CHANNEL_TICKER = "ticker";
|
|
8
|
+
VBZ.CHANNEL_INFO_URL_FILTER = "stadt-zuerich.ch/vbz";
|
|
9
|
+
VBZ.DISTURBANCE_GLOBAL = "__global__";
|
|
10
|
+
VBZ.DISTURBANCE_INFORMATION = "0";
|
|
11
|
+
VBZ.DISTURBANCE_CONSTRUCTION = "1";
|
|
12
|
+
VBZ.DISTURBANCE_NORMAL = "2";
|
|
13
|
+
VBZ.DISTURBANCE_EVENT = "4";
|
|
14
|
+
VBZ.DISTURBANCE_BUS = "5";
|
|
15
|
+
})(VBZ || (VBZ = {}));
|
|
4
16
|
// ---
|
|
5
17
|
// Stencil component types
|
|
6
18
|
// ---
|
|
@@ -114,10 +114,11 @@ const Template = (args) => (
|
|
|
114
114
|
<stzh-input show-marker name="title" label="Title" description="Helptext"></stzh-input>
|
|
115
115
|
|
|
116
116
|
<stzh-row>
|
|
117
|
-
<stzh-cell span="6">
|
|
117
|
+
<stzh-cell span-small="6">
|
|
118
118
|
<stzh-input show-marker name="first_name" label="First Name" required></stzh-input>
|
|
119
119
|
</stzh-cell>
|
|
120
|
-
<stzh-cell span="6">
|
|
120
|
+
<stzh-cell span-small="6">
|
|
121
|
+
<stzh-vspace size="large" size-small="none"></stzh-vspace>
|
|
121
122
|
<stzh-input show-marker name="last_name" label="Last Name" required></stzh-input>
|
|
122
123
|
</stzh-cell>
|
|
123
124
|
</stzh-row>
|
|
@@ -144,7 +145,7 @@ const Template = (args) => (
|
|
|
144
145
|
</stzh-checkboxgroup>
|
|
145
146
|
|
|
146
147
|
<stzh-row>
|
|
147
|
-
<stzh-cell span="6">
|
|
148
|
+
<stzh-cell span-small="6">
|
|
148
149
|
<stzh-input
|
|
149
150
|
show-marker
|
|
150
151
|
name="floating_1"
|
|
@@ -159,7 +160,8 @@ const Template = (args) => (
|
|
|
159
160
|
</stzh-richtext>
|
|
160
161
|
</stzh-input>
|
|
161
162
|
</stzh-cell>
|
|
162
|
-
<stzh-cell span="6">
|
|
163
|
+
<stzh-cell span-small="6">
|
|
164
|
+
<stzh-vspace size="large" size-small="none"></stzh-vspace>
|
|
163
165
|
<stzh-input show-marker name="floating_2" label="Floating Label"></stzh-input>
|
|
164
166
|
</stzh-cell>
|
|
165
167
|
</stzh-row>
|
|
@@ -208,7 +210,7 @@ const Template = (args) => (
|
|
|
208
210
|
</stzh-checkboxgroup>
|
|
209
211
|
|
|
210
212
|
<stzh-row>
|
|
211
|
-
<stzh-cell span="6">
|
|
213
|
+
<stzh-cell span-small="6">
|
|
212
214
|
<stzh-input
|
|
213
215
|
show-marker
|
|
214
216
|
required
|
|
@@ -219,7 +221,8 @@ const Template = (args) => (
|
|
|
219
221
|
error='["Please enter a valid email address."]'
|
|
220
222
|
></stzh-input>
|
|
221
223
|
</stzh-cell>
|
|
222
|
-
<stzh-cell span="6">
|
|
224
|
+
<stzh-cell span-small="6">
|
|
225
|
+
<stzh-vspace size="large" size-small="none"></stzh-vspace>
|
|
223
226
|
<stzh-input show-marker required name="phone" label="Phone"></stzh-input>
|
|
224
227
|
</stzh-cell>
|
|
225
228
|
</stzh-row>
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { h } from '../utils/h';
|
|
2
|
-
import { Default as Appointments } from '../components/stzh-appointments/stzh-appointments.stories'
|
|
3
2
|
import { withDesign } from 'storybook-addon-designs';
|
|
4
3
|
import { getFigmaLink } from '../../figma';
|
|
5
4
|
|
|
5
|
+
import { Default as Appointments } from '../components/stzh-appointments/stzh-appointments.stories'
|
|
6
|
+
|
|
6
7
|
export default {
|
|
7
8
|
title: 'Patterns/Appointments',
|
|
8
9
|
parameters: {
|
|
@@ -27,7 +28,7 @@ const Template = (args) => (
|
|
|
27
28
|
<stzh-section variant="highlight">
|
|
28
29
|
<stzh-heading level="2" with-border>Select Date</stzh-heading>
|
|
29
30
|
<stzh-vspace curve="medium"></stzh-vspace>
|
|
30
|
-
<Appointments {...args
|
|
31
|
+
<Appointments {...Appointments.args}></Appointments>
|
|
31
32
|
<stzh-vspace size="xlarge"></stzh-vspace>
|
|
32
33
|
<stzh-actions variant="process" with-border>
|
|
33
34
|
<stzh-button slot="primary" href="#" variant="primary">Next Step</stzh-button>
|
|
@@ -39,5 +40,4 @@ const Template = (args) => (
|
|
|
39
40
|
|
|
40
41
|
export const Default = Template.bind({});
|
|
41
42
|
Default.args = {
|
|
42
|
-
appointments: Appointments.args
|
|
43
43
|
};
|