@oiz/stzh-components 2.1.0-alpha → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{_commonjsHelpers-bcc1208a.js → _commonjsHelpers-dcc4cf71.js} +16 -0
- package/dist/cjs/{app-globals-e1f4f1d9.js → app-globals-dc82b9ca.js} +1 -1
- 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 +2 -2
- package/dist/cjs/stzh-actions.cjs.entry.js +2 -2
- package/dist/cjs/stzh-anchornav.cjs.entry.js +2 -2
- package/dist/cjs/stzh-appointments.cjs.entry.js +1 -1
- package/dist/cjs/stzh-badge_3.cjs.entry.js +2 -1
- package/dist/cjs/stzh-chart.cjs.entry.js +26127 -0
- package/dist/cjs/stzh-checkbox.cjs.entry.js +2 -2
- package/dist/cjs/stzh-chip.cjs.entry.js +13 -6
- package/dist/cjs/stzh-components.cjs.js +2 -2
- package/dist/cjs/stzh-contactaddress.cjs.entry.js +65 -0
- package/dist/cjs/stzh-datamessagelist-item.cjs.entry.js +2 -2
- package/dist/cjs/stzh-datamessagelist.cjs.entry.js +1 -1
- package/dist/cjs/stzh-datatable.cjs.entry.js +1 -1
- package/dist/cjs/stzh-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/stzh-figure.cjs.entry.js +1 -1
- package/dist/cjs/stzh-footer.cjs.entry.js +12 -6
- package/dist/cjs/stzh-ghettobox_2.cjs.entry.js +3 -3
- package/dist/cjs/stzh-header.cjs.entry.js +1 -1
- package/dist/cjs/stzh-heading.cjs.entry.js +2 -2
- package/dist/cjs/stzh-icon-sprite.cjs.entry.js +2 -2
- package/dist/cjs/stzh-link.cjs.entry.js +2 -1
- package/dist/cjs/stzh-list-item.cjs.entry.js +1 -1
- package/dist/cjs/stzh-message.cjs.entry.js +2 -2
- package/dist/cjs/stzh-olmap.cjs.entry.js +2 -2
- package/dist/cjs/stzh-pagebottom.cjs.entry.js +32 -0
- package/dist/cjs/stzh-pagetitle-hero.cjs.entry.js +99 -0
- package/dist/cjs/stzh-portal-mitwirken.cjs.entry.js +1 -1
- package/dist/cjs/stzh-share.cjs.entry.js +113 -0
- package/dist/cjs/stzh-upload.cjs.entry.js +52 -36
- package/dist/cjs/stzh-vbz-linechip.cjs.entry.js +12 -4
- package/dist/collection/assets/i18n/de.json +10 -0
- package/dist/collection/assets/i18n/en.json +10 -0
- package/dist/collection/assets/icons/mono/facebook-filled.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/star-filled.svg +1 -1
- package/dist/collection/assets/icons/mono/twitter-filled.svg +3 -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 +5 -0
- package/dist/collection/components/stzh-accordion/stzh-accordion.css +3 -0
- package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.css +51 -3
- package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.js +1 -1
- 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 +5 -0
- 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 +3 -0
- package/dist/collection/components/stzh-badge/stzh-badge.css +3 -0
- package/dist/collection/components/stzh-button/stzh-button.css +3 -0
- package/dist/collection/components/stzh-button/stzh-button.js +19 -1
- package/dist/collection/components/stzh-calendar/stzh-calendar.css +3 -0
- package/dist/collection/components/stzh-card/stzh-card.css +3 -0
- package/dist/collection/components/stzh-card-list/stzh-card-list.css +3 -0
- package/dist/collection/components/stzh-cell/stzh-cell.css +3 -0
- package/dist/collection/components/stzh-chart/stzh-chart.css +799 -0
- package/dist/collection/components/stzh-chart/stzh-chart.js +110 -0
- package/dist/collection/components/stzh-chart/stzh-chart.stories.js +287 -0
- package/dist/collection/components/stzh-checkbox/assets/check.svg +1 -1
- package/dist/collection/components/stzh-checkbox/stzh-checkbox.css +3 -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-clamp/stzh-clamp.css +3 -0
- package/dist/collection/components/stzh-contactaddress/stzh-contactaddress.css +153 -0
- package/dist/collection/components/stzh-contactaddress/stzh-contactaddress.js +321 -0
- package/dist/collection/components/stzh-contactaddress/stzh-contactaddress.stories.js +100 -0
- package/dist/collection/components/stzh-container/stzh-container.css +3 -0
- package/dist/collection/components/stzh-cspace/stzh-cspace.css +3 -0
- package/dist/collection/components/stzh-datalist/stzh-datalist.css +3 -0
- package/dist/collection/components/stzh-datamessagelist/stzh-datamessagelist.css +13 -2
- package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.css +3 -11
- package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.js +1 -1
- 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-dialog/stzh-dialog.css +3 -0
- package/dist/collection/components/stzh-dropdown/stzh-dropdown.css +3 -0
- package/dist/collection/components/stzh-fieldset/stzh-fieldset.css +3 -0
- package/dist/collection/components/stzh-figure/stzh-figure.css +3 -1
- package/dist/collection/components/stzh-flyingfocus/stzh-flyingfocus.css +3 -0
- package/dist/collection/components/stzh-footer/stzh-footer.css +53 -0
- package/dist/collection/components/stzh-footer/stzh-footer.js +46 -18
- package/dist/collection/components/stzh-footer/stzh-footer.stories.js +21 -1
- package/dist/collection/components/stzh-ghettobox/stzh-ghettobox.css +10 -10
- package/dist/collection/components/stzh-header/stzh-header.css +3 -0
- package/dist/collection/components/stzh-header/stzh-header.js +2 -2
- package/dist/collection/components/stzh-heading/stzh-heading.css +9 -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 +95 -30
- 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 +8 -1
- package/dist/collection/components/stzh-input/stzh-input.css +3 -0
- package/dist/collection/components/stzh-link/stzh-link.css +3 -0
- package/dist/collection/components/stzh-link/stzh-link.js +19 -1
- package/dist/collection/components/stzh-list/stzh-list.css +3 -0
- package/dist/collection/components/stzh-list-item/assets/checkmark.svg +1 -1
- 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-olmap/stzh-olmap.css +3 -0
- package/dist/collection/components/stzh-olmap/stzh-olmap.js +2 -2
- 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 +153 -0
- package/dist/collection/components/stzh-pagebottom/stzh-pagebottom.js +151 -0
- package/dist/collection/components/stzh-pagebottom/stzh-pagebottom.stories.js +44 -0
- package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.css +3 -0
- package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.js +5 -1
- package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.stories.js +3 -3
- 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-portal-mitwirken/stzh-portal-mitwirken.css +8 -4
- package/dist/collection/components/stzh-progressbar/stzh-progressbar.css +3 -0
- package/dist/collection/components/stzh-progressbar-item/stzh-progressbar-item.css +3 -0
- package/dist/collection/components/stzh-radio/stzh-radio.css +3 -0
- package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.css +3 -0
- package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.js +1 -1
- package/dist/collection/components/stzh-readspeaker/stzh-readspeaker.css +3 -0
- package/dist/collection/components/stzh-richtext/stzh-richtext.css +3 -0
- package/dist/collection/components/stzh-row/stzh-row.css +3 -0
- package/dist/collection/components/stzh-saptcha/stzh-saptcha.css +3 -0
- package/dist/collection/components/stzh-section/stzh-section.css +3 -0
- package/dist/collection/components/stzh-share/stzh-share.css +149 -0
- package/dist/collection/components/stzh-share/stzh-share.js +184 -0
- package/dist/collection/components/stzh-share/stzh-share.localization.js +1 -0
- package/dist/collection/components/stzh-share/stzh-share.stories.js +33 -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-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-toggle/stzh-toggle.css +3 -0
- package/dist/collection/components/stzh-tooltip/stzh-tooltip.css +3 -0
- package/dist/collection/components/stzh-upload/stzh-upload.css +44 -19
- package/dist/collection/components/stzh-upload/stzh-upload.js +69 -35
- package/dist/collection/components/stzh-upload/stzh-upload.stories.js +3 -3
- 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 +3 -0
- package/dist/collection/components/stzh-vbz-ticker/stzh-vbz-ticker.css +3 -0
- package/dist/collection/components/stzh-visuallyhidden/stzh-visuallyhidden.css +3 -0
- package/dist/collection/components/stzh-vspace/stzh-vspace.css +3 -0
- package/dist/components/_commonjsHelpers.js +16 -1
- package/dist/components/index.d.ts +5 -0
- package/dist/components/index.js +6 -1
- package/dist/components/stzh-accordion-item.js +2 -2
- 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-button2.js +3 -1
- package/dist/components/stzh-chart.d.ts +11 -0
- package/dist/components/stzh-chart.js +26144 -0
- package/dist/components/stzh-checkbox.js +2 -2
- package/dist/components/stzh-chip2.js +16 -8
- package/dist/components/stzh-contactaddress.d.ts +11 -0
- package/dist/components/stzh-contactaddress.js +93 -0
- package/dist/components/stzh-datamessagelist-item.js +14 -8
- package/dist/components/stzh-datamessagelist.js +1 -1
- package/dist/components/stzh-figure.js +1 -1
- package/dist/components/stzh-footer.js +14 -7
- package/dist/components/stzh-ghettobox2.js +1 -1
- package/dist/components/stzh-header.js +1 -1
- package/dist/components/stzh-heading2.js +2 -2
- package/dist/components/stzh-icon-sprite.js +2 -2
- package/dist/components/stzh-link2.js +3 -1
- package/dist/components/stzh-list-item.js +1 -1
- package/dist/components/stzh-olmap.js +1 -1
- package/dist/components/stzh-pagebottom.d.ts +11 -0
- package/dist/components/stzh-pagebottom.js +70 -0
- package/dist/components/stzh-pagetitle-hero.d.ts +11 -0
- package/dist/components/stzh-pagetitle-hero.js +116 -0
- package/dist/components/stzh-portal-mitwirken.js +1 -1
- package/dist/components/stzh-share.d.ts +11 -0
- package/dist/components/stzh-share.js +6 -0
- package/dist/components/stzh-share2.js +139 -0
- package/dist/components/stzh-upload.js +53 -36
- package/dist/components/stzh-vbz-linechip2.js +11 -3
- package/dist/esm/{_commonjsHelpers-ba3f0406.js → _commonjsHelpers-f9dc4873.js} +16 -1
- package/dist/esm/{app-globals-453acbdb.js → app-globals-246b5e49.js} +1 -1
- package/dist/esm/{js.cookie-28a40640.js → js.cookie-53735b72.js} +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/stzh-accordion-item.entry.js +2 -2
- package/dist/esm/stzh-actions.entry.js +2 -2
- package/dist/esm/stzh-anchornav.entry.js +2 -2
- package/dist/esm/stzh-appointments.entry.js +1 -1
- package/dist/esm/stzh-badge_3.entry.js +2 -1
- package/dist/esm/stzh-chart.entry.js +26123 -0
- package/dist/esm/stzh-checkbox.entry.js +2 -2
- package/dist/esm/stzh-chip.entry.js +14 -7
- package/dist/esm/stzh-components.js +2 -2
- package/dist/esm/stzh-contactaddress.entry.js +61 -0
- package/dist/esm/stzh-datamessagelist-item.entry.js +2 -2
- package/dist/esm/stzh-datamessagelist.entry.js +1 -1
- package/dist/esm/stzh-datatable.entry.js +1 -1
- package/dist/esm/stzh-dropdown.entry.js +1 -1
- package/dist/esm/stzh-figure.entry.js +1 -1
- package/dist/esm/stzh-footer.entry.js +12 -6
- package/dist/esm/stzh-ghettobox_2.entry.js +3 -3
- package/dist/esm/stzh-header.entry.js +1 -1
- package/dist/esm/stzh-heading.entry.js +2 -2
- package/dist/esm/stzh-icon-sprite.entry.js +2 -2
- package/dist/esm/stzh-link.entry.js +2 -1
- package/dist/esm/stzh-list-item.entry.js +1 -1
- package/dist/esm/stzh-message.entry.js +2 -2
- package/dist/esm/stzh-olmap.entry.js +2 -2
- package/dist/esm/stzh-pagebottom.entry.js +28 -0
- package/dist/esm/stzh-pagetitle-hero.entry.js +95 -0
- package/dist/esm/stzh-portal-mitwirken.entry.js +1 -1
- package/dist/esm/stzh-share.entry.js +109 -0
- package/dist/esm/stzh-upload.entry.js +52 -36
- package/dist/esm/stzh-vbz-linechip.entry.js +12 -4
- package/dist/esm-es5/_commonjsHelpers-f9dc4873.js +1 -0
- package/dist/esm-es5/app-globals-246b5e49.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-actions.entry.js +1 -1
- package/dist/esm-es5/stzh-anchornav.entry.js +1 -1
- package/dist/esm-es5/stzh-badge_3.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-chip.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-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-dropdown.entry.js +1 -1
- package/dist/esm-es5/stzh-figure.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-icon-sprite.entry.js +1 -1
- 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-message.entry.js +1 -1
- package/dist/esm-es5/stzh-olmap.entry.js +2 -2
- package/dist/esm-es5/stzh-pagebottom.entry.js +1 -0
- package/dist/esm-es5/stzh-pagetitle-hero.entry.js +1 -0
- package/dist/esm-es5/stzh-portal-mitwirken.entry.js +1 -1
- package/dist/esm-es5/stzh-share.entry.js +1 -0
- package/dist/esm-es5/stzh-upload.entry.js +1 -1
- package/dist/esm-es5/stzh-vbz-linechip.entry.js +1 -1
- package/dist/stzh-components/assets/i18n/de.json +10 -0
- package/dist/stzh-components/assets/i18n/en.json +10 -0
- package/dist/stzh-components/assets/icons/mono/facebook-filled.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/star-filled.svg +1 -1
- package/dist/stzh-components/assets/icons/mono/twitter-filled.svg +3 -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 +95 -30
- package/dist/stzh-components/assets/svgsprites/symbol/svg/sprite.symbol.svg +1 -1
- package/dist/stzh-components/{p-29d9a568.entry.js → p-105a11cb.entry.js} +1 -1
- package/dist/stzh-components/{p-b491bcd7.system.entry.js → p-14e457c6.system.entry.js} +1 -1
- package/dist/stzh-components/p-17ae6581.entry.js +1 -0
- package/dist/stzh-components/{p-3e24b964.entry.js → p-229d4ad2.entry.js} +1 -1
- package/dist/stzh-components/{p-3f8976bc.system.entry.js → p-22c9a00d.system.entry.js} +1 -1
- package/dist/stzh-components/{p-8e363084.system.entry.js → p-238a8c83.system.entry.js} +1 -1
- package/dist/stzh-components/{p-b10682ee.js → p-24b8df26.js} +1 -1
- package/dist/stzh-components/p-25ef050a.entry.js +1 -0
- package/dist/stzh-components/p-293ceb5e.entry.js +1 -0
- package/dist/stzh-components/p-2ba8b5c9.system.entry.js +1 -0
- package/dist/stzh-components/{p-e7afcd6f.entry.js → p-38b9e5e9.entry.js} +1 -1
- package/dist/stzh-components/p-3a0f37bd.entry.js +1 -0
- package/dist/stzh-components/p-44dd74d1.system.entry.js +1 -0
- package/dist/stzh-components/p-470ccde5.system.entry.js +1 -0
- package/dist/stzh-components/{p-5db542ae.system.js → p-484a366f.system.js} +1 -1
- package/dist/stzh-components/{p-a61bf274.entry.js → p-4a3f9353.entry.js} +1 -1
- package/dist/stzh-components/{p-d69b12f8.entry.js → p-4e6ddb5f.entry.js} +1 -1
- package/dist/stzh-components/p-4fd4a703.entry.js +3 -0
- package/dist/stzh-components/p-51c75fba.system.entry.js +1 -0
- package/dist/stzh-components/p-5caa837c.system.entry.js +3 -0
- package/dist/stzh-components/{p-3b33fa76.system.entry.js → p-5ed4d1d5.system.entry.js} +1 -1
- package/dist/stzh-components/p-60d8e2da.entry.js +1 -0
- package/dist/stzh-components/p-61c9ca5d.entry.js +1 -0
- package/dist/stzh-components/p-61d4852f.system.entry.js +1 -0
- package/dist/stzh-components/p-6830f839.entry.js +1 -0
- package/dist/stzh-components/p-6d22bd0d.entry.js +1 -0
- package/dist/stzh-components/{p-6f7a7f7a.entry.js → p-71220066.entry.js} +1 -1
- package/dist/stzh-components/p-71d757d3.js +1 -0
- package/dist/stzh-components/p-7909f56b.entry.js +1 -0
- package/dist/stzh-components/p-7a584d3f.system.entry.js +1 -0
- package/dist/stzh-components/p-7aef399f.entry.js +1 -0
- package/dist/stzh-components/{p-c5749124.system.entry.js → p-7c172e64.system.entry.js} +1 -1
- package/dist/stzh-components/p-7dec02ca.entry.js +1 -0
- package/dist/stzh-components/p-84aace40.system.entry.js +1 -0
- package/dist/stzh-components/{p-6b5f447c.system.entry.js → p-8ab86ca3.system.entry.js} +1 -1
- package/dist/stzh-components/p-8f9de52f.system.entry.js +1 -0
- package/dist/stzh-components/p-909d7a3c.system.js +1 -0
- package/dist/stzh-components/p-95defe16.system.entry.js +1 -0
- package/dist/stzh-components/p-98a972b7.system.entry.js +1 -0
- package/dist/stzh-components/p-9c90535a.system.js +1 -0
- package/dist/stzh-components/p-a6d4a8b1.js +1 -0
- package/dist/stzh-components/p-a866b3a3.entry.js +1 -0
- package/dist/stzh-components/p-ac409e7b.system.entry.js +1 -0
- package/dist/stzh-components/p-ad119aca.entry.js +1 -0
- package/dist/stzh-components/p-b0e514c7.entry.js +1 -0
- package/dist/stzh-components/{p-020379d7.system.entry.js → p-b1ff3a21.system.entry.js} +2 -2
- package/dist/stzh-components/p-b54ed1f9.entry.js +1 -0
- package/dist/stzh-components/p-bc34bf07.system.entry.js +1 -0
- package/dist/stzh-components/p-bd5b8114.system.entry.js +1 -0
- package/dist/stzh-components/p-c2238fbf.entry.js +1 -0
- package/dist/stzh-components/p-c3846ccf.system.entry.js +1 -0
- package/dist/stzh-components/p-c777032f.system.entry.js +1 -0
- package/dist/stzh-components/p-ce06b4f2.system.js +1 -0
- package/dist/stzh-components/p-cf781b59.entry.js +1 -0
- package/dist/stzh-components/{p-bb8f71a4.entry.js → p-d4b93488.entry.js} +2 -2
- package/dist/stzh-components/p-d5ee4ac0.entry.js +1 -0
- package/dist/stzh-components/{p-fd811f6b.system.entry.js → p-daa34275.system.entry.js} +2 -2
- package/dist/stzh-components/p-e161760f.system.entry.js +1 -0
- package/dist/stzh-components/p-e785d9cc.entry.js +1 -0
- package/dist/stzh-components/{p-641126a8.system.entry.js → p-f5f3475c.system.entry.js} +1 -1
- package/dist/stzh-components/p-f6ab391e.system.entry.js +1 -0
- package/dist/stzh-components/{p-74786856.system.entry.js → p-ff2a6bdf.system.entry.js} +1 -1
- package/dist/stzh-components/p-ff534e27.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-share/stzh-share.localization.d.ts +10 -0
- package/dist/types/components/stzh-upload/stzh-upload.localization.d.ts +1 -0
- package/dist/types/components.d.ts +351 -13
- package/dist/types/index.d.ts +7 -1
- package/dist/vscode-data.json +201 -11
- package/package.json +6 -2
- package/dist/esm-es5/_commonjsHelpers-ba3f0406.js +0 -1
- package/dist/esm-es5/app-globals-453acbdb.js +0 -1
- package/dist/stzh-components/p-011dcf30.system.entry.js +0 -1
- package/dist/stzh-components/p-08714718.system.entry.js +0 -1
- package/dist/stzh-components/p-0977d9b6.entry.js +0 -1
- package/dist/stzh-components/p-0e474d1a.system.entry.js +0 -1
- package/dist/stzh-components/p-1399b2d7.entry.js +0 -1
- package/dist/stzh-components/p-2bf021f2.js +0 -1
- package/dist/stzh-components/p-2c891eee.entry.js +0 -1
- package/dist/stzh-components/p-3623b3a5.system.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-554fb3ac.system.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-62c7caed.entry.js +0 -1
- package/dist/stzh-components/p-648e03bc.entry.js +0 -1
- package/dist/stzh-components/p-6b2282cd.system.entry.js +0 -1
- package/dist/stzh-components/p-6c76e51d.entry.js +0 -1
- package/dist/stzh-components/p-6cbdbd06.entry.js +0 -1
- package/dist/stzh-components/p-90941379.system.entry.js +0 -1
- package/dist/stzh-components/p-9ca1efe4.system.entry.js +0 -1
- package/dist/stzh-components/p-9d58c713.entry.js +0 -1
- package/dist/stzh-components/p-a4a4370d.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-c7c3735a.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-e56d7b16.system.entry.js +0 -1
- package/dist/stzh-components/p-eb3425a1.system.entry.js +0 -1
- package/dist/stzh-components/p-fa9a4cd5.system.entry.js +0 -1
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Colors
|
|
3
|
+
*/
|
|
4
|
+
/*
|
|
5
|
+
* Base
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* Flyingfocus
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* Link
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* Text
|
|
15
|
+
*/
|
|
16
|
+
/**
|
|
17
|
+
* Richtext
|
|
18
|
+
*/
|
|
19
|
+
/**
|
|
20
|
+
* Section
|
|
21
|
+
*/
|
|
22
|
+
/**
|
|
23
|
+
* Header
|
|
24
|
+
*/
|
|
25
|
+
/**
|
|
26
|
+
* Appnav
|
|
27
|
+
*/
|
|
28
|
+
/**
|
|
29
|
+
* Progressbar
|
|
30
|
+
*/
|
|
31
|
+
/**
|
|
32
|
+
* Loader
|
|
33
|
+
*/
|
|
34
|
+
/**
|
|
35
|
+
* Table
|
|
36
|
+
*/
|
|
37
|
+
/**
|
|
38
|
+
* Heading
|
|
39
|
+
*/
|
|
40
|
+
/**
|
|
41
|
+
* Menu (Item)
|
|
42
|
+
*/
|
|
43
|
+
/**
|
|
44
|
+
* Form Elements (Input / Checkbox / Radio / Select / Datepicker)
|
|
45
|
+
*/
|
|
46
|
+
/**
|
|
47
|
+
* Popover
|
|
48
|
+
*/
|
|
49
|
+
/**
|
|
50
|
+
* Tooltips
|
|
51
|
+
*/
|
|
52
|
+
/**
|
|
53
|
+
* Accordions
|
|
54
|
+
*/
|
|
55
|
+
/**
|
|
56
|
+
* Buttons
|
|
57
|
+
*/
|
|
58
|
+
/**
|
|
59
|
+
* Box Shadows
|
|
60
|
+
*/
|
|
61
|
+
/**
|
|
62
|
+
* Z-Indexes
|
|
63
|
+
* Inspired by https://www.duetds.com/tokens/#z-index
|
|
64
|
+
*/
|
|
65
|
+
/**
|
|
66
|
+
* Icon sizes
|
|
67
|
+
*/
|
|
68
|
+
/**
|
|
69
|
+
* Grid
|
|
70
|
+
*/
|
|
71
|
+
/**
|
|
72
|
+
* Breakpoints
|
|
73
|
+
*/
|
|
74
|
+
/**
|
|
75
|
+
* Container
|
|
76
|
+
*/
|
|
77
|
+
/**
|
|
78
|
+
* Spaces
|
|
79
|
+
*/
|
|
80
|
+
/**
|
|
81
|
+
* Fonts
|
|
82
|
+
*/
|
|
83
|
+
:host {
|
|
84
|
+
font-family: var(--stzh-font-family-regular);
|
|
85
|
+
font-weight: var(--stzh-font-weight-regular);
|
|
86
|
+
font-style: normal;
|
|
87
|
+
color: var(--stzh-base-color);
|
|
88
|
+
box-sizing: border-box;
|
|
89
|
+
display: block;
|
|
90
|
+
}
|
|
91
|
+
:host[hidden] {
|
|
92
|
+
display: none;
|
|
93
|
+
}
|
|
94
|
+
:host *,
|
|
95
|
+
:host *::before,
|
|
96
|
+
:host *::after {
|
|
97
|
+
box-sizing: border-box;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.stzh-contactaddress {
|
|
101
|
+
font-size: var(--stzh-font-curve-p1-default-font-size, var(--stzh-font-milli-font-size));
|
|
102
|
+
line-height: var(--stzh-font-curve-p1-default-text-line-height, var(--stzh-font-milli-text-line-height));
|
|
103
|
+
letter-spacing: var(--stzh-font-curve-p1-default-text-letter-spacing);
|
|
104
|
+
/* Has border */
|
|
105
|
+
}
|
|
106
|
+
@media screen and (min-width: 1024px) {
|
|
107
|
+
.stzh-contactaddress {
|
|
108
|
+
font-size: var(--stzh-font-curve-p1-medium-font-size, var(--stzh-font-centi-font-size));
|
|
109
|
+
line-height: var(--stzh-font-curve-p1-medium-text-line-height, var(--stzh-font-centi-text-line-height));
|
|
110
|
+
letter-spacing: var(--stzh-font-curve-p1-medium-text-letter-spacing);
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
.stzh-contactaddress__pobox {
|
|
114
|
+
margin-top: var(--stzh-space-small);
|
|
115
|
+
}
|
|
116
|
+
@media screen and (min-width: 1024px) {
|
|
117
|
+
.stzh-contactaddress__pobox {
|
|
118
|
+
margin-top: var(--stzh-space-medium);
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
@media screen and (min-width: 1260px) {
|
|
122
|
+
.stzh-contactaddress__pobox {
|
|
123
|
+
margin-top: var(--stzh-space-large);
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
.stzh-contactaddress__company, .stzh-contactaddress__heading {
|
|
127
|
+
font-family: var(--stzh-font-family-heavy);
|
|
128
|
+
font-weight: var(--stzh-font-weight-heavy);
|
|
129
|
+
font-style: normal;
|
|
130
|
+
font-size: var(--stzh-font-curve-h4-default-font-size, var(--stzh-font-milli-font-size));
|
|
131
|
+
line-height: var(--stzh-font-curve-h4-default-heading-line-height, var(--stzh-font-milli-heading-line-height));
|
|
132
|
+
letter-spacing: var(--stzh-font-curve-h4-default-heading-letter-spacing);
|
|
133
|
+
margin: 0;
|
|
134
|
+
}
|
|
135
|
+
@media screen and (min-width: 1024px) {
|
|
136
|
+
.stzh-contactaddress__company, .stzh-contactaddress__heading {
|
|
137
|
+
font-size: var(--stzh-font-curve-h4-medium-font-size, var(--stzh-font-centi-font-size));
|
|
138
|
+
line-height: var(--stzh-font-curve-h4-medium-heading-line-height, var(--stzh-font-centi-heading-line-height));
|
|
139
|
+
letter-spacing: var(--stzh-font-curve-h4-medium-heading-letter-spacing);
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
.stzh-contactaddress__number-link {
|
|
143
|
+
color: var(--stzh-link-color);
|
|
144
|
+
transition: color var(--stzh-base-transition-animation-speed);
|
|
145
|
+
border-radius: var(--stzh-button-border-radius);
|
|
146
|
+
}
|
|
147
|
+
.stzh-contactaddress__number-link:hover, .stzh-contactaddress__number-link:focus {
|
|
148
|
+
color: var(--stzh-link-hover-color);
|
|
149
|
+
}
|
|
150
|
+
.stzh-contactaddress--has-border {
|
|
151
|
+
padding-bottom: var(--stzh-space-xlarge);
|
|
152
|
+
border-bottom: 0.0625rem solid var(--stzh-base-border-color);
|
|
153
|
+
}
|
|
@@ -0,0 +1,321 @@
|
|
|
1
|
+
import { Host, h, Fragment } from "@stencil/core";
|
|
2
|
+
function formatTel(tel) {
|
|
3
|
+
return tel.replace(/\s/g, '');
|
|
4
|
+
}
|
|
5
|
+
/**
|
|
6
|
+
*/
|
|
7
|
+
export class StzhContactaddress {
|
|
8
|
+
constructor() {
|
|
9
|
+
this._numbers = [];
|
|
10
|
+
this.type = "Organization";
|
|
11
|
+
this.heading = undefined;
|
|
12
|
+
this.company = undefined;
|
|
13
|
+
this.name = undefined;
|
|
14
|
+
this.street = undefined;
|
|
15
|
+
this.streetInfo = undefined;
|
|
16
|
+
this.postalCode = undefined;
|
|
17
|
+
this.location = undefined;
|
|
18
|
+
this.numbers = [];
|
|
19
|
+
this.poBoxHeading = undefined;
|
|
20
|
+
this.poboxTitle = undefined;
|
|
21
|
+
this.poboxPostalCode = undefined;
|
|
22
|
+
this.poboxLocation = undefined;
|
|
23
|
+
this.withBorder = false;
|
|
24
|
+
}
|
|
25
|
+
numbersWatcher(newValue) {
|
|
26
|
+
if (typeof newValue === "string") {
|
|
27
|
+
this._numbers = JSON.parse(newValue);
|
|
28
|
+
}
|
|
29
|
+
else {
|
|
30
|
+
this._numbers = newValue;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
async componentWillLoad() {
|
|
34
|
+
this.numbersWatcher(this.numbers);
|
|
35
|
+
}
|
|
36
|
+
render() {
|
|
37
|
+
const classes = {
|
|
38
|
+
"stzh-contactaddress": true,
|
|
39
|
+
"stzh-contactaddress--has-border": this.withBorder
|
|
40
|
+
};
|
|
41
|
+
return (h(Host, null, h("div", { class: classes, itemscope: true, itemtype: `http://schema.org/${this.type}` }, this.heading &&
|
|
42
|
+
h("h4", { class: "stzh-contactaddress__heading" }, this.heading), this.company &&
|
|
43
|
+
h("div", { class: "stzh-contactaddress__company", itemprop: "name", innerHTML: this.company }), this.name &&
|
|
44
|
+
h("div", { class: "stzh-contactaddress__name", itemprop: "name" }, this.name), (this.street || this.postalCode || this.location) &&
|
|
45
|
+
h("div", { class: "stzh-contactaddress__address", itemprop: "address", itemscope: true, itemtype: "http://schema.org/PostalAddress" }, this.street &&
|
|
46
|
+
h("div", { class: "stzh-contactaddress__street", itemprop: "streetAddress" }, this.street, this.streetInfo &&
|
|
47
|
+
h(Fragment, null, h("br", null), " ", this.streetInfo)), this.postalCode &&
|
|
48
|
+
h("span", { class: "stzh-contactaddress__postal-code", itemprop: "postalCode" }, this.postalCode, "\u00A0"), this.location &&
|
|
49
|
+
h("span", { class: "stzh-contactaddress__locality", itemprop: "addressLocality" }, this.location)), this._numbers.map((number) => h("div", { class: "stzh-contactaddress__number" }, h("span", null, number.label, "\u00A0"), h("span", { itemprop: number.type === "fax" ? "faxNumber" : "telephone" }, h("a", { class: "stzh-contactaddress__number-link", href: `${number.type}:${formatTel(number.number)}` }, number.number)))), (this.poBoxHeading || this.poboxTitle || this.poboxPostalCode || this.poboxLocation) &&
|
|
50
|
+
h("div", { class: "stzh-contactaddress__pobox" }, h("div", { class: "stzh-contactaddress__pobox-heading" }, this.poBoxHeading), h("div", { class: "stzh-contactaddress__pobox-title" }, this.poboxTitle), h("span", { class: "stzh-contactaddress__pobox-postal-code" }, this.poboxPostalCode, "\u00A0"), h("span", { class: "stzh-contactaddress__pobox-locality" }, this.poboxLocation)))));
|
|
51
|
+
}
|
|
52
|
+
static get is() { return "stzh-contactaddress"; }
|
|
53
|
+
static get encapsulation() { return "scoped"; }
|
|
54
|
+
static get originalStyleUrls() {
|
|
55
|
+
return {
|
|
56
|
+
"$": ["stzh-contactaddress.scss"]
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
static get styleUrls() {
|
|
60
|
+
return {
|
|
61
|
+
"$": ["stzh-contactaddress.css"]
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
static get properties() {
|
|
65
|
+
return {
|
|
66
|
+
"type": {
|
|
67
|
+
"type": "string",
|
|
68
|
+
"mutable": false,
|
|
69
|
+
"complexType": {
|
|
70
|
+
"original": "\"Organization\" | \"Person\"",
|
|
71
|
+
"resolved": "\"Organization\" | \"Person\"",
|
|
72
|
+
"references": {}
|
|
73
|
+
},
|
|
74
|
+
"required": false,
|
|
75
|
+
"optional": false,
|
|
76
|
+
"docs": {
|
|
77
|
+
"tags": [],
|
|
78
|
+
"text": "Type"
|
|
79
|
+
},
|
|
80
|
+
"attribute": "type",
|
|
81
|
+
"reflect": false,
|
|
82
|
+
"defaultValue": "\"Organization\""
|
|
83
|
+
},
|
|
84
|
+
"heading": {
|
|
85
|
+
"type": "string",
|
|
86
|
+
"mutable": false,
|
|
87
|
+
"complexType": {
|
|
88
|
+
"original": "string",
|
|
89
|
+
"resolved": "string",
|
|
90
|
+
"references": {}
|
|
91
|
+
},
|
|
92
|
+
"required": false,
|
|
93
|
+
"optional": false,
|
|
94
|
+
"docs": {
|
|
95
|
+
"tags": [],
|
|
96
|
+
"text": "Heading"
|
|
97
|
+
},
|
|
98
|
+
"attribute": "heading",
|
|
99
|
+
"reflect": false
|
|
100
|
+
},
|
|
101
|
+
"company": {
|
|
102
|
+
"type": "string",
|
|
103
|
+
"mutable": false,
|
|
104
|
+
"complexType": {
|
|
105
|
+
"original": "string",
|
|
106
|
+
"resolved": "string",
|
|
107
|
+
"references": {}
|
|
108
|
+
},
|
|
109
|
+
"required": false,
|
|
110
|
+
"optional": false,
|
|
111
|
+
"docs": {
|
|
112
|
+
"tags": [],
|
|
113
|
+
"text": "Company Title"
|
|
114
|
+
},
|
|
115
|
+
"attribute": "company",
|
|
116
|
+
"reflect": false
|
|
117
|
+
},
|
|
118
|
+
"name": {
|
|
119
|
+
"type": "string",
|
|
120
|
+
"mutable": false,
|
|
121
|
+
"complexType": {
|
|
122
|
+
"original": "string",
|
|
123
|
+
"resolved": "string",
|
|
124
|
+
"references": {}
|
|
125
|
+
},
|
|
126
|
+
"required": false,
|
|
127
|
+
"optional": false,
|
|
128
|
+
"docs": {
|
|
129
|
+
"tags": [],
|
|
130
|
+
"text": "Name"
|
|
131
|
+
},
|
|
132
|
+
"attribute": "name",
|
|
133
|
+
"reflect": false
|
|
134
|
+
},
|
|
135
|
+
"street": {
|
|
136
|
+
"type": "string",
|
|
137
|
+
"mutable": false,
|
|
138
|
+
"complexType": {
|
|
139
|
+
"original": "string",
|
|
140
|
+
"resolved": "string",
|
|
141
|
+
"references": {}
|
|
142
|
+
},
|
|
143
|
+
"required": false,
|
|
144
|
+
"optional": false,
|
|
145
|
+
"docs": {
|
|
146
|
+
"tags": [],
|
|
147
|
+
"text": "Street"
|
|
148
|
+
},
|
|
149
|
+
"attribute": "street",
|
|
150
|
+
"reflect": false
|
|
151
|
+
},
|
|
152
|
+
"streetInfo": {
|
|
153
|
+
"type": "string",
|
|
154
|
+
"mutable": false,
|
|
155
|
+
"complexType": {
|
|
156
|
+
"original": "string",
|
|
157
|
+
"resolved": "string",
|
|
158
|
+
"references": {}
|
|
159
|
+
},
|
|
160
|
+
"required": false,
|
|
161
|
+
"optional": false,
|
|
162
|
+
"docs": {
|
|
163
|
+
"tags": [],
|
|
164
|
+
"text": "Additional street info"
|
|
165
|
+
},
|
|
166
|
+
"attribute": "street-info",
|
|
167
|
+
"reflect": false
|
|
168
|
+
},
|
|
169
|
+
"postalCode": {
|
|
170
|
+
"type": "string",
|
|
171
|
+
"mutable": false,
|
|
172
|
+
"complexType": {
|
|
173
|
+
"original": "string",
|
|
174
|
+
"resolved": "string",
|
|
175
|
+
"references": {}
|
|
176
|
+
},
|
|
177
|
+
"required": false,
|
|
178
|
+
"optional": false,
|
|
179
|
+
"docs": {
|
|
180
|
+
"tags": [],
|
|
181
|
+
"text": "Postal code"
|
|
182
|
+
},
|
|
183
|
+
"attribute": "postal-code",
|
|
184
|
+
"reflect": false
|
|
185
|
+
},
|
|
186
|
+
"location": {
|
|
187
|
+
"type": "string",
|
|
188
|
+
"mutable": false,
|
|
189
|
+
"complexType": {
|
|
190
|
+
"original": "string",
|
|
191
|
+
"resolved": "string",
|
|
192
|
+
"references": {}
|
|
193
|
+
},
|
|
194
|
+
"required": false,
|
|
195
|
+
"optional": false,
|
|
196
|
+
"docs": {
|
|
197
|
+
"tags": [],
|
|
198
|
+
"text": "Location / city"
|
|
199
|
+
},
|
|
200
|
+
"attribute": "location",
|
|
201
|
+
"reflect": false
|
|
202
|
+
},
|
|
203
|
+
"numbers": {
|
|
204
|
+
"type": "string",
|
|
205
|
+
"mutable": false,
|
|
206
|
+
"complexType": {
|
|
207
|
+
"original": "ContactaddressNumber[] | string",
|
|
208
|
+
"resolved": "ContactaddressNumber[] | string",
|
|
209
|
+
"references": {
|
|
210
|
+
"ContactaddressNumber": {
|
|
211
|
+
"location": "import",
|
|
212
|
+
"path": "../../index"
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
},
|
|
216
|
+
"required": false,
|
|
217
|
+
"optional": false,
|
|
218
|
+
"docs": {
|
|
219
|
+
"tags": [],
|
|
220
|
+
"text": "Numbers\nArray of objects that can include the attributes `type` = `tel`|`fax`, `label` and `number`."
|
|
221
|
+
},
|
|
222
|
+
"attribute": "numbers",
|
|
223
|
+
"reflect": false,
|
|
224
|
+
"defaultValue": "[]"
|
|
225
|
+
},
|
|
226
|
+
"poBoxHeading": {
|
|
227
|
+
"type": "string",
|
|
228
|
+
"mutable": false,
|
|
229
|
+
"complexType": {
|
|
230
|
+
"original": "string",
|
|
231
|
+
"resolved": "string",
|
|
232
|
+
"references": {}
|
|
233
|
+
},
|
|
234
|
+
"required": false,
|
|
235
|
+
"optional": false,
|
|
236
|
+
"docs": {
|
|
237
|
+
"tags": [],
|
|
238
|
+
"text": "Post office box heading"
|
|
239
|
+
},
|
|
240
|
+
"attribute": "po-box-heading",
|
|
241
|
+
"reflect": false
|
|
242
|
+
},
|
|
243
|
+
"poboxTitle": {
|
|
244
|
+
"type": "string",
|
|
245
|
+
"mutable": false,
|
|
246
|
+
"complexType": {
|
|
247
|
+
"original": "string",
|
|
248
|
+
"resolved": "string",
|
|
249
|
+
"references": {}
|
|
250
|
+
},
|
|
251
|
+
"required": false,
|
|
252
|
+
"optional": false,
|
|
253
|
+
"docs": {
|
|
254
|
+
"tags": [],
|
|
255
|
+
"text": "Post office box title"
|
|
256
|
+
},
|
|
257
|
+
"attribute": "pobox-title",
|
|
258
|
+
"reflect": false
|
|
259
|
+
},
|
|
260
|
+
"poboxPostalCode": {
|
|
261
|
+
"type": "string",
|
|
262
|
+
"mutable": false,
|
|
263
|
+
"complexType": {
|
|
264
|
+
"original": "string",
|
|
265
|
+
"resolved": "string",
|
|
266
|
+
"references": {}
|
|
267
|
+
},
|
|
268
|
+
"required": false,
|
|
269
|
+
"optional": false,
|
|
270
|
+
"docs": {
|
|
271
|
+
"tags": [],
|
|
272
|
+
"text": "Post office box postal code"
|
|
273
|
+
},
|
|
274
|
+
"attribute": "pobox-postal-code",
|
|
275
|
+
"reflect": false
|
|
276
|
+
},
|
|
277
|
+
"poboxLocation": {
|
|
278
|
+
"type": "string",
|
|
279
|
+
"mutable": false,
|
|
280
|
+
"complexType": {
|
|
281
|
+
"original": "string",
|
|
282
|
+
"resolved": "string",
|
|
283
|
+
"references": {}
|
|
284
|
+
},
|
|
285
|
+
"required": false,
|
|
286
|
+
"optional": false,
|
|
287
|
+
"docs": {
|
|
288
|
+
"tags": [],
|
|
289
|
+
"text": "Post office box location / city"
|
|
290
|
+
},
|
|
291
|
+
"attribute": "pobox-location",
|
|
292
|
+
"reflect": false
|
|
293
|
+
},
|
|
294
|
+
"withBorder": {
|
|
295
|
+
"type": "boolean",
|
|
296
|
+
"mutable": false,
|
|
297
|
+
"complexType": {
|
|
298
|
+
"original": "boolean",
|
|
299
|
+
"resolved": "boolean",
|
|
300
|
+
"references": {}
|
|
301
|
+
},
|
|
302
|
+
"required": false,
|
|
303
|
+
"optional": false,
|
|
304
|
+
"docs": {
|
|
305
|
+
"tags": [],
|
|
306
|
+
"text": "Whether to display border or not"
|
|
307
|
+
},
|
|
308
|
+
"attribute": "with-border",
|
|
309
|
+
"reflect": false,
|
|
310
|
+
"defaultValue": "false"
|
|
311
|
+
}
|
|
312
|
+
};
|
|
313
|
+
}
|
|
314
|
+
static get elementRef() { return "element"; }
|
|
315
|
+
static get watchers() {
|
|
316
|
+
return [{
|
|
317
|
+
"propName": "numbers",
|
|
318
|
+
"methodName": "numbersWatcher"
|
|
319
|
+
}];
|
|
320
|
+
}
|
|
321
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
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/Contactaddress',
|
|
8
|
+
component: 'stzh-contactaddress',
|
|
9
|
+
parameters: {
|
|
10
|
+
docs: {
|
|
11
|
+
description: {
|
|
12
|
+
component: readme
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
design: {
|
|
16
|
+
type: 'figma',
|
|
17
|
+
url: getFigmaLink('contactaddress'),
|
|
18
|
+
allowFullscreen: true
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
decorators: [
|
|
22
|
+
withDesign
|
|
23
|
+
]
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
const Template = (args) => (
|
|
27
|
+
<stzh-contactaddress {...args}></stzh-contactaddress>
|
|
28
|
+
);
|
|
29
|
+
|
|
30
|
+
const numbers = `[
|
|
31
|
+
{
|
|
32
|
+
"type": "tel",
|
|
33
|
+
"label": "Phone",
|
|
34
|
+
"number": "+41 44 412 91 11"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"type": "fax",
|
|
38
|
+
"label": "Fax",
|
|
39
|
+
"number": "+41 44 412 91 11"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"type": "tel",
|
|
43
|
+
"label": "Service Desk",
|
|
44
|
+
"number": "+41 44 412 90 00"
|
|
45
|
+
}
|
|
46
|
+
]`;
|
|
47
|
+
|
|
48
|
+
export const OrganizationWithPobox = Template.bind({});
|
|
49
|
+
OrganizationWithPobox.args = {
|
|
50
|
+
'with-border': true,
|
|
51
|
+
type: 'Organization',
|
|
52
|
+
company: 'City Zürich<br> Organisation and IT',
|
|
53
|
+
street: 'Musterstrasse 1',
|
|
54
|
+
'postal-code': '8000',
|
|
55
|
+
location: 'Zürich',
|
|
56
|
+
'pobox-heading': 'Postadresse:',
|
|
57
|
+
'pobox-title': 'Postfach',
|
|
58
|
+
'pobox-postal-code': '8022',
|
|
59
|
+
'pobox-location': 'Zürich',
|
|
60
|
+
numbers
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
export const FurtherContactPerson = Template.bind({});
|
|
64
|
+
FurtherContactPerson.args = {
|
|
65
|
+
'with-border': true,
|
|
66
|
+
heading: 'Further Contact',
|
|
67
|
+
type: 'Person',
|
|
68
|
+
name: 'Hans Muster',
|
|
69
|
+
street: 'Musterstrasse 12',
|
|
70
|
+
'postal-code': '9000',
|
|
71
|
+
'location': 'Muster'
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export const FurtherContactOrganization = Template.bind({});
|
|
75
|
+
FurtherContactOrganization.args = {
|
|
76
|
+
'with-border': true,
|
|
77
|
+
heading: 'Further Contact',
|
|
78
|
+
type: 'Organization',
|
|
79
|
+
street: 'Musterstrasse 12',
|
|
80
|
+
'postal-code': '9000',
|
|
81
|
+
'location': 'Muster'
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export const MinimalOrganization = Template.bind({});
|
|
85
|
+
MinimalOrganization.args = {
|
|
86
|
+
'with-border': true,
|
|
87
|
+
type: 'Organization',
|
|
88
|
+
company: 'City Zürich<br> Organisation and IT',
|
|
89
|
+
street: 'Musterstrasse 12',
|
|
90
|
+
'postal-code': '8000',
|
|
91
|
+
location: 'Zürich',
|
|
92
|
+
numbers: `[
|
|
93
|
+
{
|
|
94
|
+
"type": "tel",
|
|
95
|
+
"label": "Phone",
|
|
96
|
+
"number": "+41 44 412 91 11"
|
|
97
|
+
}
|
|
98
|
+
]`
|
|
99
|
+
}
|
|
100
|
+
|
|
@@ -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,14 @@
|
|
|
98
101
|
border-bottom: 0.0625rem solid var(--stzh-base-border-color);
|
|
99
102
|
}
|
|
100
103
|
|
|
101
|
-
|
|
102
|
-
|
|
104
|
+
@media screen and (max-width: 599px) {
|
|
105
|
+
.stzh-datamessagelist {
|
|
106
|
+
margin-left: calc((100vw - 100% - var(--stzh-scrollbar-width, 0px)) / -2);
|
|
107
|
+
margin-right: calc((100vw - 100% - var(--stzh-scrollbar-width, 0px)) / -2);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
@media screen and (min-width: 600px) {
|
|
111
|
+
.stzh-datamessagelist {
|
|
112
|
+
border: 0.0625rem solid var(--stzh-base-border-color);
|
|
113
|
+
}
|
|
103
114
|
}
|
|
@@ -4,6 +4,9 @@
|
|
|
4
4
|
/*
|
|
5
5
|
* Base
|
|
6
6
|
*/
|
|
7
|
+
/**
|
|
8
|
+
* Flyingfocus
|
|
9
|
+
*/
|
|
7
10
|
/**
|
|
8
11
|
* Link
|
|
9
12
|
*/
|
|
@@ -183,11 +186,6 @@
|
|
|
183
186
|
line-height: var(--stzh-font-curve-p1-default-text-line-height, var(--stzh-font-milli-text-line-height));
|
|
184
187
|
letter-spacing: var(--stzh-font-curve-p1-default-text-letter-spacing);
|
|
185
188
|
color: var(--stzh-base-lead-color);
|
|
186
|
-
display: -webkit-box;
|
|
187
|
-
-webkit-box-orient: vertical;
|
|
188
|
-
-webkit-line-clamp: 2;
|
|
189
|
-
line-clamp: 2;
|
|
190
|
-
overflow: hidden;
|
|
191
189
|
}
|
|
192
190
|
@media screen and (min-width: 1024px) {
|
|
193
191
|
.stzh-datamessagelist-item__description {
|
|
@@ -196,12 +194,6 @@
|
|
|
196
194
|
letter-spacing: var(--stzh-font-curve-p1-medium-text-letter-spacing);
|
|
197
195
|
}
|
|
198
196
|
}
|
|
199
|
-
@media screen and (min-width: 1024px) {
|
|
200
|
-
.stzh-datamessagelist-item__description {
|
|
201
|
-
-webkit-line-clamp: 1;
|
|
202
|
-
line-clamp: 1;
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
197
|
.stzh-datamessagelist-item__meta-wrapper {
|
|
206
198
|
margin-top: var(--stzh-space-small);
|
|
207
199
|
}
|
|
@@ -75,7 +75,7 @@ export class StzhDatamessagelistItem {
|
|
|
75
75
|
"stzh-datamessagelist-item--is-unread": this.unread
|
|
76
76
|
};
|
|
77
77
|
return (h(Host, { role: "listitem" }, h("article", { class: classes }, h("div", { class: "stzh-datamessagelist-item__content" }, h("div", { class: "stzh-datamessagelist-item__text" }, h("h3", { class: "stzh-datamessagelist-item__heading" }, h("a", { class: "stzh-datamessagelist-item__heading-link", href: this.href, onClick: this.itemClick }, this.heading)), this.description &&
|
|
78
|
-
h("div", { class: "stzh-datamessagelist-item__description" }, this.description), this._meta && this._meta.length > 0 &&
|
|
78
|
+
h("div", { class: "stzh-datamessagelist-item__description" }, h("stzh-clamp", { lines: 2, linesMedium: 1 }, this.description)), this._meta && this._meta.length > 0 &&
|
|
79
79
|
h("div", { class: "stzh-datamessagelist-item__meta-wrapper" }, h("ul", { class: "stzh-datamessagelist-item__meta" }, this._meta.map((meta) => h("li", { class: "stzh-datamessagelist-item__meta-item" }, h("span", { class: "stzh-datamessagelist-item__meta-item-label" }, meta.label), h("span", { class: "stzh-datamessagelist-item__meta-item-value" }, meta.value)))))), this._loadingStatus &&
|
|
80
80
|
h("stzh-status", { class: "stzh-datamessagelist-item__status", label: this._loadingStatus.label, percent: this._loadingStatus.percent, type: this._loadingStatus.type, withLoadingbar: true }), this._tags && this._tags.length > 0 &&
|
|
81
81
|
h("div", { class: "stzh-datamessagelist-item__tags-wrapper" }, h("div", { class: "stzh-datamessagelist-item__tags" }, this._tags.map((tag) => h("stzh-chip", { class: "stzh-datamessagelist-item__tag", variant: "tag", size: "small", type: tag.type, icon: tag.icon, label: tag.label }))))), h("div", { class: "stzh-datamessagelist-item__actions" }, this.externalHref &&
|