@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
|
@@ -2,11 +2,14 @@
|
|
|
2
2
|
export { StzhAccordion as StzhAccordion } from '../types/components/stzh-accordion/stzh-accordion';
|
|
3
3
|
export { StzhAccordionItem as StzhAccordionItem } from '../types/components/stzh-accordion-item/stzh-accordion-item';
|
|
4
4
|
export { StzhActions as StzhActions } from '../types/components/stzh-actions/stzh-actions';
|
|
5
|
+
export { StzhActionset as StzhActionset } from '../types/components/stzh-actionset/stzh-actionset';
|
|
5
6
|
export { StzhAppnav as StzhAppnav } from '../types/components/stzh-appnav/stzh-appnav';
|
|
6
7
|
export { StzhAppointments as StzhAppointments } from '../types/components/stzh-appointments/stzh-appointments';
|
|
7
8
|
export { StzhBadge as StzhBadge } from '../types/components/stzh-badge/stzh-badge';
|
|
8
9
|
export { StzhButton as StzhButton } from '../types/components/stzh-button/stzh-button';
|
|
9
10
|
export { StzhCalendar as StzhCalendar } from '../types/components/stzh-calendar/stzh-calendar';
|
|
11
|
+
export { StzhCard as StzhCard } from '../types/components/stzh-card/stzh-card';
|
|
12
|
+
export { StzhCardList as StzhCardList } from '../types/components/stzh-card-list/stzh-card-list';
|
|
10
13
|
export { StzhCell as StzhCell } from '../types/components/stzh-cell/stzh-cell';
|
|
11
14
|
export { StzhCheckbox as StzhCheckbox } from '../types/components/stzh-checkbox/stzh-checkbox';
|
|
12
15
|
export { StzhCheckboxgroup as StzhCheckboxgroup } from '../types/components/stzh-checkboxgroup/stzh-checkboxgroup';
|
|
@@ -14,6 +17,7 @@ export { StzhChip as StzhChip } from '../types/components/stzh-chip/stzh-chip';
|
|
|
14
17
|
export { StzhChipSelect as StzhChipSelect } from '../types/components/stzh-chip-select/stzh-chip-select';
|
|
15
18
|
export { StzhContainer as StzhContainer } from '../types/components/stzh-container/stzh-container';
|
|
16
19
|
export { StzhCspace as StzhCspace } from '../types/components/stzh-cspace/stzh-cspace';
|
|
20
|
+
export { StzhDatalist as StzhDatalist } from '../types/components/stzh-datalist/stzh-datalist';
|
|
17
21
|
export { StzhDatamessagelist as StzhDatamessagelist } from '../types/components/stzh-datamessagelist/stzh-datamessagelist';
|
|
18
22
|
export { StzhDatamessagelistItem as StzhDatamessagelistItem } from '../types/components/stzh-datamessagelist-item/stzh-datamessagelist-item';
|
|
19
23
|
export { StzhDatatable as StzhDatatable } from '../types/components/stzh-datatable/stzh-datatable';
|
|
@@ -55,8 +59,6 @@ export { StzhRichtext as StzhRichtext } from '../types/components/stzh-richtext/
|
|
|
55
59
|
export { StzhRow as StzhRow } from '../types/components/stzh-row/stzh-row';
|
|
56
60
|
export { StzhSaptcha as StzhSaptcha } from '../types/components/stzh-saptcha/stzh-saptcha';
|
|
57
61
|
export { StzhSection as StzhSection } from '../types/components/stzh-section/stzh-section';
|
|
58
|
-
export { StzhServicecard as StzhServicecard } from '../types/components/stzh-servicecard/stzh-servicecard';
|
|
59
|
-
export { StzhServicecardList as StzhServicecardList } from '../types/components/stzh-servicecard-list/stzh-servicecard-list';
|
|
60
62
|
export { StzhSkiplink as StzhSkiplink } from '../types/components/stzh-skiplink/stzh-skiplink';
|
|
61
63
|
export { StzhSortable as StzhSortable } from '../types/components/stzh-sortable/stzh-sortable';
|
|
62
64
|
export { StzhStatus as StzhStatus } from '../types/components/stzh-status/stzh-status';
|
package/dist/components/index.js
CHANGED
|
@@ -2,11 +2,14 @@ export { setAssetPath, setPlatformOptions } from '@stencil/core/internal/client'
|
|
|
2
2
|
export { StzhAccordion, defineCustomElement as defineCustomElementStzhAccordion } from './stzh-accordion.js';
|
|
3
3
|
export { StzhAccordionItem, defineCustomElement as defineCustomElementStzhAccordionItem } from './stzh-accordion-item.js';
|
|
4
4
|
export { StzhActions, defineCustomElement as defineCustomElementStzhActions } from './stzh-actions.js';
|
|
5
|
+
export { StzhActionset, defineCustomElement as defineCustomElementStzhActionset } from './stzh-actionset.js';
|
|
5
6
|
export { StzhAppnav, defineCustomElement as defineCustomElementStzhAppnav } from './stzh-appnav.js';
|
|
6
7
|
export { StzhAppointments, defineCustomElement as defineCustomElementStzhAppointments } from './stzh-appointments.js';
|
|
7
8
|
export { StzhBadge, defineCustomElement as defineCustomElementStzhBadge } from './stzh-badge.js';
|
|
8
9
|
export { StzhButton, defineCustomElement as defineCustomElementStzhButton } from './stzh-button.js';
|
|
9
10
|
export { StzhCalendar, defineCustomElement as defineCustomElementStzhCalendar } from './stzh-calendar.js';
|
|
11
|
+
export { StzhCard, defineCustomElement as defineCustomElementStzhCard } from './stzh-card.js';
|
|
12
|
+
export { StzhCardList, defineCustomElement as defineCustomElementStzhCardList } from './stzh-card-list.js';
|
|
10
13
|
export { StzhCell, defineCustomElement as defineCustomElementStzhCell } from './stzh-cell.js';
|
|
11
14
|
export { StzhCheckbox, defineCustomElement as defineCustomElementStzhCheckbox } from './stzh-checkbox.js';
|
|
12
15
|
export { StzhCheckboxgroup, defineCustomElement as defineCustomElementStzhCheckboxgroup } from './stzh-checkboxgroup.js';
|
|
@@ -14,6 +17,7 @@ export { StzhChip, defineCustomElement as defineCustomElementStzhChip } from './
|
|
|
14
17
|
export { StzhChipSelect, defineCustomElement as defineCustomElementStzhChipSelect } from './stzh-chip-select.js';
|
|
15
18
|
export { StzhContainer, defineCustomElement as defineCustomElementStzhContainer } from './stzh-container.js';
|
|
16
19
|
export { StzhCspace, defineCustomElement as defineCustomElementStzhCspace } from './stzh-cspace.js';
|
|
20
|
+
export { StzhDatalist, defineCustomElement as defineCustomElementStzhDatalist } from './stzh-datalist.js';
|
|
17
21
|
export { StzhDatamessagelist, defineCustomElement as defineCustomElementStzhDatamessagelist } from './stzh-datamessagelist.js';
|
|
18
22
|
export { StzhDatamessagelistItem, defineCustomElement as defineCustomElementStzhDatamessagelistItem } from './stzh-datamessagelist-item.js';
|
|
19
23
|
export { StzhDatatable, defineCustomElement as defineCustomElementStzhDatatable } from './stzh-datatable.js';
|
|
@@ -55,8 +59,6 @@ export { StzhRichtext, defineCustomElement as defineCustomElementStzhRichtext }
|
|
|
55
59
|
export { StzhRow, defineCustomElement as defineCustomElementStzhRow } from './stzh-row.js';
|
|
56
60
|
export { StzhSaptcha, defineCustomElement as defineCustomElementStzhSaptcha } from './stzh-saptcha.js';
|
|
57
61
|
export { StzhSection, defineCustomElement as defineCustomElementStzhSection } from './stzh-section.js';
|
|
58
|
-
export { StzhServicecard, defineCustomElement as defineCustomElementStzhServicecard } from './stzh-servicecard.js';
|
|
59
|
-
export { StzhServicecardList, defineCustomElement as defineCustomElementStzhServicecardList } from './stzh-servicecard-list.js';
|
|
60
62
|
export { StzhSkiplink, defineCustomElement as defineCustomElementStzhSkiplink } from './stzh-skiplink.js';
|
|
61
63
|
export { StzhSortable, defineCustomElement as defineCustomElementStzhSortable } from './stzh-sortable.js';
|
|
62
64
|
export { StzhStatus, defineCustomElement as defineCustomElementStzhStatus } from './stzh-status.js';
|
|
@@ -72,7 +74,7 @@ export { StzhVisuallyhidden, defineCustomElement as defineCustomElementStzhVisua
|
|
|
72
74
|
export { StzhVspace, defineCustomElement as defineCustomElementStzhVspace } from './stzh-vspace.js';
|
|
73
75
|
|
|
74
76
|
const name = "@oiz/stzh-components";
|
|
75
|
-
const version = "
|
|
77
|
+
const version = "2.0.0";
|
|
76
78
|
|
|
77
79
|
const packageName = name.substring(name.indexOf('/')+1);
|
|
78
80
|
|
|
@@ -1,22 +1,24 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
2
|
import { w as waitForEvent } from './event-utils.js';
|
|
3
3
|
import { s as stopAnimations, a as animateTo, b as shimKeyframesHeightAuto } from './animation-utils.js';
|
|
4
|
+
import { d as defineCustomElement$3 } from './stzh-badge2.js';
|
|
5
|
+
import { d as defineCustomElement$2 } from './stzh-icon2.js';
|
|
4
6
|
|
|
5
|
-
const stzhAccordionItemCss = ".sc-stzh-accordion-item-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-accordion-item-h{display:none}.sc-stzh-accordion-item-h *.sc-stzh-accordion-item,.sc-stzh-accordion-item-h *.sc-stzh-accordion-item::before,.sc-stzh-accordion-item-h *.sc-stzh-accordion-item::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-accordion-item-h{--trigger-size:1.3125rem;--content-padding:var(--stzh-accordion-content-padding);--content-background:var(--stzh-accordion-content-background)}.stzh-accordion-item__heading.sc-stzh-accordion-item{margin:0}.stzh-accordion-item__button.sc-stzh-accordion-item{font-size:var(--stzh-font-curve-p1-default-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-p1-default-text-line-height, var(--stzh-font-milli-text-line-height));letter-spacing:var(--stzh-font-curve-p1-default-text-letter-spacing);width:100%;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;padding:var(--stzh-space-xsmall) var(--stzh-space-medium);border:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;min-height:3.75rem;border:0.0625rem solid var(--stzh-base-border-color);color:var(--stzh-color-primary, var(--stzh-color-zueriblue));text-align:left;-webkit-transition-property:color, background-color, border-color;transition-property:color, background-color, border-color;-webkit-transition-duration:var(--stzh-base-transition-animation-speed);transition-duration:var(--stzh-base-transition-animation-speed);cursor:pointer}@media screen and (min-width: 1024px){.stzh-accordion-item__button.sc-stzh-accordion-item{font-size:var(--stzh-font-curve-p1-medium-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-p1-medium-text-line-height, var(--stzh-font-centi-text-line-height));letter-spacing:var(--stzh-font-curve-p1-medium-text-letter-spacing)}}.stzh-accordion-item__button.sc-stzh-accordion-item:hover,.stzh-accordion-item__button.sc-stzh-accordion-item:focus{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-accordion-item__button-text.sc-stzh-accordion-item{-ms-flex-positive:1;flex-grow:1}.stzh-accordion-item__button-icon.sc-stzh-accordion-item{position:relative;width:var(--trigger-size);height:var(--trigger-size);margin-left:var(--stzh-space-medium)}.stzh-accordion-item__button-icon.sc-stzh-accordion-item::before,.stzh-accordion-item__button-icon.sc-stzh-accordion-item::after{position:absolute;top:50%;left:50%;content:\"\";display:block;width:var(--trigger-size);height:0.0625rem;-webkit-transition:-webkit-transform 0.5s;transition:-webkit-transform 0.5s;transition:transform 0.5s;transition:transform 0.5s, -webkit-transform 0.5s;-webkit-transform-origin:top left;transform-origin:top left;background-color:currentColor}.stzh-accordion-item__button-icon.sc-stzh-accordion-item::before{-webkit-transform:rotate(180deg) translate(-50%, -50%);transform:rotate(180deg) translate(-50%, -50%)}.stzh-accordion-item__button-icon.sc-stzh-accordion-item::after{-webkit-transform:rotate(90deg) translate(-50%, -50%);transform:rotate(90deg) translate(-50%, -50%)}.stzh-accordion-item__content.sc-stzh-accordion-item{overflow:hidden;background-color:var(--content-background)}.stzh-accordion-item__content-inner.sc-stzh-accordion-item{padding:var(--content-padding)}.stzh-accordion-item__subtitle.sc-stzh-accordion-item{-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed)}.stzh-accordion-item__heading.sc-stzh-accordion-item,.stzh-accordion-item__subtitle.sc-stzh-accordion-item{display:block}.stzh-accordion-item--has-
|
|
7
|
+
const stzhAccordionItemCss = ".sc-stzh-accordion-item-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-accordion-item-h{display:none}.sc-stzh-accordion-item-h *.sc-stzh-accordion-item,.sc-stzh-accordion-item-h *.sc-stzh-accordion-item::before,.sc-stzh-accordion-item-h *.sc-stzh-accordion-item::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-accordion-item-h{--trigger-size:1.3125rem;--content-padding:var(--stzh-accordion-content-padding);--content-background:var(--stzh-accordion-content-background);--icon-size:var(--stzh-icon-size-small)}.sc-stzh-accordion-item-h .sc-stzh-accordion-item-s>stzh-icon,.stzh-accordion-item__icon.sc-stzh-accordion-item{--size:var(--icon-size)}.stzh-accordion-item__heading.sc-stzh-accordion-item{position:relative;margin:0}.stzh-accordion-item__button.sc-stzh-accordion-item{font-size:var(--stzh-font-curve-p1-default-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-p1-default-text-line-height, var(--stzh-font-milli-text-line-height));letter-spacing:var(--stzh-font-curve-p1-default-text-letter-spacing);width:100%;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;padding:var(--stzh-space-xsmall) var(--stzh-space-medium);border:none;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;min-height:3.75rem;border:0.0625rem solid var(--stzh-base-border-color);color:var(--stzh-color-primary, var(--stzh-color-zueriblue));text-align:left;-webkit-transition-property:color, background-color, border-color;transition-property:color, background-color, border-color;-webkit-transition-duration:var(--stzh-base-transition-animation-speed);transition-duration:var(--stzh-base-transition-animation-speed);cursor:pointer}@media screen and (min-width: 1024px){.stzh-accordion-item__button.sc-stzh-accordion-item{font-size:var(--stzh-font-curve-p1-medium-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-p1-medium-text-line-height, var(--stzh-font-centi-text-line-height));letter-spacing:var(--stzh-font-curve-p1-medium-text-letter-spacing)}}.stzh-accordion-item__button.sc-stzh-accordion-item:hover,.stzh-accordion-item__button.sc-stzh-accordion-item:focus{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-accordion-item__button-text.sc-stzh-accordion-item{-ms-flex-positive:1;flex-grow:1}.stzh-accordion-item__button-icon.sc-stzh-accordion-item{position:relative;width:var(--trigger-size);height:var(--trigger-size);margin-left:var(--stzh-space-medium)}.stzh-accordion-item__button-icon.sc-stzh-accordion-item::before,.stzh-accordion-item__button-icon.sc-stzh-accordion-item::after{position:absolute;top:50%;left:50%;content:\"\";display:block;width:var(--trigger-size);height:0.0625rem;-webkit-transition:-webkit-transform 0.5s;transition:-webkit-transform 0.5s;transition:transform 0.5s;transition:transform 0.5s, -webkit-transform 0.5s;-webkit-transform-origin:top left;transform-origin:top left;background-color:currentColor}.stzh-accordion-item__button-icon.sc-stzh-accordion-item::before{-webkit-transform:rotate(180deg) translate(-50%, -50%);transform:rotate(180deg) translate(-50%, -50%)}.stzh-accordion-item__button-icon.sc-stzh-accordion-item::after{-webkit-transform:rotate(90deg) translate(-50%, -50%);transform:rotate(90deg) translate(-50%, -50%)}.stzh-accordion-item__content.sc-stzh-accordion-item{overflow:hidden;background-color:var(--content-background)}.stzh-accordion-item__content-inner.sc-stzh-accordion-item{padding:var(--content-padding)}.stzh-accordion-item__icon-wrapper.sc-stzh-accordion-item{-ms-flex-item-align:start;align-self:flex-start}.stzh-accordion-item__icon-wrapper.sc-stzh-accordion-item:not(:empty){margin-right:var(--stzh-space-xsmall)}.stzh-accordion-item__badge.sc-stzh-accordion-item{position:absolute;right:-0.3125rem;top:-0.3125rem}.stzh-accordion-item__description.sc-stzh-accordion-item,.stzh-accordion-item__subtitle.sc-stzh-accordion-item{color:var(--stzh-base-color);-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed)}.stzh-accordion-item__description.sc-stzh-accordion-item{font-size:var(--stzh-font-curve-caption-default-font-size, var(--stzh-font-nano-font-size));line-height:var(--stzh-font-curve-caption-default-text-line-height, var(--stzh-font-nano-text-line-height))}@media screen and (min-width: 1024px){.stzh-accordion-item__description.sc-stzh-accordion-item{font-size:var(--stzh-font-curve-caption-medium-font-size, var(--stzh-font-micro-font-size));line-height:var(--stzh-font-curve-caption-medium-text-line-height, var(--stzh-font-micro-text-line-height))}}.stzh-accordion-item__heading.sc-stzh-accordion-item,.stzh-accordion-item__description.sc-stzh-accordion-item,.stzh-accordion-item__subtitle.sc-stzh-accordion-item{display:block}.stzh-accordion-item--has-description.sc-stzh-accordion-item .stzh-accordion-item__button.sc-stzh-accordion-item,.stzh-accordion-item--has-subtitle.sc-stzh-accordion-item .stzh-accordion-item__button.sc-stzh-accordion-item{padding:var(--stzh-space-medium)}.stzh-accordion-item--has-subtitle.sc-stzh-accordion-item .stzh-accordion-item__heading.sc-stzh-accordion-item{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;font-size:var(--stzh-font-curve-h2-default-font-size, var(--stzh-font-deci-font-size));line-height:var(--stzh-font-curve-h2-default-heading-line-height, var(--stzh-font-deci-heading-line-height));letter-spacing:var(--stzh-font-curve-h2-default-heading-letter-spacing)}@media screen and (min-width: 600px){.stzh-accordion-item--has-subtitle.sc-stzh-accordion-item .stzh-accordion-item__heading.sc-stzh-accordion-item{font-size:var(--stzh-font-curve-h2-small-font-size, var(--stzh-font-deca-font-size));line-height:var(--stzh-font-curve-h2-small-heading-line-height, var(--stzh-font-deca-text-line-height));letter-spacing:var(--stzh-font-curve-h2-small-heading-letter-spacing, var(--stzh-font-deca-text-letter-spacing))}}@media screen and (min-width: 1024px){.stzh-accordion-item--has-subtitle.sc-stzh-accordion-item .stzh-accordion-item__heading.sc-stzh-accordion-item{font-size:var(--stzh-font-curve-h2-medium-font-size, var(--stzh-font-hecto-font-size));line-height:var(--stzh-font-curve-h2-medium-heading-line-height, var(--stzh-font-hecto-text-line-height));letter-spacing:var(--stzh-font-curve-h2-medium-heading-letter-spacing, var(--stzh-font-hecto-text-letter-spacing))}}@media screen and (min-width: 1440px){.stzh-accordion-item--has-subtitle.sc-stzh-accordion-item .stzh-accordion-item__heading.sc-stzh-accordion-item{font-size:var(--stzh-font-curve-h2-ultra-font-size, var(--stzh-font-kilo-font-size));line-height:var(--stzh-font-curve-h2-ultra-heading-line-height, var(--stzh-font-kilo-text-line-height));letter-spacing:var(--stzh-font-curve-h2-ultra-heading-letter-spacing, var(--stzh-font-kilo-text-letter-spacing))}}.stzh-accordion-item--is-open.sc-stzh-accordion-item .stzh-accordion-item__button.sc-stzh-accordion-item{color:var(--stzh-color-white);background-color:var(--stzh-color-primary, var(--stzh-color-zueriblue));border-color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-accordion-item--is-open.sc-stzh-accordion-item .stzh-accordion-item__description.sc-stzh-accordion-item,.stzh-accordion-item--is-open.sc-stzh-accordion-item .stzh-accordion-item__subtitle.sc-stzh-accordion-item{color:var(--stzh-color-white)}.stzh-accordion-item--is-open.sc-stzh-accordion-item .stzh-accordion-item__button-icon.sc-stzh-accordion-item::before,.stzh-accordion-item--is-open.sc-stzh-accordion-item .stzh-accordion-item__button-icon.sc-stzh-accordion-item::after{-webkit-transform:rotate(0) translate(-50%, -50%);transform:rotate(0) translate(-50%, -50%)}.stzh-accordion-item--is-disabled.sc-stzh-accordion-item .stzh-accordion-item__button.sc-stzh-accordion-item{cursor:not-allowed;color:var(--stzh-color-grey61);border-color:var(--stzh-color-grey5);background-color:var(--stzh-color-grey5)}";
|
|
6
8
|
|
|
7
9
|
const ANIMATION_SHOW = {
|
|
8
10
|
keyframes: [
|
|
9
|
-
{ height:
|
|
10
|
-
{ height:
|
|
11
|
+
{ height: "0", opacity: "0" },
|
|
12
|
+
{ height: "auto", opacity: "1" }
|
|
11
13
|
],
|
|
12
|
-
options: { duration: 300, easing:
|
|
14
|
+
options: { duration: 300, easing: "linear" }
|
|
13
15
|
};
|
|
14
16
|
const ANIMATION_HIDE = {
|
|
15
17
|
keyframes: [
|
|
16
|
-
{ height:
|
|
17
|
-
{ height:
|
|
18
|
+
{ height: "auto", opacity: "1" },
|
|
19
|
+
{ height: "0", opacity: "0" }
|
|
18
20
|
],
|
|
19
|
-
options: { duration: 300, easing:
|
|
21
|
+
options: { duration: 300, easing: "linear" }
|
|
20
22
|
};
|
|
21
23
|
let accordionItemCounter = 0;
|
|
22
24
|
const StzhAccordionItem$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
@@ -35,6 +37,16 @@ const StzhAccordionItem$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLE
|
|
|
35
37
|
this.heading = "";
|
|
36
38
|
/** Subtitle */
|
|
37
39
|
this.subtitle = "";
|
|
40
|
+
/** Description */
|
|
41
|
+
this.description = "";
|
|
42
|
+
/** Icon (use instead of icon slot) */
|
|
43
|
+
this.icon = "";
|
|
44
|
+
/** Badge */
|
|
45
|
+
this.badge = "";
|
|
46
|
+
/** Whether badge should be displayed empty */
|
|
47
|
+
this.badgeEmpty = false;
|
|
48
|
+
/** Badge type */
|
|
49
|
+
this.badgeType = "default";
|
|
38
50
|
/** Heading level */
|
|
39
51
|
this.headingLevel = "3";
|
|
40
52
|
this.toggledByMethod = false;
|
|
@@ -89,32 +101,34 @@ const StzhAccordionItem$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLE
|
|
|
89
101
|
if (newValue) {
|
|
90
102
|
if (this.toggledByMethod) {
|
|
91
103
|
this.stzhOpen.emit({
|
|
92
|
-
component:
|
|
104
|
+
component: "stzh-accordion-item"
|
|
93
105
|
});
|
|
94
106
|
}
|
|
95
107
|
await stopAnimations(this.bodyElement);
|
|
96
108
|
this.bodyElement.hidden = false;
|
|
97
109
|
await animateTo(this.bodyElement, shimKeyframesHeightAuto(ANIMATION_SHOW.keyframes, this.bodyElement.scrollHeight), ANIMATION_SHOW.options);
|
|
98
|
-
this.bodyElement.style.height =
|
|
110
|
+
this.bodyElement.style.height = "auto";
|
|
111
|
+
this.bodyElement.style.overflow = "auto";
|
|
99
112
|
if (this.toggledByMethod) {
|
|
100
113
|
this.stzhOpened.emit({
|
|
101
|
-
component:
|
|
114
|
+
component: "stzh-accordion-item"
|
|
102
115
|
});
|
|
103
116
|
}
|
|
104
117
|
}
|
|
105
118
|
else {
|
|
106
119
|
if (this.toggledByMethod) {
|
|
107
120
|
this.stzhClose.emit({
|
|
108
|
-
component:
|
|
121
|
+
component: "stzh-accordion-item"
|
|
109
122
|
});
|
|
110
123
|
}
|
|
111
124
|
await stopAnimations(this.bodyElement);
|
|
112
125
|
await animateTo(this.bodyElement, shimKeyframesHeightAuto(ANIMATION_HIDE.keyframes, this.bodyElement.scrollHeight), ANIMATION_HIDE.options);
|
|
113
126
|
this.bodyElement.hidden = true;
|
|
114
|
-
this.bodyElement.style.height =
|
|
127
|
+
this.bodyElement.style.height = "0px";
|
|
128
|
+
this.bodyElement.style.overflow = "hidden";
|
|
115
129
|
if (this.toggledByMethod) {
|
|
116
130
|
this.stzhClosed.emit({
|
|
117
|
-
component:
|
|
131
|
+
component: "stzh-accordion-item"
|
|
118
132
|
});
|
|
119
133
|
}
|
|
120
134
|
}
|
|
@@ -156,17 +170,23 @@ const StzhAccordionItem$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLE
|
|
|
156
170
|
}
|
|
157
171
|
componentDidLoad() {
|
|
158
172
|
this.bodyElement.hidden = !this.open;
|
|
159
|
-
this.bodyElement.style.height = this.open ? "auto" : "
|
|
173
|
+
this.bodyElement.style.height = this.open ? "auto" : "0px";
|
|
174
|
+
this.bodyElement.style.overflow = this.open ? "auto" : "hidden";
|
|
160
175
|
}
|
|
161
176
|
render() {
|
|
162
177
|
const Heading = `h${this.headingLevel}`;
|
|
163
178
|
const classes = {
|
|
164
179
|
"stzh-accordion-item": true,
|
|
180
|
+
"stzh-accordion-item--has-description": !!this.description,
|
|
165
181
|
"stzh-accordion-item--has-subtitle": !!this.subtitle,
|
|
166
182
|
"stzh-accordion-item--is-open": this.open,
|
|
167
183
|
"stzh-accordion-item--is-disabled": this.disabled,
|
|
168
184
|
};
|
|
169
|
-
return (h(Host, null, h("div", { class: classes }, h(Heading, { id: `${this.accordionItemId}-header`, class: "stzh-accordion-item__heading", onClick: this.handleHeaderClick }, h("button", { ref: (el) => (this.buttonElement = el), class: "stzh-accordion-item__button", "aria-controls": `${this.accordionItemId}-content`, "aria-expanded": `${this.open ? "true" : "false"}`, disabled: this.disabled, onKeyDown: this.onButtonKeydown, type: "button" }, h("span", { class: "stzh-accordion-
|
|
185
|
+
return (h(Host, null, h("div", { class: classes }, h(Heading, { id: `${this.accordionItemId}-header`, class: "stzh-accordion-item__heading", onClick: this.handleHeaderClick }, h("button", { ref: (el) => (this.buttonElement = el), class: "stzh-accordion-item__button", "aria-controls": `${this.accordionItemId}-content`, "aria-expanded": `${this.open ? "true" : "false"}`, disabled: this.disabled, onKeyDown: this.onButtonKeydown, type: "button" }, h("span", { class: "stzh-accordion-item__icon-wrapper" }, this.icon ?
|
|
186
|
+
h("stzh-icon", { class: "stzh-accordion-item__icon", name: this.icon })
|
|
187
|
+
:
|
|
188
|
+
h("slot", { name: "icon" })), h("span", { class: "stzh-accordion-item__button-text" }, h("span", { class: "stzh-accordion-item__subtitle" }, this.subtitle), h("span", { class: "stzh-accordion-item__heading" }, this.heading), h("span", { class: "stzh-accordion-item__description" }, this.description)), h("span", { class: "stzh-accordion-item__button-icon" }), (this.badge || this.badgeEmpty) &&
|
|
189
|
+
h("stzh-badge", { class: "stzh-accordion-item__badge", label: this.badge, type: this.badgeType }))), h("div", { id: `${this.accordionItemId}-content`, ref: (el) => (this.bodyElement = el), class: "stzh-accordion-item__content", "aria-labelledby": `${this.accordionItemId}-header`, role: "region", onKeyDown: this.onContentKeydown }, h("div", { class: "stzh-accordion-item__content-inner" }, h("slot", null))))));
|
|
170
190
|
}
|
|
171
191
|
get element() { return this; }
|
|
172
192
|
static get watchers() { return {
|
|
@@ -178,6 +198,11 @@ const StzhAccordionItem$1 = /*@__PURE__*/ proxyCustomElement(class extends HTMLE
|
|
|
178
198
|
"disabled": [516],
|
|
179
199
|
"heading": [1],
|
|
180
200
|
"subtitle": [1],
|
|
201
|
+
"description": [1],
|
|
202
|
+
"icon": [1],
|
|
203
|
+
"badge": [1],
|
|
204
|
+
"badgeEmpty": [516, "badge-empty"],
|
|
205
|
+
"badgeType": [513, "badge-type"],
|
|
181
206
|
"headingLevel": [513, "heading-level"],
|
|
182
207
|
"show": [64],
|
|
183
208
|
"hide": [64],
|
|
@@ -188,13 +213,23 @@ function defineCustomElement$1() {
|
|
|
188
213
|
if (typeof customElements === "undefined") {
|
|
189
214
|
return;
|
|
190
215
|
}
|
|
191
|
-
const components = ["stzh-accordion-item"];
|
|
216
|
+
const components = ["stzh-accordion-item", "stzh-badge", "stzh-icon"];
|
|
192
217
|
components.forEach(tagName => { switch (tagName) {
|
|
193
218
|
case "stzh-accordion-item":
|
|
194
219
|
if (!customElements.get(tagName)) {
|
|
195
220
|
customElements.define(tagName, StzhAccordionItem$1);
|
|
196
221
|
}
|
|
197
222
|
break;
|
|
223
|
+
case "stzh-badge":
|
|
224
|
+
if (!customElements.get(tagName)) {
|
|
225
|
+
defineCustomElement$3();
|
|
226
|
+
}
|
|
227
|
+
break;
|
|
228
|
+
case "stzh-icon":
|
|
229
|
+
if (!customElements.get(tagName)) {
|
|
230
|
+
defineCustomElement$2();
|
|
231
|
+
}
|
|
232
|
+
break;
|
|
198
233
|
} });
|
|
199
234
|
}
|
|
200
235
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { Components, JSX } from "../types/components";
|
|
2
2
|
|
|
3
|
-
interface
|
|
4
|
-
export const
|
|
5
|
-
prototype:
|
|
6
|
-
new ():
|
|
3
|
+
interface StzhActionset extends Components.StzhActionset, HTMLElement {}
|
|
4
|
+
export const StzhActionset: {
|
|
5
|
+
prototype: StzhActionset;
|
|
6
|
+
new (): StzhActionset;
|
|
7
7
|
};
|
|
8
8
|
/**
|
|
9
9
|
* Used to define this component and all nested components recursively.
|
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
|
|
2
|
+
import { f as fetchTranslations } from './translation-utils.js';
|
|
3
|
+
import { m as media } from './media-utils.js';
|
|
4
|
+
import { d as defineCustomElement$7 } from './stzh-badge2.js';
|
|
5
|
+
import { d as defineCustomElement$6 } from './stzh-button2.js';
|
|
6
|
+
import { d as defineCustomElement$5 } from './stzh-icon2.js';
|
|
7
|
+
import { d as defineCustomElement$4 } from './stzh-menu2.js';
|
|
8
|
+
import { d as defineCustomElement$3 } from './stzh-menu-item2.js';
|
|
9
|
+
import { d as defineCustomElement$2 } from './stzh-popover2.js';
|
|
10
|
+
import { d as defineCustomElement$1 } from './stzh-tooltip2.js';
|
|
11
|
+
|
|
12
|
+
const stzhActionsetCss = ".sc-stzh-actionset-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-actionset-h{display:none}.sc-stzh-actionset-h *.sc-stzh-actionset,.sc-stzh-actionset-h *.sc-stzh-actionset::before,.sc-stzh-actionset-h *.sc-stzh-actionset::after{-webkit-box-sizing:border-box;box-sizing:border-box}.stzh-actionset__actions.sc-stzh-actionset{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}.stzh-actionset__actions-wrapper.sc-stzh-actionset{position:relative;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;overflow:hidden}.stzh-actionset__action.sc-stzh-actionset:not(:last-child){margin-right:var(--stzh-space-xsmall)}.stzh-actionset__action-popover.sc-stzh-actionset{opacity:0}.stzh-actionset--has-collapsed-items.sc-stzh-actionset .stzh-actionset__action-popover.sc-stzh-actionset{--width:auto;opacity:1}@media screen and (max-width: 599px){.stzh-actionset--stack.sc-stzh-actionset .stzh-actionset__actions.sc-stzh-actionset{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}}@media screen and (max-width: 599px){.stzh-actionset--stack.sc-stzh-actionset .stzh-actionset__actions-wrapper.sc-stzh-actionset{-ms-flex-direction:column;flex-direction:column;-ms-flex-align:stretch;align-items:stretch}}@media screen and (max-width: 599px){.stzh-actionset--stack.sc-stzh-actionset .stzh-actionset__action.sc-stzh-actionset:not(:last-child){margin-bottom:var(--stzh-space-xsmall);margin-right:0}}@media screen and (max-width: 599px){.stzh-actionset--stack.sc-stzh-actionset .stzh-actionset__action-popover.sc-stzh-actionset{margin-top:var(--stzh-space-xsmall)}}@media screen and (max-width: 599px){.stzh-actionset--stack.sc-stzh-actionset:not(.stzh-actionset--has-collapsed-items) .stzh-actionset__action-popover.sc-stzh-actionset{display:none}}";
|
|
13
|
+
|
|
14
|
+
const StzhActionset = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
15
|
+
constructor() {
|
|
16
|
+
super();
|
|
17
|
+
this.__registerHost();
|
|
18
|
+
this.stzhActionClick = createEvent(this, "stzhActionClick", 7);
|
|
19
|
+
/** Variant determining what position the action buttons are */
|
|
20
|
+
this.variant = "stack";
|
|
21
|
+
/** Popover button variant */
|
|
22
|
+
this.popoverButtonVariant = "";
|
|
23
|
+
/** Popover button size */
|
|
24
|
+
this.popoverButtonSize = "";
|
|
25
|
+
/** Popover placement */
|
|
26
|
+
this.popoverPlacement = "bottom-end";
|
|
27
|
+
/** Card header actions */
|
|
28
|
+
this.actions = [];
|
|
29
|
+
this._actions = [];
|
|
30
|
+
this.actionsCollapsed = [];
|
|
31
|
+
this.actionClick = (action) => {
|
|
32
|
+
this.stzhActionClick.emit({
|
|
33
|
+
component: "stzh-actionset",
|
|
34
|
+
action
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
this.update = () => {
|
|
38
|
+
this.isSmall = media("small").matches;
|
|
39
|
+
this.isMedium = media("medium").matches;
|
|
40
|
+
if (!this.actionsElement) {
|
|
41
|
+
return;
|
|
42
|
+
}
|
|
43
|
+
Object.assign(this.actionsElement.style, {
|
|
44
|
+
width: null,
|
|
45
|
+
height: null
|
|
46
|
+
});
|
|
47
|
+
let newActionsVisible = 0;
|
|
48
|
+
if (this.variant === "overflow" && this.isMedium
|
|
49
|
+
|| this.variant === "stack" && this.isSmall) {
|
|
50
|
+
this.dynamicActions = true;
|
|
51
|
+
let newActionsHeight = 0;
|
|
52
|
+
let newActionsWidth = 0;
|
|
53
|
+
// update height and width
|
|
54
|
+
Array.from(this.actionsElement.children).forEach((child) => {
|
|
55
|
+
// check which item is visible and
|
|
56
|
+
if (child.offsetTop === 0) {
|
|
57
|
+
newActionsVisible++;
|
|
58
|
+
const style = getComputedStyle(child);
|
|
59
|
+
const marginLeft = parseInt(style.marginLeft);
|
|
60
|
+
const marginRight = parseInt(style.marginRight);
|
|
61
|
+
const marginTop = parseInt(style.marginTop);
|
|
62
|
+
const marginBottom = parseInt(style.marginBottom);
|
|
63
|
+
const childWidth = child.offsetWidth + marginLeft + marginRight;
|
|
64
|
+
const childHeight = child.offsetHeight + marginTop + marginBottom;
|
|
65
|
+
if (newActionsHeight < childHeight) {
|
|
66
|
+
newActionsHeight = childHeight;
|
|
67
|
+
}
|
|
68
|
+
newActionsWidth = newActionsWidth + childWidth;
|
|
69
|
+
}
|
|
70
|
+
});
|
|
71
|
+
Object.assign(this.actionsElement.style, {
|
|
72
|
+
width: `${newActionsWidth + 1}px`,
|
|
73
|
+
height: `${newActionsHeight}px`
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
else {
|
|
77
|
+
this.dynamicActions = false;
|
|
78
|
+
if (this.variant === "overflow") {
|
|
79
|
+
newActionsVisible = 0;
|
|
80
|
+
}
|
|
81
|
+
else if (this.variant === "stack") {
|
|
82
|
+
newActionsVisible = this._actions.length <= 3 ? this._actions.length : 2;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
this.actionsCollapsed = this._actions.slice(newActionsVisible);
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
actionsWatcher(newValue) {
|
|
89
|
+
if (typeof newValue === "string") {
|
|
90
|
+
this._actions = JSON.parse(newValue);
|
|
91
|
+
}
|
|
92
|
+
else {
|
|
93
|
+
this._actions = newValue;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
handleResize() {
|
|
97
|
+
if (this.debounceResize) {
|
|
98
|
+
window.cancelAnimationFrame(this.debounceResize);
|
|
99
|
+
}
|
|
100
|
+
this.debounceResize = requestAnimationFrame(this.update);
|
|
101
|
+
}
|
|
102
|
+
async componentWillLoad() {
|
|
103
|
+
this.actionsWatcher(this.actions);
|
|
104
|
+
if (!this.localization) {
|
|
105
|
+
this.localization = await fetchTranslations(this.element, "actionset");
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
componentDidLoad() {
|
|
109
|
+
this.update();
|
|
110
|
+
}
|
|
111
|
+
render() {
|
|
112
|
+
const classes = {
|
|
113
|
+
"stzh-actionset": true,
|
|
114
|
+
// "stzh-actionset--has-dynamic-actions": this.dynamicActions,
|
|
115
|
+
"stzh-actionset--has-collapsed-items": this.actionsCollapsed.length > 0,
|
|
116
|
+
[`stzh-actionset--${this.variant}`]: !!this.variant
|
|
117
|
+
};
|
|
118
|
+
const Action = (action) => (h("stzh-button", { class: {
|
|
119
|
+
"stzh-actionset__action": true,
|
|
120
|
+
"is-button": true,
|
|
121
|
+
// "show-medium": !action.onlyCollapseText,
|
|
122
|
+
// "hide-when-collapsed": !action.onlyCollapseText,
|
|
123
|
+
// "hide-text-when-collapsed": action.onlyCollapseText
|
|
124
|
+
}, role: "listitem", icon: action.icon, iconPosition: action.iconPosition, iconOnly: action.iconOnly, badge: action.badge, variant: action.variant
|
|
125
|
+
? action.variant
|
|
126
|
+
: (this.variant === "stack" ? "secondary" : "tertiary"), size: action.size
|
|
127
|
+
? action.size
|
|
128
|
+
: (this.variant === "stack" ? "default" : "tiny"), badgePosition: "icon", onClick: () => { this.actionClick(action); } }, h("span", { class: {
|
|
129
|
+
// "show-medium": action.onlyCollapseText,
|
|
130
|
+
// "hide-when-collapsed": action.onlyCollapseText
|
|
131
|
+
} }, action.label)));
|
|
132
|
+
return (h(Host, { "has-collapsed-items": this.actionsCollapsed.length > 0 }, h("div", { class: classes }, h("div", { class: "stzh-actionset__actions", role: "list" }, h("div", { ref: (el) => (this.actionsElement = el), class: "stzh-actionset__actions-wrapper" }, this._actions.map(action => ((this.dynamicActions
|
|
133
|
+
|| (!this.dynamicActions &&
|
|
134
|
+
this.actionsCollapsed.indexOf(action) === -1))
|
|
135
|
+
&&
|
|
136
|
+
(action.tooltipContent
|
|
137
|
+
?
|
|
138
|
+
h("stzh-tooltip", { strategy: "fixed", content: action.tooltipContent }, Action(action))
|
|
139
|
+
:
|
|
140
|
+
Action(action))))), h("stzh-popover", { label: this.variant === "stack"
|
|
141
|
+
? this.localization.furtherActions
|
|
142
|
+
: (!this.isMedium ? this.localization.actions : ""), strategy: "fixed", placement: this.popoverPlacement, class: "stzh-actionset__action-popover" }, h("stzh-button", { fullwidth: true, disabled: this.actionsCollapsed.length === 0, class: "stzh-actionset__action is-further", variant: this.popoverButtonVariant !== ""
|
|
143
|
+
? this.popoverButtonVariant
|
|
144
|
+
: (this.variant === "stack" ? "secondary" : "tertiary"), size: this.popoverButtonSize !== ""
|
|
145
|
+
? this.popoverButtonSize
|
|
146
|
+
: (this.variant === "stack" ? "default" : "tiny"), icon: this.variant === "stack" ? "angle-down" : "more-vertical", iconOnly: this.variant === "overflow" && this.isMedium, iconPosition: "right", label: this.variant === "stack"
|
|
147
|
+
? this.localization.furtherActions
|
|
148
|
+
: (!this.isMedium ? this.localization.actions : "") }), h("stzh-menu", { slot: "content" }, this.actionsCollapsed.map(action => (h("stzh-menu-item", {
|
|
149
|
+
// class="hide-medium show-when-collapsed"
|
|
150
|
+
icon: action.icon, badge: action.badge, badgeEmpty: action.badgeEmpty, badgeType: action.badgeType, onClick: () => { this.actionClick(action); }
|
|
151
|
+
}, action.label)))))))));
|
|
152
|
+
}
|
|
153
|
+
get element() { return this; }
|
|
154
|
+
static get watchers() { return {
|
|
155
|
+
"actions": ["actionsWatcher"]
|
|
156
|
+
}; }
|
|
157
|
+
static get style() { return stzhActionsetCss; }
|
|
158
|
+
}, [2, "stzh-actionset", {
|
|
159
|
+
"localization": [16],
|
|
160
|
+
"variant": [513],
|
|
161
|
+
"popoverButtonVariant": [513, "popover-button-variant"],
|
|
162
|
+
"popoverButtonSize": [513, "popover-button-size"],
|
|
163
|
+
"popoverPlacement": [513, "popover-placement"],
|
|
164
|
+
"actions": [1],
|
|
165
|
+
"actionsCollapsed": [32],
|
|
166
|
+
"dynamicActions": [32],
|
|
167
|
+
"isSmall": [32],
|
|
168
|
+
"isMedium": [32]
|
|
169
|
+
}, [[8, "appload", "handleResize"], [9, "resize", "handleResize"], [8, "DOMContentLoaded", "handleResize"], [8, "load", "handleResize"]]]);
|
|
170
|
+
function defineCustomElement() {
|
|
171
|
+
if (typeof customElements === "undefined") {
|
|
172
|
+
return;
|
|
173
|
+
}
|
|
174
|
+
const components = ["stzh-actionset", "stzh-badge", "stzh-button", "stzh-icon", "stzh-menu", "stzh-menu-item", "stzh-popover", "stzh-tooltip"];
|
|
175
|
+
components.forEach(tagName => { switch (tagName) {
|
|
176
|
+
case "stzh-actionset":
|
|
177
|
+
if (!customElements.get(tagName)) {
|
|
178
|
+
customElements.define(tagName, StzhActionset);
|
|
179
|
+
}
|
|
180
|
+
break;
|
|
181
|
+
case "stzh-badge":
|
|
182
|
+
if (!customElements.get(tagName)) {
|
|
183
|
+
defineCustomElement$7();
|
|
184
|
+
}
|
|
185
|
+
break;
|
|
186
|
+
case "stzh-button":
|
|
187
|
+
if (!customElements.get(tagName)) {
|
|
188
|
+
defineCustomElement$6();
|
|
189
|
+
}
|
|
190
|
+
break;
|
|
191
|
+
case "stzh-icon":
|
|
192
|
+
if (!customElements.get(tagName)) {
|
|
193
|
+
defineCustomElement$5();
|
|
194
|
+
}
|
|
195
|
+
break;
|
|
196
|
+
case "stzh-menu":
|
|
197
|
+
if (!customElements.get(tagName)) {
|
|
198
|
+
defineCustomElement$4();
|
|
199
|
+
}
|
|
200
|
+
break;
|
|
201
|
+
case "stzh-menu-item":
|
|
202
|
+
if (!customElements.get(tagName)) {
|
|
203
|
+
defineCustomElement$3();
|
|
204
|
+
}
|
|
205
|
+
break;
|
|
206
|
+
case "stzh-popover":
|
|
207
|
+
if (!customElements.get(tagName)) {
|
|
208
|
+
defineCustomElement$2();
|
|
209
|
+
}
|
|
210
|
+
break;
|
|
211
|
+
case "stzh-tooltip":
|
|
212
|
+
if (!customElements.get(tagName)) {
|
|
213
|
+
defineCustomElement$1();
|
|
214
|
+
}
|
|
215
|
+
break;
|
|
216
|
+
} });
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
export { StzhActionset as S, defineCustomElement as d };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
|
|
2
2
|
|
|
3
|
-
const stzhBadgeCss = ".sc-stzh-badge-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-badge-h{display:none}.sc-stzh-badge-h *.sc-stzh-badge,.sc-stzh-badge-h *.sc-stzh-badge::before,.sc-stzh-badge-h *.sc-stzh-badge::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-badge-h{display:-ms-inline-flexbox;display:inline-flex}.stzh-badge.sc-stzh-badge{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;-webkit-box-sizing:content-box;box-sizing:content-box;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;min-width:0.625rem;font-size:0.625rem;line-height:1.4;-webkit-box-shadow:0 0 0 0.0625rem #fff;box-shadow:0 0 0 0.0625rem #fff;border-radius:0.875rem;padding:0.0625rem 0.375rem;background-color:var(--
|
|
3
|
+
const stzhBadgeCss = ".sc-stzh-badge-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-badge-h{display:none}.sc-stzh-badge-h *.sc-stzh-badge,.sc-stzh-badge-h *.sc-stzh-badge::before,.sc-stzh-badge-h *.sc-stzh-badge::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-badge-h{--color:var(--stzh-color-white);--background-color:var(--stzh-base-color);display:-ms-inline-flexbox;display:inline-flex}[type=success].sc-stzh-badge-h{--background-color:var(--stzh-color-truegreen)}[type=warning].sc-stzh-badge-h{--color:var(--stzh-color-grey87);--background-color:var(--stzh-color-warning)}[type=error].sc-stzh-badge-h{--background-color:var(--stzh-color-error)}[type=info].sc-stzh-badge-h{--background-color:var(--stzh-color-zueriblue)}.stzh-badge.sc-stzh-badge{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;-webkit-box-sizing:content-box;box-sizing:content-box;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;min-width:0.625rem;font-size:0.625rem;line-height:1.4;-webkit-box-shadow:0 0 0 0.0625rem #fff;box-shadow:0 0 0 0.0625rem #fff;border-radius:0.875rem;padding:0.0625rem 0.375rem;background-color:var(--background-color);color:var(--color);text-transform:uppercase}.stzh-badge.sc-stzh-badge:empty{width:0.875rem;height:0.875rem;padding:0}";
|
|
4
4
|
|
|
5
5
|
const StzhBadge = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
6
6
|
constructor() {
|
|
@@ -8,13 +8,20 @@ const StzhBadge = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
|
|
|
8
8
|
this.__registerHost();
|
|
9
9
|
/** Text content of the badge */
|
|
10
10
|
this.label = "";
|
|
11
|
+
/** Type */
|
|
12
|
+
this.type = "default";
|
|
11
13
|
}
|
|
12
14
|
render() {
|
|
13
|
-
|
|
15
|
+
const classes = {
|
|
16
|
+
"stzh-badge": true,
|
|
17
|
+
[`stzh-badge--type-${this.type}`]: !!this.type
|
|
18
|
+
};
|
|
19
|
+
return (h(Host, null, h("div", { class: classes }, this.label)));
|
|
14
20
|
}
|
|
15
21
|
static get style() { return stzhBadgeCss; }
|
|
16
22
|
}, [2, "stzh-badge", {
|
|
17
|
-
"label": [1]
|
|
23
|
+
"label": [1],
|
|
24
|
+
"type": [513]
|
|
18
25
|
}]);
|
|
19
26
|
function defineCustomElement() {
|
|
20
27
|
if (typeof customElements === "undefined") {
|