@oiz/stzh-components 2.2.0-beta → 2.2.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/{animation-utils-cfa35ce7.js → animation-utils-54d784c2.js} +3 -0
- package/dist/cjs/{app-globals-f4ad4e99.js → app-globals-b6d82414.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/stzh-accordion-item.cjs.entry.js +5 -2
- package/dist/cjs/stzh-badge_3.cjs.entry.js +2 -2
- package/dist/cjs/stzh-calendar.cjs.entry.js +1 -1
- package/dist/cjs/stzh-card_3.cjs.entry.js +40 -10
- package/dist/cjs/stzh-checkbox.cjs.entry.js +1 -1
- package/dist/cjs/stzh-checkboxgroup.cjs.entry.js +1 -1
- package/dist/cjs/stzh-chip.cjs.entry.js +6 -5
- package/dist/cjs/stzh-components.cjs.js +2 -2
- package/dist/cjs/stzh-datalist_2.cjs.entry.js +1 -1
- package/dist/cjs/stzh-datamessagelist-item.cjs.entry.js +3 -2
- package/dist/cjs/stzh-datepicker_3.cjs.entry.js +2 -2
- package/dist/cjs/stzh-details.cjs.entry.js +4 -1
- package/dist/cjs/stzh-dialog.cjs.entry.js +4 -4
- package/dist/cjs/stzh-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/stzh-flyingfocus.cjs.entry.js +1 -1
- package/dist/cjs/stzh-ghettobox_2.cjs.entry.js +1 -1
- package/dist/cjs/stzh-input.cjs.entry.js +1 -1
- package/dist/cjs/stzh-link.cjs.entry.js +1 -1
- package/dist/cjs/stzh-menu_2.cjs.entry.js +1 -1
- package/dist/cjs/stzh-message.cjs.entry.js +1 -1
- package/dist/cjs/stzh-microsite-teaserlist.cjs.entry.js +1 -1
- package/dist/cjs/stzh-olmap.cjs.entry.js +1 -1
- package/dist/cjs/stzh-popover.cjs.entry.js +19 -5
- package/dist/cjs/stzh-progressbar-item.cjs.entry.js +1 -1
- package/dist/cjs/stzh-textandimage.cjs.entry.js +3 -1
- package/dist/cjs/stzh-toggle.cjs.entry.js +1 -1
- package/dist/cjs/stzh-tooltip.cjs.entry.js +28 -7
- package/dist/cjs/stzh-upload.cjs.entry.js +1 -1
- package/dist/cjs/stzh-vbz-linechip.cjs.entry.js +2 -1
- package/dist/collection/assets/i18n/de.json +9 -6
- package/dist/collection/assets/i18n/en.json +10 -7
- package/dist/collection/components/stzh-accordion/stzh-accordion.stories.js +12 -1
- package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.css +1 -0
- package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.js +3 -0
- package/dist/collection/components/stzh-button/stzh-button.css +1 -0
- package/dist/collection/components/stzh-button/stzh-button.stories.js +12 -12
- package/dist/collection/components/stzh-calendar/stzh-calendar.css +1 -0
- package/dist/collection/components/stzh-card/stzh-card.css +36 -0
- package/dist/collection/components/stzh-card/stzh-card.js +26 -4
- package/dist/collection/components/stzh-checkbox/stzh-checkbox.css +1 -0
- package/dist/collection/components/stzh-checkboxgroup/stzh-checkboxgroup.css +1 -0
- package/dist/collection/components/stzh-chip/stzh-chip.css +52 -4
- package/dist/collection/components/stzh-chip/stzh-chip.js +23 -5
- package/dist/collection/components/stzh-chip-select/stzh-chip-select.css +2 -0
- package/dist/collection/components/stzh-chip-select/stzh-chip-select.js +31 -4
- package/dist/collection/components/stzh-datalist-item/stzh-datalist-item.css +1 -0
- package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.css +11 -0
- package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.js +3 -2
- package/dist/collection/components/stzh-details/stzh-details.js +3 -0
- package/dist/collection/components/stzh-dialog/stzh-dialog.css +1 -0
- package/dist/collection/components/stzh-dialog/stzh-dialog.js +3 -3
- package/dist/collection/components/stzh-dropdown/stzh-dropdown.css +3 -0
- package/dist/collection/components/stzh-ghettobox/stzh-ghettobox.css +1 -0
- package/dist/collection/components/stzh-header/stzh-header.stories.js +1 -1
- package/dist/collection/components/stzh-icon/stzh-icon.js +1 -1
- package/dist/collection/components/stzh-input/stzh-input.css +1 -0
- package/dist/collection/components/stzh-link/stzh-link.css +1 -0
- package/dist/collection/components/stzh-menu-item/stzh-menu-item.css +1 -0
- package/dist/collection/components/stzh-message/stzh-message.css +1 -0
- package/dist/collection/components/stzh-microsite-teaserlist/stzh-microsite-teaserlist.js +1 -1
- package/dist/collection/components/stzh-olmap/stzh-olmap.js +1 -1
- package/dist/collection/components/stzh-pagebottom/stzh-pagebottom.stories.js +1 -1
- package/dist/collection/components/stzh-popover/stzh-popover.css +2 -0
- package/dist/collection/components/stzh-popover/stzh-popover.js +18 -4
- package/dist/collection/components/stzh-progressbar-item/stzh-progressbar-item.css +107 -6
- package/dist/collection/components/stzh-radio/stzh-radio.css +1 -0
- package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.css +1 -0
- package/dist/collection/components/stzh-textandimage/stzh-textandimage.css +38 -2
- package/dist/collection/components/stzh-textandimage/stzh-textandimage.js +20 -0
- package/dist/collection/components/stzh-toggle/stzh-toggle.css +1 -0
- package/dist/collection/components/stzh-tooltip/stzh-tooltip.css +1 -0
- package/dist/collection/components/stzh-tooltip/stzh-tooltip.js +27 -6
- package/dist/collection/components/stzh-upload/stzh-upload.css +1 -0
- package/dist/collection/components/stzh-vbz-linechip/stzh-vbz-linechip.js +2 -1
- package/dist/collection/pages/egov.stories.js +9 -9
- package/dist/collection/pages/example.stories.js +1 -1
- package/dist/collection/pages/meinkonto.stories.js +3 -3
- package/dist/collection/patterns/contact.stories.js +56 -30
- package/dist/collection/patterns/subpages.stories.js +5 -5
- package/dist/collection/utils/animation-utils.js +3 -0
- package/dist/components/animation-utils.js +3 -0
- package/dist/components/index.js +1 -1
- package/dist/components/stzh-accordion-item.js +4 -1
- package/dist/components/stzh-button2.js +1 -1
- package/dist/components/stzh-calendar2.js +1 -1
- package/dist/components/stzh-card2.js +9 -5
- package/dist/components/stzh-checkbox.js +1 -1
- package/dist/components/stzh-checkboxgroup.js +1 -1
- package/dist/components/stzh-chip-select2.js +32 -5
- package/dist/components/stzh-chip2.js +7 -5
- package/dist/components/stzh-datalist-item2.js +1 -1
- package/dist/components/stzh-datamessagelist-item.js +3 -2
- package/dist/components/stzh-details.js +3 -0
- package/dist/components/stzh-dialog.js +4 -4
- package/dist/components/stzh-dropdown2.js +1 -1
- package/dist/components/stzh-ghettobox2.js +1 -1
- package/dist/components/stzh-icon2.js +1 -1
- package/dist/components/stzh-input2.js +1 -1
- package/dist/components/stzh-link2.js +1 -1
- package/dist/components/stzh-menu-item2.js +1 -1
- package/dist/components/stzh-message.js +1 -1
- package/dist/components/stzh-microsite-teaserlist.js +1 -1
- package/dist/components/stzh-olmap.js +1 -1
- package/dist/components/stzh-popover2.js +18 -4
- package/dist/components/stzh-progressbar-item2.js +1 -1
- package/dist/components/stzh-radio2.js +1 -1
- package/dist/components/stzh-radiogroup2.js +1 -1
- package/dist/components/stzh-textandimage.js +4 -1
- package/dist/components/stzh-toggle.js +1 -1
- package/dist/components/stzh-tooltip2.js +27 -6
- package/dist/components/stzh-upload.js +1 -1
- package/dist/components/stzh-vbz-linechip2.js +2 -1
- package/dist/esm/{animation-utils-25c74e5b.js → animation-utils-e234a5f8.js} +3 -0
- package/dist/esm/{app-globals-17c2ba8d.js → app-globals-ff581b69.js} +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/stzh-accordion-item.entry.js +5 -2
- package/dist/esm/stzh-badge_3.entry.js +2 -2
- package/dist/esm/stzh-calendar.entry.js +1 -1
- package/dist/esm/stzh-card_3.entry.js +40 -10
- package/dist/esm/stzh-checkbox.entry.js +1 -1
- package/dist/esm/stzh-checkboxgroup.entry.js +1 -1
- package/dist/esm/stzh-chip.entry.js +6 -5
- package/dist/esm/stzh-components.js +2 -2
- package/dist/esm/stzh-datalist_2.entry.js +1 -1
- package/dist/esm/stzh-datamessagelist-item.entry.js +3 -2
- package/dist/esm/stzh-datepicker_3.entry.js +2 -2
- package/dist/esm/stzh-details.entry.js +4 -1
- package/dist/esm/stzh-dialog.entry.js +4 -4
- package/dist/esm/stzh-dropdown.entry.js +1 -1
- package/dist/esm/stzh-flyingfocus.entry.js +1 -1
- package/dist/esm/stzh-ghettobox_2.entry.js +1 -1
- package/dist/esm/stzh-input.entry.js +1 -1
- package/dist/esm/stzh-link.entry.js +1 -1
- package/dist/esm/stzh-menu_2.entry.js +1 -1
- package/dist/esm/stzh-message.entry.js +1 -1
- package/dist/esm/stzh-microsite-teaserlist.entry.js +1 -1
- package/dist/esm/stzh-olmap.entry.js +1 -1
- package/dist/esm/stzh-popover.entry.js +19 -5
- package/dist/esm/stzh-progressbar-item.entry.js +1 -1
- package/dist/esm/stzh-textandimage.entry.js +3 -1
- package/dist/esm/stzh-toggle.entry.js +1 -1
- package/dist/esm/stzh-tooltip.entry.js +28 -7
- package/dist/esm/stzh-upload.entry.js +1 -1
- package/dist/esm/stzh-vbz-linechip.entry.js +2 -1
- package/dist/esm-es5/animation-utils-e234a5f8.js +1 -0
- package/dist/esm-es5/app-globals-ff581b69.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/stzh-accordion-item.entry.js +1 -1
- package/dist/esm-es5/stzh-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 -1
- 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-components.js +1 -1
- package/dist/esm-es5/stzh-datalist_2.entry.js +1 -1
- package/dist/esm-es5/stzh-datamessagelist-item.entry.js +1 -1
- package/dist/esm-es5/stzh-datepicker_3.entry.js +1 -1
- package/dist/esm-es5/stzh-details.entry.js +1 -1
- 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-flyingfocus.entry.js +1 -1
- package/dist/esm-es5/stzh-ghettobox_2.entry.js +1 -1
- package/dist/esm-es5/stzh-input.entry.js +1 -1
- package/dist/esm-es5/stzh-link.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-microsite-teaserlist.entry.js +1 -1
- package/dist/esm-es5/stzh-olmap.entry.js +1 -1
- package/dist/esm-es5/stzh-popover.entry.js +1 -1
- package/dist/esm-es5/stzh-progressbar-item.entry.js +1 -1
- package/dist/esm-es5/stzh-textandimage.entry.js +1 -1
- 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/stzh-components/assets/i18n/de.json +9 -6
- package/dist/stzh-components/assets/i18n/en.json +10 -7
- package/dist/stzh-components/p-06d9b884.system.entry.js +1 -0
- package/dist/stzh-components/{p-1da26ca1.entry.js → p-0743d7fa.entry.js} +1 -1
- package/dist/stzh-components/p-0850a2e1.system.entry.js +1 -0
- package/dist/stzh-components/{p-2b5b1e4a.system.entry.js → p-0cc8bbd7.system.entry.js} +1 -1
- package/dist/stzh-components/p-12a2afe9.entry.js +1 -0
- package/dist/stzh-components/p-17645237.entry.js +1 -0
- package/dist/stzh-components/p-18cb06e2.entry.js +1 -0
- package/dist/stzh-components/p-1ae4d600.system.entry.js +1 -0
- package/dist/stzh-components/{p-037357fc.system.entry.js → p-21cad060.system.entry.js} +1 -1
- package/dist/stzh-components/{p-171c5795.system.entry.js → p-23829f75.system.entry.js} +1 -1
- package/dist/stzh-components/p-2bec3c77.entry.js +1 -0
- package/dist/stzh-components/p-2d340222.system.entry.js +1 -0
- package/dist/stzh-components/{p-2862cdd8.system.entry.js → p-3200f52a.system.entry.js} +1 -1
- package/dist/stzh-components/p-385dda6c.system.entry.js +1 -0
- package/dist/stzh-components/p-3ad67331.entry.js +1 -0
- package/dist/stzh-components/p-3e850dce.entry.js +1 -0
- package/dist/stzh-components/p-4704588f.system.entry.js +1 -0
- package/dist/stzh-components/{p-c26aec94.entry.js → p-4b369bac.entry.js} +1 -1
- package/dist/stzh-components/p-5011f10c.js +1 -0
- package/dist/stzh-components/{p-6267a327.system.js → p-5494f37d.system.js} +1 -1
- package/dist/stzh-components/p-557f07b5.system.entry.js +1 -0
- package/dist/stzh-components/p-5790eb4f.system.entry.js +1 -0
- package/dist/stzh-components/p-57a0f895.entry.js +1 -0
- package/dist/stzh-components/p-57f8596f.system.entry.js +1 -0
- package/dist/stzh-components/p-586a8b3f.entry.js +1 -0
- package/dist/stzh-components/p-63d94a57.system.entry.js +1 -0
- package/dist/stzh-components/{p-f37be5d7.entry.js → p-67c6f0f2.entry.js} +1 -1
- package/dist/stzh-components/{p-f59b3545.system.entry.js → p-6d009f56.system.entry.js} +1 -1
- package/dist/stzh-components/{p-213959b7.entry.js → p-76165227.entry.js} +1 -1
- package/dist/stzh-components/{p-3145cd2f.entry.js → p-7704b10b.entry.js} +1 -1
- package/dist/stzh-components/p-7941cf38.js +1 -0
- package/dist/stzh-components/{p-af63f1a4.entry.js → p-7b86c022.entry.js} +1 -1
- package/dist/stzh-components/p-7c26f80f.system.entry.js +1 -0
- package/dist/stzh-components/p-84b9f66f.system.entry.js +1 -0
- package/dist/stzh-components/p-853a1f92.entry.js +1 -0
- package/dist/stzh-components/p-8991d3bc.entry.js +1 -0
- package/dist/stzh-components/p-8fa2fb95.system.entry.js +1 -0
- package/dist/stzh-components/p-9072a490.system.entry.js +1 -0
- package/dist/stzh-components/p-912706bb.entry.js +1 -0
- package/dist/stzh-components/{p-68400ee7.entry.js → p-aae4655f.entry.js} +1 -1
- package/dist/stzh-components/p-ac1a6085.system.entry.js +1 -0
- package/dist/stzh-components/{p-a17754c7.system.entry.js → p-afedafa6.system.entry.js} +1 -1
- package/dist/stzh-components/{p-5c3c9ad4.entry.js → p-b3dc4913.entry.js} +1 -1
- package/dist/stzh-components/p-b937ae70.system.js +1 -0
- package/dist/stzh-components/p-c63aecaa.system.entry.js +1 -0
- package/dist/stzh-components/p-c87e12de.system.entry.js +1 -0
- package/dist/stzh-components/p-cfd22a5e.system.entry.js +1 -0
- package/dist/stzh-components/p-d240494d.entry.js +1 -0
- package/dist/stzh-components/p-d6ec20c8.system.entry.js +1 -0
- package/dist/stzh-components/{p-af0ab448.system.entry.js → p-d9bf09b1.system.entry.js} +1 -1
- package/dist/stzh-components/p-e016ceb9.entry.js +1 -0
- package/dist/stzh-components/{p-4c7e52aa.entry.js → p-e0f063ac.entry.js} +1 -1
- package/dist/stzh-components/{p-0b9dc96d.system.js → p-e32bc982.system.js} +1 -1
- package/dist/stzh-components/p-ea9ca52b.entry.js +1 -0
- package/dist/stzh-components/{p-34b45788.entry.js → p-ec7b6ce8.entry.js} +1 -1
- package/dist/stzh-components/p-ef3da23b.entry.js +1 -0
- package/dist/stzh-components/{p-3848d8ee.entry.js → p-f133eba2.entry.js} +1 -1
- package/dist/stzh-components/p-fdb906b9.system.entry.js +1 -0
- package/dist/stzh-components/{p-f5db6234.entry.js → p-fee6a938.entry.js} +1 -1
- package/dist/stzh-components/stzh-components.esm.js +1 -1
- package/dist/stzh-components/stzh-components.js +1 -1
- package/dist/types/components/stzh-datamessagelist-item/stzh-datamessagelist-item.localization.d.ts +1 -0
- package/dist/types/components/stzh-popover/stzh-popover.localization.d.ts +1 -0
- package/dist/types/components/stzh-tooltip/stzh-tooltip.localization.d.ts +1 -0
- package/dist/types/components.d.ts +26 -2
- package/dist/types/index.d.ts +5 -0
- package/dist/vscode-data.json +13 -1
- package/package.json +1 -1
- package/dist/esm-es5/animation-utils-25c74e5b.js +0 -1
- package/dist/esm-es5/app-globals-17c2ba8d.js +0 -1
- package/dist/stzh-components/p-02fd7470.entry.js +0 -1
- package/dist/stzh-components/p-04a45622.system.entry.js +0 -1
- package/dist/stzh-components/p-0b264a7a.entry.js +0 -1
- package/dist/stzh-components/p-1ca12032.system.entry.js +0 -1
- package/dist/stzh-components/p-1fe1169e.entry.js +0 -1
- package/dist/stzh-components/p-231e6e6a.system.entry.js +0 -1
- package/dist/stzh-components/p-2a5855f8.js +0 -1
- package/dist/stzh-components/p-31029226.entry.js +0 -1
- package/dist/stzh-components/p-311813bc.system.entry.js +0 -1
- package/dist/stzh-components/p-38f9cbf3.system.entry.js +0 -1
- package/dist/stzh-components/p-3905ca20.entry.js +0 -1
- package/dist/stzh-components/p-4228cd58.system.entry.js +0 -1
- package/dist/stzh-components/p-4bd7dafb.system.entry.js +0 -1
- package/dist/stzh-components/p-4cd9f5c7.system.entry.js +0 -1
- package/dist/stzh-components/p-55f6fa41.system.entry.js +0 -1
- package/dist/stzh-components/p-5b379647.system.entry.js +0 -1
- package/dist/stzh-components/p-65675e11.entry.js +0 -1
- package/dist/stzh-components/p-7684506e.system.entry.js +0 -1
- package/dist/stzh-components/p-7da446d5.js +0 -1
- package/dist/stzh-components/p-83830baa.system.entry.js +0 -1
- package/dist/stzh-components/p-84c86e4c.system.entry.js +0 -1
- package/dist/stzh-components/p-88cbd2c0.entry.js +0 -1
- package/dist/stzh-components/p-99f92c6d.system.entry.js +0 -1
- package/dist/stzh-components/p-a795868f.entry.js +0 -1
- package/dist/stzh-components/p-ab28e094.system.entry.js +0 -1
- package/dist/stzh-components/p-addc48e5.entry.js +0 -1
- package/dist/stzh-components/p-b0fe9349.entry.js +0 -1
- package/dist/stzh-components/p-c065387a.entry.js +0 -1
- package/dist/stzh-components/p-c42435be.entry.js +0 -1
- package/dist/stzh-components/p-cfc0bc2e.system.entry.js +0 -1
- package/dist/stzh-components/p-d1d5825d.entry.js +0 -1
- package/dist/stzh-components/p-d4405931.system.entry.js +0 -1
- package/dist/stzh-components/p-dce19efd.entry.js +0 -1
- package/dist/stzh-components/p-e2e54f09.system.js +0 -1
- package/dist/stzh-components/p-e71cd5cd.system.entry.js +0 -1
- package/dist/stzh-components/p-e72ca013.system.entry.js +0 -1
- package/dist/stzh-components/p-e812d35e.system.entry.js +0 -1
- package/dist/stzh-components/p-f792fc8f.entry.js +0 -1
|
@@ -118,6 +118,7 @@
|
|
|
118
118
|
-webkit-appearance: none;
|
|
119
119
|
-moz-appearance: none;
|
|
120
120
|
appearance: none;
|
|
121
|
+
font-family: inherit;
|
|
121
122
|
background-color: transparent;
|
|
122
123
|
border: none;
|
|
123
124
|
cursor: pointer;
|
|
@@ -127,12 +128,23 @@
|
|
|
127
128
|
color: var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));
|
|
128
129
|
border-color: var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));
|
|
129
130
|
}
|
|
131
|
+
@media (forced-colors: active), (-ms-high-contrast: active) {
|
|
132
|
+
.stzh-progressbar-item__button:hover .stzh-progressbar-item__number-block, .stzh-progressbar-item__button:focus .stzh-progressbar-item__number-block {
|
|
133
|
+
color: Highlight;
|
|
134
|
+
border-color: Highlight;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
130
137
|
.stzh-progressbar-item__button:hover .stzh-progressbar-item__number-block::after, .stzh-progressbar-item__button:focus .stzh-progressbar-item__number-block::after {
|
|
131
138
|
background-color: var(--stzh-color-primary8);
|
|
132
139
|
}
|
|
133
140
|
.stzh-progressbar-item__button:hover .stzh-progressbar-item__label-block, .stzh-progressbar-item__button:focus .stzh-progressbar-item__label-block {
|
|
134
141
|
color: var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));
|
|
135
142
|
}
|
|
143
|
+
@media (forced-colors: active), (-ms-high-contrast: active) {
|
|
144
|
+
.stzh-progressbar-item__button:hover .stzh-progressbar-item__label-block, .stzh-progressbar-item__button:focus .stzh-progressbar-item__label-block {
|
|
145
|
+
color: Highlight;
|
|
146
|
+
}
|
|
147
|
+
}
|
|
136
148
|
.stzh-progressbar-item__number-block {
|
|
137
149
|
font-family: var(--stzh-font-family-heavy);
|
|
138
150
|
font-weight: var(--stzh-font-weight-heavy);
|
|
@@ -181,6 +193,11 @@
|
|
|
181
193
|
z-index: -2;
|
|
182
194
|
overflow: hidden;
|
|
183
195
|
}
|
|
196
|
+
@media (forced-colors: active), (-ms-high-contrast: active) {
|
|
197
|
+
.stzh-progressbar-item__number-block::before {
|
|
198
|
+
background-color: CanvasText;
|
|
199
|
+
}
|
|
200
|
+
}
|
|
184
201
|
@media screen and (min-width: 600px) {
|
|
185
202
|
.stzh-progressbar-item__number-block::before {
|
|
186
203
|
top: 1.25rem;
|
|
@@ -224,6 +241,11 @@
|
|
|
224
241
|
transform: translate(-50%, -50%);
|
|
225
242
|
color: var(--stzh-color-primary, var(--stzh-color-zueriblue));
|
|
226
243
|
}
|
|
244
|
+
@media (forced-colors: active), (-ms-high-contrast: active) {
|
|
245
|
+
.stzh-progressbar-item__icon, .stzh-progressbar-item__user-icon, .stzh-progressbar-item__dotted-icon {
|
|
246
|
+
color: CanvasText;
|
|
247
|
+
}
|
|
248
|
+
}
|
|
227
249
|
.stzh-progressbar-item__user-icon {
|
|
228
250
|
--size: var(--stzh-icon-size-small);
|
|
229
251
|
color: currentColor;
|
|
@@ -233,6 +255,7 @@
|
|
|
233
255
|
-webkit-appearance: none;
|
|
234
256
|
-moz-appearance: none;
|
|
235
257
|
appearance: none;
|
|
258
|
+
font-family: inherit;
|
|
236
259
|
position: absolute;
|
|
237
260
|
top: 0.1875rem;
|
|
238
261
|
width: 1.6875rem;
|
|
@@ -247,9 +270,19 @@
|
|
|
247
270
|
.stzh-progressbar-item__dotted:hover, .stzh-progressbar-item__dotted:focus {
|
|
248
271
|
border-color: var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));
|
|
249
272
|
}
|
|
273
|
+
@media (forced-colors: active), (-ms-high-contrast: active) {
|
|
274
|
+
.stzh-progressbar-item__dotted:hover, .stzh-progressbar-item__dotted:focus {
|
|
275
|
+
border-color: Highlight;
|
|
276
|
+
}
|
|
277
|
+
}
|
|
250
278
|
.stzh-progressbar-item__dotted:hover::after, .stzh-progressbar-item__dotted:focus::after {
|
|
251
279
|
background-color: var(--stzh-color-primary8);
|
|
252
280
|
}
|
|
281
|
+
@media (forced-colors: active), (-ms-high-contrast: active) {
|
|
282
|
+
.stzh-progressbar-item__dotted:hover::after, .stzh-progressbar-item__dotted:focus::after {
|
|
283
|
+
background-color: Canvas;
|
|
284
|
+
}
|
|
285
|
+
}
|
|
253
286
|
@media screen and (min-width: 600px) {
|
|
254
287
|
.stzh-progressbar-item__dotted {
|
|
255
288
|
top: 0.3125rem;
|
|
@@ -260,6 +293,11 @@
|
|
|
260
293
|
.stzh-progressbar-item__dotted:hover .stzh-progressbar-item__dotted-icon, .stzh-progressbar-item__dotted:focus .stzh-progressbar-item__dotted-icon {
|
|
261
294
|
color: var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));
|
|
262
295
|
}
|
|
296
|
+
@media (forced-colors: active), (-ms-high-contrast: active) {
|
|
297
|
+
.stzh-progressbar-item__dotted:hover .stzh-progressbar-item__dotted-icon, .stzh-progressbar-item__dotted:focus .stzh-progressbar-item__dotted-icon {
|
|
298
|
+
color: Highlight;
|
|
299
|
+
}
|
|
300
|
+
}
|
|
263
301
|
.stzh-progressbar-item--first .stzh-progressbar-item__number-block::before, .stzh-progressbar-item--last .stzh-progressbar-item__number-block::before {
|
|
264
302
|
display: block;
|
|
265
303
|
}
|
|
@@ -278,31 +316,57 @@
|
|
|
278
316
|
right: calc((100% / var(--steps)) - (0.96875rem));
|
|
279
317
|
}
|
|
280
318
|
}
|
|
281
|
-
.stzh-progressbar-item--passed .stzh-progressbar-item__number-block {
|
|
282
|
-
background-color: var(--stzh-color-white);
|
|
283
|
-
border: solid 0.0625rem var(--stzh-color-primary, var(--stzh-color-zueriblue));
|
|
284
|
-
}
|
|
285
319
|
.stzh-progressbar-item--passed .stzh-progressbar-item__label-block {
|
|
286
320
|
font-family: var(--stzh-font-family-heavy);
|
|
287
321
|
font-weight: var(--stzh-font-weight-heavy);
|
|
288
322
|
font-style: normal;
|
|
289
323
|
color: var(--stzh-color-primary, var(--stzh-color-zueriblue));
|
|
290
324
|
}
|
|
291
|
-
.stzh-progressbar-item--passed .stzh-progressbar-
|
|
292
|
-
color: var(--stzh-color-
|
|
325
|
+
.stzh-progressbar-item--passed .stzh-progressbar-item__number-block {
|
|
326
|
+
background-color: var(--stzh-color-white);
|
|
327
|
+
border: solid 0.0625rem var(--stzh-color-primary, var(--stzh-color-zueriblue));
|
|
328
|
+
}
|
|
329
|
+
@media (forced-colors: active), (-ms-high-contrast: active) {
|
|
330
|
+
.stzh-progressbar-item--passed .stzh-progressbar-item__number-block {
|
|
331
|
+
background-color: Canvas;
|
|
332
|
+
border-color: CanvasText;
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
@media (forced-colors: active), (-ms-high-contrast: active) {
|
|
336
|
+
.stzh-progressbar-item--passed .stzh-progressbar-item__button:hover .stzh-progressbar-item__number-block, .stzh-progressbar-item--passed .stzh-progressbar-item__button:focus .stzh-progressbar-item__number-block {
|
|
337
|
+
border-color: Highlight;
|
|
338
|
+
}
|
|
293
339
|
}
|
|
294
340
|
.stzh-progressbar-item--passed .stzh-progressbar-item__number-block, .stzh-progressbar-item--passed .stzh-progressbar-item__button:hover .stzh-progressbar-item__number-block, .stzh-progressbar-item--passed .stzh-progressbar-item__button:focus .stzh-progressbar-item__number-block {
|
|
295
341
|
color: transparent;
|
|
296
342
|
}
|
|
343
|
+
@media (forced-colors: active), (-ms-high-contrast: active) {
|
|
344
|
+
.stzh-progressbar-item--passed .stzh-progressbar-item__number-block, .stzh-progressbar-item--passed .stzh-progressbar-item__button:hover .stzh-progressbar-item__number-block, .stzh-progressbar-item--passed .stzh-progressbar-item__button:focus .stzh-progressbar-item__number-block {
|
|
345
|
+
color: Canvas;
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
.stzh-progressbar-item--passed .stzh-progressbar-item__user-icon {
|
|
349
|
+
color: var(--stzh-color-primary, var(--stzh-color-zueriblue));
|
|
350
|
+
}
|
|
297
351
|
.stzh-progressbar-item--passed .stzh-progressbar-item__button:hover .stzh-progressbar-item__user-icon, .stzh-progressbar-item--passed .stzh-progressbar-item__button:focus .stzh-progressbar-item__user-icon {
|
|
298
352
|
color: var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));
|
|
299
353
|
}
|
|
354
|
+
@media (forced-colors: active), (-ms-high-contrast: active) {
|
|
355
|
+
.stzh-progressbar-item--passed .stzh-progressbar-item__button:hover .stzh-progressbar-item__user-icon, .stzh-progressbar-item--passed .stzh-progressbar-item__button:focus .stzh-progressbar-item__user-icon {
|
|
356
|
+
color: Highlight;
|
|
357
|
+
}
|
|
358
|
+
}
|
|
300
359
|
.stzh-progressbar-item--current .stzh-progressbar-item__label-block {
|
|
301
360
|
font-family: var(--stzh-font-family-heavy);
|
|
302
361
|
font-weight: var(--stzh-font-weight-heavy);
|
|
303
362
|
font-style: normal;
|
|
304
363
|
color: var(--stzh-color-primary, var(--stzh-color-zueriblue));
|
|
305
364
|
}
|
|
365
|
+
@media (forced-colors: active), (-ms-high-contrast: active) {
|
|
366
|
+
.stzh-progressbar-item--current .stzh-progressbar-item__label-block {
|
|
367
|
+
color: SelectedItem;
|
|
368
|
+
}
|
|
369
|
+
}
|
|
306
370
|
.stzh-progressbar-item--current .stzh-progressbar-item__label-block:hover {
|
|
307
371
|
text-decoration: none;
|
|
308
372
|
}
|
|
@@ -311,17 +375,49 @@
|
|
|
311
375
|
border: solid 0.0625rem var(--stzh-color-primary, var(--stzh-color-zueriblue));
|
|
312
376
|
color: var(--stzh-color-white);
|
|
313
377
|
}
|
|
378
|
+
@media (forced-colors: active), (-ms-high-contrast: active) {
|
|
379
|
+
.stzh-progressbar-item--current .stzh-progressbar-item__number-block {
|
|
380
|
+
color: SelectedItem;
|
|
381
|
+
border-color: SelectedItem;
|
|
382
|
+
background-color: Canvas;
|
|
383
|
+
}
|
|
384
|
+
}
|
|
314
385
|
.stzh-progressbar-item--current .stzh-progressbar-item__number-block::before {
|
|
315
386
|
display: block;
|
|
316
387
|
background-color: var(--stzh-color-primary, var(--stzh-color-zueriblue));
|
|
317
388
|
z-index: -1;
|
|
318
389
|
}
|
|
390
|
+
@media (forced-colors: active), (-ms-high-contrast: active) {
|
|
391
|
+
.stzh-progressbar-item--current .stzh-progressbar-item__number-block::before {
|
|
392
|
+
background-color: CanvasText;
|
|
393
|
+
}
|
|
394
|
+
}
|
|
319
395
|
.stzh-progressbar-item--current .stzh-progressbar-item__button:hover .stzh-progressbar-item__number-block, .stzh-progressbar-item--current .stzh-progressbar-item__button:focus .stzh-progressbar-item__number-block {
|
|
320
396
|
color: var(--stzh-color-white);
|
|
321
397
|
}
|
|
398
|
+
@media (forced-colors: active), (-ms-high-contrast: active) {
|
|
399
|
+
.stzh-progressbar-item--current .stzh-progressbar-item__button:hover .stzh-progressbar-item__number-block, .stzh-progressbar-item--current .stzh-progressbar-item__button:focus .stzh-progressbar-item__number-block {
|
|
400
|
+
color: Highlight;
|
|
401
|
+
}
|
|
402
|
+
}
|
|
322
403
|
.stzh-progressbar-item--current .stzh-progressbar-item__button:hover .stzh-progressbar-item__number-block::after, .stzh-progressbar-item--current .stzh-progressbar-item__button:focus .stzh-progressbar-item__number-block::after {
|
|
323
404
|
background-color: var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));
|
|
324
405
|
}
|
|
406
|
+
@media (forced-colors: active), (-ms-high-contrast: active) {
|
|
407
|
+
.stzh-progressbar-item--current .stzh-progressbar-item__button:hover .stzh-progressbar-item__number-block::after, .stzh-progressbar-item--current .stzh-progressbar-item__button:focus .stzh-progressbar-item__number-block::after {
|
|
408
|
+
background-color: Canvas;
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
@media (forced-colors: active), (-ms-high-contrast: active) {
|
|
412
|
+
.stzh-progressbar-item--current .stzh-progressbar-item__user-icon {
|
|
413
|
+
color: SelectedItem;
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
@media (forced-colors: active), (-ms-high-contrast: active) {
|
|
417
|
+
.stzh-progressbar-item--current .stzh-progressbar-item__button:hover .stzh-progressbar-item__icon, .stzh-progressbar-item--current .stzh-progressbar-item__button:focus .stzh-progressbar-item__icon, .stzh-progressbar-item--current .stzh-progressbar-item__button:hover .stzh-progressbar-item__user-icon, .stzh-progressbar-item--current .stzh-progressbar-item__button:focus .stzh-progressbar-item__user-icon {
|
|
418
|
+
color: Highlight;
|
|
419
|
+
}
|
|
420
|
+
}
|
|
325
421
|
.stzh-progressbar-item--dotted.stzh-progressbar-item--first .stzh-progressbar-item__number-block {
|
|
326
422
|
margin-bottom: 0;
|
|
327
423
|
}
|
|
@@ -364,4 +460,9 @@
|
|
|
364
460
|
.stzh-progressbar-item--first .stzh-progressbar-item__number-block::before {
|
|
365
461
|
background-color: var(--stzh-color-white);
|
|
366
462
|
z-index: 1;
|
|
463
|
+
}
|
|
464
|
+
@media (forced-colors: active), (-ms-high-contrast: active) {
|
|
465
|
+
.stzh-progressbar-item--first .stzh-progressbar-item__number-block::before {
|
|
466
|
+
background-color: Canvas;
|
|
467
|
+
}
|
|
367
468
|
}
|
|
@@ -121,6 +121,24 @@
|
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
123
|
|
|
124
|
+
@media screen and (min-width: 600px) {
|
|
125
|
+
:host([floating]:not([floating=false])) {
|
|
126
|
+
--col-left-width: 45%;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
@media screen and (min-width: 600px) {
|
|
131
|
+
:host([size=small][floating]:not([floating=false])) {
|
|
132
|
+
--col-left-width: 33%;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
@media screen and (min-width: 600px) {
|
|
137
|
+
:host([size=large][floating]:not([floating=false])) {
|
|
138
|
+
--col-left-width: 55%;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
124
142
|
:host ::slotted([slot=left]) {
|
|
125
143
|
margin-bottom: var(--stzh-space-xxxlarge);
|
|
126
144
|
}
|
|
@@ -130,12 +148,26 @@
|
|
|
130
148
|
}
|
|
131
149
|
}
|
|
132
150
|
|
|
133
|
-
:host([
|
|
151
|
+
:host([fullwidth]:not([fullwidth=false])) ::slotted([slot=left]) {
|
|
152
|
+
margin-bottom: var(--stzh-space-xxlarge);
|
|
153
|
+
}
|
|
154
|
+
@media screen and (min-width: 1024px) {
|
|
155
|
+
:host([fullwidth]:not([fullwidth=false])) ::slotted([slot=left]) {
|
|
156
|
+
margin-bottom: var(--stzh-space-xxxlarge);
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
@media screen and (min-width: 1260px) {
|
|
160
|
+
:host([fullwidth]:not([fullwidth=false])) ::slotted([slot=left]) {
|
|
161
|
+
margin-bottom: var(--stzh-space-xxxxlarge);
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
:host([floating]:not([floating=false]):not([fullwidth]:not([fullwidth=false]))) ::slotted([slot=left]) {
|
|
134
166
|
float: left;
|
|
135
167
|
width: 100%;
|
|
136
168
|
}
|
|
137
169
|
@media screen and (min-width: 600px) {
|
|
138
|
-
:host([floating]:not([floating=false])) ::slotted([slot=left]) {
|
|
170
|
+
:host([floating]:not([floating=false]):not([fullwidth]:not([fullwidth=false]))) ::slotted([slot=left]) {
|
|
139
171
|
width: calc(var(--col-left-width) - var(--stzh-space-large) / 2);
|
|
140
172
|
margin-right: var(--stzh-space-large);
|
|
141
173
|
}
|
|
@@ -146,6 +178,7 @@
|
|
|
146
178
|
flex-wrap: wrap;
|
|
147
179
|
justify-content: flex-start;
|
|
148
180
|
margin: 0 calc(var(--stzh-space-large) / -2);
|
|
181
|
+
/* Fullwidth variant */
|
|
149
182
|
/* Floating variant */
|
|
150
183
|
}
|
|
151
184
|
.stzh-textandimage__left, .stzh-textandimage__right {
|
|
@@ -162,6 +195,9 @@
|
|
|
162
195
|
width: calc(100% - var(--col-left-width));
|
|
163
196
|
}
|
|
164
197
|
}
|
|
198
|
+
.stzh-textandimage--is-fullwidth .stzh-textandimage__left, .stzh-textandimage--is-fullwidth .stzh-textandimage__right {
|
|
199
|
+
width: 100%;
|
|
200
|
+
}
|
|
165
201
|
.stzh-textandimage--is-floating .stzh-textandimage__left {
|
|
166
202
|
width: auto;
|
|
167
203
|
}
|
|
@@ -7,6 +7,7 @@ import { hasSlot } from "../../utils/utils";
|
|
|
7
7
|
export class StzhTextandimage {
|
|
8
8
|
constructor() {
|
|
9
9
|
this.floating = false;
|
|
10
|
+
this.fullwidth = false;
|
|
10
11
|
this.size = "default";
|
|
11
12
|
}
|
|
12
13
|
render() {
|
|
@@ -16,6 +17,7 @@ export class StzhTextandimage {
|
|
|
16
17
|
"stzh-textandimage": true,
|
|
17
18
|
"stzh-textandimage--has-left": leftSlotUsed,
|
|
18
19
|
"stzh-textandimage--has-right": rightSlotUsed,
|
|
20
|
+
"stzh-textandimage--is-fullwidth": this.fullwidth,
|
|
19
21
|
"stzh-textandimage--is-floating": this.floating,
|
|
20
22
|
[`stzh-textandimage--size-${this.size}`]: !!this.size
|
|
21
23
|
};
|
|
@@ -54,6 +56,24 @@ export class StzhTextandimage {
|
|
|
54
56
|
"reflect": true,
|
|
55
57
|
"defaultValue": "false"
|
|
56
58
|
},
|
|
59
|
+
"fullwidth": {
|
|
60
|
+
"type": "boolean",
|
|
61
|
+
"mutable": false,
|
|
62
|
+
"complexType": {
|
|
63
|
+
"original": "boolean",
|
|
64
|
+
"resolved": "boolean",
|
|
65
|
+
"references": {}
|
|
66
|
+
},
|
|
67
|
+
"required": false,
|
|
68
|
+
"optional": false,
|
|
69
|
+
"docs": {
|
|
70
|
+
"tags": [],
|
|
71
|
+
"text": "Whether display columns fullwidth on every breakpoint (not just mobile)"
|
|
72
|
+
},
|
|
73
|
+
"attribute": "fullwidth",
|
|
74
|
+
"reflect": true,
|
|
75
|
+
"defaultValue": "false"
|
|
76
|
+
},
|
|
57
77
|
"size": {
|
|
58
78
|
"type": "string",
|
|
59
79
|
"mutable": false,
|
|
@@ -169,6 +169,9 @@ export class StzhTooltip {
|
|
|
169
169
|
return await this.computePosition();
|
|
170
170
|
}
|
|
171
171
|
async openWatcher(newValue) {
|
|
172
|
+
if (!this.contentElement) {
|
|
173
|
+
return;
|
|
174
|
+
}
|
|
172
175
|
if (newValue) {
|
|
173
176
|
if (this.toggledByMethod) {
|
|
174
177
|
this.stzhOpen.emit({
|
|
@@ -224,7 +227,7 @@ export class StzhTooltip {
|
|
|
224
227
|
return this._trigger.indexOf(trigger) > -1;
|
|
225
228
|
}
|
|
226
229
|
async componentWillLoad() {
|
|
227
|
-
this.
|
|
230
|
+
this.id = `stzh-tooltip-${tooltipCounter++}`;
|
|
228
231
|
this.triggerWatcher(this.trigger);
|
|
229
232
|
if (!this.localization) {
|
|
230
233
|
this.localization = await fetchTranslations(this.element, "tooltip");
|
|
@@ -232,10 +235,27 @@ export class StzhTooltip {
|
|
|
232
235
|
}
|
|
233
236
|
componentDidRender() {
|
|
234
237
|
this.computePosition();
|
|
235
|
-
|
|
236
|
-
|
|
238
|
+
const isStzh = isStzhElement(this.triggerElement.firstElementChild);
|
|
239
|
+
if (this.hasTrigger("click")) {
|
|
237
240
|
this.triggerElement.firstElementChild
|
|
238
241
|
.setAttribute(isStzh ? "a11y-expanded" : "aria-expanded", this.open ? "true" : "false");
|
|
242
|
+
if ((isStzh && !this.triggerElement.firstElementChild.getAttribute("a11y-describedby"))
|
|
243
|
+
|| this.triggerElement.firstElementChild.getAttribute("aria-describedby")) {
|
|
244
|
+
this.triggerElement.firstElementChild
|
|
245
|
+
.setAttribute(isStzh ? "a11y-describedby" : "aria-describedby", `${this.id}-trigger-description`);
|
|
246
|
+
}
|
|
247
|
+
if ((isStzh && !this.triggerElement.firstElementChild.getAttribute("a11y-label"))
|
|
248
|
+
|| this.triggerElement.firstElementChild.getAttribute("aria-label")) {
|
|
249
|
+
this.triggerElement.firstElementChild
|
|
250
|
+
.setAttribute(isStzh ? "a11y-label" : "aria-label", this.label);
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
else {
|
|
254
|
+
if ((isStzh && !this.triggerElement.firstElementChild.getAttribute("a11y-describedby"))
|
|
255
|
+
|| this.triggerElement.firstElementChild.getAttribute("aria-describedby")) {
|
|
256
|
+
this.triggerElement.firstElementChild
|
|
257
|
+
.setAttribute(isStzh ? "a11y-describedby" : "aria-describedby", `${this.id}-content`);
|
|
258
|
+
}
|
|
239
259
|
}
|
|
240
260
|
if (this.trap) {
|
|
241
261
|
this.open ? this.trap.activate() : this.trap.deactivate();
|
|
@@ -294,8 +314,9 @@ export class StzhTooltip {
|
|
|
294
314
|
[`stzh-tooltip--open`]: this.open,
|
|
295
315
|
[`stzh-tooltip--placement-${this.computedPlacement}`]: !!this.computedPlacement
|
|
296
316
|
};
|
|
297
|
-
return (h(Host, null, h("div", { class: classes }, h("div", { class: "stzh-tooltip__trigger", ref: (el) => (this.triggerElement = el) }, h("slot", null)),
|
|
298
|
-
h("
|
|
317
|
+
return (h(Host, null, h("div", { class: classes }, h("div", { class: "stzh-tooltip__trigger", ref: (el) => (this.triggerElement = el) }, h("slot", null)), this.hasTrigger("click") &&
|
|
318
|
+
h("div", { class: "stzh-tooltip__vhidden", id: `${this.id}-trigger-description` }, this.localization.open), h("div", { class: "stzh-tooltip__content", id: `${this.id}-content`, ref: (el) => (this.contentElement = el), tabindex: "-1", "aria-labelledby": this.label ? `${this.id}-label` : null, "aria-hidden": this.open ? "false" : "true", onKeyDown: this.onEscKey, onMouseEnter: this.onMouseEnterTrigger, onMouseLeave: this.onMouseLeaveTrigger, onFocusin: this.onFocusTrigger, onFocusout: this.onBlurTrigger }, h("div", { class: "stzh-tooltip__arrow", ref: (el) => (this.arrowElement = el), innerHTML: Arrow }), this.label &&
|
|
319
|
+
h("h2", { id: `${this.id}-label`, class: "stzh-tooltip__vhidden" }, this.label), h("div", { class: "stzh-tooltip__content-slot" }, this.content ? this.content : h("slot", { name: "content" })), this.hasTrigger("click") &&
|
|
299
320
|
h("button", { class: "stzh-tooltip__close", onClick: () => this.hide(), type: "button" }, h("stzh-icon", { name: "close", class: "stzh-tooltip__icon" }), h("span", { class: "stzh-tooltip__vhidden" }, this.localization.close))))));
|
|
300
321
|
}
|
|
301
322
|
static get is() { return "stzh-tooltip"; }
|
|
@@ -484,7 +505,7 @@ export class StzhTooltip {
|
|
|
484
505
|
"mutable": false,
|
|
485
506
|
"complexType": {
|
|
486
507
|
"original": "StzhTooltipLocalizedText",
|
|
487
|
-
"resolved": "StzhLocaleComponent & { close: string; }",
|
|
508
|
+
"resolved": "StzhLocaleComponent & { open: string; close: string; }",
|
|
488
509
|
"references": {
|
|
489
510
|
"StzhTooltipLocalizedText": {
|
|
490
511
|
"location": "import",
|
|
@@ -26,7 +26,7 @@ const Template = (args) => (
|
|
|
26
26
|
<img
|
|
27
27
|
slot="logo"
|
|
28
28
|
src="media/logo/stzh-default.svg"
|
|
29
|
-
alt="Logo
|
|
29
|
+
alt="Logo City Zürich, go to homepage"
|
|
30
30
|
></img>
|
|
31
31
|
|
|
32
32
|
<nav slot="nav" id="anchorNavMeta">
|
|
@@ -100,16 +100,16 @@ const Template = (args) => (
|
|
|
100
100
|
</stzh-message>
|
|
101
101
|
|
|
102
102
|
<stzh-fieldset legend="Name, E-Mail and Password">
|
|
103
|
-
<stzh-
|
|
103
|
+
<stzh-radiogroup
|
|
104
104
|
show-marker
|
|
105
105
|
name="salutation"
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
106
|
+
legend="Salutation"
|
|
107
|
+
direction="horizontal"
|
|
108
|
+
required
|
|
109
|
+
>
|
|
110
|
+
<stzh-radio value="mrs">Mrs.</stzh-radio>
|
|
111
|
+
<stzh-radio value="mr">Mr</stzh-radio>
|
|
112
|
+
</stzh-radiogroup>
|
|
113
113
|
|
|
114
114
|
<stzh-input show-marker name="title" label="Title" description="Helptext"></stzh-input>
|
|
115
115
|
|
|
@@ -61,7 +61,7 @@ const TemplateServices = (args) => (
|
|
|
61
61
|
<img
|
|
62
62
|
slot="logo"
|
|
63
63
|
src="media/logo/stzh-default.svg"
|
|
64
|
-
alt="Logo
|
|
64
|
+
alt="Logo City Zürich, go to homepage"
|
|
65
65
|
></img>
|
|
66
66
|
|
|
67
67
|
<nav slot="nav" id="anchorNavMeta">
|
|
@@ -256,7 +256,7 @@ const TemplateMessages = (args) => (
|
|
|
256
256
|
<img
|
|
257
257
|
slot="logo"
|
|
258
258
|
src="media/logo/stzh-default.svg"
|
|
259
|
-
alt="Logo
|
|
259
|
+
alt="Logo City Zürich, go to homepage"
|
|
260
260
|
></img>
|
|
261
261
|
|
|
262
262
|
<nav slot="nav" id="anchorNavMeta">
|
|
@@ -518,7 +518,7 @@ const TemplateActivities = (args) => (
|
|
|
518
518
|
<img
|
|
519
519
|
slot="logo"
|
|
520
520
|
src="media/logo/stzh-default.svg"
|
|
521
|
-
alt="Logo
|
|
521
|
+
alt="Logo City Zürich, go to homepage"
|
|
522
522
|
></img>
|
|
523
523
|
|
|
524
524
|
<nav slot="nav" id="anchorNavMeta">
|
|
@@ -5,7 +5,9 @@ import { getFigmaLink } from '../../figma';
|
|
|
5
5
|
import {
|
|
6
6
|
OrganizationWithPobox as Contactaddress_OrganizationWithPobox,
|
|
7
7
|
FurtherContactOrganization as Contactaddress_FurtherContactOrganization,
|
|
8
|
-
WithImageAndAvailability as Contactaddress_WithImageAndAvailability
|
|
8
|
+
WithImageAndAvailability as Contactaddress_WithImageAndAvailability,
|
|
9
|
+
MinimalOrganization as Contactaddress_MinimalOrganization,
|
|
10
|
+
FurtherContactPerson as Contactaddress_FurtherContactPerson
|
|
9
11
|
} from '../components/stzh-contactaddress/stzh-contactaddress.stories';
|
|
10
12
|
|
|
11
13
|
import {
|
|
@@ -34,6 +36,55 @@ export default {
|
|
|
34
36
|
]
|
|
35
37
|
};
|
|
36
38
|
|
|
39
|
+
const Template = (args) => (
|
|
40
|
+
<div>
|
|
41
|
+
<stzh-heading level="2" with-border>Kontakt</stzh-heading>
|
|
42
|
+
<stzh-vspace curve="medium"></stzh-vspace>
|
|
43
|
+
|
|
44
|
+
<Contactaddress_OrganizationWithPobox {... {...Contactaddress_OrganizationWithPobox.args, 'with-border': false } }></Contactaddress_OrganizationWithPobox>
|
|
45
|
+
<stzh-vspace curve="small"></stzh-vspace>
|
|
46
|
+
|
|
47
|
+
<stzh-datalist>
|
|
48
|
+
<stzh-datalist-item value="Website" href="#"></stzh-datalist-item>
|
|
49
|
+
<stzh-details>
|
|
50
|
+
<stzh-datalist-item value="Kontaktformular"></stzh-datalist-item>
|
|
51
|
+
<Contactform {...Contactform.args} slot="content"></Contactform>
|
|
52
|
+
</stzh-details>
|
|
53
|
+
</stzh-datalist>
|
|
54
|
+
|
|
55
|
+
<stzh-vspace curve="medium"></stzh-vspace>
|
|
56
|
+
<stzh-olmap></stzh-olmap>
|
|
57
|
+
|
|
58
|
+
<stzh-vspace curve="medium"></stzh-vspace>
|
|
59
|
+
<Contactaddress_FurtherContactOrganization {... {...Contactaddress_FurtherContactOrganization.args, 'with-border': false } }></Contactaddress_FurtherContactOrganization>
|
|
60
|
+
<stzh-vspace curve="small"></stzh-vspace>
|
|
61
|
+
|
|
62
|
+
<stzh-datalist>
|
|
63
|
+
<stzh-datalist-item value="Website" href="#" target="_blank" rel="external nofollow"></stzh-datalist-item>
|
|
64
|
+
</stzh-datalist>
|
|
65
|
+
</div>
|
|
66
|
+
);
|
|
67
|
+
|
|
68
|
+
const TemplateFurtherContact = (args) => (
|
|
69
|
+
<div>
|
|
70
|
+
<stzh-heading level="2" with-border>Kontakt</stzh-heading>
|
|
71
|
+
<stzh-vspace curve="medium"></stzh-vspace>
|
|
72
|
+
|
|
73
|
+
<Contactaddress_MinimalOrganization {... {...Contactaddress_MinimalOrganization.args, 'with-border': false } }></Contactaddress_MinimalOrganization>
|
|
74
|
+
<stzh-vspace curve="small"></stzh-vspace>
|
|
75
|
+
|
|
76
|
+
<stzh-datalist>
|
|
77
|
+
<stzh-details>
|
|
78
|
+
<stzh-datalist-item value="Kontaktformular"></stzh-datalist-item>
|
|
79
|
+
<Contactform {...Contactform.args} slot="content"></Contactform>
|
|
80
|
+
</stzh-details>
|
|
81
|
+
</stzh-datalist>
|
|
82
|
+
|
|
83
|
+
<stzh-vspace curve="medium"></stzh-vspace>
|
|
84
|
+
<Contactaddress_FurtherContactPerson {... {...Contactaddress_FurtherContactPerson.args, 'with-border': false } }></Contactaddress_FurtherContactPerson>
|
|
85
|
+
</div>
|
|
86
|
+
);
|
|
87
|
+
|
|
37
88
|
const TemplateNew = (args) => (
|
|
38
89
|
<div>
|
|
39
90
|
<stzh-cspace>
|
|
@@ -80,39 +131,14 @@ const TemplateNew = (args) => (
|
|
|
80
131
|
</div>
|
|
81
132
|
);
|
|
82
133
|
|
|
83
|
-
const Template = (args) => (
|
|
84
|
-
<div>
|
|
85
|
-
<stzh-heading level="2" with-border>Kontakt</stzh-heading>
|
|
86
|
-
<stzh-vspace curve="medium"></stzh-vspace>
|
|
87
|
-
|
|
88
|
-
<Contactaddress_OrganizationWithPobox {... {...Contactaddress_OrganizationWithPobox.args, 'with-border': false } }></Contactaddress_OrganizationWithPobox>
|
|
89
|
-
<stzh-vspace curve="small"></stzh-vspace>
|
|
90
|
-
|
|
91
|
-
<stzh-datalist>
|
|
92
|
-
<stzh-datalist-item value="Website" href="#"></stzh-datalist-item>
|
|
93
|
-
<stzh-details>
|
|
94
|
-
<stzh-datalist-item value="Kontaktformular"></stzh-datalist-item>
|
|
95
|
-
<Contactform {...Contactform.args} slot="content"></Contactform>
|
|
96
|
-
</stzh-details>
|
|
97
|
-
</stzh-datalist>
|
|
98
|
-
|
|
99
|
-
<stzh-vspace curve="medium"></stzh-vspace>
|
|
100
|
-
<stzh-olmap></stzh-olmap>
|
|
101
|
-
|
|
102
|
-
<stzh-vspace curve="medium"></stzh-vspace>
|
|
103
|
-
<Contactaddress_FurtherContactOrganization {... {...Contactaddress_FurtherContactOrganization.args, 'with-border': false } }></Contactaddress_FurtherContactOrganization>
|
|
104
|
-
<stzh-vspace curve="small"></stzh-vspace>
|
|
105
|
-
|
|
106
|
-
<stzh-datalist>
|
|
107
|
-
<stzh-datalist-item value="Website" href="#" target="_blank" rel="external nofollow"></stzh-datalist-item>
|
|
108
|
-
</stzh-datalist>
|
|
109
|
-
</div>
|
|
110
|
-
);
|
|
111
|
-
|
|
112
134
|
export const Default = Template.bind({});
|
|
113
135
|
Default.args = {
|
|
114
136
|
};
|
|
115
137
|
|
|
138
|
+
export const FurtherContact = TemplateFurtherContact.bind({});
|
|
139
|
+
FurtherContact.args = {
|
|
140
|
+
};
|
|
141
|
+
|
|
116
142
|
export const New = TemplateNew.bind({});
|
|
117
143
|
New.args = {
|
|
118
144
|
};
|