@zanichelli/delta_share 3.2.5 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/wc/cjs/breakpoints-7770f79c.js +9 -0
- package/dist/wc/cjs/delta_share.cjs.js +2 -2
- package/dist/wc/cjs/{index-675ba3c5.js → index-405a1782.js} +2 -2
- package/dist/wc/cjs/{index-c98ff1cc.js → index-48ad79ef.js} +52 -80
- package/dist/wc/cjs/index-5854a783.js +64 -0
- package/dist/wc/cjs/index-9c3aec20.js +340 -0
- package/dist/wc/cjs/{index-e790a3c5.js → index-a1571f05.js} +2 -5
- package/dist/wc/cjs/{index-23e5e843.js → index-c22b1079.js} +2 -5
- package/dist/wc/cjs/index-ce49a372.js +44 -0
- package/dist/wc/cjs/index-f209baa4.js +56 -0
- package/dist/wc/cjs/license-activation_10.cjs.entry.js +993 -50
- package/dist/wc/cjs/loader.cjs.js +2 -2
- package/dist/wc/cjs/{utils-1ed1ec98.js → utils-1b80375b.js} +63 -63
- package/dist/wc/cjs/utils-ff107ab4.js +111 -0
- package/dist/wc/cjs/z-accordion.cjs.entry.js +6 -22
- package/dist/wc/cjs/z-alert.cjs.entry.js +3 -2
- package/dist/wc/cjs/z-anchor-navigation.cjs.entry.js +16 -18
- package/dist/wc/cjs/z-app-header-deprecated.cjs.entry.js +155 -0
- package/dist/wc/cjs/z-app-header.cjs.entry.js +201 -119
- package/dist/wc/cjs/z-aria-alert.cjs.entry.js +3 -4
- package/dist/wc/cjs/z-avatar.cjs.entry.js +6 -7
- package/dist/wc/cjs/z-book-card.cjs.entry.js +20 -11
- package/dist/wc/cjs/z-breadcrumb.cjs.entry.js +87 -100
- package/dist/wc/cjs/z-button-sort.cjs.entry.js +8 -8
- package/dist/wc/cjs/z-card.cjs.entry.js +10 -9
- package/dist/wc/cjs/z-carousel.cjs.entry.js +75 -44
- package/dist/wc/cjs/z-chip.cjs.entry.js +7 -8
- package/dist/wc/cjs/z-combobox.cjs.entry.js +141 -67
- package/dist/wc/cjs/z-cover-hero.cjs.entry.js +5 -17
- package/dist/wc/cjs/z-date-picker.cjs.entry.js +7 -7
- package/dist/wc/cjs/z-divider.cjs.entry.js +3 -6
- package/dist/wc/cjs/z-dragdrop-area.cjs.entry.js +6 -5
- package/dist/wc/cjs/z-file-upload.cjs.entry.js +59 -32
- package/dist/wc/cjs/z-file.cjs.entry.js +7 -5
- package/dist/wc/cjs/z-ghost-loading.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-info-reveal.cjs.entry.js +31 -34
- package/dist/wc/cjs/z-list_4.cjs.entry.js +216 -0
- package/dist/wc/cjs/z-logo.cjs.entry.js +8 -2
- package/dist/wc/cjs/z-menu-deprecated.cjs.entry.js +112 -0
- package/dist/wc/cjs/z-menu-section-deprecated.cjs.entry.js +57 -0
- package/dist/wc/cjs/z-menu-section.cjs.entry.js +158 -23
- package/dist/wc/cjs/z-menu.cjs.entry.js +260 -61
- package/dist/wc/cjs/z-myz-card-alert.cjs.entry.js +7 -3
- package/dist/wc/cjs/z-myz-card-dictionary.cjs.entry.js +6 -8
- package/dist/wc/cjs/z-myz-card-footer-sections.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-myz-card-footer.cjs.entry.js +9 -6
- package/dist/wc/cjs/z-myz-card-icon.cjs.entry.js +3 -4
- package/dist/wc/cjs/z-myz-card-info.cjs.entry.js +9 -9
- package/dist/wc/cjs/z-myz-card-list.cjs.entry.js +4 -3
- package/dist/wc/cjs/z-myz-card_4.cjs.entry.js +15 -8
- package/dist/wc/cjs/z-myz-list-item.cjs.entry.js +17 -14
- package/dist/wc/cjs/z-myz-list.cjs.entry.js +4 -2
- package/dist/wc/cjs/z-navigation-tabs.cjs.entry.js +18 -21
- package/dist/wc/cjs/z-notification.cjs.entry.js +14 -17
- package/dist/wc/cjs/z-offcanvas_2.cjs.entry.js +103 -40
- package/dist/wc/cjs/z-otp.cjs.entry.js +7 -6
- package/dist/wc/cjs/z-pagination.cjs.entry.js +8 -15
- package/dist/wc/cjs/z-panel-elem.cjs.entry.js +10 -11
- package/dist/wc/cjs/z-popover.cjs.entry.js +11 -23
- package/dist/wc/cjs/z-range-picker.cjs.entry.js +12 -12
- package/dist/wc/cjs/z-section-title.cjs.entry.js +3 -10
- package/dist/wc/cjs/z-select.cjs.entry.js +26 -21
- package/dist/wc/cjs/z-skip-to-content.cjs.entry.js +7 -7
- package/dist/wc/cjs/z-slideshow.cjs.entry.js +8 -5
- package/dist/wc/cjs/z-stepper-item.cjs.entry.js +15 -6
- package/dist/wc/cjs/z-stepper.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-table.cjs.entry.js +14 -19
- package/dist/wc/cjs/z-tbody.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-td.cjs.entry.js +3 -3
- package/dist/wc/cjs/z-tfoot.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-th.cjs.entry.js +3 -3
- package/dist/wc/cjs/z-thead.cjs.entry.js +2 -2
- package/dist/wc/cjs/z-toast-notification-list.cjs.entry.js +7 -7
- package/dist/wc/cjs/z-toast-notification.cjs.entry.js +2664 -16
- package/dist/wc/cjs/z-toggle-button.cjs.entry.js +6 -7
- package/dist/wc/cjs/z-toggle-switch.cjs.entry.js +8 -12
- package/dist/wc/cjs/z-tooltip.cjs.entry.js +5 -14
- package/dist/wc/cjs/z-tr.cjs.entry.js +7 -7
- package/dist/wc/cjs/z-visually-hidden.cjs.entry.js +2 -2
- package/dist/wc/collection/collection-manifest.json +3 -20
- package/dist/wc/collection/components/license-activation-form/license-activation-form.css +3 -3
- package/dist/wc/custom-elements/index.js +6930 -6837
- package/dist/wc/delta_share/delta_share.esm.js +1 -1
- package/dist/wc/delta_share/p-03cc4be4.entry.js +1 -0
- package/dist/wc/delta_share/p-056fe365.js +2 -0
- package/dist/wc/delta_share/p-069cc2de.entry.js +1 -0
- package/dist/wc/delta_share/p-0a67ed21.entry.js +1 -0
- package/dist/wc/delta_share/p-0b2e7aa5.js +1 -0
- package/dist/wc/delta_share/p-133d17f0.entry.js +1 -0
- package/dist/wc/delta_share/p-146386e4.entry.js +1 -0
- package/dist/wc/delta_share/p-148ce1f3.entry.js +1 -0
- package/dist/wc/delta_share/p-152e098e.js +1 -0
- package/dist/wc/delta_share/p-160b3aa1.js +1 -0
- package/dist/wc/delta_share/p-185c06b2.js +1 -0
- package/dist/wc/delta_share/p-18f180f7.entry.js +1 -0
- package/dist/wc/delta_share/p-193ddfc3.entry.js +1 -0
- package/dist/wc/delta_share/p-20a0d980.entry.js +1 -0
- package/dist/wc/delta_share/p-21c82b99.entry.js +1 -0
- package/dist/wc/delta_share/p-2d2b2bb4.entry.js +1 -0
- package/dist/wc/delta_share/p-2df15f43.entry.js +1 -0
- package/dist/wc/delta_share/p-2e8f2b22.entry.js +1 -0
- package/dist/wc/delta_share/p-2fc2aa62.entry.js +1 -0
- package/dist/wc/delta_share/p-33e298a6.entry.js +1 -0
- package/dist/wc/delta_share/p-3a21c604.js +1 -0
- package/dist/wc/delta_share/p-3b183716.entry.js +1 -0
- package/dist/wc/delta_share/p-423a64c4.js +1 -0
- package/dist/wc/delta_share/p-47c9e381.entry.js +1 -0
- package/dist/wc/delta_share/p-4e7c6413.entry.js +1 -0
- package/dist/wc/delta_share/p-4f085f30.entry.js +1 -0
- package/dist/wc/delta_share/p-576def78.entry.js +1 -0
- package/dist/wc/delta_share/p-5dcbb1d5.entry.js +1 -0
- package/dist/wc/delta_share/p-5ef85199.js +1 -0
- package/dist/wc/delta_share/p-63351f72.entry.js +1 -0
- package/dist/wc/delta_share/p-63a90675.entry.js +1 -0
- package/dist/wc/delta_share/p-6b0f653f.entry.js +1 -0
- package/dist/wc/delta_share/p-6c56754f.entry.js +1 -0
- package/dist/wc/delta_share/p-6f585df9.entry.js +1 -0
- package/dist/wc/delta_share/p-72dfd888.entry.js +1 -0
- package/dist/wc/delta_share/p-7768e58a.entry.js +1 -0
- package/dist/wc/delta_share/p-7c207e2e.entry.js +1 -0
- package/dist/wc/delta_share/p-7e79bb6e.entry.js +1 -0
- package/dist/wc/delta_share/p-841f8f71.entry.js +1 -0
- package/dist/wc/delta_share/p-873f0f34.js +1 -0
- package/dist/wc/delta_share/p-89879344.entry.js +1 -0
- package/dist/wc/delta_share/p-8ff9652b.entry.js +1 -0
- package/dist/wc/delta_share/p-903067b4.entry.js +1 -0
- package/dist/wc/delta_share/p-93a18eb7.entry.js +1 -0
- package/dist/wc/delta_share/p-93ad6bbd.entry.js +1 -0
- package/dist/wc/delta_share/p-9c968734.entry.js +16 -0
- package/dist/wc/delta_share/p-a03a7dbd.entry.js +1 -0
- package/dist/wc/delta_share/p-a8e34ef2.entry.js +1 -0
- package/dist/wc/delta_share/p-adf4d729.entry.js +1 -0
- package/dist/wc/delta_share/p-b0edd600.entry.js +1 -0
- package/dist/wc/delta_share/{p-d50ea6ea.js → p-b307c221.js} +1 -1
- package/dist/wc/delta_share/p-b724df69.entry.js +1 -0
- package/dist/wc/delta_share/p-bab3d1cb.entry.js +1 -0
- package/dist/wc/delta_share/p-baff4861.entry.js +1 -0
- package/dist/wc/delta_share/p-c0ca33be.entry.js +1 -0
- package/dist/wc/delta_share/p-c9c8b659.entry.js +1 -0
- package/dist/wc/delta_share/p-cb11c710.entry.js +1 -0
- package/dist/wc/delta_share/p-ccf2fd6c.entry.js +1 -0
- package/dist/wc/delta_share/p-cf6f7c96.entry.js +3 -0
- package/dist/wc/delta_share/p-d0444907.entry.js +1 -0
- package/dist/wc/delta_share/p-d1724071.entry.js +1 -0
- package/dist/wc/delta_share/p-d23fb987.entry.js +1 -0
- package/dist/wc/delta_share/p-e0973089.entry.js +1 -0
- package/dist/wc/delta_share/p-e237572d.entry.js +1 -0
- package/dist/wc/delta_share/p-e3eb4863.entry.js +1 -0
- package/dist/wc/delta_share/p-e7d0cdcf.entry.js +1 -0
- package/dist/wc/delta_share/p-e9ec361e.entry.js +1 -0
- package/dist/wc/delta_share/p-ea23ec67.entry.js +1 -0
- package/dist/wc/delta_share/p-ee09fc8d.entry.js +1 -0
- package/dist/wc/delta_share/p-efd9e806.entry.js +1 -0
- package/dist/wc/delta_share/p-f002c0bd.entry.js +1 -0
- package/dist/wc/delta_share/p-f1c47fff.entry.js +7 -0
- package/dist/wc/delta_share/p-f6075d7c.entry.js +1 -0
- package/dist/wc/delta_share/p-f685348b.js +1 -0
- package/dist/wc/delta_share/p-f7a0336e.entry.js +1 -0
- package/dist/wc/delta_share/p-f90ae8fc.entry.js +1 -0
- package/dist/wc/delta_share/p-fd19aa4b.entry.js +1 -0
- package/dist/wc/esm/breakpoints-9229197d.js +9 -0
- package/dist/wc/esm/delta_share.js +2 -2
- package/dist/wc/esm/index-02968d97.js +54 -0
- package/dist/wc/esm/index-477f3c77.js +62 -0
- package/dist/wc/esm/index-65780d25.js +15 -0
- package/dist/wc/esm/index-74e0ef99.js +340 -0
- package/dist/wc/esm/{index-1b01fa0e.js → index-b69e88d4.js} +52 -81
- package/dist/wc/esm/index-cd166cda.js +42 -0
- package/dist/wc/esm/{index-2be1634d.js → index-db80adda.js} +2 -5
- package/dist/wc/esm/{index-64993358.js → index-f98b91fa.js} +2 -5
- package/dist/wc/esm/license-activation_10.entry.js +991 -48
- package/dist/wc/esm/loader.js +2 -2
- package/dist/wc/esm/utils-1f351a57.js +101 -0
- package/dist/wc/esm/{utils-5e6dc3fe.js → utils-9550bfa1.js} +63 -63
- package/dist/wc/esm/z-accordion.entry.js +6 -22
- package/dist/wc/esm/z-alert.entry.js +3 -2
- package/dist/wc/esm/z-anchor-navigation.entry.js +16 -18
- package/dist/wc/esm/z-app-header-deprecated.entry.js +151 -0
- package/dist/wc/esm/z-app-header.entry.js +200 -118
- package/dist/wc/esm/z-aria-alert.entry.js +3 -4
- package/dist/wc/esm/z-avatar.entry.js +6 -7
- package/dist/wc/esm/z-book-card.entry.js +20 -11
- package/dist/wc/esm/z-breadcrumb.entry.js +87 -100
- package/dist/wc/esm/z-button-sort.entry.js +8 -8
- package/dist/wc/esm/z-card.entry.js +10 -9
- package/dist/wc/esm/z-carousel.entry.js +75 -44
- package/dist/wc/esm/z-chip.entry.js +7 -8
- package/dist/wc/esm/z-combobox.entry.js +141 -67
- package/dist/wc/esm/z-cover-hero.entry.js +5 -17
- package/dist/wc/esm/z-date-picker.entry.js +7 -7
- package/dist/wc/esm/z-divider.entry.js +3 -6
- package/dist/wc/esm/z-dragdrop-area.entry.js +6 -5
- package/dist/wc/esm/z-file-upload.entry.js +59 -32
- package/dist/wc/esm/z-file.entry.js +7 -5
- package/dist/wc/esm/z-ghost-loading.entry.js +2 -2
- package/dist/wc/esm/z-info-reveal.entry.js +31 -34
- package/dist/wc/esm/z-list_4.entry.js +209 -0
- package/dist/wc/esm/z-logo.entry.js +8 -2
- package/dist/wc/esm/z-menu-deprecated.entry.js +108 -0
- package/dist/wc/esm/z-menu-section-deprecated.entry.js +53 -0
- package/dist/wc/esm/z-menu-section.entry.js +158 -23
- package/dist/wc/esm/z-menu.entry.js +260 -61
- package/dist/wc/esm/z-myz-card-alert.entry.js +7 -3
- package/dist/wc/esm/z-myz-card-dictionary.entry.js +6 -8
- package/dist/wc/esm/z-myz-card-footer-sections.entry.js +2 -2
- package/dist/wc/esm/z-myz-card-footer.entry.js +9 -6
- package/dist/wc/esm/z-myz-card-icon.entry.js +3 -4
- package/dist/wc/esm/z-myz-card-info.entry.js +9 -9
- package/dist/wc/esm/z-myz-card-list.entry.js +4 -3
- package/dist/wc/esm/z-myz-card_4.entry.js +15 -8
- package/dist/wc/esm/z-myz-list-item.entry.js +17 -14
- package/dist/wc/esm/z-myz-list.entry.js +4 -2
- package/dist/wc/esm/z-navigation-tabs.entry.js +18 -21
- package/dist/wc/esm/z-notification.entry.js +14 -17
- package/dist/wc/esm/z-offcanvas_2.entry.js +103 -40
- package/dist/wc/esm/z-otp.entry.js +7 -6
- package/dist/wc/esm/z-pagination.entry.js +8 -15
- package/dist/wc/esm/z-panel-elem.entry.js +10 -11
- package/dist/wc/esm/z-popover.entry.js +11 -23
- package/dist/wc/esm/z-range-picker.entry.js +12 -12
- package/dist/wc/esm/z-section-title.entry.js +3 -10
- package/dist/wc/esm/z-select.entry.js +26 -21
- package/dist/wc/esm/z-skip-to-content.entry.js +7 -7
- package/dist/wc/esm/z-slideshow.entry.js +8 -5
- package/dist/wc/esm/z-stepper-item.entry.js +15 -6
- package/dist/wc/esm/z-stepper.entry.js +2 -2
- package/dist/wc/esm/z-table.entry.js +14 -19
- package/dist/wc/esm/z-tbody.entry.js +2 -2
- package/dist/wc/esm/z-td.entry.js +3 -3
- package/dist/wc/esm/z-tfoot.entry.js +2 -2
- package/dist/wc/esm/z-th.entry.js +3 -3
- package/dist/wc/esm/z-thead.entry.js +2 -2
- package/dist/wc/esm/z-toast-notification-list.entry.js +7 -7
- package/dist/wc/esm/z-toast-notification.entry.js +2660 -12
- package/dist/wc/esm/z-toggle-button.entry.js +6 -7
- package/dist/wc/esm/z-toggle-switch.entry.js +8 -12
- package/dist/wc/esm/z-tooltip.entry.js +5 -14
- package/dist/wc/esm/z-tr.entry.js +7 -7
- package/dist/wc/esm/z-visually-hidden.entry.js +2 -2
- package/package.json +1 -1
- package/dist/wc/cjs/breakpoints-e7c8838e.js +0 -9
- package/dist/wc/cjs/hammer-4f20813e.js +0 -2650
- package/dist/wc/cjs/icons-6d7ce4fc.js +0 -862
- package/dist/wc/cjs/index-029f1a7e.js +0 -344
- package/dist/wc/cjs/index-2693f4d5.js +0 -21
- package/dist/wc/cjs/index-30694024.js +0 -41
- package/dist/wc/cjs/index-3171b6c3.js +0 -79
- package/dist/wc/cjs/index-3218642b.js +0 -67
- package/dist/wc/cjs/index-422e5a81.js +0 -17
- package/dist/wc/cjs/index-452ee215.js +0 -20
- package/dist/wc/cjs/index-668dd84e.js +0 -34
- package/dist/wc/cjs/index-68c03627.js +0 -53
- package/dist/wc/cjs/index-72da8f73.js +0 -17
- package/dist/wc/cjs/index-8a564949.js +0 -29
- package/dist/wc/cjs/index-929abcb2.js +0 -74
- package/dist/wc/cjs/index-dbb9c380.js +0 -21
- package/dist/wc/cjs/index-e47a42d9.js +0 -22
- package/dist/wc/cjs/utils-43a3deb6.js +0 -97
- package/dist/wc/cjs/z-contextual-menu.cjs.entry.js +0 -46
- package/dist/wc/cjs/z-link.cjs.entry.js +0 -74
- package/dist/wc/cjs/z-list_3.cjs.entry.js +0 -261
- package/dist/wc/cjs/z-messages-pocket.cjs.entry.js +0 -46
- package/dist/wc/cjs/z-navigation-tab-link.cjs.entry.js +0 -74
- package/dist/wc/cjs/z-navigation-tab.cjs.entry.js +0 -73
- package/dist/wc/cjs/z-pocket-message.cjs.entry.js +0 -19
- package/dist/wc/cjs/z-pocket_3.cjs.entry.js +0 -125
- package/dist/wc/cjs/z-table-body.cjs.entry.js +0 -10
- package/dist/wc/cjs/z-table-cell.cjs.entry.js +0 -11
- package/dist/wc/cjs/z-table-deprecated.cjs.entry.js +0 -91
- package/dist/wc/cjs/z-table-empty-box.cjs.entry.js +0 -10
- package/dist/wc/cjs/z-table-expanded-row.cjs.entry.js +0 -10
- package/dist/wc/cjs/z-table-footer.cjs.entry.js +0 -10
- package/dist/wc/cjs/z-table-head.cjs.entry.js +0 -10
- package/dist/wc/cjs/z-table-header-row.cjs.entry.js +0 -10
- package/dist/wc/cjs/z-table-header.cjs.entry.js +0 -13
- package/dist/wc/cjs/z-table-row.cjs.entry.js +0 -11
- package/dist/wc/cjs/z-table-sticky-footer.cjs.entry.js +0 -10
- package/dist/wc/cjs/z-tag.cjs.entry.js +0 -22
- package/dist/wc/delta_share/p-007a1bc5.entry.js +0 -1
- package/dist/wc/delta_share/p-0188e962.entry.js +0 -1
- package/dist/wc/delta_share/p-01dd7a45.entry.js +0 -1
- package/dist/wc/delta_share/p-029a7353.entry.js +0 -1
- package/dist/wc/delta_share/p-032199e9.entry.js +0 -1
- package/dist/wc/delta_share/p-043cdbf1.js +0 -1
- package/dist/wc/delta_share/p-047a8524.entry.js +0 -1
- package/dist/wc/delta_share/p-0fe4e8b2.entry.js +0 -1
- package/dist/wc/delta_share/p-112478b5.js +0 -1
- package/dist/wc/delta_share/p-162d0233.entry.js +0 -1
- package/dist/wc/delta_share/p-1b701b0e.entry.js +0 -1
- package/dist/wc/delta_share/p-1bb7af24.js +0 -1
- package/dist/wc/delta_share/p-1d427e0a.entry.js +0 -1
- package/dist/wc/delta_share/p-1e3d2b14.entry.js +0 -1
- package/dist/wc/delta_share/p-1f4909c7.entry.js +0 -1
- package/dist/wc/delta_share/p-20ff5410.entry.js +0 -1
- package/dist/wc/delta_share/p-2427835b.js +0 -1
- package/dist/wc/delta_share/p-26d1744f.entry.js +0 -1
- package/dist/wc/delta_share/p-271ab47a.js +0 -1
- package/dist/wc/delta_share/p-2b5da773.js +0 -1
- package/dist/wc/delta_share/p-2da22eda.entry.js +0 -1
- package/dist/wc/delta_share/p-32498aa3.entry.js +0 -1
- package/dist/wc/delta_share/p-354d0aa4.entry.js +0 -1
- package/dist/wc/delta_share/p-3747affc.entry.js +0 -1
- package/dist/wc/delta_share/p-38341cfb.entry.js +0 -1
- package/dist/wc/delta_share/p-3b046489.entry.js +0 -1
- package/dist/wc/delta_share/p-3e0d58c3.entry.js +0 -1
- package/dist/wc/delta_share/p-40b1f526.entry.js +0 -1
- package/dist/wc/delta_share/p-40db0c2f.entry.js +0 -1
- package/dist/wc/delta_share/p-41580384.js +0 -1
- package/dist/wc/delta_share/p-45e62587.entry.js +0 -1
- package/dist/wc/delta_share/p-46575ead.js +0 -1
- package/dist/wc/delta_share/p-4666e9fb.entry.js +0 -1
- package/dist/wc/delta_share/p-47c1de64.entry.js +0 -1
- package/dist/wc/delta_share/p-4b9be5d5.entry.js +0 -1
- package/dist/wc/delta_share/p-4bf8f33b.js +0 -1
- package/dist/wc/delta_share/p-50d72747.entry.js +0 -1
- package/dist/wc/delta_share/p-553d3d4e.js +0 -1
- package/dist/wc/delta_share/p-5ab3a4b0.entry.js +0 -1
- package/dist/wc/delta_share/p-5bb251dd.entry.js +0 -1
- package/dist/wc/delta_share/p-5cecb6db.entry.js +0 -1
- package/dist/wc/delta_share/p-62970c74.entry.js +0 -1
- package/dist/wc/delta_share/p-6347f0d8.entry.js +0 -1
- package/dist/wc/delta_share/p-66454c1b.entry.js +0 -1
- package/dist/wc/delta_share/p-6676c375.entry.js +0 -1
- package/dist/wc/delta_share/p-697c4ac9.js +0 -1
- package/dist/wc/delta_share/p-72442d2b.js +0 -1
- package/dist/wc/delta_share/p-72c4a523.entry.js +0 -1
- package/dist/wc/delta_share/p-7856ba3d.entry.js +0 -1
- package/dist/wc/delta_share/p-7eb297a7.entry.js +0 -1
- package/dist/wc/delta_share/p-8589abd7.js +0 -1
- package/dist/wc/delta_share/p-86f2958b.entry.js +0 -1
- package/dist/wc/delta_share/p-8745c480.entry.js +0 -1
- package/dist/wc/delta_share/p-8f123d77.entry.js +0 -1
- package/dist/wc/delta_share/p-90289241.entry.js +0 -1
- package/dist/wc/delta_share/p-95056ca8.entry.js +0 -1
- package/dist/wc/delta_share/p-95945f29.entry.js +0 -1
- package/dist/wc/delta_share/p-97577c0b.entry.js +0 -1
- package/dist/wc/delta_share/p-97d82f7e.entry.js +0 -1
- package/dist/wc/delta_share/p-9ebfdadf.entry.js +0 -1
- package/dist/wc/delta_share/p-a430cb52.entry.js +0 -1
- package/dist/wc/delta_share/p-a6a819d5.entry.js +0 -1
- package/dist/wc/delta_share/p-ac9574a6.entry.js +0 -1
- package/dist/wc/delta_share/p-aefef80d.entry.js +0 -1
- package/dist/wc/delta_share/p-b052dab7.entry.js +0 -3
- package/dist/wc/delta_share/p-b2f3596c.entry.js +0 -1
- package/dist/wc/delta_share/p-b4d3ca7d.entry.js +0 -1
- package/dist/wc/delta_share/p-b7a409df.entry.js +0 -1
- package/dist/wc/delta_share/p-b7b93904.entry.js +0 -1
- package/dist/wc/delta_share/p-b9b6c478.entry.js +0 -1
- package/dist/wc/delta_share/p-bb8ec114.entry.js +0 -1
- package/dist/wc/delta_share/p-c3bcf36d.entry.js +0 -1
- package/dist/wc/delta_share/p-c4faf4eb.entry.js +0 -1
- package/dist/wc/delta_share/p-c61d7a11.js +0 -1
- package/dist/wc/delta_share/p-c64b3da1.entry.js +0 -1
- package/dist/wc/delta_share/p-c72a8f42.entry.js +0 -1
- package/dist/wc/delta_share/p-c7678d37.js +0 -1
- package/dist/wc/delta_share/p-ca2494fb.entry.js +0 -1
- package/dist/wc/delta_share/p-cc222b2f.entry.js +0 -1
- package/dist/wc/delta_share/p-ce15fdd1.entry.js +0 -1
- package/dist/wc/delta_share/p-cf6854c4.entry.js +0 -1
- package/dist/wc/delta_share/p-d79b35a8.entry.js +0 -1
- package/dist/wc/delta_share/p-d8592d42.js +0 -1
- package/dist/wc/delta_share/p-d86cd1ff.entry.js +0 -1
- package/dist/wc/delta_share/p-da254424.entry.js +0 -1
- package/dist/wc/delta_share/p-db4d5b29.entry.js +0 -1
- package/dist/wc/delta_share/p-dbf33c0f.entry.js +0 -1
- package/dist/wc/delta_share/p-df6ae14f.js +0 -1
- package/dist/wc/delta_share/p-e43e61ac.js +0 -7
- package/dist/wc/delta_share/p-e4fdcfc5.entry.js +0 -1
- package/dist/wc/delta_share/p-e573c206.entry.js +0 -1
- package/dist/wc/delta_share/p-e708b262.entry.js +0 -1
- package/dist/wc/delta_share/p-e8cda39a.js +0 -1
- package/dist/wc/delta_share/p-e94ef0ed.entry.js +0 -1
- package/dist/wc/delta_share/p-eb889b01.js +0 -2
- package/dist/wc/delta_share/p-edaf6126.entry.js +0 -1
- package/dist/wc/delta_share/p-efa66157.js +0 -1
- package/dist/wc/delta_share/p-f1bf817c.entry.js +0 -1
- package/dist/wc/delta_share/p-f25116a7.js +0 -1
- package/dist/wc/delta_share/p-f3023043.entry.js +0 -1
- package/dist/wc/delta_share/p-f42019e4.entry.js +0 -1
- package/dist/wc/delta_share/p-f5bb55e0.entry.js +0 -16
- package/dist/wc/delta_share/p-f635c868.entry.js +0 -1
- package/dist/wc/delta_share/p-fbc9f1bc.entry.js +0 -1
- package/dist/wc/esm/breakpoints-3c3dbb8c.js +0 -5
- package/dist/wc/esm/hammer-c3266b17.js +0 -2648
- package/dist/wc/esm/icons-6196a79a.js +0 -860
- package/dist/wc/esm/index-03cc51b1.js +0 -39
- package/dist/wc/esm/index-1082a536.js +0 -20
- package/dist/wc/esm/index-113e6780.js +0 -15
- package/dist/wc/esm/index-4854c8af.js +0 -27
- package/dist/wc/esm/index-485971a0.js +0 -15
- package/dist/wc/esm/index-9d240d39.js +0 -344
- package/dist/wc/esm/index-b3f3a99c.js +0 -77
- package/dist/wc/esm/index-ba38e8d5.js +0 -15
- package/dist/wc/esm/index-ce7e02a3.js +0 -72
- package/dist/wc/esm/index-cfd5ec9b.js +0 -65
- package/dist/wc/esm/index-de36993f.js +0 -18
- package/dist/wc/esm/index-df808f62.js +0 -32
- package/dist/wc/esm/index-f7dfdf1f.js +0 -19
- package/dist/wc/esm/index-faec138b.js +0 -19
- package/dist/wc/esm/index-ff4885bf.js +0 -51
- package/dist/wc/esm/utils-bc5ea6f7.js +0 -88
- package/dist/wc/esm/z-contextual-menu.entry.js +0 -42
- package/dist/wc/esm/z-link.entry.js +0 -70
- package/dist/wc/esm/z-list_3.entry.js +0 -255
- package/dist/wc/esm/z-messages-pocket.entry.js +0 -42
- package/dist/wc/esm/z-navigation-tab-link.entry.js +0 -70
- package/dist/wc/esm/z-navigation-tab.entry.js +0 -69
- package/dist/wc/esm/z-pocket-message.entry.js +0 -15
- package/dist/wc/esm/z-pocket_3.entry.js +0 -119
- package/dist/wc/esm/z-table-body.entry.js +0 -2
- package/dist/wc/esm/z-table-cell.entry.js +0 -3
- package/dist/wc/esm/z-table-deprecated.entry.js +0 -87
- package/dist/wc/esm/z-table-empty-box.entry.js +0 -2
- package/dist/wc/esm/z-table-expanded-row.entry.js +0 -2
- package/dist/wc/esm/z-table-footer.entry.js +0 -2
- package/dist/wc/esm/z-table-head.entry.js +0 -2
- package/dist/wc/esm/z-table-header-row.entry.js +0 -2
- package/dist/wc/esm/z-table-header.entry.js +0 -5
- package/dist/wc/esm/z-table-row.entry.js +0 -3
- package/dist/wc/esm/z-table-sticky-footer.entry.js +0 -2
- package/dist/wc/esm/z-tag.entry.js +0 -18
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const index$1 = require('./index-
|
|
5
|
+
const index = require('./index-48ad79ef.js');
|
|
6
|
+
const index$1 = require('./index-9c3aec20.js');
|
|
7
7
|
|
|
8
8
|
const stylesCss = ":host{display:inline-flex;overflow:hidden;align-items:center;justify-content:center;background-color:var(--gray700);border-radius:50%;font-family:var(--font-family-sans);text-transform:uppercase}:host(.small),:host(.small)>img{width:calc(var(--space-unit) * 3);height:calc(var(--space-unit) * 3)}:host(.medium),:host(.medium)>img{width:calc(var(--space-unit) * 4);height:calc(var(--space-unit) * 4)}:host(.large),:host(.large)>img{width:calc(var(--space-unit) * 5);height:calc(var(--space-unit) * 5)}:host>img{object-fit:cover}";
|
|
9
9
|
|
|
@@ -11,12 +11,11 @@ const ZAvatar = class {
|
|
|
11
11
|
constructor(hostRef) {
|
|
12
12
|
index.registerInstance(this, hostRef);
|
|
13
13
|
var _a, _b;
|
|
14
|
-
/** [optional] Avatar size */
|
|
15
14
|
this.size = index$1.AvatarSize.MEDIUM;
|
|
16
|
-
|
|
15
|
+
this.text = undefined;
|
|
17
16
|
this.textColor = "color-white";
|
|
18
|
-
/** [optional] Avatar background color */
|
|
19
17
|
this.backgroundColor = "gray700";
|
|
18
|
+
this.image = undefined;
|
|
20
19
|
if (((_a = this.text) === null || _a === void 0 ? void 0 : _a.length) === 0 && ((_b = this.image) === null || _b === void 0 ? void 0 : _b.length) === 0) {
|
|
21
20
|
console.warn("z-avatar must contain at least one prop between text and image");
|
|
22
21
|
}
|
|
@@ -33,10 +32,10 @@ const ZAvatar = class {
|
|
|
33
32
|
}
|
|
34
33
|
}
|
|
35
34
|
render() {
|
|
36
|
-
return (index.h(index.Host, { class: { [this.size]: true, [`body-${this.getTextSize()}-sb`]: true }, style: {
|
|
35
|
+
return (index.h(index.Host, { key: '8e7d78169cfb0f1705bc91c8db649a7d500290a6', class: { [this.size]: true, [`body-${this.getTextSize()}-sb`]: true }, style: {
|
|
37
36
|
color: `var(--${this.textColor})`,
|
|
38
37
|
backgroundColor: `var(--${this.backgroundColor})`,
|
|
39
|
-
} }, this.text && !this.image && index.h("span",
|
|
38
|
+
} }, this.text && !this.image && index.h("span", { key: '096abc1df006eea6430564aaf999c22a18b60682' }, this.text.substring(0, 2)), this.image && (index.h("img", { key: '68d28c12bc007a0575e6797987501a1851ae8b3a', src: this.image, onError: () => (this.image = "") }))));
|
|
40
39
|
}
|
|
41
40
|
};
|
|
42
41
|
ZAvatar.style = stylesCss;
|
|
@@ -2,21 +2,30 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const index$1 = require('./index-
|
|
7
|
-
const breakpoints = require('./breakpoints-
|
|
8
|
-
const utils = require('./utils-
|
|
5
|
+
const index = require('./index-48ad79ef.js');
|
|
6
|
+
const index$1 = require('./index-9c3aec20.js');
|
|
7
|
+
const breakpoints = require('./breakpoints-7770f79c.js');
|
|
8
|
+
const utils = require('./utils-ff107ab4.js');
|
|
9
9
|
|
|
10
|
-
const stylesCss = ":host{--z-book-card-ribbon-background-color:var(--avatar-C08);--z-book-card-ribbon-shadow-color:var(--green950);--z-book-card-compact-width:262px;--z-book-card-compact-height:568px}:host>article{display:block;width:100%;max-width:360px;box-sizing:border-box;border:var(--border-size-medium) solid var(--color-surface03);background-color:var(--color-surface01);border-radius:var(--border-radius);font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>article div.cover{position:relative}:host>article div.cover div.img-wrapper{display:flex;overflow:hidden;border:var(--border-size-small) solid var(--color-surface03);line-height:0}:host>article div.cover div.img-wrapper img{width:auto;max-width:100%;height:auto;max-height:100%;align-self:flex-end}:host>article div.cover .ribbon{position:absolute;z-index:10;top:calc(var(--space-unit) * 2);left:calc(var(--space-unit) * -2);display:flex;max-width:100%;height:calc(var(--space-unit) * 4);box-sizing:border-box;align-items:center;padding:0 calc(var(--space-unit) * 2);border:var(--border-size-medium) solid var(--color-surface01);background:var(--z-book-card-ribbon-background-color);border-radius:0 var(--border-radius) var(--border-radius) 0;box-shadow:var(--shadow-2);color:var(--color-
|
|
10
|
+
const stylesCss = ":host{--z-book-card-ribbon-background-color:var(--avatar-C08);--z-book-card-ribbon-shadow-color:var(--green950);--z-book-card-compact-width:262px;--z-book-card-compact-height:568px}:host>article{display:block;width:100%;max-width:360px;box-sizing:border-box;border:var(--border-size-medium) solid var(--color-surface03);background-color:var(--color-surface01);border-radius:var(--border-radius);font-family:var(--font-family-sans);font-weight:var(--font-rg)}:host>article div.cover{position:relative}:host>article div.cover div.img-wrapper{display:flex;overflow:hidden;border:var(--border-size-small) solid var(--color-surface03);line-height:0}:host>article div.cover div.img-wrapper img{width:auto;max-width:100%;height:auto;max-height:100%;align-self:flex-end}:host>article div.cover .ribbon{position:absolute;z-index:10;top:calc(var(--space-unit) * 2);left:calc(var(--space-unit) * -2);display:flex;max-width:100%;height:calc(var(--space-unit) * 4);box-sizing:border-box;align-items:center;padding:0 calc(var(--space-unit) * 2);border:var(--border-size-medium) solid var(--color-surface01);background:var(--z-book-card-ribbon-background-color);border-radius:0 var(--border-radius) var(--border-radius) 0;box-shadow:var(--shadow-2);color:var(--color-text-inverse);font-family:var(--font-family-sans);font-size:var(--font-size-2);font-weight:var(--font-sb);line-height:initial}:host>article div.cover .ribbon.interactive:hover{cursor:pointer}:host>article div.cover .ribbon.interactive:focus{box-shadow:var(--shadow-focus-primary);outline:none !important}:host>article div.cover .ribbon span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-wrap:nowrap}:host>article div.cover .ribbon::before{position:absolute;bottom:-12px;left:-2px;width:0;height:0;border-top:10px solid var(--z-book-card-ribbon-shadow-color);border-left:16px solid transparent;content:\"\"}:host>article div.cover .ribbon z-icon{margin-right:var(--space-unit)}:host>article div.content{margin:var(--space-unit) 0;border-radius:var(--border-radius)}:host>article .title{display:flex;height:100%;align-self:center;color:var(--color-default-text);font-size:var(--font-size-4);font-weight:var(--font-sb);line-height:1.5}:host>article .title *{all:unset}:host>article div.subtitle{color:var(--color-default-text);font-size:var(--font-size-2);font-weight:var(--font-rg);line-height:1.4}:host>article div.authors{color:var(--color-default-text);font-size:var(--font-size-1);font-weight:var(--font-rg);line-height:1.33}:host>article div.isbn{overflow:hidden;color:var(--color-default-text);font-size:var(--font-size-2);line-height:1.33;text-overflow:ellipsis;white-space:nowrap;word-wrap:nowrap}:host>article div.isbn>.code{font-weight:var(--font-sb)}:host>article div.tags{display:flex;overflow:hidden;max-height:32px;flex-flow:row wrap;align-content:stretch;align-items:stretch;justify-content:flex-start;gap:calc(var(--space-unit) / 2)}:host>article ::slotted([slot=\"tags\"]){margin-bottom:var(--space-unit)}:host>article ::slotted([slot=\"header-cta\"]){--z-icon-width:20px;--z-icon-height:20px;padding:var(--space-unit);cursor:pointer;fill:var(--color-primary01-icon)}:host>article ::slotted([slot=\"header-cta\"]:focus){box-shadow:var(--shadow-focus-primary);outline:none !important}:host>article.expanded{width:100%;min-width:328px;padding:calc(var(--space-unit) * 2);padding-bottom:0}:host>article.expanded div.header{display:flex;flex-flow:row nowrap;align-content:stretch;align-items:top;justify-content:space-between;margin-bottom:var(--space-unit);white-space:nowrap}:host>article.expanded div.cover div.img-wrapper{border-radius:var(--border-radius)}:host>article.expanded div.cover div.img-wrapper img{width:100%}:host>article.expanded .title,:host>article.expanded .subtitle,:host>article.expanded .authors{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:initial}:host>article.expanded div.footer{border-top:var(--border-size-small) solid var(--color-surface03);margin-bottom:calc(var(--space-unit) * 1.5)}:host>article.expanded div.footer.open{padding-top:calc(var(--space-unit) * 1.5)}:host>article.expanded div.footer.open div.resources{display:initial}:host>article.expanded div.footer.close div.resources{display:none}:host>article.expanded button.show-resources{--z-icon-height:16px;--z-icon-width:16px;all:unset;display:flex;width:100%;flex-flow:row nowrap;align-content:center;align-items:center;justify-content:center;padding:calc(var(--space-unit) * 1) 0;color:var(--color-link-primary);cursor:pointer;fill:var(--color-link-primary);font-size:var(--font-size-2);font-weight:var(--font-sb);gap:var(--space-unit)}:host>article.expanded button.show-resources:focus{box-shadow:var(--shadow-focus-primary)}:host>article.search{width:262px;height:616px;padding:calc(var(--space-unit) * 2);padding-bottom:0}:host>article.search .wrapper-container{display:flex;height:100%;flex-direction:column;justify-content:space-between}:host>article.search .wrapper-container .wrapper{height:451px}:host>article.search .wrapper-container .action-container{padding-bottom:calc(var(--space-unit) * 2)}:host>article.search div.header{display:flex;height:24px;flex-flow:row nowrap;align-content:stretch;align-items:center;justify-content:space-between;margin-bottom:calc(var(--space-unit) * 1.5);white-space:nowrap}:host>article.search div.cover div.img-wrapper{height:314px;border-radius:var(--border-radius)}:host>article.search .title{display:block;height:initial;align-self:unset;font-size:var(--font-size-3)}:host>article.search .title,:host>article.search .subtitle,:host>article.search .authors{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host>article.compact{width:var(--z-book-card-compact-width);height:var(--z-book-card-compact-height)}:host>article.compact.borderless{border:none}:host>article.compact div.cover div.img-wrapper{width:100%;height:calc(var(--z-book-card-compact-width) * 1.36);box-sizing:border-box;border:none;background:var(--color-white);border-radius:var(--border-radius) var(--border-radius) 0 0;box-shadow:var(--shadow-2)}:host>article.compact div.wrapper{display:flex;height:100%;flex-flow:column nowrap;align-content:stretch;align-items:stretch;justify-content:flex-start}:host>article.compact div.content{display:flex;box-sizing:border-box;flex-flow:column nowrap;align-content:stretch;align-items:stretch;justify-content:space-between;padding:calc(var(--space-unit) * 2);padding-top:var(--space-unit);margin:0}:host>article.compact div.action-container{padding:calc(var(--space-unit) * 2);padding-top:0;margin-top:auto}:host>article.compact.borderless div.cover div.img-wrapper{width:var(--z-book-card-compact-width)}:host>article.compact.borderless div.content{padding:0;padding-top:var(--space-unit)}:host>article.compact.borderless div.action-container{padding:0;padding-bottom:calc(var(--space-unit) * 2)}:host>article.compact .title{display:block;height:initial;align-self:unset}:host>article.compact .title,:host>article.compact .subtitle,:host>article.compact .authors{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;white-space:initial}@media (min-width: 768px){:host>article{width:100%;max-width:initial}:host>article .title{display:block;height:initial;align-self:unset}:host>article.expanded{width:100%;min-width:initial;max-width:initial;height:360px;padding:0;border:0}:host>article.expanded div.wrapper{display:flex;flex-flow:row nowrap;align-content:stretch;align-items:stretch;justify-content:flex-start}:host>article.expanded div.cover div.img-wrapper{width:262px;height:356px;border:0;border:var(--border-size-medium) solid var(--color-surface03);border-right:none;background:var(--color-surface01);border-radius:var(--border-radius) 0 0 var(--border-radius)}:host>article.expanded div.cover div.img-wrapper img{width:auto;border-radius:0}:host>article.expanded div.content{display:flex;overflow:hidden;width:100%;height:356px;flex-flow:column nowrap;align-content:stretch;align-items:stretch;justify-content:space-between;border:var(--border-size-medium) solid var(--color-surface03);border-left:none;margin:0;background:var(--color-surface01);border-radius:0 var(--border-radius) var(--border-radius) 0}:host>article.expanded div.content div.top{padding:calc(var(--space-unit) * 2);padding-bottom:0}:host>article.expanded div.content div.top div.info{display:flex;flex-flow:row nowrap;align-content:stretch;align-items:stretch;justify-content:space-between;margin-bottom:calc(var(--space-unit) / 2)}:host>article.expanded div.content div.top div.info>div.left{width:100%}:host>article.expanded div.content div.bottom{padding:calc(var(--space-unit) * 2);padding-bottom:0}}@media (min-width: 1152px){:host>article{width:fit-content;max-width:initial}}@media (min-width: 1366px){:host>article.expanded{width:635px}:host>article.expanded div.content{width:369px}}";
|
|
11
11
|
|
|
12
12
|
const ZBookCard = class {
|
|
13
13
|
constructor(hostRef) {
|
|
14
14
|
index.registerInstance(this, hostRef);
|
|
15
15
|
this.ribbonClick = index.createEvent(this, "ribbonClick", 7);
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
this.variant = undefined;
|
|
17
|
+
this.cover = undefined;
|
|
18
|
+
this.operaTitle = undefined;
|
|
19
|
+
this.volumeTitle = undefined;
|
|
20
|
+
this.authors = undefined;
|
|
21
|
+
this.isbn = undefined;
|
|
19
22
|
this.isbnLabel = "";
|
|
23
|
+
this.ribbon = undefined;
|
|
24
|
+
this.ribbonIcon = undefined;
|
|
25
|
+
this.ribbonInteractive = undefined;
|
|
26
|
+
this.borderless = undefined;
|
|
27
|
+
this.fallbackCover = undefined;
|
|
28
|
+
this.operaTitleTag = undefined;
|
|
20
29
|
this.isMobile = false;
|
|
21
30
|
this.hasResources = false;
|
|
22
31
|
this.showResources = false;
|
|
@@ -26,7 +35,7 @@ const ZBookCard = class {
|
|
|
26
35
|
}
|
|
27
36
|
componentWillLoad() {
|
|
28
37
|
this.id = `id-${utils.randomId()}`;
|
|
29
|
-
const mobileMediaQuery = window.matchMedia(`(max-width: ${breakpoints.
|
|
38
|
+
const mobileMediaQuery = window.matchMedia(`(max-width: ${breakpoints.Breakpoints.MOBILE}px)`);
|
|
30
39
|
this.isMobile = mobileMediaQuery.matches;
|
|
31
40
|
mobileMediaQuery.onchange = (mql) => (this.isMobile = mql.matches);
|
|
32
41
|
}
|
|
@@ -78,7 +87,7 @@ const ZBookCard = class {
|
|
|
78
87
|
}
|
|
79
88
|
renderRibbon() {
|
|
80
89
|
const content = [
|
|
81
|
-
this.ribbonIcon && (index.h("z-icon", { name: this.ribbonIcon, width: 16, height: 16, fill: "color-
|
|
90
|
+
this.ribbonIcon && (index.h("z-icon", { name: this.ribbonIcon, width: 16, height: 16, fill: "color-inverse-icon" })),
|
|
82
91
|
index.h("span", null, this.ribbon),
|
|
83
92
|
];
|
|
84
93
|
return this.ribbonInteractive ? (index.h("button", { class: "ribbon interactive", onClick: () => this.emitRibbonClick() }, content)) : (index.h("div", { class: "ribbon" }, content));
|
|
@@ -114,7 +123,7 @@ const ZBookCard = class {
|
|
|
114
123
|
return (index.h("div", { class: "action-container" }, index.h("slot", { name: "footer-cta" })));
|
|
115
124
|
}
|
|
116
125
|
render() {
|
|
117
|
-
return (index.h("article", { class: {
|
|
126
|
+
return (index.h("article", { key: '4d781e135d7b5838443817e70df1cfdc3d597adc', class: {
|
|
118
127
|
[this.variant]: true,
|
|
119
128
|
borderless: !!this.borderless,
|
|
120
129
|
} }, this.renderCard()));
|
|
@@ -2,35 +2,29 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const index$1 = require('./index-
|
|
7
|
-
const utils = require('./utils-
|
|
8
|
-
require('./breakpoints-
|
|
5
|
+
const index = require('./index-48ad79ef.js');
|
|
6
|
+
const index$1 = require('./index-9c3aec20.js');
|
|
7
|
+
const utils = require('./utils-ff107ab4.js');
|
|
8
|
+
require('./breakpoints-7770f79c.js');
|
|
9
9
|
|
|
10
|
-
const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg);--line-clamp-popover:0;--line-clamp-mobile:1}button{padding:0;border:none;margin:0;background-color:transparent}nav{display:flex;
|
|
10
|
+
const stylesCss = ":host{font-family:var(--font-family-sans);font-weight:var(--font-rg);--line-clamp-popover:0;--line-clamp-mobile:1}*{box-sizing:border-box}button{padding:0;border:none;margin:0;background-color:transparent}nav{display:flex;align-items:center}ol{display:flex;align-items:center;padding:0;margin:0;column-gap:var(--space-unit);list-style:none}li{display:flex;align-items:center;justify-content:flex-start;column-gap:var(--space-unit)}ol li>a,ol li>button{font-size:var(--font-size-2);letter-spacing:0.16px;line-height:1.4}a:focus,button:focus{box-shadow:var(--shadow-focus-primary);outline:none}a{color:var(--color-link-primary);white-space:nowrap}a.missing-path{color:var(--color-default-text)}.text-ellipsis{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:var(--line-clamp-mobile);text-overflow:ellipsis;white-space:initial}nav.semibold>ol>li>a:not(.missing-path),nav.semibold>ol>li>button{font-weight:var(--font-sb);text-decoration:none}nav.underlined a,nav.underlined button{text-decoration:underline}z-icon{--z-icon-width:16px;--z-icon-height:16px;display:block;fill:var(--color-link-primary)}z-icon.separator{--z-icon-width:10px;--z-icon-height:10px;fill:var(--gray500)}button.dots{display:inline-block;color:var(--color-link-primary);cursor:pointer}.hidden-paths-popover .popover-content{max-width:302px;padding:calc(var(--space-unit) / 2) var(--space-unit);text-align:left}.hidden-paths-popover .popover-content a{font-weight:var(--font-rg);text-decoration:none}.hidden-paths-popover{--z-popover-theme--surface:var(--color-surface02);--z-popover-padding:0}.hidden-paths-popover::before,.full-path-tooltip::before{--arrow-edge-offset:calc(100% - (var(--space-unit) * 2.55))}.full-path-tooltip{--z-popover-theme--surface:var(--color-surface05);--z-popover-theme--text:var(--color-text-inverse);--z-popover-padding:0}.tooltip-content{padding:0 var(--space-unit);font-size:var(--font-size-2)}@media (min-width: 768px){.text-ellipsis{-webkit-line-clamp:var(--line-clamp-popover)}}@media (max-width: 767px){li a{display:flex;align-items:center;column-gap:var(--space-unit)}}";
|
|
11
11
|
|
|
12
12
|
const ZBreadcrumb = class {
|
|
13
13
|
constructor(hostRef) {
|
|
14
14
|
index.registerInstance(this, hostRef);
|
|
15
15
|
this.clickOnNode = index.createEvent(this, "clickOnNode", 7);
|
|
16
|
-
|
|
16
|
+
this.collapsedElements = [];
|
|
17
|
+
this.currentIndex = 0;
|
|
18
|
+
this.truncatePosition = null;
|
|
17
19
|
this.pathStyle = index$1.BreadcrumbPathStyle.UNDERLINED;
|
|
18
|
-
/** [optional] Variant of first node */
|
|
19
20
|
this.homepageVariant = index$1.BreadcrumbHomepageVariant.ICON;
|
|
20
|
-
/** [optional] Sets max number of element to show */
|
|
21
21
|
this.maxNodesToShow = 5;
|
|
22
|
-
/** [optional] Controls the behaviour on <a> tag click/enter */
|
|
23
22
|
this.preventFollowUrl = false;
|
|
24
|
-
/** [optional] Sets max number of row for each path inside the popover. Zero equals unlimited */
|
|
25
23
|
this.overflowMenuItemRows = 0;
|
|
26
|
-
/** [optional] Sets the maximun number of chars per single node */
|
|
27
24
|
this.truncateChar = 30;
|
|
28
|
-
|
|
25
|
+
this.viewPortWidth = undefined;
|
|
29
26
|
this.hasOverflow = false;
|
|
30
27
|
this.popoverEllipsisOpen = false;
|
|
31
|
-
this.collapsedElements = [];
|
|
32
|
-
this.currentIndex = 0;
|
|
33
|
-
this.truncatePosition = null;
|
|
34
28
|
}
|
|
35
29
|
handleResize() {
|
|
36
30
|
this.viewPortWidth = utils.getDevice();
|
|
@@ -42,7 +36,7 @@ const ZBreadcrumb = class {
|
|
|
42
36
|
}
|
|
43
37
|
// eslint-disable-next-line lines-between-class-members
|
|
44
38
|
handlePropChange() {
|
|
45
|
-
this.initializeBreadcrumb(
|
|
39
|
+
this.initializeBreadcrumb();
|
|
46
40
|
}
|
|
47
41
|
handleResizeUp(newValue, oldValue) {
|
|
48
42
|
if (newValue === index$1.Device.MOBILE ||
|
|
@@ -52,12 +46,12 @@ const ZBreadcrumb = class {
|
|
|
52
46
|
(oldValue === index$1.Device.TABLET && newValue === index$1.Device.DESKTOP) ||
|
|
53
47
|
(oldValue === index$1.Device.TABLET && newValue === index$1.Device.DESKTOP_WIDE) ||
|
|
54
48
|
(oldValue === index$1.Device.DESKTOP && newValue === index$1.Device.DESKTOP_WIDE)) {
|
|
55
|
-
this.initializeBreadcrumb(
|
|
49
|
+
this.initializeBreadcrumb();
|
|
56
50
|
}
|
|
57
51
|
}
|
|
58
52
|
componentWillLoad() {
|
|
59
53
|
this.viewPortWidth = utils.getDevice();
|
|
60
|
-
this.initializeBreadcrumb(
|
|
54
|
+
this.initializeBreadcrumb();
|
|
61
55
|
}
|
|
62
56
|
componentWillRender() {
|
|
63
57
|
if (this.viewPortWidth !== index$1.Device.MOBILE && this.hasOverflow) {
|
|
@@ -73,61 +67,52 @@ const ZBreadcrumb = class {
|
|
|
73
67
|
this.hasOverflow = true;
|
|
74
68
|
}
|
|
75
69
|
}
|
|
76
|
-
initializeBreadcrumb(
|
|
77
|
-
if (
|
|
70
|
+
initializeBreadcrumb() {
|
|
71
|
+
if (this.viewPortWidth === index$1.Device.MOBILE) {
|
|
78
72
|
this.pathsList = this.getPathsItemsList().filter((item) => !!item.path);
|
|
79
73
|
}
|
|
80
74
|
else {
|
|
81
75
|
this.pathsList = this.getPathsItemsList();
|
|
82
76
|
}
|
|
83
|
-
this.totalLenght = this.pathsList.length;
|
|
84
77
|
this.homepageNode = this.pathsList.shift();
|
|
85
|
-
this.pathListCopy =
|
|
78
|
+
this.pathListCopy = [...this.pathsList];
|
|
86
79
|
this.collapsedElements = [];
|
|
87
|
-
if (this.
|
|
80
|
+
if (this.pathsList.length > this.maxNodesToShow) {
|
|
88
81
|
this.collapsedElements = this.pathsList.splice(0, this.pathsList.length - 2);
|
|
89
82
|
}
|
|
90
83
|
}
|
|
91
84
|
checkEllipsisOrOverflowMenu() {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
this.currentEllipsisText = this.pathsList[i].text;
|
|
116
|
-
this.pathsList[i].text = truncatedString;
|
|
117
|
-
this.pathsList[i].hasTooltip = true;
|
|
118
|
-
this.truncatePosition = i;
|
|
119
|
-
return;
|
|
120
|
-
}
|
|
121
|
-
}
|
|
85
|
+
for (let i = 0; i < this.pathsList.length; i++) {
|
|
86
|
+
if (this.pathsList[i].text.length <= this.truncateChar) {
|
|
87
|
+
continue;
|
|
88
|
+
}
|
|
89
|
+
if (this.truncatePosition > 0) {
|
|
90
|
+
this.collapsedElements.push(...this.pathListCopy.splice(0, this.truncatePosition));
|
|
91
|
+
this.pathsList.splice(0, this.truncatePosition);
|
|
92
|
+
this.truncatePosition = 0;
|
|
93
|
+
return;
|
|
94
|
+
}
|
|
95
|
+
else if (this.truncatePosition === 0) {
|
|
96
|
+
this.collapsedElements.push(...this.pathListCopy.splice(0, this.truncatePosition + 1));
|
|
97
|
+
this.pathsList.splice(0, this.truncatePosition + 1);
|
|
98
|
+
this.truncatePosition = null;
|
|
99
|
+
return;
|
|
100
|
+
}
|
|
101
|
+
if (i !== this.pathsList.length - 1) {
|
|
102
|
+
const truncatedString = this.truncateWithEllipsis(this.pathsList[i].text, this.truncateChar);
|
|
103
|
+
this.currentEllipsisText = this.pathsList[i].text;
|
|
104
|
+
this.pathsList[i].text = truncatedString;
|
|
105
|
+
this.pathsList[i].hasTooltip = true;
|
|
106
|
+
this.truncatePosition = i;
|
|
107
|
+
return;
|
|
122
108
|
}
|
|
123
109
|
}
|
|
124
110
|
}
|
|
125
|
-
truncateWithEllipsis(str,
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
return str.substring(0, length - 1) + ending;
|
|
111
|
+
truncateWithEllipsis(str, maxLength) {
|
|
112
|
+
if (str.length <= maxLength) {
|
|
113
|
+
return str;
|
|
129
114
|
}
|
|
130
|
-
return str;
|
|
115
|
+
return str.substring(0, maxLength - 1) + "…";
|
|
131
116
|
}
|
|
132
117
|
getPathsItemsList() {
|
|
133
118
|
return Array.from(this.hostElement.children).map((item) => {
|
|
@@ -138,38 +123,12 @@ const ZBreadcrumb = class {
|
|
|
138
123
|
};
|
|
139
124
|
});
|
|
140
125
|
}
|
|
141
|
-
|
|
142
|
-
const lastPath = this.pathsList[this.pathsList.length - 1];
|
|
143
|
-
return (index.h("nav", { "aria-label": "Breadcrumb", class: {
|
|
144
|
-
underlined: this.pathStyle === index$1.BreadcrumbPathStyle.UNDERLINED,
|
|
145
|
-
semibold: this.pathStyle === index$1.BreadcrumbPathStyle.SEMIBOLD,
|
|
146
|
-
} }, index.h("ol", null, this.renderNode(lastPath, true))));
|
|
147
|
-
}
|
|
148
|
-
renderHomepageNode(item) {
|
|
126
|
+
renderHomepageNode() {
|
|
149
127
|
return (index.h("li", null, index.h("a", { class: {
|
|
150
|
-
"homepage-icon": this.homepageVariant === index$1.BreadcrumbHomepageVariant.ICON,
|
|
151
128
|
"homepage-text": this.homepageVariant === index$1.BreadcrumbHomepageVariant.TEXT,
|
|
152
|
-
}, href:
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
return (index.h("li", null, item.hasTooltip && (index.h("z-popover", { class: "full-path-tooltip", "bind-to": this.triggerEllipsis, open: this.popoverEllipsisOpen, position: index$1.PopoverPosition.BOTTOM_RIGHT, closable: false, showArrow: true }, index.h("span", { class: "tooltip-content" }, this.currentEllipsisText))), index.h("a", { class: {
|
|
156
|
-
"missing-path": !item.path,
|
|
157
|
-
"text-ellipsis": mobile,
|
|
158
|
-
}, ref: (val) => (this.triggerEllipsis = val), "aria-current": item.path ? undefined : "page", href: item.path, onClick: (e) => this.handlePreventFollowUrl(e, item), onMouseOver: () => {
|
|
159
|
-
if (item.hasTooltip) {
|
|
160
|
-
this.popoverEllipsisOpen = true;
|
|
161
|
-
}
|
|
162
|
-
}, onMouseLeave: () => {
|
|
163
|
-
if (item.hasTooltip) {
|
|
164
|
-
this.popoverEllipsisOpen = false;
|
|
165
|
-
}
|
|
166
|
-
}, innerHTML: mobile ? `<z-icon fill="color-link-primary" name="chevron-left"></z-icon>${item.text}` : item.text })));
|
|
167
|
-
}
|
|
168
|
-
renderBreadcrumb() {
|
|
169
|
-
return (index.h("nav", { ref: (val) => (this.wrapElement = val), "aria-label": "Breadcrumb", class: {
|
|
170
|
-
underlined: this.pathStyle === index$1.BreadcrumbPathStyle.UNDERLINED,
|
|
171
|
-
semibold: this.pathStyle === index$1.BreadcrumbPathStyle.SEMIBOLD,
|
|
172
|
-
} }, index.h("ol", null, this.renderHomepageNode(this.homepageNode), this.collapsedElements.length ? this.renderOverflowMenu() : "", this.pathsList.map((item) => this.renderNode(item, false)))));
|
|
129
|
+
}, href: this.homepageNode.path, onClick: (e) => this.handlePreventFollowUrl(e, this.homepageNode), innerHTML: this.homepageVariant === index$1.BreadcrumbHomepageVariant.ICON
|
|
130
|
+
? `<z-icon name="home" />`
|
|
131
|
+
: this.homepageNode.text || "Home" }), this.pathsList.length > 0 && (index.h("z-icon", { class: "separator", name: "chevron-right" }))));
|
|
173
132
|
}
|
|
174
133
|
togglePopover() {
|
|
175
134
|
if (!this.collapsedElementsRef.open) {
|
|
@@ -205,21 +164,49 @@ const ZBreadcrumb = class {
|
|
|
205
164
|
}
|
|
206
165
|
}
|
|
207
166
|
renderOverflowMenu() {
|
|
208
|
-
|
|
209
|
-
return (index.h("
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
167
|
+
return (index.h("li", null, index.h("z-popover", { class: "hidden-paths-popover", ref: (val) => (this.collapsedElementsRef = val), bindTo: this.triggerButton, position: index$1.PopoverPosition.BOTTOM_RIGHT, closable: true, showArrow: true }, index.h("div", { class: "popover-content" }, index.h("z-list", null, index.h("z-list-group", { size: index$1.ListSize.SMALL }, this.collapsedElements.map((item, index$1, array) => {
|
|
168
|
+
return (index.h("div", null, index.h("z-list-element", { clickable: true }, index.h("a", { class: "text-ellipsis", href: item.path, onClick: (e) => this.handlePreventFollowUrl(e, item), onKeyDown: (e) => this.handleOverflowMenuAccessibility(e), innerHTML: item.text })), index$1 < array.length - 1 && index.h("z-divider", { color: "color-surface03" })));
|
|
169
|
+
}))))), index.h("button", { class: "dots", ref: (el) => (this.triggerButton = el), "aria-label": "Mostra pi\u00F9 breadcrumb", "aria-haspopup": "true", onClick: () => {
|
|
170
|
+
this.togglePopover();
|
|
171
|
+
}, onKeyDown: (e) => {
|
|
172
|
+
utils.handleKeyboardSubmit(e, this.togglePopover.bind(this));
|
|
173
|
+
setTimeout(() => {
|
|
174
|
+
this.anchorElements[0].focus();
|
|
175
|
+
}, 100);
|
|
176
|
+
}, innerHTML: "…" }), this.pathsList.length > 0 && (index.h("z-icon", { class: "separator", name: "chevron-right" }))));
|
|
177
|
+
}
|
|
178
|
+
renderMobileItems() {
|
|
179
|
+
// show only the second to last element
|
|
180
|
+
const secondToLastPath = this.pathsList[this.pathsList.length - 1];
|
|
181
|
+
if (!secondToLastPath) {
|
|
182
|
+
return;
|
|
219
183
|
}
|
|
184
|
+
return (index.h("li", null, index.h("a", { "aria-current": secondToLastPath.path ? undefined : "page", href: secondToLastPath.path, onClick: (e) => this.handlePreventFollowUrl(e, secondToLastPath) }, index.h("z-icon", { name: "chevron-left" }), index.h("span", { class: {
|
|
185
|
+
"missing-path": !secondToLastPath.path,
|
|
186
|
+
"text-ellipsis": true,
|
|
187
|
+
} }, secondToLastPath.text))));
|
|
188
|
+
}
|
|
189
|
+
renderItems() {
|
|
190
|
+
let trigger;
|
|
191
|
+
return [
|
|
192
|
+
this.renderHomepageNode(),
|
|
193
|
+
this.collapsedElements.length > 0 && this.renderOverflowMenu(),
|
|
194
|
+
...this.pathsList.map((item, index$2) => (index.h("li", null, item.hasTooltip && (index.h("z-popover", { class: "full-path-tooltip", bindTo: trigger, open: this.popoverEllipsisOpen, position: index$1.PopoverPosition.BOTTOM_RIGHT, closable: false, showArrow: true }, index.h("span", { class: "tooltip-content" }, this.currentEllipsisText))), index.h("a", { class: { "missing-path": !item.path }, ref: (val) => (trigger = val), "aria-current": item.path ? undefined : "page", href: item.path, onClick: (e) => this.handlePreventFollowUrl(e, item), onMouseOver: () => {
|
|
195
|
+
if (item.hasTooltip) {
|
|
196
|
+
this.popoverEllipsisOpen = true;
|
|
197
|
+
}
|
|
198
|
+
}, onMouseLeave: () => {
|
|
199
|
+
if (item.hasTooltip) {
|
|
200
|
+
this.popoverEllipsisOpen = false;
|
|
201
|
+
}
|
|
202
|
+
}, innerHTML: item.text }), index$2 !== this.pathsList.length - 1 && (index.h("z-icon", { class: "separator", name: "chevron-right" }))))),
|
|
203
|
+
];
|
|
220
204
|
}
|
|
221
205
|
render() {
|
|
222
|
-
return (index.h(index.Host, { style: { "--line-clamp-popover": `${this.overflowMenuItemRows}` } },
|
|
206
|
+
return (index.h(index.Host, { key: 'ec59a3c1afe2d946df4b5ef8dae569b40e20e083', style: { "--line-clamp-popover": `${this.overflowMenuItemRows}` } }, index.h("nav", { key: '9b1668c981c22cd2d52f31f58e2ac38a18f574fb', ref: (val) => (this.wrapElement = val), "aria-label": "Breadcrumb", class: {
|
|
207
|
+
semibold: this.pathStyle === index$1.BreadcrumbPathStyle.SEMIBOLD,
|
|
208
|
+
underlined: this.pathStyle === index$1.BreadcrumbPathStyle.UNDERLINED,
|
|
209
|
+
} }, index.h("ol", { key: 'fedac8ea463ba9b20784d20cf50f9f8526055d3b' }, this.viewPortWidth === index$1.Device.MOBILE ? this.renderMobileItems() : this.renderItems()))));
|
|
223
210
|
}
|
|
224
211
|
get hostElement() { return index.getElement(this); }
|
|
225
212
|
static get watchers() { return {
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const breakpoints = require('./breakpoints-
|
|
5
|
+
const index = require('./index-48ad79ef.js');
|
|
6
|
+
const breakpoints = require('./breakpoints-7770f79c.js');
|
|
7
7
|
|
|
8
8
|
const stylesCss = "button{display:flex;max-width:100%;height:36px;align-items:center;padding:0 var(--space-unit);border:var(--border-size-medium) solid var(--color-primary01);background-color:var(--color-surface01);border-radius:var(--border-radius);color:var(--color-primary01);cursor:pointer;fill:var(--color-primary01);font-family:var(--font-family-sans);font-size:14px;font-weight:var(--font-sb);outline:none}button::-moz-focus-inner{border:0}button:hover{border-color:var(--color-hover-primary);color:var(--color-hover-primary);fill:var(--color-hover-primary)}button:focus{border-color:var(--color-primary01);box-shadow:var(--shadow-focus-primary);color:var(--color-primary01);fill:var(--color-primary01)}button:active{border-color:var(--color-pressed-primary);box-shadow:var(--shadow-2);color:var(--color-pressed-primary);fill:var(--color-pressed-primary)}button.selected{border-color:var(--color-active-primary);background-color:var(--color-active-primary);color:var(--color-text-inverse);fill:var(--color-text-inverse)}button>span.ellipsis{overflow:hidden;padding:0;margin:0;text-overflow:ellipsis;white-space:nowrap}button>span.counter{margin-right:calc(var(--space-unit) * 2);margin-left:calc(var(--space-unit) / 2)}button>span.sort{margin-right:calc(var(--space-unit) / 2);white-space:nowrap}button>span{margin-right:calc(var(--space-unit) / 2)}@media (min-width: 768px){button{max-width:325px}}@media (min-width: 1152px){button{max-width:490px}}";
|
|
9
9
|
|
|
@@ -11,13 +11,13 @@ const ZButtonSort = class {
|
|
|
11
11
|
constructor(hostRef) {
|
|
12
12
|
index.registerInstance(this, hostRef);
|
|
13
13
|
this.buttonSortClick = index.createEvent(this, "buttonSortClick", 7);
|
|
14
|
-
|
|
14
|
+
this.buttonid = undefined;
|
|
15
|
+
this.label = undefined;
|
|
16
|
+
this.desclabel = undefined;
|
|
17
|
+
this.counter = undefined;
|
|
15
18
|
this.sortlabelasc = "A-Z";
|
|
16
|
-
/** sort label content (descending) (optional) */
|
|
17
19
|
this.sortlabeldesc = "Z-A";
|
|
18
|
-
/** selected flag (optional) */
|
|
19
20
|
this.isselected = false;
|
|
20
|
-
/** sortable flag (optional) */
|
|
21
21
|
this.sortasc = true;
|
|
22
22
|
this.allowTooltip = false;
|
|
23
23
|
}
|
|
@@ -34,7 +34,7 @@ const ZButtonSort = class {
|
|
|
34
34
|
});
|
|
35
35
|
}
|
|
36
36
|
componentDidLoad() {
|
|
37
|
-
if (this.elementHasEllipsis() && window.innerWidth > breakpoints.
|
|
37
|
+
if (this.elementHasEllipsis() && window.innerWidth > breakpoints.Breakpoints.TABLET) {
|
|
38
38
|
this.allowTooltip = true;
|
|
39
39
|
}
|
|
40
40
|
}
|
|
@@ -45,7 +45,7 @@ const ZButtonSort = class {
|
|
|
45
45
|
return this.ellipsis.offsetWidth < this.ellipsis.scrollWidth;
|
|
46
46
|
}
|
|
47
47
|
render() {
|
|
48
|
-
return (index.h("button", { title: this.setButtonTitle(), id: this.buttonid, class: this.isselected
|
|
48
|
+
return (index.h("button", { key: '0cb1fb4cd3661deb66e79e85bcc87657691af1a9', title: this.setButtonTitle(), id: this.buttonid, class: { selected: this.isselected }, onClick: () => this.emitButtonSortClick() }, index.h("span", { key: '24c3b8e7b8c6acc83f55cbf7bc0233382a3a2738', ref: (el) => (this.ellipsis = el), class: "ellipsis" }, !this.sortasc && this.desclabel ? this.desclabel : this.label), index.h("span", { key: 'a9ae20d5e3926dc6b6cd3d54757a9c829c15c823', class: "counter" }, this.counter && ` (${this.counter})`), index.h("span", { key: 'd3d3aa5e07074dfd72da40f8059f70e25d1a1f58', class: "sort" }, this.sortasc ? this.sortlabelasc : this.sortlabeldesc), index.h("z-icon", { key: 'e0003ebe4688bf0af648aa9b7eb01c446460f069', name: "caret-up-down", width: 16, height: 16 })));
|
|
49
49
|
}
|
|
50
50
|
};
|
|
51
51
|
ZButtonSort.style = stylesCss;
|
|
@@ -2,18 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
const index$1 = require('./index-
|
|
5
|
+
const index = require('./index-48ad79ef.js');
|
|
6
|
+
const index$1 = require('./index-9c3aec20.js');
|
|
7
7
|
|
|
8
|
-
const stylesCss = ":host{--aspect-ratio:1.62;--z-card--border-color:var(--gray200);--z-card--color-cover-background:var(--color-surface01);--z-card--text-background:var(--color-surface01);--z-card--text-border-radius:none;--z-card--text-border:none;--z-card--text-padding:calc(var(--space-unit) * 2) var(--space-unit);position:relative;display:flex;flex-direction:column;font-family:var(--font-family-sans);font-weight:var(--font-rg)}*,::slotted(*){box-sizing:border-box}:host(:not([variant=\"overlay\"])) .cover-container{position:relative;width:100%}.cover-container{padding-bottom:calc(100% / var(--aspect-ratio))}::slotted([slot=\"cover\"]),.color-cover{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;object-position:center}.cover-container>z-icon{--z-icon-width:calc(var(--space-unit) * 11);--z-icon-height:var(--z-icon-width);position:absolute;top:calc(50% - calc(var(--z-icon-height) / 2));left:calc(50% - calc(var(--z-icon-width) / 2));fill:var(--color-primary01)}.color-cover{background-color:var(--z-card--color-cover-background)}.content{display:flex;flex-direction:column;padding-top:var(--space-unit)}.color-cover .cover-content{display:flex;height:100%;flex-direction:column;justify-content:flex-end;padding:var(--space-unit)}::slotted([slot=\"metadata\"]),::slotted([slot=\"title\"]),::slotted([slot=\"text\"]){display
|
|
8
|
+
const stylesCss = ":host{--aspect-ratio:1.62;--z-card--border-color:var(--gray200);--z-card--color-cover-background:var(--color-surface01);--z-card--text-background:var(--color-surface01);--z-card--text-border-radius:none;--z-card--text-border:none;--z-card--text-padding:calc(var(--space-unit) * 2) var(--space-unit);position:relative;display:flex;flex-direction:column;font-family:var(--font-family-sans);font-weight:var(--font-rg)}*,::slotted(*){box-sizing:border-box}*:focus:focus-visible{box-shadow:var(--shadow-focus-primary);outline:none}:host(:not([variant=\"overlay\"])) .cover-container{position:relative;width:100%}.cover-container{padding-bottom:calc(100% / var(--aspect-ratio))}::slotted([slot=\"cover\"]),.color-cover{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;object-position:center}.cover-container>z-icon{--z-icon-width:calc(var(--space-unit) * 11);--z-icon-height:var(--z-icon-width);position:absolute;top:calc(50% - calc(var(--z-icon-height) / 2));left:calc(50% - calc(var(--z-icon-width) / 2));fill:var(--color-primary01)}.color-cover{background-color:var(--z-card--color-cover-background)}.content{display:flex;flex-direction:column;padding-top:var(--space-unit)}.color-cover .cover-content{display:flex;height:100%;flex-direction:column;justify-content:flex-end;padding:var(--space-unit)}::slotted([slot=\"metadata\"]),::slotted([slot=\"title\"]),::slotted([slot=\"text\"]){display:-webkit-inline-box;overflow:hidden;-webkit-box-orient:vertical}::slotted([slot=\"title\"]:not(:last-child)),::slotted([slot=\"text\"]:not(:last-child)){margin-bottom:var(--space-unit)}::slotted([slot=\"title\"])::before{position:absolute;z-index:1;top:0;right:0;bottom:0;left:0;content:\"\"}::slotted([slot=\"metadata\"]:not(:last-child)){margin:0 0 calc(var(--space-unit) * 0.25);-webkit-line-clamp:1;line-clamp:1;text-transform:uppercase}::slotted([slot=\"title\"]){margin:0;color:inherit;font-size:inherit;font-weight:var(--font-sb);-webkit-line-clamp:2;line-clamp:2;text-decoration:none}::slotted([slot=\"title\"]:focus:focus-visible){box-shadow:var(--shadow-focus-primary);outline:none}::slotted([slot=\"text\"]){margin:0;-webkit-line-clamp:3;line-clamp:3}.actions{position:relative;z-index:2;display:flex;flex-direction:row;align-items:center}::slotted([slot=\"action\"]:not(:last-child)){margin-right:calc(var(--space-unit) * 2)}::slotted([slot=\"action\"]:focus){box-shadow:var(--shadow-focus-primary);outline:none !important}:host([clickable]) ::slotted([slot=\"title\"]:focus:focus-visible)::before{box-shadow:var(--shadow-focus-primary)}:host([clickable]) ::slotted([slot=\"title\"]:focus:focus-visible){box-shadow:none !important;outline:none !important}:host([variant=\"text\"]){border:var(--z-card--text-border);background-color:var(--z-card--text-background);border-radius:var(--z-card--text-border-radius)}:host([show-shadow])>.content,:host([variant=\"border\"])>.content,:host([variant=\"shadow\"])>.content{height:100%;padding:var(--space-unit) var(--space-unit) calc(var(--space-unit) * 2)}:host([variant=\"text\"])>.content{padding:var(--z-card--text-padding)}:host([variant=\"border\"]) .actions,:host([variant=\"shadow\"]) .actions{margin-top:auto}:host([variant=\"border\"]){border:var(--border-size-small) solid var(--z-card--border-color)}:host([variant=\"border\"][clickable]:hover)>.content{background:var(--color-background)}:host([variant=\"border\"][clickable]:focus:focus-visible){box-shadow:var(--shadow-focus-primary)}:host([variant=\"border\"][clickable]:active){border-color:transparent}:host([variant=\"shadow\"]),:host([show-shadow]){box-shadow:var(--shadow-2)}:host([variant=\"shadow\"][clickable]:hover),:host([clickable][show-shadow]:hover){box-shadow:var(--shadow-4)}:host([variant=\"shadow\"][clickable]:focus:focus-visible),:host([clickable][show-shadow]:focus:focus-visible){box-shadow:var(--shadow-focus-primary)}:host([variant=\"shadow\"][clickable]:active),:host([clickable][show-shadow]:active){box-shadow:none}:host([variant=\"overlay\"]) .content{position:absolute;top:0;right:0;bottom:0;left:0;justify-content:flex-end;padding:var(--space-unit);background-image:linear-gradient(to top, rgb(0 0 0 / 100%), rgb(0 0 0 / 0%));color:var(--color-text-inverse);fill:var(--color-text-inverse)}";
|
|
9
9
|
|
|
10
10
|
const ZCard = class {
|
|
11
11
|
constructor(hostRef) {
|
|
12
12
|
index.registerInstance(this, hostRef);
|
|
13
|
-
|
|
13
|
+
this.variant = undefined;
|
|
14
|
+
this.coverIcon = undefined;
|
|
14
15
|
this.showShadow = false;
|
|
15
|
-
/** Enable 'clickable' style like hover and focus style. */
|
|
16
16
|
this.clickable = false;
|
|
17
|
+
this.hasCoverImage = undefined;
|
|
17
18
|
}
|
|
18
19
|
componentWillLoad() {
|
|
19
20
|
this.hasCoverImage = this.host.querySelector('[slot="cover"]') !== null;
|
|
@@ -29,20 +30,20 @@ const ZCard = class {
|
|
|
29
30
|
];
|
|
30
31
|
}
|
|
31
32
|
/**
|
|
32
|
-
* Template for the content
|
|
33
|
+
* Template for the content.
|
|
33
34
|
*/
|
|
34
|
-
|
|
35
|
+
renderContent() {
|
|
35
36
|
return (index.h("div", { class: "content" }, index.h("slot", { name: "metadata" }), index.h("slot", { name: "title" }), index.h("slot", { name: "text" }), index.h("div", { class: "actions" }, index.h("slot", { name: "action" }))));
|
|
36
37
|
}
|
|
37
38
|
render() {
|
|
38
39
|
if (this.variant === index$1.CardVariant.TEXT) {
|
|
39
|
-
return index.h(index.Host, null, this.
|
|
40
|
+
return index.h(index.Host, null, this.renderContent());
|
|
40
41
|
}
|
|
41
42
|
if (this.variant === index$1.CardVariant.OVERLAY || this.hasCoverImage) {
|
|
42
43
|
return (index.h(index.Host, null, index.h("div", { class: "cover-container" }, this.hasCoverImage && [
|
|
43
44
|
index.h("slot", { name: "cover" }),
|
|
44
45
|
this.variant !== index$1.CardVariant.OVERLAY && this.coverIcon && index.h("z-icon", { name: this.coverIcon }),
|
|
45
|
-
], !this.hasCoverImage && index.h("div", { class: "color-cover" })), this.
|
|
46
|
+
], !this.hasCoverImage && index.h("div", { class: "color-cover" })), this.renderContent()));
|
|
46
47
|
}
|
|
47
48
|
return index.h(index.Host, null, this.renderColorCoverCard());
|
|
48
49
|
}
|