@zanichelli/albe-web-components 7.4.3 → 7.6.0-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 +12 -0
- package/dist/cjs/{index-b7c319f2.js → index-10e0d8b7.js} +6 -0
- package/dist/cjs/index-e3299e0a.js +8 -4
- package/dist/cjs/index.cjs.js +8 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{utils-938e5834.js → utils-3b4947cd.js} +1 -1
- package/dist/cjs/{utils-38f8555a.js → utils-dd90aed2.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-app-header_11.cjs.entry.js +2 -2
- 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-book-card.cjs.entry.js +115 -0
- package/dist/cjs/z-breadcrumb.cjs.entry.js +2 -2
- package/dist/cjs/z-card.cjs.entry.js +5 -18
- 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 +5 -5
- 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-dragdrop-area_2.cjs.entry.js +3 -3
- package/dist/cjs/z-file-upload.cjs.entry.js +2 -2
- package/dist/cjs/z-file.cjs.entry.js +1 -1
- package/dist/cjs/z-info-reveal.cjs.entry.js +1 -1
- package/dist/cjs/z-messages-pocket.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 +2 -2
- 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-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-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 +1 -1
- 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-select.cjs.entry.js +2 -2
- 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 +2 -2
- 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 +3 -3
- package/dist/collection/beans/index.js +6 -0
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/modal/z-modal/index.js +1 -1
- package/dist/collection/components/modal/z-modal/styles.css +5 -10
- package/dist/collection/components/notification/z-tooltip/index.js +2 -2
- package/dist/collection/components/z-book-card/index.js +308 -0
- package/dist/collection/components/z-book-card/styles.css +337 -0
- package/dist/collection/components/z-card/index.js +10 -48
- package/dist/collection/components/z-card/styles.css +26 -19
- package/dist/collection/components/z-contextual-menu/index.js +4 -4
- package/dist/esm/index-a2ca4b97.js +8 -4
- package/dist/esm/{index-7e4df1be.js → index-c53ca6bc.js} +7 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{utils-af924ea4.js → utils-412ebe25.js} +1 -1
- package/dist/esm/{utils-825aed23.js → utils-4db4ed1f.js} +1 -1
- package/dist/esm/web-components-library.js +1 -1
- package/dist/esm/z-anchor-navigation.entry.js +1 -1
- package/dist/esm/z-app-header_11.entry.js +2 -2
- package/dist/esm/z-aria-alert.entry.js +1 -1
- package/dist/esm/z-avatar.entry.js +1 -1
- package/dist/esm/z-book-card.entry.js +111 -0
- package/dist/esm/z-breadcrumb.entry.js +2 -2
- package/dist/esm/z-card.entry.js +6 -19
- 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 +5 -5
- package/dist/esm/z-cover-hero.entry.js +1 -1
- package/dist/esm/z-date-picker.entry.js +2 -2
- package/dist/esm/z-dragdrop-area_2.entry.js +3 -3
- package/dist/esm/z-file-upload.entry.js +2 -2
- package/dist/esm/z-file.entry.js +1 -1
- package/dist/esm/z-info-reveal.entry.js +1 -1
- package/dist/esm/z-messages-pocket.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 +2 -2
- 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-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-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 +1 -1
- package/dist/esm/z-range-picker.entry.js +2 -2
- package/dist/esm/z-section-title.entry.js +1 -1
- package/dist/esm/z-select.entry.js +2 -2
- 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 +2 -2
- 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 +3 -3
- package/dist/types/beans/index.d.ts +5 -0
- package/dist/types/components/buttons/z-button/index.d.ts +0 -0
- package/dist/types/components/buttons/z-button-sort/index.d.ts +0 -0
- package/dist/types/components/buttons/z-chip/index.d.ts +0 -0
- package/dist/types/components/buttons/z-toggle-button/index.d.ts +0 -0
- package/dist/types/components/buttons/z-toggle-switch/index.d.ts +0 -0
- package/dist/types/components/date-picker/utils.d.ts +0 -0
- package/dist/types/components/date-picker/z-date-picker/index.d.ts +0 -0
- package/dist/types/components/date-picker/z-range-picker/index.d.ts +0 -0
- package/dist/types/components/file-upload/z-dragdrop-area/index.d.ts +0 -0
- package/dist/types/components/file-upload/z-file/index.d.ts +0 -0
- package/dist/types/components/file-upload/z-file-upload/index.d.ts +0 -0
- package/dist/types/components/icons/icons.d.ts +0 -0
- package/dist/types/components/icons/z-icon/index.d.ts +0 -0
- package/dist/types/components/index.d.ts +0 -0
- package/dist/types/components/indicators/z-stepper/index.d.ts +0 -0
- package/dist/types/components/indicators/z-stepper-item/index.d.ts +0 -0
- package/dist/types/components/inputs/z-combobox/index.d.ts +0 -0
- package/dist/types/components/inputs/z-input/index.d.ts +0 -0
- package/dist/types/components/inputs/z-input-message/index.d.ts +0 -0
- package/dist/types/components/inputs/z-searchbar/index.d.ts +0 -0
- package/dist/types/components/inputs/z-select/index.d.ts +0 -0
- package/dist/types/components/list/z-list/index.d.ts +0 -0
- package/dist/types/components/list/z-list-element/index.d.ts +0 -0
- package/dist/types/components/list/z-list-group/index.d.ts +0 -0
- package/dist/types/components/list/z-toast-notification-list/index.d.ts +0 -0
- package/dist/types/components/logo/z-logo/index.d.ts +0 -0
- package/dist/types/components/modal/z-modal/index.d.ts +0 -0
- package/dist/types/components/navigation/tabs/z-navigation-tab/index.d.ts +0 -0
- package/dist/types/components/navigation/tabs/z-navigation-tab-link/index.d.ts +0 -0
- package/dist/types/components/navigation/tabs/z-navigation-tabs/index.d.ts +0 -0
- package/dist/types/components/navigation/z-app-header/index.d.ts +0 -0
- package/dist/types/components/navigation/z-link/index.d.ts +0 -0
- package/dist/types/components/navigation/z-menu/index.d.ts +0 -0
- package/dist/types/components/navigation/z-menu-section/index.d.ts +0 -0
- package/dist/types/components/notification/z-info-box/index.d.ts +0 -0
- package/dist/types/components/notification/z-notification/index.d.ts +0 -0
- package/dist/types/components/notification/z-toast-notification/index.d.ts +0 -0
- package/dist/types/components/notification/z-tooltip/index.d.ts +1 -1
- package/dist/types/components/panel/z-panel-elem/index.d.ts +0 -0
- package/dist/types/components/z-anchor-navigation/index.d.ts +0 -0
- package/dist/types/components/z-aria-alert/index.d.ts +0 -0
- package/dist/types/components/z-avatar/index.d.ts +0 -0
- package/dist/types/components/z-book-card/index.d.ts +75 -0
- package/dist/types/components/z-card/index.d.ts +4 -10
- package/dist/types/components/z-carousel/index.d.ts +0 -0
- package/dist/types/components/z-contextual-menu/index.d.ts +1 -1
- package/dist/types/components/z-cover-hero/index.d.ts +0 -0
- package/dist/types/components/z-divider/index.d.ts +0 -0
- package/dist/types/components/z-ghost-loading/index.d.ts +0 -0
- package/dist/types/components/z-info-reveal/index.d.ts +0 -0
- package/dist/types/components/z-offcanvas/index.d.ts +0 -0
- package/dist/types/components/z-pagination/index.d.ts +0 -0
- package/dist/types/components/z-popover/index.d.ts +0 -0
- package/dist/types/components/z-section-title/index.d.ts +0 -0
- package/dist/types/components/z-skip-to-content/index.d.ts +0 -0
- package/dist/types/components/z-table/z-table/index.d.ts +0 -0
- package/dist/types/components/z-table/z-table-body/index.d.ts +0 -0
- package/dist/types/components/z-table/z-table-cell/index.d.ts +0 -0
- package/dist/types/components/z-table/z-table-empty-box/index.d.ts +0 -0
- package/dist/types/components/z-table/z-table-expanded-row/index.d.ts +0 -0
- package/dist/types/components/z-table/z-table-footer/index.d.ts +0 -0
- package/dist/types/components/z-table/z-table-head/index.d.ts +0 -0
- package/dist/types/components/z-table/z-table-header/index.d.ts +0 -0
- package/dist/types/components/z-table/z-table-header-row/index.d.ts +0 -0
- package/dist/types/components/z-table/z-table-row/index.d.ts +0 -0
- package/dist/types/components/z-table/z-table-sticky-footer/index.d.ts +0 -0
- package/dist/types/components/z-tag/index.d.ts +0 -0
- package/dist/types/components/z-visually-hidden/index.d.ts +0 -0
- package/dist/types/components.d.ts +90 -13
- package/dist/types/constants/breakpoints.d.ts +0 -0
- package/dist/types/constants/icons.d.ts +0 -0
- package/dist/types/index.d.ts +0 -0
- package/dist/types/snowflakes/myz/card/z-myz-card/index.d.ts +0 -0
- package/dist/types/snowflakes/myz/card/z-myz-card-alert/index.d.ts +0 -0
- package/dist/types/snowflakes/myz/card/z-myz-card-body/index.d.ts +0 -0
- package/dist/types/snowflakes/myz/card/z-myz-card-cover/index.d.ts +0 -0
- package/dist/types/snowflakes/myz/card/z-myz-card-dictionary/index.d.ts +0 -0
- package/dist/types/snowflakes/myz/card/z-myz-card-footer/index.d.ts +0 -0
- package/dist/types/snowflakes/myz/card/z-myz-card-footer-sections/index.d.ts +0 -0
- package/dist/types/snowflakes/myz/card/z-myz-card-header/index.d.ts +0 -0
- package/dist/types/snowflakes/myz/card/z-myz-card-icon/index.d.ts +0 -0
- package/dist/types/snowflakes/myz/card/z-myz-card-info/index.d.ts +0 -0
- package/dist/types/snowflakes/myz/card/z-myz-card-list/index.d.ts +0 -0
- package/dist/types/snowflakes/myz/list/z-myz-list/index.d.ts +0 -0
- package/dist/types/snowflakes/myz/list/z-myz-list-item/index.d.ts +0 -0
- package/dist/types/snowflakes/myz/pocket/z-messages-pocket/index.d.ts +0 -0
- package/dist/types/snowflakes/myz/pocket/z-pocket/index.d.ts +0 -0
- package/dist/types/snowflakes/myz/pocket/z-pocket-body/index.d.ts +0 -0
- package/dist/types/snowflakes/myz/pocket/z-pocket-header/index.d.ts +0 -0
- package/dist/types/snowflakes/myz/pocket/z-pocket-message/index.d.ts +0 -0
- package/dist/types/snowflakes/myz/z-alert/index.d.ts +0 -0
- package/dist/types/snowflakes/myz/z-otp/index.d.ts +0 -0
- package/dist/types/snowflakes/myz/z-slideshow/index.d.ts +0 -0
- package/dist/types/stencil-public-runtime.d.ts +0 -0
- package/dist/types/utils/utils.d.ts +0 -0
- package/dist/web-components-library/index.esm.js +1 -1
- package/dist/web-components-library/{p-4610db36.entry.js → p-03ee7c14.entry.js} +1 -1
- package/{www/build/p-0fd40ac5.entry.js → dist/web-components-library/p-095ce6ef.entry.js} +1 -1
- package/dist/web-components-library/{p-0418f9fb.entry.js → p-0aa025fa.entry.js} +1 -1
- package/dist/web-components-library/{p-a19a70a0.entry.js → p-0e92e0d9.entry.js} +1 -1
- package/dist/web-components-library/{p-5825ef19.entry.js → p-0f8f488c.entry.js} +1 -1
- package/dist/web-components-library/{p-079357ba.entry.js → p-29426408.entry.js} +1 -1
- package/dist/web-components-library/{p-dcad3493.entry.js → p-374d6f57.entry.js} +1 -1
- package/dist/web-components-library/p-3ea868e0.entry.js +1 -0
- package/dist/web-components-library/{p-073f24c9.entry.js → p-47c095c2.entry.js} +1 -1
- package/{www/build/p-c47d529f.entry.js → dist/web-components-library/p-482c478a.entry.js} +1 -1
- package/dist/web-components-library/{p-613d6de7.entry.js → p-5aee5484.entry.js} +1 -1
- package/dist/web-components-library/{p-910ca14c.entry.js → p-64fa04a0.entry.js} +1 -1
- package/dist/web-components-library/{p-0eb7cb35.entry.js → p-661905c0.entry.js} +1 -1
- package/dist/web-components-library/{p-ec5242da.entry.js → p-6a459468.entry.js} +1 -1
- package/{www/build/p-98df8460.entry.js → dist/web-components-library/p-757c4b4d.entry.js} +1 -1
- package/dist/web-components-library/{p-2e7da553.entry.js → p-78c5f1a4.entry.js} +1 -1
- package/dist/web-components-library/{p-d98d3cf1.entry.js → p-800ca36a.entry.js} +1 -1
- package/dist/web-components-library/{p-39863e41.entry.js → p-81e6e4c8.entry.js} +1 -1
- package/{www/build/p-d966a1b9.entry.js → dist/web-components-library/p-856c6f33.entry.js} +1 -1
- package/dist/web-components-library/{p-227667b6.entry.js → p-89d048ff.entry.js} +1 -1
- package/dist/web-components-library/p-8c3eeb55.js +1 -0
- package/dist/web-components-library/{p-447a7c51.entry.js → p-8ff9de86.entry.js} +1 -1
- package/dist/web-components-library/{p-9fee86aa.entry.js → p-9b4b0fbb.entry.js} +1 -1
- package/dist/web-components-library/{p-4b9882b3.entry.js → p-a0345d42.entry.js} +1 -1
- package/{www/build/p-fa7a11fd.entry.js → dist/web-components-library/p-a2d11471.entry.js} +1 -1
- package/{www/build/p-8f7680ef.entry.js → dist/web-components-library/p-aa228ddb.entry.js} +1 -1
- package/dist/web-components-library/{p-cd456854.entry.js → p-ab1799fe.entry.js} +1 -1
- package/dist/web-components-library/{p-27100ea1.entry.js → p-b0141c4d.entry.js} +1 -1
- package/{www/build/p-7ac431a5.entry.js → dist/web-components-library/p-bee6bf99.entry.js} +1 -1
- package/{www/build/p-ee918c17.js → dist/web-components-library/p-c18b8fb3.js} +1 -1
- package/{www/build/p-2f547970.entry.js → dist/web-components-library/p-c59c6c78.entry.js} +1 -1
- package/{www/build/p-9e400a11.entry.js → dist/web-components-library/p-d00cf0ff.entry.js} +1 -1
- package/dist/web-components-library/{p-cfc9cf52.entry.js → p-d4afc10f.entry.js} +1 -1
- package/dist/web-components-library/{p-0c0735e5.entry.js → p-d8ea70ed.entry.js} +1 -1
- package/dist/web-components-library/{p-ff838f90.entry.js → p-d96d4f30.entry.js} +1 -1
- package/dist/web-components-library/{p-e606b019.entry.js → p-d9c76001.entry.js} +1 -1
- package/dist/web-components-library/{p-0b822ad0.entry.js → p-dd515f64.entry.js} +1 -1
- package/dist/web-components-library/p-e0fb4e05.entry.js +1 -0
- package/dist/web-components-library/{p-fd8eae32.entry.js → p-e41e28f7.entry.js} +1 -1
- package/dist/web-components-library/p-e4d78452.entry.js +1 -0
- package/dist/web-components-library/p-e4e5a652.entry.js +1 -0
- package/dist/web-components-library/{p-b44030d0.entry.js → p-e663af8b.entry.js} +1 -1
- package/dist/web-components-library/{p-6be6a2f4.entry.js → p-e7c7ac3d.entry.js} +1 -1
- package/dist/web-components-library/p-e936bf5f.entry.js +1 -0
- package/dist/web-components-library/p-f0cd78f2.js +1 -0
- package/dist/web-components-library/{p-f5a247b9.entry.js → p-f3fce575.entry.js} +1 -1
- package/dist/web-components-library/{p-0b942851.entry.js → p-fed42db6.entry.js} +1 -1
- package/dist/web-components-library/web-components-library.css +0 -0
- package/dist/web-components-library/web-components-library.esm.js +1 -1
- package/loader/cdn.js +0 -0
- package/loader/index.cjs.js +0 -0
- package/loader/index.d.ts +0 -0
- package/loader/index.es2017.js +0 -0
- package/loader/index.js +0 -0
- package/loader/package.json +0 -0
- package/package.json +1 -1
- package/react/components.d.ts +1 -0
- package/react/components.js +3 -2
- package/react/components.js.map +1 -1
- package/www/build/index.esm.js +1 -1
- package/www/build/{p-4610db36.entry.js → p-03ee7c14.entry.js} +1 -1
- package/{dist/web-components-library/p-0fd40ac5.entry.js → www/build/p-095ce6ef.entry.js} +1 -1
- package/www/build/{p-0418f9fb.entry.js → p-0aa025fa.entry.js} +1 -1
- package/www/build/{p-a19a70a0.entry.js → p-0e92e0d9.entry.js} +1 -1
- package/www/build/{p-5825ef19.entry.js → p-0f8f488c.entry.js} +1 -1
- package/www/build/{p-079357ba.entry.js → p-29426408.entry.js} +1 -1
- package/www/build/{p-dcad3493.entry.js → p-374d6f57.entry.js} +1 -1
- package/www/build/p-3ea868e0.entry.js +1 -0
- package/www/build/{p-073f24c9.entry.js → p-47c095c2.entry.js} +1 -1
- package/{dist/web-components-library/p-c47d529f.entry.js → www/build/p-482c478a.entry.js} +1 -1
- package/www/build/{p-613d6de7.entry.js → p-5aee5484.entry.js} +1 -1
- package/www/build/{p-910ca14c.entry.js → p-64fa04a0.entry.js} +1 -1
- package/www/build/{p-0eb7cb35.entry.js → p-661905c0.entry.js} +1 -1
- package/www/build/{p-ec5242da.entry.js → p-6a459468.entry.js} +1 -1
- package/{dist/web-components-library/p-98df8460.entry.js → www/build/p-757c4b4d.entry.js} +1 -1
- package/www/build/{p-2e7da553.entry.js → p-78c5f1a4.entry.js} +1 -1
- package/www/build/{p-d98d3cf1.entry.js → p-800ca36a.entry.js} +1 -1
- package/www/build/{p-39863e41.entry.js → p-81e6e4c8.entry.js} +1 -1
- package/{dist/web-components-library/p-d966a1b9.entry.js → www/build/p-856c6f33.entry.js} +1 -1
- package/www/build/{p-227667b6.entry.js → p-89d048ff.entry.js} +1 -1
- package/www/build/p-8c3eeb55.js +1 -0
- package/www/build/{p-447a7c51.entry.js → p-8ff9de86.entry.js} +1 -1
- package/www/build/{p-9fee86aa.entry.js → p-9b4b0fbb.entry.js} +1 -1
- package/www/build/p-9e1e6212.js +129 -0
- package/www/build/{p-4b9882b3.entry.js → p-a0345d42.entry.js} +1 -1
- package/{dist/web-components-library/p-fa7a11fd.entry.js → www/build/p-a2d11471.entry.js} +1 -1
- package/{dist/web-components-library/p-8f7680ef.entry.js → www/build/p-aa228ddb.entry.js} +1 -1
- package/www/build/{p-cd456854.entry.js → p-ab1799fe.entry.js} +1 -1
- package/www/build/{p-27100ea1.entry.js → p-b0141c4d.entry.js} +1 -1
- package/www/build/p-bc2bd463.css +1617 -0
- package/{dist/web-components-library/p-7ac431a5.entry.js → www/build/p-bee6bf99.entry.js} +1 -1
- package/{dist/web-components-library/p-ee918c17.js → www/build/p-c18b8fb3.js} +1 -1
- package/{dist/web-components-library/p-2f547970.entry.js → www/build/p-c59c6c78.entry.js} +1 -1
- package/{dist/web-components-library/p-9e400a11.entry.js → www/build/p-d00cf0ff.entry.js} +1 -1
- package/www/build/{p-cfc9cf52.entry.js → p-d4afc10f.entry.js} +1 -1
- package/www/build/{p-0c0735e5.entry.js → p-d8ea70ed.entry.js} +1 -1
- package/www/build/{p-ff838f90.entry.js → p-d96d4f30.entry.js} +1 -1
- package/www/build/{p-e606b019.entry.js → p-d9c76001.entry.js} +1 -1
- package/www/build/{p-0b822ad0.entry.js → p-dd515f64.entry.js} +1 -1
- package/www/build/p-e0fb4e05.entry.js +1 -0
- package/www/build/{p-fd8eae32.entry.js → p-e41e28f7.entry.js} +1 -1
- package/www/build/p-e4d78452.entry.js +1 -0
- package/www/build/p-e4e5a652.entry.js +1 -0
- package/www/build/{p-b44030d0.entry.js → p-e663af8b.entry.js} +1 -1
- package/www/build/{p-6be6a2f4.entry.js → p-e7c7ac3d.entry.js} +1 -1
- package/www/build/p-e936bf5f.entry.js +1 -0
- package/www/build/p-f0cd78f2.js +1 -0
- package/www/build/{p-f5a247b9.entry.js → p-f3fce575.entry.js} +1 -1
- package/www/build/{p-0b942851.entry.js → p-fed42db6.entry.js} +1 -1
- package/www/build/web-components-library.css +0 -0
- package/www/build/web-components-library.esm.js +1 -1
- package/www/build/web-components-library.js +0 -0
- package/www/host.config.json +0 -0
- package/www/index.html +1 -1
- package/www/pages/book-cards.html +269 -0
- package/dist/web-components-library/p-10f2be79.entry.js +0 -1
- package/dist/web-components-library/p-14c2c56c.js +0 -1
- package/dist/web-components-library/p-1cc1a418.js +0 -1
- package/dist/web-components-library/p-98dcf178.entry.js +0 -1
- package/dist/web-components-library/p-af5103a0.entry.js +0 -1
- package/dist/web-components-library/p-c241bab0.entry.js +0 -1
- package/www/build/p-10f2be79.entry.js +0 -1
- package/www/build/p-14c2c56c.js +0 -1
- package/www/build/p-1cc1a418.js +0 -1
- package/www/build/p-5412199e.js +0 -1
- package/www/build/p-98dcf178.entry.js +0 -1
- package/www/build/p-af5103a0.entry.js +0 -1
- package/www/build/p-c241bab0.entry.js +0 -1
- package/www/build/p-f39bb490.css +0 -2
|
@@ -0,0 +1,337 @@
|
|
|
1
|
+
/* stylelint-disable value-no-vendor-prefix */
|
|
2
|
+
|
|
3
|
+
/* COMMON STYLES */
|
|
4
|
+
|
|
5
|
+
:host {
|
|
6
|
+
--z-book-card-ribbon-background-color: var(--avatar-C08);
|
|
7
|
+
--z-book-card-ribbon-shadow-color: var(--green950);
|
|
8
|
+
|
|
9
|
+
display: block;
|
|
10
|
+
width: 100%;
|
|
11
|
+
max-width: 360px;
|
|
12
|
+
font-family: var(--font-family-sans);
|
|
13
|
+
font-weight: var(--font-rg);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
:host > article {
|
|
17
|
+
box-sizing: border-box;
|
|
18
|
+
border: var(--border-size-medium) solid var(--color-surface03);
|
|
19
|
+
background-color: var(--color-surface01);
|
|
20
|
+
border-radius: var(--border-radius);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
:host div.cover {
|
|
24
|
+
position: relative;
|
|
25
|
+
display: flex;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
:host div.cover img {
|
|
29
|
+
width: auto;
|
|
30
|
+
max-width: 100%;
|
|
31
|
+
height: auto;
|
|
32
|
+
max-height: 100%;
|
|
33
|
+
align-self: flex-end;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
:host div.cover div.ribbon {
|
|
37
|
+
position: absolute;
|
|
38
|
+
top: calc(var(--space-unit) * 2);
|
|
39
|
+
display: flex;
|
|
40
|
+
height: calc(var(--space-unit) * 4);
|
|
41
|
+
box-sizing: border-box;
|
|
42
|
+
align-items: center;
|
|
43
|
+
padding: 0 calc(var(--space-unit) * 2);
|
|
44
|
+
border: var(--border-size-medium) solid var(--color-surface01);
|
|
45
|
+
margin-left: calc(var(--space-unit) * -2);
|
|
46
|
+
background: var(--z-book-card-ribbon-background-color);
|
|
47
|
+
border-radius: 0 var(--border-radius) var(--border-radius) 0;
|
|
48
|
+
color: var(--color-text04);
|
|
49
|
+
font-size: var(--font-size-2);
|
|
50
|
+
font-weight: var(--font-sb);
|
|
51
|
+
line-height: initial;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
:host div.cover div.ribbon::before {
|
|
55
|
+
position: absolute;
|
|
56
|
+
bottom: -12px;
|
|
57
|
+
left: 0;
|
|
58
|
+
width: 0;
|
|
59
|
+
height: 0;
|
|
60
|
+
border-top: 10px solid var(--z-book-card-ribbon-shadow-color);
|
|
61
|
+
border-left: 14px solid transparent;
|
|
62
|
+
content: "";
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
:host div.title {
|
|
66
|
+
color: var(--color-text01);
|
|
67
|
+
font-size: var(--font-size-4);
|
|
68
|
+
font-weight: var(--font-sb);
|
|
69
|
+
line-height: 1.5;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
:host div.title * {
|
|
73
|
+
all: unset;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
:host div.subtitle {
|
|
77
|
+
color: var(--color-text01);
|
|
78
|
+
font-size: var(--font-size-2);
|
|
79
|
+
font-weight: var(--font-rg);
|
|
80
|
+
line-height: 1.4;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
:host div.authors {
|
|
84
|
+
color: var(--color-text01);
|
|
85
|
+
font-size: var(--font-size-1);
|
|
86
|
+
font-weight: var(--font-rg);
|
|
87
|
+
line-height: 1.33;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
:host div.isbn {
|
|
91
|
+
color: var(--color-text01);
|
|
92
|
+
font-size: var(--font-size-2);
|
|
93
|
+
line-height: 1.33;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
:host div.isbn > .code {
|
|
97
|
+
font-weight: var(--font-sb);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
:host div.tags {
|
|
101
|
+
display: flex;
|
|
102
|
+
overflow: hidden;
|
|
103
|
+
max-height: 32px;
|
|
104
|
+
flex-flow: row wrap;
|
|
105
|
+
align-content: stretch;
|
|
106
|
+
align-items: stretch;
|
|
107
|
+
justify-content: flex-start;
|
|
108
|
+
gap: calc(var(--space-unit) / 2);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
:host ::slotted([slot="tags"]) {
|
|
112
|
+
margin-bottom: var(--space-unit);
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
:host ::slotted([slot="header-cta"]) {
|
|
116
|
+
--z-icon-width: 20px;
|
|
117
|
+
--z-icon-height: 20px;
|
|
118
|
+
|
|
119
|
+
padding: var(--space-unit);
|
|
120
|
+
cursor: pointer;
|
|
121
|
+
fill: var(--color-icon01);
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
:host > article.expanded div.content,
|
|
125
|
+
:host > article.search div.content {
|
|
126
|
+
margin: var(--space-unit) 0;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
:host > article.expanded div.cover,
|
|
130
|
+
:host > article.search div.cover {
|
|
131
|
+
border: var(--border-size-small) solid var(--color-surface03);
|
|
132
|
+
border-radius: var(--border-radius);
|
|
133
|
+
line-height: 0;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
/* EXPANDED STYLES */
|
|
137
|
+
|
|
138
|
+
:host > article.expanded {
|
|
139
|
+
width: 100%;
|
|
140
|
+
min-width: 328px;
|
|
141
|
+
padding: calc(var(--space-unit) * 2);
|
|
142
|
+
padding-bottom: 0;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
:host > article.expanded div.header {
|
|
146
|
+
display: flex;
|
|
147
|
+
flex-flow: row nowrap;
|
|
148
|
+
align-content: stretch;
|
|
149
|
+
align-items: top;
|
|
150
|
+
justify-content: space-between;
|
|
151
|
+
margin-bottom: var(--space-unit);
|
|
152
|
+
white-space: nowrap;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
:host > article.expanded div.cover img {
|
|
156
|
+
width: 100%;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
:host > article.expanded .title,
|
|
160
|
+
:host > article.expanded .subtitle,
|
|
161
|
+
:host > article.expanded .authors {
|
|
162
|
+
display: -webkit-box;
|
|
163
|
+
overflow: hidden;
|
|
164
|
+
-webkit-box-orient: vertical;
|
|
165
|
+
-webkit-line-clamp: 2;
|
|
166
|
+
white-space: initial;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
:host > article.expanded div.footer {
|
|
170
|
+
border-top: var(--border-size-small) solid var(--color-surface03);
|
|
171
|
+
margin-bottom: calc(var(--space-unit) * 1.5);
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
:host > article.expanded div.footer.open {
|
|
175
|
+
padding-top: calc(var(--space-unit) * 1.5);
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
:host > article.expanded div.footer.open div.resources {
|
|
179
|
+
display: initial;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
:host > article.expanded div.footer.close div.resources {
|
|
183
|
+
display: none;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
:host > article.expanded z-link.show-resources {
|
|
187
|
+
--font-size-link: var(--font-size-2);
|
|
188
|
+
--font-weight-link: var(--font-sb);
|
|
189
|
+
|
|
190
|
+
display: flex;
|
|
191
|
+
width: 100%;
|
|
192
|
+
flex-flow: row nowrap;
|
|
193
|
+
align-content: center;
|
|
194
|
+
align-items: center;
|
|
195
|
+
justify-content: center;
|
|
196
|
+
padding-top: var(--space-unit);
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
/* SEARCH STYLES */
|
|
200
|
+
|
|
201
|
+
:host > article.search {
|
|
202
|
+
width: 262px;
|
|
203
|
+
height: 536px;
|
|
204
|
+
padding: calc(var(--space-unit) * 2);
|
|
205
|
+
padding-bottom: 0;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
:host > article.search .wrapper-container {
|
|
209
|
+
display: flex;
|
|
210
|
+
height: 100%;
|
|
211
|
+
flex-direction: column;
|
|
212
|
+
justify-content: space-between;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
:host > article.search .wrapper-container .wrapper {
|
|
216
|
+
height: 451px;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
:host > article.search .wrapper-container .action-container {
|
|
220
|
+
padding-bottom: calc(var(--space-unit) * 2);
|
|
221
|
+
margin: auto;
|
|
222
|
+
margin-bottom: 0;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
:host > article.search div.header {
|
|
226
|
+
display: flex;
|
|
227
|
+
height: 24px;
|
|
228
|
+
flex-flow: row nowrap;
|
|
229
|
+
align-content: stretch;
|
|
230
|
+
align-items: center;
|
|
231
|
+
justify-content: space-between;
|
|
232
|
+
margin-bottom: calc(var(--space-unit) * 1.5);
|
|
233
|
+
white-space: nowrap;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
:host > article.search div.cover {
|
|
237
|
+
height: 314px;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
:host > article.search div.title {
|
|
241
|
+
font-size: var(--font-size-3);
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
:host > article.search .title,
|
|
245
|
+
:host > article.search .subtitle,
|
|
246
|
+
:host > article.search .authors {
|
|
247
|
+
overflow: hidden;
|
|
248
|
+
text-overflow: ellipsis;
|
|
249
|
+
white-space: nowrap;
|
|
250
|
+
word-wrap: nowrap;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
/* Tablet breakpoint */
|
|
254
|
+
@media (min-width: 768px) {
|
|
255
|
+
:host {
|
|
256
|
+
width: initial;
|
|
257
|
+
max-width: initial;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
/* EXPANDED STYLES */
|
|
261
|
+
|
|
262
|
+
:host > article.expanded {
|
|
263
|
+
width: 635px;
|
|
264
|
+
min-width: initial;
|
|
265
|
+
max-width: initial;
|
|
266
|
+
height: 360px;
|
|
267
|
+
padding: 0;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
:host > article.expanded div.wrapper {
|
|
271
|
+
display: flex;
|
|
272
|
+
flex-flow: row nowrap;
|
|
273
|
+
align-content: stretch;
|
|
274
|
+
align-items: stretch;
|
|
275
|
+
justify-content: flex-start;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
:host > article.expanded div.cover {
|
|
279
|
+
width: 262px;
|
|
280
|
+
height: 356px;
|
|
281
|
+
border: 0;
|
|
282
|
+
background: var(--color-surface01);
|
|
283
|
+
border-radius: 0;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
:host > article.expanded div.cover img {
|
|
287
|
+
width: auto;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
:host > article.expanded div.cover div.ribbon::before {
|
|
291
|
+
border-left: 12px solid transparent;
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
:host > article.expanded div.content {
|
|
295
|
+
display: flex;
|
|
296
|
+
overflow: hidden;
|
|
297
|
+
width: 369px;
|
|
298
|
+
height: 356px;
|
|
299
|
+
flex-flow: column nowrap;
|
|
300
|
+
align-content: stretch;
|
|
301
|
+
align-items: stretch;
|
|
302
|
+
justify-content: space-between;
|
|
303
|
+
margin: 0;
|
|
304
|
+
background: var(--color-surface01);
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
:host > article.expanded div.content div.top {
|
|
308
|
+
padding: calc(var(--space-unit) * 2);
|
|
309
|
+
padding-bottom: 0;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
:host > article.expanded div.content div.top div.info {
|
|
313
|
+
display: flex;
|
|
314
|
+
flex-flow: row nowrap;
|
|
315
|
+
align-content: stretch;
|
|
316
|
+
align-items: stretch;
|
|
317
|
+
justify-content: space-between;
|
|
318
|
+
margin-bottom: calc(var(--space-unit) / 2);
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
:host > article.expanded div.content div.top div.info > div.left {
|
|
322
|
+
width: 100%;
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
:host > article.expanded div.content div.bottom {
|
|
326
|
+
padding: calc(var(--space-unit) * 2);
|
|
327
|
+
padding-bottom: 0;
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
/* Desktop breakpoint
|
|
332
|
+
@media (min-width: 1152px) {}
|
|
333
|
+
*/
|
|
334
|
+
|
|
335
|
+
/* Wide breakpoint
|
|
336
|
+
@media (min-width: 1366px) {}
|
|
337
|
+
*/
|
|
@@ -8,25 +8,14 @@ import { CardVariant } from "../../beans";
|
|
|
8
8
|
* @cssprop --z-card--text-background - Background color for the `text` variant. Default: `var(--color-surface01)`
|
|
9
9
|
* @cssprop --z-card--text-border-radius - Default: `none`
|
|
10
10
|
* @cssprop --z-card--text-border - Configure CSS `border`. Default: `none`
|
|
11
|
+
* @cssprop --z-card--text-padding - Configure CSS `padding`. Default: `none`
|
|
11
12
|
*/
|
|
12
13
|
export class ZCard {
|
|
13
14
|
constructor() {
|
|
14
|
-
/** Enable click interactions on the card. Default: false */
|
|
15
|
-
this.clickable = false;
|
|
16
15
|
/** Enable shadow. Default: false. */
|
|
17
|
-
this.
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
// Do nothing for clicks on actions.
|
|
21
|
-
if (ev.target.closest("[slot=action]")) {
|
|
22
|
-
return;
|
|
23
|
-
}
|
|
24
|
-
if (!this.clickable) {
|
|
25
|
-
ev.preventDefault();
|
|
26
|
-
ev.stopPropagation();
|
|
27
|
-
return;
|
|
28
|
-
}
|
|
29
|
-
this.cardClicked.emit();
|
|
16
|
+
this.showShadow = false;
|
|
17
|
+
/** Enable 'clickable' style like hover and focus style. */
|
|
18
|
+
this.clickable = false;
|
|
30
19
|
}
|
|
31
20
|
componentWillLoad() {
|
|
32
21
|
this.hasCoverImage = this.host.querySelector('[slot="cover"]') !== null;
|
|
@@ -112,7 +101,7 @@ export class ZCard {
|
|
|
112
101
|
"attribute": "cover-icon",
|
|
113
102
|
"reflect": false
|
|
114
103
|
},
|
|
115
|
-
"
|
|
104
|
+
"showShadow": {
|
|
116
105
|
"type": "boolean",
|
|
117
106
|
"mutable": false,
|
|
118
107
|
"complexType": {
|
|
@@ -124,13 +113,13 @@ export class ZCard {
|
|
|
124
113
|
"optional": false,
|
|
125
114
|
"docs": {
|
|
126
115
|
"tags": [],
|
|
127
|
-
"text": "Enable
|
|
116
|
+
"text": "Enable shadow. Default: false."
|
|
128
117
|
},
|
|
129
|
-
"attribute": "
|
|
118
|
+
"attribute": "show-shadow",
|
|
130
119
|
"reflect": true,
|
|
131
120
|
"defaultValue": "false"
|
|
132
121
|
},
|
|
133
|
-
"
|
|
122
|
+
"clickable": {
|
|
134
123
|
"type": "boolean",
|
|
135
124
|
"mutable": false,
|
|
136
125
|
"complexType": {
|
|
@@ -142,9 +131,9 @@ export class ZCard {
|
|
|
142
131
|
"optional": false,
|
|
143
132
|
"docs": {
|
|
144
133
|
"tags": [],
|
|
145
|
-
"text": "Enable
|
|
134
|
+
"text": "Enable 'clickable' style like hover and focus style."
|
|
146
135
|
},
|
|
147
|
-
"attribute": "
|
|
136
|
+
"attribute": "clickable",
|
|
148
137
|
"reflect": true,
|
|
149
138
|
"defaultValue": "false"
|
|
150
139
|
}
|
|
@@ -155,32 +144,5 @@ export class ZCard {
|
|
|
155
144
|
"hasCoverImage": {}
|
|
156
145
|
};
|
|
157
146
|
}
|
|
158
|
-
static get events() {
|
|
159
|
-
return [{
|
|
160
|
-
"method": "cardClicked",
|
|
161
|
-
"name": "cardClicked",
|
|
162
|
-
"bubbles": true,
|
|
163
|
-
"cancelable": true,
|
|
164
|
-
"composed": true,
|
|
165
|
-
"docs": {
|
|
166
|
-
"tags": [],
|
|
167
|
-
"text": "Card click event.\nFired only if `clickable` is true."
|
|
168
|
-
},
|
|
169
|
-
"complexType": {
|
|
170
|
-
"original": "any",
|
|
171
|
-
"resolved": "any",
|
|
172
|
-
"references": {}
|
|
173
|
-
}
|
|
174
|
-
}];
|
|
175
|
-
}
|
|
176
147
|
static get elementRef() { return "host"; }
|
|
177
|
-
static get listeners() {
|
|
178
|
-
return [{
|
|
179
|
-
"name": "click",
|
|
180
|
-
"method": "onClick",
|
|
181
|
-
"target": undefined,
|
|
182
|
-
"capture": false,
|
|
183
|
-
"passive": false
|
|
184
|
-
}];
|
|
185
|
-
}
|
|
186
148
|
}
|
|
@@ -9,6 +9,7 @@ respecting the grid indications of the design. */
|
|
|
9
9
|
--z-card--text-background: var(--color-surface01);
|
|
10
10
|
--z-card--text-border-radius: none;
|
|
11
11
|
--z-card--text-border: none;
|
|
12
|
+
--z-card--text-padding: calc(var(--space-unit) * 2) var(--space-unit);
|
|
12
13
|
|
|
13
14
|
position: relative;
|
|
14
15
|
display: flex;
|
|
@@ -86,9 +87,14 @@ Unfortunately the `aspect-ratio` property is still experimental */
|
|
|
86
87
|
margin-bottom: var(--space-unit);
|
|
87
88
|
}
|
|
88
89
|
|
|
89
|
-
::slotted([slot="
|
|
90
|
-
|
|
91
|
-
|
|
90
|
+
::slotted([slot="title"])::before {
|
|
91
|
+
position: absolute;
|
|
92
|
+
z-index: 1;
|
|
93
|
+
top: 0;
|
|
94
|
+
right: 0;
|
|
95
|
+
bottom: 0;
|
|
96
|
+
left: 0;
|
|
97
|
+
content: "";
|
|
92
98
|
}
|
|
93
99
|
|
|
94
100
|
::slotted([slot="metadata"]:not(:last-child)) {
|
|
@@ -99,45 +105,46 @@ Unfortunately the `aspect-ratio` property is still experimental */
|
|
|
99
105
|
|
|
100
106
|
::slotted([slot="title"]) {
|
|
101
107
|
margin: 0;
|
|
108
|
+
color: inherit;
|
|
109
|
+
font-size: inherit;
|
|
102
110
|
font-weight: var(--font-sb);
|
|
103
111
|
-webkit-line-clamp: 2;
|
|
112
|
+
text-decoration: none;
|
|
104
113
|
}
|
|
105
114
|
|
|
106
115
|
::slotted([slot="text"]) {
|
|
116
|
+
margin: 0;
|
|
107
117
|
-webkit-line-clamp: 3;
|
|
108
118
|
}
|
|
109
119
|
|
|
110
120
|
.actions {
|
|
121
|
+
position: relative;
|
|
122
|
+
z-index: 2;
|
|
111
123
|
display: flex;
|
|
124
|
+
width: fit-content;
|
|
112
125
|
flex-direction: row;
|
|
113
126
|
align-items: center;
|
|
114
127
|
}
|
|
115
128
|
|
|
116
129
|
::slotted([slot="action"]:not(:last-child)) {
|
|
117
|
-
margin-right: calc(var(--space-unit) *
|
|
130
|
+
margin-right: calc(var(--space-unit) * 2);
|
|
118
131
|
}
|
|
119
132
|
|
|
120
|
-
|
|
121
|
-
:
|
|
122
|
-
cursor: pointer;
|
|
133
|
+
:host([clickable]) ::slotted([slot="title"]:focus:focus-visible)::before {
|
|
134
|
+
box-shadow: var(--shadow-focus-primary);
|
|
123
135
|
}
|
|
124
136
|
|
|
125
|
-
:host([clickable]:focus:focus-visible) {
|
|
137
|
+
:host([clickable]) ::slotted([slot="title"]:focus:focus-visible) {
|
|
126
138
|
outline: none;
|
|
127
139
|
}
|
|
128
140
|
|
|
129
|
-
:host(:not([variant])[clickable]:focus:focus-visible) {
|
|
130
|
-
padding: calc(var(--space-unit) * 0.5);
|
|
131
|
-
box-shadow: var(--shadow-focus-primary);
|
|
132
|
-
}
|
|
133
|
-
|
|
134
141
|
:host([variant="text"]) {
|
|
135
142
|
border: var(--z-card--text-border);
|
|
136
143
|
background-color: var(--z-card--text-background);
|
|
137
144
|
border-radius: var(--z-card--text-border-radius);
|
|
138
145
|
}
|
|
139
146
|
|
|
140
|
-
:host([
|
|
147
|
+
:host([show-shadow]) > .content,
|
|
141
148
|
:host([variant="border"]) > .content,
|
|
142
149
|
:host([variant="shadow"]) > .content {
|
|
143
150
|
height: 100%;
|
|
@@ -145,7 +152,7 @@ Unfortunately the `aspect-ratio` property is still experimental */
|
|
|
145
152
|
}
|
|
146
153
|
|
|
147
154
|
:host([variant="text"]) > .content {
|
|
148
|
-
padding:
|
|
155
|
+
padding: var(--z-card--text-padding);
|
|
149
156
|
}
|
|
150
157
|
|
|
151
158
|
:host([variant="border"]) .actions,
|
|
@@ -172,22 +179,22 @@ Unfortunately the `aspect-ratio` property is still experimental */
|
|
|
172
179
|
|
|
173
180
|
/* Shadow */
|
|
174
181
|
:host([variant="shadow"]),
|
|
175
|
-
:host([
|
|
182
|
+
:host([show-shadow]) {
|
|
176
183
|
box-shadow: var(--shadow-2);
|
|
177
184
|
}
|
|
178
185
|
|
|
179
186
|
:host([variant="shadow"][clickable]:hover),
|
|
180
|
-
:host([clickable][
|
|
187
|
+
:host([clickable][show-shadow]:hover) {
|
|
181
188
|
box-shadow: var(--shadow-4);
|
|
182
189
|
}
|
|
183
190
|
|
|
184
191
|
:host([variant="shadow"][clickable]:focus:focus-visible),
|
|
185
|
-
:host([clickable][
|
|
192
|
+
:host([clickable][show-shadow]:focus:focus-visible) {
|
|
186
193
|
box-shadow: var(--shadow-focus-primary);
|
|
187
194
|
}
|
|
188
195
|
|
|
189
196
|
:host([variant="shadow"][clickable]:active),
|
|
190
|
-
:host([clickable][
|
|
197
|
+
:host([clickable][show-shadow]:active) {
|
|
191
198
|
box-shadow: none;
|
|
192
199
|
}
|
|
193
200
|
|
|
@@ -17,19 +17,19 @@ export class ZContextualMenu {
|
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
componentDidLoad() {
|
|
20
|
-
this.
|
|
20
|
+
this.popoverEl.bindTo = this.triggerButton;
|
|
21
21
|
}
|
|
22
22
|
showIcon() {
|
|
23
23
|
return !this.jsonElements.some((element) => !element.icon);
|
|
24
24
|
}
|
|
25
25
|
togglePopover() {
|
|
26
|
-
if (!this.
|
|
27
|
-
this.
|
|
26
|
+
if (!this.popoverEl.open) {
|
|
27
|
+
this.popoverEl.open = true;
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
render() {
|
|
31
31
|
var _a, _b;
|
|
32
|
-
return (h(Host, null, h("button", { ref: (el) => (this.triggerButton = el), "aria-label": ((_a = this.
|
|
32
|
+
return (h(Host, null, h("button", { ref: (el) => (this.triggerButton = el), "aria-label": ((_a = this.popoverEl) === null || _a === void 0 ? void 0 : _a.open) ? "chiudi menu contestuale" : "apri menu contestuale", onClick: () => this.togglePopover() }, h("z-icon", { name: "contextual-menu", fill: this.color })), h("z-popover", { ref: (el) => (this.popoverEl = el), position: this.popoverPosition }, h("div", { class: "popover-content-container" }, h("z-list", null, h("z-list-group", { "divider-type": "element" }, (_b = this.jsonElements) === null || _b === void 0 ? void 0 : _b.map((element, index) => (h("z-list-element", { clickable: !element.disabled, class: "my-z-list-element", "align-button": "left", "expandable-style": "accordion", color: element.disabled ? `color-disabled03` : this.color, isContextualMenu: true, listElementId: index, onClickItem: (event) => this.clickContextualMenu.emit(event.detail) }, h("div", { class: element.disabled ? "disabled-element-container" : "element-container" }, this.showIcon() && (h("div", { class: "element-icon" }, h("z-icon", { name: element.icon, width: 16, height: 16 }))), h("div", { class: "element-text" }, h("span", null, element.text))))))))))));
|
|
33
33
|
}
|
|
34
34
|
static get is() { return "z-contextual-menu"; }
|
|
35
35
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1912,6 +1912,10 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
1912
1912
|
return import(
|
|
1913
1913
|
/* webpackMode: "lazy" */
|
|
1914
1914
|
'./z-body.entry.js').then(processMod, consoleError);
|
|
1915
|
+
case 'z-book-card':
|
|
1916
|
+
return import(
|
|
1917
|
+
/* webpackMode: "lazy" */
|
|
1918
|
+
'./z-book-card.entry.js').then(processMod, consoleError);
|
|
1915
1919
|
case 'z-breadcrumb':
|
|
1916
1920
|
return import(
|
|
1917
1921
|
/* webpackMode: "lazy" */
|
|
@@ -2168,10 +2172,6 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
2168
2172
|
return import(
|
|
2169
2173
|
/* webpackMode: "lazy" */
|
|
2170
2174
|
'./z-table-header.entry.js').then(processMod, consoleError);
|
|
2171
|
-
case 'z-link':
|
|
2172
|
-
return import(
|
|
2173
|
-
/* webpackMode: "lazy" */
|
|
2174
|
-
'./z-link.entry.js').then(processMod, consoleError);
|
|
2175
2175
|
case 'z-myz-list-item':
|
|
2176
2176
|
return import(
|
|
2177
2177
|
/* webpackMode: "lazy" */
|
|
@@ -2180,6 +2180,10 @@ const loadModule = (cmpMeta, hostRef, hmrVersionId) => {
|
|
|
2180
2180
|
return import(
|
|
2181
2181
|
/* webpackMode: "lazy" */
|
|
2182
2182
|
'./z-typography.entry.js').then(processMod, consoleError);
|
|
2183
|
+
case 'z-link':
|
|
2184
|
+
return import(
|
|
2185
|
+
/* webpackMode: "lazy" */
|
|
2186
|
+
'./z-link.entry.js').then(processMod, consoleError);
|
|
2183
2187
|
case 'z-popover':
|
|
2184
2188
|
return import(
|
|
2185
2189
|
/* webpackMode: "lazy" */
|
|
@@ -334,5 +334,11 @@ var BreadcrumbHomepageVariant;
|
|
|
334
334
|
BreadcrumbHomepageVariant["TEXT"] = "text";
|
|
335
335
|
BreadcrumbHomepageVariant["ICON"] = "icon";
|
|
336
336
|
})(BreadcrumbHomepageVariant || (BreadcrumbHomepageVariant = {}));
|
|
337
|
+
var BookCardVariant;
|
|
338
|
+
(function (BookCardVariant) {
|
|
339
|
+
BookCardVariant["EXPANDED"] = "expanded";
|
|
340
|
+
BookCardVariant["COMPACT"] = "compact";
|
|
341
|
+
BookCardVariant["SEARCH"] = "search";
|
|
342
|
+
})(BookCardVariant || (BookCardVariant = {}));
|
|
337
343
|
|
|
338
|
-
export { AvatarSize as A, ButtonVariant as B, CardVariant as C, DividerSize as D, ExpandableListStyle as E, ZDatePickerMode as F, ZDatePickerModeValue as G, ZDatePickerPosition as H, InputType as I, ZRangePickerMode as J, KeyboardKeyCode as K, LicenseType as L, InfoRevealPosition as M, NavigationTabsOrientation as N, OffCanvasVariant as O, PopoverPosition as P, CoverHeroVariant as Q, CoverHeroContentPosition as R, SortDirection as S, ThemeVariant as T, CarouselArrowsPosition as U, CarouselProgressMode as V, BreadcrumbPathStyle as W, BreadcrumbHomepageVariant as X, ZTableRowExpandedType as Z, NavigationTabsSize as a, NavigationTabsKeyboardEvents as b, ButtonType as c, ButtonSize as d, ControlSize as e, InputStatus as f, KeyboardCode as g, DividerOrientation as h, ListSize as i, Size as j, ExpandableListButtonAlign as k, LabelPosition as l, ListDividerType as m, ListType as n, NotificationType as o, AlertType as p, Device as q, PocketStatus as r, ToastNotification as s, ToastNotificationTransition as t, ToastNotificationPosition as u, ZAriaAlertMode as v, TransitionDirection as w, ZFileUploadType as x, ZChipType as y, ZSectionTitleDividerPosition as z };
|
|
344
|
+
export { AvatarSize as A, ButtonVariant as B, CardVariant as C, DividerSize as D, ExpandableListStyle as E, ZDatePickerMode as F, ZDatePickerModeValue as G, ZDatePickerPosition as H, InputType as I, ZRangePickerMode as J, KeyboardKeyCode as K, LicenseType as L, InfoRevealPosition as M, NavigationTabsOrientation as N, OffCanvasVariant as O, PopoverPosition as P, CoverHeroVariant as Q, CoverHeroContentPosition as R, SortDirection as S, ThemeVariant as T, CarouselArrowsPosition as U, CarouselProgressMode as V, BreadcrumbPathStyle as W, BreadcrumbHomepageVariant as X, BookCardVariant as Y, ZTableRowExpandedType as Z, NavigationTabsSize as a, NavigationTabsKeyboardEvents as b, ButtonType as c, ButtonSize as d, ControlSize as e, InputStatus as f, KeyboardCode as g, DividerOrientation as h, ListSize as i, Size as j, ExpandableListButtonAlign as k, LabelPosition as l, ListDividerType as m, ListType as n, NotificationType as o, AlertType as p, Device as q, PocketStatus as r, ToastNotification as s, ToastNotificationTransition as t, ToastNotificationPosition as u, ZAriaAlertMode as v, TransitionDirection as w, ZFileUploadType as x, ZChipType as y, ZSectionTitleDividerPosition as z };
|
package/dist/esm/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as colorFromId } from './utils-
|
|
2
|
-
export { p as AlertType, A as AvatarSize, X as BreadcrumbHomepageVariant, W as BreadcrumbPathStyle, d as ButtonSize, c as ButtonType, B as ButtonVariant, C as CardVariant, U as CarouselArrowsPosition, V as CarouselProgressMode, e as ControlSize, R as CoverHeroContentPosition, Q as CoverHeroVariant, q as Device, h as DividerOrientation, D as DividerSize, k as ExpandableListButtonAlign, E as ExpandableListStyle, M as InfoRevealPosition, f as InputStatus, I as InputType, g as KeyboardCode, K as KeyboardKeyCode, l as LabelPosition, L as LicenseType, m as ListDividerType, i as ListSize, n as ListType, b as NavigationTabsKeyboardEvents, N as NavigationTabsOrientation, a as NavigationTabsSize, o as NotificationType, O as OffCanvasVariant, r as PocketStatus, P as PopoverPosition, j as Size, S as SortDirection, T as ThemeVariant, s as ToastNotification, u as ToastNotificationPosition, t as ToastNotificationTransition, w as TransitionDirection, v as ZAriaAlertMode, y as ZChipType, F as ZDatePickerMode, G as ZDatePickerModeValue, H as ZDatePickerPosition, x as ZFileUploadType, J as ZRangePickerMode, z as ZSectionTitleDividerPosition, Z as ZTableRowExpandedType } from './index-
|
|
1
|
+
import { c as colorFromId } from './utils-4db4ed1f.js';
|
|
2
|
+
export { p as AlertType, A as AvatarSize, Y as BookCardVariant, X as BreadcrumbHomepageVariant, W as BreadcrumbPathStyle, d as ButtonSize, c as ButtonType, B as ButtonVariant, C as CardVariant, U as CarouselArrowsPosition, V as CarouselProgressMode, e as ControlSize, R as CoverHeroContentPosition, Q as CoverHeroVariant, q as Device, h as DividerOrientation, D as DividerSize, k as ExpandableListButtonAlign, E as ExpandableListStyle, M as InfoRevealPosition, f as InputStatus, I as InputType, g as KeyboardCode, K as KeyboardKeyCode, l as LabelPosition, L as LicenseType, m as ListDividerType, i as ListSize, n as ListType, b as NavigationTabsKeyboardEvents, N as NavigationTabsOrientation, a as NavigationTabsSize, o as NotificationType, O as OffCanvasVariant, r as PocketStatus, P as PopoverPosition, j as Size, S as SortDirection, T as ThemeVariant, s as ToastNotification, u as ToastNotificationPosition, t as ToastNotificationTransition, w as TransitionDirection, v as ZAriaAlertMode, y as ZChipType, F as ZDatePickerMode, G as ZDatePickerModeValue, H as ZDatePickerPosition, x as ZFileUploadType, J as ZRangePickerMode, z as ZSectionTitleDividerPosition, Z as ZTableRowExpandedType } from './index-c53ca6bc.js';
|
|
3
3
|
import './breakpoints-9b81eb1b.js';
|
|
4
4
|
|
|
5
5
|
const UTILS = {
|