@oiz/stzh-components 2.1.0-beta → 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/{_commonjsHelpers-bcc1208a.js → _commonjsHelpers-dcc4cf71.js} +16 -0
- package/dist/cjs/{app-globals-07890ee7.js → app-globals-f4ad4e99.js} +1 -1
- package/dist/cjs/index.cjs.js +17 -0
- package/dist/cjs/{js.cookie-9c263d23.js → js.cookie-226c94ed.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/stzh-accordion-item.cjs.entry.js +4 -3
- package/dist/cjs/stzh-accordion.cjs.entry.js +3 -1
- package/dist/cjs/stzh-actions.cjs.entry.js +3 -3
- package/dist/cjs/stzh-anchornav.cjs.entry.js +2 -2
- package/dist/cjs/stzh-appnav.cjs.entry.js +1 -1
- package/dist/cjs/stzh-appointments.cjs.entry.js +1 -1
- package/dist/cjs/stzh-audio.cjs.entry.js +3 -3
- package/dist/cjs/stzh-badge_3.cjs.entry.js +13 -5
- package/dist/cjs/stzh-card_3.cjs.entry.js +474 -0
- package/dist/cjs/stzh-chart.cjs.entry.js +26126 -0
- package/dist/cjs/stzh-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/stzh-checkboxgroup.cjs.entry.js +1 -1
- package/dist/cjs/stzh-chip.cjs.entry.js +13 -6
- 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 +91 -0
- 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-datamessagelist.cjs.entry.js +1 -1
- package/dist/cjs/stzh-datatable.cjs.entry.js +1 -1
- package/dist/cjs/stzh-datepicker_3.cjs.entry.js +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 +3 -3
- package/dist/cjs/stzh-figure.cjs.entry.js +2 -2
- package/dist/cjs/stzh-footer.cjs.entry.js +12 -6
- package/dist/cjs/stzh-ghettobox_2.cjs.entry.js +10 -7
- package/dist/cjs/stzh-header.cjs.entry.js +28 -14
- package/dist/cjs/stzh-heading.cjs.entry.js +2 -2
- 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 +11 -3
- package/dist/cjs/stzh-menu_2.cjs.entry.js +1 -1
- package/dist/cjs/stzh-message.cjs.entry.js +2 -2
- package/dist/cjs/stzh-microsite-teaserlist.cjs.entry.js +96 -0
- package/dist/cjs/stzh-olmap.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pagebottom.cjs.entry.js +2 -2
- package/dist/cjs/stzh-pagetitle-hero.cjs.entry.js +99 -0
- 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-share.cjs.entry.js +5 -5
- 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 +8 -10
- package/dist/cjs/stzh-vbz-linechip.cjs.entry.js +1 -1
- 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/facebook-filled.svg +3 -0
- package/dist/collection/assets/icons/mono/fountain.svg +3 -0
- package/dist/collection/assets/icons/mono/linkedin-filled.svg +12 -0
- package/dist/collection/assets/icons/mono/mail-filled.svg +6 -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/star-filled.svg +1 -1
- package/dist/collection/assets/icons/mono/twitter-filled.svg +3 -0
- package/dist/collection/assets/icons/mono/water-drops.svg +11 -0
- package/dist/collection/assets/icons/mono/xing-filled.svg +4 -0
- package/dist/collection/assets/media/olmap/marker-active.png +0 -0
- package/dist/collection/assets/media/olmap/marker.png +0 -0
- package/dist/collection/collection-manifest.json +9 -0
- package/dist/collection/components/stzh-accordion/stzh-accordion.css +3 -0
- package/dist/collection/components/stzh-accordion/stzh-accordion.js +3 -1
- package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.css +53 -5
- package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.js +5 -4
- package/dist/collection/components/stzh-actions/stzh-actions.css +7 -1
- package/dist/collection/components/stzh-actions/stzh-actions.js +3 -3
- package/dist/collection/components/stzh-actionset/stzh-actionset.css +3 -0
- package/dist/collection/components/stzh-anchornav/stzh-anchornav.css +8 -3
- package/dist/collection/components/stzh-anchornav/stzh-anchornav.js +1 -1
- package/dist/collection/components/stzh-appnav/stzh-appnav.css +3 -0
- package/dist/collection/components/stzh-appointments/stzh-appointments.css +3 -0
- package/dist/collection/components/stzh-appointments/stzh-appointments.js +1 -1
- package/dist/collection/components/stzh-audio/stzh-audio.css +4 -1
- package/dist/collection/components/stzh-audio/stzh-audio.js +1 -1
- package/dist/collection/components/stzh-badge/stzh-badge.css +3 -0
- package/dist/collection/components/stzh-button/stzh-button.css +5 -2
- package/dist/collection/components/stzh-button/stzh-button.js +96 -3
- package/dist/collection/components/stzh-calendar/stzh-calendar.css +3 -0
- package/dist/collection/components/stzh-card/stzh-card.css +74 -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 +58 -14
- package/dist/collection/components/stzh-card-list/stzh-card-list.js +43 -3
- package/dist/collection/components/stzh-cell/stzh-cell.css +3 -0
- package/dist/collection/components/stzh-chart/stzh-chart.css +785 -0
- package/dist/collection/components/stzh-chart/stzh-chart.js +91 -0
- package/dist/collection/components/stzh-chart/stzh-chart.stories.js +288 -0
- package/dist/collection/components/stzh-checkbox/stzh-checkbox.css +9 -3
- package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.css +3 -0
- package/dist/collection/components/stzh-chip/stzh-chip.css +4 -21
- package/dist/collection/components/stzh-chip/stzh-chip.js +49 -24
- package/dist/collection/components/stzh-chip/stzh-chip.stories.js +0 -9
- package/dist/collection/components/stzh-chip-select/stzh-chip-select.css +3 -0
- package/dist/collection/components/stzh-chip-select/stzh-chip-select.js +2 -2
- package/dist/collection/components/stzh-clamp/stzh-clamp.css +8 -0
- package/dist/collection/components/stzh-contactaddress/stzh-contactaddress.css +232 -0
- package/dist/collection/components/stzh-contactaddress/stzh-contactaddress.js +388 -0
- package/dist/collection/components/stzh-contactaddress/stzh-contactaddress.stories.js +150 -0
- package/dist/collection/components/stzh-container/stzh-container.css +3 -0
- package/dist/collection/components/stzh-cspace/stzh-cspace.css +52 -1
- package/dist/collection/components/stzh-datalist/stzh-datalist.css +31 -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-datamessagelist/stzh-datamessagelist.css +13 -2
- package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.css +3 -0
- package/dist/collection/components/stzh-datatable/stzh-datatable.css +3 -0
- package/dist/collection/components/stzh-datepicker/stzh-datepicker.css +3 -0
- package/dist/collection/components/stzh-details/stzh-details.css +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-dialog/stzh-dialog.css +3 -0
- package/dist/collection/components/stzh-dropdown/stzh-dropdown.css +6 -3
- package/dist/collection/components/stzh-fieldset/stzh-fieldset.css +3 -0
- package/dist/collection/components/stzh-figure/stzh-figure.css +4 -4
- package/dist/collection/components/stzh-flyingfocus/stzh-flyingfocus.css +3 -0
- package/dist/collection/components/stzh-footer/stzh-footer.css +54 -0
- package/dist/collection/components/stzh-footer/stzh-footer.js +44 -16
- package/dist/collection/components/stzh-footer/stzh-footer.stories.js +23 -1
- package/dist/collection/components/stzh-ghettobox/stzh-ghettobox.css +42 -15
- package/dist/collection/components/stzh-ghettobox/stzh-ghettobox.js +23 -2
- package/dist/collection/components/stzh-header/stzh-header.css +90 -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 +12 -6
- package/dist/collection/components/stzh-heading/stzh-heading.js +1 -1
- package/dist/collection/components/stzh-hr/stzh-hr.css +3 -0
- package/dist/collection/components/stzh-hspace/stzh-hspace.css +3 -0
- package/dist/collection/components/stzh-icon/stzh-icon.css +3 -0
- package/dist/collection/components/stzh-icon-sprite/assets/svgsprites/symbol/sprite.symbol.html +166 -36
- package/dist/collection/components/stzh-icon-sprite/assets/svgsprites/symbol/svg/sprite.symbol.svg +1 -1
- package/dist/collection/components/stzh-icon-sprite/stzh-icon-sprite.css +3 -0
- package/dist/collection/components/stzh-input/stzh-input.css +8 -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.css +3 -0
- package/dist/collection/components/stzh-link/stzh-link.js +113 -2
- package/dist/collection/components/stzh-list/stzh-list.css +3 -0
- package/dist/collection/components/stzh-list-item/stzh-list-item.css +3 -0
- package/dist/collection/components/stzh-loader/stzh-loader.css +3 -0
- package/dist/collection/components/stzh-loadingbar/stzh-loadingbar.css +3 -0
- package/dist/collection/components/stzh-menu/stzh-menu.css +3 -0
- package/dist/collection/components/stzh-menu-item/stzh-menu-item.css +3 -0
- package/dist/collection/components/stzh-message/stzh-message.css +3 -0
- package/dist/collection/components/stzh-metanav/stzh-metanav.css +3 -0
- package/dist/collection/components/stzh-microsite-teaserlist/stzh-microsite-teaserlist.css +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-olmap/stzh-olmap.css +3 -0
- package/dist/collection/components/stzh-overlay/stzh-overlay.css +3 -0
- package/dist/collection/components/stzh-page-skiplinks/stzh-page-skiplinks.css +3 -0
- package/dist/collection/components/stzh-pagebottom/stzh-pagebottom.css +7 -4
- package/dist/collection/components/stzh-pagebottom/stzh-pagebottom.js +1 -1
- package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.css +17 -5
- package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.js +5 -1
- package/dist/collection/components/stzh-pagetitle-hero/stzh-pagetitle-hero.css +396 -0
- package/dist/collection/components/stzh-pagetitle-hero/stzh-pagetitle-hero.js +157 -0
- package/dist/collection/components/stzh-pagetitle-hero/stzh-pagetitle-hero.stories.js +94 -0
- package/dist/collection/components/stzh-popover/stzh-popover.css +3 -0
- package/dist/collection/components/stzh-popover/stzh-popover.js +9 -5
- package/dist/collection/components/stzh-portal-mitwirken/stzh-portal-mitwirken.css +10 -3
- package/dist/collection/components/stzh-progressbar/stzh-progressbar.css +3 -0
- package/dist/collection/components/stzh-progressbar-item/stzh-progressbar-item.css +3 -0
- package/dist/collection/components/stzh-radio/stzh-radio.css +5 -2
- package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.css +3 -0
- package/dist/collection/components/stzh-readspeaker/stzh-readspeaker.css +3 -0
- package/dist/collection/components/stzh-richtext/stzh-richtext.css +5 -0
- package/dist/collection/components/stzh-row/stzh-row.css +3 -0
- package/dist/collection/components/stzh-saptcha/stzh-saptcha.css +3 -0
- package/dist/collection/components/stzh-section/stzh-section.css +3 -0
- package/dist/collection/components/stzh-share/stzh-share.css +3 -0
- package/dist/collection/components/stzh-share/stzh-share.js +5 -5
- 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-skiplink/stzh-skiplink.css +3 -0
- package/dist/collection/components/stzh-sortable/stzh-sortable.css +3 -0
- package/dist/collection/components/stzh-sortable/stzh-sortable.js +29 -10
- package/dist/collection/components/stzh-status/stzh-status.css +3 -0
- package/dist/collection/components/stzh-sticky/stzh-sticky.css +3 -0
- package/dist/collection/components/stzh-sticky/stzh-sticky.stories.js +1 -1
- package/dist/collection/components/stzh-table/stzh-table.css +3 -0
- package/dist/collection/components/stzh-text/stzh-text.css +3 -0
- package/dist/collection/components/stzh-textandimage/stzh-textandimage.css +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 +5 -1
- package/dist/collection/components/stzh-tooltip/stzh-tooltip.css +3 -0
- package/dist/collection/components/stzh-tooltip/stzh-tooltip.js +11 -8
- package/dist/collection/components/stzh-upload/stzh-upload.css +25 -16
- package/dist/collection/components/stzh-upload/stzh-upload.js +5 -7
- package/dist/collection/components/stzh-vbz-linechip/stzh-vbz-linechip.css +3 -0
- package/dist/collection/components/stzh-vbz-linechip/stzh-vbz-linechip.js +1 -1
- package/dist/collection/components/stzh-vbz-majorticker/stzh-vbz-majorticker.css +5 -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 +4 -16
- package/dist/collection/components/stzh-vbz-ticker/stzh-vbz-ticker.js +26 -37
- package/dist/collection/components/stzh-visuallyhidden/stzh-visuallyhidden.css +3 -0
- package/dist/collection/components/stzh-vspace/stzh-vspace.css +3 -0
- package/dist/collection/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/_commonjsHelpers.js +16 -1
- package/dist/components/index.d.ts +9 -0
- package/dist/components/index.js +11 -1
- package/dist/components/index2.js +17 -2017
- package/dist/components/index3.js +2017 -0
- package/dist/components/stzh-accordion-item.js +4 -3
- package/dist/components/stzh-accordion.js +3 -1
- package/dist/components/stzh-actions.js +2 -2
- package/dist/components/stzh-anchornav.js +2 -2
- package/dist/components/stzh-appointments.js +1 -1
- package/dist/components/stzh-audio.js +2 -2
- package/dist/components/stzh-button2.js +17 -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.d.ts +11 -0
- package/dist/components/stzh-chart.js +26142 -0
- 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-chip2.js +16 -8
- package/dist/components/stzh-clamp2.js +1 -1
- package/dist/components/stzh-contactaddress.d.ts +11 -0
- package/dist/components/stzh-contactaddress.js +157 -0
- 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-datamessagelist.js +1 -1
- 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 +13 -6
- package/dist/components/stzh-ghettobox2.js +7 -3
- package/dist/components/stzh-header.js +29 -13
- package/dist/components/stzh-heading2.js +2 -2
- 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 +16 -2
- package/dist/components/stzh-microsite-teaserlist.d.ts +11 -0
- package/dist/components/stzh-microsite-teaserlist.js +212 -0
- package/dist/components/stzh-pagebottom.js +2 -2
- package/dist/components/stzh-pagetitle-hero.d.ts +11 -0
- package/dist/components/stzh-pagetitle-hero.js +116 -0
- 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-share2.js +5 -5
- 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 +7 -9
- 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/{_commonjsHelpers-ba3f0406.js → _commonjsHelpers-f9dc4873.js} +16 -1
- package/dist/esm/{app-globals-acc57d0e.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/{js.cookie-28a40640.js → js.cookie-53735b72.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/stzh-accordion-item.entry.js +5 -4
- package/dist/esm/stzh-accordion.entry.js +4 -2
- package/dist/esm/stzh-actions.entry.js +4 -4
- 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 +2 -2
- package/dist/esm/stzh-audio.entry.js +4 -4
- package/dist/esm/stzh-badge_3.entry.js +14 -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 +26122 -0
- 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 +14 -7
- package/dist/esm/stzh-clamp.entry.js +2 -2
- package/dist/esm/stzh-components.js +3 -3
- package/dist/esm/stzh-contactaddress.entry.js +87 -0
- 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 +2 -2
- package/dist/esm/stzh-datatable.entry.js +2 -2
- 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 +5 -5
- 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 +13 -7
- package/dist/esm/stzh-ghettobox_2.entry.js +11 -8
- package/dist/esm/stzh-header.entry.js +29 -15
- package/dist/esm/stzh-heading.entry.js +3 -3
- 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 +12 -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 +3 -3
- 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 +2 -2
- 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 +3 -3
- package/dist/esm/stzh-pagetitle-hero.entry.js +95 -0
- 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 +6 -6
- 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 +10 -12
- package/dist/esm/stzh-vbz-linechip.entry.js +2 -2
- 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/_commonjsHelpers-f9dc4873.js +1 -0
- package/dist/esm-es5/{app-globals-acc57d0e.js → app-globals-17c2ba8d.js} +1 -1
- package/dist/esm-es5/{index-2915b467.js → index-011c84fe.js} +1 -1
- package/dist/esm-es5/index.js +1 -0
- package/dist/esm-es5/{js.cookie-28a40640.js → js.cookie-53735b72.js} +1 -1
- 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 +3 -0
- 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 -0
- 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 -0
- 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/facebook-filled.svg +3 -0
- package/dist/stzh-components/assets/icons/mono/fountain.svg +3 -0
- package/dist/stzh-components/assets/icons/mono/linkedin-filled.svg +12 -0
- package/dist/stzh-components/assets/icons/mono/mail-filled.svg +6 -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/star-filled.svg +1 -1
- package/dist/stzh-components/assets/icons/mono/twitter-filled.svg +3 -0
- package/dist/stzh-components/assets/icons/mono/water-drops.svg +11 -0
- package/dist/stzh-components/assets/icons/mono/xing-filled.svg +4 -0
- package/dist/stzh-components/assets/media/olmap/marker-active.png +0 -0
- package/dist/stzh-components/assets/media/olmap/marker.png +0 -0
- package/dist/stzh-components/assets/svgsprites/symbol/sprite.symbol.html +166 -36
- 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-006751fc.system.entry.js +1 -0
- 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-09da70d8.entry.js +1 -0
- package/dist/stzh-components/{p-d69b12f8.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-3f8976bc.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-1d8272a5.entry.js +1 -0
- 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-3e24b964.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-b10682ee.js → p-24b8df26.js} +1 -1
- 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-6c3d7756.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-b367d4e3.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-3848d8ee.entry.js +1 -0
- 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-d2c97cbc.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-4228cd58.system.entry.js +1 -0
- 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-5db542ae.system.js → p-484a366f.system.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-8e363084.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-74786856.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-1663fc49.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-a61bf274.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-948acea1.js → p-7da446d5.js} +1 -1
- package/dist/stzh-components/p-7e94dde2.entry.js +1 -0
- 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-8a1d00fe.entry.js +3 -0
- 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-94830f96.system.entry.js +1 -0
- 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-9c90535a.system.js +1 -0
- 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-c5749124.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-a6d4a8b1.js +1 -0
- package/dist/stzh-components/p-a795868f.entry.js +1 -0
- 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-aacf685b.system.entry.js +3 -0
- package/dist/stzh-components/p-ab28e094.system.entry.js +1 -0
- package/dist/stzh-components/p-ac3aa560.system.entry.js +1 -0
- package/dist/stzh-components/p-addc48e5.entry.js +1 -0
- 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-07fc857b.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-fd811f6b.system.entry.js → p-ba0b93c4.system.entry.js} +2 -2
- 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-b71a1607.system.js → p-e2e54f09.system.js} +1 -1
- package/dist/stzh-components/{p-3b33fa76.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-f03ce92d.system.entry.js +1 -0
- package/dist/stzh-components/p-f3107fc7.system.entry.js +1 -0
- package/dist/stzh-components/{p-e7afcd6f.entry.js → p-f37be5d7.entry.js} +1 -1
- package/dist/stzh-components/p-f59b3545.system.entry.js +1 -0
- 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-fb150554.system.entry.js → p-fcec6003.system.entry.js} +1 -1
- package/dist/stzh-components/p-fd265f3a.entry.js +1 -0
- package/dist/stzh-components/stzh-components.css +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 +737 -25
- package/dist/types/index.d.ts +86 -2
- package/dist/vscode-data.json +412 -21
- package/package.json +6 -2
- 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/_commonjsHelpers-ba3f0406.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-011dcf30.system.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-0977d9b6.entry.js +0 -1
- package/dist/stzh-components/p-10c36281.entry.js +0 -1
- package/dist/stzh-components/p-14e457c6.system.entry.js +0 -1
- package/dist/stzh-components/p-1f57d28e.js +0 -1
- package/dist/stzh-components/p-23e9b6c7.system.entry.js +0 -1
- package/dist/stzh-components/p-241f060e.entry.js +0 -1
- package/dist/stzh-components/p-29d9a568.entry.js +0 -1
- package/dist/stzh-components/p-2c8d491a.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-3a73b8b5.system.js +0 -1
- package/dist/stzh-components/p-3e8ff66b.js +0 -1
- package/dist/stzh-components/p-4b93fb24.entry.js +0 -1
- package/dist/stzh-components/p-4c93ffbe.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-5623c1a3.entry.js +0 -1
- package/dist/stzh-components/p-5869502c.system.entry.js +0 -1
- package/dist/stzh-components/p-58714045.entry.js +0 -1
- package/dist/stzh-components/p-59970f71.entry.js +0 -1
- package/dist/stzh-components/p-5c311df3.entry.js +0 -1
- package/dist/stzh-components/p-62c7caed.entry.js +0 -1
- package/dist/stzh-components/p-6a16ceff.entry.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-79f27d21.entry.js +0 -1
- package/dist/stzh-components/p-8d9056de.entry.js +0 -1
- package/dist/stzh-components/p-8e5f4ef6.system.entry.js +0 -1
- package/dist/stzh-components/p-9084f0c1.entry.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-9a7593f5.entry.js +0 -1
- package/dist/stzh-components/p-9af41730.system.js +0 -1
- package/dist/stzh-components/p-9ca1efe4.system.entry.js +0 -1
- package/dist/stzh-components/p-a10e0117.system.entry.js +0 -1
- package/dist/stzh-components/p-a6da8c06.system.entry.js +0 -1
- package/dist/stzh-components/p-afaa9c37.system.entry.js +0 -1
- package/dist/stzh-components/p-bb9e8364.entry.js +0 -1
- package/dist/stzh-components/p-bd7dd853.system.entry.js +0 -1
- package/dist/stzh-components/p-be534671.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-c6813d9f.system.entry.js +0 -1
- package/dist/stzh-components/p-c8009c05.system.entry.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-da857e0d.entry.js +0 -1
- package/dist/stzh-components/p-de8f9508.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
- package/dist/stzh-components/p-fa6427bf.system.entry.js +0 -1
- package/dist/stzh-components/p-fa9a4cd5.system.entry.js +0 -1
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { Host, h, } from "@stencil/core";
|
|
2
|
+
import * as d3 from "d3";
|
|
3
|
+
import * as sszvis from "sszvis/build/sszvis.js";
|
|
4
|
+
import * as topojson from "topojson-client";
|
|
5
|
+
/**
|
|
6
|
+
* @slot caption - Slot for a caption as alternative for attribute
|
|
7
|
+
*/
|
|
8
|
+
export class StzhChart {
|
|
9
|
+
constructor() {
|
|
10
|
+
this.initialized = false;
|
|
11
|
+
this.chartId = undefined;
|
|
12
|
+
this.create = function () { };
|
|
13
|
+
}
|
|
14
|
+
createWatcher() {
|
|
15
|
+
if (!this.initialized && this.chartElement) {
|
|
16
|
+
this.initialized = true;
|
|
17
|
+
this.create(this.chartElement, { d3, sszvis, topojson });
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
componentDidRender() {
|
|
21
|
+
if (!this.initialized && this.chartElement) {
|
|
22
|
+
this.initialized = true;
|
|
23
|
+
this.create(this.chartElement, { d3, sszvis, topojson });
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
render() {
|
|
27
|
+
const classes = {
|
|
28
|
+
"stzh-chart": true
|
|
29
|
+
};
|
|
30
|
+
return (h(Host, null, h("div", { class: classes }, h("div", { id: this.chartId, ref: (el) => (this.chartElement = el), class: "stzh-chart__element" }))));
|
|
31
|
+
}
|
|
32
|
+
static get is() { return "stzh-chart"; }
|
|
33
|
+
static get originalStyleUrls() {
|
|
34
|
+
return {
|
|
35
|
+
"$": ["stzh-chart.scss"]
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
static get styleUrls() {
|
|
39
|
+
return {
|
|
40
|
+
"$": ["stzh-chart.css"]
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
static get properties() {
|
|
44
|
+
return {
|
|
45
|
+
"chartId": {
|
|
46
|
+
"type": "string",
|
|
47
|
+
"mutable": false,
|
|
48
|
+
"complexType": {
|
|
49
|
+
"original": "string",
|
|
50
|
+
"resolved": "string",
|
|
51
|
+
"references": {}
|
|
52
|
+
},
|
|
53
|
+
"required": false,
|
|
54
|
+
"optional": false,
|
|
55
|
+
"docs": {
|
|
56
|
+
"tags": [],
|
|
57
|
+
"text": "Chart id"
|
|
58
|
+
},
|
|
59
|
+
"attribute": "chart-id",
|
|
60
|
+
"reflect": false
|
|
61
|
+
},
|
|
62
|
+
"create": {
|
|
63
|
+
"type": "unknown",
|
|
64
|
+
"mutable": false,
|
|
65
|
+
"complexType": {
|
|
66
|
+
"original": "Function",
|
|
67
|
+
"resolved": "Function",
|
|
68
|
+
"references": {
|
|
69
|
+
"Function": {
|
|
70
|
+
"location": "global"
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"required": false,
|
|
75
|
+
"optional": false,
|
|
76
|
+
"docs": {
|
|
77
|
+
"tags": [],
|
|
78
|
+
"text": "Chart generation function"
|
|
79
|
+
},
|
|
80
|
+
"defaultValue": "function() {}"
|
|
81
|
+
}
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
static get elementRef() { return "element"; }
|
|
85
|
+
static get watchers() {
|
|
86
|
+
return [{
|
|
87
|
+
"propName": "create",
|
|
88
|
+
"methodName": "createWatcher"
|
|
89
|
+
}];
|
|
90
|
+
}
|
|
91
|
+
}
|
|
@@ -0,0 +1,288 @@
|
|
|
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/Chart',
|
|
8
|
+
component: 'stzh-chart',
|
|
9
|
+
parameters: {
|
|
10
|
+
layout: 'padded',
|
|
11
|
+
docs: {
|
|
12
|
+
description: {
|
|
13
|
+
component: readme
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
design: {
|
|
17
|
+
type: 'figma',
|
|
18
|
+
url: getFigmaLink('chart'),
|
|
19
|
+
allowFullscreen: true
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
decorators: [
|
|
23
|
+
withDesign
|
|
24
|
+
]
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
const Template = (args) => (
|
|
28
|
+
<stzh-figure caption="Laboris laborum aute id laboris culpa esse aliquip nisi anim velit.">
|
|
29
|
+
<stzh-chart {...args}></stzh-chart>
|
|
30
|
+
</stzh-figure>
|
|
31
|
+
);
|
|
32
|
+
|
|
33
|
+
export const Default = Template.bind({});
|
|
34
|
+
Default.args = {
|
|
35
|
+
'chart-id': 'PieChartFourCat',
|
|
36
|
+
create: function(container, libs) {
|
|
37
|
+
var PieChartFourCatParams = {
|
|
38
|
+
id: '#PieChartFourCat',
|
|
39
|
+
percentage: 'false',
|
|
40
|
+
description: 'Pie Chart Four Cat Desc',
|
|
41
|
+
yExtentOverride: null,
|
|
42
|
+
xColumn: '',
|
|
43
|
+
categoryColumn: 'Kategorie',
|
|
44
|
+
valueColumn: 'Schweiz Import',
|
|
45
|
+
dateColumn: 'Datum',
|
|
46
|
+
data: 'media/samples/chart.csv',
|
|
47
|
+
fallback: 'assets/icons/mono/important-warning.svg',
|
|
48
|
+
yLabel: '',
|
|
49
|
+
title: 'Pie Chart Four Cat Title',
|
|
50
|
+
yColumn: '',
|
|
51
|
+
xLabel: '',
|
|
52
|
+
xTicks: 5
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
(function (d3, sszvis, topojson, PieChartFourCatParams) {
|
|
56
|
+
'use strict';
|
|
57
|
+
|
|
58
|
+
/* Configuration
|
|
59
|
+
----------------------------------------------- */
|
|
60
|
+
// CONFIG
|
|
61
|
+
// if a variable is optional, the code needs to work with default values
|
|
62
|
+
// if variable is missing.
|
|
63
|
+
var config = {
|
|
64
|
+
dataPath: PieChartFourCatParams.data, //optional
|
|
65
|
+
title: PieChartFourCatParams.title, //optional
|
|
66
|
+
description: PieChartFourCatParams.description, //optional
|
|
67
|
+
//dateColumn: 'Datum',
|
|
68
|
+
valueColumn: PieChartFourCatParams.valueColumn,
|
|
69
|
+
categoryColumn: PieChartFourCatParams.categoryColumn,
|
|
70
|
+
yLabel: '',
|
|
71
|
+
xLabel: '',
|
|
72
|
+
ticks: 5,
|
|
73
|
+
fallback: false, //optional, creates long ticks when true
|
|
74
|
+
targetElement: PieChartFourCatParams.id
|
|
75
|
+
};
|
|
76
|
+
|
|
77
|
+
if (sszvis.fallbackUnsupported()) {
|
|
78
|
+
sszvis.fallbackRender(PieChartFourCatParams.id);
|
|
79
|
+
return;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
/* Configuration
|
|
84
|
+
----------------------------------------------- */
|
|
85
|
+
var PIE_DIAMETER = 260;
|
|
86
|
+
var LEGEND_TOP_PADDING = 40;
|
|
87
|
+
var LEGEND_LEFT_PADDING = 25;
|
|
88
|
+
var LEGEND_HEIGHT = 215;
|
|
89
|
+
var LEGEND_WIDTH = 102;
|
|
90
|
+
var queryProps = sszvis.responsiveProps()
|
|
91
|
+
.prop('layout', {
|
|
92
|
+
palm: function (width) {
|
|
93
|
+
var sidePadding = Math.max((width - PIE_DIAMETER) / 2, 10);
|
|
94
|
+
var diameter = (width - 2 * sidePadding);
|
|
95
|
+
var legendHeight = LEGEND_TOP_PADDING + LEGEND_HEIGHT + 20;
|
|
96
|
+
return {
|
|
97
|
+
bounds: {
|
|
98
|
+
top: 20,
|
|
99
|
+
bottom: legendHeight,
|
|
100
|
+
left: sidePadding,
|
|
101
|
+
right: sidePadding,
|
|
102
|
+
height: 20 + diameter + legendHeight
|
|
103
|
+
},
|
|
104
|
+
pieRadius: diameter / 2,
|
|
105
|
+
piePosition: {
|
|
106
|
+
top: 0,
|
|
107
|
+
left: sidePadding
|
|
108
|
+
},
|
|
109
|
+
legendPosition: {
|
|
110
|
+
top: diameter + LEGEND_TOP_PADDING,
|
|
111
|
+
left: 0
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
_: function (width) {
|
|
116
|
+
return {
|
|
117
|
+
bounds: {
|
|
118
|
+
top: 20,
|
|
119
|
+
bottom: 20,
|
|
120
|
+
left: 20,
|
|
121
|
+
right: LEGEND_WIDTH,
|
|
122
|
+
height: 20 + 20 + PIE_DIAMETER
|
|
123
|
+
},
|
|
124
|
+
pieRadius: PIE_DIAMETER / 2,
|
|
125
|
+
piePosition: {
|
|
126
|
+
top: 0,
|
|
127
|
+
left: width / 2 - (PIE_DIAMETER + LEGEND_LEFT_PADDING + LEGEND_WIDTH) / 2
|
|
128
|
+
},
|
|
129
|
+
legendPosition: {
|
|
130
|
+
top: PIE_DIAMETER / 2 - LEGEND_HEIGHT / 2,
|
|
131
|
+
left: PIE_DIAMETER + LEGEND_LEFT_PADDING
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
});
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
/* Shortcuts
|
|
139
|
+
----------------------------------------------- */
|
|
140
|
+
var vAcc = sszvis.prop('value');
|
|
141
|
+
var cAcc = sszvis.prop('category');
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
/* Application state
|
|
145
|
+
----------------------------------------------- */
|
|
146
|
+
var state = {
|
|
147
|
+
data: [],
|
|
148
|
+
totalValue: 0,
|
|
149
|
+
categories: [],
|
|
150
|
+
selection: []
|
|
151
|
+
};
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
/* State transitions
|
|
155
|
+
----------------------------------------------- */
|
|
156
|
+
var actions = {
|
|
157
|
+
prepareState: function (data) {
|
|
158
|
+
state.data = data;
|
|
159
|
+
state.totalValue = d3.sum(state.data, vAcc);
|
|
160
|
+
state.categories = sszvis.set(state.data, cAcc);
|
|
161
|
+
render(state);
|
|
162
|
+
},
|
|
163
|
+
|
|
164
|
+
showTooltip: function (datum) {
|
|
165
|
+
state.selection = [datum];
|
|
166
|
+
render(state);
|
|
167
|
+
},
|
|
168
|
+
|
|
169
|
+
hideTooltip: function () {
|
|
170
|
+
state.selection = [];
|
|
171
|
+
render(state);
|
|
172
|
+
},
|
|
173
|
+
|
|
174
|
+
resize: function () { render(state); }
|
|
175
|
+
};
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
/* Data initialization
|
|
179
|
+
----------------------------------------------- */
|
|
180
|
+
d3.csv(config.dataPath)
|
|
181
|
+
.row(function (d) {
|
|
182
|
+
return {
|
|
183
|
+
category: d[config.categoryColumn],
|
|
184
|
+
value: sszvis.parseNumber(d[config.valueColumn])
|
|
185
|
+
};
|
|
186
|
+
})
|
|
187
|
+
.get(function (error, data) {
|
|
188
|
+
if (error) {
|
|
189
|
+
sszvis.loadError(error);
|
|
190
|
+
return;
|
|
191
|
+
}
|
|
192
|
+
actions.prepareState(data);
|
|
193
|
+
});
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
/* Render
|
|
197
|
+
----------------------------------------------- */
|
|
198
|
+
function render(state) {
|
|
199
|
+
var props = queryProps(sszvis.measureDimensions(PieChartFourCatParams.id));
|
|
200
|
+
var bounds = sszvis.bounds(props.layout.bounds, PieChartFourCatParams.id);
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
// Scales
|
|
204
|
+
|
|
205
|
+
var aScale = d3.scaleLinear()
|
|
206
|
+
.domain([0, state.totalValue])
|
|
207
|
+
.range([0, 2 * Math.PI]);
|
|
208
|
+
|
|
209
|
+
// CONFIG
|
|
210
|
+
//choose color scale depending on number of categories
|
|
211
|
+
var cScale = state.categories.length > 6 ? sszvis.scaleQual12() : sszvis.scaleQual6();
|
|
212
|
+
cScale.domain(state.categories);
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
// Layers
|
|
216
|
+
|
|
217
|
+
var chartLayer = sszvis.createSvgLayer(PieChartFourCatParams.id, bounds, {
|
|
218
|
+
title: config.title,
|
|
219
|
+
description: config.description
|
|
220
|
+
})
|
|
221
|
+
.datum(state.data);
|
|
222
|
+
|
|
223
|
+
var tooltipLayer = sszvis.createHtmlLayer(PieChartFourCatParams.id, bounds)
|
|
224
|
+
.datum(state.selection);
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
// Components
|
|
228
|
+
|
|
229
|
+
var pieMaker = sszvis.pie()
|
|
230
|
+
.radius(props.layout.pieRadius)
|
|
231
|
+
.angle(sszvis.compose(aScale, vAcc))
|
|
232
|
+
.fill(sszvis.compose(cScale, cAcc));
|
|
233
|
+
|
|
234
|
+
var colorLegend = sszvis.legendColorOrdinal()
|
|
235
|
+
.scale(cScale)
|
|
236
|
+
.rows(state.categories.length)
|
|
237
|
+
.orientation('vertical');
|
|
238
|
+
|
|
239
|
+
var headerText = sszvis.modularTextHTML()
|
|
240
|
+
.bold(sszvis.compose(sszvis.formatFractionPercent, function (d) { return vAcc(d) / state.totalValue; }));
|
|
241
|
+
|
|
242
|
+
var tooltip = sszvis.tooltip()
|
|
243
|
+
.renderInto(tooltipLayer)
|
|
244
|
+
.header(headerText)
|
|
245
|
+
.visible(isSelected);
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
// Rendering
|
|
249
|
+
|
|
250
|
+
chartLayer
|
|
251
|
+
.attr('transform', sszvis.translateString(props.layout.piePosition.left, props.layout.piePosition.top));
|
|
252
|
+
|
|
253
|
+
var pie = chartLayer.selectGroup('piechart')
|
|
254
|
+
.call(pieMaker);
|
|
255
|
+
|
|
256
|
+
pie.selectAll('[data-tooltip-anchor]')
|
|
257
|
+
.call(tooltip);
|
|
258
|
+
|
|
259
|
+
chartLayer.selectGroup('colorLegend')
|
|
260
|
+
.attr('transform', function () {
|
|
261
|
+
return sszvis.translateString(props.layout.legendPosition.left, props.layout.legendPosition.top);
|
|
262
|
+
})
|
|
263
|
+
.call(colorLegend);
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
// Interaction
|
|
267
|
+
|
|
268
|
+
var interactionLayer = sszvis.panning()
|
|
269
|
+
.elementSelector('.sszvis-path')
|
|
270
|
+
.on('start', actions.showTooltip)
|
|
271
|
+
.on('pan', actions.showTooltip)
|
|
272
|
+
.on('end', actions.hideTooltip);
|
|
273
|
+
|
|
274
|
+
pie.call(interactionLayer);
|
|
275
|
+
|
|
276
|
+
sszvis.viewport.on('resize', actions.resize);
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
|
|
280
|
+
/* Helper functions
|
|
281
|
+
----------------------------------------------- */
|
|
282
|
+
function isSelected(d) {
|
|
283
|
+
return sszvis.contains(state.selection, d);
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
})(libs.d3, libs.sszvis, libs.topojson, PieChartFourCatParams);
|
|
287
|
+
}
|
|
288
|
+
};
|
|
@@ -4,6 +4,9 @@
|
|
|
4
4
|
/*
|
|
5
5
|
* Base
|
|
6
6
|
*/
|
|
7
|
+
/**
|
|
8
|
+
* Flyingfocus
|
|
9
|
+
*/
|
|
7
10
|
/**
|
|
8
11
|
* Link
|
|
9
12
|
*/
|
|
@@ -258,12 +261,15 @@
|
|
|
258
261
|
.stzh-checkbox--is-disabled .stzh-checkbox__field-wrapper {
|
|
259
262
|
cursor: not-allowed;
|
|
260
263
|
}
|
|
261
|
-
.stzh-checkbox--is-disabled .stzh-checkbox__input ~ .stzh-checkbox__label
|
|
264
|
+
.stzh-checkbox--is-disabled .stzh-checkbox__input ~ .stzh-checkbox__label {
|
|
262
265
|
color: var(--stzh-color-grey61);
|
|
263
266
|
}
|
|
267
|
+
.stzh-checkbox--is-disabled .stzh-checkbox__input ~ .stzh-checkbox__mark .stzh-checkbox__check {
|
|
268
|
+
color: var(--stzh-color-grey70);
|
|
269
|
+
}
|
|
264
270
|
.stzh-checkbox--is-disabled .stzh-checkbox__input ~ .stzh-checkbox__mark {
|
|
265
|
-
border-color:
|
|
271
|
+
border-color: transparent;
|
|
266
272
|
}
|
|
267
273
|
.stzh-checkbox--is-disabled .stzh-checkbox__mark {
|
|
268
|
-
background-color: var(--stzh-color-
|
|
274
|
+
background-color: var(--stzh-color-black8);
|
|
269
275
|
}
|
|
@@ -4,6 +4,9 @@
|
|
|
4
4
|
/*
|
|
5
5
|
* Base
|
|
6
6
|
*/
|
|
7
|
+
/**
|
|
8
|
+
* Flyingfocus
|
|
9
|
+
*/
|
|
7
10
|
/**
|
|
8
11
|
* Link
|
|
9
12
|
*/
|
|
@@ -164,27 +167,6 @@
|
|
|
164
167
|
--hover-counter-color: var(--stzh-color-white48);
|
|
165
168
|
--hover-icon-color: var(--stzh-color-white);
|
|
166
169
|
}
|
|
167
|
-
:host[variant=filter][invert]:not([invert=false]):not([disabled]) {
|
|
168
|
-
--color: var(--stzh-color-white);
|
|
169
|
-
--border: 0.0625rem solid var(--stzh-color-white);
|
|
170
|
-
--remove-color: var(--stzh-color-white);
|
|
171
|
-
--background-color: var(--stzh-color-primary, var(--stzh-color-zueriblue));
|
|
172
|
-
--counter-color: var(--stzh-color-white48);
|
|
173
|
-
--icon-color: var(--stzh-color-white);
|
|
174
|
-
--hover-color: var(--stzh-color-white);
|
|
175
|
-
--hover-border: 0.0625rem solid transparent;
|
|
176
|
-
--hover-background-color: var(--stzh-color-primary48);
|
|
177
|
-
--hover-remove-color: var(--stzh-color-white);
|
|
178
|
-
--hover-remove-background-color: var(--stzh-color-primary48);
|
|
179
|
-
--hover-counter-color: var(--stzh-color-white48);
|
|
180
|
-
--hover-icon-color: var(--stzh-color-white);
|
|
181
|
-
}
|
|
182
|
-
:host[variant=filter][invert]:not([invert=false])[active]:not([active=false]):not([disabled]) {
|
|
183
|
-
--border: 0.0625rem solid transparent;
|
|
184
|
-
--background-color: var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));
|
|
185
|
-
--hover-background-color: var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));
|
|
186
|
-
--hover-remove-background-color: var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));
|
|
187
|
-
}
|
|
188
170
|
:host[disabled]:not([disabled=false]) {
|
|
189
171
|
--color: var(--stzh-color-grey25);
|
|
190
172
|
--border: 0.0625rem solid var(--stzh-base-border-color);
|
|
@@ -229,6 +211,7 @@
|
|
|
229
211
|
border: var(--border);
|
|
230
212
|
background-color: var(--background-color);
|
|
231
213
|
transition: all var(--stzh-base-transition-animation-speed);
|
|
214
|
+
text-decoration: none;
|
|
232
215
|
}
|
|
233
216
|
.stzh-chip__icon-wrapper {
|
|
234
217
|
display: flex;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Host, h } from "@stencil/core";
|
|
1
|
+
import { Host, h, Fragment } from "@stencil/core";
|
|
2
2
|
/**
|
|
3
3
|
* @slot - Slot for label
|
|
4
4
|
* @slot icon - Slot for icon
|
|
@@ -43,6 +43,8 @@ export class StzhChip {
|
|
|
43
43
|
};
|
|
44
44
|
this.label = "";
|
|
45
45
|
this.icon = "";
|
|
46
|
+
this.href = "";
|
|
47
|
+
this.target = "";
|
|
46
48
|
this.removable = false;
|
|
47
49
|
this.variant = "tag";
|
|
48
50
|
this.size = "default";
|
|
@@ -51,7 +53,6 @@ export class StzhChip {
|
|
|
51
53
|
this.removeLabel = "";
|
|
52
54
|
this.active = false;
|
|
53
55
|
this.disabled = false;
|
|
54
|
-
this.invert = false;
|
|
55
56
|
this.a11yLabel = undefined;
|
|
56
57
|
this.a11yDescribedby = "";
|
|
57
58
|
}
|
|
@@ -59,6 +60,13 @@ export class StzhChip {
|
|
|
59
60
|
async setFocus() {
|
|
60
61
|
this.chip.focus();
|
|
61
62
|
}
|
|
63
|
+
renderInner() {
|
|
64
|
+
return (h(Fragment, null, h("div", { class: "stzh-chip__icon-wrapper" }, this.icon ?
|
|
65
|
+
h("stzh-icon", { class: "stzh-chip__icon", name: this.icon })
|
|
66
|
+
:
|
|
67
|
+
h("slot", { name: "icon" })), h("div", { class: "stzh-chip__label" }, this.label ? this.label : h("slot", null)), this.counter &&
|
|
68
|
+
h("div", { class: "stzh-chip__counter" }, this.counter)));
|
|
69
|
+
}
|
|
62
70
|
render() {
|
|
63
71
|
const classes = {
|
|
64
72
|
"stzh-chip": true,
|
|
@@ -71,11 +79,10 @@ export class StzhChip {
|
|
|
71
79
|
[`stzh-chip--${this.variant}`]: !!this.variant
|
|
72
80
|
};
|
|
73
81
|
return (h(Host, null, h("div", { class: classes }, this.removable &&
|
|
74
|
-
h("button", { class: "stzh-chip__remove", onClick: this.onRemoveClick, disabled: this.disabled, "aria-label": this.removeLabel, type: "button" }, h("stzh-icon", { class: "stzh-chip__remove-icon", name: "close" })),
|
|
75
|
-
h("
|
|
82
|
+
h("button", { class: "stzh-chip__remove", onClick: this.onRemoveClick, disabled: this.disabled, "aria-label": this.removeLabel, type: "button" }, h("stzh-icon", { class: "stzh-chip__remove-icon", name: "close" })), this.href ?
|
|
83
|
+
h("a", { class: "stzh-chip__button", href: this.disabled ? null : this.href, target: this.target, "aria-label": this.a11yLabel, "aria-describedby": this.a11yDescribedby, onClick: this.onClick, onFocus: this.onFocus, onBlur: this.onBlur }, this.renderInner())
|
|
76
84
|
:
|
|
77
|
-
h("
|
|
78
|
-
h("div", { class: "stzh-chip__counter" }, this.counter)))));
|
|
85
|
+
h("button", { class: "stzh-chip__button", disabled: this.disabled, type: "button", "aria-label": this.a11yLabel, "aria-describedby": this.a11yDescribedby, onClick: this.onClick, onFocus: this.onFocus, onBlur: this.onBlur }, this.renderInner()))));
|
|
79
86
|
}
|
|
80
87
|
static get is() { return "stzh-chip"; }
|
|
81
88
|
static get encapsulation() { return "scoped"; }
|
|
@@ -127,6 +134,42 @@ export class StzhChip {
|
|
|
127
134
|
"reflect": false,
|
|
128
135
|
"defaultValue": "\"\""
|
|
129
136
|
},
|
|
137
|
+
"href": {
|
|
138
|
+
"type": "string",
|
|
139
|
+
"mutable": false,
|
|
140
|
+
"complexType": {
|
|
141
|
+
"original": "string",
|
|
142
|
+
"resolved": "string",
|
|
143
|
+
"references": {}
|
|
144
|
+
},
|
|
145
|
+
"required": false,
|
|
146
|
+
"optional": false,
|
|
147
|
+
"docs": {
|
|
148
|
+
"tags": [],
|
|
149
|
+
"text": "`href` if the chip should be used as link"
|
|
150
|
+
},
|
|
151
|
+
"attribute": "href",
|
|
152
|
+
"reflect": false,
|
|
153
|
+
"defaultValue": "\"\""
|
|
154
|
+
},
|
|
155
|
+
"target": {
|
|
156
|
+
"type": "string",
|
|
157
|
+
"mutable": false,
|
|
158
|
+
"complexType": {
|
|
159
|
+
"original": "string",
|
|
160
|
+
"resolved": "string",
|
|
161
|
+
"references": {}
|
|
162
|
+
},
|
|
163
|
+
"required": false,
|
|
164
|
+
"optional": false,
|
|
165
|
+
"docs": {
|
|
166
|
+
"tags": [],
|
|
167
|
+
"text": "Target if the button is used as link (if `href` used)"
|
|
168
|
+
},
|
|
169
|
+
"attribute": "target",
|
|
170
|
+
"reflect": false,
|
|
171
|
+
"defaultValue": "\"\""
|
|
172
|
+
},
|
|
130
173
|
"removable": {
|
|
131
174
|
"type": "boolean",
|
|
132
175
|
"mutable": false,
|
|
@@ -271,24 +314,6 @@ export class StzhChip {
|
|
|
271
314
|
"reflect": true,
|
|
272
315
|
"defaultValue": "false"
|
|
273
316
|
},
|
|
274
|
-
"invert": {
|
|
275
|
-
"type": "boolean",
|
|
276
|
-
"mutable": false,
|
|
277
|
-
"complexType": {
|
|
278
|
-
"original": "boolean",
|
|
279
|
-
"resolved": "boolean",
|
|
280
|
-
"references": {}
|
|
281
|
-
},
|
|
282
|
-
"required": false,
|
|
283
|
-
"optional": false,
|
|
284
|
-
"docs": {
|
|
285
|
-
"tags": [],
|
|
286
|
-
"text": "Invert (only available for tag variant)"
|
|
287
|
-
},
|
|
288
|
-
"attribute": "invert",
|
|
289
|
-
"reflect": true,
|
|
290
|
-
"defaultValue": "false"
|
|
291
|
-
},
|
|
292
317
|
"a11yLabel": {
|
|
293
318
|
"type": "string",
|
|
294
319
|
"mutable": false,
|
|
@@ -38,15 +38,6 @@ Filter.args = {
|
|
|
38
38
|
icon: 'bulleted-list'
|
|
39
39
|
};
|
|
40
40
|
|
|
41
|
-
export const FilterInverted = Template.bind({});
|
|
42
|
-
FilterInverted.args = {
|
|
43
|
-
variant: 'filter',
|
|
44
|
-
label: 'Topic Tag',
|
|
45
|
-
counter: '00',
|
|
46
|
-
icon: 'bulleted-list',
|
|
47
|
-
invert: true
|
|
48
|
-
};
|
|
49
|
-
|
|
50
41
|
export const Tag = Template.bind({});
|
|
51
42
|
Tag.args = {
|
|
52
43
|
label: 'Topic Tag',
|
|
@@ -146,7 +146,7 @@ export class StzhChipSelect {
|
|
|
146
146
|
"optional": false,
|
|
147
147
|
"docs": {
|
|
148
148
|
"tags": [],
|
|
149
|
-
"text": "
|
|
149
|
+
"text": "The list of chips"
|
|
150
150
|
},
|
|
151
151
|
"attribute": "data",
|
|
152
152
|
"reflect": false,
|
|
@@ -304,7 +304,7 @@ export class StzhChipSelect {
|
|
|
304
304
|
"optional": false,
|
|
305
305
|
"docs": {
|
|
306
306
|
"tags": [],
|
|
307
|
-
"text": "Whether
|
|
307
|
+
"text": "Whether all chips are disabled or not"
|
|
308
308
|
},
|
|
309
309
|
"attribute": "disabled",
|
|
310
310
|
"reflect": true,
|
|
@@ -4,6 +4,9 @@
|
|
|
4
4
|
/*
|
|
5
5
|
* Base
|
|
6
6
|
*/
|
|
7
|
+
/**
|
|
8
|
+
* Flyingfocus
|
|
9
|
+
*/
|
|
7
10
|
/**
|
|
8
11
|
* Link
|
|
9
12
|
*/
|
|
@@ -98,6 +101,11 @@
|
|
|
98
101
|
--lines: 1;
|
|
99
102
|
width: 100%;
|
|
100
103
|
color: inherit;
|
|
104
|
+
font-family: inherit;
|
|
105
|
+
font-weight: inherit;
|
|
106
|
+
font-style: inherit;
|
|
107
|
+
font-size: inherit;
|
|
108
|
+
line-height: inherit;
|
|
101
109
|
}
|
|
102
110
|
|
|
103
111
|
:host([lines="1"]) {
|