@zanichelli/albe-web-components 5.6.2 → 6.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/CHANGELOG.md +48 -0
- package/dist/cjs/{icons-9fc3ff30.js → icons-460f0f1e.js} +104 -104
- package/dist/cjs/{index-e3299e0a.js → index-0b49c192.js} +207 -225
- package/dist/cjs/index-199cd650.js +346 -0
- package/dist/cjs/index.cjs.js +53 -59
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/{utils-dfe717c7.js → utils-ce225fb3.js} +13 -13
- package/dist/cjs/{utils-4647eb06.js → utils-ebe45309.js} +21 -35
- package/dist/cjs/web-components-library.cjs.js +3 -3
- package/dist/cjs/z-alert.cjs.entry.js +2 -2
- package/dist/cjs/z-app-header.cjs.entry.js +16 -14
- package/dist/cjs/z-app-switcher_9.cjs.entry.js +159 -177
- package/dist/cjs/z-aria-alert.cjs.entry.js +4 -3
- package/dist/cjs/z-avatar.cjs.entry.js +9 -8
- package/dist/cjs/z-body_2.cjs.entry.js +5 -3
- package/dist/cjs/z-button-deprecated.cjs.entry.js +12 -9
- package/dist/cjs/z-button-filter.cjs.entry.js +4 -3
- package/dist/cjs/z-button-sort.cjs.entry.js +5 -6
- package/dist/cjs/z-button.cjs.entry.js +10 -11
- package/dist/cjs/z-candybar.cjs.entry.js +2 -2
- package/dist/cjs/z-card.cjs.entry.js +16 -19
- package/dist/cjs/z-carousel.cjs.entry.js +8 -13
- package/dist/cjs/z-chip-deprecated.cjs.entry.js +4 -6
- package/dist/cjs/z-chip.cjs.entry.js +7 -7
- package/dist/cjs/z-combobox.cjs.entry.js +30 -26
- package/dist/cjs/z-contextual-menu.cjs.entry.js +5 -10
- package/dist/cjs/z-cookiebar.cjs.entry.js +6 -7
- package/dist/cjs/z-cover-hero.cjs.entry.js +6 -5
- package/dist/cjs/z-date-picker.cjs.entry.js +39 -46
- package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +4 -3
- package/dist/cjs/z-file-upload.cjs.entry.js +18 -20
- package/dist/cjs/z-file.cjs.entry.js +4 -4
- package/dist/cjs/z-footer-link_3.cjs.entry.js +4 -4
- package/dist/cjs/z-footer.cjs.entry.js +13 -16
- package/dist/cjs/z-ghost-loading.cjs.entry.js +3 -3
- package/dist/cjs/z-icon-package.cjs.entry.js +3 -4
- package/dist/cjs/z-info-box.cjs.entry.js +3 -3
- package/dist/cjs/z-info-reveal.cjs.entry.js +9 -8
- package/dist/cjs/z-input-deprecated.cjs.entry.js +55 -67
- package/dist/cjs/z-input-label_2.cjs.entry.js +44 -40
- package/dist/cjs/z-list-group.cjs.entry.js +7 -7
- package/dist/cjs/z-list_2.cjs.entry.js +16 -16
- package/dist/cjs/z-menu-dropdown_2.cjs.entry.js +10 -11
- package/dist/cjs/z-menu-section.cjs.entry.js +3 -3
- package/dist/cjs/z-menu.cjs.entry.js +10 -13
- package/dist/cjs/z-messages-pocket.cjs.entry.js +7 -7
- package/dist/cjs/z-modal-login.cjs.entry.js +17 -15
- package/dist/cjs/z-modal.cjs.entry.js +3 -6
- package/dist/cjs/z-myz-card-alert.cjs.entry.js +8 -8
- package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +4 -4
- package/dist/cjs/z-myz-card-footer-sections.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card-footer.cjs.entry.js +11 -10
- package/dist/cjs/z-myz-card-icon.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-card-info.cjs.entry.js +27 -17
- package/dist/cjs/z-myz-card-list.cjs.entry.js +4 -3
- package/dist/cjs/z-myz-card_4.cjs.entry.js +17 -13
- package/dist/cjs/z-myz-list-item.cjs.entry.js +4 -4
- package/dist/cjs/z-myz-topbar.cjs.entry.js +35 -39
- package/dist/cjs/z-navigation-tab-link.cjs.entry.js +11 -11
- package/dist/cjs/z-navigation-tab.cjs.entry.js +12 -12
- package/dist/cjs/z-navigation-tabs.cjs.entry.js +21 -21
- package/dist/cjs/z-notification.cjs.entry.js +3 -8
- package/dist/cjs/z-offcanvas.cjs.entry.js +12 -15
- package/dist/cjs/z-otp.cjs.entry.js +18 -18
- package/dist/cjs/z-pagination-bar.cjs.entry.js +13 -25
- package/dist/cjs/z-pagination-page.cjs.entry.js +2 -2
- package/dist/cjs/z-pagination.cjs.entry.js +14 -17
- package/dist/cjs/z-panel-elem.cjs.entry.js +4 -4
- package/dist/cjs/z-pocket-message.cjs.entry.js +3 -3
- package/dist/cjs/z-pocket_3.cjs.entry.js +19 -19
- package/dist/cjs/z-popover-deprecated.cjs.entry.js +20 -17
- package/dist/cjs/z-popover.cjs.entry.js +38 -56
- package/dist/cjs/z-section-title.cjs.entry.js +5 -14
- package/dist/cjs/z-skip-to-content.cjs.entry.js +19 -21
- package/dist/cjs/z-slideshow.cjs.entry.js +29 -12
- package/dist/cjs/z-status-tag.cjs.entry.js +9 -9
- package/dist/cjs/z-stepper-item.cjs.entry.js +2 -2
- package/dist/cjs/z-stepper.cjs.entry.js +3 -3
- package/dist/cjs/z-table-body.cjs.entry.js +1 -1
- package/dist/cjs/z-table-cell.cjs.entry.js +11 -11
- package/dist/cjs/z-table-empty-box.cjs.entry.js +6 -7
- package/dist/cjs/z-table-expanded-row.cjs.entry.js +2 -2
- package/dist/cjs/z-table-footer.cjs.entry.js +1 -1
- package/dist/cjs/z-table-head.cjs.entry.js +1 -1
- package/dist/cjs/z-table-header-row.cjs.entry.js +4 -4
- package/dist/cjs/z-table-header.cjs.entry.js +18 -21
- package/dist/cjs/z-table-row.cjs.entry.js +9 -9
- package/dist/cjs/z-table-sticky-footer.cjs.entry.js +3 -3
- package/dist/cjs/z-table.cjs.entry.js +7 -9
- package/dist/cjs/z-tag.cjs.entry.js +3 -3
- package/dist/cjs/z-toast-notification-list.cjs.entry.js +17 -17
- package/dist/cjs/z-toast-notification.cjs.entry.js +38 -41
- package/dist/cjs/z-toggle-button.cjs.entry.js +8 -10
- package/dist/cjs/z-toggle-switch.cjs.entry.js +19 -17
- package/dist/cjs/z-tooltip-deprecated.cjs.entry.js +36 -47
- package/dist/cjs/z-tooltip.cjs.entry.js +4 -4
- package/dist/cjs/z-user-dropdown.cjs.entry.js +6 -8
- package/dist/cjs/z-visually-hidden.cjs.entry.js +2 -2
- package/dist/collection/beans/index.js +258 -266
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/buttons/z-button/index.js +22 -22
- package/dist/collection/components/buttons/z-button/styles.css +31 -30
- package/dist/collection/components/buttons/z-button-sort/index.js +3 -4
- package/dist/collection/components/buttons/z-button-sort/styles.css +14 -14
- package/dist/collection/components/buttons/z-chip/index.js +7 -7
- package/dist/collection/components/buttons/z-chip/styles.css +12 -15
- package/dist/collection/components/buttons/z-toggle-button/index.js +6 -8
- package/dist/collection/components/buttons/z-toggle-button/styles.css +10 -10
- package/dist/collection/components/buttons/z-toggle-switch/index.js +25 -28
- package/dist/collection/components/buttons/z-toggle-switch/styles.css +15 -18
- package/dist/collection/components/date-picker/styles.css +65 -83
- package/dist/collection/components/date-picker/utils.js +21 -35
- package/dist/collection/components/date-picker/z-date-picker/index.js +40 -47
- package/dist/collection/components/date-picker/z-range-picker/index.js +71 -86
- package/dist/collection/components/file-upload/z-dragdrop-area/index.js +1 -1
- package/dist/collection/components/file-upload/z-dragdrop-area/styles.css +14 -25
- package/dist/collection/components/file-upload/z-file/index.js +6 -6
- package/dist/collection/components/file-upload/z-file/styles.css +5 -18
- package/dist/collection/components/file-upload/z-file-upload/index.js +23 -25
- package/dist/collection/components/file-upload/z-file-upload/styles.css +8 -15
- package/dist/collection/components/footer/z-footer/index.js +11 -14
- package/dist/collection/components/footer/z-footer/styles.css +27 -32
- package/dist/collection/components/footer/z-footer-link/styles.css +6 -14
- package/dist/collection/components/footer/z-footer-section/index.js +1 -1
- package/dist/collection/components/footer/z-footer-section/styles.css +35 -48
- package/dist/collection/components/footer/z-footer-social/styles.css +0 -8
- package/dist/collection/components/icons/icons.js +103 -103
- package/dist/collection/components/icons/z-icon/index.js +7 -9
- package/dist/collection/components/icons/z-icon/styles.css +2 -2
- package/dist/collection/components/icons/z-icon-package/index.js +3 -4
- package/dist/collection/components/icons/z-icon-package/styles.css +3 -3
- package/dist/collection/components/indicators/z-stepper/index.js +2 -2
- package/dist/collection/components/indicators/z-stepper/styles.css +3 -3
- package/dist/collection/components/indicators/z-stepper-item/index.js +1 -1
- package/dist/collection/components/indicators/z-stepper-item/styles.css +22 -23
- package/dist/collection/components/inputs/z-combobox/index.js +31 -27
- package/dist/collection/components/inputs/z-combobox/styles.css +43 -48
- package/dist/collection/components/inputs/z-input/index.js +63 -70
- package/dist/collection/components/inputs/z-input/styles.css +83 -93
- package/dist/collection/components/inputs/z-input-message/index.js +4 -4
- package/dist/collection/components/inputs/z-input-message/styles.css +5 -5
- package/dist/collection/components/inputs/z-select/index.js +51 -47
- package/dist/collection/components/inputs/z-select/styles.css +23 -28
- package/dist/collection/components/list/z-list/index.js +3 -3
- package/dist/collection/components/list/z-list/styles.css +2 -3
- package/dist/collection/components/list/z-list-element/index.js +24 -24
- package/dist/collection/components/list/z-list-element/styles.css +18 -40
- package/dist/collection/components/list/z-list-group/index.js +10 -10
- package/dist/collection/components/list/z-list-group/styles.css +1 -2
- package/dist/collection/components/list/z-toast-notification-list/index.js +21 -20
- package/dist/collection/components/list/z-toast-notification-list/styles.css +37 -44
- package/dist/collection/components/logo/z-logo/index.js +1 -3
- package/dist/collection/components/logo/z-logo/styles.css +3 -3
- package/dist/collection/components/modal/z-modal/index.js +2 -5
- package/dist/collection/components/modal/z-modal/styles.css +23 -29
- package/dist/collection/components/modal/z-modal-login/index.js +19 -17
- package/dist/collection/components/modal/z-modal-login/styles.css +28 -37
- package/dist/collection/components/navigation/tabs/navigation-tab.css +19 -19
- package/dist/collection/components/navigation/tabs/z-navigation-tab/index.js +17 -27
- package/dist/collection/components/navigation/tabs/z-navigation-tab-link/index.js +17 -27
- package/dist/collection/components/navigation/tabs/z-navigation-tabs/index.js +26 -36
- package/dist/collection/components/navigation/tabs/z-navigation-tabs/styles.css +23 -23
- package/dist/collection/components/navigation/z-app-header/index.js +17 -15
- package/dist/collection/components/navigation/z-app-header/styles.css +68 -78
- package/dist/collection/components/navigation/z-app-switcher/index.js +5 -5
- package/dist/collection/components/navigation/z-app-switcher/styles.css +5 -17
- package/dist/collection/components/navigation/z-app-topbar/index.js +6 -6
- package/dist/collection/components/navigation/z-app-topbar/styles.css +11 -17
- package/dist/collection/components/navigation/z-link/index.js +15 -13
- package/dist/collection/components/navigation/z-link/styles.css +15 -12
- package/dist/collection/components/navigation/z-menu/index.js +9 -12
- package/dist/collection/components/navigation/z-menu/styles.css +22 -25
- package/dist/collection/components/navigation/z-menu-dropdown/index.js +7 -8
- package/dist/collection/components/navigation/z-menu-dropdown/styles.css +21 -21
- package/dist/collection/components/navigation/z-menu-section/index.js +3 -3
- package/dist/collection/components/navigation/z-menu-section/styles.css +14 -14
- package/dist/collection/components/navigation/z-user-dropdown/index.js +4 -6
- package/dist/collection/components/navigation/z-user-dropdown/styles.css +63 -72
- package/dist/collection/components/notification/z-candybar/styles.css +21 -27
- package/dist/collection/components/notification/z-cookiebar/index.js +6 -7
- package/dist/collection/components/notification/z-cookiebar/styles.css +18 -19
- package/dist/collection/components/notification/z-info-box/index.js +2 -2
- package/dist/collection/components/notification/z-info-box/styles.css +8 -8
- package/dist/collection/components/notification/z-notification/index.js +3 -8
- package/dist/collection/components/notification/z-notification/styles.css +11 -11
- package/dist/collection/components/notification/z-toast-notification/index.js +44 -48
- package/dist/collection/components/notification/z-toast-notification/styles.css +38 -30
- package/dist/collection/components/notification/z-tooltip/index.js +6 -6
- package/dist/collection/components/panel/z-panel-elem/index.js +5 -5
- package/dist/collection/components/panel/z-panel-elem/styles.css +6 -6
- package/dist/collection/components/typography/z-body/index.js +4 -3
- package/dist/collection/components/typography/z-heading/index.js +4 -3
- package/dist/collection/components/typography/z-typography/index.js +19 -18
- package/dist/collection/components/typography/z-typography/styles.css +13 -13
- package/dist/collection/components/z-aria-alert/index.js +12 -6
- package/dist/collection/components/z-avatar/index.js +8 -7
- package/dist/collection/components/z-avatar/styles.css +7 -10
- package/dist/collection/components/z-card/index.js +18 -21
- package/dist/collection/components/z-card/styles.css +38 -42
- package/dist/collection/components/z-carousel/index.js +7 -12
- package/dist/collection/components/z-carousel/styles.css +12 -12
- package/dist/collection/components/z-contextual-menu/index.js +5 -10
- package/dist/collection/components/z-contextual-menu/styles.css +8 -8
- package/dist/collection/components/z-cover-hero/index.js +3 -2
- package/dist/collection/components/z-cover-hero/styles.css +4 -4
- package/dist/collection/components/z-divider/index.js +6 -6
- package/dist/collection/components/z-ghost-loading/index.js +2 -2
- package/dist/collection/components/z-ghost-loading/styles.css +14 -14
- package/dist/collection/components/z-info-reveal/index.js +13 -12
- package/dist/collection/components/z-info-reveal/styles.css +9 -8
- package/dist/collection/components/z-offcanvas/index.js +19 -22
- package/dist/collection/components/z-offcanvas/styles.css +65 -45
- package/dist/collection/components/z-pagination/index.js +13 -16
- package/dist/collection/components/z-pagination/styles.css +16 -21
- package/dist/collection/components/z-popover/index.js +41 -59
- package/dist/collection/components/z-popover/styles.css +9 -9
- package/dist/collection/components/z-section-title/index.js +6 -15
- package/dist/collection/components/z-section-title/styles.css +2 -2
- package/dist/collection/components/z-skip-to-content/index.js +17 -19
- package/dist/collection/components/z-skip-to-content/styles.css +11 -15
- package/dist/collection/components/z-table/z-table/index.js +6 -8
- package/dist/collection/components/z-table/z-table/styles.css +23 -74
- package/dist/collection/components/z-table/z-table-cell/index.js +11 -10
- package/dist/collection/components/z-table/z-table-cell/styles.css +5 -4
- package/dist/collection/components/z-table/z-table-empty-box/index.js +4 -4
- package/dist/collection/components/z-table/z-table-empty-box/styles.css +5 -6
- package/dist/collection/components/z-table/z-table-expanded-row/styles.css +2 -2
- package/dist/collection/components/z-table/z-table-footer/styles.css +3 -3
- package/dist/collection/components/z-table/z-table-header/index.js +23 -25
- package/dist/collection/components/z-table/z-table-header/styles.css +4 -2
- package/dist/collection/components/z-table/z-table-header-row/index.js +3 -3
- package/dist/collection/components/z-table/z-table-header-row/styles.css +1 -1
- package/dist/collection/components/z-table/z-table-row/index.js +11 -11
- package/dist/collection/components/z-table/z-table-row/styles.css +9 -18
- package/dist/collection/components/z-table/z-table-sticky-footer/index.js +2 -2
- package/dist/collection/components/z-table/z-table-sticky-footer/styles.css +4 -4
- package/dist/collection/components/z-tag/index.js +1 -1
- package/dist/collection/components/z-tag/styles.css +7 -12
- package/dist/collection/components/z-visually-hidden/styles.css +6 -6
- package/dist/collection/constants/icons.js +1 -1
- package/dist/collection/deprecated/pagination/z-pagination-bar/index.js +9 -23
- package/dist/collection/deprecated/pagination/z-pagination-bar/styles.css +8 -9
- package/dist/collection/deprecated/pagination/z-pagination-page/styles.css +13 -13
- package/dist/collection/deprecated/z-button-deprecated/index.js +24 -19
- package/dist/collection/deprecated/z-button-deprecated/styles.css +39 -39
- package/dist/collection/deprecated/z-button-filter/index.js +2 -1
- package/dist/collection/deprecated/z-button-filter/styles.css +7 -17
- package/dist/collection/deprecated/z-chip-deprecated/index.js +5 -7
- package/dist/collection/deprecated/z-chip-deprecated/styles.css +2 -2
- package/dist/collection/deprecated/z-input-deprecated/index.js +62 -74
- package/dist/collection/deprecated/z-input-deprecated/styles.css +77 -91
- package/dist/collection/deprecated/z-input-label/index.js +1 -1
- package/dist/collection/deprecated/z-input-label/styles.css +2 -2
- package/dist/collection/deprecated/z-popover-deprecated/index.js +24 -20
- package/dist/collection/deprecated/z-popover-deprecated/styles.css +36 -37
- package/dist/collection/deprecated/z-status-tag/index.js +9 -8
- package/dist/collection/deprecated/z-status-tag/styles.css +10 -12
- package/dist/collection/deprecated/z-tooltip-deprecated/index.js +36 -47
- package/dist/collection/deprecated/z-tooltip-deprecated/styles.css +37 -37
- package/dist/collection/index.js +4 -3
- package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +10 -7
- package/dist/collection/snowflakes/myz/card/z-myz-card/styles.css +4 -4
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +6 -6
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/styles.css +16 -16
- package/dist/collection/snowflakes/myz/card/z-myz-card-body/styles.css +4 -4
- package/dist/collection/snowflakes/myz/card/z-myz-card-cover/styles.css +2 -2
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +2 -2
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/styles.css +10 -27
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +12 -11
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/styles.css +52 -50
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer-sections/styles.css +3 -15
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +9 -8
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/styles.css +13 -14
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/styles.css +14 -15
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +23 -13
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/styles.css +23 -54
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +2 -1
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/styles.css +13 -13
- package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +4 -4
- package/dist/collection/snowflakes/myz/list/z-myz-list/styles.css +1 -1
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/styles.css +18 -19
- package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/index.js +7 -7
- package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/styles.css +13 -17
- package/dist/collection/snowflakes/myz/pocket/z-pocket/index.js +15 -15
- package/dist/collection/snowflakes/myz/pocket/z-pocket/styles.css +10 -22
- package/dist/collection/snowflakes/myz/pocket/z-pocket-body/index.js +4 -4
- package/dist/collection/snowflakes/myz/pocket/z-pocket-body/styles.css +6 -14
- package/dist/collection/snowflakes/myz/pocket/z-pocket-header/index.js +1 -1
- package/dist/collection/snowflakes/myz/pocket/z-pocket-header/styles.css +9 -22
- package/dist/collection/snowflakes/myz/pocket/z-pocket-message/index.js +1 -1
- package/dist/collection/snowflakes/myz/pocket/z-pocket-message/styles.css +13 -22
- package/dist/collection/snowflakes/myz/topbar/index.js +35 -39
- package/dist/collection/snowflakes/myz/topbar/styles.css +157 -177
- package/dist/collection/snowflakes/myz/z-alert/index.js +3 -3
- package/dist/collection/snowflakes/myz/z-alert/styles.css +6 -6
- package/dist/collection/snowflakes/myz/z-otp/index.js +23 -23
- package/dist/collection/snowflakes/myz/z-otp/styles.css +7 -7
- package/dist/collection/snowflakes/myz/z-slideshow/index.js +26 -9
- package/dist/collection/snowflakes/myz/z-slideshow/styles.css +30 -31
- package/dist/collection/utils/storybook-utils.js +6 -5
- package/dist/collection/utils/utils.js +15 -15
- package/dist/esm/{icons-92a7dcde.js → icons-56ca282c.js} +104 -104
- package/dist/esm/{index-a2ca4b97.js → index-3517583d.js} +207 -225
- package/dist/esm/index-9d028352.js +346 -0
- package/dist/esm/index.js +5 -5
- package/dist/esm/loader.js +3 -3
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/{utils-2c5dfb88.js → utils-39ca028c.js} +13 -13
- package/dist/esm/{utils-3ba1cfd4.js → utils-fbe04cd6.js} +21 -35
- package/dist/esm/web-components-library.js +3 -3
- package/dist/esm/z-alert.entry.js +2 -2
- package/dist/esm/z-app-header.entry.js +16 -14
- package/dist/esm/z-app-switcher_9.entry.js +159 -177
- package/dist/esm/z-aria-alert.entry.js +4 -3
- package/dist/esm/z-avatar.entry.js +9 -8
- package/dist/esm/z-body_2.entry.js +5 -3
- package/dist/esm/z-button-deprecated.entry.js +12 -9
- package/dist/esm/z-button-filter.entry.js +4 -3
- package/dist/esm/z-button-sort.entry.js +5 -6
- package/dist/esm/z-button.entry.js +10 -11
- package/dist/esm/z-candybar.entry.js +2 -2
- package/dist/esm/z-card.entry.js +16 -19
- package/dist/esm/z-carousel.entry.js +8 -13
- package/dist/esm/z-chip-deprecated.entry.js +4 -6
- package/dist/esm/z-chip.entry.js +7 -7
- package/dist/esm/z-combobox.entry.js +30 -26
- package/dist/esm/z-contextual-menu.entry.js +5 -10
- package/dist/esm/z-cookiebar.entry.js +6 -7
- package/dist/esm/z-cover-hero.entry.js +6 -5
- package/dist/esm/z-date-picker.entry.js +39 -46
- package/dist/esm/z-dragdrop-area_2.entry.js +4 -3
- package/dist/esm/z-file-upload.entry.js +18 -20
- package/dist/esm/z-file.entry.js +4 -4
- package/dist/esm/z-footer-link_3.entry.js +4 -4
- package/dist/esm/z-footer.entry.js +13 -16
- package/dist/esm/z-ghost-loading.entry.js +3 -3
- package/dist/esm/z-icon-package.entry.js +3 -4
- package/dist/esm/z-info-box.entry.js +3 -3
- package/dist/esm/z-info-reveal.entry.js +9 -8
- package/dist/esm/z-input-deprecated.entry.js +55 -67
- package/dist/esm/z-input-label_2.entry.js +44 -40
- package/dist/esm/z-list-group.entry.js +7 -7
- package/dist/esm/z-list_2.entry.js +16 -16
- package/dist/esm/z-menu-dropdown_2.entry.js +10 -11
- package/dist/esm/z-menu-section.entry.js +3 -3
- package/dist/esm/z-menu.entry.js +10 -13
- package/dist/esm/z-messages-pocket.entry.js +7 -7
- package/dist/esm/z-modal-login.entry.js +17 -15
- package/dist/esm/z-modal.entry.js +3 -6
- package/dist/esm/z-myz-card-alert.entry.js +8 -8
- package/dist/esm/z-myz-card-dictionary.entry.js +4 -4
- package/dist/esm/z-myz-card-footer-sections.entry.js +2 -2
- package/dist/esm/z-myz-card-footer.entry.js +11 -10
- package/dist/esm/z-myz-card-icon.entry.js +2 -2
- package/dist/esm/z-myz-card-info.entry.js +27 -17
- package/dist/esm/z-myz-card-list.entry.js +4 -3
- package/dist/esm/z-myz-card_4.entry.js +17 -13
- package/dist/esm/z-myz-list-item.entry.js +4 -4
- package/dist/esm/z-myz-topbar.entry.js +35 -39
- package/dist/esm/z-navigation-tab-link.entry.js +11 -11
- package/dist/esm/z-navigation-tab.entry.js +12 -12
- package/dist/esm/z-navigation-tabs.entry.js +21 -21
- package/dist/esm/z-notification.entry.js +3 -8
- package/dist/esm/z-offcanvas.entry.js +12 -15
- package/dist/esm/z-otp.entry.js +18 -18
- package/dist/esm/z-pagination-bar.entry.js +13 -25
- package/dist/esm/z-pagination-page.entry.js +2 -2
- package/dist/esm/z-pagination.entry.js +14 -17
- package/dist/esm/z-panel-elem.entry.js +4 -4
- package/dist/esm/z-pocket-message.entry.js +3 -3
- package/dist/esm/z-pocket_3.entry.js +19 -19
- package/dist/esm/z-popover-deprecated.entry.js +20 -17
- package/dist/esm/z-popover.entry.js +38 -56
- package/dist/esm/z-section-title.entry.js +5 -14
- package/dist/esm/z-skip-to-content.entry.js +19 -21
- package/dist/esm/z-slideshow.entry.js +29 -12
- package/dist/esm/z-status-tag.entry.js +9 -9
- package/dist/esm/z-stepper-item.entry.js +2 -2
- package/dist/esm/z-stepper.entry.js +3 -3
- package/dist/esm/z-table-body.entry.js +1 -1
- package/dist/esm/z-table-cell.entry.js +11 -11
- package/dist/esm/z-table-empty-box.entry.js +6 -7
- package/dist/esm/z-table-expanded-row.entry.js +2 -2
- package/dist/esm/z-table-footer.entry.js +1 -1
- package/dist/esm/z-table-head.entry.js +1 -1
- package/dist/esm/z-table-header-row.entry.js +4 -4
- package/dist/esm/z-table-header.entry.js +18 -21
- package/dist/esm/z-table-row.entry.js +9 -9
- package/dist/esm/z-table-sticky-footer.entry.js +3 -3
- package/dist/esm/z-table.entry.js +7 -9
- package/dist/esm/z-tag.entry.js +3 -3
- package/dist/esm/z-toast-notification-list.entry.js +17 -17
- package/dist/esm/z-toast-notification.entry.js +38 -41
- package/dist/esm/z-toggle-button.entry.js +8 -10
- package/dist/esm/z-toggle-switch.entry.js +19 -17
- package/dist/esm/z-tooltip-deprecated.entry.js +36 -47
- package/dist/esm/z-tooltip.entry.js +4 -4
- package/dist/esm/z-user-dropdown.entry.js +6 -8
- package/dist/esm/z-visually-hidden.entry.js +2 -2
- package/dist/types/beans/index.d.ts +225 -250
- package/dist/types/components/buttons/z-button/index.d.ts +7 -14
- package/dist/types/components/buttons/z-button-sort/index.d.ts +4 -4
- package/dist/types/components/buttons/z-chip/index.d.ts +4 -4
- package/dist/types/components/buttons/z-toggle-button/index.d.ts +2 -3
- package/dist/types/components/buttons/z-toggle-switch/index.d.ts +9 -3
- package/dist/types/components/date-picker/utils.d.ts +4 -4
- package/dist/types/components/date-picker/z-date-picker/index.d.ts +7 -8
- package/dist/types/components/date-picker/z-range-picker/index.d.ts +11 -13
- package/dist/types/components/file-upload/z-dragdrop-area/index.d.ts +3 -3
- package/dist/types/components/file-upload/z-file/index.d.ts +7 -5
- package/dist/types/components/file-upload/z-file-upload/index.d.ts +21 -20
- package/dist/types/components/footer/z-footer/index.d.ts +15 -15
- package/dist/types/components/footer/z-footer-section/index.d.ts +1 -1
- package/dist/types/components/footer/z-footer-social/index.d.ts +1 -1
- package/dist/types/components/icons/icons.d.ts +1 -1
- package/dist/types/components/icons/z-icon/index.d.ts +3 -3
- package/dist/types/components/icons/z-icon-package/index.d.ts +1 -1
- package/dist/types/components/indicators/z-stepper/index.d.ts +1 -1
- package/dist/types/components/indicators/z-stepper-item/index.d.ts +1 -1
- package/dist/types/components/inputs/z-combobox/index.d.ts +17 -18
- package/dist/types/components/inputs/z-input/index.d.ts +24 -45
- package/dist/types/components/inputs/z-input-message/index.d.ts +4 -3
- package/dist/types/components/inputs/z-select/index.d.ts +26 -26
- package/dist/types/components/list/z-list/index.d.ts +4 -3
- package/dist/types/components/list/z-list-element/index.d.ts +11 -7
- package/dist/types/components/list/z-list-group/index.d.ts +4 -3
- package/dist/types/components/list/z-toast-notification-list/index.d.ts +6 -6
- package/dist/types/components/logo/z-logo/index.d.ts +2 -1
- package/dist/types/components/modal/z-modal/index.d.ts +5 -4
- package/dist/types/components/modal/z-modal-login/index.d.ts +13 -14
- package/dist/types/components/navigation/tabs/z-navigation-tab/index.d.ts +6 -5
- package/dist/types/components/navigation/tabs/z-navigation-tab-link/index.d.ts +6 -5
- package/dist/types/components/navigation/tabs/z-navigation-tabs/index.d.ts +8 -7
- package/dist/types/components/navigation/z-app-header/index.d.ts +11 -10
- package/dist/types/components/navigation/z-app-switcher/index.d.ts +4 -4
- package/dist/types/components/navigation/z-app-topbar/index.d.ts +3 -2
- package/dist/types/components/navigation/z-link/index.d.ts +6 -7
- package/dist/types/components/navigation/z-menu/index.d.ts +7 -6
- package/dist/types/components/navigation/z-menu-dropdown/index.d.ts +7 -7
- package/dist/types/components/navigation/z-menu-section/index.d.ts +8 -6
- package/dist/types/components/navigation/z-user-dropdown/index.d.ts +10 -9
- package/dist/types/components/notification/z-candybar/index.d.ts +1 -1
- package/dist/types/components/notification/z-cookiebar/index.d.ts +6 -6
- package/dist/types/components/notification/z-info-box/index.d.ts +3 -3
- package/dist/types/components/notification/z-notification/index.d.ts +6 -5
- package/dist/types/components/notification/z-toast-notification/index.d.ts +22 -21
- package/dist/types/components/notification/z-tooltip/index.d.ts +2 -2
- package/dist/types/components/panel/z-panel-elem/index.d.ts +4 -4
- package/dist/types/components/typography/z-body/index.d.ts +4 -1
- package/dist/types/components/typography/z-heading/index.d.ts +4 -1
- package/dist/types/components/typography/z-typography/index.d.ts +8 -4
- package/dist/types/components/z-aria-alert/index.d.ts +5 -2
- package/dist/types/components/z-avatar/index.d.ts +3 -2
- package/dist/types/components/z-card/index.d.ts +8 -7
- package/dist/types/components/z-contextual-menu/index.d.ts +4 -3
- package/dist/types/components/z-cover-hero/index.d.ts +3 -2
- package/dist/types/components/z-divider/index.d.ts +2 -1
- package/dist/types/components/z-ghost-loading/index.d.ts +2 -1
- package/dist/types/components/z-info-reveal/index.d.ts +9 -7
- package/dist/types/components/z-offcanvas/index.d.ts +12 -11
- package/dist/types/components/z-pagination/index.d.ts +14 -13
- package/dist/types/components/z-popover/index.d.ts +7 -7
- package/dist/types/components/z-section-title/index.d.ts +3 -2
- package/dist/types/components/z-skip-to-content/index.d.ts +8 -8
- package/dist/types/components/z-table/z-table/index.d.ts +5 -4
- package/dist/types/components/z-table/z-table-body/index.d.ts +2 -2
- package/dist/types/components/z-table/z-table-cell/index.d.ts +4 -3
- package/dist/types/components/z-table/z-table-empty-box/index.d.ts +5 -4
- package/dist/types/components/z-table/z-table-expanded-row/index.d.ts +1 -1
- package/dist/types/components/z-table/z-table-footer/index.d.ts +2 -2
- package/dist/types/components/z-table/z-table-head/index.d.ts +2 -2
- package/dist/types/components/z-table/z-table-header/index.d.ts +9 -7
- package/dist/types/components/z-table/z-table-header-row/index.d.ts +4 -2
- package/dist/types/components/z-table/z-table-row/index.d.ts +7 -4
- package/dist/types/components/z-table/z-table-sticky-footer/index.d.ts +1 -1
- package/dist/types/components/z-tag/index.d.ts +2 -1
- package/dist/types/components/z-visually-hidden/index.d.ts +1 -1
- package/dist/types/components.d.ts +255 -84
- package/dist/types/deprecated/pagination/z-pagination-bar/index.d.ts +14 -16
- package/dist/types/deprecated/pagination/z-pagination-page/index.d.ts +1 -1
- package/dist/types/deprecated/z-button-deprecated/index.d.ts +6 -6
- package/dist/types/deprecated/z-button-filter/index.d.ts +6 -6
- package/dist/types/deprecated/z-chip-deprecated/index.d.ts +3 -1
- package/dist/types/deprecated/z-input-deprecated/index.d.ts +24 -35
- package/dist/types/deprecated/z-input-label/index.d.ts +1 -1
- package/dist/types/deprecated/z-popover-deprecated/index.d.ts +8 -7
- package/dist/types/deprecated/z-status-tag/index.d.ts +2 -1
- package/dist/types/deprecated/z-tooltip-deprecated/index.d.ts +4 -3
- package/dist/types/index.d.ts +4 -3
- package/dist/types/snowflakes/myz/card/z-myz-card/index.d.ts +4 -4
- package/dist/types/snowflakes/myz/card/z-myz-card-alert/index.d.ts +6 -7
- package/dist/types/snowflakes/myz/card/z-myz-card-body/index.d.ts +1 -1
- package/dist/types/snowflakes/myz/card/z-myz-card-cover/index.d.ts +2 -2
- package/dist/types/snowflakes/myz/card/z-myz-card-dictionary/index.d.ts +2 -2
- package/dist/types/snowflakes/myz/card/z-myz-card-footer/index.d.ts +8 -14
- package/dist/types/snowflakes/myz/card/z-myz-card-footer-sections/index.d.ts +1 -1
- package/dist/types/snowflakes/myz/card/z-myz-card-header/index.d.ts +6 -11
- package/dist/types/snowflakes/myz/card/z-myz-card-icon/index.d.ts +1 -1
- package/dist/types/snowflakes/myz/card/z-myz-card-info/index.d.ts +12 -12
- package/dist/types/snowflakes/myz/card/z-myz-card-list/index.d.ts +4 -5
- package/dist/types/snowflakes/myz/list/z-myz-list/index.d.ts +4 -4
- package/dist/types/snowflakes/myz/list/z-myz-list-item/index.d.ts +3 -3
- package/dist/types/snowflakes/myz/pocket/z-messages-pocket/index.d.ts +3 -3
- package/dist/types/snowflakes/myz/pocket/z-pocket/index.d.ts +4 -4
- package/dist/types/snowflakes/myz/pocket/z-pocket-body/index.d.ts +1 -1
- package/dist/types/snowflakes/myz/pocket/z-pocket-header/index.d.ts +3 -3
- package/dist/types/snowflakes/myz/pocket/z-pocket-message/index.d.ts +1 -1
- package/dist/types/snowflakes/myz/topbar/index.d.ts +22 -24
- package/dist/types/snowflakes/myz/z-alert/index.d.ts +3 -3
- package/dist/types/snowflakes/myz/z-otp/index.d.ts +8 -4
- package/dist/types/snowflakes/myz/z-slideshow/index.d.ts +14 -14
- package/dist/types/stencil-public-runtime.d.ts +4 -15
- package/dist/types/utils/utils.d.ts +14 -7
- package/dist/web-components-library/index.esm.js +1 -1
- package/dist/web-components-library/p-01b7c613.entry.js +1 -0
- package/dist/web-components-library/p-01cbf6d4.entry.js +1 -0
- package/dist/web-components-library/p-0617465e.entry.js +1 -0
- package/dist/web-components-library/p-099ea215.entry.js +1 -0
- package/dist/web-components-library/p-0f21bfa5.entry.js +1 -0
- package/dist/web-components-library/p-14f11a64.entry.js +1 -0
- package/dist/web-components-library/p-182368ea.entry.js +1 -0
- package/dist/web-components-library/p-1d6cbf2f.entry.js +1 -0
- package/dist/web-components-library/p-1e1bc565.entry.js +1 -0
- package/dist/web-components-library/p-2177384f.entry.js +1 -0
- package/dist/web-components-library/p-25769717.entry.js +1 -0
- package/dist/web-components-library/{p-eaa4eba8.entry.js → p-2acf124c.entry.js} +1 -1
- package/dist/web-components-library/{p-9b70eba4.entry.js → p-2ed61157.entry.js} +1 -1
- package/dist/web-components-library/{p-6d9d8a68.entry.js → p-3124aed0.entry.js} +1 -1
- package/dist/web-components-library/p-31604337.entry.js +1 -0
- package/dist/web-components-library/p-31a4c8d5.entry.js +1 -0
- package/dist/web-components-library/p-348c5ada.entry.js +1 -0
- package/dist/web-components-library/p-3492096c.entry.js +1 -0
- package/dist/web-components-library/{p-c4417a91.entry.js → p-363c7e45.entry.js} +1 -1
- package/dist/web-components-library/{p-37e050bd.entry.js → p-3b974737.entry.js} +1 -1
- package/dist/web-components-library/p-3dbe166d.entry.js +1 -0
- package/dist/web-components-library/{p-b9bf1a8d.entry.js → p-41a412f7.entry.js} +1 -1
- package/dist/web-components-library/p-42e2e594.entry.js +1 -0
- package/dist/web-components-library/p-43a7d01c.entry.js +1 -0
- package/dist/web-components-library/p-48134f75.entry.js +1 -0
- package/dist/web-components-library/{p-69fead44.entry.js → p-4aa83df7.entry.js} +1 -1
- package/dist/web-components-library/p-4dc88c3f.entry.js +1 -0
- package/dist/web-components-library/p-4eeb77dc.entry.js +1 -0
- package/dist/web-components-library/p-4fe96235.entry.js +1 -0
- package/dist/web-components-library/p-594c9326.entry.js +1 -0
- package/dist/web-components-library/p-5b8ac754.entry.js +1 -0
- package/dist/web-components-library/p-5bba90cc.entry.js +1 -0
- package/dist/web-components-library/p-5bce77ba.entry.js +1 -0
- package/dist/web-components-library/p-5f111f4c.entry.js +1 -0
- package/dist/web-components-library/p-60ed0e4e.entry.js +1 -0
- package/dist/web-components-library/p-64102759.entry.js +1 -0
- package/dist/web-components-library/p-64309df9.entry.js +1 -0
- package/dist/web-components-library/p-6a53a0d8.entry.js +1 -0
- package/dist/web-components-library/p-6c08910a.entry.js +1 -0
- package/dist/web-components-library/p-6fa0cef6.entry.js +1 -0
- package/dist/web-components-library/p-71ff9b83.entry.js +1 -0
- package/dist/web-components-library/{p-3e60fa3d.entry.js → p-7403d200.entry.js} +1 -1
- package/dist/web-components-library/{p-3c63af71.entry.js → p-7847cab3.entry.js} +1 -1
- package/dist/web-components-library/p-7960c409.entry.js +1 -0
- package/dist/web-components-library/p-79940e8f.entry.js +1 -0
- package/dist/web-components-library/p-7a9d3944.entry.js +1 -0
- package/dist/web-components-library/p-7b8149ca.entry.js +1 -0
- package/dist/web-components-library/p-7c80da52.entry.js +1 -0
- package/dist/web-components-library/p-7e3bb3e0.entry.js +1 -0
- package/dist/web-components-library/p-87942fb9.entry.js +1 -0
- package/dist/web-components-library/{p-d4681325.js → p-87fdd14f.js} +1 -1
- package/dist/web-components-library/{p-2b374cb0.entry.js → p-88b9d5b4.entry.js} +1 -1
- package/dist/web-components-library/p-9adedc68.entry.js +1 -0
- package/dist/web-components-library/p-9c0df331.entry.js +1 -0
- package/dist/web-components-library/p-9d9c0d4b.entry.js +1 -0
- package/dist/web-components-library/p-9f80c0b8.js +1 -0
- package/dist/web-components-library/p-a55ef7b5.entry.js +1 -0
- package/dist/web-components-library/p-ae2dd723.entry.js +1 -0
- package/dist/web-components-library/p-aed38e5d.entry.js +1 -0
- package/dist/web-components-library/p-af6789f2.entry.js +1 -0
- package/dist/web-components-library/p-afc41eed.entry.js +1 -0
- package/dist/web-components-library/{p-3bdf4f63.entry.js → p-b0400e7d.entry.js} +1 -1
- package/dist/web-components-library/p-b1ea0074.entry.js +1 -0
- package/{www/build/p-42b0972c.js → dist/web-components-library/p-b2d16b41.js} +1 -1
- package/dist/web-components-library/p-b366ef8e.js +2 -0
- package/dist/web-components-library/p-b5861f58.entry.js +1 -0
- package/dist/web-components-library/{p-16c0ffce.js → p-bb15a265.js} +1 -1
- package/dist/web-components-library/p-bb413e2a.entry.js +1 -0
- package/dist/web-components-library/p-bb684454.entry.js +1 -0
- package/dist/web-components-library/{p-8c703e92.entry.js → p-bbc113ce.entry.js} +1 -1
- package/dist/web-components-library/p-bffc00d2.entry.js +1 -0
- package/dist/web-components-library/p-c0d382bc.entry.js +1 -0
- package/dist/web-components-library/p-c1c6988e.entry.js +1 -0
- package/dist/web-components-library/p-c4b70baa.entry.js +1 -0
- package/dist/web-components-library/p-c5ecf36a.entry.js +1 -0
- package/dist/web-components-library/p-c9c51bd9.entry.js +1 -0
- package/dist/web-components-library/p-c9ebec8d.entry.js +1 -0
- package/dist/web-components-library/p-cb453344.entry.js +1 -0
- package/dist/web-components-library/p-cd1593fa.entry.js +1 -0
- package/dist/web-components-library/p-d056538a.entry.js +1 -0
- package/dist/web-components-library/p-daeb784d.entry.js +1 -0
- package/dist/web-components-library/p-e137a17f.entry.js +1 -0
- package/dist/web-components-library/p-e2b1cb25.entry.js +1 -0
- package/dist/web-components-library/p-e420edcc.entry.js +1 -0
- package/dist/web-components-library/p-eb0f18a9.entry.js +1 -0
- package/dist/web-components-library/p-eb612914.entry.js +1 -0
- package/dist/web-components-library/p-efdca379.entry.js +1 -0
- package/dist/web-components-library/{p-e177dbef.entry.js → p-f0a63044.entry.js} +1 -1
- package/dist/web-components-library/p-f2136861.entry.js +1 -0
- package/dist/web-components-library/p-fb2d27b5.entry.js +1 -0
- package/dist/web-components-library/p-fd2a947c.entry.js +16 -0
- package/dist/web-components-library/p-ff000765.entry.js +1 -0
- package/{www/build/p-fd13128d.entry.js → dist/web-components-library/p-ff93eb04.entry.js} +1 -1
- package/dist/web-components-library/p-ffacff3f.entry.js +1 -0
- package/dist/web-components-library/web-components-library.esm.js +1 -1
- package/package.json +24 -17
- package/react/index.d.ts +1 -1
- package/readme.md +91 -33
- package/src-react/index.ts +1 -1
- package/www/build/index.esm.js +1 -1
- package/www/build/p-01b7c613.entry.js +1 -0
- package/www/build/p-01cbf6d4.entry.js +1 -0
- package/www/build/p-0617465e.entry.js +1 -0
- package/www/build/p-099ea215.entry.js +1 -0
- package/www/build/p-0f21bfa5.entry.js +1 -0
- package/www/build/p-14f11a64.entry.js +1 -0
- package/www/build/p-182368ea.entry.js +1 -0
- package/www/build/p-1d6cbf2f.entry.js +1 -0
- package/www/build/p-1e1bc565.entry.js +1 -0
- package/www/build/p-2177384f.entry.js +1 -0
- package/www/build/p-25769717.entry.js +1 -0
- package/www/build/{p-eaa4eba8.entry.js → p-2acf124c.entry.js} +1 -1
- package/www/build/{p-9b70eba4.entry.js → p-2ed61157.entry.js} +1 -1
- package/www/build/{p-6d9d8a68.entry.js → p-3124aed0.entry.js} +1 -1
- package/www/build/p-31604337.entry.js +1 -0
- package/www/build/p-31a4c8d5.entry.js +1 -0
- package/www/build/p-348c5ada.entry.js +1 -0
- package/www/build/p-3492096c.entry.js +1 -0
- package/www/build/{p-c4417a91.entry.js → p-363c7e45.entry.js} +1 -1
- package/www/build/{p-37e050bd.entry.js → p-3b974737.entry.js} +1 -1
- package/www/build/p-3dbe166d.entry.js +1 -0
- package/www/build/{p-b9bf1a8d.entry.js → p-41a412f7.entry.js} +1 -1
- package/www/build/p-42e2e594.entry.js +1 -0
- package/www/build/p-43a7d01c.entry.js +1 -0
- package/www/build/p-46a0f894.js +1 -0
- package/www/build/p-48134f75.entry.js +1 -0
- package/www/build/{p-69fead44.entry.js → p-4aa83df7.entry.js} +1 -1
- package/www/build/p-4dc88c3f.entry.js +1 -0
- package/www/build/p-4eeb77dc.entry.js +1 -0
- package/www/build/p-4fe96235.entry.js +1 -0
- package/www/build/p-594c9326.entry.js +1 -0
- package/www/build/p-5b8ac754.entry.js +1 -0
- package/www/build/p-5bba90cc.entry.js +1 -0
- package/www/build/p-5bce77ba.entry.js +1 -0
- package/www/build/p-5f111f4c.entry.js +1 -0
- package/www/build/p-60ed0e4e.entry.js +1 -0
- package/www/build/p-64102759.entry.js +1 -0
- package/www/build/p-64309df9.entry.js +1 -0
- package/www/build/p-6a53a0d8.entry.js +1 -0
- package/www/build/p-6c08910a.entry.js +1 -0
- package/www/build/p-6fa0cef6.entry.js +1 -0
- package/www/build/p-71ff9b83.entry.js +1 -0
- package/www/build/{p-3e60fa3d.entry.js → p-7403d200.entry.js} +1 -1
- package/www/build/{p-3c63af71.entry.js → p-7847cab3.entry.js} +1 -1
- package/www/build/p-7960c409.entry.js +1 -0
- package/www/build/p-79940e8f.entry.js +1 -0
- package/www/build/p-7a9d3944.entry.js +1 -0
- package/www/build/p-7b8149ca.entry.js +1 -0
- package/www/build/p-7c80da52.entry.js +1 -0
- package/www/build/p-7e3bb3e0.entry.js +1 -0
- package/www/build/p-87942fb9.entry.js +1 -0
- package/www/build/{p-d4681325.js → p-87fdd14f.js} +1 -1
- package/www/build/{p-2b374cb0.entry.js → p-88b9d5b4.entry.js} +1 -1
- package/www/build/p-9adedc68.entry.js +1 -0
- package/www/build/p-9c0df331.entry.js +1 -0
- package/www/build/p-9d9c0d4b.entry.js +1 -0
- package/www/build/p-9f80c0b8.js +1 -0
- package/www/build/p-a55ef7b5.entry.js +1 -0
- package/www/build/p-ae2dd723.entry.js +1 -0
- package/www/build/p-aed38e5d.entry.js +1 -0
- package/www/build/p-af6789f2.entry.js +1 -0
- package/www/build/p-afc41eed.entry.js +1 -0
- package/www/build/{p-3bdf4f63.entry.js → p-b0400e7d.entry.js} +1 -1
- package/www/build/p-b1ea0074.entry.js +1 -0
- package/{dist/web-components-library/p-42b0972c.js → www/build/p-b2d16b41.js} +1 -1
- package/www/build/p-b366ef8e.js +2 -0
- package/www/build/p-b5861f58.entry.js +1 -0
- package/www/build/{p-16c0ffce.js → p-bb15a265.js} +1 -1
- package/www/build/p-bb413e2a.entry.js +1 -0
- package/www/build/p-bb684454.entry.js +1 -0
- package/www/build/{p-8c703e92.entry.js → p-bbc113ce.entry.js} +1 -1
- package/www/build/p-bffc00d2.entry.js +1 -0
- package/www/build/p-c0d382bc.entry.js +1 -0
- package/www/build/p-c1c6988e.entry.js +1 -0
- package/www/build/p-c4b70baa.entry.js +1 -0
- package/www/build/p-c5ecf36a.entry.js +1 -0
- package/www/build/p-c9c51bd9.entry.js +1 -0
- package/www/build/p-c9ebec8d.entry.js +1 -0
- package/www/build/p-cb453344.entry.js +1 -0
- package/www/build/p-cd1593fa.entry.js +1 -0
- package/www/build/p-d056538a.entry.js +1 -0
- package/www/build/p-daeb784d.entry.js +1 -0
- package/www/build/p-e137a17f.entry.js +1 -0
- package/www/build/p-e2b1cb25.entry.js +1 -0
- package/www/build/p-e420edcc.entry.js +1 -0
- package/www/build/p-eb0f18a9.entry.js +1 -0
- package/www/build/p-eb612914.entry.js +1 -0
- package/www/build/p-efdca379.entry.js +1 -0
- package/www/build/{p-e177dbef.entry.js → p-f0a63044.entry.js} +1 -1
- package/www/build/p-f2136861.entry.js +1 -0
- package/www/build/p-fb2d27b5.entry.js +1 -0
- package/www/build/p-fd2a947c.entry.js +16 -0
- package/www/build/p-ff000765.entry.js +1 -0
- package/{dist/web-components-library/p-fd13128d.entry.js → www/build/p-ff93eb04.entry.js} +1 -1
- package/www/build/p-ffacff3f.entry.js +1 -0
- package/www/build/web-components-library.esm.js +1 -1
- package/www/index.html +1 -1
- package/www/pages/file-upload.html +16 -4
- package/www/pages/notification.html +153 -69
- package/dist/cjs/index-1fda0714.js +0 -60
- package/dist/cjs/index-745c0423.js +0 -354
- package/dist/esm/index-8390ddaf.js +0 -354
- package/dist/esm/index-abb47b30.js +0 -58
- package/dist/web-components-library/p-01a95ddd.entry.js +0 -1
- package/dist/web-components-library/p-023e657c.entry.js +0 -1
- package/dist/web-components-library/p-03aa4a29.entry.js +0 -1
- package/dist/web-components-library/p-07af77be.entry.js +0 -1
- package/dist/web-components-library/p-0f0d8a17.entry.js +0 -1
- package/dist/web-components-library/p-137c1289.entry.js +0 -1
- package/dist/web-components-library/p-145ef56b.entry.js +0 -1
- package/dist/web-components-library/p-1c5cb6b6.entry.js +0 -1
- package/dist/web-components-library/p-1cb8f39f.entry.js +0 -1
- package/dist/web-components-library/p-1efa8cfe.entry.js +0 -1
- package/dist/web-components-library/p-204c6ec6.entry.js +0 -1
- package/dist/web-components-library/p-213d7163.entry.js +0 -1
- package/dist/web-components-library/p-21a1b6a9.entry.js +0 -1
- package/dist/web-components-library/p-242e410f.entry.js +0 -1
- package/dist/web-components-library/p-286363e2.js +0 -7
- package/dist/web-components-library/p-2ec1cc4b.entry.js +0 -1
- package/dist/web-components-library/p-33438244.entry.js +0 -1
- package/dist/web-components-library/p-3c715e7d.entry.js +0 -1
- package/dist/web-components-library/p-426c55e1.entry.js +0 -1
- package/dist/web-components-library/p-42d1707b.entry.js +0 -1
- package/dist/web-components-library/p-46f66301.entry.js +0 -1
- package/dist/web-components-library/p-470e984a.entry.js +0 -1
- package/dist/web-components-library/p-4725eda5.entry.js +0 -1
- package/dist/web-components-library/p-478dd7a6.entry.js +0 -1
- package/dist/web-components-library/p-4f4930b5.entry.js +0 -1
- package/dist/web-components-library/p-52ca86db.entry.js +0 -1
- package/dist/web-components-library/p-5a5dde20.entry.js +0 -1
- package/dist/web-components-library/p-5c30dfc5.entry.js +0 -1
- package/dist/web-components-library/p-6ab40b8f.entry.js +0 -1
- package/dist/web-components-library/p-6aba4f0a.entry.js +0 -1
- package/dist/web-components-library/p-6c7251f5.entry.js +0 -1
- package/dist/web-components-library/p-726b4fbd.entry.js +0 -1
- package/dist/web-components-library/p-728a61a6.js +0 -1
- package/dist/web-components-library/p-769ccc9f.entry.js +0 -1
- package/dist/web-components-library/p-79d4e03b.entry.js +0 -1
- package/dist/web-components-library/p-872c8d25.entry.js +0 -1
- package/dist/web-components-library/p-8779fc5f.entry.js +0 -1
- package/dist/web-components-library/p-8e480d71.entry.js +0 -1
- package/dist/web-components-library/p-9124fe26.entry.js +0 -1
- package/dist/web-components-library/p-951c50ad.entry.js +0 -16
- package/dist/web-components-library/p-9bbb27f7.entry.js +0 -1
- package/dist/web-components-library/p-9c83bf57.entry.js +0 -1
- package/dist/web-components-library/p-a30bbd0a.entry.js +0 -1
- package/dist/web-components-library/p-a3eeed2e.entry.js +0 -1
- package/dist/web-components-library/p-a88046a0.entry.js +0 -1
- package/dist/web-components-library/p-a9d0b418.entry.js +0 -1
- package/dist/web-components-library/p-aaa0752b.entry.js +0 -1
- package/dist/web-components-library/p-ad17a4a0.entry.js +0 -1
- package/dist/web-components-library/p-aee1f514.entry.js +0 -1
- package/dist/web-components-library/p-b02aa57c.entry.js +0 -1
- package/dist/web-components-library/p-b54faa73.entry.js +0 -1
- package/dist/web-components-library/p-b622a7fd.entry.js +0 -1
- package/dist/web-components-library/p-baa877db.entry.js +0 -1
- package/dist/web-components-library/p-beec82d9.entry.js +0 -1
- package/dist/web-components-library/p-bf7adc29.entry.js +0 -1
- package/dist/web-components-library/p-c1da93ee.entry.js +0 -1
- package/dist/web-components-library/p-c2a3f15d.entry.js +0 -1
- package/dist/web-components-library/p-c4f778d7.entry.js +0 -1
- package/dist/web-components-library/p-c633d2bb.entry.js +0 -1
- package/dist/web-components-library/p-c6b5ee23.entry.js +0 -1
- package/dist/web-components-library/p-c89cbfcc.entry.js +0 -1
- package/dist/web-components-library/p-cea7a294.entry.js +0 -1
- package/dist/web-components-library/p-d17ebc2f.js +0 -2
- package/dist/web-components-library/p-d1f8d75e.entry.js +0 -1
- package/dist/web-components-library/p-d29153f0.entry.js +0 -1
- package/dist/web-components-library/p-d665ca6b.entry.js +0 -1
- package/dist/web-components-library/p-d8aac365.entry.js +0 -1
- package/dist/web-components-library/p-e527ef6d.entry.js +0 -1
- package/dist/web-components-library/p-e88ad497.entry.js +0 -1
- package/dist/web-components-library/p-eb2634d3.entry.js +0 -1
- package/dist/web-components-library/p-eba1cdd9.entry.js +0 -1
- package/dist/web-components-library/p-ed9dc5b7.entry.js +0 -1
- package/dist/web-components-library/p-f0e73ccb.entry.js +0 -1
- package/dist/web-components-library/p-f4b9f544.entry.js +0 -1
- package/dist/web-components-library/p-f5c3d332.entry.js +0 -1
- package/dist/web-components-library/p-f724f7a1.entry.js +0 -1
- package/dist/web-components-library/p-f77d7a3f.entry.js +0 -1
- package/dist/web-components-library/p-fdb6e67b.entry.js +0 -1
- package/www/build/p-0109f1e9.js +0 -1
- package/www/build/p-01a95ddd.entry.js +0 -1
- package/www/build/p-023e657c.entry.js +0 -1
- package/www/build/p-03aa4a29.entry.js +0 -1
- package/www/build/p-07af77be.entry.js +0 -1
- package/www/build/p-0f0d8a17.entry.js +0 -1
- package/www/build/p-137c1289.entry.js +0 -1
- package/www/build/p-145ef56b.entry.js +0 -1
- package/www/build/p-1c5cb6b6.entry.js +0 -1
- package/www/build/p-1cb8f39f.entry.js +0 -1
- package/www/build/p-1efa8cfe.entry.js +0 -1
- package/www/build/p-204c6ec6.entry.js +0 -1
- package/www/build/p-213d7163.entry.js +0 -1
- package/www/build/p-21a1b6a9.entry.js +0 -1
- package/www/build/p-242e410f.entry.js +0 -1
- package/www/build/p-286363e2.js +0 -7
- package/www/build/p-2ec1cc4b.entry.js +0 -1
- package/www/build/p-33438244.entry.js +0 -1
- package/www/build/p-3c715e7d.entry.js +0 -1
- package/www/build/p-426c55e1.entry.js +0 -1
- package/www/build/p-42d1707b.entry.js +0 -1
- package/www/build/p-46f66301.entry.js +0 -1
- package/www/build/p-470e984a.entry.js +0 -1
- package/www/build/p-4725eda5.entry.js +0 -1
- package/www/build/p-478dd7a6.entry.js +0 -1
- package/www/build/p-4f4930b5.entry.js +0 -1
- package/www/build/p-52ca86db.entry.js +0 -1
- package/www/build/p-5a5dde20.entry.js +0 -1
- package/www/build/p-5c30dfc5.entry.js +0 -1
- package/www/build/p-6ab40b8f.entry.js +0 -1
- package/www/build/p-6aba4f0a.entry.js +0 -1
- package/www/build/p-6c7251f5.entry.js +0 -1
- package/www/build/p-726b4fbd.entry.js +0 -1
- package/www/build/p-728a61a6.js +0 -1
- package/www/build/p-769ccc9f.entry.js +0 -1
- package/www/build/p-79d4e03b.entry.js +0 -1
- package/www/build/p-872c8d25.entry.js +0 -1
- package/www/build/p-8779fc5f.entry.js +0 -1
- package/www/build/p-8e480d71.entry.js +0 -1
- package/www/build/p-9124fe26.entry.js +0 -1
- package/www/build/p-951c50ad.entry.js +0 -16
- package/www/build/p-9bbb27f7.entry.js +0 -1
- package/www/build/p-9c83bf57.entry.js +0 -1
- package/www/build/p-a30bbd0a.entry.js +0 -1
- package/www/build/p-a3eeed2e.entry.js +0 -1
- package/www/build/p-a88046a0.entry.js +0 -1
- package/www/build/p-a9d0b418.entry.js +0 -1
- package/www/build/p-aaa0752b.entry.js +0 -1
- package/www/build/p-ad17a4a0.entry.js +0 -1
- package/www/build/p-aee1f514.entry.js +0 -1
- package/www/build/p-b02aa57c.entry.js +0 -1
- package/www/build/p-b54faa73.entry.js +0 -1
- package/www/build/p-b622a7fd.entry.js +0 -1
- package/www/build/p-baa877db.entry.js +0 -1
- package/www/build/p-beec82d9.entry.js +0 -1
- package/www/build/p-bf7adc29.entry.js +0 -1
- package/www/build/p-c1da93ee.entry.js +0 -1
- package/www/build/p-c2a3f15d.entry.js +0 -1
- package/www/build/p-c4f778d7.entry.js +0 -1
- package/www/build/p-c633d2bb.entry.js +0 -1
- package/www/build/p-c6b5ee23.entry.js +0 -1
- package/www/build/p-c89cbfcc.entry.js +0 -1
- package/www/build/p-cea7a294.entry.js +0 -1
- package/www/build/p-d17ebc2f.js +0 -2
- package/www/build/p-d1f8d75e.entry.js +0 -1
- package/www/build/p-d29153f0.entry.js +0 -1
- package/www/build/p-d665ca6b.entry.js +0 -1
- package/www/build/p-d8aac365.entry.js +0 -1
- package/www/build/p-e527ef6d.entry.js +0 -1
- package/www/build/p-e88ad497.entry.js +0 -1
- package/www/build/p-eb2634d3.entry.js +0 -1
- package/www/build/p-eba1cdd9.entry.js +0 -1
- package/www/build/p-ed9dc5b7.entry.js +0 -1
- package/www/build/p-f0e73ccb.entry.js +0 -1
- package/www/build/p-f4b9f544.entry.js +0 -1
- package/www/build/p-f5c3d332.entry.js +0 -1
- package/www/build/p-f724f7a1.entry.js +0 -1
- package/www/build/p-f77d7a3f.entry.js +0 -1
- package/www/build/p-fdb6e67b.entry.js +0 -1
|
@@ -1,61 +1,61 @@
|
|
|
1
1
|
:host > * {
|
|
2
|
-
font-family: var(--dashboard-font);
|
|
3
2
|
margin: 0;
|
|
3
|
+
font-family: var(--dashboard-font);
|
|
4
4
|
}
|
|
5
5
|
|
|
6
|
-
:host(.regular)
|
|
6
|
+
:host(.regular) > * {
|
|
7
7
|
font-weight: var(--font-rg);
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
:host(.semibold)
|
|
10
|
+
:host(.semibold) > * {
|
|
11
11
|
font-weight: 600;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
:host(.light)
|
|
14
|
+
:host(.light) > * {
|
|
15
15
|
font-weight: 300;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
:host(.h1)
|
|
18
|
+
:host(.h1) > * {
|
|
19
19
|
font-size: 32px;
|
|
20
20
|
line-height: 40px;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
:host(.h2)
|
|
23
|
+
:host(.h2) > * {
|
|
24
24
|
font-size: 28px;
|
|
25
25
|
line-height: 36px;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
:host(.h3)
|
|
28
|
+
:host(.h3) > * {
|
|
29
29
|
font-size: 24px;
|
|
30
30
|
line-height: 32px;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
:host(.h4)
|
|
33
|
+
:host(.h4) > * {
|
|
34
34
|
font-size: 20px;
|
|
35
35
|
line-height: 28px;
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
:host(.b1)
|
|
38
|
+
:host(.b1) > * {
|
|
39
39
|
font-size: 20px;
|
|
40
40
|
line-height: 28px;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
:host(.b2)
|
|
43
|
+
:host(.b2) > * {
|
|
44
44
|
font-size: 18px;
|
|
45
45
|
line-height: 28px;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
:host(.b3)
|
|
48
|
+
:host(.b3) > * {
|
|
49
49
|
font-size: 16px;
|
|
50
50
|
line-height: 24px;
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
:host(.b4)
|
|
53
|
+
:host(.b4) > * {
|
|
54
54
|
font-size: 14px;
|
|
55
55
|
line-height: 20px;
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
:host(.b5)
|
|
58
|
+
:host(.b5) > * {
|
|
59
59
|
font-size: 12px;
|
|
60
60
|
line-height: 16px;
|
|
61
61
|
}
|
|
@@ -2,7 +2,8 @@ import { h, Host } from "@stencil/core";
|
|
|
2
2
|
import { ZAriaAlertMode } from "../../beans";
|
|
3
3
|
export class ZAriaAlert {
|
|
4
4
|
constructor() {
|
|
5
|
-
|
|
5
|
+
/** Aria live mode */
|
|
6
|
+
this.mode = ZAriaAlertMode.POLITE;
|
|
6
7
|
}
|
|
7
8
|
render() {
|
|
8
9
|
return (h(Host, { "aria-live": this.mode, "aria-atomic": "true", "aria-relevant": "additions" }, h("slot", null)));
|
|
@@ -14,19 +15,24 @@ export class ZAriaAlert {
|
|
|
14
15
|
"type": "string",
|
|
15
16
|
"mutable": false,
|
|
16
17
|
"complexType": {
|
|
17
|
-
"original": "
|
|
18
|
-
"resolved": "
|
|
19
|
-
"references": {
|
|
18
|
+
"original": "ZAriaAlertMode",
|
|
19
|
+
"resolved": "ZAriaAlertMode.ASSERTIVE | ZAriaAlertMode.POLITE",
|
|
20
|
+
"references": {
|
|
21
|
+
"ZAriaAlertMode": {
|
|
22
|
+
"location": "import",
|
|
23
|
+
"path": "../../beans"
|
|
24
|
+
}
|
|
25
|
+
}
|
|
20
26
|
},
|
|
21
27
|
"required": false,
|
|
22
28
|
"optional": false,
|
|
23
29
|
"docs": {
|
|
24
30
|
"tags": [],
|
|
25
|
-
"text": ""
|
|
31
|
+
"text": "Aria live mode"
|
|
26
32
|
},
|
|
27
33
|
"attribute": "mode",
|
|
28
34
|
"reflect": false,
|
|
29
|
-
"defaultValue": "ZAriaAlertMode.
|
|
35
|
+
"defaultValue": "ZAriaAlertMode.POLITE"
|
|
30
36
|
}
|
|
31
37
|
};
|
|
32
38
|
}
|
|
@@ -2,24 +2,25 @@ import { h, Host } from "@stencil/core";
|
|
|
2
2
|
import { AvatarSize } from "../../beans";
|
|
3
3
|
export class ZAvatar {
|
|
4
4
|
constructor() {
|
|
5
|
+
var _a, _b;
|
|
5
6
|
/** [optional] Avatar size */
|
|
6
|
-
this.size = AvatarSize.
|
|
7
|
+
this.size = AvatarSize.MEDIUM;
|
|
7
8
|
/** [optional] Avatar text color */
|
|
8
9
|
this.textColor = "text-white";
|
|
9
10
|
/** [optional] Avatar background color */
|
|
10
11
|
this.backgroundColor = "bg-grey-700";
|
|
11
|
-
if (
|
|
12
|
+
if (((_a = this.text) === null || _a === void 0 ? void 0 : _a.length) === 0 && ((_b = this.image) === null || _b === void 0 ? void 0 : _b.length) === 0) {
|
|
12
13
|
console.warn("z-avatar must contain at least one prop between text and image");
|
|
13
14
|
}
|
|
14
15
|
}
|
|
15
16
|
getTextSize() {
|
|
16
|
-
if (this.size === AvatarSize.
|
|
17
|
+
if (this.size === AvatarSize.SMALL) {
|
|
17
18
|
return "5";
|
|
18
19
|
}
|
|
19
|
-
else if (this.size === AvatarSize.
|
|
20
|
+
else if (this.size === AvatarSize.MEDIUM) {
|
|
20
21
|
return "4";
|
|
21
22
|
}
|
|
22
|
-
else if (this.size === AvatarSize.
|
|
23
|
+
else if (this.size === AvatarSize.LARGE) {
|
|
23
24
|
return "2";
|
|
24
25
|
}
|
|
25
26
|
}
|
|
@@ -48,7 +49,7 @@ export class ZAvatar {
|
|
|
48
49
|
"mutable": false,
|
|
49
50
|
"complexType": {
|
|
50
51
|
"original": "AvatarSize",
|
|
51
|
-
"resolved": "AvatarSize.
|
|
52
|
+
"resolved": "AvatarSize.LARGE | AvatarSize.MEDIUM | AvatarSize.SMALL",
|
|
52
53
|
"references": {
|
|
53
54
|
"AvatarSize": {
|
|
54
55
|
"location": "import",
|
|
@@ -64,7 +65,7 @@ export class ZAvatar {
|
|
|
64
65
|
},
|
|
65
66
|
"attribute": "size",
|
|
66
67
|
"reflect": false,
|
|
67
|
-
"defaultValue": "AvatarSize.
|
|
68
|
+
"defaultValue": "AvatarSize.MEDIUM"
|
|
68
69
|
},
|
|
69
70
|
"text": {
|
|
70
71
|
"type": "string",
|
|
@@ -1,33 +1,30 @@
|
|
|
1
1
|
:host {
|
|
2
|
-
font-family: var(--font-family-sans);
|
|
3
|
-
|
|
4
|
-
background-color: var(--bg-grey-700);
|
|
5
|
-
|
|
6
|
-
border-radius: 50%;
|
|
7
|
-
|
|
8
2
|
display: inline-flex;
|
|
3
|
+
overflow: hidden;
|
|
9
4
|
align-items: center;
|
|
10
5
|
justify-content: center;
|
|
11
|
-
|
|
6
|
+
background-color: var(--bg-grey-700);
|
|
7
|
+
border-radius: 50%;
|
|
8
|
+
font-family: var(--font-family-sans);
|
|
12
9
|
text-transform: uppercase;
|
|
13
10
|
}
|
|
14
11
|
|
|
15
12
|
:host(.small),
|
|
16
13
|
:host(.small) > img {
|
|
17
|
-
height: calc(var(--space-unit) * 3);
|
|
18
14
|
width: calc(var(--space-unit) * 3);
|
|
15
|
+
height: calc(var(--space-unit) * 3);
|
|
19
16
|
}
|
|
20
17
|
|
|
21
18
|
:host(.medium),
|
|
22
19
|
:host(.medium) > img {
|
|
23
|
-
height: calc(var(--space-unit) * 4);
|
|
24
20
|
width: calc(var(--space-unit) * 4);
|
|
21
|
+
height: calc(var(--space-unit) * 4);
|
|
25
22
|
}
|
|
26
23
|
|
|
27
24
|
:host(.large),
|
|
28
25
|
:host(.large) > img {
|
|
29
|
-
height: calc(var(--space-unit) * 5);
|
|
30
26
|
width: calc(var(--space-unit) * 5);
|
|
27
|
+
height: calc(var(--space-unit) * 5);
|
|
31
28
|
}
|
|
32
29
|
|
|
33
30
|
:host > img {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { h } from
|
|
2
|
-
import {
|
|
1
|
+
import { h, Host } from "@stencil/core";
|
|
2
|
+
import { CardVariant } from "../../beans";
|
|
3
3
|
export class ZCard {
|
|
4
4
|
constructor() {
|
|
5
5
|
/** Enable click interactions on the card. Default: false */
|
|
@@ -9,7 +9,7 @@ export class ZCard {
|
|
|
9
9
|
}
|
|
10
10
|
onClick(ev) {
|
|
11
11
|
// Do nothing for clicks on actions.
|
|
12
|
-
if (ev.target.getAttribute(
|
|
12
|
+
if (ev.target.getAttribute("slot") === "action") {
|
|
13
13
|
return;
|
|
14
14
|
}
|
|
15
15
|
if (!this.clickable) {
|
|
@@ -20,7 +20,7 @@ export class ZCard {
|
|
|
20
20
|
this.cardClicked.emit();
|
|
21
21
|
}
|
|
22
22
|
componentWillLoad() {
|
|
23
|
-
this.hasCoverImage =
|
|
23
|
+
this.hasCoverImage = this.host.querySelector('[slot="cover"]') !== null;
|
|
24
24
|
}
|
|
25
25
|
/**
|
|
26
26
|
* Template for a card without image cover.
|
|
@@ -29,29 +29,26 @@ export class ZCard {
|
|
|
29
29
|
renderColorCoverCard() {
|
|
30
30
|
return [
|
|
31
31
|
h("div", { class: "cover-container" }, h("div", { class: "color-cover" }, h("div", { class: "cover-content" }, h("slot", { name: "metadata" }), h("slot", { name: "title" })))),
|
|
32
|
-
h("div", { class: "content" }, h("slot", { name: "text" }), h("div", { class: "actions" }, h("slot", { name: "action" })))
|
|
32
|
+
h("div", { class: "content" }, h("slot", { name: "text" }), h("div", { class: "actions" }, h("slot", { name: "action" }))),
|
|
33
33
|
];
|
|
34
34
|
}
|
|
35
35
|
/**
|
|
36
|
-
|
|
37
|
-
|
|
36
|
+
* Template for the content div.
|
|
37
|
+
*/
|
|
38
38
|
renderContentDiv() {
|
|
39
39
|
return (h("div", { class: "content" }, h("slot", { name: "metadata" }), h("slot", { name: "title" }), h("slot", { name: "text" }), h("div", { class: "actions" }, h("slot", { name: "action" }))));
|
|
40
40
|
}
|
|
41
41
|
render() {
|
|
42
|
-
if (this.variant ===
|
|
43
|
-
return this.renderContentDiv();
|
|
42
|
+
if (this.variant === CardVariant.TEXT) {
|
|
43
|
+
return h(Host, null, this.renderContentDiv());
|
|
44
44
|
}
|
|
45
|
-
if (this.variant ===
|
|
46
|
-
return [
|
|
47
|
-
h("
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
], !this.hasCoverImage && h("div", { class: "color-cover" })),
|
|
51
|
-
this.renderContentDiv()
|
|
52
|
-
];
|
|
45
|
+
if (this.variant === CardVariant.OVERLAY || this.hasCoverImage) {
|
|
46
|
+
return (h(Host, null, h("div", { class: "cover-container" }, this.hasCoverImage && [
|
|
47
|
+
h("slot", { name: "cover" }),
|
|
48
|
+
this.variant !== CardVariant.OVERLAY && this.coverIcon && h("z-icon", { name: this.coverIcon }),
|
|
49
|
+
], !this.hasCoverImage && h("div", { class: "color-cover" })), this.renderContentDiv()));
|
|
53
50
|
}
|
|
54
|
-
return this.renderColorCoverCard();
|
|
51
|
+
return h(Host, null, this.renderColorCoverCard());
|
|
55
52
|
}
|
|
56
53
|
static get is() { return "z-card"; }
|
|
57
54
|
static get encapsulation() { return "shadow"; }
|
|
@@ -71,10 +68,10 @@ export class ZCard {
|
|
|
71
68
|
"type": "string",
|
|
72
69
|
"mutable": false,
|
|
73
70
|
"complexType": {
|
|
74
|
-
"original": "
|
|
75
|
-
"resolved": "
|
|
71
|
+
"original": "CardVariant",
|
|
72
|
+
"resolved": "CardVariant.BORDER | CardVariant.OVERLAY | CardVariant.SHADOW | CardVariant.TEXT",
|
|
76
73
|
"references": {
|
|
77
|
-
"
|
|
74
|
+
"CardVariant": {
|
|
78
75
|
"location": "import",
|
|
79
76
|
"path": "../../beans"
|
|
80
77
|
}
|
|
@@ -22,7 +22,7 @@ respecting the grid indications of the design. */
|
|
|
22
22
|
box-sizing: border-box;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
:host(:not([variant=
|
|
25
|
+
:host(:not([variant="overlay"])) .cover-container {
|
|
26
26
|
position: relative;
|
|
27
27
|
width: 100%;
|
|
28
28
|
}
|
|
@@ -33,7 +33,7 @@ Unfortunately the `aspect-ratio` property is still experimental */
|
|
|
33
33
|
padding-bottom: calc(100% / var(--aspect-ratio));
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
::slotted([slot=
|
|
36
|
+
::slotted([slot="cover"]),
|
|
37
37
|
.color-cover {
|
|
38
38
|
position: absolute;
|
|
39
39
|
top: 0;
|
|
@@ -66,44 +66,44 @@ Unfortunately the `aspect-ratio` property is still experimental */
|
|
|
66
66
|
|
|
67
67
|
.color-cover .cover-content {
|
|
68
68
|
display: flex;
|
|
69
|
+
height: 100%;
|
|
69
70
|
flex-direction: column;
|
|
70
71
|
justify-content: flex-end;
|
|
71
|
-
height: 100%;
|
|
72
72
|
padding: var(--space-unit);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
/* Truncates overflowing text */
|
|
76
|
-
::slotted([slot=
|
|
77
|
-
::slotted([slot=
|
|
78
|
-
::slotted([slot=
|
|
79
|
-
display:
|
|
80
|
-
-webkit-box-orient: vertical;
|
|
76
|
+
::slotted([slot="metadata"]),
|
|
77
|
+
::slotted([slot="title"]),
|
|
78
|
+
::slotted([slot="text"]) {
|
|
79
|
+
display: box;
|
|
81
80
|
overflow: hidden;
|
|
81
|
+
-webkit-box-orient: vertical;
|
|
82
82
|
}
|
|
83
83
|
|
|
84
|
-
::slotted([slot=
|
|
85
|
-
::slotted([slot=
|
|
84
|
+
::slotted([slot="title"]:not(:last-child)),
|
|
85
|
+
::slotted([slot="text"]:not(:last-child)) {
|
|
86
86
|
margin-bottom: var(--space-unit);
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
::slotted([slot=
|
|
90
|
-
::slotted([slot=
|
|
89
|
+
::slotted([slot="text"]),
|
|
90
|
+
::slotted([slot="actions"]) {
|
|
91
91
|
margin: 0;
|
|
92
92
|
}
|
|
93
93
|
|
|
94
|
-
::slotted([slot=
|
|
94
|
+
::slotted([slot="metadata"]:not(:last-child)) {
|
|
95
95
|
margin: 0 0 calc(var(--space-unit) * 0.25);
|
|
96
96
|
-webkit-line-clamp: 1;
|
|
97
97
|
text-transform: uppercase;
|
|
98
98
|
}
|
|
99
99
|
|
|
100
|
-
::slotted([slot=
|
|
100
|
+
::slotted([slot="title"]) {
|
|
101
101
|
margin: 0;
|
|
102
102
|
font-weight: var(--font-sb);
|
|
103
103
|
-webkit-line-clamp: 2;
|
|
104
104
|
}
|
|
105
105
|
|
|
106
|
-
::slotted([slot=
|
|
106
|
+
::slotted([slot="text"]) {
|
|
107
107
|
-webkit-line-clamp: 3;
|
|
108
108
|
}
|
|
109
109
|
|
|
@@ -113,7 +113,7 @@ Unfortunately the `aspect-ratio` property is still experimental */
|
|
|
113
113
|
align-items: center;
|
|
114
114
|
}
|
|
115
115
|
|
|
116
|
-
::slotted([slot=
|
|
116
|
+
::slotted([slot="action"]:not(:last-child)) {
|
|
117
117
|
margin-right: calc(var(--space-unit) * 1.5);
|
|
118
118
|
}
|
|
119
119
|
|
|
@@ -131,72 +131,68 @@ Unfortunately the `aspect-ratio` property is still experimental */
|
|
|
131
131
|
box-shadow: var(--shadow-focus-primary);
|
|
132
132
|
}
|
|
133
133
|
|
|
134
|
-
:host([variant=
|
|
135
|
-
background-color: var(--z-card--text-background);
|
|
134
|
+
:host([variant="text"]) {
|
|
136
135
|
border: var(--z-card--text-border);
|
|
136
|
+
background-color: var(--z-card--text-background);
|
|
137
137
|
border-radius: var(--z-card--text-border-radius);
|
|
138
138
|
}
|
|
139
139
|
|
|
140
140
|
:host([showshadow]) > .content,
|
|
141
|
-
:host([variant=
|
|
142
|
-
:host([variant=
|
|
141
|
+
:host([variant="border"]) > .content,
|
|
142
|
+
:host([variant="shadow"]) > .content {
|
|
143
143
|
height: 100%;
|
|
144
144
|
padding: var(--space-unit) var(--space-unit) calc(var(--space-unit) * 2);
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
:host([variant=
|
|
148
|
-
padding: calc(var(--space-unit) * 2) var(--space-unit)
|
|
147
|
+
:host([variant="text"]) > .content {
|
|
148
|
+
padding: calc(var(--space-unit) * 2) var(--space-unit);
|
|
149
149
|
}
|
|
150
150
|
|
|
151
|
-
:host([variant=
|
|
152
|
-
:host([variant=
|
|
151
|
+
:host([variant="border"]) .actions,
|
|
152
|
+
:host([variant="shadow"]) .actions {
|
|
153
153
|
margin-top: auto;
|
|
154
154
|
}
|
|
155
155
|
|
|
156
156
|
/* Border */
|
|
157
|
-
:host([variant=
|
|
157
|
+
:host([variant="border"]) {
|
|
158
158
|
border: var(--border-size-small) solid var(--z-card--border-color);
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
:host([variant=
|
|
161
|
+
:host([variant="border"][clickable]:hover) > .content {
|
|
162
162
|
background: var(--color-background);
|
|
163
163
|
}
|
|
164
164
|
|
|
165
|
-
:host([variant=
|
|
165
|
+
:host([variant="border"][clickable]:focus:focus-visible) {
|
|
166
166
|
box-shadow: var(--shadow-focus-primary);
|
|
167
167
|
}
|
|
168
168
|
|
|
169
|
-
:host([variant=
|
|
169
|
+
:host([variant="border"][clickable]:active) {
|
|
170
170
|
border-color: transparent;
|
|
171
171
|
}
|
|
172
172
|
|
|
173
173
|
/* Shadow */
|
|
174
|
-
:host([variant=
|
|
175
|
-
:host([showshadow])
|
|
176
|
-
{
|
|
174
|
+
:host([variant="shadow"]),
|
|
175
|
+
:host([showshadow]) {
|
|
177
176
|
box-shadow: var(--shadow-2);
|
|
178
177
|
}
|
|
179
178
|
|
|
180
|
-
:host([variant=
|
|
181
|
-
:host([clickable][showshadow]:hover)
|
|
182
|
-
{
|
|
179
|
+
:host([variant="shadow"][clickable]:hover),
|
|
180
|
+
:host([clickable][showshadow]:hover) {
|
|
183
181
|
box-shadow: var(--shadow-4);
|
|
184
182
|
}
|
|
185
183
|
|
|
186
|
-
:host([variant=
|
|
187
|
-
:host([clickable][showshadow]:focus:focus-visible)
|
|
188
|
-
{
|
|
184
|
+
:host([variant="shadow"][clickable]:focus:focus-visible),
|
|
185
|
+
:host([clickable][showshadow]:focus:focus-visible) {
|
|
189
186
|
box-shadow: var(--shadow-4);
|
|
190
187
|
}
|
|
191
188
|
|
|
192
|
-
:host([variant=
|
|
193
|
-
:host([clickable][showshadow]:active)
|
|
194
|
-
{
|
|
189
|
+
:host([variant="shadow"][clickable]:active),
|
|
190
|
+
:host([clickable][showshadow]:active) {
|
|
195
191
|
box-shadow: none;
|
|
196
192
|
}
|
|
197
193
|
|
|
198
194
|
/* Overlay */
|
|
199
|
-
:host([variant=
|
|
195
|
+
:host([variant="overlay"]) .content {
|
|
200
196
|
position: absolute;
|
|
201
197
|
top: 0;
|
|
202
198
|
right: 0;
|
|
@@ -204,7 +200,7 @@ Unfortunately the `aspect-ratio` property is still experimental */
|
|
|
204
200
|
left: 0;
|
|
205
201
|
justify-content: flex-end;
|
|
206
202
|
padding: var(--space-unit);
|
|
207
|
-
background-image: linear-gradient(to top,
|
|
203
|
+
background-image: linear-gradient(to top, rgb(0 0 0 / 100%), rgb(0 0 0 / 0%));
|
|
208
204
|
color: var(--color-text-inverse);
|
|
209
205
|
fill: var(--color-text-inverse);
|
|
210
206
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { h, Host
|
|
2
|
-
import { CarouselArrowsPosition, CarouselProgressMode,
|
|
1
|
+
import { h, Host } from "@stencil/core";
|
|
2
|
+
import { CarouselArrowsPosition, CarouselProgressMode, ButtonVariant, ButtonSize } from "../../beans";
|
|
3
3
|
/**
|
|
4
4
|
* ZCarousel component.
|
|
5
5
|
* @cssprop --z-carousel-gutter - The gutter between items.
|
|
@@ -18,7 +18,8 @@ export class ZCarousel {
|
|
|
18
18
|
}
|
|
19
19
|
onIndexChange() {
|
|
20
20
|
this.scrollingTo = this.current;
|
|
21
|
-
this.
|
|
21
|
+
this.itemsContainer.scroll({
|
|
22
|
+
left: this.items[this.current].offsetLeft,
|
|
22
23
|
behavior: "smooth",
|
|
23
24
|
});
|
|
24
25
|
this.indexChange.emit({ currentItem: this.current });
|
|
@@ -49,7 +50,7 @@ export class ZCarousel {
|
|
|
49
50
|
}
|
|
50
51
|
const entryIndex = this.items.findIndex((item) => item === entry.target);
|
|
51
52
|
/* skip setting the current item if intersection has been triggered by a programmatic scroll
|
|
52
|
-
(the
|
|
53
|
+
(the scroll in `onIndexChange`) */
|
|
53
54
|
if (this.scrollingTo !== null && entryIndex !== this.scrollingTo) {
|
|
54
55
|
return;
|
|
55
56
|
}
|
|
@@ -111,15 +112,9 @@ export class ZCarousel {
|
|
|
111
112
|
}
|
|
112
113
|
render() {
|
|
113
114
|
if (this.isLoading) {
|
|
114
|
-
return h(Host, null, this.label && h("div", { class: "heading-4 z-carousel-title" }, this.label), h("div", { style: { height: `${this.ghostLoadingHeight}px` } }, h("z-ghost-loading", null), h("div", { class: "loading-items-container" }, h("slot", null))));
|
|
115
|
+
return (h(Host, null, this.label && h("div", { class: "heading-4 z-carousel-title" }, this.label), h("div", { style: { height: `${this.ghostLoadingHeight}px` } }, h("z-ghost-loading", null), h("div", { class: "loading-items-container" }, h("slot", null)))));
|
|
115
116
|
}
|
|
116
|
-
return (h(Host, null, h("div", { class: "z-carousel-container" }, this.label && h("div", { class: "heading-4 z-carousel-title" }, this.label), h("div", { class: "z-carousel-wrapper" }, this.arrowsPosition === CarouselArrowsPosition.OVER && (h("z-button", { size:
|
|
117
|
-
this.single &&
|
|
118
|
-
this.items && (h("div", { class: "dots-progress" }, this.items.map((_item, key) => (h("button", { type: "button", class: { current: this.current === key }, onClick: () => this.goTo(key) }, h("z-icon", { name: this.current === key
|
|
119
|
-
? "white-circle-filled"
|
|
120
|
-
: "black-circle-filled" })))))), this.progressMode === CarouselProgressMode.NUMBERS &&
|
|
121
|
-
this.single &&
|
|
122
|
-
this.items && (h("div", { class: "numbers-progress" }, h("span", { class: "interactive-3 current" }, this.current + 1), h("span", { class: "interactive-3" }, "di"), h("span", { class: "interactive-3" }, this.items.length))), this.arrowsPosition === CarouselArrowsPosition.BOTTOM && (h("z-button", { size: ButtonSizeEnum.small, variant: ButtonVariantEnum.tertiary, icon: "arrow-right-filled", onClick: this.onNext.bind(this) }))))));
|
|
117
|
+
return (h(Host, null, h("div", { class: "z-carousel-container" }, this.label && h("div", { class: "heading-4 z-carousel-title" }, this.label), h("div", { class: "z-carousel-wrapper" }, this.arrowsPosition === CarouselArrowsPosition.OVER && (h("z-button", { size: ButtonSize.SMALL, "data-direction": "prev", icon: "chevron-left", onClick: this.onPrev.bind(this) })), h("ul", { class: "z-carousel-items-container" }, h("slot", null)), this.arrowsPosition === CarouselArrowsPosition.OVER && (h("z-button", { size: ButtonSize.SMALL, "data-direction": "next", icon: "chevron-right", onClick: this.onNext.bind(this) })))), this.canShowFooter() && (h("div", { class: "z-carousel-footer" }, this.arrowsPosition === CarouselArrowsPosition.BOTTOM && (h("z-button", { size: ButtonSize.SMALL, variant: ButtonVariant.TERTIARY, icon: "arrow-left-filled", onClick: this.onPrev.bind(this) })), this.progressMode === CarouselProgressMode.DOTS && this.single && this.items && (h("div", { class: "dots-progress" }, this.items.map((_item, key) => (h("button", { type: "button", class: { current: this.current === key }, onClick: () => this.goTo(key) }, h("z-icon", { name: this.current === key ? "white-circle-filled" : "black-circle-filled" })))))), this.progressMode === CarouselProgressMode.NUMBERS && this.single && this.items && (h("div", { class: "numbers-progress" }, h("span", { class: "interactive-3 current" }, this.current + 1), h("span", { class: "interactive-3" }, "di"), h("span", { class: "interactive-3" }, this.items.length))), this.arrowsPosition === CarouselArrowsPosition.BOTTOM && (h("z-button", { size: ButtonSize.SMALL, variant: ButtonVariant.TERTIARY, icon: "arrow-right-filled", onClick: this.onNext.bind(this) }))))));
|
|
123
118
|
}
|
|
124
119
|
static get is() { return "z-carousel"; }
|
|
125
120
|
static get originalStyleUrls() {
|
|
@@ -6,14 +6,14 @@ z-carousel {
|
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
z-carousel[single],
|
|
9
|
-
z-carousel[single=
|
|
9
|
+
z-carousel[single="true"] {
|
|
10
10
|
display: flex;
|
|
11
11
|
flex-direction: column;
|
|
12
|
-
justify-content: center;
|
|
13
12
|
align-items: center;
|
|
13
|
+
justify-content: center;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
z-carousel[single=
|
|
16
|
+
z-carousel[single="true"] .z-carousel-container,
|
|
17
17
|
z-carousel[single] .z-carousel-container {
|
|
18
18
|
width: fit-content;
|
|
19
19
|
max-width: 100%;
|
|
@@ -33,22 +33,22 @@ z-carousel .loading-items-container {
|
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
.z-carousel-title {
|
|
36
|
-
color: var(--gray800);
|
|
37
36
|
margin-bottom: var(--space-unit);
|
|
37
|
+
color: var(--gray800);
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
.z-carousel-items-container {
|
|
41
41
|
display: flex;
|
|
42
|
-
flex-direction: row;
|
|
43
|
-
overflow-x: scroll;
|
|
44
42
|
max-width: 100%;
|
|
45
|
-
|
|
43
|
+
flex-direction: row;
|
|
46
44
|
margin: 0;
|
|
47
45
|
list-style: none;
|
|
46
|
+
-ms-overflow-style: none; /* IE and Edge */
|
|
47
|
+
overflow-x: scroll;
|
|
48
|
+
padding-inline-start: 0;
|
|
48
49
|
scroll-snap-type: x mandatory;
|
|
49
50
|
|
|
50
51
|
/* Hide scrollbar for IE, Edge and Firefox */
|
|
51
|
-
-ms-overflow-style: none; /* IE and Edge */
|
|
52
52
|
scrollbar-width: none; /* Firefox */
|
|
53
53
|
}
|
|
54
54
|
|
|
@@ -61,7 +61,7 @@ z-carousel .loading-items-container {
|
|
|
61
61
|
margin-right: var(--z-carousel-gutter);
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
-
z-carousel[single=
|
|
64
|
+
z-carousel[single="true"] .z-carousel-items-container > *:not(:last-child),
|
|
65
65
|
z-carousel[single] .z-carousel-items-container > *:not(:last-child) {
|
|
66
66
|
margin-right: 0;
|
|
67
67
|
}
|
|
@@ -75,8 +75,8 @@ z-button[data-direction] {
|
|
|
75
75
|
--z-icon-height: 32px;
|
|
76
76
|
|
|
77
77
|
position: absolute;
|
|
78
|
-
bottom:
|
|
79
|
-
|
|
78
|
+
bottom: 50%;
|
|
79
|
+
transform: translateY(50%);
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
z-button[data-direction="next"] {
|
|
@@ -101,9 +101,9 @@ z-button[data-direction="next"] {
|
|
|
101
101
|
.z-carousel-footer .dots-progress button {
|
|
102
102
|
display: flex;
|
|
103
103
|
align-items: center;
|
|
104
|
-
margin: 0;
|
|
105
104
|
padding: 0;
|
|
106
105
|
border: none;
|
|
106
|
+
margin: 0;
|
|
107
107
|
background-color: transparent;
|
|
108
108
|
}
|
|
109
109
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h, } from "@stencil/core";
|
|
1
|
+
import { h, Host } from "@stencil/core";
|
|
2
2
|
import { PopoverPositions } from "../../beans";
|
|
3
3
|
export class ZContextualMenu {
|
|
4
4
|
constructor() {
|
|
@@ -9,7 +9,7 @@ export class ZContextualMenu {
|
|
|
9
9
|
/**
|
|
10
10
|
* [optional] Sets the position of the popover
|
|
11
11
|
*/
|
|
12
|
-
this.popoverPosition = PopoverPositions.
|
|
12
|
+
this.popoverPosition = PopoverPositions.BOTTOM_RIGHT;
|
|
13
13
|
}
|
|
14
14
|
componentWillRender() {
|
|
15
15
|
if (this.elements) {
|
|
@@ -29,12 +29,7 @@ export class ZContextualMenu {
|
|
|
29
29
|
}
|
|
30
30
|
render() {
|
|
31
31
|
var _a, _b;
|
|
32
|
-
return
|
|
33
|
-
h("button", { ref: (el) => (this.triggerButton = el), "aria-label": ((_a = this.popover) === null || _a === void 0 ? void 0 : _a.open) ? "chiudi menu contestuale" : "apri menu contestuale", onClick: () => this.togglePopover() }, h("z-icon", { name: "contextual-menu", fill: this.color })),
|
|
34
|
-
h("z-popover", { ref: (el) => (this.popover = el), position: this.popoverPosition }, h("div", { class: "popover-content-container" }, h("z-list", null, h("z-list-group", { "divider-type": "element" }, (_b = this.jsonElements) === null || _b === void 0 ? void 0 : _b.map((element, index) => (h("z-list-element", { clickable: !element.disabled, class: "my-z-list-element", "align-button": "left", "expandable-style": "accordion", color: element.disabled ? `color-disabled03` : this.color, isContextualMenu: true, listElementId: index, onClickItem: (event) => this.clickContextualMenu.emit(event.detail) }, h("div", { class: element.disabled
|
|
35
|
-
? "disabled-element-container"
|
|
36
|
-
: "element-container" }, this.showIcon() && (h("div", { class: "element-icon" }, h("z-icon", { name: element.icon, width: 16, height: 16 }))), h("div", { class: "element-text" }, h("span", null, element.text))))))))))
|
|
37
|
-
];
|
|
32
|
+
return (h(Host, null, h("button", { ref: (el) => (this.triggerButton = el), "aria-label": ((_a = this.popover) === null || _a === void 0 ? void 0 : _a.open) ? "chiudi menu contestuale" : "apri menu contestuale", onClick: () => this.togglePopover() }, h("z-icon", { name: "contextual-menu", fill: this.color })), h("z-popover", { ref: (el) => (this.popover = el), position: this.popoverPosition }, h("div", { class: "popover-content-container" }, h("z-list", null, h("z-list-group", { "divider-type": "element" }, (_b = this.jsonElements) === null || _b === void 0 ? void 0 : _b.map((element, index) => (h("z-list-element", { clickable: !element.disabled, class: "my-z-list-element", "align-button": "left", "expandable-style": "accordion", color: element.disabled ? `color-disabled03` : this.color, isContextualMenu: true, listElementId: index, onClickItem: (event) => this.clickContextualMenu.emit(event.detail) }, h("div", { class: element.disabled ? "disabled-element-container" : "element-container" }, this.showIcon() && (h("div", { class: "element-icon" }, h("z-icon", { name: element.icon, width: 16, height: 16 }))), h("div", { class: "element-text" }, h("span", null, element.text))))))))))));
|
|
38
33
|
}
|
|
39
34
|
static get is() { return "z-contextual-menu"; }
|
|
40
35
|
static get encapsulation() { return "shadow"; }
|
|
@@ -90,7 +85,7 @@ export class ZContextualMenu {
|
|
|
90
85
|
"mutable": false,
|
|
91
86
|
"complexType": {
|
|
92
87
|
"original": "PopoverPositions",
|
|
93
|
-
"resolved": "PopoverPositions.
|
|
88
|
+
"resolved": "PopoverPositions.AUTO | PopoverPositions.BOTTOM | PopoverPositions.BOTTOM_LEFT | PopoverPositions.BOTTOM_RIGHT | PopoverPositions.LEFT | PopoverPositions.LEFT_BOTTOM | PopoverPositions.LEFT_TOP | PopoverPositions.RIGHT | PopoverPositions.RIGHT_BOTTOM | PopoverPositions.RIGHT_TOP | PopoverPositions.TOP | PopoverPositions.TOP_LEFT | PopoverPositions.TOP_RIGHT",
|
|
94
89
|
"references": {
|
|
95
90
|
"PopoverPositions": {
|
|
96
91
|
"location": "import",
|
|
@@ -106,7 +101,7 @@ export class ZContextualMenu {
|
|
|
106
101
|
},
|
|
107
102
|
"attribute": "popover-position",
|
|
108
103
|
"reflect": true,
|
|
109
|
-
"defaultValue": "PopoverPositions.
|
|
104
|
+
"defaultValue": "PopoverPositions.BOTTOM_RIGHT"
|
|
110
105
|
}
|
|
111
106
|
};
|
|
112
107
|
}
|