@zanichelli/albe-web-components 6.0.3 → 6.1.0-a1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.cjs.js +346 -302
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{utils-ce225fb3.js → utils-7c92be74.js} +4 -5
- package/dist/cjs/{utils-ebe45309.js → utils-f681590c.js} +10 -11
- package/dist/cjs/web-components-library.cjs.js +1 -1
- package/dist/cjs/z-alert.cjs.entry.js +1 -0
- package/dist/cjs/z-app-header.cjs.entry.js +7 -29
- package/dist/cjs/z-app-switcher_9.cjs.entry.js +84 -70
- package/dist/cjs/z-aria-alert.cjs.entry.js +1 -3
- package/dist/cjs/z-avatar.cjs.entry.js +6 -8
- package/dist/cjs/z-body_2.cjs.entry.js +4 -2
- package/dist/cjs/z-button-deprecated.cjs.entry.js +6 -12
- package/dist/cjs/z-button-filter.cjs.entry.js +2 -3
- package/dist/cjs/z-button-sort.cjs.entry.js +4 -4
- package/dist/cjs/z-button.cjs.entry.js +8 -9
- package/dist/cjs/z-card.cjs.entry.js +6 -6
- package/dist/cjs/z-carousel.cjs.entry.js +11 -10
- package/dist/cjs/z-chip-deprecated.cjs.entry.js +2 -0
- package/dist/cjs/z-chip.cjs.entry.js +5 -6
- package/dist/cjs/z-combobox.cjs.entry.js +15 -17
- package/dist/cjs/z-contextual-menu.cjs.entry.js +2 -8
- package/dist/cjs/z-cookiebar.cjs.entry.js +4 -2
- package/dist/cjs/z-cover-hero.cjs.entry.js +6 -14
- package/dist/cjs/z-date-picker.cjs.entry.js +16 -17
- package/dist/cjs/z-dragdrop-area_2.cjs.entry.js +2 -1
- package/dist/cjs/z-file-upload.cjs.entry.js +14 -11
- package/dist/cjs/z-file.cjs.entry.js +3 -2
- package/dist/cjs/z-footer-link_3.cjs.entry.js +5 -0
- package/dist/cjs/z-footer.cjs.entry.js +7 -2
- package/dist/cjs/z-info-box.cjs.entry.js +1 -1
- package/dist/cjs/z-info-reveal.cjs.entry.js +2 -6
- package/dist/cjs/z-input-deprecated.cjs.entry.js +28 -29
- package/dist/cjs/z-input-label_2.cjs.entry.js +17 -17
- package/dist/cjs/z-list-group.cjs.entry.js +4 -17
- package/dist/cjs/z-list_2.cjs.entry.js +19 -55
- package/dist/cjs/z-menu-dropdown_2.cjs.entry.js +7 -3
- 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 +6 -6
- package/dist/cjs/z-modal-login.cjs.entry.js +7 -5
- package/dist/cjs/z-modal.cjs.entry.js +3 -1
- package/dist/cjs/z-myz-card-alert.cjs.entry.js +6 -3
- package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +3 -6
- package/dist/cjs/z-myz-card-footer.cjs.entry.js +8 -6
- package/dist/cjs/z-myz-card-icon.cjs.entry.js +1 -2
- package/dist/cjs/z-myz-card-info.cjs.entry.js +3 -4
- package/dist/cjs/z-myz-card-list.cjs.entry.js +1 -0
- package/dist/cjs/z-myz-card_4.cjs.entry.js +15 -9
- package/dist/cjs/z-myz-list-item.cjs.entry.js +6 -4
- package/dist/cjs/z-myz-topbar.cjs.entry.js +14 -4
- package/dist/cjs/z-navigation-tab-link.cjs.entry.js +8 -16
- package/dist/cjs/z-navigation-tab.cjs.entry.js +7 -17
- package/dist/cjs/z-navigation-tabs.cjs.entry.js +10 -14
- package/dist/cjs/z-notification.cjs.entry.js +3 -6
- package/dist/cjs/z-offcanvas.cjs.entry.js +4 -12
- package/dist/cjs/z-otp.cjs.entry.js +3 -3
- package/dist/cjs/z-pagination-bar.cjs.entry.js +5 -6
- package/dist/cjs/z-pagination-page.cjs.entry.js +2 -4
- package/dist/cjs/z-pagination.cjs.entry.js +7 -15
- package/dist/cjs/z-panel-elem.cjs.entry.js +7 -2
- package/dist/cjs/z-pocket_3.cjs.entry.js +15 -15
- package/dist/cjs/z-popover-deprecated.cjs.entry.js +8 -15
- package/dist/cjs/z-popover.cjs.entry.js +31 -36
- package/dist/cjs/z-section-title.cjs.entry.js +2 -10
- package/dist/cjs/z-skip-to-content.cjs.entry.js +3 -4
- package/dist/cjs/z-slideshow.cjs.entry.js +6 -4
- package/dist/cjs/z-status-tag.cjs.entry.js +5 -3
- package/dist/cjs/z-stepper-item.cjs.entry.js +4 -0
- package/dist/cjs/z-table-cell.cjs.entry.js +3 -4
- 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 +15 -16
- package/dist/cjs/z-table-row.cjs.entry.js +4 -6
- package/dist/cjs/z-table.cjs.entry.js +9 -12
- package/dist/cjs/z-tag.cjs.entry.js +2 -0
- package/dist/cjs/z-toast-notification-list.cjs.entry.js +1 -4
- package/dist/cjs/z-toast-notification.cjs.entry.js +17 -14
- package/dist/cjs/z-toggle-button.cjs.entry.js +2 -2
- package/dist/cjs/z-toggle-switch.cjs.entry.js +2 -7
- package/dist/cjs/z-tooltip-deprecated.cjs.entry.js +32 -27
- package/dist/cjs/z-tooltip.cjs.entry.js +2 -7
- package/dist/cjs/z-user-dropdown.cjs.entry.js +5 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/buttons/z-button/index.js +8 -9
- package/dist/collection/components/buttons/z-button-sort/index.js +4 -4
- package/dist/collection/components/buttons/z-chip/index.js +4 -5
- package/dist/collection/components/buttons/z-toggle-button/index.js +2 -2
- package/dist/collection/components/buttons/z-toggle-switch/index.js +1 -6
- package/dist/collection/components/date-picker/utils.js +10 -11
- package/dist/collection/components/date-picker/z-date-picker/index.js +15 -16
- package/dist/collection/components/date-picker/z-range-picker/index.js +15 -12
- package/dist/collection/components/file-upload/z-file/index.js +3 -2
- package/dist/collection/components/file-upload/z-file-upload/index.js +13 -10
- package/dist/collection/components/footer/z-footer/index.js +7 -2
- package/dist/collection/components/footer/z-footer-link/index.js +3 -0
- package/dist/collection/components/footer/z-footer-section/index.js +1 -0
- package/dist/collection/components/footer/z-footer-social/index.js +5 -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 +14 -16
- package/dist/collection/components/inputs/z-input/index.js +40 -37
- package/dist/collection/components/inputs/z-input-message/index.js +2 -0
- package/dist/collection/components/inputs/z-select/index.js +14 -15
- package/dist/collection/components/list/z-list/index.js +1 -5
- package/dist/collection/components/list/z-list-element/index.js +18 -51
- package/dist/collection/components/list/z-list-group/index.js +4 -17
- package/dist/collection/components/list/z-toast-notification-list/index.js +1 -4
- 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 +7 -5
- package/dist/collection/components/navigation/tabs/z-navigation-tab/index.js +7 -17
- package/dist/collection/components/navigation/tabs/z-navigation-tab-link/index.js +8 -16
- package/dist/collection/components/navigation/tabs/z-navigation-tabs/index.js +10 -14
- package/dist/collection/components/navigation/z-app-header/index.js +7 -29
- package/dist/collection/components/navigation/z-app-switcher/index.js +1 -3
- package/dist/collection/components/navigation/z-app-topbar/index.js +8 -5
- 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 +4 -2
- 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-cookiebar/index.js +6 -2
- 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 +17 -14
- package/dist/collection/components/notification/z-tooltip/index.js +2 -7
- 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-aria-alert/index.js +1 -3
- package/dist/collection/components/z-avatar/index.js +6 -8
- package/dist/collection/components/z-card/index.js +6 -6
- package/dist/collection/components/z-carousel/index.js +11 -10
- package/dist/collection/components/z-contextual-menu/index.js +2 -8
- package/dist/collection/components/z-cover-hero/index.js +6 -14
- package/dist/collection/components/z-divider/index.js +2 -6
- package/dist/collection/components/z-info-reveal/index.js +2 -6
- package/dist/collection/components/z-offcanvas/index.js +4 -12
- package/dist/collection/components/z-pagination/index.js +7 -15
- package/dist/collection/components/z-popover/index.js +30 -35
- package/dist/collection/components/z-section-title/index.js +2 -10
- package/dist/collection/components/z-skip-to-content/index.js +2 -3
- package/dist/collection/components/z-table/z-table/index.js +9 -12
- package/dist/collection/components/z-table/z-table-cell/index.js +3 -4
- 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 +14 -15
- 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 +4 -6
- package/dist/collection/components/z-tag/index.js +4 -0
- package/dist/collection/deprecated/pagination/z-pagination-bar/index.js +4 -4
- package/dist/collection/deprecated/pagination/z-pagination-page/index.js +2 -4
- package/dist/collection/deprecated/z-button-deprecated/index.js +6 -12
- package/dist/collection/deprecated/z-button-filter/index.js +2 -3
- package/dist/collection/deprecated/z-chip-deprecated/index.js +4 -0
- package/dist/collection/deprecated/z-input-deprecated/index.js +27 -28
- package/dist/collection/deprecated/z-input-label/index.js +2 -1
- package/dist/collection/deprecated/z-popover-deprecated/index.js +7 -14
- package/dist/collection/deprecated/z-status-tag/index.js +5 -3
- package/dist/collection/deprecated/z-tooltip-deprecated/index.js +32 -27
- package/dist/collection/snowflakes/myz/card/z-myz-card/index.js +5 -6
- package/dist/collection/snowflakes/myz/card/z-myz-card-alert/index.js +8 -3
- 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 +3 -6
- package/dist/collection/snowflakes/myz/card/z-myz-card-footer/index.js +8 -6
- package/dist/collection/snowflakes/myz/card/z-myz-card-header/index.js +6 -4
- 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 +2 -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 +6 -6
- package/dist/collection/snowflakes/myz/pocket/z-pocket/index.js +11 -12
- package/dist/collection/snowflakes/myz/pocket/z-pocket-body/index.js +2 -3
- package/dist/collection/snowflakes/myz/pocket/z-pocket-header/index.js +1 -0
- package/dist/collection/snowflakes/myz/topbar/index.js +14 -4
- package/dist/collection/snowflakes/myz/z-alert/index.js +3 -0
- package/dist/collection/snowflakes/myz/z-otp/index.js +3 -3
- package/dist/collection/snowflakes/myz/z-slideshow/index.js +5 -3
- package/dist/collection/utils/utils.js +4 -5
- package/dist/esm/index.js +347 -3
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{utils-39ca028c.js → utils-420e8552.js} +4 -5
- package/dist/esm/{utils-fbe04cd6.js → utils-ff91a03a.js} +10 -11
- package/dist/esm/web-components-library.js +1 -1
- package/dist/esm/z-alert.entry.js +1 -0
- package/dist/esm/z-app-header.entry.js +7 -29
- package/dist/esm/z-app-switcher_9.entry.js +84 -70
- package/dist/esm/z-aria-alert.entry.js +1 -3
- package/dist/esm/z-avatar.entry.js +6 -8
- package/dist/esm/z-body_2.entry.js +4 -2
- package/dist/esm/z-button-deprecated.entry.js +6 -12
- package/dist/esm/z-button-filter.entry.js +2 -3
- package/dist/esm/z-button-sort.entry.js +4 -4
- package/dist/esm/z-button.entry.js +8 -9
- package/dist/esm/z-card.entry.js +6 -6
- package/dist/esm/z-carousel.entry.js +11 -10
- package/dist/esm/z-chip-deprecated.entry.js +2 -0
- package/dist/esm/z-chip.entry.js +5 -6
- package/dist/esm/z-combobox.entry.js +15 -17
- package/dist/esm/z-contextual-menu.entry.js +2 -8
- package/dist/esm/z-cookiebar.entry.js +4 -2
- package/dist/esm/z-cover-hero.entry.js +6 -14
- package/dist/esm/z-date-picker.entry.js +16 -17
- package/dist/esm/z-dragdrop-area_2.entry.js +2 -1
- package/dist/esm/z-file-upload.entry.js +14 -11
- package/dist/esm/z-file.entry.js +3 -2
- package/dist/esm/z-footer-link_3.entry.js +5 -0
- package/dist/esm/z-footer.entry.js +7 -2
- package/dist/esm/z-info-box.entry.js +1 -1
- package/dist/esm/z-info-reveal.entry.js +2 -6
- package/dist/esm/z-input-deprecated.entry.js +28 -29
- package/dist/esm/z-input-label_2.entry.js +17 -17
- package/dist/esm/z-list-group.entry.js +4 -17
- package/dist/esm/z-list_2.entry.js +19 -55
- package/dist/esm/z-menu-dropdown_2.entry.js +7 -3
- 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 +6 -6
- package/dist/esm/z-modal-login.entry.js +7 -5
- package/dist/esm/z-modal.entry.js +3 -1
- package/dist/esm/z-myz-card-alert.entry.js +6 -3
- package/dist/esm/z-myz-card-dictionary.entry.js +3 -6
- package/dist/esm/z-myz-card-footer.entry.js +8 -6
- package/dist/esm/z-myz-card-icon.entry.js +1 -2
- package/dist/esm/z-myz-card-info.entry.js +3 -4
- package/dist/esm/z-myz-card-list.entry.js +1 -0
- package/dist/esm/z-myz-card_4.entry.js +15 -9
- package/dist/esm/z-myz-list-item.entry.js +6 -4
- package/dist/esm/z-myz-topbar.entry.js +14 -4
- package/dist/esm/z-navigation-tab-link.entry.js +8 -16
- package/dist/esm/z-navigation-tab.entry.js +7 -17
- package/dist/esm/z-navigation-tabs.entry.js +10 -14
- package/dist/esm/z-notification.entry.js +3 -6
- package/dist/esm/z-offcanvas.entry.js +4 -12
- package/dist/esm/z-otp.entry.js +3 -3
- package/dist/esm/z-pagination-bar.entry.js +5 -6
- package/dist/esm/z-pagination-page.entry.js +2 -4
- package/dist/esm/z-pagination.entry.js +7 -15
- package/dist/esm/z-panel-elem.entry.js +7 -2
- package/dist/esm/z-pocket_3.entry.js +15 -15
- package/dist/esm/z-popover-deprecated.entry.js +8 -15
- package/dist/esm/z-popover.entry.js +31 -36
- package/dist/esm/z-section-title.entry.js +2 -10
- package/dist/esm/z-skip-to-content.entry.js +3 -4
- package/dist/esm/z-slideshow.entry.js +6 -4
- package/dist/esm/z-status-tag.entry.js +5 -3
- package/dist/esm/z-stepper-item.entry.js +4 -0
- package/dist/esm/z-table-cell.entry.js +3 -4
- 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 +15 -16
- package/dist/esm/z-table-row.entry.js +4 -6
- package/dist/esm/z-table.entry.js +9 -12
- package/dist/esm/z-tag.entry.js +2 -0
- package/dist/esm/z-toast-notification-list.entry.js +1 -4
- package/dist/esm/z-toast-notification.entry.js +17 -14
- package/dist/esm/z-toggle-button.entry.js +2 -2
- package/dist/esm/z-toggle-switch.entry.js +2 -7
- package/dist/esm/z-tooltip-deprecated.entry.js +32 -27
- package/dist/esm/z-tooltip.entry.js +2 -7
- package/dist/esm/z-user-dropdown.entry.js +5 -1
- package/dist/types/beans/index.d.ts +50 -50
- 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-04908405.entry.js +1 -0
- package/dist/web-components-library/p-06430481.entry.js +1 -0
- package/dist/web-components-library/p-067bd5da.entry.js +1 -0
- package/dist/web-components-library/p-082d65b1.entry.js +1 -0
- package/dist/web-components-library/p-0cff6cce.entry.js +1 -0
- package/dist/web-components-library/p-0e743002.entry.js +1 -0
- 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-14233b99.entry.js +1 -0
- package/dist/web-components-library/p-176256ee.js +1 -0
- package/dist/web-components-library/p-1ab0de76.entry.js +1 -0
- package/dist/web-components-library/p-1d2d5232.entry.js +1 -0
- package/dist/web-components-library/p-20109d3a.entry.js +1 -0
- package/dist/web-components-library/{p-f158d205.entry.js → p-2c18a622.entry.js} +1 -1
- package/dist/web-components-library/p-2cf26585.entry.js +1 -0
- package/dist/web-components-library/p-2d506c48.entry.js +1 -0
- 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-2f6f3729.entry.js +1 -0
- package/dist/web-components-library/p-30cbafaf.entry.js +1 -0
- package/dist/web-components-library/p-341ddb5d.entry.js +1 -0
- package/dist/web-components-library/p-34a96008.entry.js +1 -0
- package/dist/web-components-library/p-35b30271.entry.js +1 -0
- package/dist/web-components-library/p-36f4ce3f.entry.js +1 -0
- package/dist/web-components-library/p-3c28f72e.entry.js +1 -0
- package/dist/web-components-library/p-3c7cf41f.entry.js +1 -0
- package/dist/web-components-library/p-3e414cf1.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/{www/build/p-4d42f224.entry.js → dist/web-components-library/p-48624926.entry.js} +1 -1
- package/dist/web-components-library/{p-b17981a4.entry.js → p-4c7f4a2c.entry.js} +1 -1
- package/dist/web-components-library/p-53d22727.entry.js +1 -0
- package/dist/web-components-library/p-563529f8.entry.js +1 -0
- package/dist/web-components-library/p-57faab40.entry.js +1 -0
- package/dist/web-components-library/p-5b2d8a91.entry.js +1 -0
- package/dist/web-components-library/p-6037dce0.entry.js +1 -0
- package/dist/web-components-library/p-670232c4.entry.js +1 -0
- package/dist/web-components-library/p-67f346d9.entry.js +1 -0
- package/dist/web-components-library/p-691678c8.entry.js +1 -0
- package/dist/web-components-library/p-69b27fe9.entry.js +16 -0
- package/dist/web-components-library/p-6fe1bffb.entry.js +1 -0
- package/dist/web-components-library/p-728e7dcd.entry.js +1 -0
- package/dist/web-components-library/p-74e31a32.entry.js +1 -0
- package/dist/web-components-library/p-759fb7c4.entry.js +1 -0
- package/dist/web-components-library/p-79223014.entry.js +1 -0
- package/dist/web-components-library/p-7b22a446.entry.js +1 -0
- package/dist/web-components-library/p-7c40fb15.entry.js +1 -0
- package/dist/web-components-library/p-7cbc1836.entry.js +1 -0
- package/dist/web-components-library/p-830b21a4.entry.js +1 -0
- package/dist/web-components-library/p-87099b68.entry.js +1 -0
- package/dist/web-components-library/p-8cabed58.entry.js +1 -0
- package/dist/web-components-library/p-8cf14a47.entry.js +1 -0
- package/dist/web-components-library/p-8eaa46ac.entry.js +1 -0
- package/dist/web-components-library/p-985c5ed8.entry.js +1 -0
- package/dist/web-components-library/p-9f6b43a0.entry.js +1 -0
- package/dist/web-components-library/p-9f8d0f79.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-ac1a9d63.entry.js +1 -0
- package/dist/web-components-library/p-af4a9bb7.entry.js +1 -0
- package/dist/web-components-library/p-ba495cad.entry.js +1 -0
- package/dist/web-components-library/p-ba9210e9.entry.js +1 -0
- package/dist/web-components-library/p-bf9348e6.entry.js +1 -0
- package/dist/web-components-library/p-c0df6e96.entry.js +1 -0
- package/dist/web-components-library/p-c2b368ff.entry.js +1 -0
- package/dist/web-components-library/p-c39c68b9.entry.js +1 -0
- package/dist/web-components-library/p-cadba1e5.entry.js +1 -0
- package/dist/web-components-library/p-ccb3764b.entry.js +1 -0
- package/dist/web-components-library/p-d668461a.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-dbc23998.entry.js +1 -0
- package/dist/web-components-library/p-def721df.entry.js +1 -0
- package/dist/web-components-library/p-e12cd68a.entry.js +1 -0
- package/dist/web-components-library/p-e84d2839.entry.js +1 -0
- package/dist/web-components-library/p-eadb185e.entry.js +1 -0
- package/dist/web-components-library/p-f9f9518a.entry.js +1 -0
- package/dist/web-components-library/p-fd305e08.entry.js +1 -0
- package/dist/web-components-library/web-components-library.esm.js +1 -1
- package/package.json +4 -4
- package/www/build/index.esm.js +1 -1
- package/www/build/p-016b2800.entry.js +1 -0
- package/www/build/p-04908405.entry.js +1 -0
- package/www/build/p-06430481.entry.js +1 -0
- package/www/build/p-067bd5da.entry.js +1 -0
- package/www/build/p-082d65b1.entry.js +1 -0
- package/www/build/p-0cff6cce.entry.js +1 -0
- package/www/build/p-0e743002.entry.js +1 -0
- package/www/build/p-10b84e8c.entry.js +1 -0
- package/www/build/p-12211a48.entry.js +1 -0
- package/www/build/p-14233b99.entry.js +1 -0
- package/www/build/p-176256ee.js +1 -0
- package/www/build/p-1ab0de76.entry.js +1 -0
- package/www/build/p-1d2d5232.entry.js +1 -0
- package/www/build/p-20109d3a.entry.js +1 -0
- package/www/build/{p-f158d205.entry.js → p-2c18a622.entry.js} +1 -1
- package/www/build/p-2cf26585.entry.js +1 -0
- package/www/build/p-2d506c48.entry.js +1 -0
- package/www/build/p-2d5d8e6f.entry.js +1 -0
- package/www/build/p-2e7a31ac.entry.js +1 -0
- package/www/build/p-2f6f3729.entry.js +1 -0
- package/www/build/p-30cbafaf.entry.js +1 -0
- package/www/build/p-341ddb5d.entry.js +1 -0
- package/www/build/p-34a96008.entry.js +1 -0
- package/www/build/p-35b30271.entry.js +1 -0
- package/www/build/p-36f4ce3f.entry.js +1 -0
- package/www/build/p-3c28f72e.entry.js +1 -0
- package/www/build/p-3c7cf41f.entry.js +1 -0
- package/www/build/p-3e414cf1.entry.js +1 -0
- package/www/build/p-3ecfb7c1.entry.js +1 -0
- package/www/build/p-40f96085.entry.js +1 -0
- package/{dist/web-components-library/p-4d42f224.entry.js → www/build/p-48624926.entry.js} +1 -1
- package/www/build/{p-b17981a4.entry.js → p-4c7f4a2c.entry.js} +1 -1
- package/www/build/p-53d22727.entry.js +1 -0
- package/www/build/p-563529f8.entry.js +1 -0
- package/www/build/p-57faab40.entry.js +1 -0
- package/www/build/p-5b2d8a91.entry.js +1 -0
- package/www/build/p-6037dce0.entry.js +1 -0
- package/www/build/{p-0134d685.js → p-60ec44c6.js} +1 -1
- package/www/build/p-670232c4.entry.js +1 -0
- package/www/build/p-67f346d9.entry.js +1 -0
- package/www/build/p-691678c8.entry.js +1 -0
- package/www/build/p-69b27fe9.entry.js +16 -0
- package/www/build/p-6fe1bffb.entry.js +1 -0
- package/www/build/p-728e7dcd.entry.js +1 -0
- package/www/build/p-74e31a32.entry.js +1 -0
- package/www/build/p-759fb7c4.entry.js +1 -0
- package/www/build/p-79223014.entry.js +1 -0
- package/www/build/p-7b22a446.entry.js +1 -0
- package/www/build/p-7c40fb15.entry.js +1 -0
- package/www/build/p-7cbc1836.entry.js +1 -0
- package/www/build/p-830b21a4.entry.js +1 -0
- package/www/build/p-87099b68.entry.js +1 -0
- package/www/build/p-8cabed58.entry.js +1 -0
- package/www/build/p-8cf14a47.entry.js +1 -0
- package/www/build/p-8eaa46ac.entry.js +1 -0
- package/www/build/p-985c5ed8.entry.js +1 -0
- package/www/build/p-9f6b43a0.entry.js +1 -0
- package/www/build/p-9f8d0f79.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-ac1a9d63.entry.js +1 -0
- package/www/build/p-af4a9bb7.entry.js +1 -0
- package/www/build/p-ba495cad.entry.js +1 -0
- package/www/build/p-ba9210e9.entry.js +1 -0
- package/www/build/p-bf9348e6.entry.js +1 -0
- package/www/build/p-c0df6e96.entry.js +1 -0
- package/www/build/p-c2b368ff.entry.js +1 -0
- package/www/build/p-c39c68b9.entry.js +1 -0
- package/www/build/p-cadba1e5.entry.js +1 -0
- package/www/build/p-ccb3764b.entry.js +1 -0
- package/www/build/p-d668461a.js +1 -0
- package/www/build/p-d767f784.entry.js +1 -0
- package/www/build/p-d7e72cec.entry.js +1 -0
- package/www/build/p-dbc23998.entry.js +1 -0
- package/www/build/p-def721df.entry.js +1 -0
- package/www/build/p-e12cd68a.entry.js +1 -0
- package/www/build/p-e84d2839.entry.js +1 -0
- package/www/build/p-eadb185e.entry.js +1 -0
- package/www/build/p-f9f9518a.entry.js +1 -0
- package/www/build/p-fd305e08.entry.js +1 -0
- package/www/build/web-components-library.esm.js +1 -1
- package/www/index.html +1 -1
- package/dist/cjs/index-199cd650.js +0 -346
- package/dist/collection/components/index.js +0 -8
- package/dist/esm/index-9d028352.js +0 -346
- package/dist/types/components/index.d.ts +0 -0
- 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-10b46635.entry.js +0 -1
- package/dist/web-components-library/p-1106ead2.entry.js +0 -1
- package/dist/web-components-library/p-15b8a920.entry.js +0 -1
- package/dist/web-components-library/p-15fe7b71.entry.js +0 -1
- package/dist/web-components-library/p-1bd6592f.entry.js +0 -1
- package/dist/web-components-library/p-1e6a2a56.entry.js +0 -1
- package/dist/web-components-library/p-23781e2b.entry.js +0 -1
- package/dist/web-components-library/p-28ff9383.entry.js +0 -1
- package/dist/web-components-library/p-2d0cb337.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-35ceae27.entry.js +0 -1
- package/dist/web-components-library/p-3913bff2.entry.js +0 -1
- package/dist/web-components-library/p-3a431f04.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-442b8b35.entry.js +0 -1
- package/dist/web-components-library/p-4cd6c6f4.entry.js +0 -1
- package/dist/web-components-library/p-4d093e07.entry.js +0 -1
- package/dist/web-components-library/p-4e733fbd.entry.js +0 -1
- package/dist/web-components-library/p-4ec9ab53.entry.js +0 -1
- package/dist/web-components-library/p-53a03f2a.entry.js +0 -1
- package/dist/web-components-library/p-562ad563.entry.js +0 -1
- package/dist/web-components-library/p-58650e22.entry.js +0 -1
- package/dist/web-components-library/p-5bec950e.entry.js +0 -1
- package/dist/web-components-library/p-5c9556e3.entry.js +0 -1
- package/dist/web-components-library/p-5cf4a412.entry.js +0 -1
- package/dist/web-components-library/p-5d4a6659.entry.js +0 -1
- package/dist/web-components-library/p-5f3baf14.entry.js +0 -1
- package/dist/web-components-library/p-61424b8a.entry.js +0 -1
- package/dist/web-components-library/p-681e1f5a.entry.js +0 -1
- package/dist/web-components-library/p-686545fa.entry.js +0 -1
- package/dist/web-components-library/p-6f64e8a8.entry.js +0 -1
- package/dist/web-components-library/p-70d16b2c.entry.js +0 -1
- package/dist/web-components-library/p-7688f8ca.entry.js +0 -1
- package/dist/web-components-library/p-77e4774d.entry.js +0 -1
- package/dist/web-components-library/p-79b8d87e.entry.js +0 -1
- package/dist/web-components-library/p-7d696941.entry.js +0 -1
- package/dist/web-components-library/p-7d792297.entry.js +0 -1
- package/dist/web-components-library/p-810bd730.entry.js +0 -1
- package/dist/web-components-library/p-87fdd14f.js +0 -1
- package/dist/web-components-library/p-982254e5.entry.js +0 -1
- package/dist/web-components-library/p-9d03a7d6.entry.js +0 -1
- package/dist/web-components-library/p-9ecc5eba.entry.js +0 -1
- package/dist/web-components-library/p-9f80c0b8.js +0 -1
- package/dist/web-components-library/p-9fe267fc.entry.js +0 -1
- package/dist/web-components-library/p-a6d6178a.entry.js +0 -1
- package/dist/web-components-library/p-a79cc147.entry.js +0 -1
- package/dist/web-components-library/p-a79d1412.entry.js +0 -1
- package/dist/web-components-library/p-aded8a43.entry.js +0 -1
- package/dist/web-components-library/p-b4fbb6e4.entry.js +0 -1
- package/dist/web-components-library/p-b5086d6d.entry.js +0 -1
- package/dist/web-components-library/p-bb0fe7bc.entry.js +0 -1
- package/dist/web-components-library/p-bb15a265.js +0 -1
- package/dist/web-components-library/p-bb95b82f.entry.js +0 -1
- package/dist/web-components-library/p-c2d1785b.entry.js +0 -1
- package/dist/web-components-library/p-c6a662e6.entry.js +0 -1
- package/dist/web-components-library/p-c6aad085.entry.js +0 -1
- package/dist/web-components-library/p-cb5d8a84.entry.js +0 -1
- package/dist/web-components-library/p-cbb3ea13.entry.js +0 -1
- package/dist/web-components-library/p-ccf67abf.entry.js +0 -1
- package/dist/web-components-library/p-ce83ce18.entry.js +0 -1
- package/dist/web-components-library/p-d199b781.entry.js +0 -1
- package/dist/web-components-library/p-d3645ced.entry.js +0 -1
- package/dist/web-components-library/p-d3733579.entry.js +0 -1
- package/dist/web-components-library/p-d531d1d2.entry.js +0 -1
- package/dist/web-components-library/p-e68c18e5.entry.js +0 -1
- package/dist/web-components-library/p-ecc4afa1.entry.js +0 -1
- package/dist/web-components-library/p-ede9fbf5.entry.js +0 -1
- package/dist/web-components-library/p-edf0195b.entry.js +0 -1
- package/dist/web-components-library/p-f2f9a1bc.entry.js +0 -1
- package/dist/web-components-library/p-f2fd1e20.entry.js +0 -1
- package/dist/web-components-library/p-f7c1eb3f.entry.js +0 -16
- package/dist/web-components-library/p-f95cc914.entry.js +0 -1
- package/dist/web-components-library/p-fb7d33f2.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-10b46635.entry.js +0 -1
- package/www/build/p-1106ead2.entry.js +0 -1
- package/www/build/p-15b8a920.entry.js +0 -1
- package/www/build/p-15fe7b71.entry.js +0 -1
- package/www/build/p-1bd6592f.entry.js +0 -1
- package/www/build/p-1e6a2a56.entry.js +0 -1
- package/www/build/p-23781e2b.entry.js +0 -1
- package/www/build/p-28ff9383.entry.js +0 -1
- package/www/build/p-2d0cb337.entry.js +0 -1
- package/www/build/p-2efedcf4.entry.js +0 -1
- package/www/build/p-344e7ae7.entry.js +0 -1
- package/www/build/p-35ceae27.entry.js +0 -1
- package/www/build/p-3913bff2.entry.js +0 -1
- package/www/build/p-3a431f04.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-442b8b35.entry.js +0 -1
- package/www/build/p-4cd6c6f4.entry.js +0 -1
- package/www/build/p-4d093e07.entry.js +0 -1
- package/www/build/p-4e733fbd.entry.js +0 -1
- package/www/build/p-4ec9ab53.entry.js +0 -1
- package/www/build/p-53a03f2a.entry.js +0 -1
- package/www/build/p-562ad563.entry.js +0 -1
- package/www/build/p-58650e22.entry.js +0 -1
- package/www/build/p-5bec950e.entry.js +0 -1
- package/www/build/p-5c9556e3.entry.js +0 -1
- package/www/build/p-5cf4a412.entry.js +0 -1
- package/www/build/p-5d4a6659.entry.js +0 -1
- package/www/build/p-5f3baf14.entry.js +0 -1
- package/www/build/p-61424b8a.entry.js +0 -1
- package/www/build/p-681e1f5a.entry.js +0 -1
- package/www/build/p-686545fa.entry.js +0 -1
- package/www/build/p-6f64e8a8.entry.js +0 -1
- package/www/build/p-70d16b2c.entry.js +0 -1
- package/www/build/p-7688f8ca.entry.js +0 -1
- package/www/build/p-77e4774d.entry.js +0 -1
- package/www/build/p-79b8d87e.entry.js +0 -1
- package/www/build/p-7d696941.entry.js +0 -1
- package/www/build/p-7d792297.entry.js +0 -1
- package/www/build/p-810bd730.entry.js +0 -1
- package/www/build/p-87fdd14f.js +0 -1
- package/www/build/p-982254e5.entry.js +0 -1
- package/www/build/p-9d03a7d6.entry.js +0 -1
- package/www/build/p-9ecc5eba.entry.js +0 -1
- package/www/build/p-9f80c0b8.js +0 -1
- package/www/build/p-9fe267fc.entry.js +0 -1
- package/www/build/p-a6d6178a.entry.js +0 -1
- package/www/build/p-a79cc147.entry.js +0 -1
- package/www/build/p-a79d1412.entry.js +0 -1
- package/www/build/p-aded8a43.entry.js +0 -1
- package/www/build/p-b4fbb6e4.entry.js +0 -1
- package/www/build/p-b5086d6d.entry.js +0 -1
- package/www/build/p-bb0fe7bc.entry.js +0 -1
- package/www/build/p-bb15a265.js +0 -1
- package/www/build/p-bb95b82f.entry.js +0 -1
- package/www/build/p-c2d1785b.entry.js +0 -1
- package/www/build/p-c6a662e6.entry.js +0 -1
- package/www/build/p-c6aad085.entry.js +0 -1
- package/www/build/p-cb5d8a84.entry.js +0 -1
- package/www/build/p-cbb3ea13.entry.js +0 -1
- package/www/build/p-ccf67abf.entry.js +0 -1
- package/www/build/p-ce83ce18.entry.js +0 -1
- package/www/build/p-d199b781.entry.js +0 -1
- package/www/build/p-d3645ced.entry.js +0 -1
- package/www/build/p-d3733579.entry.js +0 -1
- package/www/build/p-d531d1d2.entry.js +0 -1
- package/www/build/p-e68c18e5.entry.js +0 -1
- package/www/build/p-ecc4afa1.entry.js +0 -1
- package/www/build/p-ede9fbf5.entry.js +0 -1
- package/www/build/p-edf0195b.entry.js +0 -1
- package/www/build/p-f2f9a1bc.entry.js +0 -1
- package/www/build/p-f2fd1e20.entry.js +0 -1
- package/www/build/p-f7c1eb3f.entry.js +0 -16
- package/www/build/p-f95cc914.entry.js +0 -1
- package/www/build/p-fb7d33f2.entry.js +0 -1
package/dist/esm/z-otp.entry.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-a2ca4b97.js';
|
|
2
|
-
import { d as InputStatus } from './index-9d028352.js';
|
|
3
2
|
|
|
4
3
|
const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg)}.digits-container{display:flex;justify-content:flex-start}input{width:calc(var(--space-unit) * 5);height:72px;box-sizing:border-box;padding:0;caret-color:transparent;color:var(--color-surface05);font-family:var(--font-family-sans);font-size:32px;font-weight:300;text-align:center}input.error{border:1px solid;border-color:var(--color-error01);background-color:var(--color-error-inverse);border-radius:4px}input:not(:last-of-type){margin-right:var(--space-unit)}@media only screen and (min-width: 768px){input:not(:last-of-type){margin-right:calc(var(--space-unit) * 2)}}@media only screen and (min-width: 1025px){input{width:calc(var(--space-unit) * 6)}}";
|
|
5
4
|
|
|
@@ -7,8 +6,9 @@ const ZOtp = class {
|
|
|
7
6
|
constructor(hostRef) {
|
|
8
7
|
registerInstance(this, hostRef);
|
|
9
8
|
this.otpChange = createEvent(this, "otpChange", 7);
|
|
10
|
-
/** Input number */
|
|
11
9
|
this.inputNum = 6;
|
|
10
|
+
this.status = undefined;
|
|
11
|
+
this.message = undefined;
|
|
12
12
|
}
|
|
13
13
|
emitInputChange(value) {
|
|
14
14
|
this.otpChange.emit({ value });
|
|
@@ -18,7 +18,7 @@ const ZOtp = class {
|
|
|
18
18
|
this.otpRef = [...Array(this.inputNum)];
|
|
19
19
|
}
|
|
20
20
|
render() {
|
|
21
|
-
return (h("div", { class: "otp-container" }, h("div", { class: "digits-container" }, this.otp.map((_val, i) => (h("input", { class: this.status == InputStatus.ERROR ? "error" : null, onKeyDown: (e) => {
|
|
21
|
+
return (h("div", { class: "otp-container" }, h("div", { class: "digits-container" }, this.otp.map((_val, i) => (h("input", { class: this.status == "error" /* InputStatus.ERROR */ ? "error" : null, onKeyDown: (e) => {
|
|
22
22
|
if (e.keyCode > 47) {
|
|
23
23
|
this.otpRef[i].value = "";
|
|
24
24
|
}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h } from './index-a2ca4b97.js';
|
|
2
2
|
import { h as hammer } from './hammer-c3266b17.js';
|
|
3
|
-
import { h as handleKeyboardSubmit } from './utils-
|
|
3
|
+
import { h as handleKeyboardSubmit } from './utils-420e8552.js';
|
|
4
4
|
import './_commonjsHelpers-9943807e.js';
|
|
5
|
-
import './index-9d028352.js';
|
|
6
5
|
import './breakpoints-c386984e.js';
|
|
7
6
|
|
|
8
7
|
const stylesCss = ":host>div{display:flex;height:48px;flex-flow:row nowrap;align-content:center;align-items:center;justify-content:space-around}:host>div>z-icon{margin:calc(var(--space-unit) * 2) 0;color:var(--color-primary01);cursor:pointer;fill:var(--color-primary01)}:host>div>z-icon.disabled{color:var(--color-disabled01);cursor:default;fill:var(--color-disabled01);pointer-events:none}";
|
|
@@ -13,14 +12,14 @@ const ZPaginationBar = class {
|
|
|
13
12
|
this.goToPage = createEvent(this, "goToPage", 7);
|
|
14
13
|
this.changeStartPage = createEvent(this, "changeStartPage", 7);
|
|
15
14
|
this.addPageToHistory = createEvent(this, "addPageToHistory", 7);
|
|
16
|
-
|
|
15
|
+
this.velocityConstantMultiplier = 2;
|
|
16
|
+
this.pages = undefined;
|
|
17
|
+
this.visiblepages = undefined;
|
|
17
18
|
this.currentpage = 1;
|
|
18
|
-
/** initial page (mutable) */
|
|
19
19
|
this.startpage = 1;
|
|
20
|
-
|
|
20
|
+
this.historyraw = undefined;
|
|
21
21
|
this.listhistoryrow = [];
|
|
22
22
|
this.currentPages = [];
|
|
23
|
-
this.velocityConstantMultiplier = 2;
|
|
24
23
|
this.navigateRight = this.navigateRight.bind(this);
|
|
25
24
|
this.navigateLeft = this.navigateLeft.bind(this);
|
|
26
25
|
this.emitGoToPage = this.emitGoToPage.bind(this);
|
|
@@ -5,13 +5,11 @@ const stylesCss = ":host{display:inline-block;font-family:var(--font-family-sans
|
|
|
5
5
|
const ZPaginationPage = class {
|
|
6
6
|
constructor(hostRef) {
|
|
7
7
|
registerInstance(this, hostRef);
|
|
8
|
-
|
|
8
|
+
this.pageid = undefined;
|
|
9
|
+
this.value = undefined;
|
|
9
10
|
this.isselected = false;
|
|
10
|
-
/** disabled status flag */
|
|
11
11
|
this.isdisabled = false;
|
|
12
|
-
/** visited status flag */
|
|
13
12
|
this.isvisited = false;
|
|
14
|
-
/** aria-label string */
|
|
15
13
|
this.ariaLabel = "";
|
|
16
14
|
}
|
|
17
15
|
render() {
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-a2ca4b97.js';
|
|
2
|
-
import { I as InputType } from './index-9d028352.js';
|
|
3
2
|
|
|
4
3
|
const stylesCss = "z-pagination{--z-pagination--page-button-width:64px;--z-pagination--pages-container-max-width:100%;display:flex;max-width:100%;flex-flow:column wrap;font-family:var(--font-family-sans);font-weight:var(--font-rg);gap:calc(var(--space-unit) * 2) calc(var(--space-unit) * 4)}z-pagination,z-pagination *{box-sizing:border-box}z-pagination button{height:100%}z-pagination z-icon{fill:var(--color-icon01)}z-pagination *:disabled z-icon{fill:var(--color-disabled02)}z-pagination .page-label{margin-right:calc(var(--space-unit) * 3);color:var(--color-text02)}z-pagination .pagination-bar{display:flex;max-width:100%;height:48px;align-items:center}z-pagination .pagination-bar button{display:flex;align-items:center;justify-content:center;border:none;margin:0;background-color:var(--color-surface03);color:var(--color-primary01);cursor:pointer;font-family:inherit;font-weight:inherit;transition:background-color 0.15s ease-out, color 0.15s ease-out, border-bottom-color 0.15s ease-out,\n font-size 0.15s ease-in-out, font-weight 0.15s ease-in-out}z-pagination .pagination-bar button:focus-visible{background-color:var(--color-hover-surface);box-shadow:inset var(--shadow-focus-primary);outline:none}z-pagination .pagination-bar .pagination-button{padding:calc(var(--space-unit) * 2);font-weight:var(--font-sb);text-transform:uppercase;white-space:nowrap}z-pagination .pagination-bar .navigation-button{padding:calc(var(--space-unit) * 2) calc(var(--space-unit) * 1.5)}z-pagination .pagination-bar .pagination-button:disabled,z-pagination .pagination-bar .navigation-button:disabled{background-color:var(--color-disabled01);color:var(--color-disabled02);cursor:default;pointer-events:none}z-pagination .pagination-bar .page-button,z-pagination .pagination-bar .ellipsis-button{width:var(--z-pagination--page-button-width)}z-pagination .pages-container{position:relative;display:inline-flex;max-width:100%;height:100%;overflow-x:auto;scroll-behavior:smooth;scroll-snap-align:center;scrollbar-width:none}z-pagination .pages-container::-webkit-scrollbar{display:none}z-pagination .pages-chunk{display:flex;scroll-snap-align:center}z-pagination .pagination-bar .page-button{padding-top:var(--border-size-large) solid transparent;border-bottom:var(--border-size-large) solid transparent;font-size:var(--font-size-2);font-weight:var(--font-sb)}z-pagination .pagination-bar .page-button:focus-visible{border-bottom-color:var(--color-hover-light)}z-pagination .pagination-bar .page-button[data-current]{border-bottom-color:var(--color-primary01);font-size:var(--font-size-7)}z-pagination .go-to-page{display:flex;flex-direction:column;row-gap:var(--space-unit)}z-pagination .go-to-page .label{color:var(--color-text02);text-transform:uppercase}z-pagination .go-to-page .inputs{display:flex;column-gap:var(--space-unit)}z-pagination .go-to-page .inputs z-input{width:calc(var(--space-unit) * 11)}z-pagination .go-to-page .inputs z-input input,z-pagination .mobile-go-to-page z-input input{padding:0 calc(var(--space-unit) * 1.5) !important;appearance:none}z-pagination .mobile-go-to-page{display:flex;height:100%;flex:1 auto;align-items:center;justify-content:center;background-color:var(--color-surface03)}z-pagination .mobile-go-to-page z-input{width:var(--z-pagination--page-button-width);margin-right:var(--space-unit)}z-pagination .mobile-go-to-page z-input input{text-align:center}z-pagination .mobile-go-to-page z-input input::-webkit-outer-spin-button,z-pagination .mobile-go-to-page z-input input::-webkit-inner-spin-button{appearance:none}z-pagination .mobile-go-to-page>span{font-size:var(--font-size-2)}@media (hover: hover){z-pagination .pagination-bar button:hover{background-color:var(--color-hover-surface)}z-pagination .pagination-bar .page-button:hover{border-bottom-color:var(--color-hover-light)}}@media (min-width: 768px){z-pagination{--z-pagination--page-button-width:88px;flex-direction:row;align-items:flex-end}z-pagination .pages-container{max-width:var(--z-pagination--pages-container-max-width)}}";
|
|
5
4
|
|
|
@@ -7,24 +6,17 @@ const ZPagination = class {
|
|
|
7
6
|
constructor(hostRef) {
|
|
8
7
|
registerInstance(this, hostRef);
|
|
9
8
|
this.pageChanged = createEvent(this, "pageChanged", 7);
|
|
10
|
-
|
|
9
|
+
this.label = undefined;
|
|
11
10
|
this.navArrows = true;
|
|
12
|
-
|
|
11
|
+
this.totalPages = undefined;
|
|
13
12
|
this.skip = 0;
|
|
14
|
-
/** Enable buttons to go to the first and last pages. */
|
|
15
13
|
this.edges = false;
|
|
16
|
-
|
|
14
|
+
this.split = undefined;
|
|
15
|
+
this.visiblePages = undefined;
|
|
17
16
|
this.currentPage = 1;
|
|
18
|
-
|
|
19
|
-
* Internal visible pages variable.
|
|
20
|
-
* Needed to better handle conflicting props like `visiblePages` and `split`.
|
|
21
|
-
* This state will change based on props values and validation,
|
|
22
|
-
* keeping original `visiblePages` value intact.
|
|
23
|
-
*/
|
|
17
|
+
this.goToPage = undefined;
|
|
24
18
|
this._visiblePages = this.visiblePages;
|
|
25
|
-
/** Used to hides/change some functionalities on smaller screen sizes */
|
|
26
19
|
this.isMobile = false;
|
|
27
|
-
/** Value of the go to page input */
|
|
28
20
|
this.goToPageValue = null;
|
|
29
21
|
}
|
|
30
22
|
/**
|
|
@@ -189,7 +181,7 @@ const ZPagination = class {
|
|
|
189
181
|
pagesChunks.map((chunk) => h("div", { class: "pages-chunk" }, chunk.map((page) => this.renderPage(page)))))), this.goToPage && (h("form", { class: "mobile-go-to-page", onSubmit: (ev) => {
|
|
190
182
|
ev.preventDefault();
|
|
191
183
|
this.selectPage(this.goToPageValue);
|
|
192
|
-
} }, h("z-input", { class: "go-to-page-input", type: InputType.NUMBER
|
|
184
|
+
} }, h("z-input", { class: "go-to-page-input", type: "number" /* InputType.NUMBER */, min: 1, max: this.totalPages, message: false, onInput: (ev) => {
|
|
193
185
|
this.goToPageValue = ev.target.value;
|
|
194
186
|
}, placeholder: this.currentPage.toString(), hasclearicon: false }), h("span", null, `/${this.totalPages}`))), this.renderForwardButton()),
|
|
195
187
|
];
|
|
@@ -208,7 +200,7 @@ const ZPagination = class {
|
|
|
208
200
|
if (this.isMobile) {
|
|
209
201
|
return h(Host, null, this.renderMobile());
|
|
210
202
|
}
|
|
211
|
-
return (h(Host, null, h("div", { class: "pagination-bar" }, this.label && h("span", { class: "page-label body-1-sb" }, this.label), this.edges && (h("button", { class: "pagination-button", type: "button", title: "Vai alla pagina 1", disabled: this.currentPage === 1, onClick: () => this.selectPage(1) }, "Pagina 1")), this.skip < this.totalPages && this.skip > 1 && (h("button", { class: "pagination-button", type: "button", title: `Vai alla pagina ${this.currentPage - this.skip}`, disabled: this.currentPage <= this.skip, onClick: () => this.selectPage(this.currentPage - this.skip) }, "-", this.skip)), this.navArrows && this.renderBackButton(), h("div", { class: "pages-container", role: "navigation", tabIndex: -1 }, this.split ? this.renderSplitPages() : this.renderPages()), this.navArrows && this.renderForwardButton(), this.skip < this.totalPages && this.skip > 1 && (h("button", { class: "pagination-button", type: "button", title: `Vai alla pagina ${this.currentPage + this.skip}`, disabled: this.currentPage > this.totalPages - this.skip, onClick: () => this.selectPage(this.currentPage + this.skip) }, "+", this.skip)), this.edges && (h("button", { class: "pagination-button", type: "button", title: `Vai alla pagina ${this.totalPages}`, disabled: this.currentPage === this.totalPages, onClick: () => this.selectPage(this.totalPages) }, "Pagina ", this.totalPages))), this.goToPage && (h("div", { class: "go-to-page" }, h("span", { class: "label body-5-sb" }, "Vai a pagina:"), h("div", { class: "inputs" }, h("z-input", { class: "go-to-page-input", type: InputType.NUMBER
|
|
203
|
+
return (h(Host, null, h("div", { class: "pagination-bar" }, this.label && h("span", { class: "page-label body-1-sb" }, this.label), this.edges && (h("button", { class: "pagination-button", type: "button", title: "Vai alla pagina 1", disabled: this.currentPage === 1, onClick: () => this.selectPage(1) }, "Pagina 1")), this.skip < this.totalPages && this.skip > 1 && (h("button", { class: "pagination-button", type: "button", title: `Vai alla pagina ${this.currentPage - this.skip}`, disabled: this.currentPage <= this.skip, onClick: () => this.selectPage(this.currentPage - this.skip) }, "-", this.skip)), this.navArrows && this.renderBackButton(), h("div", { class: "pages-container", role: "navigation", tabIndex: -1 }, this.split ? this.renderSplitPages() : this.renderPages()), this.navArrows && this.renderForwardButton(), this.skip < this.totalPages && this.skip > 1 && (h("button", { class: "pagination-button", type: "button", title: `Vai alla pagina ${this.currentPage + this.skip}`, disabled: this.currentPage > this.totalPages - this.skip, onClick: () => this.selectPage(this.currentPage + this.skip) }, "+", this.skip)), this.edges && (h("button", { class: "pagination-button", type: "button", title: `Vai alla pagina ${this.totalPages}`, disabled: this.currentPage === this.totalPages, onClick: () => this.selectPage(this.totalPages) }, "Pagina ", this.totalPages))), this.goToPage && (h("div", { class: "go-to-page" }, h("span", { class: "label body-5-sb" }, "Vai a pagina:"), h("div", { class: "inputs" }, h("z-input", { class: "go-to-page-input", type: "number" /* InputType.NUMBER */, min: 1, max: this.totalPages, message: false, placeholder: "2", hasclearicon: false, onInput: (ev) => {
|
|
212
204
|
this.goToPageValue = ev.target.value;
|
|
213
205
|
}, onKeyDown: (ev) => ev.key === "Enter" && this.selectPage(this.goToPageValue) }), h("z-button", { disabled: !this.goToPageValue, title: "Vai alla pagina inserita", onClick: () => this.selectPage(this.goToPageValue) }, "vai"))))));
|
|
214
206
|
}
|
|
@@ -5,10 +5,15 @@ const stylesCss = ":host{width:inherit;font-family:var(--dashboard-font);font-we
|
|
|
5
5
|
const ZPanelElem = class {
|
|
6
6
|
constructor(hostRef) {
|
|
7
7
|
registerInstance(this, hostRef);
|
|
8
|
-
|
|
8
|
+
this.elemid = undefined;
|
|
9
|
+
this.imgurl = undefined;
|
|
10
|
+
this.imgalt = undefined;
|
|
11
|
+
this.linkicon = undefined;
|
|
12
|
+
this.linklabel = undefined;
|
|
13
|
+
this.url = undefined;
|
|
9
14
|
this.target = "_blank";
|
|
10
|
-
/** disabled status flag (optional) */
|
|
11
15
|
this.isdisabled = false;
|
|
16
|
+
this.descrSlotName = undefined;
|
|
12
17
|
}
|
|
13
18
|
renderIcon() {
|
|
14
19
|
if (this.isdisabled) {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-a2ca4b97.js';
|
|
2
|
-
import {
|
|
3
|
-
import { h as handleKeyboardSubmit } from './utils-39ca028c.js';
|
|
2
|
+
import { h as handleKeyboardSubmit } from './utils-420e8552.js';
|
|
4
3
|
import { h as hammer } from './hammer-c3266b17.js';
|
|
5
4
|
import './breakpoints-c386984e.js';
|
|
6
5
|
import './_commonjsHelpers-9943807e.js';
|
|
@@ -11,16 +10,16 @@ const ZPocket = class {
|
|
|
11
10
|
constructor(hostRef) {
|
|
12
11
|
registerInstance(this, hostRef);
|
|
13
12
|
this.pocketToggle = createEvent(this, "pocketToggle", 7);
|
|
14
|
-
|
|
15
|
-
this.status = PocketStatus.PREVIEW
|
|
13
|
+
this.pocketid = undefined;
|
|
14
|
+
this.status = "preview" /* PocketStatus.PREVIEW */;
|
|
16
15
|
}
|
|
17
16
|
/** open z-pocket */
|
|
18
17
|
async open() {
|
|
19
|
-
this.status = PocketStatus.OPEN
|
|
18
|
+
this.status = "open" /* PocketStatus.OPEN */;
|
|
20
19
|
}
|
|
21
20
|
/** close z-pocket */
|
|
22
21
|
async close() {
|
|
23
|
-
this.status = PocketStatus.CLOSED
|
|
22
|
+
this.status = "closed" /* PocketStatus.CLOSED */;
|
|
24
23
|
}
|
|
25
24
|
emitPocketToggle(id, status) {
|
|
26
25
|
this.pocketToggle.emit({ id, status });
|
|
@@ -28,12 +27,12 @@ const ZPocket = class {
|
|
|
28
27
|
handlePocketHeaderClick(e) {
|
|
29
28
|
if (e.detail.id && e.detail.id === this.pocketid) {
|
|
30
29
|
switch (this.status) {
|
|
31
|
-
case PocketStatus.PREVIEW
|
|
32
|
-
case PocketStatus.CLOSED
|
|
33
|
-
this.status = PocketStatus.OPEN
|
|
30
|
+
case "preview" /* PocketStatus.PREVIEW */:
|
|
31
|
+
case "closed" /* PocketStatus.CLOSED */:
|
|
32
|
+
this.status = "open" /* PocketStatus.OPEN */;
|
|
34
33
|
break;
|
|
35
|
-
case PocketStatus.OPEN
|
|
36
|
-
this.status = PocketStatus.CLOSED
|
|
34
|
+
case "open" /* PocketStatus.OPEN */:
|
|
35
|
+
this.status = "closed" /* PocketStatus.CLOSED */;
|
|
37
36
|
break;
|
|
38
37
|
}
|
|
39
38
|
}
|
|
@@ -41,10 +40,10 @@ const ZPocket = class {
|
|
|
41
40
|
handlePocketHeaderPan(e) {
|
|
42
41
|
if (e.detail.id && e.detail.id === this.pocketid) {
|
|
43
42
|
if (e.detail.direction === "up") {
|
|
44
|
-
this.status = PocketStatus.OPEN
|
|
43
|
+
this.status = "open" /* PocketStatus.OPEN */;
|
|
45
44
|
}
|
|
46
45
|
else if (e.detail.direction === "down") {
|
|
47
|
-
this.status = PocketStatus.CLOSED
|
|
46
|
+
this.status = "closed" /* PocketStatus.CLOSED */;
|
|
48
47
|
}
|
|
49
48
|
}
|
|
50
49
|
}
|
|
@@ -74,8 +73,8 @@ const stylesCss$1 = ":host{display:block;width:100%;box-sizing:border-box;font-f
|
|
|
74
73
|
const ZPocketBody = class {
|
|
75
74
|
constructor(hostRef) {
|
|
76
75
|
registerInstance(this, hostRef);
|
|
77
|
-
|
|
78
|
-
this.status = PocketStatus.PREVIEW
|
|
76
|
+
this.pocketid = undefined;
|
|
77
|
+
this.status = "preview" /* PocketStatus.PREVIEW */;
|
|
79
78
|
}
|
|
80
79
|
handlePocketToggle(e) {
|
|
81
80
|
if (e.detail.id && e.detail.id === this.pocketid) {
|
|
@@ -95,6 +94,7 @@ const ZPocketHeader = class {
|
|
|
95
94
|
registerInstance(this, hostRef);
|
|
96
95
|
this.pocketHeaderClick = createEvent(this, "pocketHeaderClick", 7);
|
|
97
96
|
this.pocketHeaderPan = createEvent(this, "pocketHeaderPan", 7);
|
|
97
|
+
this.pocketid = undefined;
|
|
98
98
|
this.emitPocketHeaderClick = this.emitPocketHeaderClick.bind(this);
|
|
99
99
|
}
|
|
100
100
|
emitPocketHeaderClick() {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, H as Host } from './index-a2ca4b97.js';
|
|
2
|
-
import {
|
|
3
|
-
import { a as getElementTree } from './utils-39ca028c.js';
|
|
2
|
+
import { a as getElementTree } from './utils-420e8552.js';
|
|
4
3
|
import './breakpoints-c386984e.js';
|
|
5
4
|
|
|
6
5
|
const stylesCss = ".sc-z-popover-deprecated-h{position:relative;display:inline-block;font-family:var(--dashboard-font);font-weight:var(--font-rg);--shadow-arrow-color:rgb(66 69 72 / 20%);--shadow-arrow-below-color:rgb(66 69 72 / 10%)}.popover-content-container.sc-z-popover-deprecated{position:absolute;z-index:999;min-width:64px;min-height:32px;box-sizing:border-box;visibility:hidden}.popover-content-container.visible.sc-z-popover-deprecated{visibility:visible}.popover-content-container.border-radius-none.sc-z-popover-deprecated{border-radius:0}.popover-content-container.border-radius-small.sc-z-popover-deprecated{border-radius:var(--border-radius-small)}.popover-content-container.border-radius-medium.sc-z-popover-deprecated{border-radius:var(--border-radius)}.popover-content-container.shadow-1.sc-z-popover-deprecated{box-shadow:var(--shadow-1)}.popover-content-container.shadow-2.sc-z-popover-deprecated{box-shadow:var(--shadow-2)}.popover-content-container.shadow-3.sc-z-popover-deprecated{box-shadow:var(--shadow-3)}.popover-content-container.shadow-4.sc-z-popover-deprecated{box-shadow:var(--shadow-4)}.popover-content-container.shadow-6.sc-z-popover-deprecated{box-shadow:var(--shadow-6)}.popover-content-container.shadow-8.sc-z-popover-deprecated{box-shadow:var(--shadow-8)}.popover-content-container.shadow-12.sc-z-popover-deprecated{box-shadow:var(--shadow-12)}.popover-content-container.shadow-16.sc-z-popover-deprecated{box-shadow:var(--shadow-16)}.popover-content-container.shadow-24.sc-z-popover-deprecated{box-shadow:var(--shadow-24)}.popover-content-container.after-down.sc-z-popover-deprecated{top:0;left:calc(100% + var(--space-unit))}.popover-content-container.after-center.sc-z-popover-deprecated{top:50%;left:calc(100% + var(--space-unit));transform:translateY(-50%)}.popover-content-container.after-up.sc-z-popover-deprecated{bottom:0;left:calc(100% + var(--space-unit))}.popover-content-container.below-right.sc-z-popover-deprecated{top:calc(100% + var(--space-unit));left:0}.popover-content-container.below-center.sc-z-popover-deprecated{top:calc(100% + var(--space-unit));left:50%;transform:translateX(-50%)}.popover-content-container.below-left.sc-z-popover-deprecated{top:calc(100% + var(--space-unit));right:0}.popover-content-container.before-down.sc-z-popover-deprecated{top:0;right:calc(100% + var(--space-unit))}.popover-content-container.before-center.sc-z-popover-deprecated{top:50%;right:calc(100% + var(--space-unit));transform:translateY(-50%)}.popover-content-container.before-up.sc-z-popover-deprecated{right:calc(100% + var(--space-unit));bottom:0}.popover-content-container.above-right.sc-z-popover-deprecated{bottom:calc(100% + var(--space-unit));left:0}.popover-content-container.above-center.sc-z-popover-deprecated{bottom:calc(100% + var(--space-unit));left:50%;transform:translateX(-50%)}.popover-content-container.above-left.sc-z-popover-deprecated{right:0;bottom:calc(100% + var(--space-unit))}.popover-content-container.sc-z-popover-deprecated::before{position:absolute;z-index:-1;display:none;width:8px;height:8px;background-color:inherit;content:\"\";transform:rotate(45deg)}.popover-content-container.after-down.sc-z-popover-deprecated::before{top:12px;left:-4px;box-shadow:-1px 1px 1.5px var(--shadow-arrow-color)}.popover-content-container.after-center.sc-z-popover-deprecated::before{top:calc(50% - 4px);left:-4px;box-shadow:-1px 1px 1.5px var(--shadow-arrow-color)}.popover-content-container.after-up.sc-z-popover-deprecated::before{bottom:12px;left:-4px;box-shadow:-1px 1px 1.5px var(--shadow-arrow-color)}.popover-content-container.below-right.sc-z-popover-deprecated::before{top:-4px;left:12px;box-shadow:-1px -1px 2px var(--shadow-arrow-below-color)}.popover-content-container.below-center.sc-z-popover-deprecated::before{top:-4px;left:calc(50% - 4px);box-shadow:-1px -1px 2px var(--shadow-arrow-below-color)}.popover-content-container.below-left.sc-z-popover-deprecated::before{top:-4px;right:12px;box-shadow:-1px -1px 2px var(--shadow-arrow-below-color)}.popover-content-container.before-down.sc-z-popover-deprecated::before{top:12px;right:-4px;box-shadow:1px -1px 1.5px var(--shadow-arrow-color)}.popover-content-container.before-center.sc-z-popover-deprecated::before{top:calc(50% - 4px);right:-4px;box-shadow:1px -1px 1.5px var(--shadow-arrow-color)}.popover-content-container.before-up.sc-z-popover-deprecated::before{right:-4px;bottom:12px;box-shadow:1px -1px 1.5px var(--shadow-arrow-color)}.popover-content-container.above-right.sc-z-popover-deprecated::before{bottom:-4px;left:12px;box-shadow:1px 1px 1.5px var(--shadow-arrow-color)}.popover-content-container.above-center.sc-z-popover-deprecated::before{bottom:-4px;left:calc(50% - 4px);box-shadow:1px 1px 1.5px var(--shadow-arrow-color)}.popover-content-container.above-left.sc-z-popover-deprecated::before{right:12px;bottom:-4px;box-shadow:1px 1px 1.5px var(--shadow-arrow-color)}.popover-content-container.show-arrow.sc-z-popover-deprecated::before{display:block}";
|
|
@@ -12,17 +11,11 @@ const ZPopoverDeprecated = class {
|
|
|
12
11
|
constructor(hostRef) {
|
|
13
12
|
registerInstance(this, hostRef);
|
|
14
13
|
this.triggerClick = createEvent(this, "triggerClick", 7);
|
|
15
|
-
|
|
16
|
-
this.position = PopoverPosition.AFTER_UP;
|
|
17
|
-
/** [optional] Background color token for popover */
|
|
14
|
+
this.position = "after-up" /* PopoverPosition.AFTER_UP */;
|
|
18
15
|
this.backgroundColor = "color-white";
|
|
19
|
-
|
|
20
|
-
this.
|
|
21
|
-
/** [optional] Box shadow token for popover */
|
|
22
|
-
this.boxShadow = PopoverShadow.SHADOW_1;
|
|
23
|
-
/** [optional] Show or hide arrow */
|
|
16
|
+
this.borderRadius = "small" /* PopoverBorderRadius.SMALL */;
|
|
17
|
+
this.boxShadow = "shadow-1" /* PopoverShadow.SHADOW_1 */;
|
|
24
18
|
this.showArrow = false;
|
|
25
|
-
/** [optional] Sets padding for Popover container */
|
|
26
19
|
this.padding = "8px";
|
|
27
20
|
this.isVisible = false;
|
|
28
21
|
this.popoverPosition = this.position;
|
|
@@ -79,7 +72,7 @@ const ZPopoverDeprecated = class {
|
|
|
79
72
|
firstSide = "after";
|
|
80
73
|
}
|
|
81
74
|
}
|
|
82
|
-
this.popoverPosition =
|
|
75
|
+
this.popoverPosition = `${firstSide}-${secondSide}`;
|
|
83
76
|
this.isVisible = true;
|
|
84
77
|
}
|
|
85
78
|
closePopover() {
|
|
@@ -87,7 +80,7 @@ const ZPopoverDeprecated = class {
|
|
|
87
80
|
this.isVisible = false;
|
|
88
81
|
}
|
|
89
82
|
closePopoverWithKeyboard(e) {
|
|
90
|
-
if (e.key === KeyboardCode.ESC) {
|
|
83
|
+
if (e.key === "Escape" /* KeyboardCode.ESC */) {
|
|
91
84
|
this.closePopover();
|
|
92
85
|
}
|
|
93
86
|
}
|
|
@@ -97,7 +90,7 @@ const ZPopoverDeprecated = class {
|
|
|
97
90
|
event.stopPropagation();
|
|
98
91
|
}
|
|
99
92
|
handleKeyDown(event) {
|
|
100
|
-
if (event.code === KeyboardCode.ENTER) {
|
|
93
|
+
if (event.code === "Enter" /* KeyboardCode.ENTER */) {
|
|
101
94
|
this.isVisible ? this.closePopover() : this.openPopover();
|
|
102
95
|
}
|
|
103
96
|
}
|
|
@@ -110,7 +103,7 @@ const ZPopoverDeprecated = class {
|
|
|
110
103
|
}
|
|
111
104
|
render() {
|
|
112
105
|
return (h(Host, { onKeyDown: this.handleKeyDown }, h("div", { tabindex: "0", onClick: (event) => this.handleClick(event), onKeyDown: (event) => {
|
|
113
|
-
if (event.key === KeyboardCode.ENTER) {
|
|
106
|
+
if (event.key === "Enter" /* KeyboardCode.ENTER */) {
|
|
114
107
|
this.handleClick(event);
|
|
115
108
|
}
|
|
116
109
|
} }, h("slot", { name: "trigger" })), h("div", { ref: (e) => (this.popoverElem = e), class: {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, c as createEvent, h, g as getElement } from './index-a2ca4b97.js';
|
|
2
|
-
import {
|
|
3
|
-
import { a as getElementTree } from './utils-39ca028c.js';
|
|
2
|
+
import { a as getElementTree } from './utils-420e8552.js';
|
|
4
3
|
import './breakpoints-c386984e.js';
|
|
5
4
|
|
|
6
5
|
const stylesCss = ":host{--z-popover-theme--surface:var(--color-surface01);--z-popover-theme--text:var(--color-text01);--z-popover-padding:0;--z-popover-shadow-filter:drop-shadow(0 1px 2px var(--shadow-color-base));position:relative;display:none;min-width:calc(var(--space-unit) * 8);min-height:calc(var(--space-unit) * 4);align-items:center;justify-content:center;padding:var(--z-popover-padding);background:var(--z-popover-theme--surface);border-radius:var(--border-radius-small);color:var(--z-popover-theme--text);fill:currentcolor;filter:var(--z-popover-shadow-filter);font-family:var(--font-family-sans);text-align:center}:host([open][current-position]),:host([open=\"true\"][current-position]){display:flex}:host([center][current-position=\"top\"]),:host([center][current-position=\"bottom\"]){transform:translateX(-50%)}:host([center][current-position=\"right\"]),:host([center][current-position=\"left\"]){transform:translateY(-50%)}:host([current-position^=\"top\"]){margin:0 0 var(--space-unit)}:host([current-position^=\"bottom\"]){margin:var(--space-unit) 0 0}:host([current-position^=\"left\"]){margin:0 var(--space-unit) 0 0}:host([current-position^=\"right\"]){margin:0 0 0 var(--space-unit)}:host([current-position])::before{--arrow-size:6px;--arrow-edge-offset:calc(100% - var(--space-unit) - (var(--arrow-size) / 2));--arrow-center-x-offset:calc(50% - (var(--arrow-size) / 2));--arrow-center-y-offset:calc(100% - (var(--arrow-size) / 2));position:absolute;display:block;width:var(--arrow-size);height:var(--arrow-size);background:var(--z-popover-theme--surface);content:\"\";transform:rotate(45deg)}:host([show-arrow=\"false\"])::before,:host(:not([show-arrow]))::before{display:none}:host([current-position^=\"top\"])::before{top:var(--arrow-center-y-offset)}:host([current-position^=\"bottom\"])::before{bottom:var(--arrow-center-y-offset)}:host([current-position=\"top\"])::before,:host([current-position=\"bottom\"])::before{right:var(--arrow-edge-offset)}:host([current-position=\"right\"])::before,:host([current-position=\"left\"])::before{bottom:var(--arrow-edge-offset)}:host([current-position=\"right\"])::before{right:var(--arrow-center-y-offset)}:host([current-position=\"left\"])::before{left:var(--arrow-center-y-offset)}:host([current-position=\"top_right\"])::before,:host([current-position=\"bottom_right\"])::before{right:var(--arrow-edge-offset)}:host([current-position=\"top_left\"])::before,:host([current-position=\"bottom_left\"])::before{left:var(--arrow-edge-offset)}:host([current-position=\"right_top\"])::before,:host([current-position=\"left_top\"])::before{top:var(--arrow-edge-offset)}:host([current-position=\"right_top\"])::before,:host([current-position=\"right_bottom\"])::before{right:var(--arrow-center-y-offset)}:host([current-position=\"left_top\"])::before,:host([current-position=\"left_bottom\"])::before{left:var(--arrow-center-y-offset)}:host([current-position=\"right_bottom\"])::before,:host([current-position=\"left_bottom\"])::before{bottom:var(--arrow-edge-offset)}:host([center][current-position=\"top\"])::before,:host([center][current-position=\"bottom\"])::before{right:auto;left:var(--arrow-center-x-offset)}:host([center][current-position=\"right\"])::before,:host([center][current-position=\"left\"])::before{top:var(--arrow-center-x-offset);bottom:auto}::slotted(*){overflow:auto;flex:1 auto}";
|
|
@@ -91,27 +90,16 @@ const ZPopover = class {
|
|
|
91
90
|
registerInstance(this, hostRef);
|
|
92
91
|
this.positionChange = createEvent(this, "positionChange", 7);
|
|
93
92
|
this.openChange = createEvent(this, "openChange", 7);
|
|
94
|
-
|
|
95
|
-
this.position = PopoverPositions.AUTO;
|
|
96
|
-
/**
|
|
97
|
-
* The open state of the popover.
|
|
98
|
-
*/
|
|
93
|
+
this.position = "auto" /* PopoverPositions.AUTO */;
|
|
99
94
|
this.open = false;
|
|
100
|
-
|
|
101
|
-
* Whether to show popover's arrow.
|
|
102
|
-
*/
|
|
95
|
+
this.bindTo = undefined;
|
|
103
96
|
this.showArrow = false;
|
|
104
|
-
/**
|
|
105
|
-
* Whether to center the popup on the main side (according to "position").
|
|
106
|
-
*/
|
|
107
97
|
this.center = false;
|
|
108
|
-
/**
|
|
109
|
-
* Whether the popover should be closed when the user clicks outside of it or hit "ESC".
|
|
110
|
-
*/
|
|
111
98
|
this.closable = true;
|
|
99
|
+
this.currentPosition = undefined;
|
|
112
100
|
}
|
|
113
101
|
closePopoverWithKeyboard(e) {
|
|
114
|
-
if (this.closable && e.key === KeyboardCode.ESC) {
|
|
102
|
+
if (this.closable && e.key === "Escape" /* KeyboardCode.ESC */) {
|
|
115
103
|
this.open = false;
|
|
116
104
|
}
|
|
117
105
|
}
|
|
@@ -127,8 +115,15 @@ const ZPopover = class {
|
|
|
127
115
|
}
|
|
128
116
|
}
|
|
129
117
|
validatePosition(newValue) {
|
|
130
|
-
|
|
131
|
-
|
|
118
|
+
// FIXME: avoid this check and treat "AUTO" as the default case when modifying popover position
|
|
119
|
+
if (newValue && newValue !== "auto" /* PopoverPositions.AUTO */ && newValue !== "bottom" /* PopoverPositions.BOTTOM */
|
|
120
|
+
&& newValue !== "bottom_left" /* PopoverPositions.BOTTOM_LEFT */ && newValue !== "bottom_right" /* PopoverPositions.BOTTOM_RIGHT */
|
|
121
|
+
&& newValue !== "left" /* PopoverPositions.LEFT */ && newValue !== "left_bottom" /* PopoverPositions.LEFT_BOTTOM */
|
|
122
|
+
&& newValue !== "left_top" /* PopoverPositions.LEFT_TOP */ && newValue !== "right" /* PopoverPositions.RIGHT */
|
|
123
|
+
&& newValue !== "right_bottom" /* PopoverPositions.RIGHT_BOTTOM */ && newValue !== "right_top" /* PopoverPositions.RIGHT_TOP */
|
|
124
|
+
&& newValue !== "top" /* PopoverPositions.TOP */ && newValue !== "top_left" /* PopoverPositions.TOP_LEFT */
|
|
125
|
+
&& newValue !== "top_right" /* PopoverPositions.TOP_RIGHT */) {
|
|
126
|
+
this.position = "auto" /* PopoverPositions.AUTO */;
|
|
132
127
|
}
|
|
133
128
|
this.currentPosition = this.position;
|
|
134
129
|
this.positionChange.emit({ position: this.currentPosition });
|
|
@@ -194,28 +189,28 @@ const ZPopover = class {
|
|
|
194
189
|
const availableWidth = availableLeft + availableRight + boundingRect.width;
|
|
195
190
|
let position = this.currentPosition;
|
|
196
191
|
const positions = [];
|
|
197
|
-
if (this.position === PopoverPositions.AUTO) {
|
|
192
|
+
if (this.position === "auto" /* PopoverPositions.AUTO */) {
|
|
198
193
|
/**
|
|
199
194
|
* The `AUTO` position tries to place the popover in the 'safest' area,
|
|
200
195
|
* where there's more space available.
|
|
201
196
|
*/
|
|
202
197
|
if (availableLeft / availableWidth > 0.6) {
|
|
203
|
-
positions.push(PopoverPositions.LEFT);
|
|
198
|
+
positions.push("left" /* PopoverPositions.LEFT */);
|
|
204
199
|
}
|
|
205
200
|
else if (availableLeft / availableWidth < 0.4) {
|
|
206
|
-
positions.push(PopoverPositions.RIGHT);
|
|
201
|
+
positions.push("right" /* PopoverPositions.RIGHT */);
|
|
207
202
|
}
|
|
208
203
|
if (availableTop / availableHeight > 0.9) {
|
|
209
|
-
positions.unshift(PopoverPositions.TOP);
|
|
204
|
+
positions.unshift("top" /* PopoverPositions.TOP */);
|
|
210
205
|
}
|
|
211
206
|
else if (availableTop / availableHeight > 0.6) {
|
|
212
|
-
positions.push(PopoverPositions.TOP);
|
|
207
|
+
positions.push("top" /* PopoverPositions.TOP */);
|
|
213
208
|
}
|
|
214
209
|
else if (availableTop / availableHeight < 0.1) {
|
|
215
|
-
positions.unshift(PopoverPositions.BOTTOM);
|
|
210
|
+
positions.unshift("bottom" /* PopoverPositions.BOTTOM */);
|
|
216
211
|
}
|
|
217
212
|
else {
|
|
218
|
-
positions.push(PopoverPositions.BOTTOM);
|
|
213
|
+
positions.push("bottom" /* PopoverPositions.BOTTOM */);
|
|
219
214
|
}
|
|
220
215
|
position = positions.join("_");
|
|
221
216
|
}
|
|
@@ -227,17 +222,17 @@ const ZPopover = class {
|
|
|
227
222
|
const offsetLeft = boundingRect.left - relativeBoundingRect.left;
|
|
228
223
|
const offsetModifier = this.center ? 0.5 : 0;
|
|
229
224
|
const sizeModifier = this.center ? 0.5 : 0;
|
|
230
|
-
if (position === PopoverPositions.TOP || position === PopoverPositions.TOP_RIGHT) {
|
|
225
|
+
if (position === "top" /* PopoverPositions.TOP */ || position === "top_right" /* PopoverPositions.TOP_RIGHT */) {
|
|
231
226
|
style.top = "auto";
|
|
232
227
|
style.right = "auto";
|
|
233
228
|
style.bottom = `${offsetBottom + boundingRect.height}px`;
|
|
234
229
|
style.left = `${offsetLeft + boundingRect.width * offsetModifier}px`;
|
|
235
230
|
style.maxHeight = `${availableTop}px`;
|
|
236
|
-
if (position === PopoverPositions.TOP_RIGHT) {
|
|
231
|
+
if (position === "top_right" /* PopoverPositions.TOP_RIGHT */) {
|
|
237
232
|
style.maxWidth = `${availableRight + boundingRect.width * sizeModifier}px`;
|
|
238
233
|
}
|
|
239
234
|
}
|
|
240
|
-
else if (position === PopoverPositions.TOP_LEFT) {
|
|
235
|
+
else if (position === "top_left" /* PopoverPositions.TOP_LEFT */) {
|
|
241
236
|
style.top = "auto";
|
|
242
237
|
style.right = `${offsetRight + boundingRect.width * offsetModifier}px`;
|
|
243
238
|
style.bottom = `${offsetBottom + boundingRect.height}px`;
|
|
@@ -245,17 +240,17 @@ const ZPopover = class {
|
|
|
245
240
|
style.maxWidth = `${availableLeft}px`;
|
|
246
241
|
style.maxHeight = `${availableTop}px`;
|
|
247
242
|
}
|
|
248
|
-
else if (position === PopoverPositions.BOTTOM || position === PopoverPositions.BOTTOM_RIGHT) {
|
|
243
|
+
else if (position === "bottom" /* PopoverPositions.BOTTOM */ || position === "bottom_right" /* PopoverPositions.BOTTOM_RIGHT */) {
|
|
249
244
|
style.top = `${offsetTop + boundingRect.height}px`;
|
|
250
245
|
style.right = "auto";
|
|
251
246
|
style.bottom = "auto";
|
|
252
247
|
style.left = `${offsetLeft + boundingRect.width * offsetModifier}px`;
|
|
253
248
|
style.maxHeight = `${availableBottom}px`;
|
|
254
|
-
if (position === PopoverPositions.BOTTOM_RIGHT) {
|
|
249
|
+
if (position === "bottom_right" /* PopoverPositions.BOTTOM_RIGHT */) {
|
|
255
250
|
style.maxWidth = `${availableRight + boundingRect.width * sizeModifier}px`;
|
|
256
251
|
}
|
|
257
252
|
}
|
|
258
|
-
else if (position === PopoverPositions.BOTTOM_LEFT) {
|
|
253
|
+
else if (position === "bottom_left" /* PopoverPositions.BOTTOM_LEFT */) {
|
|
259
254
|
style.top = `${offsetTop + boundingRect.height}px`;
|
|
260
255
|
style.right = `${offsetRight + boundingRect.width * offsetModifier}px`;
|
|
261
256
|
style.bottom = "auto";
|
|
@@ -263,7 +258,7 @@ const ZPopover = class {
|
|
|
263
258
|
style.maxWidth = `${availableLeft}px`;
|
|
264
259
|
style.maxHeight = `${availableBottom}px`;
|
|
265
260
|
}
|
|
266
|
-
else if (position === PopoverPositions.RIGHT || position === PopoverPositions.RIGHT_BOTTOM) {
|
|
261
|
+
else if (position === "right" /* PopoverPositions.RIGHT */ || position === "right_bottom" /* PopoverPositions.RIGHT_BOTTOM */) {
|
|
267
262
|
style.top = `${offsetTop + boundingRect.height * offsetModifier}px`;
|
|
268
263
|
style.right = "auto";
|
|
269
264
|
style.bottom = "auto";
|
|
@@ -271,7 +266,7 @@ const ZPopover = class {
|
|
|
271
266
|
style.maxWidth = `${availableRight}px`;
|
|
272
267
|
style.maxHeight = `${availableBottom + boundingRect.height * sizeModifier}px`;
|
|
273
268
|
}
|
|
274
|
-
else if (position === PopoverPositions.RIGHT_TOP) {
|
|
269
|
+
else if (position === "right_top" /* PopoverPositions.RIGHT_TOP */) {
|
|
275
270
|
style.top = "auto";
|
|
276
271
|
style.right = "auto";
|
|
277
272
|
style.bottom = `${offsetBottom + boundingRect.height * offsetModifier}px`;
|
|
@@ -279,7 +274,7 @@ const ZPopover = class {
|
|
|
279
274
|
style.maxWidth = `${availableRight}px`;
|
|
280
275
|
style.maxHeight = `${availableTop + boundingRect.height * sizeModifier}px`;
|
|
281
276
|
}
|
|
282
|
-
else if (position === PopoverPositions.LEFT || position === PopoverPositions.LEFT_BOTTOM) {
|
|
277
|
+
else if (position === "left" /* PopoverPositions.LEFT */ || position === "left_bottom" /* PopoverPositions.LEFT_BOTTOM */) {
|
|
283
278
|
style.top = `${offsetTop + boundingRect.height * offsetModifier}px`;
|
|
284
279
|
style.right = `${offsetRight + boundingRect.width}px`;
|
|
285
280
|
style.bottom = "auto";
|
|
@@ -287,7 +282,7 @@ const ZPopover = class {
|
|
|
287
282
|
style.maxWidth = `${availableLeft}px`;
|
|
288
283
|
style.maxHeight = `${availableBottom + boundingRect.height * sizeModifier}px`;
|
|
289
284
|
}
|
|
290
|
-
else if (position === PopoverPositions.LEFT_TOP) {
|
|
285
|
+
else if (position === "left_top" /* PopoverPositions.LEFT_TOP */) {
|
|
291
286
|
style.top = "auto";
|
|
292
287
|
style.right = `${offsetRight + boundingRect.width}px`;
|
|
293
288
|
style.bottom = `${offsetBottom + boundingRect.height * offsetModifier}px`;
|
|
@@ -1,26 +1,18 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-a2ca4b97.js';
|
|
2
|
-
import { z as ZSectionTitleDividerPosition, D as DividerSize } from './index-9d028352.js';
|
|
3
2
|
|
|
4
3
|
const stylesCss = ":host{--z-section-title--divider-color:var(--red500);display:flex;width:fit-content;flex-direction:column;align-items:flex-start;font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host,:host ::slotted(*){box-sizing:border-box}::slotted(*){margin:0}::slotted([slot=\"secondary-title\"]){padding-bottom:calc(var(--space-unit) / 2);border-bottom:var(--border-size-large) solid var(--z-section-title--divider-color);font-size:var(--font-size-3);line-height:1.5rem;text-transform:uppercase}::slotted([slot=\"primary-title\"]){font-size:var(--font-size-6);line-height:2rem}:host([uppercase]:not([uppercase=\"false\"])) ::slotted([slot=\"primary-title\"]){text-transform:uppercase}@media (min-width: 1152px){::slotted([slot=\"primary-title\"]){font-size:var(--font-size-7);line-height:2.25rem}}";
|
|
5
4
|
|
|
6
5
|
const ZSectionTitle = class {
|
|
7
6
|
constructor(hostRef) {
|
|
8
7
|
registerInstance(this, hostRef);
|
|
9
|
-
|
|
10
|
-
* Divider position for the primary title.
|
|
11
|
-
* This prop only works if the secondary title is not set.
|
|
12
|
-
*/
|
|
13
|
-
this.dividerPosition = ZSectionTitleDividerPosition.BEFORE;
|
|
14
|
-
/**
|
|
15
|
-
* Whether the primary title text is uppercase.
|
|
16
|
-
*/
|
|
8
|
+
this.dividerPosition = "before" /* ZSectionTitleDividerPosition.BEFORE */;
|
|
17
9
|
this.uppercase = true;
|
|
18
10
|
}
|
|
19
11
|
componentWillRender() {
|
|
20
12
|
this.hasSecondaryTitle = !!this.host.querySelector("[slot=secondary-title]");
|
|
21
13
|
}
|
|
22
14
|
render() {
|
|
23
|
-
return (h(Host, null, h("slot", { name: "secondary-title" }), !this.hasSecondaryTitle && this.dividerPosition === ZSectionTitleDividerPosition.BEFORE && (h("z-divider", { size: DividerSize.LARGE
|
|
15
|
+
return (h(Host, null, h("slot", { name: "secondary-title" }), !this.hasSecondaryTitle && this.dividerPosition === "before" /* ZSectionTitleDividerPosition.BEFORE */ && (h("z-divider", { size: "large" /* DividerSize.LARGE */, color: "z-section-title--divider-color" })), h("slot", { name: "primary-title" }), !this.hasSecondaryTitle && this.dividerPosition === "after" /* ZSectionTitleDividerPosition.AFTER */ && (h("z-divider", { size: "large" /* DividerSize.LARGE */, color: "z-section-title--divider-color" }))));
|
|
24
16
|
}
|
|
25
17
|
get host() { return getElement(this); }
|
|
26
18
|
};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host, g as getElement } from './index-a2ca4b97.js';
|
|
2
|
-
import { a as getElementTree, h as handleKeyboardSubmit } from './utils-
|
|
3
|
-
import { T as ThemeVariant } from './index-9d028352.js';
|
|
2
|
+
import { a as getElementTree, h as handleKeyboardSubmit } from './utils-420e8552.js';
|
|
4
3
|
import './breakpoints-c386984e.js';
|
|
5
4
|
|
|
6
5
|
const stylesCss = ".sc-z-skip-to-content-h{position:absolute;left:-100%;height:60px;box-sizing:border-box;padding:calc(var(--space-unit) * 1.25) calc(var(--space-unit) * 3);background-color:#24f4ff;font-family:var(--font-family-sans);font-weight:var(--font-rg)}.skip-to-content-visible.sc-z-skip-to-content-h,.sc-z-skip-to-content-h:focus{position:static;display:block}.sc-z-skip-to-content-h>z-link.sc-z-skip-to-content{display:block;text-align:center}.sc-z-skip-to-content-h>z-link.link-invisible.sc-z-skip-to-content{overflow:hidden;width:0;height:0}.sc-z-skip-to-content-h>z-link.link-visible.sc-z-skip-to-content{width:initial;height:initial}.dark.sc-z-skip-to-content-h{background-color:var(--bg-grey-800);color:var(--color-white)}.light.sc-z-skip-to-content-h{border:2px solid var(--text-grey-800);background-color:var(--bg-white);color:var(--text-grey-800)}@media (min-width: 768px){.sc-z-skip-to-content-h>z-link.sc-z-skip-to-content{text-align:left}}@media (min-width: 1152px){.sc-z-skip-to-content-h>z-link.sc-z-skip-to-content{display:inline-block;padding:0 calc(var(--space-unit) * 3);border-right:1px solid var(--bg-grey-800)}.sc-z-skip-to-content-h>z-link.link-invisible.sc-z-skip-to-content{overflow:initial;width:initial;height:initial}.sc-z-skip-to-content-h>z-link.sc-z-skip-to-content:first-child{padding-left:0}.sc-z-skip-to-content-h>z-link.sc-z-skip-to-content:last-child,.dark.sc-z-skip-to-content-h>z-link.sc-z-skip-to-content:last-child,.light.sc-z-skip-to-content-h>z-link.sc-z-skip-to-content:last-child{padding-right:0;border-right:none}.dark.sc-z-skip-to-content-h>z-link.sc-z-skip-to-content{border-right:1px solid var(--bg-white)}}";
|
|
@@ -8,7 +7,7 @@ const stylesCss = ".sc-z-skip-to-content-h{position:absolute;left:-100%;height:6
|
|
|
8
7
|
const ZSkipToContent = class {
|
|
9
8
|
constructor(hostRef) {
|
|
10
9
|
registerInstance(this, hostRef);
|
|
11
|
-
|
|
10
|
+
this.variant = undefined;
|
|
12
11
|
this.links = [];
|
|
13
12
|
this.visible = false;
|
|
14
13
|
this.visibleLink = "";
|
|
@@ -52,7 +51,7 @@ const ZSkipToContent = class {
|
|
|
52
51
|
"skip-to-content-visible": this.visible,
|
|
53
52
|
} }, this.links.map((link, i) => {
|
|
54
53
|
const id = `skip-to-content-${i}`;
|
|
55
|
-
return (h("z-link", { id: id, underline: true, "aria-label": link.ariaLabel || link.label, class: `body-1-sb ${id == this.visibleLink ? "link-visible" : "link-invisible"}`, href: link.href, textcolor: this.variant === ThemeVariant.DARK ? "white" : "black", onFocus: () => (this.visibleLink = id), onClick: () => this.handleLinkClick(), onKeyUp: (e) => handleKeyboardSubmit(e, this.handleLinkClick.bind(this)) }, link.label));
|
|
54
|
+
return (h("z-link", { id: id, underline: true, "aria-label": link.ariaLabel || link.label, class: `body-1-sb ${id == this.visibleLink ? "link-visible" : "link-invisible"}`, href: link.href, textcolor: this.variant === "dark" /* ThemeVariant.DARK */ ? "white" : "black", onFocus: () => (this.visibleLink = id), onClick: () => this.handleLinkClick(), onKeyUp: (e) => handleKeyboardSubmit(e, this.handleLinkClick.bind(this)) }, link.label));
|
|
56
55
|
})));
|
|
57
56
|
}
|
|
58
57
|
get hostElement() { return getElement(this); }
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { r as registerInstance, h, g as getElement } from './index-a2ca4b97.js';
|
|
2
|
-
import {
|
|
3
|
-
import { d as convertJson, g as getDevice, h as handleKeyboardSubmit } from './utils-39ca028c.js';
|
|
2
|
+
import { d as convertJson, g as getDevice, h as handleKeyboardSubmit } from './utils-420e8552.js';
|
|
4
3
|
import './breakpoints-c386984e.js';
|
|
5
4
|
|
|
6
5
|
const stylesCss = ":host{display:block;width:inherit;font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>div{display:flex;width:inherit;flex-direction:column}main{position:relative;overflow:hidden;width:100%}main z-icon.scroll{position:absolute;z-index:10;top:50%;width:auto;margin:0 var(--space-unit);cursor:pointer;fill:var(--color-primary01);transition:0.6s ease}main .scroll.disabled{opacity:0.5;pointer-events:none}main .scroll.right{right:0}#slides{display:flex;flex-wrap:wrap;line-height:0px;overflow-y:hidden;transition:all 300ms}footer{display:grid;width:100%;height:56px;align-items:center;border-top:var(--border-base) solid var(--color-surface02);grid-template:2 / 2;grid-template-areas:\"center center\" \"left right\"}footer>div{width:100%;align-items:center}footer .footer-center{grid-area:center}footer .footer-left{grid-area:left}footer .footer-right{grid-area:right}footer .bullet-container{display:flex;min-height:60px;align-items:center;justify-content:center;margin:0 auto}footer .bullet-container .bullet{width:8px;height:8px;margin:var(--space-unit) 2px;background-color:var(--bg-neutral-150);border-radius:50%;pointer-events:none}footer .bullet-container .bullet.selected{background-color:var(--bg-neutral-400)}@media only screen and (min-width: 768px){footer{height:76px;border-top:var(--border-base) solid var(--color-surface02);grid-template:1 / 1fr 2fr 1fr;grid-template-areas:\"left center right\"}footer .bullet-container .bullet{width:10px;height:10px;margin:var(--space-unit) 3px}}@media only screen and (min-width: 1025px){main z-icon.scroll{margin:0 10px}footer .bullet-container .bullet{width:16px;height:16px;margin:var(--space-unit) calc(var(--space-unit) * 0.5);cursor:pointer;pointer-events:auto}}";
|
|
@@ -16,6 +15,9 @@ function isStringArray(data) {
|
|
|
16
15
|
const ZSlideshow = class {
|
|
17
16
|
constructor(hostRef) {
|
|
18
17
|
registerInstance(this, hostRef);
|
|
18
|
+
this.slideshowid = undefined;
|
|
19
|
+
this.data = undefined;
|
|
20
|
+
this.device = undefined;
|
|
19
21
|
this.currentSlide = 0;
|
|
20
22
|
}
|
|
21
23
|
watchData() {
|
|
@@ -72,9 +74,9 @@ const ZSlideshow = class {
|
|
|
72
74
|
}
|
|
73
75
|
getBulletDimension() {
|
|
74
76
|
switch (this.device) {
|
|
75
|
-
case Device.MOBILE
|
|
77
|
+
case "mobile" /* Device.MOBILE */:
|
|
76
78
|
return 24;
|
|
77
|
-
case Device.TABLET
|
|
79
|
+
case "tablet" /* Device.TABLET */:
|
|
78
80
|
return 32;
|
|
79
81
|
default:
|
|
80
82
|
return 40;
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
import { r as registerInstance, h, H as Host } from './index-a2ca4b97.js';
|
|
2
|
-
import { M as StatusTagStatus } from './index-9d028352.js';
|
|
3
2
|
|
|
4
3
|
const stylesCss = ":host{--z-icon-width:14px;--z-icon-height:14px;display:inline-flex;height:22px;align-items:center;padding-right:4px;padding-left:4px;border-radius:var(--border-radius);font-family:var(--font-family-sans);text-transform:uppercase}:host(.expandable)>z-icon{margin-right:0;transition:margin-right 0.3s ease-out 0.2s}:host(:not(.expandable))>z-icon:not(:last-child),:host(.expandable:hover)>z-icon:not(:last-child){margin-right:var(--space-unit);transition:margin-right 0.3s ease-out 0s}:host(.expandable)>span{overflow:hidden;max-width:0;transition:max-width 0.3s ease-out 0.2s;white-space:nowrap}:host(.expandable:hover)>span{max-width:20rem;transition:max-width 0.3s ease-out 0s}:host([status=\"warning\"]){background-color:var(--status-warning-yellow-lighter);color:var(--status-warning-yellow-dark);fill:var(--status-warning-yellow-dark)}:host([status=\"warning\"].light){background-color:transparent;color:var(--status-warning-yellow-dark);fill:var(--status-warning-yellow-dark)}:host([status=\"warning\"].dark){background-color:var(--status-warning-yellow-dark);color:var(--status-warning-yellow-lighter);fill:var(--status-warning-yellow-lighter)}:host([status=\"error\"]){background-color:var(--status-error-red-lighter);color:var(--status-error-red-dark);fill:var(--status-error-red-dark)}:host([status=\"error\"].light){background-color:transparent;color:var(--status-error-red-dark);fill:var(--status-error-red-dark)}:host([status=\"error\"].dark){background-color:var(--status-error-red-dark);color:var(--status-error-red-lighter);fill:var(--status-error-red-lighter)}:host([status=\"success\"]){background-color:var(--status-success-green-lighter);color:var(--status-success-green-dark);fill:var(--status-success-green-dark)}:host([status=\"success\"].light){background-color:transparent;color:var(--status-success-green-dark);fill:var(--status-success-green-dark)}:host([status=\"success\"].dark){background-color:var(--status-success-green-dark);color:var(--status-success-green-lighter);fill:var(--status-success-green-lighter)}:host([status=\"default\"]){background-color:var(--myz-blue-lighter);color:var(--myz-blue-dark);fill:var(--myz-blue-dark)}:host([status=\"default\"].light){background-color:transparent;color:var(--myz-blue-dark);fill:var(--myz-blue-dark)}:host([status=\"default\"].dark){background-color:var(--myz-blue-dark);color:var(--myz-blue-lighter);fill:var(--myz-blue-lighter)}:host([status=\"neutral\"]){background-color:var(--bg-grey-050);color:var(--text-grey-800);fill:var(--text-grey-800)}:host([status=\"neutral\"].light){background-color:transparent;color:var(--text-grey-800);fill:var(--text-grey-800)}:host([status=\"neutral\"].dark){background-color:var(--bg-grey-800);color:var(--text-white);fill:var(--text-white)}";
|
|
5
4
|
|
|
6
5
|
const ZStatusTag = class {
|
|
7
6
|
constructor(hostRef) {
|
|
8
7
|
registerInstance(this, hostRef);
|
|
9
|
-
|
|
10
|
-
this.
|
|
8
|
+
this.icon = undefined;
|
|
9
|
+
this.text = undefined;
|
|
10
|
+
this.expandable = undefined;
|
|
11
|
+
this.status = "default" /* StatusTagStatus.DEFAULT */;
|
|
12
|
+
this.variant = undefined;
|
|
11
13
|
if (!this.icon && !this.text) {
|
|
12
14
|
console.warn("z-status-tag must contain at least one prop between icon and text");
|
|
13
15
|
}
|
|
@@ -5,6 +5,10 @@ const stylesCss = ":host{position:relative;width:calc(var(--space-unit) * 5);fon
|
|
|
5
5
|
const ZStepperItem = class {
|
|
6
6
|
constructor(hostRef) {
|
|
7
7
|
registerInstance(this, hostRef);
|
|
8
|
+
this.index = undefined;
|
|
9
|
+
this.href = undefined;
|
|
10
|
+
this.pressed = undefined;
|
|
11
|
+
this.disabled = undefined;
|
|
8
12
|
}
|
|
9
13
|
render() {
|
|
10
14
|
if (this.href) {
|