@zanichelli/albe-web-components 6.3.2-rc1 → 6.3.2
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 +7 -0
- package/dist/cjs/index-e3299e0a.js +74 -18
- package/dist/cjs/{index-fa110f37.js → index-f08f7171.js} +54 -13
- package/dist/cjs/index.cjs.js +26 -2
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{utils-600bad93.js → utils-73ead59e.js} +1 -1
- package/dist/cjs/{utils-8bc9056f.js → utils-7fde0c53.js} +1 -1
- package/dist/cjs/web-components-library.cjs.js +2 -2
- package/dist/cjs/z-alert.cjs.entry.js +1 -0
- package/dist/cjs/z-anchor-navigation.cjs.entry.js +1 -8
- package/dist/cjs/z-app-header_2.cjs.entry.js +12 -29
- package/dist/cjs/z-app-switcher.cjs.entry.js +28 -0
- package/dist/cjs/z-app-topbar.cjs.entry.js +7 -3
- package/dist/cjs/z-aria-alert.cjs.entry.js +1 -2
- package/dist/cjs/z-avatar.cjs.entry.js +3 -4
- package/dist/cjs/z-body_2.cjs.entry.js +4 -2
- package/dist/cjs/z-button-deprecated.cjs.entry.js +36 -0
- package/dist/cjs/z-button-filter.cjs.entry.js +49 -0
- package/dist/cjs/z-button-sort.cjs.entry.js +4 -4
- package/dist/cjs/z-button.cjs.entry.js +6 -6
- package/dist/cjs/z-candybar.cjs.entry.js +19 -0
- package/dist/cjs/z-card.cjs.entry.js +4 -3
- package/dist/cjs/z-carousel.cjs.entry.js +8 -6
- package/dist/cjs/z-chip-deprecated.cjs.entry.js +24 -0
- package/dist/cjs/z-chip.cjs.entry.js +4 -4
- package/dist/cjs/z-combobox.cjs.entry.js +13 -14
- package/dist/cjs/z-contextual-menu.cjs.entry.js +3 -8
- package/dist/cjs/z-cookiebar.cjs.entry.js +44 -0
- package/dist/cjs/z-cover-hero.cjs.entry.js +1 -8
- package/dist/cjs/z-date-picker.cjs.entry.js +4 -4
- package/dist/cjs/z-divider.cjs.entry.js +1 -4
- package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +2 -1
- package/dist/cjs/z-file-upload.cjs.entry.js +10 -6
- package/dist/cjs/z-file.cjs.entry.js +4 -2
- package/dist/cjs/z-footer-link_3.cjs.entry.js +54 -0
- package/dist/cjs/z-footer.cjs.entry.js +110 -0
- package/dist/cjs/z-info-box.cjs.entry.js +1 -1
- package/dist/cjs/z-info-reveal.cjs.entry.js +2 -5
- package/dist/cjs/z-input-deprecated.cjs.entry.js +261 -0
- package/dist/cjs/{z-select.cjs.entry.js → z-input-label_2.cjs.entry.js} +33 -14
- package/dist/cjs/z-input_2.cjs.entry.js +18 -12
- package/dist/cjs/z-link.cjs.entry.js +3 -9
- package/dist/cjs/z-list_3.cjs.entry.js +12 -71
- package/dist/cjs/{z-app-switcher_2.cjs.entry.js → z-logo.cjs.entry.js} +6 -23
- package/dist/cjs/z-menu-dropdown_2.cjs.entry.js +93 -0
- package/dist/cjs/z-menu-section.cjs.entry.js +3 -0
- package/dist/cjs/z-menu.cjs.entry.js +3 -10
- package/dist/cjs/z-messages-pocket.cjs.entry.js +3 -2
- package/dist/cjs/z-modal-login.cjs.entry.js +5 -2
- package/dist/cjs/z-modal.cjs.entry.js +3 -1
- package/dist/cjs/z-myz-card-alert.cjs.entry.js +5 -1
- package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +3 -5
- package/dist/cjs/z-myz-card-footer.cjs.entry.js +6 -3
- package/dist/cjs/z-myz-card-icon.cjs.entry.js +1 -2
- package/dist/cjs/z-myz-card-info.cjs.entry.js +4 -4
- package/dist/cjs/z-myz-card-list.cjs.entry.js +1 -0
- package/dist/cjs/z-myz-card_4.cjs.entry.js +10 -3
- package/dist/cjs/z-myz-list-item.cjs.entry.js +7 -4
- package/dist/cjs/z-myz-topbar.cjs.entry.js +201 -0
- package/dist/cjs/z-navigation-tab-link.cjs.entry.js +6 -13
- package/dist/cjs/z-navigation-tab.cjs.entry.js +4 -13
- package/dist/cjs/z-navigation-tabs.cjs.entry.js +4 -7
- package/dist/cjs/z-notification.cjs.entry.js +3 -6
- package/dist/cjs/z-offcanvas.cjs.entry.js +1 -8
- package/dist/cjs/z-otp.cjs.entry.js +3 -2
- package/dist/cjs/z-pagination-bar.cjs.entry.js +116 -0
- package/dist/cjs/z-pagination-page.cjs.entry.js +25 -0
- package/dist/cjs/z-pagination.cjs.entry.js +6 -13
- package/dist/cjs/z-panel-elem.cjs.entry.js +7 -2
- package/dist/cjs/z-pocket_3.cjs.entry.js +5 -4
- package/dist/cjs/z-popover-deprecated.cjs.entry.js +129 -0
- package/dist/cjs/z-popover.cjs.entry.js +24 -35
- package/dist/cjs/z-range-picker.cjs.entry.js +7 -3
- package/dist/cjs/z-section-title.cjs.entry.js +1 -8
- package/dist/cjs/z-skip-to-content.cjs.entry.js +3 -3
- package/dist/cjs/z-slideshow.cjs.entry.js +5 -2
- package/dist/cjs/z-status-tag.cjs.entry.js +32 -0
- package/dist/cjs/z-stepper-item.cjs.entry.js +4 -0
- package/dist/cjs/z-table-cell.cjs.entry.js +2 -2
- package/dist/cjs/z-table-empty-box.cjs.entry.js +0 -2
- package/dist/cjs/z-table-expanded-row.cjs.entry.js +1 -0
- package/dist/cjs/z-table-header-row.cjs.entry.js +1 -0
- package/dist/cjs/z-table-header.cjs.entry.js +6 -6
- package/dist/cjs/z-table-row.cjs.entry.js +1 -2
- package/dist/cjs/z-table.cjs.entry.js +7 -9
- package/dist/cjs/z-tag.cjs.entry.js +2 -0
- package/dist/cjs/z-toast-notification-list.cjs.entry.js +1 -3
- package/dist/cjs/z-toast-notification.cjs.entry.js +9 -5
- package/dist/cjs/z-toggle-button.cjs.entry.js +2 -2
- package/dist/cjs/z-toggle-switch.cjs.entry.js +2 -6
- package/dist/cjs/z-tooltip-deprecated.cjs.entry.js +262 -0
- package/dist/cjs/z-tooltip.cjs.entry.js +3 -7
- package/dist/cjs/z-user-dropdown.cjs.entry.js +5 -1
- package/dist/collection/beans/index.js +54 -13
- package/dist/collection/collection-manifest.json +18 -1
- package/dist/collection/components/buttons/z-button/index.js +5 -5
- package/dist/collection/components/buttons/z-button-sort/index.js +4 -4
- package/dist/collection/components/buttons/z-chip/index.js +2 -2
- package/dist/collection/components/buttons/z-toggle-button/index.js +2 -2
- package/dist/collection/components/buttons/z-toggle-switch/index.js +0 -4
- package/dist/collection/components/date-picker/z-date-picker/index.js +2 -2
- package/dist/collection/components/date-picker/z-range-picker/index.js +5 -1
- package/dist/collection/components/file-upload/z-file/index.js +4 -2
- package/dist/collection/components/file-upload/z-file-upload/index.js +8 -4
- package/dist/collection/components/footer/z-footer/index.js +262 -0
- package/dist/collection/components/footer/z-footer/styles.css +242 -0
- package/dist/collection/components/footer/z-footer-link/index.js +45 -0
- package/dist/collection/components/footer/z-footer-link/styles.css +25 -0
- package/dist/collection/components/footer/z-footer-section/index.js +54 -0
- package/dist/collection/components/footer/z-footer-section/styles.css +150 -0
- package/dist/collection/components/footer/z-footer-social/index.js +78 -0
- package/dist/collection/components/footer/z-footer-social/styles.css +15 -0
- package/dist/collection/components/icons/z-icon/index.js +7 -0
- package/dist/collection/components/indicators/z-stepper-item/index.js +6 -0
- package/dist/collection/components/inputs/z-combobox/index.js +11 -12
- package/dist/collection/components/inputs/z-input/index.js +14 -10
- package/dist/collection/components/inputs/z-input-message/index.js +2 -0
- package/dist/collection/components/inputs/z-select/index.js +15 -12
- package/dist/collection/components/list/z-list/index.js +0 -6
- package/dist/collection/components/list/z-list-element/index.js +11 -49
- package/dist/collection/components/list/z-list-group/index.js +0 -15
- package/dist/collection/components/list/z-toast-notification-list/index.js +0 -2
- package/dist/collection/components/logo/z-logo/index.js +8 -0
- package/dist/collection/components/modal/z-modal/index.js +3 -1
- package/dist/collection/components/modal/z-modal-login/index.js +4 -1
- package/dist/collection/components/navigation/tabs/z-navigation-tab/index.js +3 -12
- package/dist/collection/components/navigation/tabs/z-navigation-tab-link/index.js +5 -12
- package/dist/collection/components/navigation/tabs/z-navigation-tabs/index.js +3 -6
- package/dist/collection/components/navigation/z-app-header/index.js +7 -29
- package/dist/collection/components/navigation/z-app-switcher/index.js +0 -1
- package/dist/collection/components/navigation/z-app-topbar/index.js +6 -2
- package/dist/collection/components/navigation/z-link/index.js +3 -9
- package/dist/collection/components/navigation/z-menu/index.js +3 -10
- package/dist/collection/components/navigation/z-menu-dropdown/index.js +3 -0
- package/dist/collection/components/navigation/z-menu-section/index.js +5 -0
- package/dist/collection/components/navigation/z-user-dropdown/index.js +5 -1
- package/dist/collection/components/notification/z-candybar/index.js +21 -0
- package/dist/collection/components/notification/z-candybar/styles.css +55 -0
- package/dist/collection/components/notification/z-cookiebar/index.js +115 -0
- package/dist/collection/components/notification/z-cookiebar/styles.css +108 -0
- package/dist/collection/components/notification/z-info-box/index.js +1 -1
- package/dist/collection/components/notification/z-notification/index.js +3 -6
- package/dist/collection/components/notification/z-toast-notification/index.js +8 -4
- package/dist/collection/components/notification/z-tooltip/index.js +7 -11
- package/dist/collection/components/panel/z-panel-elem/index.js +7 -2
- package/dist/collection/components/typography/z-body/index.js +2 -1
- package/dist/collection/components/typography/z-heading/index.js +2 -1
- package/dist/collection/components/typography/z-typography/index.js +2 -1
- package/dist/collection/components/z-anchor-navigation/index.js +0 -7
- package/dist/collection/components/z-aria-alert/index.js +0 -1
- package/dist/collection/components/z-avatar/index.js +2 -3
- package/dist/collection/components/z-card/index.js +3 -2
- package/dist/collection/components/z-carousel/index.js +7 -5
- package/dist/collection/components/z-contextual-menu/index.js +7 -12
- package/dist/collection/components/z-cover-hero/index.js +0 -7
- package/dist/collection/components/z-divider/index.js +0 -3
- package/dist/collection/components/z-info-reveal/index.js +1 -4
- package/dist/collection/components/z-offcanvas/index.js +0 -7
- package/dist/collection/components/z-pagination/index.js +5 -12
- package/dist/collection/components/z-popover/index.js +27 -38
- package/dist/collection/components/z-section-title/index.js +0 -7
- package/dist/collection/components/z-skip-to-content/index.js +1 -1
- package/dist/collection/components/z-table/z-table/index.js +6 -8
- package/dist/collection/components/z-table/z-table-cell/index.js +1 -1
- package/dist/collection/components/z-table/z-table-empty-box/index.js +0 -2
- package/dist/collection/components/z-table/z-table-expanded-row/index.js +3 -0
- package/dist/collection/components/z-table/z-table-header/index.js +5 -5
- package/dist/collection/components/z-table/z-table-header-row/index.js +3 -0
- package/dist/collection/components/z-table/z-table-row/index.js +0 -1
- package/dist/collection/components/z-tag/index.js +4 -0
- package/dist/collection/deprecated/pagination/z-pagination-bar/index.js +271 -0
- package/dist/collection/deprecated/pagination/z-pagination-bar/styles.css +22 -0
- package/dist/collection/deprecated/pagination/z-pagination-page/index.js +136 -0
- package/dist/collection/deprecated/pagination/z-pagination-page/styles.css +57 -0
- package/dist/collection/deprecated/z-button-deprecated/index.js +221 -0
- package/dist/collection/deprecated/z-button-deprecated/styles.css +231 -0
- package/dist/collection/deprecated/z-button-filter/index.js +159 -0
- package/dist/collection/deprecated/z-button-filter/styles.css +64 -0
- package/dist/collection/deprecated/z-chip-deprecated/index.js +63 -0
- package/dist/collection/deprecated/z-chip-deprecated/styles.css +17 -0
- package/dist/collection/deprecated/z-input-deprecated/index.js +810 -0
- package/dist/collection/deprecated/z-input-deprecated/styles.css +282 -0
- package/dist/collection/deprecated/z-input-label/index.js +79 -0
- package/dist/collection/deprecated/z-input-label/styles.css +16 -0
- package/dist/collection/deprecated/z-popover-deprecated/index.js +300 -0
- package/dist/collection/deprecated/z-popover-deprecated/styles.css +235 -0
- package/dist/collection/deprecated/z-status-tag/index.js +133 -0
- package/dist/collection/deprecated/z-status-tag/styles.css +131 -0
- package/dist/collection/deprecated/z-tooltip-deprecated/index.js +378 -0
- package/dist/collection/deprecated/z-tooltip-deprecated/styles.css +128 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +2 -2
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +6 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-cover/index.js +6 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-dictionary/index.js +2 -4
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +5 -2
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +3 -0
- package/dist/collection/snowflakes/myz/card/z-myz-card-icon/index.js +1 -2
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +3 -3
- package/dist/collection/snowflakes/myz/card/z-myz-card-list/index.js +1 -0
- package/dist/collection/snowflakes/myz/list/z-myz-list/index.js +4 -0
- package/dist/collection/snowflakes/myz/list/z-myz-list-item/index.js +5 -2
- package/dist/collection/snowflakes/myz/pocket/z-messages-pocket/index.js +2 -1
- package/dist/collection/snowflakes/myz/pocket/z-pocket/index.js +1 -1
- package/dist/collection/snowflakes/myz/pocket/z-pocket-body/index.js +1 -1
- package/dist/collection/snowflakes/myz/pocket/z-pocket-header/index.js +1 -0
- package/dist/collection/snowflakes/myz/topbar/index.js +409 -0
- package/dist/collection/snowflakes/myz/topbar/styles.css +574 -0
- package/dist/collection/snowflakes/myz/z-alert/index.js +3 -0
- package/dist/collection/snowflakes/myz/z-otp/index.js +2 -1
- package/dist/collection/snowflakes/myz/z-slideshow/index.js +3 -0
- package/dist/esm/index-a2ca4b97.js +74 -18
- package/dist/esm/{index-968a240f.js → index-aee91593.js} +55 -14
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +2 -2
- package/dist/esm/{utils-ccb4d66f.js → utils-5dc8ce33.js} +2 -2
- package/dist/esm/{utils-151f0ab4.js → utils-77c5c75d.js} +1 -1
- package/dist/esm/web-components-library.js +2 -2
- package/dist/esm/z-alert.entry.js +1 -0
- package/dist/esm/z-anchor-navigation.entry.js +1 -8
- package/dist/esm/z-app-header_2.entry.js +12 -29
- package/dist/esm/z-app-switcher.entry.js +24 -0
- package/dist/esm/z-app-topbar.entry.js +7 -3
- package/dist/esm/z-aria-alert.entry.js +1 -2
- package/dist/esm/z-avatar.entry.js +3 -4
- package/dist/esm/z-body_2.entry.js +4 -2
- package/dist/esm/z-button-deprecated.entry.js +32 -0
- package/dist/esm/z-button-filter.entry.js +45 -0
- package/dist/esm/z-button-sort.entry.js +4 -4
- package/dist/esm/z-button.entry.js +6 -6
- package/dist/esm/z-candybar.entry.js +15 -0
- package/dist/esm/z-card.entry.js +4 -3
- package/dist/esm/z-carousel.entry.js +8 -6
- package/dist/esm/z-chip-deprecated.entry.js +20 -0
- package/dist/esm/z-chip.entry.js +4 -4
- package/dist/esm/z-combobox.entry.js +13 -14
- package/dist/esm/z-contextual-menu.entry.js +3 -8
- package/dist/esm/z-cookiebar.entry.js +40 -0
- package/dist/esm/z-cover-hero.entry.js +1 -8
- package/dist/esm/z-date-picker.entry.js +4 -4
- package/dist/esm/z-divider.entry.js +1 -4
- package/dist/esm/z-dragdrop-area_2.entry.js +2 -1
- package/dist/esm/z-file-upload.entry.js +10 -6
- package/dist/esm/z-file.entry.js +4 -2
- package/dist/esm/z-footer-link_3.entry.js +48 -0
- package/dist/esm/z-footer.entry.js +106 -0
- package/dist/esm/z-info-box.entry.js +1 -1
- package/dist/esm/z-info-reveal.entry.js +2 -5
- package/dist/esm/z-input-deprecated.entry.js +257 -0
- package/dist/esm/{z-select.entry.js → z-input-label_2.entry.js} +34 -16
- package/dist/esm/z-input_2.entry.js +18 -12
- package/dist/esm/z-link.entry.js +3 -9
- package/dist/esm/z-list_3.entry.js +12 -71
- package/dist/esm/{z-app-switcher_2.entry.js → z-logo.entry.js} +8 -24
- package/dist/esm/z-menu-dropdown_2.entry.js +88 -0
- package/dist/esm/z-menu-section.entry.js +3 -0
- package/dist/esm/z-menu.entry.js +3 -10
- package/dist/esm/z-messages-pocket.entry.js +3 -2
- package/dist/esm/z-modal-login.entry.js +5 -2
- package/dist/esm/z-modal.entry.js +3 -1
- package/dist/esm/z-myz-card-alert.entry.js +5 -1
- package/dist/esm/z-myz-card-dictionary.entry.js +3 -5
- package/dist/esm/z-myz-card-footer.entry.js +6 -3
- package/dist/esm/z-myz-card-icon.entry.js +1 -2
- package/dist/esm/z-myz-card-info.entry.js +4 -4
- package/dist/esm/z-myz-card-list.entry.js +1 -0
- package/dist/esm/z-myz-card_4.entry.js +10 -3
- package/dist/esm/z-myz-list-item.entry.js +7 -4
- package/dist/esm/z-myz-topbar.entry.js +197 -0
- package/dist/esm/z-navigation-tab-link.entry.js +6 -13
- package/dist/esm/z-navigation-tab.entry.js +4 -13
- package/dist/esm/z-navigation-tabs.entry.js +4 -7
- package/dist/esm/z-notification.entry.js +3 -6
- package/dist/esm/z-offcanvas.entry.js +1 -8
- package/dist/esm/z-otp.entry.js +3 -2
- package/dist/esm/z-pagination-bar.entry.js +112 -0
- package/dist/esm/z-pagination-page.entry.js +21 -0
- package/dist/esm/z-pagination.entry.js +6 -13
- package/dist/esm/z-panel-elem.entry.js +7 -2
- package/dist/esm/z-pocket_3.entry.js +5 -4
- package/dist/esm/z-popover-deprecated.entry.js +125 -0
- package/dist/esm/z-popover.entry.js +24 -35
- package/dist/esm/z-range-picker.entry.js +7 -3
- package/dist/esm/z-section-title.entry.js +1 -8
- package/dist/esm/z-skip-to-content.entry.js +3 -3
- package/dist/esm/z-slideshow.entry.js +5 -2
- package/dist/esm/z-status-tag.entry.js +28 -0
- package/dist/esm/z-stepper-item.entry.js +4 -0
- package/dist/esm/z-table-cell.entry.js +2 -2
- package/dist/esm/z-table-empty-box.entry.js +0 -2
- package/dist/esm/z-table-expanded-row.entry.js +1 -0
- package/dist/esm/z-table-header-row.entry.js +1 -0
- package/dist/esm/z-table-header.entry.js +6 -6
- package/dist/esm/z-table-row.entry.js +1 -2
- package/dist/esm/z-table.entry.js +7 -9
- package/dist/esm/z-tag.entry.js +2 -0
- package/dist/esm/z-toast-notification-list.entry.js +1 -3
- package/dist/esm/z-toast-notification.entry.js +9 -5
- package/dist/esm/z-toggle-button.entry.js +2 -2
- package/dist/esm/z-toggle-switch.entry.js +2 -6
- package/dist/esm/z-tooltip-deprecated.entry.js +258 -0
- package/dist/esm/z-tooltip.entry.js +3 -7
- package/dist/esm/z-user-dropdown.entry.js +5 -1
- package/dist/types/beans/index.d.ts +60 -1
- package/dist/types/components/footer/z-footer/index.d.ts +46 -0
- package/dist/types/components/footer/z-footer-link/index.d.ts +8 -0
- package/dist/types/components/footer/z-footer-section/index.d.ts +10 -0
- package/dist/types/components/footer/z-footer-social/index.d.ts +9 -0
- package/dist/types/components/notification/z-candybar/index.d.ts +6 -0
- package/dist/types/components/notification/z-cookiebar/index.d.ts +16 -0
- package/dist/types/components/notification/z-tooltip/index.d.ts +2 -2
- package/dist/types/components/z-contextual-menu/index.d.ts +2 -2
- package/dist/types/components/z-popover/index.d.ts +4 -4
- package/dist/types/components.d.ts +1057 -8
- package/dist/types/deprecated/pagination/z-pagination-bar/index.d.ts +40 -0
- package/dist/types/deprecated/pagination/z-pagination-page/index.d.ts +15 -0
- package/dist/types/deprecated/z-button-deprecated/index.d.ts +28 -0
- package/dist/types/deprecated/z-button-filter/index.d.ts +22 -0
- package/dist/types/deprecated/z-chip-deprecated/index.d.ts +8 -0
- package/dist/types/deprecated/z-input-deprecated/index.d.ts +91 -0
- package/dist/types/deprecated/z-input-label/index.d.ts +9 -0
- package/dist/types/deprecated/z-popover-deprecated/index.d.ts +33 -0
- package/dist/types/deprecated/z-status-tag/index.d.ts +15 -0
- package/dist/types/deprecated/z-tooltip-deprecated/index.d.ts +41 -0
- package/dist/types/snowflakes/myz/topbar/index.d.ts +59 -0
- package/dist/types/stencil-public-runtime.d.ts +5 -0
- package/dist/web-components-library/index.esm.js +1 -1
- package/dist/web-components-library/p-016b2800.entry.js +1 -0
- package/dist/web-components-library/p-067bd5da.entry.js +1 -0
- package/dist/web-components-library/p-0afc555e.entry.js +1 -0
- package/dist/web-components-library/{p-214b6cee.entry.js → p-0f28f07e.entry.js} +1 -1
- package/dist/web-components-library/p-10b84e8c.entry.js +1 -0
- package/dist/web-components-library/p-12211a48.entry.js +1 -0
- package/dist/web-components-library/p-18448e4d.entry.js +1 -0
- package/dist/web-components-library/p-1ab0de76.entry.js +1 -0
- package/dist/web-components-library/p-1e163a87.entry.js +1 -0
- package/dist/web-components-library/p-1f187c54.entry.js +1 -0
- package/dist/web-components-library/p-1f8c8cd0.entry.js +1 -0
- package/dist/web-components-library/{p-9ed27651.entry.js → p-1f8c947e.entry.js} +1 -1
- package/dist/web-components-library/{p-2acd6a51.entry.js → p-1fdbd448.entry.js} +1 -1
- package/dist/web-components-library/{p-33352f9e.entry.js → p-279b422a.entry.js} +1 -1
- package/{www/build/p-f158d205.entry.js → dist/web-components-library/p-2c18a622.entry.js} +1 -1
- package/dist/web-components-library/p-2d5d8e6f.entry.js +1 -0
- package/dist/web-components-library/p-2e7a31ac.entry.js +1 -0
- package/dist/web-components-library/p-3027c60b.entry.js +1 -0
- package/dist/web-components-library/p-30fcd62b.js +1 -0
- package/dist/web-components-library/{p-9c28b8fc.entry.js → p-323ae109.entry.js} +1 -1
- package/dist/web-components-library/p-35739670.entry.js +1 -0
- package/dist/web-components-library/p-36d2d081.entry.js +1 -0
- package/dist/web-components-library/{p-67d6cfcb.entry.js → p-3b1c4366.entry.js} +1 -1
- package/dist/web-components-library/p-3c7cf41f.entry.js +1 -0
- package/dist/web-components-library/p-3eb0d582.entry.js +1 -0
- package/dist/web-components-library/p-3ecfb7c1.entry.js +1 -0
- package/dist/web-components-library/p-40f96085.entry.js +1 -0
- package/dist/web-components-library/p-42782d06.entry.js +1 -0
- package/dist/web-components-library/p-4465426a.entry.js +1 -0
- package/dist/web-components-library/p-468520f5.entry.js +1 -0
- package/dist/web-components-library/p-46e367c9.entry.js +1 -0
- package/dist/web-components-library/{p-496863be.entry.js → p-4a322ca6.entry.js} +1 -1
- package/dist/web-components-library/p-4ba0b17c.entry.js +1 -0
- package/dist/web-components-library/{p-b17981a4.entry.js → p-4c7f4a2c.entry.js} +1 -1
- package/dist/web-components-library/p-552c6686.entry.js +1 -0
- package/dist/web-components-library/p-563529f8.entry.js +1 -0
- package/dist/web-components-library/p-569f6cff.entry.js +1 -0
- package/dist/web-components-library/p-57faab40.entry.js +1 -0
- package/dist/web-components-library/p-5935151c.entry.js +1 -0
- package/dist/web-components-library/p-5b83568e.entry.js +1 -0
- package/dist/web-components-library/p-5c6108bb.entry.js +1 -0
- package/dist/web-components-library/p-63a99ad2.entry.js +16 -0
- package/dist/web-components-library/p-64033ee3.entry.js +1 -0
- package/dist/web-components-library/p-66bbcf76.entry.js +1 -0
- package/dist/web-components-library/p-69db61b5.entry.js +1 -0
- package/dist/web-components-library/p-6e4dd501.entry.js +1 -0
- package/dist/web-components-library/p-6fe1bffb.entry.js +1 -0
- package/dist/web-components-library/p-7171d686.entry.js +1 -0
- package/dist/web-components-library/p-75a4091f.entry.js +1 -0
- package/dist/web-components-library/p-7b22a446.entry.js +1 -0
- package/dist/web-components-library/p-7e13d026.entry.js +1 -0
- package/dist/web-components-library/p-82ff8f0e.entry.js +1 -0
- package/dist/web-components-library/p-84cc611a.entry.js +1 -0
- package/dist/web-components-library/p-8879211b.entry.js +1 -0
- package/dist/web-components-library/p-8949cd1d.entry.js +1 -0
- package/dist/web-components-library/{p-34c26207.entry.js → p-8fee871a.entry.js} +1 -1
- package/dist/web-components-library/p-9099124a.entry.js +1 -0
- package/dist/web-components-library/p-9ecf936d.js +1 -0
- package/dist/web-components-library/p-a1250f99.entry.js +1 -0
- package/dist/web-components-library/p-a3b8dd69.entry.js +1 -0
- package/dist/web-components-library/p-aa271ed7.entry.js +1 -0
- package/dist/web-components-library/p-af4a9bb7.entry.js +1 -0
- package/dist/web-components-library/p-af9b8051.entry.js +1 -0
- package/dist/web-components-library/p-b01314fa.entry.js +1 -0
- package/dist/web-components-library/p-b4a9ba1d.entry.js +1 -0
- package/dist/web-components-library/p-b9a69a90.entry.js +1 -0
- package/dist/web-components-library/p-bbbfd2fa.entry.js +1 -0
- package/dist/web-components-library/p-bea5aa42.entry.js +1 -0
- package/dist/web-components-library/{p-b3c29822.js → p-bee26f96.js} +1 -1
- package/dist/web-components-library/p-c39c68b9.entry.js +1 -0
- package/dist/web-components-library/p-c7d7958c.entry.js +1 -0
- package/dist/web-components-library/p-c849a2a5.entry.js +1 -0
- package/dist/web-components-library/p-d1b45e96.entry.js +1 -0
- package/dist/web-components-library/p-d767f784.entry.js +1 -0
- package/dist/web-components-library/p-d7e72cec.entry.js +1 -0
- package/dist/web-components-library/p-d8e17d3a.entry.js +1 -0
- package/dist/web-components-library/{p-9965827d.entry.js → p-db234892.entry.js} +1 -1
- package/dist/web-components-library/p-dc3c5f36.entry.js +1 -0
- package/dist/web-components-library/p-e0f82390.entry.js +1 -0
- package/dist/web-components-library/p-e1ddeb61.entry.js +1 -0
- package/dist/web-components-library/p-e4d761f4.entry.js +1 -0
- package/dist/web-components-library/p-efca7e17.entry.js +1 -0
- package/dist/web-components-library/p-f08d1cbd.entry.js +1 -0
- package/dist/web-components-library/p-f53d1d26.entry.js +1 -0
- package/dist/web-components-library/p-f8aef252.entry.js +1 -0
- package/dist/web-components-library/p-f94281ee.entry.js +1 -0
- package/dist/web-components-library/p-f9e8ac5d.entry.js +1 -0
- package/dist/web-components-library/web-components-library.esm.js +1 -1
- package/package.json +2 -2
- package/react/components.d.ts +17 -0
- package/react/components.js +20 -2
- package/react/components.js.map +1 -1
- package/www/build/index.esm.js +1 -1
- package/www/build/p-016b2800.entry.js +1 -0
- package/www/build/p-067bd5da.entry.js +1 -0
- package/www/build/p-0afc555e.entry.js +1 -0
- package/www/build/{p-214b6cee.entry.js → p-0f28f07e.entry.js} +1 -1
- package/www/build/p-10b84e8c.entry.js +1 -0
- package/www/build/p-12211a48.entry.js +1 -0
- package/www/build/p-18448e4d.entry.js +1 -0
- package/www/build/p-1ab0de76.entry.js +1 -0
- package/www/build/p-1e163a87.entry.js +1 -0
- package/www/build/p-1f187c54.entry.js +1 -0
- package/www/build/p-1f8c8cd0.entry.js +1 -0
- package/www/build/{p-9ed27651.entry.js → p-1f8c947e.entry.js} +1 -1
- package/www/build/{p-2acd6a51.entry.js → p-1fdbd448.entry.js} +1 -1
- package/www/build/{p-33352f9e.entry.js → p-279b422a.entry.js} +1 -1
- package/{dist/web-components-library/p-f158d205.entry.js → www/build/p-2c18a622.entry.js} +1 -1
- package/www/build/p-2d5d8e6f.entry.js +1 -0
- package/www/build/p-2e7a31ac.entry.js +1 -0
- package/www/build/p-3027c60b.entry.js +1 -0
- package/www/build/p-30fcd62b.js +1 -0
- package/www/build/{p-9c28b8fc.entry.js → p-323ae109.entry.js} +1 -1
- package/www/build/p-35739670.entry.js +1 -0
- package/www/build/p-36d2d081.entry.js +1 -0
- package/www/build/{p-67d6cfcb.entry.js → p-3b1c4366.entry.js} +1 -1
- package/www/build/p-3c7cf41f.entry.js +1 -0
- package/www/build/p-3eb0d582.entry.js +1 -0
- package/www/build/p-3ecfb7c1.entry.js +1 -0
- package/www/build/p-40f96085.entry.js +1 -0
- package/www/build/p-42782d06.entry.js +1 -0
- package/www/build/p-4465426a.entry.js +1 -0
- package/www/build/p-468520f5.entry.js +1 -0
- package/www/build/p-46e367c9.entry.js +1 -0
- package/www/build/{p-496863be.entry.js → p-4a322ca6.entry.js} +1 -1
- package/www/build/p-4ba0b17c.entry.js +1 -0
- package/www/build/{p-b17981a4.entry.js → p-4c7f4a2c.entry.js} +1 -1
- package/www/build/p-552c6686.entry.js +1 -0
- package/www/build/p-563529f8.entry.js +1 -0
- package/www/build/p-569f6cff.entry.js +1 -0
- package/www/build/p-57faab40.entry.js +1 -0
- package/www/build/p-5935151c.entry.js +1 -0
- package/www/build/p-5b83568e.entry.js +1 -0
- package/www/build/p-5c6108bb.entry.js +1 -0
- package/www/build/p-63a99ad2.entry.js +16 -0
- package/www/build/p-64033ee3.entry.js +1 -0
- package/www/build/p-66bbcf76.entry.js +1 -0
- package/www/build/p-69db61b5.entry.js +1 -0
- package/www/build/p-6e4dd501.entry.js +1 -0
- package/www/build/p-6fe1bffb.entry.js +1 -0
- package/www/build/p-7171d686.entry.js +1 -0
- package/www/build/p-75a4091f.entry.js +1 -0
- package/www/build/p-7b22a446.entry.js +1 -0
- package/www/build/p-7e13d026.entry.js +1 -0
- package/www/build/p-82ff8f0e.entry.js +1 -0
- package/www/build/p-84cc611a.entry.js +1 -0
- package/www/build/p-8879211b.entry.js +1 -0
- package/www/build/p-8949cd1d.entry.js +1 -0
- package/www/build/{p-34c26207.entry.js → p-8fee871a.entry.js} +1 -1
- package/www/build/p-9099124a.entry.js +1 -0
- package/www/build/p-9ecf936d.js +1 -0
- package/www/build/p-a1250f99.entry.js +1 -0
- package/www/build/p-a3b8dd69.entry.js +1 -0
- package/www/build/p-aa271ed7.entry.js +1 -0
- package/www/build/p-af4a9bb7.entry.js +1 -0
- package/www/build/p-af9b8051.entry.js +1 -0
- package/www/build/p-b01314fa.entry.js +1 -0
- package/www/build/p-b4a9ba1d.entry.js +1 -0
- package/www/build/p-b9a69a90.entry.js +1 -0
- package/www/build/p-bbbfd2fa.entry.js +1 -0
- package/www/build/p-bea5aa42.entry.js +1 -0
- package/www/build/{p-b3c29822.js → p-bee26f96.js} +1 -1
- package/www/build/p-c39c68b9.entry.js +1 -0
- package/www/build/p-c7d7958c.entry.js +1 -0
- package/www/build/p-c849a2a5.entry.js +1 -0
- package/www/build/p-d1b45e96.entry.js +1 -0
- package/www/build/p-d70c7670.css +1 -0
- package/www/build/p-d767f784.entry.js +1 -0
- package/www/build/p-d7e72cec.entry.js +1 -0
- package/www/build/p-d8e17d3a.entry.js +1 -0
- package/www/build/{p-9965827d.entry.js → p-db234892.entry.js} +1 -1
- package/www/build/p-dc3c5f36.entry.js +1 -0
- package/www/build/p-e0f82390.entry.js +1 -0
- package/www/build/p-e1ddeb61.entry.js +1 -0
- package/www/build/p-e4d761f4.entry.js +1 -0
- package/www/build/p-ef5f8af2.js +1 -0
- package/www/build/p-efca7e17.entry.js +1 -0
- package/www/build/p-f08d1cbd.entry.js +1 -0
- package/www/build/p-f53d1d26.entry.js +1 -0
- package/www/build/p-f8aef252.entry.js +1 -0
- package/www/build/p-f94281ee.entry.js +1 -0
- package/www/build/p-f9e8ac5d.entry.js +1 -0
- package/www/build/web-components-library.esm.js +1 -1
- package/www/index.html +1 -1
- package/dist/cjs/z-menu-dropdown.cjs.entry.js +0 -59
- package/dist/cjs/z-myz-list.cjs.entry.js +0 -35
- package/dist/esm/z-menu-dropdown.entry.js +0 -55
- package/dist/esm/z-myz-list.entry.js +0 -31
- package/dist/web-components-library/p-009c9f67.entry.js +0 -1
- package/dist/web-components-library/p-01f001fd.entry.js +0 -1
- package/dist/web-components-library/p-05ced71c.entry.js +0 -1
- package/dist/web-components-library/p-074ea569.entry.js +0 -1
- package/dist/web-components-library/p-07e18572.entry.js +0 -1
- package/dist/web-components-library/p-0843b0e7.entry.js +0 -1
- package/dist/web-components-library/p-0fa4b50b.entry.js +0 -1
- package/dist/web-components-library/p-1b6279a6.entry.js +0 -1
- package/dist/web-components-library/p-1ba8d432.entry.js +0 -1
- package/dist/web-components-library/p-1cb23bbb.entry.js +0 -1
- package/dist/web-components-library/p-20a3247c.entry.js +0 -1
- package/dist/web-components-library/p-26f834e5.entry.js +0 -1
- package/dist/web-components-library/p-279655eb.entry.js +0 -1
- package/dist/web-components-library/p-2d1b6c3c.entry.js +0 -1
- package/dist/web-components-library/p-2efedcf4.entry.js +0 -1
- package/dist/web-components-library/p-344e7ae7.entry.js +0 -1
- package/dist/web-components-library/p-38a3cf3b.entry.js +0 -1
- package/dist/web-components-library/p-3a468aa9.entry.js +0 -1
- package/dist/web-components-library/p-3c2d438b.entry.js +0 -1
- package/dist/web-components-library/p-3f55dce6.entry.js +0 -1
- package/dist/web-components-library/p-411cbcd6.entry.js +0 -1
- package/dist/web-components-library/p-475ca461.entry.js +0 -1
- package/dist/web-components-library/p-4cd6c6f4.entry.js +0 -1
- package/dist/web-components-library/p-51e308ca.entry.js +0 -1
- package/dist/web-components-library/p-5921901c.entry.js +0 -1
- package/dist/web-components-library/p-59cfee8d.entry.js +0 -1
- package/dist/web-components-library/p-5dd9a2c6.entry.js +0 -1
- package/dist/web-components-library/p-61424b8a.entry.js +0 -1
- package/dist/web-components-library/p-682528b2.entry.js +0 -1
- package/dist/web-components-library/p-6b1a5309.entry.js +0 -1
- package/dist/web-components-library/p-7af991f5.entry.js +0 -1
- package/dist/web-components-library/p-810bd730.entry.js +0 -1
- package/dist/web-components-library/p-8980398c.entry.js +0 -1
- package/dist/web-components-library/p-8b960526.entry.js +0 -1
- package/dist/web-components-library/p-8bf0844b.entry.js +0 -1
- package/dist/web-components-library/p-8c105bd1.entry.js +0 -1
- package/dist/web-components-library/p-8f46e548.entry.js +0 -1
- package/dist/web-components-library/p-8ffc17b7.entry.js +0 -1
- package/dist/web-components-library/p-93dc6d51.entry.js +0 -1
- package/dist/web-components-library/p-95b8f109.entry.js +0 -1
- package/dist/web-components-library/p-9c338aeb.entry.js +0 -1
- package/dist/web-components-library/p-9d03a7d6.entry.js +0 -1
- package/dist/web-components-library/p-a23e9115.js +0 -1
- package/dist/web-components-library/p-a2b67e2d.entry.js +0 -1
- package/dist/web-components-library/p-a79d1412.entry.js +0 -1
- package/dist/web-components-library/p-a82ea410.entry.js +0 -1
- package/dist/web-components-library/p-b33f5e6a.entry.js +0 -1
- package/dist/web-components-library/p-b6f36170.entry.js +0 -16
- package/dist/web-components-library/p-bb0fe7bc.entry.js +0 -1
- package/dist/web-components-library/p-bdc6f2e5.entry.js +0 -1
- package/dist/web-components-library/p-beba3e67.entry.js +0 -1
- package/dist/web-components-library/p-c25b0b2a.entry.js +0 -1
- package/dist/web-components-library/p-c6aad085.entry.js +0 -1
- package/dist/web-components-library/p-cd43f80d.js +0 -1
- package/dist/web-components-library/p-ce83ce18.entry.js +0 -1
- package/dist/web-components-library/p-db3c8e3e.entry.js +0 -1
- package/dist/web-components-library/p-e40b16fa.entry.js +0 -1
- package/dist/web-components-library/p-ede9fbf5.entry.js +0 -1
- package/dist/web-components-library/p-f0653e72.entry.js +0 -1
- package/dist/web-components-library/p-f20d1242.entry.js +0 -1
- package/dist/web-components-library/p-f95cc914.entry.js +0 -1
- package/www/build/p-009c9f67.entry.js +0 -1
- package/www/build/p-01f001fd.entry.js +0 -1
- package/www/build/p-05ced71c.entry.js +0 -1
- package/www/build/p-074ea569.entry.js +0 -1
- package/www/build/p-07e18572.entry.js +0 -1
- package/www/build/p-0843b0e7.entry.js +0 -1
- package/www/build/p-0fa4b50b.entry.js +0 -1
- package/www/build/p-1b6279a6.entry.js +0 -1
- package/www/build/p-1ba8d432.entry.js +0 -1
- package/www/build/p-1cb23bbb.entry.js +0 -1
- package/www/build/p-20a3247c.entry.js +0 -1
- package/www/build/p-26f834e5.entry.js +0 -1
- package/www/build/p-279655eb.entry.js +0 -1
- package/www/build/p-2d1b6c3c.entry.js +0 -1
- package/www/build/p-2efedcf4.entry.js +0 -1
- package/www/build/p-32d42cfa.js +0 -129
- package/www/build/p-344e7ae7.entry.js +0 -1
- package/www/build/p-38a3cf3b.entry.js +0 -1
- package/www/build/p-3a468aa9.entry.js +0 -1
- package/www/build/p-3c2d438b.entry.js +0 -1
- package/www/build/p-3f55dce6.entry.js +0 -1
- package/www/build/p-411cbcd6.entry.js +0 -1
- package/www/build/p-43a653ba.css +0 -1802
- package/www/build/p-475ca461.entry.js +0 -1
- package/www/build/p-4cd6c6f4.entry.js +0 -1
- package/www/build/p-51e308ca.entry.js +0 -1
- package/www/build/p-5921901c.entry.js +0 -1
- package/www/build/p-59cfee8d.entry.js +0 -1
- package/www/build/p-5dd9a2c6.entry.js +0 -1
- package/www/build/p-61424b8a.entry.js +0 -1
- package/www/build/p-682528b2.entry.js +0 -1
- package/www/build/p-6b1a5309.entry.js +0 -1
- package/www/build/p-7af991f5.entry.js +0 -1
- package/www/build/p-810bd730.entry.js +0 -1
- package/www/build/p-8980398c.entry.js +0 -1
- package/www/build/p-8b960526.entry.js +0 -1
- package/www/build/p-8bf0844b.entry.js +0 -1
- package/www/build/p-8c105bd1.entry.js +0 -1
- package/www/build/p-8f46e548.entry.js +0 -1
- package/www/build/p-8ffc17b7.entry.js +0 -1
- package/www/build/p-93dc6d51.entry.js +0 -1
- package/www/build/p-95b8f109.entry.js +0 -1
- package/www/build/p-9c338aeb.entry.js +0 -1
- package/www/build/p-9d03a7d6.entry.js +0 -1
- package/www/build/p-a23e9115.js +0 -1
- package/www/build/p-a2b67e2d.entry.js +0 -1
- package/www/build/p-a79d1412.entry.js +0 -1
- package/www/build/p-a82ea410.entry.js +0 -1
- package/www/build/p-b33f5e6a.entry.js +0 -1
- package/www/build/p-b6f36170.entry.js +0 -16
- package/www/build/p-bb0fe7bc.entry.js +0 -1
- package/www/build/p-bdc6f2e5.entry.js +0 -1
- package/www/build/p-beba3e67.entry.js +0 -1
- package/www/build/p-c25b0b2a.entry.js +0 -1
- package/www/build/p-c6aad085.entry.js +0 -1
- package/www/build/p-cd43f80d.js +0 -1
- package/www/build/p-ce83ce18.entry.js +0 -1
- package/www/build/p-db3c8e3e.entry.js +0 -1
- package/www/build/p-e40b16fa.entry.js +0 -1
- package/www/build/p-ede9fbf5.entry.js +0 -1
- package/www/build/p-f0653e72.entry.js +0 -1
- package/www/build/p-f20d1242.entry.js +0 -1
- package/www/build/p-f95cc914.entry.js +0 -1
|
@@ -7,41 +7,19 @@ const SUPPORT_INTERSECTION_OBSERVER = typeof IntersectionObserver !== "undefined
|
|
|
7
7
|
*/
|
|
8
8
|
export class ZAppHeader {
|
|
9
9
|
constructor() {
|
|
10
|
-
/**
|
|
11
|
-
* Stuck mode for the header.
|
|
12
|
-
* You can programmatically set it using an IntersectionObserver.
|
|
13
|
-
* **Optional**
|
|
14
|
-
*/
|
|
15
|
-
this.stuck = false;
|
|
16
|
-
/**
|
|
17
|
-
* Should place an overlay over the hero image.
|
|
18
|
-
* Useful for legibility purpose.
|
|
19
|
-
* **Optional**
|
|
20
|
-
*/
|
|
21
|
-
this.overlay = false;
|
|
22
|
-
/**
|
|
23
|
-
* Control menu bar position in the header.
|
|
24
|
-
* - auto: the menu bar is positioned near the title
|
|
25
|
-
* - stack: the menu bar is positioned below the title
|
|
26
|
-
* - offcanvas: the menu bar is not displayed and a burger icon appears to open the offcanvas menu
|
|
27
|
-
*
|
|
28
|
-
* **Optional**
|
|
29
|
-
*/
|
|
30
|
-
this.flow = "auto";
|
|
31
|
-
/**
|
|
32
|
-
* The opening state of the drawer.
|
|
33
|
-
*/
|
|
34
|
-
this.drawerOpen = false;
|
|
35
|
-
/**
|
|
36
|
-
* The stucked state of the bar.
|
|
37
|
-
*/
|
|
38
|
-
this.stucked = false;
|
|
39
10
|
this.observer = SUPPORT_INTERSECTION_OBSERVER &&
|
|
40
11
|
new IntersectionObserver(([entry]) => {
|
|
41
12
|
this.stucked = !entry.isIntersecting;
|
|
42
13
|
}, {
|
|
43
14
|
threshold: 0.5,
|
|
44
15
|
});
|
|
16
|
+
this.stuck = false;
|
|
17
|
+
this.hero = undefined;
|
|
18
|
+
this.overlay = false;
|
|
19
|
+
this.flow = "auto";
|
|
20
|
+
this.drawerOpen = false;
|
|
21
|
+
this.stucked = false;
|
|
22
|
+
this.menuLength = undefined;
|
|
45
23
|
this.openDrawer = this.openDrawer.bind(this);
|
|
46
24
|
this.closeDrawer = this.closeDrawer.bind(this);
|
|
47
25
|
this.collectMenuElements.bind(this);
|
|
@@ -2,7 +2,6 @@ import { h } from "@stencil/core";
|
|
|
2
2
|
import { ThemeVariant } from "../../../beans";
|
|
3
3
|
export class ZAppSwitcher {
|
|
4
4
|
constructor() {
|
|
5
|
-
/** theme variant, default 'dark' */
|
|
6
5
|
this.theme = ThemeVariant.DARK;
|
|
7
6
|
this.isopen = false;
|
|
8
7
|
this.emitAppButtonClick = this.emitAppButtonClick.bind(this);
|
|
@@ -3,9 +3,13 @@ import { DividerOrientation, ThemeVariant } from "../../../beans";
|
|
|
3
3
|
import { mobileBreakpoint } from "../../../constants/breakpoints";
|
|
4
4
|
export class ZAppTopbar {
|
|
5
5
|
constructor() {
|
|
6
|
-
/** theme variant, default 'dark' */
|
|
7
|
-
this.theme = ThemeVariant.DARK;
|
|
8
6
|
this.topbarLinks = [];
|
|
7
|
+
this.theme = ThemeVariant.DARK;
|
|
8
|
+
this.contentMaxWidth = undefined;
|
|
9
|
+
this.topbarContent = undefined;
|
|
10
|
+
this.logoLink = undefined;
|
|
11
|
+
this.showAppSwitcher = undefined;
|
|
12
|
+
this.isMobile = undefined;
|
|
9
13
|
}
|
|
10
14
|
handleResize() {
|
|
11
15
|
this.isMobile = window.innerWidth <= mobileBreakpoint;
|
|
@@ -4,23 +4,17 @@ import { h } from "@stencil/core";
|
|
|
4
4
|
*/
|
|
5
5
|
export class ZLink {
|
|
6
6
|
constructor() {
|
|
7
|
-
|
|
7
|
+
this.htmlid = undefined;
|
|
8
|
+
this.href = undefined;
|
|
8
9
|
this.target = "_self";
|
|
9
|
-
/** tabindex link attribute (optional) */
|
|
10
10
|
this.htmltabindex = 0;
|
|
11
|
-
/** disable link flag (optional) */
|
|
12
11
|
this.isdisabled = false;
|
|
13
|
-
/** active link flag (optional) */
|
|
14
12
|
this.isactive = false;
|
|
15
|
-
/** white variant flag (optional) */
|
|
16
13
|
this.iswhite = false;
|
|
17
|
-
/** link text variant (optional) */
|
|
18
14
|
this.textcolor = "primary";
|
|
19
|
-
|
|
15
|
+
this.icon = undefined;
|
|
20
16
|
this.big = false;
|
|
21
|
-
/** link icon position (optional) */
|
|
22
17
|
this.iconposition = "left";
|
|
23
|
-
/** draw underline on text (optional) */
|
|
24
18
|
this.underline = false;
|
|
25
19
|
this.iconSize = 18;
|
|
26
20
|
this.emitZLinkClick = this.emitZLinkClick.bind(this);
|
|
@@ -6,18 +6,11 @@ import { h, Host } from "@stencil/core";
|
|
|
6
6
|
*/
|
|
7
7
|
export class ZMenu {
|
|
8
8
|
constructor() {
|
|
9
|
-
|
|
10
|
-
* Flag to set the display mode of the list.
|
|
11
|
-
* If true, the list will be absolutely positioned under the menu label,
|
|
12
|
-
* stacked beneath it otherwise.
|
|
13
|
-
* @default false
|
|
14
|
-
*/
|
|
9
|
+
this.active = undefined;
|
|
15
10
|
this.floating = false;
|
|
16
|
-
/**
|
|
17
|
-
* The opening state of the menu.
|
|
18
|
-
* @default false
|
|
19
|
-
*/
|
|
20
11
|
this.open = false;
|
|
12
|
+
this.hasHeader = undefined;
|
|
13
|
+
this.hasContent = undefined;
|
|
21
14
|
this.toggle = this.toggle.bind(this);
|
|
22
15
|
this.checkContent = this.checkContent.bind(this);
|
|
23
16
|
this.onItemsChange = this.onItemsChange.bind(this);
|
|
@@ -3,6 +3,9 @@ import { KeyboardKeyCode } from "../../../beans/index";
|
|
|
3
3
|
import { handleKeyboardSubmit, getClickedElement, getElementTree } from "../../../utils/utils";
|
|
4
4
|
export class ZMenuDropdown {
|
|
5
5
|
constructor() {
|
|
6
|
+
this.nomeutente = undefined;
|
|
7
|
+
this.menucontent = undefined;
|
|
8
|
+
this.buttonid = undefined;
|
|
6
9
|
this.ismenuopen = false;
|
|
7
10
|
this.handleToggle = this.handleToggle.bind(this);
|
|
8
11
|
this.handleFocus = this.handleFocus.bind(this);
|
|
@@ -4,6 +4,11 @@ import { h, Host } from "@stencil/core";
|
|
|
4
4
|
* @slot item - Single entry of the section. Can be slotted multiple times to insert items.
|
|
5
5
|
*/
|
|
6
6
|
export class ZMenuSection {
|
|
7
|
+
constructor() {
|
|
8
|
+
this.active = undefined;
|
|
9
|
+
this.open = undefined;
|
|
10
|
+
this.hasContent = undefined;
|
|
11
|
+
}
|
|
7
12
|
toggle() {
|
|
8
13
|
if (!this.hasContent) {
|
|
9
14
|
return;
|
|
@@ -2,9 +2,13 @@ import { h, Host } from "@stencil/core";
|
|
|
2
2
|
import { mobileBreakpoint } from "../../../constants/breakpoints";
|
|
3
3
|
export class ZUserDropdown {
|
|
4
4
|
constructor() {
|
|
5
|
-
|
|
5
|
+
this.logged = undefined;
|
|
6
|
+
this.userFullName = undefined;
|
|
7
|
+
this.userEmail = undefined;
|
|
8
|
+
this.menuContent = undefined;
|
|
6
9
|
this.useInverseColors = false;
|
|
7
10
|
this.isMenuOpen = false;
|
|
11
|
+
this.isMobile = undefined;
|
|
8
12
|
this.handleLoggedButtonClick = this.handleLoggedButtonClick.bind(this);
|
|
9
13
|
this.emitDropdownMenuLinkClick = this.emitDropdownMenuLinkClick.bind(this);
|
|
10
14
|
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
|
+
/**
|
|
3
|
+
* @slot content - fill the content of the candybar (full width, full height)
|
|
4
|
+
*/
|
|
5
|
+
export class ZCandybar {
|
|
6
|
+
render() {
|
|
7
|
+
return (h("div", null, h("slot", { name: "content" })));
|
|
8
|
+
}
|
|
9
|
+
static get is() { return "z-candybar"; }
|
|
10
|
+
static get encapsulation() { return "shadow"; }
|
|
11
|
+
static get originalStyleUrls() {
|
|
12
|
+
return {
|
|
13
|
+
"$": ["styles.css"]
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
static get styleUrls() {
|
|
17
|
+
return {
|
|
18
|
+
"$": ["styles.css"]
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-flow: row nowrap;
|
|
4
|
+
align-content: center;
|
|
5
|
+
justify-content: center;
|
|
6
|
+
font-family: var(--dashboard-font);
|
|
7
|
+
font-weight: var(--font-rg);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
:host > div {
|
|
11
|
+
position: fixed;
|
|
12
|
+
z-index: 1000;
|
|
13
|
+
top: 30vh;
|
|
14
|
+
display: flex;
|
|
15
|
+
overflow: auto;
|
|
16
|
+
overflow: -moz-scrollbars-none;
|
|
17
|
+
max-width: 297px;
|
|
18
|
+
height: fit-content;
|
|
19
|
+
min-height: 232px;
|
|
20
|
+
flex-flow: row wrap;
|
|
21
|
+
justify-content: center;
|
|
22
|
+
margin: auto;
|
|
23
|
+
background: var(--myz-blue-lighter);
|
|
24
|
+
border-radius: calc(var(--space-unit) * 0.5);
|
|
25
|
+
box-shadow: 0 -2px 4px 0 rgb(66 69 72 / 40%);
|
|
26
|
+
-ms-overflow-style: none;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/* Tablet breakpoint */
|
|
30
|
+
@media only screen and (min-width: 768px) {
|
|
31
|
+
:host > div {
|
|
32
|
+
position: initial;
|
|
33
|
+
position: fixed;
|
|
34
|
+
top: auto;
|
|
35
|
+
right: 0;
|
|
36
|
+
bottom: 0;
|
|
37
|
+
left: 0;
|
|
38
|
+
max-width: 100%;
|
|
39
|
+
height: auto;
|
|
40
|
+
min-height: 138px;
|
|
41
|
+
flex-wrap: nowrap;
|
|
42
|
+
align-content: stretch;
|
|
43
|
+
align-items: center;
|
|
44
|
+
justify-content: space-between;
|
|
45
|
+
margin: 0 auto;
|
|
46
|
+
border-radius: 0;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/* Desktop breakpoint */
|
|
51
|
+
@media only screen and (min-width: 1152px) {
|
|
52
|
+
:host > div {
|
|
53
|
+
min-height: 122px;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
|
+
import { ButtonVariant } from "../../../beans";
|
|
3
|
+
export class ZCookiebar {
|
|
4
|
+
constructor() {
|
|
5
|
+
this.cookiepolicyurl = undefined;
|
|
6
|
+
this.hide = undefined;
|
|
7
|
+
this.callback = undefined;
|
|
8
|
+
}
|
|
9
|
+
emitAccept(ev) {
|
|
10
|
+
this.accept.emit({ ev });
|
|
11
|
+
}
|
|
12
|
+
handleOkButtonClick(ev) {
|
|
13
|
+
this.emitAccept(ev);
|
|
14
|
+
if (typeof this.callback === "function") {
|
|
15
|
+
this.callback();
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
handleOkButtonKeyUp(ev) {
|
|
19
|
+
this.emitAccept(ev);
|
|
20
|
+
if (ev.code === "Enter") {
|
|
21
|
+
if (typeof this.callback !== "undefined" && typeof this.callback === "function") {
|
|
22
|
+
this.callback();
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
renderContentSlot() {
|
|
27
|
+
return (h("div", { class: "content", slot: "content" }, h("div", null, h("h2", null, "Su questo sito usiamo i cookie."), h("div", null, h("p", null, "Se continui a navigare ci permetti di farlo secondo le regole spiegate nella nostra informativa sulla privacy relativa ai \u00A0", h("a", { href: this.cookiepolicyurl, target: "_blank" }, "cookie"), "."))), h("z-button", { variant: ButtonVariant.PRIMARY, onClick: (ev) => this.handleOkButtonClick(ev), onKeyUp: (ev) => this.handleOkButtonKeyUp(ev) }, "ACCETTA")));
|
|
28
|
+
}
|
|
29
|
+
render() {
|
|
30
|
+
return h("z-candybar", { class: `${this.hide ? "hidden" : ""}` }, this.renderContentSlot());
|
|
31
|
+
}
|
|
32
|
+
static get is() { return "z-cookiebar"; }
|
|
33
|
+
static get encapsulation() { return "shadow"; }
|
|
34
|
+
static get originalStyleUrls() {
|
|
35
|
+
return {
|
|
36
|
+
"$": ["styles.css"]
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
static get styleUrls() {
|
|
40
|
+
return {
|
|
41
|
+
"$": ["styles.css"]
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
static get properties() {
|
|
45
|
+
return {
|
|
46
|
+
"cookiepolicyurl": {
|
|
47
|
+
"type": "string",
|
|
48
|
+
"mutable": false,
|
|
49
|
+
"complexType": {
|
|
50
|
+
"original": "string",
|
|
51
|
+
"resolved": "string",
|
|
52
|
+
"references": {}
|
|
53
|
+
},
|
|
54
|
+
"required": false,
|
|
55
|
+
"optional": false,
|
|
56
|
+
"docs": {
|
|
57
|
+
"tags": [],
|
|
58
|
+
"text": "cookie policy link url"
|
|
59
|
+
},
|
|
60
|
+
"attribute": "cookiepolicyurl",
|
|
61
|
+
"reflect": false
|
|
62
|
+
},
|
|
63
|
+
"hide": {
|
|
64
|
+
"type": "boolean",
|
|
65
|
+
"mutable": false,
|
|
66
|
+
"complexType": {
|
|
67
|
+
"original": "boolean",
|
|
68
|
+
"resolved": "boolean",
|
|
69
|
+
"references": {}
|
|
70
|
+
},
|
|
71
|
+
"required": false,
|
|
72
|
+
"optional": true,
|
|
73
|
+
"docs": {
|
|
74
|
+
"tags": [],
|
|
75
|
+
"text": "hide cookie bar (optional)"
|
|
76
|
+
},
|
|
77
|
+
"attribute": "hide",
|
|
78
|
+
"reflect": false
|
|
79
|
+
},
|
|
80
|
+
"callback": {
|
|
81
|
+
"type": "unknown",
|
|
82
|
+
"mutable": false,
|
|
83
|
+
"complexType": {
|
|
84
|
+
"original": "() => unknown",
|
|
85
|
+
"resolved": "() => unknown",
|
|
86
|
+
"references": {}
|
|
87
|
+
},
|
|
88
|
+
"required": false,
|
|
89
|
+
"optional": true,
|
|
90
|
+
"docs": {
|
|
91
|
+
"tags": [],
|
|
92
|
+
"text": "callback to handle ok button action (optional)"
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
static get events() {
|
|
98
|
+
return [{
|
|
99
|
+
"method": "accept",
|
|
100
|
+
"name": "accept",
|
|
101
|
+
"bubbles": true,
|
|
102
|
+
"cancelable": true,
|
|
103
|
+
"composed": true,
|
|
104
|
+
"docs": {
|
|
105
|
+
"tags": [],
|
|
106
|
+
"text": "emitted on ACCETTA button click, returns event"
|
|
107
|
+
},
|
|
108
|
+
"complexType": {
|
|
109
|
+
"original": "any",
|
|
110
|
+
"resolved": "any",
|
|
111
|
+
"references": {}
|
|
112
|
+
}
|
|
113
|
+
}];
|
|
114
|
+
}
|
|
115
|
+
}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
:host {
|
|
2
|
+
font-family: var(--dashboard-font);
|
|
3
|
+
font-weight: var(--font-rg);
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
z-candybar.hidden {
|
|
7
|
+
display: none;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.content {
|
|
11
|
+
display: flex;
|
|
12
|
+
flex-flow: column nowrap;
|
|
13
|
+
align-content: space-between;
|
|
14
|
+
align-items: stretch;
|
|
15
|
+
justify-content: space-between;
|
|
16
|
+
padding: calc(var(--space-unit) * 3) calc(var(--space-unit) * 2);
|
|
17
|
+
border-radius: calc(var(--space-unit) * 0.5);
|
|
18
|
+
color: var(--text-grey-800);
|
|
19
|
+
font-size: 16px;
|
|
20
|
+
letter-spacing: 0;
|
|
21
|
+
line-height: 24px;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.content > div > h2 {
|
|
25
|
+
padding: 0;
|
|
26
|
+
margin: 0;
|
|
27
|
+
border-radius: 0;
|
|
28
|
+
color: var(--text-grey-800);
|
|
29
|
+
font-size: 18px;
|
|
30
|
+
font-weight: var(--font-sb);
|
|
31
|
+
letter-spacing: 0;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.content > div > div {
|
|
35
|
+
padding: calc(var(--space-unit) * 3) 0;
|
|
36
|
+
font-size: 14px;
|
|
37
|
+
letter-spacing: 0.16px;
|
|
38
|
+
line-height: 20px;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.content > div > div > p {
|
|
42
|
+
margin: 0;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.content > div > div > p > a {
|
|
46
|
+
display: inline-flex;
|
|
47
|
+
height: 14px;
|
|
48
|
+
color: var(--text-grey-800);
|
|
49
|
+
cursor: pointer;
|
|
50
|
+
font-weight: var(--font-sb);
|
|
51
|
+
text-decoration: underline;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.content > div > div > p > a:visited {
|
|
55
|
+
z-index: 1000;
|
|
56
|
+
color: var(--text-grey-800);
|
|
57
|
+
cursor: pointer;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.content > z-button {
|
|
61
|
+
width: 100%;
|
|
62
|
+
margin: 0;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
/* Tablet breakpoint */
|
|
66
|
+
@media only screen and (min-width: 768px) {
|
|
67
|
+
.content {
|
|
68
|
+
width: 100%;
|
|
69
|
+
flex-direction: row;
|
|
70
|
+
align-items: center;
|
|
71
|
+
padding: calc(var(--space-unit) * 4) calc(var(--space-unit) * 3);
|
|
72
|
+
font-size: 16px;
|
|
73
|
+
letter-spacing: 0;
|
|
74
|
+
line-height: 24px;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.content > div {
|
|
78
|
+
width: 560px;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.content > div > h2 {
|
|
82
|
+
height: calc(var(--space-unit) * 3.5);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.content > div > div {
|
|
86
|
+
padding: 0;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.content > z-button {
|
|
90
|
+
width: initial;
|
|
91
|
+
margin: 0;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
/* Desktop breakpoint */
|
|
96
|
+
@media only screen and (min-width: 1152px) {
|
|
97
|
+
.content > div {
|
|
98
|
+
width: 935px;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/* Wide breakpoint */
|
|
103
|
+
@media only screen and (min-width: 1366px) {
|
|
104
|
+
.content {
|
|
105
|
+
padding-right: calc(var(--space-unit) * 4);
|
|
106
|
+
padding-left: calc(var(--space-unit) * 4);
|
|
107
|
+
}
|
|
108
|
+
}
|
|
@@ -6,14 +6,11 @@ import { h, Host } from "@stencil/core";
|
|
|
6
6
|
*/
|
|
7
7
|
export class ZNotification {
|
|
8
8
|
constructor() {
|
|
9
|
-
|
|
9
|
+
this.contenticonname = undefined;
|
|
10
|
+
this.actiontext = undefined;
|
|
11
|
+
this.type = undefined;
|
|
10
12
|
this.showclose = false;
|
|
11
|
-
/**
|
|
12
|
-
* Enable shadow.
|
|
13
|
-
* @deprecated shadow is available only for the `sticky` version of the notification.
|
|
14
|
-
*/
|
|
15
13
|
this.showshadow = false;
|
|
16
|
-
/** Enable sticky notification bar. */
|
|
17
14
|
this.sticky = false;
|
|
18
15
|
this.handleActionButtonClick = this.handleActionButtonClick.bind(this);
|
|
19
16
|
this.handleCloseButtonClick = this.handleCloseButtonClick.bind(this);
|
|
@@ -4,13 +4,17 @@ import { mobileBreakpoint } from "../../../constants/breakpoints";
|
|
|
4
4
|
import Hammer from "hammerjs";
|
|
5
5
|
export class ZToastNotification {
|
|
6
6
|
constructor() {
|
|
7
|
-
|
|
7
|
+
this.isCloseEventCalled = false;
|
|
8
|
+
this.heading = undefined;
|
|
9
|
+
this.message = undefined;
|
|
10
|
+
this.closebutton = undefined;
|
|
11
|
+
this.autoclose = undefined;
|
|
8
12
|
this.pauseonfocusloss = true;
|
|
9
|
-
|
|
13
|
+
this.type = undefined;
|
|
10
14
|
this.isdraggable = true;
|
|
11
|
-
/** toast notification draggable percentage*/
|
|
12
15
|
this.draggablepercentage = 80;
|
|
13
|
-
this.
|
|
16
|
+
this.transition = undefined;
|
|
17
|
+
this.percentage = undefined;
|
|
14
18
|
}
|
|
15
19
|
watchPropIsdraggable(newValue) {
|
|
16
20
|
if (newValue) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
|
-
import {
|
|
2
|
+
import { PopoverPositions } from "../../../beans";
|
|
3
3
|
/**
|
|
4
4
|
* Tooltip component.
|
|
5
5
|
* It is basically a wrapper for the `<z-popover>` component with custom configuration.
|
|
@@ -10,14 +10,10 @@ import { PopoverPosition } from "../../../beans";
|
|
|
10
10
|
*/
|
|
11
11
|
export class ZTooltip {
|
|
12
12
|
constructor() {
|
|
13
|
-
|
|
14
|
-
this.position = PopoverPosition.AUTO;
|
|
15
|
-
/** Enable tooltip dark mode. */
|
|
13
|
+
this.position = PopoverPositions.AUTO;
|
|
16
14
|
this.dark = false;
|
|
17
|
-
/**
|
|
18
|
-
* The open state of the tooltip.
|
|
19
|
-
*/
|
|
20
15
|
this.open = false;
|
|
16
|
+
this.bindTo = undefined;
|
|
21
17
|
}
|
|
22
18
|
onPopoverOpenChange() {
|
|
23
19
|
this.open = this.popover.open;
|
|
@@ -43,10 +39,10 @@ export class ZTooltip {
|
|
|
43
39
|
"type": "string",
|
|
44
40
|
"mutable": false,
|
|
45
41
|
"complexType": {
|
|
46
|
-
"original": "
|
|
47
|
-
"resolved": "
|
|
42
|
+
"original": "PopoverPositions",
|
|
43
|
+
"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",
|
|
48
44
|
"references": {
|
|
49
|
-
"
|
|
45
|
+
"PopoverPositions": {
|
|
50
46
|
"location": "import",
|
|
51
47
|
"path": "../../../beans"
|
|
52
48
|
}
|
|
@@ -60,7 +56,7 @@ export class ZTooltip {
|
|
|
60
56
|
},
|
|
61
57
|
"attribute": "position",
|
|
62
58
|
"reflect": true,
|
|
63
|
-
"defaultValue": "
|
|
59
|
+
"defaultValue": "PopoverPositions.AUTO"
|
|
64
60
|
},
|
|
65
61
|
"dark": {
|
|
66
62
|
"type": "boolean",
|
|
@@ -4,10 +4,15 @@ import { h } from "@stencil/core";
|
|
|
4
4
|
*/
|
|
5
5
|
export class ZPanelElem {
|
|
6
6
|
constructor() {
|
|
7
|
-
|
|
7
|
+
this.elemid = undefined;
|
|
8
|
+
this.imgurl = undefined;
|
|
9
|
+
this.imgalt = undefined;
|
|
10
|
+
this.linkicon = undefined;
|
|
11
|
+
this.linklabel = undefined;
|
|
12
|
+
this.url = undefined;
|
|
8
13
|
this.target = "_blank";
|
|
9
|
-
/** disabled status flag (optional) */
|
|
10
14
|
this.isdisabled = false;
|
|
15
|
+
this.descrSlotName = undefined;
|
|
11
16
|
}
|
|
12
17
|
renderIcon() {
|
|
13
18
|
if (this.isdisabled) {
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
export class ZBody {
|
|
3
3
|
constructor() {
|
|
4
|
-
|
|
4
|
+
this.level = undefined;
|
|
5
5
|
this.variant = "regular";
|
|
6
|
+
this.component = undefined;
|
|
6
7
|
}
|
|
7
8
|
render() {
|
|
8
9
|
return (h("z-typography", { tabIndex: 0, component: this.component || "span", level: `b${this.level}`, variant: this.variant }, h("slot", null)));
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
export class ZHeading {
|
|
3
3
|
constructor() {
|
|
4
|
-
|
|
4
|
+
this.level = undefined;
|
|
5
5
|
this.variant = "regular";
|
|
6
|
+
this.component = undefined;
|
|
6
7
|
}
|
|
7
8
|
render() {
|
|
8
9
|
return (h("z-typography", { tabIndex: 0, component: this.component || `h${this.level}`, level: `h${this.level}`, variant: this.variant }, h("slot", null)));
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
export class ZTypography {
|
|
3
3
|
constructor() {
|
|
4
|
-
|
|
4
|
+
this.level = undefined;
|
|
5
5
|
this.variant = "regular";
|
|
6
|
+
this.component = undefined;
|
|
6
7
|
}
|
|
7
8
|
render() {
|
|
8
9
|
const el = document.createElement(this.component || "span");
|
|
@@ -17,14 +17,7 @@ import { ButtonVariant } from "../../beans";
|
|
|
17
17
|
*/
|
|
18
18
|
export class ZAnchorNavigation {
|
|
19
19
|
constructor() {
|
|
20
|
-
/**
|
|
21
|
-
* If enabled, the text of each anchor will be hidden unless
|
|
22
|
-
* for the current one or the one the user is hovering.
|
|
23
|
-
*/
|
|
24
20
|
this.hideUnselected = false;
|
|
25
|
-
/**
|
|
26
|
-
* Whether the mobile list is collapsed.
|
|
27
|
-
*/
|
|
28
21
|
this.collapsed = false;
|
|
29
22
|
}
|
|
30
23
|
/**
|
|
@@ -3,12 +3,11 @@ import { AvatarSize } from "../../beans";
|
|
|
3
3
|
export class ZAvatar {
|
|
4
4
|
constructor() {
|
|
5
5
|
var _a, _b;
|
|
6
|
-
/** [optional] Avatar size */
|
|
7
6
|
this.size = AvatarSize.MEDIUM;
|
|
8
|
-
|
|
7
|
+
this.text = undefined;
|
|
9
8
|
this.textColor = "text-white";
|
|
10
|
-
/** [optional] Avatar background color */
|
|
11
9
|
this.backgroundColor = "bg-grey-700";
|
|
10
|
+
this.image = undefined;
|
|
12
11
|
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) {
|
|
13
12
|
console.warn("z-avatar must contain at least one prop between text and image");
|
|
14
13
|
}
|
|
@@ -2,10 +2,11 @@ import { h, Host } from "@stencil/core";
|
|
|
2
2
|
import { CardVariant } from "../../beans";
|
|
3
3
|
export class ZCard {
|
|
4
4
|
constructor() {
|
|
5
|
-
|
|
5
|
+
this.variant = undefined;
|
|
6
|
+
this.coverIcon = undefined;
|
|
6
7
|
this.clickable = false;
|
|
7
|
-
/** Enable shadow. Default: false. */
|
|
8
8
|
this.showshadow = false;
|
|
9
|
+
this.hasCoverImage = undefined;
|
|
9
10
|
}
|
|
10
11
|
onClick(ev) {
|
|
11
12
|
// Do nothing for clicks on actions.
|