@oiz/stzh-components 1.5.0-alpha → 2.0.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/{app-globals-3b6f75bd.js → app-globals-ec8cc33e.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/stzh-accordion-item.cjs.entry.js +33 -15
- package/dist/cjs/stzh-actionset.cjs.entry.js +156 -0
- package/dist/cjs/stzh-badge_3.cjs.entry.js +39 -8
- package/dist/cjs/stzh-card-list.cjs.entry.js +78 -0
- package/dist/cjs/stzh-card.cjs.entry.js +312 -0
- package/dist/cjs/stzh-chip-select.cjs.entry.js +52 -4
- package/dist/cjs/stzh-chip.cjs.entry.js +3 -1
- package/dist/cjs/stzh-components.cjs.js +2 -2
- package/dist/cjs/stzh-cspace.cjs.entry.js +1 -1
- package/dist/cjs/stzh-datalist.cjs.entry.js +74 -0
- package/dist/cjs/stzh-datamessagelist-item.cjs.entry.js +1 -1
- package/dist/cjs/stzh-datatable.cjs.entry.js +1 -1
- package/dist/cjs/stzh-datepicker_4.cjs.entry.js +5 -4
- package/dist/cjs/stzh-dialog.cjs.entry.js +1 -1
- package/dist/cjs/stzh-dropdown.cjs.entry.js +4 -6
- package/dist/cjs/stzh-ghettobox_2.cjs.entry.js +2 -2
- package/dist/cjs/stzh-heading.cjs.entry.js +1 -1
- package/dist/cjs/stzh-hspace.cjs.entry.js +1 -1
- package/dist/cjs/stzh-icon-sprite.cjs.entry.js +1 -1
- package/dist/cjs/stzh-input.cjs.entry.js +4 -5
- package/dist/cjs/stzh-link.cjs.entry.js +9 -5
- package/dist/cjs/stzh-menu_2.cjs.entry.js +6 -2
- package/dist/cjs/stzh-message.cjs.entry.js +1 -1
- package/dist/cjs/stzh-overlay.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pagetitle.cjs.entry.js +1 -1
- package/dist/cjs/stzh-popover.cjs.entry.js +30 -28
- package/dist/cjs/stzh-portal-mitwirken.cjs.entry.js +1 -1
- package/dist/cjs/stzh-saptcha.cjs.entry.js +1 -1
- package/dist/cjs/stzh-sortable.cjs.entry.js +20 -2
- package/dist/cjs/stzh-table.cjs.entry.js +1 -1
- package/dist/cjs/stzh-tooltip.cjs.entry.js +3 -1
- package/dist/cjs/stzh-upload.cjs.entry.js +47 -4
- package/dist/cjs/stzh-vbz-ticker.cjs.entry.js +1 -1
- package/dist/cjs/stzh-vspace.cjs.entry.js +1 -1
- package/dist/collection/assets/i18n/de.json +7 -2
- package/dist/collection/assets/i18n/en.json +7 -2
- package/dist/collection/assets/icons/mono/code-window.svg +3 -0
- package/dist/collection/assets/icons/mono/recycling-outline.svg +11 -0
- package/dist/collection/assets/icons/mono/recycling.svg +10 -0
- package/dist/collection/assets/icons/mono/smartphone.svg +10 -0
- package/dist/collection/assets/icons/mono/target.svg +11 -0
- package/dist/collection/collection-manifest.json +4 -2
- package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.css +34 -8
- package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.js +123 -14
- package/dist/collection/components/stzh-accordion-item/stzh-accordion-item.stories.js +9 -0
- package/dist/collection/components/stzh-actionset/stzh-actionset.css +147 -0
- package/dist/collection/components/stzh-actionset/stzh-actionset.js +343 -0
- package/dist/collection/components/{stzh-servicecard-list/stzh-servicecard-list.localization.js → stzh-actionset/stzh-actionset.localization.js} +0 -0
- package/dist/collection/components/stzh-actionset/stzh-actionset.stories.js +72 -0
- package/dist/collection/components/stzh-badge/stzh-badge.css +22 -2
- package/dist/collection/components/stzh-badge/stzh-badge.js +25 -1
- package/dist/collection/components/stzh-button/stzh-button.css +66 -0
- package/dist/collection/components/stzh-button/stzh-button.js +141 -7
- package/dist/collection/components/stzh-button/stzh-button.stories.js +1 -1
- package/dist/collection/components/stzh-card/stzh-card.css +396 -0
- package/dist/collection/components/stzh-card/stzh-card.js +771 -0
- package/dist/collection/components/stzh-card/stzh-card.localization.js +1 -0
- package/dist/collection/components/stzh-card/stzh-card.stories.js +134 -0
- package/dist/collection/components/{stzh-servicecard-list/stzh-servicecard-list.css → stzh-card-list/stzh-card-list.css} +9 -9
- package/dist/collection/components/{stzh-servicecard-list/stzh-servicecard-list.js → stzh-card-list/stzh-card-list.js} +61 -60
- package/dist/collection/components/{stzh-servicecard/stzh-servicecard.localization.js → stzh-card-list/stzh-card-list.localization.js} +0 -0
- package/dist/collection/components/stzh-card-list/stzh-card-list.stories.js +132 -0
- package/dist/collection/components/stzh-chip/stzh-chip.js +38 -1
- package/dist/collection/components/stzh-chip-select/stzh-chip-select.css +80 -0
- package/dist/collection/components/stzh-chip-select/stzh-chip-select.js +213 -3
- package/dist/collection/components/stzh-cspace/stzh-cspace.css +96 -178
- package/dist/collection/components/stzh-datalist/stzh-datalist.css +621 -0
- package/dist/collection/components/stzh-datalist/stzh-datalist.js +237 -0
- package/dist/collection/components/stzh-datalist/stzh-datalist.stories.js +66 -0
- package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.css +3 -8
- package/dist/collection/components/stzh-datatable/stzh-datatable.css +5 -0
- package/dist/collection/components/stzh-datepicker/stzh-datepicker.js +1 -21
- package/dist/collection/components/stzh-dialog/stzh-dialog.css +11 -20
- package/dist/collection/components/stzh-dropdown/stzh-dropdown.css +3 -3
- package/dist/collection/components/stzh-dropdown/stzh-dropdown.js +7 -26
- package/dist/collection/components/stzh-ghettobox/stzh-ghettobox.css +16 -16
- package/dist/collection/components/stzh-heading/stzh-heading.css +5 -15
- package/dist/collection/components/stzh-hspace/stzh-hspace.css +19 -24
- package/dist/collection/components/stzh-icon-sprite/assets/svgsprites/symbol/sprite.symbol.html +93 -28
- package/dist/collection/components/stzh-icon-sprite/assets/svgsprites/symbol/svg/sprite.symbol.svg +1 -1
- package/dist/collection/components/stzh-input/stzh-input.css +5 -5
- package/dist/collection/components/stzh-input/stzh-input.js +3 -24
- package/dist/collection/components/stzh-link/stzh-link.css +5 -0
- package/dist/collection/components/stzh-link/stzh-link.js +46 -6
- package/dist/collection/components/stzh-menu-item/stzh-menu-item.js +42 -2
- package/dist/collection/components/stzh-message/stzh-message.css +5 -0
- package/dist/collection/components/stzh-overlay/stzh-overlay.css +5 -1
- package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.css +3 -8
- package/dist/collection/components/stzh-popover/stzh-popover.js +52 -32
- package/dist/collection/components/stzh-portal-mitwirken/stzh-portal-mitwirken.css +519 -338
- package/dist/collection/components/stzh-radio/stzh-radio.css +2 -2
- package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.js +4 -3
- package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.stories.js +3 -0
- package/dist/collection/components/stzh-richtext/stzh-richtext.css +233 -129
- package/dist/collection/components/stzh-richtext/stzh-richtext.stories.js +19 -0
- package/dist/collection/components/stzh-saptcha/stzh-saptcha.css +8 -8
- package/dist/collection/components/stzh-sortable/stzh-sortable.css +12 -6
- package/dist/collection/components/stzh-sortable/stzh-sortable.js +40 -1
- package/dist/collection/components/stzh-sortable/stzh-sortable.stories.js +1 -1
- package/dist/collection/components/stzh-table/stzh-table.css +5 -0
- package/dist/collection/components/stzh-tooltip/stzh-tooltip.js +21 -1
- package/dist/collection/components/stzh-upload/stzh-upload.css +16 -7
- package/dist/collection/components/stzh-upload/stzh-upload.js +46 -3
- package/dist/collection/components/stzh-upload/stzh-upload.stories.js +1 -1
- package/dist/collection/components/stzh-vbz-ticker/stzh-vbz-ticker.css +2 -7
- package/dist/collection/components/stzh-vspace/stzh-vspace.css +19 -24
- package/dist/collection/pages/meinkonto.stories.js +93 -88
- package/dist/components/index.d.ts +4 -2
- package/dist/components/index.js +5 -3
- package/dist/components/stzh-accordion-item.js +51 -16
- package/dist/components/{stzh-servicecard.d.ts → stzh-actionset.d.ts} +4 -4
- package/dist/components/stzh-actionset.js +6 -0
- package/dist/components/stzh-actionset2.js +219 -0
- package/dist/components/stzh-badge2.js +10 -3
- package/dist/components/stzh-button2.js +36 -6
- package/dist/components/{stzh-servicecard-list.d.ts → stzh-card-list.d.ts} +4 -4
- package/dist/components/stzh-card-list.js +121 -0
- package/dist/components/stzh-card.d.ts +11 -0
- package/dist/components/stzh-card.js +393 -0
- package/dist/components/stzh-chip-select.js +63 -6
- package/dist/components/stzh-chip2.js +5 -1
- package/dist/components/stzh-cspace.js +1 -1
- package/dist/components/stzh-datalist.d.ts +11 -0
- package/dist/components/stzh-datalist.js +113 -0
- package/dist/components/stzh-datamessagelist-item.js +1 -1
- package/dist/components/stzh-datatable.js +1 -1
- package/dist/components/stzh-datepicker2.js +1 -2
- package/dist/components/stzh-dialog.js +1 -1
- package/dist/components/stzh-dropdown2.js +4 -7
- package/dist/components/stzh-ghettobox2.js +1 -1
- package/dist/components/stzh-heading2.js +1 -1
- package/dist/components/stzh-hspace.js +1 -1
- package/dist/components/stzh-icon-sprite.js +1 -1
- package/dist/components/stzh-input2.js +4 -6
- package/dist/components/stzh-link2.js +11 -5
- package/dist/components/stzh-menu-item2.js +8 -2
- package/dist/components/stzh-message.js +1 -1
- package/dist/components/stzh-overlay.js +1 -1
- package/dist/components/stzh-pagetitle.js +1 -1
- package/dist/components/stzh-popover2.js +31 -28
- package/dist/components/stzh-portal-mitwirken.js +1 -1
- package/dist/components/stzh-radio2.js +1 -1
- package/dist/components/stzh-radiogroup2.js +3 -2
- package/dist/components/stzh-richtext2.js +1 -1
- package/dist/components/stzh-saptcha.js +1 -1
- package/dist/components/stzh-sortable2.js +20 -2
- package/dist/components/stzh-table.js +1 -1
- package/dist/components/stzh-tooltip2.js +4 -1
- package/dist/components/stzh-upload.js +47 -4
- package/dist/components/stzh-vbz-ticker.js +1 -1
- package/dist/components/stzh-vspace.js +1 -1
- package/dist/esm/{app-globals-c42494e9.js → app-globals-e66420b3.js} +1 -1
- package/dist/esm/{index-0e6d34c6.js → index-84f71a43.js} +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/stzh-accordion-item.entry.js +34 -16
- package/dist/esm/stzh-accordion.entry.js +1 -1
- package/dist/esm/stzh-actions.entry.js +1 -1
- package/dist/esm/stzh-actionset.entry.js +152 -0
- package/dist/esm/stzh-appnav.entry.js +1 -1
- package/dist/esm/stzh-appointments.entry.js +1 -1
- package/dist/esm/stzh-badge_3.entry.js +40 -9
- package/dist/esm/stzh-calendar.entry.js +1 -1
- package/dist/esm/stzh-card-list.entry.js +74 -0
- package/dist/esm/stzh-card.entry.js +308 -0
- package/dist/esm/stzh-cell.entry.js +1 -1
- package/dist/esm/stzh-checkbox.entry.js +2 -2
- package/dist/esm/stzh-checkboxgroup.entry.js +2 -2
- package/dist/esm/stzh-chip-select.entry.js +53 -5
- package/dist/esm/stzh-chip.entry.js +4 -2
- package/dist/esm/stzh-components.js +3 -3
- package/dist/esm/stzh-container.entry.js +1 -1
- package/dist/esm/stzh-cspace.entry.js +2 -2
- package/dist/esm/stzh-datalist.entry.js +70 -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 +2 -2
- package/dist/esm/stzh-datepicker_4.entry.js +7 -6
- package/dist/esm/stzh-dialog.entry.js +2 -2
- package/dist/esm/stzh-dropdown.entry.js +6 -8
- package/dist/esm/stzh-fieldset.entry.js +1 -1
- package/dist/esm/stzh-figure.entry.js +1 -1
- package/dist/esm/stzh-flyingfocus.entry.js +1 -1
- package/dist/esm/stzh-footer.entry.js +1 -1
- 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-hr.entry.js +1 -1
- package/dist/esm/stzh-hspace.entry.js +2 -2
- package/dist/esm/stzh-icon-sprite.entry.js +2 -2
- package/dist/esm/{stzh-input-description-da7b0e98.js → stzh-input-description-8c477f97.js} +1 -1
- package/dist/esm/stzh-input.entry.js +6 -7
- package/dist/esm/stzh-link.entry.js +10 -6
- package/dist/esm/stzh-list-item.entry.js +1 -1
- package/dist/esm/stzh-list.entry.js +1 -1
- package/dist/esm/stzh-loader.entry.js +1 -1
- package/dist/esm/stzh-loadingbar.entry.js +1 -1
- package/dist/esm/stzh-menu_2.entry.js +7 -3
- package/dist/esm/stzh-message.entry.js +2 -2
- package/dist/esm/stzh-metanav.entry.js +1 -1
- package/dist/esm/stzh-overlay.entry.js +2 -2
- package/dist/esm/stzh-page-skiplinks.entry.js +1 -1
- package/dist/esm/stzh-pagetitle.entry.js +2 -2
- package/dist/esm/stzh-popover.entry.js +31 -29
- package/dist/esm/stzh-portal-mitwirken.entry.js +2 -2
- package/dist/esm/stzh-progressbar-item.entry.js +1 -1
- package/dist/esm/stzh-progressbar.entry.js +1 -1
- package/dist/esm/stzh-readspeaker.entry.js +1 -1
- package/dist/esm/stzh-row.entry.js +1 -1
- package/dist/esm/stzh-saptcha.entry.js +2 -2
- package/dist/esm/stzh-section.entry.js +1 -1
- package/dist/esm/stzh-skiplink.entry.js +1 -1
- package/dist/esm/stzh-sortable.entry.js +21 -3
- package/dist/esm/stzh-status.entry.js +1 -1
- package/dist/esm/stzh-table.entry.js +2 -2
- package/dist/esm/stzh-toggle.entry.js +2 -2
- package/dist/esm/stzh-tooltip.entry.js +4 -2
- package/dist/esm/stzh-upload.entry.js +49 -6
- package/dist/esm/stzh-vbz-linechip.entry.js +1 -1
- package/dist/esm/stzh-vbz-majorticker.entry.js +1 -1
- package/dist/esm/stzh-vbz-ticker.entry.js +2 -2
- package/dist/esm/stzh-visuallyhidden.entry.js +1 -1
- package/dist/esm/stzh-vspace.entry.js +2 -2
- package/dist/esm-es5/app-globals-e66420b3.js +1 -0
- package/dist/esm-es5/{index-0e6d34c6.js → index-84f71a43.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/stzh-accordion-item.entry.js +1 -1
- package/dist/esm-es5/stzh-accordion.entry.js +1 -1
- package/dist/esm-es5/stzh-actions.entry.js +1 -1
- package/dist/esm-es5/stzh-actionset.entry.js +1 -0
- package/dist/esm-es5/stzh-appnav.entry.js +1 -1
- package/dist/esm-es5/stzh-appointments.entry.js +1 -1
- package/dist/esm-es5/stzh-badge_3.entry.js +1 -1
- package/dist/esm-es5/stzh-calendar.entry.js +1 -1
- package/dist/esm-es5/stzh-card-list.entry.js +1 -0
- package/dist/esm-es5/stzh-card.entry.js +1 -0
- package/dist/esm-es5/stzh-cell.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-select.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-container.entry.js +1 -1
- package/dist/esm-es5/stzh-cspace.entry.js +1 -1
- package/dist/esm-es5/stzh-datalist.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 +2 -2
- package/dist/esm-es5/stzh-datepicker_4.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-fieldset.entry.js +1 -1
- package/dist/esm-es5/stzh-figure.entry.js +1 -1
- package/dist/esm-es5/stzh-flyingfocus.entry.js +1 -1
- package/dist/esm-es5/stzh-footer.entry.js +1 -1
- package/dist/esm-es5/stzh-ghettobox_2.entry.js +1 -1
- package/dist/esm-es5/stzh-header.entry.js +1 -1
- package/dist/esm-es5/stzh-heading.entry.js +1 -1
- package/dist/esm-es5/stzh-hr.entry.js +1 -1
- package/dist/esm-es5/stzh-hspace.entry.js +1 -1
- package/dist/esm-es5/stzh-icon-sprite.entry.js +1 -1
- package/dist/esm-es5/{stzh-input-description-da7b0e98.js → stzh-input-description-8c477f97.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-list-item.entry.js +1 -1
- package/dist/esm-es5/stzh-list.entry.js +1 -1
- package/dist/esm-es5/stzh-loader.entry.js +1 -1
- package/dist/esm-es5/stzh-loadingbar.entry.js +1 -1
- package/dist/esm-es5/stzh-menu_2.entry.js +1 -1
- package/dist/esm-es5/stzh-message.entry.js +1 -1
- package/dist/esm-es5/stzh-metanav.entry.js +1 -1
- package/dist/esm-es5/stzh-overlay.entry.js +1 -1
- package/dist/esm-es5/stzh-page-skiplinks.entry.js +1 -1
- package/dist/esm-es5/stzh-pagetitle.entry.js +1 -1
- package/dist/esm-es5/stzh-popover.entry.js +1 -1
- package/dist/esm-es5/stzh-portal-mitwirken.entry.js +1 -1
- package/dist/esm-es5/stzh-progressbar-item.entry.js +1 -1
- package/dist/esm-es5/stzh-progressbar.entry.js +1 -1
- package/dist/esm-es5/stzh-readspeaker.entry.js +1 -1
- package/dist/esm-es5/stzh-row.entry.js +1 -1
- package/dist/esm-es5/stzh-saptcha.entry.js +1 -1
- package/dist/esm-es5/stzh-section.entry.js +1 -1
- package/dist/esm-es5/stzh-skiplink.entry.js +1 -1
- package/dist/esm-es5/stzh-sortable.entry.js +2 -2
- package/dist/esm-es5/stzh-status.entry.js +1 -1
- package/dist/esm-es5/stzh-table.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/esm-es5/stzh-vbz-linechip.entry.js +1 -1
- package/dist/esm-es5/stzh-vbz-majorticker.entry.js +1 -1
- package/dist/esm-es5/stzh-vbz-ticker.entry.js +1 -1
- package/dist/esm-es5/stzh-visuallyhidden.entry.js +1 -1
- package/dist/esm-es5/stzh-vspace.entry.js +1 -1
- package/dist/stzh-components/assets/i18n/de.json +7 -2
- package/dist/stzh-components/assets/i18n/en.json +7 -2
- package/dist/stzh-components/assets/icons/mono/code-window.svg +3 -0
- package/dist/stzh-components/assets/icons/mono/recycling-outline.svg +11 -0
- package/dist/stzh-components/assets/icons/mono/recycling.svg +10 -0
- package/dist/stzh-components/assets/icons/mono/smartphone.svg +10 -0
- package/dist/stzh-components/assets/icons/mono/target.svg +11 -0
- package/dist/stzh-components/assets/svgsprites/symbol/sprite.symbol.html +93 -28
- package/dist/stzh-components/assets/svgsprites/symbol/svg/sprite.symbol.svg +1 -1
- package/dist/stzh-components/{p-32988d74.entry.js → p-001b7d10.entry.js} +1 -1
- package/dist/stzh-components/{p-11d0c8f3.entry.js → p-03ea86bd.entry.js} +1 -1
- package/dist/stzh-components/p-051bc2a8.entry.js +1 -0
- package/dist/stzh-components/p-0711e511.entry.js +1 -0
- package/dist/stzh-components/p-073c89b1.system.entry.js +1 -0
- package/dist/stzh-components/{p-0837657c.entry.js → p-08a564af.entry.js} +1 -1
- package/dist/stzh-components/{p-8db4279d.system.entry.js → p-0bbbbe85.system.entry.js} +1 -1
- package/dist/stzh-components/{p-87ab53c4.system.entry.js → p-0fc06049.system.entry.js} +1 -1
- package/dist/stzh-components/p-0fc83964.system.entry.js +1 -0
- package/dist/stzh-components/{p-08d4ed80.entry.js → p-13b3500e.entry.js} +1 -1
- package/dist/stzh-components/{p-f1a58a7c.system.entry.js → p-1440163c.system.entry.js} +1 -1
- package/dist/stzh-components/{p-65444117.system.entry.js → p-17c6c1db.system.entry.js} +1 -1
- package/dist/stzh-components/p-18958371.entry.js +1 -0
- package/dist/stzh-components/{p-b34774e7.entry.js → p-190de4de.entry.js} +1 -1
- package/dist/stzh-components/{p-b2c8c31e.system.entry.js → p-19bff884.system.entry.js} +1 -1
- package/dist/stzh-components/p-20ef4a20.system.entry.js +1 -0
- package/dist/stzh-components/{p-346e26f2.system.entry.js → p-21566d65.system.entry.js} +1 -1
- package/dist/stzh-components/{p-debb00e6.entry.js → p-216577b4.entry.js} +1 -1
- package/dist/stzh-components/p-22701389.system.entry.js +1 -0
- package/dist/stzh-components/p-252d3178.entry.js +1 -0
- package/dist/stzh-components/{p-6edd58a4.system.entry.js → p-27fd6c6f.system.entry.js} +1 -1
- package/dist/stzh-components/{p-fba76dba.entry.js → p-29427863.entry.js} +1 -1
- package/dist/stzh-components/{p-d8471675.entry.js → p-2b338050.entry.js} +1 -1
- package/dist/stzh-components/p-2ca4a828.system.entry.js +1 -0
- package/dist/stzh-components/p-2cf1ae40.system.entry.js +1 -0
- package/dist/stzh-components/{p-fa8651dd.entry.js → p-2e559062.entry.js} +1 -1
- package/dist/stzh-components/p-3042b23e.entry.js +1 -0
- package/dist/stzh-components/{p-c863ffd0.system.entry.js → p-33c0229f.system.entry.js} +1 -1
- package/dist/stzh-components/p-3b912468.system.entry.js +1 -0
- package/dist/stzh-components/p-3beb58d6.system.entry.js +1 -0
- package/dist/stzh-components/{p-1cde29ea.entry.js → p-3d8317b5.entry.js} +1 -1
- package/dist/stzh-components/p-3f0363db.entry.js +1 -0
- package/dist/stzh-components/{p-48bbcc26.system.entry.js → p-45bab70d.system.entry.js} +1 -1
- package/dist/stzh-components/{p-3f03fd94.system.entry.js → p-48b5b697.system.entry.js} +1 -1
- package/dist/stzh-components/{p-ece7ad4d.system.entry.js → p-4c6989ae.system.entry.js} +1 -1
- package/dist/stzh-components/p-530252c6.system.entry.js +1 -0
- package/dist/stzh-components/{p-c7c17bb7.system.entry.js → p-5353ba86.system.entry.js} +2 -2
- package/dist/stzh-components/{p-bb2e1dda.entry.js → p-552f49c4.entry.js} +1 -1
- package/dist/stzh-components/p-55cdbf79.entry.js +1 -0
- package/dist/stzh-components/{p-562394a9.system.entry.js → p-55d23a3c.system.entry.js} +1 -1
- package/dist/stzh-components/{p-07772cd7.system.entry.js → p-560f96f0.system.entry.js} +1 -1
- package/dist/stzh-components/p-562e6c52.entry.js +1 -0
- package/dist/stzh-components/{p-f48a2b00.system.entry.js → p-56b9cc3c.system.entry.js} +1 -1
- package/dist/stzh-components/{p-33946fed.system.entry.js → p-58d886cb.system.entry.js} +1 -1
- package/dist/stzh-components/{p-68a8b7b7.system.entry.js → p-5997e418.system.entry.js} +1 -1
- package/dist/stzh-components/{p-49968bbf.entry.js → p-5a02ef03.entry.js} +1 -1
- package/dist/stzh-components/{p-1c88ceff.system.entry.js → p-5a354428.system.entry.js} +1 -1
- package/dist/stzh-components/{p-0a71fbac.entry.js → p-5bd2849d.entry.js} +1 -1
- package/dist/stzh-components/{p-3ed69b16.entry.js → p-5f4eb46c.entry.js} +1 -1
- package/dist/stzh-components/{p-4a398453.system.entry.js → p-61aac051.system.entry.js} +1 -1
- package/dist/stzh-components/p-62db1e59.entry.js +1 -0
- package/dist/stzh-components/{p-ade1ebcf.system.entry.js → p-6305db38.system.entry.js} +1 -1
- package/dist/stzh-components/{p-95eb03b2.entry.js → p-638bedfa.entry.js} +1 -1
- package/dist/stzh-components/{p-9c0494a6.system.js → p-63d89b96.system.js} +1 -1
- package/dist/stzh-components/{p-33d75303.entry.js → p-6425898c.entry.js} +1 -1
- package/dist/stzh-components/{p-818634d2.entry.js → p-64b4cc74.entry.js} +1 -1
- package/dist/stzh-components/p-676fd54d.entry.js +1 -0
- package/dist/stzh-components/{p-7a6e347d.system.entry.js → p-684c345e.system.entry.js} +2 -2
- package/dist/stzh-components/{p-f44f4d26.system.entry.js → p-69c3187f.system.entry.js} +1 -1
- package/dist/stzh-components/{p-95a297aa.entry.js → p-69f4a27e.entry.js} +1 -1
- package/dist/stzh-components/p-6a873872.entry.js +1 -0
- package/dist/stzh-components/{p-b281b653.entry.js → p-713ae713.entry.js} +2 -2
- package/dist/stzh-components/{p-03b16275.entry.js → p-72f29f07.entry.js} +1 -1
- package/dist/stzh-components/p-764ba190.entry.js +1 -0
- package/dist/stzh-components/p-786a92d4.system.entry.js +1 -0
- package/dist/stzh-components/p-796ae62c.system.entry.js +1 -0
- package/dist/stzh-components/p-7d8c9866.entry.js +1 -0
- package/dist/stzh-components/p-7ec2f3fd.entry.js +9 -0
- package/dist/stzh-components/p-80d70586.entry.js +1 -0
- package/dist/stzh-components/p-838df84a.system.entry.js +1 -0
- package/dist/stzh-components/p-84ab53cc.system.entry.js +1 -0
- package/dist/stzh-components/p-85161133.js +1 -0
- package/dist/stzh-components/{p-aec2d2d1.system.entry.js → p-851e0caa.system.entry.js} +1 -1
- package/dist/stzh-components/p-864d7c50.entry.js +1 -0
- package/dist/stzh-components/{p-690d14cd.entry.js → p-88e0f453.entry.js} +1 -1
- package/dist/stzh-components/{p-0338cec3.system.entry.js → p-89274cd5.system.entry.js} +1 -1
- package/dist/stzh-components/p-8b6de2c0.system.entry.js +1 -0
- package/dist/stzh-components/{p-936cc626.system.entry.js → p-8c648042.system.entry.js} +1 -1
- package/dist/stzh-components/{p-0ae3e066.system.entry.js → p-8d0da18d.system.entry.js} +1 -1
- package/dist/stzh-components/{p-56fccfa3.system.entry.js → p-8d547247.system.entry.js} +1 -1
- package/dist/stzh-components/p-929dbdf1.system.entry.js +1 -0
- package/dist/stzh-components/{p-65282c9d.js → p-93e8e31f.js} +1 -1
- package/dist/stzh-components/p-9469b812.entry.js +1 -0
- package/dist/stzh-components/{p-e9ca8ddc.entry.js → p-961cb979.entry.js} +1 -1
- package/dist/stzh-components/{p-98afd4b0.system.entry.js → p-981b2629.system.entry.js} +1 -1
- package/dist/stzh-components/{p-0ec28130.system.entry.js → p-9c72f491.system.entry.js} +1 -1
- package/dist/stzh-components/p-9e716229.entry.js +1 -0
- package/dist/stzh-components/{p-8cf287d8.system.entry.js → p-9fb4da92.system.entry.js} +1 -1
- package/dist/stzh-components/p-a3fa6122.system.entry.js +1 -0
- package/dist/stzh-components/{p-409c0d50.entry.js → p-a448f5a5.entry.js} +1 -1
- package/dist/stzh-components/{p-96fd158c.entry.js → p-a646c09a.entry.js} +1 -1
- package/dist/stzh-components/p-a6627504.entry.js +1 -0
- package/dist/stzh-components/{p-6c3b2508.system.entry.js → p-a67e09cd.system.entry.js} +1 -1
- package/dist/stzh-components/{p-378be0be.system.entry.js → p-a7c35778.system.entry.js} +1 -1
- package/dist/stzh-components/{p-c8bc2812.entry.js → p-a7ee2636.entry.js} +1 -1
- package/dist/stzh-components/{p-148de4e6.entry.js → p-ab246b66.entry.js} +1 -1
- package/dist/stzh-components/p-b391d962.system.entry.js +1 -0
- package/dist/stzh-components/p-b462a61f.entry.js +1 -0
- package/dist/stzh-components/p-b550feaa.system.entry.js +1 -0
- package/dist/stzh-components/p-b5a85078.system.entry.js +1 -0
- package/dist/stzh-components/p-b70bc70c.system.js +1 -0
- package/dist/stzh-components/{p-46f301c0.entry.js → p-b9a027aa.entry.js} +1 -1
- package/dist/stzh-components/{p-7e3924a0.system.entry.js → p-ba94e315.system.entry.js} +1 -1
- package/dist/stzh-components/{p-f2050d1e.entry.js → p-bb3c1249.entry.js} +1 -1
- package/dist/stzh-components/{p-a760352a.system.entry.js → p-bbe4e3d1.system.entry.js} +1 -1
- package/dist/stzh-components/{p-e972a44f.system.entry.js → p-be461e19.system.entry.js} +1 -1
- package/dist/stzh-components/{p-30b347ee.system.js → p-bf0fdd23.system.js} +2 -2
- package/dist/stzh-components/{p-983f6070.entry.js → p-c1337453.entry.js} +1 -1
- package/dist/stzh-components/{p-915e8ad6.entry.js → p-c3d93395.entry.js} +1 -1
- package/dist/stzh-components/{p-e9bc3a43.entry.js → p-c4b7c2be.entry.js} +1 -1
- package/dist/stzh-components/p-c4fc6433.system.entry.js +1 -0
- package/dist/stzh-components/{p-df422d36.entry.js → p-c58dd9de.entry.js} +1 -1
- package/dist/stzh-components/p-cb1d4678.entry.js +1 -0
- package/dist/stzh-components/p-ccd30d73.system.entry.js +1 -0
- package/dist/stzh-components/p-cd795307.entry.js +1 -0
- package/dist/stzh-components/{p-7d2237ca.entry.js → p-cdc9e600.entry.js} +1 -1
- package/dist/stzh-components/{p-586cae98.entry.js → p-ce070ccd.entry.js} +1 -1
- package/dist/stzh-components/{p-04d7b18f.entry.js → p-d0aa9d3b.entry.js} +1 -1
- package/dist/stzh-components/p-d1552460.system.entry.js +1 -0
- package/dist/stzh-components/{p-006135ed.system.entry.js → p-d6c07494.system.entry.js} +1 -1
- package/dist/stzh-components/{p-cf162e67.entry.js → p-d7893dfd.entry.js} +1 -1
- package/dist/stzh-components/{p-73194e28.entry.js → p-d9643cc4.entry.js} +1 -1
- package/dist/stzh-components/{p-58917ce2.entry.js → p-db5363ef.entry.js} +1 -1
- package/dist/stzh-components/{p-fc9c4fc3.system.entry.js → p-e213663c.system.entry.js} +1 -1
- package/dist/stzh-components/p-e3e3e88c.system.js +1 -0
- package/dist/stzh-components/p-eb61c369.entry.js +1 -0
- package/dist/stzh-components/p-ebeb8d7b.system.entry.js +1 -0
- package/dist/stzh-components/p-eca1732f.entry.js +1 -0
- package/dist/stzh-components/{p-14d728f0.entry.js → p-ee22256f.entry.js} +1 -1
- package/dist/stzh-components/{p-670d4834.entry.js → p-f1356a85.entry.js} +1 -1
- package/dist/stzh-components/p-f24db7e8.system.entry.js +1 -0
- package/dist/stzh-components/{p-1ace5d80.entry.js → p-f788a468.entry.js} +1 -1
- package/dist/stzh-components/{p-99533090.system.entry.js → p-f832e938.system.entry.js} +1 -1
- package/dist/stzh-components/{p-32b78d65.js → p-f84fa2a4.js} +1 -1
- package/dist/stzh-components/{p-80db7aa6.system.entry.js → p-fa56fc0d.system.entry.js} +1 -1
- package/dist/stzh-components/{p-88a4f756.system.entry.js → p-fc13d017.system.entry.js} +1 -1
- package/dist/stzh-components/{p-b4fc71ff.system.entry.js → p-fc6b4f91.system.entry.js} +1 -1
- package/dist/stzh-components/p-fdd1998f.entry.js +1 -0
- package/dist/stzh-components/{p-370b82e7.system.entry.js → p-fdf0b4bc.system.entry.js} +1 -1
- 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-actionset/stzh-actionset.localization.d.ts +5 -0
- package/dist/types/components/stzh-badge/stzh-badge.d.ts +2 -0
- package/dist/types/components/{stzh-servicecard/stzh-servicecard.localization.d.ts → stzh-card/stzh-card.localization.d.ts} +2 -1
- package/dist/types/components/{stzh-servicecard-list/stzh-servicecard-list.localization.d.ts → stzh-card-list/stzh-card-list.localization.d.ts} +1 -1
- package/dist/types/components.d.ts +626 -245
- package/dist/types/index.d.ts +61 -14
- package/dist/vscode-data.json +559 -183
- package/package.json +1 -1
- package/dist/cjs/stzh-servicecard-list.cjs.entry.js +0 -73
- package/dist/cjs/stzh-servicecard.cjs.entry.js +0 -234
- package/dist/collection/components/stzh-servicecard/stzh-servicecard.css +0 -558
- package/dist/collection/components/stzh-servicecard/stzh-servicecard.js +0 -614
- package/dist/collection/components/stzh-servicecard/stzh-servicecard.stories.js +0 -73
- package/dist/collection/components/stzh-servicecard-list/stzh-servicecard-list.stories.js +0 -116
- package/dist/components/stzh-servicecard-list.js +0 -117
- package/dist/components/stzh-servicecard.js +0 -305
- package/dist/esm/stzh-servicecard-list.entry.js +0 -69
- package/dist/esm/stzh-servicecard.entry.js +0 -230
- package/dist/esm-es5/app-globals-c42494e9.js +0 -1
- package/dist/esm-es5/stzh-servicecard-list.entry.js +0 -1
- package/dist/esm-es5/stzh-servicecard.entry.js +0 -1
- package/dist/stzh-components/p-03e2634c.entry.js +0 -1
- package/dist/stzh-components/p-1cebd703.entry.js +0 -1
- package/dist/stzh-components/p-1f15a4e0.system.entry.js +0 -1
- package/dist/stzh-components/p-2b11d549.system.entry.js +0 -1
- package/dist/stzh-components/p-33d033a3.system.entry.js +0 -1
- package/dist/stzh-components/p-34190502.entry.js +0 -1
- package/dist/stzh-components/p-3c799247.entry.js +0 -1
- package/dist/stzh-components/p-3ebd2c03.js +0 -1
- package/dist/stzh-components/p-4e9bfeb8.system.entry.js +0 -1
- package/dist/stzh-components/p-58ffc722.system.entry.js +0 -1
- package/dist/stzh-components/p-5e0cccc9.system.entry.js +0 -1
- package/dist/stzh-components/p-5ea652ae.system.entry.js +0 -1
- package/dist/stzh-components/p-632d9076.system.entry.js +0 -1
- package/dist/stzh-components/p-63b5068a.system.entry.js +0 -1
- package/dist/stzh-components/p-66556f67.entry.js +0 -1
- package/dist/stzh-components/p-6fc271d0.system.entry.js +0 -1
- package/dist/stzh-components/p-7921db30.system.entry.js +0 -1
- package/dist/stzh-components/p-79bfc485.entry.js +0 -1
- package/dist/stzh-components/p-7bb1bd3b.entry.js +0 -1
- package/dist/stzh-components/p-7d098987.entry.js +0 -9
- package/dist/stzh-components/p-7d62dfeb.system.entry.js +0 -1
- package/dist/stzh-components/p-82e6148a.system.entry.js +0 -1
- package/dist/stzh-components/p-85d78e08.entry.js +0 -1
- package/dist/stzh-components/p-8a60addb.entry.js +0 -1
- package/dist/stzh-components/p-8bd3ba06.entry.js +0 -1
- package/dist/stzh-components/p-90a10825.system.entry.js +0 -1
- package/dist/stzh-components/p-a7253852.entry.js +0 -1
- package/dist/stzh-components/p-a86c6487.entry.js +0 -1
- package/dist/stzh-components/p-aaa2e48f.system.js +0 -1
- package/dist/stzh-components/p-b35b0270.entry.js +0 -1
- package/dist/stzh-components/p-b3b5ee7e.entry.js +0 -1
- package/dist/stzh-components/p-b651f251.entry.js +0 -1
- package/dist/stzh-components/p-bdba7714.entry.js +0 -1
- package/dist/stzh-components/p-c581e798.system.entry.js +0 -1
- package/dist/stzh-components/p-c6cad5ed.system.entry.js +0 -1
- package/dist/stzh-components/p-da063c7e.system.entry.js +0 -1
- package/dist/stzh-components/p-e12db90a.entry.js +0 -1
- package/dist/stzh-components/p-e2ce48f1.system.entry.js +0 -1
- package/dist/stzh-components/p-e4347cfe.entry.js +0 -1
- package/dist/stzh-components/p-ec3d4dd4.entry.js +0 -1
- package/dist/stzh-components/p-ee5ceac4.entry.js +0 -1
- package/dist/stzh-components/p-f0ca6848.system.entry.js +0 -1
- package/dist/stzh-components/p-f21440b3.entry.js +0 -1
- package/dist/stzh-components/p-f610f725.entry.js +0 -1
- package/dist/stzh-components/p-faf20030.system.js +0 -1
- package/dist/stzh-components/p-fce0e218.system.entry.js +0 -1
- package/dist/stzh-components/p-fd16e20e.system.entry.js +0 -1
- package/dist/stzh-components/p-fe9f8a09.system.entry.js +0 -1
|
@@ -8,8 +8,12 @@ export class StzhButton {
|
|
|
8
8
|
constructor() {
|
|
9
9
|
/** Display a badge aligned to button or icons */
|
|
10
10
|
this.badge = "";
|
|
11
|
+
/** Badge type */
|
|
12
|
+
this.badgeType = "default";
|
|
11
13
|
/** Badge position */
|
|
12
14
|
this.badgePosition = "button";
|
|
15
|
+
/** Whether badge should be displayed empty */
|
|
16
|
+
this.badgeEmpty = false;
|
|
13
17
|
/** Whether the button is full width */
|
|
14
18
|
this.fullwidth = false;
|
|
15
19
|
/** Size variant */
|
|
@@ -22,6 +26,12 @@ export class StzhButton {
|
|
|
22
26
|
this.icon = "";
|
|
23
27
|
/** Icon Position */
|
|
24
28
|
this.iconPosition = "left";
|
|
29
|
+
/** Checked status (if type is radio) */
|
|
30
|
+
this.checked = false;
|
|
31
|
+
/** The name of the input element (if type is radio) */
|
|
32
|
+
this.name = "";
|
|
33
|
+
/** The value of the input element (if type is radio) */
|
|
34
|
+
this.value = "";
|
|
25
35
|
/** `href` if the button should be used as link */
|
|
26
36
|
this.href = "";
|
|
27
37
|
/** Target if the button is used as link (if `href` used) */
|
|
@@ -40,6 +50,15 @@ export class StzhButton {
|
|
|
40
50
|
this.iconOnly = false;
|
|
41
51
|
/** Id for element which describes the button (this will be overwritten if description prop or slot is used, used by stzh-radiogroup) */
|
|
42
52
|
this.a11yDescribedby = "";
|
|
53
|
+
this.onInput = (event) => {
|
|
54
|
+
this.checked = this.input.checked;
|
|
55
|
+
this.stzhChange.emit({
|
|
56
|
+
component: "stzh-button",
|
|
57
|
+
originalEvent: event,
|
|
58
|
+
value: this.value,
|
|
59
|
+
checked: this.checked
|
|
60
|
+
});
|
|
61
|
+
};
|
|
43
62
|
this.onFocus = (event) => {
|
|
44
63
|
const focusEvent = new FocusEvent("focus", {
|
|
45
64
|
view: window,
|
|
@@ -79,15 +98,16 @@ export class StzhButton {
|
|
|
79
98
|
return (h("div", { class: "stzh-button__icon-wrapper" }, this.icon ?
|
|
80
99
|
h("stzh-icon", { class: "stzh-button__icon", name: this.icon })
|
|
81
100
|
:
|
|
82
|
-
h("slot", { name: "icon" }), this.badge && this.badgePosition === "icon" && iconUsed &&
|
|
83
|
-
h("stzh-badge", { class: "stzh-button__badge", label: this.badge })));
|
|
101
|
+
h("slot", { name: "icon" }), (this.badge || this.badgeEmpty) && this.badgePosition === "icon" && iconUsed &&
|
|
102
|
+
h("stzh-badge", { class: "stzh-button__badge", label: this.badge, type: this.badgeType })));
|
|
84
103
|
}
|
|
85
104
|
renderContent() {
|
|
86
105
|
return (h("div", { class: "stzh-button__text" }, this.label ? this.label : h("slot", null)));
|
|
87
106
|
}
|
|
88
107
|
renderInner(iconUsed) {
|
|
89
|
-
return (h(Fragment, null, h("div", { class: "stzh-button__inner", onClick: this.onClick }, this.
|
|
90
|
-
h("stzh-
|
|
108
|
+
return (h(Fragment, null, h("div", { class: "stzh-button__inner", onClick: this.onClick }, this.type === "radio" &&
|
|
109
|
+
h("div", { class: "stzh-button__mark" }, h("div", { class: "stzh-button__check" })), this.iconPosition === "left" && this.renderIcon(iconUsed), this.renderContent(), this.iconPosition === "right" && this.renderIcon(iconUsed)), (this.badge || this.badgeEmpty) && (this.badgePosition === "button" || !iconUsed) &&
|
|
110
|
+
h("stzh-badge", { class: "stzh-button__badge", label: this.badge, type: this.badgeType, onClick: this.onClick })));
|
|
91
111
|
}
|
|
92
112
|
render() {
|
|
93
113
|
const iconUsed = hasSlot(this.element, "icon") || !!this.icon;
|
|
@@ -103,12 +123,16 @@ export class StzhButton {
|
|
|
103
123
|
[`stzh-button--badge-position-${this.badgePosition}`]: !!this.badgePosition,
|
|
104
124
|
[`stzh-button--align-${this.textAlign}`]: !!this.textAlign,
|
|
105
125
|
[`stzh-button--size-${this.size}`]: !!this.size,
|
|
126
|
+
[`stzh-button--type-${this.type}`]: !!this.type,
|
|
106
127
|
[`stzh-button--${this.variant}`]: !!this.variant
|
|
107
128
|
};
|
|
108
129
|
return (h(Host, null, this.href ?
|
|
109
130
|
h("a", { ref: (el) => (this.button = el), href: this.disabled ? null : this.href, target: this.target, class: classes, "aria-label": this.a11yLabel, "aria-describedby": this.a11yDescribedby, onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick }, this.renderInner(iconUsed))
|
|
110
131
|
:
|
|
111
|
-
|
|
132
|
+
this.type === "radio" ?
|
|
133
|
+
h("label", { ref: (el) => (this.button = el), class: classes, onClick: this.onClick }, h("input", { ref: (el) => (this.input = el), type: "radio", class: "stzh-button__input", name: this.name, value: this.value, checked: this.checked, disabled: this.disabled, "aria-label": this.a11yLabel, onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick, onInput: this.onInput }), this.renderInner(iconUsed))
|
|
134
|
+
:
|
|
135
|
+
h("button", { ref: (el) => (this.button = el), class: classes, type: this.type, disabled: this.disabled, "aria-label": this.a11yLabel, "aria-describedby": this.a11yDescribedby, onFocus: this.onFocus, onBlur: this.onBlur, onClick: this.onClick }, this.renderInner(iconUsed))));
|
|
112
136
|
}
|
|
113
137
|
static get is() { return "stzh-button"; }
|
|
114
138
|
static get encapsulation() { return "scoped"; }
|
|
@@ -142,6 +166,24 @@ export class StzhButton {
|
|
|
142
166
|
"reflect": false,
|
|
143
167
|
"defaultValue": "\"\""
|
|
144
168
|
},
|
|
169
|
+
"badgeType": {
|
|
170
|
+
"type": "string",
|
|
171
|
+
"mutable": false,
|
|
172
|
+
"complexType": {
|
|
173
|
+
"original": "\"default\" | \"success\" | \"warning\" | \"error\" | \"info\"",
|
|
174
|
+
"resolved": "\"default\" | \"error\" | \"info\" | \"success\" | \"warning\"",
|
|
175
|
+
"references": {}
|
|
176
|
+
},
|
|
177
|
+
"required": false,
|
|
178
|
+
"optional": false,
|
|
179
|
+
"docs": {
|
|
180
|
+
"tags": [],
|
|
181
|
+
"text": "Badge type"
|
|
182
|
+
},
|
|
183
|
+
"attribute": "badge-type",
|
|
184
|
+
"reflect": true,
|
|
185
|
+
"defaultValue": "\"default\""
|
|
186
|
+
},
|
|
145
187
|
"badgePosition": {
|
|
146
188
|
"type": "string",
|
|
147
189
|
"mutable": false,
|
|
@@ -160,6 +202,24 @@ export class StzhButton {
|
|
|
160
202
|
"reflect": true,
|
|
161
203
|
"defaultValue": "\"button\""
|
|
162
204
|
},
|
|
205
|
+
"badgeEmpty": {
|
|
206
|
+
"type": "boolean",
|
|
207
|
+
"mutable": false,
|
|
208
|
+
"complexType": {
|
|
209
|
+
"original": "boolean",
|
|
210
|
+
"resolved": "boolean",
|
|
211
|
+
"references": {}
|
|
212
|
+
},
|
|
213
|
+
"required": false,
|
|
214
|
+
"optional": false,
|
|
215
|
+
"docs": {
|
|
216
|
+
"tags": [],
|
|
217
|
+
"text": "Whether badge should be displayed empty"
|
|
218
|
+
},
|
|
219
|
+
"attribute": "badge-empty",
|
|
220
|
+
"reflect": true,
|
|
221
|
+
"defaultValue": "false"
|
|
222
|
+
},
|
|
163
223
|
"fullwidth": {
|
|
164
224
|
"type": "boolean",
|
|
165
225
|
"mutable": false,
|
|
@@ -268,6 +328,60 @@ export class StzhButton {
|
|
|
268
328
|
"reflect": true,
|
|
269
329
|
"defaultValue": "\"left\""
|
|
270
330
|
},
|
|
331
|
+
"checked": {
|
|
332
|
+
"type": "boolean",
|
|
333
|
+
"mutable": true,
|
|
334
|
+
"complexType": {
|
|
335
|
+
"original": "boolean",
|
|
336
|
+
"resolved": "boolean",
|
|
337
|
+
"references": {}
|
|
338
|
+
},
|
|
339
|
+
"required": false,
|
|
340
|
+
"optional": false,
|
|
341
|
+
"docs": {
|
|
342
|
+
"tags": [],
|
|
343
|
+
"text": "Checked status (if type is radio)"
|
|
344
|
+
},
|
|
345
|
+
"attribute": "checked",
|
|
346
|
+
"reflect": true,
|
|
347
|
+
"defaultValue": "false"
|
|
348
|
+
},
|
|
349
|
+
"name": {
|
|
350
|
+
"type": "string",
|
|
351
|
+
"mutable": false,
|
|
352
|
+
"complexType": {
|
|
353
|
+
"original": "string",
|
|
354
|
+
"resolved": "string",
|
|
355
|
+
"references": {}
|
|
356
|
+
},
|
|
357
|
+
"required": false,
|
|
358
|
+
"optional": false,
|
|
359
|
+
"docs": {
|
|
360
|
+
"tags": [],
|
|
361
|
+
"text": "The name of the input element (if type is radio)"
|
|
362
|
+
},
|
|
363
|
+
"attribute": "name",
|
|
364
|
+
"reflect": true,
|
|
365
|
+
"defaultValue": "\"\""
|
|
366
|
+
},
|
|
367
|
+
"value": {
|
|
368
|
+
"type": "string",
|
|
369
|
+
"mutable": true,
|
|
370
|
+
"complexType": {
|
|
371
|
+
"original": "string",
|
|
372
|
+
"resolved": "string",
|
|
373
|
+
"references": {}
|
|
374
|
+
},
|
|
375
|
+
"required": false,
|
|
376
|
+
"optional": false,
|
|
377
|
+
"docs": {
|
|
378
|
+
"tags": [],
|
|
379
|
+
"text": "The value of the input element (if type is radio)"
|
|
380
|
+
},
|
|
381
|
+
"attribute": "value",
|
|
382
|
+
"reflect": false,
|
|
383
|
+
"defaultValue": "\"\""
|
|
384
|
+
},
|
|
271
385
|
"href": {
|
|
272
386
|
"type": "string",
|
|
273
387
|
"mutable": false,
|
|
@@ -308,8 +422,8 @@ export class StzhButton {
|
|
|
308
422
|
"type": "string",
|
|
309
423
|
"mutable": false,
|
|
310
424
|
"complexType": {
|
|
311
|
-
"original": "\"button\" | \"submit\" | \"reset\"",
|
|
312
|
-
"resolved": "\"button\" | \"reset\" | \"submit\"",
|
|
425
|
+
"original": "\"button\" | \"submit\" | \"reset\" | \"radio\"",
|
|
426
|
+
"resolved": "\"button\" | \"radio\" | \"reset\" | \"submit\"",
|
|
313
427
|
"references": {}
|
|
314
428
|
},
|
|
315
429
|
"required": false,
|
|
@@ -490,6 +604,26 @@ export class StzhButton {
|
|
|
490
604
|
}
|
|
491
605
|
}
|
|
492
606
|
}
|
|
607
|
+
}, {
|
|
608
|
+
"method": "stzhChange",
|
|
609
|
+
"name": "stzhChange",
|
|
610
|
+
"bubbles": true,
|
|
611
|
+
"cancelable": true,
|
|
612
|
+
"composed": true,
|
|
613
|
+
"docs": {
|
|
614
|
+
"tags": [],
|
|
615
|
+
"text": "Change event (only called if type is radio)"
|
|
616
|
+
},
|
|
617
|
+
"complexType": {
|
|
618
|
+
"original": "StzhButtonChangeEvent",
|
|
619
|
+
"resolved": "{ component: \"stzh-button\"; originalEvent: InputEvent; value: string; checked: boolean; }",
|
|
620
|
+
"references": {
|
|
621
|
+
"StzhButtonChangeEvent": {
|
|
622
|
+
"location": "import",
|
|
623
|
+
"path": "../../index"
|
|
624
|
+
}
|
|
625
|
+
}
|
|
626
|
+
}
|
|
493
627
|
}];
|
|
494
628
|
}
|
|
495
629
|
static get methods() {
|
|
@@ -0,0 +1,396 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Colors
|
|
3
|
+
*/
|
|
4
|
+
/*
|
|
5
|
+
* Base
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* Link
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* Text
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* Richtext
|
|
15
|
+
*/
|
|
16
|
+
/**
|
|
17
|
+
* Section
|
|
18
|
+
*/
|
|
19
|
+
/**
|
|
20
|
+
* Header
|
|
21
|
+
*/
|
|
22
|
+
/**
|
|
23
|
+
* Appnav
|
|
24
|
+
*/
|
|
25
|
+
/**
|
|
26
|
+
* Progressbar
|
|
27
|
+
*/
|
|
28
|
+
/**
|
|
29
|
+
* Loader
|
|
30
|
+
*/
|
|
31
|
+
/**
|
|
32
|
+
* Table
|
|
33
|
+
*/
|
|
34
|
+
/**
|
|
35
|
+
* Heading
|
|
36
|
+
*/
|
|
37
|
+
/**
|
|
38
|
+
* Menu (Item)
|
|
39
|
+
*/
|
|
40
|
+
/**
|
|
41
|
+
* Form Elements (Input / Checkbox / Radio / Select / Datepicker)
|
|
42
|
+
*/
|
|
43
|
+
/**
|
|
44
|
+
* Popover
|
|
45
|
+
*/
|
|
46
|
+
/**
|
|
47
|
+
* Tooltips
|
|
48
|
+
*/
|
|
49
|
+
/**
|
|
50
|
+
* Accordions
|
|
51
|
+
*/
|
|
52
|
+
/**
|
|
53
|
+
* Buttons
|
|
54
|
+
*/
|
|
55
|
+
/**
|
|
56
|
+
* Box Shadows
|
|
57
|
+
*/
|
|
58
|
+
/**
|
|
59
|
+
* Z-Indexes
|
|
60
|
+
* Inspired by https://www.duetds.com/tokens/#z-index
|
|
61
|
+
*/
|
|
62
|
+
/**
|
|
63
|
+
* Icon sizes
|
|
64
|
+
*/
|
|
65
|
+
/**
|
|
66
|
+
* Grid
|
|
67
|
+
*/
|
|
68
|
+
/**
|
|
69
|
+
* Breakpoints
|
|
70
|
+
*/
|
|
71
|
+
/**
|
|
72
|
+
* Container
|
|
73
|
+
*/
|
|
74
|
+
/**
|
|
75
|
+
* Spaces
|
|
76
|
+
*/
|
|
77
|
+
/**
|
|
78
|
+
* Fonts
|
|
79
|
+
*/
|
|
80
|
+
:host {
|
|
81
|
+
font-family: var(--stzh-font-family-regular);
|
|
82
|
+
font-weight: var(--stzh-font-weight-regular);
|
|
83
|
+
font-style: normal;
|
|
84
|
+
color: var(--stzh-base-color);
|
|
85
|
+
box-sizing: border-box;
|
|
86
|
+
display: block;
|
|
87
|
+
}
|
|
88
|
+
:host[hidden] {
|
|
89
|
+
display: none;
|
|
90
|
+
}
|
|
91
|
+
:host *,
|
|
92
|
+
:host *::before,
|
|
93
|
+
:host *::after {
|
|
94
|
+
box-sizing: border-box;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
:host {
|
|
98
|
+
--box-shadow: var(--stzh-box-shadow-popover);
|
|
99
|
+
--border: 0.0625rem solid var(--stzh-base-border-color);
|
|
100
|
+
--border-radius: 0.1875rem;
|
|
101
|
+
--dnd-visibility: hidden;
|
|
102
|
+
--dnd-opacity: 0;
|
|
103
|
+
position: relative;
|
|
104
|
+
border-radius: var(--border-radius);
|
|
105
|
+
}
|
|
106
|
+
:host[checked]:not([checked=false]) {
|
|
107
|
+
outline: 0.1875rem solid var(--stzh-color-primary, var(--stzh-color-zueriblue));
|
|
108
|
+
}
|
|
109
|
+
:host.is-ghost::after, .is-ghost :host::after {
|
|
110
|
+
border-radius: var(--border-radius);
|
|
111
|
+
}
|
|
112
|
+
:host.is-selected, :host.is-chosen, .is-selected :host, .is-chosen :host {
|
|
113
|
+
--box-shadow: var(--stzh-box-shadow-overlay);
|
|
114
|
+
}
|
|
115
|
+
:host.is-ghost, .is-ghost :host {
|
|
116
|
+
--box-shadow: none;
|
|
117
|
+
--border: 0.0625rem solid transparent;
|
|
118
|
+
overflow: hidden;
|
|
119
|
+
}
|
|
120
|
+
:host.is-drag, :host.is-chosen, :host.is-ghost, :host.is-selected, .is-drag :host, .is-chosen :host, .is-ghost :host, .is-selected :host {
|
|
121
|
+
--dnd-visibility: visible;
|
|
122
|
+
--dnd-opacity: 1;
|
|
123
|
+
}
|
|
124
|
+
:host ::slotted(*) {
|
|
125
|
+
font-size: var(--stzh-font-milli-font-size);
|
|
126
|
+
line-height: var(--stzh-font-milli-text-line-height);
|
|
127
|
+
letter-spacing: var(--stzh-font-curve---text-letter-spacing);
|
|
128
|
+
}
|
|
129
|
+
:host ::slotted([slot=image]) {
|
|
130
|
+
max-width: 100%;
|
|
131
|
+
}
|
|
132
|
+
:host ::slotted(img[slot=image]) {
|
|
133
|
+
display: block;
|
|
134
|
+
}
|
|
135
|
+
:host ::slotted([slot=meta]:not(:last-child)) {
|
|
136
|
+
margin-right: var(--stzh-space-xsmall);
|
|
137
|
+
}
|
|
138
|
+
:host ::slotted(table) {
|
|
139
|
+
border: 0;
|
|
140
|
+
border-spacing: 0;
|
|
141
|
+
}
|
|
142
|
+
:host ::slotted(table) th {
|
|
143
|
+
font-family: var(--stzh-font-family-regular);
|
|
144
|
+
font-weight: var(--stzh-font-weight-regular);
|
|
145
|
+
font-style: normal;
|
|
146
|
+
}
|
|
147
|
+
:host ::slotted(table) td, :host ::slotted(table) th {
|
|
148
|
+
padding: 0;
|
|
149
|
+
}
|
|
150
|
+
:host ::slotted(table) td {
|
|
151
|
+
color: var(--stzh-color-black);
|
|
152
|
+
padding-left: var(--stzh-space-xsmall);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.stzh-card {
|
|
156
|
+
background-color: var(--stzh-color-white);
|
|
157
|
+
border-radius: var(--border-radius);
|
|
158
|
+
box-shadow: var(--box-shadow);
|
|
159
|
+
border: var(--border);
|
|
160
|
+
transition: box-shadow var(--stzh-base-transition-animation-speed);
|
|
161
|
+
/* Interactive Subtitle */
|
|
162
|
+
/* Collapsed (Header) */
|
|
163
|
+
/* Starred */
|
|
164
|
+
/** Hidden header / footer border */
|
|
165
|
+
}
|
|
166
|
+
@media screen and (max-width: 1023px) {
|
|
167
|
+
.stzh-card .show-medium {
|
|
168
|
+
display: none;
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
@media screen and (min-width: 1024px) {
|
|
172
|
+
.stzh-card .hide-medium {
|
|
173
|
+
display: none;
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
.stzh-card__content-wrapper {
|
|
177
|
+
position: relative;
|
|
178
|
+
}
|
|
179
|
+
.stzh-card__dnd {
|
|
180
|
+
--size: var(--stzh-icon-size-xsmall);
|
|
181
|
+
position: absolute;
|
|
182
|
+
left: 0.1875rem;
|
|
183
|
+
top: 1.4375rem;
|
|
184
|
+
display: flex;
|
|
185
|
+
visibility: var(--dnd-visibility);
|
|
186
|
+
opacity: var(--dnd-opacity);
|
|
187
|
+
transition: all var(--stzh-base-transition-animation-speed);
|
|
188
|
+
display: none;
|
|
189
|
+
}
|
|
190
|
+
@media screen and (min-width: 1024px) {
|
|
191
|
+
.stzh-card__dnd {
|
|
192
|
+
display: block;
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
@media screen and (min-width: 1260px) {
|
|
196
|
+
.stzh-card__dnd {
|
|
197
|
+
left: 0.25rem;
|
|
198
|
+
top: 1.6875rem;
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
.stzh-card__header {
|
|
202
|
+
padding: var(--stzh-space-medium);
|
|
203
|
+
border-bottom: 0.0625rem solid var(--stzh-base-border-color);
|
|
204
|
+
}
|
|
205
|
+
@media screen and (min-width: 1024px) {
|
|
206
|
+
.stzh-card__header {
|
|
207
|
+
padding: var(--stzh-space-large);
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
@media screen and (min-width: 1260px) {
|
|
211
|
+
.stzh-card__header {
|
|
212
|
+
padding: var(--stzh-space-xlarge);
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
.stzh-card__header-top {
|
|
216
|
+
display: flex;
|
|
217
|
+
justify-content: space-between;
|
|
218
|
+
align-items: flex-start;
|
|
219
|
+
}
|
|
220
|
+
.stzh-card__header-meta {
|
|
221
|
+
display: flex;
|
|
222
|
+
}
|
|
223
|
+
.stzh-card__header-meta:not(:empty) {
|
|
224
|
+
margin-top: var(--stzh-space-xsmall);
|
|
225
|
+
}
|
|
226
|
+
.stzh-card__header-left, .stzh-card__header-right {
|
|
227
|
+
display: flex;
|
|
228
|
+
}
|
|
229
|
+
.stzh-card__header-right {
|
|
230
|
+
padding-left: var(--stzh-space-xsmall);
|
|
231
|
+
}
|
|
232
|
+
@media screen and (min-width: 1024px) {
|
|
233
|
+
.stzh-card__header-right {
|
|
234
|
+
padding-left: var(--stzh-space-small);
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
@media screen and (min-width: 1260px) {
|
|
238
|
+
.stzh-card__header-right {
|
|
239
|
+
padding-left: var(--stzh-space-medium);
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
.stzh-card__left {
|
|
243
|
+
align-self: center;
|
|
244
|
+
}
|
|
245
|
+
.stzh-card__title-area {
|
|
246
|
+
overflow-wrap: break-word;
|
|
247
|
+
word-wrap: break-word;
|
|
248
|
+
word-break: break-word;
|
|
249
|
+
-webkit-hyphens: auto;
|
|
250
|
+
hyphens: auto;
|
|
251
|
+
overflow: hidden;
|
|
252
|
+
}
|
|
253
|
+
.stzh-card__title, .stzh-card__subtitle {
|
|
254
|
+
margin: 0;
|
|
255
|
+
}
|
|
256
|
+
.stzh-card__title {
|
|
257
|
+
font-family: var(--stzh-font-family-heavy);
|
|
258
|
+
font-weight: var(--stzh-font-weight-heavy);
|
|
259
|
+
font-style: normal;
|
|
260
|
+
font-size: var(--stzh-font-curve-h3-default-font-size, var(--stzh-font-centi-font-size));
|
|
261
|
+
line-height: var(--stzh-font-curve-h3-default-heading-line-height, var(--stzh-font-centi-heading-line-height));
|
|
262
|
+
letter-spacing: var(--stzh-font-curve-h3-default-heading-letter-spacing);
|
|
263
|
+
color: var(--stzh-base-lead-color);
|
|
264
|
+
}
|
|
265
|
+
@media screen and (min-width: 600px) {
|
|
266
|
+
.stzh-card__title {
|
|
267
|
+
font-size: var(--stzh-font-curve-h3-small-font-size, var(--stzh-font-deci-font-size));
|
|
268
|
+
line-height: var(--stzh-font-curve-h3-small-heading-line-height, var(--stzh-font-deci-heading-line-height));
|
|
269
|
+
letter-spacing: var(--stzh-font-curve-h3-small-heading-letter-spacing);
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
@media screen and (min-width: 1024px) {
|
|
273
|
+
.stzh-card__title {
|
|
274
|
+
font-size: var(--stzh-font-curve-h3-medium-font-size, var(--stzh-font-regular-font-size));
|
|
275
|
+
line-height: var(--stzh-font-curve-h3-medium-heading-line-height, var(--stzh-font-regular-heading-line-height));
|
|
276
|
+
letter-spacing: var(--stzh-font-curve-h3-medium-heading-letter-spacing);
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
.stzh-card__subtitle {
|
|
280
|
+
font-size: var(--stzh-font-curve-p1-default-font-size, var(--stzh-font-milli-font-size));
|
|
281
|
+
line-height: var(--stzh-font-curve-p1-default-text-line-height, var(--stzh-font-milli-text-line-height));
|
|
282
|
+
letter-spacing: var(--stzh-font-curve-p1-default-text-letter-spacing);
|
|
283
|
+
display: flex;
|
|
284
|
+
align-items: center;
|
|
285
|
+
flex-wrap: wrap;
|
|
286
|
+
text-decoration: none;
|
|
287
|
+
margin-left: -0.5625em;
|
|
288
|
+
}
|
|
289
|
+
@media screen and (min-width: 1024px) {
|
|
290
|
+
.stzh-card__subtitle {
|
|
291
|
+
font-size: var(--stzh-font-curve-p1-medium-font-size, var(--stzh-font-centi-font-size));
|
|
292
|
+
line-height: var(--stzh-font-curve-p1-medium-text-line-height, var(--stzh-font-centi-text-line-height));
|
|
293
|
+
letter-spacing: var(--stzh-font-curve-p1-medium-text-letter-spacing);
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
.stzh-card__subtitle-text {
|
|
297
|
+
position: relative;
|
|
298
|
+
display: inline-flex;
|
|
299
|
+
padding-left: 0.5625em;
|
|
300
|
+
}
|
|
301
|
+
.stzh-card__subtitle-text::after {
|
|
302
|
+
content: ",";
|
|
303
|
+
position: absolute;
|
|
304
|
+
left: 0;
|
|
305
|
+
}
|
|
306
|
+
.stzh-card__content:not(:empty) {
|
|
307
|
+
padding: var(--stzh-space-medium);
|
|
308
|
+
}
|
|
309
|
+
@media screen and (min-width: 1024px) {
|
|
310
|
+
.stzh-card__content:not(:empty) {
|
|
311
|
+
padding: var(--stzh-space-large);
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
@media screen and (min-width: 1260px) {
|
|
315
|
+
.stzh-card__content:not(:empty) {
|
|
316
|
+
padding: var(--stzh-space-xlarge);
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
.stzh-card__footer:not(:empty) {
|
|
320
|
+
padding: var(--stzh-space-medium);
|
|
321
|
+
border-top: 0.0625rem solid var(--stzh-base-border-color);
|
|
322
|
+
}
|
|
323
|
+
@media screen and (min-width: 1024px) {
|
|
324
|
+
.stzh-card__footer:not(:empty) {
|
|
325
|
+
padding: var(--stzh-space-large);
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
@media screen and (min-width: 1260px) {
|
|
329
|
+
.stzh-card__footer:not(:empty) {
|
|
330
|
+
padding: var(--stzh-space-xlarge);
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
.stzh-card__card-actions {
|
|
334
|
+
display: inline-flex;
|
|
335
|
+
white-space: nowrap;
|
|
336
|
+
}
|
|
337
|
+
@media screen and (max-width: 1023px) {
|
|
338
|
+
.stzh-card__card-action {
|
|
339
|
+
--icon-text-margin: 0;
|
|
340
|
+
--badge-icon-text-margin: 0;
|
|
341
|
+
}
|
|
342
|
+
}
|
|
343
|
+
.stzh-card__card-action[variant=tertiary] {
|
|
344
|
+
--color: var(--stzh-color-grey70);
|
|
345
|
+
}
|
|
346
|
+
.stzh-card__card-action.is-button {
|
|
347
|
+
--icon-size: var(--stzh-icon-size-small);
|
|
348
|
+
}
|
|
349
|
+
.stzh-card__card-action.is-placeholder {
|
|
350
|
+
width: var(--stzh-space-xxlarge);
|
|
351
|
+
height: var(--stzh-space-xxlarge);
|
|
352
|
+
}
|
|
353
|
+
.stzh-card__card-action-popover {
|
|
354
|
+
--width: auto;
|
|
355
|
+
}
|
|
356
|
+
.stzh-card--has-subtitle-interactive .stzh-card__subtitle {
|
|
357
|
+
cursor: pointer;
|
|
358
|
+
padding: 0;
|
|
359
|
+
-webkit-appearance: none;
|
|
360
|
+
-moz-appearance: none;
|
|
361
|
+
appearance: none;
|
|
362
|
+
background: none;
|
|
363
|
+
border: none;
|
|
364
|
+
transition: color var(--stzh-base-transition-animation-speed);
|
|
365
|
+
color: var(--stzh-color-primary, var(--stzh-color-zueriblue));
|
|
366
|
+
}
|
|
367
|
+
.stzh-card--has-subtitle-interactive .stzh-card__subtitle:hover, .stzh-card--has-subtitle-interactive .stzh-card__subtitle:focus {
|
|
368
|
+
color: var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));
|
|
369
|
+
}
|
|
370
|
+
.stzh-card--is-collapsed .hide-when-collapsed, .stzh-card--has-collapsed-header .stzh-card__header .hide-when-collapsed {
|
|
371
|
+
display: none;
|
|
372
|
+
}
|
|
373
|
+
.stzh-card--is-collapsed .show-when-collapsed, .stzh-card--has-collapsed-header .stzh-card__header .show-when-collapsed {
|
|
374
|
+
display: block;
|
|
375
|
+
}
|
|
376
|
+
.stzh-card--is-collapsed .stzh-card__header {
|
|
377
|
+
border-bottom: none;
|
|
378
|
+
}
|
|
379
|
+
.stzh-card--is-collapsed .stzh-card__card-action, .stzh-card--has-collapsed-header .stzh-card__card-action {
|
|
380
|
+
--icon-text-margin: 0;
|
|
381
|
+
--badge-icon-text-margin: 0;
|
|
382
|
+
}
|
|
383
|
+
.stzh-card--is-starred .stzh-card__card-action.is-star {
|
|
384
|
+
color: var(--stzh-color-primary, var(--stzh-color-zueriblue));
|
|
385
|
+
}
|
|
386
|
+
.stzh-card--is-starred .stzh-card__card-action.is-star:hover, .stzh-card--is-starred .stzh-card__card-action.is-star:focus {
|
|
387
|
+
color: var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));
|
|
388
|
+
}
|
|
389
|
+
.stzh-card--has-hidden-header-border .stzh-card__header {
|
|
390
|
+
border-bottom: none;
|
|
391
|
+
padding-bottom: 0;
|
|
392
|
+
}
|
|
393
|
+
.stzh-card--has-hidden-footer-border .stzh-card__footer:not(:empty) {
|
|
394
|
+
padding-top: 0;
|
|
395
|
+
border-top: none;
|
|
396
|
+
}
|