@zanichelli/albe-web-components 6.3.0 → 6.3.2-rc1
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 +2 -0
- package/dist/cjs/index-e3299e0a.js +18 -74
- package/dist/cjs/{index-f08f7171.js → index-fa110f37.js} +13 -54
- package/dist/cjs/index.cjs.js +2 -26
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{utils-73ead59e.js → utils-600bad93.js} +1 -1
- package/dist/cjs/{utils-7fde0c53.js → utils-8bc9056f.js} +1 -1
- package/dist/cjs/web-components-library.cjs.js +1 -1
- package/dist/cjs/z-anchor-navigation.cjs.entry.js +1 -1
- package/dist/cjs/{z-logo.cjs.entry.js → z-app-switcher_2.cjs.entry.js} +23 -0
- package/dist/cjs/z-app-topbar.cjs.entry.js +1 -1
- package/dist/cjs/z-aria-alert.cjs.entry.js +1 -1
- package/dist/cjs/z-avatar.cjs.entry.js +1 -1
- package/dist/cjs/z-button.cjs.entry.js +1 -1
- package/dist/cjs/z-card.cjs.entry.js +1 -1
- package/dist/cjs/z-carousel.cjs.entry.js +1 -1
- package/dist/cjs/z-chip.cjs.entry.js +2 -2
- package/dist/cjs/z-combobox.cjs.entry.js +2 -2
- package/dist/cjs/z-contextual-menu.cjs.entry.js +2 -2
- package/dist/cjs/z-cover-hero.cjs.entry.js +1 -1
- package/dist/cjs/z-date-picker.cjs.entry.js +2 -2
- package/dist/cjs/z-divider.cjs.entry.js +1 -1
- package/dist/cjs/z-file-upload.cjs.entry.js +2 -2
- package/dist/cjs/z-file.cjs.entry.js +2 -2
- package/dist/cjs/z-info-reveal.cjs.entry.js +1 -1
- package/dist/cjs/z-input_2.cjs.entry.js +2 -2
- package/dist/cjs/z-list_3.cjs.entry.js +1 -1
- package/dist/cjs/z-menu-dropdown.cjs.entry.js +59 -0
- package/dist/cjs/z-messages-pocket.cjs.entry.js +1 -1
- package/dist/cjs/z-modal-login.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-alert.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-dictionary.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-footer.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-card-info.cjs.entry.js +3 -3
- package/dist/cjs/z-myz-card_4.cjs.entry.js +1 -1
- package/dist/cjs/z-myz-list-item.cjs.entry.js +2 -2
- package/dist/cjs/z-myz-list.cjs.entry.js +35 -0
- package/dist/cjs/z-navigation-tab-link.cjs.entry.js +1 -1
- package/dist/cjs/z-navigation-tab.cjs.entry.js +1 -1
- package/dist/cjs/z-navigation-tabs.cjs.entry.js +1 -1
- package/dist/cjs/z-offcanvas.cjs.entry.js +1 -1
- package/dist/cjs/z-otp.cjs.entry.js +1 -1
- package/dist/cjs/z-pagination.cjs.entry.js +1 -1
- package/dist/cjs/z-pocket_3.cjs.entry.js +2 -2
- package/dist/cjs/z-popover.cjs.entry.js +22 -22
- package/dist/cjs/z-range-picker.cjs.entry.js +2 -2
- package/dist/cjs/z-section-title.cjs.entry.js +1 -1
- package/dist/cjs/{z-input-label_2.cjs.entry.js → z-select.cjs.entry.js} +2 -17
- package/dist/cjs/z-skip-to-content.cjs.entry.js +2 -2
- package/dist/cjs/z-slideshow.cjs.entry.js +2 -2
- package/dist/cjs/z-table-cell.cjs.entry.js +1 -1
- package/dist/cjs/z-table-header.cjs.entry.js +3 -3
- package/dist/cjs/z-table-row.cjs.entry.js +1 -1
- package/dist/cjs/z-table.cjs.entry.js +1 -1
- package/dist/cjs/z-toast-notification-list.cjs.entry.js +1 -1
- package/dist/cjs/z-toast-notification.cjs.entry.js +1 -1
- package/dist/cjs/z-toggle-switch.cjs.entry.js +2 -2
- package/dist/cjs/z-tooltip.cjs.entry.js +2 -2
- package/dist/collection/beans/index.js +13 -54
- package/dist/collection/collection-manifest.json +0 -17
- package/dist/collection/components/file-upload/z-file/index.js +2 -2
- package/dist/collection/components/notification/z-tooltip/index.js +6 -6
- package/dist/collection/components/z-contextual-menu/index.js +6 -6
- package/dist/collection/components/z-popover/index.js +25 -25
- package/dist/collection/components/z-table/z-table-header/index.js +2 -2
- package/dist/collection/snowflakes/myz/card/z-myz-card-info/index.js +2 -2
- package/dist/esm/{index-aee91593.js → index-968a240f.js} +14 -55
- package/dist/esm/index-a2ca4b97.js +18 -74
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{utils-77c5c75d.js → utils-151f0ab4.js} +1 -1
- package/dist/esm/{utils-5dc8ce33.js → utils-ccb4d66f.js} +2 -2
- package/dist/esm/web-components-library.js +1 -1
- package/dist/esm/z-anchor-navigation.entry.js +1 -1
- package/dist/esm/{z-logo.entry.js → z-app-switcher_2.entry.js} +24 -2
- package/dist/esm/z-app-topbar.entry.js +1 -1
- package/dist/esm/z-aria-alert.entry.js +1 -1
- package/dist/esm/z-avatar.entry.js +1 -1
- package/dist/esm/z-button.entry.js +1 -1
- package/dist/esm/z-card.entry.js +1 -1
- package/dist/esm/z-carousel.entry.js +1 -1
- package/dist/esm/z-chip.entry.js +2 -2
- package/dist/esm/z-combobox.entry.js +2 -2
- package/dist/esm/z-contextual-menu.entry.js +2 -2
- package/dist/esm/z-cover-hero.entry.js +1 -1
- package/dist/esm/z-date-picker.entry.js +2 -2
- package/dist/esm/z-divider.entry.js +1 -1
- package/dist/esm/z-file-upload.entry.js +2 -2
- package/dist/esm/z-file.entry.js +2 -2
- package/dist/esm/z-info-reveal.entry.js +1 -1
- package/dist/esm/z-input_2.entry.js +2 -2
- package/dist/esm/z-list_3.entry.js +1 -1
- package/dist/esm/z-menu-dropdown.entry.js +55 -0
- package/dist/esm/z-messages-pocket.entry.js +1 -1
- package/dist/esm/z-modal-login.entry.js +1 -1
- package/dist/esm/z-myz-card-alert.entry.js +1 -1
- package/dist/esm/z-myz-card-dictionary.entry.js +1 -1
- package/dist/esm/z-myz-card-footer.entry.js +1 -1
- package/dist/esm/z-myz-card-info.entry.js +3 -3
- package/dist/esm/z-myz-card_4.entry.js +1 -1
- package/dist/esm/z-myz-list-item.entry.js +2 -2
- package/dist/esm/z-myz-list.entry.js +31 -0
- package/dist/esm/z-navigation-tab-link.entry.js +1 -1
- package/dist/esm/z-navigation-tab.entry.js +1 -1
- package/dist/esm/z-navigation-tabs.entry.js +1 -1
- package/dist/esm/z-offcanvas.entry.js +1 -1
- package/dist/esm/z-otp.entry.js +1 -1
- package/dist/esm/z-pagination.entry.js +1 -1
- package/dist/esm/z-pocket_3.entry.js +2 -2
- package/dist/esm/z-popover.entry.js +22 -22
- package/dist/esm/z-range-picker.entry.js +2 -2
- package/dist/esm/z-section-title.entry.js +1 -1
- package/dist/esm/{z-input-label_2.entry.js → z-select.entry.js} +4 -18
- package/dist/esm/z-skip-to-content.entry.js +2 -2
- package/dist/esm/z-slideshow.entry.js +2 -2
- package/dist/esm/z-table-cell.entry.js +1 -1
- package/dist/esm/z-table-header.entry.js +3 -3
- package/dist/esm/z-table-row.entry.js +1 -1
- package/dist/esm/z-table.entry.js +1 -1
- package/dist/esm/z-toast-notification-list.entry.js +1 -1
- package/dist/esm/z-toast-notification.entry.js +1 -1
- package/dist/esm/z-toggle-switch.entry.js +2 -2
- package/dist/esm/z-tooltip.entry.js +2 -2
- package/dist/types/beans/index.d.ts +1 -60
- 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 +8 -1057
- package/dist/web-components-library/index.esm.js +1 -1
- package/dist/web-components-library/{p-a581c1c5.entry.js → p-009c9f67.entry.js} +1 -1
- package/{www/build/p-b08f221e.entry.js → dist/web-components-library/p-01f001fd.entry.js} +1 -1
- package/dist/web-components-library/{p-6a9c793d.entry.js → p-07e18572.entry.js} +1 -1
- package/{www/build/p-d9a4ad63.entry.js → dist/web-components-library/p-0843b0e7.entry.js} +1 -1
- package/dist/web-components-library/{p-2b89c2ad.entry.js → p-0fa4b50b.entry.js} +1 -1
- package/dist/web-components-library/{p-43cc457f.entry.js → p-1b6279a6.entry.js} +1 -1
- package/dist/web-components-library/{p-b5eac462.entry.js → p-1ba8d432.entry.js} +1 -1
- package/dist/web-components-library/{p-0602a085.entry.js → p-20a3247c.entry.js} +1 -1
- package/dist/web-components-library/{p-0f28f07e.entry.js → p-214b6cee.entry.js} +1 -1
- package/dist/web-components-library/{p-e581d022.entry.js → p-26f834e5.entry.js} +1 -1
- package/{www/build/p-6eb3140b.entry.js → dist/web-components-library/p-279655eb.entry.js} +1 -1
- package/{www/build/p-08b00282.entry.js → dist/web-components-library/p-2acd6a51.entry.js} +1 -1
- package/dist/web-components-library/{p-57ffb8b0.entry.js → p-2d1b6c3c.entry.js} +1 -1
- package/dist/web-components-library/{p-279b422a.entry.js → p-33352f9e.entry.js} +1 -1
- package/dist/web-components-library/{p-8fee871a.entry.js → p-34c26207.entry.js} +1 -1
- package/dist/web-components-library/{p-db1a9a07.entry.js → p-38a3cf3b.entry.js} +1 -1
- package/dist/web-components-library/{p-07e7895c.entry.js → p-3a468aa9.entry.js} +1 -1
- package/dist/web-components-library/p-411cbcd6.entry.js +1 -0
- package/dist/web-components-library/{p-043cb10a.entry.js → p-475ca461.entry.js} +1 -1
- package/dist/web-components-library/{p-4a322ca6.entry.js → p-496863be.entry.js} +1 -1
- package/dist/web-components-library/p-51e308ca.entry.js +1 -0
- package/dist/web-components-library/p-5921901c.entry.js +1 -0
- package/dist/web-components-library/{p-42df9cbd.entry.js → p-59cfee8d.entry.js} +1 -1
- package/dist/web-components-library/{p-56cfbcf3.entry.js → p-5dd9a2c6.entry.js} +1 -1
- package/dist/web-components-library/{p-3b1c4366.entry.js → p-67d6cfcb.entry.js} +1 -1
- package/dist/web-components-library/p-682528b2.entry.js +1 -0
- package/dist/web-components-library/{p-c24c91c8.entry.js → p-6b1a5309.entry.js} +1 -1
- package/{www/build/p-0b1225e8.entry.js → dist/web-components-library/p-7af991f5.entry.js} +1 -1
- package/dist/web-components-library/{p-a5bf7e8e.entry.js → p-8980398c.entry.js} +1 -1
- package/dist/web-components-library/{p-485983bb.entry.js → p-8b960526.entry.js} +1 -1
- package/dist/web-components-library/{p-248d0023.entry.js → p-8bf0844b.entry.js} +1 -1
- package/dist/web-components-library/{p-e83f592d.entry.js → p-8c105bd1.entry.js} +1 -1
- package/dist/web-components-library/{p-b34dbcd0.entry.js → p-8f46e548.entry.js} +1 -1
- package/{www/build/p-4c9393e7.entry.js → dist/web-components-library/p-8ffc17b7.entry.js} +1 -1
- package/dist/web-components-library/{p-0fc0019a.entry.js → p-93dc6d51.entry.js} +1 -1
- package/{www/build/p-e08e7e78.entry.js → dist/web-components-library/p-95b8f109.entry.js} +1 -1
- package/dist/web-components-library/{p-db234892.entry.js → p-9965827d.entry.js} +1 -1
- package/dist/web-components-library/{p-323ae109.entry.js → p-9c28b8fc.entry.js} +1 -1
- package/dist/web-components-library/p-9c338aeb.entry.js +1 -0
- package/dist/web-components-library/{p-1f8c947e.entry.js → p-9ed27651.entry.js} +1 -1
- package/dist/web-components-library/p-a23e9115.js +1 -0
- package/dist/web-components-library/p-a2b67e2d.entry.js +1 -0
- package/{www/build/p-1c135986.entry.js → dist/web-components-library/p-a82ea410.entry.js} +1 -1
- package/{www/build/p-9b7c02b6.entry.js → dist/web-components-library/p-b33f5e6a.entry.js} +1 -1
- package/{www/build/p-bee26f96.js → dist/web-components-library/p-b3c29822.js} +1 -1
- package/dist/web-components-library/{p-69619cc8.entry.js → p-b6f36170.entry.js} +1 -1
- package/dist/web-components-library/{p-1d943c18.entry.js → p-bdc6f2e5.entry.js} +1 -1
- package/dist/web-components-library/{p-05da8d08.entry.js → p-beba3e67.entry.js} +1 -1
- package/dist/web-components-library/p-c25b0b2a.entry.js +1 -0
- package/dist/web-components-library/p-cd43f80d.js +1 -0
- package/dist/web-components-library/{p-5cb73092.entry.js → p-db3c8e3e.entry.js} +1 -1
- package/dist/web-components-library/p-e40b16fa.entry.js +1 -0
- package/dist/web-components-library/{p-d22d4807.entry.js → p-f20d1242.entry.js} +1 -1
- package/dist/web-components-library/web-components-library.css +1 -1
- package/dist/web-components-library/web-components-library.esm.js +1 -1
- package/package.json +1 -1
- package/react/components.d.ts +0 -17
- package/react/components.js +2 -20
- package/react/components.js.map +1 -1
- package/www/build/index.esm.js +1 -1
- package/www/build/{p-a581c1c5.entry.js → p-009c9f67.entry.js} +1 -1
- package/{dist/web-components-library/p-b08f221e.entry.js → www/build/p-01f001fd.entry.js} +1 -1
- package/www/build/{p-6a9c793d.entry.js → p-07e18572.entry.js} +1 -1
- package/{dist/web-components-library/p-d9a4ad63.entry.js → www/build/p-0843b0e7.entry.js} +1 -1
- package/www/build/{p-2b89c2ad.entry.js → p-0fa4b50b.entry.js} +1 -1
- package/www/build/{p-43cc457f.entry.js → p-1b6279a6.entry.js} +1 -1
- package/www/build/{p-b5eac462.entry.js → p-1ba8d432.entry.js} +1 -1
- package/www/build/{p-0602a085.entry.js → p-20a3247c.entry.js} +1 -1
- package/www/build/{p-0f28f07e.entry.js → p-214b6cee.entry.js} +1 -1
- package/www/build/{p-e581d022.entry.js → p-26f834e5.entry.js} +1 -1
- package/{dist/web-components-library/p-6eb3140b.entry.js → www/build/p-279655eb.entry.js} +1 -1
- package/{dist/web-components-library/p-08b00282.entry.js → www/build/p-2acd6a51.entry.js} +1 -1
- package/www/build/{p-57ffb8b0.entry.js → p-2d1b6c3c.entry.js} +1 -1
- package/www/build/p-32d42cfa.js +129 -0
- package/www/build/{p-279b422a.entry.js → p-33352f9e.entry.js} +1 -1
- package/www/build/{p-8fee871a.entry.js → p-34c26207.entry.js} +1 -1
- package/www/build/{p-db1a9a07.entry.js → p-38a3cf3b.entry.js} +1 -1
- package/www/build/{p-07e7895c.entry.js → p-3a468aa9.entry.js} +1 -1
- package/www/build/p-411cbcd6.entry.js +1 -0
- package/www/build/p-43a653ba.css +1802 -0
- package/www/build/{p-043cb10a.entry.js → p-475ca461.entry.js} +1 -1
- package/www/build/{p-4a322ca6.entry.js → p-496863be.entry.js} +1 -1
- package/www/build/p-51e308ca.entry.js +1 -0
- package/www/build/p-5921901c.entry.js +1 -0
- package/www/build/{p-42df9cbd.entry.js → p-59cfee8d.entry.js} +1 -1
- package/www/build/{p-56cfbcf3.entry.js → p-5dd9a2c6.entry.js} +1 -1
- package/www/build/{p-3b1c4366.entry.js → p-67d6cfcb.entry.js} +1 -1
- package/www/build/p-682528b2.entry.js +1 -0
- package/www/build/{p-c24c91c8.entry.js → p-6b1a5309.entry.js} +1 -1
- package/{dist/web-components-library/p-0b1225e8.entry.js → www/build/p-7af991f5.entry.js} +1 -1
- package/www/build/{p-a5bf7e8e.entry.js → p-8980398c.entry.js} +1 -1
- package/www/build/{p-485983bb.entry.js → p-8b960526.entry.js} +1 -1
- package/www/build/{p-248d0023.entry.js → p-8bf0844b.entry.js} +1 -1
- package/www/build/{p-e83f592d.entry.js → p-8c105bd1.entry.js} +1 -1
- package/www/build/{p-b34dbcd0.entry.js → p-8f46e548.entry.js} +1 -1
- package/{dist/web-components-library/p-4c9393e7.entry.js → www/build/p-8ffc17b7.entry.js} +1 -1
- package/www/build/{p-0fc0019a.entry.js → p-93dc6d51.entry.js} +1 -1
- package/{dist/web-components-library/p-e08e7e78.entry.js → www/build/p-95b8f109.entry.js} +1 -1
- package/www/build/{p-db234892.entry.js → p-9965827d.entry.js} +1 -1
- package/www/build/{p-323ae109.entry.js → p-9c28b8fc.entry.js} +1 -1
- package/www/build/p-9c338aeb.entry.js +1 -0
- package/www/build/{p-1f8c947e.entry.js → p-9ed27651.entry.js} +1 -1
- package/www/build/p-a23e9115.js +1 -0
- package/www/build/p-a2b67e2d.entry.js +1 -0
- package/{dist/web-components-library/p-1c135986.entry.js → www/build/p-a82ea410.entry.js} +1 -1
- package/{dist/web-components-library/p-9b7c02b6.entry.js → www/build/p-b33f5e6a.entry.js} +1 -1
- package/{dist/web-components-library/p-bee26f96.js → www/build/p-b3c29822.js} +1 -1
- package/www/build/{p-69619cc8.entry.js → p-b6f36170.entry.js} +1 -1
- package/www/build/{p-1d943c18.entry.js → p-bdc6f2e5.entry.js} +1 -1
- package/www/build/{p-05da8d08.entry.js → p-beba3e67.entry.js} +1 -1
- package/www/build/p-c25b0b2a.entry.js +1 -0
- package/www/build/p-cd43f80d.js +1 -0
- package/www/build/{p-5cb73092.entry.js → p-db3c8e3e.entry.js} +1 -1
- package/www/build/p-e40b16fa.entry.js +1 -0
- package/www/build/{p-d22d4807.entry.js → p-f20d1242.entry.js} +1 -1
- package/www/build/web-components-library.css +1 -1
- package/www/build/web-components-library.esm.js +1 -1
- package/www/index.html +1 -1
- package/dist/cjs/z-app-switcher.cjs.entry.js +0 -29
- package/dist/cjs/z-button-deprecated.cjs.entry.js +0 -41
- package/dist/cjs/z-button-filter.cjs.entry.js +0 -50
- package/dist/cjs/z-candybar.cjs.entry.js +0 -19
- package/dist/cjs/z-chip-deprecated.cjs.entry.js +0 -22
- package/dist/cjs/z-cookiebar.cjs.entry.js +0 -41
- package/dist/cjs/z-footer-link_3.cjs.entry.js +0 -49
- package/dist/cjs/z-footer.cjs.entry.js +0 -104
- package/dist/cjs/z-input-deprecated.cjs.entry.js +0 -261
- package/dist/cjs/z-menu-dropdown_2.cjs.entry.js +0 -88
- package/dist/cjs/z-myz-topbar.cjs.entry.js +0 -190
- package/dist/cjs/z-pagination-bar.cjs.entry.js +0 -116
- package/dist/cjs/z-pagination-page.cjs.entry.js +0 -27
- package/dist/cjs/z-popover-deprecated.cjs.entry.js +0 -135
- package/dist/cjs/z-status-tag.cjs.entry.js +0 -29
- package/dist/cjs/z-tooltip-deprecated.cjs.entry.js +0 -263
- package/dist/collection/components/footer/z-footer/index.js +0 -256
- package/dist/collection/components/footer/z-footer/styles.css +0 -242
- package/dist/collection/components/footer/z-footer-link/index.js +0 -42
- package/dist/collection/components/footer/z-footer-link/styles.css +0 -25
- package/dist/collection/components/footer/z-footer-section/index.js +0 -53
- package/dist/collection/components/footer/z-footer-section/styles.css +0 -150
- package/dist/collection/components/footer/z-footer-social/index.js +0 -73
- package/dist/collection/components/footer/z-footer-social/styles.css +0 -15
- package/dist/collection/components/notification/z-candybar/index.js +0 -21
- package/dist/collection/components/notification/z-candybar/styles.css +0 -55
- package/dist/collection/components/notification/z-cookiebar/index.js +0 -110
- package/dist/collection/components/notification/z-cookiebar/styles.css +0 -108
- package/dist/collection/deprecated/pagination/z-pagination-bar/index.js +0 -271
- package/dist/collection/deprecated/pagination/z-pagination-bar/styles.css +0 -22
- package/dist/collection/deprecated/pagination/z-pagination-page/index.js +0 -138
- package/dist/collection/deprecated/pagination/z-pagination-page/styles.css +0 -57
- package/dist/collection/deprecated/z-button-deprecated/index.js +0 -226
- package/dist/collection/deprecated/z-button-deprecated/styles.css +0 -231
- package/dist/collection/deprecated/z-button-filter/index.js +0 -160
- package/dist/collection/deprecated/z-button-filter/styles.css +0 -64
- package/dist/collection/deprecated/z-chip-deprecated/index.js +0 -59
- package/dist/collection/deprecated/z-chip-deprecated/styles.css +0 -17
- package/dist/collection/deprecated/z-input-deprecated/index.js +0 -810
- package/dist/collection/deprecated/z-input-deprecated/styles.css +0 -282
- package/dist/collection/deprecated/z-input-label/index.js +0 -78
- package/dist/collection/deprecated/z-input-label/styles.css +0 -16
- package/dist/collection/deprecated/z-popover-deprecated/index.js +0 -306
- package/dist/collection/deprecated/z-popover-deprecated/styles.css +0 -235
- package/dist/collection/deprecated/z-status-tag/index.js +0 -130
- package/dist/collection/deprecated/z-status-tag/styles.css +0 -131
- package/dist/collection/deprecated/z-tooltip-deprecated/index.js +0 -379
- package/dist/collection/deprecated/z-tooltip-deprecated/styles.css +0 -128
- package/dist/collection/snowflakes/myz/topbar/index.js +0 -398
- package/dist/collection/snowflakes/myz/topbar/styles.css +0 -574
- package/dist/esm/z-app-switcher.entry.js +0 -25
- package/dist/esm/z-button-deprecated.entry.js +0 -37
- package/dist/esm/z-button-filter.entry.js +0 -46
- package/dist/esm/z-candybar.entry.js +0 -15
- package/dist/esm/z-chip-deprecated.entry.js +0 -18
- package/dist/esm/z-cookiebar.entry.js +0 -37
- package/dist/esm/z-footer-link_3.entry.js +0 -43
- package/dist/esm/z-footer.entry.js +0 -100
- package/dist/esm/z-input-deprecated.entry.js +0 -257
- package/dist/esm/z-menu-dropdown_2.entry.js +0 -83
- package/dist/esm/z-myz-topbar.entry.js +0 -186
- package/dist/esm/z-pagination-bar.entry.js +0 -112
- package/dist/esm/z-pagination-page.entry.js +0 -23
- package/dist/esm/z-popover-deprecated.entry.js +0 -131
- package/dist/esm/z-status-tag.entry.js +0 -25
- package/dist/esm/z-tooltip-deprecated.entry.js +0 -259
- package/dist/types/components/footer/z-footer/index.d.ts +0 -46
- package/dist/types/components/footer/z-footer-link/index.d.ts +0 -8
- package/dist/types/components/footer/z-footer-section/index.d.ts +0 -10
- package/dist/types/components/footer/z-footer-social/index.d.ts +0 -9
- package/dist/types/components/notification/z-candybar/index.d.ts +0 -6
- package/dist/types/components/notification/z-cookiebar/index.d.ts +0 -16
- package/dist/types/deprecated/pagination/z-pagination-bar/index.d.ts +0 -40
- package/dist/types/deprecated/pagination/z-pagination-page/index.d.ts +0 -15
- package/dist/types/deprecated/z-button-deprecated/index.d.ts +0 -28
- package/dist/types/deprecated/z-button-filter/index.d.ts +0 -22
- package/dist/types/deprecated/z-chip-deprecated/index.d.ts +0 -8
- package/dist/types/deprecated/z-input-deprecated/index.d.ts +0 -91
- package/dist/types/deprecated/z-input-label/index.d.ts +0 -9
- package/dist/types/deprecated/z-popover-deprecated/index.d.ts +0 -33
- package/dist/types/deprecated/z-status-tag/index.d.ts +0 -15
- package/dist/types/deprecated/z-tooltip-deprecated/index.d.ts +0 -41
- package/dist/types/snowflakes/myz/topbar/index.d.ts +0 -59
- package/dist/web-components-library/p-233863a0.entry.js +0 -1
- package/dist/web-components-library/p-30fcd62b.js +0 -1
- package/dist/web-components-library/p-35739670.entry.js +0 -1
- package/dist/web-components-library/p-3a0d3e3d.entry.js +0 -1
- package/dist/web-components-library/p-3dedb985.entry.js +0 -1
- package/dist/web-components-library/p-3fa39344.entry.js +0 -1
- package/dist/web-components-library/p-442b8b35.entry.js +0 -1
- package/dist/web-components-library/p-51b665db.entry.js +0 -1
- package/dist/web-components-library/p-5c6108bb.entry.js +0 -1
- package/dist/web-components-library/p-674135eb.entry.js +0 -1
- package/dist/web-components-library/p-686545fa.entry.js +0 -1
- package/dist/web-components-library/p-80f54971.entry.js +0 -1
- package/dist/web-components-library/p-9c80c9d1.entry.js +0 -1
- package/dist/web-components-library/p-9ecf936d.js +0 -1
- package/dist/web-components-library/p-ae79573a.entry.js +0 -1
- package/dist/web-components-library/p-b6f47ee9.entry.js +0 -1
- package/dist/web-components-library/p-b9a69a90.entry.js +0 -1
- package/dist/web-components-library/p-bfa29a89.entry.js +0 -1
- package/dist/web-components-library/p-c2d1785b.entry.js +0 -1
- package/dist/web-components-library/p-d523aa11.entry.js +0 -1
- package/dist/web-components-library/p-d8e17d3a.entry.js +0 -1
- package/dist/web-components-library/p-de47b4db.entry.js +0 -1
- package/dist/web-components-library/p-edd64dee.entry.js +0 -1
- package/dist/web-components-library/p-fb7d33f2.entry.js +0 -1
- package/www/build/p-233863a0.entry.js +0 -1
- package/www/build/p-30fcd62b.js +0 -1
- package/www/build/p-35739670.entry.js +0 -1
- package/www/build/p-3a0d3e3d.entry.js +0 -1
- package/www/build/p-3dedb985.entry.js +0 -1
- package/www/build/p-3fa39344.entry.js +0 -1
- package/www/build/p-442b8b35.entry.js +0 -1
- package/www/build/p-4c9c83c0.css +0 -1
- package/www/build/p-51b665db.entry.js +0 -1
- package/www/build/p-53293a62.js +0 -1
- package/www/build/p-5c6108bb.entry.js +0 -1
- package/www/build/p-674135eb.entry.js +0 -1
- package/www/build/p-686545fa.entry.js +0 -1
- package/www/build/p-80f54971.entry.js +0 -1
- package/www/build/p-9c80c9d1.entry.js +0 -1
- package/www/build/p-9ecf936d.js +0 -1
- package/www/build/p-ae79573a.entry.js +0 -1
- package/www/build/p-b6f47ee9.entry.js +0 -1
- package/www/build/p-b9a69a90.entry.js +0 -1
- package/www/build/p-bfa29a89.entry.js +0 -1
- package/www/build/p-c2d1785b.entry.js +0 -1
- package/www/build/p-d523aa11.entry.js +0 -1
- package/www/build/p-d8e17d3a.entry.js +0 -1
- package/www/build/p-de47b4db.entry.js +0 -1
- package/www/build/p-edd64dee.entry.js +0 -1
- package/www/build/p-fb7d33f2.entry.js +0 -1
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-e3299e0a.js');
|
|
6
|
-
const index$1 = require('./index-
|
|
6
|
+
const index$1 = require('./index-fa110f37.js');
|
|
7
7
|
|
|
8
8
|
const stylesCss = ":host{--z-tooltip-theme--surface:var(--color-surface01);--z-tooltip-theme--text:var(--color-text01);--z-tooltip-shadow-filter:drop-shadow(0 1px 2px var(--shadow-color-base))}:host([dark]) z-popover{--z-popover-theme--surface:var(--color-surface05)}z-popover{--z-popover-padding:var(--space-unit);--z-popover-theme--surface:var(--z-tooltip-theme--surface);--z-popover-theme--text:var(--z-tooltip-theme--text);--z-popover-shadow-filter:var(--z-tooltip-shadow-filter)}";
|
|
9
9
|
|
|
@@ -11,7 +11,7 @@ const ZTooltip = class {
|
|
|
11
11
|
constructor(hostRef) {
|
|
12
12
|
index.registerInstance(this, hostRef);
|
|
13
13
|
/** Tooltip position. */
|
|
14
|
-
this.position = index$1.
|
|
14
|
+
this.position = index$1.PopoverPosition.AUTO;
|
|
15
15
|
/** Enable tooltip dark mode. */
|
|
16
16
|
this.dark = false;
|
|
17
17
|
/**
|
|
@@ -60,55 +60,22 @@ export var InputStatus;
|
|
|
60
60
|
InputStatus["ERROR"] = "error";
|
|
61
61
|
InputStatus["WARNING"] = "warning";
|
|
62
62
|
})(InputStatus || (InputStatus = {}));
|
|
63
|
-
export var PopoverPositions;
|
|
64
|
-
(function (PopoverPositions) {
|
|
65
|
-
PopoverPositions["AUTO"] = "auto";
|
|
66
|
-
PopoverPositions["TOP"] = "top";
|
|
67
|
-
PopoverPositions["RIGHT"] = "right";
|
|
68
|
-
PopoverPositions["BOTTOM"] = "bottom";
|
|
69
|
-
PopoverPositions["LEFT"] = "left";
|
|
70
|
-
PopoverPositions["TOP_RIGHT"] = "top_right";
|
|
71
|
-
PopoverPositions["TOP_LEFT"] = "top_left";
|
|
72
|
-
PopoverPositions["BOTTOM_RIGHT"] = "bottom_right";
|
|
73
|
-
PopoverPositions["BOTTOM_LEFT"] = "bottom_left";
|
|
74
|
-
PopoverPositions["RIGHT_TOP"] = "right_top";
|
|
75
|
-
PopoverPositions["RIGHT_BOTTOM"] = "right_bottom";
|
|
76
|
-
PopoverPositions["LEFT_TOP"] = "left_top";
|
|
77
|
-
PopoverPositions["LEFT_BOTTOM"] = "left_bottom";
|
|
78
|
-
})(PopoverPositions || (PopoverPositions = {}));
|
|
79
63
|
export var PopoverPosition;
|
|
80
64
|
(function (PopoverPosition) {
|
|
81
|
-
PopoverPosition["
|
|
82
|
-
PopoverPosition["
|
|
83
|
-
PopoverPosition["
|
|
84
|
-
PopoverPosition["
|
|
85
|
-
PopoverPosition["
|
|
86
|
-
PopoverPosition["
|
|
87
|
-
PopoverPosition["
|
|
88
|
-
PopoverPosition["
|
|
89
|
-
PopoverPosition["
|
|
90
|
-
PopoverPosition["
|
|
91
|
-
PopoverPosition["
|
|
92
|
-
PopoverPosition["
|
|
65
|
+
PopoverPosition["AUTO"] = "auto";
|
|
66
|
+
PopoverPosition["TOP"] = "top";
|
|
67
|
+
PopoverPosition["RIGHT"] = "right";
|
|
68
|
+
PopoverPosition["BOTTOM"] = "bottom";
|
|
69
|
+
PopoverPosition["LEFT"] = "left";
|
|
70
|
+
PopoverPosition["TOP_RIGHT"] = "top_right";
|
|
71
|
+
PopoverPosition["TOP_LEFT"] = "top_left";
|
|
72
|
+
PopoverPosition["BOTTOM_RIGHT"] = "bottom_right";
|
|
73
|
+
PopoverPosition["BOTTOM_LEFT"] = "bottom_left";
|
|
74
|
+
PopoverPosition["RIGHT_TOP"] = "right_top";
|
|
75
|
+
PopoverPosition["RIGHT_BOTTOM"] = "right_bottom";
|
|
76
|
+
PopoverPosition["LEFT_TOP"] = "left_top";
|
|
77
|
+
PopoverPosition["LEFT_BOTTOM"] = "left_bottom";
|
|
93
78
|
})(PopoverPosition || (PopoverPosition = {}));
|
|
94
|
-
export var PopoverBorderRadius;
|
|
95
|
-
(function (PopoverBorderRadius) {
|
|
96
|
-
PopoverBorderRadius["NONE"] = "none";
|
|
97
|
-
PopoverBorderRadius["SMALL"] = "small";
|
|
98
|
-
PopoverBorderRadius["MEDIUM"] = "medium";
|
|
99
|
-
})(PopoverBorderRadius || (PopoverBorderRadius = {}));
|
|
100
|
-
export var PopoverShadow;
|
|
101
|
-
(function (PopoverShadow) {
|
|
102
|
-
PopoverShadow["SHADOW_1"] = "shadow-1";
|
|
103
|
-
PopoverShadow["SHADOW_2"] = "shadow-2";
|
|
104
|
-
PopoverShadow["SHADOW_3"] = "shadow-3";
|
|
105
|
-
PopoverShadow["SHADOW_4"] = "shadow-4";
|
|
106
|
-
PopoverShadow["SHADOW_6"] = "shadow-6";
|
|
107
|
-
PopoverShadow["SHADOW_8"] = "shadow-8";
|
|
108
|
-
PopoverShadow["SHADOW_12"] = "shadow-12";
|
|
109
|
-
PopoverShadow["SHADOW_16"] = "shadow-16";
|
|
110
|
-
PopoverShadow["SHADOW_24"] = "shadow-24";
|
|
111
|
-
})(PopoverShadow || (PopoverShadow = {}));
|
|
112
79
|
export var KeyboardKeyCode;
|
|
113
80
|
(function (KeyboardKeyCode) {
|
|
114
81
|
KeyboardKeyCode[KeyboardKeyCode["TAB"] = 9] = "TAB";
|
|
@@ -313,14 +280,6 @@ export var ZRangePickerMode;
|
|
|
313
280
|
ZRangePickerMode["DATE"] = "date";
|
|
314
281
|
ZRangePickerMode["DATE_TIME"] = "date-time";
|
|
315
282
|
})(ZRangePickerMode || (ZRangePickerMode = {}));
|
|
316
|
-
export var StatusTagStatus;
|
|
317
|
-
(function (StatusTagStatus) {
|
|
318
|
-
StatusTagStatus["WARNING"] = "warning";
|
|
319
|
-
StatusTagStatus["ERROR"] = "error";
|
|
320
|
-
StatusTagStatus["SUCCESS"] = "success";
|
|
321
|
-
StatusTagStatus["NEUTRAL"] = "neutral";
|
|
322
|
-
StatusTagStatus["DEFAULT"] = "default";
|
|
323
|
-
})(StatusTagStatus || (StatusTagStatus = {}));
|
|
324
283
|
export var InfoRevealPosition;
|
|
325
284
|
(function (InfoRevealPosition) {
|
|
326
285
|
InfoRevealPosition["TOP_RIGHT"] = "top_right";
|
|
@@ -11,10 +11,6 @@
|
|
|
11
11
|
"./components/file-upload/z-dragdrop-area/index.js",
|
|
12
12
|
"./components/file-upload/z-file/index.js",
|
|
13
13
|
"./components/file-upload/z-file-upload/index.js",
|
|
14
|
-
"./components/footer/z-footer/index.js",
|
|
15
|
-
"./components/footer/z-footer-link/index.js",
|
|
16
|
-
"./components/footer/z-footer-section/index.js",
|
|
17
|
-
"./components/footer/z-footer-social/index.js",
|
|
18
14
|
"./components/icons/z-icon/index.js",
|
|
19
15
|
"./components/icons/z-icon-package/index.js",
|
|
20
16
|
"./components/indicators/z-stepper/index.js",
|
|
@@ -41,8 +37,6 @@
|
|
|
41
37
|
"./components/navigation/z-menu-dropdown/index.js",
|
|
42
38
|
"./components/navigation/z-menu-section/index.js",
|
|
43
39
|
"./components/navigation/z-user-dropdown/index.js",
|
|
44
|
-
"./components/notification/z-candybar/index.js",
|
|
45
|
-
"./components/notification/z-cookiebar/index.js",
|
|
46
40
|
"./components/notification/z-info-box/index.js",
|
|
47
41
|
"./components/notification/z-notification/index.js",
|
|
48
42
|
"./components/notification/z-toast-notification/index.js",
|
|
@@ -78,16 +72,6 @@
|
|
|
78
72
|
"./components/z-table/z-table-sticky-footer/index.js",
|
|
79
73
|
"./components/z-tag/index.js",
|
|
80
74
|
"./components/z-visually-hidden/index.js",
|
|
81
|
-
"./deprecated/pagination/z-pagination-bar/index.js",
|
|
82
|
-
"./deprecated/pagination/z-pagination-page/index.js",
|
|
83
|
-
"./deprecated/z-button-deprecated/index.js",
|
|
84
|
-
"./deprecated/z-button-filter/index.js",
|
|
85
|
-
"./deprecated/z-chip-deprecated/index.js",
|
|
86
|
-
"./deprecated/z-input-deprecated/index.js",
|
|
87
|
-
"./deprecated/z-input-label/index.js",
|
|
88
|
-
"./deprecated/z-popover-deprecated/index.js",
|
|
89
|
-
"./deprecated/z-status-tag/index.js",
|
|
90
|
-
"./deprecated/z-tooltip-deprecated/index.js",
|
|
91
75
|
"./snowflakes/myz/card/z-myz-card/index.js",
|
|
92
76
|
"./snowflakes/myz/card/z-myz-card-alert/index.js",
|
|
93
77
|
"./snowflakes/myz/card/z-myz-card-body/index.js",
|
|
@@ -106,7 +90,6 @@
|
|
|
106
90
|
"./snowflakes/myz/pocket/z-pocket-body/index.js",
|
|
107
91
|
"./snowflakes/myz/pocket/z-pocket-header/index.js",
|
|
108
92
|
"./snowflakes/myz/pocket/z-pocket-message/index.js",
|
|
109
|
-
"./snowflakes/myz/topbar/index.js",
|
|
110
93
|
"./snowflakes/myz/z-alert/index.js",
|
|
111
94
|
"./snowflakes/myz/z-otp/index.js",
|
|
112
95
|
"./snowflakes/myz/z-slideshow/index.js"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
|
-
import {
|
|
2
|
+
import { PopoverPosition, ZChipType } from "../../../beans";
|
|
3
3
|
import { tabletBreakpoint } from "../../../constants/breakpoints";
|
|
4
4
|
export class ZFile {
|
|
5
5
|
constructor() {
|
|
@@ -30,7 +30,7 @@ export class ZFile {
|
|
|
30
30
|
return this.ellipsis.offsetWidth < this.ellipsis.scrollWidth;
|
|
31
31
|
}
|
|
32
32
|
render() {
|
|
33
|
-
return (h(Host, null, this.allowPopover && (h("z-popover", { open: this.popoverVisible, position:
|
|
33
|
+
return (h(Host, null, this.allowPopover && (h("z-popover", { open: this.popoverVisible, position: PopoverPosition.AUTO, bindTo: this.chip }, h("span", { class: "body-5 tooltip-content" }, this.ellipsis.innerText))), h("z-chip", { ref: (el) => (this.chip = el), id: `chip-${this.fileNumber}`, interactiveIcon: "multiply-circled", type: ZChipType.DEFAULT }, h("span", { ref: (el) => (this.ellipsis = el), tabIndex: -1 }, this.fileName))));
|
|
34
34
|
}
|
|
35
35
|
static get is() { return "z-file"; }
|
|
36
36
|
static get encapsulation() { return "scoped"; }
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
|
-
import {
|
|
2
|
+
import { PopoverPosition } from "../../../beans";
|
|
3
3
|
/**
|
|
4
4
|
* Tooltip component.
|
|
5
5
|
* It is basically a wrapper for the `<z-popover>` component with custom configuration.
|
|
@@ -11,7 +11,7 @@ import { PopoverPositions } from "../../../beans";
|
|
|
11
11
|
export class ZTooltip {
|
|
12
12
|
constructor() {
|
|
13
13
|
/** Tooltip position. */
|
|
14
|
-
this.position =
|
|
14
|
+
this.position = PopoverPosition.AUTO;
|
|
15
15
|
/** Enable tooltip dark mode. */
|
|
16
16
|
this.dark = false;
|
|
17
17
|
/**
|
|
@@ -43,10 +43,10 @@ export class ZTooltip {
|
|
|
43
43
|
"type": "string",
|
|
44
44
|
"mutable": false,
|
|
45
45
|
"complexType": {
|
|
46
|
-
"original": "
|
|
47
|
-
"resolved": "
|
|
46
|
+
"original": "PopoverPosition",
|
|
47
|
+
"resolved": "PopoverPosition.AUTO | PopoverPosition.BOTTOM | PopoverPosition.BOTTOM_LEFT | PopoverPosition.BOTTOM_RIGHT | PopoverPosition.LEFT | PopoverPosition.LEFT_BOTTOM | PopoverPosition.LEFT_TOP | PopoverPosition.RIGHT | PopoverPosition.RIGHT_BOTTOM | PopoverPosition.RIGHT_TOP | PopoverPosition.TOP | PopoverPosition.TOP_LEFT | PopoverPosition.TOP_RIGHT",
|
|
48
48
|
"references": {
|
|
49
|
-
"
|
|
49
|
+
"PopoverPosition": {
|
|
50
50
|
"location": "import",
|
|
51
51
|
"path": "../../../beans"
|
|
52
52
|
}
|
|
@@ -60,7 +60,7 @@ export class ZTooltip {
|
|
|
60
60
|
},
|
|
61
61
|
"attribute": "position",
|
|
62
62
|
"reflect": true,
|
|
63
|
-
"defaultValue": "
|
|
63
|
+
"defaultValue": "PopoverPosition.AUTO"
|
|
64
64
|
},
|
|
65
65
|
"dark": {
|
|
66
66
|
"type": "boolean",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
|
-
import {
|
|
2
|
+
import { PopoverPosition } from "../../beans";
|
|
3
3
|
export class ZContextualMenu {
|
|
4
4
|
constructor() {
|
|
5
5
|
/**
|
|
@@ -9,7 +9,7 @@ export class ZContextualMenu {
|
|
|
9
9
|
/**
|
|
10
10
|
* [optional] Sets the position of the popover
|
|
11
11
|
*/
|
|
12
|
-
this.popoverPosition =
|
|
12
|
+
this.popoverPosition = PopoverPosition.BOTTOM_RIGHT;
|
|
13
13
|
}
|
|
14
14
|
componentWillRender() {
|
|
15
15
|
if (this.elements) {
|
|
@@ -84,10 +84,10 @@ export class ZContextualMenu {
|
|
|
84
84
|
"type": "string",
|
|
85
85
|
"mutable": false,
|
|
86
86
|
"complexType": {
|
|
87
|
-
"original": "
|
|
88
|
-
"resolved": "
|
|
87
|
+
"original": "PopoverPosition",
|
|
88
|
+
"resolved": "PopoverPosition.AUTO | PopoverPosition.BOTTOM | PopoverPosition.BOTTOM_LEFT | PopoverPosition.BOTTOM_RIGHT | PopoverPosition.LEFT | PopoverPosition.LEFT_BOTTOM | PopoverPosition.LEFT_TOP | PopoverPosition.RIGHT | PopoverPosition.RIGHT_BOTTOM | PopoverPosition.RIGHT_TOP | PopoverPosition.TOP | PopoverPosition.TOP_LEFT | PopoverPosition.TOP_RIGHT",
|
|
89
89
|
"references": {
|
|
90
|
-
"
|
|
90
|
+
"PopoverPosition": {
|
|
91
91
|
"location": "import",
|
|
92
92
|
"path": "../../beans"
|
|
93
93
|
}
|
|
@@ -101,7 +101,7 @@ export class ZContextualMenu {
|
|
|
101
101
|
},
|
|
102
102
|
"attribute": "popover-position",
|
|
103
103
|
"reflect": true,
|
|
104
|
-
"defaultValue": "
|
|
104
|
+
"defaultValue": "PopoverPosition.BOTTOM_RIGHT"
|
|
105
105
|
}
|
|
106
106
|
};
|
|
107
107
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
|
-
import {
|
|
2
|
+
import { PopoverPosition, KeyboardCode } from "../../beans";
|
|
3
3
|
import { getElementTree } from "../../utils/utils";
|
|
4
4
|
const DOCUMENT_ELEMENT = document.documentElement;
|
|
5
5
|
function getParentElement(element) {
|
|
@@ -93,7 +93,7 @@ function computeOffset(element, targetParentOffset) {
|
|
|
93
93
|
export class ZPopover {
|
|
94
94
|
constructor() {
|
|
95
95
|
/** Popover position. */
|
|
96
|
-
this.position =
|
|
96
|
+
this.position = PopoverPosition.AUTO;
|
|
97
97
|
/**
|
|
98
98
|
* The open state of the popover.
|
|
99
99
|
*/
|
|
@@ -128,8 +128,8 @@ export class ZPopover {
|
|
|
128
128
|
}
|
|
129
129
|
}
|
|
130
130
|
validatePosition(newValue) {
|
|
131
|
-
if (newValue && !Object.values(
|
|
132
|
-
this.position =
|
|
131
|
+
if (newValue && !Object.values(PopoverPosition).includes(newValue)) {
|
|
132
|
+
this.position = PopoverPosition.AUTO;
|
|
133
133
|
}
|
|
134
134
|
this.currentPosition = this.position;
|
|
135
135
|
this.positionChange.emit({ position: this.currentPosition });
|
|
@@ -195,28 +195,28 @@ export class ZPopover {
|
|
|
195
195
|
const availableWidth = availableLeft + availableRight + boundingRect.width;
|
|
196
196
|
let position = this.currentPosition;
|
|
197
197
|
const positions = [];
|
|
198
|
-
if (this.position ===
|
|
198
|
+
if (this.position === PopoverPosition.AUTO) {
|
|
199
199
|
/**
|
|
200
200
|
* The `AUTO` position tries to place the popover in the 'safest' area,
|
|
201
201
|
* where there's more space available.
|
|
202
202
|
*/
|
|
203
203
|
if (availableLeft / availableWidth > 0.6) {
|
|
204
|
-
positions.push(
|
|
204
|
+
positions.push(PopoverPosition.LEFT);
|
|
205
205
|
}
|
|
206
206
|
else if (availableLeft / availableWidth < 0.4) {
|
|
207
|
-
positions.push(
|
|
207
|
+
positions.push(PopoverPosition.RIGHT);
|
|
208
208
|
}
|
|
209
209
|
if (availableTop / availableHeight > 0.9) {
|
|
210
|
-
positions.unshift(
|
|
210
|
+
positions.unshift(PopoverPosition.TOP);
|
|
211
211
|
}
|
|
212
212
|
else if (availableTop / availableHeight > 0.6) {
|
|
213
|
-
positions.push(
|
|
213
|
+
positions.push(PopoverPosition.TOP);
|
|
214
214
|
}
|
|
215
215
|
else if (availableTop / availableHeight < 0.1) {
|
|
216
|
-
positions.unshift(
|
|
216
|
+
positions.unshift(PopoverPosition.BOTTOM);
|
|
217
217
|
}
|
|
218
218
|
else {
|
|
219
|
-
positions.push(
|
|
219
|
+
positions.push(PopoverPosition.BOTTOM);
|
|
220
220
|
}
|
|
221
221
|
position = positions.join("_");
|
|
222
222
|
}
|
|
@@ -228,17 +228,17 @@ export class ZPopover {
|
|
|
228
228
|
const offsetLeft = boundingRect.left - relativeBoundingRect.left;
|
|
229
229
|
const offsetModifier = this.center ? 0.5 : 0;
|
|
230
230
|
const sizeModifier = this.center ? 0.5 : 0;
|
|
231
|
-
if (position ===
|
|
231
|
+
if (position === PopoverPosition.TOP || position === PopoverPosition.TOP_RIGHT) {
|
|
232
232
|
style.top = "auto";
|
|
233
233
|
style.right = "auto";
|
|
234
234
|
style.bottom = `${offsetBottom + boundingRect.height}px`;
|
|
235
235
|
style.left = `${offsetLeft + boundingRect.width * offsetModifier}px`;
|
|
236
236
|
style.maxHeight = `${availableTop}px`;
|
|
237
|
-
if (position ===
|
|
237
|
+
if (position === PopoverPosition.TOP_RIGHT) {
|
|
238
238
|
style.maxWidth = `${availableRight + boundingRect.width * sizeModifier}px`;
|
|
239
239
|
}
|
|
240
240
|
}
|
|
241
|
-
else if (position ===
|
|
241
|
+
else if (position === PopoverPosition.TOP_LEFT) {
|
|
242
242
|
style.top = "auto";
|
|
243
243
|
style.right = `${offsetRight + boundingRect.width * offsetModifier}px`;
|
|
244
244
|
style.bottom = `${offsetBottom + boundingRect.height}px`;
|
|
@@ -246,17 +246,17 @@ export class ZPopover {
|
|
|
246
246
|
style.maxWidth = `${availableLeft}px`;
|
|
247
247
|
style.maxHeight = `${availableTop}px`;
|
|
248
248
|
}
|
|
249
|
-
else if (position ===
|
|
249
|
+
else if (position === PopoverPosition.BOTTOM || position === PopoverPosition.BOTTOM_RIGHT) {
|
|
250
250
|
style.top = `${offsetTop + boundingRect.height}px`;
|
|
251
251
|
style.right = "auto";
|
|
252
252
|
style.bottom = "auto";
|
|
253
253
|
style.left = `${offsetLeft + boundingRect.width * offsetModifier}px`;
|
|
254
254
|
style.maxHeight = `${availableBottom}px`;
|
|
255
|
-
if (position ===
|
|
255
|
+
if (position === PopoverPosition.BOTTOM_RIGHT) {
|
|
256
256
|
style.maxWidth = `${availableRight + boundingRect.width * sizeModifier}px`;
|
|
257
257
|
}
|
|
258
258
|
}
|
|
259
|
-
else if (position ===
|
|
259
|
+
else if (position === PopoverPosition.BOTTOM_LEFT) {
|
|
260
260
|
style.top = `${offsetTop + boundingRect.height}px`;
|
|
261
261
|
style.right = `${offsetRight + boundingRect.width * offsetModifier}px`;
|
|
262
262
|
style.bottom = "auto";
|
|
@@ -264,7 +264,7 @@ export class ZPopover {
|
|
|
264
264
|
style.maxWidth = `${availableLeft}px`;
|
|
265
265
|
style.maxHeight = `${availableBottom}px`;
|
|
266
266
|
}
|
|
267
|
-
else if (position ===
|
|
267
|
+
else if (position === PopoverPosition.RIGHT || position === PopoverPosition.RIGHT_BOTTOM) {
|
|
268
268
|
style.top = `${offsetTop + boundingRect.height * offsetModifier}px`;
|
|
269
269
|
style.right = "auto";
|
|
270
270
|
style.bottom = "auto";
|
|
@@ -272,7 +272,7 @@ export class ZPopover {
|
|
|
272
272
|
style.maxWidth = `${availableRight}px`;
|
|
273
273
|
style.maxHeight = `${availableBottom + boundingRect.height * sizeModifier}px`;
|
|
274
274
|
}
|
|
275
|
-
else if (position ===
|
|
275
|
+
else if (position === PopoverPosition.RIGHT_TOP) {
|
|
276
276
|
style.top = "auto";
|
|
277
277
|
style.right = "auto";
|
|
278
278
|
style.bottom = `${offsetBottom + boundingRect.height * offsetModifier}px`;
|
|
@@ -280,7 +280,7 @@ export class ZPopover {
|
|
|
280
280
|
style.maxWidth = `${availableRight}px`;
|
|
281
281
|
style.maxHeight = `${availableTop + boundingRect.height * sizeModifier}px`;
|
|
282
282
|
}
|
|
283
|
-
else if (position ===
|
|
283
|
+
else if (position === PopoverPosition.LEFT || position === PopoverPosition.LEFT_BOTTOM) {
|
|
284
284
|
style.top = `${offsetTop + boundingRect.height * offsetModifier}px`;
|
|
285
285
|
style.right = `${offsetRight + boundingRect.width}px`;
|
|
286
286
|
style.bottom = "auto";
|
|
@@ -288,7 +288,7 @@ export class ZPopover {
|
|
|
288
288
|
style.maxWidth = `${availableLeft}px`;
|
|
289
289
|
style.maxHeight = `${availableBottom + boundingRect.height * sizeModifier}px`;
|
|
290
290
|
}
|
|
291
|
-
else if (position ===
|
|
291
|
+
else if (position === PopoverPosition.LEFT_TOP) {
|
|
292
292
|
style.top = "auto";
|
|
293
293
|
style.right = `${offsetRight + boundingRect.width}px`;
|
|
294
294
|
style.bottom = `${offsetBottom + boundingRect.height * offsetModifier}px`;
|
|
@@ -324,10 +324,10 @@ export class ZPopover {
|
|
|
324
324
|
"type": "string",
|
|
325
325
|
"mutable": false,
|
|
326
326
|
"complexType": {
|
|
327
|
-
"original": "
|
|
328
|
-
"resolved": "
|
|
327
|
+
"original": "PopoverPosition",
|
|
328
|
+
"resolved": "PopoverPosition.AUTO | PopoverPosition.BOTTOM | PopoverPosition.BOTTOM_LEFT | PopoverPosition.BOTTOM_RIGHT | PopoverPosition.LEFT | PopoverPosition.LEFT_BOTTOM | PopoverPosition.LEFT_TOP | PopoverPosition.RIGHT | PopoverPosition.RIGHT_BOTTOM | PopoverPosition.RIGHT_TOP | PopoverPosition.TOP | PopoverPosition.TOP_LEFT | PopoverPosition.TOP_RIGHT",
|
|
329
329
|
"references": {
|
|
330
|
-
"
|
|
330
|
+
"PopoverPosition": {
|
|
331
331
|
"location": "import",
|
|
332
332
|
"path": "../../beans"
|
|
333
333
|
}
|
|
@@ -341,7 +341,7 @@ export class ZPopover {
|
|
|
341
341
|
},
|
|
342
342
|
"attribute": "position",
|
|
343
343
|
"reflect": true,
|
|
344
|
-
"defaultValue": "
|
|
344
|
+
"defaultValue": "PopoverPosition.AUTO"
|
|
345
345
|
},
|
|
346
346
|
"open": {
|
|
347
347
|
"type": "boolean",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
|
-
import { ButtonSize, ButtonVariant,
|
|
2
|
+
import { ButtonSize, ButtonVariant, PopoverPosition, Size, SortDirection } from "../../../beans";
|
|
3
3
|
import { getElementTree } from "../../../utils/utils";
|
|
4
4
|
export class ZTableHeader {
|
|
5
5
|
constructor() {
|
|
@@ -63,7 +63,7 @@ export class ZTableHeader {
|
|
|
63
63
|
render() {
|
|
64
64
|
return (h(Host, { class: {
|
|
65
65
|
sortable: this.sortable,
|
|
66
|
-
}, onClick: () => this.handleSort() }, h("div", { class: "container" }, h("slot", null), this.sortable && this.sortDirection !== SortDirection.NONE && (h("z-icon", { name: this.sortDirection === SortDirection.ASC ? "arrow-up" : "arrow-down", class: "arrow" }))), this.showButton && (h("div", { class: "popover-container" }, h("z-button", { ref: (el) => (this.triggerButton = el), class: "contextual-popover-button", icon: "contextual-menu", variant: ButtonVariant.TERTIARY, size: ButtonSize.X_SMALL, onClick: () => this.handleMenuClick() }), h("z-popover", { ref: (el) => (this.popover = el), position:
|
|
66
|
+
}, onClick: () => this.handleSort() }, h("div", { class: "container" }, h("slot", null), this.sortable && this.sortDirection !== SortDirection.NONE && (h("z-icon", { name: this.sortDirection === SortDirection.ASC ? "arrow-up" : "arrow-down", class: "arrow" }))), this.showButton && (h("div", { class: "popover-container" }, h("z-button", { ref: (el) => (this.triggerButton = el), class: "contextual-popover-button", icon: "contextual-menu", variant: ButtonVariant.TERTIARY, size: ButtonSize.X_SMALL, onClick: () => this.handleMenuClick() }), h("z-popover", { ref: (el) => (this.popover = el), position: PopoverPosition.BOTTOM, center: true, bindTo: this.triggerButton }, h("div", null, h("slot", { name: "contextual-menu" })))))));
|
|
67
67
|
}
|
|
68
68
|
static get is() { return "z-table-header"; }
|
|
69
69
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
|
-
import {
|
|
2
|
+
import { PopoverPosition } from "../../../../beans";
|
|
3
3
|
import { handleKeyboardSubmit } from "../../../../utils/utils";
|
|
4
4
|
/**
|
|
5
5
|
* @slot - content
|
|
@@ -87,7 +87,7 @@ export class ZMyzCardInfo {
|
|
|
87
87
|
return;
|
|
88
88
|
}
|
|
89
89
|
const { title, year, author, description } = this.cardData;
|
|
90
|
-
return (h("z-popover", { position:
|
|
90
|
+
return (h("z-popover", { position: PopoverPosition.RIGHT, onClick: () => (this.tooltip = false) }, `${title} ${year} ${author} ${description}`));
|
|
91
91
|
}
|
|
92
92
|
setExpirationLicenseMessage(type) {
|
|
93
93
|
if ((type === "online" && this.cardData.onlineLicense.expired) ||
|
|
@@ -60,55 +60,22 @@ var InputStatus;
|
|
|
60
60
|
InputStatus["ERROR"] = "error";
|
|
61
61
|
InputStatus["WARNING"] = "warning";
|
|
62
62
|
})(InputStatus || (InputStatus = {}));
|
|
63
|
-
var PopoverPositions;
|
|
64
|
-
(function (PopoverPositions) {
|
|
65
|
-
PopoverPositions["AUTO"] = "auto";
|
|
66
|
-
PopoverPositions["TOP"] = "top";
|
|
67
|
-
PopoverPositions["RIGHT"] = "right";
|
|
68
|
-
PopoverPositions["BOTTOM"] = "bottom";
|
|
69
|
-
PopoverPositions["LEFT"] = "left";
|
|
70
|
-
PopoverPositions["TOP_RIGHT"] = "top_right";
|
|
71
|
-
PopoverPositions["TOP_LEFT"] = "top_left";
|
|
72
|
-
PopoverPositions["BOTTOM_RIGHT"] = "bottom_right";
|
|
73
|
-
PopoverPositions["BOTTOM_LEFT"] = "bottom_left";
|
|
74
|
-
PopoverPositions["RIGHT_TOP"] = "right_top";
|
|
75
|
-
PopoverPositions["RIGHT_BOTTOM"] = "right_bottom";
|
|
76
|
-
PopoverPositions["LEFT_TOP"] = "left_top";
|
|
77
|
-
PopoverPositions["LEFT_BOTTOM"] = "left_bottom";
|
|
78
|
-
})(PopoverPositions || (PopoverPositions = {}));
|
|
79
63
|
var PopoverPosition;
|
|
80
64
|
(function (PopoverPosition) {
|
|
81
|
-
PopoverPosition["
|
|
82
|
-
PopoverPosition["
|
|
83
|
-
PopoverPosition["
|
|
84
|
-
PopoverPosition["
|
|
85
|
-
PopoverPosition["
|
|
86
|
-
PopoverPosition["
|
|
87
|
-
PopoverPosition["
|
|
88
|
-
PopoverPosition["
|
|
89
|
-
PopoverPosition["
|
|
90
|
-
PopoverPosition["
|
|
91
|
-
PopoverPosition["
|
|
92
|
-
PopoverPosition["
|
|
65
|
+
PopoverPosition["AUTO"] = "auto";
|
|
66
|
+
PopoverPosition["TOP"] = "top";
|
|
67
|
+
PopoverPosition["RIGHT"] = "right";
|
|
68
|
+
PopoverPosition["BOTTOM"] = "bottom";
|
|
69
|
+
PopoverPosition["LEFT"] = "left";
|
|
70
|
+
PopoverPosition["TOP_RIGHT"] = "top_right";
|
|
71
|
+
PopoverPosition["TOP_LEFT"] = "top_left";
|
|
72
|
+
PopoverPosition["BOTTOM_RIGHT"] = "bottom_right";
|
|
73
|
+
PopoverPosition["BOTTOM_LEFT"] = "bottom_left";
|
|
74
|
+
PopoverPosition["RIGHT_TOP"] = "right_top";
|
|
75
|
+
PopoverPosition["RIGHT_BOTTOM"] = "right_bottom";
|
|
76
|
+
PopoverPosition["LEFT_TOP"] = "left_top";
|
|
77
|
+
PopoverPosition["LEFT_BOTTOM"] = "left_bottom";
|
|
93
78
|
})(PopoverPosition || (PopoverPosition = {}));
|
|
94
|
-
var PopoverBorderRadius;
|
|
95
|
-
(function (PopoverBorderRadius) {
|
|
96
|
-
PopoverBorderRadius["NONE"] = "none";
|
|
97
|
-
PopoverBorderRadius["SMALL"] = "small";
|
|
98
|
-
PopoverBorderRadius["MEDIUM"] = "medium";
|
|
99
|
-
})(PopoverBorderRadius || (PopoverBorderRadius = {}));
|
|
100
|
-
var PopoverShadow;
|
|
101
|
-
(function (PopoverShadow) {
|
|
102
|
-
PopoverShadow["SHADOW_1"] = "shadow-1";
|
|
103
|
-
PopoverShadow["SHADOW_2"] = "shadow-2";
|
|
104
|
-
PopoverShadow["SHADOW_3"] = "shadow-3";
|
|
105
|
-
PopoverShadow["SHADOW_4"] = "shadow-4";
|
|
106
|
-
PopoverShadow["SHADOW_6"] = "shadow-6";
|
|
107
|
-
PopoverShadow["SHADOW_8"] = "shadow-8";
|
|
108
|
-
PopoverShadow["SHADOW_12"] = "shadow-12";
|
|
109
|
-
PopoverShadow["SHADOW_16"] = "shadow-16";
|
|
110
|
-
PopoverShadow["SHADOW_24"] = "shadow-24";
|
|
111
|
-
})(PopoverShadow || (PopoverShadow = {}));
|
|
112
79
|
var KeyboardKeyCode;
|
|
113
80
|
(function (KeyboardKeyCode) {
|
|
114
81
|
KeyboardKeyCode[KeyboardKeyCode["TAB"] = 9] = "TAB";
|
|
@@ -313,14 +280,6 @@ var ZRangePickerMode;
|
|
|
313
280
|
ZRangePickerMode["DATE"] = "date";
|
|
314
281
|
ZRangePickerMode["DATE_TIME"] = "date-time";
|
|
315
282
|
})(ZRangePickerMode || (ZRangePickerMode = {}));
|
|
316
|
-
var StatusTagStatus;
|
|
317
|
-
(function (StatusTagStatus) {
|
|
318
|
-
StatusTagStatus["WARNING"] = "warning";
|
|
319
|
-
StatusTagStatus["ERROR"] = "error";
|
|
320
|
-
StatusTagStatus["SUCCESS"] = "success";
|
|
321
|
-
StatusTagStatus["NEUTRAL"] = "neutral";
|
|
322
|
-
StatusTagStatus["DEFAULT"] = "default";
|
|
323
|
-
})(StatusTagStatus || (StatusTagStatus = {}));
|
|
324
283
|
var InfoRevealPosition;
|
|
325
284
|
(function (InfoRevealPosition) {
|
|
326
285
|
InfoRevealPosition["TOP_RIGHT"] = "top_right";
|
|
@@ -349,4 +308,4 @@ var CarouselProgressMode;
|
|
|
349
308
|
CarouselProgressMode["NUMBERS"] = "numbers";
|
|
350
309
|
})(CarouselProgressMode || (CarouselProgressMode = {}));
|
|
351
310
|
|
|
352
|
-
export { AvatarSize as A, ButtonVariant as B, CardVariant as C, DividerSize as D, ExpandableListStyle as E,
|
|
311
|
+
export { AvatarSize as A, ButtonVariant as B, CardVariant as C, DividerSize as D, ExpandableListStyle as E, ZDatePickerPosition as F, ZRangePickerMode as G, InfoRevealPosition as H, InputType as I, CoverHeroVariant as J, KeyboardKeyCode as K, LicenseType as L, CoverHeroContentPosition as M, NavigationTabsOrientation as N, OffCanvasVariant as O, PopoverPosition as P, CarouselArrowsPosition as Q, CarouselProgressMode as R, SortDirection as S, ThemeVariant as T, ZTableRowExpandedType as Z, NavigationTabsSize as a, ButtonType as b, ButtonSize as c, InputStatus as d, KeyboardCode as e, DividerOrientation as f, ListSize as g, Size as h, ExpandableListButtonAlign as i, LabelPosition as j, ListDividerType as k, ListType as l, NotificationType as m, AlertType as n, Device as o, PocketStatus as p, ToastNotification as q, ToastNotificationTransition as r, ToastNotificationPosition as s, ZAriaAlertMode as t, TransitionDirection as u, ZFileUploadType as v, ZChipType as w, ZSectionTitleDividerPosition as x, ZDatePickerMode as y, ZDatePickerModeValue as z };
|